
/* Layout: one calm column of bands; the hero pairs the statement with a phone drawing its pattern.
   Palette comes from the app itself: warm near-black + cream, sage used sparingly. Dark first. */
:root {
  --bg: #0B0C0D;          /* cool near-black */
  --surface: #141517;     /* cards, phone body */
  --raised: #1C1E21;
  --line: #2A2D31;        /* hairlines, idle dots */
  --fg: #F3F3F1;          /* text */
  --muted: #979BA1;
  --accent: #8FC9A8;      /* mint: drawn pattern, small highlights */
  --accent-ink: #0B0C0D;
  --btn: #F3F3F1;         /* primary button */
  --btn-ink: #0B0C0D;
  --font-display: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-logo: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --radius: 22px;
  --wrap: 1120px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #F5F5F3; --surface: #FFFFFF; --raised: #FFFFFF; --line: #DDDFE1;
    --fg: #111214; --muted: #5C6066; --accent: #3D7B59; --accent-ink: #FFFFFF;
    --btn: #111214; --btn-ink: #F5F5F3; color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #F5F5F3; --surface: #FFFFFF; --raised: #FFFFFF; --line: #DDDFE1;
  --fg: #111214; --muted: #5C6066; --accent: #3D7B59; --accent-ink: #FFFFFF;
  --btn: #111214; --btn-ink: #F5F5F3; color-scheme: light;
}

* { box-sizing: border-box; }
body {
  background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap {
  max-width: var(--wrap); margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
h1, h2, h3 { text-wrap: balance; margin: 0; font-weight: 400; }
p { margin: 0; }
.eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

/* ---------- header ---------- */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 10; background: var(--bg);
}
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.top .wrap { display: flex; align-items: center; gap: 28px; height: 84px; }
.brand { display: flex; align-items: center; text-decoration: none; color: var(--fg); }
.brand svg { height: 50px; width: auto; display: block; }
.logo text { font-family: var(--font-logo); fill: currentColor; }
.logo .word { font-weight: 900; }
.logo .tag { font-weight: 500; }
.logo path { fill: currentColor; }
.logo path.shackle { fill: none; stroke: currentColor; }
.screen .logo { width: 78%; height: auto; color: var(--fg); margin-bottom: 6px; }
footer .logo { height: 64px; width: auto; color: var(--fg); }
.nav { display: flex; gap: 24px; margin-left: auto; font-size: 15px; color: var(--muted); }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--fg); }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-weight: 600; font-size: 15px; border-radius: 999px; padding: 12px 22px;
  background: var(--btn); color: var(--btn-ink); white-space: nowrap;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); }
.btn svg { width: 18px; height: 18px; flex: none; }
.top .btn { padding: 9px 16px; font-size: 14px; }
@media (max-width: 820px) { .nav { display: none; } .top .btn { margin-left: auto; } }

/* ---------- hero ---------- */
.hero .wrap {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center;
  padding-block: 72px 88px;
}
.hero h1 {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(44px, 6.6vw, 84px);
  line-height: 1; letter-spacing: -.035em;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero .lede { margin-top: 24px; font-size: 19px; color: var(--muted); max-width: 30em; }
.hero .ctas { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero .facts { margin-top: 36px; display: flex; gap: 22px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }
.hero .facts span::before { content: "·"; margin-right: 8px; color: var(--accent); }
.hero .facts span:first-child::before { content: none; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; padding-block: 48px 64px; }
}

/* phone */
.phone.shot, .mini-phone.shot { aspect-ratio: auto; height: auto; }
.phone.shot { padding: 10px; }
.mini-phone.shot { padding: 7px; }
.shot img { display: block; width: 100%; height: auto; aspect-ratio: 600 / 1300; object-fit: cover; border-radius: 36px; }
.mini-phone.shot img { border-radius: 27px; }
@media (max-width: 520px) { .screens .mini-phone.shot { width: min(270px, 100%); justify-self: center; } }
.phone-stage { display: flex; justify-content: center; }
.phone {
  width: min(330px, 100%); aspect-ratio: 9 / 18.5; max-width: 100%;
  border-radius: 46px; padding: 14px; background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.55), inset 0 0 0 6px var(--raised);
}
.screen {
  height: 100%; border-radius: 34px; background: var(--bg); position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; padding: 48px 26px 30px;
}
.screen .msg { font-size: 15px; color: var(--muted); height: 24px; }
.screen .msg b { font-weight: 500; color: var(--fg); }
.grid-svg { width: 100%; max-width: 100%; aspect-ratio: 1; margin-top: auto; margin-bottom: auto; }
.grid-svg circle { fill: var(--line); }
.grid-svg circle.on { fill: var(--accent); }
.grid-svg polyline {
  fill: none; stroke: var(--accent); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 600; stroke-dashoffset: 0;
  animation: draw 7s ease-in-out infinite;
}
.screen .forgot { font-size: 13px; color: var(--muted); }
@keyframes draw {
  0%, 38% { stroke-dashoffset: 0; opacity: 1; }
  46% { stroke-dashoffset: 0; opacity: 0; }
  47% { stroke-dashoffset: 600; opacity: 0; }
  50% { stroke-dashoffset: 600; opacity: 1; }
  86%, 100% { stroke-dashoffset: 0; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .grid-svg polyline { animation: none; } }

/* ---------- sections ---------- */
section { border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.band { padding-block: 96px; }
.band-head { display: grid; gap: 14px; max-width: 40em; margin-bottom: 52px; }
.band-head h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.06; letter-spacing: -.03em; }
.band-head p { color: var(--muted); }
@media (max-width: 600px) { .band { padding-block: 68px; } .band-head { margin-bottom: 36px; } }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { background: var(--bg); padding: 30px 28px 32px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.feature svg { width: 26px; height: 26px; color: var(--accent); margin-bottom: 6px; }
.feature h3 { font-size: 18px; font-weight: 600; font-family: var(--font-body); }
.feature p { color: var(--muted); font-size: 15.5px; }
.feature .pro { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); border-radius: 999px; padding: 1px 8px; margin-left: 8px; vertical-align: 2px; }
@media (min-width: 901px) { .features .feature:last-child:nth-child(3n+1) { grid-column: 1 / -1; } }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
.step { display: grid; gap: 12px; padding-top: 22px; border-top: 1px solid var(--fg); min-width: 0; }
.step .n { font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: .12em; }
.step h3 { font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1.15; letter-spacing: -.02em; }
.step p { color: var(--muted); font-size: 16px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* store CTA in the middle */
.mid-cta { text-align: center; }
.mid-cta .wrap { padding-block: 88px; display: grid; justify-items: center; gap: 22px; }
.mid-cta h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(36px, 5vw, 60px); line-height: 1.04; letter-spacing: -.035em; max-width: 14em; }
.mid-cta p { color: var(--muted); max-width: 32em; }
.mid-cta .ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

/* privacy */
.privacy { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.plain { display: grid; gap: 22px; }
.plain > div { display: grid; grid-template-columns: 22px 1fr; gap: 14px; }
.plain > div > div { display: grid; gap: 4px; min-width: 0; }
.plain svg { width: 22px; height: 22px; color: var(--accent); margin-top: 3px; }
.plain h3 { font-size: 17px; font-weight: 600; font-family: var(--font-body); }
.plain p { color: var(--muted); font-size: 15.5px; }
.spec {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px 22px; font-family: var(--font-mono); font-size: 13px; min-width: 0;
}
.spec .row { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.spec .row:last-child { border-bottom: 0; }
.spec .k { color: var(--muted); }
.spec .v { text-align: right; }
.spec .note { margin-top: 14px; font-family: var(--font-body); font-size: 13.5px; color: var(--muted); }
.docs-move .docs-title { font-family: var(--font-body); font-size: 17px; font-weight: 600; margin-bottom: 14px; }
.docs-move ol { margin: 0; padding-left: 20px; display: grid; gap: 12px; font-family: var(--font-body); font-size: 15px; color: var(--muted); }
.docs-move ol li::marker { color: var(--accent); font-family: var(--font-mono); }
.docs-move strong { color: var(--fg); font-weight: 600; }
@media (max-width: 860px) { .privacy { grid-template-columns: 1fr; gap: 40px; } }

/* pricing */
.toggle { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; gap: 4px; margin-bottom: 28px; }
.toggle button {
  font: 500 14px var(--font-body); color: var(--muted); background: transparent; border: 0;
  padding: 8px 16px; border-radius: 999px; cursor: pointer;
}
.toggle button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 32px; display: grid; gap: 20px; align-content: start; min-width: 0; }
.plan.pro { background: var(--surface); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.plan h3 { font-size: 15px; font-weight: 600; font-family: var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.price { font-family: var(--font-display); font-weight: 600; font-size: 56px; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price small { font-family: var(--font-body); font-size: 16px; color: var(--muted); margin-left: 6px; }
.plan .sub { color: var(--muted); font-size: 15px; margin-top: -10px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15.5px; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; }
.plan li svg { width: 16px; height: 16px; color: var(--accent); margin-top: 5px; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* faq */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-size: 18px; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { color: var(--muted); padding: 0 40px 24px 0; max-width: 42em; }

/* footer */
footer { border-top: 1px solid var(--line); }
footer .wrap { padding-block: 48px calc(48px + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
footer .links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
footer .links a { text-decoration: none; }
footer .links a:hover { color: var(--fg); }
footer small { color: var(--muted); font-size: 13px; }
@media (max-width: 700px) { footer .wrap { grid-template-columns: 1fr; } }

/* sections reached from the menu start below the sticky header */
section[id], [id="top"] { scroll-margin-top: 96px; }

/* ---------- a little more mint ---------- */
.eyebrow { color: var(--accent); }
.band-head h2 em, .mid-cta h2 em { color: var(--accent); font-style: normal; }
.nav a:hover, footer .links a:hover, .foot-cols a:hover { color: var(--accent); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }
.step { border-top-color: var(--accent); }
.step .n { color: var(--accent); }
.plan.pro { border-color: var(--accent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent), 0 30px 60px -40px color-mix(in srgb, var(--accent) 60%, transparent); }
.plan.pro h3 { color: var(--accent); }
.faq summary::after { border-color: var(--accent); }
.faq details[open] summary { color: var(--accent); }
.spec .v { color: var(--accent); }
.toggle button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }

/* ---------- mint on the guide pages ---------- */
.guides a:hover, .cards a:hover { border-color: var(--accent); }
.guides a:hover strong, .cards a:hover strong { color: var(--accent); }
.guides a { border-top: 2px solid color-mix(in srgb, var(--accent) 70%, transparent); }
.crumbs span:last-child { color: var(--accent); }
.article .meta { color: var(--accent); }
.prose h2::before { content: ""; display: block; width: 32px; height: 3px; border-radius: 2px; background: var(--accent); margin-bottom: 14px; }
.prose li::marker { color: var(--accent); font-weight: 600; }
.prose strong { color: var(--fg); }
.callout { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); background: color-mix(in srgb, var(--accent) 7%, var(--surface)); }
.table-wrap th { color: var(--accent); }
.cta-box { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.cta-box h2 { color: var(--accent); }
.related h2 { color: var(--accent); }


/* ---------- app screens (drawn to match the app) ---------- */
.screens { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.screens figure { margin: 0; display: grid; gap: 18px; align-content: start; min-width: 0; }
.screens figcaption { display: grid; gap: 6px; }
.screens figcaption strong { font-size: 17px; font-weight: 600; }
.screens figcaption span { color: var(--muted); font-size: 15px; }
@media (max-width: 1000px) { .screens { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; } }
@media (max-width: 520px) { .screens { grid-template-columns: 1fr; } .mini-phone { width: min(260px, 100%); justify-self: center; } }
.mini-phone {
  width: 100%; max-width: 100%; aspect-ratio: 9 / 18.9; border-radius: 34px; padding: 9px;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 30px 60px -34px rgba(0,0,0,.55), inset 0 0 0 4px var(--raised);
}
.m-screen {
  height: 100%; border-radius: 26px; background: var(--bg); overflow: hidden; position: relative;
  display: flex; flex-direction: column; padding: 14px 12px; gap: 10px; font-size: 11px;
}
.m-center { align-items: center; text-align: center; padding-top: 30px; }
.m-screen .logo { width: 74%; height: auto; color: var(--fg); }
.m-msg { color: var(--muted); font-size: 11px; margin-top: 6px; }
.m-small { color: var(--muted); font-size: 10px; }
.m-grid { width: 100%; margin-block: auto; }
.m-grid circle { fill: var(--line); }
.m-grid circle.on { fill: var(--accent); }
.m-grid polyline { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.m-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; font-size: 9.5px; color: var(--fg); width: 100%; }
.m-top span { letter-spacing: .12em; }
.m-top b { font-weight: 500; font-size: 11.5px; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-top i { justify-self: end; width: 12px; height: 9px; border-block: 1.5px solid var(--fg); position: relative; }
.m-top i::after { content: ""; position: absolute; left: 0; right: 0; top: 2.5px; border-top: 1.5px solid var(--fg); }
.m-top-plain { margin-top: -16px; margin-bottom: 18px; }
.m-tabs { display: flex; gap: 4px; justify-content: center; flex-wrap: nowrap; }
.m-tabs span { border: 1px solid var(--line); background: var(--surface); border-radius: 99px; padding: 3px 6px; font-size: 8.5px; white-space: nowrap; }
.m-tabs .sel { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.m-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.t { aspect-ratio: 1; border-radius: 9px; background: var(--surface); border: 1px solid var(--line); position: relative; display: grid; place-items: center; align-content: center; gap: 3px; color: var(--muted); font-size: 8.5px; letter-spacing: .14em; font-weight: 600; overflow: hidden; }
.t small { font-size: 7.5px; letter-spacing: .1em; font-weight: 500; }
.t.folder { background: transparent; border-color: transparent; }
.t.folder svg { width: 78%; fill: color-mix(in srgb, var(--muted) 75%, transparent); }
.t.audio svg { width: 34%; }
.t.audio svg circle { fill: var(--muted); }
.t.audio svg path { stroke: var(--muted); }
.t.p1 { background: linear-gradient(160deg, #3d5a6b, #1c2b33 60%, #6f8f78); }
.t.p2 { background: linear-gradient(200deg, #7a6a8f, #2a2433 55%, #c79f7d); }
.t.p3 { background: linear-gradient(140deg, #8fc9a8, #2f4d3e 70%); }
.t.p4 { background: linear-gradient(180deg, #a9b7c6, #4a5a6b 60%, #1d2228); }
.t.p5 { background: linear-gradient(120deg, #c9a46a, #4b3a28 65%); }
.len { position: absolute; left: 4px; bottom: 4px; display: inline-flex; align-items: center; gap: 3px; background: rgba(0,0,0,.55); color: #fff; border-radius: 99px; padding: 2px 5px; font-size: 7.5px; letter-spacing: 0; font-weight: 500; }
.len svg { width: 6px; height: 6px; fill: #fff; }
.m-add { margin-top: auto; display: flex; justify-content: center; align-items: center; gap: 7px; }
.m-add span { background: var(--btn); color: var(--btn-ink); border-radius: 99px; padding: 8px 14px; font-size: 9px; letter-spacing: .14em; font-weight: 600; }
.m-add i { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); }
.m-note { width: 46%; aspect-ratio: 1; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; margin-top: 18px; }
.m-note svg { width: 42%; }
.m-note circle { fill: var(--fg); }
.m-note path { stroke: var(--fg); }
.m-name { font-size: 12px; margin-top: 8px; }
.m-bar { width: 86%; height: 3px; border-radius: 2px; background: var(--line); margin-top: 14px; }
.m-bar span { display: block; height: 100%; border-radius: 2px; background: var(--accent); position: relative; }
.m-bar span::after { content: ""; position: absolute; right: -5px; top: -4px; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); }
.m-times { width: 86%; display: flex; justify-content: space-between; color: var(--muted); font-size: 9px; font-variant-numeric: tabular-nums; }
.m-controls { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.m-controls span { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 8.5px; }
.m-controls b { width: 46px; height: 46px; border-radius: 50%; background: var(--fg); display: grid; place-items: center; }
.m-controls b svg { width: 14px; height: 14px; fill: var(--bg); margin-left: 2px; }
.m-label { font-size: 8.5px; letter-spacing: .2em; color: var(--muted); margin-top: 22px; }
.m-title { font-size: 17px; font-weight: 500; }
.m-code { margin-top: 10px; width: 100%; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); padding: 12px 6px; font-family: var(--font-mono); font-size: 9.5px; line-height: 2; letter-spacing: .02em; }
.m-warn { color: var(--accent); margin-top: 6px; padding-inline: 8px; }
.m-btn { margin-top: auto; width: 100%; background: var(--fg); color: var(--bg); border-radius: 11px; padding: 11px 0; font-size: 10.5px; font-weight: 600; }

/* ---------- guide pages ---------- */
.crumbs { font-size: 13.5px; color: var(--muted); padding-top: 28px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--fg); }
.article { max-width: 760px; padding-block: 28px 80px; }
.article header { display: grid; gap: 16px; padding-bottom: 36px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.article h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(36px, 5.4vw, 60px); line-height: 1.04; letter-spacing: -.035em; }
.article .intro { font-size: 19.5px; color: var(--muted); }
.article .meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.prose { display: grid; gap: 20px; }
.prose h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 3.2vw, 34px); line-height: 1.12; letter-spacing: -.025em; margin-top: 28px; }
.prose h3 { font-size: 19px; font-weight: 600; margin-top: 8px; }
.prose p, .prose li { color: color-mix(in srgb, var(--fg) 86%, var(--muted)); }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose strong { color: var(--fg); font-weight: 600; }
.callout { border: 1px solid var(--line); background: var(--surface); border-radius: 18px; padding: 20px 22px; display: grid; gap: 8px; }
.callout b { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
.table-wrap table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 15px; }
.table-wrap th, .table-wrap td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap th { font-weight: 600; background: var(--surface); }
.table-wrap tr:last-child td { border-bottom: 0; }
.cta-box { margin-top: 36px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); padding: 30px 28px; display: grid; gap: 14px; justify-items: start; }
.cta-box h2 { margin: 0; font-size: 28px; }
.cta-box p { color: var(--muted); }
.related { margin-top: 56px; display: grid; gap: 16px; }
.related h2 { font-size: 15px; font-family: var(--font-mono); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cards a { display: grid; gap: 6px; text-decoration: none; border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; min-width: 0; transition: border-color .15s ease; }
.cards a:hover { border-color: var(--muted); }
.cards strong { font-weight: 600; }
.cards span { color: var(--muted); font-size: 15px; }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

/* guides list on the landing page */
.guides { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.guides a { display: grid; gap: 8px; text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 24px; min-width: 0; transition: border-color .15s ease, transform .15s ease; }
.guides a:hover { border-color: var(--muted); transform: translateY(-1px); }
.guides strong { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.guides span { color: var(--muted); font-size: 15.5px; }
.guides .arrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; color: var(--accent); margin-top: 4px; }
@media (max-width: 700px) { .guides { grid-template-columns: 1fr; } }

/* footer columns */
footer .wrap { grid-template-columns: 1.2fr 2fr; align-items: start; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.foot-cols div { display: grid; gap: 10px; align-content: start; font-size: 14.5px; }
.foot-cols p { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.foot-cols a { text-decoration: none; color: color-mix(in srgb, var(--fg) 82%, var(--muted)); }
.foot-cols a:hover { color: var(--fg); }
.foot-brand { display: grid; gap: 18px; justify-items: start; }
@media (max-width: 760px) { footer .wrap { grid-template-columns: 1fr; } .foot-cols { grid-template-columns: repeat(2, 1fr); } }

/* ---------- help pages ---------- */
.help-shots { display: flex; gap: 22px; flex-wrap: wrap; margin: 4px 0 8px; }
.help-shots figure { margin: 0; width: 210px; flex: 0 0 210px; min-width: 0; display: grid; gap: 12px; align-content: start; }
.help-shots figcaption { font-size: 14px; color: var(--muted); }
@media (max-width: 520px) { .help-shots { justify-content: center; } .help-shots figure { width: min(240px, 100%); flex-basis: min(240px, 100%); } }
.help-shots .mini-phone { overflow: hidden; }
.help-shots .m-tabs span { padding: 3px 5px; font-size: 8px; }
.howto { list-style: none; padding: 0 !important; margin: 0; display: grid; gap: 22px !important; counter-reset: step; }
.howto > li { counter-increment: step; display: grid; grid-template-columns: 38px 1fr; gap: 4px 16px; align-items: start; align-content: start; }
.howto > li > strong { grid-column: 2; }
.howto > li > div { grid-column: 2; }
.howto > li::before { content: counter(step); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--accent); color: var(--accent); display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 14px; }
.howto > li > strong { font-size: 18px; padding-top: 5px; }
.howto > li > div { display: grid; gap: 8px; }
.howto > li > div p, .howto > li > div li { color: color-mix(in srgb, var(--fg) 86%, var(--muted)); }
.ui { font-family: var(--font-mono); font-size: .86em; letter-spacing: .02em; background: var(--surface);
  border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; white-space: nowrap; color: var(--fg); }
.callout.warn { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.help-groups { display: grid; gap: 44px; }
.help-group h2 { font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.help-group .cards { grid-template-columns: repeat(2, 1fr); }
.help-group .cards b { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; color: var(--muted); font-weight: 500; }
@media (max-width: 640px) { .help-group .cards { grid-template-columns: 1fr; } }
.pager { display: flex; justify-content: space-between; gap: 14px; margin-top: 44px; flex-wrap: wrap; }
.pager a { text-decoration: none; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; display: grid; gap: 4px; min-width: 0; flex: 1 1 220px; }
.pager a:hover { border-color: var(--muted); }
.pager a.next { text-align: right; }
.pager small { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); }

/* extra drawn app parts */
.m-dim { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.m-menu { position: absolute; top: 34px; right: 10px; width: 62%; background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 5px 0; display: grid; text-align: left; box-shadow: 0 12px 30px -10px rgba(0,0,0,.6); z-index: 2; }
.m-menu span { padding: 6px 11px; font-size: 9.5px; }
.m-menu span.hl { background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--fg); font-weight: 600; }
.m-menu span.red { color: #E5877A; }
.m-menu hr { border: 0; border-top: 1px solid var(--line); margin: 3px 0; }
.m-dialog { position: absolute; left: 9px; right: 9px; top: 50%; transform: translateY(-50%); background: var(--surface);
  border: 1px solid var(--line); border-radius: 16px; padding: 16px 12px 10px; display: grid; gap: 9px; text-align: center; z-index: 2; }
.m-dialog .m-label { margin-top: 0; }
.m-dialog p { font-size: 10px; color: var(--muted); line-height: 1.45; }
.m-field { border-bottom: 1.5px solid var(--accent); padding: 6px 0; font-size: 14px; font-weight: 300; }
.m-field.code { font-family: var(--font-mono); font-size: 9px; border: 1px solid var(--line); border-radius: 9px; line-height: 1.9; color: var(--muted); }
.m-dialog .m-btn { margin-top: 2px; }
.m-link { font-size: 9.5px; color: var(--accent); }
.m-cam { padding: 0; background: linear-gradient(165deg, #43606f, #1b252b 55%, #6d8a73); }
.m-cam .m-camtop { display: flex; justify-content: space-between; padding: 12px 12px 0; color: #fff; font-size: 8.5px; letter-spacing: .14em; }
.m-cam .m-cambot { margin-top: auto; background: rgba(0,0,0,.55); padding: 10px 0 16px; display: grid; gap: 10px; justify-items: center; }
.m-cam .modes { display: flex; gap: 14px; color: rgba(255,255,255,.6); font-size: 8.5px; letter-spacing: .16em; }
.m-cam .modes b { color: #fff; font-weight: 600; }
.m-cam .row { display: flex; align-items: center; gap: 30px; }
.m-cam .shutter { width: 44px; height: 44px; border-radius: 50%; border: 3px solid #fff; display: grid; place-items: center; }
.m-cam .shutter::after { content: ""; width: 32px; height: 32px; border-radius: 50%; background: #fff; }
.m-cam .side { width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); }
.m-sec { font-size: 8px; letter-spacing: .2em; color: var(--muted); margin: 6px 0 -4px 4px; }
.m-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 11px; display: grid; gap: 6px; text-align: left; }
.m-card b { font-size: 11px; font-weight: 500; }
.m-card small { font-size: 8.5px; color: var(--muted); line-height: 1.45; }
.m-pill { justify-self: start; border: 1px solid var(--line); border-radius: 99px; padding: 5px 11px; font-size: 8.5px; letter-spacing: .14em; }
.m-pill.solid { background: var(--fg); color: var(--bg); border-color: var(--fg); font-weight: 600; }
.m-pills { display: flex; gap: 6px; }
.m-icons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 6px; margin-top: 8px; }
.m-icons div { display: grid; gap: 5px; justify-items: center; font-size: 8.5px; color: var(--muted); }
.m-icons i { width: 34px; height: 34px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; font-style: normal; font-size: 15px; color: var(--fg); }
.m-icons .sel i { border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 40%, transparent); }
.m-icons .sel { color: var(--fg); }
.m-notice { margin-top: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: 9px; text-align: left; }
.m-empty { margin: auto 0; display: grid; gap: 12px; justify-items: center; }
.m-empty p { color: var(--muted); font-size: 12px; }
.m-empty span { background: var(--btn); color: var(--btn-ink); border-radius: 99px; padding: 8px 14px; font-size: 9px; letter-spacing: .14em; font-weight: 600; }
.m-checks { display: grid; gap: 9px; text-align: left; margin-top: 6px; }
.m-checks div { display: grid; grid-template-columns: 14px 1fr; gap: 8px; font-size: 9px; line-height: 1.4; }
.m-checks i { width: 13px; height: 13px; border-radius: 4px; background: var(--accent); }
.m-verdict { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; font-weight: 600; color: var(--accent); }
.m-screen.weak .m-verdict { color: #C8553F; }
.m-screen.weak .m-grid circle.on { fill: #C8553F; }
.m-screen.weak .m-grid polyline { stroke: #C8553F; }
.faq-more { margin-top: 22px; color: var(--muted); }
.faq-more a { color: var(--accent); text-underline-offset: 3px; }
.t.sel { outline: 2px solid var(--accent); outline-offset: -2px; }
