/* Arkin web.
   Layout: Dawn 75% bands open and close the page; a calm paper column between, alternating copy and product panels.
   Grid: every space, size and radius is a multiple of 8px. Type sits on a 4px baseline (line-heights in 4s).
   Type: Satoshi for the site; SF Pro inside product surfaces (phone, cards, chips), as in the app. */
@font-face { font-family: 'Satoshi'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/Satoshi-400.woff2') format('woff2'); }
@font-face { font-family: 'Satoshi'; font-weight: 500; font-style: normal; font-display: swap; src: url('fonts/Satoshi-500.woff2') format('woff2'); }
@font-face { font-family: 'Satoshi'; font-weight: 700; font-style: normal; font-display: swap; src: url('fonts/Satoshi-700.woff2') format('woff2'); }
:root {
  /* Dawn 75%, the locked brand sky. Same in both themes. */
  --dawn-top: #9684EC;
  --dawn-mid: #CBA2C6;
  --dawn-low: #F6B8A4;
  --dawn-glow: rgba(248, 191, 168, 0.25);
  --dawn-ink: #22184F;
  --frost: rgba(255, 255, 255, 0.72);
  --frost-line: rgba(255, 255, 255, 0.64);

  --paper: #FAF8FC;
  --paper-2: #F3EEF6;
  --card: #FFFFFF;
  --ink: #16131F;
  --ink-2: #4A4558;
  --ink-3: #7A7489;
  --line: rgba(22, 19, 31, 0.08);
  --violet: #5B48D0;
  --pill: #16131F;
  --pill-ink: #FFFFFF;
  --glow-a: rgba(150, 132, 236, 0.32);
  --glow-b: rgba(246, 184, 164, 0.45);
  --lime: #3F7A12;

  --font: "Satoshi", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, sans-serif;
  --sf: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* 8pt spacing */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px; --s6: 48px; --s8: 64px; --s10: 80px; --s12: 96px; --s16: 128px;
  --gutter: 32px;
  --wrap: 1152px;
  --header: 72px;
  --section: var(--s16);
  --panel-h: 480px;

  /* Type scale: size / line-height */
  --display: 80px; --display-lh: 80px;
  --h2: 48px; --h2-lh: 56px;
  --lede: 20px; --lede-lh: 32px;
  --body: 17px; --body-lh: 28px;
  --small: 14px; --small-lh: 20px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0E0C1B; --paper-2: #151227; --card: #1B1830;
    --ink: #F4F1FF; --ink-2: #C3BDD6; --ink-3: #8F88A6; --line: rgba(244, 241, 255, 0.1);
    --violet: #B8AFFF; --pill: #F4F1FF; --pill-ink: #16131F;
    --glow-a: rgba(91, 72, 208, 0.45); --glow-b: rgba(110, 71, 102, 0.55); --lime: #C6F432;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0E0C1B; --paper-2: #151227; --card: #1B1830;
  --ink: #F4F1FF; --ink-2: #C3BDD6; --ink-3: #8F88A6; --line: rgba(244, 241, 255, 0.1);
  --violet: #B8AFFF; --pill: #F4F1FF; --pill-ink: #16131F;
  --glow-a: rgba(91, 72, 208, 0.45); --glow-b: rgba(110, 71, 102, 0.55); --lime: #C6F432;
  color-scheme: dark;
}
@media (max-width: 1023px) {
  :root { --display: 64px; --display-lh: 64px; --h2: 40px; --h2-lh: 48px; --section: var(--s12); }
}
@media (max-width: 743px) {
  :root { --gutter: 16px; --display: 48px; --display-lh: 48px; --h2: 32px; --h2-lh: 40px; --lede: 18px; --lede-lh: 28px; --section: var(--s10); }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: var(--body); line-height: var(--body-lh);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
img, svg { max-width: 100%; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; border-radius: 8px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Header ---------- */
.top { position: absolute; inset: 0 0 auto 0; z-index: 3; height: var(--header); display: flex; align-items: center; }
.top .wrap { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: var(--s2); }
.brand { display: inline-flex; text-decoration: none; filter: drop-shadow(0 2px 8px rgba(75, 59, 168, 0.2)); }
.brand .lockup { height: 24px; width: auto; display: block; }
.brand .lockup > path { fill: url(#frost); }
.brand .lockup g { fill: rgba(255, 255, 255, 0.97); }
.top nav { display: flex; gap: var(--s4); font-size: var(--small); line-height: var(--small-lh); font-weight: 500; }
.top nav a { text-decoration: none; color: #FFFFFF; opacity: .88; transition: opacity .2s; }
.top nav a:hover { opacity: 1; }

/* ---------- Dawn ---------- */
/* Soft fields: Dawn's three colours as overlapping light rising from below, over the base gradient. */
.dawn {
  position: relative; overflow: hidden; isolation: isolate; color: #FFFFFF;
  background:
    radial-gradient(80% 45% at 50% 104%, rgba(250, 188, 160, 1), transparent 75%),
    radial-gradient(55% 50% at 12% 88%, rgba(222, 160, 190, .9), transparent 72%),
    radial-gradient(50% 45% at 92% 78%, rgba(240, 176, 170, .85), transparent 72%),
    radial-gradient(60% 45% at 85% 6%, rgba(180, 164, 250, .9), transparent 70%),
    radial-gradient(45% 40% at 6% 18%, rgba(136, 118, 226, .85), transparent 70%),
    linear-gradient(180deg, var(--dawn-top) 0%, #C3A0CC 55%, #F4B6A4 100%);
}
.dawn::before {
  content: ""; position: absolute; z-index: -1; left: 50%; bottom: -35%; width: 110%; height: 70%;
  transform: translateX(-50%); border-radius: 50%; background: var(--dawn-glow); filter: blur(80px);
}
/* Grain: a still 256px tile under the text, lighter at the top, stronger toward the bottom. */
.dawn::after {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background-image: url("grain.png"); background-size: 128px 128px; mix-blend-mode: overlay; opacity: .16;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .5), #000 75%); mask-image: linear-gradient(180deg, rgba(0, 0, 0, .5), #000 75%);
}

/* ---------- Hero: 72 header · 96 · title · 24 · lede · 40 · form · 16 · note · 64 · phone ---------- */
.hero { text-align: center; padding-top: calc(var(--header) + var(--s12)); }
.hero h1 {
  font-size: var(--display); line-height: var(--display-lh); font-weight: 700; letter-spacing: -0.04em;
  max-width: 11ch; margin-inline: auto; text-wrap: balance;
}
.hero .lede { margin-top: var(--s3); font-size: var(--lede); line-height: var(--lede-lh); font-weight: 500; text-wrap: balance; }
.join { display: flex; gap: var(--s1); width: 100%; max-width: 448px; margin: var(--s5) auto 0; }
.join input {
  flex: 1 1 auto; min-width: 0; height: var(--s6); padding: 0 var(--s3); border-radius: var(--s3);
  border: 1px solid var(--frost-line); background: var(--frost); color: var(--dawn-ink);
  font: 500 16px/24px var(--font); -webkit-appearance: none; appearance: none;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.join input::placeholder { color: #6A5E96; }
.join input:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 2px; }
.join button {
  flex: 0 0 auto; height: var(--s6); padding: 0 var(--s3); border: 0; border-radius: var(--s3);
  background: linear-gradient(180deg, #3A2C80 0%, #22184F 100%); color: #FFFFFF; font: 600 16px/24px var(--font); cursor: pointer; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 0 0 1px rgba(255, 255, 255, .06), 0 1px 2px rgba(34, 24, 79, .3), 0 8px 20px -6px rgba(34, 24, 79, .55);
  transition: transform .15s ease, box-shadow .2s, filter .2s;
}
.join button:hover { filter: brightness(1.12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .26), inset 0 0 0 1px rgba(255, 255, 255, .08), 0 2px 4px rgba(34, 24, 79, .3), 0 12px 28px -8px rgba(34, 24, 79, .6); }
.join button:active { transform: scale(.98); filter: brightness(.96); }
.join button:disabled { opacity: .6; cursor: default; }
.note { margin-top: var(--s2); font-size: var(--small); line-height: var(--s3); font-weight: 500; }
/* Beta row, after Torch: three overlapping circles, a plus, two lines of text. 24 below the form; 40 tall. */
.proof { display: flex; align-items: center; justify-content: center; gap: var(--s2); margin-top: var(--s3); }
.proof .note { margin: 0; max-width: 24ch; text-align: left; line-height: var(--small-lh); }
.faces { display: flex; flex: none; }
.faces i {
  display: grid; place-items: center; width: var(--s4); height: var(--s4); margin-left: calc(var(--s1) * -1);
  border-radius: 50%; background: #FFFFFF; color: var(--dawn-ink); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9);
}
.faces i:first-child { margin-left: 0; }
.faces i svg { width: var(--s2); height: var(--s2); }
.faces .av { overflow: hidden; }
.faces .av svg, .faces .av img { width: 100%; height: 100%; display: block; object-fit: cover; }
.faces .plus { background: var(--dawn-ink); color: #FFFFFF; }
.dawn .note { color: rgba(255, 255, 255, 0.92); }

/* Phone stage: the hero's bottom edge crops the phone */
.stage { position: relative; height: 480px; margin-top: var(--s8); font-family: var(--sf); }
/* Apple's iPhone 18 Pro frame (Product Bezels, Silver). The screen sits behind the frame at its exact opening:
   1350 x 2760 frame, screen at 72,69 sized 1206 x 2622. */
.phone { --k: .6756;
  position: absolute; left: 50%; top: 0; width: 304px; aspect-ratio: 1350 / 2760; margin-left: -152px;
  filter: drop-shadow(0 48px 48px rgba(58, 45, 120, .35));
}
.bezel { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
.screen {
  position: absolute; z-index: 1; left: 5.333%; top: 2.5%; width: 89.333%; height: 95%;
  border-radius: 14% / 6.85%; overflow: hidden; color: #FFFFFF; padding: 56px 16px 0; text-align: center;
  background:
    radial-gradient(120% 70% at 20% 100%, #6E4766 0%, transparent 60%),
    radial-gradient(120% 70% at 85% 95%, #34417F 0%, transparent 60%),
    linear-gradient(#141128, #1E1838);
}
.date { font-size: 16px; line-height: 24px; font-weight: 500; opacity: .85; }
.time { font-size: 80px; line-height: 80px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.la {
  margin-top: var(--s3); padding: var(--s2); text-align: left; border-radius: var(--s3);
  background: rgba(20, 18, 36, .62); border: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
}
.la-row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s1); }
.la-h { display: inline-flex; align-items: baseline; gap: 6px; font-size: 18px; line-height: 24px; font-weight: 600; white-space: nowrap; }
.la-ic { flex: none; color: #BBB0FF; align-self: center; }
.la-ic svg { display: block; width: 18px; height: 18px; }
.la-cd { font-size: 20px; line-height: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.la-title { margin-top: var(--s1); font-size: 15px; line-height: 20px; font-weight: 600; }
.la-foot { display: flex; justify-content: space-between; gap: var(--s1); white-space: nowrap; font-size: 12px; line-height: 16px; color: rgba(255, 255, 255, .62); font-variant-numeric: tabular-nums; }
.la-foot span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.la-why { margin-top: 4px; font-size: 12px; line-height: 16px; color: rgba(255, 255, 255, .62); }
.notif {
  margin-top: var(--s1); padding: 12px var(--s2); text-align: left; border-radius: 20px;
  background: rgba(255, 255, 255, .13); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  font-size: 14px; line-height: 20px;
}
.notif strong { display: block; font-weight: 600; }
.notif small { float: right; font-size: 12px; opacity: .6; }

/* App tiles float around the phone, after Torch: iOS-shaped (22.5% corners), 8pt sizes and positions. */
.tile { position: absolute; z-index: 2; width: 72px; height: 72px; background-size: 72px 72px; filter: drop-shadow(0 12px 24px rgba(58, 45, 120, .22)); }
.t1 { top: 64px;  left: calc(50% - 304px); color: #5B48D0; }
.t2 { top: 224px; left: calc(50% - 384px); color: #B0507C; }
.t4 { top: 360px; left: calc(50% - 272px); color: #C2603E; }
.t3 { top: 112px; left: calc(50% + 232px); color: #2E7A5A; }
.t5 { top: 296px; left: calc(50% + 304px); color: #3B5BB5; }
@media (prefers-reduced-motion: no-preference) {
  .tile { animation: float 8s ease-in-out infinite alternate; }
  .t1 { animation-delay: -2s; } .t2 { animation-delay: -4s; } .t3 { animation-delay: -6s; } .t4 { animation-delay: -3s; } .t5 { animation-delay: -5s; }
}
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-8px); } }

/* ---------- Features ---------- */
.features { display: grid; gap: var(--s16); padding-block: var(--section); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: center; }
.row:nth-child(even) .copy { order: 2; }
.copy { min-width: 0; }
.eyebrow { font-size: 13px; line-height: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); }
.copy h2, .manifesto h2, .faq h2 {
  font-size: var(--h2); line-height: var(--h2-lh); font-weight: 700; letter-spacing: -0.03em; text-wrap: balance;
}
.copy h2 { margin-top: var(--s2); }
.copy p { margin-top: var(--s3); color: var(--ink-2); max-width: 46ch; }

.panel {
  position: relative; min-width: 0; overflow: hidden; padding: var(--s4); border-radius: var(--s4);
  background: var(--paper-2); font-family: var(--sf);
  height: var(--panel-h); display: flex; flex-direction: column; justify-content: center;
}
.panel::before, .panel::after { content: ""; position: absolute; border-radius: 50%; filter: blur(64px); }
.panel::before { width: 70%; height: 70%; right: -20%; bottom: -30%; background: var(--glow-b); }
.panel::after { width: 60%; height: 60%; left: -20%; top: -30%; background: var(--glow-a); }
.panel > * { position: relative; z-index: 1; }
.card { background: var(--card); border-radius: var(--s3); padding: var(--s3); }

.tl { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s1); }
.tl li { display: grid; grid-template-columns: 48px 1fr; gap: var(--s2); align-items: center; height: var(--s8); padding: 0 var(--s3); border-radius: var(--s2); background: var(--card); font-size: 15px; line-height: 24px; }
.tl time { font-size: 14px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.tl s { color: var(--ink-3); }
.tl .done b { color: var(--lime); font-weight: 600; }

.bk-label { display: block; font-size: 13px; line-height: 16px; color: var(--ink-3); }
.bk-title { margin-top: 4px; font-size: 20px; line-height: 28px; font-weight: 600; }
.bk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); margin-top: var(--s2); }
.bk-grid div { min-width: 0; }
.bk-grid b { display: block; margin-top: 4px; font-size: 20px; line-height: 28px; font-weight: 600; font-variant-numeric: tabular-nums; }
.bk-grid code { display: block; margin-top: 4px; font-family: var(--mono); font-size: 16px; line-height: 28px; font-weight: 600; }
.bk-actions { display: flex; flex-wrap: wrap; gap: var(--s1); margin-top: var(--s3); }
.btn { display: inline-flex; align-items: center; height: 40px; padding: 0 var(--s2); border-radius: 20px; font-size: 15px; font-weight: 600; }
.btn.primary { background: var(--pill); color: var(--pill-ink); }
.btn.secondary { background: var(--paper-2); color: var(--ink); }
.src { margin-top: var(--s2); font-size: 13px; line-height: 16px; color: var(--ink-3); }

.receipt h3 { font-size: 15px; line-height: 20px; font-weight: 600; }
.receipt .big { margin: var(--s1) 0 var(--s2); font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; }
.receipt ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.receipt li { display: flex; justify-content: space-between; gap: var(--s2); padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 24px; }
.receipt li span:first-child { min-width: 0; }
.receipt li span:last-child { white-space: nowrap; font-size: 14px; color: var(--ink-3); }
.receipt li.nudge span:last-child { color: var(--lime); font-weight: 600; }

.flow3 { display: grid; grid-template-columns: 1fr auto 1.1fr auto 1fr; align-items: center; gap: var(--s1); }
.node { padding: var(--s3) var(--s1); border-radius: var(--s2); background: var(--card); text-align: center; font-size: 15px; line-height: 20px; font-weight: 600; }
.node small { display: block; margin-top: 4px; font-size: 12px; line-height: 16px; font-weight: 400; color: var(--ink-3); }
.node.me { box-shadow: inset 0 0 0 2px var(--violet); }
.node.me .mark { display: block; width: 32px; height: auto; margin: 0 auto var(--s1); color: var(--violet); }
.arrow { color: var(--ink-3); font-size: 16px; }
.nope { margin-top: var(--s2); padding: var(--s2); border: 1px dashed var(--ink-3); border-radius: var(--s2); text-align: center; font-size: 15px; line-height: 20px; color: var(--ink-3); }
.nope s { color: var(--ink-2); }

/* Panel: the product in the device. The frame enters from the top, the panel crops it, as on Apple's feature pages. */
.panel-device { padding: 0; justify-content: flex-start; align-items: center; }
.mini-phone { position: relative; width: 320px; aspect-ratio: 1350 / 2760; margin-top: var(--s6); flex: none;
  filter: drop-shadow(0 24px 40px rgba(58, 45, 120, .25)); }
.mini-phone { --k: .7111; }
.mini-screen {
  position: absolute; z-index: 1; left: 5.333%; top: 2.5%; width: 89.333%; height: 95%; border-radius: 14% / 6.85%; overflow: hidden;
}

/* The app's screens, at the app's own sizes (402 x 874 pt), scaled into the frame. Dusk, dark: the default palette. */
.ios {
  /* Dusk, light (the visitor's light mode) */
  --bg: #EAE8F1; --tp: #15121F; --ts: #534E66; --tt: #878299;
  --accent: #5B48D0; --accent-t: #4F3EBB; --on-accent: #FFFFFF; --pill: #E2DCFA; --on-pill: #140F26; --soon: #9A6200;
  --glow-a: rgba(221, 214, 246, .72); --glow-b: rgba(211, 221, 245, .72); --glow-c: rgba(237, 217, 238, .72);
  --glass: rgba(255, 255, 255, .62); --glass-line: rgba(21, 18, 31, .08); --card-bg: #FFFFFF; --card-line: rgba(21, 18, 31, .04);
  --sep: rgba(60, 60, 67, .16); --fill: rgba(21, 18, 31, .05); --sheet: #F7F6FB; --dim: rgba(21, 18, 31, .22); --date-tile: rgba(91, 72, 208, .12);
  --map-bg: #EDEAE3; --map-park: #CFE6C8; --map-water: #BFD6F2; --map-road: #FFFFFF; --map-street: #F8F7F3; --map-pin-ring: #FFFFFF; --bar: rgba(234, 232, 241, .86);
  position: absolute; left: 0; top: 0; width: 402px; height: 874px; transform: scale(var(--k)); transform-origin: 0 0;
  font-family: var(--sf); color: var(--tp); text-align: left; -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(60% 34% at 8% 6%, var(--glow-a), transparent 70%),
    radial-gradient(55% 32% at 100% 34%, var(--glow-b), transparent 70%),
    radial-gradient(70% 40% at 30% 100%, var(--glow-c), transparent 70%),
    var(--bg);
}
.ios svg { display: block; }
.ios b { font-weight: 600; }
.ios small { display: block; }
/* Status bar: the time and the icons centred in the ears either side of the Dynamic Island (126pt wide, centred) */
.sb { display: grid; grid-template-columns: 1fr 126px 1fr; justify-items: center; align-items: center; height: 54px; padding: 6px 8px 0; font-size: 17px; line-height: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.sb > span:first-child { grid-column: 1; } .sb-r { grid-column: 3; }
.sb-r { display: flex; gap: 6px; align-items: center; }
.sb-r i { display: block; background: var(--tp); border-radius: 2px; }
.sig { width: 17px; height: 11px; clip-path: polygon(0 100%, 22% 100%, 22% 70%, 0 70%, 0 100%, 26% 100%, 26% 50%, 48% 50%, 48% 100%, 52% 100%, 52% 28%, 74% 28%, 74% 100%, 78% 100%, 78% 0, 100% 0, 100% 100%); }
.wifi { width: 15px; height: 11px; border-radius: 15px 15px 0 0 !important; clip-path: polygon(50% 100%, 0 25%, 100% 25%); }
.bat { width: 25px; height: 12px; border-radius: 4px !important; box-shadow: inset 0 0 0 1px var(--tp); background: linear-gradient(90deg, var(--tp) 70%, transparent 70%) !important; opacity: .95; }

/* Home (ClearHomeView): toolbar, the line, its chips, then the Today shelf */
.tb { display: flex; justify-content: space-between; align-items: center; height: 44px; padding: 0 16px; margin-top: 2px; }
.gb { display: flex; align-items: center; justify-content: center; gap: 18px; height: 44px; min-width: 44px; padding: 0 12px; border-radius: 22px;
  background: var(--glass); box-shadow: inset 0 0 0 .5px var(--glass-line); color: var(--tp); }
.gb svg { width: 20px; height: 20px; }
.home { padding: 24px 16px 0; }
.read { margin: 0; font-size: 24px; line-height: 30px; font-weight: 400; letter-spacing: -0.01em; }
.read .sym { display: inline-block; vertical-align: -2px; color: var(--accent-t); }
.read .sym svg { width: 22px; height: 22px; }
.chips { display: flex; gap: 8px; margin-top: 24px; }
.chip-g { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 18px; font-size: 15px;
  background: var(--glass); box-shadow: inset 0 0 0 .5px var(--glass-line); }
.chip-g svg { width: 16px; height: 16px; }
.shelf-h { display: flex; justify-content: space-between; align-items: baseline; margin: 32px 0 16px; }
.shelf-h b { font-size: 17px; line-height: 22px; }
.shelf-h span { font-size: 13px; color: var(--ts); }
.ios .card { border-radius: 24px; background: var(--card-bg); box-shadow: inset 0 0 0 .5px var(--card-line); }
.list { padding: 0 16px; }
.lr { position: relative; display: grid; grid-template-columns: 56px 1fr 48px; gap: 16px; align-items: center; padding: 12px 0; }
.lr + .lr::before { content: ""; position: absolute; top: 0; left: 72px; right: 0; height: .5px; background: var(--sep); }
.lr .t { font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; }
.lr .w { min-width: 0; }
.lr .w b { display: block; font-size: 17px; line-height: 22px; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lr .w small { font-size: 13px; line-height: 18px; color: var(--ts); margin-top: 4px; }
.lr .w small.soon { color: var(--soon); }
.map { display: block; width: 48px; height: 48px; border-radius: 8px; overflow: hidden; }
.map svg, .map-wide svg { width: 100%; height: 100%; }
.glyph { display: grid; place-items: center; color: var(--ts); }
.glyph svg { width: 14px; height: 14px; }

/* A plan card (PlanTray) over the home */
.dim { position: absolute; inset: 0; background: var(--dim); }
.sheet { position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 16px 24px; border-radius: 40px;
  background: var(--sheet); box-shadow: inset 0 .5px 0 var(--glass-line); display: flex; flex-direction: column; gap: 24px; }
.tray-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: -8px; }
.badge { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--on-accent); }
.badge svg { width: 15px; height: 15px; }
.tray-day { flex: 1; margin-left: 8px; font-size: 15px; font-weight: 600; color: var(--ts); }
.tray-x { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--fill); color: var(--ts); }
.tray-x svg { width: 12px; height: 12px; }
.tray-title { margin: 0; font-size: 34px; line-height: 41px; font-weight: 700; letter-spacing: -0.01em; }
.when { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; }
.tile-d { display: grid; place-items: center; align-content: center; width: 56px; height: 56px; border-radius: 16px; background: var(--date-tile); }
.tile-d small { font-size: 12px; line-height: 16px; font-weight: 600; color: var(--accent-t); }
.tile-d b { font-size: 22px; line-height: 26px; font-variant-numeric: tabular-nums; }
.when > span:last-child b { display: block; font-size: 17px; line-height: 22px; }
.when > span:last-child small { font-size: 16px; line-height: 21px; color: var(--ts); margin-top: 4px; font-variant-numeric: tabular-nums; }
.place { border-radius: 24px; overflow: hidden; background: var(--fill); }
.map-wide { display: block; height: 136px; }
.place-t { padding: 16px; }
.place-t b { display: block; font-size: 17px; line-height: 22px; }
.place-t small { font-size: 13px; line-height: 18px; color: var(--ts); margin-top: 4px; }
.facts { display: grid; gap: 16px; padding: 16px; border-radius: 24px; background: var(--fill); }
.fact { display: flex; align-items: center; gap: 8px; font-size: 16px; line-height: 21px; color: var(--ts); }
.fi { display: grid; place-items: center; width: 24px; }
.fi svg { width: 16px; height: 16px; }
.primary { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 24px;
  background: var(--pill); color: var(--on-pill); font-size: 17px; font-weight: 600; }
.primary svg { width: 18px; height: 18px; }

/* Your first week (FirstWeekSheet) */
.nav { display: flex; justify-content: flex-end; align-items: center; height: 44px; padding: 0 16px; }
.done { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 18px; font-size: 17px; font-weight: 600;
  color: var(--accent-t); background: var(--glass); box-shadow: inset 0 0 0 .5px var(--glass-line); }
.large { margin: 4px 0 0; padding: 0 16px; font-size: 34px; line-height: 41px; font-weight: 700; letter-spacing: -0.01em; }
.week { display: grid; gap: 24px; padding: 16px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { display: grid; gap: 4px; padding: 16px; }
.si { color: var(--accent); }
.si svg { width: 14px; height: 14px; }
.stat b { font-size: 34px; line-height: 41px; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat small { font-size: 13px; line-height: 18px; color: var(--ts); }
.early { margin: 0; display: grid; grid-template-columns: 24px 1fr; gap: 8px; font-size: 16px; line-height: 21px; color: var(--ts); }
.ei svg { width: 17px; height: 17px; margin-top: 2px; }
.week .shelf-h { margin: 0 0 -16px; }
.rows { padding: 4px 16px; }
.rr { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 48px; padding: 8px 0; }
.rr + .rr { box-shadow: inset 0 .5px 0 var(--sep); }
.rr b { display: block; font-size: 17px; line-height: 22px; font-weight: 400; }
.rr small { font-size: 13px; line-height: 18px; color: var(--ts); margin-top: 4px; }
.chev { color: var(--ts); }
.chev svg { width: 12px; height: 12px; }

/* The hero's screen holds the app itself */


/* Lock Screen (Prepare): the Next up widget under the clock, the trip's Live Activity below */
.lock { position: absolute; inset: 0; color: #FFFFFF; padding: 56px 16px 0; text-align: center; font-family: var(--sf);
  background:
    radial-gradient(90% 40% at 50% 104%, rgba(250, 188, 160, 1), transparent 75%),
    radial-gradient(60% 40% at 10% 90%, rgba(222, 160, 190, .9), transparent 72%),
    radial-gradient(60% 40% at 90% 8%, rgba(180, 164, 250, .9), transparent 70%),
    linear-gradient(180deg, #8E7BE6 0%, #B999CB 55%, #F2B3A3 100%); }
.lock .date { opacity: 1; }
.lock .la { background: rgba(26, 22, 46, .72); border-color: rgba(255, 255, 255, .12); }
.lock .la-row { gap: var(--s2); align-items: center; }
.lock .la-h { font-size: 20px; line-height: 24px; align-items: center; }
.lock .la-h .la-ic svg { width: 20px; height: 20px; }
.lock .la-title { margin-top: 4px; font-size: 15px; font-weight: 500; }
.lock .la-title > span { opacity: .85; }
.lock .la-why { margin-top: 0; }
.lock .la-cd { font-size: 17px; white-space: nowrap; flex: none; }
.la-title { display: flex; justify-content: space-between; align-items: center; gap: var(--s1); }
.la-steps { display: flex; gap: 8px; flex: none; }
.la-steps i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(169, 155, 255, .25); color: #BBB0FF; }
.la-steps svg { width: 14px; height: 14px; display: block; }
.tl2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 12px 0 var(--s1); }
.tl2-bar { position: relative; display: block; height: 8px; border-radius: 4px; overflow: hidden; background: rgba(255, 255, 255, .18); }
.tl2-bar b { position: absolute; inset: 0 27% 0 0; border-radius: 4px; background: #A99BFF; }
.tl2-bar.drive { background: rgba(255, 255, 255, .5); }
.drain { position: relative; height: 8px; margin: 12px 0 var(--s1); border-radius: 4px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.drain i { position: absolute; inset: 0 30% 0 0; border-radius: 4px; background: #A99BFF; }
.lw { width: 168px; margin: 8px auto 0; text-align: left; }
.lw-s { display: flex; align-items: center; gap: 4px; font-size: 12px; line-height: 16px; font-weight: 600; }
.lw-ic svg { display: block; width: 13px; height: 13px; }
.lw-t { font-size: 15px; line-height: 20px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lw-d { font-size: 13px; line-height: 16px; opacity: .85; }
.lock .la { margin-top: var(--s8); }

/* Your day (DaySheet), with Handled quietly open */
.nav-day { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; height: 52px; padding: 0 16px; text-align: center; }
.nd-t b { display: block; font-size: 17px; line-height: 22px; }
.nd-t small { font-size: 12px; line-height: 16px; color: var(--ts); }
.nav-x { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 22px; background: var(--glass); box-shadow: inset 0 0 0 .5px var(--glass-line); color: var(--tp); }
.nav-x svg { width: 16px; height: 16px; }
.bar { position: relative; z-index: 2; background: var(--bar); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 .5px 0 var(--sep); }
.day { padding: 0 16px; margin-top: -136px; }
.day .shelf-h:first-child { visibility: hidden; }
.day .shelf-h { margin: 24px 0 12px; }
.hq { padding: 0 16px; }
.hq-sum { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-size: 16px; line-height: 21px; }
.qr { display: grid; grid-template-columns: 40px 1fr 12px; gap: 16px; align-items: baseline; padding: 12px 0; box-shadow: inset 0 .5px 0 var(--sep); }
.qt { font-size: 13px; line-height: 18px; color: var(--ts); font-variant-numeric: tabular-nums; }
.qw span { display: block; font-size: 16px; line-height: 21px; }
.qw small { margin-top: 4px; font-size: 13px; line-height: 18px; color: var(--ts); }
.qr .chev, .hq-sum .chev { align-self: center; color: var(--tt); }

/* A receipt (ReceiptDetailView): inset grouped list */
.nav-in { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; height: 44px; padding: 0 16px; text-align: center; }
.nav-in b { font-size: 17px; }
.nav-back { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 22px; background: var(--glass); box-shadow: inset 0 0 0 .5px var(--glass-line); color: var(--tp); }
.nav-back svg { width: 18px; height: 18px; }
.grouped { padding: 16px 16px 0; }
.g-card { border-radius: 24px; background: var(--card-bg); box-shadow: inset 0 0 0 .5px var(--card-line); padding: 4px 16px; }
.g-head { padding: 16px; }
.rc-title { font-size: 22px; line-height: 28px; font-weight: 700; }
.rc-why { margin-top: 8px; font-size: 16px; line-height: 21px; color: var(--ts); }
.rc-head { margin-top: 8px; font-size: 13px; line-height: 18px; color: var(--ts); }
.g-h { margin: 24px 16px 8px; font-size: 13px; line-height: 18px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; color: var(--ts); }
.ev { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 12px 0; }
.ev + .ev, .dc + .dc { box-shadow: inset 0 .5px 0 var(--sep); }
.tag { padding: 2px 8px; border-radius: 8px; background: var(--date-tile); font-size: 12px; line-height: 16px; font-weight: 600; color: var(--accent-t); }
.ev-t { display: block; font-size: 16px; line-height: 21px; }
.ev small { margin-top: 4px; font-size: 12px; line-height: 16px; color: var(--tt); font-variant-numeric: tabular-nums; }
.dc { padding: 12px 0; font-size: 16px; line-height: 21px; }
.dc b { font-size: 17px; line-height: 22px; }
.dc.muted { color: var(--ts); }


/* Dusk, dark: follows the visitor's dark mode */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ios { --bg: #0B0914; --tp: #F2F0F8; --ts: #B1ABC4; --tt: #77718B;
  --accent: #A99BFF; --accent-t: #BBB0FF; --on-accent: #140F26; --pill: #DCD5FF; --on-pill: #140F26; --soon: #F0B54A;
  --glow-a: rgba(53, 42, 110, .72); --glow-b: rgba(34, 48, 106, .72); --glow-c: rgba(74, 42, 94, .72);
  --glass: rgba(255, 255, 255, .08); --glass-line: rgba(255, 255, 255, .16); --card-bg: rgba(22, 19, 37, .82); --card-line: rgba(255, 255, 255, .08);
  --sep: rgba(255, 255, 255, .14); --fill: rgba(242, 240, 248, .06); --sheet: #1A1730; --dim: rgba(0, 0, 0, .4); --date-tile: rgba(169, 155, 255, .14);
  --map-bg: #23262E; --map-park: #1E3A2E; --map-water: #1B2B45; --map-road: #3A3F4C; --map-street: #30343F; --map-pin-ring: #0B0914; --bar: rgba(11, 9, 20, .86); } }
:root[data-theme="dark"] .ios { --bg: #0B0914; --tp: #F2F0F8; --ts: #B1ABC4; --tt: #77718B;
  --accent: #A99BFF; --accent-t: #BBB0FF; --on-accent: #140F26; --pill: #DCD5FF; --on-pill: #140F26; --soon: #F0B54A;
  --glow-a: rgba(53, 42, 110, .72); --glow-b: rgba(34, 48, 106, .72); --glow-c: rgba(74, 42, 94, .72);
  --glass: rgba(255, 255, 255, .08); --glass-line: rgba(255, 255, 255, .16); --card-bg: rgba(22, 19, 37, .82); --card-line: rgba(255, 255, 255, .08);
  --sep: rgba(255, 255, 255, .14); --fill: rgba(242, 240, 248, .06); --sheet: #1A1730; --dim: rgba(0, 0, 0, .4); --date-tile: rgba(169, 155, 255, .14);
  --map-bg: #23262E; --map-park: #1E3A2E; --map-water: #1B2B45; --map-road: #3A3F4C; --map-street: #30343F; --map-pin-ring: #0B0914; --bar: rgba(11, 9, 20, .86); }
/* Map tiles in either mode */
.ios .m-bg { fill: var(--map-bg); } .ios .m-park { fill: var(--map-park); } .ios .m-water { fill: var(--map-water); }
.ios .m-road { stroke: var(--map-road); } .ios .m-street { stroke: var(--map-street); }
.ios .m-pin { fill: var(--accent); stroke: var(--map-pin-ring); }
/* Panel: privacy, one badge and four plain facts, in iOS's inset-grouped style */
.panel-privacy { align-items: center; }
.pv-badge {
  display: grid; place-items: center; width: var(--s8); height: var(--s8); border-radius: 22.5%; margin-bottom: var(--s3); color: #FFFFFF;
  background: linear-gradient(180deg, var(--dawn-top), #C3A0CC 55%, #F4B6A4); box-shadow: 0 16px 32px -12px rgba(58, 45, 120, .45);
}
.pv-badge svg { width: var(--s4); height: var(--s4); }
.pv-list { list-style: none; margin: 0; padding: 0 var(--s2); width: 100%; max-width: 400px; border-radius: var(--s3); background: var(--card); }
.pv-list li { position: relative; display: grid; grid-template-columns: var(--s4) 1fr; gap: var(--s2); align-items: center; padding: 12px 0; }
.pv-list li + li::before { content: ""; position: absolute; top: 0; left: var(--s6); right: 0; height: 1px; background: var(--line); }
.pv-ic { display: grid; place-items: center; width: var(--s4); height: var(--s4); border-radius: 50%; background: var(--paper-2); color: var(--violet); }
.pv-ic svg { width: 18px; height: 18px; }
.pv-list b { display: block; font-size: 15px; line-height: 20px; font-weight: 600; }
.pv-list small { display: block; font-size: 13px; line-height: 20px; color: var(--ink-3); }

/* ---------- Manifesto ---------- */
.manifesto { padding-block: var(--section); border-top: 1px solid var(--line); }
.manifesto .inner { max-width: 704px; }
.manifesto h2 { margin-top: var(--s2); }
.manifesto p { margin-top: var(--s3); font-size: var(--lede); line-height: var(--lede-lh); color: var(--ink-2); }
.manifesto .taps { margin-top: var(--s4); color: var(--ink-3); }
.manifesto .sign { color: var(--ink); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { padding-block: var(--section); border-top: 1px solid var(--line); }
.faq .grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--s8); }
.faq .side p { margin-top: var(--s2); color: var(--ink-2); }
.faq .side a { color: var(--violet); }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s2); padding: var(--s3) 0;
  list-style: none; cursor: pointer; font-size: 20px; line-height: 28px; font-weight: 700;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: var(--s3); text-align: center; font-weight: 400; font-size: 24px; color: var(--ink-3); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding-bottom: var(--s3); max-width: 60ch; color: var(--ink-2); }

/* ---------- Closing band ---------- */
.close { padding-block: var(--section); text-align: center; }
.big-mark { display: inline-block; margin-bottom: var(--s3); filter: drop-shadow(0 8px 24px rgba(75, 59, 168, 0.25)); }
.big-mark .mark { display: block; width: 72px; height: auto; }
.big-mark .mark path { fill: url(#frost); }
.close h2 { font-size: var(--display); line-height: var(--display-lh); font-weight: 700; letter-spacing: -0.04em; }
.close .lede { margin-top: var(--s3); font-size: var(--lede); line-height: var(--lede-lh); font-weight: 500; }

/* ---------- Footer ---------- */
footer { padding-block: var(--s4); border-top: 1px solid var(--line); font-size: var(--small); line-height: var(--small-lh); color: var(--ink-3); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s2) var(--s4); }
footer nav { display: flex; flex-wrap: wrap; gap: var(--s3); }
footer a { text-decoration: none; color: var(--ink-2); }
footer a:hover { color: var(--ink); }

/* ---------- Legal pages ---------- */
.band { padding: calc(var(--header) + var(--s10)) 0 var(--s8); }
.band .inner, .doc .inner { max-width: 704px; margin-inline: auto; }
.band h1 { font-size: 56px; line-height: 64px; font-weight: 700; letter-spacing: -0.035em; }
.band .meta { margin-top: var(--s2); font-size: 15px; line-height: var(--s3); font-weight: 500; color: rgba(255, 255, 255, 0.92); }
.doc { padding-block: var(--s6) var(--s16); }
.doc .summary { padding: var(--s3); border-radius: var(--s3); background: var(--paper-2); }
.doc .summary h2 { margin-top: 0; }
.doc h2 { margin-top: var(--s6); font-size: 24px; line-height: 32px; font-weight: 700; letter-spacing: -0.015em; }
.doc h3 { margin-top: var(--s4); font-size: 18px; line-height: 28px; font-weight: 700; }
.doc p, .doc li { color: var(--ink-2); }
.doc h2 + p, .doc h3 + p, .doc p + p, .doc h2 + .tbl, .doc h2 + .copyline { margin-top: var(--s1); }
.doc ul { margin: var(--s2) 0 0; padding-left: 20px; display: grid; gap: var(--s1); }
.doc a { color: var(--violet); }
.doc .tbl { margin-top: var(--s2); overflow-x: auto; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 24px; }
.doc th, .doc td { padding: 12px var(--s2) 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.doc th { color: var(--ink); font-weight: 700; }
.doc code { font-family: var(--mono); font-size: .92em; }
.copyline { display: inline-flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin-top: var(--s2); padding: 4px 4px 4px var(--s3); border-radius: var(--s3); background: var(--card); border: 1px solid var(--line); }
.copyline span { font-weight: 700; color: var(--ink); user-select: all; }
.copyline button { height: 40px; padding: 0 var(--s2); border: 0; border-radius: 20px; background: var(--pill); color: var(--pill-ink); font: 500 15px/20px var(--font); cursor: pointer; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .t2 { left: calc(50% - 320px); }
  .t5 { left: calc(50% + 256px); }
  .features { gap: var(--s12); }
  .row { grid-template-columns: 1fr; gap: var(--s5); }
  .row:nth-child(even) .copy { order: 0; }
  .copy p { max-width: 60ch; }
}
@media (max-width: 743px) {
  .top nav a:not(.keep) { display: none; }
  .hero { padding-top: calc(var(--header) + var(--s5)); }
  .br { display: none; }
  .join { flex-direction: column; }
  .join input, .join button { flex: none; width: 100%; }
  .stage { height: 400px; margin-top: var(--s6); }
  .phone { width: 272px; margin-left: -136px; --k: .6045; }
  .screen { padding-top: 48px; }
  .time { font-size: 72px; line-height: 72px; }
  .la { padding: 12px; }
  .la-h { font-size: 15px; gap: 4px; }
  .la-ic svg { width: 15px; height: 15px; }
  .la-cd { font-size: 15px; }
  .tile { display: none; }
  .features { gap: var(--s10); }
  .row, .faq .grid { grid-template-columns: 1fr; gap: var(--s4); }
  .row:nth-child(even) .copy { order: 0; }
  .panel { padding: var(--s2); border-radius: var(--s3); height: auto; min-height: 504px; }
  .panel-device { padding: 0; height: 504px; min-height: 0; }
  .mini-phone { width: 300px; --k: .6667; }
  .pv-list { padding: 0 12px; }
  .tl li { height: auto; min-height: var(--s8); padding-block: 12px; }
  .bk-grid { grid-template-columns: 1fr 1fr; }
  .flow3 { grid-template-columns: 1fr; }
  .arrow { justify-self: center; transform: rotate(90deg); }
  .band { padding: calc(var(--header) + var(--s5)) 0 var(--s5); }
  .band h1 { font-size: 40px; line-height: 48px; }
  .doc { padding-block: var(--s4) var(--s10); }
}

/* ---------- At a glance: the extra-large widget (ExtraLargeDay) through one day, on iPhone and iPhone Duo ---------- */
.glance { padding-block: var(--section) 0; text-align: center; }
.g-head { max-width: 720px; margin: 0 auto; }
.g-head h2 { margin-top: var(--s2); }
.g-head p { margin: var(--s3) auto 0; max-width: 60ch; color: var(--ink-2); }
.g-ctl { display: flex; flex-direction: column; align-items: center; gap: var(--s2); margin-top: var(--s6); }
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 24px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { height: 40px; padding: 0 var(--s2); border: 0; border-radius: 20px; background: none; color: var(--ink-2); font: 500 15px/20px var(--font); cursor: pointer; }
.seg button.on { background: var(--card, #FFFFFF); color: var(--ink); box-shadow: 0 1px 2px rgba(22, 19, 31, .12), 0 0 0 1px var(--line); }
.seg button:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }

.g-stage { position: relative; height: 736px; margin-top: var(--s6); font-family: var(--sf);
  /* Dawn, light: the widget's own gradient (glow into the background) and its ink */
  --gw-surface: #FFFFFF; --gw-tp: #16131F; --gw-ts: #5B5470; --gw-tt: #878299;
  --gw-acct: #4F3EBB; --gw-go: #1A6E2C; --gw-onacc: #FFFFFF;
  --gw-h0: #5B48D0; --gw-h2: #8A4A9E; --gw-h3: #AE4C72;
  --gw-wsky: radial-gradient(160% 90% at 50% 104%, rgba(250, 188, 160, .55), transparent 70%), radial-gradient(120% 90% at 85% 6%, rgba(180, 164, 250, .5), transparent 70%), radial-gradient(90% 80% at 6% 18%, rgba(136, 118, 226, .45), transparent 70%), linear-gradient(180deg, #A596EE 0%, #DCC8E2 55%, #F8D6CB 100%);
  --gw-sky: radial-gradient(90% 40% at 50% 104%, rgba(250, 188, 160, 1), transparent 75%), radial-gradient(60% 40% at 10% 90%, rgba(222, 160, 190, .9), transparent 72%), radial-gradient(60% 40% at 90% 8%, rgba(180, 164, 250, .9), transparent 70%), linear-gradient(180deg, #8E7BE6 0%, #B999CB 55%, #F2B3A3 100%); }
.gdev { position: absolute; top: 0; left: 50%; transform: translateX(-50%); transition: opacity .4s ease, visibility .4s; filter: drop-shadow(0 32px 48px rgba(58, 45, 120, .22)); }
.g-iphone { width: 360px; aspect-ratio: 1350 / 2760; --gk: .8; --gr: 46px; }
.g-duo { width: 900px; aspect-ratio: 1546 / 1124; top: 41px; --gk: .9328; --gr: 40px; }
.g-stage[data-device="iphone"] .g-duo, .g-stage[data-device="duo"] .g-iphone { opacity: 0; visibility: hidden; }
.g-screen { position: absolute; z-index: 1; overflow: hidden; clip-path: inset(0 round var(--gr)); }
.g-iphone .g-screen { left: 5.333%; top: 2.5%; width: 89.333%; height: 95%; border-radius: 14% / 6.85%; }
.g-duo .g-screen { left: 3.88%; top: 5.34%; width: 92.24%; height: 89.32%; border-radius: 4.8% / 6.83%; }
.gcanvas { position: absolute; left: 0; top: 0; width: 402px; height: 874px; transform: scale(var(--gk)); transform-origin: 0 0; text-align: left; -webkit-font-smoothing: antialiased; }
.g-duo .gcanvas { width: 890px; height: 626px; }
.gs { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; transition: opacity .35s ease; --tp: #FFFFFF; color: #FFFFFF; }
.gs.on { opacity: 1; }
.g-duo .sb { display: flex; justify-content: space-between; height: 32px; padding: 8px 28px 0; font-size: 15px; }

/* The widget: a stack of cards on Dawn's sky (ExtraLargeDay, Oct 21) */
.xl { position: absolute; left: 16px; top: 60px; width: 370px; height: 644px; border-radius: 22px; overflow: hidden; color: var(--gw-tp); background: var(--gw-wsky); }
.g-duo .xl { left: 57px; top: 40px; width: 331px; height: 547px; }
.xl-in { display: flex; flex-direction: column; gap: 16px; padding: 16px; }
.wc { padding: 16px; border-radius: 16px; background: var(--gw-surface); }
.wc[hidden], .dr[hidden], .nr[hidden] { display: none; }
.c-hd { padding: 12px 16px; }
.hd { display: flex; align-items: center; gap: 6px; font-size: 15px; line-height: 20px; font-weight: 600; white-space: nowrap; }
.hd b { font-weight: 600; }
.hd > i { font-style: normal; color: var(--gw-ts); }
.hd-w { display: inline-flex; align-items: center; gap: 4px; }
.hd-w svg { width: 18px; height: 18px; color: var(--gw-ts); }
.hd-w svg [stroke], .hd-w svg[stroke] { stroke-width: 2; }
.mo-s { font-size: 12px; line-height: 16px; font-weight: 600; color: var(--gw-acct); }
.mo-s.go { color: var(--gw-go); }
.mo-l { margin-top: 8px; font-size: 20px; line-height: 25px; font-weight: 400; letter-spacing: -.01em; }
.mo-l b { font-weight: 600; }
.mo-m { margin-top: 8px; font-size: 15px; line-height: 20px; color: var(--gw-ts); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch { display: flex; justify-content: space-between; font-size: 12px; line-height: 16px; color: var(--gw-ts); }
.ch b { font-weight: 600; }
.c-day, .c-nd { display: grid; gap: 12px; }
.dr { display: grid; grid-template-columns: 16px 1fr; gap: 12px; align-items: stretch; }
.mk { display: grid; place-items: center; color: var(--gw-ts); }
.mk svg { width: 14px; height: 14px; }
.dr .bar { width: 4px; height: 100%; border-radius: 2px; background: color-mix(in srgb, var(--gw-tt) 55%, transparent); }
.ring { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--gw-ts); }
.dw { min-width: 0; }
.dw b { display: block; font-size: 15px; line-height: 20px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dw small { display: block; margin-top: 1px; font-size: 12px; line-height: 16px; color: var(--gw-ts); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dw small i { font-style: normal; margin: 0 4px; }
.dw em { font-style: normal; }
.dw em.leave { color: var(--gw-go); } .dw em.moved { color: var(--gw-acct); }
.dr.free { align-items: center; }
.fr { font-size: 13px; line-height: 18px; color: var(--gw-ts); }
.nr { display: grid; grid-template-columns: 16px 1fr auto; gap: 12px; align-items: center; }
.nr .mk { align-self: start; padding-top: 3px; }
.btn { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 14px; font-size: 12px; font-weight: 600; white-space: nowrap;
  color: var(--gw-acct); background: color-mix(in srgb, var(--gw-acct) 14%, transparent); }
.btn.pro { color: var(--gw-onacc); background: var(--gw-acct); }
.n1 b { display: block; font-size: 15px; line-height: 20px; font-weight: 600; }
.n1 small { display: flex; align-items: center; gap: 4px; margin-top: 1px; font-size: 12px; line-height: 16px; color: var(--gw-ts); }
.n1 small svg { width: 12px; height: 12px; }
.btns { display: flex; gap: 8px; }
.c-rh { display: grid; gap: 12px; }
.rgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.r1 { display: grid; gap: 4px; justify-items: start; }
.r1 small { font-size: 12px; line-height: 16px; font-weight: 600; color: var(--gw-ts); white-space: nowrap; }
.rg { position: relative; display: grid; place-items: center; width: 32px; height: 32px; }
.rg svg { position: absolute; inset: 0; width: 32px; height: 32px; transform: rotate(-90deg); fill: none; stroke-width: 4; stroke-linecap: round; }
.rg circle { stroke: currentColor; } .rg .t { opacity: .18; } .rg .a { opacity: .45; }
.rg b { position: relative; font-size: 11px; line-height: 13px; font-weight: 700; color: var(--gw-tp); font-variant-numeric: tabular-nums; }
.rg.h0 { color: var(--gw-h0); } .rg.h2 { color: var(--gw-h2); } .rg.h3 { color: var(--gw-h3); }

/* Around the widget: Apple's iOS 27 Home Screen, to its measurements (Apple Design Resources, "Examples/Home Screen"):
   a 4-column grid at x 30, 92.67 apart, rows 100.33 apart from y 90; 64 pt icons, labels 5 pt under them; page dots
   above a 368 x 103 dock. Two pages: the apps, then one swipe to the widget. */
.pages, .page { position: absolute; inset: 0; }
/* iOS dims the wallpaper in dark mode */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .gs::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .3); } }
:root[data-theme="dark"] .gs::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .3); }
.page { transition: transform .65s cubic-bezier(.32, .72, 0, 1); }
.p2 { transform: translateX(-100%); }
.g-stage[data-page="2"] .p1 { transform: translateX(100%); }
.g-stage[data-page="2"] .p2 { transform: none; }
.g-stage.instant .page, .g-stage.instant .pill i { transition: none; }
.cell { position: absolute; width: 64px; }
.ap { position: relative; display: block; width: 64px; height: 64px; }
.ai { position: relative; display: block; width: 64px; height: 64px; background-size: 64px 64px; font-style: normal; }
.ap small { position: absolute; left: -9px; top: 69px; width: 82px; text-align: center; white-space: nowrap; font-size: 12px; line-height: 14px; font-weight: 500;
  color: #FFFFFF; text-shadow: 0 1px 2px rgba(40, 28, 72, .4); }
.ai .cd, .ai .cn { position: absolute; left: 0; right: 0; text-align: center; font-family: var(--sf); }
.ai .cd { top: 7px; font-size: 11.5px; line-height: 14px; font-weight: 600; color: #EB4C47; }
.ai .cn { top: 17px; font-size: 38px; line-height: 44px; font-weight: 300; letter-spacing: -.02em; color: #000000; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ai .cn { color: #FFFFFF; } }
:root[data-theme="dark"] .ai .cn { color: #FFFFFF; }
.pill { position: absolute; left: 50%; top: 712px; height: 30px; padding: 0 12px; transform: translateX(-50%); display: flex; align-items: center; gap: 9px;
  border-radius: 15px; background: rgba(255, 255, 255, .2); box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .45); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .45); transition: background .3s; }
.g-stage[data-page="1"] .pill i:last-child, .g-stage[data-page="2"] .pill i:first-child { background: #FFFFFF; }
.dock { position: absolute; left: 17px; top: 754px; width: 368px; height: 103px; display: flex; align-items: center; gap: 24.67px; padding: 0 19px; border-radius: 40px;
  background: rgba(255, 255, 255, .2); box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .5), inset 0 1px 1px rgba(255, 255, 255, .35);
  backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4); }
.g-duo .pill { left: 651px; top: 470px; }
.g-duo .dock { left: 467px; top: 513px; }

.g-caps { display: grid; justify-items: center; gap: var(--s2); min-height: 56px; margin: var(--s4) auto 0; max-width: 52ch; }
.gcap { display: none; color: var(--ink-2); }
.gcap.on { display: block; }

/* Dawn, dark */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .g-stage {
  --gw-surface: #241F33; --gw-tp: #EDE9F5; --gw-ts: #A79FBF; --gw-tt: #77718B;
  --gw-acct: #BBB0FF; --gw-go: #3DD66B; --gw-onacc: #140F26;
  --gw-h0: #A99BFF; --gw-h2: #D2A6E6; --gw-h3: #F2A3BE;
  --gw-wsky: radial-gradient(160% 90% at 50% 104%, rgba(160, 96, 84, .9), transparent 70%), radial-gradient(110% 100% at 12% 88%, rgba(112, 64, 98, .8), transparent 70%), radial-gradient(120% 90% at 85% 6%, rgba(72, 58, 140, .85), transparent 70%), radial-gradient(90% 80% at 6% 18%, rgba(52, 40, 120, .85), transparent 70%), linear-gradient(180deg, #2A2160 0%, #4A3566 55%, #7A4E58 100%);
  --gw-sky: radial-gradient(90% 40% at 50% 104%, rgba(90, 50, 60, .8), transparent 75%), radial-gradient(60% 40% at 90% 8%, rgba(52, 40, 120, .7), transparent 70%), linear-gradient(180deg, #0F0C22 0%, #1C1636 55%, #2E1D33 100%); } }
:root[data-theme="dark"] .g-stage {
  --gw-surface: #241F33; --gw-tp: #EDE9F5; --gw-ts: #A79FBF; --gw-tt: #77718B;
  --gw-acct: #BBB0FF; --gw-go: #3DD66B; --gw-onacc: #140F26;
  --gw-h0: #A99BFF; --gw-h2: #D2A6E6; --gw-h3: #F2A3BE;
  --gw-wsky: radial-gradient(160% 90% at 50% 104%, rgba(160, 96, 84, .9), transparent 70%), radial-gradient(110% 100% at 12% 88%, rgba(112, 64, 98, .8), transparent 70%), radial-gradient(120% 90% at 85% 6%, rgba(72, 58, 140, .85), transparent 70%), radial-gradient(90% 80% at 6% 18%, rgba(52, 40, 120, .85), transparent 70%), linear-gradient(180deg, #2A2160 0%, #4A3566 55%, #7A4E58 100%);
  --gw-sky: radial-gradient(90% 40% at 50% 104%, rgba(90, 50, 60, .8), transparent 75%), radial-gradient(60% 40% at 90% 8%, rgba(52, 40, 120, .7), transparent 70%), linear-gradient(180deg, #0F0C22 0%, #1C1636 55%, #2E1D33 100%); }

@media (max-width: 743px) {
    .g-stage { height: 613px; }
  .g-iphone { width: 300px; --gk: .6667; --gr: 38px; }
  .g-duo { width: 358px; top: 176px; --gk: .371; --gr: 16px; }
}
@media (prefers-reduced-motion: reduce) { .gs, .gdev { transition: none; } }
.replay { height: 40px; padding: 0 var(--s2); border: 0; border-radius: 20px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink-2); font: 500 15px/20px var(--font); cursor: pointer; }
.replay:hover { color: var(--ink); }
.replay:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .page, .pill i { transition: none; } }

/* iPhone Duo: closed, then open. The open frame is split at its hinge; the lower half carries the cover display on its
   back (Apple's "Outer Closed Landscape" frame, hinge at its lower edge) and swings down to open. */
.fold { position: absolute; inset: 0; perspective: 3000px; }
.half { position: absolute; inset: 0; }
.h-right { clip-path: inset(0 0 0 50%); }
.h-left { transform-origin: 50% 50%; transform-style: preserve-3d; }
.h-left .face { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); }
.cover { position: absolute; left: 50%; top: 1.18%; width: 50.89%; aspect-ratio: 787 / 1097; transform-origin: 0 50%; transform: rotateY(180deg); visibility: hidden; }
.g-duo.back-up .cover { visibility: visible; }
.g-duo.back-up .h-left .face, .g-duo.closed .h-right { visibility: hidden; }
.c-screen { position: absolute; z-index: 1; left: 5.59%; top: 3.69%; width: 88.76%; height: 92.57%; overflow: hidden; border-radius: 3% / 2% ; border-top-right-radius: 12% 8.4%; border-bottom-right-radius: 12% 8.4%; }
.ccanvas { position: absolute; left: 0; top: 0; width: 466px; height: 678px; transform: scale(var(--ck)); transform-origin: 0 0;
  background: url("wallpaper.jpg") center / cover; color: #FFFFFF; font-family: var(--sf); text-align: center; }
.g-duo { --ck: .8724; }
@media (max-width: 1023px) { .g-duo { width: 680px; top: 121px; --gk: .7048; --gr: 30px; --ck: .6592; } }
@media (max-width: 743px) { .g-duo { width: 358px; top: 176px; --gk: .371; --gr: 16px; --ck: .347; } }

/* The cover display, locked: iOS 27's Lock Screen as Apple shows it on iPhone Duo (apple.com/iphone-duo): the date, a tall
   Liquid Glass clock the wallpaper shows through, a status glyph in a glass circle, the flashlight and camera stacked at
   the lower right; under the clock, Arkin's Lock Screen widget. */
.ccanvas::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(20, 14, 40, .12), rgba(20, 14, 40, 0) 40%, rgba(20, 14, 40, .12)); }
.ccanvas > * { position: absolute; }
/* Measured on apple.com/iphone-duo's cover Lock Screen, in the cover's points (466 x 678): the date 16 pt semibold
   centred at 45; the tall Liquid Glass clock 167 x 190 from 64; Wi-Fi in a 28 pt ring (here under the camera, which
   the frame shows); flashlight and camera in 34 pt glass circles at the lower right; the home bar. */
.c-stat { left: 404px; top: 76px; display: grid; place-items: center; width: 28px; height: 28px; color: #FFFFFF; }
.c-stat svg { width: 13px; height: 13px; }
.c-stat svg.ring { position: absolute; inset: 0; width: 28px; height: 28px; }
.c-date { left: 0; right: 0; top: 35px; font-size: 16px; line-height: 20px; font-weight: 600; color: #FFFFFF; text-shadow: 0 1px 2px rgba(30, 20, 60, .2); }
.c-clock { left: 149.5px; top: 64px; width: 167px; height: 190px; overflow: visible; opacity: .93; filter: drop-shadow(0 2px 6px rgba(30, 20, 60, .14)); }
.c-wid { left: 50%; top: 278px; width: 180px; transform: translateX(-50%); display: grid; gap: 0; text-align: left; color: #FFFFFF; text-shadow: 0 1px 2px rgba(30, 20, 60, .25); }
.c-wid .cw-s { display: flex; align-items: center; gap: 4px; font-size: 12px; line-height: 16px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.c-wid .cw-s svg { width: 14px; height: 14px; }
.c-wid b { font-size: 16px; line-height: 21px; font-weight: 600; }
.c-wid span:last-child { font-size: 13px; line-height: 17px; color: rgba(255, 255, 255, .85); }
.c-btn { left: 411px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #FFFFFF;
  background: rgba(255, 255, 255, .2); box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .55), inset 0 1px 1px rgba(255, 255, 255, .4);
  backdrop-filter: blur(12px) saturate(1.5); -webkit-backdrop-filter: blur(12px) saturate(1.5); }
.c-btn svg { width: 16px; height: 16px; }
.c-torch { top: 554px; } .c-cam { top: 602px; }
.c-home { left: 50%; bottom: 8px; width: 134px; height: 5px; margin-left: -67px; border-radius: 3px; background: #FFFFFF; }

/* The open Duo's Home Screen, landscape, as Apple shows it */
.g-duo .d-stat { position: absolute; right: 22px; top: 14px; width: 56px; display: grid; justify-items: center; gap: 6px; color: #FFFFFF; font-size: 15px; line-height: 20px; font-weight: 600; }
.d-wifi { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
.d-wifi svg { width: 15px; height: 15px; }
.d-dock { position: absolute; right: 18px; top: 182px; width: 64px; padding: 8px 0; display: grid; justify-items: center; gap: 12px; border-radius: 26px;
  background: rgba(255, 255, 255, .2); box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .5), inset 0 1px 1px rgba(255, 255, 255, .35);
  backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4); }
.d-dock .ap, .d-dock .ai { width: 50px; height: 50px; background-size: 50px 50px; }
.d-search { position: absolute; right: 30px; bottom: 18px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #FFFFFF;
  background: rgba(255, 255, 255, .2); box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .5); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.d-search svg { width: 18px; height: 18px; }
.d-dots { position: absolute; left: 445px; width: 330px; bottom: 26px; display: flex; justify-content: center; gap: 8px; }
.d-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.d-dots i:first-child { background: #FFFFFF; }

/* The hero's phone: the same iPhone as the Duo section's, a page of apps, then one swipe to the widget */
.hero .g-stage { height: 544px; margin-top: var(--s8); }
.hero .g-iphone { width: 304px; --gk: .6756; --gr: 39px; }
@media (max-width: 743px) {
  .hero .g-stage { height: 400px; margin-top: var(--s6); }
  .hero .g-iphone { width: 272px; --gk: .6045; --gr: 35px; }
}
.glance .g-stage { margin-top: var(--s6); height: 736px; }
@media (max-width: 1023px) { .glance .g-stage { height: 736px; } }
@media (max-width: 743px) { .glance .g-stage { height: 613px; } }

/* The app's screens on Dawn (Palette.dawn, the app's only look since Oct 20): the sky behind, solid cards on it,
   Dawn's inks; words straight on the sky take its own inks (Theme.Sky). */
.ios {
  --bg: #DCC8E2; --tp: #16131F; --ts: #5B5470; --tt: #878299;
  --accent: #5B48D0; --accent-t: #4F3EBB; --on-accent: #FFFFFF; --pill: #E2DCFA; --on-pill: #16131F;
  --card-bg: #FFFFFF; --card-line: rgba(22, 19, 31, .04); --sep: rgba(60, 60, 67, .16); --fill: rgba(22, 19, 31, .05);
  --date-tile: rgba(91, 72, 208, .12); --sky-ink: #22184F; --sky-ink2: #3A2E6A;
  --glass: rgba(255, 255, 255, .5); --glass-line: rgba(255, 255, 255, .6); --bar: rgba(232, 220, 238, .82);
  background: radial-gradient(160% 60% at 50% 104%, rgba(250, 188, 160, .55), transparent 70%), radial-gradient(120% 50% at 85% 6%, rgba(180, 164, 250, .5), transparent 70%),
    radial-gradient(90% 50% at 6% 18%, rgba(136, 118, 226, .45), transparent 70%), linear-gradient(180deg, #A596EE 0%, #DCC8E2 55%, #F8D6CB 100%);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ios {
  --bg: #4A3566; --tp: #EDE9F5; --ts: #A79FBF; --tt: #77718B;
  --accent: #A99BFF; --accent-t: #BBB0FF; --on-accent: #140F26; --pill: #DCD5FF; --on-pill: #16131F;
  --card-bg: #241F33; --card-line: rgba(255, 255, 255, .06); --sep: rgba(255, 255, 255, .12); --fill: rgba(237, 233, 245, .06);
  --date-tile: rgba(169, 155, 255, .14); --sky-ink: #FFFFFF; --sky-ink2: #F1ECF8;
  --glass: rgba(255, 255, 255, .12); --glass-line: rgba(255, 255, 255, .2); --bar: rgba(42, 33, 96, .82);
  background: radial-gradient(160% 60% at 50% 104%, rgba(160, 96, 84, .9), transparent 70%), radial-gradient(110% 60% at 12% 88%, rgba(112, 64, 98, .8), transparent 70%),
    radial-gradient(120% 50% at 85% 6%, rgba(72, 58, 140, .85), transparent 70%), linear-gradient(180deg, #2A2160 0%, #4A3566 55%, #7A4E58 100%); } }
:root[data-theme="dark"] .ios {
  --bg: #4A3566; --tp: #EDE9F5; --ts: #A79FBF; --tt: #77718B;
  --accent: #A99BFF; --accent-t: #BBB0FF; --on-accent: #140F26; --pill: #DCD5FF; --on-pill: #16131F;
  --card-bg: #241F33; --card-line: rgba(255, 255, 255, .06); --sep: rgba(255, 255, 255, .12); --fill: rgba(237, 233, 245, .06);
  --date-tile: rgba(169, 155, 255, .14); --sky-ink: #FFFFFF; --sky-ink2: #F1ECF8;
  --glass: rgba(255, 255, 255, .12); --glass-line: rgba(255, 255, 255, .2); --bar: rgba(42, 33, 96, .82);
  background: radial-gradient(160% 60% at 50% 104%, rgba(160, 96, 84, .9), transparent 70%), radial-gradient(110% 60% at 12% 88%, rgba(112, 64, 98, .8), transparent 70%),
    radial-gradient(120% 50% at 85% 6%, rgba(72, 58, 140, .85), transparent 70%), linear-gradient(180deg, #2A2160 0%, #4A3566 55%, #7A4E58 100%); }
.ios .sb, .ios .nav-in, .ios .nav-day, .ios .nd-t b, .ios .shelf-h b, .ios .g-h { color: var(--sky-ink); }
.ios .nd-t small, .ios .shelf-h span, .ios .g-h { color: var(--sky-ink2); }
.ios .sb-r i { background: var(--sky-ink); }
.ios .bat { box-shadow: inset 0 0 0 1px var(--sky-ink); background: linear-gradient(90deg, var(--sky-ink) 70%, transparent 70%) !important; }
.ios .nav-back, .ios .nav-x { color: var(--sky-ink); }
.ios .tag { background: none; padding: 0; color: var(--tp); }

/* The widget's container in Liquid Glass (iOS's clear Home Screen look): the wallpaper shows through, frosted; the cards
   stay solid. Keeps the widget apart from the Dawn sky behind the hero. */
.xl { background: rgba(255, 255, 255, .07); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .5), inset 0 1px 0 rgba(255, 255, 255, .35); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .xl { background: rgba(20, 16, 34, .12); box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .22), inset 0 1px 0 rgba(255, 255, 255, .14); } }
:root[data-theme="dark"] .xl { background: rgba(20, 16, 34, .12); box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .22), inset 0 1px 0 rgba(255, 255, 255, .14); }
@media (max-width: 389px) { .g-duo { width: 288px; top: 200px; --gk: .2985; --gr: 13px; --ck: .279; } }
.g-head h2 { font-size: var(--h2); line-height: var(--h2-lh); font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; }
@media (max-width: 743px) { .glance .g-stage { height: 320px; } .g-duo { top: 30px; } }
@media (max-width: 389px) { .glance .g-stage { height: 280px; } .g-duo { top: 36px; } }

footer .fine { flex: 0 0 100%; max-width: none; padding-right: 20%; margin: 0; font-size: 12px; line-height: 16px; color: var(--ink-3); }
@media (max-width: 743px) { footer .fine { padding-right: 0; } }

/* ───────── Motion. One ease (expo-out), things arrive once and then hold still.
   Only on when html.m is set: motion allowed, IntersectionObserver present, and the page script ran. */
:root { --ease: cubic-bezier(.19, 1, .22, 1); }
.roll { display: inline-grid; vertical-align: top; overflow: clip; font-variant-numeric: tabular-nums; }
.roll > span { grid-area: 1 / 1; }
.roll > span:first-child { visibility: hidden; }
.hq-rows { display: grid; grid-template-rows: 1fr; }
.hq-rows > div { min-height: 0; overflow: hidden; }
.join button { transition: transform .15s ease, translate .15s ease, box-shadow .2s, filter .2s; }
.join button:hover:not(:disabled) { translate: 0 -1px; }

/* Headings rise line by line from behind a mask. */
.m .lm:not(.split) { opacity: 0; }
.lm .w { display: inline-block; clip-path: inset(-.3em -.2em -.22em -.2em); }
.lm .w > span { display: inline-block; }
.m .lm.split .w > span { translate: 0 135%; }
.m .lm.split.in .w > span { translate: none; transition: translate 1.1s var(--ease) var(--d, 0s); }

/* Everything else fades up a little, once. */
.m .rv, .m .hv { opacity: 0; translate: 0 16px; }
.m .rv.rise { translate: 0 40px; }
.m .rv.in, .m .hero.in .hv { opacity: 1; translate: none; transition: opacity .9s var(--ease) var(--d, 0s), translate 1.2s var(--ease) var(--d, 0s); }
.m .hero .lede { --d: .32s; } .m .hero .join-slot { --d: .42s; } .m .hero .proof { --d: .52s; }

/* Hero: the apps drift in, the phone rises into place. */
.m .hero .tile { opacity: 0; scale: .86; }
.m .hero.in .tile { opacity: 1; scale: 1; transition: opacity 1s var(--ease) var(--d), scale 1.4s var(--ease) var(--d); }
.m .hero .t1 { --d: .55s; } .m .hero .t3 { --d: .65s; } .m .hero .t2 { --d: .75s; } .m .hero .t5 { --d: .85s; } .m .hero .t4 { --d: .95s; }
.m .hero .hero-phone { opacity: 0; translate: 0 48px; }
.m .hero.in .hero-phone { opacity: 1; translate: none; transition: opacity 1s var(--ease) .25s, translate 1.4s var(--ease) .25s; }
/* After the swipe, the widget's cards settle in, top to bottom. */
.m .hero .g-stage:not(.landed) .p2 .xl-in > * { opacity: 0; translate: 0 14px; }
.m .hero .g-stage.landed .p2 .xl-in > * { transition: opacity .8s var(--ease), translate 1s var(--ease); }
.m .hero .g-stage.landed .p2 .xl-in > :nth-child(2) { transition-delay: .07s; }
.m .hero .g-stage.landed .p2 .xl-in > :nth-child(3) { transition-delay: .14s; }
.m .hero .g-stage.landed .p2 .xl-in > :nth-child(4) { transition-delay: .21s; }
.m .hero .g-stage.landed .p2 .xl-in > :nth-child(5) { transition-delay: .28s; }
.m .hero .g-stage.landed .p2 .xl-in > :nth-child(6) { transition-delay: .35s; }

/* Notice: what Arkin saw arrives, one thing at a time. */
.m [data-story="notice"] .ev { opacity: 0; translate: 0 8px; }
.m [data-story="notice"].play .ev { opacity: 1; translate: none; transition: opacity .7s var(--ease) .7s, translate .9s var(--ease) .7s; }
.m [data-story="notice"].play .ev + .ev { transition-delay: 1.3s; }

/* Prepare: one minute passes. The clock and the countdown move together, and the bar fills a little. */
.m [data-story="prepare"] .roll > span { transition: translate .7s var(--ease), opacity .5s var(--ease), filter .5s var(--ease); }
.m [data-story="prepare"] .roll > span:first-child { visibility: visible; }
.m [data-story="prepare"] .roll > span + span { translate: 0 100%; opacity: 0; filter: blur(3px); }
.m [data-story="prepare"].play .roll > span:first-child { translate: 0 -100%; opacity: 0; filter: blur(3px); }
.m [data-story="prepare"].play .roll > span + span { translate: none; opacity: 1; filter: none; }
.m [data-story="prepare"] .tl2-bar b { right: 30%; transition: right 1s var(--ease); }
.m [data-story="prepare"].play .tl2-bar b { right: 27%; }

/* Receipts: Handled quietly opens. */
.m [data-story="receipts"] .hq-rows { grid-template-rows: 0fr; }
.m [data-story="receipts"] .hq-sum .chev svg { rotate: -90deg; }
.m [data-story="receipts"] .hq-rows > div { opacity: 0; }
.m [data-story="receipts"].play .hq-rows { grid-template-rows: 1fr; transition: grid-template-rows .8s var(--ease) .9s; }
.m [data-story="receipts"].play .hq-rows > div { opacity: 1; transition: opacity .6s var(--ease) 1.05s; }
.m [data-story="receipts"].play .hq-sum .chev svg { rotate: none; transition: rotate .5s var(--ease) .9s; }

/* FAQ: answers open and close smoothly. */
details { overflow: clip; }
summary::after { transition: transform .4s var(--ease); }
details.shut summary::after { transform: none; }

/* Signed up: the form gives way to a confirmation in the same space, so nothing below moves. */
.join-slot { display: grid; width: 100%; max-width: 448px; margin: var(--s5) auto 0; }
.join-slot > * { grid-area: 1 / 1; align-self: center; }
.join-slot .join { margin: 0; max-width: none; }
.joined { display: flex; align-items: center; justify-content: center; gap: var(--s1); margin: 0; font-size: var(--small); line-height: var(--small-lh); font-weight: 500; text-wrap: balance; visibility: hidden; opacity: 0; }
.dawn .joined { color: #FFFFFF; }
.tick { flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: #34C759 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.join-slot.done .join { visibility: hidden; opacity: 0; }
.join-slot.done .joined { visibility: visible; opacity: 1; }
.joined-in .hero .proof, .joined-in.m .hero.in .proof, .joined-in .close [data-note], .joined-in.m .close [data-note].in { visibility: hidden; opacity: 0; transition: opacity .45s var(--ease), visibility 0s linear .45s; }
.m .join-slot .join, .m .join-slot .joined { transition: opacity .45s var(--ease), visibility 0s linear .45s; }
.m .join-slot.done .joined { transition: opacity .6s var(--ease) .2s, visibility 0s; }
.m .join-slot.done .tick { animation: tick-in .7s var(--ease) .2s both; }
@keyframes tick-in { from { scale: .5; opacity: 0; } }
/* Phones: the form is two rows tall, so the confirmation stacks in that space, check above, two balanced lines below. */
@media (max-width: 743px) { .joined { flex-direction: column; gap: var(--s1); text-align: center; } .joined > span:last-child { max-width: 26ch; } }
