/* ─────────────────────────────────────────────────────────────────────────────
   Kozrin — shared marketing-site layer (landing, /feel, /memory, /connect)
   Same DNA as before: violet atmosphere, the living blob, ink buttons, motes.
   New: blur-in motion, glass cards, grain, page-to-page blur transitions.
   ───────────────────────────────────────────────────────────────────────────── */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { background: rgba(124,79,214,.38); color: #fff; }
a:focus-visible, button:focus-visible { outline: 2px solid #a97ee8; outline-offset: 3px; border-radius: 8px; }

:root {
  --bg:         #09080d;
  --text:       #f0eef2;
  --text-sec:   #aaa6b0;
  --text-muted: #726d80;
  --accent:     #7c4fd6;
  --accent2:    #a97ee8;
  --accent3:    #3d2a72;
  --border:     rgba(255,255,255,.08);
  --border2:    rgba(255,255,255,.14);
  --mood-rgb:   124, 79, 214;
  --ease-soft:  cubic-bezier(.4,0,.2,1);
  --ease-out:   cubic-bezier(.16,1,.3,1);
  --pad:        clamp(1.25rem, 5vw, 4rem);
  --maxw:       1180px;
  --grad:       linear-gradient(135deg, #e6d6ff 0%, #a97ee8 38%, #7c4fd6 78%);
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

/* ── Page-to-page blur transition (progressive enhancement; Chromium) ───────── */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .3s var(--ease-soft) both; }
::view-transition-new(root) { animation: vt-in .6s var(--ease-out) .06s both; }
@keyframes vt-out { to { opacity: 0; filter: blur(14px); } }
@keyframes vt-in  { from { opacity: 0; filter: blur(14px); } }

/* ── Atmosphere, spotlight, grain, progress ─────────────────────────────────── */
.atmosphere { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.atmosphere i {
  position: absolute; border-radius: 50%; will-change: transform;
  animation: atmosphereDrift 36s ease-in-out infinite;
}
.atmosphere .o1 {
  top: -52vw; left: -30vw; width: 120vw; height: 120vw;
  background: radial-gradient(circle, rgba(var(--mood-rgb),.42) 0%, rgba(var(--mood-rgb),.2) 24%, rgba(var(--mood-rgb),.07) 46%, transparent 68%);
}
.atmosphere .o2 {
  bottom: -60vw; right: -36vw; width: 112vw; height: 112vw;
  background: radial-gradient(circle, rgba(80,50,150,.38) 0%, rgba(80,50,150,.18) 26%, rgba(40,25,80,.07) 48%, transparent 70%);
  animation-duration: 44s; animation-delay: -17s;
}
.atmosphere .o3 {
  top: 38vh; left: 52vw; width: 46vw; height: 46vw;
  background: radial-gradient(circle, rgba(169,126,232,.12), transparent 66%);
  animation-duration: 52s; animation-delay: -9s;
}
@keyframes atmosphereDrift {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(4vw,-3vw) scale(1.08); }
}

.spot {
  position: fixed; left: 0; top: 0; z-index: 1; pointer-events: none;
  width: 640px; height: 640px; margin: -320px 0 0 -320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--mood-rgb),.15), transparent 62%);
  transform: translate3d(var(--mx, 50vw), var(--my, 30vh), 0);
  opacity: 0; transition: opacity .8s ease;
}
.spot.on { opacity: 1; }
@media (hover: none) { .spot { display: none; } }

.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  opacity: .075; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

main, footer { position: relative; z-index: 2; }

/* ── Type ───────────────────────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 500 11.5px 'JetBrains Mono', monospace; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent2);
}

.h2 { font-size: clamp(1.9rem, 4.8vw, 3.4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.07; }
.h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.25; }
.lead { font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.75; color: var(--text-sec); max-width: 54ch; }
.grad {
  background: var(--grad); background-size: 140% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.muted { color: var(--text-muted); }

.sec { padding: clamp(4.5rem, 11vw, 8.5rem) 0; }
.sec-head { display: flex; flex-direction: column; gap: 1.1rem; margin-bottom: clamp(2.2rem, 5vw, 3.8rem); }
.sec-head.center { align-items: center; text-align: center; }
.sec-head.center .lead { margin-inline: auto; }

/* ── Motion primitives ──────────────────────────────────────────────────────── */
.js [data-reveal] {
  opacity: 0; filter: blur(14px); transform: translateY(20px);
  transition: opacity 1s var(--ease-out), filter 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].in { opacity: 1; filter: blur(0); transform: none; }

/* word-by-word blur-in. JS wraps every word in .w > .wi and flips .in on the container */
.w { display: inline-block; }
.words .wi {
  display: inline-block;
  opacity: 0; filter: blur(12px); transform: translateY(.5em);
  transition: opacity .9s var(--ease-out), filter .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 55ms + var(--base, 0ms));
}
.words.in .wi { opacity: 1; filter: blur(0); transform: none; }
.words.out .wi { transform: translateY(-.5em); transition-delay: calc(var(--i, 0) * 22ms); transition-duration: .55s; }
/* gradient text inside a split container: paint the gradient per word, not on the parent */
.words .grad, .words.grad { background: none; -webkit-text-fill-color: currentColor; }
.words .grad .wi, .words.grad .wi { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* scroll-scrubbed statement: words sharpen as you scroll past them */
.scrub .wi {
  display: inline-block;
  opacity: calc(.14 + var(--k, 0) * .86);
  filter: blur(calc((1 - var(--k, 0)) * 9px));
  transform: none;
  transition: none;
}

/* ── Buttons (the ink-bubble system is drawn by site.js; this is its skin) ──── */
[data-bubble] {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  border: 0; background: none; color: #fff;
  font-family: 'Sora', sans-serif; font-weight: 600;
  cursor: pointer; text-decoration: none;
  -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none;
  transition: transform .15s, opacity .2s;
}
[data-bubble]:active:not(:disabled) { transform: scale(.97); }
[data-bubble]:disabled { opacity: .4; cursor: not-allowed; }
[data-bubble="light"] { color: #1f1f24; }
[data-bubble] > .ink-bg {
  position: absolute; left: -60px; top: -60px;
  width: calc(100% + 120px); height: calc(100% + 120px);
  overflow: visible; pointer-events: none; z-index: -1;
}
[data-bubble] > svg.ink-bg { width: calc(100% + 120px) !important; height: calc(100% + 120px) !important; transform: none !important; margin: 0 !important; max-width: none !important; }
[data-bubble]:not(.kb-on) { background: linear-gradient(135deg, #a97ee8, #7c4fd6 60%, #3d2a72); box-shadow: 0 10px 24px -10px rgba(124,79,214,.6); }
[data-bubble="danger"]:not(.kb-on) { background: linear-gradient(135deg, #ea8f7e, #d9705f 60%, #9c3f33); box-shadow: 0 10px 24px -10px rgba(217,112,95,.55); }
[data-bubble="light"]:not(.kb-on) { background: linear-gradient(135deg, #ffffff, #ecebf3); box-shadow: 0 8px 18px -8px rgba(0,0,0,.5); }
[data-bubble="soft"]:not(.kb-on) { background: rgba(124,79,214,.22); border: 1px solid rgba(154,111,235,.38); box-shadow: none; }

.btn { font-size: .98rem; font-weight: 700; padding: 1rem 2rem; border-radius: 16px; line-height: inherit; appearance: none; -webkit-appearance: none; }
.btn::after { content: ''; position: absolute; inset: -14px; border-radius: 30px; }
.btn-sm { font-size: .82rem; padding: .62rem 1.15rem; border-radius: 12px; }
.btn-label { position: relative; display: inline-flex; align-items: center; gap: .6rem; }
.btn-arrow { width: 16px; height: 16px; flex-shrink: 0; transition: transform .3s var(--ease-soft); }
.btn:hover .btn-arrow { transform: translateX(3px) rotate(6deg); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .95rem 1.6rem; border-radius: 16px;
  font: 600 .95rem 'Sora', sans-serif; color: #e9e3f5; text-decoration: none;
  border: 1px solid var(--border2); background: rgba(255,255,255,.03);
  transition: background .25s, border-color .25s, transform .25s var(--ease-out);
}
.btn-ghost:hover { background: rgba(255,255,255,.07); border-color: rgba(169,126,232,.45); transform: translateY(-2px); }
.btn-ghost svg { width: 16px; height: 16px; transition: transform .3s var(--ease-soft); }
.btn-ghost:hover svg { transform: translateX(3px); }

/* ── Nav ────────────────────────────────────────────────────────────────────── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  padding: 1.1rem 0; border-bottom: 1px solid transparent;
  transition: background .4s, border-color .4s, padding .4s;
  view-transition-name: site-nav;
}
.site-nav.scrolled {
  padding: .65rem 0;
  background: rgba(9,8,13,.62); border-color: rgba(255,255,255,.07);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav-mark {
  font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; text-decoration: none;
  background: linear-gradient(120deg, #e0ccff 0%, #a97ee8 42%, #7c4fd6 75%, #a97ee8 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: markShift 9s ease-in-out infinite alternate;
}
@keyframes markShift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.nav-links { display: flex; align-items: center; gap: .15rem; }
.nav-links a {
  padding: .55rem .95rem; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: var(--text-sec); text-decoration: none;
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.07); }
.nav-right { display: flex; align-items: center; gap: .8rem; }
.nav-burger {
  display: none; width: 40px; height: 40px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--border2); background: rgba(255,255,255,.04); color: #fff;
  align-items: center; justify-content: center;
}
.nav-burger span { position: relative; display: block; width: 16px; height: 1.5px; background: currentColor; transition: background .2s; }
.nav-burger span::before, .nav-burger span::after { content: ''; position: absolute; left: 0; width: 16px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease-out); }
.nav-burger span::before { top: -5px; } .nav-burger span::after { top: 5px; }
.menu-open .nav-burger span { background: transparent; }
.menu-open .nav-burger span::before { transform: translateY(5px) rotate(45deg); }
.menu-open .nav-burger span::after { transform: translateY(-5px) rotate(-45deg); }

.nav-sheet {
  position: fixed; inset: 0; z-index: 55; display: none;
  flex-direction: column; justify-content: center; gap: .4rem; padding: 6rem var(--pad) 3rem;
  background: rgba(9,8,13,.88); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
  opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s;
}
.nav-sheet a {
  font-size: clamp(2rem, 9vw, 3rem); font-weight: 800; letter-spacing: -.03em; text-decoration: none; color: #fff;
  opacity: 0; filter: blur(12px); transform: translateY(14px);
  transition: opacity .7s var(--ease-out), filter .7s var(--ease-out), transform .7s var(--ease-out);
}
.nav-sheet a:nth-child(1) { transition-delay: .05s; } .nav-sheet a:nth-child(2) { transition-delay: .11s; }
.nav-sheet a:nth-child(3) { transition-delay: .17s; } .nav-sheet a:nth-child(4) { transition-delay: .23s; }
.menu-open .nav-sheet { opacity: 1; visibility: visible; }
.menu-open .nav-sheet a { opacity: 1; filter: none; transform: none; }
@media (max-width: 820px) {
  .nav-links, .nav-right .btn { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-sheet { display: flex; }
}

/* ── Inner-page hero ────────────────────────────────────────────────────────── */
.page-hero { position: relative; padding: clamp(8rem, 16vw, 11rem) 0 clamp(2.5rem, 6vw, 4.5rem); text-align: center; }
.page-hero .wrap { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.page-hero h1 { font-size: clamp(2.4rem, 7.2vw, 5.2rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.03; max-width: 16ch; text-wrap: balance; }
.page-hero .lead { margin-inline: auto; }

/* ── Glass cards ────────────────────────────────────────────────────────────── */
.card {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: 26px; padding: 1.9rem;
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  border: 1px solid var(--border);
  transition: transform .6s var(--ease-out), border-color .4s, box-shadow .6s var(--ease-out);
}
.card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .45s;
  background: radial-gradient(440px circle at var(--px, 50%) var(--py, 0%), rgba(169,126,232,.22), transparent 62%);
}
.card::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent); opacity: .5;
}
a.card { display: block; text-decoration: none; color: inherit; }
.card:hover { transform: translateY(-5px); border-color: rgba(169,126,232,.34); box-shadow: 0 34px 90px -34px rgba(124,79,214,.55); }
.card:hover::before { opacity: 1; }
.card-num { font: 500 11.5px 'JetBrains Mono', monospace; letter-spacing: .12em; color: var(--accent2); }
.card p { margin-top: .6rem; font-size: 14.5px; line-height: 1.7; color: var(--text-sec); }
.card .h3 { margin-top: .9rem; }
.grid { display: grid; gap: 1.1rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .grid-2 { grid-template-columns: 1fr; } }

.arrow-link { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.4rem; font-size: 13.5px; font-weight: 600; color: #e4d9fb; }
.arrow-link svg { width: 15px; height: 15px; transition: transform .35s var(--ease-out); }
.card:hover .arrow-link svg { transform: translateX(5px); }

/* ── Chips & marquee ────────────────────────────────────────────────────────── */
.chip {
  display: inline-flex; align-items: center; gap: .55rem; white-space: nowrap;
  padding: .55rem 1rem; border-radius: 999px;
  font: 500 12.5px 'JetBrains Mono', monospace; letter-spacing: .03em; color: #cdc4e2;
  border: 1px solid var(--border); background: rgba(255,255,255,.03);
}
.chip::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent2); opacity: .8; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.marquee-track { display: flex; gap: .9rem; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Footer ─────────────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border); margin-top: 2rem; padding: 2.2rem 0 2.6rem; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
.foot-links a { font-size: 13.5px; color: var(--text-sec); text-decoration: none; transition: color .2s; }
.foot-links a:hover { color: #fff; }

/* ── Ambient motes / rings / sparks (the original Kozrin pattern) ───────────── */
.ambient { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.ambient .mote {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,216,255,.95) 0%, rgba(169,126,232,.45) 40%, transparent 72%);
  opacity: .2;
  animation: kui-float var(--dur, 20s) ease-in-out infinite alternate, kui-twinkle var(--tw, 5s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
.ambient .ring {
  position: absolute; border-radius: 50%; border: 1px solid rgba(169,126,232,.4); opacity: 0;
  animation: kui-ring var(--dur, 12s) ease-in-out infinite; animation-delay: var(--delay, 0s);
}
.ambient .spark {
  position: absolute; width: var(--s, 10px); height: var(--s, 10px); opacity: 0;
  animation: kui-spark var(--dur, 5s) ease-in-out infinite; animation-delay: var(--delay, 0s);
}
.ambient .spark::before, .ambient .spark::after { content: ''; position: absolute; }
.ambient .spark::before { left: 0; top: 50%; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(233,220,255,.95), transparent); }
.ambient .spark::after { left: 50%; top: 0; width: 1px; height: 100%; background: linear-gradient(180deg, transparent, rgba(233,220,255,.95), transparent); }
@keyframes kui-float { from { transform: translate(0,0); } to { transform: translate(var(--dx, 20px), var(--dy, -40px)); } }
@keyframes kui-twinkle { 0%, 100% { opacity: .12; } 50% { opacity: .85; } }
@keyframes kui-ring { 0% { transform: scale(.5); opacity: 0; } 35% { opacity: .5; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes kui-spark { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0deg); } 50% { opacity: .9; transform: scale(1) rotate(45deg); } }
@media (max-width: 560px) { .ambient .mote:nth-child(n+14) { display: none; } }

/* ── Mood check-in (shared by landing + /feel) ──────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.mood-chip {
  position: relative; padding: .7rem 1.25rem; border-radius: 999px; cursor: pointer;
  font: 600 .88rem 'Sora', sans-serif; color: #d9d1ea;
  border: 1px solid var(--border2); background: rgba(255,255,255,.035);
  transition: color .25s, background .25s, border-color .25s, transform .3s var(--ease-out), box-shadow .4s;
  -webkit-tap-highlight-color: transparent;
}
.mood-chip:hover { color: #fff; transform: translateY(-2px); background: rgba(255,255,255,.08); }
.mood-chip[aria-pressed="true"] {
  color: #fff; border-color: rgba(var(--mood-rgb), .8); background: rgba(var(--mood-rgb), .22);
  box-shadow: 0 10px 30px -10px rgba(var(--mood-rgb), .7);
}
.reply { min-height: 3.2em; font-size: clamp(1.02rem, 1.7vw, 1.22rem); line-height: 1.6; font-weight: 500; color: #efe9fb; }

/* ── Auth modal (unchanged behaviour, restyled to sit above the new chrome) ─── */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 1rem; visibility: hidden; }
.modal.open { visibility: visible; }
.modal-card { opacity: 0; }
.modal.open .modal-card { opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(7,5,13,.66); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.modal-card {
  position: relative; width: min(420px, 100%); padding: 3.1rem 1.9rem 1.6rem; border-radius: 26px;
  background: linear-gradient(180deg, rgba(34,25,60,.94), rgba(17,13,30,.96));
  border: 1px solid rgba(169,126,232,.24);
  box-shadow: 0 40px 120px -24px rgba(124,79,214,.55), inset 0 1px 0 rgba(255,255,255,.06);
  transform: translateY(18px) scale(.97); filter: blur(6px);
  transition: transform .35s cubic-bezier(.2,.9,.3,1.1), opacity .22s ease, filter .35s ease;
  overflow: hidden;
}
.modal.open .modal-card { transform: none; filter: none; }
.modal-card::before { content: ''; position: absolute; left: 50%; top: -120px; width: 320px; height: 240px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(124,79,214,.5), transparent); pointer-events: none; }
.modal-x { position: absolute; right: 14px; top: 14px; width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer; color: #b9b3c6; background: rgba(255,255,255,.05); transition: background .2s, color .2s; }
.modal-x:hover { background: rgba(255,255,255,.12); color: #fff; }
.modal-x svg { width: 16px; height: 16px; }
.modal-view { position: relative; text-align: center; }
.modal-view[hidden] { display: none; }
.modal-blob { --blob-size: 60px; margin: .4rem auto 1.5rem; }
.modal h2 { margin-bottom: 1.6rem; font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.modal-orb { width: 46px; height: 46px; margin: 0 auto 1.1rem; border-radius: 34% 40% 38% 42% / 40% 36% 44% 38%; background: linear-gradient(150deg, #a97ee8, #7c4fd6 55%, #3d2a72); box-shadow: 0 10px 30px -6px rgba(124,79,214,.7); display: grid; place-items: center; color: #fff; }
.modal-orb svg { width: 22px; height: 22px; }
.btn-google, .btn-primary { position: relative; isolation: isolate; width: 100%; height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .7rem; border: 0; border-radius: 14px; cursor: pointer; background: none; font: 600 .95rem 'Sora', sans-serif; -webkit-tap-highlight-color: transparent; transition: transform .15s, opacity .2s; }
.btn-google { color: #1f1f24; }
.btn-primary { color: #fff; }
.btn-google:active, .btn-primary:active { transform: scale(.98); }
.btn-google.busy, .btn-primary.busy { opacity: .65; pointer-events: none; }
.g-ico { width: 20px; height: 20px; flex-shrink: 0; }
.modal-note { margin-top: .75rem; font-size: .82rem; line-height: 1.45; color: #e7b9c9; text-align: left; }
.modal-note[hidden] { display: none; }
.or { display: flex; align-items: center; gap: .8rem; margin: 1.15rem 0; color: #8b8697; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.1); }
.modal form { text-align: left; }
.modal label { display: block; margin-bottom: .45rem; font-size: .8rem; font-weight: 600; color: #cfc9db; }
.modal input[type="email"] { width: 100%; height: 48px; padding: 0 1rem; border-radius: 14px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05); color: #fff; font: 500 .95rem 'Sora', sans-serif; transition: border-color .2s, box-shadow .2s, background .2s; }
.modal input::placeholder { color: #777284; }
.modal input:focus { outline: none; border-color: rgba(169,126,232,.8); box-shadow: 0 0 0 4px rgba(124,79,214,.25); background: rgba(255,255,255,.07); }
.modal input.invalid { border-color: rgba(240,120,150,.8); }
.modal-err { min-height: 1.2rem; margin: .4rem 0 .6rem; font-size: .8rem; color: #f0a0b8; }
.modal-fine { margin-top: 1.1rem; font-size: .72rem; line-height: 1.7; color: #77728a; text-align: center; }
.legal { display: inline; color: #a59fba; text-decoration: none; transition: color .2s; border-radius: 4px; white-space: nowrap; }
.legal svg { display: inline-block; width: 1.05em; height: 1.05em; margin-right: .32em; vertical-align: -.17em; }
.legal:hover, .legal:focus-visible { color: #e6dcff; }
.lt { position: relative; display: inline-block; }
.lt::after { content: ''; position: absolute; left: 0; right: 0; bottom: -.08em; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .34s cubic-bezier(.65,0,.35,1); }
.legal:hover .lt::after, .legal:focus-visible .lt::after { transform: scaleX(1); transform-origin: 0 50%; }
.modal-done .modal-orb { background: linear-gradient(150deg, #7be0b0, #3fae82 55%, #1f6b52); box-shadow: 0 10px 30px -6px rgba(63,174,130,.6); }
.modal-done p { margin: .55rem auto 1.4rem; max-width: 30ch; font-size: .92rem; line-height: 1.55; color: var(--text-sec); }
.modal-done p b { color: #fff; font-weight: 600; word-break: break-all; }

/* ── Reduced motion: everything just appears ────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  @view-transition { navigation: none; }
  .js [data-reveal], .words .wi { opacity: 1 !important; filter: none !important; transform: none !important; transition: none !important; }
  .scrub .wi { opacity: 1 !important; filter: none !important; }
  .atmosphere i, .nav-mark, .marquee-track, .eyebrow .dot { animation: none !important; }
  .ambient .mote, .ambient .ring, .ambient .spark { animation: none !important; }
  .ambient .mote { opacity: .35; } .ambient .ring { opacity: .2; } .ambient .spark { opacity: .5; }
  .modal, .modal-card, .lt::after, .nav-sheet, .nav-sheet a { transition: none !important; }
  .modal-card { filter: none !important; }
}
