/* Hallmark · checked: 2026-12-02 · genre: playful (inferred: friendly consumer app with a mascot)
 * floor: 0 FAIL · fixed: 1, 7a, 19, 26b, 29, 30a, 34, 38iii, 39b, 40, 41, 48, 54, 62, 63, 67, F1, F3, F19, F21, F24 · structural: printed (42, 44a, 44c, 58, 59, 77, 78, 79)
 * built: the project · redesign: polish · v2.0.0 */
/* Hallmark · dropped /privacy/#rights · the same anchor now reads ../privacy/#rights, a relative path so pages also open from disk */
/* Hallmark · reworded eyebrow-led and figurative heads to plain labels (What's in the app, Screens from the app, How it works, Pricing, Questions, Privacy policy, Terms of use, Help and support, Contact) · 54 and 19 name them */
/* Hallmark · reworded "No streaks. No guilt." to "A missed day breaks nothing", "Meet Hugo" to "Hugo keeps you company", "Timers that don't die" to "Timers that keep going" · 19 names the cadence */
/* Hallmark · dismissed F4 · See how it works is the outlined ghost button, a transparent fill beside the one filled store button */
/* Hallmark · dismissed 3 · the three columns are the Monthly, Yearly and Lifetime plans, a price table with no icon tiles */
/* Hallmark · waive 72 · details.reveal boxes in the FAQ, the overflow is the closed answer · the measured text is the hidden FAQ answer inside a closed details, not visible until opened */
/* Hallmark · waive 80 · two inline svg Hugo figures, the mascot itself · Hugo is the Hourhug app's own character, drawn in the app the same way */

@font-face { font-family: "Bricolage"; src: url("fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #FFF8F3;
  --bg-2: #FCEEE4;
  --card: #FFFCF9;
  --ink: #2E2620;
  --muted: #6B5D53;
  --accent: #D9784F;
  --accent-ink: #A4502E;
  --accent-fill: #AD5230;
  --on-accent: #FFF8F3;
  --peach: #F2A07B;
  --peach-soft: #FAD0B8;
  --blue: #6C8EBF;
  --focus: #2F5486;
  --blue-soft: #DCE6F4;
  --sage: #8DB596;
  --sage-soft: #E1EEE3;
  --lilac-soft: #ECE4F6;
  --line: #F0E0D5;
  --field: #FFFCF9;
  --field-edge: #94847A;
  --danger: #A3302A;
  --danger-soft: #FBE3DF;
  /* task colours, the same set the app uses for task blocks */
  --task-ink: #2E2620;
  --task-peach: #FAD0B8;
  --task-blue: #CFDDF1;
  --task-sage: #D3E8D6;
  --task-lilac: #E3D7F3;
  --task-sun: #FBE3A6;
  /* the dark band (privacy) and the device frame */
  --band: #2E2620;
  --band-ink: #FFF8F3;
  --band-muted: #D7C8BD;
  --band-tile: #3A312B;
  --band-line: #473C35;
  --band-accent: #F6B897;
  --frame: #1D1714;
  --frame-edge: #3A2F29;
  --shadow: 0 1px 2px rgb(80 40 20 / .05), 0 12px 32px -12px rgb(120 60 30 / .18);
  --shadow-frame: 0 30px 60px -24px rgb(60 30 10 / .45);
  --radius: 24px;
  --display: "Bricolage", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #17130F;
  --bg-2: #1E1814;
  --card: #231C18;
  --ink: #F3E7DE;
  --muted: #BFAFA3;
  --accent: #F2A07B;
  --accent-ink: #F6B897;
  --accent-fill: #F2A07B;
  --on-accent: #2A160C;
  --peach-soft: #4A3328;
  --blue: #9DB6DC;
  --focus: #B9CCEA;
  --blue-soft: #253043;
  --sage-soft: #24342A;
  --lilac-soft: #2F2740;
  --line: #3A302A;
  --field: #1E1814;
  --field-edge: #85766B;
  --danger: #F2A49C;
  --danger-soft: #3A2220;
  --band: #2A221D;
  --band-tile: #352C26;
  --band-line: #3A302A;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 16px 40px -16px rgb(0 0 0 / .6);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--body); overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:active { opacity: .75; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; transition: none;
}

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.02em; margin: 0; font-weight: 750; text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
h1 { font-size: clamp(42px, 7vw, 80px); }
h2 { font-size: clamp(32px, 4.6vw, 52px); }
h3 { font-size: 22px; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
.muted { color: var(--muted); }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 34em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 16px/1 var(--body); text-decoration: none; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); opacity: 1; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-accent { background: var(--accent-fill); color: var(--on-accent); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-store { padding: 0 22px 0 18px; min-height: 52px; text-align: left; }
.btn-store small { display: block; font: 400 11px/1.2 var(--body); opacity: .8; }
.btn-store b { display: block; font: 600 17px/1.15 var(--display); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; text-decoration: none; color: var(--ink); font: 750 22px/1 var(--display); letter-spacing: -0.02em; }
.brand svg { width: 34px; height: 34px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 400; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.nav-links a:hover { background: var(--bg-2); }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: var(--bg); background: var(--ink); }
.nav-links .btn { min-height: 44px; padding: 0 20px; font-size: 15px; margin-left: 8px; }
.nav-right { display: flex; align-items: center; gap: 4px; }
.menu-btn { display: none; background: none; border: 0; color: var(--ink); width: 44px; height: 44px; border-radius: 12px; cursor: pointer; }
.menu-btn:active, .theme-btn:active { transform: scale(.92); }
.menu-btn svg { width: 24px; height: 24px; }
.theme-btn { background: none; border: 0; color: var(--ink); width: 44px; height: 44px; border-radius: 999px; cursor: pointer; display: inline-grid; place-items: center; transition: background-color .2s, transform .2s; }
.theme-btn:hover { background: var(--bg-2); }
.theme-btn svg { width: 22px; height: 22px; }
.theme-btn .moon { display: block; } .theme-btn .sun { display: none; }
[data-theme="dark"] .theme-btn .moon { display: none; } [data-theme="dark"] .theme-btn .sun { display: block; }
html.theme-anim, html.theme-anim * { transition: background-color .35s ease, color .35s ease, border-color .35s ease !important; }
@media (max-width: 860px) {
  .menu-btn { display: inline-grid; place-items: center; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 8px; border-radius: 12px; font-size: 17px; }
  .nav-links .btn { margin: 8px 0 0; min-height: 48px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 40px 0; overflow: clip; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 24px; min-height: min(720px, calc(100svh - 68px)); }
.hero-copy { position: relative; z-index: 2; display: grid; gap: 28px; }
.hero .lead { max-width: 22em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--muted); }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 16px; height: 16px; color: var(--sage); }
.hero-risk { font-size: 15px; color: var(--muted); margin: -16px 0 0; max-width: 30em; }
.plan-risk { font-size: 14px; color: var(--muted); margin: 0; text-align: center; }
.hero-stage { position: relative; height: min(640px, 70svh); min-height: 420px; }
#hero3d { position: absolute; top: -60px; left: -120px; width: calc(100% + 240px); height: calc(100% + 120px); display: block; cursor: grab; touch-action: pan-y; }
#hero3d:active { cursor: grabbing; }
.hero-fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.hero-fallback svg { width: min(360px, 80%); height: auto; animation: bob 3s ease-in-out infinite; }
.hero-hint { position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); font-size: 13px; color: var(--muted); background: var(--card); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; transition: opacity .6s; }
.js .hero-hint:not(.show) { opacity: 0; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@media (max-width: 960px) {
  .hero { padding-top: 16px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 0; }
  .hero-stage { height: 400px; min-height: 0; margin-top: 8px; }
  #hero3d { top: -20px; left: -16px; width: calc(100% + 32px); height: calc(100% + 40px); }
}
@media (max-width: 520px) { .hero-stage { height: 320px; } .hero-cta .btn { width: 100%; } }

/* ---------- Ticker ---------- */
.ticker { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 16px 0; position: relative; }
.ticker-track { display: flex; gap: 12px; width: max-content; animation: scroll 50s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.chip { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 15px; white-space: nowrap; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { display: grid; gap: 16px; margin-bottom: 48px; max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* ---------- Icons (one hand-drawn line set, 24px grid, stroke 1.8) ---------- */
.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Bento features ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile {
  position: relative; overflow: hidden; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 8px;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.tile:hover { transform: translateY(-4px); }
.tile p { color: var(--muted); font-size: 16px; }
.tile .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 12px; background: var(--bg-2); color: var(--accent-ink); }
.span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; } .span-6 { grid-column: span 6; }
.tile.peach { background: var(--peach-soft); border-color: transparent; }
.tile.blue { background: var(--blue-soft); border-color: transparent; }
.tile.sage { background: var(--sage-soft); border-color: transparent; }
.tile.lilac { background: var(--lilac-soft); border-color: transparent; }
.tile.peach .ico, .tile.blue .ico, .tile.sage .ico, .tile.lilac .ico { background: var(--card); }
.tile.peach p, .tile.blue p, .tile.sage p, .tile.lilac p { color: var(--ink); }
.tile-visual { margin-top: auto; padding-top: 16px; }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .span-2, .span-3 { grid-column: span 1; } .span-4, .span-6 { grid-column: span 2; } }
@media (max-width: 620px) { .bento { grid-template-columns: minmax(0, 1fr); } .span-2, .span-3, .span-4, .span-6 { grid-column: span 1; } .tile { padding: 24px; } }

/* mini timeline visual */
.mini-tl { display: grid; gap: 8px; position: relative; }
.mini-tl .row { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 12px; font-size: 13px; }
.mini-tl .t { color: var(--muted); font-variant-numeric: tabular-nums; }
.mini-tl .blk { border-radius: 14px; padding: 12px; font-weight: 600; font-size: 14px; display: flex; justify-content: space-between; align-items: center; color: var(--task-ink); }
.mini-tl .blk span { font-weight: 400; font-size: 12px; }
.mini-tl .now .blk { box-shadow: 0 0 0 2px var(--accent); }
.mini-tl .now .t { color: var(--ink); font-weight: 600; }
.c-peach { background: var(--task-peach); } .c-blue { background: var(--task-blue); } .c-sage { background: var(--task-sage); } .c-lilac { background: var(--task-lilac); } .c-sun { background: var(--task-sun); }

/* ring visual */
.ring { width: 120px; height: 120px; flex: none; }
.ring circle { fill: none; stroke-width: 12; }
.ring .track { stroke: var(--card); }
.ring .bar { stroke: var(--accent); stroke-linecap: round; transform: rotate(-90deg); transform-origin: center; stroke-dasharray: 314; stroke-dashoffset: 0; }
.ring text { font: 750 22px var(--display); fill: var(--ink); }
.tile.in .ring .bar { animation: ring 9s linear infinite; }
@keyframes ring { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 314; } }
.steps { display: grid; gap: 8px; font-size: 14px; }
.steps div { display: flex; align-items: center; gap: 8px; }
.steps .box { width: 18px; height: 18px; border-radius: 6px; border: 2px solid var(--muted); flex: none; }
.steps .done { color: var(--muted); text-decoration: line-through; }
.steps .done .box { background: var(--sage); border-color: var(--sage); }

/* widget visual */
.widget { background: var(--ink); color: var(--bg); border-radius: 20px; padding: 16px 20px; display: grid; gap: 4px; max-width: 320px; }
.widget small { font-size: 13px; }
.widget b { font: 600 20px var(--display); }
.widget .wrow { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.widget .wbtn { background: var(--accent-fill); color: var(--on-accent); border-radius: 999px; padding: 4px 16px; font-weight: 600; font-size: 13px; }
.widget .next { font-size: 13px; }

/* list rows inside tiles (routine, nudge) */
.row-item { display: flex; gap: 12px; align-items: center; font-size: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.tile.sage .row-item { border-color: color-mix(in srgb, var(--ink) 12%, transparent); }
.row-item .ni { width: 36px; height: 36px; border-radius: 10px; background: var(--card); color: var(--accent-ink); display: grid; place-items: center; flex: none; }
.row-item .ni .i { width: 20px; height: 20px; }
.row-item b { display: block; font-size: 14px; font-weight: 600; }
.row-item span { color: var(--muted); font-size: 13px; }

/* ---------- Screens gallery ---------- */
.screens { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px 16px 48px; scrollbar-width: none; }
.screens > :first-child { margin-left: auto; } .screens > :last-child { margin-right: auto; }
.screens::-webkit-scrollbar { display: none; }
.screen-card { scroll-snap-align: center; flex: none; display: grid; gap: 12px; justify-items: center; align-content: start; text-align: center; width: 244px; }
.screen-card p { font-size: 15px; color: var(--muted); max-width: 240px; }
.screen-card h3 { font-size: 19px; margin-top: 4px; }
.phone {
  position: relative; width: 236px; aspect-ratio: 540 / 1171; border-radius: 38px; padding: 9px;
  background: var(--frame); box-shadow: var(--shadow-frame), inset 0 0 0 2px var(--frame-edge);
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.screen-card:nth-child(odd) .phone { transform: translateY(18px); }
.phone:hover { transform: translateY(-6px) !important; }
.phone .scr { position: relative; width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: var(--bg); }
.phone .scr > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ---------- Steps ---------- */
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.how li { list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 12px; align-content: start; }
.how li::before { counter-increment: step; content: counter(step); width: 40px; height: 40px; border-radius: 12px; background: var(--peach-soft); color: var(--accent-ink); display: grid; place-items: center; font: 750 20px var(--display); }
.how p { color: var(--muted); }
@media (max-width: 860px) { .how { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Privacy band ---------- */
.promise { background: var(--band); color: var(--band-ink); border-radius: 36px; padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; overflow: hidden; position: relative; }
[data-theme="dark"] .promise { border: 1px solid var(--band-line); color: var(--band-ink); }
.promise h2 { color: var(--band-ink); }
.promise .lead { color: var(--band-muted); }
.promise a { color: var(--band-accent); font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; justify-self: start; }
.promise a:focus-visible { outline-color: var(--band-accent); }
.promise ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.promise li { display: flex; gap: 16px; align-items: flex-start; background: var(--band-tile); border-radius: 18px; padding: 16px 20px; }
.promise li b { display: block; font-weight: 600; }
.promise li span { color: var(--band-muted); font-size: 15px; }
.promise li .i { color: var(--band-accent); margin-top: 2px; }
@media (max-width: 860px) { .promise { grid-template-columns: minmax(0, 1fr); border-radius: 28px; } }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; max-width: 980px; margin-inline: auto; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.plan.best { border: 2px solid var(--accent); }
.plan .badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent-fill); color: var(--on-accent); font: 600 13px/1 var(--body); padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.plan .price { font: 750 44px/1 var(--display); letter-spacing: -0.03em; }
.plan .price small { font: 400 16px var(--body); color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--muted); font-size: 15px; }
.plan li { display: flex; gap: 8px; align-items: center; }
.plan li .i { width: 18px; height: 18px; color: var(--sage); stroke-width: 2.6; }
.plan .btn { margin-top: auto; }
.fineprint { text-align: center; color: var(--muted); font-size: 14px; margin-top: 24px; }
@media (max-width: 860px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 440px; } .plan.best { order: -1; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 8px 24px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 28px/1 var(--body); color: var(--accent-ink); transition: transform .25s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- Final CTA ---------- */
.final { text-align: center; display: grid; justify-items: center; gap: 24px; padding: clamp(56px, 8vw, 96px) 24px; border-radius: 36px; background: var(--peach-soft); }
.final .lead { color: var(--ink); }
.final svg.hugo { width: 120px; height: 120px; animation: bob 3s ease-in-out infinite; }

/* ---------- Footer ---------- */
footer { padding: 56px 0 40px; margin-top: 40px; border-top: 1px solid var(--line); }
.foot { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-h { margin: 0 0 12px; font: 600 14px var(--body); color: var(--muted); letter-spacing: 0; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--ink); text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; }
.foot a:hover { color: var(--accent-ink); text-decoration: underline; }
.foot .about { color: var(--muted); font-size: 15px; margin-top: 12px; max-width: 300px; }
.legal { margin-top: 40px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot > :first-child { grid-column: span 2; } }

/* ---------- Reveal (content is visible without scripting; the hidden start applies only once JS runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track, .hero-fallback svg, .final svg.hugo { animation: none !important; }
  .tile.in .ring .bar { animation: none; stroke-dashoffset: 110; }
  .btn, .tile, .phone { transition: none; }
}

/* ---------- Inner pages (privacy, terms, support, contact) ---------- */
.page-hero { padding: 72px 0 40px; text-align: center; display: grid; gap: 16px; justify-items: center; }
.page-hero h1 { font-size: clamp(38px, 6vw, 60px); }
.doc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); margin-bottom: 40px; }
.doc h2 { font-size: 26px; margin: 40px 0 12px; letter-spacing: -0.01em; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 19px; margin: 24px 0 8px; }
.doc p, .doc li { color: var(--ink); }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 24px; display: grid; gap: 8px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
.doc th, .doc td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--muted); font-weight: 600; font-size: 14px; }
.table-scroll { overflow-x: auto; }
.tldr { background: var(--bg-2); border-radius: 18px; padding: 20px 24px; margin: 0 0 20px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.toc a { font-size: 14px; padding: 8px 14px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--bg-2); text-decoration: none; color: var(--ink); }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 40px; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 8px; align-content: start; text-decoration: none; color: var(--ink); transition: transform .25s, border-color .25s; }
.contact-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.contact-card h2 { font-size: 22px; }
.contact-card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-2); color: var(--accent-ink); display: grid; place-items: center; margin-bottom: 8px; }
.contact-card p { color: var(--muted); font-size: 15px; }
.contact-card .go { color: var(--accent-ink); font-weight: 600; font-size: 15px; margin-top: 4px; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 680px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.email-big { font: 750 clamp(22px, 4vw, 32px) var(--display); color: var(--accent-ink); text-decoration: none; overflow-wrap: anywhere; }
.copy-btn { font: 600 14px var(--body); border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; min-height: 44px; padding: 0 16px; cursor: pointer; }
.copy-btn:hover { border-color: var(--accent); }
.copy-btn:active { transform: scale(.96); }

/* ---------- Contact form ---------- */
.form-card { padding: clamp(24px, 4vw, 40px); }
.contact-form { display: grid; gap: 24px; }
.topics { border: 0; margin: 0; padding: 0; min-width: 0; }
.topics legend { font-weight: 600; margin-bottom: 12px; padding: 0; }
.topic-row { display: flex; flex-wrap: wrap; gap: 8px; }
.topic { position: relative; }
.topic input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.topic span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--field-edge); background: var(--field); font-size: 15px; cursor: pointer; transition: border-color .2s, background-color .2s; }
.topic span .i { width: 18px; height: 18px; color: var(--accent-ink); }
.topic:hover span { border-color: var(--accent); }
.topic input:checked + span { border-color: var(--accent-ink); background: var(--bg-2); font-weight: 600; }
.topic input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
.topic input:active + span { transform: scale(.97); }
.contact-form .tester-note { background: var(--bg-2); border-radius: 14px; padding: 12px 16px; font-size: 15px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 620px) { .field-row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-weight: 600; font-size: 15px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: 400 16px/1.5 var(--body); color: var(--ink); background: var(--field);
  border: 1.5px solid var(--field-edge); border-radius: 14px; padding: 12px 14px; min-height: 48px;
}
.field textarea { resize: vertical; min-height: 144px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:hover, .field textarea:hover { border-color: var(--accent); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 30%, transparent); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); }
.field input:disabled, .field textarea:disabled { opacity: .6; cursor: not-allowed; }
.contact-form .field-err { color: var(--danger); font-size: 14px; margin: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.contact-form .form-small { color: var(--muted); font-size: 14px; }
.btn[aria-busy="true"] { cursor: progress; opacity: .75; transform: none; }
.contact-form .form-alert { display: none; background: var(--danger-soft); color: var(--danger); border-radius: 14px; padding: 12px 16px; margin: 0; font-size: 15px; }
.contact-form .form-alert.show, .contact-form .form-alert:target { display: block; }
.form-done { display: none; text-align: center; justify-items: center; gap: 16px; padding: 16px 0; }
.form-done.show, .form-done:target { display: grid; }
.form-card:has(.form-done:target) .contact-form, .form-card.done .contact-form { display: none; }
.done-hugo { width: 96px; }
.form-done:focus { outline: none; }
