:root {
  --bg: #eceef1;
  --surface: #ffffff;
  --surface-2: #f4f5f7;
  --ink: #121214;
  --on-ink: #ffffff;
  --text: #1c1c1e;
  --muted: #62636b;
  --line: #dedfe3;
  --accent: #4e7a57;
  --accent-soft: #e2eae0;
  --sage: #abc2a9;
  --link: #3f6a48;
  --shadow: 0 18px 50px rgba(18, 18, 20, 0.10);
  --radius: 28px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0f11;
    --surface: #1b1c1f;
    --surface-2: #232428;
    --ink: #f5f5f7;
    --on-ink: #121214;
    --text: #f2f2f4;
    --muted: #a3a4ad;
    --line: #2c2d31;
    --accent: #abc2a9;
    --accent-soft: #24302a;
    --link: #b9d0b6;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }
.wide { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
header.site {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  flex-wrap: wrap; padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; }
.brand img { width: 34px; height: 34px; border-radius: 22.5%; }
nav.links { display: flex; gap: 6px; flex-wrap: wrap; }
nav.links a {
  color: var(--text); text-decoration: none; font-size: 15px; font-weight: 600;
  padding: 8px 14px; border-radius: 999px; background: var(--surface);
}
nav.links a[aria-current="page"] { background: var(--ink); color: var(--on-ink); }
@media (max-width: 560px) {
  nav.links { width: 100%; }
  nav.links a { flex: 1; text-align: center; padding: 8px 4px; font-size: 14px; }
}

/* Buttons */
.button {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px;
  background: var(--ink); color: var(--on-ink); font-weight: 600; text-decoration: none; font-size: 17px;
}
.button.light { background: var(--surface); color: var(--text); }
.button .icon { width: 20px; height: 20px; }
.pill { display: inline-block; margin-top: 24px; padding: 14px 26px; border-radius: 999px; background: var(--ink); color: var(--on-ink); font-weight: 600; text-decoration: none; }

/* Icons are single-colour PNG masks, so they follow the text colour in light and dark mode. */
.icon {
  display: inline-block; width: 24px; height: 24px; flex: none;
  background: currentColor;
  -webkit-mask: var(--src) center / contain no-repeat;
  mask: var(--src) center / contain no-repeat;
}

/* Hero */
.hero-dark {
  background: radial-gradient(1200px 520px at 75% 40%, rgba(171, 194, 169, 0.22), transparent 60%), #121417;
  color: #fff;
  padding: 64px 0 0;
  overflow: hidden;
}
.hero-dark .wide { display: grid; gap: 40px; }
.hero-copy { text-align: center; max-width: 760px; margin: 0 auto; }
.hero-copy .appicon { width: 96px; height: 96px; border-radius: 22.5%; margin: 0 auto 22px; box-shadow: 0 12px 40px rgba(0,0,0,.45); }
.hero-copy h1 { font-size: clamp(38px, 7vw, 68px); line-height: 1.04; letter-spacing: -0.025em; margin: 0 0 16px; }
.hero-copy h1 span { color: #abc2a9; }
.hero-copy p { color: #c4cac4; font-size: clamp(18px, 2.4vw, 21px); margin: 0 auto 28px; max-width: 600px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-dark .button { background: #fff; color: #121214; }
.hero-dark .button.light { background: rgba(255,255,255,0.1); color: #fff; }
.hero-note { color: #9aa29a; font-size: 14px; margin-top: 14px; }
.hero-art { width: min(100%, 860px); margin: 0 auto; border-radius: 24px 24px 0 0; box-shadow: 0 -10px 60px rgba(0,0,0,.4); }

/* Sections */
section.block { padding: 88px 0; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(30px, 5vw, 46px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 12px; }
.section-head p { color: var(--muted); font-size: 19px; margin: 0; }

/* Feature overview grid */
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.feature {
  background: var(--surface); border-radius: 22px; padding: 22px; text-decoration: none; color: var(--text);
  display: flex; flex-direction: column; gap: 8px; transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
@media (prefers-reduced-motion: reduce) { .feature { transition: none; } .feature:hover { transform: none; } }
.feature .badge { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.feature h3 { margin: 6px 0 0; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* Alternating feature showcases */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.showcase:first-of-type { border-top: 0; }
.showcase.flip .shot { order: 2; }
.shot { display: flex; justify-content: center; }
.shot img { width: min(100%, 340px); border-radius: 30px; box-shadow: var(--shadow); }
.showcase h3 { font-size: clamp(28px, 4vw, 40px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 14px; }
.showcase p { color: var(--muted); font-size: 18px; margin: 0 0 18px; }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li .icon { width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.more { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.more .icon { width: 16px; height: 16px; }
@media (max-width: 820px) {
  .showcase { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
  .showcase.flip .shot { order: 0; }
  .shot img { width: min(78%, 320px); }
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; counter-reset: step; }
.step { background: var(--surface); border-radius: 22px; padding: 26px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: var(--on-ink); font-weight: 700; margin-bottom: 14px;
}
.step h3 { margin: 0 0 6px; font-size: 19px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* Pricing */
.price {
  background: var(--ink); color: var(--on-ink); border-radius: var(--radius); padding: 44px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center;
}
.price h2 { font-size: clamp(30px, 5vw, 44px); margin: 0 0 10px; line-height: 1.1; letter-spacing: -0.02em; }
.price p { margin: 0; opacity: .8; }
.price ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.price li { display: flex; gap: 10px; align-items: center; }
.price li .icon { width: 22px; height: 22px; }
@media (max-width: 760px) { .price { grid-template-columns: 1fr; padding: 30px; } }

/* Guide */
.guide { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; padding: 32px 0 64px; }
.toc { position: sticky; top: 88px; background: var(--surface); border-radius: 22px; padding: 18px; }
.toc h2 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; counter-reset: toc; }
.toc a { display: block; padding: 7px 10px; border-radius: 10px; color: var(--text); text-decoration: none; font-size: 15px; }
.toc a:hover { background: var(--surface-2); }
.guide-intro h1 { font-size: clamp(34px, 6vw, 52px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 12px; }
.guide-intro p { color: var(--muted); font-size: 19px; margin: 0 0 26px; }
.topic { background: var(--surface); border-radius: var(--radius); padding: 32px; margin: 0 0 18px; display: grid; grid-template-columns: 1fr 200px; gap: 28px; }
.topic h2 { display: flex; align-items: center; gap: 12px; font-size: 26px; margin: 0 0 6px; letter-spacing: -0.01em; }
.topic h2 .badge { width: 44px; height: 44px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.topic > div > p { color: var(--muted); margin: 0 0 14px; }
.topic ol { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 8px; }
.topic .tip { background: var(--surface-2); border-radius: 14px; padding: 12px 14px; font-size: 15px; color: var(--muted); margin: 0; }
.topic .tip strong { color: var(--text); }
.topic img { border-radius: 20px; align-self: start; }
@media (max-width: 900px) {
  .guide { grid-template-columns: 1fr; gap: 20px; }
  .toc { position: static; }
  .toc ol { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
@media (max-width: 640px) {
  .topic { grid-template-columns: 1fr; padding: 22px; }
  .topic img { width: 170px; }
}

/* Documents (privacy, terms, support) */
.card { background: var(--surface); border-radius: 24px; padding: 24px; margin: 16px 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 16px 0; }
.grid .card { margin: 0; }
article.doc { padding-bottom: 24px; }
article.doc h1 { font-size: clamp(30px, 6vw, 40px); line-height: 1.15; margin: 24px 0 4px; letter-spacing: -0.01em; }
article.doc .updated { color: var(--muted); margin: 0 0 8px; font-size: 15px; }
article.doc h2 { font-size: 21px; margin: 28px 0 8px; }
article.doc h3 { font-size: 17px; margin: 18px 0 6px; }
article.doc ul { padding-left: 22px; }
article.doc li { margin: 4px 0; }
.summary { border-left: 4px solid var(--sage); }
.summary p:first-child { margin-top: 0; }
.summary p:last-child { margin-bottom: 0; }
details { background: var(--surface); border-radius: 18px; padding: 16px 20px; margin: 10px 0; }
details summary { font-weight: 600; cursor: pointer; }
details p { color: var(--muted); margin: 10px 0 0; }

/* Footer */
footer.site { color: var(--muted); font-size: 14px; padding: 36px 0 48px; text-align: center; border-top: 1px solid var(--line); margin-top: 24px; }
footer.site a { color: var(--muted); }
