/* textlore.app, third edition.
   One idea: your texting life as tree rings. Editorial serif (Apple's New York through ui-serif)
   with SF for interface text, warm paper by day, deep indigo by night, amber where it matters.
   Glass only on the navigation capsule and the download bar. */

:root {
  color-scheme: light dark;
  --paper: #F6F3EC;
  --paper-2: #EEEAE0;
  --card: #FFFDF9;
  --ink: #1B1442;
  --ink-2: #49446A;
  --ink-3: #5E5977;
  --line: rgba(27, 20, 66, 0.11);
  --line-2: rgba(27, 20, 66, 0.2);
  --accent: #5145CD;
  --accent-ink: #4337C0;
  --accent-soft: rgba(81, 69, 205, 0.1);
  --amber: #F5A524;
  --hl: #FFD27A;
  --green: #2FA84F;
  --night: #0C0A1D;
  --night-ink: #F3F0FF;
  --night-sub: #A7A2C3;
  --nav-bg: rgba(250, 248, 242, 0.76);
  --shadow-s: 0 1px 2px rgba(27, 20, 66, 0.06), 0 6px 16px rgba(27, 20, 66, 0.07);
  --shadow: 0 1px 2px rgba(27, 20, 66, 0.06), 0 18px 50px rgba(27, 20, 66, 0.13);
  --shadow-l: 0 2px 6px rgba(27, 20, 66, 0.08), 0 40px 100px rgba(27, 20, 66, 0.2);
  --serif: ui-serif, "New York", "Iowan Old Style", Charter, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --rounded: ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif;
  --spring: cubic-bezier(.2, .7, .2, 1);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --gutter: max(16px, 4vw);
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0C0A1D;
    --paper-2: #14102C;
    --card: #1A1638;
    --ink: #F3F0FF;
    --ink-2: #C9C4E2;
    --ink-3: #A39EC0;
    --line: rgba(243, 240, 255, 0.1);
    --line-2: rgba(243, 240, 255, 0.2);
    --accent: #6F66F0;
    --accent-ink: #B3ADFF;
    --accent-soft: rgba(139, 131, 255, 0.16);
    --hl: #F5A524;
    --nav-bg: rgba(22, 18, 52, 0.7);
    --shadow-s: 0 1px 2px rgba(0, 0, 0, 0.3), 0 6px 16px rgba(0, 0, 0, 0.25);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 18px 50px rgba(0, 0, 0, 0.45);
    --shadow-l: 0 2px 6px rgba(0, 0, 0, 0.35), 0 40px 100px rgba(0, 0, 0, 0.6);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; overflow-anchor: none; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--accent-ink); }
p { text-wrap: pretty; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--hl); color: #1B1442; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(245, 165, 36, 0.2); }
.num { font-family: var(--rounded); font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: var(--card); color: var(--ink); }
.skip:focus { top: 16px; }
.section-title { font-size: clamp(38px, 5.2vw, 72px); line-height: 1.02; }
.lede { font-size: clamp(18px, 1.6vw, 20.5px); color: var(--ink-2); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; z-index: 60; top: 12px; left: 50%; translate: -50% 0;
  width: min(1100px, 100% - 20px); display: flex; align-items: center; gap: 6px; padding: 7px 7px 7px 14px;
  border-radius: 999px; background: var(--nav-bg); border: 1px solid var(--line);
  box-shadow: 0 10px 34px rgba(12, 10, 29, 0.1);
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  transition: translate .45s var(--spring);
}
.nav.is-hidden { translate: -50% calc(-100% - 20px); }
@media (prefers-reduced-transparency: reduce) { .nav, .dlbar { background: var(--card); -webkit-backdrop-filter: none; backdrop-filter: none; } }
.nav__brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 600 20px/1 var(--serif); letter-spacing: -0.01em; }
.nav__brand img { width: 32px; height: 32px; border-radius: 8px; transition: transform .5s var(--bounce); }
.nav__brand:hover img { transform: rotate(-8deg) scale(1.06); }
.nav__links { position: relative; display: flex; gap: 2px; margin: 0 auto; padding: 0; list-style: none; }
.nav__links a { position: relative; z-index: 1; display: block; padding: 9px 15px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s; }
.nav__links a:hover, .nav__links a.is-here, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__pill { position: absolute; z-index: 0; top: 0; height: 100%; border-radius: 999px; background: var(--accent-soft); opacity: 0; transition: left .35s var(--spring), width .35s var(--spring), opacity .2s; pointer-events: none; }
.nav__cta { display: flex; gap: 6px; }
.nav .btn { height: 44px; padding: 0 20px; font-size: 15px; }
.nav__menu { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.nav__menu span { display: block; width: 18px; height: 2px; margin: 4px auto; border-radius: 2px; background: var(--ink); transition: transform .3s var(--spring); }
.nav.is-open .nav__menu span:first-child { transform: translateY(3px) rotate(45deg); }
.nav.is-open .nav__menu span:last-child { transform: translateY(-3px) rotate(-45deg); }
@media (max-width: 960px) {
  .nav { flex-wrap: wrap; border-radius: 28px; }
  .nav__brand { margin-right: auto; }
  .nav__links { order: 3; display: none; flex-direction: column; width: 100%; margin: 6px 0 4px; }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a { padding: 13px 12px; font-size: 17px; }
  .nav__menu { display: block; }
  .nav__cta .btn--ghost { display: none; }
  .nav__pill { display: none; }
}
@media (max-width: 400px) { .nav .btn { padding: 0 15px; } }

/* ---------- Buttons: lift, squish, magnetic, shine ---------- */
.btn {
  --b-bg: var(--ink); --b-ink: var(--paper);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 26px;
  border: 0; border-radius: 999px; background: var(--b-bg); color: var(--b-ink);
  font: 600 16.5px/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .3s var(--bounce), box-shadow .3s var(--spring), background-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { color: var(--b-ink); box-shadow: 0 12px 28px rgba(12, 10, 29, 0.22); }
.btn:active { transform: scale(0.96) !important; transition-duration: .08s; }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn--amber { --b-bg: var(--amber); --b-ink: #1B1442; box-shadow: 0 8px 24px rgba(245, 165, 36, 0.35); }
.btn--amber:hover { box-shadow: 0 14px 34px rgba(245, 165, 36, 0.55); }
.btn--ghost { --b-bg: transparent; --b-ink: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--big { height: 64px; padding: 0 30px; font-size: 18px; }
.btn__two { display: grid; text-align: left; gap: 4px; line-height: 1; }
.btn__two small { font-size: 12.5px; font-weight: 500; opacity: .72; }
.btn--shine::after { content: ""; position: absolute; z-index: -1; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.6), transparent); transform: skewX(-20deg); animation: shine 5s ease-in-out 2s infinite; }
@keyframes shine { 0%, 72% { left: -60%; } 100% { left: 130%; } }
.btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 128px 0 56px; overflow: hidden; }
.hero::before { content: ""; position: absolute; z-index: -1; right: -10%; top: -10%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; border-radius: 50%; background: radial-gradient(closest-side, rgba(81, 69, 205, 0.12), transparent); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 40px 56px; align-items: center; }
.badge-new { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-s); font-size: 14px; color: var(--ink-2); text-decoration: none; transition: transform .3s var(--bounce); }
.badge-new:hover { transform: translateY(-2px); color: var(--ink); }
.badge-new b { flex: none; white-space: nowrap; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.hero h1 { margin-top: 24px; font-size: clamp(50px, 7vw, 100px); line-height: .98; letter-spacing: -0.035em; }
.hero__sub { margin-top: 26px; max-width: 560px; font-size: clamp(18px, 1.65vw, 21px); line-height: 1.5; color: var(--ink-2); }
.hero .btns { margin-top: 34px; }
.reqs { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; padding: 0; list-style: none; font-size: 14px; color: var(--ink-3); }
.reqs li { display: flex; align-items: center; gap: 7px; }
.reqs svg { width: 16px; height: 16px; color: var(--green); flex: none; }

.ringsearch { position: relative; width: min(560px, 100%); justify-self: center; }
.ringsearch__svg { width: 100%; aspect-ratio: 1; overflow: visible; }
.ringsearch__svg .dot { fill: var(--ink); opacity: .42; transform-box: fill-box; transform-origin: center; transition: fill .3s, opacity .3s, transform .35s var(--bounce); cursor: pointer; }
.ringsearch__svg .dot:hover { transform: scale(1.6); opacity: 1; }
.ringsearch__svg .dot.is-hit { fill: var(--amber); opacity: 1; transform: scale(1.45); }
.ringsearch__svg .dot.is-dim { opacity: .12; }
.ringsearch__svg .halo { fill: var(--amber); opacity: 0; transform-box: fill-box; transform-origin: center; pointer-events: none; }
.ringsearch__svg .halo.is-hit { animation: halo 1.8s ease-out infinite; }
@keyframes halo { 0% { opacity: .5; transform: scale(1); } 100% { opacity: 0; transform: scale(3.4); } }
.ringsearch__svg .ylab { font: 600 10px var(--mono); fill: var(--ink-3); letter-spacing: .04em; }
.ringsearch__svg .ylab.is-hit { fill: var(--amber); }
.draw { stroke-dasharray: 101; stroke-dashoffset: 101; animation: draw 1.4s var(--spring) forwards; animation-delay: var(--d, 0s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.tip { position: absolute; z-index: 3; max-width: 240px; padding: 8px 12px; border-radius: 12px; background: var(--ink); color: var(--paper); font-size: 13px; line-height: 1.35; pointer-events: none; transform: translate(-50%, calc(-100% - 12px)); opacity: 0; transition: opacity .15s; }
.tip.is-on { opacity: 1; }
.tip small { display: block; font: 500 11px var(--mono); opacity: .7; margin-bottom: 2px; }

.search { position: relative; z-index: 2; margin: -15% auto 0; width: min(520px, 100%); background: var(--card); border-radius: 22px; box-shadow: var(--shadow-l), inset 0 0 0 1px var(--line); padding: 10px; }
.search__field { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 14px; border-radius: 14px; background: var(--paper-2); transition: box-shadow .2s; }
.search__field svg { width: 18px; height: 18px; flex: none; color: var(--ink-3); }
.search__field input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font-size: 17px; outline: none; }
.search__field input::placeholder { color: var(--ink-3); }
.search__field input::-webkit-search-cancel-button { display: none; }
.search__field:focus-within { box-shadow: inset 0 0 0 2px var(--accent); }
.search__count { flex: none; width: 9.6em; text-align: right; font: 500 11.5px var(--mono); color: var(--ink-3); white-space: nowrap; overflow: hidden; }
.chips { display: flex; flex-wrap: nowrap; gap: 6px; padding: 10px 4px 2px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 30px; padding: 0 12px; border-radius: 999px; border: 0; cursor: pointer; background: var(--accent-soft); color: var(--accent-ink); font: 600 12.5px var(--mono); transition: transform .2s var(--bounce), background-color .2s, color .2s; }
.chip:hover { transform: translateY(-2px); }
.chip[aria-pressed="true"] { background: var(--accent); color: #fff; }
/* Fixed height: typing never changes the size of the card, so nothing else on the page moves. */
.hits { list-style: none; margin: 6px 0 0; padding: 0; height: 160px; overflow: hidden; contain: strict; }
.hit { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 0 10px; align-items: center; height: 40px; padding: 0 10px; border-radius: 12px; animation: hitIn .22s var(--spring) both; animation-delay: calc(var(--i, 0) * 35ms); }
.hit:first-child { background: var(--accent-soft); }
@keyframes hitIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.hit b { font-size: 14px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hit span { font-size: 14.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hit time { font: 500 11.5px var(--mono); color: var(--ink-3); white-space: nowrap; }
.hit .ph { display: inline-block; width: 16px; height: 16px; border-radius: 4px; vertical-align: -3px; margin-right: 6px; overflow: hidden; }
.hits__note { display: grid; place-items: center; height: 100%; color: var(--ink-3); font-size: 14px; text-align: center; padding: 0 20px; }
mark { color: #1D1D1F; background: linear-gradient(var(--hl), var(--hl)) no-repeat left / 0% 100%; border-radius: 3px; padding: 0 1px; animation: sweep .45s var(--spring) .05s forwards; }
@keyframes sweep { to { background-size: 100% 100%; } }
.search__note { padding: 8px 6px 2px; font-size: 12.5px; color: var(--ink-3); }
@media (max-width: 980px) {
  .hero { padding-top: 112px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .hero .btns .btn { width: 100%; }
  .hit { grid-template-columns: 48px minmax(0, 1fr); }
  .hit time { display: none; }
  .search__count { width: auto; }
}

/* 1.1 hero: the words first, then the Recs screen at full width */
.hero__lead { max-width: 980px; }
.hero--lead h1 { font-size: clamp(46px, 6.6vw, 94px); }
.hero__shot { margin-top: 64px; }
.hero__shot .frame__glow { inset: 4% 2% -4%; }
/* Phones can't run a Mac app, so say so under the Download button */
.maconly { display: none; margin-top: 12px; font-size: 14px; color: var(--ink-3); }
.hero .maconly { margin-top: 14px; }
.final .maconly { position: relative; color: var(--night-sub); }
.pricecard .maconly { text-align: center; }
html.not-mac .maconly { display: block; }
@media (max-width: 760px) { .maconly { display: block; } }

/* Pillars under the hero: the 4 things Textlore does */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 64px; }
.pillar { position: relative; display: grid; gap: 6px; padding: 22px; border-radius: 22px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; overflow: hidden; transition: transform .35s var(--spring), box-shadow .35s; }
.pillar:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); color: var(--ink); }
.pillar svg { width: 34px; height: 34px; margin-bottom: 8px; transition: transform .5s var(--bounce); }
.pillar:hover svg { transform: rotate(-10deg) scale(1.1); }
.pillar b { font: 400 26px/1.1 var(--serif); }
.pillar span { font-size: 15px; color: var(--ink-2); }
.pillar i { position: absolute; right: 18px; top: 20px; font-style: normal; color: var(--ink-3); transition: transform .3s var(--spring), color .2s; }
.pillar:hover i { transform: translate(3px, -3px); color: var(--accent-ink); }
@media (max-width: 960px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }
.pillars--six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .pillars--six { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pillars--six { grid-template-columns: 1fr; } }

/* Cursor spotlight on cards (position set by site.js) */
.glow { --mx: 50%; --my: 50%; }
.glow::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(320px circle at var(--mx) var(--my), rgba(81, 69, 205, 0.13), transparent 60%); }
.glow:hover::before { opacity: 1; }
.glow > * { position: relative; z-index: 1; }

/* ---------- Trust strip ---------- */
.trust { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 32px; }
.trust__item { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--ink-2); }
.trust__item b { display: block; font: 700 22px/1.1 var(--rounded); color: var(--ink); }
.trust__item svg { width: 28px; height: 28px; color: var(--accent-ink); flex: none; }

/* ---------- Showcase: the real app, with a light and dark switch ---------- */
.showcase { padding: 110px 0 40px; }
.showcase__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 44px; }
.scheme { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); }
.scheme button { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: background-color .25s, color .25s, box-shadow .25s; }
.scheme button svg { width: 16px; height: 16px; }
.scheme button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow-s); }
.frame { position: relative; perspective: 2000px; }
.frame__win { position: relative; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-l), 0 0 0 1px rgba(0, 0, 0, 0.06); transition: transform .6s var(--spring); background: var(--paper-2); }
.frame__win img { width: 100%; }
.duo .d { display: none; }
[data-scheme="dark"] .duo .l { display: none; }
[data-scheme="dark"] .duo .d { display: block; }
@media (prefers-color-scheme: dark) {
  [data-scheme="auto"] .duo .l { display: none; }
  [data-scheme="auto"] .duo .d { display: block; }
}
.frame__glow { position: absolute; inset: 8% 4% -6%; z-index: -1; border-radius: 40px; background: radial-gradient(60% 60% at 50% 50%, rgba(81, 69, 205, 0.35), rgba(245, 165, 36, 0.12) 60%, transparent 75%); filter: blur(40px); }
.callouts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 44px; }
.callouts div { display: grid; gap: 4px; padding-top: 18px; border-top: 2px solid var(--line); transition: border-color .3s; }
.callouts div:hover { border-color: var(--amber); }
.callouts b { font-size: 16.5px; }
.callouts span { font-size: 15px; color: var(--ink-2); }
@media (max-width: 760px) { .callouts { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- Statement ---------- */
.statement { padding: 120px 0; }
.statement p { font: 400 clamp(30px, 4.2vw, 58px)/1.16 var(--serif); letter-spacing: -0.02em; max-width: 1100px; }
.js .statement .w { color: var(--ink-3); opacity: .82; transition: color .4s, opacity .4s; }
.js .statement .w.is-lit { color: var(--ink); opacity: 1; }
.statement .w.is-em { font-style: italic; }
.js .statement .w.is-em.is-lit { color: var(--accent-ink); }

/* ---------- Chapters ---------- */
.chapter { padding: 120px 0; border-top: 1px solid var(--line); }
.chapter__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 24px 64px; align-items: end; }
.chapter__head .eyebrow { margin-bottom: 18px; }
.chapter h2 { font-size: clamp(40px, 5.4vw, 78px); line-height: 1.01; }
.chapter__body { display: grid; gap: 16px; }
.chapter__body p { font-size: 18.5px; color: var(--ink-2); }
.chapter__body p strong { color: var(--ink); font-weight: 600; }
.chapter__body code, .faq code, .prose code { font: 600 .84em var(--mono); padding: 2px 6px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-ink); white-space: nowrap; }
.aside { font-size: 15px !important; color: var(--ink-3) !important; border-left: 2px solid var(--amber); padding-left: 14px; }
@media (max-width: 900px) { .chapter { padding: 88px 0; } .chapter__head { grid-template-columns: 1fr; } }

.shot-wide { margin-top: 64px; }
.shot-cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 18px; font-size: 15px; color: var(--ink-3); }
.shot-cap b { color: var(--ink); font-weight: 600; }

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 72px; }
.tile { position: relative; display: flex; flex-direction: column; border-radius: 24px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .35s var(--spring), box-shadow .35s; }
.tile:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); }
.tile__art { position: relative; height: 240px; display: grid; place-items: center; background: var(--paper-2); overflow: hidden; }
.tile__text { padding: 22px 24px 26px; }
.tile h3 { font: 400 25px/1.15 var(--serif); letter-spacing: -0.01em; }
.tile p { margin-top: 8px; font-size: 15.5px; color: var(--ink-2); }
.tile p code { font: 600 .9em var(--mono); color: var(--accent-ink); }
@media (max-width: 960px) { .trio { grid-template-columns: 1fr; } }
.find-demo { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; margin-top: 64px; }

/* WhatsApp: one card between the chapters */
.band { padding: 0 0 110px; }
.band__card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 24px; align-items: start; padding: 32px; border-radius: 26px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.band__ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--accent-soft); color: var(--accent-ink); }
.band__ic svg { width: 28px; height: 28px; }
.band h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.1; }
.band p { margin-top: 12px; max-width: 760px; font-size: 17.5px; color: var(--ink-2); }
@media (max-width: 560px) { .band__card { grid-template-columns: 1fr; padding: 24px; } }

/* Quick search keycaps and panel */
.qs { display: grid; justify-items: center; gap: 14px; width: 100%; padding: 16px; }
.keys { display: flex; gap: 8px; }
.key { display: grid; place-items: center; min-width: 50px; height: 46px; padding: 0 14px; border-radius: 11px; background: var(--card); color: var(--ink); font: 600 14px var(--sans); box-shadow: 0 1px 0 var(--line), 0 4px 0 var(--line-2), inset 0 0 0 1px var(--line); transition: transform .1s, box-shadow .1s; }
.key--space { min-width: 120px; }
.key.is-down { transform: translateY(3px); box-shadow: 0 1px 0 var(--line), 0 1px 0 var(--line-2), inset 0 0 0 1px var(--line); }
.panel { width: 90%; padding: 7px; border-radius: 15px; background: var(--card); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); transform-origin: 50% 0; transform: scale(.3); opacity: 0; transition: transform .4s var(--bounce), opacity .2s; }
.panel.is-open { transform: none; opacity: 1; }
.panel > div { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px; border-radius: 10px; background: var(--paper-2); font-size: 13px; }
.panel > div svg { width: 13px; height: 13px; color: var(--ink-3); }
.panel ul { list-style: none; margin: 6px 0 0; padding: 0; font-size: 12.5px; }
.panel li { display: flex; gap: 8px; align-items: center; padding: 5px 8px; border-radius: 8px; white-space: nowrap; overflow: hidden; }
.panel li:first-child { background: var(--accent); color: #fff; }
.panel li .ph { width: 22px; height: 22px; border-radius: 5px; flex: none; overflow: hidden; }

/* Filter tokens */
.tokens { display: flex; flex-wrap: wrap; justify-content: center; align-content: center; gap: 8px; padding: 18px; max-width: 330px; min-height: 120px; }
.token { height: 32px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; background: var(--accent); color: #fff; font: 600 13px var(--mono); }
.token.is-pop { animation: pop .45s var(--bounce) both; }
@keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }

/* Photo wall: landscapes drawn the same way as the app's demo photos */
.photowall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; width: 84%; }
.photo { position: relative; aspect-ratio: 1; border-radius: 9px; border: 0; padding: 0; overflow: hidden; cursor: zoom-in; background: var(--paper); transition: transform .3s var(--bounce), box-shadow .3s; }
.photo svg, .ph svg, .kp > svg { display: block; width: 100%; height: 100%; }
.photo:hover, .photo.is-up { transform: translateY(-4px) scale(1.08); box-shadow: 0 12px 24px rgba(12, 10, 29, 0.28); z-index: 1; }
.ql { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; background: rgba(12, 10, 29, 0.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; pointer-events: none; transition: opacity .25s; }
.ql.is-open { opacity: 1; pointer-events: auto; cursor: zoom-out; }
.ql figure { margin: 0; width: min(640px, 100%); transform: scale(.6); transition: transform .45s var(--bounce); }
.ql.is-open figure { transform: none; }
.ql figure > div { border-radius: 16px; overflow: hidden; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5); }
.ql figure svg { display: block; width: 100%; height: auto; }
.ql figcaption { margin-top: 14px; text-align: center; color: #fff; font-size: 14px; }

/* ---------- Keep: Messages lets go, Textlore keeps ---------- */
.keep { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 72px; }
.keep__col { position: relative; padding: 26px; border-radius: 24px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.keep__col--good { box-shadow: inset 0 0 0 1.5px rgba(47, 168, 79, 0.5); }
.keep__col header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.keep__col h3 { display: flex; align-items: center; gap: 10px; font: 400 27px/1.1 var(--serif); }
.keep__col h3 img { width: 30px; height: 30px; border-radius: 7px; }
.keep__col header span { font-size: 13px; font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.keep__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.kp { position: relative; aspect-ratio: 1; border-radius: 11px; overflow: hidden; }
.kp > svg { position: absolute; inset: 0; transition: opacity .7s, filter .7s, transform .7s; }
.kp em { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 3px; font: 600 10.5px/1.2 var(--sans); font-style: normal; color: var(--ink-3); text-align: center; border: 1.5px dashed var(--line-2); border-radius: 11px; opacity: 0; transition: opacity .7s; }
.kp em svg { width: 20px; height: 20px; }
.kp.is-gone > svg { opacity: 0; filter: blur(8px); transform: scale(.9); }
.kp.is-gone em { opacity: 1; }
.kp .tick { position: absolute; right: 5px; bottom: 5px; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; transform: scale(0); transition: transform .4s var(--bounce); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); }
.kp .tick svg { width: 12px; height: 12px; }
.kp.is-saved .tick { transform: scale(1); }
.keep__foot { margin-top: 18px; font-size: 14.5px; color: var(--ink-2); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.keep__foot b { font: 700 16px var(--rounded); color: var(--ink); }
@media (max-width: 760px) { .keep { grid-template-columns: 1fr; } }

/* Export: two real screens, one over the other */
.export { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; margin-top: 110px; padding-top: 80px; border-top: 1px dashed var(--line-2); }
.export h3 { font: 400 clamp(32px, 3.8vw, 50px)/1.06 var(--serif); letter-spacing: -0.02em; }
.export p { margin-top: 18px; font-size: 17.5px; color: var(--ink-2); }
.formats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.formats span { padding: 7px 13px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font: 600 13px var(--sans); transition: transform .2s var(--bounce), background-color .2s; cursor: default; }
.formats span:hover { transform: translateY(-2px); background: var(--accent-soft); }
.layered { position: relative; padding-bottom: 16%; }
.layered > .frame__win:first-child { width: 84%; }
.layered > .frame__win + .frame__win { position: absolute; right: 0; bottom: 0; width: 66%; transform: rotate(1.5deg); }
.layered:hover > .frame__win + .frame__win { transform: rotate(0deg) translate(-8px, -8px); }
@media (max-width: 860px) { .export { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Relive: the night chapter ---------- */
.night { background: var(--night); color: var(--night-ink); border-top: 0; --ink: var(--night-ink); --ink-2: #C9C4E2; --ink-3: var(--night-sub); --line: rgba(243, 240, 255, 0.1); --line-2: rgba(243, 240, 255, 0.2); --accent-ink: #B3ADFF; --accent-soft: rgba(139, 131, 255, 0.16); --card: #1A1638; --paper-2: #16123A; --paper: var(--night); }
.night h2 em { color: var(--amber); }
.lore-scroll { position: relative; height: 300vh; margin-top: 24px; }
.lore-stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.lore-rings { width: min(76vh, 92vw); aspect-ratio: 1; overflow: visible; }
.lore-rings text { font: 600 12px var(--mono); fill: var(--night-sub); letter-spacing: .06em; transition: opacity .4s; }
.callout { position: absolute; max-width: 260px; opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .6s var(--spring); }
.callout.is-on { opacity: 1; transform: none; }
.callout small { font: 600 12px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--amber); }
.callout b { display: block; margin-top: 6px; font: 400 clamp(26px, 2.8vw, 40px)/1.04 var(--serif); letter-spacing: -0.015em; }
.callout span { display: block; margin-top: 6px; font-size: 14.5px; color: var(--night-sub); }
.callout--a { left: max(var(--gutter), 4%); top: 16%; }
.callout--b { right: max(var(--gutter), 4%); top: 20%; text-align: right; }
.callout--c { left: max(var(--gutter), 5%); bottom: 14%; }
.callout--d { right: max(var(--gutter), 5%); bottom: 12%; text-align: right; }
.lore-total { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 30vh; text-align: center; pointer-events: none; }
.lore-total b { display: block; font: 700 clamp(28px, 4vw, 54px)/1 var(--rounded); letter-spacing: -0.02em; text-shadow: 0 0 30px var(--night), 0 0 12px var(--night); }
.lore-total span { display: block; margin-top: 8px; font: 600 11.5px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--night-sub); }
@media (max-width: 760px) {
  .lore-scroll { height: 260vh; }
  .callout { max-width: 44vw; }
  .callout b { font-size: 21px; }
  .callout span { font-size: 12.5px; }
  .callout--a, .callout--b { top: 9%; }
  .callout--c, .callout--d { bottom: 9%; }
}
.share { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 80px; align-items: center; padding: 40px 0 20px; }
.share h3 { font: 400 clamp(32px, 3.8vw, 50px)/1.06 var(--serif); letter-spacing: -0.02em; }
.share p { margin-top: 18px; font-size: 17.5px; color: var(--night-sub); max-width: 520px; }
.phone { position: relative; width: 300px; aspect-ratio: 9 / 19.2; padding: 12px; border-radius: 48px; background: #000; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 120px rgba(81, 69, 205, 0.3), inset 0 0 0 2px #2C2C31, inset 0 0 0 6px #000, inset 0 0 0 7px #3A3A42; transition: transform .6s var(--spring); }
.phone::before { content: ""; position: absolute; z-index: 3; top: 22px; left: 50%; width: 86px; height: 24px; border-radius: 14px; background: #000; transform: translateX(-50%); }
.screen { --bg: #2A2185; --c-ink: #FFFFFF; --c-sub: rgba(255, 255, 255, 0.8); --acc: #F5A524; --soft: rgba(255, 255, 255, 0.18); position: relative; height: 100%; border-radius: 37px; overflow: hidden; background: var(--bg); transition: background .4s; }
.lore-card { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 60px 22px 22px; background: var(--bg); color: var(--c-ink); font-family: var(--rounded); opacity: 0; transform: translateX(26px); transition: opacity .45s, transform .55s var(--spring); }
.lore-card.is-on { opacity: 1; transform: none; }
.lore-card.is-gone { transform: translateX(-26px); }
.lore-card__top { display: flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 700; color: var(--c-sub); }
.lore-card__top span:last-child { margin-left: auto; }
.lore-card__kick { margin-top: 18px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--acc); }
.lore-card h4 { margin-top: 6px; font: 800 27px/1.08 var(--rounded); letter-spacing: -0.02em; }
.lore-card p { margin-top: 8px; font-size: 13.5px; line-height: 1.35; font-weight: 500; color: var(--c-sub); }
.lore-card > svg { margin: auto auto 6px; width: 100%; max-width: 236px; overflow: visible; }
.lore-card footer { font-size: 9.5px; font-weight: 600; color: var(--c-sub); text-align: center; opacity: .8; }
.lore-card .draw { animation: none; }
.lore-card.is-on .draw { animation: draw 1.2s var(--spring) forwards; animation-delay: var(--d, 0s); }
.lore-card .grow { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); }
.lore-card.is-on .grow { animation: grow .7s var(--spring) forwards; animation-delay: var(--d, 0s); }
.lore-card .growx { transform-box: fill-box; transform-origin: 0 50%; transform: scaleX(0); }
.lore-card.is-on .growx { animation: growx .7s var(--spring) forwards; animation-delay: var(--d, 0s); }
@keyframes grow { to { transform: scaleY(1); } }
@keyframes growx { to { transform: scaleX(1); } }
.lore-card .fade { opacity: 0; }
.lore-card.is-on .fade { animation: fadeIn .5s ease-out forwards; animation-delay: var(--d, 0s); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lore-dots { position: absolute; z-index: 2; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; }
.lore-dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--c-ink); opacity: .3; transition: width .3s var(--spring), opacity .3s; }
.lore-dots i.is-on { width: 18px; opacity: .9; }
.looks { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 0; padding: 0; border: 0; }
.looks legend { margin-bottom: 12px; padding: 0; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--night-sub); }
.look { display: grid; justify-items: center; gap: 7px; cursor: pointer; font-size: 13px; color: var(--night-sub); }
.look input { position: absolute; opacity: 0; pointer-events: none; }
.look i { width: 48px; height: 48px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); transition: transform .3s var(--bounce), box-shadow .2s; }
.look:hover i { transform: translateY(-3px) scale(1.08); }
.look input:checked + i { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 0 0 3px var(--night), 0 0 0 5px var(--amber); }
.look input:checked ~ span { color: var(--night-ink); font-weight: 650; }
.look input:focus-visible + i { outline: 3px solid var(--amber); outline-offset: 6px; }
.player { display: flex; gap: 8px; margin-top: 24px; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; background: var(--accent-soft); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); transition: transform .25s var(--bounce), background-color .2s; }
.icon-btn:hover { transform: translateY(-2px); }
.icon-btn:active { transform: scale(.94); }
.icon-btn svg { width: 16px; height: 16px; }
.cardnote { margin-top: 28px; font-size: 14.5px; color: var(--night-sub); display: flex; gap: 10px; max-width: 520px; }
.cardnote svg { width: 18px; height: 18px; flex: none; color: var(--amber); margin-top: 2px; }
.night .shot-wide { margin-top: 90px; }
@media (max-width: 860px) { .share { grid-template-columns: 1fr; justify-items: center; gap: 48px; } .share > div:last-child { justify-self: stretch; } }
@media (max-width: 360px) { .phone { width: 268px; } }

/* ---------- Ask ---------- */
.ask { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; margin-top: 72px; }
.ask__qs { display: grid; gap: 10px; }
.ask__qs > p { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.q { display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left; padding: 18px 20px; border-radius: 18px; border: 0; cursor: pointer; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font: 400 22px/1.25 var(--serif); color: var(--ink); transition: transform .3s var(--bounce), box-shadow .2s, background-color .2s, color .2s; }
.q::after { content: "\2197"; font: 500 18px var(--sans); color: var(--ink-3); transition: transform .3s var(--spring); }
.q:hover { transform: translateX(6px); box-shadow: inset 0 0 0 1px var(--ink); }
.q:hover::after { transform: translate(2px, -2px); }
.q[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.q[aria-pressed="true"]::after { color: var(--amber); }
.chat { min-height: 440px; padding: 24px; border-radius: 26px; background: var(--card); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 16px; }
.chat .bubble { align-self: flex-end; max-width: 82%; padding: 10px 15px; border-radius: 20px 20px 6px 20px; background: var(--accent); color: #fff; font-size: 15.5px; }
.thinking { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 14px; }
.thinking svg { width: 38px; height: 38px; flex: none; }
.thinking circle { fill: none; stroke: var(--accent); transform-origin: 19px 19px; animation: pulse 1.4s ease-in-out infinite; }
.thinking circle:nth-child(2) { animation-delay: .15s; }
.thinking circle:nth-child(3) { animation-delay: .3s; }
.thinking circle:last-child { fill: var(--amber); stroke: none; animation: none; }
@keyframes pulse { 0%, 100% { opacity: .25; transform: scale(.85); } 50% { opacity: 1; transform: scale(1); } }
.answer { font: 400 22px/1.4 var(--serif); min-height: 2.8em; }
.sources { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.source { padding: 12px 14px; border-radius: 14px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); animation: hitIn .35s var(--spring) both; animation-delay: calc(var(--i, 0) * 120ms); transition: transform .25s var(--bounce); }
.source:hover { transform: translateY(-3px); }
.source small { display: block; font: 500 11px var(--mono); color: var(--ink-3); }
.source b { display: block; margin-top: 4px; font-size: 13.5px; }
.source span { display: block; font-size: 14px; color: var(--ink-2); }
.chat [hidden] { display: none !important; }
@media (max-width: 900px) { .ask { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 460px) { .sources { grid-template-columns: 1fr; } .q { font-size: 19px; } }

/* ---------- Compare ---------- */
.compare { padding: 120px 0; border-top: 1px solid var(--line); }
.compare__scroll { margin-top: 56px; overflow-x: auto; }
.compare__table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 16px; }
.compare__table th, .compare__table td { padding: 18px 16px; text-align: center; border-bottom: 1px solid var(--line); }
.compare__table th:first-child, .compare__table td:first-child { text-align: left; padding-left: 0; }
.compare__table thead th { font-size: 14px; font-weight: 600; color: var(--ink-2); vertical-align: bottom; }
.compare__table thead th.us { color: var(--ink); background: var(--accent-soft); border-radius: 18px 18px 0 0; }
.compare__table thead th.us img { width: 40px; height: 40px; margin: 0 auto 8px; border-radius: 10px; }
.compare__table td.us { background: var(--accent-soft); font-weight: 600; }
.compare__table tbody tr:last-child td.us { border-radius: 0 0 18px 18px; }
.compare__table tbody tr { transition: background-color .2s; }
.compare__table tbody tr:hover { background: rgba(127, 127, 127, 0.05); }
.yes, .no { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; }
.yes { background: var(--green); color: #fff; }
.no { background: var(--paper-2); color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line); }
.yes svg, .no svg { width: 14px; height: 14px; }
.compare__table small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--ink-3); font-weight: 400; }
@media (max-width: 760px) { .compare__table { min-width: 640px; font-size: 14.5px; } }
/* On phones: a hint that the wide table scrolls, and 2-app tables fit the screen with no scrolling */
.compare__hint { display: none; align-items: center; gap: 8px; margin-top: 32px; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.compare__hint svg { width: 16px; height: 16px; }
@media (max-width: 760px) {
  .compare__hint { display: flex; }
  .compare__hint + .compare__scroll { margin-top: 14px; }
  .compare__table--two { min-width: 0; font-size: 13.5px; table-layout: fixed; }
  .compare__table--two th, .compare__table--two td { padding: 12px 8px; overflow-wrap: anywhere; }
  .compare__table--two th:first-child, .compare__table--two td:first-child { width: 34%; }
  .compare__table--two thead th.us img { width: 32px; height: 32px; }
  .compare__table--two small { font-size: 12px; }
}

/* ---------- Gallery ---------- */
.gallery { padding: 110px 0; border-top: 1px solid var(--line); overflow: hidden; }
.gallery__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.gallery__controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.gallery__track { display: flex; gap: 28px; margin-top: 48px; padding: 10px var(--gutter) 30px max(var(--gutter), calc((100vw - 1240px) / 2)); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: max(var(--gutter), calc((100vw - 1240px) / 2)); scrollbar-width: none; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery figure { flex: none; width: min(920px, 86vw); margin: 0; scroll-snap-align: start; }
.gallery figcaption { margin-top: 18px; }
.gallery figcaption b { display: block; font: 400 24px/1.2 var(--serif); }
.gallery figcaption span { font-size: 15px; color: var(--ink-2); }
.gallery__dots { display: flex; justify-content: center; gap: 6px; }
.gallery__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: var(--line-2); cursor: pointer; transition: width .3s var(--spring), background-color .3s; }
.gallery__dots button[aria-current="true"] { width: 26px; background: var(--ink); }

/* ---------- Never ---------- */
.never { padding: 120px 0; border-top: 1px solid var(--line); }
.never ul { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 6px; }
.never li { font: 400 clamp(30px, 5vw, 76px)/1.18 var(--serif); letter-spacing: -0.025em; }
/* The strike is a background on an inline span, so it crosses every line when the text wraps. */
.never li span { background: linear-gradient(var(--amber), var(--amber)) no-repeat 0 58% / 0% .07em; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size 1s var(--spring), color .8s; }
.never li.is-struck span { background-size: 100% .07em; color: var(--ink-3); }
.never__foot { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; font-size: 18px; color: var(--ink-2); }
.never__foot strong { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) { .never__foot { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.pricing { padding: 120px 0; border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.pricing__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.steps { list-style: none; margin: 40px 0 0; padding: 0; counter-reset: s; }
.steps li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 0 0 28px; }
.steps li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line-2); font: 700 17px var(--rounded); }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 48px; bottom: 4px; width: 2px; background: var(--line); }
.steps b { display: block; font-size: 18px; margin-top: 10px; }
.steps span { color: var(--ink-2); font-size: 15.5px; }
.pricecard { position: relative; padding: 40px; border-radius: 32px; background: var(--card); box-shadow: var(--shadow-l), inset 0 0 0 1px var(--line); overflow: hidden; }
.pricecard__rings { position: absolute; right: -150px; top: -150px; width: 400px; pointer-events: none; }
.pricecard__top { position: relative; display: flex; align-items: center; gap: 14px; }
.pricecard__top img { width: 56px; height: 56px; border-radius: 13px; box-shadow: var(--shadow-s); }
.pricecard__top b { display: block; font: 600 22px var(--serif); }
.pricecard__top span { font-size: 14px; color: var(--ink-3); }
.price { position: relative; display: flex; align-items: flex-start; gap: 6px; margin-top: 28px; }
.price sup { font: 600 32px/1 var(--rounded); margin-top: 14px; }
.price strong { font: 700 112px/.9 var(--rounded); letter-spacing: -0.05em; }
.price span { align-self: flex-end; margin-bottom: 10px; font-size: 17px; color: var(--ink-2); }
.includes { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.includes li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.includes svg { width: 20px; height: 20px; flex: none; color: var(--green); margin-top: 1px; }
.pricecard .btns { margin-top: 32px; }
.pricecard .btns .btn { flex: 1 1 200px; }
.pricecard__note { margin-top: 8px; font-size: 13.5px; color: var(--ink-3); text-align: center; }
.pricecard__policy { margin-top: 16px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); text-align: center; }
.sendtoast { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60; max-width: 420px; margin: 0 auto;
  padding: 14px 16px; border-radius: 16px; background: var(--card); color: var(--ink); box-shadow: 0 12px 40px rgba(12,10,29,.25); font-size: 14.5px; line-height: 1.4;
  opacity: 0; transform: translateY(12px); transition: opacity .25s, transform .25s; pointer-events: none; }
.sendtoast.is-on { opacity: 1; transform: none; pointer-events: auto; }
.sendtoast b { display: block; margin-bottom: 2px; }
.sendtoast code { display: block; margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: var(--paper-2); font: 600 14px/1.3 var(--mono); user-select: all; -webkit-user-select: all; }
@media (max-width: 900px) { .pricing__grid { grid-template-columns: 1fr; } .pricecard { padding: 28px; } }
@media (max-width: 520px) { .includes { grid-template-columns: 1fr; } .price strong { font-size: 88px; } }

/* ---------- FAQ ---------- */
.faq { padding: 110px 0; border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 48px; }
.faq__grid > div:first-child p { margin-top: 18px; color: var(--ink-2); }
.faq__list { display: grid; gap: 10px; }
.faq details { border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s; }
.faq details:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.faq details[open] { box-shadow: inset 0 0 0 1.5px var(--accent); }
.faq summary { display: flex; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font: 400 21px/1.3 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; margin-left: auto; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A70F0' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .35s var(--spring); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details > div { padding: 0 22px 22px; color: var(--ink-2); }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } }

/* ---------- Final call ---------- */
.final { position: relative; padding: 140px 0; text-align: center; overflow: hidden; background: var(--night); color: var(--night-ink); --ink: var(--night-ink); --paper: var(--night); --line-2: rgba(243, 240, 255, 0.3); }
.final__rings { position: absolute; left: 50%; top: 50%; width: min(1100px, 170vw); transform: translate(-50%, -50%); pointer-events: none; }
.final h2 { position: relative; font-size: clamp(44px, 7vw, 104px); line-height: .98; letter-spacing: -0.035em; }
.final h2 em { color: var(--amber); }
.final p { position: relative; margin: 24px auto 0; max-width: 540px; font-size: 19px; color: #C9C4E2; }
.final .btns { position: relative; justify-content: center; margin-top: 38px; }

/* ---------- Footer ---------- */
.footer { position: relative; padding: 80px 0 40px; background: var(--paper-2); border-top: 1px solid var(--line); overflow: hidden; }
.footer__rings { position: absolute; right: -180px; bottom: -220px; width: 560px; pointer-events: none; }
.footer__top { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.7fr)); gap: 40px; }
.footer__brand { display: grid; gap: 18px; align-content: start; }
.footer__brand a.logo { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font: 600 26px var(--serif); }
.footer__brand a.logo img { width: 44px; height: 44px; border-radius: 11px; transition: transform .5s var(--bounce); }
.footer__brand a.logo:hover img { transform: rotate(-10deg); }
.footer__brand p { max-width: 380px; color: var(--ink-2); font-size: 15.5px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s var(--bounce), background-color .2s, color .2s; }
.socials a:hover { transform: translateY(-3px) rotate(-6deg); background: var(--ink); color: var(--paper); }
.socials svg { width: 19px; height: 19px; }
.footer__h { margin-bottom: 16px; font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer ul a, .footer ul button { color: var(--ink); text-decoration: none; font-size: 15.5px; padding: 0 0 2px; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0% 1.5px; transition: background-size .3s var(--spring); }
.footer ul a:hover { background-size: 100% 1.5px; }
.footer__cta { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 56px; padding: 24px 28px; border-radius: 24px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.footer__cta b { display: block; font: 400 26px var(--serif); }
/* The line under the title only: a bare span selector also greyed the Buy button label (1.2:1 on amber in dark mode). */
.footer__cta > div > span { color: var(--ink-2); font-size: 15px; }
.footer__bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.footer__bottom a { color: var(--ink-2); }
.copy-mail { display: inline-flex; align-items: center; gap: 6px; border: 0; cursor: pointer; background: none; }
.copy-mail svg { width: 15px; height: 15px; color: var(--ink-3); }
.copy-mail.is-copied::after { content: "Copied"; margin-left: 4px; padding: 2px 8px; border-radius: 999px; background: var(--green); color: #fff; font-size: 12px; font-weight: 600; animation: pop .35s var(--bounce); }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- Floating download bar ---------- */
.dlbar { position: fixed; z-index: 55; left: 50%; bottom: 16px; translate: -50% 160%; display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 10px; border-radius: 999px; background: var(--nav-bg); border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(12, 10, 29, 0.22); -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%); transition: translate .5s var(--spring); max-width: calc(100% - 24px); }
.dlbar.is-on { translate: -50% 0; }
.dlbar img { width: 38px; height: 38px; border-radius: 9px; flex: none; }
.dlbar div { display: grid; line-height: 1.25; min-width: 0; }
.dlbar b { font-size: 15px; white-space: nowrap; }
.dlbar span { font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.dlbar .btn { height: 44px; padding: 0 18px; font-size: 15px; }
@media (max-width: 520px) { .dlbar > div, .dlbar .btn--ghost { display: none; } }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; padding: 150px 0 64px; overflow: hidden; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px; align-items: center; }
.page-hero h1 { margin-top: 18px; font-size: clamp(54px, 8vw, 116px); line-height: .94; letter-spacing: -0.035em; }
.page-hero .lede { margin-top: 22px; max-width: 600px; }
.page-hero__art { justify-self: center; width: min(360px, 80%); color: var(--ink); }
@media (max-width: 860px) { .page-hero__grid { grid-template-columns: minmax(0, 1fr); } .page-hero__art { display: none; } .page-hero { padding-bottom: 32px; } }

.helpsearch { display: flex; align-items: center; gap: 12px; height: 62px; margin-top: 32px; padding: 0 20px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); max-width: 600px; transition: box-shadow .2s; }
.helpsearch:focus-within { box-shadow: var(--shadow), inset 0 0 0 2px var(--accent); }
.helpsearch svg { width: 20px; height: 20px; color: var(--ink-3); flex: none; }
.helpsearch input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 18px; outline: none; }
.helpsearch input::-webkit-search-cancel-button { display: none; }
.topic-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.topic { position: relative; display: grid; gap: 6px; align-content: start; padding: 20px; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; overflow: hidden; transition: transform .3s var(--spring), box-shadow .3s; }
.topic:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); color: var(--ink); }
.topic svg { width: 28px; height: 28px; color: var(--accent-ink); margin-bottom: 6px; transition: transform .4s var(--bounce); }
.topic:hover svg { transform: scale(1.12) rotate(-6deg); }
.topic b { font-size: 16.5px; }
.topic span { font-size: 14px; color: var(--ink-2); }
.topic.is-hidden { display: none; }
@media (max-width: 960px) { .topic-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .topic-grid { grid-template-columns: 1fr; } }

.doc { padding: 40px 0 110px; }
.doc__grid { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 64px; align-items: start; }
.toc { position: sticky; top: 100px; display: grid; gap: 2px; font-size: 14.5px; }
.toc p { margin-bottom: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.toc a { padding: 7px 12px; border-radius: 10px; color: var(--ink-2); text-decoration: none; border-left: 2px solid transparent; transition: background-color .2s, color .2s, border-color .2s; }
.toc a:hover { color: var(--ink); background: var(--accent-soft); }
.toc a.is-current { color: var(--ink); background: var(--accent-soft); border-left-color: var(--amber); font-weight: 600; }
.prose { max-width: 760px; }
.prose section { padding: 0 0 44px; scroll-margin-top: 100px; }
.prose section + section { border-top: 1px solid var(--line); padding-top: 44px; }
.prose h2 { display: flex; align-items: center; gap: 14px; font-size: 36px; line-height: 1.1; margin-bottom: 18px; }
.prose h2 .ic { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 13px; background: var(--accent-soft); color: var(--accent-ink); }
.prose h2 .ic svg { width: 22px; height: 22px; }
.prose h3 { font: 600 18px var(--sans); margin: 26px 0 8px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p, .prose p + ul, .prose ul + p, .prose ol + p, .prose p + ol { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 22px; margin: 10px 0 0; }
.prose li + li { margin-top: 7px; }
.prose li::marker { color: var(--accent-ink); }
.prose strong { color: var(--ink); }
.prose .frame__win { margin: 24px 0 6px; }
.note-box { display: flex; gap: 14px; margin-top: 18px; padding: 16px 18px; border-radius: 16px; background: var(--accent-soft); color: var(--ink); font-size: 15.5px; }
.note-box svg { width: 22px; height: 22px; flex: none; color: var(--accent-ink); }
.table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; }
.table th, .table td { text-align: left; padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.table td { color: var(--ink-2); }
.table td:first-child { color: var(--ink); white-space: nowrap; }
kbd { display: inline-block; min-width: 26px; padding: 2px 7px; border-radius: 7px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2), 0 2px 0 var(--line); font: 600 13.5px/1.4 var(--sans); color: var(--ink); text-align: center; white-space: nowrap; }
.is-filtered-out { display: none; }
.no-match { display: none; padding: 20px 0 40px; color: var(--ink-2); font-size: 17px; }
.no-match.is-on { display: block; }
@media (max-width: 960px) { .doc__grid { grid-template-columns: 1fr; gap: 24px; } .toc { display: none; } }
@media (max-width: 560px) { .table td:first-child { white-space: normal; } }

/* Summary cards on privacy and terms */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 64px; }
.fact { position: relative; padding: 24px; border-radius: 22px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .3s var(--spring), box-shadow .3s; }
.fact:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); }
.fact b { display: block; font: 700 42px/1 var(--rounded); letter-spacing: -0.02em; }
.fact svg { width: 36px; height: 36px; color: var(--accent-ink); }
.fact > span { display: block; margin-top: 12px; font-size: 15px; color: var(--ink-2); }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } }

/* Privacy: where data goes */
.flowmap { display: grid; grid-template-columns: minmax(0, 1.3fr) auto minmax(0, 1fr); gap: 20px; align-items: center; margin: 0 0 64px; padding: 28px; border-radius: 26px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.flowmap__mac { padding: 22px; border-radius: 18px; background: var(--paper-2); box-shadow: inset 0 0 0 1.5px rgba(47, 168, 79, 0.6); }
.flowmap b { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.flowmap b svg { width: 20px; height: 20px; }
.flowmap ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.flowmap li { padding: 5px 11px; border-radius: 999px; background: var(--card); font-size: 13.5px; box-shadow: inset 0 0 0 1px var(--line); }
.flowmap__arrows { display: grid; gap: 54px; }
.flowmap__arrows svg { width: 90px; height: 16px; overflow: visible; }
.flowmap__arrows line { stroke: var(--amber); stroke-width: 2; stroke-dasharray: 4 5; animation: dash 1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -9; } }
.flowmap__out { display: grid; gap: 12px; }
.flowmap__out > div { padding: 16px 18px; border-radius: 16px; background: var(--paper-2); }
.flowmap__out small { display: block; margin-top: 4px; font-size: 13.5px; color: var(--ink-2); }
@media (max-width: 860px) { .flowmap { grid-template-columns: 1fr; } .flowmap__arrows { display: none; } }

/* Support */
.big-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.big-card { position: relative; display: grid; gap: 10px; align-content: start; padding: 30px; border-radius: 26px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; overflow: hidden; transition: transform .35s var(--spring), box-shadow .35s; }
.big-card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-l); color: var(--ink); }
.big-card .ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 8px; transition: transform .4s var(--bounce); }
.big-card:hover .ic { transform: rotate(-8deg) scale(1.08); }
.big-card .ic svg { width: 28px; height: 28px; }
.big-card b { font: 400 30px/1.1 var(--serif); }
.big-card span { color: var(--ink-2); font-size: 15.5px; }
.big-card em { margin-top: 10px; font-style: normal; font-weight: 600; color: var(--accent-ink); }
@media (max-width: 900px) { .big-cards { grid-template-columns: 1fr; } }

/* About */
.about-hero { padding: 150px 0 80px; }
.about-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: center; }
.about-hero h1 { margin-top: 18px; font-size: clamp(54px, 8vw, 118px); line-height: .94; letter-spacing: -0.035em; }
.about-hero .lede { margin-top: 24px; max-width: 580px; }
.monogram { position: relative; justify-self: center; width: min(400px, 80vw); aspect-ratio: 1; }
.monogram svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.monogram span { position: absolute; inset: 0; display: grid; place-items: center; font: italic 400 clamp(110px, 15vw, 170px)/1 var(--serif); color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stat { padding: 24px; border-radius: 22px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s var(--spring); }
.stat:hover { transform: translateY(-4px) rotate(-1deg); }
.stat b { display: block; font: 700 46px/1 var(--rounded); letter-spacing: -0.03em; }
.stat > span { display: block; margin-top: 10px; font-size: 14.5px; color: var(--ink-2); }
.timeline { list-style: none; margin: 40px 0 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); }
.timeline time { font: 700 22px var(--rounded); color: var(--accent-ink); }
.timeline b { display: block; font: 400 27px/1.2 var(--serif); }
.timeline span { display: block; margin-top: 6px; color: var(--ink-2); }
.brands { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
.brand { position: relative; display: grid; gap: 8px; align-content: start; padding: 24px; border-radius: 22px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; overflow: hidden; transition: transform .3s var(--spring), box-shadow .3s; }
.brand:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); color: var(--ink); }
.brand b { font: 400 24px/1.15 var(--serif); }
.brand span { font-size: 14.5px; color: var(--ink-2); }
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
.rules div { padding-top: 20px; border-top: 2px solid var(--amber); }
.rules b { display: block; font: 400 27px/1.15 var(--serif); }
.rules span { display: block; margin-top: 8px; color: var(--ink-2); }
.about-block { padding: 100px 0; border-top: 1px solid var(--line); }
.about-split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.about-split p { font-size: 18.5px; color: var(--ink-2); }
.about-split p + p { margin-top: 16px; }
@media (max-width: 900px) {
  .about-hero__grid, .about-split { grid-template-columns: 1fr; }
  .monogram { width: 240px; justify-self: start; }
  .stats, .brands { grid-template-columns: 1fr 1fr; }
  .rules { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; }
}

/* 404 */
.lost { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 110px; padding-bottom: 60px; }
.lost h1 { margin-top: 18px; font-size: clamp(54px, 8vw, 112px); line-height: .95; letter-spacing: -0.035em; }
.lost p { margin: 22px 0 32px; font-size: 20px; color: var(--ink-2); max-width: 460px; }
.lost svg { color: var(--ink); }
@media (max-width: 860px) { .lost { grid-template-columns: 1fr; } .lost svg { max-width: 300px; } }

/* Rise in as things scroll into view (only with JavaScript) */
.js .rise { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--spring), transform .9s var(--spring); transition-delay: var(--rd, 0s); }
.js .rise.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .rise { opacity: 1; transform: none; }
  .js .statement .w { color: var(--ink); opacity: 1; }
  .js .statement .w.is-em { color: var(--accent-ink); }
  .lore-scroll { height: auto; }
  .lore-stage { position: relative; height: auto; min-height: 100vh; }
  .callout { opacity: 1; transform: none; }
  .never li span { background-size: 100% .07em; color: var(--ink-3); }
  .btn--shine::after { display: none; }
}

/* Launch price: .l-on shows until LAUNCH_ENDS (tools/build.py), then .l-off takes over */
html:not(.launch-over) .l-off, html.launch-over .l-on { display: none !important; }
.btn s, .price s { opacity: .75; font-weight: 500; }
.price s { margin-left: 6px; font-size: .9em; }
.pricecard__launch { margin-top: -4px; font-size: 14px; font-weight: 600; color: var(--accent-ink); }

/* ---------- Guides ---------- */
.guide-hero h1 { font-size: clamp(42px, 5.6vw, 80px); line-height: 1; }
.guide-hero .eyebrow a { color: inherit; text-decoration: none; }
.guide-hero .eyebrow a:hover { text-decoration: underline; }
.guide-meta { margin-top: 18px; font-size: 14.5px; color: var(--ink-3); }
.prose .aside { font-size: 17px !important; color: var(--ink-2) !important; }
.guide-table td:first-child { font-weight: 600; }
.prose ol[start] { margin-top: 0; }
.prose .showcase { padding: 0; }
.prose .showcase .frame__win { margin: 22px 0 26px; }
.guide-shot-small { max-width: 560px; }
.prose { min-width: 0; }
.prose pre { margin: 12px 0 14px; padding: 14px 16px; border-radius: 14px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); overflow-x: auto; font: 500 13.5px/1.6 var(--mono); color: var(--ink); }
.prose pre code { padding: 0; border-radius: 0; background: none; color: inherit; font: inherit; white-space: pre; }
.prose .compare__scroll { margin-top: 22px; }
.prose .compare__scroll + p { margin-top: 18px; }
.guide-cta { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px 20px; align-items: center; margin-top: 36px; padding: 28px; border-radius: 24px; background: var(--card); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.guide-cta img { border-radius: 14px; }
.guide-cta__text b { display: block; font: 400 26px/1.15 var(--serif); letter-spacing: -0.01em; color: var(--ink); }
.guide-cta__text span { display: block; margin-top: 6px; font-size: 15.5px; color: var(--ink-2); }
.guide-cta .btns { grid-column: 1 / -1; }
.prose .guide-faq { padding: 44px 0 0; border-top: 1px solid var(--line); }
.prose .guide-faq summary { font-size: 19px; color: var(--ink); }
.prose .guide-faq details p { color: var(--ink-2); }
.guides { padding: 20px 0 110px; }
.guide-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.guide-grid .topic b { font: 400 22px/1.2 var(--serif); }
@media (max-width: 560px) {
  .guide-cta { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .guide-cta img { width: 52px; height: 52px; }
  .guide-cta .btns .btn { width: 100%; }
  .guide-table th:nth-child(2), .guide-table td:nth-child(2) { display: none; }
}

/* What is Textlore: a plain paragraph near the top of the home page, for readers and for search and AI crawlers */
.whatis { padding: 56px 0 0; }
.whatis h2 { font: 700 clamp(22px, 2.4vw, 28px)/1.2 var(--rounded); margin-bottom: 14px; }
.whatis p { max-width: 760px; font-size: 18px; line-height: 1.6; color: var(--ink-2); }
