/* WatchCheck site. Charcoal, cream and serif: the same world as the app. */
:root {
  --bg: #121212;
  --surface: #1c1c1d;
  --surface-2: #232324;
  --line: #2a2a2a;
  --ink: #eceae6;
  --mute: #98958e;
  --cream: #cfcac0;
  --green: #6b8f71;
  --amber: #d9a24b;
  --red: #d9534f;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.62 var(--sans);
  padding-inline: var(--gutter);
  overflow-x: hidden;
}
::selection { background: var(--cream); color: #121212; }
:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; border-radius: 6px; }
a { color: var(--cream); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
img, svg { max-width: 100%; display: block; }
html { scrollbar-color: #3a3a3a var(--bg); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--cream); color: #121212; padding: 10px 14px; border-radius: 10px; font-weight: 700; z-index: 50; }
.skip:focus { left: 12px; }

.wrap { width: min(1120px, 100%); margin-inline: auto; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 600; letter-spacing: 0.22em; font-size: 0.82rem; }
.brand svg { width: 34px; height: 34px; }
.top nav { display: flex; align-items: center; gap: 26px; }
.top nav a { color: var(--mute); text-decoration: none; font-size: 0.95rem; }
.top nav a:hover { color: var(--ink); }
@media (max-width: 760px) { .top nav a.hide-s { display: none; } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font: 700 1rem var(--sans); text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), background 0.18s, border-color 0.18s;
}
.btn.primary { background: #d9d5c9; color: #121212; }
.btn.primary:hover { background: #ebe8df; color: #121212; transform: translateY(-2px); }
.btn.ghost { border-color: #3a3a3a; color: var(--ink); background: transparent; }
.btn.ghost:hover { border-color: var(--cream); color: var(--ink); }
.btn.small { min-height: 42px; padding: 0 20px; font-size: 0.92rem; }

/* hero */
.hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 6vw, 80px); align-items: center; padding-block: clamp(36px, 8vw, 96px) clamp(48px, 9vw, 110px); }
.hero h1 { font: 600 clamp(2.9rem, 8.2vw, 6rem)/1 var(--serif); letter-spacing: -0.03em; text-wrap: balance; }
.hero .sub { margin-top: 24px; max-width: 34ch; font-size: clamp(1.1rem, 2.4vw, 1.35rem); color: var(--cream); line-height: 1.5; }
.hero .actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero .note { margin-top: 18px; color: var(--mute); font-size: 0.9rem; }
@media (max-width: 880px) { .hero { grid-template-columns: 1fr; } }

/* the phone */
.phone-wrap { display: grid; justify-items: center; gap: 14px; }
.phone {
  width: min(318px, 82vw); aspect-ratio: 9 / 15.6; border-radius: 46px; background: #0b0b0b;
  border: 9px solid #2b2b2c; padding: 22px 18px; position: relative; overflow: hidden;
  box-shadow: 0 40px 70px rgba(0, 0, 0, 0.55), 0 10px 20px rgba(0, 0, 0, 0.4);
}
.phone .bar { display: flex; align-items: center; gap: 8px; color: var(--cream); font-size: 0.62rem; letter-spacing: 0.22em; font-weight: 600; }
.phone .bar svg { width: 22px; height: 22px; }
.phone h3 { font: 600 1.12rem/1.2 var(--serif); margin-top: 16px; }
.phone .price { color: var(--mute); font-size: 0.8rem; margin-top: 2px; }
.gauge { display: grid; place-items: center; margin-top: 8px; position: relative; }
.gauge svg { width: 150px; height: 150px; }
.gauge b { position: absolute; font: 600 2.6rem var(--serif); color: var(--green); top: 50%; transform: translateY(-46%); }
.verdict { text-align: center; font-weight: 700; font-size: 0.86rem; color: var(--green); margin-top: -6px; }
.rows { margin-top: 14px; display: grid; gap: 9px; }
.row { display: grid; grid-template-columns: 1fr 26px; gap: 4px 8px; align-items: center; font-size: 0.7rem; color: var(--ink); }
.row i { grid-column: 1 / -1; height: 5px; border-radius: 3px; background: #2a2a2a; position: relative; overflow: hidden; }
.row i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--c, var(--green)); border-radius: 3px; }
.row span:last-child { text-align: right; color: var(--c, var(--green)); font-weight: 700; }
.offer { margin-top: 14px; border: 1px solid var(--line); background: var(--surface); border-radius: 16px; padding: 12px 14px; display: flex; justify-content: space-between; align-items: baseline; }
.offer span { font-size: 0.7rem; color: var(--mute); }
.offer strong { font: 600 1.5rem var(--serif); color: var(--green); }
.caption { color: var(--mute); font-size: 0.82rem; text-align: center; }

/* sections */
section { padding-block: clamp(48px, 8vw, 96px); border-top: 1px solid var(--line); }
section.first { border-top: 0; }
h2 { font: 600 clamp(1.9rem, 4.6vw, 3.1rem)/1.06 var(--serif); letter-spacing: -0.02em; text-wrap: balance; max-width: 18ch; }
.lead { margin-top: 16px; color: var(--cream); max-width: 52ch; font-size: 1.12rem; }

/* how it works */
.steps { margin-top: 44px; display: grid; gap: clamp(36px, 6vw, 72px); }
.step { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(20px, 5vw, 64px); align-items: center; }
.step:nth-child(even) .copy { order: 2; }
.step .n { font: 600 1rem var(--serif); color: var(--cream); display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #3a3a3a; margin-bottom: 14px; }
.step h3 { font: 600 clamp(1.5rem, 3vw, 2.1rem)/1.12 var(--serif); letter-spacing: -0.01em; }
.step p { margin-top: 12px; color: var(--cream); max-width: 40ch; }
.frag { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: clamp(18px, 3vw, 30px); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1px solid #3a3a3a; border-radius: 999px; padding: 9px 16px; font-size: 0.92rem; color: var(--ink); }
.chip.on { border-color: var(--cream); background: #26241f; }
.field { margin-top: 14px; border: 1px solid #3a3a3a; border-radius: 16px; padding: 14px 16px; color: var(--mute); font-size: 0.95rem; }
.flag { display: flex; align-items: center; gap: 12px; border-radius: 14px; padding: 12px 14px; background: #161617; border: 1px solid var(--line); font-size: 0.95rem; margin-top: 10px; }
.flag:first-child { margin-top: 0; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; }
.range { margin-top: 12px; height: 12px; border-radius: 6px; background: #2a2a2a; position: relative; }
.range b { position: absolute; left: 22%; width: 38%; top: 0; bottom: 0; background: var(--green); border-radius: 6px; }
.range i { position: absolute; left: 36%; top: 50%; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); border: 4px solid var(--green); transform: translate(-50%, -50%); }
.big { font: 600 3.4rem/1 var(--serif); color: var(--green); letter-spacing: -0.03em; }
@media (max-width: 800px) { .step { grid-template-columns: 1fr; } .step:nth-child(even) .copy { order: 0; } }

/* score weights */
.weights { margin-top: 40px; display: grid; gap: 18px; max-width: 760px; }
.weight { display: grid; grid-template-columns: 11rem 1fr 3.4rem; gap: 14px; align-items: center; }
.weight span:first-child { font-weight: 600; }
.weight i { height: 12px; border-radius: 6px; background: #262626; position: relative; overflow: hidden; }
.weight i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 6px; background: var(--cream); }
.weight span:last-child { text-align: right; color: var(--mute); font-variant-numeric: tabular-nums; }
.fineprint { margin-top: 22px; color: var(--mute); max-width: 60ch; font-size: 0.98rem; }
@media (max-width: 560px) { .weight { grid-template-columns: 1fr 3rem; } .weight i { grid-column: 1 / -1; grid-row: 2; } }

/* features */
.defs { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px clamp(24px, 6vw, 80px); }
.defs dt { font: 600 1.5rem/1.15 var(--serif); letter-spacing: -0.01em; }
.defs dd { margin-top: 8px; color: var(--cream); max-width: 40ch; }
@media (max-width: 720px) { .defs { grid-template-columns: 1fr; } }

/* faq */
.faq { margin-top: 36px; max-width: 760px; }
.faq details { border-top: 1px solid var(--line); padding-block: 4px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 700; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 400 1.7rem var(--sans); color: var(--cream); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 20px; color: var(--cream); max-width: 60ch; }

/* closing */
.closing { text-align: center; }
.closing h2 { margin-inline: auto; max-width: 14ch; font-size: clamp(2.4rem, 7vw, 4.8rem); }
.closing p { margin: 18px auto 0; max-width: 40ch; color: var(--cream); }
.closing .btn { margin-top: 30px; }

/* footer */
footer { border-top: 1px solid var(--line); padding-block: 40px 56px; color: var(--mute); font-size: 0.92rem; }
footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
footer a { color: var(--mute); }
footer a:hover { color: var(--ink); }
footer p { margin-top: 22px; max-width: 70ch; }

/* legal and support pages */
.doc { padding-block: clamp(28px, 6vw, 64px) 40px; max-width: 720px; margin-inline: auto; }
.doc h1 { font: 600 clamp(2.2rem, 6vw, 3.4rem)/1.05 var(--serif); letter-spacing: -0.02em; text-wrap: balance; }
.doc .updated { margin-top: 10px; color: var(--mute); font-size: 0.92rem; }
.doc .lede { margin-top: 22px; font-size: 1.14rem; color: var(--cream); max-width: 60ch; }
.doc h2 { font: 600 1.5rem/1.2 var(--serif); letter-spacing: -0.01em; max-width: none; margin: 46px 0 12px; scroll-margin-top: 20px; }
.doc p, .doc ul { margin-bottom: 14px; max-width: 66ch; color: #dcd9d2; }
.doc ul { padding-left: 1.3em; }
.doc li { margin-bottom: 9px; }
.doc strong { color: var(--ink); }
.toc { margin-top: 34px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px 24px; }
.toc p { color: var(--mute); font-size: 0.82rem; letter-spacing: 0.08em; margin-bottom: 8px; }
.toc ol { columns: 2; column-gap: 28px; padding-left: 1.2em; }
.toc li { margin-bottom: 6px; break-inside: avoid; }
.toc a { text-decoration: none; color: var(--ink); font-size: 0.95rem; }
.toc a:hover { color: var(--cream); text-decoration: underline; }
@media (max-width: 520px) { .toc ol { columns: 1; } }
.provider { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin: 14px 0; max-width: 66ch; }
.provider span { display: block; color: var(--mute); font-size: 0.92rem; margin-top: 3px; }
.callout { background: var(--surface-2); border-radius: 12px; padding: 16px 20px; max-width: 66ch; margin-bottom: 14px; color: var(--ink); }
.help { display: grid; gap: 0; margin-top: 30px; }
.help details { border-top: 1px solid var(--line); }
.help details:last-child { border-bottom: 1px solid var(--line); }
.help summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 700; font-size: 1.08rem; position: relative; }
.help summary::-webkit-details-marker { display: none; }
.help summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 400 1.7rem var(--sans); color: var(--cream); transition: transform 0.2s; }
.help details[open] summary::after { transform: rotate(45deg); }
.help .a { padding: 0 0 20px; color: #dcd9d2; max-width: 62ch; }
.contact-card { margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.contact-card strong { font: 600 1.3rem var(--serif); display: block; }
.contact-card span { color: var(--mute); font-size: 0.95rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq summary::after, .help summary::after { transition: none; }
}

@media (max-width: 480px) { .top nav .btn { min-height: 40px; padding: 0 14px; font-size: 0.85rem; white-space: nowrap; } .brand { letter-spacing: 0.16em; font-size: 0.74rem; } }
.top nav .btn { white-space: nowrap; }
