/* ══════════════════════════════════════════════════════════════
   Smartcentric — HAAAS presentation site
   Design system: deep navy · teal→sky gradient accents
   Type: Space Grotesk (display) · Inter (body)
   ══════════════════════════════════════════════════════════════ */

:root {
  --bg: #0a101f;
  --bg-alt: #0e1628;
  --surface: rgba(23, 33, 56, 0.72);
  --surface-solid: #172138;
  --edge: rgba(148, 178, 230, 0.14);
  --edge-strong: rgba(148, 178, 230, 0.26);
  --text: #eef2fa;
  --text-dim: #9fadc6;
  --accent: #2dd4bf;
  --accent-2: #38bdf8;
  --accent-grad: linear-gradient(100deg, #2dd4bf, #38bdf8);
  --accent-contrast: #05231f;
  --warm: #ffcf7d;
  --grid-dot: rgba(148, 178, 230, 0.09);
  --header-bg: rgba(10, 16, 31, 0.72);
  --mobile-nav-bg: rgba(14, 22, 40, 0.97);
  --chip-bg: rgba(20, 30, 52, 0.82);
  --arch-node-fill: #0d1526;
  --flow: #44598a;
  --hero-title-start: #eef2fa;
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1160px;
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-card: 0 20px 45px -18px rgba(2, 8, 20, 0.7);
  color-scheme: dark;
}

/* ---------- Light theme (manual toggle) ---------- */
:root[data-theme="light"] {
  --bg: #f5f7fc;
  --bg-alt: #ecf0f8;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-solid: #ffffff;
  --edge: rgba(16, 38, 76, 0.1);
  --edge-strong: rgba(16, 38, 76, 0.2);
  --text: #101c33;
  --text-dim: #4c5c78;
  --accent: #0d9488;
  --accent-2: #0369a1;
  --accent-grad: linear-gradient(100deg, #0d9488, #0284c7);
  --accent-contrast: #ffffff;
  --grid-dot: rgba(16, 38, 76, 0.07);
  --header-bg: rgba(245, 247, 252, 0.8);
  --mobile-nav-bg: rgba(245, 247, 252, 0.97);
  --chip-bg: rgba(255, 255, 255, 0.92);
  --arch-node-fill: #ffffff;
  --flow: #7e93bd;
  --hero-title-start: #101c33;
  --shadow-card: 0 20px 45px -20px rgba(23, 52, 110, 0.25);
  color-scheme: light;
}
:root[data-theme="light"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* ---------- Light theme (system preference, no manual override) ---------- */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f5f7fc;
    --bg-alt: #ecf0f8;
    --surface: rgba(255, 255, 255, 0.82);
    --surface-solid: #ffffff;
    --edge: rgba(16, 38, 76, 0.1);
    --edge-strong: rgba(16, 38, 76, 0.2);
    --text: #101c33;
    --text-dim: #4c5c78;
    --accent: #0d9488;
    --accent-2: #0369a1;
    --accent-grad: linear-gradient(100deg, #0d9488, #0284c7);
    --accent-contrast: #ffffff;
    --grid-dot: rgba(16, 38, 76, 0.07);
    --header-bg: rgba(245, 247, 252, 0.8);
    --mobile-nav-bg: rgba(245, 247, 252, 0.97);
    --chip-bg: rgba(255, 255, 255, 0.92);
    --arch-node-fill: #ffffff;
    --flow: #7e93bd;
    --hero-title-start: #101c33;
    --shadow-card: 0 20px 45px -20px rgba(23, 52, 110, 0.25);
    color-scheme: light;
  }
  :root:not([data-theme="dark"]) .theme-toggle .icon-sun { display: none; }
  :root:not([data-theme="dark"]) .theme-toggle .icon-moon { display: block; }
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(45, 212, 191, 0.35); }

/* Faint dot grid across the whole page */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(var(--grid-dot) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.7));
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container.narrow { max-width: 780px; }
.container.narrow p + p { margin-top: 1.1rem; }

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
}
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); margin-bottom: 1rem; }
h3 { font-size: 1.18rem; margin-bottom: 0.55rem; }
p  { color: var(--text-dim); }

.accent { color: var(--accent); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent-grad);
  border-radius: 2px;
}

.section-lead { font-size: 1.07rem; max-width: 46em; }

/* ══════════ Header / nav ══════════ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--header-bg);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--edge);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
}
.brand-mark { width: 27px; height: 27px; color: var(--accent); flex-shrink: 0; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.brand-name span {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  list-style: none;
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--edge-strong);
  background: var(--surface);
  color: var(--text-dim);
  cursor: pointer;
  transition: color 0.18s, border-color 0.18s, transform 0.18s;
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); transform: rotate(12deg); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .icon-sun { display: block; }
.theme-toggle .icon-moon { display: none; }
.nav-links a:not(.btn) {
  position: relative;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.3rem 0;
  transition: color 0.18s;
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).current { color: var(--text); }
.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).current::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 42px;
  height: 42px;
  align-items: center;
  background: none;
  border: 1px solid var(--edge);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ══════════ Buttons ══════════ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-body);
  text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s, border-color 0.18s;
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; transition: transform 0.18s; }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--accent-grad);
  color: var(--accent-contrast);
  box-shadow: 0 10px 30px -10px rgba(45, 212, 191, 0.45);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px -10px rgba(45, 212, 191, 0.55);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--edge-strong);
  background: var(--surface);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.btn-small {
  padding: 0.55rem 1.2rem;
  font-size: 0.88rem;
  background: var(--accent-grad);
  color: var(--accent-contrast) !important;
}
.btn-large { font-size: 1.08rem; padding: 0.95rem 2.1rem; }

/* ══════════ Hero ══════════ */

.hero {
  position: relative;
  padding: 5.5rem 0 6.5rem;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 55% at 78% 22%, rgba(45, 212, 191, 0.14), transparent 65%),
    radial-gradient(ellipse 45% 45% at 12% 85%, rgba(56, 189, 248, 0.1), transparent 65%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-dim);
  border: 1px solid var(--edge);
  background: var(--surface);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  margin-bottom: 1.75rem;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(45, 212, 191, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); }
}

.hero-title { display: block; margin-bottom: 1.6rem; }
.hero-haaas {
  display: block;
  font-size: clamp(4rem, 9vw, 6.8rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.95;
  background: linear-gradient(100deg, var(--hero-title-start) 10%, var(--accent) 55%, var(--accent-2) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-tag {
  display: block;
  margin-top: 0.7rem;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero-lead {
  font-size: 1.09rem;
  max-width: 34em;
  margin-bottom: 2.1rem;
}
.hero-lead strong { color: var(--text); font-weight: 600; }

.hero-cta { display: flex; gap: 0.9rem; flex-wrap: wrap; }

.hero-ecosystems {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: 2.4rem;
}
.eco-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-right: 0.3rem;
}
.eco-pill {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-dim);
  border: 1px solid var(--edge);
  background: var(--surface);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  transition: color 0.18s, border-color 0.18s;
}
.eco-pill:hover { color: var(--accent); border-color: var(--accent); }

/* --- Hero visual: apartment tower --- */

.hero-visual { position: relative; }
.tower-scene {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
}
.tower { width: 100%; height: auto; display: block; }

.win {
  fill: #1b2946;
  cursor: pointer;
  transition: fill 0.6s ease, filter 0.6s ease;
}
.win.on {
  fill: var(--warm);
  filter: drop-shadow(0 0 7px rgba(255, 195, 100, 0.75));
}

.ui-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--chip-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--edge-strong);
  border-radius: 14px;
  padding: 0.65rem 0.95rem;
  box-shadow: var(--shadow-card);
  animation: float 6s ease-in-out infinite;
}
.ui-chip strong {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.ui-chip small { font-size: 0.74rem; color: var(--text-dim); }

.chip-1 { top: 16%; left: -6%; animation-delay: 0s; }
.chip-2 { top: 46%; right: -8%; animation-delay: 1.6s; }
.chip-3 { bottom: 7%; left: 2%; animation-delay: 3.2s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.chip-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: rgba(45, 212, 191, 0.14);
  position: relative;
}
.chip-icon::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
}
.chip-icon.on::before { background: radial-gradient(circle at 35% 35%, #ffe3a3, #ffb54d); box-shadow: 0 0 10px rgba(255, 195, 100, 0.8); }
.chip-icon.blind::before {
  border-radius: 3px;
  background: repeating-linear-gradient(180deg, #38bdf8 0 2.5px, transparent 2.5px 5px);
}
.chip-icon.sub::before {
  background: var(--accent-grad);
  clip-path: polygon(40% 0%, 40% 45%, 15% 45%, 60% 100%, 60% 55%, 85% 55%);
}

/* ══════════ Sections ══════════ */

.section { padding: 6.5rem 0; position: relative; }
.section.alt {
  background: linear-gradient(180deg, var(--bg-alt), rgba(14, 22, 40, 0.4));
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
}

.section-head { max-width: 740px; margin-bottom: 3.25rem; }
.section-head.center-head { margin-left: auto; margin-right: auto; text-align: center; }
.center-head .eyebrow { justify-content: center; }
.center-head .section-lead { margin-left: auto; margin-right: auto; }

/* ══════════ Cards ══════════ */

.cards { display: grid; gap: 1.4rem; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.four  { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--accent-grad);
  opacity: 0;
  transition: opacity 0.25s;
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--edge-strong);
  box-shadow: var(--shadow-card);
}
.card:hover::before { opacity: 1; }
.card p { font-size: 0.95rem; }

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.16), rgba(56, 189, 248, 0.12));
  border: 1px solid rgba(45, 212, 191, 0.25);
  color: var(--accent);
}
.card-icon svg { width: 24px; height: 24px; }

/* ══════════ Callout ══════════ */

.callout-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  margin-top: 2.75rem;
}
.callout-grid .callout { margin-top: 0; }

.callout {
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
  margin-top: 2.75rem;
  padding: 2rem 2.1rem;
  border-radius: var(--radius);
  background:
    linear-gradient(var(--bg-alt), var(--bg-alt)) padding-box,
    linear-gradient(120deg, rgba(45, 212, 191, 0.55), rgba(56, 189, 248, 0.3)) border-box;
  border: 1px solid transparent;
}
.callout h3 {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.callout-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(45, 212, 191, 0.12);
  color: var(--accent);
}
.callout-icon svg { width: 26px; height: 26px; }

/* ══════════ Steps ══════════ */

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  counter-reset: step;
  position: relative;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.step:hover {
  transform: translateY(-5px);
  border-color: var(--edge-strong);
  box-shadow: var(--shadow-card);
}
.step-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.9rem;
}
.step-num::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-top: 0.5rem;
  background: var(--accent-grad);
  border-radius: 2px;
}
.step h3 { font-size: 1.08rem; }
.step p { font-size: 0.92rem; }

/* ══════════ Split (developers) ══════════ */

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.checklist {
  list-style: none;
  margin: 1.75rem 0 2.25rem;
  display: grid;
  gap: 1.05rem;
}
.checklist li {
  padding-left: 2.1rem;
  position: relative;
  color: var(--text-dim);
  font-size: 0.98rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.22em;
  width: 19px;
  height: 19px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(45, 212, 191, 0.2), rgba(56, 189, 248, 0.15));
  border: 1px solid rgba(45, 212, 191, 0.4);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: calc(0.22em + 4px);
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.checklist strong { color: var(--text); font-weight: 600; }

.split-figure { display: grid; gap: 1.4rem; }

.cycle-card {
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 2.1rem;
  box-shadow: var(--shadow-card);
}
.cycle-card h4 {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.cycle { list-style: none; display: grid; gap: 1.15rem; position: relative; }
.cycle li { display: flex; gap: 1rem; align-items: flex-start; position: relative; }
.cycle li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 34px;
  bottom: -16px;
  width: 2px;
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.5), rgba(56, 189, 248, 0.15));
}
.cycle-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--accent-contrast);
  background: var(--accent-grad);
}
.cycle strong { display: block; font-size: 0.95rem; color: var(--text); line-height: 1.4; }
.cycle small { font-size: 0.83rem; color: var(--text-dim); }
.cycle-note {
  margin-top: 1.6rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--edge);
  font-size: 0.88rem;
}

/* ══════════ Photo cards ══════════ */

.photo-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--edge-strong);
  box-shadow: var(--shadow-card);
}
.photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.photo-card:hover img { transform: scale(1.04); }
.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 16, 31, 0) 40%, rgba(10, 16, 31, 0.75));
  pointer-events: none;
}
.photo-card figcaption {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.2rem;
  z-index: 1;
  font-size: 0.88rem;
  font-weight: 500;
  color: #f4f7fd; /* photos keep their dark overlay in both themes */
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}
.photo-card.tall { aspect-ratio: 4 / 4.6; }

.photo-banner {
  margin: 0 0 3rem;
  aspect-ratio: 21 / 8;
}
.photo-banner img { height: 100%; }
.about-photo { margin: 2.5rem 0 0; aspect-ratio: 21 / 9; }

/* ══════════ Architecture diagram ══════════ */

.arch {
  margin: 2.75rem 0 3.25rem;
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 2.25rem 1.75rem 1.75rem;
  overflow-x: auto;
}
.arch svg { width: 100%; min-width: 560px; height: auto; display: block; }

.flow {
  stroke: var(--flow);
  stroke-width: 2;
}
#arrow path { fill: var(--flow); }
.flow.back { stroke-dasharray: 7 6; animation: flowdash 1.6s linear infinite; }
@keyframes flowdash { to { stroke-dashoffset: -13; } }

.arch-zone {
  fill: var(--text-dim);
  font-size: 13px;
  font-family: var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.8;
}
.arch-node rect {
  fill: var(--arch-node-fill);
  stroke: var(--edge-strong);
  stroke-width: 1.5;
}
.arch-node text {
  fill: var(--text);
  font-size: 17px;
  font-weight: 600;
  font-family: var(--font-body);
}
.arch-node.hub rect { stroke: url(#hubStroke); stroke-width: 2; }
.arch-node.hub text { fill: var(--accent); }
.arch-node.eco-node text { font-size: 16px; }
.arch-link-label {
  fill: var(--text-dim);
  font-size: 13.5px;
  font-family: var(--font-body);
}
.arch figcaption {
  margin-top: 1.4rem;
  font-size: 0.9rem;
  color: var(--text-dim);
  max-width: 800px;
}

/* ══════════ About ══════════ */

.about-statement {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 1.5rem 0 1.5rem;
}
.about-statement em {
  font-style: normal;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ══════════ FAQ ══════════ */

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--edge-strong); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 1.4rem 1.3rem;
  font-size: 0.95rem;
}

/* ══════════ Contact ══════════ */

.contact-panel {
  text-align: center;
  padding: 4.5rem 2rem;
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(ellipse 70% 90% at 50% -10%, rgba(45, 212, 191, 0.14), transparent 60%),
    linear-gradient(180deg, var(--surface-solid), var(--bg-alt));
  border: 1px solid var(--edge-strong);
  box-shadow: var(--shadow-card);
}
.contact-panel .eyebrow { justify-content: center; }
.contact-panel .section-lead { margin: 0 auto 2.25rem; }
.contact-note { margin-top: 1.5rem; font-size: 0.85rem; opacity: 0.75; }

/* ══════════ Footer ══════════ */

.site-footer {
  border-top: 1px solid var(--edge);
  padding: 3rem 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-meta p { font-size: 0.82rem; opacity: 0.7; max-width: 46em; }
.footer-meta p + p { margin-top: 0.4rem; }

/* ══════════ Reveal animation ══════════ */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease var(--reveal-delay, 0ms),
              transform 0.6s ease var(--reveal-delay, 0ms);
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ui-chip, .pulse-dot, .flow.back { animation: none; }
}

/* ══════════ Responsive ══════════ */

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 4rem; }
  .hero-copy { text-align: center; }
  .hero-lead, .section-head { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-ecosystems { justify-content: center; }
  .cards.four { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 3rem; }
  .split-figure { grid-template-columns: repeat(2, 1fr); align-items: stretch; }
  .photo-card.tall { aspect-ratio: auto; min-height: 280px; }
}

@media (max-width: 700px) {
  .cards.three, .cards.four, .steps, .split-figure, .callout-grid { grid-template-columns: 1fr; }
  .section { padding: 4.5rem 0; }
  .hero { padding: 3.5rem 0 5rem; }
  .callout { flex-direction: column; }
  .photo-banner { aspect-ratio: 16 / 10; }
  .chip-1 { left: 0; }
  .chip-2 { right: 0; }
  .contact-panel { padding: 3.25rem 1.5rem; }

  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--mobile-nav-bg);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--edge-strong);
    padding: 0.75rem 0 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) {
    display: block;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
  }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links .btn-small {
    margin: 0.75rem 1.5rem 0;
    justify-content: center;
  }
}
