/*
  keyey.app: warm and light, made for phones first (most visitors arrive from the Pinterest app). Cream paper, a warm
  ink, Keyey's amber as honey for what's primary, and real photos with the app's real screens. Fraunces (OFL) for
  headings, the phone's own font for reading. Light by default; dark follows the system, and the header's switch
  overrides either.
*/

/* ---- fonts --------------------------------------------------------------------------------------------------- */

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces.woff2?v=5097cb6923") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-italic.woff2?v=11db80390b") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

/* ---- tokens -------------------------------------------------------------------------------------------------- */

:root {
  color-scheme: light;
  --bg: #fbf6ef;
  --bg-2: #f4ece1;
  --card: #fffdfa;
  --butter: #fcefd9;
  --blush: #f8e7e1;
  --sage: #e9ede3;
  --sky: #e6edf2;
  --ink: #2a221d;
  --muted: #6a5d54;
  --line: rgba(42, 34, 29, 0.12);
  --line-strong: rgba(42, 34, 29, 0.24);
  --honey: #f2a73b;
  --honey-hover: #e8982a;
  --highlight: rgba(242, 167, 59, 0.38);
  --amber: #8a4d08;
  --brand: #c27a12;
  --shadow: 0 22px 44px -22px rgba(74, 46, 18, 0.42);
  --shadow-soft: 0 10px 26px -14px rgba(74, 46, 18, 0.38);
  --mark-bg: rgba(255, 196, 0, 0.3);
  --mark-text: #5c3d00;

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --radius: 24px;
  --radius-small: 16px;
  --wrap: 1120px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #1a1613;
  --bg-2: #221c18;
  --card: #27201b;
  --butter: #2f271b;
  --blush: #30231f;
  --sage: #242922;
  --sky: #1f252b;
  --ink: #f4ede4;
  --muted: #c2b4a5;
  --line: rgba(244, 237, 228, 0.12);
  --line-strong: rgba(244, 237, 228, 0.26);
  --honey: #f5b04a;
  --honey-hover: #ffbf5e;
  --highlight: rgba(245, 176, 74, 0.32);
  --amber: #f5b04a;
  --brand: #f5b04a;
  --shadow: 0 22px 44px -20px rgba(0, 0, 0, 0.7);
  --shadow-soft: 0 10px 26px -12px rgba(0, 0, 0, 0.6);
  --mark-bg: rgba(255, 196, 0, 0.18);
  --mark-text: #ffd67a;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #1a1613;
    --bg-2: #221c18;
    --card: #27201b;
    --butter: #2f271b;
    --blush: #30231f;
    --sage: #242922;
    --sky: #1f252b;
    --ink: #f4ede4;
    --muted: #c2b4a5;
    --line: rgba(244, 237, 228, 0.12);
    --line-strong: rgba(244, 237, 228, 0.26);
    --honey: #f5b04a;
    --honey-hover: #ffbf5e;
    --highlight: rgba(245, 176, 74, 0.32);
    --amber: #f5b04a;
    --brand: #f5b04a;
    --shadow: 0 22px 44px -20px rgba(0, 0, 0, 0.7);
    --shadow-soft: 0 10px 26px -12px rgba(0, 0, 0, 0.6);
    --mark-bg: rgba(255, 196, 0, 0.18);
    --mark-text: #ffd67a;
  }
}

/* ---- base ---------------------------------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--amber); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 {
  font-family: var(--font-display); font-weight: 600; font-optical-sizing: auto; letter-spacing: -0.015em;
  line-height: 1.08; margin: 0; text-wrap: balance;
}
h1 { font-size: clamp(2.45rem, 9vw, 4.1rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.95rem, 6vw, 2.9rem); }
h3 { font-size: 1.32rem; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
kbd {
  display: inline-flex; align-items: center; justify-content: center; min-width: 1.9em; height: 1.75em; padding: 0 0.45em;
  border-radius: 7px; border: 1px solid var(--line-strong); border-bottom-width: 3px; background: var(--card);
  font: 600 0.82em/1 var(--font-body); color: var(--ink); vertical-align: 0.05em;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 12px 18px; border-radius: 12px; background: var(--ink); color: var(--bg); }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 720px; }
.muted { color: var(--muted); }
.hl { background: linear-gradient(transparent 58%, var(--highlight) 58%, var(--highlight) 92%, transparent 92%); padding: 0 0.06em; }

/* ---- header ---------------------------------------------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 10px; height: 64px; }
.brand { color: var(--brand); display: inline-flex; padding: 8px 0; margin-right: auto; }
.brand .wordmark { width: 84px; height: auto; }
.site-nav ul { display: none; list-style: none; }
.site-nav a { display: block; padding: 10px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--bg-2); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.theme-toggle, .nav-toggle {
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: transparent;
  color: var(--ink); display: grid; place-items: center; cursor: pointer;
}
.theme-toggle:hover, .nav-toggle:hover { border-color: var(--line-strong); }
.theme-toggle svg, .nav-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-sun { display: none; }
:root[data-theme="dark"] .icon-sun { display: block; }
:root[data-theme="dark"] .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun { display: block; }
  :root:not([data-theme="light"]) .icon-moon { display: none; }
}
.site-nav.is-open ul {
  display: flex; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; gap: 2px; padding: 10px 14px 18px;
  background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.site-nav.is-open a { padding: 14px 16px; font-size: 1.1rem; border-radius: 14px; }
@media (min-width: 820px) {
  .header-inner { gap: 18px; height: 72px; }
  .brand .wordmark { width: 92px; }
  .site-nav { order: 0; }
  .site-nav ul { display: flex; gap: 2px; position: static; padding: 0; background: none; border: 0; box-shadow: none; flex-direction: row; }
  .site-nav .nav-toggle { display: none; }
  .site-nav.is-open ul { display: flex; position: static; flex-direction: row; padding: 0; box-shadow: none; border: 0; }
  .site-nav.is-open a { padding: 10px 14px; font-size: 1rem; }
}
@media (max-width: 819px) { .site-nav { order: 3; } }
@media (max-width: 359px) { .header-actions .btn-small { display: none; } }

/* ---- buttons and badges ------------------------------------------------------------------------------------------ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px;
  border-radius: 999px; border: 1.5px solid var(--line-strong); background: transparent; color: var(--ink);
  font: 600 1.02rem/1 var(--font-body); text-decoration: none; cursor: pointer; transition: border-color 0.15s, background 0.15s;
}
.btn:hover { border-color: var(--ink); text-decoration: none; }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn svg.i { fill: none; }
.btn-primary { background: var(--honey); border-color: var(--honey); color: #2a221d; }
.btn-primary:hover { background: var(--honey-hover); border-color: var(--honey-hover); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 0.95rem; }
.btn.is-large, .store-badge.is-large { min-height: 60px; }
.btn.is-soon, .store-badge.is-soon { cursor: default; }
.btn.is-soon:hover { border-color: var(--line-strong); }

/* A store-style button. Replace with Google's official badge once the listing is live (site/README.md). */
.store-badge {
  display: inline-flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 24px 0 18px; border-radius: 14px;
  background: #111; color: #fff; border: 1px solid #111; text-decoration: none;
}
.store-badge:hover { background: #000; text-decoration: none; }
:root[data-theme="dark"] .store-badge { border-color: rgba(255, 255, 255, 0.35); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .store-badge { border-color: rgba(255, 255, 255, 0.35); } }
.store-badge-icon { width: 24px; height: 24px; stroke: #fff; }
.store-badge span { display: flex; flex-direction: column; font: 600 1.15rem/1.05 var(--font-body); letter-spacing: -0.01em; }
.store-badge small { font: 500 0.68rem/1.25 var(--font-body); letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.85; }
.store-badge.is-large span { font-size: 1.3rem; }

svg.i { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.text-link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.text-link::after { content: "→"; transition: transform 0.15s; }
.text-link:hover { text-decoration: underline; }
.text-link:hover::after { transform: translateX(3px); }
.fineprint { font-size: 0.95rem; color: var(--muted); }

/* ---- sections ------------------------------------------------------------------------------------------------- */

section { padding-block: clamp(56px, 9vw, 104px); }
section.tight { padding-block: clamp(36px, 6vw, 64px); }
.band { background: var(--bg-2); }
.band-butter { background: var(--butter); }
.section-head { max-width: 680px; margin-bottom: clamp(28px, 5vw, 48px); }
.section-head > p { margin-top: 14px; font-size: 1.12rem; color: var(--muted); }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { font: italic 500 1.08rem/1.3 var(--font-display); color: var(--amber); margin-bottom: 12px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.h3 { font-size: 1.3rem; line-height: 1.25; margin-bottom: 12px; }
.lead { font-size: clamp(1.12rem, 2.6vw, 1.28rem); color: var(--muted); line-height: 1.55; }

/* ---- scenes: the app's real screens, in the moment (tools/pins.mjs) ----------------------------------------------- */

/* A scene is a transparent image; the figure gives it its colour, the same one its pin uses. */
.shot {
  margin: 0; border-radius: var(--radius); background: var(--tint, var(--butter)); padding: clamp(18px, 4vw, 32px) 12px;
  display: grid; place-items: center;
}
.shot img { width: auto; height: auto; max-width: 100%; max-height: var(--shot-h, 460px); }
/* A photo with Keyey's screen in it (tools/photos.mjs) fills its figure. */
.shot.is-photo { padding: 0; overflow: hidden; background: var(--bg-2); box-shadow: var(--shadow); }
.shot.is-photo img { width: 100%; max-height: none; }
.t-butter { --tint: var(--butter); }
.t-blush { --tint: var(--blush); }
.t-sage { --tint: var(--sage); }
.t-sky { --tint: var(--sky); }

/* ---- home: hero ------------------------------------------------------------------------------------------------- */

.hero { padding-top: clamp(28px, 6vw, 72px); padding-bottom: clamp(48px, 8vw, 96px); }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero .lead { margin-top: 18px; max-width: 560px; }
.hero .cta-row { margin-top: 26px; }
.hero .fineprint { margin-top: 16px; }
.hero .shot { --shot-h: 560px; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; }
  .hero .shot { --shot-h: 600px; }
}

/* ---- home: moments ---------------------------------------------------------------------------------------------- */

.moments { list-style: none; display: grid; gap: 44px; }
@media (min-width: 640px) {
  .moments { display: block; columns: 2; column-gap: 24px; }
  .moments > li { break-inside: avoid; margin-bottom: 44px; }
}
@media (min-width: 1000px) { .moments { columns: 3; column-gap: 28px; } }
.moment { display: grid; gap: 12px; }
.moment .shot { margin-bottom: 4px; --shot-h: 420px; }
.moment .when { font: italic 500 1.02rem/1.2 var(--font-display); color: var(--amber); }
.moment h3 { font-size: 1.4rem; }
.moment p { color: var(--muted); }
.moment .text-link { margin-top: -6px; }
.tag { display: inline-block; margin-left: 4px; padding: 2px 10px; border-radius: 999px; background: var(--honey); color: #2a221d; font: 700 0.75rem/1.6 var(--font-body); vertical-align: 0.2em; letter-spacing: 0.02em; }

/* ---- home: the private bit, the note, plans ------------------------------------------------------------------- */

.private { display: grid; gap: 14px; list-style: none; }
.private li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 18px; border-radius: var(--radius-small); background: var(--card); border: 1px solid var(--line); }
.private .glyph { width: 40px; height: 40px; border-radius: 50%; background: var(--sage); display: grid; place-items: center; color: var(--ink); }
.private .glyph svg { width: 20px; height: 20px; }
.private strong { display: block; font-weight: 650; }
.private span { color: var(--muted); }
@media (min-width: 860px) { .private { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }

.maker {
  max-width: 660px; margin-inline: auto; padding: clamp(26px, 5vw, 44px); border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.maker h2 { font-size: clamp(1.7rem, 5vw, 2.2rem); margin-bottom: 18px; }
.maker p + p { margin-top: 14px; }
.maker p { font-size: 1.08rem; }
.maker .sign { margin-top: 22px; font: italic 500 1.4rem/1 var(--font-display); color: var(--amber); }

.plans { display: grid; gap: 18px; }
@media (min-width: 760px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; } }
.plan { display: flex; flex-direction: column; gap: 16px; padding: 26px; }
.plan.pro { background: var(--butter); border-color: color-mix(in srgb, var(--honey) 60%, transparent); }
.plan h3 { font-size: 1.5rem; }
.plan .price { font: 600 2.5rem/1 var(--font-display); letter-spacing: -0.02em; }
.plan .price small { font: 500 1rem var(--font-body); color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.plan ul { list-style: none; display: grid; gap: 12px; }
.plan li { position: relative; padding-left: 30px; font-weight: 600; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 0.3em; width: 18px; height: 18px; border-radius: 50%; background: var(--sage); }
.plan li::after { content: ""; position: absolute; left: 7px; top: 0.58em; width: 8px; height: 4px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.plan.pro li::before { background: var(--honey); }
.plan.pro li::after { border-color: #2a221d; }
.plan li small { display: block; color: var(--muted); font-size: 0.95rem; font-weight: 400; }
.plan .store-badge, .plan .btn { align-self: flex-start; margin-top: auto; }
.plan .fineprint { margin-top: auto; }

.planline {
  display: grid; gap: 6px; padding: 20px 22px; border-radius: var(--radius-small); background: var(--butter);
  border: 1px solid color-mix(in srgb, var(--honey) 45%, transparent);
}
.planline .muted { font-size: 0.95rem; }

/* ---- FAQ ------------------------------------------------------------------------------------------------- */

.faq { display: grid; gap: 10px; max-width: 760px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--card); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; position: relative; font-weight: 600; font-size: 1.06rem; min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 14px; height: 2px; background: var(--amber); border-radius: 1px; }
.faq summary::after { transform: rotate(90deg); transition: transform 0.15s; }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details > div { padding: 0 20px 20px; color: var(--muted); display: grid; gap: 10px; }
.faq-after { margin-top: 32px; }

/* ---- the last call ---------------------------------------------------------------------------------------- */

.get { text-align: center; }
.get h2 { margin-bottom: 12px; }
.get p { color: var(--muted); font-size: 1.1rem; }
.get .cta-row { justify-content: center; margin-top: 26px; }

/* ---- landing pages (/for/…): the pin, continued -------------------------------------------------------------- */

/* The hero takes its pin's colour, and the scene sits straight on it. */
.lp-hero { background: var(--tint, var(--butter)); padding-top: clamp(28px, 6vw, 64px); padding-bottom: clamp(32px, 6vw, 72px); }
.lp-grid { display: grid; gap: 28px; align-items: center; }
.lp-hero .lead { margin-top: 16px; color: var(--ink); opacity: 0.82; }
.lp-hero .cta-row { margin-top: 24px; }
.lp-hero .fineprint { margin-top: 14px; color: var(--ink); opacity: 0.8; }
.lp-hero .shot { padding: 0; background: none; --shot-h: 600px; }
@media (min-width: 900px) {
  .lp-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 64px; }
  .lp-hero .shot { --shot-h: 680px; }
}
.benefits { list-style: none; display: grid; gap: 16px; counter-reset: b; }
.benefits li { counter-increment: b; padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.benefits li::before { content: counter(b); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--butter); color: var(--amber); font: 600 1.05rem/1 var(--font-display); margin-bottom: 14px; }
.benefits h3 { font-size: 1.3rem; margin-bottom: 8px; }
.benefits p { color: var(--muted); }
@media (min-width: 860px) { .benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.lp-end { display: grid; gap: 20px; justify-items: start; }
.lp-end .planline { width: 100%; max-width: 760px; }

/* ---- Mac page --------------------------------------------------------------------------------------------------- */

/* One of Keyey for Mac's real pills, with a word about it. */
.pillcard {
  display: grid; gap: 18px; align-items: center; justify-items: start; margin: 28px 0 0; padding: 24px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
}
.pillcard img { width: min(100%, 360px); height: auto; border-radius: 999px; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.55); }
.pillcard h3 { font-size: 1.3rem; margin-bottom: 6px; }
.pillcard p { color: var(--muted); }
@media (min-width: 760px) { .pillcard { grid-template-columns: auto 1fr; gap: 28px; } }

.steps { list-style: none; counter-reset: step; display: grid; gap: 16px; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--butter); color: var(--amber); font: 600 1.05rem/1 var(--font-display); margin-bottom: 14px; }
.steps h3 { margin-bottom: 8px; font-size: 1.25rem; }
.steps p { color: var(--muted); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }

.details-block { max-width: 860px; }
.details-block > details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.details-block > details > summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 1.08rem; display: flex; justify-content: space-between; gap: 12px; }
.details-block > details > summary::-webkit-details-marker { display: none; }
.details-block > details > summary::after { content: "Show"; color: var(--amber); font-weight: 600; }
.details-block > details[open] > summary::after { content: "Hide"; }
.details-block .inner { padding: 0 24px 24px; display: grid; gap: 26px; }
.details-block h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 650; letter-spacing: 0; margin-bottom: 8px; }
.details-block p, .details-block li { color: var(--muted); }
.shortcuts { width: 100%; border-collapse: collapse; }
.shortcuts th, .shortcuts td { padding: 12px 4px; border-top: 1px solid var(--line); text-align: left; vertical-align: middle; font-size: 0.98rem; }
.shortcuts tr:first-child th, .shortcuts tr:first-child td { border-top: 0; }
.shortcuts th { width: 40%; font-weight: 500; white-space: nowrap; }
.shortcuts td { color: var(--muted); }

/* ---- pricing ----------------------------------------------------------------------------------------------------- */

.compare-wrap { overflow-x: auto; margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table.compare { width: 100%; border-collapse: collapse; min-width: 340px; }
.compare caption { text-align: left; padding: 20px 20px 4px; font: 600 1.15rem var(--font-display); }
.compare th, .compare td { padding: 14px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); font-size: 0.98rem; }
.compare thead th { border-top: 0; font: 600 0.8rem/1.2 var(--font-body); color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.compare tbody th { font-weight: 500; }
.compare tbody th small { display: block; font-weight: 400; color: var(--muted); font-size: 0.88rem; margin-top: 2px; }
.compare td { width: 26%; color: var(--muted); }
.compare td.yes { color: var(--ink); }
.compare .pro-col { background: color-mix(in srgb, var(--butter) 60%, transparent); }
.compare .tick { display: inline-block; width: 12px; height: 7px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg) translateY(-3px); margin-right: 8px; }
.compare .dash { color: var(--muted); }
.table-note { margin-top: 14px; }

/* ---- support and deletion ----------------------------------------------------------------------------------- */

.page-hero { padding-top: clamp(32px, 7vw, 80px); padding-bottom: clamp(24px, 4vw, 44px); }
.page-hero .lead { margin-top: 16px; max-width: 640px; }
.page-hero .cta-row { margin-top: 24px; }
.page-hero .fineprint { margin-top: 14px; }
.contact-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; background: var(--butter); border-color: transparent; }
.contact-card .btn { max-width: 100%; }
.contact-card .btn span { overflow: hidden; text-overflow: ellipsis; }
.grid-2 { display: grid; gap: 18px; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.link-card { display: grid; gap: 8px; text-decoration: none; color: var(--ink); transition: border-color 0.15s; }
.link-card:hover { border-color: var(--line-strong); text-decoration: none; }
.link-card .glyph { width: 40px; height: 40px; border-radius: 50%; background: var(--sage); display: grid; place-items: center; }
.link-card .glyph svg { width: 20px; height: 20px; }
.notice { border: 1px solid color-mix(in srgb, var(--honey) 60%, transparent); background: var(--butter); border-radius: var(--radius-small); padding: 18px 20px; }
.form { display: grid; gap: 18px; max-width: 620px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: var(--bg);
  color: var(--ink); font: inherit; min-height: 52px;
}
.field input:focus, .field textarea:focus { outline: 3px solid var(--amber); outline-offset: 1px; border-color: transparent; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--amber); }
.form-note { font-size: 0.95rem; color: var(--muted); }
.form-note[hidden] { display: none; }
.app-path { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; font-weight: 600; }
.app-path span { padding: 2px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg-2); font-size: 0.95rem; color: var(--ink); }
.app-path b { color: var(--muted); font-weight: 400; }
ol.numbered { padding-left: 1.3em; display: grid; gap: 12px; }
ol.numbered li::marker { color: var(--amber); font-weight: 600; }
ul.dots { padding-left: 1.2em; display: grid; gap: 8px; }
ul.dots li::marker { color: var(--amber); }
.cols { display: grid; gap: 18px; }
@media (min-width: 760px) { .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cols .card { display: grid; gap: 16px; align-content: start; }
.cols .card > .h3 { margin-bottom: 0; }

/* ---- legal pages and credits (rendered Markdown) ------------------------------------------------------------- */

.legal { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; align-items: start; }
.toc { display: none; }
@media (min-width: 1000px) {
  .legal { grid-template-columns: 230px minmax(0, 1fr); gap: 56px; }
  .toc { display: block; position: sticky; top: 96px; font-size: 0.9rem; }
  .no-toc .legal { grid-template-columns: minmax(0, 1fr); }
}
.toc p { font-weight: 600; margin-bottom: 10px; }
.toc ol { list-style: none; display: grid; gap: 6px; max-height: calc(100vh - 140px); overflow: auto; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--ink); }
.prose { max-width: 760px; font-size: 1.02rem; overflow-wrap: break-word; }
.prose a, .prose code, .prose mark { overflow-wrap: anywhere; }
.prose h1 { font-size: clamp(2.1rem, 6vw, 3rem); margin-bottom: 24px; }
.prose h2 { font-size: 1.6rem; margin: 2.2em 0 0.6em; }
.prose h3 { font-size: 1.2rem; margin: 1.8em 0 0.6em; }
.prose p, .prose ul, .prose ol, .prose .table-wrap, .prose blockquote { margin: 0 0 1em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 0.3em 0; }
.prose li > ul, .prose li > ol { margin: 0.3em 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose code { font: 0.88em var(--font-mono); padding: 0.1em 0.35em; border-radius: 6px; background: var(--bg-2); border: 1px solid var(--line); }
.prose mark.draft-note { font: 0.86em var(--font-mono); padding: 0.1em 0.35em; border-radius: 6px; background: var(--mark-bg); color: var(--mark-text); }
.prose .table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 0.94rem; }
.prose th, .prose td { padding: 11px 14px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.prose thead th { border-top: 0; background: var(--bg-2); }
.callout { border: 1px solid var(--line); border-left: 3px solid var(--amber); border-radius: 12px; padding: 14px 18px; background: var(--card); margin: 0 0 1em; }
.callout p:last-child { margin-bottom: 0; }
.callout-draft { border-color: color-mix(in srgb, var(--honey) 60%, transparent); border-left-color: var(--honey); background: var(--butter); font-weight: 500; }
.callout-key { font-size: 0.95rem; color: var(--muted); }
.doc-meta { margin-top: 3em; padding-top: 1.5em; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); }

/* ---- footer ------------------------------------------------------------------------------------------------- */

.site-footer { padding-top: 52px; background: var(--bg-2); }
.footer-inner { display: grid; gap: 36px; padding-bottom: 36px; }
.footer-brand p { margin-top: 14px; color: var(--muted); max-width: 300px; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; }
.footer-links h2 { font: 600 0.78rem/1 var(--font-body); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 14px; }
.footer-links ul { list-style: none; display: grid; gap: 2px; }
.footer-links a { color: var(--ink); text-decoration: none; display: inline-block; padding: 7px 0; }
.footer-links a:hover { text-decoration: underline; }
@media (min-width: 900px) {
  .footer-inner { grid-template-columns: 300px 1fr; gap: 56px; }
  .footer-links { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; padding: 22px 0 34px; border-top: 1px solid var(--line); font-size: 0.86rem; color: var(--muted); }
.footer-base a { color: var(--muted); }

/* ---- 404 ---------------------------------------------------------------------------------------------------- */

.lost { min-height: 50vh; display: grid; place-content: center; text-align: center; gap: 16px; }
.lost .code { font: italic 600 clamp(4rem, 16vw, 7rem)/1 var(--font-display); color: var(--brand); }
.lost .cta-row { justify-content: center; margin-top: 8px; }

@media print {
  .site-header, .site-footer, .toc, .skip { display: none !important; }
  body { background: #fff; color: #000; }
}
