/* Springflow Systems: site styles.
   Palette: deep indigo, white, silver, orange (orange only for buttons and highlights). */
:root {
  --ink: #070b24;
  --indigo-900: #0b1033;
  --indigo-800: #10164a;
  --indigo-700: #141b4d;
  --indigo-600: #1d2667;
  --indigo-500: #2a3590;
  --silver: #c3cad9;
  --silver-2: #8f97ad;
  --white: #ffffff;
  --orange: #ff8a1f;
  --orange-2: #ffb26b;
  --line: rgba(195, 202, 217, 0.14);
  --line-2: rgba(195, 202, 217, 0.26);
  --glass: rgba(20, 27, 77, 0.55);
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--line);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1200px;
  --pad: clamp(16px, 4vw, 40px);
  --font-display: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--indigo-900);
  color: var(--silver);
  font: 400 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(255, 138, 31, 0.35); color: var(--white); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--white); margin: 0; letter-spacing: -0.02em; line-height: 1.12; font-weight: 600; }
h1 { font-size: clamp(42px, 7vw, 88px); letter-spacing: -0.035em; font-weight: 600; }
h2 { font-size: clamp(32px, 4.6vw, 56px); }
h3 { font-size: clamp(20px, 2vw, 24px); letter-spacing: -0.01em; }
p { margin: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { position: relative; padding: clamp(64px, 9vw, 116px) 0; }
.section.tight { padding: clamp(48px, 6vw, 80px) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--font-body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--silver);
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--orange)); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--silver); max-width: 640px; }
.muted { color: var(--silver-2); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Silver "shine" text for key words. */
.shine {
  background: linear-gradient(100deg, #ffffff 0%, #dfe4ef 30%, #9aa3bb 48%, #ffffff 62%, #c3cad9 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 7s var(--ease) infinite;
}
@keyframes shine { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.accent { color: var(--orange); }

/* Buttons */
.btn {
  --b: var(--orange);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 16px/1 var(--font-body); color: #1a1206; background: var(--b);
  box-shadow: 0 10px 30px -8px rgba(255, 138, 31, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s;
  overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn::before { /* light sweep */
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.9s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(255, 138, 31, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn:hover::before { transform: translateX(120%); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn.ghost {
  background: rgba(255, 255, 255, 0.04); color: var(--white);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.btn.ghost:hover { background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(195, 202, 217, 0.45); }
.btn.lg { padding: 19px 34px; font-size: 17px; }
.btn.block { width: 100%; }

/* Header */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
  padding: 18px 0;
}
/* The frosted background sits on its own layer: a blur on the header itself would trap the
   full-screen mobile menu inside the header bar once the page is scrolled. */
.header::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease);
  background: rgba(9, 13, 42, 0.72); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.header.scrolled { padding: 10px 0; }
.header.scrolled::before { opacity: 1; }
.menu-open .header::before { opacity: 0; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line-2), 0 8px 24px -6px rgba(66, 120, 255, 0.5); }
.brand-name { font: 600 18px/1.1 var(--font-display); color: var(--white); letter-spacing: -0.01em; }
.brand-name small { display: block; font: 500 11px/1.4 var(--font-body); color: var(--silver-2); letter-spacing: 0.08em; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a:not(.btn) {
  position: relative; padding: 10px 14px; border-radius: 999px; color: var(--silver); font-weight: 500; font-size: 15px;
  transition: color 0.3s, background 0.3s;
}
.nav-links a:not(.btn):hover, .nav-links a[aria-current='page'] { color: var(--white); background: rgba(255, 255, 255, 0.05); }
.nav-links .btn { margin-left: 8px; padding: 12px 22px; font-size: 15px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, 0.06); color: var(--white); cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; margin: 0 auto; position: relative; transition: transform 0.35s var(--ease), opacity 0.2s; }
.menu-btn span::before, .menu-btn span::after { content: ''; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 8px;
    background: rgba(7, 11, 36, 0.96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease);
  }
  .nav-links a:not(.btn) { font: 600 26px/1.2 var(--font-display); color: var(--white); padding: 12px 20px; transform: translateY(14px); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.5s var(--ease); }
  .nav-links .btn { margin: 18px 0 0; padding: 18px 34px; font-size: 17px; }
  .menu-open .nav-links { opacity: 1; pointer-events: auto; }
  .menu-open .nav-links a:not(.btn) { transform: none; opacity: 1; }
  .menu-open .nav-links a:nth-child(2) { transition-delay: 0.05s; }
  .menu-open .nav-links a:nth-child(3) { transition-delay: 0.1s; }
  body.menu-open { overflow: hidden; }
}

/* Background atmosphere */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora::before, .aurora::after, .aurora .orb {
  content: ''; position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; will-change: transform;
}
.aurora::before { width: 60vw; height: 60vw; max-width: 820px; max-height: 820px; left: -18vw; top: -22vw; background: radial-gradient(circle, #2c3aa8 0%, transparent 65%); animation: drift1 22s ease-in-out infinite alternate; }
.aurora::after { width: 55vw; height: 55vw; max-width: 760px; max-height: 760px; right: -16vw; top: 6vw; background: radial-gradient(circle, #3a2a8a 0%, transparent 62%); animation: drift2 26s ease-in-out infinite alternate; }
.aurora .orb { width: 34vw; height: 34vw; max-width: 460px; max-height: 460px; left: 38%; top: 30%; background: radial-gradient(circle, rgba(255, 138, 31, 0.28) 0%, transparent 60%); animation: drift3 30s ease-in-out infinite alternate; opacity: 0.45; }
@keyframes drift1 { to { transform: translate(8vw, 6vw) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-7vw, 8vw) scale(1.15); } }
@keyframes drift3 { to { transform: translate(-10vw, -6vw) scale(1.2); } }
.grid-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; opacity: 0.35;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.noise { position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: 0.035; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* Hero */
.hero { position: relative; padding: clamp(140px, 18vw, 200px) 0 clamp(60px, 9vw, 110px); overflow: hidden; }
.hero .container { position: relative; z-index: 1; }
.hero-copy { max-width: 900px; }
.hero h1 { margin: 22px 0 26px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.is-ready .hero h1 .line > span { transform: none; }
.hero h1 .line:nth-child(2) > span { transition-delay: 0.12s; }
.hero h1 .line:nth-child(3) > span { transition-delay: 0.24s; }
.hero .lead { margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { display: inline-flex; align-items: center; gap: 10px; color: var(--silver-2); font-size: 14px; margin-top: 22px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(255, 138, 31, 0.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 138, 31, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 138, 31, 0); } }

/* Device mockup with tilt and floating chips */
.showcase { position: relative; margin-top: clamp(56px, 8vw, 96px); perspective: 1600px; }
.device {
  position: relative; border-radius: 22px; padding: 10px; background: linear-gradient(160deg, rgba(195, 202, 217, 0.22), rgba(195, 202, 217, 0.04) 40%, rgba(255, 138, 31, 0.12));
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(195, 202, 217, 0.12), 0 0 80px -20px rgba(70, 90, 255, 0.45);
  transform: rotateX(14deg) scale(0.96); transform-origin: 50% 0; transition: transform 1.4s var(--ease);
}
.is-ready .device { transform: rotateX(var(--rx, 4deg)) rotateY(var(--ry, 0deg)) scale(1); }
.device img { border-radius: 14px; width: 100%; height: auto; }
.device::after { /* glass reflection */
  content: ''; position: absolute; inset: 10px; border-radius: 14px; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.10) 0%, transparent 28%, transparent 70%, rgba(255, 255, 255, 0.05) 100%);
}
.chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 14px; background: rgba(16, 22, 74, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--line-2); color: var(--white); font-size: 14px; font-weight: 500;
  opacity: 0; transform: translateY(18px) scale(0.96); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  animation: float 7s ease-in-out infinite;
}
.chip small { display: block; color: var(--silver-2); font-size: 12px; font-weight: 400; }
.chip .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 138, 31, 0.16); color: var(--orange); flex: none; }
.chip .ic.silver { background: rgba(195, 202, 217, 0.12); color: var(--white); }
.is-ready .chip { opacity: 1; transform: none; }
.chip.c1 { left: -3%; top: 18%; transition-delay: 0.9s; animation-delay: 0s; }
.chip.c2 { right: -2%; top: 8%; transition-delay: 1.15s; animation-delay: -2.5s; }
.chip.c3 { right: 6%; bottom: -5%; transition-delay: 1.4s; animation-delay: -4.5s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (max-width: 760px) { .chip.c1 { left: 2%; top: -8%; } .chip.c2 { display: none; } .chip.c3 { right: 2%; bottom: -10%; } .chip { font-size: 12px; padding: 9px 12px; } .chip .ic { width: 28px; height: 28px; } }

/* Trades ribbon */
.ribbon { position: relative; z-index: 1; border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ribbon-track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; }
.ribbon span { display: inline-flex; align-items: center; gap: 56px; font: 500 15px/1 var(--font-display); color: var(--silver-2); letter-spacing: 0.04em; white-space: nowrap; }
.ribbon span::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); opacity: 0.8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Section heads */
.head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); }
.head.split { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 40px; }
@media (max-width: 860px) { .head.split { grid-template-columns: 1fr; } }

/* Cards */
.cards { display: grid; gap: 20px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .cards.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .cards.two, .cards.three { grid-template-columns: 1fr; } }
.card {
  --mx: 50%; --my: 0%;
  position: relative; padding: clamp(26px, 3vw, 40px); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(29, 38, 103, 0.55), rgba(16, 22, 74, 0.55));
  box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -40px rgba(0, 0, 0, 0.7);
  overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.card::before { /* cursor spotlight */
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.08), transparent 45%);
}
.card::after { /* spotlit border */
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(320px circle at var(--mx) var(--my), rgba(255, 138, 31, 0.7), rgba(195, 202, 217, 0.25) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.card:hover { transform: translateY(-4px); }
.card:hover::before, .card:hover::after { opacity: 1; }
.card h3 { margin: 18px 0 12px; }
.card p { color: var(--silver); }
.card .num { font: 600 13px/1 var(--font-display); color: var(--orange); letter-spacing: 0.1em; }
.icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: var(--white);
  background: linear-gradient(145deg, rgba(195, 202, 217, 0.18), rgba(195, 202, 217, 0.04)); box-shadow: inset 0 0 0 1px var(--line-2);
}
.icon.orange { color: var(--orange); background: linear-gradient(145deg, rgba(255, 138, 31, 0.22), rgba(255, 138, 31, 0.05)); box-shadow: inset 0 0 0 1px rgba(255, 138, 31, 0.3); }
.icon svg { width: 24px; height: 24px; }
.card .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--white); font-weight: 600; font-size: 15px; }
.card .more svg { transition: transform 0.35s var(--ease); }
.card:hover .more svg { transform: translateX(4px); }
.card.pillar { min-height: 100%; display: flex; flex-direction: column; }
.card.pillar p { flex: 1; }
.card.pillar .tag { position: absolute; top: clamp(26px, 3vw, 40px); right: clamp(26px, 3vw, 40px); font-size: 12px; color: var(--silver-2); letter-spacing: 0.12em; text-transform: uppercase; }

/* AI agents */
.aurora.soft::before, .aurora.soft::after { opacity: 0.3; }
.agents { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .agents { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .agents { grid-template-columns: 1fr; } }
.agent {
  position: relative; display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(29, 38, 103, 0.6), rgba(16, 22, 74, 0.6)); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.agent:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 40px -24px rgba(0, 0, 0, 0.8); }
.agent .icon { width: 46px; height: 46px; border-radius: 14px; flex: none; }
.agent b { display: block; color: var(--white); font: 600 16px/1.3 var(--font-display); }
.agent div span { color: var(--silver-2); font-size: 15px; }
.agent .live { position: absolute; top: 14px; right: 14px; width: 8px; height: 8px; border-radius: 50%; background: #ffb26b; box-shadow: 0 0 0 0 rgba(255, 138, 31, 0.6); animation: pulse 2.4s infinite; }
.agent:nth-child(2) .live { animation-delay: 0.4s; } .agent:nth-child(3) .live { animation-delay: 0.8s; } .agent:nth-child(4) .live { animation-delay: 1.2s; } .agent:nth-child(5) .live { animation-delay: 1.6s; } .agent:nth-child(6) .live { animation-delay: 2s; }
.replaces { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 34px; }
.pill { padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--silver); box-shadow: inset 0 0 0 1px var(--line-2); text-decoration: line-through; text-decoration-color: rgba(255, 138, 31, 0.8); }

/* Feature split (text + image) */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split.rev { grid-template-columns: 1.15fr 1fr; }
.split.rev > :first-child { order: 2; }
@media (max-width: 900px) { .split, .split.rev { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }
.frame {
  position: relative; border-radius: 22px; padding: 8px; background: linear-gradient(160deg, rgba(195, 202, 217, 0.2), rgba(195, 202, 217, 0.03) 45%, rgba(255, 138, 31, 0.1));
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(195, 202, 217, 0.1);
}
.frame img { border-radius: 15px; width: 100%; height: auto; }
.frame .glow { position: absolute; inset: 15% 10%; z-index: -1; background: radial-gradient(circle, rgba(70, 90, 255, 0.55), transparent 65%); filter: blur(60px); }

/* Check list */
.checks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; padding: 18px 20px; border-radius: 16px; background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px var(--line); transition: background 0.3s, box-shadow 0.3s; }
.checks li:hover { background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line-2); }
.checks li b { color: var(--white); font-weight: 600; }
.tick { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(255, 138, 31, 0.14); color: var(--orange); }
.tick svg { width: 16px; height: 16px; }

/* Process */
.process { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.process::before { content: ''; position: absolute; left: 4%; right: 4%; top: 31px; height: 2px; background: var(--line); }
.process .bar { position: absolute; left: 4%; top: 31px; height: 2px; width: calc(92% * var(--p, 0)); background: linear-gradient(90deg, var(--orange), var(--orange-2)); box-shadow: 0 0 18px rgba(255, 138, 31, 0.6); transition: width 0.2s linear; }
.step { position: relative; text-align: center; padding: 0 6px; }
.step .dot {
  position: relative; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center;
  background: var(--indigo-700); box-shadow: inset 0 0 0 1px var(--line-2), 0 0 0 8px var(--indigo-900);
  font: 600 16px/1 var(--font-display); color: var(--silver); transition: color 0.5s, box-shadow 0.5s, background 0.5s;
}
.step.on .dot { color: #1a1206; background: var(--orange); box-shadow: 0 0 0 8px var(--indigo-900), 0 0 30px rgba(255, 138, 31, 0.6); }
.step h4 { font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--silver-2); }
@media (max-width: 860px) {
  .process { grid-template-columns: 1fr; gap: 0; }
  .process::before, .process .bar { left: 31px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; }
  .process .bar { height: calc((100% - 20px) * var(--p, 0)); bottom: auto; }
  .step { display: grid; grid-template-columns: 64px 1fr; gap: 20px; text-align: left; padding: 0 0 30px; }
  .step .dot { margin: 0; }
  .step h4 { margin-top: 10px; }
}

/* Workflow (live, animated) */
.workflow { position: relative; border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 34px); background: linear-gradient(180deg, rgba(20, 27, 77, 0.8), rgba(11, 16, 51, 0.9)); box-shadow: var(--shadow); overflow: hidden; }
.workflow::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(195, 202, 217, 0.16) 1px, transparent 1px); background-size: 22px 22px; opacity: 0.6; pointer-events: none; }
.wf-head { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 18px; }
.wf-head h3 { font-size: clamp(20px, 2.2vw, 26px); }
.wf-head p { color: var(--silver-2); font-size: 15px; }
.wf-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.wf-badge { padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; color: var(--silver); }
.wf-badge b { color: var(--white); }
.wf-svg { position: relative; width: 100%; height: auto; display: block; }
.wf-svg .node rect { fill: rgba(16, 22, 74, 0.95); stroke: rgba(195, 202, 217, 0.28); stroke-width: 1.2; }
.wf-svg .node.start rect { stroke: var(--orange); }
.wf-svg .node.end rect { stroke: rgba(255, 138, 31, 0.6); }
.wf-svg .node text { font-family: var(--font-body); }
.wf-svg .t1 { fill: #fff; font-size: 17px; font-weight: 600; }
.wf-svg .t2 { fill: var(--silver-2); font-size: 13px; }
.wf-svg .n { fill: #1a1206; font-size: 13px; font-weight: 700; }
.wf-svg .badge { fill: var(--orange); }
.wf-svg .badge.silver { fill: var(--silver); }
.wf-svg .wire { fill: none; stroke: rgba(195, 202, 217, 0.35); stroke-width: 2; }
.wf-svg .wire.dash { stroke-dasharray: 6 7; }
.wf-svg .flow { fill: none; stroke: var(--orange); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 22 400; filter: drop-shadow(0 0 6px rgba(255, 138, 31, 0.8)); animation: flow 3.2s linear infinite; }
@keyframes flow { from { stroke-dashoffset: 422; } to { stroke-dashoffset: 0; } }
.wf-svg .label { fill: var(--silver); font-size: 12px; font-family: var(--font-body); }
.wf-svg .node { opacity: 0; transform: translateY(10px); transform-box: fill-box; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.in .wf-svg .node { opacity: 1; transform: none; }
.wf-list { display: none; position: relative; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.wf-list li { position: relative; padding: 0 0 18px 50px; }
.wf-list li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #1a1206; font: 700 13px/1 var(--font-body); }
.wf-list li::after { content: ''; position: absolute; left: 15px; top: 34px; bottom: 2px; width: 2px; background: rgba(195, 202, 217, 0.2); }
.wf-list li:last-child::after { display: none; }
.wf-list b { color: var(--white); display: block; }
.wf-list span { color: var(--silver-2); font-size: 15px; }
.wf-list .alt { color: var(--silver-2); font-size: 14px; margin-top: 4px; }
@media (max-width: 760px) { .wf-svg { display: none; } .wf-list { display: block; } }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details { border-radius: 18px; background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px var(--line); transition: background 0.3s, box-shadow 0.3s; overflow: hidden; }
.faq details[open] { background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font: 600 18px/1.4 var(--font-display); color: var(--white); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 30px; height: 30px; border-radius: 50%; position: relative; box-shadow: inset 0 0 0 1px var(--line-2); transition: transform 0.4s var(--ease), background 0.3s; }
.faq summary .pm::before, .faq summary .pm::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--white); border-radius: 2px; transform: translate(-50%, -50%); }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.4s var(--ease); }
.faq details[open] .pm { background: var(--orange); box-shadow: none; }
.faq details[open] .pm::before, .faq details[open] .pm::after { background: #1a1206; }
.faq details[open] .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .answer { padding: 0 26px 24px; color: var(--silver); }

/* CTA band */
.cta {
  position: relative; border-radius: 36px; padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 80px); text-align: center; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 140% at 50% 0%, #26318a 0%, #141b4d 45%, #0b1033 100%);
  box-shadow: 0 0 0 1px var(--line-2), 0 60px 120px -50px rgba(0, 0, 0, 0.9);
}
.cta::before { /* rotating light border */
  content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--a, 0deg), transparent 0deg, rgba(255, 138, 31, 0.9) 40deg, transparent 90deg, transparent 180deg, rgba(195, 202, 217, 0.7) 220deg, transparent 270deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 8s linear infinite;
}
@property --a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --a: 360deg; } }
.cta h2 { max-width: 760px; margin: 18px auto 18px; }
.cta p { max-width: 560px; margin: 0 auto 34px; }
.cta .rings { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: repeating-radial-gradient(circle at 50% 120%, transparent 0 60px, rgba(195, 202, 217, 0.05) 61px 62px); }

/* Footer */
.footer { position: relative; padding: 70px 0 36px; border-top: 1px solid var(--line); margin-top: clamp(60px, 10vw, 120px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-grid > * { min-width: 0; }
.footer a { overflow-wrap: anywhere; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } .footer a[href^='mailto'] { font-size: 14px; } }
.footer h4 { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--silver-2); font-family: var(--font-body); font-weight: 600; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--white); }
.footer .tagline { margin-top: 16px; max-width: 360px; color: var(--silver-2); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--silver-2); font-size: 14px; }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: clamp(140px, 17vw, 190px) 0 clamp(50px, 7vw, 80px); overflow: hidden; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(40px, 6vw, 76px); margin: 20px 0 22px; max-width: 900px; }

/* Booking */
.book { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
@media (max-width: 920px) { .book { grid-template-columns: 1fr; } }
.steps-mini { display: grid; gap: 14px; margin-top: 34px; }
.steps-mini div { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px var(--line); transition: background 0.4s, box-shadow 0.4s; }
.steps-mini div.on { background: rgba(255, 138, 31, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 138, 31, 0.45); }
.steps-mini .k { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(195, 202, 217, 0.12); color: var(--white); font: 700 14px/1 var(--font-display); flex: none; }
.steps-mini .on .k { background: var(--orange); color: #1a1206; }
.steps-mini b { color: var(--white); display: block; }
.panel { position: relative; border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 42px); background: linear-gradient(180deg, rgba(29, 38, 103, 0.7), rgba(16, 22, 74, 0.7)); box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; color: var(--silver); font-weight: 500; }
.field label .req { color: var(--orange); }
.field input {
  width: 100%; padding: 16px 16px; font: 400 16px/1.2 var(--font-body); color: var(--white);
  background: rgba(7, 11, 36, 0.5); border: 1px solid var(--line-2); border-radius: 14px; outline: none;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.field input::placeholder { color: #69718a; }
.field input:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 138, 31, 0.18); background: rgba(7, 11, 36, 0.7); }
.field input.bad { border-color: #ff6b5a; }
.form .err { min-height: 20px; color: var(--orange-2); font-size: 14px; }
.form .fine { font-size: 13px; color: var(--silver-2); text-align: center; }
.form .fine a { text-decoration: underline; }
.cal-wrap { display: none; min-height: 620px; border-radius: 18px; overflow: hidden; background: rgba(7, 11, 36, 0.4); }
.cal-wrap.on { display: block; }
.done-note { display: none; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; background: rgba(255, 138, 31, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 138, 31, 0.35); color: var(--white); margin-bottom: 16px; }
.done-note.on { display: flex; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(26, 18, 6, 0.3); border-top-color: #1a1206; animation: rot 0.8s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }

/* Prose (privacy) */
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--silver); }
.prose a { color: var(--white); text-decoration: underline; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal.scale { transform: translateY(28px) scale(0.97); }
.reveal.scale.in { transform: none; }

.shot .reveal, .shot .wf-svg .node, .shot .chip, .shot .hero h1 .line > span { opacity: 1; transform: none; transition: none; }
.shot .device { transform: rotateX(4deg); transition: none; }
.shot .header { position: absolute; }

/* Respect people who prefer less motion. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal, .hero h1 .line > span, .chip, .device, .wf-svg .node { opacity: 1 !important; transform: none !important; }
}
