/* ==========================================================
   Mad Rabbit — shared styles
   Light, warm base with bright gradient "stages" borrowed
   from the FYA App Store screenshots.
   ========================================================== */

:root {
  color-scheme: light;

  --bg: #fffaf4;
  --bg-2: #fff3e8;
  --surface: #ffffff;
  --ink: #1c1712;
  --ink-2: #4a4038;
  --muted: #7a6e64;
  --line: rgba(28, 23, 18, 0.09);
  --line-2: rgba(28, 23, 18, 0.14);

  --orange: #f2672a;
  --orange-ink: #c2461a;   /* accessible on cream for small text */
  --coral: #ff5e6c;
  --amber: #ffb54d;
  --blue: #2c63e6;
  --blue-ink: #1f4bb8;
  --sky: #79d0ff;
  --navy: #16246e;

  --sunrise: linear-gradient(165deg, #ffb54d 0%, #ff8a47 45%, #ff5e6c 100%);
  --sunrise-deep: linear-gradient(135deg, #f2672a 0%, #e8455f 100%);
  --dusk: linear-gradient(170deg, #3a1d73 0%, #7a3a8c 52%, #e06a78 100%);
  --ocean: linear-gradient(165deg, #79d0ff 0%, #3b7cf5 48%, #1d2f8f 100%);
  --ocean-deep: linear-gradient(135deg, #2c63e6 0%, #1a2a7a 100%);
  --mint: linear-gradient(165deg, #b8f0d8 0%, #5ccfa8 50%, #1f8f7a 100%);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --shadow-sm: 0 1px 2px rgba(28, 23, 18, 0.06), 0 2px 8px rgba(28, 23, 18, 0.05);
  --shadow: 0 2px 6px rgba(28, 23, 18, 0.06), 0 12px 32px rgba(28, 23, 18, 0.08);
  --shadow-lg: 0 10px 30px rgba(40, 10, 0, 0.18), 0 40px 80px rgba(40, 10, 0, 0.18);

  --font-display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: 24px;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

::selection { background: rgba(255, 138, 71, 0.3); }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.narrow { max-width: 760px; }

/* ---------- Typography ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 7.4vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-variation-settings: 'opsz' 96;
}

.display, .h1, .h2, .quote { text-wrap: balance; }
.lede { text-wrap: pretty; }

.h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 750;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.lede {
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 600px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-ink);
  margin-bottom: 18px;
}

.eyebrow.blue { color: var(--blue-ink); }

.grad-text {
  background: var(--sunrise-deep);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.grad-text.blue {
  background: linear-gradient(135deg, #3b7cf5 0%, #1d2f8f 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.muted { color: var(--muted); }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 244, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.nav.scrolled { border-bottom-color: var(--line); }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand svg, .brand img { width: 34px; height: 34px; flex-shrink: 0; }
.brand span { color: var(--orange); }

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover { background: rgba(28, 23, 18, 0.06); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); }

.nav-links .btn { display: inline-flex; margin-left: 6px; padding: 0 16px; color: #fff; }
.nav-links .btn:hover { color: #fff; }
.nav-links .btn-ink:hover { background: var(--ink); }
.nav-links .btn-ocean:hover { background: var(--ocean-deep); }

@media (max-width: 640px) {
  .nav-links .hide-sm { display: none; }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s cubic-bezier(.2,.8,.2,1), box-shadow 0.2s, background 0.2s;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-sm { min-height: 36px; padding: 0 16px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }

.btn-ink { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn-ink:hover { box-shadow: var(--shadow); }

.btn-sunrise { background: var(--sunrise-deep); color: #fff; box-shadow: 0 8px 24px rgba(242, 103, 42, 0.35); }
.btn-sunrise:hover { box-shadow: 0 12px 32px rgba(242, 103, 42, 0.45); }

.btn-ocean { background: var(--ocean-deep); color: #fff; box-shadow: 0 8px 24px rgba(44, 99, 230, 0.35); }
.btn-ocean:hover { box-shadow: 0 12px 32px rgba(44, 99, 230, 0.45); }

.btn-white { background: #fff; color: var(--ink); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); }

.btn-ghost {
  background: rgba(28, 23, 18, 0.05);
  color: var(--ink);
}
.btn-ghost:hover { background: rgba(28, 23, 18, 0.09); }

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* App Store badge */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 22px 0 18px;
  border-radius: 14px;
  background: #000;
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.2s cubic-bezier(.2,.8,.2,1), box-shadow 0.2s;
}
.store-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.store-badge svg { width: 26px; height: 26px; }
.store-badge .sb-text { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge .sb-small { font-size: 11px; font-weight: 500; letter-spacing: 0.02em; }
.store-badge .sb-big { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}

.cta-note { font-size: 14px; color: var(--muted); }

/* ---------- Pills & chips ---------- */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: #fff;
  color: var(--ink-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(242, 103, 42, 0.5);
  animation: ping 2.2s ease-out infinite;
}
.pill.blue .dot { background: var(--blue); box-shadow: 0 0 0 0 rgba(44, 99, 230, 0.5); animation-name: ping-blue; }

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(242, 103, 42, 0.5); }
  80%, 100% { box-shadow: 0 0 0 8px rgba(242, 103, 42, 0); }
}
@keyframes ping-blue {
  0% { box-shadow: 0 0 0 0 rgba(44, 99, 230, 0.5); }
  80%, 100% { box-shadow: 0 0 0 8px rgba(44, 99, 230, 0); }
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(28, 23, 18, 0.05);
  color: var(--ink-2);
}

.chip.on-dark { background: rgba(255, 255, 255, 0.2); color: #fff; backdrop-filter: blur(8px); }

/* ---------- App icon ---------- */

.app-icon {
  border-radius: 22.5%;
  box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 8px 24px rgba(0, 0, 0, 0.14);
}

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

section { position: relative; }

.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-tight { padding: clamp(48px, 7vw, 88px) 0; }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }
.section-head .lede { margin-top: 18px; }

.bg-warm { background: var(--bg-2); }
.bg-white { background: var(--surface); }

/* ---------- Gradient stage (App Store-style panel) ---------- */

.stage {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  isolation: isolate;
  background: var(--sunrise);
}

a.stage { display: block; }
.stage.dusk { background: var(--dusk); }
.stage.ocean { background: var(--ocean); }
.stage.mint { background: var(--mint); }

.stage::before {
  /* soft light bloom */
  content: '';
  position: absolute;
  inset: -20% -10% auto auto;
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

.window {
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}

/* Hero stage: window bleeds off the bottom edge like the App Store shots */
.hero-stage {
  padding: clamp(28px, 6vw, 72px) clamp(16px, 6vw, 80px) 0;
}
.hero-stage .window {
  width: 100%;
  border-radius: 14px 14px 0 0;
}

/* ---------- Split feature rows ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.split.reverse { grid-template-columns: 1.25fr 1fr; }
.split.reverse > :first-child { order: 2; }

.split-copy .h2 { margin-bottom: 18px; }
.split-copy .lede { margin-bottom: 22px; }

.split-stage {
  padding: clamp(24px, 4.5vw, 52px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
}

.split-stage.bleed-right { padding-right: 0; justify-content: flex-end; }
.split-stage.bleed-right .window { border-radius: 14px 0 0 14px; }

@media (max-width: 900px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
}

/* Check list */
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li {
  position: relative;
  padding-left: 32px;
  color: var(--ink-2);
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 0; top: 3px;
  width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23f2672a'/%3E%3Cstop offset='1' stop-color='%23e8455f'/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx='10' cy='10' r='10' fill='url(%23g)'/%3E%3Cpath d='M6 10.5l2.6 2.6L14.2 7.4' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ticks.blue li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%232c63e6'/%3E%3Cstop offset='1' stop-color='%231a2a7a'/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx='10' cy='10' r='10' fill='url(%23g)'/%3E%3Cpath d='M6 10.5l2.6 2.6L14.2 7.4' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.ticks strong { color: var(--ink); font-weight: 600; }

/* ---------- Cards ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1), box-shadow 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card .h3 { margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 16px; }

.card-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: var(--sunrise-deep);
  color: #fff;
  box-shadow: 0 6px 16px rgba(242, 103, 42, 0.3);
}
.card-icon svg { width: 24px; height: 24px; }
.card-icon.dusk { background: var(--dusk); box-shadow: 0 6px 16px rgba(90, 40, 130, 0.3); }
.card-icon.ocean { background: var(--ocean-deep); box-shadow: 0 6px 16px rgba(44, 99, 230, 0.3); }
.card-icon.mint { background: linear-gradient(135deg, #3cc19a, #1f8f7a); box-shadow: 0 6px 16px rgba(31, 143, 122, 0.3); }

/* ---------- Keyboard keys ---------- */

kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 7px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-2);
  box-shadow: 0 2px 0 var(--line-2);
}

.shortcuts { display: grid; gap: 12px; margin-top: 8px; }
.shortcut { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: 16px; }
.shortcut .keys { display: inline-flex; gap: 4px; min-width: 112px; }

/* ---------- Quote ---------- */

.quote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.22;
  letter-spacing: -0.02em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.quote-by {
  margin-top: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- CTA band ---------- */

.cta-band {
  border-radius: var(--radius-xl);
  padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 72px);
  text-align: center;
  color: #fff;
  background: var(--sunrise-deep);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-band.ocean { background: var(--ocean-deep); }
.cta-band::before, .cta-band::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  z-index: -1;
  filter: blur(10px);
}
.cta-band::before {
  width: 420px; height: 420px; top: -180px; left: -120px;
  background: radial-gradient(circle, rgba(255, 210, 120, 0.55), transparent 65%);
}
.cta-band::after {
  width: 480px; height: 480px; bottom: -240px; right: -140px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28), transparent 65%);
}
.cta-band.ocean::before { background: radial-gradient(circle, rgba(121, 208, 255, 0.55), transparent 65%); }
.cta-band .h1 { margin-bottom: 16px; }
.cta-band p { font-size: 19px; opacity: 0.92; max-width: 560px; margin: 0 auto 32px; }
.cta-band .cta-row { justify-content: center; }
.cta-band .app-icon { width: 88px; height: 88px; margin: 0 auto 28px; box-shadow: 0 12px 32px rgba(0,0,0,.25); }

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

.footer {
  padding: 56px 0 48px;
  border-top: 1px solid var(--line);
  margin-top: clamp(72px, 10vw, 120px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
}

.footer h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a { color: var(--ink-2); text-decoration: none; font-size: 15px; transition: color 0.2s; }
.footer a:hover { color: var(--orange-ink); }
.footer .tagline { color: var(--muted); font-size: 15px; margin-top: 12px; max-width: 280px; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

/* ---------- Ambient blobs ---------- */

.blobs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
  -webkit-mask-image: linear-gradient(#000 55%, transparent);
          mask-image: linear-gradient(#000 55%, transparent);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: drift 18s ease-in-out infinite alternate;
}
.blob.b1 { width: 520px; height: 520px; background: #ffc46b; top: -160px; right: -80px; }
.blob.b2 { width: 440px; height: 440px; background: #ff8a8f; top: 120px; right: 260px; animation-delay: -6s; opacity: 0.4; }
.blob.b3 { width: 420px; height: 420px; background: #9fd8ff; top: 60px; left: -160px; animation-delay: -12s; opacity: 0.45; }

@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-40px, 30px) scale(1.08); }
}

/* ---------- Doc pages (support / privacy) ---------- */

.doc-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(32px, 4vw, 48px); position: relative; isolation: isolate; }
.doc-hero .app-line { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.doc-hero .app-line img { width: 56px; height: 56px; }
.doc-hero .app-line a { font-weight: 600; text-decoration: none; color: var(--ink); }
.doc-hero .app-line a:hover { color: var(--orange-ink); }
.doc-hero .app-line .muted { font-size: 14px; }

.prose { color: var(--ink-2); }
.prose h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 48px 0 12px;
}
.prose p { margin-bottom: 14px; }
.prose ul { margin: 12px 0 16px; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before {
  content: '';
  position: absolute; left: 4px; top: 11px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--sunrise-deep);
}
.prose a { color: var(--orange-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .btn { text-decoration: none; color: var(--ink); }
.prose .contact-card .h3 { margin: 0 0 4px; color: #fff; font-size: 22px; }

.callout {
  border-radius: var(--radius);
  padding: 22px 26px;
  background: linear-gradient(135deg, rgba(255, 181, 77, 0.18), rgba(255, 94, 108, 0.12));
  border: 1px solid rgba(242, 103, 42, 0.18);
  color: var(--ink);
  font-size: 18px;
}

.faq { display: grid; gap: 12px; margin-top: 8px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  position: absolute;
  right: 22px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 24px 22px; color: var(--ink-2); margin: 0; }

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  background: var(--sunrise-deep);
  color: #fff;
  box-shadow: 0 16px 40px rgba(242, 103, 42, 0.3);
}
.contact-card .h3 { color: #fff; margin-bottom: 4px; }
.contact-card p { opacity: 0.92; margin: 0; }

/* ---------- Reveal on scroll ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(.2,.8,.2,1), transform 0.8s cubic-bezier(.2,.8,.2,1);
  transition-delay: var(--d, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Small screens ---------- */

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .stage, .cta-band { border-radius: var(--radius-lg); }
  .card { padding: 24px; }
}

/* ---------- Phone mockup (StreamScribe) ---------- */

.phone {
  position: relative;
  width: min(300px, 78vw);
  aspect-ratio: 300 / 620;
  border-radius: 48px;
  padding: 10px;
  background: #0f1220;
  box-shadow: 0 0 0 2px #2a2f44 inset, 0 30px 80px rgba(10, 20, 70, 0.45), 0 10px 24px rgba(10, 20, 70, 0.3);
}
.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: #f6f7fb;
  font-size: 11px;
  color: #12162a;
  display: flex;
  flex-direction: column;
}
.phone-island {
  position: absolute;
  top: 10px; left: 50%;
  width: 34%; height: 24px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #0f1220;
  z-index: 2;
}
.phone-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 24px 0;
  font-weight: 600; font-size: 12px;
}
.phone-status .bars { display: inline-flex; gap: 4px; align-items: center; }
.phone-status .bars i { display: block; width: 16px; height: 9px; border-radius: 3px; border: 1.5px solid #12162a; }
.phone-nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 18px 8px; }
.phone-nav .back { color: var(--blue); font-weight: 600; font-size: 13px; }
.phone-nav .share { width: 26px; height: 26px; border-radius: 50%; background: rgba(44, 99, 230, 0.1); display: grid; place-items: center; color: var(--blue); }
.phone-nav .share svg { width: 13px; height: 13px; }
.phone-body { padding: 4px 18px 18px; overflow: hidden; flex: 1; }
.phone-style {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(44, 99, 230, 0.1); color: var(--blue-ink);
  font-weight: 600; font-size: 10px; margin-bottom: 8px;
}
.phone-title { font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 4px; }
.phone-meta { color: #6a7090; font-size: 10.5px; margin-bottom: 14px; }
.phone-card {
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 10px;
  box-shadow: 0 1px 2px rgba(18, 22, 42, 0.06), 0 4px 12px rgba(18, 22, 42, 0.05);
}
.phone-card h5 { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-ink); margin-bottom: 6px; }
.phone-card ul { list-style: none; display: grid; gap: 5px; }
.phone-card li { position: relative; padding-left: 12px; line-height: 1.4; color: #2a3050; }
.phone-card li::before { content: ''; position: absolute; left: 1px; top: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.phone-people { display: flex; flex-wrap: wrap; gap: 6px; }
.phone-people span { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px 3px 3px; border-radius: 999px; background: #eef2ff; font-weight: 500; }
.phone-people b { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 8px; background: var(--ocean-deep); }
.phone-people span:nth-child(2) b { background: linear-gradient(135deg, #f2672a, #e8455f); }
.phone-people span:nth-child(3) b { background: linear-gradient(135deg, #3cc19a, #1f8f7a); }
.phone-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; background: linear-gradient(transparent, #f6f7fb); }

.float-chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(10, 20, 70, 0.25);
  font-size: 13px; font-weight: 600; color: var(--ink);
  white-space: nowrap;
  animation: bob 6s ease-in-out infinite;
}
.float-chip .ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: #fff; background: var(--ocean-deep); }
.float-chip .ic.green { background: linear-gradient(135deg, #3cc19a, #1f8f7a); }
.float-chip .ic svg { width: 15px; height: 15px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Mini waveform */
.wave { display: flex; align-items: center; gap: 3px; height: 28px; }
.wave i { display: block; width: 3px; border-radius: 2px; background: currentColor; animation: wave 1.4s ease-in-out infinite; }
@keyframes wave { 0%, 100% { transform: scaleY(0.5); } 50% { transform: scaleY(1); } }

/* Steps */
.steps { counter-reset: step; }
.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  background: var(--ocean-deep);
  margin-bottom: 18px;
  box-shadow: 0 6px 16px rgba(44, 99, 230, 0.3);
}

/* Prompt style chips */
.style-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.style-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-weight: 600; font-size: 15px;
}
.style-chip .sw { width: 10px; height: 10px; border-radius: 3px; background: var(--ocean-deep); }
.style-chip.custom { border-style: dashed; border-color: rgba(44, 99, 230, 0.4); color: var(--blue-ink); background: rgba(44, 99, 230, 0.04); box-shadow: none; }
