/* landing.css — Appier Enterprise MCP landing page.
   Assembled from the Claude Design export (AEP-7044):
   design-system tokens (colors_and_type.css) + page styles (styles.css),
   with unused hero/chat/diagram/social variant rules dropped.
   Install pages keep using assets/style.css. */

/* ============================================================
   APPIER DESIGN SYSTEM — CORE TOKENS
   Source: Appier Brand Guidelines, March 2025

   Tokens are organized as:
   (1) BASE — raw palette + font stacks (do not use directly in
       product UI unless a semantic token is missing)
   (2) SEMANTIC — what you should use in components: --color-fg-*,
       --color-bg-*, --color-accent-*, --type-h1, --type-body, etc.
   ============================================================ */

/* ============ 1. FONTS ============ */
/* Open Sans (primary) + Noto Sans CJK fallbacks are loaded from Google Fonts
   via <link> tags in index.html, so this file stays free of render-blocking
   @imports. */

:root {
  /* ============ 2. BASE COLORS — Extended Palette ============ */
  /* Pulled directly from the brand book extended scale slides (8, 10-12).
     The scale is centesimal-ish: -100 is darkest, -0/00 is white. */

  /* Brand Blue */
  --color-blue-100: #001887;
  --color-blue-90:  #0321AA;  /* Appier logo blue (PANTONE 2736 C) */
  --color-blue-80:  #0032E0;
  --color-blue-70:  #0E4EFF;
  --color-blue-60:  #296AFF;  /* Product / primary action blue */
  --color-blue-50:  #4886FF;
  --color-blue-40:  #70A0FF;
  --color-blue-30:  #98BBFF;
  --color-blue-20:  #C1D6FF;
  --color-blue-10:  #DFEAFF;

  /* Neutral */
  --color-neutral-100: #000A3A;  /* Product logo darkmark */
  --color-neutral-90:  #1A234E;  /* Primary body / heading */
  --color-neutral-80:  #333B61;
  --color-neutral-70:  #4D5475;
  --color-neutral-60:  #666C89;
  --color-neutral-50:  #80849C;
  --color-neutral-40:  #999DB0;
  --color-neutral-30:  #B3B6C4;
  --color-neutral-20:  #CCCED8;
  --color-neutral-15:  #D9DAE1;
  --color-neutral-10:  #E5E7EB;
  --color-neutral-5:   #F2F3F5;
  --color-neutral-0:   #FFFFFF;

  /* Red */
  --color-red-100: #BB0039;
  --color-red-90:  #D40041;
  --color-red-80:  #E50649;
  --color-red-70:  #F50F54;
  --color-red-60:  #FF2969;
  --color-red-50:  #FF457D;
  --color-red-40:  #FF6998;
  --color-red-30:  #FF95B6;
  --color-red-20:  #FFC2D5;
  --color-red-10:  #FFE7EE;

  /* Orange */
  --color-orange-100: #AC4A00;
  --color-orange-90:  #C05301;
  --color-orange-80:  #D85D00;
  --color-orange-70:  #EE6600;
  --color-orange-60:  #FF7711;
  --color-orange-50:  #FF8930;
  --color-orange-40:  #FFA25B;
  --color-orange-30:  #FFBC89;
  --color-orange-20:  #FFD0AC;
  --color-orange-10:  #FFE6D3;

  /* Yellow */
  --color-yellow-100: #977601;
  --color-yellow-90:  #AD8700;
  --color-yellow-80:  #BF9500;
  --color-yellow-70:  #DDAD01;
  --color-yellow-60:  #EDB900;
  --color-yellow-50:  #FFC700;
  --color-yellow-40:  #FFD610;   /* Primary yellow accent */
  --color-yellow-30:  #FFE257;
  --color-yellow-20:  #FFF48F;
  --color-yellow-10:  #FFFBC5;

  /* Green */
  --color-green-100: #006937;
  --color-green-90:  #008646;
  --color-green-80:  #00A154;
  --color-green-70:  #00B574;
  --color-green-60:  #00C880;   /* Primary green accent */
  --color-green-50:  #00DC9A;
  --color-green-40:  #00EF99;
  --color-green-30:  #03FEA4;
  --color-green-20:  #73FFCD;
  --color-green-10:  #C7FFEB;

  /* Azure */
  --color-azure-100: #00427E;
  --color-azure-90:  #0054A1;
  --color-azure-80:  #0172C3;
  --color-azure-70:  #008FDF;
  --color-azure-60:  #00A4EB;
  --color-azure-50:  #00BBF5;
  --color-azure-40:  #29D4FF;   /* Primary azure accent */
  --color-azure-30:  #77E1FC;
  --color-azure-20:  #A7EDFE;
  --color-azure-10:  #DCF8FF;

  /* Purple */
  --color-purple-100: #4D00DC;
  --color-purple-90:  #5700F6;
  --color-purple-80:  #6613FF;
  --color-purple-70:  #7429FF;  /* Primary purple accent */
  --color-purple-60:  #8341FF;
  --color-purple-50:  #9358FF;
  --color-purple-40:  #A16FFF;
  --color-purple-30:  #AF85FF;
  --color-purple-20:  #C7AAFF;
  --color-purple-10:  #E0D0FF;

  /* ============ 3. SEMANTIC COLOR TOKENS ============ */
  /* Use these in product, decks, mocks. Light theme defaults. */

  /* Foreground (text & icon) */
  --fg-primary:    var(--color-neutral-90);  /* body, headings */
  --fg-secondary:  var(--color-neutral-70);  /* subtitles, captions */
  --fg-tertiary:   var(--color-neutral-50);  /* placeholder, helper */
  --fg-disabled:   var(--color-neutral-30);
  --fg-inverse:    var(--color-neutral-0);   /* on dark / blue */
  --fg-brand:      var(--color-blue-90);     /* link / brand text */

  /* Background */
  --bg-canvas:     var(--color-neutral-0);   /* default page bg */
  --bg-subtle:     var(--color-neutral-5);   /* alt sections */
  --bg-muted:      var(--color-neutral-10);
  --bg-inverse:    var(--color-neutral-100); /* dark hero */
  --bg-brand:      var(--color-blue-90);     /* full-bleed brand bg */
  --bg-brand-soft: var(--color-blue-10);     /* tinted brand region */

  /* Border / hairline */
  --border-subtle:  var(--color-neutral-10);
  --border-default: var(--color-neutral-20);
  --border-strong:  var(--color-neutral-40);
  --border-brand:   var(--color-blue-60);

  /* Action / accent */
  --accent-primary:        var(--color-blue-60);   /* primary CTA, focus */
  --accent-primary-hover:  var(--color-blue-70);
  --accent-primary-press:  var(--color-blue-80);
  --accent-on-primary:     var(--color-neutral-0);

  /* Status / semantic */
  --status-success: var(--color-green-60);
  --status-warning: var(--color-yellow-40);
  --status-danger:  var(--color-red-60);
  --status-info:    var(--color-azure-50);

  /* ============ 4. TYPOGRAPHY ============ */
  --font-sans: 'Open Sans', 'Noto Sans', 'Noto Sans TC', 'Noto Sans JP',
               'Noto Sans KR', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  /* Brand spec lists only Open Sans + Noto Sans. There is no mono brand font;
     we fall back to a tasteful default for code/data. */
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', ui-monospace, Menlo, monospace;

  /* Type scale — 1.25 ratio anchored at 16px body.
     Weights: Light 300, Regular 400, SemiBold 600, Bold 700. */
  --type-display-size: 64px;
  --type-display-line: 1.05;
  --type-display-weight: 700;
  --type-display-tracking: -0.02em;

  --type-h1-size: 48px;
  --type-h1-line: 1.1;
  --type-h1-weight: 700;
  --type-h1-tracking: -0.015em;

  --type-h2-size: 36px;
  --type-h2-line: 1.15;
  --type-h2-weight: 700;
  --type-h2-tracking: -0.01em;

  --type-h3-size: 28px;
  --type-h3-line: 1.2;
  --type-h3-weight: 600;
  --type-h3-tracking: -0.005em;

  --type-h4-size: 22px;
  --type-h4-line: 1.3;
  --type-h4-weight: 600;

  --type-body-lg-size: 18px;
  --type-body-lg-line: 1.55;
  --type-body-lg-weight: 400;

  --type-body-size: 16px;
  --type-body-line: 1.55;
  --type-body-weight: 400;

  --type-body-sm-size: 14px;
  --type-body-sm-line: 1.5;
  --type-body-sm-weight: 400;

  --type-caption-size: 12px;
  --type-caption-line: 1.4;
  --type-caption-weight: 400;
  --type-caption-tracking: 0.02em;

  --type-eyebrow-size: 12px;
  --type-eyebrow-line: 1;
  --type-eyebrow-weight: 700;
  --type-eyebrow-tracking: 0.12em;
  --type-eyebrow-transform: uppercase;

  /* ============ 5. SPACING & RADII ============ */
  /* 4 px base unit. Use named tokens, not raw px, in components. */
  --space-0:   0;
  --space-1:   4px;
  --space-2:   8px;
  --space-3:   12px;
  --space-4:   16px;
  --space-5:   20px;
  --space-6:   24px;
  --space-8:   32px;
  --space-10:  40px;
  --space-12:  48px;
  --space-16:  64px;
  --space-20:  80px;
  --space-24:  96px;

  --radius-0:    0;
  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-pill: 999px;
  --radius-circle: 50%;

  /* ============ 6. ELEVATION / SHADOW ============ */
  /* Light, blue-tinted shadows — Appier UI keeps elevation soft. */
  --shadow-xs: 0 1px 2px rgba(26, 35, 78, 0.06);
  --shadow-sm: 0 2px 6px rgba(26, 35, 78, 0.08);
  --shadow-md: 0 8px 24px rgba(26, 35, 78, 0.10);
  --shadow-lg: 0 16px 48px rgba(26, 35, 78, 0.14);
  --shadow-xl: 0 24px 64px rgba(26, 35, 78, 0.18);
  /* Brand-tinted focus ring. */
  --shadow-focus: 0 0 0 3px rgba(41, 106, 255, 0.30);

  /* ============ 7. MOTION ============ */
  /* Quick, restrained. No bouncy springs in the brand book. */
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-in-out: cubic-bezier(0.65, 0.05, 0.36, 1);
  --duration-fast: 120ms;
  --duration-base: 200ms;
  --duration-slow: 320ms;
}

/* ============ 8. ELEMENT DEFAULTS ============ */
html, body {
  font-family: var(--font-sans);
  color: var(--fg-primary);
  background: var(--bg-canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, .type-h1 {
  font-size: var(--type-h1-size);
  line-height: var(--type-h1-line);
  font-weight: var(--type-h1-weight);
  letter-spacing: var(--type-h1-tracking);
  margin: 0;
  text-wrap: balance;
}
h2, .type-h2 {
  font-size: var(--type-h2-size);
  line-height: var(--type-h2-line);
  font-weight: var(--type-h2-weight);
  letter-spacing: var(--type-h2-tracking);
  margin: 0;
  text-wrap: balance;
}
h3, .type-h3 {
  font-size: var(--type-h3-size);
  line-height: var(--type-h3-line);
  font-weight: var(--type-h3-weight);
  letter-spacing: var(--type-h3-tracking);
  margin: 0;
}
h4, .type-h4 {
  font-size: var(--type-h4-size);
  line-height: var(--type-h4-line);
  font-weight: var(--type-h4-weight);
  margin: 0;
}
p, .type-body {
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
  margin: 0;
  text-wrap: pretty;
}
.type-display {
  font-size: var(--type-display-size);
  line-height: var(--type-display-line);
  font-weight: var(--type-display-weight);
  letter-spacing: var(--type-display-tracking);
  text-wrap: balance;
}
.type-body-lg { font-size: var(--type-body-lg-size); line-height: var(--type-body-lg-line); }
.type-body-sm { font-size: var(--type-body-sm-size); line-height: var(--type-body-sm-line); }
.type-caption { font-size: var(--type-caption-size); line-height: var(--type-caption-line); letter-spacing: var(--type-caption-tracking); color: var(--fg-secondary); }
.type-eyebrow {
  font-size: var(--type-eyebrow-size);
  line-height: var(--type-eyebrow-line);
  font-weight: var(--type-eyebrow-weight);
  letter-spacing: var(--type-eyebrow-tracking);
  text-transform: var(--type-eyebrow-transform);
  color: var(--fg-brand);
}

code, kbd, samp, pre {
  font-family: var(--font-mono);
  font-size: 0.95em;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}
a:hover { color: var(--accent-primary-hover); text-decoration: underline; }
a:active { color: var(--accent-primary-press); }

::selection { background: var(--color-blue-20); color: var(--color-neutral-100); }

/* ============ 9. PAGE BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { overflow-x: hidden; }
* { scrollbar-width: thin; scrollbar-color: #CCCED8 transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #CCCED8; border-radius: 999px; border: 3px solid #fff; }

/* styles.css — Appier MCP Server landing page
   Built on colors_and_type.css tokens. Blue dominant; secondaries as accents. */

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-size: 16px; font-weight: 600;
  border: none; border-radius: var(--radius-sm); cursor: pointer;
  padding: 13px 22px; transition: background var(--duration-base) var(--ease-out),
    color var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out);
  line-height: 1;
}
.btn--sm { padding: 10px 18px; font-size: 15px; }
.btn--primary { background: var(--accent-primary); color: var(--accent-on-primary); }
.btn--primary:hover { background: var(--accent-primary-hover); }
.btn--primary:active { background: var(--accent-primary-press); }
.btn--primary:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.btn--ghost { background: transparent; color: var(--accent-primary); padding-left: 8px; }
.btn--ghost:hover { color: var(--accent-primary-hover); }
.btn--onbrand { background: #fff; color: var(--color-blue-90); }
.btn--onbrand:hover { background: var(--color-blue-10); }
.btn--onbrand-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.45); }
.btn--onbrand-ghost:hover { background: rgba(255,255,255,0.10); }

.mini-btn {
  font-family: var(--font-sans); font-size: 13px; font-weight: 600;
  border: 1px solid var(--border-default); background: #fff; color: var(--fg-primary);
  border-radius: var(--radius-sm); padding: 8px 14px; cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out);
}
.mini-btn:hover { border-color: var(--border-strong); }
.mini-btn--p { background: var(--accent-primary); color: #fff; border-color: var(--accent-primary); }
.mini-btn--p:hover { background: var(--accent-primary-hover); border-color: var(--accent-primary-hover); }

/* ---------- shared section bits ---------- */
.eyebrow {
  display: inline-block;
  font-size: var(--type-eyebrow-size); font-weight: var(--type-eyebrow-weight);
  letter-spacing: var(--type-eyebrow-tracking); text-transform: uppercase;
  color: var(--fg-brand); margin-bottom: 18px;
}
.center-block { display: block; text-align: center; }
.sec-h2 { font-size: var(--type-h2-size); line-height: var(--type-h2-line); font-weight: 700;
  letter-spacing: var(--type-h2-tracking); color: var(--color-neutral-90); }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.sec-lead { max-width: 640px; margin: 16px auto 0; font-size: var(--type-body-lg-size);
  line-height: var(--type-body-lg-line); color: var(--fg-secondary); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(150%) blur(12px); border-bottom: 1px solid var(--border-subtle); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav__left { display: flex; align-items: center; gap: 14px; }
.nav__logo { height: 26px; width: auto; display: block; }
.nav__div { width: 1px; height: 22px; background: var(--border-default); }
.nav__tag { font-size: 14px; font-weight: 600; color: var(--fg-secondary); letter-spacing: 0.01em; }
.nav__links { display: flex; gap: 30px; }
.nav__links a { color: var(--color-neutral-80); font-size: 15px; font-weight: 600; text-decoration: none; }
.nav__links a:hover { color: var(--accent-primary); text-decoration: none; }
.nav__right { display: flex; align-items: center; gap: 22px; }
.nav__signin { color: var(--color-neutral-90); font-weight: 700; font-size: 15px; }
.nav__signin:hover { color: var(--accent-primary); text-decoration: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 96px; }
.hero__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 2; }
.hero__h1 { font-size: 56px; line-height: 1.05; font-weight: 800; letter-spacing: -0.025em;
  white-space: nowrap; color: var(--color-neutral-90); margin: 0 0 22px; }
.hero__sub { font-size: 19px; line-height: 1.6; color: var(--fg-secondary); max-width: 480px; }
.hero__sub strong { color: var(--color-neutral-90); font-weight: 700; }
.hero__btns { display: flex; gap: 14px; margin-top: 30px; }
.hero__trust { display: inline-flex; align-items: center; gap: 9px; margin-top: 26px;
  color: var(--fg-tertiary); font-size: 14px; font-weight: 600; }
.hero__trust svg { color: var(--accent-primary); }
.hero__visual { position: relative; min-height: 440px; display: flex; align-items: center; justify-content: center; }

/* ---------- hero brick variant ---------- */
.brickwrap { position: relative; z-index: 3; width: 100%; max-width: 480px; }
.brickgrid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(4, 96px);
  gap: 10px; position: relative; }
.bk { width: 100%; height: 100%; }
.bk--blue { background: var(--color-blue-60); }
.bk--blue2 { background: var(--color-blue-50); }
.bk--deep { background: var(--color-blue-90); }

/* ===== futuristic shape motion — selectable via Tweaks (scan / pulse / flow / off) ===== */
.bk { transition: filter var(--duration-base) var(--ease-out); }

/* tech overlays — hidden unless a motion mode is active */
.grid-scan, .grid-net { display: none; position: absolute; pointer-events: none; }
.hud { display: none; position: absolute; width: 15px; height: 15px; pointer-events: none; }
.brickgrid--scan .hud, .brickgrid--pulse .hud, .brickgrid--flow .hud { display: block; }
.hud--tl { top: -9px; left: -9px; border-top: 2px solid var(--color-blue-60); border-left: 2px solid var(--color-blue-60); }
.hud--tr { top: -9px; right: -9px; border-top: 2px solid var(--color-blue-60); border-right: 2px solid var(--color-blue-60); }
.hud--bl { bottom: -9px; left: -9px; border-bottom: 2px solid var(--color-blue-60); border-left: 2px solid var(--color-blue-60); }
.hud--br { bottom: -9px; right: -9px; border-bottom: 2px solid var(--color-blue-60); border-right: 2px solid var(--color-blue-60); }

.brickgrid--scan .grid-scan { display: block; left: -6px; right: -6px; top: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--color-azure-40) 28%, var(--color-blue-60) 72%, transparent); }
.brickgrid--flow .grid-net { display: block; inset: 0; width: 100%; height: 100%; }

@keyframes bkFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes bkPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes bkActivate { 0%, 64%, 100% { filter: brightness(1) saturate(1); } 32% { filter: brightness(1.3) saturate(1.18); } }
@keyframes scanY { 0% { transform: translateY(0); opacity: 0; } 8% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(414px); opacity: 0; } }
@keyframes hudBlink { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }

@media (prefers-reduced-motion: no-preference) {
  .brickgrid--scan .bk, .brickgrid--pulse .bk, .brickgrid--flow .bk { will-change: transform, filter; }
  .brickgrid--scan .hud, .brickgrid--pulse .hud, .brickgrid--flow .hud { animation: hudBlink 2.4s var(--ease-in-out) infinite; }

  /* SCAN — sweep line + downward data-activation ripple */
  .brickgrid--scan .grid-scan { box-shadow: 0 0 12px 1px rgba(41, 212, 255, 0.55); animation: scanY 2.4s var(--ease-in-out) infinite; }
  .brickgrid--scan .bk { animation: bkActivate 2.4s var(--ease-in-out) infinite; }
  .brickgrid--scan .bk:nth-child(3) { animation-delay: 0.3s; }
  .brickgrid--scan .bk:nth-child(5),
  .brickgrid--scan .bk:nth-child(6),
  .brickgrid--scan .bk:nth-child(7),
  .brickgrid--scan .bk:nth-child(9) { animation-delay: 0.6s; }
  .brickgrid--scan .bk:nth-child(8),
  .brickgrid--scan .bk:nth-child(10) { animation-delay: 0.9s; }

  /* PULSE — fast diagonal scale ripple */
  .brickgrid--pulse .bk { transform-origin: center; animation: bkPulse 2.2s var(--ease-in-out) infinite; }
  .brickgrid--pulse .bk:nth-child(3n+1) { animation-delay: -0.1s; }
  .brickgrid--pulse .bk:nth-child(3n+2) { animation-delay: -0.7s; }
  .brickgrid--pulse .bk:nth-child(3n)   { animation-delay: -1.3s; }

  /* FLOW — circuit data-flow net + quick float */
  .brickgrid--flow .bk { animation: bkFloat 3.2s var(--ease-in-out) infinite; }
  .brickgrid--flow .bk:nth-child(3n+1) { animation-duration: 3.4s; animation-delay: -0.2s; }
  .brickgrid--flow .bk:nth-child(3n+2) { animation-duration: 4s; animation-delay: -1.1s; }
  .brickgrid--flow .bk:nth-child(3n)   { animation-duration: 2.8s; animation-delay: -0.6s; }
}
.brickcap { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.brickcap__a { width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px;
  background: linear-gradient(135deg, #4057F5, #7C3AED); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 19px; }
.brickcap__t { font-weight: 700; color: var(--color-neutral-90); font-size: 16px; }
.brickcap__s { color: var(--fg-secondary); font-size: 14px; }

/* ---------- clients ---------- */
.clients { padding: 28px 0 84px; }
.clientrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 56px;
  margin-top: 44px; }
.clientrow__item { display: flex; align-items: center; filter: saturate(1); opacity: 0.95;
  transition: opacity var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out); }
.clientrow__item:hover { opacity: 1; transform: translateY(-2px); }
.clientrow__note { text-align: center; margin-top: 34px; color: var(--fg-tertiary); font-size: 14px; }

/* ---------- workflows ---------- */
.workflows { padding: 92px 0; background: var(--bg-subtle); }
.wf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-top: 56px; }
.wf-visual { display: flex; align-items: center; justify-content: center; }
.wf-list { display: flex; flex-direction: column; gap: 30px; }
.wf-item { display: flex; gap: 18px; }
.wf-item__ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: var(--radius-md);
  background: var(--color-blue-10); color: var(--accent-primary); display: flex; align-items: center; justify-content: center; }
.wf-item__t { font-size: 19px; font-weight: 700; color: var(--color-neutral-90); margin-bottom: 7px; }
.wf-item__b { font-size: 15.5px; line-height: 1.6; color: var(--fg-secondary); }

/* orbit */
.orbit { position: relative; width: 360px; height: 360px; }
.orbit__ring { position: absolute; border-radius: 50%; border: 1.5px dashed var(--color-blue-30); inset: 0; }
.orbit__ring--1 { inset: 56px; }
.orbit__ring--2 { inset: 0; border-color: var(--color-neutral-20); animation: spin 36s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit__core { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 96px; height: 96px; border-radius: 24px; background: linear-gradient(150deg, #296AFF, #0321AA);
  box-shadow: var(--shadow-lg); display: flex; align-items: center; justify-content: center; }
.orbit__a { color: #fff; font-size: 30px; font-weight: 800; }
.orbit__chip { position: absolute; background: #fff; border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm); border-radius: 999px; padding: 8px 14px; font-weight: 800; font-size: 14px;
  display: flex; align-items: center; }
.orbit__chip--1 { top: 2%; left: 50%; transform: translateX(-50%); }
.orbit__chip--2 { bottom: 6%; left: 12%; }
.orbit__chip--3 { top: 30%; right: -6%; padding: 7px 12px; }
.orbit__chip--4 { bottom: 18%; right: 2%; color: var(--accent-primary); }
.orbit__chip--5 { top: 22%; left: -4%; color: var(--color-azure-70); }

/* ---------- security ---------- */
.security { padding: 96px 0; }
.sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 56px; }
.sec-card { background: #fff; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  padding: 28px 24px; box-shadow: var(--shadow-xs); transition: box-shadow var(--duration-base) var(--ease-out),
  transform var(--duration-base) var(--ease-out); }
.sec-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.sec-card__ic { display: inline-flex; width: 48px; height: 48px; border-radius: var(--radius-md);
  background: var(--color-blue-10); color: var(--accent-primary); align-items: center; justify-content: center; margin-bottom: 18px; }
.sec-card__t { font-size: 17px; font-weight: 700; color: var(--color-neutral-90); margin-bottom: 9px; }
.sec-card__b { font-size: 14.5px; line-height: 1.58; color: var(--fg-secondary); }

/* ---------- quick start ---------- */
.start { padding: 96px 0; background: var(--bg-subtle); }
.start__grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 64px; align-items: center; }
.start__steps { margin-top: 36px; display: flex; flex-direction: column; gap: 26px; }
.start__step { display: flex; gap: 18px; }
.start__num { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-primary);
  color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.start__t { font-size: 18px; font-weight: 700; color: var(--color-neutral-90); margin-bottom: 5px; }
.start__b { font-size: 15px; line-height: 1.58; color: var(--fg-secondary); }

.codecard { background: #16181D; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.codecard__bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08); }
.codecard__file { font-family: var(--font-mono); font-size: 13px; color: #8A8F98; }
.codecard__copy { display: inline-flex; align-items: center; gap: 6px; background: transparent;
  border: 1px solid rgba(255,255,255,0.14); color: #C9CDD6; font-size: 12.5px; font-weight: 600;
  border-radius: var(--radius-sm); padding: 6px 11px; cursor: pointer; font-family: var(--font-sans); }
.codecard__copy:hover { border-color: rgba(255,255,255,0.3); }
.codecard__pre { margin: 0; padding: 22px 20px; overflow-x: auto; }
.codecard__pre code { font-family: var(--font-mono); font-size: 13.5px; line-height: 1.7; color: #D7DAE0;
  white-space: pre; }
.tk-key { color: #79C0FF; } .tk-str { color: #7EE787; } .tk-cmt { color: #8A8F98; }
.codecard__pre[hidden] { display: none; }
.codecard__foot { display: flex; gap: 9px; padding: 0 20px 20px; }

/* ---------- faq ---------- */
.faq { padding: 96px 0; background: var(--bg-canvas); }
.faq__wrap { max-width: 820px; }
.faq__list { margin-top: 44px; display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); overflow: hidden; }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: none; cursor: pointer; text-align: left; padding: 20px 24px;
  font-family: var(--font-sans); font-size: 17px; font-weight: 700; color: var(--color-neutral-90); }
.faq__chev { color: var(--fg-tertiary); transition: transform var(--duration-base) var(--ease-out); display: flex; }
.faq__item.is-open .faq__chev { transform: rotate(180deg); color: var(--accent-primary); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height var(--duration-slow) var(--ease-out); }
.faq__item.is-open .faq__a { max-height: 240px; }
.faq__a p { padding: 0 24px 22px; font-size: 15.5px; line-height: 1.62; color: var(--fg-secondary); }

/* ---------- cta ---------- */
.cta { position: relative; overflow: hidden; background: var(--color-blue-90); padding: 96px 0; }
.cta__shapes { position: absolute; inset: 0; pointer-events: none; }
.cta__sh { position: absolute; border-radius: 50%; }
.cta__sh--1 { width: 320px; height: 320px; background: rgba(41,106,255,0.5); left: -80px; top: -120px; }
.cta__sh--2 { width: 220px; height: 220px; background: rgba(41,212,255,0.32); right: 6%; bottom: -90px; border-radius: 999px; }
.cta__sh--3 { width: 130px; height: 130px; background: rgba(0,200,128,0.35); right: 30%; top: 12%; border-radius: 0 0 0 100%; }
.cta__inner { position: relative; z-index: 2; text-align: center; }
.cta__h { font-size: 42px; line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.cta__p { margin: 18px auto 0; max-width: 560px; font-size: 18px; line-height: 1.55; color: rgba(255,255,255,0.82); }
.cta__btns { display: flex; gap: 14px; justify-content: center; margin-top: 32px; }

/* ---------- footer ---------- */
.foot { background: #fff; border-top: 1px solid var(--border-subtle); padding: 56px 0 32px; }
.foot__inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot__brand { display: flex; align-items: center; gap: 20px; }
.foot__div { width: 1px; height: 26px; background: var(--border-default); flex-shrink: 0; }
.foot__logo { height: 24px; width: auto; }
.foot__tag { font-size: 14px; line-height: 1.55; color: var(--fg-secondary); }
.foot__legal { display: flex; justify-content: space-between; margin-top: 44px; padding-top: 24px;
  border-top: 1px solid var(--border-subtle); font-size: 13px; color: var(--fg-tertiary); }

/* ---------- reveal (base visible; animates in when active) ---------- */
.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .reveal.is-in { animation: revealIn 0.6s var(--ease-out) both; }
}
@keyframes revealIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__h1 { font-size: 48px; }
  .hero__visual { min-height: 380px; }
  .wf-grid, .start__grid { grid-template-columns: 1fr; gap: 40px; }
  .wf-visual { order: -1; }
  .sec-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .nav__links { display: none; }
  .hero { padding: 56px 0 64px; }
  .hero__h1 { font-size: 38px; white-space: normal; }
  .sec-h2 { font-size: 28px; }
  .sec-grid { grid-template-columns: 1fr; }
  .foot__inner { grid-template-columns: 1fr; }
  .cta__h { font-size: 30px; }
  .foot__legal { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .orbit__ring--2 { animation: none; }
}

/* ---------- static-port additions ---------- */
/* CTA-style links: keep the element-default link underline off buttons. */
a.btn, a.btn:hover, a.mini-btn, a.mini-btn:hover { text-decoration: none; }
a.mini-btn { display: inline-block; }
html { scroll-behavior: smooth; }
