/* yaumy.  The app's own palette (Theme.swift), a literary serif for the voice, the system font for the product. */

@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader-normal.woff2") format("woff2");
  font-weight: 320 440; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader-italic.woff2") format("woff2");
  font-weight: 340; font-style: italic; font-display: swap;
}

:root {
  --paper: #F4F1EB;
  --paper-2: #EEEAE2;
  --card: #FFFFFF;
  --ink: #18171A;
  --ink-2: #3A3833;
  --mut: #5F5A52;
  --line: #E2DCD1;
  --brand: #4B44E0;
  --brand-ink: #3A33C9;
  --ritual: #2F7D5B;
  --sun: #FFD27A;
  --now: #D9452F;

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --pad: clamp(20px, 4.2vw, 56px);
  --ease: cubic-bezier(.22, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 18px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; font-kerning: normal;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

/* ---------- type ---------- */
h1, h2, .serif {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 72;
  letter-spacing: -0.021em;
  font-feature-settings: "kern", "liga", "onum" 0;
}
h1 em, h2 em { font-style: italic; letter-spacing: -0.012em; }
h2 { font-size: clamp(38px, 4.7vw, 66px); line-height: 1.02; font-weight: 380; color: var(--ink); text-wrap: balance; }
.label {
  display: flex; align-items: center; gap: 12px;
  font: 700 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mut);
  margin-bottom: 22px;
}
.label::after { content: ""; flex: 0 0 56px; height: 1px; background: currentColor; opacity: .45; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  display: flex; align-items: center; gap: 28px;
  padding: 16px var(--pad); color: #fff;
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
}
.nav.solid {
  color: var(--ink); background: rgba(244, 241, 235, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px);
  box-shadow: 0 1px 0 rgba(24, 23, 26, .07); padding-top: 12px; padding-bottom: 12px;
}
.wordmark {
  font: 800 25px/1 var(--display); letter-spacing: -0.045em; text-decoration: none;
  padding-bottom: 3px;
}
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { font-size: 15px; font-weight: 500; text-decoration: none; opacity: .96; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta {
  font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap;
  padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--ink);
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
  transition: transform .2s var(--ease), background .3s;
}
.nav.solid .nav-cta { background: var(--ink); color: #fff; }
.nav-cta:hover { transform: translateY(-1px); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  color: #fff; isolation: isolate; background: #2F68C2;
}
.sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
/* fine film grain over every sky: no banding, and the light feels printed rather than flat */
.hero::before, .lock::before, .ad-sky::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url(/img/grain.png) repeat; background-size: 200px 200px; mix-blend-mode: overlay; opacity: .055;
}
.hero::before { z-index: 0; }
.lock::before { z-index: 1; }
.ad-sky::after { z-index: 1; }
.arc { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; overflow: visible; }
.hero > .hills { z-index: -1; }
.hero-copy {
  position: relative; z-index: 2;
  max-width: 980px; margin: 0 auto; padding: clamp(124px, 19vh, 190px) var(--pad) 0; text-align: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 14px/1 var(--sans); letter-spacing: .02em; color: #fff;
  padding: 9px 14px; border-radius: 999px; background: rgba(8,18,48,.22);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  margin-bottom: 26px;
}
.dot-now { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(255,210,122,.25); }
h1 {
  font-size: clamp(50px, 7.6vw, 118px); line-height: .97; font-weight: 360; color: #fff;
  text-shadow: 0 2px 30px rgba(10, 16, 40, .18);
}
h1 em { font-weight: 340; }
.lede {
  max-width: 34em; margin: 26px auto 0; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5;
  color: rgba(255,255,255,.96); text-wrap: pretty;
}
.fine { margin-top: 14px; font-size: 15px; color: rgba(255,255,255,.94); }

/* early access form */
.early {
  position: relative; display: flex; gap: 6px; width: min(460px, 100%); margin: 34px auto 0; padding: 6px;
  border-radius: 999px; background: rgba(8,18,48,.26);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.28);
}
.early input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #fff;
  font: 500 17px/1 var(--sans); padding: 0 8px 0 16px;
}
.early input::placeholder { color: rgba(255,255,255,.8); }
/* while you type, the box's edge firms up, so it is clear where the words go (keyboard users included) */
.early { transition: box-shadow .2s var(--ease); }
.early:focus-within { box-shadow: inset 0 0 0 2px rgba(255,255,255,.82); }
.early button {
  border: 0; cursor: pointer; white-space: nowrap;
  font: 600 16px/1 var(--sans); color: var(--ink); background: #fff;
  padding: 15px 20px; border-radius: 999px;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.early button:hover { transform: translateY(-1px); box-shadow: 0 6px 18px -8px rgba(0,0,0,.4); }
.early button[disabled] { opacity: .7; cursor: default; transform: none; }
.early-msg {
  position: absolute; left: 0; right: 0; top: calc(100% + 12px);
  font-size: 15px; line-height: 1.4; color: #fff; min-height: 1.4em; text-wrap: balance;
}
/* signed up: the box and button give way to one clear confirmation pill */
.early.sent { background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0; }
.early.sent input, .early.sent button { display: none; }
.early.sent .early-msg {
  position: static; flex: 1; margin: 0; min-height: 0;
  padding: 16px 24px; border-radius: 999px; text-align: center;
  font: 500 16px/1.4 var(--sans); color: #fff;
  background: rgba(8,18,48,.3); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
}
/* on wider screens a passing message sits where the fine print is, so the fine print steps aside while it shows */
@media (min-width: 561px) { .hero .early.said:not(.sent) + .fine { visibility: hidden; } }
.early-light { background: rgba(8,18,48,.26); }

.hills { position: absolute; left: 0; right: 0; bottom: -1px; height: 20vh; min-height: 120px; z-index: 1; pointer-events: none; }
.hills svg, .hills canvas { width: 100%; height: 100%; display: block; }
.hills .h1 { fill: rgba(244, 241, 235, .28); }
.hills .h2 { fill: var(--paper); }

/* ---------- story: one phone, four chapters ---------- */
.story {
  position: relative; max-width: var(--wrap); margin: 0 auto; padding: 40px var(--pad) 40px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(40px, 7vw, 120px);
}
.chapters { grid-column: 1; grid-row: 1; }
.story-phone { grid-column: 2; grid-row: 1; }
.story-phone .phone { position: sticky; top: calc(50vh - var(--ph-h) / 2 + 20px); }
.chapter {
  min-height: 92vh; display: flex; flex-direction: column; justify-content: center;
  max-width: 520px; padding: 60px 0;
}
.chapter h2 { margin-bottom: 26px; }
.chapter p { font-size: clamp(18px, 1.45vw, 20px); color: var(--ink-2); max-width: 30em; text-wrap: pretty; }
.chapter p + p { margin-top: 14px; }
.chapter .label { margin-bottom: 24px; }
/* the chapter beside the phone is marked by its label line, never by fading the words */
.chapter .label::after { flex-basis: 28px; transition: flex-basis .7s var(--ease), opacity .7s var(--ease); }
.chapter.on .label::after { flex-basis: 64px; opacity: .8; }

/* the phone */
.phone {
  --ph-w: min(360px, calc((100vh - 150px) * .4603));
  --ph-h: calc(var(--ph-w) / .4603);
  position: relative; width: var(--ph-w); height: var(--ph-h);
  border-radius: calc(var(--ph-w) * .155); padding: calc(var(--ph-w) * .028);
  background: linear-gradient(145deg, #4a4946 0%, #1d1c1b 30%, #2a2927 70%, #575550 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.18),
    inset 0 0 0 calc(var(--ph-w) * .012) #0b0b0b,
    0 50px 90px -40px rgba(54, 42, 22, .45),
    0 24px 40px -24px rgba(54, 42, 22, .35);
  margin: 0;
}
.phone > .screens, .phone > img {
  position: absolute; inset: calc(var(--ph-w) * .028);
  width: calc(100% - var(--ph-w) * .056); height: calc(100% - var(--ph-w) * .056);
  object-fit: cover; object-position: top; border-radius: calc(var(--ph-w) * .128);
  background: var(--paper);
}
/* the app's sky sits behind its screens, so a change of screen never flashes paper */
.phone > .screens { overflow: hidden; isolation: isolate; background: linear-gradient(#19509F, #2F68B0 25%, #2C6AB5 60%, #2D67A9); }
.screens .screen {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; display: block;
  opacity: 0; transform: scale(1.025);
  transition: opacity .2s cubic-bezier(.4, 0, 1, 1), transform .3s cubic-bezier(.4, 0, 1, 1);
}
.screens .screen.on {
  opacity: 1; transform: none;
  transition: opacity .45s cubic-bezier(.2, .7, .3, 1) .16s, transform .8s var(--ease) .16s;
}
@media (prefers-reduced-motion: reduce) {
  .screens .screen, .screens .screen.on { transform: none; transition: opacity .2s linear; }
}
.island {
  position: absolute; z-index: 3; left: 50%; top: calc(var(--ph-w) * .055); transform: translateX(-50%);
  width: calc(var(--ph-w) * .29); height: calc(var(--ph-w) * .085); border-radius: 999px; background: #050505;
}
.phone-inline { display: none; }

/* ---------- the day, written out ---------- */
.day {
  position: relative; max-width: var(--wrap); margin: 0 auto; padding: 120px var(--pad) 140px;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(40px, 7vw, 120px);
}
.day-head { position: sticky; top: 120px; align-self: start; }
.day-head h2 { margin-bottom: 24px; }
.day-head p:not(.label) { font-size: clamp(18px, 1.45vw, 20px); color: var(--ink-2); max-width: 26em; }
.day-list { list-style: none; margin: 0; padding: 0 0 0 34px; position: relative; }
.day-list::before {
  content: ""; position: absolute; left: 6px; top: 10px; bottom: 10px; width: 2px;
  background: linear-gradient(var(--line), var(--line));
}
.day-list .sun-marker {
  position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%;
  background: var(--sun); box-shadow: 0 0 0 6px rgba(255, 210, 122, .32), 0 0 30px 6px rgba(255, 190, 90, .45);
  transform: translateY(var(--sun-y, 10px)); transition: transform .15s linear; will-change: transform;
}
.day-list .sun-trail {
  position: absolute; left: 6px; top: 10px; width: 2px; height: var(--sun-y, 0px);
  background: linear-gradient(#F6C99A, #E9A54B);
}
.day-list li {
  display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
  opacity: .9; transition: opacity .5s var(--ease);
}
.day-list li.lit { opacity: 1; }
.day-list time {
  font-family: var(--serif); font-variation-settings: "opsz" 36; font-size: 30px; line-height: 1.1;
  letter-spacing: -0.01em; color: var(--ink); font-variant-numeric: lining-nums tabular-nums;
}
.day-list time small { font-family: var(--sans); font-size: 13px; letter-spacing: .04em; color: var(--mut); margin-left: 3px; }
.day-list h3 { font: 600 21px/1.25 var(--sans); letter-spacing: -0.01em; color: var(--ink); margin-bottom: 4px; }
.day-list p { font-size: 18px; color: var(--mut); }
.day-list .rit-thumb { display: none; }

/* the painting that follows the sun down the list (computer) */
.day-head { top: 104px; }
.day-art { margin: 36px 0 0; position: relative; width: min(100%, 500px, calc((100vh - 470px) * 4 / 3)); min-width: 240px; }
.day-art-frame {
  position: relative; aspect-ratio: 4 / 3; border-radius: 26px; overflow: hidden; isolation: isolate;
  background: linear-gradient(#9CC3E6, #F3E3CB);
  box-shadow: 0 1px 0 rgba(24,23,26,.04), 0 34px 60px -34px rgba(36, 48, 96, .5), 0 10px 20px -14px rgba(36, 48, 96, .3);
}
.day-art-frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  opacity: 0; transform: scale(1.05); transition: opacity 1s var(--ease), transform 2.2s var(--ease);
}
.day-art-frame img.on { opacity: 1; transform: scale(1); }
.day-art-frame video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 1;
  opacity: 0; transition: opacity 1s var(--ease); pointer-events: none;
}
.day-art-frame video.on { opacity: 1; }
.day-art-cap {
  position: absolute; left: 14px; bottom: 14px; z-index: 2; display: inline-flex; align-items: baseline; gap: 8px;
  padding: 8px 13px; border-radius: 999px; background: rgba(14,20,44,.62); color: #fff;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font: 600 15px/1.2 var(--sans); letter-spacing: .005em;
}
.day-art-cap span { font-weight: 500; opacity: .9; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .day-art-frame img { transition: opacity .3s linear; transform: none; } }

/* ---------- plugins ---------- */
.plugins {
  max-width: var(--wrap); margin: 0 auto; padding: 60px var(--pad) 140px;
}
.plugins-head { max-width: 760px; margin-bottom: 56px; }
.plugins-head h2 { margin-bottom: 24px; }
.plugins-head p:not(.label) { font-size: clamp(18px, 1.45vw, 20px); color: var(--ink-2); max-width: 34em; }
.plugins-stage {
  background: var(--card); border-radius: 32px; padding: clamp(26px, 4vw, 56px) clamp(18px, 4vw, 60px) clamp(28px, 4vw, 52px);
  box-shadow: 0 1px 0 rgba(24,23,26,.04), 0 40px 80px -50px rgba(54,42,22,.3);
}
.mini { max-width: 860px; margin: 0 auto; }
.mini-arc { width: 100%; height: auto; display: block; overflow: visible; }
.mini-count { margin: 10px auto 0; font-size: 18px; color: var(--mut); text-align: center; min-height: 3em; max-width: 34em; text-wrap: balance; }
.mini-count b { color: var(--ink); font-weight: 600; }
.tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 8px; margin: 30px auto 0; max-width: 980px; }
.tiles .tile { width: 124px; }
.tile {
  appearance: none; border: 0; background: none; cursor: pointer; padding: 6px 2px 4px; border-radius: 16px;
  display: flex; flex-direction: column; align-items: center; gap: 9px; color: var(--ink);
  font: 600 14.5px/1.2 var(--sans); text-align: center;
  transition: transform .25s var(--ease);
}
.tile:hover { transform: translateY(-2px); }
.tile:active { transform: scale(.96); }
.tile .ic {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  background: var(--bg); color: var(--fg);
  transition: background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.tile .ic svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile .st { font-weight: 600; font-size: 13px; color: var(--mut); letter-spacing: .02em; }
.tile[aria-pressed="false"] .ic { background: #F1EFEC; color: #A39E96; }
/* plugin tiles with their cover painting */
.tiles .tile { width: 172px; }
.tile .art {
  display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #E9E4DA;
  box-shadow: 0 10px 22px -16px rgba(30, 36, 70, .55);
  transition: filter .45s var(--ease), opacity .45s var(--ease), box-shadow .45s var(--ease), transform .45s var(--ease);
}
.tile .art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile[aria-pressed="false"] .art { filter: grayscale(1) contrast(.85) brightness(1.08); opacity: .5; box-shadow: none; }
.tile[aria-pressed="true"] .art { box-shadow: 0 0 0 2.5px var(--card), 0 0 0 4.5px var(--ritual), 0 14px 26px -16px rgba(30, 36, 70, .6); }
.tile:hover .art { transform: translateY(-2px); }
.tile[aria-pressed="false"] { color: var(--mut); }
.tile[aria-pressed="true"] .st { color: var(--ritual); }
/* On / Off line up across a row, even when a neighbour's name takes two lines */
.tile .st { margin-top: auto; }
.plugins-note { margin-top: 22px; font-size: 16px; color: var(--mut); max-width: 46em; }

/* ---------- ask ---------- */
.ask { max-width: var(--wrap); margin: 0 auto; padding: 40px var(--pad) 140px; text-align: center; }
.ask-head { max-width: 760px; margin: 0 auto 50px; }
.ask-head .label { justify-content: center; }
.ask-head .label::before { content: ""; flex: 0 0 56px; height: 1px; background: currentColor; opacity: .45; }
.ask-head h2 { margin-bottom: 22px; }
.ask-head p:not(.label) { font-size: clamp(18px, 1.45vw, 20px); color: var(--ink-2); max-width: 32em; margin: 0 auto; }
.ask-demo { max-width: 560px; margin: 0 auto; }
.ask-reply {
  min-height: 60px; display: flex; justify-content: flex-start; align-items: flex-end; margin-bottom: 14px; padding: 0 6px;
}
.ask-reply span {
  display: inline-block; text-align: left; font-size: 17px; color: var(--ink); background: var(--card);
  padding: 12px 16px; border-radius: 18px 18px 18px 6px; box-shadow: 0 10px 30px -18px rgba(54,42,22,.35);
  animation: pop .45s var(--ease) both;
}
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.ask-bar {
  display: flex; align-items: center; height: 66px; padding: 0 8px 0 24px; border-radius: 999px;
  background: rgba(255,255,255,.88); box-shadow: 0 1px 0 rgba(24,23,26,.04), 0 20px 50px -26px rgba(54,42,22,.45), inset 0 0 0 1px rgba(24,23,26,.05);
  text-align: left; font-size: 19px; color: var(--ink);
}
.ask-text:empty::before { content: "Tell yaumy anything…"; color: #9C968C; }
.caret { width: 2px; height: 24px; background: var(--brand); margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ask-plus { margin-left: auto; width: 50px; height: 50px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; box-shadow: 0 8px 18px -8px rgba(75,68,224,.8); }
.ask-plus svg { width: 22px; height: 22px; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; fill: none; }

/* ---------- lock screen ---------- */
.glance {
  max-width: var(--wrap); margin: 0 auto; padding: 40px var(--pad) 150px;
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 120px); align-items: center;
}
.glance-copy h2 { margin-bottom: 24px; }
.glance-copy p:not(.label) { font-size: clamp(18px, 1.45vw, 20px); color: var(--ink-2); max-width: 30em; }
.glance-copy p + p { margin-top: 14px; }
.lock {
  --ph-w: min(340px, 78vw);
  position: relative; justify-self: center; width: var(--ph-w); aspect-ratio: 440 / 956;
  border-radius: calc(var(--ph-w) * .155); overflow: hidden; isolation: isolate;
  box-shadow: 0 0 0 calc(var(--ph-w) * .028) #1d1c1b, 0 0 0 calc(var(--ph-w) * .032) #4a4946, 0 50px 90px -40px rgba(54,42,22,.45);
}
.lock .sky { z-index: 0; }
.lock-ui { position: relative; z-index: 1; height: 100%; color: #fff; text-align: center; padding-top: 20%; }
.lock-date { font: 600 17px/1.2 var(--display); }
.lock-time {
  font: 700 clamp(70px, 24vw, 96px)/1 var(--display); letter-spacing: -0.03em; margin-top: 2px;
  font-feature-settings: "tnum" 0; text-shadow: 0 2px 24px rgba(0,0,0,.12);
}
.lock-widgets { display: flex; justify-content: center; gap: 12px; margin-top: 16px; padding: 0 9%; }
.w-ring, .w-line {
  background: rgba(8,18,48,.26); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-radius: 22px; height: 66px; display: flex; align-items: center; gap: 10px;
}
.w-ring { width: 66px; justify-content: center; position: relative; }
.w-ring svg { position: absolute; inset: 8px; width: 50px; height: 50px; transform: rotate(-90deg); }
.w-ring circle { fill: none; stroke: rgba(255,255,255,.3); stroke-width: 4; }
.w-ring circle.v { stroke: #fff; stroke-dasharray: 30 100; stroke-linecap: round; }
.w-ring span { font: 700 14px/1 var(--display); }
.w-line { flex: 1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; padding: 0 14px; text-align: left; min-width: 0; }
.w-line b { font: 700 13px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; opacity: .92; }
.w-line span { font: 600 15px/1.2 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

/* ---------- night ---------- */
.night { position: relative; z-index: 1; color: #fff; }
.night-inner { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 160px var(--pad) 170px; }
.night .label { color: rgba(255,255,255,.7); }
.night h2 { color: #fff; max-width: 12em; margin-bottom: 56px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.facts li { font-size: 18px; line-height: 1.5; color: rgba(255,255,255,.78); border-top: 1px solid rgba(255,255,255,.22); padding-top: 22px; }
.facts b { display: block; font-family: var(--serif); font-variation-settings: "opsz" 36; font-weight: 400; font-size: 28px; line-height: 1.15; color: #fff; margin-bottom: 10px; letter-spacing: -0.01em; }
.night-fine { margin-top: 56px; font-size: 16px; color: rgba(255,255,255,.66); max-width: 48em; }

/* ---------- dawn ---------- */
.dawn { position: relative; z-index: 1; color: #fff; overflow: hidden; text-align: center; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.dawn-inner { position: relative; z-index: 2; padding: 120px var(--pad) 250px; max-width: 900px; margin: 0 auto; }
.dawn h2 { color: #fff; font-size: clamp(46px, 6.4vw, 96px); line-height: 1; text-shadow: 0 2px 30px rgba(10,16,40,.18); }
.dawn-inner > p { margin: 24px auto 0; max-width: 30em; font-size: clamp(18px, 1.5vw, 21px); color: rgba(255,255,255,.96); }
.hills-dawn .h2 { fill: var(--paper); }

/* ---------- footer ---------- */
.foot {
  max-width: var(--wrap); margin: 0 auto; padding: 56px var(--pad) 64px;
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 28px; color: var(--mut);
}
.foot .wordmark { color: var(--ink); font-size: 22px; }
.foot-mark { display: inline-flex; align-items: center; gap: 10px; }
.foot-mark img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 0 0 1px rgba(24,23,26,.06); }
.foot p { font-size: 15px; }
.foot nav { display: flex; gap: 22px; }
.foot nav a { font-size: 15px; text-decoration: none; color: var(--ink-2); }
.foot nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot .copy { font-size: 14px; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .phone .screen, .chapter, .day-list li { transition: none; }
}

/* ---------- tablet and phone ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .story { display: block; padding-top: 20px; }
  .story-phone { display: none; }
  .chapter { min-height: 0; opacity: 1; padding: 70px 0 40px; max-width: 620px; margin: 0 auto; }
  .phone-inline { display: block; margin: 44px auto 0; --ph-w: min(330px, 78vw); }
  .phone-inline > img { position: absolute; }
  .day { display: block; padding-top: 80px; padding-bottom: 100px; }
  .day-head { position: static; margin-bottom: 40px; }
  .day-art { display: none; }
  .day-list li { grid-template-columns: 96px minmax(0, 1fr) 64px; align-items: center; }
  .day-list .rit-thumb { display: block; width: 64px; height: 64px; border-radius: 16px; object-fit: cover; box-shadow: 0 6px 14px -10px rgba(30,36,70,.5); }
  .plugins-stage { grid-template-columns: 1fr; }
  .glance { grid-template-columns: 1fr; gap: 56px; padding-bottom: 120px; }
  .facts { grid-template-columns: 1fr; }
  .night-inner { padding-top: 120px; padding-bottom: 130px; }
  .foot { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .nav { padding-top: 14px; padding-bottom: 14px; }
  .wordmark { font-size: 23px; }
  .nav-cta { padding: 9px 14px; font-size: 14.5px; }
  .hero-copy { padding-top: 112px; }
  h1 { font-size: clamp(44px, 12.4vw, 58px); line-height: 1; }
  .lede { font-size: 17.5px; margin-top: 20px; }
  .early { flex-direction: column; border-radius: 24px; padding: 6px; gap: 6px; margin-top: 28px; }
  .early input { height: 50px; padding: 0 14px; text-align: center; }
  .early button { padding: 16px 20px; }
  .early-msg { position: static; margin-top: 8px; }
  .eyebrow { margin-bottom: 20px; }
  h2 { font-size: clamp(34px, 9.4vw, 44px); }
  .day-list { padding-left: 28px; }
  .day-list li { grid-template-columns: minmax(0, 1fr) 60px; column-gap: 14px; row-gap: 4px; padding: 18px 0; }
  .day-list li time { grid-column: 1; grid-row: 1; }
  .day-list li > div { grid-column: 1; grid-row: 2; }
  .day-list .rit-thumb { grid-column: 2; grid-row: 1 / span 2; width: 60px; height: 60px; border-radius: 15px; align-self: center; }
  .day-list time { font-size: 24px; }
  .day-list h3 { font-size: 19px; }
  .day-list p { font-size: 17px; }
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 4px; }
  .tile { font-size: 13px; }
  .tile .ic { width: 56px; height: 56px; border-radius: 16px; }
  .tile .ic svg { width: 25px; height: 25px; }
  .ask-bar { height: 58px; font-size: 17px; padding-left: 18px; }
  .ask-plus { width: 44px; height: 44px; }
  .facts b { font-size: 25px; }
  .dawn-inner { padding-bottom: 200px; }
}

/* arc dots */
.hdot { transition: opacity .5s var(--ease); }
.mdot { animation: none; }
.mdot.fresh { animation: dotin .55s var(--ease) both; transform-box: fill-box; transform-origin: center; }
@keyframes dotin { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: none; } }
.hlabel { animation: fadein .8s .9s var(--ease) both; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hlabel, .mdot.fresh { animation: none; } }

/* ---------- second pass ---------- */
.nw { white-space: nowrap; }
.arc-slot { display: none; }

/* one sky from night to sunrise behind privacy and the sign-up */
.afterdark { position: relative; background: #0B1026; isolation: isolate; overflow: clip; }
/* the paper melts into the evening sky: no card edge */
.afterdark::before {
  content: ""; position: absolute; z-index: 1; left: 0; right: 0; top: -1px; height: 32vh; pointer-events: none;
  background: linear-gradient(to bottom, var(--paper) 0%, rgba(244,241,235,.9) 16%, rgba(244,241,235,.62) 38%, rgba(244,241,235,.3) 62%, rgba(244,241,235,.09) 84%, rgba(244,241,235,0) 100%);
}
.ad-sky { position: sticky; top: 0; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none; }
.ad-sky canvas { display: block; width: 100%; height: 100%; }
.ad-sky canvas.ad-land { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 22vh; min-height: 130px; }
/* scroll room for the sunset, before the night's words arrive */
.afterdark > .ad-dusk { margin-top: -100vh; margin-top: -100lvh; height: 190vh; height: 190lvh; }
.night .night-inner { padding-bottom: 60px; }
.dawn h2, .dawn-inner > p { text-shadow: 0 1px 24px rgba(20, 16, 50, .28); }
.app-card {
  display: inline-flex; align-items: center; gap: 14px; margin: 34px auto 0; padding: 10px 20px 10px 10px; text-align: left;
  border-radius: 22px; background: rgba(8,18,48,.26); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
}
.app-card img { width: 64px; height: 64px; border-radius: 15px; box-shadow: 0 6px 16px -6px rgba(10,10,40,.45); }
.app-card b { display: block; font: 600 18px/1.25 var(--sans); color: #fff; }
.app-card span { display: block; font-size: 15px; color: rgba(255,255,255,.94); }
.dawn .early { margin-top: 26px; }

/* ask: a small Today card that does what you type */
.ask-demo { max-width: 520px; }
.ask-card {
  background: var(--card); border-radius: 26px; padding: 22px 22px 10px; text-align: left; margin-bottom: 18px;
  box-shadow: 0 1px 0 rgba(24,23,26,.04), 0 30px 60px -40px rgba(54,42,22,.35);
}
.ask-card-head { display: flex; justify-content: space-between; align-items: baseline; font: 700 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--mut); padding: 0 4px 12px; }
.ask-card-head span + span { letter-spacing: .02em; text-transform: none; font-weight: 600; font-size: 14px; }
.ask-list { list-style: none; margin: 0; padding: 0; }
.ask-list li {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 8px;
  font-size: 18px; color: var(--ink); transition: background .5s var(--ease); border-radius: 12px;
}
.ask-list li + li::before { content: ""; position: absolute; left: 8px; right: 8px; top: 0; height: 1px; background: var(--line); }
.ask-list li.flash::before, .ask-list li.flash + li::before { opacity: 0; }
.ask-list .nm { flex: 1; font-weight: 500; transition: color .4s var(--ease); }
.ask-list time { font-size: 16px; color: var(--mut); font-variant-numeric: tabular-nums; transition: color .4s; }
.ask-list .tick {
  flex: 0 0 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 2px #CFC8BB; position: relative;
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
.ask-list .tick::after {
  content: ""; position: absolute; left: 9px; top: 5px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(.4); opacity: 0; transition: transform .35s var(--ease), opacity .2s;
}
.ask-list li.done .tick { background: var(--ritual); box-shadow: none; }
.ask-list li.done .tick::after { opacity: 1; transform: rotate(45deg) scale(1); }
.ask-list li.done .nm { color: var(--mut); }
.ask-list li.flash { background: #FFF6E2; }
.ask-list li.flash time { color: #9A5B1E; font-weight: 600; }
.ask-reply { min-height: 54px; margin-bottom: 12px; }

/* link card for the open graph picture */
.og .nav-links, .og .nav-cta, .og .early, .og .fine, .og .lede, .og .eyebrow { display: none !important; }
.og .hero-copy { padding-top: 150px; }

@media (max-width: 980px) {
  .tiles .tile { width: 150px; }
}
@media (max-width: 620px) {
  /* the hero on a phone: the day's arc on top, like the app's own Today card */
  .hero-copy { padding-top: 76px; }
  .arc-slot { display: block; height: 150px; margin-bottom: 6px; }
  /* the fine print stays above the hills: the hills are 20vh tall, at least 120px */
  .hero-copy { padding-bottom: max(140px, calc(20vh + 14px)); }
  .eyebrow { font-size: 13.5px; padding: 8px 12px; margin-bottom: 18px; max-width: 100%; }
  .eyebrow #heroNow { white-space: normal; text-align: left; line-height: 1.3; }
  h1 { font-size: clamp(42px, 12vw, 54px); }
  .early { flex-direction: column; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0; gap: 10px; border-radius: 0; width: 100%; }
  .early input {
    flex: 0 0 auto; height: 54px; border-radius: 999px; padding: 0 22px; text-align: left; font-size: 17px;
    background: rgba(8,18,48,.26); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.34);
    transition: box-shadow .2s var(--ease);
  }
  .early:focus-within { box-shadow: none; }
  .early input:focus { box-shadow: inset 0 0 0 2px rgba(255,255,255,.82); }
  .early button { height: 54px; padding: 0 20px; font-size: 17px; }
  .early-msg { text-align: center; }
  .tiles { gap: 16px 4px; }
  .tiles .tile { width: calc(33.333% - 8px); }
  .tile .art { border-radius: 11px; }
  .mini-count { font-size: 16.5px; }
  .ask-card { padding: 18px 16px 6px; }
  .ask-list li { font-size: 17px; gap: 12px; padding: 13px 4px; }
  .ask-list time { font-size: 15px; }
  .app-card b { font-size: 17px; }
  .app-card { margin-top: 28px; }
}

.ask-card { transition: opacity .6s var(--ease); }
.ask-card.resetting { opacity: .35; }
.ask-list li.fresh { animation: rowin .6s var(--ease) both; }
@keyframes rowin { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* over the night sections the bar goes dark too */
.nav.solid.dark { color: #fff; background: rgba(11, 16, 38, .86); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.nav.solid.dark .nav-cta { background: #fff; color: var(--ink); }
