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

  :root {
    --cyan: #22D3EE;
    --cyan-dark: #06B6D4;
    --cyan-light: rgba(34, 211, 238, 0.12);
    --yellow: rgb(249,202,98);
    --pink: rgb(240,90,148);
    --slate: #020617;
    --slate-800: #0B1220;
    --slate-700: #E2E8F0;
    --slate-400: #CBD5E1;
    --slate-200: rgba(148, 163, 184, 0.22);
    --white: #0B1220;
    --gray-50: #111827;
    --gray-100: #1E293B;
    --gray-700: #CBD5E1;
    --gray-900: #F8FAFC;
    --surface: #0F172A;
    --surface-elevated: #152033;
    --ink: #F8FAFC;
    --muted: #CBD5E1;
    --line: rgba(148, 163, 184, 0.2);
    --font-brand: Sora, system-ui, sans-serif;
    --font-body: 'DM Sans', sans-serif;
  }

  /* Exact match of portal.koltto.com/login .auth-brand */
  .brand-mark {
    font-family: Sora, system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1.1;
    margin: 0;
  }

  html { scroll-behavior: smooth; }

  /* Anchor targets clear fixed nav */
  #hero,
  #logos,
  section[id] {
    scroll-margin-top: 72px;
  }

  body {
    font-family: var(--font-body);
    background: var(--slate);
    color: var(--gray-900);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }

  /* ─── NAV ─── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 18px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
    border-bottom: 1px solid transparent;
  }
  nav.scrolled {
    background: rgba(2, 6, 23, 0.82);
    backdrop-filter: blur(16px);
    border-color: rgba(255,255,255,0.07);
  }

  .nav-logo {
    display: flex; align-items: center;
    text-decoration: none;
  }
  .brand-mark--nav {
    font-size: clamp(1.05rem, 2.2vw, 1.25rem);
    color: #f8fafc;
    transition: color 0.3s;
  }
  nav.scrolled .brand-mark--nav {
    color: #f8fafc;
  }

  .nav-links {
    display: flex; align-items: center; gap: 32px;
    list-style: none;
  }
  .nav-links a {
    text-decoration: none;
    color: #E2E8F0;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: #FFFFFF; }
  nav.scrolled .nav-links a { color: #E2E8F0; }
  nav.scrolled .nav-links a:hover { color: #FFFFFF; }

  .nav-cta {
    display: flex; align-items: center; gap: 12px;
  }
  .btn-nav-secondary {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--slate-400);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
  }
  .btn-nav-secondary:hover { color: #f8fafc; }
  nav.scrolled .btn-nav-secondary { color: var(--slate-400); }
  nav.scrolled .btn-nav-secondary:hover { color: #f8fafc; }

  .btn-nav-primary {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: #02111A;
    background: var(--cyan);
    border: none;
    padding: 9px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
  }
  .btn-nav-primary:hover { background: #67E8F9; transform: translateY(-1px); }

  /* ─── HERO ─── */
  #hero {
    position: relative;
    min-height: 100vh;
    background:
      radial-gradient(90% 60% at 15% -10%, rgba(8, 145, 178, 0.28), transparent 55%),
      radial-gradient(70% 50% at 95% 110%, rgba(14, 165, 233, 0.14), transparent 50%),
      linear-gradient(165deg, #020617 0%, #0B1220 48%, #0F172A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 140px 48px 100px;
  }

  /* dot grid */
  #hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(148, 163, 184, 0.07) 1px, transparent 1px),
      linear-gradient(90deg, rgba(148, 163, 184, 0.07) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, black 20%, transparent 75%);
  }

  /* glow orbs */
  .hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
  }
  .hero-glow-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.16) 0%, transparent 70%);
    top: -100px; left: -150px;
    animation: drift1 8s ease-in-out infinite alternate;
  }
  .hero-glow-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(240,90,148,0.08) 0%, transparent 70%);
    bottom: 50px; right: -50px;
    animation: drift2 10s ease-in-out infinite alternate;
  }
  .hero-glow-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(249,202,98,0.07) 0%, transparent 70%);
    top: 40%; right: 20%;
    animation: drift3 12s ease-in-out infinite alternate;
  }

  @keyframes drift1 { from { transform: translate(0,0); } to { transform: translate(40px, 30px); } }
  @keyframes drift2 { from { transform: translate(0,0); } to { transform: translate(-30px, -40px); } }
  @keyframes drift3 { from { transform: translate(0,0); } to { transform: translate(20px, -20px); } }

  .hero-inner {
    position: relative;
    z-index: 2;
    max-width: 860px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 8px;
    background: rgba(249, 202, 98, 0.1);
    border: 1px solid rgba(249, 202, 98, 0.28);
    border-radius: 100px;
    margin-bottom: 28px;
    color: #FCD34D;
    font-size: 13px;
    font-weight: 500;
  }
  .hero-badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #F59E0B;
    animation: pulse-dot 2s ease-in-out infinite;
  }
  @keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
  }

  .hero-title {
    font-size: clamp(44px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -2px;
    color: #F8FAFC;
    margin-bottom: 28px;
    position: relative;
    z-index: 2;
  }

  .hero-title-line {
    display: block;
  }

  .hero-title .accent-cyan { color: var(--cyan); }
  .hero-title .accent-yellow { color: var(--yellow); }

  .hero-sub {
    font-size: 18px;
    line-height: 1.6;
    color: #E2E8F0;
    max-width: 580px;
    margin: 0 auto 40px;
    font-weight: 400;
    position: relative;
    z-index: 2;
  }

  .hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
  }

  .btn-primary {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: #02111A;
    background: var(--cyan);
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex; align-items: center; gap: 8px;
  }
  .btn-primary:hover { background: #67E8F9; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(34,211,238,0.28); }

  .hero-actions .btn-ghost {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: #E2E8F0;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 13px 24px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
  }
  .hero-actions .btn-ghost:hover {
    color: #F8FAFC;
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.09);
  }

  .hero-social-proof {
    margin-top: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--slate-500);
    font-size: 13px;
  }
  .hero-avatars {
    display: flex;
  }
  .hero-avatar {
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 2px solid #E2F7FB;
    margin-left: -8px;
    background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
    display: flex; align-items: center; justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: white;
  }
  .hero-avatar:first-child { margin-left: 0; }
  .stars { color: var(--yellow); letter-spacing: -1px; }

  /* ─── LOGOS ─── */
  #logos {
    background: #020617;
    padding: 28px 48px;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .logos-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
  }
  .logos-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--white);
    white-space: nowrap;
    flex-shrink: 0;
  }
  .logos-divider {
    width: 1px; height: 24px;
    background: rgba(255,255,255,0.1);
    flex-shrink: 0;
  }
  .logos-list {
    display: flex;
    align-items: center;
    gap: 36px;
    flex-wrap: wrap;
  }
  .logo-pill {
    display: flex; align-items: center; gap: 7px;
    color: rgba(226,232,240,0.88);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: color 0.2s;
  }
  .logo-pill:hover { color: #FFFFFF; }
  .logo-pill svg { opacity: 0.85; }

  .logo-pill--live {
    color: #F1F5F9;
  }

  .logo-pill--soon {
    color: rgba(203,213,225,0.72);
  }

  .logo-pill-badge {
    font-size: 10px;
    font-weight: 600;
    border-radius: 100px;
    padding: 1px 7px;
  }

  .logo-pill-badge--live {
    background: rgba(16,185,129,0.15);
    color: #10B981;
    border: 1px solid rgba(16,185,129,0.25);
  }

  .logo-pill-badge--soon {
    background: rgba(148,163,184,0.08);
    color: rgba(148,163,184,0.5);
    border: 1px solid rgba(148,163,184,0.12);
  }

  /* ─── SECTIONS SHARED ─── */
  section { padding: 100px 48px; }
  .section-inner { max-width: 1100px; margin: 0 auto; }
  .section-label {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--cyan);
    margin-bottom: 16px;
  }
  .section-label::before {
    content: '';
    display: block;
    width: 16px; height: 2px;
    background: var(--cyan);
    border-radius: 2px;
  }
  h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.1;
    color: #F8FAFC;
  }
  h2 .hl { color: var(--cyan); }

  .section-label--accent {
    color: var(--cyan);
  }

  .section-sub {
    font-size: 17px;
    color: #E2E8F0;
    line-height: 1.65;
    max-width: 560px;
    margin-top: 14px;
  }

  /* ─── FEATURES ─── */
  #features { background: #0B1220; }
  .features-header { margin-bottom: 56px; }
  .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .feature-card {
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 32px;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    position: relative;
    overflow: hidden;
  }
  .feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan), #38BDF8);
    opacity: 0;
    transition: opacity 0.2s;
  }
  .feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.28);
    border-color: rgba(34,211,238,0.35);
  }
  .feature-card:hover::before { opacity: 1; }

  .feature-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    font-size: 20px;
  }
  .feature-icon-cyan { background: rgba(34,211,238,0.12); }
  .feature-icon-yellow { background: rgba(249,202,98,0.12); }
  .feature-icon-pink { background: rgba(240,90,148,0.12); }

  .feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #F8FAFC;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
  }
  .feature-card p {
    font-size: 14px;
    line-height: 1.65;
    color: #CBD5E1;
  }

  /* ─── DEMO ─── */
  #demo {
    background: #020617;
    padding: 100px 48px;
  }
  #demo h2 { color: #F8FAFC; }
  #demo .section-sub { color: #E2E8F0; }
  .demo-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    margin-top: 60px;
  }
  .demo-terminal {
    background: #0A1628;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    overflow: hidden;
  }
  .terminal-bar {
    display: flex; align-items: center; gap: 8px;
    padding: 14px 18px;
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .t-dot { width: 10px; height: 10px; border-radius: 50%; }
  .t-red { background: #EF4444; }
  .t-yellow { background: var(--yellow); }
  .t-green { background: #10B981; }
  .terminal-title {
    margin-left: 8px;
    font-size: 12px;
    color: #CBD5E1;
    font-weight: 500;
  }
  .terminal-body { padding: 24px; }
  .chat-msg { margin-bottom: 18px; }
  .chat-msg-user {
    display: flex;
    justify-content: flex-end;
  }
  .chat-bubble {
    max-width: 80%;
    padding: 11px 15px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
  }
  .chat-bubble-user {
    background: var(--cyan);
    color: #02111A;
    font-weight: 500;
    border-radius: 12px 12px 2px 12px;
  }
  .chat-bubble-ai {
    background: rgba(255,255,255,0.06);
    color: #E2E8F0;
    border-radius: 2px 12px 12px 12px;
    border: 1px solid rgba(255,255,255,0.07);
    text-align: left;
  }
  .chat-highlight {
    color: var(--cyan);
    font-weight: 600;
  }
  .chat-saving {
    display: inline-block;
    background: rgba(16,185,129,0.15);
    color: #10B981;
    border-radius: 5px;
    padding: 1px 6px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 4px;
  }
  .chat-cursor {
    display: inline-block;
    width: 7px; height: 12px;
    background: var(--cyan);
    border-radius: 1px;
    animation: blink 1s step-end infinite;
    vertical-align: middle;
    margin-left: 2px;
  }
  @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

  /* Chat demo typewriter (static/chat-demo.js) */
  #demo.chat-demo--initialized .chat-msg {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
  }
  #demo.chat-demo--initialized .chat-msg.chat-msg--visible {
    opacity: 1;
    transform: translateY(0);
  }
  .demo-steps { display: flex; flex-direction: column; gap: 32px; }
  .demo-step {
    display: flex; gap: 20px; align-items: flex-start;
  }
  .step-num {
    flex-shrink: 0;
    width: 36px; height: 36px;
    border-radius: 10px;
    background: rgba(6,182,212,0.12);
    border: 1px solid rgba(6,182,212,0.25);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--cyan);
  }
  .step-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 6px;
    letter-spacing: -0.2px;
  }
  .step-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #CBD5E1;
  }
  .step-badge {
    display: inline-block;
    background: rgba(249,202,98,0.12);
    color: var(--yellow);
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 100px;
    margin-top: 8px;
    border: 1px solid rgba(249,202,98,0.2);
  }

  .step-badge--pink {
    background: rgba(240,90,148,0.1);
    color: rgb(240,90,148);
    border-color: rgba(240,90,148,0.2);
  }

  /* ─── STATS ─── */
  #stats {
    background: linear-gradient(135deg, #0E7490 0%, #0891B2 45%, #0369A1 100%);
    padding: 72px 48px;
  }
  .stats-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
  .stat-item {
    text-align: center;
    padding: 0 32px;
    border-right: 1px solid rgba(255,255,255,0.2);
  }
  .stat-item:last-child { border-right: none; }
  .stat-num {
    font-size: 52px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 8px;
  }
  .stat-num sup { font-size: 28px; vertical-align: super; letter-spacing: 0; }

  .stat-num--roadmap {
    font-size: 28px;
    letter-spacing: -1px;
    padding-top: 12px;
  }

  .stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.88);
    font-weight: 500;
  }

  /* ─── WAITLIST ─── */
  #waitlist { background: #0B1220; }
  .waitlist-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }
  .waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 32px;
    position: relative;
  }
  .waitlist-form-error {
    font-size: 14px;
    font-weight: 500;
    color: #FB7185;
    margin: 0 0 4px;
    line-height: 1.4;
  }
  .form-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .form-group { display: flex; flex-direction: column; gap: 6px; }
  .form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #E2E8F0;
  }
  .form-group input, .form-group textarea, .form-group select {
    font-family: var(--font-body);
    font-size: 14px;
    padding: 11px 14px;
    border: 1.5px solid var(--line);
    border-radius: 9px;
    background: rgba(15, 23, 42, 0.85);
    color: #F8FAFC;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    resize: none;
  }
  .form-group input::placeholder,
  .form-group textarea::placeholder {
    color: #94A3B8;
  }
  .form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: rgba(34, 211, 238, 0.55);
    box-shadow: 0 0 0 3px rgba(34,211,238,0.14);
  }
  .form-group textarea { min-height: 90px; }
  .btn-submit {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: #02111A;
    background: var(--cyan);
    border: none;
    padding: 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex; align-items: center; justify-content: center; gap: 8px;
  }
  .btn-submit:hover { background: #67E8F9; transform: translateY(-1px); }

  .waitlist-visual {
    position: relative;
  }
  .waitlist-card {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.28);
  }
  .waitlist-card-header {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 20px;
  }
  .wc-dot { width: 8px; height: 8px; border-radius: 50%; background: #10B981; }
  .wc-title { font-size: 13px; font-weight: 600; color: #F8FAFC; }
  .wc-sub { font-size: 12px; color: #CBD5E1; margin-left: auto; }
  .savings-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  }
  .savings-row:last-child { border-bottom: none; }
  .savings-service { display: flex; align-items: center; gap: 10px; }
  .savings-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
  }

  .savings-icon--aws {
    background: rgba(255,153,0,0.12);
    color: #FF9900;
  }

  .savings-icon--gcp {
    background: rgba(66,133,244,0.12);
    color: #60A5FA;
  }

  .savings-icon--azure {
    background: rgba(0,120,212,0.12);
    color: #38BDF8;
  }

  .savings-icon--s3 {
    background: rgba(34,211,238,0.12);
    color: #22D3EE;
  }

  .savings-name { font-size: 13px; font-weight: 500; color: #F1F5F9; }
  .savings-tag { font-size: 11px; color: #CBD5E1; }
  .savings-amount {
    font-size: 14px;
    font-weight: 700;
    color: #34D399;
  }
  .savings-pct {
    font-size: 11px;
    color: #CBD5E1;
    text-align: right;
  }
  .wc-total {
    margin-top: 16px;
    padding: 14px;
    background: linear-gradient(135deg, rgba(34,211,238,0.1) 0%, rgba(8,145,178,0.12) 100%);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: space-between;
    border: 1px solid rgba(34,211,238,0.2);
  }
  .wc-total-label { font-size: 13px; font-weight: 600; color: #F8FAFC; }
  .wc-total-num { font-size: 22px; font-weight: 700; color: var(--cyan); letter-spacing: -0.5px; }

  /* ─── FOOTER ─── */
  footer {
    background: #020617;
    padding: 56px 48px 32px;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  .footer-inner { max-width: 1100px; margin: 0 auto; }
  .footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 32px;
  }
  .footer-brand { max-width: 280px; }
  .footer-logo {
    display: flex; align-items: center;
    text-decoration: none;
    margin-bottom: 12px;
  }

  .brand-mark--footer {
    font-size: clamp(1.85rem, 5vw, 2.25rem);
    color: #f8fafc;
  }
  .footer-tagline { font-size: 13px; color: #CBD5E1; line-height: 1.6; }
  .footer-links-group h5 {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #CBD5E1;
    margin-bottom: 14px;
  }
  .footer-links-group a {
    display: block;
    text-decoration: none;
    color: #E2E8F0;
    font-size: 13px;
    margin-bottom: 10px;
    transition: color 0.2s;
  }
  .footer-links-group a:hover { color: #FFFFFF; }
  .footer-bottom {
    display: flex; align-items: center; justify-content: space-between;
  }
  .footer-copy { font-size: 12px; color: #CBD5E1; }
  .footer-socials { display: flex; gap: 14px; }
  .footer-socials a {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
    text-decoration: none;
    color: var(--slate-400);
  }
  .footer-socials a:hover { background: rgba(6,182,212,0.2); color: var(--cyan); }

  /* ─── ANIMATIONS ─── */
  .fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .fade-up:nth-child(2) { transition-delay: 0.1s; }
  .fade-up:nth-child(3) { transition-delay: 0.2s; }

  /* ─── RESPONSIVE ─── */
  /* Prevent flex/grid children from forcing horizontal overflow */
  .demo-layout > *,
  .waitlist-layout > *,
  .demo-terminal {
    min-width: 0;
  }

  @media (max-width: 1024px) {
    nav {
      padding: 16px 28px;
    }

    #hero {
      padding: 120px 28px 80px;
      min-height: min(100vh, 900px);
    }

    section {
      padding: 72px 28px;
    }

    #demo {
      padding: 72px 28px;
    }

    #logos {
      padding: 24px 28px;
    }

    #stats {
      padding: 56px 28px;
    }

    footer {
      padding: 48px 28px 28px;
    }

    .features-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
    }

    .feature-card {
      padding: 26px;
    }

    .demo-layout {
      grid-template-columns: 1fr;
      gap: 40px;
      margin-top: 48px;
    }

    .demo-steps {
      max-width: 560px;
      margin: 0 auto;
    }

    .waitlist-layout {
      grid-template-columns: 1fr;
      gap: 48px;
      align-items: stretch;
    }

    .stats-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 32px 24px;
    }

    .stat-item {
      border-right: none;
      padding: 0 16px;
    }

    .stat-item:nth-child(-n + 2) {
      padding-bottom: 24px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .footer-top {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px 32px;
      align-items: flex-start;
    }

    .footer-brand {
      grid-column: 1 / -1;
      max-width: none;
    }
  }

  @media (max-width: 768px) {
    #hero,
    #logos,
    section[id] {
      scroll-margin-top: 64px;
    }

    nav {
      padding: 14px 18px;
      flex-wrap: wrap;
      gap: 12px;
    }

    .nav-links {
      display: none;
    }

    .nav-cta {
      margin-left: auto;
    }

    .btn-nav-primary {
      font-size: 13px;
      padding: 8px 14px;
      white-space: nowrap;
    }

    .brand-mark--nav {
      font-size: 1.05rem;
    }

    #hero {
      padding: 100px 18px 64px;
    }

    .hero-title {
      letter-spacing: -1.2px;
    }

    .hero-sub {
      font-size: 16px;
      margin-bottom: 32px;
    }

    .hero-actions {
      flex-direction: column;
      width: 100%;
      max-width: 360px;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-ghost {
      width: 100%;
      justify-content: center;
    }

    section {
      padding: 56px 18px;
    }

    #demo {
      padding: 56px 18px;
    }

    #logos {
      padding: 20px 18px;
    }

    .logos-inner {
      flex-direction: column;
      align-items: flex-start;
      gap: 16px;
    }

    .logos-divider {
      display: none;
    }

    .logos-list {
      gap: 12px 20px;
    }

    .features-header {
      margin-bottom: 36px;
    }

    .features-grid {
      grid-template-columns: 1fr;
    }

    .section-sub {
      font-size: 16px;
    }

    h2 br {
      display: none;
    }

    .terminal-bar {
      flex-wrap: wrap;
      gap: 6px 8px;
    }

    .terminal-title {
      flex: 1 1 100%;
      margin-left: 0;
      font-size: 11px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .terminal-body {
      padding: 18px 16px;
    }

    .chat-bubble {
      max-width: 92%;
      font-size: 12px;
      padding: 10px 12px;
    }

    .demo-step {
      gap: 14px;
    }

    #stats {
      padding: 40px 18px;
    }

    .stats-grid {
      grid-template-columns: 1fr;
      gap: 0;
    }

    .stat-item {
      padding: 20px 12px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .stat-item:last-child {
      border-bottom: none;
    }

    .stat-num {
      font-size: 40px;
    }

    .stat-num--roadmap {
      font-size: 22px;
      padding-top: 8px;
    }

    .stat-num sup {
      font-size: 22px;
    }

    #waitlist {
      padding-left: 0;
      padding-right: 0;
    }

    #waitlist .section-inner {
      padding: 0 18px;
    }

    .form-row {
      grid-template-columns: 1fr;
    }

    /* 16px+ inputs avoid iOS Safari zoom on focus */
    .form-group input,
    .form-group textarea,
    .form-group select {
      font-size: 16px;
    }

    .savings-row {
      flex-direction: column;
      align-items: stretch;
      gap: 10px;
    }

    .savings-row > div:last-child {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: baseline;
      width: 100%;
    }

    .footer-top {
      grid-template-columns: repeat(2, 1fr);
    }

    .footer-brand {
      grid-column: 1 / -1;
    }

    .footer-bottom {
      flex-direction: column;
      align-items: flex-start;
      gap: 16px;
    }
  }

  @media (max-width: 380px) {
    .btn-nav-primary {
      font-size: 12px;
      padding: 8px 12px;
    }

    .logo-pill {
      font-size: 14px;
    }

    .wc-total {
      flex-direction: column;
      align-items: flex-start;
      gap: 8px;
    }
  }
