/* OweMe website — layout modeled on getscreeny.app (floating pill nav, centered hero,
   one big framed device, stacked showcase cards, value trio), colored with the app's own
   palette from ios/OweMe/Theme/Theme.swift. Device images are real Screeny mockups. */

:root {
  color-scheme: light;
  --canvas: #F4F4F9;          /* Theme.background */
  --card: #FFFFFF;
  --card-2: #F9F9FC;
  --chip: #F5F5FA;            /* Theme.chip */
  --divider: #E8E8ED;         /* Theme.divider */
  --hairline: rgba(227, 227, 237, 0.92);
  --track: #EDEDF2;

  --ink: #12141A;             /* Theme.primaryText */
  --ink-2: #5F6473;           /* secondary text (AA on canvas) */
  --ink-3: #6B7080;
  --ink-2-chrome: #737885;
  --ink-3-chrome: #9EA1AD;

  --green: #21B873;           /* Theme.green */
  --green-deep: #15804F;
  --green-soft: rgba(33, 184, 115, 0.12);
  --accent: #0B5FF3;          /* Theme.accentBlue */
  --accent-soft: rgba(11, 95, 243, 0.12);
  --blue: #3385F5;            /* Recurring */
  --blue-soft: rgba(51, 133, 245, 0.12);
  --orange: #FA7D33;          /* One-Time */
  --orange-soft: rgba(250, 125, 51, 0.14);
  --purple: #AF52DE;
  --purple-soft: rgba(175, 82, 222, 0.12);
  --red: #B81F38;
  --amber-ink: #8C5412;

  --r-card: 28px;             /* NR.cardRadius */
  --r-show: 44px;             /* showcase cards, the Screeny-style big radius */
  --r-field: 20px;
  --r-tile: 10px;

  --shadow-card: 0 3px 7px rgba(0, 0, 0, 0.05);
  --shadow-float: 0 10px 30px -10px rgba(18, 20, 26, 0.18), 0 1px 2px rgba(18, 20, 26, 0.06);
  --shadow-pill: 0 1px 3px rgba(0, 0, 0, 0.10);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, sans-serif;

  --wrap: 1120px;
  --gutter: 20px;
  --nav-h: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
.money, .num { font-family: var(--font-rounded); font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 820px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 60px; padding: 0 30px;
  border-radius: 999px;
  font: inherit; font-size: 19px; font-weight: 600; line-height: 1;
  cursor: pointer; border: 0; text-decoration: none; white-space: nowrap;
  transition: transform .2s cubic-bezier(.2,.8,.2,1), background-color .2s;
}
@media (max-width: 480px) { .btn { height: 56px; padding: 0 22px; font-size: 17px; } }
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.985); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { background: #26292F; }
.btn.light { background: var(--card); color: var(--ink); box-shadow: var(--shadow-card), inset 0 0 0 1px var(--hairline); }
.btn.small { height: 44px; padding: 0 20px; font-size: 16px; }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; cursor: default; }
.btn svg { width: 18px; height: 18px; }
.btn svg.apple { width: 20px; height: 20px; margin-top: -3px; }
.btn.small svg.apple { width: 17px; height: 17px; margin-top: -2px; }

/* Owner placeholders */
mark.fill {
  position: relative;
  background: var(--orange-soft);
  color: var(--amber-ink);
  border-bottom: 1px dashed var(--orange);
  border-radius: 4px;
  padding: 0 .3em;
  font-weight: 600;
  font-style: normal;
}
mark.fill::before {
  content: "Placeholder: ";
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Floating pill nav ---------- */

.nav { position: sticky; top: 14px; z-index: 30; padding: 0 var(--gutter); pointer-events: none; }
.nav .pill {
  pointer-events: auto;
  max-width: 880px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 68px; padding: 8px 8px 8px 12px;
  background: rgba(255,255,255,0.86);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-radius: 999px;
  box-shadow: var(--shadow-float), inset 0 0 0 1px rgba(255,255,255,0.7);
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; white-space: nowrap; flex-shrink: 0; }
@media (max-width: 420px) { .nav .brand { font-size: 0; gap: 0; } .nav .btn.small { padding: 0 16px; } }  /* icon only; the link keeps its aria-label */
.brand:hover { text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 10px; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink-2); font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.nav-links a:hover { color: var(--ink); background: var(--track); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--ink); background: var(--track); }
.nav-links a.lang { font-weight: 700; letter-spacing: .04em; color: var(--ink); box-shadow: inset 0 0 0 1px var(--hairline); }
@media (max-width: 760px) { .nav-links a.lang { padding: 8px 10px; font-size: 14px; } }
.nav .btn.small { height: 52px; padding: 0 22px; font-size: 17px; }
@media (max-width: 760px) {
  .nav { top: 10px; }
  .nav .pill { height: 60px; padding: 6px 6px 6px 10px; }
  .nav-links li:not(:last-child) { display: none; }   /* on phones keep only the language switch */
  .brand { font-size: 18px; }
  .brand img { width: 40px; height: 40px; }
  .nav .btn.small { height: 48px; padding: 0 18px; font-size: 16px; }
}

/* ---------- Hero ---------- */

.hero { position: relative; padding: 72px 0 0; text-align: center; overflow: hidden; }
.hero .wrap { max-width: 900px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  background: var(--card); box-shadow: var(--shadow-card), inset 0 0 0 1px var(--hairline);
  border-radius: 999px; padding: 8px 14px; margin: 20px 0 0;   /* sits under the hero's fine print */
}
.eyebrow svg { width: 16px; height: 16px; color: var(--green); }
.hero h1 {
  font-size: clamp(46px, 9vw, 96px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero .lede { font-size: clamp(19px, 2.4vw, 24px); line-height: 1.4; color: var(--ink-2); max-width: 34ch; margin: 0 auto 32px; }
.hero .cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 0; }
.hero .fine { font-size: 14px; line-height: 1; color: var(--ink-3); margin: 20px 0 0; }   /* line-height 1 so the 20 px above and below are measured from the glyphs, not from line padding */
.hero .hero-device { margin-top: 36px; }

/* The one big framed device: a real Screeny mockup, cropped at the hero's floor. */
.hero-device {
  position: relative;
  margin: 48px auto 0;
  width: min(440px, 82vw);
  max-height: min(680px, 118vw);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
}
.hero-device img { width: 100%; }
.hero::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 40%;
  width: 1100px; height: 900px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(33,184,115,0.16), rgba(33,184,115,0) 70%);
  pointer-events: none;
}

/* Page-load stagger, straight from the onboarding's rise-and-fade timing. */
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.rise > * { animation: rise .45s cubic-bezier(.2,.7,.2,1) both; }
.rise > *:nth-child(1) { animation-delay: .00s; }
.rise > *:nth-child(2) { animation-delay: .07s; }
.rise > *:nth-child(3) { animation-delay: .14s; }
.rise > *:nth-child(4) { animation-delay: .21s; }
.rise > *:nth-child(5) { animation-delay: .28s; }
.rise > *:nth-child(6) { animation-delay: .35s; }
@media (prefers-reduced-motion: reduce) {
  .rise > * { animation: none; }
  html { scroll-behavior: auto; }
  .btn, .faq summary svg { transition: none; }
  .btn:active { transform: none; }
}

/* ---------- Sections ---------- */

.section { padding: 88px 0 0; scroll-margin-top: 96px; }
main { padding-bottom: 96px; }   /* room between the last section and the footer */
/* Section headings and their intros are centered, like the hero. */
.section-title { text-align: center; max-width: 20ch; margin: 0 auto 28px; font-size: clamp(34px, 5.4vw, 60px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
.section-title.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-sub { text-align: center; font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); max-width: 52ch; margin: -12px auto 32px; }

/* Showcase cards, the Screeny pattern: one big rounded card per idea. */
.showcase { display: flex; flex-direction: column; gap: 22px; }
.show {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center;
  padding: 56px;
  border-radius: var(--r-show);
  background: linear-gradient(180deg, var(--card) 0%, var(--card-2) 100%);
  box-shadow: var(--shadow-card), inset 0 0 0 1px var(--hairline);
  overflow: hidden;
}
.show.flip > .show-text { order: 2; }
.show-text { min-width: 0; }
.show h3 { font-size: clamp(32px, 4.8vw, 56px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.04; margin-bottom: 20px; }
.show p { font-size: clamp(19px, 2.3vw, 26px); color: var(--ink-2); line-height: 1.4; max-width: 34ch; margin: 0; }
.show .pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.show .pill { font-size: 16px; height: 34px; padding: 0 15px; }
.show .pill svg { width: 15px; height: 15px; }
.show .pills p { margin: 0; }
.show-device {
  position: relative;
  justify-self: center;
  width: min(360px, 100%);
  max-height: 560px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
}
.show-device img { width: 100%; }
@media (max-width: 900px) {
  .show { grid-template-columns: 1fr; gap: 28px; padding: 32px 24px 0; }
  .show.flip > .show-text { order: 0; }
  .show-device { max-height: 460px; width: min(320px, 86%); }
}

/* Record-type pills, the app's CategoryPill */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 13px;
  border-radius: 9px;
  font-size: 14px; font-weight: 500; letter-spacing: -0.1px;
  white-space: nowrap;
}
.pill svg { width: 13px; height: 13px; }
.pill.green { background: rgba(33,184,115,0.12); color: var(--green-deep); }
.pill.blue { background: rgba(51,133,245,0.12); color: #1F63C4; }
.pill.orange { background: rgba(250,125,51,0.14); color: #B8551A; }

/* Value trio, the "An app with value" pattern */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; list-style: none; margin: 0; padding: 0; }
.values li {
  display: flex; flex-direction: column; justify-content: flex-start; gap: 0;
  min-height: 300px;
  padding: 32px 28px;
  border-radius: 36px;
  background: linear-gradient(180deg, var(--card) 0%, var(--card-2) 100%);
  box-shadow: var(--shadow-card), inset 0 0 0 1px var(--hairline);
}
/* Icon, title and text stack from the top with fixed gaps, so the three
   cards line up row by row no matter how long each title wraps. */
.values svg { width: 44px; height: 44px; color: var(--ink); margin-bottom: 0; flex-shrink: 0; }
.values h3 { font-size: clamp(16px, 1.6vw, 20px); font-weight: 700; letter-spacing: -0.02em; margin: 28px 0 8px; white-space: nowrap; }  /* one line per title, always */
.values p { font-size: 17px; color: var(--ink-2); line-height: 1.45; margin: 0; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr; } .values li { min-height: 0; } .values h3 { margin-top: 24px; font-size: 22px; } }

/* Feature list (compact) */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.features li { padding: 24px; border-radius: var(--r-card); background: var(--card); box-shadow: var(--shadow-card), inset 0 0 0 1px var(--hairline); }
.features .tile { width: 40px; height: 40px; border-radius: var(--r-tile); display: grid; place-items: center; margin-bottom: 14px; }
.features .tile svg { width: 20px; height: 20px; }
.tile.green { background: var(--green-soft); color: var(--green); }
.tile.blue { background: var(--blue-soft); color: var(--blue); }
.tile.orange { background: var(--orange-soft); color: var(--orange); }
.tile.purple { background: var(--purple-soft); color: var(--purple); }
.tile.accent { background: var(--accent-soft); color: var(--accent); }
.tile.ink { background: var(--chip); color: var(--ink-2-chrome); box-shadow: inset 0 0 0 1px var(--hairline); }
.features h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.features p { font-size: 15.5px; color: var(--ink-2); line-height: 1.45; margin: 0; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq details { padding: 6px 22px; border-radius: var(--r-card); background: var(--card); box-shadow: var(--shadow-card), inset 0 0 0 1px var(--hairline); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 18px; font-weight: 600; padding: 14px 0;
}
.faq summary:hover { color: var(--green-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 15px; height: 15px; color: var(--ink-2); flex: none; transition: transform .22s; }
.faq details[open] summary svg { transform: rotate(90deg); }
.faq .answer { padding: 0 32px 16px 0; color: var(--ink-2); font-size: 16px; line-height: 1.5; max-width: 70ch; }
.faq .answer p:last-child { margin-bottom: 0; }

/* Closing */
.closing { text-align: center; padding: 104px 0 88px; }
.closing .icon { width: 112px; height: 112px; border-radius: 25px; margin: 0 auto 28px; box-shadow: var(--shadow-float), inset 0 0 0 1px var(--hairline); }
.closing h2 { font-size: clamp(34px, 5.4vw, 60px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; margin-bottom: 14px; }
.closing p { color: var(--ink-2); font-size: clamp(18px, 2vw, 21px); max-width: 40ch; margin: 0 auto 28px; }
.closing .cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.closing .fine { margin: 16px auto 0; font-size: 14px; color: var(--ink-3); }

/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--divider); padding: 40px 0 56px; font-size: 14px; color: var(--ink-3); }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; margin-bottom: 28px; }
.footer .brand { font-size: 17px; }
.footer .brand img { width: 32px; height: 32px; border-radius: 7px; }
.footer .tag { margin: 12px 0 0; max-width: 32ch; color: var(--ink-2); }
.footer h4 { font-size: 13px; font-weight: 600; color: var(--ink); margin: 0 0 10px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer a { color: var(--ink-2); font-weight: 500; }
.footer a:hover { color: var(--ink); }
.footer .legal-line { margin: 0; padding-top: 20px; border-top: 1px solid var(--divider); }
@media (max-width: 760px) { .footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer .cols { grid-template-columns: 1fr; } }

/* ---------- Legal pages ---------- */

.legal-page { padding: 40px 0 88px; }
.legal.not-found { display: block; text-align: center; max-width: 820px; margin-inline: auto; padding-block: 80px; }
.not-found .btn { margin-top: 20px; }
.legal {
  background: var(--card);
  border-radius: var(--r-show);
  box-shadow: var(--shadow-card), inset 0 0 0 1px var(--hairline);
  padding: 48px;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  column-gap: 44px;
  scroll-margin-top: var(--nav-clearance, 120px);
}
.legal > * { grid-column: 2; min-width: 0; }
.legal > .toc {
  grid-column: 1; grid-row: 1 / span 200;
  position: sticky; top: 120px; align-self: start;
  max-height: calc(100vh - 144px);
  overflow-y: auto; overscroll-behavior: contain;
  padding-right: 4px;
  font-size: 13.5px;
}
.legal .toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; counter-reset: toc; }
.legal .toc li { counter-increment: toc; margin: 0; }
.legal .toc li + li { margin-top: 0; }
.legal .toc a {
  display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 4px;
  color: var(--ink-2); padding: 4px 8px; border-radius: 8px; line-height: 1.25; font-size: 13.5px;
}
.legal .toc a::before { content: counter(toc); font-family: var(--font-rounded); font-variant-numeric: tabular-nums; color: var(--ink-3); font-size: 12px; padding-top: 1px; }
.legal .toc a:hover { color: var(--ink); background: var(--chip); text-decoration: none; }

.legal-head { margin-bottom: 20px; }
.legal-head .eyebrow { margin-bottom: 18px; }
.legal-head h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; margin: 0 0 12px; }
.legal-head .meta { font-size: 14px; color: var(--ink-2); margin: 0; }

.legal .summary {
  background: var(--chip);
  border-radius: var(--r-field);
  box-shadow: inset 0 0 0 1px var(--hairline);
  padding: 20px 22px;
  margin: 0 0 32px;
}
.legal .summary h2 { font-size: 13px; font-weight: 600; color: var(--ink-2); margin: 0 0 10px; }
.legal .summary ul { margin: 0; padding-left: 20px; }
.legal .summary li { font-size: 15.5px; line-height: 1.5; }
.legal .summary li + li { margin-top: 6px; }

.legal section { padding: 26px 0; border-top: 1px solid var(--divider); max-width: 72ch; scroll-margin-top: var(--nav-clearance, 120px); }
.legal section h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; display: flex; gap: 12px; align-items: baseline; margin-bottom: 12px; }
.legal section h2 .n { font-family: var(--font-rounded); font-variant-numeric: tabular-nums; font-size: 14px; font-weight: 600; color: var(--ink-3); flex: none; min-width: 22px; }
.legal section h3 { font-size: 17px; font-weight: 600; margin: 20px 0 8px; }
.legal p, .legal li { font-size: 16px; line-height: 1.6; color: var(--ink); }
.legal ul, .legal ol { padding-left: 22px; margin: 0 0 1em; }
.legal li + li { margin-top: 6px; }
.legal dl.facts {
  display: grid; grid-template-columns: minmax(96px, 30%) minmax(0, 1fr); gap: 8px 18px;
  margin: 12px 0 18px; padding: 16px 18px;
  background: var(--chip); border-radius: var(--r-field);
  box-shadow: inset 0 0 0 1px var(--hairline);
  font-size: 15px;
}
.legal dl.facts dt { font-weight: 600; color: var(--ink-2); }
.legal dl.facts dd { margin: 0; overflow-wrap: anywhere; }
.legal code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .9em; background: var(--chip); padding: .1em .4em; border-radius: 5px; overflow-wrap: anywhere; }
.legal a { overflow-wrap: anywhere; }
.legal .back-top { font-size: 13px; color: var(--ink-3); margin-top: 24px; display: inline-block; }

@media (max-width: 1000px) {
  .legal { grid-template-columns: 1fr; padding: 32px 24px; border-radius: 32px; }
  .legal > * { grid-column: 1; }
  .legal > .toc { grid-row: auto; position: static; max-height: none; margin: 0 0 24px; padding: 16px; background: var(--chip); border-radius: var(--r-field); box-shadow: inset 0 0 0 1px var(--hairline); }
  .legal .toc ol { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; }
}
@media (max-width: 700px) {
  .legal dl.facts { grid-template-columns: 1fr; gap: 2px 0; }
  .legal dl.facts dd { margin-bottom: 8px; }
}
@media (max-width: 560px) {
  .legal { padding: 24px 18px; }
  .legal .toc ol { grid-template-columns: 1fr; }
}

@media print {
  .nav, .footer, .toc, .back-top { display: none !important; }
  body { background: #fff; }
  .legal { box-shadow: none; padding: 0; display: block; }
  .legal section h2, .legal section h3 { break-after: avoid; }
  .legal dl.facts, .legal .summary { break-inside: avoid; }
  .legal a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; color: var(--ink-2); }
  mark.fill { background: none; border: 0; color: inherit; }
}

/* ---------- Scroll effects (only when assets/site.js adds html.fx) ---------- */
html.fx .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.3s cubic-bezier(.22,.61,.36,1), transform 1.3s cubic-bezier(.22,.61,.36,1); will-change: opacity, transform; }
html.fx .reveal.in { opacity: 1; transform: none; }
/* Word-by-word light-up: words start dimmed and turn to ink as they scroll past. */
html.fx p.lit .w { --t: 0; color: var(--ink-3); transition: color .35s linear; }
html.fx p.lit .w.on { color: var(--ink); }
@supports (color: color-mix(in srgb, red, blue)) { html.fx p.lit .w, html.fx p.lit .w.on { color: color-mix(in srgb, var(--ink) calc(var(--t) * 100%), var(--ink-3)); } }
@media (prefers-reduced-motion: reduce) { html.fx .reveal { opacity: 1; transform: none; transition: none; } html.fx p.lit .w { color: inherit; } }
