/* Burn & Release: one system, taken from the app (Release/Views/DesignSystem.swift). */

@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 300 500; font-display: swap;
  src: url(/fonts/Newsreader-roman.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 300 500; font-display: swap;
  src: url(/fonts/Newsreader-normal-300_500-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Handwriting: the app's Bradley Hand where the system has it (Apple devices), Kalam elsewhere. */
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 300; font-display: swap;
  src: url(/fonts/Newsreader-italic-display.woff2) format("woff2"); }
@font-face { font-family: "Kalam"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/fonts/Kalam-normal-700-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Kalam"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/fonts/Kalam-normal-700-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* colour, from the app's Palette */
  --night: #120d10;
  --night-2: #1a1317;
  --plum: #30242c;
  --plum-hi: #43333d;
  --ember: #ef9b72;
  --ember-hot: #ffc995;
  --ember-deep: #db6e45;
  --blush: #fbe5da;
  --text: #f7ece4;
  --dim: rgba(247, 236, 228, 0.68);
  --faint: rgba(247, 236, 228, 0.54);
  --hair: rgba(255, 255, 255, 0.1);
  --ink: #2b1f24;

  /* type */
  --serif: "Newsreader", ui-serif, "New York", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --hand: "Bradley Hand", "Kalam", "Segoe Print", cursive;

  /* space: 4pt steps */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --gutter: clamp(16px, 5vw, 72px);
  --maxw: 1200px;

  /* shape */
  --r-pill: 999px;
  --r-card: 24px;
  --r-screen: 34px;

  /* motion */
  --out: cubic-bezier(0.22, 1, 0.36, 1);
  --in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --spring: cubic-bezier(0.34, 1.32, 0.64, 1);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
p, li { text-wrap: pretty; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: rgba(239, 155, 114, 0.35); color: var(--text); }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 6px; }

.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--s4); top: -60px; z-index: 50; padding: var(--s2) var(--s4); background: var(--blush); color: var(--ink); border-radius: var(--r-pill); font-weight: 600; text-decoration: none; transition: top 0.2s var(--out); }
.skip:focus { top: var(--s4); }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

/* type roles */
.display {
  font-family: var(--serif);
  font-weight: 300;
  font-optical-sizing: auto;
  letter-spacing: -0.028em;
  line-height: 0.98;
  text-wrap: balance;
}
.display em, .em { font-style: italic; color: var(--ember); letter-spacing: -0.02em; }
.lede { color: var(--dim); font-size: clamp(17px, 1.35vw, 19px); line-height: 1.55; max-width: 34ch; text-wrap: pretty; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ember); }

/* header */
.top {
  position: absolute; inset: 0 0 auto; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s5) max(var(--gutter), calc((100% - var(--maxw)) / 2));
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 400 19px/1 var(--serif); letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.top-actions { display: flex; align-items: center; gap: var(--s3); }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--hair); background: rgba(48, 36, 44, 0.42); cursor: pointer;
  color: var(--dim); transition: color 0.2s, background-color 0.2s, transform 0.2s var(--out);
}
.icon-btn:hover { color: var(--text); background: rgba(67, 51, 61, 0.6); }
.icon-btn:active { transform: scale(0.94); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn .off { display: none; }
.icon-btn[aria-pressed="false"] .on { display: none; }
.icon-btn[aria-pressed="false"] .off { display: block; }

/* store badge: "soon" until the App Store id exists, see site/LAUNCH.md */
.store {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px 0 18px;
  border-radius: var(--r-pill); border: 1px solid rgba(239, 155, 114, 0.4);
  background: rgba(48, 36, 44, 0.55); color: var(--text); text-decoration: none;
  font-size: 15px; font-weight: 600; letter-spacing: -0.005em; white-space: nowrap;
}
.store small { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--faint); line-height: 1.1; }
.store span { display: block; line-height: 1.2; }
.store .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 4px rgba(239, 155, 114, 0.16), 0 0 14px rgba(255, 170, 110, 0.7); flex: none; }
a.store { transition: border-color 0.25s, background-color 0.25s; }
a.store:hover { border-color: var(--ember); background: rgba(67, 51, 61, 0.7); }

/* hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh;
  display: grid; align-items: center;
  padding: 88px 0 var(--s7);
  --heat: 0;
}
.hero::before { /* the light: warm from below, like the app's dusk */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(70% 55% at 72% 112%, rgba(219, 110, 69, 0.42), transparent 70%),
    radial-gradient(60% 40% at 18% 108%, rgba(239, 155, 114, 0.16), transparent 70%),
    linear-gradient(180deg, var(--night) 0%, #170f13 60%, #1f1317 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 220px), transparent);
  mask-image: linear-gradient(180deg, #000 calc(100% - 220px), transparent);
}
.hero::after { /* bokeh band from the app's own dusk art, kept low and quiet */
  content: ""; position: absolute; inset: auto 0 0; height: 46%; z-index: -2;
  background: url(/img/dusk.webp) center bottom / cover no-repeat;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 45%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 45%, transparent);
}
.hero-glow { /* light the burning page casts on the room */
  position: absolute; z-index: -1; pointer-events: none;
  width: 900px; height: 900px; left: calc(50% + 230px); top: 50%; translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(255, 150, 80, 0.32), rgba(219, 110, 69, 0.12) 45%, transparent 72%);
  opacity: var(--heat); will-change: opacity;
}
#embers { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }

.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center; gap: clamp(32px, 6vw, 96px);
}
.hero h1 { font-size: clamp(46px, 6.1vw, 100px); }
.hero h1 .line { display: block; white-space: nowrap; }
.hero .lede { margin-top: var(--s5); }
.hero-cta { margin-top: var(--s6); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); }

/* the ritual */
.ritual { position: relative; display: grid; justify-items: center; text-align: center; }
.ask { display: grid; justify-items: center; gap: 6px; margin-bottom: var(--s5); min-height: 62px; }
.ask p {
  font: 400 clamp(19px, 1.6vw, 22px)/1.3 var(--serif); letter-spacing: -0.01em; color: var(--text);
  max-width: 26ch; text-wrap: balance; transition: opacity 0.25s var(--out), translate 0.25s var(--out);
}
.ask p.swap { opacity: 0; translate: 0 6px; }
.ghost-btn {
  display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; min-height: 44px; padding: 0 12px; cursor: pointer;
  font-size: 13px; font-weight: 600; color: var(--ember); border-radius: var(--r-pill);
}
.ghost-btn:hover { color: var(--ember-hot); }
.ghost-btn svg { width: 13px; height: 13px; transition: rotate 0.5s var(--out); }
.ghost-btn:hover svg { rotate: -40deg; }

.stage { position: relative; width: min(100%, 384px, max(280px, calc((100svh - 340px) * 0.8))); }
.sheet {
  position: relative; width: 100%; aspect-ratio: 4 / 5;
  rotate: -1.4deg;
  transition: rotate 0.9s var(--out), translate 0.9s var(--out), opacity 0.5s var(--out);
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.5)) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}
.sheet canvas, .sheet textarea { position: absolute; inset: 0; width: 100%; height: 100%; }
.sheet .paper { border-radius: 2px; }
.sheet .burn { visibility: hidden; }
.sheet textarea {
  resize: none; border: 0; outline: 0; background: transparent; margin: 0;
  padding: 30px 30px 26px;
  font: 700 clamp(19px, 1.65vw, 22px)/1.55 var(--hand);
  color: var(--ink); caret-color: var(--ember-deep);
  scrollbar-width: none;
}
.sheet textarea::-webkit-scrollbar { display: none; }
.sheet textarea::placeholder { color: rgba(43, 31, 36, 0.66); opacity: 1; }
.sheet:has(textarea:focus-visible) { outline: none; }
.ritual[data-state="burning"] .sheet { rotate: -0.6deg; translate: 0 -6px; }
.ritual[data-state="burning"] .sheet .paper,
.ritual[data-state="burning"] .sheet textarea { visibility: hidden; }
.ritual[data-state="burning"] .sheet .burn { visibility: visible; }
.ritual[data-state="released"] .sheet { visibility: hidden; }
.ask { transition: opacity 0.4s var(--out), visibility 0.4s; }
.ritual:not([data-state="writing"]) .ask { opacity: 0; visibility: hidden; }
.ritual.entering .sheet { animation: sheet-in 0.9s var(--spring) both; }
@keyframes sheet-in { from { opacity: 0; translate: 0 34px; rotate: 2.5deg; } }

#fx { position: absolute; left: -160px; right: -160px; top: -220px; bottom: -60px; width: calc(100% + 320px); height: calc(100% + 280px); pointer-events: none; z-index: 2; }

.released {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: var(--s3);
  opacity: 0; translate: 0 10px; pointer-events: none; visibility: hidden;
  transition: opacity 0.7s var(--out), translate 0.9s var(--out), visibility 0.7s;
}
.ritual[data-state="released"] .released { opacity: 1; translate: 0 0; pointer-events: auto; visibility: visible; transition-delay: 0.25s; }
.released h2 { font-size: clamp(48px, 5vw, 64px); }
.released p { color: var(--dim); font-size: 16px; max-width: 24ch; text-wrap: balance; }
.released .quiet { margin-top: var(--s4); }

.hold {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: var(--s6); width: min(100%, 320px); height: 56px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: var(--r-pill); border: 1px solid rgba(239, 155, 114, 0.55);
  background: rgba(48, 36, 44, 0.6);
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--text);
  cursor: pointer; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: scale 0.25s var(--out), border-color 0.3s, box-shadow 0.3s, opacity 0.4s var(--out);
}
.hold::before { /* the fill: grows while held */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--ember-deep), var(--ember) 70%, var(--ember-hot));
  transform-origin: left center; transform: scaleX(var(--p, 0));
}
.hold svg { width: 17px; height: 17px; color: var(--ember); transition: color 0.2s; }
.hold.holding { scale: 0.97; border-color: var(--ember); box-shadow: 0 0 0 6px rgba(239, 155, 114, 0.1), 0 10px 40px rgba(219, 110, 69, 0.35); }
.hold.holding svg, .hold.done svg { color: var(--night); }
.hold.done { color: var(--night); }
.hold[disabled] { cursor: default; }
@media (hover: hover) { .hold:not(.holding):hover { border-color: var(--ember); background: rgba(67, 51, 61, 0.7); } }
.ritual[data-state="burning"] .hold, .ritual[data-state="released"] .hold { opacity: 0; pointer-events: none; }
.privacy-note { margin-top: var(--s3); display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--dim); }
.privacy-note svg { width: 12px; height: 12px; }
.ritual[data-state="released"] .privacy-note { opacity: 0; }

.quiet {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px;
  border-radius: var(--r-pill); border: 1px solid var(--hair); background: rgba(255, 255, 255, 0.06);
  font-size: 15px; font-weight: 600; color: var(--text); cursor: pointer; text-decoration: none;
  transition: background-color 0.2s, scale 0.2s var(--out);
}
.quiet:hover { background: rgba(255, 255, 255, 0.1); }
.quiet:active { scale: 0.97; }

/* sections */
.section { padding: clamp(80px, 11vw, 160px) 0; position: relative; }
.section-head { display: grid; gap: var(--s4); margin-bottom: clamp(40px, 5vw, 72px); }
.section h2.display { font-size: clamp(38px, 5vw, 72px); }
.section .lede { max-width: 44ch; }

/* how it goes: three real screens */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); counter-reset: step; }
.step { counter-increment: step; }
.screen {
  border-radius: var(--r-screen); overflow: hidden; background: var(--night-2);
  box-shadow: 0 0 0 1px var(--hair), 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  aspect-ratio: 1206 / 2622; max-width: 340px;
}
.screen img { width: 100%; height: 100%; object-fit: cover; }
.step h3 { margin-top: var(--s5); font: 400 26px/1.15 var(--serif); letter-spacing: -0.015em; display: flex; gap: 12px; align-items: baseline; }
.step h3::before { content: counter(step); font: 600 13px/1 var(--sans); color: var(--ember); font-variant-numeric: tabular-nums; translate: 0 -3px; }
.step p { margin-top: var(--s2); color: var(--dim); max-width: 30ch; text-wrap: pretty; }

/* nothing is kept */
.kept { background: linear-gradient(180deg, transparent, rgba(48, 36, 44, 0.35) 30%, rgba(48, 36, 44, 0.35) 70%, transparent); }
.kept-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.kept h2.display { font-size: clamp(48px, 7vw, 104px); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s6); border-top: 1px solid var(--hair); }
.facts li { padding: 18px 0; border-bottom: 1px solid var(--hair); font-size: 17px; display: flex; gap: 12px; align-items: baseline; }
.facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); flex: none; translate: 0 -2px; }
.kept .lede { margin-top: var(--s5); }

/* three ways */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.way { position: relative; border-radius: var(--r-card); overflow: hidden; background: var(--night-2); box-shadow: 0 0 0 1px var(--hair); }
.way img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 42%; }
.way-body { padding: var(--s5) var(--s5) var(--s6); }
.way h3 { font: 400 26px/1.15 var(--serif); letter-spacing: -0.015em; display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); }
.tag { font: 600 12px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 10px; border-radius: var(--r-pill); border: 1px solid var(--hair); color: var(--dim); white-space: nowrap; }
.tag.plus { color: var(--ember); border-color: rgba(239, 155, 114, 0.4); }
.way p { margin-top: var(--s2); color: var(--dim); }

/* free and plus */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); max-width: 920px; }
.plan { border-radius: var(--r-card); padding: clamp(24px, 3vw, 40px); background: rgba(48, 36, 44, 0.45); box-shadow: inset 0 0 0 1px var(--hair); }
.plan.plus { background: linear-gradient(160deg, rgba(219, 110, 69, 0.22), rgba(48, 36, 44, 0.5) 55%); box-shadow: inset 0 0 0 1px rgba(239, 155, 114, 0.35); }
.plan h3 { font: 400 34px/1.1 var(--serif); letter-spacing: -0.02em; }
.plan .sub { margin-top: var(--s2); color: var(--dim); font-size: 15px; }
.plan ul { margin-top: var(--s5); display: grid; gap: 12px; }
.plan li { display: flex; gap: 12px; align-items: baseline; }
.plan li::before { content: ""; width: 14px; height: 8px; flex: none; border-left: 2px solid var(--ember); border-bottom: 2px solid var(--ember); rotate: -45deg; translate: 0 -4px; }
.plans-note { margin-top: var(--s5); color: var(--faint); font-size: 15px; max-width: 60ch; }

/* faq */
.faq { max-width: 860px; border-top: 1px solid var(--hair); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s5);
  padding: 22px 0; font: 400 clamp(20px, 2vw, 24px)/1.3 var(--serif); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blush); }
.faq summary::after {
  content: ""; width: 10px; height: 10px; flex: none; border-right: 1.5px solid var(--ember); border-bottom: 1.5px solid var(--ember);
  rotate: 45deg; translate: 0 -3px; transition: rotate 0.3s var(--out), translate 0.3s var(--out);
}
.faq details[open] summary::after { rotate: 225deg; translate: 0 3px; }
.faq .a { padding: 0 0 24px; color: var(--dim); max-width: 64ch; display: grid; gap: var(--s3); }
.faq .a a { color: var(--ember); text-underline-offset: 3px; }

/* closing */
.closer { text-align: center; padding: clamp(96px, 14vw, 200px) 0; overflow: hidden; position: relative; isolation: isolate; }
.closer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 50% 100%, rgba(219, 110, 69, 0.3), transparent 70%); }
.closer h2.display { font-size: clamp(44px, 7vw, 112px); max-width: 14ch; margin-inline: auto; }
.closer .store { margin-top: var(--s7); }

/* footer */
.foot { border-top: 1px solid var(--hair); padding: var(--s7) 0 var(--s8); color: var(--faint); font-size: 14px; }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s5); }
.foot nav { display: flex; flex-wrap: wrap; gap: var(--s5); }
.foot a { color: var(--dim); text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot .care { margin-top: var(--s5); max-width: 70ch; }

/* plain pages: privacy, support, 404 */
.page { padding: 140px 0 var(--s9); }
.page .wrap { max-width: 760px; }
.page h1.display { font-size: clamp(44px, 6vw, 72px); }
.page .updated { margin-top: var(--s4); color: var(--faint); font-size: 15px; }
.prose { margin-top: var(--s7); display: grid; gap: var(--s4); color: var(--dim); }
.prose h2 { margin-top: var(--s6); font: 400 28px/1.2 var(--serif); letter-spacing: -0.015em; color: var(--text); }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--ember); text-underline-offset: 3px; }
.prose ul { display: grid; gap: var(--s2); }
.prose li { padding-left: 20px; position: relative; }
.prose li::before { content: ""; position: absolute; left: 2px; top: 0.7em; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); }
.lost { min-height: 100svh; display: grid; place-content: center; text-align: center; gap: var(--s5); padding: var(--gutter); }
.lost h1.display { font-size: clamp(48px, 8vw, 96px); }

/* reveal on scroll: quiet, one move (rise + fade), only when motion is welcome */
@media (prefers-reduced-motion: no-preference) {
  .js .rise { opacity: 0; translate: 0 18px; transition: opacity 0.9s var(--out), translate 0.9s var(--out); transition-delay: calc(var(--i, 0) * 90ms); }
  .js .rise.in { opacity: 1; translate: 0 0; }
  .js .hero .rise { animation: hero-in 1.1s var(--out) both; animation-delay: calc(120ms + var(--i, 0) * 110ms); opacity: 1; translate: none; transition: none; }
  @keyframes hero-in { from { opacity: 0; translate: 0 16px; } }
}
@media (prefers-reduced-motion: reduce) {
  /* fades stay (they don't move anything); travel, tilt and springs go */
  .ritual.entering .sheet { animation: none; }
  .released, .ask p.swap { translate: none; }
  .ritual[data-state="burning"] .sheet { translate: none; }
  .ghost-btn:hover svg { rotate: none; }
}
.ritual[data-state="fading"] .hold, .ritual[data-state="fading"] .privacy-note { opacity: 0; pointer-events: none; }
html:not(.js) .hold, html:not(.js) #another, html:not(.js) .privacy-note { display: none; }

/* sizes */
@media (max-width: 1023px) {
  .hero-glow { left: 50%; top: 68%; }
}
@media (max-width: 860px) {
  .hero { padding-top: 92px; align-items: start; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; justify-items: center; text-align: center; }
  .hero-copy { display: contents; } /* lets the store pill drop below the page on small screens */
  .hero .lede { margin-inline: auto; }
  .ritual { margin-top: var(--s7); width: 100%; }
  .hero-cta { order: 3; justify-content: center; margin-top: var(--s7); }
  .kept-grid { grid-template-columns: 1fr; }
  .kept-grid > div { text-align: center; }
  .kept .lede { margin-inline: auto; }
  .steps { text-align: center; }
  .step { display: grid; justify-items: center; }
  .step h3 { justify-content: center; }
  .way h3 { font-size: 22px; flex-wrap: wrap; }
  .section-head { text-align: center; justify-items: center; }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; gap: var(--s8); }
  .screen { width: min(78vw, 320px); }
  .ways, .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .way h3 { font-size: 26px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .top { padding: var(--s4) var(--gutter); }
  .top .store { display: none; }
  .hero { padding-top: 84px; padding-bottom: var(--s7); }
  .hero h1 { font-size: clamp(42px, 12vw, 56px); }
  .hero .lede { font-size: 16px; margin-top: var(--s4); }
  .hero-cta { margin-top: var(--s5); }
  .ask { margin-bottom: var(--s4); min-height: 56px; }
  .ask p { font-size: 19px; }
  .sheet { aspect-ratio: 1 / 0.9; }
  .ritual { margin-top: var(--s6); }
  .sheet textarea { padding: 24px 22px 20px; font-size: 19px; }
  .hold { width: 100%; margin-top: var(--s5); }
  .facts { grid-template-columns: 1fr; }
  .foot-grid { flex-direction: column; }
}
@media (min-width: 1600px) {
  :root { --maxw: 1320px; }
}
