/* ============================================================================
   ISonTrack — Landing page styles
   Modern AI-SaaS aesthetic, dark by default, mint/blue brand gradient.
   ============================================================================ */

/* ── Globals ──────────────────────────────────────────────────────────── */
html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: var(--font-sans);
  color: var(--dark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

:root {
  --page-max: 1240px;
  --header-h: 72px;

  /* Dark-hero tokens (scoped) */
  --hero-bg-dark: #050B1A;
  --hero-panel-dark: rgba(255,255,255,0.04);
  --hero-border-dark: rgba(255,255,255,0.08);
}

body.landing-body {
  background: var(--cream);
  color: var(--dark);
}

/* ── Utility ──────────────────────────────────────────────────────────── */
.wrap { max-width: var(--page-max); margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .wrap { padding: 0 20px; } }
@media (max-width: 380px) { .wrap { padding: 0 16px; } }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font: 500 12px var(--font-sans);
  letter-spacing: 0.01em;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.86);
  backdrop-filter: blur(8px);
}
.chip.light {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--dark);
  box-shadow: var(--shadow-xs);
}
.chip .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px 1px rgba(2,227,167,0.6);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-lg);
  font: 600 14px var(--font-sans);
  letter-spacing: -0.005em;
  border: 0;
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(2,227,167,0.45), 0 1px 0 0 rgba(255,255,255,0.15) inset;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -8px rgba(2,227,167,0.55), 0 1px 0 0 rgba(255,255,255,0.2) inset;
}
.btn-secondary {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.22); }
.btn-ghost-light {
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--border);
}
.btn-ghost-light:hover { background: var(--light); }
.btn-lg { padding: 15px 26px; font-size: 15px; border-radius: var(--radius-lg); }

/* ── Header ───────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  display: flex; align-items: center;
  background: var(--hero-bg-dark);
  border-bottom: 1px solid transparent;
  transition: background var(--duration-med), border-color var(--duration-med), backdrop-filter var(--duration-med);
}
.site-header.scrolled {
  background: rgba(5, 11, 26, 0.65);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: rgba(255,255,255,0.06);
}
.site-header.light {
  background: #F8FAFC;
}
.site-header.light.scrolled {
  background: rgba(248,250,252,0.8);
  border-bottom-color: var(--border);
}
.site-header .wrap {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.brand-lockup {
  display: flex; align-items: center; gap: 10px;
  color: #CBD5E1; font-family: var(--font-heading);
  font-weight: 700; font-size: 18px; letter-spacing: -0.01em;
}
.site-header.light .brand-lockup { color: var(--mid); }
.brand-lockup .mark {
  width: 30px; height: 30px;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(2,227,167,0.25));
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--hero-bg-dark);
  color: #fff;
  padding: 64px 0 100px;
  isolation: isolate;
}
.hero.light {
  background: linear-gradient(180deg, #F8FAFC 0%, #EEF2F6 100%);
  color: var(--dark);
}
.hero .hero-inner { position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(42px, 6.5vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0;
  color: inherit;
  max-width: 900px;
}
.hero h1 .grad {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.hero .lede {
  margin: 22px 0 36px;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  max-width: 620px;
}
.hero.light .lede { color: var(--mid); }

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

/* Centered hero layout */
.hero.centered .hero-inner {
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.hero.centered h1, .hero.centered .lede { max-width: 900px; margin-left: auto; margin-right: auto; }
.hero.centered .hero-cta-row { justify-content: center; }

/* Split hero layout */
.hero.split .hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero.split .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Hero visual — below copy when centered, beside when split */
.hero-visual {
  position: relative;
  margin-top: 60px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.08),
    0 0 80px -10px rgba(2,227,167,0.15);
  background: #0A1628;
}
.hero.centered .hero-visual { max-width: 1100px; margin-left: auto; margin-right: auto; }
.hero.split .hero-visual { margin-top: 0; }
.hero-visual--video { background: #0A1628; }
.hero-visual .hero-video {
  display: block;
  width: 100%;
  height: auto;
}

/* Animated beams background (hero) */
.hero-beams {
  position: absolute; inset: -20% -10%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}
.hero-beams .beam {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  mix-blend-mode: screen;
}
.hero-beams .b1 {
  width: 620px; height: 620px;
  background: radial-gradient(circle, #2563EB 0%, transparent 65%);
  top: -120px; left: -80px;
  animation: beam-drift-1 22s ease-in-out infinite alternate;
}
.hero-beams .b2 {
  width: 680px; height: 680px;
  background: radial-gradient(circle, #02E3A7 0%, transparent 65%);
  top: 80px; right: -120px;
  animation: beam-drift-2 26s ease-in-out infinite alternate;
}
.hero-beams .b3 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, #8B5CF6 0%, transparent 65%);
  bottom: -120px; left: 35%;
  animation: beam-drift-3 30s ease-in-out infinite alternate;
  opacity: 0.35;
}
@keyframes beam-drift-1 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(120px,80px) scale(1.15); }
}
@keyframes beam-drift-2 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(-100px,60px) scale(1.08); }
}
@keyframes beam-drift-3 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(-60px,-40px) scale(1.2); }
}
.hero.light .hero-beams { opacity: 0.4; }
.hero.light .hero-beams .beam { mix-blend-mode: multiply; filter: blur(90px); }

/* Hero grid pattern overlay */
.hero-grid-bg {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, #000 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, #000 20%, transparent 100%);
}
.hero.light .hero-grid-bg {
  background-image:
    linear-gradient(to right, rgba(15,23,42,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,23,42,0.05) 1px, transparent 1px);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-beams .beam { animation: none !important; }
  .chip .dot { animation: none !important; }
}
body.motion-off .hero-beams .beam,
body.motion-off .chip .dot,
body.motion-off [data-animate] { animation: none !important; transition: none !important; }
body.motion-off .hero-beams { opacity: 0.4; }

body.motion-subtle .hero-beams .beam { animation-duration: 40s; }

/* ── Section scaffolding ─────────────────────────────────────────────── */
.section { padding: 100px 0; position: relative; }
.section.tight { padding: 72px 0; }
.section.dark {
  background: #0B1322;
  color: #fff;
}
.section.dark h2, .section.dark h3 { color: #fff; }
.section.hairline { border-top: 1px solid var(--border); }
.section-eyebrow {
  font: 600 11px var(--font-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
  display: inline-block;
}
.section h2 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.03em;
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 18px;
  max-width: 20ch;
}
.section .lede-2 {
  max-width: 640px;
  color: var(--mid);
  font-size: 17px;
  line-height: 1.55;
}
.section.dark .lede-2 { color: rgba(255,255,255,0.65); }

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}

/* ── Problem section ─────────────────────────────────────────────────── */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}
.problem-copy { display: flex; flex-direction: column; }
@media (max-width: 900px) {
  .problem-grid { grid-template-columns: 1fr; align-items: start; }
}

.stat-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.section.dark .stat-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}
.stat-card .num {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}
.stat-card .lbl {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.4;
}
.section.dark .stat-card .lbl { color: rgba(255,255,255,0.65); }

.problem-image {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: #0F172A;
  height: 100%;
  min-height: 100%;
}
@media (max-width: 900px) {
  .problem-image { aspect-ratio: 5/4; height: auto; min-height: 0; }
}
.problem-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.05);
}
.problem-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,22,40,0.05) 0%, rgba(10,22,40,0.6) 100%);
}
.problem-image .photo-credit {
  position: absolute; right: 14px; top: 14px; z-index: 2;
  font: 500 10px var(--font-mono);
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
  text-shadow: 0 1px 3px rgba(0,0,0,0.45);
  pointer-events: none;
}
.problem-image .overlay-card {
  position: absolute; left: 20px; right: 20px; bottom: 20px;
  background: rgba(11,19,34,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  z-index: 2;
}
.problem-image .overlay-card .k {
  font: 600 11px var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}
.problem-image .overlay-card .v {
  font: 600 15px var(--font-sans);
  line-height: 1.3;
}

/* ── Demo reel ────────────────────────────────────────────────────────── */
.reel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}
@media (max-width: 960px) { .reel-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .reel-grid { grid-template-columns: 1fr; } }

.reel-card {
  background: #0B1322;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform var(--duration-med) var(--ease-out), box-shadow var(--duration-med) var(--ease-out);
  color: #fff;
}
.reel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px -20px rgba(0,0,0,0.5), 0 0 0 1px rgba(2,227,167,0.3);
}
.reel-card .stage {
  aspect-ratio: 16 / 9;
  background: linear-gradient(180deg, #0A1425 0%, #0B1322 100%);
  position: relative;
  overflow: hidden;
}
.reel-card .stage video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0A1628;
}
.reel-card .meta {
  padding: 18px 20px 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.reel-card .meta .cat {
  font: 600 10px var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}
.reel-card .meta .ttl {
  font: 700 16px var(--font-heading);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 4px;
}
.reel-card .meta .desc {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.45;
}

/* ── Features ─────────────────────────────────────────────────────────── */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
@media (max-width: 960px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .feat-grid { grid-template-columns: 1fr; } }
.feat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 26px;
  transition: transform var(--duration-med), box-shadow var(--duration-med), border-color var(--duration-med);
  position: relative;
  overflow: hidden;
}
.feat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(2,227,167,0.35);
  box-shadow: 0 16px 32px -12px rgba(15,23,42,0.1);
}
.feat-card .ic {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(37,99,235,0.10), rgba(2,227,167,0.10));
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--primary);
  margin-bottom: 16px;
}
.feat-card .ic svg { width: 20px; height: 20px; }
.feat-card.ai {
  background: linear-gradient(180deg, #0B1322 0%, #0A1628 100%);
  color: #fff;
  border-color: rgba(2,227,167,0.2);
}
.feat-card.ai .ic {
  background: linear-gradient(135deg, rgba(37,99,235,0.25), rgba(2,227,167,0.25));
  color: var(--primary);
}
.feat-card h3 {
  font: 700 18px var(--font-heading);
  letter-spacing: -0.015em;
  margin: 0 0 6px;
}
.feat-card.ai h3 { color: #fff; }
.feat-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--mid);
  margin: 0;
}
.feat-card.ai p { color: rgba(255,255,255,0.66); }

.ai-tag {
  position: absolute; top: 14px; right: 14px;
  font: 600 10px var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  background: var(--brand-gradient);
  color: #fff;
  display: inline-flex; align-items: center; gap: 4px;
}

/* ── How it works ─────────────────────────────────────────────────────── */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  position: relative;
}
@media (max-width: 960px) { .how-grid { grid-template-columns: 1fr; } }
.how-step {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
}
.how-step .n {
  font: 700 56px var(--font-heading);
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  display: inline-block;
}
.how-step h3 {
  font: 700 20px var(--font-heading);
  margin: 0 0 8px;
  color: #fff;
}
.how-step p {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
  margin: 0;
}
.how-step .badge {
  position: absolute; top: 24px; right: 24px;
  font: 600 10px var(--font-mono);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(2,227,167,0.1);
  border: 1px solid rgba(2,227,167,0.25);
}

/* ── Testimonial + partner callout ─────────────────────────────────── */
.partner-card {
  margin-top: 48px;
  background: linear-gradient(135deg, rgba(37,99,235,0.08) 0%, rgba(2,227,167,0.08) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.partner-card::before {
  content: '';
  position: absolute; inset: -50%;
  background: radial-gradient(ellipse at center, rgba(2,227,167,0.1), transparent 60%);
  pointer-events: none;
}
@media (max-width: 780px) { .partner-card { grid-template-columns: 1fr; padding: 32px; } }
.partner-card .label {
  font: 600 11px var(--font-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.partner-card h3 {
  font: 700 clamp(24px, 3vw, 32px) var(--font-heading);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 14px;
}
.partner-card p {
  color: var(--mid);
  font-size: 15px;
  line-height: 1.55;
  max-width: 480px;
  margin: 0 0 22px;
}
.partner-perks {
  display: grid; grid-template-columns: 1fr; gap: 10px;
  font-size: 13px; color: var(--dark);
}
.partner-perks li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  list-style: none;
}
.partner-perks .chk {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--brand-gradient);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.partner-perks ul { padding: 0; margin: 0; }
.partner-perks strong { font-weight: 600; display: block; margin-bottom: 2px; }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq-list {
  margin-top: 40px;
  max-width: 820px;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  list-style: none;
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  cursor: pointer;
  font: 600 17px var(--font-heading);
  letter-spacing: -0.01em;
  color: var(--dark);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .toggle {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--light);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform var(--duration-med) var(--ease-out), background var(--duration-fast);
}
.faq-item[open] summary .toggle { transform: rotate(45deg); background: var(--primary-light); color: var(--accent); }
.faq-item .body {
  padding: 0 0 24px;
  color: var(--mid);
  font-size: 15px;
  line-height: 1.6;
  max-width: 680px;
}

/* ── Final CTA ────────────────────────────────────────────────────────── */
.final-cta {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  background: var(--hero-bg-dark);
  color: #fff;
  isolation: isolate;
}
.final-cta .inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.final-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.035em;
  max-width: 20ch;
  margin: 0 auto 20px;
  font-weight: 700;
}
.final-cta h2 .grad {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.final-cta p {
  max-width: 540px;
  margin: 0 auto 32px;
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
}

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-footer {
  background: #050B1A;
  color: rgba(255,255,255,0.6);
  padding: 48px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.site-footer .row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 18px;
}
.site-footer .links { display: flex; gap: 24px; font-size: 13px; flex-wrap: wrap; }
.site-footer .links a { color: rgba(255,255,255,0.6); transition: color var(--duration-fast); }
.site-footer .links a:hover { color: var(--primary); }
.site-footer .links .soon { color: rgba(255,255,255,0.45); cursor: default; }
.site-footer .links .soon em {
  font-style: normal;
  font: 500 10px var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-left: 4px;
}
.site-footer .copy { font-size: 12px; color: rgba(255,255,255,0.4); }

/* ── Demo modal ──────────────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(5, 11, 26, 0.72);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: fade-in 220ms var(--ease-out);
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.6);
  overflow: hidden;
  animation: modal-pop 260ms var(--ease-out);
}
@keyframes modal-pop {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-header {
  position: relative;
  padding: 28px 28px 0;
}
.modal-header .hdr-bg {
  position: absolute; inset: 0 0 auto 0; height: 100px;
  background: radial-gradient(circle at 30% 20%, rgba(37,99,235,0.1), transparent 60%),
              radial-gradient(circle at 80% 50%, rgba(2,227,167,0.12), transparent 60%);
}
.modal-header h3 {
  font: 700 24px var(--font-heading);
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  position: relative;
}
.modal-header p { color: var(--mid); font-size: 14px; position: relative; margin: 0; }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--light); border: 0; color: var(--mid);
  display: inline-flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--border); color: var(--dark); }
.modal-body { padding: 22px 28px 28px; }
.field { margin-bottom: 14px; }
.field label {
  display: block;
  font: 600 12px var(--font-sans);
  color: var(--dark);
  margin-bottom: 6px;
}
.field input, .field select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  font: 500 14px var(--font-sans);
  color: var(--dark);
  background: #fff;
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2,227,167,0.18);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-body .btn { width: 100%; margin-top: 8px; padding: 14px; font-size: 15px; }
.modal-body .btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }
.form-error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
  border-radius: var(--radius-lg);
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.4;
  margin-top: 6px;
}
.form-error a { color: inherit; text-decoration: underline; font-weight: 600; }

.modal-success {
  padding: 40px 28px;
  text-align: center;
}
.modal-success .check {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 10px 20px -6px rgba(2,227,167,0.4);
}
.modal-success h3 { font: 700 22px var(--font-heading); margin: 0 0 8px; }
.modal-success p { color: var(--mid); font-size: 14px; margin: 0; }

/* ── Tweaks panel ────────────────────────────────────────────────────── */
.tweaks-panel {
  position: fixed; bottom: 20px; right: 20px;
  z-index: 150;
  width: 280px;
  background: rgba(11, 19, 34, 0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 18px;
  color: #fff;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.6);
  font-size: 13px;
  display: none;
}
.tweaks-panel.visible { display: block; }
.tweaks-panel h4 {
  font: 700 14px var(--font-heading);
  margin: 0 0 14px;
  display: flex; align-items: center; gap: 8px;
  color: #fff;
}
.tweaks-panel .tw-row { margin-bottom: 14px; }
.tweaks-panel .tw-label {
  font: 600 10px var(--font-mono);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
}
.tw-seg {
  display: inline-flex; width: 100%;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px; overflow: hidden;
}
.tw-seg button {
  flex: 1;
  padding: 7px 4px;
  background: transparent; border: 0;
  font: 600 11px var(--font-sans);
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  text-transform: capitalize;
  transition: all var(--duration-fast);
}
.tw-seg button.active {
  background: var(--brand-gradient);
  color: #fff;
}
.tw-seg button:not(.active):hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
}

/* ── App video placeholder ───────────────────────────────────────────── */
.app-video-placeholder {
  position: relative;
  aspect-ratio: 16 / 10;
  width: 100%;
  border-radius: inherit;
  overflow: hidden;
  background: #0A1628;
  isolation: isolate;
}
.app-video-placeholder .avp-inner {
  position: absolute; inset: 0;
  display: flex; align-items: stretch; justify-content: stretch;
}
.app-video-placeholder .avp-inner > .demo-stage,
.app-video-placeholder .avp-inner > .demo-dashboard { width: 100%; height: 100%; }
.app-video-placeholder .avp-scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 60%, rgba(2,227,167,0.10), transparent 60%),
    linear-gradient(180deg, rgba(10,22,40,0.10) 0%, rgba(10,22,40,0.55) 100%);
  pointer-events: none;
}
.app-video-placeholder .avp-badge {
  position: absolute; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  border-radius: var(--radius-full);
  background: rgba(11,19,34,0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  font: 600 10px var(--font-mono);
  letter-spacing: 0.14em;
}
.app-video-placeholder .avp-badge .rec {
  width: 7px; height: 7px; border-radius: 50%;
  background: #F87171;
  box-shadow: 0 0 10px 1px rgba(248,113,113,0.7);
  animation: pulse-dot 1.6s ease-in-out infinite;
}
.app-video-placeholder .avp-caption {
  position: absolute; left: 14px; right: 80px; bottom: 14px;
  background: rgba(11,19,34,0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  color: #fff;
}
.app-video-placeholder .avp-caption .k {
  font: 600 10px var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 3px;
}
.app-video-placeholder .avp-caption .v {
  font: 500 12px var(--font-sans); color: rgba(255,255,255,0.75);
}
.app-video-placeholder .avp-play {
  position: absolute; right: 14px; bottom: 14px;
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(2,227,167,0.18);
  backdrop-filter: blur(10px);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform var(--duration-fast) var(--ease-out), background var(--duration-fast);
}
.app-video-placeholder .avp-play:hover { background: rgba(2,227,167,0.28); transform: scale(1.05); }
.app-video-placeholder .avp-play svg { margin-left: 3px; }

/* Product video block (within Demo reel section) */
.extras-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.extra-card {
  background: linear-gradient(135deg, rgba(37,99,235,0.06) 0%, rgba(2,227,167,0.06) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 26px 28px;
  transition: transform var(--duration-med), border-color var(--duration-med), box-shadow var(--duration-med);
}
.extra-card:hover {
  transform: translateY(-2px);
  border-color: rgba(2,227,167,0.35);
  box-shadow: 0 16px 32px -16px rgba(15,23,42,0.12);
}
.extra-card .ic {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(2,227,167,0.12));
  color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.extra-card .ic svg { width: 20px; height: 20px; }
.extra-card h3 {
  font: 700 18px var(--font-heading);
  letter-spacing: -0.015em;
  margin: 0 0 6px;
  color: var(--dark);
}
.extra-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--mid);
  margin: 0;
}
@media (max-width: 720px) {
  .extras-grid { grid-template-columns: 1fr; gap: 14px; }
  .extra-card { padding: 22px; }
}

.product-clips {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.product-clip {
  margin: 0;
  background: #0B1322;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 50px -25px rgba(0,0,0,0.5);
}
.product-clip video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #0A1628;
}
.product-clip figcaption {
  padding: 18px 22px 22px;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: #fff;
}
.product-clip figcaption .k {
  font: 700 16px var(--font-heading);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.product-clip figcaption .v {
  font: 500 14px var(--font-sans); line-height: 1.5;
  color: rgba(255,255,255,0.7);
}
@media (max-width: 900px) {
  .product-clips { grid-template-columns: 1fr; gap: 16px; }
}

/* ── Frameworks section (AU/NZ infra carousel + metric chips) ───────── */
.frameworks-section { background: var(--cream); }
.frameworks-intro {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.frameworks-intro .section-eyebrow {
  display: inline-block;
  margin: 0;
}
.frameworks-intro h2 {
  max-width: 22ch;
  margin: 0;
  text-wrap: balance;
}
.frameworks-intro .lede-2 {
  max-width: 620px;
  margin: 0;
  text-wrap: pretty;
}
.frameworks-carousel {
  position: relative;
  margin: 56px auto 0;
  max-width: 720px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0F172A;
  box-shadow: 0 16px 40px -18px rgba(15,23,42,0.22);
}
@media (max-width: 720px) {
  .frameworks-carousel { margin-top: 36px; aspect-ratio: 4 / 3; }
}
.fc-track {
  display: flex;
  height: 100%;
  transition: transform 700ms var(--ease-out);
  will-change: transform;
}
.fc-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
}
.fc-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.fc-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,19,34,0) 55%, rgba(11,19,34,0.75) 100%);
}
.fc-caption {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  background: rgba(11,19,34,0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  font: 600 11px var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.fc-credit {
  position: absolute; right: 14px; top: 14px; z-index: 2;
  font: 500 10px var(--font-mono);
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
  text-shadow: 0 1px 3px rgba(0,0,0,0.45);
  pointer-events: none;
}
.fc-dots {
  position: absolute; right: 18px; bottom: 20px; z-index: 3;
  display: flex; gap: 6px;
}
.fc-dots button {
  width: 22px; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,0.35);
  border: 0; padding: 0;
  transition: background var(--duration-fast), width var(--duration-fast);
}
.fc-dots button.active {
  background: var(--primary);
  width: 32px;
}
.fc-dots button:hover:not(.active) { background: rgba(255,255,255,0.6); }

.framework-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 0; margin: 0;
  list-style: none;
}
@media (max-width: 1040px) { .framework-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .framework-grid { grid-template-columns: 1fr; } }
.framework-chip {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 16px 18px;
  transition: transform var(--duration-med), border-color var(--duration-med), box-shadow var(--duration-med);
}
.framework-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(2,227,167,0.35);
  box-shadow: 0 12px 24px -12px rgba(15,23,42,0.1);
}
.framework-chip.soon { background: color-mix(in oklch, #fff 92%, var(--mid)); opacity: 0.85; }
.fwk-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; margin-bottom: 6px;
}
.fwk-k {
  font: 700 14px var(--font-heading);
  letter-spacing: -0.01em;
  color: var(--dark);
}
.fwk-v {
  font: 500 13px var(--font-sans);
  line-height: 1.45;
  color: var(--mid);
}
.fwk-tag {
  font: 600 9px var(--font-mono);
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 3px 7px;
  border-radius: var(--radius-full);
  background: var(--light);
  color: var(--mid);
  border: 1px solid var(--border);
}
.fwk-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px 1px rgba(2,227,167,0.5);
  flex-shrink: 0;
}

/* ── Founders ────────────────────────────────────────────────────────── */
.founder-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 640px) { .founder-grid { grid-template-columns: 1fr; } }
.founder-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 24px;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 20px;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-med), box-shadow var(--duration-med), border-color var(--duration-med);
}
.founder-card:hover {
  transform: translateY(-3px);
  border-color: rgba(2,227,167,0.35);
  box-shadow: 0 16px 32px -12px rgba(15,23,42,0.1);
}
.founder-card .portrait {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 1/1;
  background: #0B1322;
}
.founder-card .portrait-svg { width: 100%; height: 100%; display: block; }
.founder-card .portrait-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.05);
}
.founder-card .founder-role {
  font: 600 10px var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 4px;
}
.founder-card h3 {
  font: 700 18px var(--font-heading); letter-spacing: -0.015em;
  margin: 0 0 8px; color: var(--dark);
}
.founder-card p {
  font: 500 13px var(--font-sans); line-height: 1.55;
  color: var(--mid); margin: 0;
}
.founder-note {
  margin-top: 28px;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  background: #fff;
  border: 1px solid var(--border);
  font: 600 12px var(--font-mono); letter-spacing: 0.08em;
  color: var(--mid);
  box-shadow: var(--shadow-xs);
}
.founder-note .flag {
  display: inline-flex;
  border-radius: 4px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--border);
}
.founder-note .flag .au, .founder-note .flag .nz {
  width: 16px; height: 11px; display: block;
}
.founder-note .flag .au { background: linear-gradient(180deg, #012169 0%, #012169 50%, #E4002B 100%); }
.founder-note .flag .nz { background: linear-gradient(180deg, #00247D 0%, #00247D 60%, #CC142B 100%); }

/* ── Mobile refinements ──────────────────────────────────────────────── */
@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .hero { padding: 48px 0 72px; }
  .hero-visual { margin-top: 40px; border-radius: 14px; }
  .hero .lede { margin: 18px 0 28px; }
  .final-cta { padding: 80px 0; }
  .stat-stack { gap: 10px; }
  .stat-card { padding: 18px; }
  .stat-card .num { font-size: 36px; }
  .problem-grid { gap: 32px; margin-top: 32px; }
  .how-step { padding: 24px; }
  .how-step .n { font-size: 44px; margin-bottom: 12px; }
  .feat-card { padding: 22px; }
  .partner-card { padding: 28px 22px; gap: 28px; }
  .faq-item summary { font-size: 15px; padding: 18px 0; gap: 14px; }
}
@media (max-width: 520px) {
  .site-header .wrap > div { gap: 8px; }
  .site-header .btn { padding: 9px 14px; font-size: 13px; }
  .site-header .btn-secondary,
  .site-header .btn-ghost-light { display: none; }
  .brand-lockup { font-size: 16px; }
  .brand-lockup .mark { width: 26px; height: 26px; font-size: 11px; }
  .hero-cta-row .btn { width: 100%; }
  .hero-cta-row { gap: 10px; }
  .final-cta .hero-cta-row .btn { width: auto; min-width: 160px; }
  .hero h1 { font-size: clamp(36px, 9vw, 44px); }
  .section h2 { font-size: clamp(26px, 7vw, 32px); }
  .stat-stack { grid-template-columns: 1fr; }
  .stat-card .num { font-size: 40px; }
  .site-footer .row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .site-footer .links { flex-wrap: wrap; }
  .modal-header { padding: 24px 22px 0; }
  .modal-body { padding: 18px 22px 24px; }
  .modal-header h3 { font-size: 20px; }
  .field-row { grid-template-columns: 1fr; }
  .tweaks-panel { right: 12px; bottom: 12px; width: calc(100vw - 24px); max-width: 280px; }
}
