/* Memora — memorashelf.com
   One stylesheet for the landing page and the legal pages. */

@font-face { font-family: "DM Serif Display"; src: url("../fonts/dm-serif-display.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-600.woff2") format("woff2"); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-700.woff2") format("woff2"); font-weight: 700 800; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  --ink: #0f100f;
  --ink-2: #141614;
  --ink-3: #1b1e1b;
  --ink-4: #232723;
  --line: rgba(253, 249, 243, .08);
  --line-2: rgba(253, 249, 243, .15);
  --cream: #fdf9f3;
  --text: #f1ede6;
  --muted: #a8aca7;
  --dim: #858a84;
  --blue: #6889fd;
  --blue-soft: rgba(104, 137, 253, .16);
  --sky: #bcd0f8;
  --teal: #3fb9a3;
  --orange: #f59e6b;
  --pink: #ec4899;
  --violet: #b48ef6;
  --gold: #f2b84b;
  --serif: "DM Serif Display", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Manrope", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius: 22px;
  --radius-lg: 32px;
  --gutter: clamp(16px, 4.5vw, 40px);
  --max: 1180px;
  --header: 68px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 17px/1.62 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: rgba(104, 137, 253, .55); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--blue); }
button { font: inherit; color: inherit; }
::selection { background: rgba(104, 137, 253, .45); color: var(--cream); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--cream); color: var(--ink); font-weight: 700; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* grain over everything, very quiet */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------ type */

h1, h2, h3 { margin: 0; font-weight: 400; color: var(--cream); }
.display { font-family: var(--serif); font-size: clamp(46px, 6.4vw, 88px); line-height: .98; letter-spacing: -.018em; }
.h2 { font-family: var(--serif); font-size: clamp(36px, 5.2vw, 66px); line-height: 1.02; letter-spacing: -.012em; }
.h3 { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; }
.lead { font-size: clamp(18px, 1.55vw, 21px); line-height: 1.55; color: var(--muted); max-width: 36em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 12.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--sky); }
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; opacity: .7; }
.accent { color: var(--blue); }
.grad {
  background: linear-gradient(100deg, var(--sky) 0%, var(--blue) 45%, #9d8cff 75%, var(--sky) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 9s ease-in-out infinite alternate;
}
@keyframes sheen { to { background-position: 100% 0; } }
.muted { color: var(--muted); }

/* ------------------------------------------------------------------ buttons */

.btn {
  --bg: var(--cream); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg); font: 700 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
  box-shadow: 0 10px 30px -12px rgba(253, 249, 243, .35);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -14px rgba(253, 249, 243, .45); }
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn.ghost { --bg: rgba(253, 249, 243, .06); --fg: var(--cream); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.ghost:hover { --bg: rgba(253, 249, 243, .1); }
.btn.blue { --bg: var(--blue); --fg: var(--ink); box-shadow: 0 12px 34px -12px rgba(104, 137, 253, .7); }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 14.5px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(253, 249, 243, .05); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text); font-size: 14px; font-weight: 600;
}
.pill b { display: inline-grid; place-items: center; height: 24px; padding: 0 9px; border-radius: 999px; background: var(--blue); color: var(--ink); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }

/* ------------------------------------------------------------------ header */

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.scrolled, .site-header.solid {
  background: rgba(15, 16, 15, .72);
  -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--cream); font: 400 25px/1 var(--serif); letter-spacing: -.01em; }
.brand img, .brand svg { width: 34px; height: 34px; border-radius: 10px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { padding: 9px 13px; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--cream); background: rgba(253, 249, 243, .06); }
.nav .btn { margin-left: 10px; color: var(--ink); }
.nav .btn:hover { color: var(--ink); background: var(--cream); }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 14px; border: 0; background: rgba(253, 249, 243, .06); cursor: pointer; place-content: center; justify-items: center; }
.menu-btn span { display: block; width: 18px; height: 1.8px; background: var(--cream); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-btn span + span { margin-top: 5px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

@media (max-width: 880px) {
  .menu-btn { display: grid; }
  .nav {
    position: fixed; inset: var(--header) 0 auto; flex-direction: column; align-items: stretch; gap: 2px; margin: 0;
    padding: 12px var(--gutter) 22px; background: rgba(15, 16, 15, .96); box-shadow: 0 1px 0 var(--line), 0 30px 60px rgba(0, 0, 0, .5);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .3s var(--ease), visibility .25s;
  }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .menu-open .site-header { background: rgba(15, 16, 15, .96); }
  .nav a { padding: 14px 12px; font-size: 17px; }
  .nav .btn { margin: 10px 0 0; }
}

/* ------------------------------------------------------------------ hero */

.hero { position: relative; padding: calc(var(--header) + clamp(30px, 5vw, 64px)) 0 clamp(40px, 6vw, 80px); isolation: isolate; overflow-x: clip; }
.aurora { position: absolute; inset: -10% -10% 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; animation: drift 22s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 46vw; height: 46vw; left: 48%; top: -6%; background: radial-gradient(circle, rgba(104, 137, 253, .75), transparent 65%); }
.aurora i:nth-child(2) { width: 34vw; height: 34vw; left: 70%; top: 30%; background: radial-gradient(circle, rgba(157, 140, 255, .55), transparent 65%); animation-duration: 28s; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 30vw; height: 30vw; left: 2%; top: 8%; background: radial-gradient(circle, rgba(63, 185, 163, .28), transparent 65%); animation-duration: 32s; animation-delay: -12s; }
.aurora i:nth-child(4) { width: 26vw; height: 26vw; left: 36%; top: 48%; background: radial-gradient(circle, rgba(188, 208, 248, .3), transparent 65%); animation-duration: 26s; animation-delay: -3s; }
@keyframes drift { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-4vw, 3vw, 0) scale(1.08); } 100% { transform: translate3d(3vw, -2vw, 0) scale(.96); } }
.gridlines {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  opacity: .55;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy .pill { margin-bottom: 22px; }
.hero-copy .display { margin-bottom: 22px; }
.hero-copy .lead { margin: 0 0 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fine { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--dim); font-size: 14.5px; font-weight: 600; }
.fine span { display: inline-flex; align-items: center; gap: 8px; }
.fine .icon { color: var(--teal); width: 17px; height: 17px; stroke-width: 2.2; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 560px; perspective: 1400px; }
.hero-visual .phone { width: min(300px, 70vw); transform: rotateY(var(--ry, -9deg)) rotateX(var(--rx, 5deg)) rotateZ(1.5deg); transform-style: preserve-3d; transition: transform .6s var(--ease); }
.halo { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from 200deg, rgba(104, 137, 253, 0), rgba(104, 137, 253, .5), rgba(188, 208, 248, .35), rgba(63, 185, 163, .3), rgba(104, 137, 253, 0)); filter: blur(50px); opacity: .55; animation: spin 24s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* phone frame (iPhone 15 Pro proportions; screenshots are 600×1301) */
.phone {
  position: relative; padding: 3.2%; border-radius: 16.3% / 7.8%;
  background: linear-gradient(150deg, #3b3f3b 0%, #121412 18%, #0b0c0b 60%, #2c302c 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .12), inset 0 0 0 4px #090a09, 0 50px 90px -30px rgba(0, 0, 0, .85), 0 30px 60px -40px rgba(104, 137, 253, .45);
}
.phone .screen { position: relative; overflow: hidden; border-radius: 14% / 6.45%; aspect-ratio: 600 / 1301; background: #000; }
.phone .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .09), transparent 28%, transparent 70%, rgba(255, 255, 255, .04)); }

/* floating cards around the hero phone */
.float {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 11px 16px 11px 11px; border-radius: 18px;
  background: rgba(27, 30, 27, .78); box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 50px -18px rgba(0, 0, 0, .8);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  font-size: 14px; line-height: 1.3; white-space: nowrap;
  animation: bob 7s ease-in-out infinite; transform: translate3d(var(--px, 0), var(--py, 0), 0);
}
.float strong { display: block; color: var(--cream); font-weight: 700; font-size: 14.5px; }
.float small { color: var(--muted); font-size: 12.5px; }
.float .thumb { width: 38px; height: 50px; border-radius: 7px; flex: none; display: grid; place-items: center; font: 400 12px/1 var(--serif); color: var(--ink); overflow: hidden; }
.chip { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; padding: 3px 9px 3px 7px; border-radius: 999px; font: 700 11.5px/1.3 var(--sans); color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); }
.chip .icon { width: 13px; height: 13px; stroke-width: 2.2; }
.float.f1 { top: 9%; left: -4%; animation-delay: -1s; }
.float.f2 { top: 36%; right: -8%; animation-delay: -3s; }
.float.f3 { bottom: 20%; left: -10%; animation-delay: -5s; }
.float.f4 { bottom: 3%; right: 0; animation-delay: -2s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

.thumb.book { background: linear-gradient(160deg, #fbf6ea, #e9dcc0); font-size: 9px; text-align: center; padding: 4px; line-height: 1.05; color: #7a5b2e; }
.thumb.place { background: linear-gradient(160deg, #cfe7da, #9fcfb9); }
.thumb.place::after { content: ""; width: 12px; height: 12px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--teal); box-shadow: 0 0 0 3px rgba(255, 255, 255, .7); }
.thumb.food { background: radial-gradient(circle at 35% 40%, #ffe7b8 0 16%, transparent 17%), radial-gradient(circle at 65% 62%, #ffe7b8 0 14%, transparent 15%), radial-gradient(circle at 50% 50%, #d4492c, #8f2f1c 70%); }
.thumb.ticket { background: linear-gradient(160deg, #3a1f33, #1d1219); color: #ffb3d7; font: 700 10px/1.1 var(--sans); text-align: center; }

/* ------------------------------------------------------------------ marquee */

.marquee { position: relative; padding: 18px 0; overflow: hidden; border-block: 1px solid var(--line); background: rgba(20, 22, 20, .6);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 55s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }
.shelf-chip { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px 9px 10px; border-radius: 999px; background: color-mix(in srgb, var(--c) 11%, var(--ink-2)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 26%, transparent); color: var(--text); font-weight: 600; font-size: 15px; white-space: nowrap; }
.shelf-chip i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: color-mix(in srgb, var(--c) 24%, transparent); color: var(--c); }
.shelf-chip i .icon { width: 16px; height: 16px; stroke-width: 2; }

/* ------------------------------------------------------------------ sections */

.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 70px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 22px; height: 1.5px; background: currentColor; opacity: .7; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head .lead { margin: 22px 0 0; }
.section-head.center .lead { margin-inline: auto; }

[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ chaos → order */

.sort { padding-top: clamp(70px, 9vw, 120px); }
.sort-scroll { position: relative; height: 260vh; }
.sort-sticky { position: sticky; top: calc(var(--header) + 2vh); height: calc(100vh - var(--header) - 4vh); display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.sort-captions { position: relative; height: 1.6em; font-size: clamp(16px, 1.4vw, 19px); font-weight: 600; text-align: center; }
.sort-captions span { position: absolute; inset: 0; transition: opacity .5s, transform .5s var(--ease); }
.sort-captions .after { opacity: 0; transform: translateY(8px); color: var(--cream); }
.sort-captions .before { color: var(--muted); }
.sorted .sort-captions .before { opacity: 0; transform: translateY(-8px); }
.sorted .sort-captions .after { opacity: 1; transform: none; }
.stage { position: relative; width: 100%; height: min(64vh, 600px); min-height: 420px; }
.stage .frame {
  position: absolute; border-radius: 26px; padding: 18px 18px 0; overflow: hidden;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 26%, #1a1c1a), color-mix(in srgb, var(--c) 8%, #141614) 70%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 22%, transparent);
  opacity: 0; transform: scale(.94); transition: opacity .6s, transform .8s var(--ease);
}
.stage .frame.on { opacity: 1; transform: none; }
.frame-head { display: flex; align-items: center; gap: 12px; }
.frame-head i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: color-mix(in srgb, var(--c) 28%, transparent); color: var(--c); }
.frame-head i .icon { width: 20px; height: 20px; stroke-width: 2; }
.frame-head b { display: block; color: var(--cream); font-size: 17px; font-weight: 700; line-height: 1.2; }
.frame-head small { color: var(--muted); font-size: 13.5px; }
.frame .ledge { position: absolute; left: 14px; right: 14px; bottom: 16px; height: 7px; border-radius: 4px; background: color-mix(in srgb, var(--c) 70%, #fff 0%); opacity: .85; box-shadow: 0 6px 16px -4px color-mix(in srgb, var(--c) 60%, transparent); }
.mini {
  position: absolute; left: 0; top: 0; border-radius: 7px; overflow: hidden; will-change: transform;
  box-shadow: 0 14px 28px -12px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .08);
  display: flex; flex-direction: column; gap: 4px; padding: 7px 6px;
}
.mini i { display: block; height: 3px; border-radius: 2px; background: currentColor; opacity: .55; }
.mini i:nth-child(2) { width: 70%; } .mini i:nth-child(3) { width: 85%; } .mini i:nth-child(4) { width: 50%; }
.mini .t { font: 400 9.5px/1.05 var(--serif); color: inherit; margin-bottom: 3px; }
.mini.books { background: linear-gradient(165deg, #faf4e6, #e7d6b5); color: #6b4d25; }
.mini.books.b2 { background: linear-gradient(165deg, #3b2c22, #22180f); color: #e8c38c; }
.mini.recipes { background: #1d1a18; color: #f59e6b; }
.mini.recipes::before { content: ""; height: 38%; margin: -7px -6px 3px; background: radial-gradient(circle at 40% 45%, #ffe2a8 0 14%, transparent 15%), radial-gradient(circle at 62% 60%, #fff0c9 0 12%, transparent 13%), radial-gradient(circle, #c9472b, #7c2a18); }
.mini.places { background: linear-gradient(160deg, #e3f1e8, #bfe0cd); color: #2c7c6a; }
.mini.places::before { content: ""; width: 10px; height: 10px; margin: 6px auto 4px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--teal); }
.mini.quotes { background: #f7f2e7; color: #6d5aa0; }
.mini.quotes::before { content: "\201C"; font: 400 26px/0.8 var(--serif); color: #b48ef6; }
.mini.products { background: #fff; color: #8a8f99; }
.mini.products::before { content: ""; height: 40%; margin-bottom: 3px; border-radius: 4px; background: linear-gradient(145deg, #eceef2, #d7dbe2); }
.mini.bills { background: #fffdf8; color: #9a8a5a; }
.mini.bills::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(135deg, transparent 50%, rgba(0, 0, 0, .18) 50%) 0 0 / 6px 6px; }

.sort-static { display: none; }
.no-js .sort-scroll { height: auto; }
.no-js .sort-sticky { position: static; height: auto; }
.no-js .stage, .no-js .sort-captions { display: none; }
.no-js .sort-static { display: block; width: min(320px, 80%); margin: 0 auto; }

/* ------------------------------------------------------------------ how it works */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 30px 28px 32px; border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--ink-3), var(--ink-2)); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; right: 22px; top: 14px; font: 400 64px/1 var(--serif); color: rgba(253, 249, 243, .06); }
.step .badge { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; margin-bottom: 26px; background: var(--blue-soft); color: var(--sky); }
.step .badge .icon { width: 25px; height: 25px; }
.step h3 { font: 700 20px/1.3 var(--sans); color: var(--cream); margin-bottom: 10px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

/* ------------------------------------------------------------------ tour (sticky phone) */

.tour { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); }
.tour-phone { position: sticky; top: calc(var(--header) + 6vh); height: calc(100vh - var(--header) - 12vh); display: grid; place-items: center; }
.tour-phone .phone { width: min(330px, 36vh + 40px); }
.tour-phone .screen img { opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease), transform 1.1s var(--ease); }
.tour-phone .screen img.on { opacity: 1; transform: none; }
.tour-phone .glow { position: absolute; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--glow, rgba(104, 137, 253, .4)), transparent 65%); filter: blur(40px); transition: background .8s; z-index: -1; }
.tour-steps { padding: 12vh 0; }
.tour-step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .5s; }
.tour-step.on { opacity: 1; }
.tour-step .num { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--c, var(--sky)); font: 700 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.tour-step .num i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: color-mix(in srgb, var(--c, var(--blue)) 20%, transparent); }
.tour-step .num .icon { width: 18px; height: 18px; stroke-width: 2; }
.tour-step h3 { margin-bottom: 16px; }
.tour-step p { margin: 0; color: var(--muted); font-size: 18px; max-width: 30em; }
.tour-step ul { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tour-step li { padding: 7px 13px; border-radius: 999px; background: rgba(253, 249, 243, .05); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; color: var(--text); }
.tour-step figure { display: none; }

/* ------------------------------------------------------------------ share band */

.share-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(34px, 5vw, 64px); background: radial-gradient(120% 140% at 0% 0%, rgba(104, 137, 253, .22), transparent 55%), radial-gradient(90% 120% at 100% 100%, rgba(236, 72, 153, .14), transparent 60%), var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.share-band .h2 { font-size: clamp(32px, 4vw, 52px); }
.share-band p { color: var(--muted); margin: 18px 0 0; }
.sources { display: flex; flex-wrap: wrap; gap: 8px; }
.sources span { padding: 9px 15px; border-radius: 999px; background: rgba(253, 249, 243, .045); box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; font-weight: 600; color: var(--text); transition: background .2s, box-shadow .2s, transform .2s; }
.sources span:hover { background: color-mix(in srgb, var(--c, var(--blue)) 18%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c, var(--blue)) 50%, transparent); transform: translateY(-2px); }
.sources span.any { background: var(--cream); color: var(--ink); box-shadow: none; }
.share-flow { display: flex; align-items: center; gap: 12px; margin-top: 28px; color: var(--muted); font-size: 14.5px; font-weight: 600; flex-wrap: wrap; }
.share-flow b { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 12px; background: var(--ink-3); color: var(--cream); box-shadow: inset 0 0 0 1px var(--line); }
.share-flow b img { width: 22px; height: 22px; border-radius: 6px; }
.share-flow .icon { width: 16px; height: 16px; }

/* ------------------------------------------------------------------ shelves grid */

.shelves { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.shelf {
  position: relative; padding: 20px 20px 22px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(165deg, color-mix(in srgb, var(--c) 13%, var(--ink-2)), var(--ink-2) 75%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 16%, var(--line));
  transition: transform .35s var(--ease), box-shadow .35s;
}
.shelf:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 45%, transparent), 0 24px 40px -24px color-mix(in srgb, var(--c) 60%, transparent); }
.shelf i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; margin-bottom: 16px; background: color-mix(in srgb, var(--c) 22%, transparent); color: var(--c); }
.shelf i .icon { width: 21px; height: 21px; stroke-width: 2; }
.shelf b { display: block; color: var(--cream); font-size: 16.5px; font-weight: 700; margin-bottom: 4px; }
.shelf span { display: block; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.shelf .vault { position: absolute; top: 16px; right: 16px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; background: rgba(249, 115, 22, .16); color: #fdba74; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; }
.shelf .vault .icon { width: 12px; height: 12px; stroke-width: 2.4; }
.shelf::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--c); opacity: .5; }

/* ------------------------------------------------------------------ privacy */

.privacy { background: linear-gradient(180deg, transparent, rgba(104, 137, 253, .05) 30%, rgba(104, 137, 253, .05) 70%, transparent); }
.privacy-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
.redact { border-radius: var(--radius-lg); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -50px rgba(104, 137, 253, .5); overflow: hidden; }
.redact-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 13.5px; font-weight: 700; color: var(--muted); }
.redact-top .dots { display: flex; gap: 6px; }
.redact-top .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-4); }
.replay { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 0; background: rgba(253, 249, 243, .06); color: var(--text); font-size: 13px; font-weight: 700; cursor: pointer; }
.replay .icon { width: 14px; height: 14px; }
.redact-body { position: relative; padding: 24px 22px 8px; }
.shot { position: relative; padding: 18px; border-radius: 18px; background: #0b0c0b; box-shadow: inset 0 0 0 1px var(--line); font-size: 15.5px; line-height: 1.55; overflow: hidden; }
.shot .who { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--muted); font-size: 13px; font-weight: 700; }
.shot .who i { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #f59e6b, #ec4899); }
.bubble { display: block; width: fit-content; max-width: 92%; margin: 0 0 8px; padding: 9px 13px; border-radius: 16px 16px 16px 5px; background: var(--ink-4); color: var(--text); }
.pii { position: relative; display: inline-block; border-radius: 6px; transition: color .4s, background .4s; }
.pii::after { content: attr(data-kind); position: absolute; inset: -1px -3px; display: grid; place-items: center; border-radius: 6px; background: #2b2f3f; color: var(--sky); font: 700 11px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; opacity: 0; transform: scaleX(.3); transform-origin: left; transition: opacity .35s, transform .45s var(--ease); }
.redacted .pii::after { opacity: 1; transform: none; }
.redacted .pii:nth-of-type(2)::after { transition-delay: .25s; }
.scanline { position: absolute; left: 0; right: 0; top: 0; height: 60px; background: linear-gradient(180deg, transparent, rgba(104, 137, 253, .28), transparent); border-bottom: 1.5px solid rgba(104, 137, 253, .8); opacity: 0; pointer-events: none; }
.scanning .scanline { animation: scan 1.6s var(--ease) forwards; }
@keyframes scan { 0% { opacity: 1; transform: translateY(-60px); } 90% { opacity: 1; } 100% { opacity: 0; transform: translateY(260px); } }
.hl { border-radius: 5px; transition: background .5s, box-shadow .5s; }
.found .hl { background: rgba(104, 137, 253, .22); box-shadow: 0 0 0 2px rgba(104, 137, 253, .22); }
.outbox { display: grid; gap: 10px; padding: 18px 22px 24px; }
.out { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: rgba(253, 249, 243, .035); box-shadow: inset 0 0 0 1px var(--line); opacity: .25; transform: translateY(6px); transition: opacity .6s, transform .6s var(--ease); }
.out.on { opacity: 1; transform: none; }
.out .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--sky); }
.out b { display: block; color: var(--cream); font-size: 14px; margin-bottom: 3px; }
.out span { color: var(--muted); font-size: 14.5px; }
.out code { font: 600 13.5px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--text); background: rgba(253, 249, 243, .06); padding: 1px 6px; border-radius: 6px; }
.out.vault .icon { color: #fdba74; }
.pillars { display: grid; gap: 12px; }
.pillar { display: flex; gap: 16px; padding: 20px; border-radius: 20px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.pillar i { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 14px; background: var(--blue-soft); color: var(--sky); }
.pillar i .icon { width: 22px; height: 22px; }
.pillar b { display: block; color: var(--cream); font-size: 16.5px; margin-bottom: 4px; }
.pillar span { color: var(--muted); font-size: 15px; line-height: 1.5; }
.privacy-link { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; color: var(--sky); font-weight: 700; text-decoration: none; }
.privacy-link .icon { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.privacy-link:hover .icon { transform: translateX(4px); }

/* ------------------------------------------------------------------ aura */

.aura-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(30px, 6vw, 80px); align-items: center; }
.aura-card { position: relative; border-radius: 34px; padding: 30px; overflow: hidden; background: radial-gradient(120% 90% at 100% 0%, rgba(63, 185, 163, .35), transparent 55%), radial-gradient(100% 100% at 0% 100%, rgba(104, 137, 253, .28), transparent 60%), #121512; box-shadow: inset 0 0 0 1px rgba(63, 185, 163, .25), 0 50px 100px -50px rgba(63, 185, 163, .5); }
.aura-card .tag { display: inline-flex; align-items: center; gap: 7px; font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #8fe0cf; }
.aura-card .tag .icon { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.aura-card h3 { font-family: var(--serif); font-size: clamp(38px, 4vw, 52px); line-height: 1; margin: 16px 0 10px; }
.aura-card .desc { color: var(--muted); margin: 0 0 24px; font-size: 15.5px; }
.ring { position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; border-radius: 50%; background: conic-gradient(#3fb9a3 0 38%, #e07a3f 0 62%, #6889fd 0 80%, #4a6ae0 0 92%, #d4a05a 0 100%); -webkit-mask: radial-gradient(circle, transparent 57%, #000 58%); mask: radial-gradient(circle, transparent 57%, #000 58%); opacity: .35; animation: spin 40s linear infinite; }
.mix { display: grid; gap: 11px; margin-bottom: 24px; }
.mix div { display: grid; grid-template-columns: 96px minmax(0, 1fr) 40px; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; }
.mix span:last-child { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.bar { height: 8px; border-radius: 8px; background: rgba(253, 249, 243, .07); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform 1.3s var(--ease); transition-delay: var(--d, 0s); }
.in .bar i { transform: none; }
.nudge { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: rgba(253, 249, 243, .05); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; }
.nudge .icon { width: 18px; height: 18px; margin-top: 3px; color: #8fe0cf; fill: currentColor; stroke: none; }
.types { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.types li { padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 700; color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 30%, transparent); }
.pro-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--blue); color: var(--ink); font: 800 11.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; }

/* ------------------------------------------------------------------ widgets */

.widgets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.widget { position: relative; aspect-ratio: 1; border-radius: 30px; padding: 18px; overflow: hidden; background: linear-gradient(160deg, #1f231f, #141614); box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -40px rgba(0, 0, 0, .9); display: flex; flex-direction: column; }
.widget .w-label { display: flex; align-items: center; gap: 7px; font: 700 11.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--c, var(--sky)); }
.widget .w-label .icon { width: 14px; height: 14px; stroke-width: 2.2; }
.widget .w-main { margin-top: auto; }
.widget .w-big { font: 400 26px/1.05 var(--serif); color: var(--cream); }
.widget .w-sub { margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.35; }
.widget.quote { background: linear-gradient(160deg, #2a2340, #17141f); }
.widget.quote .w-big { font-size: 19px; line-height: 1.22; }
.widget.coming { background: linear-gradient(160deg, #3a1d31, #1a1117); }
.widget.inbox .count { font: 400 64px/1 var(--serif); color: var(--cream); }
.widget .rows { display: grid; gap: 8px; margin-top: auto; }
.widget .rows div { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.widget .rows em { width: 8px; height: 8px; flex: none; border-radius: 3px; background: var(--c); }
.widget-caption { margin-top: 12px; text-align: center; font-size: 14px; font-weight: 700; color: var(--muted); }
.notes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.note { padding: 18px; border-radius: 20px; background: rgba(253, 249, 243, .035); box-shadow: inset 0 0 0 1px var(--line); }
.note .icon { width: 20px; height: 20px; color: var(--sky); margin-bottom: 12px; }
.note b { display: block; color: var(--cream); font-size: 15.5px; margin-bottom: 4px; }
.note span { color: var(--muted); font-size: 14.5px; line-height: 1.45; }

/* ------------------------------------------------------------------ pricing */

.billing-toggle { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line); margin: 0 auto 36px; position: relative; }
.billing-toggle button { position: relative; z-index: 1; border: 0; background: none; padding: 10px 20px; border-radius: 999px; font-size: 14.5px; font-weight: 700; color: var(--muted); cursor: pointer; transition: color .25s; }
.billing-toggle button[aria-pressed="true"] { color: var(--ink); }
.billing-toggle .knob { position: absolute; top: 5px; bottom: 5px; left: 5px; border-radius: 999px; background: var(--cream); transition: transform .35s var(--ease), width .35s var(--ease); }
.billing-toggle small { margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: var(--teal); color: var(--ink); font-size: 11px; font-weight: 800; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 28px; border-radius: var(--radius-lg); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.plan.hot { background: radial-gradient(120% 80% at 50% 0%, rgba(104, 137, 253, .24), transparent 60%), var(--ink-2); box-shadow: inset 0 0 0 1.5px rgba(104, 137, 253, .6), 0 40px 80px -40px rgba(104, 137, 253, .55); }
.plan .ribbon { position: absolute; top: -13px; left: 28px; padding: 6px 12px; border-radius: 999px; background: var(--blue); color: var(--ink); font: 800 11.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.plan .ribbon.gold { background: var(--gold); }
.plan h3 { font: 700 19px/1.3 var(--sans); color: var(--cream); }
.plan .tagline { color: var(--muted); font-size: 15px; margin: 6px 0 22px; }
.price { display: flex; align-items: baseline; gap: 8px; min-height: 64px; }
.price b { font: 400 54px/1 var(--serif); color: var(--cream); letter-spacing: -.01em; }
.price span { color: var(--muted); font-size: 15px; font-weight: 600; }
.price s { color: var(--dim); font-size: 16px; }
.price-note { min-height: 22px; color: #8fe0cf; font-size: 14px; font-weight: 700; margin: 2px 0 22px; }
.plan ul { list-style: none; margin: 0 0 28px; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.plan li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.plan li .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--teal); stroke-width: 2.4; }
.plan .btn { margin-top: auto; width: 100%; }
.plans-foot { margin-top: 28px; text-align: center; color: var(--dim); font-size: 14px; }

/* ------------------------------------------------------------------ faq */

.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; cursor: pointer; font-size: clamp(17px, 1.6vw, 19px); font-weight: 700; color: var(--cream); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { position: relative; width: 32px; height: 32px; flex: none; border-radius: 50%; background: rgba(253, 249, 243, .06); transition: transform .35s var(--ease), background .25s; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; border-radius: 2px; background: var(--cream); transform: translate(-50%, -50%); }
.faq summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .35s var(--ease); }
.faq details[open] summary .plus { background: var(--blue); }
.faq details[open] summary .plus::before, .faq details[open] summary .plus::after { background: var(--ink); }
.faq details[open] summary .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .answer { padding: 0 60px 26px 4px; color: var(--muted); font-size: 16.5px; }
.faq .answer p { margin: 0 0 10px; }
.faq .answer a { color: var(--sky); }

/* ------------------------------------------------------------------ final CTA */

.final { position: relative; overflow: hidden; text-align: center; padding: clamp(90px, 12vw, 170px) 0; isolation: isolate; }
.final .aurora i { opacity: .38; }
.logo-fan { position: relative; width: 150px; height: 150px; margin: 0 auto 40px; }
.logo-fan .sq { position: absolute; inset: 0; border-radius: 36px; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 80px -30px rgba(104, 137, 253, .6); }
.logo-fan .c { position: absolute; width: 36%; height: 53%; border-radius: 9px; transition: transform 1.2s var(--ease); }
.logo-fan .c1 { left: 15.5%; top: 30%; background: #bcd0f8; transform: rotate(0deg) translate(18%, 4%); }
.logo-fan .c2 { left: 27.5%; top: 22.5%; width: 37%; height: 54%; background: #6889fd; transform: rotate(0deg) translate(0, 0); }
.logo-fan .c3 { left: 40.7%; top: 17.3%; width: 41%; height: 61.6%; border-radius: 10px; background: #fdf9f3; transform: rotate(0deg) translate(-26%, 8%); }
.logo-fan .c3::after { content: ""; position: absolute; right: 21%; top: 16.5%; width: 17%; aspect-ratio: 1; border-radius: 50%; background: var(--ink); }
.in .logo-fan .c1, .logo-fan.in .c1 { transform: rotate(-13deg); }
.in .logo-fan .c2, .logo-fan.in .c2 { transform: rotate(3deg); }
.in .logo-fan .c3, .logo-fan.in .c3 { transform: rotate(13.5deg); }
.final .display { font-size: clamp(42px, 6.4vw, 84px); max-width: 12em; margin: 0 auto 22px; }
.final .lead { margin: 0 auto 36px; }
.final .cta-row { justify-content: center; }

/* ------------------------------------------------------------------ footer */

.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; color: var(--muted); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-grid p { margin: 14px 0 0; max-width: 24em; }
.foot-grid h4 { margin: 4px 0 14px; color: var(--cream); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { color: var(--muted); text-decoration: none; }
.prose, .foot-grid, .mail-card, .faq .answer { overflow-wrap: break-word; }
.foot-grid a:hover { color: var(--cream); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }

/* ------------------------------------------------------------------ legal & help pages */

.doc-hero { position: relative; padding: calc(var(--header) + clamp(40px, 7vw, 90px)) 0 clamp(30px, 4vw, 50px); isolation: isolate; overflow: hidden; }
.doc-hero .aurora i { opacity: .3; }
.doc-hero .display { font-size: clamp(44px, 6.4vw, 80px); margin: 18px 0 18px; }
.doc-hero .lead { margin: 0; }
.doc-meta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--dim); font-size: 14.5px; font-weight: 600; }
.doc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); padding: 30px 0 120px; }
.toc { position: sticky; top: calc(var(--header) + 24px); align-self: start; max-height: calc(100vh - var(--header) - 48px); overflow: auto; padding-right: 8px; }
.toc b { display: block; margin-bottom: 12px; color: var(--cream); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; }
.toc a { display: block; padding: 7px 12px; border-radius: 10px; color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 600; line-height: 1.35; border-left: 2px solid transparent; }
.toc a:hover { color: var(--cream); background: rgba(253, 249, 243, .04); }
.toc a.on { color: var(--cream); background: rgba(104, 137, 253, .1); border-left-color: var(--blue); border-radius: 0 10px 10px 0; }
.prose { max-width: 740px; font-size: 17px; line-height: 1.72; color: var(--text); }
.prose h2 { font-family: var(--serif); font-size: clamp(28px, 3vw, 36px); line-height: 1.15; margin: 64px 0 18px; padding-top: 8px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font: 700 18.5px/1.4 var(--sans); color: var(--cream); margin: 32px 0 10px; }
.prose p, .prose ul, .prose ol { margin: 0 0 18px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--blue); }
.prose strong { color: var(--cream); }
.prose a { color: var(--sky); }
.prose code { font: 600 14.5px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; padding: 1px 6px; border-radius: 6px; background: rgba(253, 249, 243, .07); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }
.tldr { margin: 0 0 48px; padding: 26px 28px; border-radius: 24px; background: radial-gradient(120% 100% at 0 0, rgba(104, 137, 253, .18), transparent 60%), var(--ink-2); box-shadow: inset 0 0 0 1px rgba(104, 137, 253, .3); }
.tldr b.t { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; color: var(--sky); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; }
.tldr b.t .icon { width: 17px; height: 17px; }
.tldr ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.tldr li { display: flex; gap: 11px; margin: 0; }
.tldr li .icon { width: 19px; height: 19px; margin-top: 4px; color: var(--teal); stroke-width: 2.4; }
.table-wrap { overflow-x: auto; margin: 0 0 22px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.prose table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--cream); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; background: rgba(253, 249, 243, .03); }
.prose tr:last-child td { border-bottom: 0; }
.prose td:first-child { color: var(--cream); font-weight: 700; white-space: nowrap; }
.callout { display: flex; gap: 14px; margin: 0 0 22px; padding: 18px 20px; border-radius: 18px; background: rgba(253, 249, 243, .04); box-shadow: inset 0 0 0 1px var(--line); }
.callout .icon { width: 21px; height: 21px; margin-top: 4px; color: var(--sky); }
.callout.warn .icon { color: #fdba74; }
.callout p { margin: 0; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 28px; }
.card-link { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 22px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
.card-link:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(104, 137, 253, .5); }
.card-link .icon { width: 24px; height: 24px; color: var(--sky); margin-bottom: 6px; }
.card-link b { color: var(--cream); font-size: 17px; }
.card-link span { color: var(--muted); font-size: 15px; line-height: 1.5; }
.steps-list { counter-reset: s; list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.steps-list li { counter-increment: s; position: relative; margin: 0; padding: 16px 18px 16px 62px; border-radius: 18px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.steps-list li::before { content: counter(s); position: absolute; left: 16px; top: 14px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--blue-soft); color: var(--sky); font-weight: 800; font-size: 15px; }
.mail-card { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin: 0 0 28px; padding: 24px; border-radius: 22px; background: radial-gradient(120% 100% at 100% 0, rgba(104, 137, 253, .2), transparent 60%), var(--ink-2); box-shadow: inset 0 0 0 1px rgba(104, 137, 253, .3); }
.mail-card b { display: block; color: var(--cream); font-size: 18px; }
.mail-card span { color: var(--muted); font-size: 15px; }

/* 404 */
.lost { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header) + 40px) var(--gutter) 60px; position: relative; isolation: isolate; overflow: hidden; }
.lost .big { font: 400 clamp(110px, 22vw, 240px)/0.9 var(--serif); background: linear-gradient(180deg, var(--cream), rgba(253, 249, 243, .15)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lost p { color: var(--muted); font-size: 19px; margin: 18px auto 34px; max-width: 26em; }

/* ------------------------------------------------------------------ responsive */

@media (max-width: 1080px) {
  .shelves { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .widgets, .notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .float.f2 { right: -2%; }
  .float.f3 { left: -4%; }
}
@media (max-width: 960px) {
  .hero-grid, .privacy-grid, .aura-grid, .share-band { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { text-align: left; }
  .hero-visual { min-height: 0; padding: 30px 0 10px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .tour { grid-template-columns: minmax(0, 1fr); }
  .tour-phone { display: none; }
  .tour-steps { padding: 0; }
  .tour-step { min-height: 0; opacity: 1; padding: 0 0 70px; }
  .tour-step figure { display: block; margin: 30px auto 0; width: min(280px, 72vw); }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
  .plan.hot { order: -1; }
  .doc { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; max-height: none; padding: 18px; border-radius: 20px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .shelves { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .shelf { padding: 16px 16px 18px; }
  .shelf span { font-size: 13.5px; }
  .shelf .vault { position: static; margin: -6px 0 10px; }
  .float { padding: 8px 12px 8px 8px; gap: 10px; }
  .float .thumb { width: 30px; height: 40px; }
  .float strong { font-size: 13px; }
  .float small { font-size: 11.5px; }
  .float.f1 { top: 4%; left: 0; }
  .float.f2 { top: 34%; right: 0; }
  .float.f3 { bottom: 22%; left: 0; }
  .float.f4 { display: none; }
  .widgets { gap: 12px; }
  .widget { border-radius: 24px; padding: 14px; }
  .widget .w-big { font-size: 21px; }
  .widget.quote .w-big { font-size: 15.5px; }
  .widget .rows div { font-size: 12.5px; }
  .widget.inbox .count { font-size: 50px; }
  .notes { grid-template-columns: minmax(0, 1fr); }
  .faq .answer { padding-right: 4px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .mix div { grid-template-columns: 82px minmax(0, 1fr) 36px; }
  .sort-scroll { height: 230vh; }
  .stage { min-height: 460px; height: 66vh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee-track, .marquee-set { flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-track [aria-hidden="true"] { display: none; }
  .sort-scroll { height: auto; }
  .sort-sticky { position: static; height: auto; padding-bottom: 20px; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}
