/* Help centre stylesheet, shared by every page under /support/.
   The landing page keeps its own inline styles; these pages are long-form
   reading, so they get one external sheet (CSP allows style-src 'self'). */

@font-face { font-family:'Nunito'; src:url('/assets/fonts/Nunito-Regular.woff2') format('woff2');   font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Nunito'; src:url('/assets/fonts/Nunito-SemiBold.woff2') format('woff2');  font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:'Nunito'; src:url('/assets/fonts/Nunito-Bold.woff2') format('woff2');      font-weight:700; font-style:normal; font-display:swap; }
@font-face { font-family:'Nunito'; src:url('/assets/fonts/Nunito-ExtraBold.woff2') format('woff2'); font-weight:800; font-style:normal; font-display:swap; }
@font-face { font-family:'Sniglet'; src:url('/assets/fonts/Sniglet-Regular.woff2') format('woff2');   font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Sniglet'; src:url('/assets/fonts/Sniglet-ExtraBold.woff2') format('woff2'); font-weight:800; font-style:normal; font-display:swap; }

:root {
  --pink:    #ecb5be;
  --pink-lo: #f4cdd2;
  --peach:   #f8dcc4;
  --cream:   #fffaef;
  --plum:    #3a2438;
  --plum-2:  #2c1a2b;
  --plum-soft:#6e4a5e;
  --flame:   #ffc94a;
  --flame-deep: #ff9d3d;
  --coral:   #e8846b;
  --sage:    #b9d7b6;
  --sky:     #bcd8f0;
  --lavender:#d4c6e8;
  --radius:  22px;
  --shadow:  0 10px 30px rgba(58,36,56,0.14);
  --shadow-sm: 0 4px 14px rgba(58,36,56,0.12);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Nunito', system-ui, sans-serif;
  color: var(--plum);
  min-height: 100vh;
  background: linear-gradient(180deg, var(--pink-lo) 0%, var(--pink) 55%, var(--peach) 100%);
  background-attachment: fixed;
  line-height: 1.6;
  font-size: 16.5px;
}
/* The header is the shared fixed one (scripts/site/header.*), inlined by the
   builder; main clears it through --head-h, see header.css. */
main { max-width: 820px; margin: 0 auto; padding: 28px clamp(16px, 5vw, 40px) 72px; }
.card {
  background: var(--cream);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(24px, 5vw, 48px);
}
.card + .card { margin-top: 22px; }
h1 {
  font-family: 'Sniglet', cursive; font-weight: 800;
  font-size: clamp(30px, 6vw, 44px); line-height: 1.1;
  margin: 0 0 10px;
}
.lede { color: var(--plum-soft); font-weight: 600; font-size: 17.5px; margin: 0 0 8px; }
h2 {
  font-family: 'Sniglet', cursive; font-weight: 800;
  font-size: clamp(21px, 3.2vw, 26px);
  margin: 40px 0 12px; scroll-margin-top: 20px;
}
h2:first-of-type { margin-top: 26px; }
h3 { font-size: 17.5px; font-weight: 800; margin: 24px 0 6px; scroll-margin-top: 20px; }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 8px; }
li > ul, li > ol { margin-top: 6px; }
a { color: var(--plum); text-decoration-color: var(--pink); text-underline-offset: 3px; }
a:hover { color: var(--plum-2); text-decoration-color: var(--plum); }
strong { font-weight: 800; }
kbd, .path {
  font-family: inherit; font-weight: 700; font-size: 0.94em;
  background: rgba(58,36,56,.07); border-radius: 6px; padding: 1px 6px;
}
hr { border: 0; border-top: 2px solid rgba(58,36,56,.08); margin: 34px 0; }

/* Breadcrumb */
.crumbs { font-size: 14px; font-weight: 700; color: var(--plum-soft); margin: 0 0 14px; }
.crumbs a { text-decoration: none; color: var(--plum-soft); }
.crumbs a:hover { color: var(--plum); }
.crumbs .sep { opacity: .5; margin: 0 6px; }

/* Callouts */
.note, .urgent, .tip {
  margin: 20px 0; padding: 16px 20px; border-radius: 14px; border-left: 4px solid;
}
.note   { background: rgba(188,216,240,.28); border-color: var(--sky); }
.tip    { background: rgba(255,201,74,.16); border-color: var(--flame); }
.urgent { background: rgba(232,132,107,.12); border-color: var(--coral); }
.note strong, .urgent strong, .tip strong { display: block; margin-bottom: 3px; }
.note p:last-child, .urgent p:last-child, .tip p:last-child { margin-bottom: 0; }

/* Platform tabs (pure CSS, no JS) */
.platforms { margin: 18px 0 24px; }
.platforms input { position: absolute; opacity: 0; pointer-events: none; }
.platforms .tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.platforms label {
  cursor: pointer; font-weight: 800; font-size: 14px; padding: 8px 14px; border-radius: 999px;
  background: rgba(58,36,56,.06); color: var(--plum-soft);
}
.platforms label:hover { background: rgba(58,36,56,.1); }
.platforms input:focus-visible + label { outline: 3px solid var(--flame); outline-offset: 2px; }
.platforms .pane { display: none; }
#p-ios26:checked ~ .tabs label[for="p-ios26"],
#p-ios17:checked ~ .tabs label[for="p-ios17"],
#p-android:checked ~ .tabs label[for="p-android"] { background: var(--plum); color: var(--cream); }
#p-ios26:checked ~ .pane-ios26,
#p-ios17:checked ~ .pane-ios17,
#p-android:checked ~ .pane-android { display: block; }

/* Screenshots */
figure { margin: 22px 0; }
figure.shot { display: grid; gap: 14px; }
figure.shot img {
  display: block; width: 100%; max-width: 280px; height: auto;
  border-radius: 26px; box-shadow: var(--shadow); margin: 0 auto;
  background: var(--peach);
}
figure.shot.pair { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); align-items: start; }
figure.shot.pair img { max-width: 240px; }
figure.shot.trio { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
figure.shot.trio img { max-width: 200px; }
figure.shot.wide img { max-width: 100%; border-radius: 16px; }
figcaption { font-size: 14px; color: var(--plum-soft); font-weight: 600; text-align: center; margin-top: 8px; grid-column: 1 / -1; }
.side {
  display: grid; grid-template-columns: minmax(0,1fr) 220px; gap: 24px; align-items: start; margin: 18px 0;
}
.side figure { margin: 0; }
.side figure img { max-width: 220px; }
@media (max-width: 640px) { .side { grid-template-columns: 1fr; } .side figure img { max-width: 240px; } }

/* Hub cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin: 20px 0 8px; }
.topic {
  display: block; text-decoration: none; color: var(--plum);
  background: rgba(255,255,255,.55); border: 2px solid rgba(58,36,56,.06);
  border-radius: 18px; padding: 18px 18px 16px; transition: transform .12s ease, border-color .2s ease;
}
.topic:hover { transform: translateY(-2px); border-color: var(--pink); }
.topic:focus-visible { outline: 3px solid var(--flame); outline-offset: 2px; }
/* The card icon is one of the app's own line icons in a small tinted disc,
   one colour per topic (set on the svg by the builder), so the hub reads as
   the app and not as whatever emoji font the platform ships. */
.topic .ico {
  display: block; width: 36px; height: 36px; margin-bottom: 10px;
}
.topic .ico svg {
  display: block; width: 36px; height: 36px; padding: 8px; box-sizing: border-box;
  border-radius: 11px; background: var(--disc, var(--peach)); color: var(--ink, var(--plum));
  transition: transform .15s ease;
}
.topic:hover .ico svg { transform: scale(1.08); }
.topic b { font-family: 'Sniglet', cursive; font-weight: 800; font-size: 19px; display: block; margin-bottom: 4px; }
.topic span { font-size: 14px; color: var(--plum-soft); font-weight: 600; display: block; line-height: 1.45; }
.quick { display: grid; gap: 10px; margin: 16px 0 6px; }
.quick a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; text-decoration: none;
  background: rgba(58,36,56,.05); border-radius: 14px; padding: 12px 16px; font-weight: 700;
}
.quick a:hover { background: rgba(58,36,56,.09); }
.quick a::after { content: "→"; opacity: .5; }

/* Tables */
table { width: 100%; border-collapse: collapse; margin: 14px 0 20px; font-size: 15.5px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 2px solid rgba(58,36,56,.08); vertical-align: top; }
th { font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--plum-soft); }
tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; font-size: 14.5px; }
  th, td { padding: 8px 8px; min-width: 120px; }
  th:first-child, td:first-child { min-width: 140px; }
}

/* On-this-page */
.toc { background: rgba(58,36,56,.045); border-radius: 14px; padding: 14px 18px; margin: 20px 0 6px; font-size: 15px; }
.toc b { display: block; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--plum-soft); margin-bottom: 6px; }
.toc ul { margin: 0; padding-left: 18px; columns: 2; column-gap: 24px; }
.toc li { margin-bottom: 4px; break-inside: avoid; }
.toc a { text-decoration: none; font-weight: 700; }
.toc a:hover { text-decoration: underline; }
@media (max-width: 560px) { .toc ul { columns: 1; } }

/* Contact block */
.contact {
  margin-top: 26px; padding: 22px; text-align: center;
  background: linear-gradient(180deg, rgba(255,201,74,0.16), rgba(255,201,74,0.07));
  border-radius: 14px;
}
.contact a { font-family: 'Sniglet', cursive; font-weight: 800; font-size: clamp(19px, 3vw, 24px); text-decoration: none; }
.contact a .at { font-family: 'Nunito', system-ui, sans-serif; font-weight: 800; }
.contact p { margin: 0 0 8px; }

/* Prev / next */
.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.pager a { text-decoration: none; font-weight: 800; background: rgba(58,36,56,.06); border-radius: 999px; padding: 10px 18px; }
.pager a:hover { background: rgba(58,36,56,.1); }
.back { display: inline-block; margin-top: 32px; font-weight: 800; text-decoration: none; color: var(--plum); opacity: 0.75; }
.back:hover { opacity: 1; }

@media (prefers-reduced-motion: reduce) { .topic, .socials a { transition: none; } .topic:hover { transform: none; } }
