/* Site styles. No external fonts, scripts or trackers: the site practises what
   the app preaches. Colours, fonts and shapes follow the app's warm look (cocoa ink,
   cream surfaces, honey accent; Fredoka titles over Nunito Sans), served from here. */
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url("fonts/nunitosans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url("fonts/nunitosans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("fonts/fredoka-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("fonts/fredoka-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --bg: #f6f1ea;
  --surface: #fffdf9;
  --ink: #2b1f18;
  --ink-2: #5a463a;
  --muted: #7d6b5d;
  --line: #ebe2d5;
  --cocoa: #3b1c0e;
  --chrome: #2e160b;
  --honey: #e39a52;
  --clay: #a3562a;
  --green: #3f8a46;
  --soft: #f6e8d6;
  --amber-soft: #fdf3e2;
  --accent: #3b1c0e;
  --accent-ink: #fffdf9;
  --link: #9a4d22;
  --frame: #2e160b;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(46, 22, 11, .05), 0 10px 28px rgba(46, 22, 11, .08);
  --wrap: 1120px;
  --font: "Nunito Sans", Arial, Helvetica, sans-serif;
  --font-display: "Fredoka", "Nunito Sans", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1c120c; --surface: #28190f; --ink: #f6ece0; --ink-2: #dccbb8; --muted: #b29d88;
    --line: #3d2b1e; --cocoa: #f6ece0; --clay: #e9a86a; --green: #8cc77e; --soft: #3a2616; --amber-soft: #33240f;
    --accent: #e39a52; --accent-ink: #2e160b; --link: #f0b27a; --frame: #0f0905; --shadow: none; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1c120c; --surface: #28190f; --ink: #f6ece0; --ink-2: #dccbb8; --muted: #b29d88;
  --line: #3d2b1e; --cocoa: #f6ece0; --clay: #e9a86a; --green: #8cc77e; --soft: #3a2616; --amber-soft: #33240f;
  --accent: #e39a52; --accent-ink: #2e160b; --link: #f0b27a; --frame: #0f0905; --shadow: none; color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
p a, li a, td a { color: var(--link); font-weight: 700; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -.005em; margin: 0 0 .5em; color: var(--cocoa); }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
code, kbd { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .88em;
  background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.muted { color: var(--muted); }
.eyebrow { font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--clay); margin-bottom: 10px; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 40em; }

/* ── Header ── */
.site-head { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--cocoa); text-decoration: none; }
.brand-mark { width: 36px; height: 36px; display: block; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; font-size: .93rem; font-weight: 600; color: var(--ink-2); padding: 8px 12px; border-radius: 999px; }
.nav a:hover { background: var(--surface); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.nav .btn { margin-left: 6px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; color: var(--ink); cursor: pointer; }
.nav-toggle svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; gap: 2px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 700;
  font-size: .98rem; padding: 12px 20px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--accent); color: var(--accent-ink) !important; }
.btn-primary:hover { filter: brightness(1.12); }
.btn-ghost { background: var(--surface); color: var(--ink) !important; border-color: var(--line); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-sm { padding: 8px 14px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ── Sections ── */
section { padding: 72px 0; }
section.tight { padding: 48px 0; }
.section-head { max-width: 46em; margin-bottom: 36px; }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Hero */
.hero { padding: 64px 0 40px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 1fr; } }
.hero h1 span { color: var(--clay); }
.hero-note { margin-top: 18px; font-size: .9rem; color: var(--muted); }
.shots { position: relative; min-height: 360px; }
.shot-desk { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--surface); }
.shot-desk .bar { height: 26px; display: flex; gap: 6px; align-items: center; padding: 0 12px; border-bottom: 1px solid var(--line); }
.shot-desk .bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.shot-phone { position: absolute; right: -6px; bottom: -28px; width: 34%; max-width: 210px; border-radius: 26px; overflow: hidden;
  border: 6px solid var(--frame); box-shadow: 0 20px 40px rgba(46, 22, 11, .25); background: #fff; }
@media (max-width: 600px) { .shot-phone { width: 40%; right: 0; } }

/* Pillars / cards */
.grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .grid.c2 { grid-template-columns: repeat(2, 1fr); } .grid.c3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .grid.c4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 999px) { .grid.c4 { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { margin: 0; color: var(--ink-2); }
.card h3 { margin-bottom: 8px; }
.icon { width: 40px; height: 40px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; margin-bottom: 14px; }
.icon svg { width: 22px; height: 22px; stroke: var(--clay); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Feature rows (text + screenshot) */
.feature { display: grid; gap: 32px; align-items: center; padding: 40px 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; }
@media (min-width: 900px) { .feature { grid-template-columns: 1fr 1.25fr; } .feature.flip > :first-child { order: 2; } }
.feature ul { padding-left: 1.1em; margin: 12px 0 0; color: var(--ink-2); }
.feature li { margin: 6px 0; }
.feature .media { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface); }
.feature .media.phones { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; border: 0; box-shadow: none; background: none; }
.feature .media.phones img { border-radius: 22px; border: 5px solid var(--frame); }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; background: var(--soft); color: var(--clay); margin-right: 6px; vertical-align: middle; }
.tag.desk { background: var(--surface); color: var(--ink-2); border: 1px solid var(--line); }

/* Steps */
.steps { counter-reset: s; display: grid; gap: 20px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding-top: 52px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 0; width: 38px; height: 38px;
  border-radius: 50%; background: var(--soft); color: var(--clay); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }

/* CTA band */
.cta { background: var(--chrome); color: #f6ece0; border-radius: 28px; padding: 48px 32px; text-align: center; }
.cta h2 { color: #fffdf9; }
.cta p { color: #e8d5c0; max-width: 36em; margin: 0 auto; }
.cta .btn-row { justify-content: center; }
.cta .btn-primary { background: var(--honey); color: #2e160b !important; }
.cta .btn-ghost { background: transparent; color: #fffdf9 !important; border-color: rgba(255, 253, 249, .35); }

/* Docs (guides, philosophy) */
.doc { display: grid; gap: 40px; padding-top: 48px; padding-bottom: 80px; }
@media (min-width: 980px) { .doc { grid-template-columns: 260px 1fr; } }
.toc { position: sticky; top: 88px; align-self: start; font-size: .92rem; }
@media (max-width: 979px) { .toc { position: static; } }
.toc strong { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.toc a { display: block; padding: 5px 0; color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--ink); }
.prose { max-width: 46em; }
.prose h2 { margin-top: 2.2em; padding-top: .4em; font-size: 1.6rem; scroll-margin-top: 84px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; scroll-margin-top: 84px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ol, .prose ul { padding-left: 1.3em; }
.prose li { margin: 6px 0; }
.prose figure { margin: 24px 0; }
.prose figure img { border-radius: 12px; border: 1px solid var(--line); }
.prose figure.phone img { max-width: 280px; border-radius: 24px; border: 5px solid var(--frame); }
.prose figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.note { border-radius: var(--radius-sm); padding: 14px 16px; margin: 18px 0; background: var(--soft); color: var(--ink); font-size: .95rem; }
.note.warn { background: var(--amber-soft); }
.note strong { display: block; margin-bottom: 2px; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 8px; }
.tabs a { text-decoration: none; font-weight: 700; font-size: .88rem; padding: 8px 11px; border-radius: 999px; color: var(--ink-2); white-space: nowrap; }
.tabs a[aria-current="page"] { background: var(--accent); color: var(--accent-ink); }
table.facts { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 16px 0; }
table.facts th, table.facts td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.facts th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.table-scroll { overflow-x: auto; }

/* Download + support */
.dl { display: grid; gap: 20px; }
@media (min-width: 820px) { .dl { grid-template-columns: repeat(2, 1fr); } }
.dl .card { display: flex; flex-direction: column; gap: 10px; }
.dl .card .btn { align-self: flex-start; margin-top: 8px; }
.dl ul { margin: 6px 0 0; padding-left: 1.1em; color: var(--ink-2); font-size: .95rem; }
.give { display: grid; gap: 20px; }
@media (min-width: 820px) { .give { grid-template-columns: repeat(2, 1fr); } }
.ln { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.ln code { font-size: .95rem; padding: 8px 12px; word-break: break-all; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: .9rem; color: var(--muted); }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--ink); }
