/* Wristkeeper pages: landing, support, terms.
   Self contained so the rest of the site keeps its own look. */

/* Geist and Geist Mono, self hosted (SIL Open Font License, see fonts/OFL.txt). */
@font-face { font-family: "Geist"; src: url("/wristkeeper/assets/fonts/geist-latin.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; 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: "Geist"; src: url("/wristkeeper/assets/fonts/geist-latin-ext.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; src: url("/wristkeeper/assets/fonts/geist-mono-latin.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; 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: "Geist Mono"; src: url("/wristkeeper/assets/fonts/geist-mono-latin-ext.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #FAFAF8;
  --paper-2: #F3F2EE;
  --card: #FFFFFF;
  --ink: #16172B;
  --ink-2: #4E5064;
  --ink-3: #7D7F91;
  --rule: rgba(22, 23, 43, .10);
  --rule-strong: rgba(22, 23, 43, .18);
  --accent: #6547E0;
  --accent-text: #5A3DD6;
  --accent-soft: #EEEAFC;
  --accent-glow: rgba(101, 71, 224, .18);
  --on-accent: #FFFFFF;
  --band: #16172B;
  --on-band: #F3F2EE;
  --on-band-2: #A9AAC0;
  --shadow: 0 1px 2px rgba(22, 23, 43, .05), 0 12px 32px -12px rgba(22, 23, 43, .18);
  --shadow-lift: 0 2px 4px rgba(22, 23, 43, .06), 0 24px 48px -16px rgba(22, 23, 43, .26);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.3, 1.4, .45, 1);
  --radius: 22px;
  --gutter: 20px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0E0E1C;
    --paper-2: #141426;
    --card: #191A2E;
    --ink: #F3F2EE;
    --ink-2: #B9BACB;
    --ink-3: #8C8DA2;
    --rule: rgba(243, 242, 238, .10);
    --rule-strong: rgba(243, 242, 238, .20);
    --accent-text: #A893FF;
    --accent-soft: #241F48;
    --accent-glow: rgba(124, 98, 245, .28);
    --band: #1A1B31;
    --on-band: #F3F2EE;
    --on-band-2: #A9AAC0;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .6);
    --shadow-lift: 0 2px 4px rgba(0, 0, 0, .3), 0 24px 48px -16px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0E0E1C;
  --paper-2: #141426;
  --card: #191A2E;
  --ink: #F3F2EE;
  --ink-2: #B9BACB;
  --ink-3: #8C8DA2;
  --rule: rgba(243, 242, 238, .10);
  --rule-strong: rgba(243, 242, 238, .20);
  --accent-text: #A893FF;
  --accent-soft: #241F48;
  --accent-glow: rgba(124, 98, 245, .28);
  --band: #1A1B31;
  --on-band: #F3F2EE;
  --on-band-2: #A9AAC0;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .6);
  --shadow-lift: 0 2px 4px rgba(0, 0, 0, .3), 0 24px 48px -16px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--font);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 300ms ease, color 300ms ease;
}
@supports (overflow: clip) { html, body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; text-wrap: balance; }
p { text-wrap: pretty; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
.mono { font-family: var(--mono); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.wk-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 300ms ease, background-color 300ms ease;
}
.wk-header.is-scrolled { border-bottom-color: var(--rule); }
.wk-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.wk-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -0.02em; font-size: 1.05rem; }
.wk-logo img { width: 28px; height: 28px; border-radius: 7px; transition: transform 500ms var(--spring); }
.wk-logo:hover img { transform: rotate(-8deg) scale(1.06); }
.wk-header-end { display: flex; align-items: center; gap: 8px; }
.wk-header .btn { display: none; }
@media (min-width: 420px) { .wk-header .btn { display: inline-flex; } }

.theme-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--rule); background: transparent;
  display: grid; place-items: center; cursor: pointer; transition: border-color 200ms ease, transform 300ms var(--spring);
}
.theme-btn:hover { border-color: var(--rule-strong); transform: rotate(20deg); }
.theme-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; grid-area: 1 / 1; opacity: 0; transform: scale(.6); transition: opacity 200ms ease, transform 300ms var(--spring); }
.theme-btn[data-mode="system"] .t-system, .theme-btn[data-mode="light"] .t-light, .theme-btn[data-mode="dark"] .t-dark { opacity: 1; transform: none; }
.theme-btn .t-system .half { fill: currentColor; stroke: none; }

/* ---------- Buttons and badges ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0;
  background: var(--accent); color: var(--on-accent);
  font-weight: 550; font-size: 0.98rem; letter-spacing: -0.01em; text-decoration: none; cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 8px 20px -8px rgba(101, 71, 224, .7);
  transition: transform 300ms var(--spring), box-shadow 300ms ease, background-color 200ms ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 14px 28px -10px rgba(101, 71, 224, .8); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 300ms var(--spring); }
.btn:hover svg { transform: translateX(3px); }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: 0.88rem; }
.btn--lg { min-height: 52px; padding: 0 26px; font-size: 1.05rem; }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--rule-strong); box-shadow: none; }
.btn--ghost:hover { box-shadow: none; border-color: var(--ink); }

.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 18px 0 14px; border-radius: 14px;
  background: var(--ink); color: var(--paper); text-decoration: none;
  transition: transform 300ms var(--spring);
}
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge span { display: grid; line-height: 1.05; text-align: left; }
.store-badge small { font: 500 0.66rem/1.2 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; opacity: .72; }
.store-badge b { font-weight: 600; font-size: 1.12rem; letter-spacing: -0.02em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 0.74rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3);
}
.eyebrow b { color: var(--accent-text); font-weight: 600; }
.eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--rule-strong); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: 28px 72px; text-align: center; }
.hero::before {
  content: ""; position: absolute; left: 50%; top: 40px; width: min(720px, 100%); aspect-ratio: 1; translate: -50% 0;
  background: radial-gradient(closest-side, var(--accent-glow), transparent 70%);
  pointer-events: none; z-index: -1;
}
.dial { position: relative; width: min(232px, 64vw); aspect-ratio: 1; margin: 12px auto 28px; }
.dial-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dial-ring .tick { stroke: var(--rule-strong); stroke-width: 3; stroke-linecap: round; }
.dial-ring .minor { stroke: var(--rule); stroke-width: 1.2; stroke-linecap: round; }
.dial-ring .track { fill: none; stroke: var(--rule); stroke-width: 1.5; }
.dial-ring .arc { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; opacity: .55; }
.dial-ring .tick.on, .dial-ring .tick { transition: stroke 400ms ease; }
.dial-ring .tick.on { stroke: var(--accent); }
.dial-ring .tick.today { stroke: var(--accent); stroke-width: 4.5; }
.dial-ring .hand { stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; opacity: .55; }
.dial-icon {
  position: absolute; inset: 23%; border-radius: 23%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 2px 4px rgba(22, 23, 43, .1), 0 22px 44px -14px rgba(22, 23, 43, .55);
  transition: transform 600ms var(--spring);
}
.dial-icon img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; }
:root[data-theme="dark"] .dial-icon { box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 22px 44px -14px rgba(101, 71, 224, .45); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dial-icon { box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 22px 44px -14px rgba(101, 71, 224, .45); } }
.dial:hover .dial-icon { transform: scale(1.04) rotate(-3deg); }
.hero h1 { font-size: clamp(2.9rem, 1.9rem + 5vw, 5.4rem); letter-spacing: -0.05em; line-height: .95; }
.hero .tagline { margin: 14px auto 0; max-width: 20ch; font-size: clamp(1.3rem, 1.05rem + 1.2vw, 1.85rem); line-height: 1.2; letter-spacing: -0.025em; color: var(--ink-2); font-weight: 450; text-wrap: balance; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.facts { margin: 26px auto 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.facts li {
  display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--rule); font-size: 0.86rem; color: var(--ink-2); background: color-mix(in srgb, var(--card) 60%, transparent);
}
.facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.scroll-cue { display: none; }

/* Optional real assets: the drawn placeholder shows until the PNG loads. */
img.real { opacity: 0; transition: opacity 500ms ease; }
img.real.is-loaded { opacity: 1; }

/* ---------- Features ---------- */
.feature { padding-block: 64px; border-top: 1px solid var(--rule); }
.feature-grid { display: grid; gap: 32px; align-items: center; }
.feature-copy { display: grid; gap: 14px; justify-items: start; }
.feature h2 { font-size: clamp(2rem, 1.35rem + 3vw, 3.3rem); }
.feature-copy p { color: var(--ink-2); max-width: 34ch; font-size: 1.08rem; }
.points { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.points li { display: flex; align-items: center; gap: 10px; font-size: 0.98rem; }
.points li::before {
  content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.5 9.2l2.3 2.3 4.7-5' fill='none' stroke='%236547E0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.stage {
  position: relative; display: grid; place-items: center; padding: 28px 16px;
  border-radius: 28px; background: var(--paper-2); min-height: 360px; overflow: hidden;
}
.stage::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(var(--rule) 1px, transparent 1.2px); background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent);
  pointer-events: none;
}

.ui-card {
  position: relative; width: 100%; max-width: 340px; background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px; border: 1px solid var(--rule);
}
.ui-label { font: 500 0.7rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }

/* Daily pick */
.pick-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.wx { display: inline-flex; align-items: center; gap: 6px; font: 500 0.8rem/1 var(--mono); color: var(--ink-2); }
.wx svg { width: 18px; height: 18px; }
.pick-watch { width: 132px; height: 160px; margin: 14px auto 6px; }
.pick-watch .strap { fill: var(--strap, #2B2C40); transition: fill 500ms ease; }
.pick-watch .case { fill: #D9D9E0; }
.pick-watch .dialface { fill: var(--dial, #2F4A3A); transition: fill 500ms ease; }
.pick-watch .idx { stroke: rgba(255, 255, 255, .85); stroke-width: 2.4; stroke-linecap: round; }
.pick-watch .hh, .pick-watch .mh { stroke: #fff; stroke-linecap: round; transform-origin: 66px 80px; transition: transform 900ms var(--spring); }
.pick-watch .hh { stroke-width: 4; transform: rotate(var(--hh, -60deg)); }
.pick-watch .mh { stroke-width: 3; transform: rotate(var(--mh, 60deg)); }
.pick-watch .sec { stroke: var(--accent); stroke-width: 1.4; stroke-linecap: round; transform-origin: 66px 80px; animation: sweep 60s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.pick-body { text-align: center; }
.pick-name { font-size: 1.7rem; margin-top: 6px; letter-spacing: -0.035em; }
.pick-why { margin-top: 6px; color: var(--ink-2); font-size: 0.93rem; min-height: 2.9em; }
.swap { transition: opacity 260ms ease, transform 400ms var(--ease), filter 260ms ease; }
.swap.is-out { opacity: 0; transform: translateY(6px); filter: blur(3px); }
.chips { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.chip {
  height: 34px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--rule-strong); background: transparent;
  font-size: 0.86rem; cursor: pointer; transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 300ms var(--spring);
}
.chip:hover { transform: translateY(-1px); border-color: var(--ink-3); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.hint { margin-top: 12px; text-align: center; font: 500 0.7rem/1 var(--mono); color: var(--ink-3); letter-spacing: 0.04em; }

/* Logging */
.log-head { display: flex; align-items: center; gap: 12px; }
.log-thumb { width: 44px; height: 44px; border-radius: 12px; background: #1F3A5A; display: grid; place-items: center; flex: none; }
.log-thumb svg { width: 28px; height: 28px; }
.log-head b { display: block; font-weight: 600; letter-spacing: -0.02em; }
.log-head span { font-size: 0.85rem; color: var(--ink-3); }
.cpw { margin-top: 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.cpw-num { font-size: 2.6rem; font-weight: 600; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.cpw-num .cur { font-size: 1.4rem; vertical-align: 0.7em; margin-right: 2px; color: var(--ink-3); font-weight: 500; }
.cpw-meta { text-align: right; font-size: 0.85rem; color: var(--ink-3); line-height: 1.35; }
.cpw-meta b { display: block; color: var(--ink); font-weight: 600; font-size: 1rem; font-variant-numeric: tabular-nums; }
.cpw-delta { display: inline-block; margin-top: 6px; font: 500 0.75rem/1 var(--mono); color: #1E8A5A; opacity: 0; transform: translateY(4px); transition: opacity 300ms ease, transform 400ms var(--spring); }
.cpw-delta.show { opacity: 1; transform: none; }
:root[data-theme="dark"] .cpw-delta { color: #5FD39B; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cpw-delta { color: #5FD39B; } }
.month { margin-top: 18px; display: grid; grid-template-columns: repeat(15, 1fr); gap: 4px; }
.month i { height: 16px; border-radius: 4px; background: var(--rule); transition: background-color 300ms ease, transform 400ms var(--spring); }
.month i.w { background: var(--accent); opacity: .85; }
.month i.today { box-shadow: 0 0 0 1.5px var(--accent) inset; background: transparent; }
.month i.today.w { background: var(--accent); opacity: 1; transform: scaleY(1.25); }
.month-cap { margin-top: 8px; display: flex; justify-content: space-between; font: 500 0.68rem/1 var(--mono); color: var(--ink-3); }
.log-btn { width: 100%; margin-top: 18px; }
.log-btn .done { display: none; }
.log-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.log-btn[aria-pressed="true"] .todo { display: none; }
.log-btn[aria-pressed="true"] .done { display: inline-flex; align-items: center; gap: 8px; }
.log-btn:hover svg { transform: none; }

/* Insights and Wrist Report */
.cards { position: relative; width: 100%; max-width: 340px; height: 400px; }
.cards .ui-card { position: absolute; left: 0; right: 0; margin: auto; transition: transform 700ms var(--spring); }
.report { top: 0; background: var(--accent); color: #fff; border-color: transparent; transform: rotate(-4deg) translateX(-10px); z-index: 1; }
.report .ui-label { color: rgba(255, 255, 255, .7); }
.report h3 { font-size: 1.5rem; margin-top: 8px; color: #fff; }
.report-stats { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.report-stats b { display: block; font-size: 1.6rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.report-stats span { font-size: 0.74rem; opacity: .78; line-height: 1.2; display: block; margin-top: 4px; }
.insight { top: 168px; transform: rotate(3deg) translateX(12px); z-index: 2; }
.insight h3 { font-size: 1.2rem; margin-top: 8px; letter-spacing: -0.03em; line-height: 1.15; }
.bars { margin-top: 14px; display: grid; gap: 7px; }
.bar { display: grid; grid-template-columns: 78px 1fr 22px; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--ink-2); }
.bar i { height: 8px; border-radius: 99px; background: var(--rule); position: relative; overflow: hidden; }
.bar i::after { content: ""; position: absolute; inset: 0; width: var(--v); border-radius: inherit; background: var(--ink); transform-origin: left; transform: scaleX(var(--grow, 1)); transition: transform 1100ms var(--ease); }
.bar:first-child i::after { background: var(--accent); }
.bar em { font-style: normal; font: 500 0.75rem/1 var(--mono); text-align: right; }
.share-pill { position: absolute; top: 16px; right: 16px; height: 28px; padding: 0 10px; border-radius: 99px; background: rgba(255, 255, 255, .18); color: #fff; font-size: 0.75rem; display: inline-flex; align-items: center; gap: 5px; }
.share-pill svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) {
  .stage:hover .report { transform: rotate(-7deg) translate(-26px, -8px); }
  .stage:hover .insight { transform: rotate(5deg) translate(26px, 10px); }
}

/* Ask your collection */
.chat { display: grid; gap: 10px; }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); margin-bottom: 4px; }
.chat-head b { font-weight: 600; letter-spacing: -0.02em; }
.ondevice { display: inline-flex; align-items: center; gap: 6px; font: 500 0.68rem/1 var(--mono); color: var(--accent-text); background: var(--accent-soft); padding: 6px 8px; border-radius: 99px; }
.ondevice svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: 0.93rem; line-height: 1.4; transition: opacity 400ms ease, transform 500ms var(--spring); }
.msg.me { justify-self: end; background: var(--accent); color: #fff; border-bottom-right-radius: 6px; }
.msg.ai { justify-self: start; background: var(--paper-2); border-bottom-left-radius: 6px; }
.msg.ai b { font-weight: 600; }
.typing { justify-self: start; display: none; gap: 4px; padding: 12px 14px; border-radius: 18px; border-bottom-left-radius: 6px; background: var(--paper-2); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: blink 1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }
.wk-js .chat.is-pending .msg { opacity: 0; transform: translateY(10px) scale(.97); }
.wk-js .chat .msg.is-shown { opacity: 1; transform: none; }
.chat .typing.is-on { display: inline-flex; }
.ask-bar { margin-top: 8px; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 6px 0 14px; border-radius: 99px; border: 1px solid var(--rule-strong); color: var(--ink-3); font-size: 0.9rem; }
.ask-bar span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ask-bar i { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; flex: none; }
.ask-bar svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Screenshots ---------- */
.shots { padding-block: 72px 56px; border-top: 1px solid var(--rule); }
.shots-head { display: grid; gap: 12px; margin-bottom: 32px; }
.shots-head h2 { font-size: clamp(2rem, 1.35rem + 3vw, 3.3rem); }
.shots-head p { color: var(--ink-2); max-width: 36ch; }
.reel {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 10px var(--gutter) 28px; margin: 0; list-style: none; scrollbar-width: none;
  scroll-padding-inline: var(--gutter);
}
.reel::-webkit-scrollbar { display: none; }
.reel li { flex: 0 0 auto; width: min(58vw, 236px); scroll-snap-align: start; }
.phone {
  position: relative; aspect-ratio: 1320 / 2868; border-radius: 15% / 6.9%; padding: 4.2%;
  background: #1B1C2E; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset, var(--shadow);
  transition: transform 600ms var(--spring), box-shadow 400ms ease;
}
.phone::after { content: ""; position: absolute; top: 4.2%; left: 50%; translate: -50% 0; margin-top: 3.4%; width: 30%; height: 3.2%; border-radius: 99px; background: #0A0A12; z-index: 3; }
.screen { position: relative; height: 100%; border-radius: 11.5% / 5.3%; overflow: hidden; background: var(--ph-bg); }
.screen img.real { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.reel figcaption { margin-top: 14px; display: flex; gap: 10px; align-items: baseline; font-size: 0.95rem; font-weight: 500; letter-spacing: -0.01em; }
.reel figcaption span { font: 500 0.72rem/1 var(--mono); color: var(--accent-text); }
.reel figure { margin: 0; }
@media (hover: hover) { .reel li:hover .phone { transform: translateY(-8px) rotate(-1deg); box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset, var(--shadow-lift); } }
.reel-hint { display: flex; align-items: center; gap: 8px; font: 500 0.72rem/1 var(--mono); color: var(--ink-3); letter-spacing: 0.04em; }
.reel-hint svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(4px); } }

/* Placeholder art inside each frame */
.ph { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr auto; padding: 22% 10% 12%; gap: 8%; color: var(--ph-ink); }
.ph-1 { --ph-bg: linear-gradient(170deg, #FAFAF8 0%, #EEEAFC 100%); --ph-ink: #16172B; --ph-a: #6547E0; }
.ph-2 { --ph-bg: linear-gradient(170deg, #16172B 0%, #2A2160 100%); --ph-ink: #F3F2EE; --ph-a: #A893FF; }
.ph-3 { --ph-bg: linear-gradient(170deg, #FAFAF8 0%, #F1ECE2 100%); --ph-ink: #16172B; --ph-a: #6547E0; }
.ph-4 { --ph-bg: linear-gradient(170deg, #6547E0 0%, #3F2AAE 100%); --ph-ink: #FFFFFF; --ph-a: #FFFFFF; }
.ph-5 { --ph-bg: linear-gradient(170deg, #F4F3EF 0%, #E6E3F6 100%); --ph-ink: #16172B; --ph-a: #6547E0; }
.ph-title { display: grid; gap: 6px; }
.ph-title i { display: block; height: 7px; border-radius: 99px; background: currentColor; opacity: .14; }
.ph-title i:first-child { width: 40%; opacity: .32; height: 6px; }
.ph-title i:nth-child(2) { width: 72%; height: 12px; opacity: .85; }
.ph-mid { display: grid; place-items: center; }
.ph-ring { width: 84%; aspect-ratio: 1; }
.ph-ring .t { stroke: currentColor; opacity: .18; stroke-width: 3; stroke-linecap: round; }
.ph-ring .t.on { stroke: var(--ph-a); opacity: 1; }
.ph-ring .c { fill: var(--ph-a); opacity: .12; }
.ph-rows { display: grid; gap: 7px; }
.ph-rows i { display: block; height: 22px; border-radius: 8px; background: currentColor; opacity: .08; }
.ph-rows i:first-child { opacity: .16; }
.ph-cols { display: flex; align-items: flex-end; gap: 7%; height: 70%; width: 80%; }
.ph-cols i { flex: 1; border-radius: 6px 6px 3px 3px; background: currentColor; opacity: .16; height: var(--h); }
.ph-cols i:first-child { background: var(--ph-a); opacity: 1; }
.ph-bubbles { width: 100%; display: grid; gap: 10px; align-content: center; }
.ph-bubbles i { display: block; height: 30px; border-radius: 14px; background: currentColor; opacity: .1; width: 70%; }
.ph-bubbles i.me { justify-self: end; background: var(--ph-a); opacity: 1; width: 58%; }
.ph-bubbles i.long { height: 46px; width: 82%; }
.ph-tag { justify-self: center; font: 500 0.6rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; opacity: .45; }

/* ---------- Privacy band ---------- */
.privacy { padding-block: 24px; }
.band {
  position: relative; overflow: hidden; border-radius: 32px; background: var(--band); color: var(--on-band);
  padding: 48px 24px; display: grid; gap: 32px;
}
.band::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(101, 71, 224, .5), transparent); pointer-events: none;
}
.band .eyebrow { color: var(--on-band-2); }
.band .eyebrow b { color: #B9A8FF; }
.band .eyebrow::after { background: rgba(243, 242, 238, .2); }
.band h2 { font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.6rem); max-width: 14ch; position: relative; }
.band-copy { display: grid; gap: 16px; justify-items: start; position: relative; }
.band-copy p { color: var(--on-band-2); max-width: 34ch; }
.band-link { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; font-weight: 500; border-bottom: 1px solid rgba(255, 255, 255, .3); padding-bottom: 2px; transition: border-color 200ms ease, gap 300ms var(--spring); }
.band-link:hover { border-color: #fff; gap: 10px; }
.band-link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.zeros { margin: 0; padding: 0; list-style: none; display: grid; gap: 1px; background: rgba(243, 242, 238, .12); border-radius: 20px; overflow: hidden; position: relative; }
.zeros li { background: var(--band); padding: 18px 20px; display: flex; align-items: center; gap: 18px; transition: background-color 300ms ease; }
.zeros li:hover { background: #20213A; }
.zeros b { font-size: 2.6rem; font-weight: 600; letter-spacing: -0.05em; line-height: 1; min-width: 1.4ch; color: #B9A8FF; font-variant-numeric: tabular-nums; }
.zeros span { display: grid; gap: 2px; }
.zeros strong { font-weight: 600; letter-spacing: -0.015em; }
.zeros small { color: var(--on-band-2); font-size: 0.9rem; }

/* ---------- Final call to action ---------- */
.launch { padding-block: 88px 96px; text-align: center; }
.launch-ring { width: 88px; height: 88px; margin: 0 auto 22px; }
.launch-ring .t { stroke: var(--rule-strong); stroke-width: 3; stroke-linecap: round; }
.launch-ring .t.on { stroke: var(--accent); }
.launch h2 { font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.6rem); max-width: 14ch; margin-inline: auto; }
.launch p { margin: 14px auto 28px; color: var(--ink-2); max-width: 32ch; }

/* ---------- Footer ---------- */
.wk-footer { border-top: 1px solid var(--rule); padding-block: 32px 40px; font-size: 0.92rem; }
.wk-footer .wrap { display: grid; gap: 20px; }
.wk-footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.wk-footer nav a, .wk-footer .by a { text-decoration: none; color: var(--ink-2); background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1.5px no-repeat; padding-bottom: 2px; transition: background-size 300ms var(--ease), color 200ms ease; }
.wk-footer nav a:hover, .wk-footer .by a:hover { background-size: 100% 1.5px; color: var(--ink); }
.wk-footer nav a[aria-current="page"] { color: var(--ink); background-size: 100% 1.5px; }
.wk-footer .by { color: var(--ink-3); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }

/* ---------- Document pages (support, terms) ---------- */
.doc-hero { padding-block: 40px 28px; display: grid; gap: 14px; justify-items: start; }
.doc-hero h1 { font-size: clamp(2.6rem, 1.7rem + 4.4vw, 4.6rem); letter-spacing: -0.05em; }
.doc-hero .lede { color: var(--ink-2); font-size: 1.15rem; max-width: 36ch; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; }
.meta-row span { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--rule); font: 500 0.74rem/1 var(--mono); color: var(--ink-2); }
.doc-body { padding-bottom: 72px; display: grid; gap: 28px; }

.faq { display: grid; gap: 10px; max-width: 760px; }
.faq details { background: var(--card); border: 1px solid var(--rule); border-radius: 18px; transition: border-color 200ms ease, box-shadow 300ms ease; }
.faq details:hover { border-color: var(--rule-strong); }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px;
  padding: 18px 18px; font-weight: 550; font-size: 1.05rem; letter-spacing: -0.015em; border-radius: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .num { font: 500 0.72rem/1 var(--mono); color: var(--accent-text); flex: none; width: 22px; }
.faq summary .q { flex: 1; min-width: 0; }
.faq summary .pm { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--rule-strong); position: relative; transition: transform 400ms var(--spring), background-color 200ms ease; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.6px; background: currentColor; translate: -50% -50%; border-radius: 2px; }
.faq summary .pm::after { rotate: 90deg; transition: rotate 300ms var(--ease); }
.faq details[open] .pm { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.faq details[open] .pm::after { rotate: 0deg; }
.faq .a { padding: 0 18px 20px 54px; color: var(--ink-2); display: grid; gap: 10px; }
.faq .a ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.faq .a b { color: var(--ink); font-weight: 600; }
.wk-js .faq details[open] .a { animation: open 400ms var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }

.path { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.path span { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 8px; background: var(--paper-2); border: 1px solid var(--rule); font-size: 0.86rem; color: var(--ink); }
.path svg { width: 12px; height: 12px; fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.contact-card {
  max-width: 760px; display: grid; gap: 14px; padding: 24px; border-radius: 24px; background: var(--band); color: var(--on-band);
  position: relative; overflow: hidden;
}
.contact-card::before { content: ""; position: absolute; right: -80px; bottom: -120px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(101, 71, 224, .55), transparent); pointer-events: none; }
.contact-card h2 { font-size: 1.6rem; position: relative; }
.contact-card p { color: var(--on-band-2); position: relative; }
.contact-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; position: relative; }
.contact-row .mail { font-weight: 550; font-size: 1.08rem; color: #fff; text-decoration: none; overflow-wrap: anywhere; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.contact-row .mail:hover { border-color: #fff; }
.copy { height: 34px; padding: 0 12px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff; font-size: 0.82rem; cursor: pointer; transition: background-color 200ms ease; }
.copy:hover { background: rgba(255, 255, 255, .1); }

/* Terms */
.plans { display: grid; gap: 10px; max-width: 760px; }
.plan { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--rule); transition: transform 300ms var(--spring), border-color 200ms ease; }
.plan:hover { transform: translateY(-2px); border-color: var(--rule-strong); }
.plan-ring { width: 40px; height: 40px; flex: none; }
.plan-ring .t { stroke: var(--rule-strong); stroke-width: 3; stroke-linecap: round; }
.plan-ring .t.on { stroke: var(--accent); }
.plan b { display: block; font-weight: 600; letter-spacing: -0.015em; }
.plan span { color: var(--ink-2); font-size: 0.93rem; }
.terms { max-width: 760px; display: grid; gap: 8px; counter-reset: sec; }
.terms section { padding-block: 22px; border-top: 1px solid var(--rule); display: grid; gap: 10px; scroll-margin-top: 80px; }
.terms h2 { font-size: 1.4rem; letter-spacing: -0.025em; display: flex; gap: 12px; align-items: baseline; }
.terms h2::before { counter-increment: sec; content: counter(sec, decimal-leading-zero); font: 500 0.75rem/1 var(--mono); color: var(--accent-text); letter-spacing: 0; }
.terms p, .terms li { color: var(--ink-2); }
.terms ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.terms a, .faq .a a, .doc-hero a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.terms b { color: var(--ink); font-weight: 600; }
.callout { padding: 16px 18px; border-radius: 16px; background: var(--accent-soft); color: var(--ink); display: flex; gap: 12px; align-items: flex-start; }
.callout svg { width: 20px; height: 20px; flex: none; margin-top: 2px; fill: none; stroke: var(--accent-text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Scroll reveal ---------- */
.wk-js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 800ms var(--ease), transform 900ms var(--ease); transition-delay: var(--delay, 0ms); }
.wk-js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Larger screens ---------- */
@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .wk-header .wrap { height: 68px; }
  .hero { padding-block: 40px 96px; }
  .dial { width: 300px; margin-bottom: 32px; }
  .feature { padding-block: 104px; }
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .feature.is-flip .feature-copy { order: 2; }
  .stage { min-height: 480px; padding: 48px; }
  .cards { height: 420px; }
  .band { padding: 72px 64px; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 56px; }
  .shots { padding-block: 104px 72px; }
  .doc-hero { padding-block: 72px 40px; }
  .contact-card { padding: 36px; }
  .foot-row:last-child { justify-content: space-between; }
}
@media (min-width: 1000px) {
  .dial { width: 340px; }
  .reel { justify-content: center; overflow: visible; padding-inline: 0; gap: 24px; padding-top: 28px; }
  .reel li { width: auto; flex: 1 1 0; max-width: 200px; }
  .reel li:nth-child(1), .reel li:nth-child(5) { margin-top: 56px; }
  .reel li:nth-child(2), .reel li:nth-child(4) { margin-top: 24px; }
  .reel-hint { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .wk-js [data-reveal] { opacity: 1; transform: none; }
  .pick-watch .sec { animation: none; }
}

/* Light dial on the dress watch */
.pick-watch.is-light .idx, .pick-watch.is-light .hh, .pick-watch.is-light .mh { stroke: #16172B; }
.pick-watch .idx, .pick-watch .hh, .pick-watch .mh { transition: stroke 400ms ease, transform 900ms var(--spring); }

/* Hero ring: day ticks fill one by one, like the month ring in the app */
.dial-ring .tick { animation: tickfill 600ms ease both; animation-delay: calc(500ms + var(--i) * 150ms); }
.dial-ring .arc { stroke-dasharray: 100 100; animation: arcfill 4650ms cubic-bezier(.45, 0, .55, 1) 500ms both; }
.dial-ring .lead { fill: var(--accent); transform-origin: 100px 100px; animation: lead 4650ms cubic-bezier(.45, 0, .55, 1) 500ms both; }
.dial-ring .glow { fill: none; stroke: var(--accent); stroke-width: 10; opacity: 0; animation: glow 1600ms ease-out 5150ms both; }
@keyframes tickfill { from { stroke: var(--rule-strong); } to { stroke: var(--accent); } }
@keyframes arcfill { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes lead { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes glow { 0% { opacity: .22; stroke-width: 2; } 100% { opacity: 0; stroke-width: 22; } }

.launch-ring .t { transition: stroke 400ms ease; transition-delay: calc(var(--i) * 70ms); }
.wk-js .launch:not(.is-in) .launch-ring .t.on { stroke: var(--rule-strong); }

@media (prefers-reduced-motion: reduce) {
  .dial-ring .tick, .dial-ring .arc, .dial-ring .lead, .dial-ring .glow { animation-delay: 0ms !important; }
  .dial-ring .glow { display: none; }
}

.hero .eyebrow::after { display: none; }
.chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.chip { padding: 0 6px; }
.cards .ui-card { width: 90%; }
@media (max-width: 719px) {
  .eyebrow::after { display: none; }
  .report { transform: rotate(-3deg) translateX(-4px); }
  .insight { transform: rotate(2deg) translateX(6px); }
}
@media (min-width: 720px) { .eyebrow { white-space: nowrap; } }
.launch p { max-width: 36ch; }

/* Terms: contents list beside the text on wide screens */
.toc { display: none; }
@media (min-width: 1000px) {
  .doc-body.has-toc { grid-template-columns: minmax(0, 760px) 1fr; column-gap: 64px; align-items: start; }
  .doc-body.has-toc > * { grid-column: 1; }
  .doc-body.has-toc > .toc { display: grid; gap: 14px; grid-column: 2; grid-row: 1 / span 3; position: sticky; top: 96px; }
  .toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--rule); }
  .toc a { display: block; padding: 6px 14px; margin-left: -1px; border-left: 1.5px solid transparent; text-decoration: none; color: var(--ink-2); font-size: 0.93rem; transition: color 200ms ease, border-color 200ms ease, padding 300ms var(--spring); }
  .toc a:hover { color: var(--ink); border-left-color: var(--accent); padding-left: 18px; }
}
:root[data-theme="dark"] .pick-watch .strap { filter: brightness(1.7); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pick-watch .strap { filter: brightness(1.7); } }
@media (max-width: 400px) { .chip { font-size: 0.8rem; } .ui-card { padding: 18px 16px; } }
:root[data-theme="dark"] .wk-logo img { box-shadow: 0 0 0 1px rgba(255, 255, 255, .16); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .wk-logo img { box-shadow: 0 0 0 1px rgba(255, 255, 255, .16); } }
.launch .launch-note { margin: 18px auto 0; max-width: 40ch; font-size: 0.88rem; line-height: 1.5; color: var(--ink-3); }
