
/* Homepage light redesign from docs/requirements/NWave Cloud Home Light (standalone).html */
.home-light::before,
.home-light::after { display: none; }
.home-light .hero {
  display: block;
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  gap: 0;
  place-items: initial;
  isolation: auto;
  text-align: initial;
}
.home-light .nav-cta {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: inherit !important;
  box-shadow: none;
  font-weight: inherit;
}
.home-light .nav-cta::after { content: none; }
.home-light .hero h1 { color: var(--text); }
.home-light .skip-link { z-index: 100; }

:root {
    --bg: #f6f8fd;
    --bg-2: #eef2fa;
    --surface: #ffffff;
    --surface-2: #f4f7fc;
    --surface-3: #eaeff8;
    --border: rgba(20, 34, 80, 0.10);
    --border-2: rgba(20, 34, 80, 0.16);
    --text: #0f1424;
    --text-2: #515a73;
    --muted: #8b94ad;
    --cyan: #0f91a8;
    --indigo: #4f5bd5;
    --accent: #4f5bd5;
    --accent-soft: rgba(79, 91, 213, 0.12);
    --button-dark: #111318;
    --button-dark-hover: #191c22;
    --ok: #12b58f;
    --grad: linear-gradient(120deg, #1bb3c4, #4f5bd5);
    --font-sans: "Google Sans", "Product Sans", "Aptos", "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; }
  body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
  }
  ::selection { background: rgba(79, 91, 213, 0.22); }
  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; cursor: pointer; }
  img, svg { display: block; }

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

  /* ============ NAV ============ */
  .nav { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, 0.80); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
  .nav-inner { display: flex; align-items: center; gap: 18px; height: 68px; }
  .lockup { display: flex; align-items: center; gap: 10px; }
  .brand-lockup { width: 210px; height: auto; }
  .lockup .word { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; color: var(--text); }
  .lockup .word .sfx { font-weight: 400; color: var(--text-2); }
  .nav-links { display: flex; gap: 28px; 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(--text); }
  .nav-cta { margin-left: 26px; display: flex; gap: 12px; align-items: center; }
  .btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; border: none; font-size: 14px; font-weight: 600; white-space: nowrap; transition: transform .12s, box-shadow .2s, filter .15s, background .15s; }
  .btn.primary { background: var(--button-dark); color: #fff; box-shadow: 0 14px 30px -16px rgba(17, 19, 24, 0.58); }
  .btn.primary:hover { background: var(--button-dark-hover); box-shadow: 0 18px 34px -16px rgba(17, 19, 24, 0.6); }
  .btn.primary:active { transform: translateY(1px); }
  .btn.ghost { background: #fff; color: var(--text); border: 1px solid var(--border-2); }
  .btn.ghost:hover { background: var(--surface-2); }
  .btn.lg { padding: 14px 26px; font-size: 15px; }
  .btn .arr { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,0.22); }
  @media (max-width: 880px) { .nav-links { display: none; } .nav-cta { margin-left: auto; } .nav-cta .ghost { display: none; } }
  @media (max-width: 460px) { .brand-lockup { width: 168px; } .nav-inner { gap: 12px; } .nav-cta .btn { padding-inline: 16px; } }

  /* ============ HERO ============ */
  .hero { position: relative; overflow: hidden; }
  #particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
  .hero-veil { position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
      radial-gradient(60% 60% at 50% 0%, rgba(79, 91, 213, 0.10), transparent 60%),
      radial-gradient(40% 50% at 100% 10%, rgba(27, 179, 196, 0.10), transparent 60%),
      linear-gradient(180deg, transparent 50%, var(--bg) 100%);
  }
  .hero-inner { position: relative; z-index: 2; text-align: center; padding: clamp(64px, 12vh, 130px) 0 clamp(56px, 9vh, 104px); }
  .pill-tag { display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: 12.5px; font-weight: 500; color: var(--text-2); margin-bottom: 26px; }
  .pill-tag .d { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(52,227,208,0.16); }
  h1.hero-title { font-weight: 600; font-size: clamp(38px, 6.4vw, 72px); line-height: 1.02; letter-spacing: -0.035em; margin: 0 auto 22px; max-width: 16ch; text-wrap: balance; }
  h1.hero-title .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .hero-sub { font-size: 18px; line-height: 1.6; color: var(--text-2); margin: 0 auto 32px; max-width: 600px; text-wrap: pretty; }
  .hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

  /* build/run/grow triad */
  .triad { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; max-width: 880px; margin: 0 auto; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--border); }
  @media (max-width: 680px) { .triad { grid-template-columns: 1fr; } }
  .triad .t { background: rgba(255, 255, 255, 0.72); backdrop-filter: blur(8px); padding: 22px 24px; }
  .triad .t .k { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
  .triad .t .k .ic { color: var(--cyan); display: flex; }
  .triad .t p { font-size: 13px; line-height: 1.5; color: var(--text-2); margin: 0; }

  /* ============ Section scaffold ============ */
  .sec { position: relative; padding: clamp(58px, 9vh, 100px) 0; }
  .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(--cyan); margin: 0 0 14px; }
  .sec-eyebrow::before { content: ""; width: 16px; height: 1px; background: var(--cyan); opacity: 0.6; }
  .sec-title { font-weight: 600; font-size: clamp(27px, 3.6vw, 40px); line-height: 1.12; letter-spacing: -0.028em; color: var(--text); margin: 0 0 14px; max-width: 24ch; text-wrap: balance; }
  .sec-lead { font-size: 16px; line-height: 1.6; color: var(--text-2); margin: 0; max-width: 620px; 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; }

  .card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }

  /* deployment paths */
  .deploy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
  @media (max-width: 880px) { .deploy { grid-template-columns: 1fr; } }
  .dep { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 26px 24px; transition: transform .18s, border-color .18s, box-shadow .2s; }
  .dep:hover { transform: translateY(-3px); border-color: var(--border-2); box-shadow: 0 30px 60px -34px rgba(20,34,80,0.18); }
  .dep .ic { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--cyan); margin-bottom: 18px; }
  .dep h3 { font-size: 17px; font-weight: 600; color: var(--text); margin: 0 0 9px; letter-spacing: -0.01em; }
  .dep p { font-size: 14px; line-height: 1.58; color: var(--text-2); margin: 0; }

  /* stack chips */
  .stack { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
  .chip { display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }
  .chip .cd { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
  .chip b { font-size: 13.5px; font-weight: 600; color: var(--text); }
  .chip span { font-size: 12.5px; color: var(--muted); }

  /* operations + healthy card */
  .ops-grid { display: grid; grid-template-columns: 1fr 380px; gap: clamp(28px, 4vw, 56px); align-items: center; margin-top: 8px; }
  @media (max-width: 900px) { .ops-grid { grid-template-columns: 1fr; } }
  .ops-list { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
  .ops-item { display: flex; gap: 15px; }
  .ops-item .oi { width: 40px; height: 40px; border-radius: 11px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--cyan); }
  .ops-item h4 { font-size: 15.5px; font-weight: 600; color: var(--text); margin: 2px 0 5px; }
  .ops-item p { font-size: 13.5px; line-height: 1.55; color: var(--text-2); margin: 0; }

  .health { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border-2); border-radius: 20px; padding: 24px; box-shadow: 0 40px 80px -40px rgba(20,34,80,0.22); }
  .h-top { display: flex; align-items: center; justify-content: space-between; }
  .h-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); }
  .h-live { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(52,227,208,0.16); animation: pulse 2.6s ease-in-out infinite; }
  @keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
  @media (prefers-reduced-motion: reduce) { .h-live { animation: none; } }
  .h-big { font-size: 48px; font-weight: 700; letter-spacing: -0.03em; color: var(--text); margin-top: 12px; line-height: 1; }
  .h-big .pct { font-size: 28px; color: var(--text-2); }
  .h-biglbl { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
  .h-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 16px 0 18px; }
  .h-chip { font-size: 11.5px; font-weight: 500; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--border); padding: 5px 10px; border-radius: 7px; }
  .h-bars { display: flex; flex-direction: column; gap: 11px; }
  .h-bar-row { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 12px; }
  .h-bar-lbl { font-size: 12px; color: var(--text-2); }
  .h-bar-track { height: 7px; border-radius: 6px; background: #e9edf6; overflow: hidden; }
  .h-bar-fill { display: block; height: 100%; border-radius: 6px; background: var(--grad); }
  .h-rows { margin-top: 18px; border-top: 1px solid var(--border); padding-top: 4px; }
  .h-row { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--border); }
  .h-row:last-child { border-bottom: none; }
  .h-row .k { font-size: 13px; color: var(--text-2); }
  .h-row .k em { font-style: normal; color: var(--muted); font-size: 11px; margin-left: 6px; }
  .h-row .v { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--text); }

  /* pricing */
  .price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; align-items: stretch; }
  @media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; } }
  .plan { min-height: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 26px 24px; display: flex; flex-direction: column; }
  .plan.feat { border-color: transparent; background: linear-gradient(180deg, var(--surface-2), var(--surface)); position: relative; box-shadow: 0 36px 70px -38px rgba(34,211,230,0.4); }
  .plan.feat::before { content: ""; position: absolute; inset: 0; border-radius: 18px; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
  .plan-tag { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; color: var(--cyan); }
  .plan-flag { float: right; font-size: 11px; font-weight: 600; color: #fff; background: var(--accent); padding: 3px 10px; border-radius: 999px; }
  .plan h3 { font-size: 18px; font-weight: 600; color: var(--text); letter-spacing: -0.01em; margin: 16px 0 6px; }
  .plan .who { font-size: 13px; color: var(--muted); margin: 0 0 16px; }
  .plan p.desc { font-size: 13.5px; line-height: 1.55; color: var(--text-2); margin: 0 0 18px; }
  .plan ul { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 11px; flex: 1; }
  .plan li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.45; color: var(--text-2); }
  .plan li svg { flex: 0 0 auto; color: var(--ok); margin-top: 2px; }
  .plan .btn { width: 100%; justify-content: center; margin-top: auto; }
  .plan.feat .btn.ghost { background: var(--button-dark); color: #fff; border: none; box-shadow: 0 14px 30px -16px rgba(17, 19, 24, 0.58); }
  .plan.feat .btn.ghost:hover { background: var(--button-dark-hover); }
  /* singular-shade headline accent (Antigravity-style) */
  h1.hero-title .grad, .final-card h2 .grad { background: none; color: var(--accent); -webkit-text-fill-color: var(--accent); }

  /* migration */
  .mig { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
  @media (max-width: 820px) { .mig { grid-template-columns: 1fr; } }
  .mig-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  @media (max-width: 460px) { .mig-list { grid-template-columns: 1fr; } }
  .mig-item { display: flex; align-items: center; gap: 11px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; font-size: 13.5px; font-weight: 500; color: var(--text); }
  .mig-item svg { color: var(--cyan); flex: 0 0 auto; }

  /* final cta */
  .final { text-align: center; }
  .final-card { position: relative; overflow: hidden; border-radius: 24px; padding: clamp(44px, 7vw, 72px) clamp(24px, 5vw, 56px); border: 1px solid var(--border-2); background: linear-gradient(160deg, var(--surface-2), var(--bg-2)); }
  .final-card .glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(55% 90% at 20% 0%, rgba(79,124,255,0.28), transparent 60%), radial-gradient(55% 100% at 100% 100%, rgba(34,211,230,0.22), transparent 60%); }
  .final-card > * { position: relative; z-index: 1; }
  .final-card h2 { font-weight: 600; font-size: clamp(28px, 4vw, 46px); letter-spacing: -0.03em; margin: 0 auto 26px; max-width: 16ch; text-wrap: balance; }
  .final-card h2 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

  /* footer */
  .footer { border-top: 1px solid var(--border); }
  .footer-grid { display: grid; grid-template-columns: minmax(240px, 1.5fr) repeat(5, minmax(100px, 1fr)); gap: 30px; padding: 52px 0 28px; }
  @media (max-width: 880px) { .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: 12.5px; line-height: 1.55; color: var(--muted); }
  .fcol h4 { font-size: 11px; font-weight: 600; letter-spacing: 0.13em; 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(--text); }
  .fcol nav.ecosystem-list { gap: 10px; }
  .fcol nav a.ecosystem-brand { display: inline-flex; align-items: center; gap: 8px; min-height: 20px; font-size: 14px; font-weight: 500; color: var(--text); }
  .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: #18A77C; }
  .ecosystem-brand.support .suffix { color: #3D54DE; }
  .ecosystem-brand:hover { opacity: .86; }
  .footer-base { border-top: 1px solid var(--border); padding: 18px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
  .footer-base a { color: var(--muted); }
  .footer-base a:hover { color: var(--text-2); }

  /* entrance - transform-only */
  @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; }
  }
