/* ============================================================================
   DONALD HANS — Applied AI Studio
   site.css · futuristic dark design system
   Built on the Edge2 design tokens (purple brand, SF type, radius/shadow
   scale) re-cast onto a dark "deep-space" surface with electric AI accents.
   No build step. Pure CSS custom properties + utility classes.
   ========================================================================== */

/* ---- 1. Tokens ---------------------------------------------------------- */
:root {
  /* Type (Edge2 p4 — Apple SF stack, mono for numerals/code) */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", system-ui, sans-serif;
  --font-mono: "SF Mono", ui-monospace, "JetBrains Mono", "Roboto Mono", monospace;

  /* Brand purples (Edge2 p3) */
  --brand: #7C3AED;
  --brand-2: #A78BFA;
  --brand-3: #5B21B6;
  --brand-wash: #14101F;

  /* AI signal accents — electric cyan / sky / a touch of Edge2 amber */
  --cyan: #22D3EE;
  --sky: #38BDF8;
  --amber: #FBBF24;
  --teal: #2DD4BF;

  /* Deep-space surfaces */
  --bg: #07070C;
  --bg-2: #0A0A12;
  --bg-3: #0E0E18;
  --surface: rgba(255, 255, 255, 0.024);
  --surface-2: rgba(255, 255, 255, 0.04);
  --surface-3: rgba(255, 255, 255, 0.06);

  /* Ink */
  --ink: #F4F5FB;
  --ink-2: #D7D8E6;
  --muted: #9A9BB2;
  --dim: #6A6B82;
  --faint: #45465A;

  /* Lines */
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.13);
  --line-bright: rgba(167, 139, 250, 0.35);

  /* Semantic */
  --pos: #34D399;
  --neg: #FB7185;

  /* Radius (Edge2 p6) */
  --r-xs: 4px;  --r-sm: 6px;  --r-md: 10px; --r-lg: 14px;
  --r-xl: 18px; --r-2xl: 24px; --r-3xl: 32px; --r-full: 999px;

  /* Glow + shadow */
  --glow-brand: 0 0 0 1px rgba(167,139,250,0.18), 0 18px 60px -12px rgba(124,58,237,0.55);
  --glow-cyan: 0 0 0 1px rgba(34,211,238,0.20), 0 18px 60px -16px rgba(34,211,238,0.40);
  --shadow-lg: 0 30px 80px -24px rgba(0,0,0,0.85), 0 8px 24px -12px rgba(0,0,0,0.6);
  --shadow-card: 0 1px 0 rgba(255,255,255,0.04) inset, 0 20px 50px -28px rgba(0,0,0,0.9);

  /* Gradients */
  --grad-brand: linear-gradient(120deg, #7C3AED 0%, #A78BFA 48%, #22D3EE 100%);
  --grad-brand-soft: linear-gradient(120deg, #A78BFA, #22D3EE);
  --grad-text: linear-gradient(96deg, #FFFFFF 0%, #D8C8FF 40%, #8FE9FF 100%);
  --grad-stroke: linear-gradient(135deg, rgba(167,139,250,0.55), rgba(34,211,238,0.18) 60%, transparent);

  --nav-h: 68px;
  --maxw: 1200px;
}

/* ---- 2. Reset ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv02','cv03','cv04','cv11','ss01';
  overflow-x: hidden;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: rgba(124,58,237,0.45); color: #fff; }

/* Scrollbar */
*::-webkit-scrollbar { width: 9px; height: 9px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: rgba(167,139,250,0.18); border-radius: 6px; border: 2px solid transparent; background-clip: padding-box; }
*::-webkit-scrollbar-thumb:hover { background: rgba(167,139,250,0.4); background-clip: padding-box; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

/* ---- 3. Ambient background (fixed) ------------------------------------- */
.bg-field {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(60% 50% at 12% -5%, rgba(124,58,237,0.30), transparent 60%),
    radial-gradient(55% 45% at 92% 8%, rgba(34,211,238,0.16), transparent 60%),
    radial-gradient(70% 60% at 50% 110%, rgba(91,33,182,0.22), transparent 60%),
    var(--bg);
}
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 100%);
}
.bg-noise {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* mouse spotlight */
.spotlight {
  position: fixed; width: 520px; height: 520px; z-index: -1; pointer-events: none;
  left: 0; top: 0; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(124,58,237,0.16), transparent 60%);
  opacity: 0; transition: opacity 0.4s ease; will-change: transform;
}

/* ---- 4. Layout --------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1340px; }
section { position: relative; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
@media (max-width: 760px) { .section { padding: 64px 0; } }

/* ---- 5. Type ----------------------------------------------------------- */
.t-display-xl { font-size: clamp(40px, 7vw, 86px); line-height: 1.02; font-weight: 700; letter-spacing: -0.035em; }
.t-display-l  { font-size: clamp(34px, 5vw, 60px); line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; }
.t-display-m  { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.1; font-weight: 700; letter-spacing: -0.025em; }
.t-h1 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2; font-weight: 650; letter-spacing: -0.02em; }
.t-h2 { font-size: 21px; line-height: 1.25; font-weight: 640; letter-spacing: -0.016em; }
.t-h3 { font-size: 16.5px; line-height: 1.35; font-weight: 640; letter-spacing: -0.01em; }
.t-body { font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.t-lead { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; color: var(--ink-2); font-weight: 400; }
.t-caption { font-size: 13px; line-height: 1.5; color: var(--muted); }
.t-micro { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }

.muted { color: var(--muted); }
.dim { color: var(--dim); }
.ink { color: var(--ink); }
.center { text-align: center; }
.balance { text-wrap: balance; }
.maxch { max-width: 62ch; }
.mx-auto { margin-left: auto; margin-right: auto; }

.grad-text {
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.brand-text {
  background: var(--grad-brand-soft); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

/* ---- 6. Eyebrow / pills ------------------------------------------------ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand-2);
  padding: 6px 13px; border-radius: var(--r-full);
  background: rgba(124,58,237,0.10);
  border: 1px solid rgba(167,139,250,0.22);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 2.4s ease-in-out infinite; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 550; color: var(--ink-2);
  padding: 6px 12px; border-radius: var(--r-full);
  background: var(--surface-2); border: 1px solid var(--line);
}
.pill .ic { color: var(--brand-2); display: inline-flex; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---- 7. Buttons -------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 22px; border-radius: var(--r-full);
  font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em;
  transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .25s ease, background .25s ease, border-color .25s;
  white-space: nowrap; position: relative; isolation: isolate;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, #8B45F0, #6D28D9);
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 14px 34px -12px rgba(124,58,237,0.85);
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: linear-gradient(120deg, #A78BFA, #22D3EE); opacity: 0; transition: opacity .3s ease;
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-primary:hover::after { opacity: 1; }
.btn-ghost {
  color: var(--ink); background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--line-bright); background: var(--surface-3); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13.5px; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 15.5px; }
.btn-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--brand-2); transition: gap .2s ease, color .2s; }
.btn-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.btn-link:hover { color: var(--cyan); }
.btn-link:hover svg { transform: translateX(3px); }

/* ---- 8. Cards + bordered surfaces ------------------------------------- */
.card {
  position: relative; border-radius: var(--r-2xl);
  background: linear-gradient(180deg, rgba(28,26,42,0.72), rgba(14,13,24,0.66));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transition: transform .3s cubic-bezier(.2,.7,.3,1), border-color .3s, box-shadow .3s;
}
.card-pad { padding: 26px; }
.card-hover:hover { transform: translateY(-4px); border-color: var(--line-bright); box-shadow: var(--glow-brand); }
/* gradient hairline border via mask */
.card-stroke::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad-stroke);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; opacity: .8;
}
.glass {
  background: rgba(12,12,20,0.82);
  border: 1px solid var(--line); border-radius: var(--r-xl);
}

/* icon chip */
.ichip {
  width: 44px; height: 44px; border-radius: var(--r-md);
  display: grid; place-items: center; color: var(--brand-2);
  background: radial-gradient(120% 120% at 30% 20%, rgba(124,58,237,0.30), rgba(34,211,238,0.06));
  border: 1px solid rgba(167,139,250,0.28);
  box-shadow: 0 8px 20px -10px rgba(124,58,237,0.7);
}
.ichip svg { width: 22px; height: 22px; }
.ichip.cyan { color: var(--cyan); background: radial-gradient(120% 120% at 30% 20%, rgba(34,211,238,0.28), rgba(124,58,237,0.05)); border-color: rgba(34,211,238,0.30); }

/* ---- 9. Grid helpers --------------------------------------------------- */
.grid { display: grid; gap: 20px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.flex { display: flex; }
.col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-6 { gap: 6px; } .gap-10 { gap: 10px; } .gap-14 { gap: 14px; } .gap-20 { gap: 20px; } .gap-28 { gap: 28px; }
.wrap-flex { flex-wrap: wrap; }
@media (max-width: 980px) { .g-4 { grid-template-columns: repeat(2,1fr); } .g-3 { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 760px) {
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .hide-sm { display: none !important; }
}

/* section heading block */
.shead { max-width: 720px; }
.shead.center { margin: 0 auto; }
.shead .t-display-m { margin-top: 16px; }
.shead .t-lead { margin-top: 16px; }

/* ---- 10. Navigation ---------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .3s ease, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7,7,12,0.86); backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; max-width: var(--maxw); }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand .mark {
  width: 32px; height: 32px; border-radius: 9px; position: relative; flex-shrink: 0;
  background: var(--grad-brand); box-shadow: 0 6px 18px -6px rgba(124,58,237,0.9);
  display: grid; place-items: center;
}
.brand .mark svg { width: 19px; height: 19px; color: #fff; }
/* Donald Hans "DH" monogram (from the brand favicon), masked so it picks up the
   brand gradient and reads on the dark nav. Aspect ratio 131:101 ≈ 1.30. */
.brand .brand-logo {
  display: inline-block; width: 31px; height: 29px; flex-shrink: 0;
  background: linear-gradient(120deg, #C9B6FF 0%, #A78BFA 45%, #5EEAFF 100%);
  -webkit-mask-image: url(dh-logo.png); mask-image: url(dh-logo.png);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-position: center; mask-position: center;
  filter: drop-shadow(0 2px 8px rgba(124, 58, 237, 0.5));
}
.brand .wordmark { display: flex; flex-direction: column; line-height: 1; }
.brand .wordmark b { font-size: 16px; font-weight: 680; letter-spacing: -0.02em; color: var(--ink); }
.brand .wordmark span { font-size: 9.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brand-2); margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--muted);
  padding: 8px 13px; border-radius: var(--r-sm); transition: color .2s, background .2s; position: relative;
}
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 1px; height: 2px; border-radius: 2px;
  background: var(--grad-brand-soft);
}
.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-burger { display: none; width: 42px; height: 42px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--surface-2); place-items: center; color: var(--ink); }
.nav-burger svg { width: 20px; height: 20px; }

@media (max-width: 1040px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-burger { display: grid; }
}
/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(5,5,9,0.86); backdrop-filter: blur(20px);
  flex-direction: column; padding: 22px;
}
.drawer.open { display: flex; }
.drawer .drawer-top { display: flex; align-items: center; justify-content: space-between; }
.drawer-links { display: flex; flex-direction: column; gap: 4px; margin-top: 30px; }
.drawer-links a { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink-2); padding: 13px 6px; border-bottom: 1px solid var(--line); }
.drawer-links a.active { color: var(--brand-2); }
.drawer .btn { margin-top: 26px; }
.x-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: var(--r-sm); border: 1px solid var(--line-2); }

/* ---- 11. Hero ---------------------------------------------------------- */
.hero { position: relative; padding-top: calc(var(--nav-h) + 70px); padding-bottom: 80px; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; z-index: 0; opacity: 0.9; pointer-events: none; }
.hero .wrap { position: relative; z-index: 2; }
.hero-inner { max-width: 880px; }
.hero h1 { margin: 22px 0 0; }
.hero .t-lead { margin-top: 22px; max-width: 600px; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-strip { margin-top: 56px; display: flex; gap: 36px; flex-wrap: wrap; align-items: center; }
.hero-strip .stat .n { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.hero-strip .stat .l { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.hero-strip .vr { width: 1px; height: 38px; background: var(--line); }

/* ---- 12. Logo marquee -------------------------------------------------- */
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 56px; animation: marq 32s linear infinite; align-items: center; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; color: var(--dim); white-space: nowrap; transition: color .2s; }
.marquee-track span:hover { color: var(--ink-2); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---- 13. Bento --------------------------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; grid-auto-rows: minmax(150px, auto); }
.bento .card { padding: 24px; display: flex; flex-direction: column; overflow: hidden; }
.b-3 { grid-column: span 3; } .b-2 { grid-column: span 2; } .b-4 { grid-column: span 4; } .b-6 { grid-column: span 6; }
.b-r2 { grid-row: span 2; }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2,1fr); } .b-3,.b-2,.b-4,.b-6 { grid-column: span 2; } .b-r2 { grid-row: auto; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .b-3,.b-2,.b-4,.b-6 { grid-column: span 1; } }

/* ---- 14. Terminal / code mock ----------------------------------------- */
.term { border-radius: var(--r-lg); border: 1px solid var(--line-2); background: linear-gradient(180deg, #0b0b14, #08080f); box-shadow: var(--shadow-lg); overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.term-bar .dots { display: flex; gap: 7px; }
.term-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--faint); }
.term-bar .dots i:nth-child(1){ background:#FB7185; } .term-bar .dots i:nth-child(2){ background:#FBBF24; } .term-bar .dots i:nth-child(3){ background:#34D399; }
.term-bar .ttl { font-family: var(--font-mono); font-size: 12px; color: var(--dim); margin-left: 6px; }
.term-body { padding: 18px 20px; font-family: var(--font-mono); font-size: 13px; line-height: 1.85; color: var(--ink-2); }
.term-body .ln { white-space: pre-wrap; }
.term-body .c-key { color: var(--brand-2); } .term-body .c-str { color: var(--teal); } .term-body .c-num { color: var(--amber); }
.term-body .c-com { color: var(--dim); } .term-body .c-fn { color: var(--sky); } .term-body .c-ok { color: var(--pos); }
.cursor-blink::after { content: "▋"; color: var(--cyan); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---- 15. Feature rows / lists ------------------------------------------ */
.feat { display: flex; gap: 16px; }
.feat .ichip { flex-shrink: 0; }
.feat h3 { margin-bottom: 4px; }
.checklist { display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; gap: 11px; align-items: flex-start; list-style: none; color: var(--ink-2); font-size: 14.5px; }
.checklist li .ck { flex-shrink: 0; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; margin-top: 1px; background: rgba(52,211,153,0.12); color: var(--pos); }
.checklist li .ck svg { width: 13px; height: 13px; }

/* numbered steps */
.steps { counter-reset: s; display: grid; gap: 18px; }
.step { display: flex; gap: 18px; }
.step .num { counter-increment: s; flex-shrink: 0; width: 40px; height: 40px; border-radius: var(--r-md); display: grid; place-items: center; font-family: var(--font-mono); font-weight: 600; font-size: 15px; color: var(--brand-2); border: 1px solid var(--line-bright); background: rgba(124,58,237,0.08); }
.step .num::before { content: "0" counter(s); }

/* metric tiles */
.metric .n { font-size: clamp(30px, 4vw, 46px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.metric .l { font-size: 13.5px; color: var(--muted); margin-top: 8px; }

/* ---- 16. Tables / specs ------------------------------------------------ */
.spec { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec td, .spec th { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.spec th { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 600; }
.spec td:first-child { color: var(--ink); font-weight: 550; }
.spec tr:last-child td { border-bottom: none; }

/* pricing */
.plan { display: flex; flex-direction: column; height: 100%; }
.plan.feat-plan { border-color: var(--line-bright); box-shadow: var(--glow-brand); }
.plan .price { font-size: 38px; font-weight: 700; letter-spacing: -0.03em; margin: 12px 0 2px; }
.plan .price small { font-size: 14px; font-weight: 500; color: var(--muted); }

/* ---- 17. CTA band ------------------------------------------------------ */
.cta-band { position: relative; border-radius: var(--r-3xl); overflow: hidden; padding: 64px 48px; border: 1px solid var(--line-bright); background: radial-gradient(120% 160% at 0% 0%, rgba(124,58,237,0.35), transparent 55%), radial-gradient(120% 160% at 100% 100%, rgba(34,211,238,0.22), transparent 55%), linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)); }
@media (max-width: 760px){ .cta-band { padding: 44px 26px; } }

/* ---- 18. Footer -------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 64px 0 40px; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 16px; font-weight: 600; }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: 14px; color: var(--muted); transition: color .2s; width: fit-content; }
.footer-links a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.footer .socials { display: flex; gap: 9px; }
.footer .socials a { width: 38px; height: 38px; border-radius: var(--r-sm); display: grid; place-items: center; border: 1px solid var(--line); color: var(--muted); transition: all .2s; }
.footer .socials a:hover { color: var(--ink); border-color: var(--line-bright); background: var(--surface-2); transform: translateY(-2px); }
.footer .socials svg { width: 17px; height: 17px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---- 19. Page header (interior pages) --------------------------------- */
.phead { padding-top: calc(var(--nav-h) + 64px); padding-bottom: 24px; position: relative; }
.phead .eyebrow { margin-bottom: 20px; }
.phead h1 { max-width: 16ch; }
.phead .t-lead { margin-top: 20px; max-width: 60ch; }

/* breadcrumb */
.crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--dim); margin-bottom: 22px; }
.crumb a:hover { color: var(--ink-2); }
.crumb svg { width: 14px; height: 14px; opacity: .6; }

/* ---- 20. Reveal animation --------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .07s; }
.reveal[data-d="2"] { transition-delay: .14s; }
.reveal[data-d="3"] { transition-delay: .21s; }
.reveal[data-d="4"] { transition-delay: .28s; }
.reveal[data-d="5"] { transition-delay: .35s; }

/* floating orb decoration */
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; pointer-events: none; z-index: 0; }
.orb.p { background: radial-gradient(circle, rgba(124,58,237,0.6), transparent 70%); }
.orb.c { background: radial-gradient(circle, rgba(34,211,238,0.45), transparent 70%); }

/* tag row */
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-family: var(--font-mono); font-size: 12px; color: var(--muted); padding: 5px 10px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); }
.tag.on { color: var(--brand-2); border-color: var(--line-bright); background: rgba(124,58,237,0.08); }

/* divider */
.hr { height: 1px; background: var(--line); border: none; margin: 0; }

/* ---- 21. Forms -------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 12.5px; font-weight: 600; color: var(--ink-2); letter-spacing: -0.005em; }
.field label .req { color: var(--brand-2); }
.input, .textarea, .select {
  width: 100%; font-family: inherit; font-size: 14.5px; color: var(--ink);
  background: rgba(255,255,255,0.03); border: 1px solid var(--line-2);
  border-radius: var(--r-md); padding: 12px 14px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.input::placeholder, .textarea::placeholder { color: var(--dim); }
.input:focus, .textarea:focus, .select:focus {
  outline: none; border-color: var(--line-bright); background: rgba(255,255,255,0.05);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.18);
}
.textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%239A9BB2' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.select option { background: #0E0E18; color: var(--ink); }
.form-ok { display: none; text-align: center; padding: 12px; }
.form-ok.show { display: block; animation: fadeUp .5s ease; }
.form-ok .ichip { margin: 0 auto; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.contact-grid { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 28px; align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---- 22. Pedigree strip ----------------------------------------------- */
.pedigree { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0; }
.pedigree .inst {
  font-size: clamp(17px, 2.2vw, 25px); font-weight: 600; letter-spacing: -0.012em;
  color: var(--ink-2); padding: 4px 26px; position: relative; white-space: nowrap;
  transition: color .2s;
}
.pedigree .inst:hover { color: var(--ink); }
.pedigree .inst + .inst::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 22px; background: var(--line-2); }
@media (max-width: 560px) { .pedigree .inst { padding: 4px 16px; } }

/* credential chip on team cards */
.cred { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.02em; color: var(--brand-2); padding: 4px 9px; border-radius: var(--r-full); background: rgba(124,58,237,0.10); border: 1px solid rgba(167,139,250,0.22); margin-top: 10px; }

/* ---- 23. Booking modal ------------------------------------------------ */
.modal-overlay { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(4,4,8,0.80); }
.modal-overlay.open { display: flex; animation: modalFade .26s ease; }
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
.modal {
  width: 100%; max-width: 940px; max-height: 90vh; display: flex; flex-direction: column;
  background: #0B0B12; border: 1px solid var(--line-2); border-radius: var(--r-2xl);
  overflow: hidden; box-shadow: var(--shadow-lg); animation: modalUp .3s cubic-bezier(.2,.7,.3,1);
}
@keyframes modalUp { from { transform: translateY(16px) scale(.985); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(124,58,237,0.10), transparent); }
.modal-head .ttl { display: flex; align-items: center; gap: 12px; }
.modal-head .ttl .ichip { width: 38px; height: 38px; }
.modal-head .ttl b { font-size: 15px; font-weight: 660; display: block; line-height: 1.1; }
.modal-head .ttl small { font-size: 12px; color: var(--muted); }
.modal-actions { display: flex; align-items: center; gap: 8px; }
.modal-body { flex: 1; min-height: 0; position: relative; background: #0B0B12; }
.modal-body .calendly-inline-widget { position: relative; z-index: 1; width: 100%; height: 72vh; min-width: 320px; }
.modal-body .calendly-inline-widget iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal-fallback { position: absolute; inset: 0; z-index: 0; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 30px; color: var(--muted); }
.modal-fallback .spin { width: 26px; height: 26px; border-radius: 50%; border: 2.5px solid var(--line-2); border-top-color: var(--brand-2); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) { .modal { max-height: 94vh; } .modal-body iframe { height: 78vh; } .modal-head .ttl small { display: none; } }

/* utility spacing */
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-40 { margin-top: 40px; } .mt-56 { margin-top: 56px; }
.mb-0 { margin-bottom: 0; }
.full { width: 100%; }
.rel { position: relative; }
.z1 { position: relative; z-index: 1; }
