/* ScrollBox — website styles. Colors and type match the app (Shared/Theme in the app project). */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/BricolageGrotesque.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("fonts/Figtree.ttf") format("truetype");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --paper: #F5F1E8;
  --surface: #FFFFFF;
  --line: #DDD6C8;
  --ink: #1C2638;
  --ink-brand: #23344F;
  --muted: #5E6676;
  --sky: #9DB7D9;
  --sky-deep: #5F7FA8;
  --coral: #E2725B;
  --coral-text: #B4452F;
  --button: #23344F;
  --on-button: #F5F1E8;
  --panel: #E6ECF5;
  --soft: #5F7FA8;
  --shadow: 0 18px 40px rgba(28, 38, 56, 0.14);
  --shadow-soft: 0 6px 18px rgba(28, 38, 56, 0.08);

  /* The app's colors for each kind of card. */
  --kind-note: #7A5A00;
  --kind-link: #2E5AAC;
  --kind-voice: #0F766E;
  --kind-spot: #B42318;
  --kind-sketch: #9A4A12;
  --kind-recipe: #23344F;
  --kind-file: #5E6676;
  --kind-photo: #6440B0;
  --kind-music: #9B1C5A;
  --kind-book: #55691A;
  --kind-movie: #8A2BA8;
  --kind-tv: #0B6E99;
  --kind-product: #3F3DB0;

  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --text: "Figtree", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --radius: 22px;
  --gutter: 20px;
  --max: 1160px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #10161F;
    --surface: #1B2433;
    --line: #2C3747;
    --ink: #F5F1E8;
    --muted: #A7B0BF;
    --coral-text: #F09A82;
    --button: #9DB7D9;
    --on-button: #10161F;
    --panel: #22303F;
    --soft: #9DB7D9;
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    --shadow-soft: 0 6px 18px rgba(0, 0, 0, 0.35);
    --kind-note: #F2D27A;
    --kind-link: #9CC3F5;
    --kind-voice: #5EEAD4;
    --kind-spot: #FDA29B;
    --kind-sketch: #F7B27A;
    --kind-recipe: #9DB7D9;
    --kind-file: #A7B0BF;
    --kind-photo: #C3B1F2;
    --kind-music: #F5A3C7;
    --kind-book: #CFE38F;
    --kind-movie: #E3A6F5;
    --kind-tv: #7FD3F5;
    --kind-product: #B3B5F7;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #10161F;
  --surface: #1B2433;
  --line: #2C3747;
  --ink: #F5F1E8;
  --muted: #A7B0BF;
  --coral-text: #F09A82;
  --button: #9DB7D9;
  --on-button: #10161F;
  --panel: #22303F;
  --soft: #9DB7D9;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 6px 18px rgba(0, 0, 0, 0.35);
  --kind-note: #F2D27A;
  --kind-link: #9CC3F5;
  --kind-voice: #5EEAD4;
  --kind-spot: #FDA29B;
  --kind-sketch: #F7B27A;
  --kind-recipe: #9DB7D9;
  --kind-file: #A7B0BF;
  --kind-photo: #C3B1F2;
  --kind-music: #F5A3C7;
  --kind-book: #CFE38F;
  --kind-movie: #E3A6F5;
  --kind-tv: #7FD3F5;
  --kind-product: #B3B5F7;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sky-deep); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; }
.skip:focus { left: 12px; z-index: 10; background: var(--surface); padding: 8px 14px; border-radius: 10px; }

h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(44px, 7.4vw, 84px); line-height: 0.98; font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.04; font-weight: 800; letter-spacing: -0.03em; }
h3 { font-size: 21px; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
.eyebrow {
  font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--coral-text);
}
.lede { font-size: clamp(18px, 2.1vw, 21px); color: var(--muted); max-width: 40ch; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--muted); font-size: 18px; max-width: 60ch; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.nav .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand span { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.035em; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav .store-badge { margin-left: 8px; }
.nav .store-badge img { height: 40px; width: auto; }
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav .store-badge { margin-left: auto; }
}

/* App Store badge: Apple's official artwork, unaltered. */
.store-badge { display: inline-block; border-radius: 10px; line-height: 0; }
.store-badge img { height: 54px; width: auto; }
.badge-light { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .badge-dark { display: none; }
  :root:not([data-theme="light"]) .badge-light { display: inline; }
}
:root[data-theme="dark"] .badge-dark { display: none; }
:root[data-theme="dark"] .badge-light { display: inline; }

/* Hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 96px); position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 22px; }
/* The headline is a whole sentence (Nov 20, 2026), so it is set smaller than a two-line h1. */
.hero h1 { font-size: clamp(36px, 5.3vw, 62px); line-height: 1.03; letter-spacing: -0.03em; text-wrap: balance; }
.hero h1 .soft { color: var(--soft); }
.promises { display: grid; gap: 10px; margin: 6px 0 4px; padding: 0; list-style: none; }
.promises li {
  display: flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: 17px;
}
.promises .tick {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--button); color: var(--on-button);
}
.promises .tick svg { width: 15px; height: 15px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.cta-note { font-size: 15px; color: var(--muted); }
.price-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-weight: 700; font-size: 14px;
}
.price-chip b { color: var(--coral-text); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { order: 2; }
}

/* The phone and its screen, drawn like the app. */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 560px; }
.phone {
  position: relative; width: 300px; height: 620px; padding: 10px;
  border-radius: 52px; background: #101114;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,0.04) inset;
}
.screen {
  position: relative; height: 100%; border-radius: 43px; overflow: hidden;
  background: var(--paper); padding: 46px 16px 0;
}
.island { position: absolute; top: 12px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 20px; background: #101114; }
.app-head { display: flex; align-items: center; gap: 7px; }
.app-head img { width: 22px; height: 22px; }
.app-head span { font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: -0.035em; }
.switch { display: flex; gap: 3px; padding: 3px; margin-top: 12px; border-radius: 11px; background: color-mix(in srgb, var(--line) 75%, transparent); }
.switch span { flex: 1; text-align: center; padding: 5px 0; border-radius: 8px; font-size: 12px; font-weight: 700; }
.switch .on { background: var(--surface); box-shadow: 0 1px 3px rgba(28,38,56,0.14); }
.switch-row { display: flex; gap: 6px; margin-top: 12px; }
.switch-row .switch { margin-top: 0; flex: 1; }
.switch-row .switch.cols { flex: none; }
.switch.cols span { flex: none; width: 30px; display: grid; place-items: center; transition: background .3s; }
.switch.cols svg { width: 13px; height: 13px; }
.app-tools { margin-left: auto; display: flex; gap: 6px; }
.app-tools i { width: 30px; height: 30px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); color: var(--ink); display: grid; place-items: center; }
.app-tools svg { width: 14px; height: 14px; }
.chips { display: flex; gap: 5px; margin-top: 10px; overflow: hidden; }
.chips span { flex: none; height: 25px; padding: 0 9px; border-radius: 13px; display: grid; place-items: center; font-size: 10.5px; font-weight: 600; white-space: nowrap; background: var(--surface); border: 1px solid var(--line); }
.chips .on { background: var(--button); color: var(--on-button); border-color: transparent; }
.mini-day { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--display); font-weight: 800; font-size: 15px; margin: 12px 2px 8px; }
.mini-day small { font-family: var(--text); font-size: 9px; font-weight: 500; color: var(--muted); }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mini-card {
  border-radius: 13px; background: var(--surface); border: 1px solid var(--line);
  overflow: hidden; height: 106px; display: flex; flex-direction: column;
}
.mini-card .pic { flex: none; height: 52px; }
.mini-card .txt { padding: 6px 8px; display: grid; gap: 2px; }
.mini-card .k { font-size: 8.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.mini-card .t { font-size: 10.5px; font-weight: 700; line-height: 1.25; }
.mini-card.note .txt { padding: 9px; gap: 5px; }
.mini-card.note .t { font-family: var(--display); font-size: 13px; line-height: 1.2; }
.icon-panel { display: grid; place-items: center; }
.icon-panel svg { width: 22px; height: 22px; }
/* Home's add dock, as in the app: round search, then your three favorites and All types,
   over a fade so the cards slip away under it. */
.app-bottom { position: absolute; z-index: 1; left: 13px; right: 13px; bottom: 24px; display: flex; gap: 7px; align-items: center; }
.app-bottom::before { content: ""; position: absolute; z-index: -1; left: -13px; right: -13px; top: -20px; bottom: -24px; background: linear-gradient(transparent, var(--paper) 50%); }
.app-search { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); color: var(--ink); display: grid; place-items: center; box-shadow: 0 3px 8px rgba(0,0,0,0.12); }
.app-search svg { width: 14px; height: 14px; }
.dock { flex: 1; display: flex; gap: 3px; padding: 3px; border-radius: 17px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 4px 10px rgba(0,0,0,0.14); }
.dock span { flex: 1; height: 36px; display: grid; place-items: center; align-content: center; gap: 2px; font-size: 8px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.dock svg { width: 13px; height: 13px; color: var(--k); }
.dock .all { --k: var(--on-button); border-radius: 13px; background: var(--button); color: var(--on-button); }

/* Dark mode inside the phones and the stages is the app's deep blue, not the page's near-black. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .screen,
  :root:not([data-theme="light"]) .stage { --paper: #1B2940; --surface: #26375A; --line: #384D72; --on-button: #23344F; }
}
:root[data-theme="dark"] .screen,
:root[data-theme="dark"] .stage { --paper: #1B2940; --surface: #26375A; --line: #384D72; --on-button: #23344F; }

/* Pictures drawn in CSS, like the mockups on the design canvas. */
.pic-waterfall { background: linear-gradient(90deg, #2F4A3A 0 42%, #E8EEF2 42% 50%, #FFFFFF 50% 53%, #C9D6DE 53% 56%, #2F4A3A 56%), #2F4A3A; }
.pic-walnut { background: repeating-linear-gradient(170deg, #6B4A2E 0 9px, #8C6440 9px 11px), #6B4A2E; }
.pic-pottery { background: radial-gradient(circle at 50% 58%, #5F7FA8 0 22%, transparent 23%), linear-gradient(#E3EBF5 0 82%, #C9D6E6 82%); }
.pic-map { background:
  linear-gradient(115deg, transparent 0 46%, #F7D9A8 46% 52%, transparent 52%),
  linear-gradient(25deg, transparent 0 60%, #FFFFFF 60% 64%, transparent 64%),
  radial-gradient(circle at 70% 40%, #B42318 0 7%, transparent 8%),
  #DCE8D2; }

/* Cards flying into the phone: collecting while you scroll. */
.incoming { position: absolute; inset: 0; pointer-events: none; }
.fly {
  position: absolute; left: 50%; top: 50%;
  display: flex; align-items: center; gap: 9px;
  padding: 9px 13px 9px 9px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  font-size: 13px; font-weight: 700; white-space: nowrap;
  opacity: 0;
  animation: fly-in 7.5s cubic-bezier(.5, 0, .3, 1) infinite;
}
.fly .dot { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; }
.fly .dot svg { width: 16px; height: 16px; }
.fly small { display: block; font-size: 10.5px; font-weight: 600; color: var(--muted); }
.fly-1 { --x: -190px; --y: -250px; animation-delay: 0s; }
.fly-2 { --x: 190px; --y: -170px; animation-delay: 1.9s; }
.fly-3 { --x: -200px; --y: 60px; animation-delay: 3.8s; }
.fly-4 { --x: 190px; --y: 150px; animation-delay: 5.6s; }
@keyframes fly-in {
  0% { opacity: 0; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(1); }
  8% { opacity: 1; }
  30% { opacity: 1; transform: translate(calc(-50% + var(--x) * 0.92), calc(-50% + var(--y) * 0.92)) scale(1); }
  52% { opacity: 0; transform: translate(-50%, -185px) scale(0.4); }
  100% { opacity: 0; transform: translate(-50%, -185px) scale(0.4); }
}
@media (max-width: 900px) {
  .fly-1 { --x: -120px; --y: -300px; }
  .fly-2 { --x: 120px; --y: -250px; }
  .fly-3 { --x: -130px; --y: 290px; }
  .fly-4 { --x: 120px; --y: 320px; }
  .hero-visual { min-height: 700px; }
}
@media (max-width: 520px) { .fly { display: none; } .hero-visual { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .fly { display: none; } }

/* Tabs, for the kinds of things to save and the stories. Without scripts every panel shows,
   one after another, and the tab rows hide. */
html:not(.js) .kind-tabs, html:not(.js) .story-tabs { display: none; }
html:not(.js) .kpanel + .kpanel, html:not(.js) .spanel + .spanel { margin-top: 56px; }
.scroll-row { position: relative; scrollbar-width: none; }
.scroll-row::-webkit-scrollbar { display: none; }
.scroll-row.more-right { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); }
.scroll-row.more-left { -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px); mask-image: linear-gradient(90deg, transparent, #000 48px); }
.scroll-row.more-left.more-right { -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); }

/* What you can save: one chip per kind, like the app's filter chips. */
.kind-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 clamp(28px, 4vw, 44px); padding: 0; scroll-margin-top: 92px; }
@media (max-width: 760px) {
  .kind-tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; }
}
.ktab {
  flex: none; display: inline-flex; align-items: center; gap: 7px;
  min-height: 46px; padding: 0 13px 0 7px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font: inherit; font-size: 15px; font-weight: 700; white-space: nowrap; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.ktab .ki { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--k) 14%, transparent); color: var(--k); }
.ktab .ki svg { width: 17px; height: 17px; }
.ktab:hover { border-color: color-mix(in srgb, var(--k) 50%, var(--line)); }
.ktab[aria-selected="true"] { background: var(--button); color: var(--on-button); border-color: transparent; }
.ktab[aria-selected="true"] .ki { background: var(--surface); }

.kpanel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; scroll-margin-top: 92px; }
.kpanel:focus-visible { border-radius: 28px; }
@media (max-width: 900px) { .kpanel { grid-template-columns: 1fr; } }
.kcopy { display: grid; gap: 14px; align-content: start; }
.kname { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--k); }
.kname svg { width: 18px; height: 18px; }
.kcopy h3, .scopy h3 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.06; font-weight: 800; letter-spacing: -0.025em; }
.kcopy > p { color: var(--muted); font-size: 18px; }
.kpoints { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.kpoints li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--muted); font-size: 16px; }
.kpoints svg { width: 20px; height: 20px; margin-top: 2px; color: var(--k); }
.kpoints b { color: var(--ink); font-weight: 700; }
.kpoints a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }
.kseen { font-size: 15px; color: var(--muted); }
.kseen a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }
.kfine { margin-top: 28px; }

/* Stories: a moment, start to finish. */
.band { background: color-mix(in srgb, var(--sky) 20%, var(--paper)); }
.stories { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 28px; align-items: start; }
.story-tabs { display: grid; gap: 6px; position: sticky; top: 92px; scroll-margin-top: 92px; }
.stab {
  display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: center; width: 100%;
  padding: 10px 14px 10px 10px; border-radius: 18px; border: 1px solid transparent;
  background: transparent; color: var(--ink); font: inherit; text-align: left; cursor: pointer;
  transition: background .2s, border-color .2s;
}
.stab .si { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: color-mix(in srgb, var(--k) 16%, transparent); color: var(--k); }
.stab .si svg { width: 21px; height: 21px; }
.stab b { display: block; font-family: var(--display); font-size: 17px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.stab small { display: block; margin-top: 1px; font-size: 13.5px; line-height: 1.35; color: var(--muted); }
.stab:hover { background: color-mix(in srgb, var(--surface) 55%, transparent); }
.stab[aria-selected="true"] { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow-soft); }
@media (max-width: 960px) {
  .stories { grid-template-columns: 1fr; gap: 16px; }
  .story-tabs { position: static; display: flex; gap: 8px; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 8px; }
  .stab { flex: none; width: 232px; background: color-mix(in srgb, var(--surface) 50%, transparent); border-color: var(--line); }
}
.spanel { container-type: inline-size; background: var(--surface); border: 1px solid var(--line); border-radius: 30px; padding: clamp(14px, 2.4vw, 26px); scroll-margin-top: 92px; }
.spanel-in { display: grid; gap: 26px; }
@container (min-width: 700px) {
  .spanel-in { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: center; gap: 32px; }
}
.scopy { display: grid; gap: 18px; padding: 4px 6px 6px; }
.scopy h3 { font-size: clamp(26px, 3vw, 34px); }
.beats { margin: 0; padding: 0; list-style: none; display: grid; }
.beats li { position: relative; display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding-bottom: 18px; }
.beats li:last-child { padding-bottom: 0; }
.beats li:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 34px; bottom: 4px; width: 2px; border-radius: 1px; background: var(--line); }
.beats .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--k); color: var(--surface); font-size: 14px; font-weight: 800; }
.beats h4 { margin: 4px 0 3px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--k); }
.beats p { color: var(--muted); font-size: 16px; }
.beats q { color: var(--ink); font-weight: 600; quotes: "\201C" "\201D"; }
.uses { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.uses a {
  display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 13px; border-radius: 17px;
  background: var(--paper); border: 1px solid var(--line); color: var(--ink);
  font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none; text-decoration: none;
}
.uses a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--k); }
.uses a:hover { border-color: color-mix(in srgb, var(--k) 60%, var(--line)); }

/* The stage: a soft backdrop, tinted with the kind's color, for the drawn cards. */
.stage {
  --stage-top: #DCE6F3; --stage-bottom: #EFE7D8;
  --map-land: #E9EEE4; --map-road: #FFFFFF; --map-major: #F7D9A8; --map-water: #BFD7EA; --map-park: #CFE3C0;
  --soil: #E8E0C9; --vine: rgba(85, 105, 26, 0.5);
  position: relative; min-height: 460px; padding: clamp(22px, 4vw, 40px) clamp(14px, 3vw, 30px);
  border-radius: 28px; overflow: hidden;
  display: grid; justify-items: center; align-content: center; gap: 14px;
  background: radial-gradient(120% 85% at 0% 0%, color-mix(in srgb, var(--k) 22%, transparent), transparent 62%), linear-gradient(160deg, var(--stage-top), var(--stage-bottom));
}
.spanel .stage { min-height: 440px; }
@media (max-width: 600px) { .stage, .spanel .stage { min-height: 0; } }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .stage { --stage-top: #22345A; --stage-bottom: #131C2C; --map-land: #24324A; --map-road: #3A4C68; --map-major: #6A5A3C; --map-water: #1B3A5C; --map-park: #2A4636; --soil: #2C3628; --vine: rgba(170, 200, 110, 0.32); }
}
:root[data-theme="dark"] .stage { --stage-top: #22345A; --stage-bottom: #131C2C; --map-land: #24324A; --map-road: #3A4C68; --map-major: #6A5A3C; --map-water: #1B3A5C; --map-park: #2A4636; --soil: #2C3628; --vine: rgba(170, 200, 110, 0.32); }

/* Cards drawn like the app's. */
.dc { position: relative; z-index: 1; width: min(316px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); font-size: 14px; line-height: 1.4; color: var(--ink); text-align: left; }
.dc-pic { position: relative; height: 150px; }
.dc-body { padding: 14px 16px 16px; display: grid; gap: 9px; align-content: start; }
.dc-kind { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--k); }
.dc-kind svg { width: 14px; height: 14px; flex: none; }
.dc-title { display: block; font-family: var(--display); font-size: 20px; font-weight: 800; line-height: 1.15; letter-spacing: -0.015em; }
.dc-meta { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.dc-text { font-size: 13.5px; }
.dc-serif { font-family: "New York", "Iowan Old Style", Charter, Georgia, serif; font-size: 14px; line-height: 1.55; }
.dc-row { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.dc-row svg { flex: none; width: 15px; height: 15px; color: var(--k); }
.dc-row.muted { color: var(--muted); }
.dc-row.muted svg { color: var(--muted); }
.dc-row .bell { color: var(--coral-text); }
.dc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dc-chip { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 13px; background: color-mix(in srgb, var(--k) 14%, transparent); color: var(--k); font-size: 12px; font-weight: 700; white-space: nowrap; }
.dc-chip svg { width: 12px; height: 12px; }
.dc-chip.plain { background: var(--paper); border: 1px solid var(--line); color: var(--ink); }
.dc-chip.plain svg { color: var(--muted); }
.dc-chip.hot { background: var(--coral); color: #2A0F06; }
.dc-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.dc-btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 13px; border-radius: 16px; background: var(--button); color: var(--on-button); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.dc-btn svg { width: 12px; height: 12px; }
.dc-btn.plain { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.dc-split { height: 1px; background: var(--line); margin: 2px 0; }
.dc.tuck { width: min(176px, 56%); justify-self: end; margin: -56px 2% 0 0; z-index: 2; }
.duo { display: grid; width: min(340px, 100%); justify-items: start; }
.duo > .dc:first-child { width: min(300px, 92%); }
.stars { color: var(--k); font-size: 15px; letter-spacing: 1px; }
.stars span { opacity: 0.3; }

.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; font-size: 13.5px; }
.ticks li { display: flex; align-items: center; gap: 9px; }
.ticks i { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--muted) 50%, transparent); display: grid; place-items: center; }
.ticks .on i { background: var(--k); border-color: transparent; color: var(--surface); }
.ticks .on i svg { width: 10px; height: 10px; }
.ticks .on span { color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.facts span { display: grid; padding: 7px 9px; border-radius: 12px; background: var(--paper); font-size: 11px; font-weight: 600; color: var(--muted); line-height: 1.2; }
.facts b { font-family: var(--display); font-size: 17px; font-weight: 800; color: var(--ink); }
.step { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; font-size: 13.5px; }
.step .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--k); color: var(--surface); font-size: 12px; font-weight: 800; }
.step.dim { opacity: 0.5; }
.dated { display: grid; gap: 1px; padding: 9px 12px; border-radius: 12px; background: var(--paper); font-size: 13px; }
.dated small { font-size: 11px; font-weight: 700; color: var(--muted); }
.textbox { display: grid; gap: 6px; justify-items: start; padding: 10px 12px; border-radius: 14px; background: var(--paper); font-size: 12.5px; }
.textbox .dc-kind { color: var(--muted); }
.textbox .dc-btn { height: 28px; }
.wave { display: flex; align-items: center; gap: 3px; height: 36px; }
.wave i { flex: 1; height: var(--h); border-radius: 2px; background: var(--k); opacity: 0.8; }
.jot-art.on-stage { min-height: 0; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.price b { font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.price s { color: var(--muted); font-size: 13px; }
.cmp { display: grid; gap: 5px; }
.cmp span { display: flex; align-items: baseline; gap: 8px; padding: 8px 11px; border-radius: 12px; background: var(--paper); font-size: 13px; }
.cmp b { font-weight: 700; }
.cmp em { margin-left: auto; font-style: normal; font-weight: 800; }
.cmp small { padding: 2px 7px; border-radius: 8px; background: var(--coral); color: #2A0F06; font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.cmp i { display: block; font-style: normal; font-size: 11px; font-weight: 600; color: var(--muted); }
.cmp-title { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.dc-btn.wide { justify-content: center; height: 40px; border-radius: 20px; font-size: 13.5px; }

/* Maps, with pins in the app's kind colors. */
.map { position: relative; height: 220px; background:
  linear-gradient(118deg, transparent 0 44%, var(--map-major) 44% 48%, transparent 48%),
  linear-gradient(24deg, transparent 0 57%, var(--map-road) 57% 60%, transparent 60%),
  linear-gradient(162deg, transparent 0 28%, var(--map-road) 28% 30.5%, transparent 30.5%),
  linear-gradient(72deg, transparent 0 78%, var(--map-road) 78% 80%, transparent 80%),
  radial-gradient(70% 55% at 0% 100%, var(--map-water) 0 62%, transparent 63%),
  radial-gradient(26% 24% at 80% 22%, var(--map-park) 0 70%, transparent 71%),
  var(--map-land); }
.map-vines { background:
  linear-gradient(90deg, transparent 0 49%, var(--map-road) 49% 51.5%, transparent 51.5%),
  linear-gradient(0deg, transparent 0 46%, var(--map-road) 46% 50%, transparent 50%),
  repeating-linear-gradient(90deg, var(--vine) 0 3px, transparent 3px 10px),
  var(--soil); }
.map .lbl { position: absolute; padding: 2px 7px; border-radius: 6px; background: color-mix(in srgb, var(--surface) 82%, transparent); font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.mchips { position: absolute; left: 10px; top: 10px; right: 10px; display: flex; gap: 5px; overflow: hidden; }
.mchips span { flex: none; height: 24px; padding: 0 9px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); font-size: 11px; font-weight: 700; }
.mchips .on { background: var(--button); color: var(--on-button); border-color: transparent; }
.pin { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; display: grid; place-items: center; background: var(--pk, #B42318); color: #FFFFFF; border: 2.5px solid #FFFFFF; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25); }
.pin svg { width: 13px; height: 13px; }
.pin.big { width: 40px; height: 40px; margin: -20px 0 0 -20px; z-index: 1; box-shadow: 0 0 0 7px color-mix(in srgb, var(--pk) 28%, transparent), 0 4px 10px rgba(0, 0, 0, 0.25); }
.pin.big svg { width: 17px; height: 17px; }

/* Covers and pictures, drawn in CSS. Covers keep their own colors in light and dark. */
.cover-harbor { position: relative; overflow: hidden; color: #F5F1E8; background:
  radial-gradient(circle at 70% 30%, #F6E7B8 0 8%, transparent 8.5%),
  linear-gradient(90deg, transparent 0 22%, #F5F1E8 22% 25%, transparent 25%) 0 0 / 100% 62% no-repeat,
  repeating-linear-gradient(0deg, transparent 0 6px, rgba(245, 241, 232, 0.12) 6px 7px) 0 100% / 100% 40% no-repeat,
  linear-gradient(#173A5C 0 60%, #1F4E79 60%); }
.cover-harbor .ct { position: absolute; left: 9%; bottom: 17%; font-family: var(--display); font-size: 13px; font-weight: 800; letter-spacing: 0.06em; line-height: 1; }
.cover-harbor .ca { position: absolute; left: 9%; bottom: 7%; font-size: 10px; font-weight: 600; opacity: 0.85; }
.cover-book, .cover-tv { position: relative; flex: none; width: 96px; aspect-ratio: 2 / 3; border-radius: 6px; overflow: hidden; color: #F5F1E8; box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25); }
.cover-book { background: radial-gradient(circle at 50% 56%, #F6D98A 0 8%, rgba(246, 217, 138, 0.35) 9% 21%, transparent 22%), linear-gradient(90deg, transparent 0 46%, #2E3A0C 46% 54%, transparent 54%) 50% 36% / 30% 10% no-repeat, linear-gradient(#5F7520, #3B4910); }
.cover-tv { background: radial-gradient(circle, rgba(255, 214, 120, 0.85) 0 1.4px, transparent 1.9px) 0 100% / 8px 8px, linear-gradient(#0B6E99, #08405A); }
.cover-tv::before { content: ""; position: absolute; inset: 0 0 48%; background: linear-gradient(#0B6E99, #0A5E83); }
.cover-book .ct, .cover-tv .ct { position: absolute; z-index: 1; top: 8%; left: 9%; right: 9%; font-family: var(--display); font-size: 12px; font-weight: 800; line-height: 1.05; letter-spacing: 0.03em; text-transform: uppercase; }
.cover-book .ca, .cover-tv .ca { position: absolute; z-index: 1; bottom: 7%; left: 9%; font-size: 9px; font-weight: 600; }
.media-row { display: flex; gap: 14px; padding: 16px 16px 0; align-items: flex-start; }
.media-row .dc-body { padding: 0; gap: 6px; }
.media-row.small { padding: 12px 12px 0; gap: 10px; }
.media-row.small .cover-tv { width: 50px; border-radius: 4px; }
.media-row.small .cover-tv .ct { font-size: 6.5px; }
.eps { display: flex; gap: 4px; }
.eps i { flex: 1; height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--k) 25%, transparent); }
.eps i.on { background: var(--k); }

.music { --k: #F5F1E8; background: #1F4E79; border-color: rgba(245, 241, 232, 0.18); color: #F5F1E8; }
.music .dc-meta { color: rgba(245, 241, 232, 0.78); }
.music .head { display: flex; gap: 14px; align-items: center; padding: 16px 16px 0; }
.music .head .cover-harbor { flex: none; width: 112px; aspect-ratio: 1; border-radius: 8px; box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3); }
.music .dc-btn { background: #F5F1E8; color: #1F4E79; }
.music .dc-btn.plain { background: rgba(245, 241, 232, 0.14); color: #F5F1E8; border-color: transparent; }
.tracks { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; font-size: 13px; }
.tracks li { display: grid; grid-template-columns: 20px 1fr auto; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 9px; }
.tracks li > span:first-child, .tracks em { font-style: normal; opacity: 0.7; font-variant-numeric: tabular-nums; }
.tracks .playing { background: rgba(245, 241, 232, 0.13); font-weight: 700; }
.disc { width: 15px; height: 15px; border-radius: 50%; background: radial-gradient(circle, #F5F1E8 0 1.5px, #1F4E79 2px 3.5px, #0E0F12 4px); animation: spin 2.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .disc { animation: none; } }

.pic-sign { display: grid; place-items: center; background: linear-gradient(#C9B79C 0 70%, #A98E6C 70%); }
.pic-sign .chalk { width: 66%; padding: 12px 14px; border-radius: 6px; border: 7px solid #8C6440; background: #2F3B34; color: #EEF0E8; text-align: center; font-family: var(--display); line-height: 1.1; transform: rotate(-2deg); box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25); }
.pic-sign .chalk b { display: block; font-size: 17px; font-weight: 700; }
.pic-sign .chalk small { display: block; margin-top: 4px; font-family: var(--text); font-size: 10.5px; opacity: 0.8; }
.pic-bowl { overflow: hidden; background: linear-gradient(#EADFCD 0 60%, #B98B5E 60%); }
.pic-bowl::before { content: ""; position: absolute; left: 24%; right: 24%; top: 44%; height: 36%; border-radius: 0 0 50% 50% / 0 0 100% 100%; background: repeating-radial-gradient(ellipse at 50% -30%, #7A4A22 0 5px, #9C6535 5px 11px); box-shadow: 0 12px 16px rgba(60, 30, 10, 0.35); }
.pic-bowl::after { content: ""; position: absolute; left: 24%; right: 24%; top: 36%; height: 17%; border-radius: 50%; background: radial-gradient(ellipse at 50% 60%, #4E2C12 0 52%, #B07842 56% 100%); }
.pic-mugs { position: relative; overflow: hidden; background: #FFFFFF; }
.mini-card .pic-mugs .mug::after { border-width: 3px; }
.pic-mugs .mug { position: absolute; bottom: 16%; width: 21%; height: 52%; border-radius: 5px 5px 16px 16px; }
.pic-mugs .mug::after { content: ""; position: absolute; right: -34%; top: 20%; width: 38%; height: 44%; border: 6px solid; border-left: 0; border-radius: 0 50% 50% 0; }
.pic-mugs .m1 { left: 22%; background: linear-gradient(90deg, #8FA7C4, #C4D3E4 40%, #7F97B5); color: #8FA7C4; }
.pic-mugs .m2 { left: 52%; background: linear-gradient(90deg, #D9CDB8, #F1EADD 40%, #CDBFA6); color: #D9CDB8; }
.pic-mugs::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: 12%; height: 6%; border-radius: 50%; background: rgba(28, 38, 56, 0.1); }
.pic-tacos { background:
  radial-gradient(circle at 30% 48%, #C0392B 0 3%, transparent 3.5%), radial-gradient(circle at 37% 60%, #5B8C3A 0 2.5%, transparent 3%),
  radial-gradient(circle at 66% 44%, #5B8C3A 0 2.5%, transparent 3%), radial-gradient(circle at 72% 58%, #C0392B 0 3%, transparent 3.5%),
  radial-gradient(ellipse 30% 34% at 33% 54%, #7A4A2A 0 48%, #F1DCAE 50% 86%, #D6B178 88% 95%, transparent 96%),
  radial-gradient(ellipse 30% 34% at 69% 50%, #7A4A2A 0 48%, #F1DCAE 50% 86%, #D6B178 88% 95%, transparent 96%),
  repeating-linear-gradient(100deg, #4A3426 0 14px, #533B2B 14px 18px); }
.pic-shelf { overflow: hidden; background:
  linear-gradient(transparent 84%, #6E4C30 84%),
  repeating-linear-gradient(90deg, #2B2B2B 0 6px, #8A3B2F 6px 10px, #1E3A5F 10px 15px, #D9C9A3 15px 18px, #3E5C3A 18px 24px, #C2185B 24px 27px) 6% 22% / 44% 62% no-repeat,
  #E7DCC8; }
.pic-shelf .cover-harbor { position: absolute; right: 9%; bottom: 13%; height: 76%; aspect-ratio: 1; border-radius: 3px; transform: rotate(-4deg); box-shadow: 0 10px 18px rgba(0, 0, 0, 0.3); }
.pic-doc { display: grid; place-items: center; background: color-mix(in srgb, var(--kind-file) 12%, var(--paper)); }
.pic-doc .page { width: 40%; height: 84%; padding: 9% 8%; display: grid; gap: 6px; align-content: start; border-radius: 4px; background: #FFFFFF; box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15); }
.pic-doc .page i { height: 5px; border-radius: 3px; background: #D6DAE1; }
.pic-doc .page i:first-child { height: 9px; width: 70%; background: #9AA3B2; }
.pic-doc .page i:nth-child(3n) { width: 80%; }
.pic-doc .badge { position: absolute; right: 26%; bottom: 14%; padding: 3px 7px; border-radius: 6px; background: #B42318; color: #FFFFFF; font-size: 10px; font-weight: 800; letter-spacing: 0.06em; }
.sketch-pic { display: grid; place-items: center; background: #FFFFFF; color: #1C2638; }
.sketch-pic svg { width: 84%; height: auto; }

/* Other bits of the app: a notification, the music suggestion, search's ready-made searches,
   a box's page and the Countdown widget. */
.notif { position: relative; z-index: 2; width: min(330px, 100%); display: grid; grid-template-columns: 38px 1fr; gap: 11px; align-items: center; padding: 12px 14px; border-radius: 24px; background: color-mix(in srgb, var(--surface) 90%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid var(--line); box-shadow: var(--shadow-soft); font-size: 13px; line-height: 1.35; text-align: left; }
.notif img { width: 38px; height: 38px; border-radius: 9px; }
.notif b { display: flex; justify-content: space-between; gap: 8px; }
.notif b small { font-weight: 500; color: var(--muted); }
.suggest { position: relative; z-index: 2; width: min(316px, 100%); display: grid; gap: 10px; padding: 14px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); text-align: left; }
.suggest .what { font-family: var(--display); font-size: 18px; font-weight: 800; line-height: 1.15; }
.suggest .what small { display: block; font-family: var(--text); font-size: 13px; font-weight: 600; color: var(--muted); }
.ready { position: relative; z-index: 2; width: min(316px, 100%); display: grid; gap: 4px; padding: 10px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft); text-align: left; }
.ready .field { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 12px; background: var(--paper); color: var(--muted); font-size: 13.5px; }
.ready .field svg { width: 14px; height: 14px; }
.ready .head { margin: 6px 6px 0; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.ready .row { display: flex; align-items: center; gap: 10px; padding: 7px 6px; font-size: 13.5px; font-weight: 700; }
.ready .row i { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--k) 15%, transparent); color: var(--k); }
.ready .row i svg { width: 14px; height: 14px; }
.ready .row em { margin-left: auto; font-style: normal; font-weight: 600; color: var(--muted); }
.ready + .dc { margin-top: -6px; }
.bp-head { display: flex; gap: 12px; align-items: center; }
.bp-head .bp-cover { flex: none; width: 52px; height: 52px; border-radius: 12px; }
.boxpage .mini-grid { gap: 7px; }
.boxpage .mini-card { height: 96px; }
.boxpage .mini-card .pic { height: 46px; }
.cd-widget { position: relative; z-index: 2; width: 150px; aspect-ratio: 1; padding: 16px; border-radius: 30px; display: grid; align-content: space-between; background: #23344F; color: #F5F1E8; box-shadow: var(--shadow); margin: 0 0 -46px 4%; text-align: left; }
.cd-widget .eb { font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #9DB7D9; }
.cd-widget b { font-family: var(--display); font-size: 56px; font-weight: 800; line-height: 0.85; letter-spacing: -0.04em; }
.cd-widget small { display: block; font-size: 12px; font-weight: 700; }
.cd-widget small + small { font-weight: 500; color: #C9D3E2; }
.duo .cd-widget + .dc { justify-self: end; width: min(290px, 92%); }

/* Shopping: save a product once, then compare prices. */
#shopping { scroll-margin-top: 84px; }
.shop-panel {
  border-radius: 34px; border: 1px solid var(--line);
  padding: clamp(24px, 4.4vw, 56px) clamp(16px, 4vw, 52px);
  background: radial-gradient(90% 70% at 100% 0%, color-mix(in srgb, var(--k) 12%, transparent), transparent 70%), var(--surface);
}
.shop-panel .section-head { margin-bottom: clamp(26px, 4vw, 44px); }
.shop-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; gap: 18px clamp(16px, 2vw, 24px); }
@media (max-width: 900px) { .shop-steps { grid-template-columns: 1fr; row-gap: 16px; } .shop-step + .shop-step { margin-top: 16px; } }
/* Each step spans two rows of the list, so the pictures share a height and the words start in line. */
.shop-step { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 18px; }
.shop-step .stage { min-height: 360px; padding: 22px 14px; border-radius: 24px; }
@media (max-width: 900px) { .shop-step .stage { min-height: 0; } }
.shop-copy { display: grid; grid-template-columns: 30px 1fr; gap: 6px 14px; align-content: start; }
.shop-copy .n { grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--k); color: var(--surface); font-size: 14px; font-weight: 800; }
.shop-copy h3 { align-self: center; }
.shop-copy p { color: var(--muted); font-size: 16px; }
.shop-points { margin: clamp(30px, 4vw, 48px) 0 0; padding: clamp(24px, 3vw, 32px) 0 0; border-top: 1px solid var(--line); list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 40px; }
@media (max-width: 700px) { .shop-points { grid-template-columns: 1fr; } }
.shop-points li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.shop-points .icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--k) 14%, transparent); color: var(--k); }
.shop-points .icon svg { width: 20px; height: 20px; }
.shop-points h3 { font-size: 18px; }
.shop-points p { margin-top: 4px; color: var(--muted); font-size: 15.5px; }
.shop-panel .uses { margin-top: 30px; }
/* The share sheet, drawn. */
.sheet { position: relative; z-index: 1; width: min(290px, 100%); display: grid; gap: 12px; padding: 12px 14px 16px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13px; line-height: 1.35; color: var(--ink); text-align: left; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; font-weight: 600; color: var(--muted); }
.sheet-head b { font-family: var(--display); font-size: 15px; color: var(--ink); }
.sheet-head .save { color: var(--ink); font-weight: 800; }
.sheet-item { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; }
.sheet-item .thumb { height: 64px; border-radius: 12px; border: 1px solid var(--line); overflow: hidden; }
.sheet-item b { display: block; font-family: var(--display); font-size: 15px; line-height: 1.2; }
.sheet-item small { display: block; margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--k); }
.sheet-note { padding: 10px 12px; border-radius: 12px; background: var(--paper); color: var(--muted); }
/* ScrollBox's own browser, with ScrollBox asking at the bottom. */
.browser { position: relative; z-index: 1; width: min(290px, 100%); display: grid; border-radius: 22px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 12.5px; line-height: 1.35; color: var(--ink); text-align: left; }
.b-top { display: grid; gap: 8px; padding: 10px 10px 9px; border-bottom: 1px solid var(--line); background: var(--paper); }
.b-field { display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 11px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; white-space: nowrap; overflow: hidden; }
.b-field svg { flex: none; width: 13px; height: 13px; color: var(--muted); }
.b-chips { display: flex; gap: 5px; overflow: hidden; }
.b-chips span { flex: none; display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 13px; border: 1px solid var(--line); background: var(--surface); font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.b-chips .on { background: var(--button); color: var(--on-button); border-color: transparent; }
.b-page { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 14px 12px 158px; }
.b-pic { height: 84px; border-radius: 10px; border: 1px solid var(--line); overflow: hidden; }
.b-lines { display: grid; gap: 6px; align-content: start; }
.b-lines b { font-size: 13px; line-height: 1.25; }
.b-lines .b-price { font-family: var(--display); font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.b-lines i { height: 7px; border-radius: 4px; background: var(--line); }
.b-lines i.short { width: 60%; }
.ask { position: absolute; left: 8px; right: 8px; bottom: 8px; display: grid; gap: 6px; padding: 12px 13px 13px; border-radius: 18px; background: var(--button); color: var(--on-button); }
.ask-head { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; }
.ask-head img { width: 20px; height: 20px; border-radius: 6px; box-shadow: 0 0 0 1px color-mix(in srgb, var(--on-button) 35%, transparent); }
.ask-q { font-family: var(--display); font-size: 15px; font-weight: 800; line-height: 1.2; }
.ask-what { font-size: 12px; font-weight: 600; }
.ask-btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.ask-btns span { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 15px; border: 1px solid color-mix(in srgb, var(--on-button) 45%, transparent); font-size: 12px; font-weight: 700; white-space: nowrap; }
.ask-btns .main { background: var(--on-button); color: var(--button); border-color: transparent; }
/* A cordless drill on white, like a store's product picture. */
.pic-drill { position: relative; background: #FFFFFF; }
.pic-drill::after { content: ""; position: absolute; left: 22%; right: 18%; bottom: 7%; height: 6%; border-radius: 50%; background: rgba(28, 38, 56, 0.1); }
.drill { position: absolute; z-index: 1; left: 50%; top: 50%; height: 76%; aspect-ratio: 1.12; transform: translate(-50%, -52%); }
.drill i { position: absolute; display: block; }
.drill .bit { left: 0; top: 19%; width: 19%; height: 4.5%; border-radius: 2px; background: #9AA3AF; }
.drill .chuck { left: 15%; top: 11%; width: 14%; height: 21%; border-radius: 3px 2px 2px 3px; background: #3A3F47; }
.drill .body { left: 27%; top: 3%; width: 67%; height: 37%; border-radius: 12% 32% 32% 12% / 22% 48% 48% 22%; background: linear-gradient(180deg, #3C8FA3, #2A6F80); }
.drill .handle { left: 49%; top: 34%; width: 23%; height: 44%; border-radius: 4px; background: #2B2F36; transform: skewX(-9deg); }
.drill .trigger { left: 44%; top: 38%; width: 7%; height: 13%; border-radius: 2px; background: #E2725B; }
.drill .battery { left: 36%; top: 76%; width: 52%; height: 21%; border-radius: 5px; background: linear-gradient(180deg, #3C8FA3, #2A6F80); }
.drill .battery::after { content: ""; position: absolute; left: 12%; right: 12%; top: 40%; height: 18%; border-radius: 2px; background: #E2725B; }

/* Ways to save */
.ways { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 760px) { .ways { grid-template-columns: 1fr; } }
.way {
  background: var(--surface); border: 1px solid var(--line); border-radius: 26px;
  padding: 26px; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center;
}
.way-copy { display: grid; gap: 8px; }
.way-copy p { color: var(--muted); font-size: 16px; }
.way-copy a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.way-art { width: 132px; }
@media (max-width: 420px) { .way { grid-template-columns: 1fr; } .way-art { width: 120px; } }

/* Share sheet art */
.share-art { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 12px; display: grid; gap: 8px; }
.share-row { display: flex; gap: 4px; }
.share-app { flex: 1; aspect-ratio: 1; border-radius: 7px; background: var(--line); }
.share-app.sb { background: url("assets/logo.svg") center / cover; }
.share-line { height: 7px; border-radius: 4px; background: var(--line); }
.share-line.short { width: 60%; }
/* Widget art */
.widget-art { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.widget-art > div { aspect-ratio: 1; border-radius: 16px; display: grid; place-items: center; }
.w-plus { background: var(--button); color: var(--on-button); font-size: 30px; font-weight: 500; }
.w-stack { background: var(--surface); border: 1px solid var(--line); }
.w-stack img { width: 34px; }
.w-due { grid-column: span 2; aspect-ratio: auto !important; height: 44px; background: var(--surface); border: 1px solid var(--line); font-size: 12px; font-weight: 700; gap: 6px; display: flex !important; justify-content: center; }
.w-due svg { width: 14px; height: 14px; color: var(--coral-text); }
/* Action button art */
.action-art { position: relative; height: 132px; }
.action-art .body { position: absolute; inset: 0 22px 0 0; border-radius: 26px; border: 3px solid var(--ink); opacity: 0.85; }
.action-art .btn { position: absolute; left: -4px; top: 34px; width: 8px; height: 30px; border-radius: 4px; background: var(--coral); }
.action-art .glyph { position: absolute; inset: 0 22px 0 0; display: grid; place-items: center; }
.action-art .glyph img { width: 46px; }
/* Siri art */
.siri-art { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 14px; font-size: 13px; font-weight: 700; line-height: 1.35; }
.siri-art span { display: block; color: var(--muted); font-weight: 600; font-size: 11px; margin-bottom: 6px; letter-spacing: 0.04em; text-transform: uppercase; }
/* Voice jot art: recording in the Dynamic Island, black in light and dark like the real one. */
.jot-art { display: grid; place-items: center; min-height: 96px; }
.jot-art .pill { display: flex; align-items: center; gap: 7px; width: 132px; height: 40px; padding: 0 6px 0 12px; border-radius: 20px; background: #101114; color: #FFFFFF; }
.jot-art .rec { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.jot-art .bars { flex: 1; display: flex; align-items: center; gap: 2px; height: 18px; }
.jot-art .bars i { width: 3px; height: 40%; border-radius: 2px; background: #5EEAD4; animation: jot 1.1s ease-in-out infinite alternate; }
.jot-art .bars i:nth-child(2) { height: 80%; animation-delay: -.3s; }
.jot-art .bars i:nth-child(3) { height: 55%; animation-delay: -.6s; }
.jot-art .bars i:nth-child(4) { height: 100%; animation-delay: -.9s; }
.jot-art .bars i:nth-child(5) { height: 65%; animation-delay: -.2s; }
.jot-art .bars i:nth-child(6) { height: 35%; animation-delay: -.5s; }
@keyframes jot { to { transform: scaleY(0.45); } }
@media (prefers-reduced-motion: reduce) { .jot-art .bars i { animation: none; } }
.jot-art .time { font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.jot-art .stop { flex: none; position: relative; width: 26px; height: 26px; border-radius: 50%; background: #2C2F36; }
.jot-art .stop::after { content: ""; position: absolute; inset: 9px; border-radius: 2px; background: #FFFFFF; }
/* App icon art: the quick actions menu over the icon. */
.menu-art { display: grid; gap: 8px; justify-items: center; }
.menu-art .menu { width: 132px; display: grid; border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.menu-art .menu span { display: flex; align-items: center; justify-content: space-between; padding: 6px 11px; font-size: 12px; font-weight: 600; }
.menu-art .menu span + span { border-top: 1px solid var(--line); }
.menu-art .menu svg { width: 13px; height: 13px; }
.menu-art img { width: 40px; }
@media (max-width: 420px) { .jot-art { min-height: 0; justify-items: start; } .menu-art { justify-items: start; } }

/* The deck: one or two across */
.deck { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .deck { grid-template-columns: 1fr; } }
.zoom-demo { display: grid; justify-items: center; gap: 16px; }
.zoom-phone { width: 300px; height: 560px; }
.zoom-phone .screen { padding-top: 44px; }
.zoom-grid { display: grid; gap: 7px; grid-template-columns: repeat(var(--cols, 2), 1fr); transition: gap .3s; }
.zoom-grid .z {
  aspect-ratio: var(--ratio, 0.78); border-radius: calc(16px - var(--cols, 2) * 2px);
  background: var(--surface); border: 1px solid var(--line); overflow: hidden;
  display: flex; flex-direction: column;
}
.zoom-grid .z .pic { flex: 1 1 50%; }
.zoom-grid .z .cap { flex: none; padding: 5px 7px; font-size: 10px; font-weight: 700; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zoom-grid[style*="--cols: 1"] .z .cap { font-size: 13px; padding: 9px 11px; }
.zoom-steps { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.zoom-steps button {
  font: inherit; font-size: 14px; font-weight: 700; color: var(--ink);
  border: 0; background: transparent; border-radius: 999px; min-width: 44px; min-height: 40px; padding: 0 12px; cursor: pointer;
}
.zoom-steps button[aria-pressed="true"] { background: var(--button); color: var(--on-button); }
.zoom-caption { font-size: 14px; color: var(--muted); }
.points { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.points li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.points .icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: color-mix(in srgb, var(--sky) 30%, transparent); color: var(--ink-brand); }
:root[data-theme="dark"] .points .icon { color: var(--sky); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .points .icon { color: var(--sky); } }
.points .icon svg { width: 22px; height: 22px; }
.points h3 { font-size: 19px; margin-bottom: 4px; }
.points p { color: var(--muted); font-size: 16px; }
/* The details: the same points, in columns. */
.points.cols { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 30px 40px; }

/* Widgets: a carousel of the real widgets, drawn at their true sizes against each other.
   The pictures come from iOS's widget gallery (sample cards), light and dark. */
.wheader { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; margin-bottom: clamp(28px, 4vw, 44px); }
.wheader .section-head { margin-bottom: 0; }
.wnav { display: flex; gap: 10px; }
.wnav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.wnav button svg { width: 20px; height: 20px; }
.wnav button:disabled { opacity: 0.35; cursor: default; }
.wnav button:not(:disabled):hover { background: var(--button); color: var(--on-button); border-color: transparent; }
.wtrack {
  --edge: max(var(--gutter), calc((100% - var(--max)) / 2));
  display: flex; gap: 16px; margin: 0; padding: 4px 0 18px var(--edge); list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge);
  overscroll-behavior-x: contain; scrollbar-width: none;
}
.wtrack::-webkit-scrollbar { display: none; }
.wtrack::after { content: ""; flex: 0 0 max(1px, calc(var(--edge) - 16px)); }
.wtrack:focus-visible { outline-offset: -3px; }
.wslide {
  flex: 0 0 min(340px, 84vw); scroll-snap-align: start; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: 26px; overflow: hidden;
}
.wstage {
  height: 340px; padding: 20px; display: grid; place-items: center;
  background: radial-gradient(120% 90% at 15% 0%, #DCE6F3 0%, transparent 60%), linear-gradient(160deg, #B9CCE6 0%, #D5DFEC 55%, #EDE5D6 100%);
}
.wstage picture { display: contents; }
.wstage img { display: block; height: auto; filter: drop-shadow(0 10px 22px rgba(20, 30, 50, 0.22)); }
.wstage .w-small { width: min(134px, 46.5%); }
.wstage .w-medium, .wstage .w-large { width: min(288px, 100%); }
.wcopy { flex: 1; display: grid; gap: 8px; align-content: start; padding: 20px 22px 22px; }
.wcopy h3 { font-size: 20px; }
.wcopy p { color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.wmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-height: 42px; margin-top: 6px; }
.wsizes { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: color-mix(in srgb, var(--line) 70%, transparent); }
.wsizes button { font: inherit; font-size: 13px; font-weight: 700; color: var(--ink); background: transparent; border: 0; border-radius: 999px; min-height: 36px; padding: 0 13px; cursor: pointer; }
.wsizes button[aria-pressed="true"] { background: var(--surface); box-shadow: 0 1px 3px rgba(28, 38, 56, 0.16); }
.wsize { display: inline-flex; align-items: center; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); }
.wsize + .wsize::before { content: "·"; margin-right: 10px; }
/* The two controls, drawn as Control Center buttons. */
.controls-stage { display: flex; gap: 30px; justify-content: center; align-items: center; }
.ctl { display: grid; justify-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: #1C2638; }
.ctl i { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.6); color: #1C2638; box-shadow: 0 8px 20px rgba(20, 30, 50, 0.18); }
.ctl i svg { width: 30px; height: 30px; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .wstage { background: radial-gradient(120% 90% at 15% 0%, #2E4468 0%, transparent 60%), linear-gradient(160deg, #22345A 0%, #1B2940 60%, #141E30 100%); }
  :root:not([data-theme="light"]) .ctl { color: #F5F1E8; }
  :root:not([data-theme="light"]) .ctl i { background: rgba(255, 255, 255, 0.14); color: #F5F1E8; }
}
:root[data-theme="dark"] .wstage { background: radial-gradient(120% 90% at 15% 0%, #2E4468 0%, transparent 60%), linear-gradient(160deg, #22345A 0%, #1B2940 60%, #141E30 100%); }
:root[data-theme="dark"] .ctl { color: #F5F1E8; }
:root[data-theme="dark"] .ctl i { background: rgba(255, 255, 255, 0.14); color: #F5F1E8; }

/* Own it */
.own { background: var(--ink-brand); color: #F5F1E8; }
.own h2, .own h3 { color: #F5F1E8; }
.own .eyebrow { color: #F09A82; }
.own .section-head p { color: #C9D3E2; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 16px; }
.compare th, .compare td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(245, 241, 232, 0.14); }
.compare thead th { font-family: var(--display); font-size: 18px; font-weight: 800; letter-spacing: -0.01em; border-bottom: 1px solid rgba(245, 241, 232, 0.3); }
.compare tbody th { font-weight: 700; color: #F5F1E8; width: 22%; }
.compare td { color: #C9D3E2; }
.compare .us { background: rgba(157, 183, 217, 0.12); color: #FFFFFF; font-weight: 600; }
.compare thead .us { border-radius: 16px 16px 0 0; }
.compare tbody tr:last-child .us { border-radius: 0 0 16px 16px; }
@media (max-width: 720px) {
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare thead { display: none; }
  .compare tr { padding: 16px 0; border-bottom: 1px solid rgba(245, 241, 232, 0.18); }
  .compare tbody th { border: 0; padding: 0 0 8px; font-family: var(--display); font-size: 18px; width: 100%; }
  .compare td { border: 0; padding: 4px 0 4px 14px; position: relative; }
  .compare td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #9DB7D9; }
  .compare .us { background: transparent; border-radius: 0; }
}
.own-note { margin-top: 36px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding: 22px; border-radius: var(--radius); background: rgba(245, 241, 232, 0.07); border: 1px solid rgba(245, 241, 232, 0.14); }
.own-note img { width: 46px; }
.own-note p { color: #C9D3E2; }
.own-note strong { color: #FFFFFF; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 900px; }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 28px; display: grid; gap: 16px; align-content: start; }
.plan.full { border: 2px solid var(--button); box-shadow: var(--shadow); }
.plan .price { font-family: var(--display); font-weight: 800; font-size: 56px; letter-spacing: -0.04em; line-height: 1; }
.plan .price small { font-family: var(--text); font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; }
.plan li svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--sky-deep); }
.plan .tag { justify-self: start; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--coral); color: #2A0F06; }
.fine { margin-top: 18px; font-size: 14px; color: var(--muted); max-width: 70ch; }

/* Private by design */
.private { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.private div { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 8px; }
.private p { color: var(--muted); font-size: 16px; }

/* Closing call */
.closing { text-align: center; display: grid; justify-items: center; gap: 22px; }
.closing img.mark { width: 84px; }
.closing p { color: var(--muted); font-size: 19px; max-width: 46ch; }

footer { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 15px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer nav { display: flex; gap: 22px; margin-left: auto; }
footer a { text-decoration: none; font-weight: 600; }
footer a:hover { color: var(--ink); }

/* Simple pages: privacy and support */
.page { padding: 56px 0 96px; }
.page .wrap { max-width: 760px; display: grid; gap: 18px; }
.page h1 { font-size: clamp(38px, 6vw, 56px); }
.page h2 { font-size: 26px; margin-top: 18px; }
.page p, .page li { color: var(--muted); }
.page ul { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.page .updated { font-size: 14px; }

/* ---------- Nov 11, 2026: sharing from Safari, the navy home, three kinds of boxes, the why ---------- */
:root { --kind-scan: #41566E; --kind-video: #B8400B; --kind-podcast: #0F766E; --kind-collectible: #1D6B34; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --kind-scan: #BACADD; --kind-video: #FDBA8C; --kind-podcast: #7EE0D3; --kind-collectible: #9FD8AE; }
}
:root[data-theme="dark"] { --kind-scan: #BACADD; --kind-video: #FDBA8C; --kind-podcast: #7EE0D3; --kind-collectible: #9FD8AE; }

.hero-more { font-weight: 700; text-underline-offset: 4px; }
.sub-head { display: grid; gap: 10px; max-width: 720px; margin: clamp(48px, 7vw, 88px) 0 clamp(22px, 3vw, 32px); }
.sub-head h3 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.08; font-weight: 800; letter-spacing: -0.025em; }
.sub-head p { color: var(--muted); font-size: 17px; }

/* Why it works this way: the reason behind a choice, set apart from the how. */
.why { display: grid; gap: 6px; max-width: 76ch; margin-top: clamp(26px, 4vw, 40px); padding: 18px 22px; border-radius: 20px; background: var(--panel); }
.why .label { font-size: 12.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.why p { font-size: 16.5px; }
.why p + p { margin-top: 6px; }

/* Safari, drawn: the page with its Share button, iOS's share sheet, and the Apps list. */
.sf-page { display: grid; gap: 8px; padding: 12px; }
.sf-page .hero-pic { height: 92px; border-radius: 12px; }
.sf-page b { font-family: var(--display); font-size: 16px; line-height: 1.15; }
.sf-page i { height: 7px; border-radius: 4px; background: var(--line); }
.sf-page i.short { width: 62%; }
.sf-bar { display: flex; align-items: center; justify-content: space-around; padding: 11px 8px 13px; border-top: 1px solid var(--line); background: var(--paper); color: var(--sky-deep); }
.sf-bar svg { width: 19px; height: 19px; }
.sf-bar .hit { position: relative; color: var(--coral-text); }
.sf-bar .hit::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid var(--coral); animation: hit 2.2s ease-out infinite; }
@keyframes hit { 0% { transform: scale(0.7); opacity: 1; } 70%, 100% { transform: scale(1.25); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sf-bar .hit::after { animation: none; } }
.ios-share { position: relative; z-index: 1; width: min(290px, 100%); display: grid; gap: 13px; padding: 14px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13px; line-height: 1.3; color: var(--ink); text-align: left; }
.ios-head { display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: center; }
.ios-head .thumb { height: 40px; border-radius: 9px; }
.ios-head b { display: block; font-size: 13.5px; }
.ios-head small { color: var(--muted); font-size: 11.5px; font-weight: 600; }
.ios-apps { display: flex; gap: 11px; padding-top: 12px; border-top: 1px solid var(--line); }
.ios-apps span { flex: 1; display: grid; justify-items: center; gap: 5px; font-size: 9.5px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.ios-apps i { width: 46px; height: 46px; border-radius: 11px; background: var(--line); display: grid; place-items: center; color: var(--muted); }
.ios-apps i svg { width: 20px; height: 20px; }
.ios-apps .sb { color: var(--ink); font-weight: 800; }
.ios-apps .sb i { background: url("assets/logo.svg") center / cover; box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--coral); }
.ios-apps .more i { border-radius: 50%; }
.ios-apps .more.hit i { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--coral); color: var(--ink); }
.ios-acts { display: grid; border-radius: 12px; background: var(--paper); }
.ios-acts span { display: flex; justify-content: space-between; padding: 10px 12px; font-weight: 600; }
.ios-acts span + span { border-top: 1px solid var(--line); }
.ios-acts svg { width: 15px; height: 15px; color: var(--muted); }
.ios-list { position: relative; z-index: 1; width: min(300px, 100%); display: grid; gap: 4px; padding: 14px 16px 10px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13.5px; color: var(--ink); text-align: left; }
.ios-list .bar { display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--muted); padding-bottom: 6px; }
.ios-list .bar b { font-family: var(--display); font-size: 15px; color: var(--ink); }
.ios-list .bar .done { color: var(--ink); font-weight: 800; }
.ios-list .group { margin-top: 8px; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.ios-row { display: grid; grid-template-columns: 22px 30px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; font-weight: 600; }
.ios-row + .ios-row { border-top: 1px solid var(--line); }
.ios-row .app { width: 30px; height: 30px; border-radius: 8px; background: var(--line); }
.ios-row .app.sb { background: url("assets/logo.svg") center / cover; }
.ios-row .pm { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #FFFFFF; font-size: 17px; font-weight: 800; line-height: 1; background: #C7372B; }
.ios-row .pm.add { background: #23803C; box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--coral); }
.ios-row .grab { width: 18px; height: 12px; background: linear-gradient(var(--muted) 0 2px, transparent 2px 5px, var(--muted) 5px 7px, transparent 7px 10px, var(--muted) 10px 12px); opacity: 0.6; }
.ios-row .tog { width: 38px; height: 23px; border-radius: 12px; background: #23803C; position: relative; }
.ios-row .tog::after { content: ""; position: absolute; right: 2px; top: 2px; width: 19px; height: 19px; border-radius: 50%; background: #FFFFFF; }
.ios-row.new { font-weight: 800; }

/* What a shared page becomes. */
.becomes { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 12px; }
.becomes li { display: grid; grid-template-columns: 42px 1fr; gap: 13px; align-items: start; padding: 15px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.becomes .icon { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: color-mix(in srgb, var(--k) 14%, transparent); color: var(--k); }
.becomes .icon svg { width: 21px; height: 21px; }
.becomes small { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.becomes b { display: block; font-family: var(--display); font-size: 18px; font-weight: 800; line-height: 1.2; color: var(--k); }
.becomes p { margin-top: 3px; color: var(--muted); font-size: 14.5px; line-height: 1.45; }

/* Not in the share sheet yet: the steps beside the Apps list. */
.setup { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(22px, 4vw, 52px); align-items: center; margin-top: clamp(40px, 6vw, 72px); padding: clamp(18px, 3vw, 34px); border-radius: 30px; background: var(--surface); border: 1px solid var(--line); scroll-margin-top: 92px; }
@media (max-width: 860px) { .setup { grid-template-columns: 1fr; } }
.setup-copy { display: grid; gap: 18px; }
.setup-copy h3 { font-size: clamp(26px, 3vw, 34px); line-height: 1.08; font-weight: 800; letter-spacing: -0.025em; }
.setup-copy > p { color: var(--muted); }
.setup .stage { min-height: 400px; }
@media (max-width: 860px) { .setup .stage { min-height: 0; } }
.setup .beats p b { color: var(--ink); }
.also { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15.5px; color: var(--muted); }
.also b { color: var(--ink); }

/* Home's navy top, drawn in the phone. Its colors are the app's own in light and dark. */
.screen.h2 { padding: 0; display: flex; flex-direction: column; }
.h-top { --d: #23344F; position: relative; z-index: 1; flex: none; padding: 46px 14px 14px; background: var(--d); color: #F5F1E8; transition: background .35s; }
.h-nav { display: flex; align-items: center; gap: 7px; }
.h-nav img { width: 22px; height: 22px; border-radius: 6px; box-shadow: 0 0 0 1px rgba(245, 241, 232, 0.3); }
.h-nav span { font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: -0.035em; }
.h-nav i { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; background: rgba(245, 241, 232, 0.16); display: grid; place-items: center; }
.h-nav i svg { width: 14px; height: 14px; }
.h-track { display: flex; gap: 2px; padding: 3px; margin-top: 11px; border-radius: 12px; background: rgba(245, 241, 232, 0.14); overflow: hidden; }
.h-track span { flex: none; padding: 5px 8px; border-radius: 9px; font-size: 10.5px; font-weight: 700; white-space: nowrap; }
.h-track .on { background: #F5F1E8; color: #1C2638; }
.h-track .edit { color: #C9D3E3; }
.h-page { margin-top: 13px; }
.h-date { font-size: 9.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #C9D3E3; }
.h-count { font-family: var(--display); font-size: 23px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; }
.h-posters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 12px 0 -48px; }
.poster { position: relative; height: 96px; border-radius: 12px; padding: 8px; overflow: hidden; display: grid; align-content: space-between; font-size: 9.5px; font-weight: 700; line-height: 1.2; box-shadow: 0 8px 12px rgba(0, 0, 0, 0.22), 0 1px 2px rgba(0, 0, 0, 0.12); }
.poster small { font-size: 8px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; }
.poster.paper { background: #F3E3B0; color: #3D2E00; }
.poster.receipt { background: #41566E; color: #F5F1E8; }
.poster.receipt b { font-family: var(--display); font-size: 17px; font-weight: 800; }
.poster.cover { color: #FFFFFF; align-content: end; }
.poster.cover span { position: relative; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
.poster .ring { font-size: 5.6px; }
.h-body { flex: 1; padding: 46px 14px 0; background: var(--paper); transition: padding .35s; }
.h2:not([data-page="home"]) .h-body { padding-top: 12px; }
.h-tabs { display: flex; align-items: center; gap: 11px; }
.h-tabs b { font-family: var(--display); font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.h-tabs b.off { color: var(--muted); }
.h-tabs .filter { margin-left: auto; height: 24px; padding: 0 9px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--muted) 50%, transparent); display: grid; place-items: center; font-size: 10px; font-weight: 700; }
.h-tabs .switch { margin-top: 0; }
.h-scope { margin: 2px 0 0; font-size: 10px; font-weight: 600; color: var(--muted); }
.h-scope b { display: block; font-family: var(--display); font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.h2 .mini-grid { margin-top: 10px; }
.h2 .mini-card { border: 0; box-shadow: 0 2px 6px rgba(28, 38, 56, 0.14); height: 100px; }
.mini-card.f-paper { background: #F3E3B0; color: #3D2E00; }
.mini-card.f-paper .k { color: #6B5200 !important; }
.mini-card.f-voice { background: #0F766E; color: #F5F1E8; }
.mini-card.f-receipt { background: #41566E; color: #F5F1E8; }
.mini-card.f-voice .k, .mini-card.f-receipt .k { color: inherit !important; opacity: 0.85; }
.mini-card.f-receipt .t { font-family: var(--display); font-size: 17px; }
.mini-card .bars { display: flex; align-items: center; gap: 3px; height: 30px; padding: 0 9px; margin-top: 8px; }
.mini-card .bars i { flex: 1; border-radius: 2px; background: rgba(245, 241, 232, 0.85); }
.home-demo { display: grid; justify-items: center; gap: 16px; }
.home-demo .phone { height: 600px; }
.home-steps { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 4px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.home-steps button { font: inherit; font-size: 14px; font-weight: 700; color: var(--ink); border: 0; background: transparent; border-radius: 999px; min-height: 40px; padding: 0 13px; cursor: pointer; }
.home-steps button[aria-pressed="true"] { background: var(--button); color: var(--on-button); }
html:not(.js) .home-steps { display: none; }

/* A box's dashboard. Sized in em, so the same drawing fits the page and the phone. */
.dash { --d: #23344F; position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 1.1em; min-height: 19em; padding: 1.25em; border-radius: 1.75em; background: var(--d); color: #F5F1E8; font-size: 16px; line-height: 1.3; text-align: left; }
.dash-top { display: flex; align-items: center; gap: 1em; }
.dash-top > div { display: grid; gap: 0.3em; justify-items: start; min-width: 0; }
.dash .name { font-family: var(--display); font-size: 1.7em; font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; }
.dash .sub { font-size: 0.8em; font-weight: 600; color: #D5DDEA; }
.dash .money { font-family: var(--display); font-size: 1.25em; font-weight: 800; }
.dash .money small { font-family: var(--text); font-size: 0.62em; font-weight: 600; color: #D5DDEA; }
.dash .pill { display: inline-flex; align-items: center; height: 2.3em; padding: 0 0.9em; border-radius: 1.2em; border: 1px solid rgba(245, 241, 232, 0.6); font-size: 0.72em; font-weight: 700; white-space: nowrap; }
.ring { --p: 50; position: relative; flex: none; width: 6.2em; height: 6.2em; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#F5F1E8 calc(var(--p) * 1%), rgba(245, 241, 232, 0.24) 0); }
.ring::before { content: ""; position: absolute; inset: 0.55em; border-radius: 50%; background: var(--d, #23344F); }
.ring > span { position: relative; display: grid; justify-items: center; font-family: var(--display); font-size: 1.6em; font-weight: 800; line-height: 1; }
.ring small { font-size: 0.55em; }
.ring em { font-family: var(--text); font-style: normal; font-size: 0.42em; font-weight: 700; color: #D5DDEA; margin-top: 0.35em; }
.ring.sm { width: 3.3em; height: 3.3em; margin-left: auto; }
.ring.sm::before { inset: 0.34em; }
.ring.sm > span { font-size: 0.85em; }
.poster.paper .ring { background: conic-gradient(#3D2E00 calc(var(--p) * 1%), rgba(61, 46, 0, 0.2) 0); width: 5.4em; height: 5.4em; }
.poster.paper .ring::before { background: #F3E3B0; }
.dash-mid { display: grid; align-content: end; gap: 0.5em; min-width: 0; }
.dash .lbl { font-size: 0.72em; font-weight: 700; color: #B9CBE4; }
.dash-btn { display: flex; align-items: center; justify-content: center; gap: 0.6em; height: 3em; border-radius: 1.5em; background: #F5F1E8; color: #1C2638; font-size: 0.95em; font-weight: 700; }
.dash-btn svg { width: 1.1em; height: 1.1em; }
.dash-btn.tick { justify-content: flex-start; padding: 0 1em; }
.dash-btn.tick::before { content: ""; flex: none; width: 1.3em; height: 1.3em; border-radius: 50%; border: 2px solid #5E6676; }
.dash-btn.line { background: transparent; color: #F5F1E8; border: 1px solid rgba(245, 241, 232, 0.6); }
.q { display: flex; align-items: flex-end; gap: 0.9em; }
.q-cover { flex: none; width: 5.2em; aspect-ratio: 2 / 3; border-radius: 0.5em; }
.q-info { display: grid; gap: 0.15em; min-width: 0; }
.q-info small { font-size: 0.7em; font-weight: 700; color: #D5DDEA; }
.q-info b { font-family: var(--display); font-size: 0.98em; font-weight: 800; line-height: 1.15; }
.q-rest { display: flex; gap: 0.35em; margin-top: 0.55em; }
.q-rest i { width: 2.45em; aspect-ratio: 2 / 3; border-radius: 0.3em; display: grid; place-items: center; font-style: normal; }
.q-rest i span { font-size: 0.7em; font-weight: 700; }
.cover-lantern { background: radial-gradient(circle at 50% 26%, #F6D365 0 13%, transparent 14%), linear-gradient(#1C2638, #1C2638) 50% 100% / 13% 70% no-repeat, #8A2BA8; }
.cover-kites { background: linear-gradient(135deg, transparent 0 38%, #F5F1E8 38% 52%, transparent 52%), #8FA63A; }
.collage { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 0.4em; height: 7.6em; }
.collage > * { border-radius: 0.7em; overflow: hidden; display: grid; }
.collage .big { grid-row: span 2; }
.collage .n { background: #F3E3B0; color: #3D2E00; padding: 0.5em; align-content: start; }
.collage .n span { font-size: 0.68em; font-weight: 800; line-height: 1.2; }
.collage .p { background: #FFFFFF; color: #3F3DB0; padding: 0.5em; align-content: end; }
.collage .p span { font-family: var(--display); font-size: 1em; font-weight: 800; }
.collage .m { background: rgba(245, 241, 232, 0.16); place-items: center; }
.collage .m span { font-size: 0.8em; font-weight: 700; }
.pic-jacket { background: radial-gradient(60% 46% at 50% 62%, #3F7FC4 0 99%, transparent 100%), linear-gradient(#1C2638, #1C2638) 50% 30% / 56% 7% no-repeat, #2C5E8F; }
.pic-tan { background: #C69C6D; }

/* The three kinds of box, each with its story. */
.kinds3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); align-items: start; }
@media (max-width: 980px) { .kinds3 { grid-template-columns: 1fr; max-width: 520px; } }
.kind3 { display: grid; gap: 16px; }
.kind3 > h3 { font-size: 20px; }
.kind3 > h3 span { color: var(--muted); font-weight: 700; }
.kind3 .dash { font-size: clamp(13px, 1.35vw, 16px); }
@media (max-width: 980px) { .kind3 .dash { font-size: 16px; } }
.kind3 .tale { color: var(--muted); font-size: 16px; }
.kind3 .tale b { color: var(--ink); }
.kind3 .because { padding-top: 14px; border-top: 1px solid var(--line); font-size: 15.5px; }
.kind3 .because b { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(28px, 4vw, 44px); }
@media (max-width: 760px) { .picks { grid-template-columns: 1fr; } }
.picks > div { padding: 22px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.picks > div.tint { background: var(--panel); border-color: transparent; }
.picks p { font-size: 16px; color: var(--muted); }
.picks p b { color: var(--ink); }
.home-split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .home-split { grid-template-columns: 1fr; } }

@media (max-width: 1180px) { .nav-links { gap: 18px; } }
/* A box's dashboard inside the phone's navy top. */
.h-top .dash { font-size: 9.2px; min-height: 0; margin-top: 13px; padding: 0; border-radius: 0; background: none; gap: 1.3em; }
.h-top .dash .name { font-size: 2.1em; }
.h-top .dash-btn { font-size: 1.15em; }
.h-scope { margin-top: 10px; }
.ring b { white-space: nowrap; }
.ring.sm > span { font-size: 0.74em; }
.ring > span { justify-self: center; text-align: center; }
.ring.sm > span { font-size: 0.95em; }
.ring.sm small { font-size: 0.8em; }
/* The hero's flying cards pass over the phone, navy top included. */
.incoming { z-index: 2; }

/* Real examples (Nov 17, 2026): each kind shows the app's own card as it sits on home beside its opened page,
   from pictures of the app (assets/cards, assets/screens; sources in Brand/). Light and dark follow the page. */
.stage.real { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; justify-items: center; gap: clamp(10px, 3vw, 26px); }
.stage.real figure { margin: 0; display: grid; gap: 10px; justify-items: center; min-width: 0; }
.stage.real figcaption { font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.stage.real img { display: block; max-width: 100%; height: auto; }
.stage.real .onhome { gap: 4px; }
.stage.real .onhome picture { width: min(240px, 100%); }
.stage.real .onhome.two picture { width: min(180px, 96%); }
.stage.real .onhome.three { grid-template-columns: 1fr 1fr; align-items: end; }
.stage.real .onhome.three picture { width: 100%; }
.stage.real .onhome.three picture:first-child, .stage.real .onhome.three figcaption { grid-column: 1 / -1; }
.stage.real .onhome.three picture:first-child { width: 62%; }
.stage.real .opened img { width: min(236px, 100%); border-radius: clamp(22px, 5vw, 34px); border: 5px solid #121A28; box-shadow: var(--shadow); background: #121A28; }
.stage.real.solo { grid-template-columns: minmax(0, 1fr); }
/* Phones and box dashboards that are pictures of the app (Nov 17, 2026). */
.screen.shot { padding: 0; background: #101114; }
.screen.shot picture, .screen.shot img { display: block; width: 100%; height: 100%; }
.screen.shot img { object-fit: cover; object-position: top; }
.dashshot { background: var(--d); border-radius: 24px; padding: 14px 12px; box-shadow: var(--shadow-soft); }
.dashshot img { display: block; width: 100%; height: auto; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dashshot { background: var(--dd); } }
.zoom-phone .screen.shot { padding-top: 0; }
.stage.real.widgetshot img { width: min(190px, 70%); border-radius: 24px; box-shadow: var(--shadow); }
.screen.shot picture[hidden] { display: none; }
