/* Closeness: one stylesheet, dark only, no external fonts. */
:root {
  color-scheme: dark;
  --bg: #000000;
  --panel: #0c0c0f;
  --fg: #ffffff;
  --fg2: #d1d1d6;
  --fg3: #8a8a93;
  --line: #26262b;
  --accent: #a29bff;
  --accent-ink: #000000;
  --hr: #ff5555;
  --warn: #ffaa00;
  --wrap: 1080px;
  --gut: 20px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg2);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--fg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; z-index: 10; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 999px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 760px; }

/* Header */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; }
.brand svg { width: 34px; height: 22px; flex: none; }
.brand span { font-size: 13px; letter-spacing: .28em; font-weight: 600; }
.nav { display: flex; gap: 4px 18px; flex-wrap: wrap; align-items: center; }
.nav a { color: var(--fg2); text-decoration: none; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); }
.nav .lang { color: var(--fg3); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }

/* Type */
h1, h2, h3 { color: var(--fg); font-weight: 600; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(34px, 8vw, 64px); letter-spacing: -.02em; font-weight: 300; }
h2 { font-size: clamp(24px, 4.6vw, 34px); font-weight: 400; letter-spacing: -.01em; }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(18px, 2.4vw, 21px); color: var(--fg2); max-width: 36em; }
.eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--fg3);
  font-weight: 600;
  margin: 0 0 14px;
}
.eyebrow.acc { color: var(--accent); }
.muted { color: var(--fg3); }
.small { font-size: 14px; }
strong { color: var(--fg); font-weight: 600; }
.accent { color: var(--accent); }

/* Sections */
section { padding: 56px 0; border-top: 1px solid var(--line); }
section.first { border-top: 0; }
.page-head { padding: 48px 0 8px; }
.page-head h1 { font-size: clamp(32px, 7vw, 52px); }
.page-head .lead { margin-top: 16px; }

/* Hero */
.hero { padding: 40px 0 56px; }
.hero .grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.cta { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin: 26px 0 12px; }
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .04em;
  padding: 14px 24px;
  border-radius: 999px;
}
.btn:hover { background: var(--fg); color: var(--accent-ink); }
.btn-ghost { color: var(--fg); text-decoration: none; font-size: 15px; border-bottom: 1px solid var(--line); padding: 4px 0; }
.btn-ghost:hover { border-color: var(--accent); }
.fine { font-size: 13px; letter-spacing: .08em; color: var(--fg3); text-transform: uppercase; }

/* Watch mock-up: pure CSS, no images */
.watch-wrap { display: flex; justify-content: center; }
.watch {
  width: min(78vw, 340px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #000;
  border: 12px solid #1b1b20;
  box-shadow: 0 0 0 1px #34343b, 0 0 60px rgba(162, 155, 255, .18), 0 0 140px rgba(162, 155, 255, .08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12%;
}
.w-head { font-size: clamp(9px, 2.6vw, 11px); letter-spacing: .3em; color: var(--fg3); font-weight: 600; }
.w-rule { width: 64%; height: 1px; background: #3a3a40; margin: 8px 0; }
.w-time { font-size: clamp(54px, 17vw, 80px); color: var(--fg); font-weight: 300; line-height: 1; letter-spacing: -.02em; }
.w-row { display: grid; grid-template-columns: 1fr 1fr; width: 76%; gap: 6px; }
.w-cell { display: flex; flex-direction: column; gap: 2px; }
.w-cell b { font-size: clamp(8px, 2.2vw, 10px); letter-spacing: .22em; color: var(--fg3); font-weight: 600; }
.w-cell span { font-size: clamp(20px, 6vw, 28px); color: var(--fg); font-weight: 300; line-height: 1.1; }
.w-cell .hr { color: var(--hr); }
.w-dots { display: flex; gap: 6px; margin-top: 12px; }
.w-dots i { width: 5px; height: 5px; border-radius: 50%; background: #3a3a40; }
.w-dots i:first-child { background: var(--accent); }

/* Steps with big numerals */
.steps { display: grid; gap: 28px; margin-top: 32px; counter-reset: s; }
.step { border-top: 1px solid var(--line); padding-top: 18px; }
.step .num { display: block; font-size: 56px; font-weight: 200; color: var(--accent); line-height: 1; margin-bottom: 10px; letter-spacing: -.02em; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--fg2); margin: 0; }

/* Where data lives */
.cols { display: grid; gap: 18px; margin-top: 32px; }
.card { border: 1px solid var(--line); border-radius: 18px; padding: 22px; background: var(--panel); }
.card h3 { margin-bottom: 10px; }
.card ul { margin: 0; padding-left: 18px; }
.card li { margin: 4px 0; }
.card.acc { border-color: rgba(162, 155, 255, .45); }

/* Lists */
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 0; }
.ticks li { padding: 14px 0 14px 26px; border-top: 1px solid var(--line); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 23px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--accent); }

/* Big figure */
.figure { display: grid; gap: 16px; align-items: end; }
.figure .big { font-size: clamp(88px, 26vw, 168px); font-weight: 200; color: var(--fg); line-height: .9; letter-spacing: -.04em; }
.figure .big small { font-size: .28em; letter-spacing: .2em; color: var(--accent); font-weight: 600; margin-left: .3em; vertical-align: top; }

/* Long text pages */
.doc { padding-bottom: 40px; }
.doc h2 { font-size: clamp(21px, 3.6vw, 26px); margin: 44px 0 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.doc h2:first-child { margin-top: 24px; }
.doc h3 { margin: 26px 0 8px; }
.doc ol, .doc ul { padding-left: 22px; margin: 0 0 1em; }
.doc li { margin: 6px 0; }
.doc ol.howto { list-style: none; padding: 0; counter-reset: h; }
.doc ol.howto > li { counter-increment: h; position: relative; padding: 2px 0 2px 44px; margin: 14px 0; }
.doc ol.howto > li::before {
  content: counter(h);
  position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--accent); color: var(--accent);
  font-size: 14px; display: flex; align-items: center; justify-content: center;
}
.note { border-left: 3px solid var(--accent); background: var(--panel); padding: 14px 16px; border-radius: 0 12px 12px 0; margin: 18px 0; color: var(--fg2); }
.note.warn { border-left-color: var(--warn); }
.path { color: var(--fg); background: #15151a; border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: .94em; white-space: normal; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.toc a { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--fg2); text-decoration: none; }
.toc a:hover { border-color: var(--accent); color: var(--fg); }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 34px 16px 0; color: var(--fg); font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 24px; color: var(--accent); font-weight: 300; }
.faq details[open] summary::after { content: "\2212"; }
.faq .a { padding: 0 0 14px; }
.devices { display: grid; gap: 22px; margin-top: 10px; }
.devices h3 { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); margin: 8px 0 8px; }
.devices ul { list-style: none; padding: 0; margin: 0; }
.devices li { padding: 7px 0; border-top: 1px solid var(--line); }
.star { color: var(--warn); }

/* Screens */
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 22px 0 14px; }
.shots figure { margin: 0; }
.shots img { display: block; width: 100%; height: auto; border-radius: 50%; border: 1px solid var(--line); background: #000; }
@media (min-width: 720px) { .shots { grid-template-columns: repeat(5, 1fr); gap: 20px; } }

/* Footer */
.foot { border-top: 1px solid var(--line); margin-top: 24px; padding: 32px 0 44px; font-size: 14px; color: var(--fg3); }
.foot .wrap { display: grid; gap: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot a { color: var(--fg2); text-decoration: none; }
.foot a:hover { color: var(--fg); }

/* Larger screens */
@media (min-width: 720px) {
  :root { --gut: 32px; }
  .hero { padding: 72px 0 88px; }
  .hero .grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  section { padding: 84px 0; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .cols { grid-template-columns: repeat(3, 1fr); }
  .figure { grid-template-columns: auto 1fr; gap: 40px; }
  .devices { grid-template-columns: 1fr 1fr; gap: 32px; }
  .page-head { padding: 72px 0 8px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
