:root {
  color-scheme: light dark;
  --bg: #ffffff; --bg2: #f5f5f7; --card: #ffffff; --text: #1d1d1f; --muted: #6e6e73; --line: rgba(0,0,0,.08);
  --blue: #007aff; --on-blue: #fff; --glass: rgba(255,255,255,.68); --glass-edge: rgba(255,255,255,.55);
  --spring: cubic-bezier(.22,1,.36,1);
  --panel: #0b0b0d; --on-panel: #f5f5f7; --on-panel-muted: #a1a1a6;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000; --bg2: #101012; --card: #1a1a1d; --text: #f5f5f7; --muted: #a1a1a6; --line: rgba(255,255,255,.12);
    --blue: #0a84ff; --glass: rgba(20,20,22,.66); --glass-edge: rgba(255,255,255,.12); --panel: #141416;
  }
}
@view-transition { navigation: auto; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 100%/1.5 -apple-system, system-ui, "Segoe UI", Roboto, sans-serif; overflow-x: clip; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
svg.i { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
h1, h2, h3 { letter-spacing: -.02em; line-height: 1.08; margin: 0; font-weight: 700; }
.wrap { width: min(100% - 40px, 1040px); margin-inline: auto; }
.narrow { width: min(100% - 40px, 720px); margin-inline: auto; }

/* Top bar: a floating glass layer, content scrolls under it */
.bar { position: fixed; z-index: 10; top: 12px; left: 50%; translate: -50% 0; width: min(100% - 24px, 760px); display: flex; align-items: center; gap: 4px; padding: 6px 8px 6px 14px; border-radius: 999px; background: var(--glass); -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%); border: 1px solid var(--glass-edge); box-shadow: 0 8px 30px rgba(0,0,0,.1); }
.bar .home { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text); margin-right: auto; }
.bar .home img { width: 26px; height: 26px; border-radius: 7px; }
.bar a.link { color: var(--text); font-size: .875rem; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.bar a.link:hover { background: var(--line); text-decoration: none; }
.bar a.link[aria-current] { font-weight: 600; }
@media (max-width: 520px) { .bar a.opt { display: none; } }

/* Buttons respond on press, not on release */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--blue); color: var(--on-blue); font: 600 1.0625rem/1 inherit; font-family: inherit; cursor: pointer; transition: transform .35s var(--spring), filter .2s; }
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn:active { transform: scale(.97); transition-duration: .08s; }
.btn.small { min-height: 36px; padding: 0 16px; font-size: .875rem; }
.btn.quiet { background: var(--line); color: var(--text); }

/* Hero: the onboarding's first screen. The watch fades softly into the page before it reaches the text. */
.hero { --base: max(118vmin, 620px); --text: 290px; position: relative; height: 100svh; min-height: 620px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.frame { --fade: linear-gradient(#000 34%, rgba(0,0,0,.72) calc(34% + (66% - var(--text)) * .35), rgba(0,0,0,.28) calc(34% + (66% - var(--text)) * .7), transparent calc(100% - var(--text))); position: absolute; inset: 0; overflow: hidden; -webkit-mask: var(--fade); mask: var(--fade); }
.stage { position: absolute; left: 50%; top: 40%; width: 0; height: 0; }
/* Drawn at the closest shot's size and scaled down from there, so the zoom stays sharp */
.shot { --d: calc(var(--base) * 1.7); position: absolute; width: var(--d); height: var(--d); left: calc(var(--d) / -2); top: calc(var(--d) / -2); will-change: transform, opacity; }
.hero-text { position: relative; z-index: 1; padding-top: 8px; padding-bottom: clamp(28px, 6vh, 64px); }
.hero h1 { font-size: clamp(3.5rem, 11vw, 7.5rem); letter-spacing: -.035em; }
.hero p.lead { margin: 8px 0 24px; color: var(--muted); font-size: clamp(1.25rem, 2.6vw, 1.75rem); letter-spacing: -.01em; }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.hero .soon { color: var(--muted); font-size: .9375rem; }

/* The watch, the same layers as the app's WatchArt */
.watch { --dx: 0; --dy: 0; position: relative; width: 100%; height: 100%; }
.watch > * { position: absolute; border-radius: 50%; left: 50%; top: 50%; translate: -50% -50%; }
.watch .pusher { width: 100%; height: 100%; border-radius: 0; rotate: var(--a); }
.watch .pusher::after { content: ""; position: absolute; left: 94.3%; top: 44.5%; width: 7%; height: 11%; border-radius: 22%; background: linear-gradient(180deg, #a9a9ad, #3c3c3f 55%, #76767a); }
.watch .case { width: 94%; height: 94%; background: conic-gradient(from calc(-30deg + var(--dx) * 90deg + var(--dy) * 45deg), #c7c7c7, #5c5c5c, #333, #8c8c8c, #d9d9d9, #4d4d4d, #c7c7c7); box-shadow: 0 2vmin 5vmin rgba(0,0,0,.3), inset 0 0 0 .4vmin rgba(255,255,255,.25); }
.watch .bezel { width: 86%; height: 86%; background: conic-gradient(#292929, #4d4d4d, #1a1a1a, #3d3d3d, #292929); }
.watch .lobe { width: 86%; height: 86%; background: conic-gradient(from calc(-135deg + var(--dx) * 110deg - var(--dy) * 110deg), rgba(255,255,255,.42), transparent 9%, transparent 41%, rgba(255,255,255,.19) 50%, transparent 59%, transparent 91%, rgba(255,255,255,.42)); -webkit-mask: radial-gradient(closest-side, transparent 76.7%, #000 77%); mask: radial-gradient(closest-side, transparent 76.7%, #000 77%); }
.watch .display { width: 66%; height: 66%; background: #000; }
.watch .glass { width: 64%; height: 64%; background: radial-gradient(circle at 40% 35%, #12141a, #000 70%); }
.watch svg { width: 100%; height: 100%; border-radius: 0; overflow: visible; }
.watch .spot { width: 64%; height: 64%; background: radial-gradient(circle at calc(50% + var(--dx) * 100%) calc(50% + var(--dy) * 100%), rgba(255,255,255,.11), transparent 62%); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px) scale(.985); transition: opacity .9s var(--spring), transform .9s var(--spring); transition-delay: var(--delay, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* Sections */
section.block { padding: clamp(72px, 12vh, 140px) 0; }
.eyebrow { color: var(--blue); font-weight: 600; font-size: 1.0625rem; margin: 0 0 10px; }
.big { font-size: clamp(2.25rem, 6vw, 4rem); letter-spacing: -.03em; }
.intro { color: var(--muted); font-size: clamp(1.0625rem, 2vw, 1.3125rem); max-width: 34em; margin: 16px 0 0; line-height: 1.4; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 16px; margin-top: 48px; }
.feature { background: var(--bg2); border-radius: 24px; padding: 28px; transition: transform .5s var(--spring); }
.feature:hover { transform: translateY(-4px); }
.feature h3 { font-size: 1.25rem; margin: 18px 0 8px; }
.feature p { margin: 0; color: var(--muted); }
.tile { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; color: #fff; font-size: 1.1875rem; background: var(--c); }

.panel { background: var(--panel); color: var(--on-panel); border-radius: clamp(24px, 4vw, 40px); padding: clamp(36px, 7vw, 80px); display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; overflow: hidden; }
.panel .intro { color: var(--on-panel-muted); }
.phones { display: flex; justify-content: center; gap: 16px; }
.phones img { width: 46%; max-width: 230px; height: auto; border-radius: 28px; border: 5px solid #2a2a2d; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.phones img:last-child { translate: 0 28px; }
.caption { font-size: .8125rem; color: var(--on-panel-muted); margin: 44px 0 0; text-align: center; }
@media (max-width: 760px) { .panel { grid-template-columns: 1fr; } }

.private { background: var(--bg2); border-radius: clamp(24px, 4vw, 40px); padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.more { display: inline-flex; align-items: center; gap: 4px; margin-top: 20px; font-weight: 600; }
.features.three { grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); margin-top: 16px; }
.link-map { display: flex; align-items: center; justify-content: center; gap: 4px; }
.end { display: grid; justify-items: center; gap: 10px; flex: none; color: var(--text); font-size: .9375rem; font-weight: 600; }
.end svg { width: 76px; height: 76px; padding: 20px; border-radius: 22px; background: var(--card); box-shadow: 0 8px 24px rgba(0,0,0,.08); stroke-width: 1.75; }
.wire { position: relative; flex: 1; max-width: 140px; min-width: 64px; height: 2px; margin-bottom: 30px; background: var(--line); overflow: visible; }
.wire i { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); animation: signal 2.6s cubic-bezier(.45,0,.55,1) infinite alternate; }
.wire b { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; font-size: .8125rem; }
@keyframes signal { to { left: calc(100% - 8px); } }
@media (max-width: 760px) { .private { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .wire i { display: none; } }

.cta { text-align: center; }
.cta .intro { margin-inline: auto; }
.cta .btn { margin-top: 28px; }

/* Text pages and cards */
.top { padding: clamp(110px, 18vh, 170px) 0 28px; }
.top h1 { font-size: clamp(2.5rem, 7vw, 4.5rem); letter-spacing: -.03em; }
.sub { color: var(--muted); font-size: clamp(1.0625rem, 2vw, 1.25rem); margin: 12px 0 0; line-height: 1.4; }
.card { background: var(--bg2); border-radius: 24px; padding: clamp(22px, 4vw, 36px); margin: 16px 0; }
.card h2 { font-size: 1.5rem; margin: 0 0 12px; }
.card h2:not(:first-child) { margin-top: 32px; }
.card h3 { font-size: 1.0625rem; margin: 22px 0 6px; letter-spacing: -.01em; }
.card p { margin: 0 0 12px; }
.card ul { padding-left: 1.2em; margin: 0 0 12px; }
.card li { margin: 8px 0; }
.card > :last-child { margin-bottom: 0; }
details.lang { margin: 24px 0; }
details.lang summary { cursor: pointer; font-weight: 600; color: var(--blue); padding: 8px 0; }
details.lang h3 { margin-top: 18px; font-size: 1.0625rem; }

/* Install guide */
.seg { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 3px; border-radius: 999px; background: var(--line); margin-bottom: 14px; }
.seg button { position: relative; z-index: 1; border: 0; background: none; color: var(--text); font: 600 .9375rem inherit; font-family: inherit; padding: 8px 26px; border-radius: 999px; cursor: pointer; }
.seg i { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--card); box-shadow: 0 2px 8px rgba(0,0,0,.15); transition: transform .45s var(--spring); }
.seg[data-os="win"] i { transform: translateX(100%); }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; font-size: 1.125rem; }
.step h2 { margin: 7px 0 12px !important; }
.step > div { min-width: 0; }
.cmd { display: flex; align-items: center; gap: 10px; background: #0b0b0d; color: #f5f5f7; border-radius: 16px; padding: 10px 10px 10px 16px; margin: 10px 0; }
.cmd code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; font: .875rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; scrollbar-width: none; }
[hidden] { display: none !important; }
.notice { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; background: color-mix(in srgb, var(--blue) 12%, var(--bg)); border-radius: 20px; padding: 16px 20px; margin: 8px 0 16px; }
.notice p { margin: 0; flex: 1 1 220px; }

/* Contact form */
form label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 12px; }
form input, form textarea { display: block; width: 100%; margin-top: 6px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--text); font: 1rem/1.4 inherit; font-family: inherit; }
form textarea { min-height: 120px; resize: vertical; }
.hidden { position: absolute; left: -9999px; }

footer { color: var(--muted); font-size: .8125rem; padding: 48px 0 56px; border-top: 1px solid var(--line); margin-top: 48px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 14px; }
footer p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transform: none; transition: opacity .3s; }
  .btn, .feature, .seg i { transition: none; }
  @view-transition { navigation: none; }
}
@media (prefers-reduced-transparency: reduce) { .bar { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (prefers-contrast: more) { .bar, .card, .feature { border: 1px solid var(--text); } }
