/* North website — daylight edition */

:root {
  --bg: #f6f7fd;
  --bg-card: #ffffff;
  --bg-soft: #eceefb;
  --bg-inset: #f0f1fa;
  --line: rgba(32, 35, 90, 0.10);
  --text: #20234a;
  --text-dim: #565b82;
  --text-faint: #9094b4;
  --accent: #6366f1;
  --accent-deep: #4f46e5;
  --teal: #0ea5a0;
  --grad: linear-gradient(135deg, #6366f1, #2dd4bf);
  --shadow-sm: 0 2px 10px rgba(32, 35, 90, 0.06);
  --shadow: 0 18px 50px rgba(60, 60, 140, 0.13);
  --nav-bg: rgba(255, 255, 255, 0.85);
  --frost: rgba(255, 255, 255, 0.78);
  --radius: 20px;
  --font: "Plus Jakarta Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

/* Night mode — same brand, lights off */
:root[data-theme="dark"] {
  --bg: #0c1022;
  --bg-card: #131a31;
  --bg-soft: #1c2342;
  --bg-inset: #1a2138;
  --line: rgba(148, 163, 196, 0.16);
  --text: #e8ecf8;
  --text-dim: #9aa7c4;
  --text-faint: #5f6b8d;
  --accent-deep: #8b8ef8;
  --teal: #2dd4bf;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  --nav-bg: rgba(12, 16, 34, 0.82);
  --frost: rgba(13, 18, 38, 0.74);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.12; margin: 0; }
a { color: var(--accent-deep); }
.hidden { display: none; }

/* Daylight backdrop: morning sun, clear sky */
.aurora {
  position: fixed; inset: -20%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(42% 36% at 18% 12%, rgba(255, 196, 86, 0.20), transparent 70%),
    radial-gradient(38% 32% at 85% 25%, rgba(99, 102, 241, 0.10), transparent 70%),
    radial-gradient(36% 30% at 60% 90%, rgba(45, 212, 191, 0.12), transparent 70%);
  animation: drift 26s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to   { transform: translate3d(2%, 2%, 0) scale(1.06); }
}
:root[data-theme="dark"] .aurora {
  background:
    radial-gradient(38% 32% at 22% 18%, rgba(99, 102, 241, 0.17), transparent 70%),
    radial-gradient(34% 28% at 78% 65%, rgba(45, 212, 191, 0.10), transparent 70%),
    radial-gradient(28% 24% at 60% 12%, rgba(168, 85, 247, 0.09), transparent 70%);
}

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }

/* Buttons */
.btn {
  display: inline-block;
  font: 700 15px/1 var(--font);
  padding: 14px 26px;
  border-radius: 13px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.25s ease;
}
.btn:active { transform: scale(0.97); }
.btn.primary {
  background: var(--grad);
  background-origin: border-box;
  color: #fff;
  box-shadow: 0 8px 26px rgba(99, 102, 241, 0.35);
}
.btn.primary:hover { box-shadow: 0 12px 36px rgba(99, 102, 241, 0.45); transform: translateY(-2px); }
.btn.big { padding: 18px 36px; font-size: 17px; border-radius: 15px; }
.btn.ghosted {
  color: var(--text-dim);
  border: 1.5px solid var(--line);
  background: var(--bg-card);
}
.btn.ghosted:hover { border-color: var(--accent); color: var(--text); }

/* ====================== Nori, the character ====================== */

.orb {
  position: relative;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 6px 22px rgba(99, 102, 241, 0.35), inset -6px -8px 16px rgba(40, 40, 120, 0.18);
  animation: breathe 4.5s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }

.eyes {
  position: absolute;
  top: 36%;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 22%;
}
.eye {
  width: 19%;
  aspect-ratio: 1;
  background: #fff;
  border-radius: 50%;
  position: relative;
  animation: blink 4.8s ease-in-out infinite;
}
.eye::after {
  content: "";
  position: absolute;
  inset: 22%;
  background: #20234a;
  border-radius: 50%;
  transform: translate(var(--px, 0px), var(--py, 0px));
  transition: transform 0.18s ease-out;
}
@keyframes blink {
  0%, 91%, 100% { transform: scaleY(1); }
  94%, 96% { transform: scaleY(0.08); }
}

/* Scroll companion */
.nori {
  position: fixed;
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 4vh, 34px);
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  opacity: 0;
  transform: translateY(24px) scale(0.9);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.2);
  pointer-events: none;
}
.nori.here { opacity: 1; transform: none; pointer-events: auto; }
.nori-orb {
  width: 58px; height: 58px;
  cursor: pointer;
  animation: bob 3.6s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.nori-bubble {
  max-width: 250px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px 16px 4px 16px;
  box-shadow: var(--shadow-sm), 0 12px 34px rgba(60, 60, 140, 0.14);
  padding: 11px 15px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dim);
  line-height: 1.45;
  transform-origin: bottom right;
}
.nori-bubble.pop { animation: bubble-pop 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.25); }
@keyframes bubble-pop {
  from { transform: scale(0.7); opacity: 0; }
}

/* ====================== Nav ====================== */

.nav {
  position: sticky; top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px clamp(20px, 5vw, 56px);
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 24px rgba(32, 35, 90, 0.07);
  transition: box-shadow 0.3s, background 0.3s;
}
.nav.scrolled { box-shadow: 0 10px 32px rgba(32, 35, 90, 0.13); }
:root[data-theme="dark"] .nav { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35); }
:root[data-theme="dark"] .nav.scrolled { box-shadow: 0 10px 32px rgba(0, 0, 0, 0.5); }

.theme-btn {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  border: 1.5px solid var(--line);
  background: var(--bg-card);
  color: var(--text-dim);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
}
.theme-btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.theme-btn svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:root[data-theme="dark"] .theme-btn .ico-moon { display: none; }
:root:not([data-theme="dark"]) .theme-btn .ico-sun { display: none; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 18px;
  color: var(--text); text-decoration: none;
}
.nav-logo img { border-radius: 10px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
}
.nav-links a:hover { color: var(--text); }
@media (max-width: 720px) { .nav-links { display: none; } }

main { position: relative; z-index: 1; }

/* ====================== Hero ====================== */

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(56px, 9vh, 110px) clamp(20px, 5vw, 56px) 60px;
}
@media (max-width: 880px) { .hero { grid-template-columns: 1fr; } }

.eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 14px;
}
.hero h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 800; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-dim);
  margin: 22px 0 30px;
  max-width: 540px;
}
.cta-note { font-size: 13px; color: var(--text-faint); margin: 14px 0 0; }

/* Hero mockup */
.hero-mock { position: relative; display: flex; justify-content: center; }
.mock-card {
  width: min(380px, 100%);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 34px 32px;
  text-align: center;
  transform: rotate(1.5deg);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.mock-card:hover { transform: rotate(0deg) scale(1.02); box-shadow: 0 26px 70px rgba(60, 60, 140, 0.2); }
.mock-orb { width: 62px; height: 62px; margin: 0 auto 14px; }
.mock-buddy {
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--teal);
  margin: 0 0 6px;
}
.mock-headline { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.mock-sub { font-size: 13.5px; color: var(--text-dim); margin: 0 0 16px; min-height: 60px; transition: opacity 0.5s ease; }
.mock-pills { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.mock-pill {
  font-size: 11.5px; font-weight: 600;
  color: var(--text-dim);
  background: var(--bg-inset);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 999px;
}
.mock-pill strong { color: var(--text); }
.mock-btn {
  font-size: 14px; font-weight: 700;
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 9px;
}
.mock-btn.primary { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(99, 102, 241, 0.3); }
.mock-btn.ghost { border: 1.5px solid var(--line); color: var(--text-dim); }

/* Floating proof chips around the mock */
.float-chip {
  position: absolute;
  z-index: 2;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  animation: bob 4.2s ease-in-out infinite;
}
.float-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.float-chip.fc1 { top: 4%; left: -4%; animation-delay: 0.6s; }
.float-chip.fc2 { bottom: 8%; right: -5%; }
.float-chip.fc2 .dot { background: var(--accent); }
@media (max-width: 880px) { .float-chip { display: none; } }

/* ====================== Strips ====================== */

.strip {
  max-width: 880px;
  margin: 40px auto;
  padding: 30px clamp(20px, 5vw, 56px);
  text-align: center;
}
.strip p {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--text-dim);
  line-height: 1.65;
  margin: 0;
}
.strip strong { color: var(--text); }

/* ====================== Sections ====================== */

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(50px, 9vh, 100px) clamp(20px, 5vw, 56px);
}
.section h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 14px;
}
.section-sub {
  text-align: center;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 40px;
}

/* ====================== Feature showcases ====================== */

.show {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  margin-top: clamp(48px, 8vh, 84px);
}
.show.flip .show-viz { order: 2; }
@media (max-width: 820px) {
  .show { grid-template-columns: 1fr; }
  .show.flip .show-viz { order: 0; }
}
.show-copy .eyebrow { margin-bottom: 10px; }
.show-copy h3 { font-size: clamp(23px, 2.6vw, 30px); font-weight: 800; margin-bottom: 12px; }
.show-copy p { color: var(--text-dim); font-size: 16px; max-width: 440px; margin: 0; }

.viz {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(20px, 3vw, 34px);
  display: flex;
  justify-content: center;
  overflow: hidden;
}

/* --- Vignette 1: the endless feed, ended --- */
.phone {
  width: 200px; height: 320px;
  border-radius: 28px;
  border: 6px solid #2a2d55;
  background: #f3f4fc;
  position: relative;
  overflow: hidden;
}
.ph-feed { position: absolute; inset: 0; animation: ph-scroll 9s linear infinite; }
@keyframes ph-scroll {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
.ph-feed { height: 200%; display: flex; flex-direction: column; }
.ph-card { flex: 1; margin: 5px 8px; border-radius: 14px; position: relative; }
.ph-card.c1, .ph-card.c4 { background: linear-gradient(160deg, #fda4af, #f472b6); }
.ph-card.c2, .ph-card.c5 { background: linear-gradient(160deg, #93c5fd, #818cf8); }
.ph-card.c3, .ph-card.c6 { background: linear-gradient(160deg, #fcd34d, #fb923c); }
.ph-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 0; height: 0;
  border-left: 14px solid rgba(255, 255, 255, 0.85);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}
.ph-block {
  position: absolute; inset: 0;
  background: var(--frost);
  backdrop-filter: blur(7px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 18px;
  opacity: 0;
}
.show.visible .ph-block { animation: rise-in 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.1) 0.7s both; }
@keyframes rise-in {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: none; }
}
.ph-block .orb { width: 44px; height: 44px; margin-bottom: 4px; }
.ph-block strong { font-size: 14.5px; font-weight: 800; }
.ph-block span { font-size: 11.5px; color: var(--text-faint); font-weight: 600; }

/* --- Vignette 2: the one your friend sent --- */
.chat { width: min(330px, 100%); display: flex; flex-direction: column; gap: 9px; }
.msg {
  align-self: flex-start;
  background: var(--bg-inset);
  border-radius: 16px 16px 16px 5px;
  padding: 9px 15px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dim);
  opacity: 0;
}
.msg.link { color: var(--accent-deep); }
.show.visible .m1 { animation: pop-in 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.3) 0.15s both; }
.show.visible .m2 { animation: pop-in 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.3) 0.55s both; }
.show.visible .m3 { animation: pop-in 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.3) 0.95s both; }
.show.visible .m4 { animation: pop-in 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.2) 1.45s both; }
@keyframes pop-in {
  from { opacity: 0; transform: scale(0.75) translateY(10px); }
  to   { opacity: 1; transform: none; }
}
.reelcard {
  display: flex;
  gap: 13px;
  align-items: center;
  background: var(--bg-card);
  border: 1.5px solid rgba(14, 165, 160, 0.45);
  border-radius: 16px;
  box-shadow: 0 8px 26px rgba(14, 165, 160, 0.14);
  padding: 12px 14px;
  opacity: 0;
  transform-origin: left center;
}
.reel-thumb {
  width: 54px; height: 76px;
  flex: none;
  border-radius: 10px;
  background: linear-gradient(160deg, #a78bfa, #2dd4bf);
  position: relative;
}
.reel-meta { display: flex; flex-direction: column; gap: 5px; }
.reel-meta strong { font-size: 13.5px; font-weight: 800; }
.reel-meta em { font-style: normal; font-size: 11.5px; color: var(--text-faint); font-weight: 600; }
.reel-timer {
  height: 5px;
  border-radius: 99px;
  background: var(--bg-inset);
  overflow: hidden;
}
.reel-timer i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--grad);
  width: 100%;
}
.show.visible .reel-timer i { animation: drain 7s linear 1.9s both; }
@keyframes drain { from { width: 100%; } to { width: 6%; } }

/* --- Vignette 3: Instagram, messages only --- */
.ig { display: flex; gap: 14px; width: min(380px, 100%); }
.ig-dms {
  flex: 1.1;
  background: var(--bg-card);
  border: 1.5px solid rgba(14, 165, 160, 0.4);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 8px 26px rgba(14, 165, 160, 0.12);
}
.ig-row { display: flex; align-items: center; gap: 9px; opacity: 0; }
.show.visible .ig-row:nth-child(1) { animation: pop-in 0.4s ease 0.2s both; }
.show.visible .ig-row:nth-child(2) { animation: pop-in 0.4s ease 0.45s both; }
.show.visible .ig-row:nth-child(3) { animation: pop-in 0.4s ease 0.7s both; }
.ig-av { width: 30px; height: 30px; border-radius: 50%; flex: none; }
.ig-av.a1 { background: linear-gradient(135deg, #fbbf24, #f87171); }
.ig-av.a2 { background: linear-gradient(135deg, #818cf8, #ec4899); }
.ig-av.a3 { background: linear-gradient(135deg, #34d399, #60a5fa); }
.ig-lines { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.ig-lines i { display: block; height: 7px; border-radius: 99px; background: var(--bg-inset); }
.ig-lines i:first-child { width: 70%; background: #dcdff2; }
:root[data-theme="dark"] .ig-lines i:first-child { background: #2c3458; }
.ig-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex: none; }
.ig-tag {
  align-self: center;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-top: 2px;
}
.ig-tag.ok { color: var(--teal); background: rgba(14, 165, 160, 0.1); }
.ig-feed { flex: 1; position: relative; border-radius: 16px; overflow: hidden; }
.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  height: 100%;
}
.ig-grid i { border-radius: 5px; min-height: 38px; }
.ig-grid i:nth-child(3n+1) { background: linear-gradient(135deg, #c7d2fe, #a5b4fc); }
.ig-grid i:nth-child(3n+2) { background: linear-gradient(135deg, #99f6e4, #5eead4); }
.ig-grid i:nth-child(3n)   { background: linear-gradient(135deg, #fde68a, #fca5a5); }
.show.visible .ig-grid { animation: grey-out 0.8s ease 0.9s both; }
@keyframes grey-out {
  to { filter: grayscale(1) opacity(0.35); }
}
.ig-lock {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-dim);
  opacity: 0;
}
.show.visible .ig-lock { animation: pop-in 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.3) 1.3s both; }
.ig-lock svg { width: 26px; height: 26px; stroke: var(--text-dim); }

/* --- Vignette 4: YouTube on your terms --- */
.yt { width: min(360px, 100%); }
.yt-search {
  display: flex;
  align-items: center;
  background: var(--bg-inset);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}
.yt-type {
  overflow: hidden;
  white-space: nowrap;
  width: 0;
}
.show.visible .yt-type { animation: type-in 1s steps(6) 0.3s both; }
@keyframes type-in { from { width: 0; } to { width: 6ch; } }
.yt-caret {
  width: 2px; height: 17px;
  background: var(--accent);
  margin-left: 2px;
  animation: caret 1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.yt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.yt-tile { font-size: 11.5px; font-weight: 700; color: var(--text-dim); line-height: 1.35; }
.yt-thumb { height: 58px; border-radius: 10px; margin-bottom: 6px; position: relative; }
.yt-thumb::after {
  content: "";
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 0; height: 0;
  border-left: 11px solid rgba(255, 255, 255, 0.9);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}
.yt-tile.keep .yt-thumb { box-shadow: 0 0 0 2px rgba(14, 165, 160, 0.55); }
.yt-thumb.t1 { background: linear-gradient(135deg, #818cf8, #6366f1); }
.yt-thumb.t2 { background: linear-gradient(135deg, #f87171, #fb923c); }
.yt-thumb.t3 { background: linear-gradient(135deg, #2dd4bf, #34d399); }
.yt-thumb.t4 { background: linear-gradient(135deg, #f472b6, #fb7185); }
.yt-thumb.t5 { background: linear-gradient(135deg, #60a5fa, #818cf8); }
.yt-thumb.t6 { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.show.visible .yt-tile.cut { animation: tile-cut 0.6s ease 1.5s both; }
@keyframes tile-cut {
  to { opacity: 0.16; filter: grayscale(1); transform: scale(0.94); }
}

/* ====================== Compact extras grid ====================== */

.more-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin-top: clamp(48px, 8vh, 80px);
}
.more {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 19px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.more:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.more-ico {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
}
.more-ico svg { width: 19px; height: 19px; stroke: var(--accent-deep); }
.more h3 { font-size: 14.5px; font-weight: 800; margin-bottom: 2px; }
.more p { font-size: 13px; color: var(--text-dim); margin: 0; }

/* ====================== Demo ====================== */

.demo-box {
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 30px;
  text-align: center;
}
.demo-phrase {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-deep);
  background: var(--bg-soft);
  border: 1.5px dashed rgba(99, 102, 241, 0.4);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 0 0 14px;
  user-select: none;
  -webkit-user-select: none;
}
.demo-box input {
  width: 100%;
  font: 600 15px var(--font);
  background: var(--bg-inset);
  color: var(--text);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  outline: none;
  text-align: center;
  transition: border-color 0.2s;
}
.demo-box input:focus { border-color: var(--accent); background: var(--bg-card); }
.demo-box input::placeholder { color: var(--text-faint); }
.demo-result { font-size: 14.5px; color: var(--teal); margin: 14px 0 0; font-weight: 700; }

/* ====================== Steps ====================== */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 44px;
}
.step {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 32px 26px;
  text-align: center;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 14px;
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.3);
}
.step h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-dim); margin: 0; }

/* ====================== Who it's for ====================== */

.who-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 44px;
}
.who-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 26px 24px 24px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.who-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.who-card h3 { font-size: 16.5px; font-weight: 800; margin: 14px 0 7px; }
.who-card p { font-size: 13.5px; color: var(--text-dim); margin: 0; }

.avatar { width: 96px; height: 96px; }
.av-eye { transform-box: fill-box; transform-origin: center; animation: blink 5.2s ease-in-out infinite; }
.who-card:nth-child(2) .av-eye { animation-delay: 1.1s; }
.who-card:nth-child(3) .av-eye { animation-delay: 2.3s; }
.who-card:nth-child(4) .av-eye { animation-delay: 3.4s; }

/* Each character is alive on its own: tassel swings, worker nods along,
   the quitter waves their phone goodbye, the flag flutters. */
.av-tassel {
  transform-box: fill-box;
  transform-origin: top center;
  animation: tassel-swing 3.2s ease-in-out infinite;
}
@keyframes tassel-swing {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(12deg); }
}
.av-head {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: head-nod 2.4s ease-in-out infinite;
}
@keyframes head-nod {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(2px); }
}
.av-arm {
  transform-box: fill-box;
  transform-origin: 15% 85%;
  animation: wave 3.6s ease-in-out infinite;
}
@keyframes wave {
  0%, 40%, 90%, 100% { transform: rotate(0deg); }
  55% { transform: rotate(-22deg); }
  65% { transform: rotate(6deg); }
  75% { transform: rotate(-14deg); }
}
.av-phone {
  animation: phone-away 3.6s ease-in-out infinite;
}
@keyframes phone-away {
  0%, 35% { opacity: 0; transform: translate(-5px, 5px); }
  55% { opacity: 1; transform: translate(0, 0); }
  100% { opacity: 0; transform: translate(9px, -12px); }
}
.av-flag {
  transform-box: fill-box;
  transform-origin: right center;
  animation: flag-flutter 2.4s ease-in-out infinite;
}
@keyframes flag-flutter {
  0%, 100% { transform: skewY(0deg); }
  50% { transform: skewY(-7deg); }
}

/* ====================== FAQ ====================== */

.faq-list { max-width: 720px; margin: 40px auto 0; }
details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  padding: 0 22px;
  margin-bottom: 10px;
  transition: border-color 0.25s;
}
details[open] { border-color: rgba(99, 102, 241, 0.35); }
summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15.5px;
  padding: 18px 28px 18px 0;
  list-style: none;
  position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 50%;
  translate: 0 -50%;
  color: var(--accent);
  font-size: 20px;
  font-weight: 600;
  transition: transform 0.3s cubic-bezier(0.3, 0.8, 0.3, 1.2);
}
details[open] summary::after { transform: rotate(45deg); }
.faq-body { overflow: hidden; }
.faq-body p { color: var(--text-dim); font-size: 14.5px; margin: 0; padding-bottom: 18px; }

/* ====================== Final CTA ====================== */

.cta-final { text-align: center; }
.cta-icon { border-radius: 18px; margin-bottom: 18px; box-shadow: 0 12px 36px rgba(99, 102, 241, 0.3); }

/* ====================== Footer ====================== */

.footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line);
  background: var(--bg-card);
  padding: 40px clamp(20px, 5vw, 56px) 50px;
}
.footer-inner { max-width: 1180px; margin: 0 auto; }
.footer p { color: var(--text-dim); font-size: 14px; margin: 12px 0 0; }
.footer .fine { color: var(--text-faint); font-size: 12.5px; }

/* ====================== Motion preferences ====================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .aurora, .orb, .eye, .nori-orb, .float-chip, .ph-feed, .av-eye,
  .av-tassel, .av-head, .av-arm, .av-flag { animation: none !important; }
  .av-phone { animation: none !important; opacity: 1; }
  .show.visible .ph-block,
  .show.visible .msg, .show.visible .reelcard,
  .show.visible .ig-row, .show.visible .ig-lock,
  .show.visible .yt-type { animation: none !important; opacity: 1; width: auto; }
  .nori { display: none; }
}
