/* Lightline site — shared styles.
   Layout: a clean white page with near-black type, and one black "night panel" that carries the
   light columns, the way the app's Today card does. Colour comes only from the light itself. System fonts only: they match the app's
   SF type on Apple devices and keep the site free of third-party requests. */

:root {
  /* Light: plain white and neutral greys, so the light columns carry the colour. */
  --sky: #ffffff;
  --sky-raised: #f5f5f7;
  --ink: #111113;
  --ink-soft: #6b6b72;
  --rule: #e6e6ea;
  --accent: #b23a12;        /* ember, darkened for text on white */
  --accent-soft: #f5f5f7;
  --blue: #3d5cc4;          /* blue hour, as text */

  /* The night panel stays dark in both themes, like the app's Today card. */
  --panel: #0c0c0f;
  --panel-raised: #1c1c22;
  --on-panel: #fff3dc;      /* daylight */
  --on-panel-soft: #a1a1aa;
  --golden: #ffd68e;
  --amber: #ffb458;
  --ember: #f0612a;
  --twilight-text: #8fa8f5;
  --panel-rule: #2a2a31;

  --stage: #f2f2f5;         /* product card behind each watch, as on apple.com */

  --todo-bg: #fff2b8;
  --todo-ink: #5c4500;

  --font-display: -apple-system, "SF Pro Display", BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: clamp(1.875rem, 1.3rem + 2.2vw, 2.75rem);
  --step-4: clamp(2.5rem, 1.6rem + 4vw, 4.5rem);

  --measure: 36rem;
  --page: 70rem;
  --radius: 28px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --sky: #0a0a0c;
    --sky-raised: #161619;
    --ink: #f5f5f7;
    --ink-soft: #9b9ba3;
    --rule: #26262b;
    --accent: #ffb458;
    --accent-soft: #161619;
    --blue: #8fa8f5;
    --panel: #141417;
    --panel-raised: #222228;
    --panel-rule: #2e2e35;
    --stage: #18181c;
    --todo-bg: #4a3a00;
    --todo-ink: #ffe9a3;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --sky: #0a0a0c;
  --sky-raised: #161619;
  --ink: #f5f5f7;
  --ink-soft: #9b9ba3;
  --rule: #26262b;
  --accent: #ffb458;
  --accent-soft: #161619;
  --blue: #8fa8f5;
  --panel: #141417;
  --panel-raised: #222228;
  --panel-rule: #2e2e35;
  --stage: #18181c;
  --todo-bg: #4a3a00;
  --todo-ink: #ffe9a3;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

/* iOS Safari paints the strip behind the status bar in the body's background colour (not
   theme-color, html or a fixed element), so the body takes the top edge of the sky every page
   opens on, and the content keeps the page colour on main and the footer. */
body {
  margin: 0;
  background: var(--page-top, #090b38); /* blue-hour sky under its top shade */
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; height: auto; }

a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin: 0;
}
p { margin: 0; text-wrap: pretty; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--sky-raised); color: var(--ink); padding: 0.5rem 1rem; z-index: 10;
}
.skip:focus { left: max(16px, env(safe-area-inset-left, 0px)); top: 0.5rem; }

/* One gutter rule for every band. */
.wrap {
  width: 100%;
  max-width: calc(var(--page) + 2 * 24px);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap {
    padding-left: max(24px, env(safe-area-inset-left, 0px));
    padding-right: max(24px, env(safe-area-inset-right, 0px));
  }
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.tnum { font-variant-numeric: tabular-nums; }

/* TODO placeholders: loud on purpose, so none ship by accident. */
.todo {
  background: var(--todo-bg);
  color: var(--todo-ink);
  border-radius: 4px;
  padding: 0 0.3em;
  font-weight: 600;
  white-space: normal;
}

/* ---------- Header ---------- */
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
  flex-wrap: wrap;
}
/* Icon + wordmark lockup (design/brand/lightline/lockup-spec.md): the wordmark's cap-height
   centre sits on the icon's centre, so it hangs 9.4px from the icon's top; the g drops below. */
.brand {
  display: inline-flex; align-items: flex-start; gap: 10px;
  color: var(--ink); text-decoration: none;
}
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand .wordmark { width: auto; height: 21.8px; margin-top: 9.4px; border-radius: 0; }
.site-nav ul { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.site-nav a { color: var(--ink-soft); text-decoration: none; font-size: 0.9375rem; font-weight: 500; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
@media (max-width: 479px) { .site-nav .nav-wide { display: none; } .site-nav ul { gap: 1rem; } }

/* ---------- Hero: the blue-hour cover ----------
   The sky illustration fills the first screen in both themes (it is already dark); the header
   floats over it, and the official watch image (transparent around the band) sits on the sky. */
.site-header.on-cover {
  position: absolute; z-index: 3;
  top: env(safe-area-inset-top, 0px); left: 0; right: 0;
}
.on-cover .brand { color: #fff3dc; }
.on-cover .site-nav a { color: rgba(255, 243, 220, 0.78); }
.on-cover .site-nav a:hover { color: #fff3dc; }
.on-cover :focus-visible, .hero :focus-visible { outline-color: #ffd68e; }

.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: #0c1050;
  color: #fff3dc;
}
.cover-sky, .cover-sky img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; max-width: none;
}
.cover-sky img { object-fit: cover; object-position: 62% 46%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 8, 36, 0.5) 0, rgba(6, 8, 36, 0.15) 45%, rgba(6, 8, 36, 0) 70%),
    linear-gradient(180deg, rgba(6, 8, 36, 0.35) 0, rgba(6, 8, 36, 0) 18%, rgba(6, 8, 36, 0) 70%, rgba(6, 8, 36, 0.45) 100%);
}
/* Phones: the copy sits right over the bright horizon line, so darken behind it. */
@media (max-width: 719px) {
  .hero::after {
    background: linear-gradient(180deg, rgba(6, 8, 36, 0.4) 0, rgba(6, 8, 36, 0.5) 35%, rgba(6, 8, 36, 0.58) 62%, rgba(6, 8, 36, 0.3) 85%, rgba(6, 8, 36, 0.5) 100%);
  }
}
.lost { min-height: 100vh; min-height: 100svh; display: grid; align-items: center; }
.lost .wrap { min-height: 0; padding-block: 4rem; }
a.store-soon { text-decoration: none; }
/* Privacy and support: the same sky as a thin strip behind the header. */
.sky-strip { position: relative; overflow: hidden; isolation: isolate; background: #0c1050; }
.sky-strip .cover-sky img { object-position: 62% 35%; }
.sky-strip::before { /* fades into the status-bar strip (body colour) so the two read as one */
  content: ""; position: absolute; inset: 0 0 auto; z-index: -1; pointer-events: none;
  height: calc(env(safe-area-inset-top, 0px) + 40px);
  background: linear-gradient(var(--page-top, #090b38), transparent);
}
.sky-strip::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 8, 36, 0.35), rgba(6, 8, 36, 0.1));
}
.sky-strip .site-header .wrap { padding-block: 1.25rem 4.5rem; }
.sky-strip .brand { color: #fff3dc; }
.sky-strip .site-nav a { color: rgba(255, 243, 220, 0.78); }
.sky-strip .site-nav a:hover, .sky-strip .site-nav a[aria-current="page"] { color: #fff3dc; }
.sky-strip :focus-visible { outline-color: #ffd68e; }
.hero .wrap {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding-block: 8.5rem 4rem;
}
/* Copy on the left, a smaller watch on the right so most of the sky stays open. */
@media (min-width: 860px) {
  .hero .wrap {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    min-height: clamp(620px, 51vw, 780px);
    padding-block: 7rem 5rem;
  }
}
.hero-copy { max-width: 40rem; }
.hero-figure { margin: 0; display: grid; justify-items: center; gap: 0.75rem; }
.hero-figure figcaption { font-size: var(--step--1); color: rgba(255, 243, 220, 0.7); text-align: center; }
.hero .device-hero { height: 360px; }
@media (max-width: 719px) { .hero .device-hero { height: 280px; } }
.hero .eyebrow { color: #ffb458; }
.hero .lede { color: rgba(255, 243, 220, 0.84); }
.hero .store-soon { background: #fff3dc; color: #10144a; }
.hero .store-soon .dot { background: #f0612a; }
/* Launch day (site/tools/launch-day.py): Apple's badge as supplied, 40 px tall, clear space around it. */
.store-badge { display: inline-block; padding: 4px; line-height: 0; }
.store-badge img { height: 40px; width: auto; }
.hero .text-link { color: #ffd68e; }
.hero-copy { display: grid; gap: 1.25rem; min-width: 0; }
.hero h1 { font-size: var(--step-4); font-weight: 700; letter-spacing: -0.035em; }
.hero h1 .glow { color: #ffd68e; }
.lede { font-size: var(--step-1); max-width: var(--measure); line-height: 1.5; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: center; margin-top: 0.5rem; }

.store-soon {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--ink); color: var(--sky);
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  font-weight: 600; font-size: 0.9375rem;
}
.store-soon .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.watch-card figcaption { font-size: var(--step--1); color: var(--ink-soft); text-align: center; }

/* Devices: Apple's official product bezels (Apple Design Resources) with our simulator
   screenshots composited into the screen. Apple's marketing guidelines ask for the images
   "as is": no cropping, tilting, added shadows or reflections, so the stage only sits behind.
   Heights keep one scale across watches (Ultra 3 is drawn larger than the 46 mm Series 11). */
.device { display: block; max-width: 100%; height: auto; }
.device img { display: block; width: 100%; height: auto; }
.device-watch { width: auto; height: 300px; }
.device-ultra { height: 327px; }
@media (max-width: 719px) {
  .device-watch { height: 260px; }
  .device-ultra { height: 284px; }
}
.device-phone { width: 290px; }
.plan .device-phone { width: 270px; }
@media (max-width: 719px) { .device-phone { width: 250px; } .plan .device-phone { width: 240px; } }

/* Product stage: a soft rounded card behind each watch, as on apple.com/watch. */
.stage {
  width: 100%;
  display: grid; place-items: center;
  padding-block: 28px;
  background: var(--stage);
  border-radius: 24px;
}
.watch-card .stage { height: 430px; padding-block: 0; }
.watch-card .device-watch { height: 350px; }
.watch-card .device-ultra { height: 382px; }
@media (max-width: 719px) {
  .watch-card .stage { height: 340px; }
  .watch-card .device-watch { height: 280px; }
  .watch-card .device-ultra { height: 306px; }
}

/* ---------- Night panel: the day in light columns ---------- */
.day { padding-block: 4.5rem; }
.panel {
  background: var(--panel);
  color: var(--on-panel);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2.5rem);
  display: grid;
  gap: 1.75rem;
}
.panel-top {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 0.75rem 2rem;
}
.panel-top .where { color: var(--on-panel-soft); font-size: var(--step--1); }
.panel-top .next-label { color: var(--on-panel-soft); font-size: var(--step--1); }
.panel-top .next { font-family: var(--font-display); font-size: var(--step-2); font-weight: 700; color: var(--golden); line-height: 1.15; }
.panel-top .count { font-family: var(--font-display); font-size: var(--step-2); font-weight: 700; color: var(--on-panel); }

.lc-scroll { overflow-x: auto; }
.lc { width: 100%; min-width: 0; }
.lc-axis {
  display: grid; grid-template-columns: repeat(4, 1fr);
  font-size: 0.75rem; color: var(--on-panel-soft);
  border-top: 1px solid var(--panel-rule); padding-top: 0.5rem; margin-top: 0.4rem;
}
.lc-glow { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .lc-glow { animation: breathe 4.5s ease-in-out infinite; }
  @keyframes breathe { 50% { transform: scale(1.25); opacity: 0.7; } }
}

.events {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.5rem; margin: 0;
}
@media (min-width: 720px) { .events { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.events div { display: grid; gap: 0.15rem; border-top: 1px solid var(--panel-rule); padding-top: 0.75rem; }
.events dt { font-size: var(--step--1); color: var(--on-panel-soft); display: flex; align-items: center; gap: 0.5rem; }
.events dt::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; }
.events dd { margin: 0; font-size: var(--step-1); font-weight: 600; font-variant-numeric: tabular-nums; }

.day-intro { display: grid; gap: 0.75rem; max-width: var(--measure); margin-bottom: 1.75rem; }
.day-intro h2, .section-head h2 { font-size: var(--step-3); font-weight: 700; }
.day-intro p, .section-head p { color: var(--ink-soft); }

/* ---------- Full-bleed sky bands ----------
   Our own illustrations (site/tools/sky.py), edge to edge, with a short caption bottom-left
   and a small mark top-right. The same in both themes: the sky is already dark. */
.band {
  position: relative;
  height: clamp(380px, 56vw, 760px);
  overflow: hidden;
  background: #0b0d2a;
  color: #fff3dc;
}
.band picture, .band img { display: block; width: 100%; height: 100%; max-width: none; }
.band img { object-fit: cover; object-position: center 42%; }
.band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 6, 26, 0.35) 0, rgba(5, 6, 26, 0) 22%, rgba(5, 6, 26, 0) 55%, rgba(5, 6, 26, 0.6) 100%);
}
.band-text {
  position: absolute; inset: 0; z-index: 1;
  display: grid; grid-template-rows: auto 1fr auto;
  max-width: calc(var(--page) + 2 * 24px); margin-inline: auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
  padding-block: clamp(1.25rem, 3vw, 2.5rem);
}
.band-mark {
  justify-self: end;
  font-family: var(--font-serif); font-size: clamp(1rem, 0.9rem + 0.6vw, 1.5rem);
  color: rgba(255, 243, 220, 0.88);
}
.band-caption { grid-row: 3; display: grid; gap: 0.35rem; }
.band-title {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(2rem, 1.3rem + 3vw, 3.75rem); line-height: 1; letter-spacing: -0.01em;
  text-shadow: 0 1px 18px rgba(5, 6, 26, 0.45);
}
.band-meta { font-size: var(--step-0); color: rgba(255, 243, 220, 0.82); }

/* ---------- Sections ---------- */
.section { padding-block: 4.5rem; border-top: 1px solid var(--rule); }
.band + .section { border-top: 0; }
.section-head { display: grid; gap: 0.75rem; max-width: var(--measure); margin-bottom: 2.5rem; }

/* Three cards, two complications each: one row from 860 px, a swipe row on phones. */
.watch-grid {
  display: grid; gap: 2.5rem 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
@media (min-width: 860px) { .watch-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.watch-card { margin: 0; display: grid; gap: 1.1rem; justify-items: center; align-content: start; }
.watch-card figcaption { text-align: left; justify-self: stretch; display: grid; gap: 0.3rem; }
.watch-card h3 { font-size: var(--step-1); color: var(--ink); letter-spacing: -0.01em; }
.watch-card .family { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); font-weight: 600; }
.shot-note { margin-top: 2rem; font-size: var(--step--1); color: var(--ink-soft); }

/* Be there by */
.plan .wrap { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 860px) { .plan .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.plan-copy { display: grid; gap: 1rem; min-width: 0; }
.plan-copy h2 { font-size: var(--step-3); font-weight: 700; }
.plan-copy p { color: var(--ink-soft); max-width: var(--measure); }
.steps { margin: 0.5rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.9rem; counter-reset: step; max-width: var(--measure); }
.steps li { display: grid; grid-template-columns: 2rem 1fr; gap: 0.75rem; align-items: baseline; counter-increment: step; }
.steps li::before {
  content: counter(step);
  width: 2rem; height: 2rem; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--rule); color: var(--ink-soft);
  font-size: 0.875rem; font-weight: 600; font-variant-numeric: tabular-nums;
  transform: translateY(-0.1rem);
}

/* Feature list: plain two-column definitions, no cards. */
.features {
  display: grid; gap: 2rem 3rem; margin: 0;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}
.features div { display: grid; gap: 0.4rem; align-content: start; padding-top: 1rem; border-top: 1px solid var(--rule); min-width: 0; }
.features dt { font-family: var(--font-display); font-size: var(--step-1); font-weight: 700; letter-spacing: -0.01em; }
.features dd { margin: 0; color: var(--ink-soft); }

/* Privacy band */
.promise { padding-block: 4.5rem; border-top: 1px solid var(--rule); }
.promise .wrap { display: grid; gap: 1.5rem; }
@media (min-width: 860px) { .promise .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 3rem; } }
.promise h2 { font-size: var(--step-3); font-weight: 700; }
.promise .body { display: grid; gap: 1rem; color: var(--ink-soft); max-width: var(--measure); }

/* Time scrubber (assets/day.js reveals it). The track is the sample day's light. */
.scrub {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0.6rem 1rem;
}
.scrub label { font-size: var(--step--1); color: var(--on-panel-soft); }
.scrub output { grid-row: 1; grid-column: 2; font-weight: 600; font-size: var(--step-0); justify-self: end; }
.scrub input { grid-column: 1 / -1; }
.scrub input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer;
}
.scrub input[type="range"]::-webkit-slider-runnable-track {
  height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, #2e3566 0 25.6%, #4f6fd8 27%, #f0612a 29.5%, #ffb458 36%, #ffd68e 44%, #fff3dc 52%, #ffd68e 62%, #ffb458 70%, #f0612a 78.5%, #4f6fd8 81%, #2e3566 83% 100%);
}
.scrub input[type="range"]::-moz-range-track {
  height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, #2e3566 0 25.6%, #4f6fd8 27%, #f0612a 29.5%, #ffb458 36%, #ffd68e 44%, #fff3dc 52%, #ffd68e 62%, #ffb458 70%, #f0612a 78.5%, #4f6fd8 81%, #2e3566 83% 100%);
}
.scrub input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%; margin-top: -8px;
  background: #fff3dc; border: 3px solid var(--panel);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4), 0 0 14px rgba(255, 180, 88, 0.6);
}
.scrub input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff3dc; border: 3px solid var(--panel);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4), 0 0 14px rgba(255, 180, 88, 0.6);
}
.scrub input[type="range"]:focus-visible { outline: 3px solid var(--twilight-text); outline-offset: 4px; border-radius: 8px; }
.lc-sun.is-down .lc-glow { display: none; }
.lc-sun.is-down circle:last-child { fill: var(--twilight-text); }

/* iPhone figures (device images are styled with .device above). */
.phone-figure { margin: 0; display: grid; justify-items: center; gap: 0.9rem; align-content: start; }
.phone-figure figcaption { font-size: var(--step--1); color: var(--ink-soft); }
.iphone-show { display: grid; gap: 2.5rem; align-items: center; margin-bottom: 3.5rem; }
@media (min-width: 860px) { .iphone-show { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.plan-show { display: grid; grid-template-columns: auto auto; gap: 1.5rem; align-items: end; justify-content: center; min-width: 0; }
.card-figure { margin: 0; display: grid; gap: 0.9rem; justify-items: center; }
.card-figure figcaption { font-size: var(--step--1); color: var(--ink-soft); text-align: center; max-width: 12rem; }
.share-card { display: block; width: 190px; max-width: 100%; height: auto; border-radius: 18px; box-shadow: 0 0 0 1px var(--rule), 0 24px 50px -28px rgba(0, 0, 0, 0.55); }
@media (max-width: 479px) {
  .plan-show { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1rem; }
  .plan-show .device-phone { width: 100%; }
}
/* iPhone Duo: two unfolded landscape devices, Apple's bezel as supplied. */
.duo-show { display: grid; gap: 2rem; }
@media (min-width: 900px) { .duo-show { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; } }
.duo-figure { margin: 0; display: grid; gap: 0.9rem; justify-items: center; min-width: 0; }
.duo-figure picture { display: block; width: 100%; }
.duo-device { width: 100%; height: auto; }
.duo-figure figcaption { font-size: var(--step--1); color: var(--ink-soft); }
/* Sun now: one phone, so the plan grid holds a single column on phones. */
.sun-now .plan-show { grid-template-columns: auto; }
.sun-now .plan-copy { display: grid; gap: 1rem; align-content: start; }
@media (max-width: 479px) { .sun-now .plan-show { grid-template-columns: minmax(0, 260px); } }
.phones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; justify-items: center; min-width: 0; }
.phones .device-phone { width: min(100%, 260px); }
.widgets {
  display: grid; gap: 1.5rem 1.25rem; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); align-items: end; min-width: 0;
}
.widget-figure { margin: 0; display: grid; gap: 0.6rem; min-width: 0; }
.widget-figure figcaption { font-size: var(--step--1); color: var(--ink-soft); }
.widget { width: 100%; border-radius: 9%/ 19%; box-shadow: 0 0 0 1px var(--rule), 0 18px 40px -24px rgba(0, 0, 0, 0.45); }
.widget-s { border-radius: 19%; }
.widgets .shot-note { grid-column: 1 / -1; margin: 0; }

/* On phones, the Watch faces become a swipeable row instead of a tall stack. */
@media (max-width: 719px) {
  .watch-grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%;
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.75rem;
    overscroll-behavior-x: contain;
  }
  .watch-card { scroll-snap-align: start; }
}

/* ---------- Footer ---------- */
main, .site-footer { background: var(--sky); }
body:has(> .sky-strip) { --page-top: #17206f; } /* privacy and support: the strip shows a brighter band of the sky */
body.top-golden { --page-top: #443a55; } /* press opens on the golden-hour strip */
.site-footer { border-top: 1px solid var(--rule); font-size: var(--step--1); color: var(--ink-soft); }
.site-footer .wrap { display: grid; gap: 1rem; padding-block: 2.5rem 3rem; }
.site-footer nav ul { display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.site-footer a { color: var(--ink); }
.site-footer .fine { max-width: 48rem; }

/* ---------- Document pages (privacy, support) ---------- */
.doc .wrap { padding-block: 2rem 4rem; }
.doc-body { max-width: 42rem; display: grid; gap: 1.1rem; }
.doc-body h1 { font-size: var(--step-3); font-weight: 700; margin-bottom: 0.25rem; }
.doc-body h2 { font-size: var(--step-2); font-weight: 700; margin-top: 1.5rem; }
.doc-body h3 { font-size: var(--step-1); font-weight: 700; margin-top: 0.75rem; letter-spacing: -0.01em; }
.doc-body ul, .doc-body ol { margin: 0; padding-left: 1.25rem; display: grid; gap: 0.4rem; }
.doc-body .meta {
  display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.35rem 1.25rem;
  margin: 0; padding: 1rem 1.25rem; background: var(--sky-raised); border: 1px solid var(--rule); border-radius: 14px;
  font-size: var(--step--1);
}
.doc-body .meta dt { color: var(--ink-soft); }
.doc-body .meta dd { margin: 0; }
.draft-banner {
  background: var(--todo-bg); color: var(--todo-ink);
  border-radius: 12px; padding: 0.85rem 1.1rem; font-size: var(--step--1); font-weight: 500;
}
.summary {
  display: grid; gap: 0.5rem; padding: 1.25rem; border-radius: 14px;
  background: var(--accent-soft); color: var(--ink);
}
.summary ul { gap: 0.3rem; }
.toc { font-size: var(--step--1); }
.toc ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
details { border-top: 1px solid var(--rule); padding-block: 0.9rem; }
details:last-of-type { border-bottom: 1px solid var(--rule); }
summary { cursor: pointer; font-weight: 600; font-size: var(--step-0); list-style: none; display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); gap: 0.5rem; }
summary::-webkit-details-marker { display: none; }
summary::before { content: "+"; color: var(--accent); font-weight: 700; text-align: center; }
details[open] summary::before { content: "\2212"; }
details[open] summary { margin-bottom: 0.6rem; }
details > :not(summary) { margin-left: 1.75rem; }
details > :not(summary) { color: var(--ink-soft); }
details > * + * { margin-top: 0.6rem; }
.contact {
  display: grid; gap: 0.4rem; padding: 1.25rem; border-radius: 14px;
  background: var(--sky-raised); border: 1px solid var(--rule);
}
.contact .addr { font-size: var(--step-1); font-weight: 600; user-select: all; overflow-wrap: anywhere; }

/* ---------- Press kit ---------- */
.press .wrap { display: grid; gap: 2.5rem; }
.press .lede { font-size: var(--step-1); line-height: 1.5; }
.press .availability { font-weight: 600; }
.press .note { color: var(--ink-soft); font-size: var(--step--1); max-width: 42rem; }
.press-download {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--ink); color: var(--sky); text-decoration: none;
  border-radius: 999px; padding: 0.7rem 1.2rem; font-weight: 600; font-size: 0.9375rem;
}
.press-download span { font-weight: 400; opacity: 0.75; }
.press-download:hover { opacity: 0.88; }
.press-assets { display: grid; gap: 1rem; }
.press-assets h2 { font-size: var(--step-2); font-weight: 700; margin-top: 1rem; }
.asset-grid { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 1.25rem 1rem; }
.asset-grid li { display: grid; gap: 0.5rem; justify-items: center; align-content: start; min-width: 0; }
.asset-grid a { display: grid; place-items: center; width: 100%; padding: 1rem; border-radius: 18px; background: var(--stage); }
.asset-grid a:hover { outline: 2px solid var(--rule); }
.asset-grid img { display: block; max-width: 100%; height: auto; }
.asset-grid span { font-size: var(--step--1); color: var(--ink-soft); text-align: center; }
.asset-icons { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 40rem; }
.asset-icons img { width: 100%; max-width: 160px; border-radius: 22.5%; }
.asset-phones { grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); }
.asset-phones a { padding: 0; background: none; }
.asset-phones img { border-radius: 14px; }
.asset-watches { grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); }
.asset-watches a { background: #000; }
.asset-watches img { border-radius: 22%; }
.asset-product { grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); }
.asset-product img { max-height: 240px; width: auto; }
.asset-wide { grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
.asset-wide a { padding: 0; background: none; }
.asset-wide img { width: 100%; border-radius: 14px; }

/* ---------- Japanese and Traditional Chinese pages ---------- */
/* System CJK faces with their own lang so shared Han characters take the right regional shapes.
   No negative tracking (it crowds CJK), looser leading, and phrase-aware line breaks. */
:root:lang(ja) {
  --font-display: -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
  --font-body: -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
  --font-serif: "Hiragino Mincho ProN", "Yu Mincho", serif;
}
:root:lang(zh-Hant) {
  --font-display: -apple-system, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --font-body: -apple-system, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --font-serif: "Songti TC", "Noto Serif TC", serif;
}
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ja) .hero h1, :lang(ja) .features dt, :lang(ja) .band-title,
:lang(zh-Hant) h1, :lang(zh-Hant) h2, :lang(zh-Hant) h3, :lang(zh-Hant) .hero h1, :lang(zh-Hant) .features dt, :lang(zh-Hant) .band-title { letter-spacing: 0.01em; line-height: 1.25; }
:lang(ja) body, :lang(zh-Hant) body { line-height: 1.75; line-break: strict; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) p, :lang(ja) li, :lang(ja) dd, :lang(ja) figcaption { word-break: auto-phrase; overflow-wrap: anywhere; }
/* Katakana runs like ゴールデンアワー are long; size the CJK hero so a phrase fits a phone line. */
:lang(ja) .hero h1, :lang(zh-Hant) .hero h1 { font-size: clamp(2rem, 1.2rem + 4vw, 4rem); }
:lang(ja) .eyebrow, :lang(zh-Hant) .eyebrow, :lang(ja) .family, :lang(zh-Hant) .family { text-transform: none; }
:lang(ja) .eyebrow, :lang(zh-Hant) .eyebrow, :lang(ja) .watch-card .family, :lang(zh-Hant) .watch-card .family { letter-spacing: 0.08em; }

/* Language switcher (footer) */
.lang-switch { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; align-items: center; color: var(--ink-soft); }
.lang-switch a { color: var(--ink); text-decoration: none; padding: 0.35rem 0.1rem; }
.lang-switch a:hover { text-decoration: underline; }
.lang-switch a[aria-current="page"] { color: var(--ink-soft); pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
