/* DoneTimeline sales site. Colours follow the program itself: its navy, its amber "Answer" button, its blue. */
/* The two typefaces are served from this site (SIL Open Font License), so no visitor address goes to a font host. */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 600 800; font-stretch: 100%; font-display: swap; src: url(/assets/fonts/bricolage-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: "Bricolage Grotesque"; font-style: normal; font-weight: 600 800; font-stretch: 100%; font-display: swap; src: url(/assets/fonts/bricolage-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/figtree-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: "Figtree"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/figtree-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --paper: #f3f5fa;
  --surface: #ffffff;
  --sunk: #e9edf6;
  --ink: #15204b;
  --ink-2: #3c4770;
  --muted: #5d6789;
  --line: #d9dfec;
  --spine: #c3cbe0;
  --navy: #15204b;
  --on-navy: #ffffff;
  --amber: #e8a317;
  --amber-ink: #2b1d00;
  --amber-soft: #fdf3dc;
  --blue: #3556d8;
  --blue-soft: #e7ecfd;
  --green: #18875b;
  --green-soft: #e1f4ea;
  --shadow: 0 1px 2px rgba(21, 32, 75, .06), 0 12px 32px -12px rgba(21, 32, 75, .18);
  --radius-l: 22px;
  --radius-m: 14px;
  --radius-s: 9px;
  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 16px;
  --max: 1180px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0c1330;
    --surface: #151d40;
    --sunk: #101836;
    --ink: #eef1fb;
    --ink-2: #c9cfe6;
    --muted: #a0a9c8;
    --line: #27315f;
    --spine: #34407a;
    --navy: #2a3a8c;
    --on-navy: #ffffff;
    --amber: #f1b435;
    --amber-ink: #241800;
    --amber-soft: #3a2c0b;
    --blue: #8ea5ff;
    --blue-soft: #1f2a5c;
    --green: #5fd3a0;
    --green-soft: #133a2c;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 18px 40px -16px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0c1330; --surface: #151d40; --sunk: #101836; --ink: #eef1fb; --ink-2: #c9cfe6; --muted: #a0a9c8;
  --line: #27315f; --spine: #34407a; --navy: #2a3a8c; --on-navy: #fff; --amber: #f1b435; --amber-ink: #241800;
  --amber-soft: #3a2c0b; --blue: #8ea5ff; --blue-soft: #1f2a5c; --green: #5fd3a0; --green-soft: #133a2c;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 18px 40px -16px rgba(0,0,0,.6); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; margin: 0; color: var(--ink); }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.08; font-weight: 700; }
h3 { font-size: 21px; line-height: 1.25; font-weight: 650; }
p { margin: 0; }
code { font-size: .92em; background: var(--sunk); padding: .1em .35em; border-radius: 5px; overflow-wrap: anywhere; }
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Themed pictures: one of each pair shows. */
.pic-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pic-light { display: none; } :root:not([data-theme="light"]) .pic-dark { display: block; } }
:root[data-theme="dark"] .pic-light { display: none; }
:root[data-theme="dark"] .pic-dark { display: block; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; color: var(--ink); text-decoration: none; font: 400 20px/1 var(--body); letter-spacing: -.01em; }
.brand b { font-weight: 700; }
.brand svg { width: 32px; height: 32px; flex: none; }
.top nav { margin-left: auto; display: flex; gap: 24px; align-items: center; }
.top nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.top nav a:not(.btn):hover { color: var(--ink); }
@media (max-width: 760px) { .top nav a:not(.btn) { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 12px; border: 0;
  font: 650 17px/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-buy { background: var(--amber); color: var(--amber-ink); box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 8px 20px -8px color-mix(in srgb, var(--amber) 70%, transparent); }
.btn-buy:hover { background: color-mix(in srgb, var(--amber) 88%, #000); }
.btn-small { min-height: 44px; padding: 0 16px; font-size: 15px; border-radius: 10px; }
.btn-quiet { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.btn-quiet:hover { border-color: var(--spine); }
.btn[aria-disabled="true"] { background: var(--sunk); color: var(--muted); box-shadow: none; cursor: not-allowed; }

/* ---------- hero ---------- */
.hero { padding: 56px 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6.4vw, 76px); line-height: .98; font-weight: 750; letter-spacing: -.035em; max-width: 12ch; }
.hero .lede { margin-top: 22px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 36ch; }
.hero .plain { margin-top: 14px; color: var(--muted); font-size: 16px; max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 30px; }
.hero-cta .note { color: var(--muted); font-size: 15px; line-height: 1.4; }
.hero-cta .note strong { color: var(--ink); font-weight: 650; }
.shot {
  border-radius: 16px; overflow: hidden; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.hero-shot { position: relative; }
.hero-shot .shot { border-radius: 18px; }
@media (min-width: 1000px) {
  .hero { padding-top: 72px; }
  .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; }
  .hero-shot { margin-right: calc(-1 * max(var(--gutter), (100vw - var(--max)) / 2 - 8px)); }
  .hero-shot .shot { border-top-right-radius: 0; border-bottom-right-radius: 0; border-right: 0; }
}

/* ---------- the group buy (the one bold element) ---------- */
.deal { margin-top: 64px; }
.deal-card {
  background: var(--navy); color: var(--on-navy); border-radius: var(--radius-l);
  padding: 28px 22px 26px; position: relative; overflow: hidden;
}
:root[data-theme="dark"] .deal-card { background: #1b2660; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .deal-card { background: #1b2660; } }
.deal-card h2 { color: #fff; font-size: clamp(26px, 3.2vw, 36px); }
.deal-head { display: grid; gap: 22px; }
.deal-now { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 26px; }
.price-big { font: 750 clamp(64px, 9vw, 104px)/.9 var(--display); letter-spacing: -.04em; color: var(--amber); font-variant-numeric: tabular-nums; }
.deal-facts { display: grid; gap: 4px; padding-bottom: 6px; color: #d8def5; font-size: 16px; }
.deal-facts strong { color: #fff; font-weight: 650; }
.ladder { margin: 36px 0 8px; position: relative; padding-top: 34px; }
.ladder-track { position: relative; height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .16); }
.ladder-fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 99px; background: var(--amber); transition: width .9s cubic-bezier(.2, .8, .2, 1); }
.ladder-you {
  position: absolute; top: 0; transform: translateX(-50%); left: 0;
  font: 650 13px/1 var(--body); color: var(--amber-ink); background: var(--amber);
  padding: 6px 9px; border-radius: 8px; white-space: nowrap; transition: left .9s cubic-bezier(.2, .8, .2, 1);
}
.ladder-you::after { content: ""; position: absolute; left: 50%; bottom: -5px; transform: translateX(-50%); border: 5px solid transparent; border-bottom: 0; border-top-color: var(--amber); }
.ladder-stops { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: -10px; }
.ladder-stops li { position: relative; padding-top: 22px; }
.ladder-stops li::before {
  content: ""; position: absolute; top: 0; left: 0; width: 10px; height: 10px; border-radius: 50%;
  background: var(--navy); box-shadow: 0 0 0 3px rgba(255, 255, 255, .35);
}
.ladder-stops li.reached::before { background: var(--amber); box-shadow: 0 0 0 3px var(--amber); }
.ladder-stops li:last-child { text-align: right; }
.ladder-stops li:last-child::before { left: auto; right: 0; }
.ladder-stops .p { display: block; font: 700 clamp(22px, 2.6vw, 30px)/1 var(--display); color: #fff; font-variant-numeric: tabular-nums; }
.ladder-stops .w { display: block; margin-top: 6px; font-size: 14px; color: #c3cbea; line-height: 1.3; }
.ladder-stops li.current .p { color: var(--amber); }
.deal-promise {
  margin-top: 28px; display: grid; gap: 18px; align-items: center;
  border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 24px;
}
.deal-promise p { font-size: 18px; line-height: 1.5; color: #fff; }
.deal-promise .small { font-size: 15px; color: #c3cbea; margin-top: 6px; }
.deal-card .btn-buy { justify-self: start; }
@media (min-width: 860px) {
  .deal-card { padding: 40px 44px 38px; }
  .deal-head { grid-template-columns: 1fr auto; align-items: end; }
  /* shares its row with the price, so it is composed, not capped by habit */
  .deal-card h2 { max-width: 22ch; }
  .deal-promise { grid-template-columns: 1fr auto; }
  .deal-card .btn-buy { justify-self: end; }
}
@media (max-width: 520px) {
  .ladder-stops .w { font-size: 12.5px; }
  .ladder-stops li:nth-child(2), .ladder-stops li:nth-child(3) { padding-right: 4px; }
}

/* ---------- sections ---------- */
.section { padding: 96px 0 0; }
.section-head p { max-width: 72ch; margin-top: 14px; color: var(--ink-2); font-size: 19px; line-height: 1.55; }

/* What you get: cards hang off a spine, the way the program draws its line. */
.line { position: relative; margin-top: 44px; display: grid; gap: 28px; }
.line::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--spine); border-radius: 2px; }
.moment { position: relative; padding-left: 34px; }
.moment::before {
  content: ""; position: absolute; left: 0; top: 26px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--spine);
}
.moment-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 22px; display: grid; gap: 22px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font: 650 13.5px/1 var(--body); padding: 6px 10px; border-radius: 99px; background: var(--blue-soft); color: var(--blue); }
.chip.amber { background: var(--amber-soft); color: color-mix(in srgb, var(--amber) 55%, var(--ink)); }
.chip.green { background: var(--green-soft); color: var(--green); }
.moment h3 { margin-top: 12px; font-size: clamp(22px, 2.4vw, 28px); }
.moment p { margin-top: 10px; color: var(--ink-2); max-width: 52ch; }
.moment ul { margin: 14px 0 0; padding-left: 20px; color: var(--ink-2); display: grid; gap: 6px; max-width: 52ch; }
.moment .shot { border-radius: 12px; box-shadow: none; }
.moment-phone { display: flex; justify-content: center; background: var(--sunk); border-radius: 12px; padding: 22px 0 0; overflow: hidden; }
.moment-phone .shot { width: 250px; border-radius: 22px 22px 0 0; border-bottom: 0; }
@media (min-width: 900px) {
  .line::before { left: 11px; }
  .moment { padding-left: 52px; }
  .moment::before { left: 3px; top: 32px; }
  .moment-card { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); padding: 30px; gap: 34px; align-items: start; }
  .moment-card > div:first-child { padding-top: 8px; }
}

/* How it works: a real sequence, so numbered. */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 18px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 22px 22px 24px; }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); color: #fff; font: 700 17px/1 var(--display); margin-bottom: 14px;
}
.steps p { margin-top: 8px; color: var(--ink-2); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* Mac install video */
.video-wrap { margin-top: 36px; display: grid; gap: 28px; align-items: start; }
.player { position: relative; border-radius: var(--radius-l); overflow: hidden; background: #0d1120; aspect-ratio: 16 / 9; box-shadow: var(--shadow); }
.player video { width: 100%; height: 100%; object-fit: contain; background: #0d1120; }
.player .play {
  position: absolute; inset: 0; display: grid; place-items: center; border: 0; cursor: pointer;
  background: transparent;
}
.player .play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player .play span {
  position: relative; display: inline-flex; align-items: center; gap: 12px; background: #fff; color: #15204b;
  font: 650 17px/1 var(--body); padding: 14px 20px 14px 16px; border-radius: 99px; box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.player .play svg { width: 26px; height: 26px; }
.player.playing .play { display: none; }
.video-side p { color: var(--ink-2); max-width: 46ch; }
.video-side p + p { margin-top: 12px; }
@media (min-width: 960px) { .video-wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px; } }

/* Systems */
.systems { margin-top: 36px; display: grid; gap: 16px; }
.system { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 22px; }
.system h3 { display: flex; align-items: center; gap: 10px; }
.system h3 svg { width: 24px; height: 24px; flex: none; color: var(--ink); }
.system p { margin-top: 10px; color: var(--ink-2); font-size: 16px; }
@media (min-width: 860px) { .systems { grid-template-columns: repeat(3, 1fr); } }

/* Promises */
.promises { margin-top: 36px; display: grid; gap: 16px; }
.promise { border-radius: var(--radius-m); padding: 24px; background: var(--surface); border: 1px solid var(--line); }
.promise h3 { font-size: 22px; }
.promise p { margin-top: 10px; color: var(--ink-2); }
.promise.first { background: var(--amber-soft); border-color: color-mix(in srgb, var(--amber) 45%, transparent); }
@media (min-width: 860px) { .promises { grid-template-columns: 1.3fr 1fr 1fr; } }

/* FAQ */
.faq { margin-top: 30px; border-top: 1px solid var(--line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font: 650 19px/1.35 var(--body); color: var(--ink);
}
.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: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .15s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .a { padding: 0 0 22px; color: var(--ink-2); max-width: 66ch; }
.faq .a p + p { margin-top: 10px; }

/* Closing call */
.closing { margin: 96px auto 0; text-align: left; }
.closing-card { border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); padding: 30px 24px; display: grid; gap: 20px; align-items: center; }
.closing-card p { color: var(--ink-2); margin-top: 8px; }
@media (min-width: 860px) { .closing-card { grid-template-columns: 1fr auto; padding: 38px 44px; } }

/* Footer */
.foot { margin-top: 80px; padding: 34px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.foot .wrap { display: grid; gap: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-left: -8px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 0 8px; }
.foot a { color: var(--ink-2); }

/* ---------- simple pages (thanks, download, terms, privacy) ---------- */
.page { padding: 48px 0 0; }
.page h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.02; font-weight: 750; letter-spacing: -.03em; text-wrap: balance; }
.page .lede { margin-top: 16px; font-size: 19px; color: var(--ink-2); }
.prose { max-width: 70ch; margin-top: 28px; }
.prose h2 { font-size: 24px; margin-top: 36px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p { margin-top: 12px; }
.prose ul { margin: 12px 0 0; padding-left: 22px; display: grid; gap: 6px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 24px; margin-top: 28px; }
.panel h2 { font-size: 24px; }
.status { display: flex; align-items: center; gap: 12px; font-size: 18px; color: var(--ink-2); margin-top: 12px; }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--blue); animation: spin .9s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.keybox { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin-top: 14px; }
.keybox input {
  flex: 1 1 320px; min-width: 0; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--sunk); color: var(--ink); font: 500 15px/1 var(--body);
}
.paid-line { margin-top: 14px; color: var(--ink-2); }
.paid-line strong { color: var(--ink); }
.dl-grid { display: grid; gap: 14px; margin-top: 20px; }
@media (min-width: 860px) { .dl-grid { grid-template-columns: repeat(3, 1fr); } }
.dl { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 20px; background: var(--paper); display: grid; gap: 12px; align-content: start; }
.dl.mine { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.dl h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; }
.dl h3 svg { width: 22px; height: 22px; }
.dl .meta { font-size: 14.5px; color: var(--muted); }
.dl .msg { font-size: 15px; color: var(--ink-2); }
.dl .msg.warn { color: color-mix(in srgb, var(--amber) 50%, var(--ink)); }
.dl .btn { width: 100%; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 18px; border-bottom: 1px solid var(--line); }
.tabs button {
  background: none; border: 0; border-bottom: 3px solid transparent; padding: 12px 14px 10px; min-height: 46px; cursor: pointer;
  font: 650 16px/1 var(--body); color: var(--muted); margin-bottom: -1px;
}
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--blue); }
.howto { margin-top: 22px; }
/* The install box fills its panel (the panel is the composed width, at most about 1130px): a line that fits the row
   is never broken by a cap. The ch cap only guards reading on a far wider box. */
.howto ol { margin: 14px 0 0; padding-left: 24px; display: grid; gap: 12px; color: var(--ink-2); max-width: 120ch; }
.howto p { color: var(--ink-2); max-width: 120ch; margin-top: 12px; }
.howto .before { background: var(--sunk); border-radius: var(--radius-m); padding: 18px 20px; }
.howto .before p { margin-top: 6px; }
.howto h3 { margin-top: 26px; }
.howto .before h3 { margin-top: 0; }
.err { color: #b3261e; }
:root[data-theme="dark"] .err { color: #ffb4ab; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .err { color: #ffb4ab; } }
.paid-line { max-width: none; }
@media (max-width: 600px) { .keybox .btn { flex: 1 1 100%; } }

/* ---------- pictures: themed <picture> pairs, phone close-ups, tap to see full size ---------- */
picture { display: block; }
[data-zoom] { position: relative; cursor: zoom-in; }
@media (max-width: 640px) {
  /* a caption strip under the close-up, so the hint never covers the picture */
  [data-zoom]::after {
    content: "Tap to see it all"; display: block; text-align: center;
    font: 650 14px/1 var(--body); color: var(--blue); background: var(--surface);
    padding: 13px 0; border-top: 1px solid var(--line);
  }
  /* the close-ups use the card's full width on a phone, so their words stay readable */
  .moment .shot { margin-inline: -14px; }
}
.zoom { position: fixed; border: 0; padding: 0; margin: auto; width: min(1600px, 100vw); max-width: 100vw; height: auto; max-height: 100dvh; background: var(--surface); color: var(--ink); border-radius: 14px; }
.zoom::backdrop { background: rgba(8, 12, 30, .72); }
.zoom-body { height: 100%; overflow: auto; -webkit-overflow-scrolling: touch; }
.zoom-body img { width: 100%; min-width: 900px; max-width: none; height: auto; }
.zoom-close { position: absolute; right: 12px; top: 12px; z-index: 2; min-height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 650 15px/1 var(--body); cursor: pointer; box-shadow: var(--shadow); }
@media (max-width: 640px) { .zoom { border-radius: 0; height: 100dvh; } }

/* ---------- contact form ---------- */
.contact-form { display: grid; gap: 18px; max-width: 640px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 650; color: var(--ink); font-size: 16px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink); font: 400 17px/1.4 var(--body);
}
.field textarea { resize: vertical; min-height: 140px; }
.field.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn { justify-self: start; }
.small-print { font-size: 14.5px; color: var(--muted); }
.notice { margin-top: 22px; border-radius: var(--radius-m); padding: 16px 18px; max-width: 640px; }
.notice.ok { background: var(--green-soft); color: var(--ink); border: 1px solid color-mix(in srgb, var(--green) 45%, transparent); }
.notice.bad { background: var(--amber-soft); color: var(--ink); border: 1px solid color-mix(in srgb, var(--amber) 45%, transparent); }
