/* legacymemorymoments.app, every page. The landing page is a long-scroll marketing page. One wide column, alternating full-bleed bands; the signature-feature phone mock and the person timeline are the two set pieces. */
:root {
  --bg: #f8f6f1; --bg-2: #ffffff; --band: #1c3a4f; --band-fg: #eef3f5;
  --fg: #16303f; --fg-2: #4a5c67; --muted: #7a8a93; --line: #dcd9d0;
  --navy: #1c3a4f; --teal: #2a7f7a; --teal-ink: #1f5f5b; --teal-soft: #e1efed; --gold: #c9a14a; --gold-soft: #f4ead2; --leaf: #4e8a4a; --leaf-soft: #e5efe2;
  --display: "Cinzel", Georgia, serif; --serif: "Source Serif 4", Georgia, serif; --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --radius: 10px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f2230; --bg-2: #16303f; --band: #0a1821; --band-fg: #e8eef0;
    --fg: #e8eef0; --fg-2: #b8c6cc; --muted: #86979f; --line: #2b4454;
    --navy: #dfe9ee; --teal: #5fb8b1; --teal-ink: #8fd0ca; --teal-soft: #1b3d44; --gold: #d9b66a; --gold-soft: #3b3320; --leaf: #7fb27a; --leaf-soft: #1e3a26;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f2230; --bg-2: #16303f; --band: #0a1821; --band-fg: #e8eef0;
  --fg: #e8eef0; --fg-2: #b8c6cc; --muted: #86979f; --line: #2b4454;
  --navy: #dfe9ee; --teal: #5fb8b1; --teal-ink: #8fd0ca; --teal-soft: #1b3d44; --gold: #d9b66a; --gold-soft: #3b3320; --leaf: #7fb27a; --leaf-soft: #1e3a26;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 18px; line-height: 1.55; padding-inline: 16px; padding-block: 0; }
a { color: var(--teal); }
.wrap { max-width: 1080px; margin: 0 auto; }
section { padding-block: 64px; }
.eyebrow { font-family: var(--display); font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); text-wrap: balance; margin: 0; }
h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.05; font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.12; font-weight: 600; margin-bottom: 16px; }
h3 { font-size: 22px; font-weight: 600; margin-bottom: 6px; }
p { margin: 0 0 16px; max-width: 62ch; }
.lede { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 25px); color: var(--fg-2); line-height: 1.4; }
.sub { color: var(--fg-2); max-width: 60ch; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn { display: inline-block; padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 2px solid var(--teal); color: var(--teal-ink); background: transparent; }
.btn.primary { background: var(--teal); color: #ffffff; }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.tag { display: inline-block; font: 600 11px var(--sans); letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; margin-left: 8px; vertical-align: middle; }
.tag.launch { background: var(--teal-soft); color: var(--teal-ink); }
.tag.later { background: var(--gold-soft); color: var(--gold); }
.tag.inline { margin: 0; }

/* Hero */
.hero { padding-block: 40px 56px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; }
@media (max-width: 820px) { .hero { grid-template-columns: minmax(0, 1fr); } }
.hero-art { position: relative; min-width: 0; padding-bottom: 36px; }
.polaroid { background: #ffffff; border: 1px solid var(--line); border-radius: 6px; padding: 12px 12px 56px; box-shadow: 0 18px 40px rgba(16,48,63,0.18); transform: rotate(-2.5deg); max-width: 380px; margin: 0 auto; }
.polaroid .photo { aspect-ratio: 4 / 3; border-radius: 3px; background: linear-gradient(160deg, #cfe3df 0%, #8fbfb8 45%, #3d6b66 100%); position: relative; overflow: hidden; }
.polaroid .photo::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: 0; height: 38%; background: linear-gradient(180deg, rgba(28,58,79,0) 0%, rgba(28,58,79,0.55) 100%); }
.polaroid .cap { font-family: var(--serif); font-style: italic; color: #4a5c67; font-size: 16px; margin: 12px 4px 0; }
.voice-card { position: absolute; right: -6px; bottom: -40px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; box-shadow: 0 10px 28px rgba(16,48,63,0.18); display: flex; align-items: center; gap: 12px; width: 280px; max-width: 86%; transform: rotate(1.5deg); }
.voice-card .mic { width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; flex: none; font-size: 18px; }
.voice-card .wave { display: flex; gap: 3px; align-items: center; height: 22px; flex: 1; }
.voice-card .wave i { width: 3px; background: var(--teal); border-radius: 2px; display: block; }
.voice-card .wave i:nth-child(1) { height: 8px; }
.voice-card .wave i:nth-child(2) { height: 16px; }
.voice-card .wave i:nth-child(3) { height: 22px; }
.voice-card .wave i:nth-child(4) { height: 12px; }
.voice-card .wave i:nth-child(5) { height: 18px; }
.voice-card .wave i:nth-child(6) { height: 6px; }
.voice-card .wave i:nth-child(7) { height: 14px; }
.voice-card small { display: block; font-size: 12px; color: var(--muted); }
.voice-card b { font-size: 14px; display: block; }

/* Problem band */
.band { background: var(--band); color: var(--band-fg); margin-inline: -16px; padding-inline: 16px; }
.band h2, .band h3 { color: #ffffff; }
.band p { color: var(--band-fg); }
.band .eyebrow { color: var(--gold); }
.three { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 30px; }
.three > div { border-top: 2px solid var(--gold); padding-top: 14px; }
.three b { display: block; font-family: var(--serif); font-size: 21px; margin-bottom: 6px; color: #fff; }
.three p { font-size: 16.5px; opacity: 0.9; }

/* Signature feature with phone mock */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
@media (max-width: 820px) { .feature { grid-template-columns: minmax(0, 1fr); } }
.phone { width: 300px; max-width: 100%; margin: 0 auto; background: #0f2230; border-radius: 38px; padding: 12px; box-shadow: 0 24px 50px rgba(16,48,63,0.28); }
.screen { background: #fbf8f2; color: #16303f; border-radius: 28px; overflow: hidden; font-size: 13px; }
.screen .bar { display: flex; justify-content: space-between; padding: 10px 16px 4px; font-size: 11px; color: #7a8a93; }
.screen .img { aspect-ratio: 1 / 1; background: linear-gradient(160deg, #e2d2a9 0%, #b99a52 40%, #5d6e52 75%, #2d4a3a 100%); position: relative; }
.screen .img span { position: absolute; left: 12px; bottom: 10px; background: rgba(15,34,48,0.78); color: #fff; padding: 3px 8px; border-radius: 4px; font-size: 11px; }
.screen .people { display: flex; gap: 6px; padding: 10px 14px 0; }
.screen .people i { width: 26px; height: 26px; border-radius: 50%; background: #2a7f7a; color: #fff; font: 600 11px var(--sans); display: grid; place-items: center; }
.screen .people i.g { background: #c9a14a; }
.screen .meta { padding: 8px 14px 0; color: #4a5c67; font-size: 12px; }
.screen .tell { margin: 12px 14px 14px; background: #1c3a4f; color: #fff; border-radius: 14px; padding: 12px 14px; }
.screen .tell b { display: block; font-family: var(--serif); font-size: 15px; margin-bottom: 8px; }
.screen .tell .opts { display: flex; gap: 6px; }
.screen .tell .opts span { flex: 1; text-align: center; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); border-radius: 8px; padding: 7px 4px; font-size: 11px; }
.screen .tell .opts span.on { background: #2a7f7a; border-color: #2a7f7a; }
.screen .nav { display: flex; justify-content: space-around; padding: 10px 8px 12px; border-top: 1px solid #e3ded2; font-size: 10px; color: #7a8a93; }
.screen .nav b { color: #2a7f7a; }
.screen .nav .plus { width: 36px; height: 36px; margin-top: -24px; border-radius: 50%; background: #c9a14a; color: #fff; display: grid; place-items: center; font-size: 22px; font-weight: 600; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.checks { list-style: none; padding: 0; margin: 20px 0 0; max-width: 60ch; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-ink); font-size: 13px; font-weight: 700; display: grid; place-items: center; }

/* Person timeline */
.tl-wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
@media (max-width: 820px) { .tl-wrap { grid-template-columns: minmax(0, 1fr); } }
.profile { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.profile .head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.profile .av { width: 56px; height: 56px; border-radius: 50%; background: var(--teal); color: #fff; font: 600 22px var(--serif); display: grid; place-items: center; }
.profile .head b { font-family: var(--serif); font-size: 22px; display: block; color: var(--navy); }
.profile .head small { color: var(--muted); font-size: 14px; }
.counts { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; color: var(--fg-2); margin-bottom: 18px; }
.counts span b { color: var(--fg); }
.tl { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 2px solid var(--line); }
.tl li { position: relative; padding: 0 0 18px 16px; }
.tl li::before { content: ""; position: absolute; left: -29px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--leaf); border: 2px solid var(--bg-2); }
.tl li.voice::before { background: var(--teal); }
.tl li.quote::before { background: var(--gold); }
.tl li.lock::before { background: var(--muted); }
.tl .when { font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.tl .what { font-weight: 600; color: var(--fg); }
.tl .how { font-size: 15px; color: var(--fg-2); }
.tl .how em { font-family: var(--serif); }
.tl .pill { display: inline-block; font-size: 11.5px; padding: 2px 8px; border-radius: 4px; background: var(--teal-soft); color: var(--teal-ink); margin-left: 6px; }
.tl .pill.gold { background: var(--gold-soft); color: var(--gold); }
.tl .pill.grey { background: var(--line); color: var(--fg-2); }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin-top: 28px; }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 18px; }
.card .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--teal-soft); color: var(--teal-ink); display: grid; place-items: center; font-size: 18px; margin-bottom: 12px; font-family: var(--serif); font-weight: 600; }
.card h3 { font-size: 19px; }
.card p { font-size: 15.5px; color: var(--fg-2); margin: 0; }

/* Comparison */
.cmp-wrap { overflow-x: auto; margin-top: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
table.cmp { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 15.5px; }
.cmp th, .cmp td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.cmp th { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.cmp td:first-child, .cmp th:first-child { text-align: left; }
.cmp td:first-child { font-weight: 600; color: var(--fg); }
.cmp th.us, .cmp td.us { background: var(--teal-soft); color: var(--teal-ink); font-weight: 700; }
.cmp tr:last-child td { border-bottom: none; }
.cmp .y { color: var(--teal-ink); font-weight: 700; }
.cmp .n { color: var(--muted); }
.cmp .p { color: var(--fg-2); font-size: 13.5px; }
table.cmp.tiers { min-width: 0; table-layout: fixed; }
.cmp.tiers th:first-child { width: 40%; }
@media (max-width: 560px) { .cmp.tiers th, .cmp.tiers td { padding: 10px 6px; font-size: 14px; } .cmp.tiers th { font-size: 10.5px; letter-spacing: 0.04em; } .cmp.tiers td:first-child, .cmp.tiers th:first-child { padding-left: 12px; } .cmp.tiers .p { font-size: 12.5px; } }

/* Promises */
.promises { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 28px; margin-top: 26px; }
.promises div { padding-left: 16px; border-left: 3px solid var(--gold); }
.promises b { display: block; font-family: var(--serif); font-size: 19px; color: #fff; margin-bottom: 4px; }
.promises p { font-size: 15.5px; opacity: 0.9; margin: 0; }
.quote-big { font-family: var(--serif); font-size: clamp(24px, 3.4vw, 36px); line-height: 1.25; color: #fff; max-width: 24ch; margin: 0 0 8px; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 26px; }
.plan { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.plan.feat { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.plan .name { font-family: var(--display); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.plan h3 { font-size: 24px; }
.plan ul { padding-left: 18px; margin: 12px 0 0; font-size: 15.5px; color: var(--fg-2); }
.plan li { margin-bottom: 6px; }
.plan .price { font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--fg); margin: 10px 0 0; }
.plan .price span { font-family: var(--sans); font-size: 15px; font-weight: 400; color: var(--muted); }
.plan .per { font-size: 14.5px; color: var(--muted); margin: 0; }

/* Story */
.story { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; margin-top: 26px; }
.story .yr { font-family: var(--display); font-size: 12px; letter-spacing: 0.2em; color: var(--gold); margin-bottom: 8px; }
.story p { font-size: 16px; margin: 0; }
.story p strong { font-family: var(--serif); font-size: 19px; display: block; color: var(--navy); margin-bottom: 6px; }

.final { text-align: center; padding-block: 72px 56px; }
.final h2 { margin-inline: auto; }
.final p { margin-inline: auto; }
.final .btns { justify-content: center; }
.final .sub { margin-top: 12px; }
.mark { width: 120px; height: auto; margin: 0 auto 18px; display: block; background: #fff; border-radius: 50%; padding: 10px; border: 1px solid var(--line); }
footer { border-top: 1px solid var(--line); padding-block: 22px 40px; font-size: 13px; color: var(--muted); }
footer p { max-width: none; }
footer a { color: var(--muted); }
.footer-links { margin-bottom: 8px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
/* The usage path: one ordinary year as a line of stops. A centred rail with the
   stops alternating either side on desktop; below 820px the rail slides left and
   every stop stacks to the right of it. Dots sit on the rail, so their offset is
   the half-gap (46px) minus half the dot (10px) minus the rail's own 1px. */
.path { position: relative; margin-top: 34px; }
.path::before {
  content: ""; position: absolute; left: 50%; top: 10px; bottom: 10px; width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, transparent, var(--teal) 6%, var(--teal) 94%, transparent);
  opacity: 0.4;
}
.stop {
  position: relative; box-sizing: border-box; width: calc(50% - 46px);
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px 20px; margin-bottom: 24px;
}
.stop:nth-child(even) { margin-left: auto; }
.stop::after {
  content: ""; position: absolute; top: 24px; width: 15px; height: 15px;
  border-radius: 50%; background: var(--bg); border: 3px solid var(--gold);
}
.stop:nth-child(odd)::after { right: -53px; }
.stop:nth-child(even)::after { left: -53px; }
.stop .when {
  font-family: var(--display); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 7px;
}
.stop h3 { font-size: 20px; margin-bottom: 4px; }
.stop p { font-size: 15.5px; color: var(--fg-2); margin: 0; max-width: none; }
.stop .how {
  margin-top: 11px; padding-top: 10px; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--muted);
}
.stop .how b { color: var(--teal-ink); font-weight: 600; }
.stop .dotm {
  display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: var(--teal); margin-right: 8px; vertical-align: middle;
}
/* The closing stop is the destination, not another stop: teal face, square dot. */
.stop.end { background: var(--teal-soft); border-color: var(--teal); }
.stop.end::after { border-radius: 3px; background: var(--gold); border-color: var(--gold); }
.stop.end h3 { font-size: 21px; }
@media (max-width: 820px) {
  .path::before { left: 7px; transform: none; }
  .stop, .stop:nth-child(even) { width: auto; margin-left: 40px; }
  .stop:nth-child(odd)::after, .stop:nth-child(even)::after { left: -47px; right: auto; }
}
/* One moment fanning out to the timelines it belongs to. The connector is an SVG
   with preserveAspectRatio="none" so the curves stretch to the column centres at
   any width; non-scaling-stroke keeps the line 1.5px while the box distorts. */
.fanwrap { margin-top: 30px; }
.srcmoment {
  background: var(--bg-2); border: 1px solid var(--teal); border-radius: var(--radius);
  padding: 20px 24px 18px; max-width: 620px; margin: 0 auto;
  box-shadow: 0 2px 14px rgba(0,0,0,0.05);
}
.srcmoment .when {
  font-family: var(--display); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 7px;
}
.srcmoment h3 { font-size: 21px; margin-bottom: 5px; }
.srcmoment p { font-size: 15.5px; color: var(--fg-2); margin: 0; max-width: none; }
.wholine {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  margin-top: 13px; padding-top: 12px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--fg-2);
}
.who { display: inline-flex; align-items: center; gap: 7px; }
.savedin { margin-left: auto; font-size: 13px; color: var(--muted); font-style: italic; }
.av {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  font-family: var(--sans); font-size: 12px; font-weight: 600; color: #fff;
}
.av.j { background: var(--teal); }
.av.k { background: #7a6ba8; }
.av.h { background: var(--leaf); }
.av.f { background: var(--gold); color: #3a2c08; }
.fan { display: block; width: 100%; height: 64px; }
.fan path { fill: none; stroke: var(--teal); stroke-width: 1.5; opacity: 0.6; vector-effect: non-scaling-stroke; }
.dests { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dest {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 15px 16px 16px;
}
.dest.fam { background: var(--gold-soft); border-color: var(--gold); }
.dest .dh { display: flex; align-items: center; gap: 9px; margin-bottom: 7px; }
.dest .dh b { font-family: var(--serif); font-size: 16px; color: var(--navy); }
.dest p { font-size: 13.5px; color: var(--fg-2); margin: 0; max-width: none; }
.notecols {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line);
}
.notecols b { font-family: var(--serif); font-size: 17px; color: var(--navy); display: block; margin-bottom: 4px; }
.notecols p { font-size: 15px; color: var(--fg-2); margin: 0; max-width: none; }
@media (max-width: 820px) {
  /* The fan cannot survive a single column, so it becomes one short stem and the
     destinations stack as an indented list under the moment. */
  .fan { height: 26px; }
  .fan path { display: none; }
  .fan path.stem { display: block; }
  .dests { grid-template-columns: 1fr; gap: 12px; }
}
/* Home-screen mock. Shares .phone/.screen/.nav with the memory-screen mock above;
   everything here is device chrome, so the colours are literal rather than tokens
   (a phone screen does not follow the page's dark mode). */
.screen .hm-hd { padding: 6px 16px 12px; }
.screen .hm-hd b { display: block; font-family: var(--serif); font-size: 17px; color: #16303f; }
.screen .hm-hd small { color: #7a8a93; font-size: 11px; }
.screen .hm-add {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: calc(100% - 28px); margin: 0 14px; padding: 14px 0;
  background: #2a7f7a; color: #fff; border: 0; border-radius: 14px;
  font: 600 15px var(--sans); cursor: default;
  box-shadow: 0 4px 12px rgba(42,127,122,0.3);
}
.screen .hm-add span { font-size: 20px; font-weight: 600; line-height: 1; }
.screen .hm-chips { display: flex; gap: 5px; padding: 10px 14px 0; }
.screen .hm-chips span {
  flex: 1; text-align: center; font-size: 10px; color: #4a5c67;
  background: #f1ece0; border: 1px solid #e3ded2; border-radius: 7px; padding: 6px 0;
}
.screen .hm-dft {
  margin: 12px 14px 0; padding: 11px 14px; border-radius: 12px;
  background: #1c3a4f; color: #fff;
}
.screen .hm-dft b { display: block; font-family: var(--serif); font-size: 14px; }
.screen .hm-dft small { color: rgba(255,255,255,0.72); font-size: 10.5px; }
.screen .hm-lbl {
  padding: 14px 14px 7px; font-family: var(--display); font-size: 9.5px;
  letter-spacing: 0.18em; text-transform: uppercase; color: #9aa7ae;
}
.screen .hm-people { display: flex; gap: 8px; padding: 0 14px; }
.screen .hm-people i {
  width: 32px; height: 32px; border-radius: 50%; color: #fff;
  font: 600 12px var(--sans); display: grid; place-items: center;
}
.screen .hm-people i.j { background: #2a7f7a; }
.screen .hm-people i.k { background: #7a6ba8; }
.screen .hm-people i.h { background: #4e8a4a; }
.screen .hm-people i.g { background: #8a6f4a; }
.screen .hm-people i.all { background: #c9a14a; color: #3a2c08; }
.screen .hm-recent { padding: 0 14px 4px; }
.screen .hm-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.screen .hm-row .th { width: 34px; height: 34px; border-radius: 7px; flex: none; }
.screen .hm-row .th.t1 { background: linear-gradient(150deg, #cfe0e4, #6f93a0); }
.screen .hm-row .th.t2 { background: linear-gradient(150deg, #efdfc2, #b99a52); }
.screen .hm-row .tx b { display: block; font-size: 11.5px; font-weight: 600; color: #16303f; }
.screen .hm-row .tx small { font-size: 10px; color: #7a8a93; }

/* Site header, on every page. */
/* Sticky: it stays at the top while the page scrolls. The border image paints its background the full width of the
   window (without widening the page), so the full-bleed bands don't show beside it - and unlike a clip, it lets the
   account panel hang below the header. The inset shadow is the line under it. Links to a #section stop below it (scroll-padding-top). */
html { scroll-padding-top: 124px; }
.site-header { position: sticky; top: 0; z-index: 10; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding-block: 12px; background: var(--bg); border-bottom: 1px solid var(--line); border-image: conic-gradient(var(--bg) 0 0) fill 0 / / 0 100vmax; box-shadow: inset 0 -1px 0 var(--line); }
.site-header .brand { display: inline-block; background: #ffffff; border-radius: var(--radius); padding: 6px 12px; border: 1px solid var(--line); }
.site-header .brand img { display: block; width: 220px; max-width: 100%; height: auto; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-left: auto; font-size: 16px; }
.site-nav a { color: var(--fg); font-weight: 600; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--teal); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 7px; }
.site-nav a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.site-header .signin { padding: 8px 18px; font-size: 15px; }
/* The header's account (site.js): "Sign in" opens a sign-in panel; signed in, the initials open a menu. */
.site-header .account { position: relative; }
.account-avatar { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--gold); background: var(--teal); color: #ffffff; font: 600 15px var(--sans); letter-spacing: .5px; cursor: pointer; }
.account-avatar:focus-visible, .account-link:focus-visible, .account-panel a:focus-visible, .account-form input:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.account-panel { position: absolute; right: 0; top: calc(100% + 10px); z-index: 20; width: 300px; max-width: calc(100vw - 32px); box-sizing: border-box; padding: 18px; background: var(--bg-2); color: var(--fg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(0, 0, 0, .18); text-align: left; }
.account-panel[hidden] { display: none; }
.account-panel h2 { margin: 0 0 12px; font: 600 18px var(--serif); color: var(--fg); }
.account-form { display: grid; gap: 6px; }
.account-form label { font-size: 14px; font-weight: 600; color: var(--fg-2); }
.account-form input[type="email"], .account-form input[type="password"] { width: 100%; box-sizing: border-box; padding: 9px 11px; margin-bottom: 6px; font: 16px var(--sans); color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; }
.account-form .account-keep { display: flex; gap: 8px; align-items: center; font-weight: 400; margin: 2px 0 8px; }
.account-form .btn { padding: 9px 18px; font-size: 15px; cursor: pointer; }
.account-form .btn:disabled { opacity: .6; cursor: default; }
.account-error { margin: 0 0 4px; font-size: 14px; color: #b3412e; }
.account-error.ok { color: var(--leaf); }
.account-link { justify-self: start; padding: 4px 0; background: none; border: 0; font: 600 14px var(--sans); color: var(--teal-ink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.account-new { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--fg-2); }
.account-new a { color: var(--teal-ink); font-weight: 600; }
.account-menu { display: grid; gap: 2px; width: 260px; padding: 10px; }
.account-menu .account-who { margin: 0 0 6px; padding: 6px 8px 10px; border-bottom: 1px solid var(--line); display: grid; gap: 2px; overflow-wrap: anywhere; }
.account-menu .account-who span { font-size: 14px; color: var(--muted); }
.account-menu a, .account-menu .account-link { display: block; padding: 9px 8px; border-radius: 6px; color: var(--fg); font-weight: 600; font-size: 15px; text-decoration: none; text-align: left; }
.account-menu a:hover, .account-menu .account-link:hover { background: var(--teal-soft); color: var(--teal-ink); }
.site-nav .archive-link { color: var(--teal-ink); }
/* Tablets: a smaller logo, so the logo, page links and Sign in keep to one row. */
@media (max-width: 1040px) {
  .site-header .brand img { width: 170px; }
  .site-nav { gap: 8px 18px; }
}
/* Phones and small tablets: logo and Sign in on the first row, the page links on the second. */
@media (max-width: 860px) {
  html { scroll-padding-top: 132px; }
  .site-header { gap: 8px 16px; padding-block: 10px 0; }
  .site-header .brand { padding: 4px 10px; }
  .site-header .brand img { width: 165px; }
  .site-header .signin { margin-left: auto; padding: 6px 16px; }
  .site-header .account { margin-left: auto; }
  .site-header .account .signin { margin-left: 0; }
  /* One row of links that scrolls sideways, so the sticky header stays short. */
  .site-nav { order: 3; flex-basis: 100%; flex-wrap: nowrap; margin-left: 0; gap: 18px; font-size: 15px; white-space: nowrap; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
}

/* Text pages: privacy, terms, support, delete account, 404. */
.doc { max-width: 760px; padding-block: 40px 56px; line-height: 1.6; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); line-height: 1.15; margin: 0 0 8px; }
.doc h2 { font-size: 24px; line-height: 1.15; margin: 36px 0 8px; }
.doc h3 { font-family: var(--sans); font-size: 19px; margin: 24px 0 6px; }
.doc p, .doc li { color: var(--fg-2); }
.doc li { margin-bottom: 6px; }
.doc li ul { margin-top: 6px; }
.doc ol { padding-left: 24px; }
.doc .updated { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.doc .summary { background: var(--gold-soft); border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 12px 16px; color: var(--fg); }

/* Inner pages. */
section.tight { padding-block: 24px 40px; }
.page-hero { padding-block: 52px 16px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 54px); max-width: 22ch; }
.page-hero .lede { margin-top: 16px; }
.page-hero .lede a { color: var(--teal); }
.more { display: inline-block; margin-top: 20px; font-weight: 600; text-decoration: none; }
.more::after { content: " \2192"; }
.band .more { color: var(--gold); }
.tag.now { background: var(--teal-soft); color: var(--teal-ink); }
.tag.soon { background: var(--leaf-soft); color: var(--leaf); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; counter-reset: step; }
.steps > div { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; counter-increment: step; }
.steps > div::before { content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--teal); color: #ffffff; font-weight: 700; margin-bottom: 12px; }
.steps b { display: block; font-family: var(--serif); font-size: 20px; color: var(--navy); margin-bottom: 4px; }
.steps p { font-size: 15.5px; color: var(--fg-2); margin: 0; }
.prose { max-width: 680px; }
.prose p { color: var(--fg-2); }
.prose + h2 { margin-top: 36px; }
.note { font-size: 14px; color: var(--muted); margin-top: 12px; max-width: none; }
.faq { max-width: 760px; margin-top: 8px; }
.faq details { border-bottom: 1px solid var(--line); padding-block: 14px; }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--navy); }
.faq summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.faq details p { margin: 10px 0 4px; color: var(--fg-2); }
.plan p { font-size: 15.5px; color: var(--fg-2); margin: 10px 0 0; }
.plan .btns { margin-top: 16px; }
.plan .status { font-size: 14px; color: var(--muted); }
.rules { max-width: 680px; padding-left: 26px; margin: 20px 0 0; }
.rules li { font-family: var(--serif); font-size: 19px; color: var(--navy); margin-bottom: 8px; padding-left: 4px; }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 24px; margin: 18px 0 0; max-width: 760px; }
.facts dt { font-weight: 600; color: var(--navy); }
.facts dd { margin: 0; color: var(--fg-2); }
.assets { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-top: 20px; }
.asset { display: block; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); padding: 14px; text-decoration: none; color: var(--fg); font-weight: 600; }
.asset img { display: block; width: 100%; height: 140px; object-fit: contain; background: #ffffff; border-radius: 8px; padding: 12px; margin-bottom: 10px; }
.swatches { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; }
.swatch { width: 120px; font-size: 14px; }
.swatch i { display: block; height: 64px; border-radius: 8px; border: 1px solid var(--line); margin-bottom: 8px; }
.swatch b { display: block; color: var(--navy); }
.swatch span { color: var(--muted); }
.swatch.navy i { background: #1c3a4f; }
.swatch.teal i { background: #2a7f7a; }
.swatch.gold i { background: #c9a14a; }
.swatch.leaf i { background: #4e8a4a; }
.swatch.cream i { background: #fbf8f2; }
footer nav { margin-bottom: 8px; }
.swatches + .sub { margin-top: 16px; }

/* Real screens (In action, and in place of the drawn phones): a phone-shaped frame around a screenshot. */
.shot { margin: 0 auto; width: 300px; max-width: 100%; padding: 10px; background: #0f2230; border-radius: 36px; box-shadow: 0 24px 50px rgba(16,48,63,0.28); }
.shot img { display: block; width: 100%; height: auto; border-radius: 27px; }
.act { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; }
.act.flip .act-words { order: 2; }
.act h2 { margin-top: 4px; }
.act-n { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 6px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-ink); font-weight: 600; letter-spacing: 0; }
@media (max-width: 820px) { .act { grid-template-columns: minmax(0, 1fr); gap: 24px; } .act.flip .act-words { order: 0; } }
.desk-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 28px; }
@media (max-width: 700px) { .desk-shots { grid-template-columns: minmax(0, 1fr); } }
.desk { margin: 0; }
.desk img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 30px rgba(16,48,63,0.16); }
.desk figcaption { margin-top: 8px; color: var(--fg-2); font-size: 15px; text-align: center; }
