/* ============================================================
   RECORDIA — Landing styles
   Type: Schibsted Grotesk (display) + Hanken Grotesk (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:wght@400;500;600;700;800;900&family=Hanken+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
  --banner-h: 44px;

  /* Neutrals — cool graphite ink on warm-cool near-white */
  --bg:        oklch(0.991 0.003 255);
  --bg-2:      oklch(0.975 0.004 255);
  --surface:   oklch(1 0 0);
  --ink:       oklch(0.235 0.018 262);
  --ink-soft:  oklch(0.40 0.018 262);
  --muted:     oklch(0.556 0.016 262);
  --faint:     oklch(0.70 0.012 262);
  --line:      oklch(0.918 0.005 262);
  --line-2:    oklch(0.952 0.004 262);

  /* Brand — graphite primary + indigo accent */
  --graphite:  oklch(0.265 0.022 262);
  --ice:       #534AB7;
  --ice-deep:  #463C9E;
  --ice-soft:  #EEEDFE;
  --ice-glow:  rgba(83, 74, 183, 0.32);
  --ice-bright:#7B73D6;
  --wa-green:  #1FAE54;
  --wa-green2: #128C3E;

  /* Dark sections */
  --d-bg:      oklch(0.185 0.014 262);
  --d-bg-2:    oklch(0.155 0.013 262);
  --d-surface: oklch(0.225 0.015 262);
  --d-line:    oklch(0.32 0.014 262);
  --d-ink:     oklch(0.97 0.004 262);
  --d-muted:   oklch(0.70 0.012 262);

  /* Radii / shadow */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --shadow-sm: 0 1px 2px oklch(0.25 0.02 262 / 0.04), 0 2px 6px oklch(0.25 0.02 262 / 0.05);
  --shadow-md: 0 4px 12px oklch(0.25 0.02 262 / 0.06), 0 14px 36px oklch(0.25 0.02 262 / 0.08);
  --shadow-lg: 0 12px 30px oklch(0.25 0.02 262 / 0.10), 0 40px 80px oklch(0.25 0.02 262 / 0.12);
  --shadow-phone: 0 30px 60px oklch(0.22 0.03 262 / 0.18), 0 80px 120px oklch(0.22 0.03 262 / 0.16);

  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Schibsted Grotesk', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: 80px 0; position: relative; }
.section--tight { padding: 72px 0; }
.section.dark { padding-bottom: 60px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 0 4px var(--ice-soft); }

.section-head { max-width: 680px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 50px); margin: 18px 0 0; }
.section-head p { font-size: 19px; color: var(--muted); margin-top: 18px; line-height: 1.55; }
.section-head--center { margin: 0 auto; text-align: center; }

.text-ice { color: var(--ice-deep); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font-family: 'Hanken Grotesk', sans-serif; font-weight: 600; font-size: 15.5px;
  letter-spacing: -0.01em; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn svg { width: 17px; height: 17px; }
.btn--primary {
  background: var(--ink); color: var(--surface);
  box-shadow: 0 1px 2px oklch(0.2 0.02 262 / 0.2), 0 8px 22px oklch(0.2 0.02 262 / 0.18), inset 0 1px 0 oklch(1 0 0 / 0.12);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 2px 4px oklch(0.2 0.02 262 / 0.22), 0 16px 34px oklch(0.2 0.02 262 / 0.26), inset 0 1px 0 oklch(1 0 0 / 0.14); }
.btn--ghost {
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { transform: translateY(-2px); border-color: oklch(0.86 0.006 262); box-shadow: var(--shadow-md); }
.btn--lg { height: 54px; padding: 0 28px; font-size: 16.5px; }
.btn--on-dark.btn--primary { background: var(--surface); color: var(--ink); }
.btn--on-dark.btn--ghost { background: oklch(1 0 0 / 0.04); color: var(--d-ink); border-color: oklch(1 0 0 / 0.16); box-shadow: none; }
.btn--on-dark.btn--ghost:hover { background: oklch(1 0 0 / 0.08); border-color: oklch(1 0 0 / 0.28); }

.play-ic { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ice-soft); }
.play-ic svg { width: 11px; height: 11px; color: var(--ice-deep); }

/* ============================================================
   LOGO
   ============================================================ */
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo__mark { width: 30px; height: 30px; color: var(--graphite); flex: none; }
.logo__orbit-dot { transform-box: fill-box; transform-origin: 16px 16px; animation: orbit 9s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
.logo__word { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 800; font-size: 21px; letter-spacing: -0.04em; color: var(--ink); }
.on-dark .logo__mark { color: var(--d-ink); }
.on-dark .logo__word { color: var(--d-ink); }
@media (prefers-reduced-motion: reduce) { .logo__orbit-dot { animation: none; } }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed; top: var(--banner-h); left: 0; right: 0; z-index: 100;
  padding: 14px 0;
  transition: background .3s, box-shadow .3s, border-color .3s, padding .3s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: oklch(0.991 0.003 255 / 0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--line);
  padding: 10px 0;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-soft);
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--ink); background: oklch(0.5 0.02 262 / 0.06); }
.header__cta { display: flex; align-items: center; gap: 10px; }
.header__login { font-size: 15px; font-weight: 500; color: var(--ink-soft); padding: 9px 12px; }
.header__login:hover { color: var(--ink); }
.menu-toggle { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: calc(120px + var(--banner-h)) 0 70px; position: relative; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__glow {
  position: absolute; top: -180px; left: 50%; transform: translateX(-50%);
  width: 1100px; height: 720px;
  background: radial-gradient(60% 60% at 50% 30%, var(--ice-glow), transparent 70%);
  opacity: 0.5; filter: blur(20px);
}
.hero__grid-fade {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, oklch(0.5 0.02 262 / 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(0.5 0.02 262 / 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 35%, #000 0%, transparent 75%);
          mask-image: radial-gradient(70% 60% at 50% 35%, #000 0%, transparent 75%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 8px 7px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); font-size: 13.5px; font-weight: 500; color: var(--ink-soft);
  margin-bottom: 26px;
}
.hero__badge b { color: var(--ink); font-weight: 600; }
.hero__badge .tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--ice-soft); color: var(--ice-deep); font-size: 12px; font-weight: 600; }
.hero__badge .tag::before { content:''; width: 6px; height: 6px; border-radius: 50%; background: var(--ice); }

.hero h1 { font-size: clamp(42px, 5.6vw, 72px); font-weight: 900; }
.hero h1 .grad {
  background: linear-gradient(100deg, var(--wa-green), var(--wa-green2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero__sub { font-size: 19.5px; color: var(--muted); margin-top: 24px; max-width: 540px; line-height: 1.58; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__assure { display: flex; align-items: center; gap: 18px; margin-top: 26px; color: var(--faint); font-size: 13.5px; flex-wrap: wrap; }
.hero__assure span { display: inline-flex; align-items: center; gap: 7px; }
.hero__assure svg { width: 15px; height: 15px; color: var(--ice-deep); }
.hero__social { margin-top: 16px; display: flex; align-items: center; gap: 8px; }
.hero__social .count { color: var(--ice); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.hero__social .count::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ice); }
.hero__social .lbl { color: #64748B; font-size: 14px; }

/* ============================================================
   PHONE MOCKUP
   ============================================================ */
.phone {
  width: 340px; max-width: 100%; margin: 0 auto;
  background: oklch(0.18 0.012 262); border-radius: 46px; padding: 11px;
  box-shadow: var(--shadow-phone), inset 0 0 0 1px oklch(1 0 0 / 0.06);
  position: relative;
}
.hero__phone .phone { box-shadow: 0 24px 48px rgba(83, 74, 183, 0.15), var(--shadow-phone), inset 0 0 0 1px oklch(1 0 0 / 0.06); }
.phone--float { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-12px); } }
.phone__screen {
  background: var(--bg-2); border-radius: 36px; overflow: hidden; position: relative;
  height: 600px; display: flex; flex-direction: column;
  color: var(--ink);
}
.phone__island { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 104px; height: 28px; background: oklch(0.16 0.012 262); border-radius: 999px; z-index: 6; }

.chat__top {
  display: flex; align-items: center; gap: 11px; padding: 50px 18px 14px;
  background: var(--surface); border-bottom: 1px solid var(--line-2); position: relative; z-index: 5;
}
.chat__avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(155deg, #534AB7, #463C9E); display: grid; place-items: center; color: #fff; flex: none; box-shadow: 0 4px 10px rgba(83, 74, 183, 0.35); }
.chat__avatar svg { width: 19px; height: 19px; }
.chat__who { display: flex; flex-direction: column; line-height: 1.2; }
.chat__who b { font-family: 'Schibsted Grotesk', sans-serif; font-size: 15.5px; font-weight: 600; letter-spacing: -0.02em; }
.chat__who span { font-size: 12px; color: var(--ice-deep); display: inline-flex; align-items: center; gap: 5px; }
.chat__who span::before { content:''; width: 6px; height: 6px; border-radius: 50%; background: oklch(0.72 0.16 150); }

.chat__body {
  flex: 1; padding: 18px 16px; display: flex; flex-direction: column; gap: 11px;
  overflow: hidden; background:
    radial-gradient(120% 80% at 50% 0%, oklch(0.96 0.012 252) 0%, var(--bg-2) 55%);
}
.bubble {
  max-width: 80%; padding: 11px 14px; font-size: 14.5px; line-height: 1.4;
  border-radius: 18px; position: relative; word-wrap: break-word;
}
.bubble--in { align-self: flex-start; background: var(--surface); border: 1px solid var(--line-2); border-bottom-left-radius: 6px; box-shadow: var(--shadow-sm); }
.bubble--out { align-self: flex-end; background: var(--graphite); color: #fff; border-bottom-right-radius: 6px; }
.bubble--out.has-audio { display: flex; align-items: center; gap: 11px; min-width: 170px; }
.bubble__time { font-size: 10.5px; color: var(--faint); margin-top: 5px; display: block; }
.bubble--out .bubble__time { color: oklch(1 0 0 / 0.55); text-align: right; }

.audiowave { display: flex; align-items: center; gap: 2.5px; flex: 1; }
.audiowave i { width: 2.5px; border-radius: 2px; background: oklch(1 0 0 / 0.55); }
.audio-play { width: 26px; height: 26px; border-radius: 50%; background: oklch(1 0 0 / 0.16); display: grid; place-items: center; flex: none; }
.audio-play svg { width: 10px; height: 10px; color: #fff; }
.audio-dur { font-size: 11px; color: oklch(1 0 0 / 0.6); }

.status-chip {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px 6px 9px; border-radius: 999px;
  background: var(--ice-soft); color: var(--ice-deep);
  font-size: 12.5px; font-weight: 600; border: 1px solid oklch(0.85 0.05 252);
}
.status-chip svg { width: 14px; height: 14px; }
.status-chip--ok { background: oklch(0.95 0.04 150); color: oklch(0.45 0.12 150); border-color: oklch(0.85 0.06 150); }

.typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 13px 15px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px; border-bottom-left-radius: 6px; box-shadow: var(--shadow-sm); }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); animation: blink 1.3s infinite ease-in-out; }
.typing i:nth-child(2){ animation-delay: .2s; } .typing i:nth-child(3){ animation-delay: .4s; }
@keyframes blink { 0%,60%,100%{ opacity:.3; transform: translateY(0);} 30%{ opacity:1; transform: translateY(-3px);} }

.chat__input {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px 16px; background: var(--surface); border-top: 1px solid var(--line-2);
}
.chat__field { flex: 1; height: 38px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); display: flex; align-items: center; padding: 0 14px; color: var(--faint); font-size: 13.5px; }
.chat__send { width: 38px; height: 38px; border-radius: 50%; background: var(--graphite); display: grid; place-items: center; flex: none; }
.chat__send svg { width: 16px; height: 16px; color: #fff; }

/* reveal animation for bubbles in scripted demo */
.reveal-msg { opacity: 0; transform: translateY(8px) scale(0.98); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.reveal-msg.show { opacity: 1; transform: none; }

/* ============================================================
   DEMO (dark)
   ============================================================ */
.dark { background: var(--d-bg); color: var(--d-ink); position: relative; overflow: hidden; }
.dark h1, .dark h2, .dark h3, .dark h4 { color: var(--d-ink); }
.dark .eyebrow { color: var(--d-muted); }
.dark .section-head p { color: var(--d-muted); }
.dark .demo__point .ic, .dark .sec__card .ic, .dark .sec__badge svg { color: var(--ice-bright); }
.dark .eyebrow .dot { background: var(--ice-bright); box-shadow: 0 0 0 4px rgba(123, 115, 214, 0.18); }
.dark__glow { position: absolute; pointer-events: none; width: 900px; height: 700px; background: radial-gradient(50% 50% at 50% 50%, rgba(83, 74, 183, 0.30), transparent 70%); filter: blur(10px); }

.demo__inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.demo__points { display: flex; flex-direction: column; gap: 22px; margin-top: 38px; }
.demo__point { display: flex; gap: 14px; }
.demo__point .ic { width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--d-surface); border: 1px solid var(--d-line); color: var(--ice); }
.demo__point .ic svg { width: 19px; height: 19px; }
.demo__point h4 { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.demo__point p { font-size: 15px; color: var(--d-muted); margin-top: 4px; line-height: 1.5; }

/* phone variant on dark */
.demo__stage { display: flex; justify-content: center; position: relative; }
.demo__stage .phone { background: oklch(0.13 0.012 262); box-shadow: 0 40px 80px oklch(0 0 0 / 0.5), inset 0 0 0 1px oklch(1 0 0 / 0.08); }

.replay {
  position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  background: oklch(1 0 0 / 0.06); border: 1px solid oklch(1 0 0 / 0.14); color: var(--d-ink);
  font-size: 13px; font-weight: 500; backdrop-filter: blur(8px); transition: background .2s, transform .2s;
}
.replay:hover { background: oklch(1 0 0 / 0.12); transform: translateX(-50%) translateY(-2px); }
.replay svg { width: 14px; height: 14px; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; counter-reset: step; }
.step { position: relative; padding: 30px 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step__n { counter-increment: step; font-family: 'Schibsted Grotesk', sans-serif; font-size: 14px; font-weight: 700; color: var(--ice-deep); display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.step__n::before { content: '0' counter(step); }
.step__n .line { flex: 1; height: 1px; background: linear-gradient(to right, var(--line), transparent); }
.step__ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--bg-2); border: 1px solid var(--line); color: var(--graphite); margin-bottom: 16px; }
.step__ic svg { width: 22px; height: 22px; }
.step h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.025em; }
.step p { color: var(--muted); margin-top: 8px; font-size: 15.5px; line-height: 1.5; }

/* ============================================================
   USE CASES — bento
   ============================================================ */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 200px; gap: 18px; margin-top: 56px; }
.card {
  position: relative; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); padding: 26px; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: oklch(0.87 0.006 262); }
.card__ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--ice-soft); color: var(--ice-deep); margin-bottom: 16px; flex: none; }
.card__ic svg { width: 21px; height: 21px; }
.card h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.025em; }
.card p { color: var(--muted); margin-top: 7px; font-size: 14.5px; line-height: 1.5; }
.card .tag-row { margin-top: auto; display: flex; flex-wrap: wrap; gap: 7px; padding-top: 16px; }
.mini-tag { font-size: 12px; font-weight: 500; color: var(--ink-soft); background: var(--bg-2); border: 1px solid var(--line); padding: 5px 11px; border-radius: 999px; white-space: nowrap; }

.card--lg { grid-column: span 3; grid-row: span 2; }
.card--md { grid-column: span 3; }
.card--sm { grid-column: span 2; }
.card--tall { grid-row: span 2; }

/* feature card with mini chat preview */
.card--lg .mini-chat { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.mini-bubble { font-size: 13px; padding: 9px 12px; border-radius: 13px; max-width: 78%; line-height: 1.35; }
.mini-bubble--in { align-self: flex-start; background: var(--bg-2); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.mini-bubble--out { align-self: flex-end; background: var(--graphite); color: #fff; border-bottom-right-radius: 5px; }

/* ============================================================
   DIFERENCIADORES
   ============================================================ */
.diff { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 56px; margin-top: 48px; }
.diff__item { display: flex; gap: 14px; padding: 20px 0; border-top: 1px solid var(--line); }
.diff__check { width: 26px; height: 26px; border-radius: 8px; flex: none; display: grid; place-items: center; background: var(--ice-soft); color: var(--ice-deep); }
.diff__check svg { width: 15px; height: 15px; }
.diff__item h4 { font-size: 17.5px; font-weight: 600; letter-spacing: -0.02em; }
.diff__item p { color: var(--muted); font-size: 15px; margin-top: 4px; line-height: 1.5; }

.compare { margin-top: 38px; display: inline-flex; align-items: center; gap: 0; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); font-size: 14px; max-width: 100%; }
.compare span { padding: 11px 20px; font-weight: 500; white-space: nowrap; }
.compare .bad { color: var(--faint); }
.compare .vs { background: var(--bg-2); color: var(--muted); border-left: 1px solid var(--line); border-right: 1px solid var(--line); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; }
.compare .good { color: var(--ink); font-weight: 600; }

/* ---------- Comparison table (Por qué es diferente) ---------- */
.vs-table { margin-top: 48px; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--surface); }
.vs-table table { width: 100%; border-collapse: collapse; }
.vs-table th, .vs-table td { text-align: left; padding: 18px 24px; font-size: 16px; border-bottom: 1px solid var(--line-2); }
.vs-table thead th { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 700; letter-spacing: -0.02em; background: var(--bg-2); }
.vs-table thead th:first-child { font-family: 'Hanken Grotesk', sans-serif; font-weight: 600; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
.vs-table thead .col-bot { color: var(--muted); }
.vs-table thead .col-rec { color: var(--ice-deep); }
.vs-table thead .col-rec .brand-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--ice-soft); color: var(--ice-deep); }
.vs-table tbody tr:last-child td { border-bottom: none; }
.vs-table tbody .feat { font-weight: 600; color: var(--ink); }
.vs-table td.col-bot, .vs-table td.col-rec { width: 28%; }
.vs-table .mark { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; }
.vs-table .mark svg { width: 20px; height: 20px; flex: none; }
.vs-table .mark.no { color: #EF4444; }
.vs-table .mark.no .badge { background: rgba(239, 68, 68, 0.12); }
.vs-table .mark.yes { color: #16A34A; }
.vs-table .mark.yes .badge { background: rgba(34, 197, 94, 0.14); }
.vs-table .mark .badge { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.vs-table td.col-rec { background: rgba(83, 74, 183, 0.035); }
.vs-table thead th.col-rec { background: rgba(83, 74, 183, 0.07); }
@media (max-width: 720px) {
  .vs-table th, .vs-table td { padding: 13px 14px; font-size: 14px; }
  .vs-table .mark span:not(.badge) { display: none; }
}

/* ---------- Testimonials ---------- */
.testi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.testi-card { display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testi-card .stars { display: flex; gap: 3px; color: var(--ice); margin-bottom: 16px; }
.testi-card .stars svg { width: 16px; height: 16px; }
.testi-card .quote { font-size: 16.5px; line-height: 1.55; color: var(--ink-soft); flex: 1; }
.testi-card .who { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--ice-soft); color: var(--ice-deep); font-family: 'Schibsted Grotesk', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: -0.02em; }
.testi-card .who b { display: block; font-family: 'Schibsted Grotesk', sans-serif; font-size: 15.5px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.testi-card .who span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 1px; }
@media (max-width: 980px) { .testi { grid-template-columns: 1fr; } }

/* ============================================================
   SECURITY (dark)
   ============================================================ */
.sec__inner { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 64px; align-items: center; }
.sec__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sec__card { padding: 24px; border-radius: var(--r-md); background: var(--d-surface); border: 1px solid var(--d-line); transition: transform .3s var(--ease), border-color .3s; }
.sec__card:hover { transform: translateY(-4px); border-color: oklch(0.42 0.05 256); }
.sec__card .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: oklch(0.6 0.12 258 / 0.16); color: var(--ice); margin-bottom: 16px; }
.sec__card .ic svg { width: 21px; height: 21px; }
.sec__card h4 { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.sec__card p { color: var(--d-muted); font-size: 14.5px; margin-top: 6px; line-height: 1.5; }
.sec__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.sec__badge { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; background: oklch(1 0 0 / 0.05); border: 1px solid var(--d-line); font-size: 13.5px; color: var(--d-ink); font-weight: 500; }
.sec__badge svg { width: 15px; height: 15px; color: var(--ice); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing__toggle { display: inline-flex; align-items: center; gap: 4px; padding: 5px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); margin: 26px auto 0; }
.pricing__toggle button { padding: 9px 20px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--muted); transition: color .2s; position: relative; }
.pricing__toggle button.active { color: var(--ink); background: var(--surface); box-shadow: var(--shadow-sm); }
.pricing__toggle .save { font-size: 11px; font-weight: 700; color: var(--ice-deep); background: var(--ice-soft); padding: 2px 7px; border-radius: 999px; margin-left: 7px; }

.ref-note { display: inline-flex; align-items: center; gap: 8px; margin: 18px auto 0; padding: 7px 14px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.ref-note svg { width: 14px; height: 14px; color: var(--ice-deep); }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 28px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan--feat { border: 2px solid var(--ice); box-shadow: var(--shadow-md); position: relative; }
.plan__tag { position: absolute; top: -11px; left: 24px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: #fff; background: var(--graphite); padding: 4px 11px; border-radius: 999px; }
.plan__name { font-family: 'Schibsted Grotesk', sans-serif; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.plan__desc { color: var(--muted); font-size: 13.5px; margin-top: 4px; min-height: 38px; line-height: 1.4; }
.plan__price { display: flex; align-items: baseline; gap: 4px; margin: 14px 0 6px; }
.plan__price .cur { font-size: 20px; font-weight: 600; color: var(--ink); align-self: flex-start; margin-top: 6px; }
.plan__price .amt { font-family: 'Schibsted Grotesk', sans-serif; font-size: 42px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.plan__price .per { font-size: 14px; color: var(--muted); }
.plan__price .amt.free { font-size: 38px; }
.plan .btn { width: 100%; margin: 18px 0 22px; }
.plan__feats { display: flex; flex-direction: column; gap: 11px; margin-top: auto; }
.plan__feats li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-soft); list-style: none; line-height: 1.4; }
.plan__feats svg { width: 16px; height: 16px; color: var(--ice-deep); flex: none; margin-top: 2px; }

/* ============================================================
   FINAL CTA (dark)
   ============================================================ */
.final { padding: 130px 0; text-align: center; }
.final__inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }
.final h2 { font-size: clamp(40px, 6vw, 68px); font-weight: 800; }
.final p { font-size: 20px; color: var(--d-muted); margin-top: 22px; }
.final__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }
.final__sub { margin-top: 22px; color: var(--faint); font-size: 13.5px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--d-bg-2); color: var(--d-muted); padding: 72px 0 40px; border-top: 1px solid oklch(1 0 0 / 0.06); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid oklch(1 0 0 / 0.07); }
.footer__brand p { margin-top: 18px; font-size: 14.5px; max-width: 280px; line-height: 1.6; }
.footer__col h5 { font-size: 13px; font-weight: 600; color: var(--d-ink); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.footer__col a { display: block; font-size: 14.5px; padding: 6px 0; transition: color .2s; }
.footer__col a:hover { color: var(--d-ink); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; font-size: 13.5px; flex-wrap: wrap; gap: 14px; }

/* ============================================================
   ENTRANCE / REVEAL
   Content is visible by default (robust everywhere). The .r class
   only adds a gentle one-time lift via micro-transition on hover-capable
   active views; it never hides content, so captures & no-JS stay correct.
   ============================================================ */
/* ============================================================
   MOTION & DEPTH
   Base state keeps everything visible (no-JS / print safe).
   When JS confirms support it adds .reveal-on to <html>, which
   arms the hidden→revealed transition driven by IntersectionObserver.
   ============================================================ */
.r { opacity: 1; transform: none; }

html.reveal-on .r {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .85s var(--ease);
  will-change: opacity, transform;
}
html.reveal-on .r.in { opacity: 1; transform: none; }
html.reveal-on .r-1 { transition-delay: .07s; }
html.reveal-on .r-2 { transition-delay: .15s; }
html.reveal-on .r-3 { transition-delay: .24s; }
html.reveal-on .r-4 { transition-delay: .33s; }

/* ---- Hero depth: breathing glow + drifting orbs ---- */
.hero__glow { animation: breathe 10s ease-in-out infinite; will-change: opacity, transform; }
@keyframes breathe {
  0%, 100% { opacity: .42; transform: translateX(-50%) scale(1); }
  50%      { opacity: .60; transform: translateX(-50%) scale(1.07); }
}
.hero__orb {
  position: absolute; border-radius: 50%; filter: blur(54px);
  pointer-events: none; z-index: 0; will-change: transform;
}
.hero__orb--1 {
  width: 360px; height: 360px; top: 4%; left: -70px;
  background: radial-gradient(circle, rgba(83, 74, 183, 0.42), transparent 70%);
  animation: drift1 19s ease-in-out infinite;
}
.hero__orb--2 {
  width: 320px; height: 320px; bottom: -4%; right: 4%;
  background: radial-gradient(circle, rgba(123, 115, 214, 0.38), transparent 70%);
  animation: drift2 23s ease-in-out infinite;
}
.hero__orb--3 {
  width: 220px; height: 220px; top: 46%; left: 40%;
  background: radial-gradient(circle, rgba(83, 74, 183, 0.20), transparent 70%);
  animation: drift1 27s ease-in-out infinite reverse;
}
@keyframes drift1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(44px, 34px); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-40px, -30px); } }

/* parallax layers — pointer offset applied inline via JS; inner elements keep their own animations */
.parallax { will-change: transform; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.orb-wrap { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.phone-parallax { transform-style: preserve-3d; }

/* gentle equalizer on the hero phone's audio note — feels alive */
.hero__phone .audiowave i { animation: eq 1.5s ease-in-out infinite; transform-origin: center; }
.hero__phone .audiowave i:nth-child(3n)   { animation-delay: .15s; }
.hero__phone .audiowave i:nth-child(3n+1) { animation-delay: .35s; }
.hero__phone .audiowave i:nth-child(3n+2) { animation-delay: .55s; }
@keyframes eq { 0%,100% { transform: scaleY(.62); opacity:.75; } 50% { transform: scaleY(1); opacity:1; } }

/* ---- Linear-style cursor spotlight on cards ---- */
.card, .step, .plan, .sec__card, .testi-card { position: relative; isolation: isolate; }
.card > *, .step > *, .plan > *, .sec__card > *, .testi-card > * { position: relative; z-index: 1; }
.card::after, .step::after, .plan::after, .sec__card::after, .testi-card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: 0; pointer-events: none;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(83, 74, 183, 0.13), transparent 44%);
  opacity: 0; transition: opacity .4s ease;
}
.card:hover::after, .step:hover::after, .plan:hover::after,
.sec__card:hover::after, .testi-card:hover::after { opacity: 1; }
.dark .sec__card::after {
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(123, 115, 214, 0.22), transparent 46%);
}

/* indigo border + icon micro-pop on hover */
.card:hover, .step:hover, .testi-card:hover, .plan:hover { border-color: rgba(83, 74, 183, 0.45); }
.card__ic, .step__ic, .testi-avatar { transition: transform .4s var(--ease); }
.card:hover .card__ic, .step:hover .step__ic { transform: translateY(-2px) scale(1.07) rotate(-3deg); }
.testi-card:hover .testi-avatar { transform: scale(1.07); }

/* comparison-table row highlight */
.vs-table tbody tr { transition: background .25s ease; }
.vs-table tbody tr:hover { background: rgba(83, 74, 183, 0.045); }
.vs-table tbody tr:hover td.col-rec { background: rgba(83, 74, 183, 0.08); }

@media (prefers-reduced-motion: reduce) {
  html.reveal-on .r { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero__glow, .hero__orb, .phone--float, .logo__orbit-dot,
  .hero__phone .audiowave i { animation: none !important; }
  .hero__phone { transform: none !important; }
}

/* ============================================================
   LAUNCH BANNER
   ============================================================ */
.launch-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 102;
  height: var(--banner-h);
  display: flex; align-items: center; justify-content: center; gap: 9px;
  background: linear-gradient(to right, oklch(0.965 0.022 275), oklch(0.968 0.016 180));
  border-bottom: 1px solid oklch(0.88 0.035 270);
  font-size: 13.5px; font-weight: 500; color: var(--ice-deep);
  text-decoration: none; letter-spacing: -0.01em;
  transition: filter .2s;
}
.launch-banner:hover { filter: brightness(0.97); }
.launch-banner svg { flex: none; color: var(--ice); }

/* ============================================================
   TRUST STRIP (security section)
   ============================================================ */
.trust-strip {
  margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--d-line);
  display: flex; justify-content: center; align-items: center; gap: 36px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 9px;
  font-size: 13.5px; font-weight: 500; color: var(--d-muted);
}
.trust-item svg { width: 15px; height: 15px; color: var(--ice-bright); flex: none; }

/* ============================================================
   BACK BUTTON — legal pages
   ============================================================ */
.btn-back {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 15px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--ice-deep);
  background: var(--ice-soft); border: 1px solid oklch(0.83 0.06 265);
  transition: background .2s, border-color .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn-back:hover {
  background: var(--ice); color: #fff; border-color: var(--ice);
  box-shadow: 0 4px 14px var(--ice-glow);
}

/* ============================================================
   PRICING — annual billed note & micro-copy
   ============================================================ */
.plan__billed {
  font-size: 12px; color: var(--muted); margin-top: -2px; margin-bottom: 4px;
}
.plan--feat .plan__billed { color: var(--ice-deep); opacity: .85; }
.plan__micro {
  font-size: 12.5px; font-weight: 500; line-height: 1.45; color: var(--ice-deep);
  background: var(--ice-soft); border: 1px solid oklch(0.87 0.04 265);
  border-radius: var(--r-sm); padding: 8px 12px; margin-bottom: 4px;
}

/* ============================================================
   FOOTER GCP note
   ============================================================ */
.footer__gcp { font-size: 12px; color: oklch(0.42 0.012 262); margin-top: 10px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero__inner, .demo__inner, .sec__inner { grid-template-columns: 1fr; gap: 48px; }
  .demo__stage { order: -1; }
  .steps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .card--lg, .card--md, .card--sm { grid-column: span 1; grid-row: auto; min-height: 200px; }
  .diff { grid-template-columns: 1fr; gap: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  :root { --banner-h: 52px; }
  .launch-banner { font-size: 12.5px; padding: 0 16px; text-align: center; }
  .section { padding: 88px 0; }
  .hero { padding: calc(130px + var(--banner-h)) 0 60px; }
  .nav, .header__login { display: none; }
  .plans { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .wrap { padding: 0 20px; }
}
