/*
Theme Name: AirQuery
Theme URI: https://airquery.com/
Author: AirQuery
Description: The AirQuery marketing site theme. Analytics requires Deterministic Intelligence.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: airquery
*/

/* ===================================================
   AIRQUERY — Stardog-inspired, AI + HI = DI
   Dark teal hero · Light blue-gray body · Orange CTA
   =================================================== */

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

:root {
  --bg:           #E8EEF0;   /* Stardog body bg */
  --bg-2:         #DBE5E8;
  --paper:        #FFFFFF;
  --ink:          #0A1F1E;   /* deep teal-black */
  --ink-2:        #2C3F3E;
  --ink-3:        #6B7A78;

  --dark:         #0C2D2E;   /* hero / accent surface */
  --dark-2:       #11393A;
  --dark-3:       #173D3E;

  --teal:         #14B8A6;   /* primary accent */
  --teal-2:       #0D9488;
  --teal-soft:    #CCFBF1;

  --orange:       #E85A2C;   /* CTA / Stardog signature */
  --orange-2:     #D14A1F;
  --orange-soft:  #FFE5DA;

  --lime:         #84CC16;   /* secondary accent */
  --lime-soft:    #E8F5C9;

  --line:         #D5DEE0;
  --line-2:       #BCC9CC;
  --line-dark:    rgba(255,255,255,0.10);

  --radius:       14px;
  --radius-lg:    20px;
  --radius-pill:  999px;
  --maxw:         1200px;
  --nav-h:        72px;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.serif-italic {
  font-family: 'Instrument Serif', 'Georgia', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
}

/* ===== TYPOGRAPHY ===== */
.display {
  font-size: clamp(40px, 5.6vw, 76px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.02;
  color: inherit;
}
.display .serif-italic { font-size: 1.04em; font-weight: 400; color: var(--teal); }

.h2 {
  font-size: clamp(30px, 4.2vw, 54px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.08;
}
.h2 .serif-italic { color: var(--teal-2); font-size: 1.06em; }

.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 18px;
}

.lede {
  font-size: 18px;
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 520px;
}
.lede strong { color: var(--ink); font-weight: 700; }

/* Hero tagline right under the display headline (dark hero -> light text) */
.hero-tagline {
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.3;
  color: rgba(255,255,255,.92);
  letter-spacing: -.015em;
  font-weight: 500;
  margin-top: -4px;
}
.hero-tagline .serif-italic { color: var(--orange); font-weight: 400; }
.hero-handle {
  display: inline-block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: .88em;
  font-weight: 600;
  color: #5EEAD4;                       /* bright teal that reads on dark */
  background: rgba(94,234,212,.12);
  border: 1px solid rgba(94,234,212,.28);
  padding: 2px 10px 3px;
  border-radius: 6px;
  letter-spacing: -.01em;
  vertical-align: 2px;
}

.sub {
  font-size: 17px;
  color: var(--ink-3);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}
.sub em { font-style: italic; color: var(--ink-2); }

.section-head {
  text-align: center;
  margin-bottom: 60px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px;
  padding: 11px 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: transform .15s, background .2s, border-color .2s, color .2s, box-shadow .2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-lg { font-size: 16px; padding: 14px 28px; }
.btn-block { display: flex; width: 100%; justify-content: center; }

.btn-orange { background: var(--orange); color: white; }
.btn-orange:hover { background: var(--orange-2); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(232,90,44,.35); }

.btn-outline-light {
  background: transparent; color: white;
  border-color: rgba(255,255,255,.25);
}
.btn-outline-light:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.45); }

.btn-outline-dark {
  background: transparent; color: var(--ink);
  border-color: var(--line-2);
}
.btn-outline-dark:hover { background: var(--paper); border-color: var(--ink); }

.btn-dark { background: var(--ink); color: white; }
.btn-dark:hover { background: var(--dark-2); }

.lnk { color: rgba(255,255,255,.75); font-size: 14px; font-weight: 500; padding: 8px 14px; transition: color .15s; }
.lnk:hover { color: white; }

/* ===== ANNOUNCE BAR ===== */
.announce {
  background: var(--dark);
  color: rgba(255,255,255,.92);
  font-size: 13px;
  padding: 9px 0;
  text-align: center;
  border-bottom: 1px solid var(--dark-3);
}
.announce strong { color: white; font-weight: 700; }
.announce-inner {
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
}
.announce-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(20,184,166,.25);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(20,184,166,.25); }
  50% { box-shadow: 0 0 0 7px rgba(20,184,166,0); }
}
.announce a { text-decoration: underline; text-underline-offset: 3px; color: var(--teal); }
.announce a:hover { color: var(--orange); }

/* ===== NAV (dark over hero) ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--dark);
  height: var(--nav-h);
  border-bottom: 1px solid var(--dark-3);
}
.nav-inner {
  display: flex; align-items: center; height: 100%; gap: 12px;
}

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo {
  width: 34px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
}
.brand-logo svg,
.brand-logo img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
/* On the dark hero, invert the black mark to white so the same PNG works both contexts */
.brand-on-dark .brand-logo img { filter: invert(1) brightness(1.05); }

.brand-name {
  font-family: 'Instrument Serif', serif;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -.02em;
  color: white;
}
.footer-brand .brand-name { color: var(--ink); }

.nav-menu { display: flex; align-items: center; gap: 4px; margin-left: 36px; }
.nav-link {
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,.75);
  padding: 8px 14px;
  border-radius: 6px;
  transition: color .15s, background .15s;
}
.nav-link:hover { color: white; background: rgba(255,255,255,.06); }

.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; }
.burger span { width: 22px; height: 2px; background: white; border-radius: 2px; transition: .3s; }

/* ===== HERO ===== */
.hero {
  background: var(--dark);
  color: white;
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -300px;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(20,184,166,.18) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,90,44,.10) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: center;
  position: relative; z-index: 1;
}
.hero-left { display: flex; flex-direction: column; gap: 28px; }

.equation-tag {
  display: inline-flex; align-items: center; gap: 12px;
  width: fit-content;
}
.eq-pill {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.75);
  font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}
.eq-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 17px; font-weight: 600;
  color: var(--teal);
  letter-spacing: -.01em;
}

.hero .display { color: white; }
.hero .display .serif-italic { color: var(--orange); }

.hero .lede { color: rgba(255,255,255,.78); }
.hero .lede strong { color: white; }

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-meta {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255,255,255,.6);
  margin-top: 4px;
}
.hero-meta .check { color: var(--teal); margin-right: 4px; font-weight: 700; }

/* ===== PRODUCT CARD (recreates the AirQuery dashboard UI) ===== */
.hero-right { position: relative; }
.product-card {
  background: #FFFFFF;
  color: #0F172A;
  border-radius: 14px;
  padding: 22px 22px 18px;
  box-shadow:
    0 40px 100px -20px rgba(0,0,0,.5),
    0 0 0 1px rgba(255,255,255,.08);
  display: flex; flex-direction: column; gap: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.4;
}

/* Workspace bar */
.pc-workspace {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 12px;
  border-bottom: 1px solid #F1F2F4;
}
.pc-ws-title {
  font-size: 16px; font-weight: 700; color: #0F172A;
  letter-spacing: -.01em;
}
.pc-ws-sub {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: #94A3B8;
  margin-top: 3px;
}
.pc-side-btn {
  background: transparent; border: none;
  color: #94A3B8;
  padding: 4px; cursor: pointer;
  border-radius: 4px;
  transition: background .15s;
}
.pc-side-btn:hover { background: #F1F5F9; color: #475569; }

/* Question title row */
.pc-qtitle {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
}
.pc-qtitle-left h3 {
  font-size: 19px; font-weight: 700; color: #0F172A;
  letter-spacing: -.015em;
  margin-bottom: 4px;
}
.pc-qtitle-left p {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 14px;
  color: #64748B;
  font-weight: 400;
}
.pc-qtitle-right {
  display: flex; align-items: center; gap: 6px; flex-shrink: 0;
  flex-wrap: wrap; justify-content: flex-end;
}
.pc-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10.5px; font-weight: 700;
  padding: 4px 9px;
  border-radius: 5px;
  letter-spacing: .04em;
}
.pc-badge-analytical {
  background: #E0E7FF;
  color: #4338CA;
}
.pc-badge-conf {
  background: #DCFCE7;
  color: #15803D;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
  padding-left: 6px;
}
.pc-conf-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #16A34A;
}

/* Thinkbox chips */
.pc-chips {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.pc-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  color: #475569;
}
.pc-chip-key { color: #94A3B8; }
.pc-chip strong { color: #0F172A; font-weight: 600; }

/* Field tags */
.pc-tags {
  display: flex; gap: 6px;
}
.pc-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12.5px;
  color: #334155;
  font-weight: 500;
}

/* Toolbar */
.pc-toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  flex-wrap: wrap;
}
.pc-toolbar-group {
  display: flex; gap: 4px;
}
.pc-tbtn {
  display: inline-flex; align-items: center; gap: 5px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  color: #475569;
  font-size: 12px; font-weight: 500;
  padding: 6px 12px;
  border-radius: 7px;
  transition: all .15s;
}
.pc-tbtn:hover { background: #F8FAFC; border-color: #CBD5E1; }
.pc-tbtn.active {
  background: #2563EB;
  color: #FFFFFF;
  border-color: #2563EB;
  font-weight: 600;
}
.pc-abtn {
  display: inline-flex; align-items: center; gap: 5px;
  background: #F1F5F9;
  border: none;
  color: #475569;
  font-size: 12px; font-weight: 500;
  padding: 6px 11px;
  border-radius: 6px;
  transition: background .15s;
}
.pc-abtn:hover { background: #E2E8F0; color: #1E293B; }

/* Chart card */
.pc-chart-card {
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 14px 16px 12px;
}
.pc-chart-label {
  font-size: 10.5px; font-weight: 700;
  color: #6366F1;
  letter-spacing: .1em;
  margin-bottom: 8px;
}

.pc-donut-wrap {
  position: relative;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}
.pc-donut {
  width: 100%; height: 100%;
  display: block;
}

/* Chart callouts — positioned around the donut */
.pc-callout {
  position: absolute;
  font-size: 11px;
  line-height: 1.25;
  color: #1E293B;
  white-space: nowrap;
}
.pc-callout strong {
  font-weight: 700;
  display: inline-block;
  margin-top: 1px;
}
.co-std { top: -2px; left: 18%; color: #2563EB; }
.co-std strong { color: #2563EB; }
.co-sec { bottom: 6%; left: -2%; color: #0891B2; }
.co-sec strong { color: #0891B2; }
.co-fst { bottom: 6%; right: -2%; color: #0F766E; }
.co-fst strong { color: #0F766E; }
.co-sam { top: 38%; right: -2%; color: #7C3AED; }
.co-sam strong { color: #7C3AED; }

.pc-legend {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center;
  margin-top: 10px;
  font-size: 11.5px;
  color: #475569;
}
.pc-legend span {
  display: inline-flex; align-items: center; gap: 5px;
}
.ld { width: 10px; height: 10px; border-radius: 2px; }

/* Bottom panels */
.pc-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.pc-panel {
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 12px 14px;
}
.pc-panel-head {
  display: flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 700;
  color: #6B7280;
  letter-spacing: .08em;
  margin-bottom: 10px;
}
.pc-shares {
  display: flex; flex-direction: column; gap: 6px;
}
.pc-share {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  align-items: center;
  font-size: 11.5px;
  color: #334155;
}
.pc-share span:last-child {
  text-align: right;
  font-weight: 500;
  color: #1E293B;
}
.pc-bar {
  height: 6px;
  background: #F1F5F9;
  border-radius: 3px;
  overflow: hidden;
}
.pc-bar-fill {
  height: 100%;
  background: #2563EB;
  border-radius: 3px;
}

.pc-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
  font-size: 13px;
}
.pc-stats > div {
  display: flex; align-items: baseline; gap: 6px;
}
.pc-stats span {
  color: #64748B;
  font-size: 12px;
}
.pc-stats strong {
  color: #1E293B;
  font-weight: 700;
}

/* ===== TRUSTED ===== */
.trusted {
  padding: 40px 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.trusted-label {
  text-align: center;
  font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 22px;
}
.trusted-row {
  display: flex; justify-content: center; align-items: center;
  gap: 56px; flex-wrap: wrap;
  font-size: 20px; font-weight: 600;
  color: var(--ink-3);
  font-family: 'Instrument Serif', serif;
  font-style: italic;
}
.trusted-row span {
  transition: color .2s;
  letter-spacing: -.02em;
}
.trusted-row span:hover { color: var(--ink); }

/* ===== THINKBOX SECTION ===== */
.thinkbox {
  padding: 120px 0;
  background: var(--paper);
}

/* ===== THINKBOX SIMPLIFIED LAYOUT ===== */
.thinkbox-simple {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}

/* Big centered image with an organic asymmetric blob behind it */
.tb-figure {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin: 0;
  padding: 6%;            /* leaves room around image for the blob to show */
  display: flex;
  align-items: center;
  justify-content: center;
}
.tb-figure img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  display: block;
}

/* The wavy "circle" — asymmetric, slowly morphing blob behind the image */
.tb-figure-glow {
  display: block;
  position: absolute;
  /* Asymmetric inset so the blob is not centered around the image */
  inset: -2% -6% -4% -8%;
  z-index: 1;
  /* Soft 2-color wash — teal + warm peach, blended */
  background:
    radial-gradient(ellipse at 30% 30%, rgba(20, 184, 166, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 70%, rgba(232, 144, 70, 0.14) 0%, transparent 60%),
    linear-gradient(135deg, rgba(20, 184, 166, 0.07), rgba(232, 144, 70, 0.06));
  /* Asymmetric multi-value border-radius creates the wavy/blob shape */
  border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
  filter: blur(2px);
  animation: tbBlobMorph 14s ease-in-out infinite;
  pointer-events: none;
}

/* Morph the blob between three asymmetric states + gentle rotation */
@keyframes tbBlobMorph {
  0%, 100% {
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    transform: rotate(0deg) scale(1);
  }
  33% {
    border-radius: 45% 55% 65% 35% / 42% 60% 48% 58%;
    transform: rotate(4deg) scale(1.02);
  }
  66% {
    border-radius: 56% 44% 36% 64% / 60% 42% 58% 40%;
    transform: rotate(-3deg) scale(.99);
  }
}

/* Plain-English summary below the image */
.tb-summary {
  max-width: 720px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.tb-summary p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-2);
}
.tb-summary p strong { color: var(--ink); font-weight: 700; }
.tb-summary p em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
  font-size: 1.08em;
}

@media (max-width: 768px) {
  .thinkbox-simple { gap: 40px; }
  .tb-summary p { font-size: 16px; }
  .tb-figure { max-width: 100%; }
}

/* ===== EQUATION SECTION ===== */
.equation-section {
  padding: 90px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.eq-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
}
.eq-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 10px;
  position: relative;
  transition: transform .25s, box-shadow .25s;
}
.eq-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(10,31,30,.08); }
.eq-icon { font-size: 28px; line-height: 1; }
.eq-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
}
.eq-ai .eq-label { color: var(--teal); }
.eq-hi .eq-label { color: var(--orange); }
.eq-di .eq-label { color: var(--lime); }
.eq-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--ink);
}
.eq-card p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
}
.eq-plus, .eq-equals {
  display: flex; align-items: center; justify-content: center;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 64px;
  color: var(--ink-3);
  font-weight: 400;
}

.eq-di {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.eq-di .eq-title { color: white; }
.eq-di p { color: rgba(255,255,255,.7); }

/* ===== PROBLEM ===== */
.problem { padding: 120px 0; background: var(--paper); }
.problem-head { text-align: center; margin-bottom: 56px; }

.stack-diagram {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}
.stack-old, .stack-new {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.stack-new {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
  position: relative;
  overflow: hidden;
}
.stack-new::after {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(20,184,166,.15) 0%, transparent 70%);
  pointer-events: none;
}
.stack-title {
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 22px;
  color: var(--ink-3);
}
.stack-new .stack-title { color: var(--teal); }
.prob-list { display: flex; flex-direction: column; gap: 10px; }
.prob-list li {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.55;
}
.prob-list.good li { color: rgba(255,255,255,.88); }
.prob-list.good { font-weight: 500; }

/* ===== PILLARS ===== */
.pillars { padding: 120px 0; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}
.pillar {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(10,31,30,.08);
  border-color: var(--line-2);
}
.pillar-feature {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.pillar-feature h3, .pillar-feature .pillar-desc { color: white; }
.pillar-feature .pillar-list li { color: rgba(255,255,255,.7); }
.pillar-feature .pillar-link { color: var(--teal); }

.pillar-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--orange);
  font-weight: 700;
}
.pillar-feature .pillar-num { color: var(--teal); }
.pillar-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.pillar-icon-1 { background: var(--teal-soft); color: var(--teal-2); }
.pillar-icon-2 { background: rgba(20,184,166,.2); color: var(--teal); }
.pillar-icon-3 { background: var(--orange-soft); color: var(--orange); }

.pillar h3 { font-size: 22px; font-weight: 700; letter-spacing: -.015em; }
.pillar-desc { font-size: 15px; color: var(--ink-2); line-height: 1.6; flex: 1; }
.pillar-list { display: flex; flex-direction: column; gap: 6px; padding: 12px 0; border-top: 1px solid var(--line); }
.pillar-feature .pillar-list { border-color: rgba(255,255,255,.1); }
.pillar-list li { font-size: 13px; color: var(--ink-3); }
.pillar-link { font-size: 14px; font-weight: 600; color: var(--orange); }
.pillar-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ===== WISE APP / @airquery ===== */
.wise { padding: 120px 0; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Mono @mention treatment used in copy */
.mono-mention {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 700;
  color: var(--teal-2);
  background: rgba(20,184,166,.10);
  border: 1px solid rgba(20,184,166,.25);
  padding: 2px 10px 3px;
  border-radius: 8px;
  letter-spacing: -.01em;
  font-size: .82em;
  white-space: nowrap;
  vertical-align: 1px;
}
.mono-mention.small {
  font-size: .85em;
  padding: 1px 7px 2px;
  border-radius: 5px;
}

/* ----- Chat card ----- */
.wise-chat {
  max-width: 760px;
  margin: 0 auto 64px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -20px rgba(10,31,30,.16);
  overflow: hidden;
}

.wc-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px;
  background: #FAFAF7;
  border-bottom: 1px solid var(--line);
}
.wc-channel {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600;
  color: var(--ink);
}
.wc-hash { color: var(--ink-3); font-weight: 500; margin-right: -2px; }
.wc-channel-meta {
  font-size: 12px; font-weight: 500;
  color: var(--ink-3);
  background: rgba(10,31,30,.06);
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 4px;
}
.wc-platforms { display: flex; gap: 4px; background: rgba(10,31,30,.05); border-radius: 8px; padding: 3px; }
.wc-platform {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: none;
  font-size: 12px; font-weight: 600;
  color: var(--ink-3);
  padding: 5px 11px;
  border-radius: 6px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.wc-platform:hover { color: var(--ink); }
.wc-platform.active { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.wc-pdot { width: 8px; height: 8px; border-radius: 2px; }

/* ----- Messages ----- */
.wc-thread {
  padding: 20px 22px;
  display: flex; flex-direction: column; gap: 18px;
  background: var(--paper);
}
.wc-msg { display: flex; gap: 12px; align-items: flex-start; }
.wc-avatar {
  width: 36px; height: 36px; border-radius: 8px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: white;
  letter-spacing: -.01em;
}
.wc-avatar-bot {
  background: var(--ink);
  padding: 5px;
  position: relative;
}
.wc-avatar-bot::after {
  content: '';
  position: absolute;
  right: -2px; bottom: -2px;
  width: 10px; height: 10px;
  background: #36C5F0;
  border: 2px solid var(--paper);
  border-radius: 50%;
}
.wc-avatar-bot img { width: 100%; height: 100%; object-fit: contain; filter: invert(1); }
.wc-body { flex: 1; min-width: 0; }
.wc-meta {
  display: flex; align-items: baseline; gap: 8px;
  margin-bottom: 3px;
  flex-wrap: wrap;
}
.wc-meta strong { font-size: 14.5px; color: var(--ink); font-weight: 700; }
.wc-role {
  font-size: 11px; font-weight: 500;
  color: var(--ink-3);
  background: rgba(10,31,30,.06);
  padding: 1px 7px;
  border-radius: 4px;
}
.wc-time { font-size: 12px; color: var(--ink-3); }
.wc-badge {
  font-size: 9.5px; font-weight: 700;
  letter-spacing: .08em;
  background: var(--ink);
  color: white;
  padding: 1px 6px;
  border-radius: 3px;
}
.wc-verified {
  font-size: 11px;
  width: 16px; height: 16px;
  background: var(--teal);
  color: white;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.wc-text { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.wc-mention {
  color: var(--teal-2);
  background: rgba(20,184,166,.10);
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
}

/* ----- Bot answer card ----- */
.wc-bot-card {
  background: linear-gradient(180deg, rgba(20,184,166,.04), rgba(20,184,166,0));
  border: 1px solid rgba(20,184,166,.22);
  border-left: 3px solid var(--teal);
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 4px;
}
.wc-answer { font-size: 14.5px; color: var(--ink); line-height: 1.55; }
.wc-answer strong { font-weight: 700; }
.wc-answer em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--orange);
  font-size: 1.05em;
}
.wc-pill {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  vertical-align: 1px;
}
.wc-pill-warn { background: rgba(225,29,72,.1); color: #BE123C; }
.wc-chart {
  margin: 10px 0;
  background: rgba(10,31,30,.03);
  border-radius: 6px;
  padding: 6px 8px;
}
.wc-chart svg { width: 100%; height: 60px; display: block; }

.wc-reasoning {
  margin-top: 10px;
  font-size: 13px;
  border-top: 1px dashed rgba(20,184,166,.25);
  padding-top: 10px;
}
.wc-reasoning summary {
  cursor: pointer;
  color: var(--teal-2);
  font-weight: 600;
  list-style: none;
  display: flex; align-items: center; gap: 8px;
}
.wc-reasoning summary::-webkit-details-marker { display: none; }
.wc-reasoning summary::before {
  content: '▸';
  font-size: 10px;
  transition: transform .15s;
}
.wc-reasoning[open] summary::before { transform: rotate(90deg); }
.wc-reasoning-meta {
  font-weight: 500;
  color: var(--ink-3);
  font-size: 12px;
}
.wc-steps { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-direction: column; gap: 8px; }
.wc-steps li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--ink-2);
}
.wc-step-n {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--ink); color: white;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  flex-shrink: 0;
}
.wc-steps code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--teal-2);
}

.wc-actions {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed rgba(20,184,166,.25);
  display: flex; gap: 6px; flex-wrap: wrap;
}
.wc-act {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 12px; font-weight: 500;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}
.wc-act:hover { border-color: var(--teal); color: var(--teal-2); background: rgba(20,184,166,.04); }

/* ----- Composer ----- */
.wc-composer {
  display: flex; align-items: center; gap: 10px;
  border-top: 1px solid var(--line);
  background: #FAFAF7;
  padding: 11px 18px;
  font-size: 13px;
  color: var(--ink-3);
}
.wc-composer-pre {
  width: 22px; height: 22px;
  border-radius: 5px;
  background: rgba(10,31,30,.06);
  color: var(--ink-2);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.wc-composer-text { flex: 1; }
.wc-composer-send {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: var(--teal);
  color: white;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
}

/* ----- Feature strip ----- */
.wise-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto 36px;
}
.wf {
  display: flex; gap: 14px;
  align-items: flex-start;
}
.wf-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--teal-2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.wf strong {
  display: block;
  font-size: 15px; font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.wf p {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.55;
}

.wise-cta {
  display: flex; justify-content: center; gap: 14px;
  flex-wrap: wrap;
}

/* Teams skin (applied when user toggles platform) */
.wise-chat[data-platform="teams"] .wc-header { background: #F0F0F8; }
.wise-chat[data-platform="teams"] .wc-channel::before {
  content: '';
  display: inline-block;
  width: 14px; height: 14px;
  background: #4B53BC;
  border-radius: 3px;
  margin-right: 4px;
  vertical-align: -2px;
}
.wise-chat[data-platform="teams"] .wc-hash { display: none; }
.wise-chat[data-platform="teams"] .wc-avatar-bot::after { background: #4B53BC; }
.wise-chat[data-platform="teams"] .wc-composer { background: #F0F0F8; }
.wise-chat[data-platform="teams"] .wc-composer-send { background: #4B53BC; }

/* Responsive */
@media (max-width: 768px) {
  .wise-features { grid-template-columns: 1fr; gap: 18px; }
  .wc-platforms { display: none; }
  .wc-actions { flex-direction: column; align-items: stretch; }
  .wc-act { width: 100%; text-align: left; }
}

/* ===== DEMO ===== */
.demo-section { padding: 120px 0; background: var(--paper); }

.query-card-big {
  max-width: 880px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(10,31,30,.12);
}
.qc-head {
  display: flex; align-items: center; gap: 4px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.qc-tab {
  font-size: 12px; font-weight: 500;
  color: var(--ink-3);
  padding: 5px 12px;
  border-radius: 6px;
}
.qc-tab.active { background: var(--paper); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.qc-spacer { flex: 1; }
.qc-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; font-weight: 700;
  background: var(--lime-soft);
  color: #4D6B0E;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.qc-prompt {
  padding: 22px 24px;
  display: flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.qc-caret { color: var(--teal); font-weight: 700; }
.qc-cur {
  width: 9px; height: 18px;
  background: var(--ink);
  display: inline-block;
  animation: blink 1.1s infinite;
}
@keyframes blink { 0%,49%{opacity:1} 50%,100%{opacity:0} }

.qc-reasoning {
  padding: 20px 24px;
  display: flex; flex-direction: column; gap: 12px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.qc-step {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
}
.qc-step code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  background: var(--paper);
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid var(--line);
  color: var(--teal-2);
}
.step-num {
  width: 22px; height: 22px;
  background: var(--ink);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  flex-shrink: 0;
  font-family: 'JetBrains Mono', monospace;
}
.step-mode {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  background: var(--orange-soft);
  color: var(--orange-2);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  margin-right: 4px;
}

.qc-answer { padding: 22px 24px; }
.qc-answer-head {
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px;
}
.qc-answer p { font-size: 15.5px; color: var(--ink); line-height: 1.6; }
.qc-answer strong { font-weight: 700; }
.qc-mini-chart { margin-top: 16px; }
.qc-mini-chart svg { width: 100%; height: 60px; }

.pill {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  vertical-align: 2px;
}
.pill-warn { background: var(--orange-soft); color: var(--orange-2); }

/* ===== CONNECTORS ===== */
.connectors { padding: 120px 0; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.connector-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  max-width: 980px;
  margin: 0 auto;
}
.conn {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500;
  color: var(--ink);
  transition: transform .2s, border-color .2s, box-shadow .2s;
  cursor: default;
}
.conn:hover { transform: translateY(-2px); border-color: var(--line-2); box-shadow: 0 6px 20px rgba(10,31,30,.06); }
.conn-dot { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.conn-logo {
  width: 22px; height: 22px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.conn-more {
  background: var(--ink);
  color: var(--teal);
  border-color: var(--ink);
  justify-content: center;
  font-weight: 700;
}
.connectors-foot {
  text-align: center;
  margin-top: 28px;
  font-size: 14px;
  color: var(--ink-3);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.connectors-foot em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--orange);
  font-size: 1.05em;
}

/* ===== USE CASES ===== */
.usecases { padding: 120px 0; background: var(--paper); }
.uc-tabs {
  display: flex; justify-content: center; gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.uc-tab {
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  font-size: 14px; font-weight: 500;
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  transition: all .2s;
}
.uc-tab:hover { background: var(--bg); border-color: var(--ink); }
.uc-tab.active { background: var(--ink); color: white; border-color: var(--ink); font-weight: 600; }

.uc-panels { max-width: 820px; margin: 0 auto; min-height: 200px; }
.uc-panel { display: none; animation: fadeIn .3s ease; }
.uc-panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.uc-q {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 24px;
  border-left: 3px solid var(--teal);
  padding-left: 20px;
}
.uc-a {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
}
.uc-cite {
  font-size: 12px; color: var(--ink-3);
  margin-bottom: 12px;
  font-family: 'JetBrains Mono', monospace;
}
.uc-cite code {
  background: var(--teal-soft); color: var(--teal-2);
  padding: 1px 6px; border-radius: 4px;
}
.uc-a p { font-size: 16px; color: var(--ink); line-height: 1.6; }
.uc-a strong { font-weight: 700; }

/* ===== DEV ===== */
.dev-section { padding: 120px 0; background: var(--ink); color: white; }
.dev-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.dev-text .kicker { color: rgba(255,255,255,.5); }
.dev-text .h2 { color: white; }
.dev-text .h2 .serif-italic { color: var(--teal); }
.dev-text .sub { color: rgba(255,255,255,.7); }
.dev-text { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.dev-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 6px; }
.dev-tag {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: white;
  font-size: 13px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-family: 'JetBrains Mono', monospace;
}

.dev-code {
  background: #06181A;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.code-tabs {
  display: flex; align-items: center; gap: 4px;
  padding: 10px 14px;
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.ct {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  padding: 5px 12px;
  border-radius: 6px;
}
.ct.active { background: rgba(20,184,166,.15); color: var(--teal); }
.ct-spacer { flex: 1; }
.ct-copy {
  font-size: 11px; color: rgba(255,255,255,.4);
  padding: 4px 10px; border: 1px solid rgba(255,255,255,.1);
  border-radius: 4px; cursor: pointer;
}
.ct-copy:hover { color: var(--teal); border-color: rgba(20,184,166,.3); }
.code {
  padding: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(255,255,255,.92);
  overflow-x: auto;
}
.c-com { color: rgba(255,255,255,.4); font-style: italic; }
.c-kw { color: var(--orange); }
.c-str { color: var(--lime); }
.c-fn { color: #93C5FD; }

/* ===== QUOTE / METRICS ===== */
.quote-section { padding: 120px 0; background: var(--paper); }
.big-quote {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 80px;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.quote-mark {
  font-family: 'Instrument Serif', serif;
  font-size: 100px;
  line-height: .6;
  color: var(--orange);
}
.big-quote blockquote {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -.01em;
}
.big-quote blockquote em { color: var(--teal-2); }
.big-quote figcaption {
  display: flex; align-items: center; gap: 14px;
  font-size: 15px; color: var(--ink-2);
}
.big-quote figcaption strong { color: var(--ink); }
.big-quote figcaption span { color: var(--ink-3); font-size: 13px; }
.qa-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
  background: var(--teal); color: white;
}

.metrics-strip {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 0;
}
.m-stat {
  text-align: center;
  border-right: 1px solid var(--line);
  padding: 0 20px;
}
.m-stat:last-child { border-right: none; }
.m-num {
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
  margin-bottom: 6px;
}
.m-lbl { font-size: 13px; color: var(--ink-3); }

/* ===== PRICING ===== */
.pricing { padding: 120px 0; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1050px;
  margin: 0 auto;
}
.price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
}
.price-card.featured {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
  transform: scale(1.03);
  box-shadow: 0 30px 60px rgba(10,31,30,.2);
}
.price-badge {
  position: absolute; top: -12px; right: 24px;
  background: var(--orange);
  color: white;
  font-size: 11px; font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  letter-spacing: .04em;
}
.price-name { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.price-card.featured .price-name { color: var(--teal); }
.price-num {
  font-size: 44px; font-weight: 800; letter-spacing: -.03em;
  line-height: 1;
}
.price-num span { font-size: 16px; font-weight: 500; color: var(--ink-3); }
.price-card.featured .price-num span { color: rgba(255,255,255,.5); }
.price-tag { font-size: 14px; color: var(--ink-3); }
.price-card.featured .price-tag { color: rgba(255,255,255,.65); }
.price-features {
  display: flex; flex-direction: column; gap: 10px;
  margin: 12px 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  flex: 1;
}
.price-card.featured .price-features { border-color: rgba(255,255,255,.1); }
.price-features li { font-size: 14px; color: var(--ink-2); }
.price-card.featured .price-features li { color: rgba(255,255,255,.85); }

/* ===== FINAL CTA ===== */
.final-cta { padding: 60px 0 120px; background: var(--paper); }
.cta-card {
  background: var(--ink);
  background-image:
    radial-gradient(circle at 80% 20%, rgba(20,184,166,.18) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(232,90,44,.15) 0%, transparent 50%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  position: relative; overflow: hidden;
}
.cta-eq {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: -.01em;
}
.cta-eq span { color: rgba(255,255,255,.4); margin: 0 4px; }
.cta-card .h2 { color: white; }
.cta-card .h2 .serif-italic { color: var(--orange); }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.cta-fine { font-size: 13px; color: rgba(255,255,255,.55); }

/* ===== FOOTER ===== */
.footer { padding: 80px 0 0; background: var(--paper); border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 3fr;
  gap: 60px;
  padding-bottom: 60px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand .brand-name { color: var(--ink); }
.f-tag { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 18px; color: var(--ink-2); max-width: 260px; line-height: 1.45; }
.f-social { display: flex; gap: 8px; }
.f-social a {
  width: 36px; height: 36px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600;
  color: var(--ink-2);
  transition: all .2s;
}
.f-social a:hover { background: var(--ink); color: var(--teal); border-color: var(--ink); }

.footer-cols { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; }
.fc { display: flex; flex-direction: column; gap: 12px; }
.fc h5 { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }
.fc a { font-size: 14px; color: var(--ink-3); transition: color .15s; }
.fc a:hover { color: var(--ink); }
.fc-tag { background: var(--orange); color: white; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 4px; margin-left: 6px; letter-spacing: .04em; text-transform: uppercase; }
.fc-tag-muted { background: var(--line-2); color: var(--ink-3); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--ink-3);
}
.f-legal { display: flex; gap: 20px; }
.f-legal a:hover { color: var(--ink); }

.footer-wordmark {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(120px, 22vw, 280px);
  letter-spacing: -.04em;
  line-height: .85;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-2);
  text-align: center;
  margin-top: 20px;
  margin-bottom: -40px;
  user-select: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero::before, .hero::after { display: none; }
  .pillar-grid { grid-template-columns: 1fr; }
  .stack-diagram { grid-template-columns: 1fr; }
  .eq-grid { grid-template-columns: 1fr; gap: 16px; }
  .eq-plus, .eq-equals { font-size: 40px; }
  .modes-grid { grid-template-columns: 1fr 1fr; }
  .connector-grid { grid-template-columns: repeat(3, 1fr); }
  .price-grid { grid-template-columns: 1fr; max-width: 480px; }
  .price-card.featured { transform: none; }
  .dev-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2,1fr); }
  .metrics-strip { grid-template-columns: repeat(2,1fr); }
  .m-stat:nth-child(2) { border-right: none; }
  .m-stat:nth-child(1), .m-stat:nth-child(2) { border-bottom: 1px solid var(--line); padding-bottom: 28px; margin-bottom: 28px; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-menu.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: var(--dark);
    padding: 20px; margin: 0; gap: 4px;
    z-index: 99;
    overflow-y: auto;
  }
  .nav-menu.open .nav-link { padding: 14px 16px; font-size: 16px; }
  .burger { display: flex; }
  .nav-cta .lnk { display: none; }

  .modes-grid { grid-template-columns: 1fr; }
  .connector-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-strip { grid-template-columns: 1fr; }
  .m-stat { border-right: none; border-bottom: 1px solid var(--line); padding: 20px 0; }
  .m-stat:last-child { border-bottom: none; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .cta-card { padding: 50px 24px; }
  .finder-sidebar { display: none; }
}
