  :root {
    --bg: #f6f8fc;
    --card: #ffffff;
    --ink: #14161e;
    --text: #1c2230;
    --text-2: #5b6478;
    --muted: #65718a;
    --border: rgba(22, 32, 60, 0.10);
    --border-2: rgba(22, 32, 60, 0.16);
    /* Next Wave Build identity */
    --b1: #18c08a;
    --b2: #22d3e6;
    --accent: #087e64;
    --accent-soft: rgba(15, 167, 122, 0.12);
    --accent-bd: rgba(15, 167, 122, 0.30);
    --navy: #0a1126;
    --font-sans: "Inter", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
    --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, ui-monospace, monospace;
  }
  * { box-sizing: border-box; }
  html, body { margin: 0; }
  html { scroll-behavior: smooth; scroll-padding-top: 86px; }
  body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
  }
  ::selection { background: rgba(34, 211, 230, 0.28); }
  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; cursor: pointer; }
  img, svg { display: block; }
  a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #087e64; outline-offset: 5px; }
  .skip-link { position: fixed; top: 10px; left: 16px; z-index: 100; padding: 12px 18px; border-radius: 8px; background: var(--ink); color: #fff; transform: translateY(-160%); }
  .skip-link:focus { transform: none; }

  .wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 clamp(22px, 4vw, 48px); }

  /* ============ NAV (kept as live site) ============ */
  .nav { position: sticky; top: 0; z-index: 50; background: rgba(246, 248, 252, 0.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
  .nav-inner { display: flex; align-items: center; gap: 18px; height: 66px; }
  .lockup { display: flex; align-items: center; gap: 10px; }
  .lockup .word { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
  .lockup .word .sfx { font-weight: 500; color: var(--accent); }
  .nav-links { display: flex; gap: 26px; margin-left: auto; }
  .nav-links a { font-size: 14px; font-weight: 500; color: var(--text-2); transition: color .15s; }
  .nav-links a:hover { color: var(--ink); }
  .nav-cta { margin-left: 8px; }
  .nav-toggle { display: none; border: 1px solid var(--border-2); border-radius: 9px; padding: 9px; background: var(--card); color: var(--ink); }
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 20px; border-radius: 8px; border: none;
    background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap;
    box-shadow: none;
    transition: background .15s, transform .12s, box-shadow .2s;
  }
  .btn:hover { background: #000; box-shadow: none; }
  .btn:active { transform: translateY(1px); }
  .btn.lg { padding: 14px 26px; font-size: 15px; }
  .btn.alt { background: #fff; color: var(--ink); border: 1px solid var(--border-2); box-shadow: none; }
  .btn.alt:hover { background: #fff; border-color: var(--accent); color: var(--accent); }
  @media (max-width: 1120px) {
    .nav-inner { gap: 12px; }
    .nav-cta { margin-left: auto; }
    .nav-toggle { display: inline-flex; }
    .nav-links { display: none; position: absolute; top: 66px; left: 0; right: 0; margin: 0; padding: 18px 24px; background: var(--card); border-bottom: 1px solid var(--border); box-shadow: 0 16px 24px rgba(20, 30, 50, .06); }
    .nav-links.is-open { display: grid; gap: 0; }
    .nav-links a { padding: 13px 0; }
  }
  @media (max-width: 400px) { .nav .btn { padding: 11px 14px; font-size: 12px; } .lockup .word { font-size: 16px; } }
  @media (max-width: 350px) { .nav-inner.wrap { gap: 8px; padding-left: 16px; padding-right: 16px; } .nav .lockup { gap: 7px; } .nav .lockup svg { width: 26px; height: 26px; } .nav .lockup .word { font-size: 14px; } .nav .btn { padding: 10px 12px; font-size: 11px; } .nav-toggle { padding: 7px; } }

  /* ============ HERO ============ */
  .hero { position: relative; overflow: hidden; }
  .hero-orbs { position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background:
      radial-gradient(38% 50% at 12% -6%, rgba(24, 192, 138, 0.20), transparent 60%),
      radial-gradient(40% 52% at 88% -8%, rgba(34, 211, 230, 0.18), transparent 60%),
      radial-gradient(34% 46% at 96% 30%, rgba(244, 168, 214, 0.14), transparent 62%);
  }
  .hero-dots { position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image: radial-gradient(rgba(40, 60, 110, 0.13) 1px, transparent 1.4px);
    background-size: 28px 28px;
    -webkit-mask-image: radial-gradient(120% 65% at 50% 0%, #000 0%, transparent 70%);
    mask-image: radial-gradient(120% 65% at 50% 0%, #000 0%, transparent 70%);
    opacity: 0.5;
  }
  .hero-layout { display: grid; grid-template-columns: 1.06fr 1fr; align-items: center; gap: 44px; padding-top: 76px; padding-bottom: 66px; }
  .hero-inner { position: relative; z-index: 1; min-width: 0; }
  .eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); margin-bottom: 22px; }
  .eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
  h1.hero-title { font-weight: 600; font-size: clamp(36px, 4.1vw, 52px); line-height: 1.09; letter-spacing: -0.035em; color: var(--ink); margin: 0 0 22px; max-width: 20ch; text-wrap: balance; }
  h1.hero-title .grad { background: linear-gradient(120deg, var(--accent), #1597c2); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .hero-sub { font-size: 17px; line-height: 1.65; color: var(--text-2); margin: 0 0 28px; max-width: 510px; text-wrap: pretty; }
  .hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
  .hero-note { font-size: 13px; line-height: 1.6; color: var(--text-2); margin: 18px 0 0; }
  .platform-note { display: flex; align-items: center; gap: 30px; padding-top: 24px; padding-bottom: 24px; border-top: 1px solid var(--border); }
  .platform-note b { flex: 0 0 auto; color: var(--ink); font-size: 14px; }
  .platform-note p { margin: 0; max-width: 680px; font-size: 14px; line-height: 1.65; color: var(--text-2); }
  @media (max-width: 980px) { .hero-layout { grid-template-columns: 1fr; gap: 36px; padding-top: 48px; padding-bottom: 36px; } .hero-inner { text-align: center; } h1.hero-title, .hero-sub { margin-left: auto; margin-right: auto; } .hero-cta { justify-content: center; } .platform-note { flex-direction: column; align-items: flex-start; gap: 8px; } }
  @media (max-width: 540px) { .eyebrow { font-size: 10px; letter-spacing: .10em; } .hero-layout { padding-top: 38px; } .hero-sub { font-size: 16px; } .hero-cta { flex-direction: column; } .btn.lg { padding: 13px 22px; } }

  /* ============ Section scaffold ============ */
  .sec { padding: clamp(54px, 8.5vh, 92px) 0; }
  .sec[id] { scroll-margin-top: 96px; }
  .sec-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
  .sec-eyebrow::before { content: ""; width: 16px; height: 1px; background: var(--accent); opacity: 0.6; }
  .sec-title { font-weight: 600; font-size: clamp(27px, 3vw, 36px); line-height: 1.25; letter-spacing: -0.025em; color: var(--ink); margin: 0 0 14px; max-width: 32ch; text-wrap: balance; }
  .sec-lead { font-size: 16px; line-height: 1.75; color: var(--text-2); margin: 0; max-width: 700px; text-wrap: pretty; }
  .sec-head.center { text-align: center; }
  .sec-head.center .sec-title, .sec-head.center .sec-lead { margin-left: auto; margin-right: auto; }
  .sec-head.center .sec-eyebrow::before { display: none; }

  /* services */
  .svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
  @media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }
  .svc { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 24px 22px; box-shadow: 0 8px 24px rgba(30, 50, 80, 0.03); transition: transform .18s, box-shadow .2s, border-color .18s; }
  .svc:hover { box-shadow: 0 8px 24px rgba(30, 50, 80, 0.03); border-color: var(--accent-bd); }
  .svc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
  .svc-ic { width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); }
  .svc-num { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--muted); }
  .svc h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 8px; }
  .svc p { font-size: 15px; line-height: 1.75; color: var(--text-2); margin: 0; }
  .service-note { margin: 24px 0 0; padding-left: 16px; border-left: 2px solid var(--accent); font-size: 14px; line-height: 1.65; color: var(--text-2); }
  .service-note b { color: var(--ink); }

  /* what you receive strip */
  .receive-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 40px; background: var(--card); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; box-shadow: 0 18px 40px -28px rgba(30,50,110,0.26); }
  @media (max-width: 820px) { .receive-strip { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 460px) { .receive-strip { grid-template-columns: 1fr; } }
  .receive-item { padding: 24px 22px; border-right: 1px solid var(--border); }
  .receive-item:last-child { border-right: none; }
  @media (max-width: 820px) { .receive-item:nth-child(2) { border-right: none; } .receive-item:nth-child(1), .receive-item:nth-child(2) { border-bottom: 1px solid var(--border); } }
  .receive-item .ri { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 13px; }
  .receive-item b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 5px; }
  .receive-item span { font-size: 14px; line-height: 1.7; color: var(--text-2); }

  /* how it works dark */
  .process { background: var(--navy); color: #eaf0ff; overflow: hidden; position: relative; }
  .process .glow { position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: radial-gradient(40% 70% at 10% -10%, rgba(24, 192, 138, 0.24), transparent 60%), radial-gradient(44% 80% at 100% 120%, rgba(34, 211, 230, 0.20), transparent 60%);
  }
  .process .wrap { position: relative; z-index: 1; }
  .process .sec-eyebrow { color: #6fe6c2; }
  .process .sec-eyebrow::before { background: #6fe6c2; }
  .process .sec-title { color: #f3f7ff; }
  .process .sec-lead { color: rgba(225, 232, 250, 0.78); }
  .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 32px; }
  @media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
  .step { border: 1px solid rgba(150, 180, 240, 0.18); border-radius: 14px; padding: 20px 18px; background: rgba(255,255,255,0.03); }
  .step .sn { width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 14px; font-weight: 600; color: var(--navy); background: linear-gradient(135deg, var(--b1), var(--b2)); margin-bottom: 14px; }
  .step h3 { font-size: 17px; font-weight: 600; color: #f3f7ff; margin: 0 0 8px; }
  .step p { font-size: 15px; line-height: 1.75; color: rgba(225, 232, 250, 0.8); margin: 0; }

  /* templates */
  .tpl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
  @media (max-width: 820px) { .tpl-grid { grid-template-columns: 1fr; } }
  .tpl { display: flex; flex-direction: column; gap: 14px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 24px 22px; box-shadow: 0 16px 36px -28px rgba(30,50,110,0.26); transition: transform .18s, box-shadow .2s, border-color .18s; }
  .tpl:hover { border-color: var(--accent-bd); box-shadow: 0 8px 24px rgba(30, 50, 80, 0.03); }
  .tpl .ft { width: 46px; height: 46px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: #fff; }
  .tpl .ft.doc { background: linear-gradient(135deg, #2f7de1, #5b6ef0); }
  .tpl .ft.xls { background: linear-gradient(135deg, #18c08a, #0fa77a); }
  .tpl h3 { font-size: 18px; font-weight: 600; color: var(--ink); margin: 0; }
  .tpl p { font-size: 15px; line-height: 1.75; color: var(--text-2); margin: 0; flex: 1; }
  .tpl .go { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 500; color: var(--accent); }
  .tpl.dark { background: var(--navy); border-color: transparent; position: relative; overflow: hidden; }
  .tpl.dark .glow { position: absolute; inset: 0; background: radial-gradient(60% 90% at 20% 0%, rgba(24,192,138,0.28), transparent 60%), radial-gradient(60% 100% at 100% 100%, rgba(34,211,230,0.22), transparent 60%); }
  .tpl.dark > * { position: relative; z-index: 1; }
  .tpl.dark h3 { color: #f3f7ff; }
  .tpl.dark p { color: rgba(220,230,250,0.78); }
  .tpl.dark .ft { background: rgba(255,255,255,0.12); color: #eafff8; }
  .tpl.dark .go { color: #6fe6c2; }

  /* FAQ */
  .faq { max-width: 760px; margin: 44px auto 0; }
  .qa { border: 1px solid var(--border); border-radius: 14px; background: var(--card); margin-bottom: 12px; overflow: hidden; box-shadow: 0 12px 30px -28px rgba(30,50,110,0.26); }
  .qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 18px 20px; font-size: 15.5px; font-weight: 600; color: var(--ink); }
  .qa summary::-webkit-details-marker { display: none; }
  .qa summary .pm { margin-left: auto; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; transition: transform .2s, background .2s; }
  .qa[open] summary .pm { transform: rotate(45deg); }
  .qa .ans { padding: 0 20px 18px; font-size: 15px; line-height: 1.75; color: var(--text-2); }

  /* final CTA */
  .final { text-align: center; }
  .final-card { position: relative; overflow: hidden; background: var(--navy); border-radius: 24px; padding: clamp(40px, 6vw, 64px) clamp(24px, 5vw, 56px); box-shadow: 0 50px 90px -44px rgba(10, 20, 50, 0.5); }
  .final-card .glow { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(50% 90% at 18% 0%, rgba(24, 192, 138, 0.28), transparent 60%), radial-gradient(50% 100% at 100% 100%, rgba(34, 211, 230, 0.24), transparent 60%); }
  .final-card > * { position: relative; z-index: 1; }
  .final-card h2 { font-weight: 600; font-size: clamp(26px, 3.6vw, 40px); letter-spacing: -0.025em; color: #f5f8ff; margin: 0 auto 14px; max-width: 32ch; text-wrap: balance; }
  .final-card p { font-size: 16px; line-height: 1.6; color: rgba(220, 230, 250, 0.8); margin: 0 auto 28px; max-width: 520px; }
  .final-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
  .btn.glow-btn { background: linear-gradient(135deg, var(--b1), var(--b2)); color: var(--navy); font-weight: 600; }
  .btn.glow-btn:hover { filter: brightness(1.06); }
  .btn.dark-alt { background: rgba(255,255,255,0.08); color: #eaf0ff; border: 1px solid rgba(150,180,240,0.25); box-shadow: none; }
  .btn.dark-alt:hover { background: rgba(255,255,255,0.14); }

  /* ============ FOOTER (kept as live site) ============ */
  .footer { border-top: 1px solid var(--border); margin-top: clamp(36px, 5vh, 64px); }
  .footer-grid { display: grid; grid-template-columns: minmax(240px, 1.45fr) repeat(5, minmax(108px, 0.8fr)); gap: clamp(24px, 4vw, 46px); padding: 48px 0 28px; }
  @media (max-width: 1120px) { .footer-grid { grid-template-columns: 1.2fr repeat(3, minmax(120px, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
  @media (max-width: 680px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
  .footer-brand .lockup { margin-bottom: 16px; }
  .footer-brand p { font-size: 14px; line-height: 1.6; color: var(--text-2); margin: 0 0 14px; max-width: 320px; }
  .footer-brand .copy { font-size: 13px; line-height: 1.55; color: var(--muted); }
  .fcol h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
  .fcol nav { display: flex; flex-direction: column; gap: 12px; }
  .fcol nav a { font-size: 14px; color: var(--text-2); transition: color .15s; width: fit-content; }
  .fcol nav a:hover { color: var(--ink); }
  .fcol nav a.ecosystem-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 20px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: var(--ink);
  }
  .fcol nav.ecosystem-list { gap: 10px; }
  .ecosystem-brand img { display: block; width: 20px; height: 20px; border-radius: 6px; flex: 0 0 auto; }
  .ecosystem-brand .suffix { font-weight: 500; }
  .ecosystem-brand.cloud .suffix { color: #4A58E0; }
  .ecosystem-brand.build .suffix { color: var(--accent); }
  .ecosystem-brand.support .suffix { color: #3D54DE; }
  .ecosystem-brand:hover { opacity: .86; }

  /* entrance: transform-only so content is visible even if animation is paused */
  @keyframes riseIn { from { transform: translateY(16px); } to { transform: none; } }
  @media (prefers-reduced-motion: no-preference) {
    .reveal.in { animation: riseIn .6s cubic-bezier(.2,.7,.2,1) both; }
  }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

  #oracle-stories { scroll-margin-top: 96px; }
  .oracle-stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
  .oracle-story { display: flex; flex-direction: column; padding: 26px 24px; border: 1px solid var(--border); border-radius: 12px; background: var(--card); box-shadow: none; }
  .oracle-story .story-category { margin: 0 0 18px; color: var(--accent); font-size: 13px; font-weight: 600; line-height: 1.5; }
  .oracle-story h3 { margin: 0 0 12px; color: var(--ink); font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
  .oracle-story p { margin: 0 0 24px; color: var(--text-2); font-size: 15px; line-height: 1.75; }
  .oracle-story a { margin-top: auto; color: var(--accent); font-size: 14px; font-weight: 500; line-height: 1.7; text-decoration: underline; text-underline-offset: 4px; }
  .oracle-story a:hover, .story-source a:hover { text-decoration: underline; text-underline-offset: 3px; }
  .story-source { margin-top: 24px; }
  .story-source p { max-width: 840px; margin: 0 0 12px; color: var(--text-2); font-size: 13px; line-height: 1.65; }
  .story-source a { color: var(--accent); font-size: 15px; font-weight: 500; line-height: 1.7; text-decoration: underline; text-underline-offset: 4px; }
  @media (max-width: 760px) { .oracle-stories { grid-template-columns: 1fr; } }

