@property --sheen-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

/* ── Reset & Variables ─────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:          #0D1627;
  --surface:     #111D33;
  --border:      #2e3f5c;
  --accent:      #00D4AA;
  --accent-glow: rgba(0, 212, 170, 0.12);
  --text-primary:#F0F6FC;
  --text-muted:  #8B949E;
}

html { scroll-behavior: smooth; }

#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  display: block;
  pointer-events: none;
}

body {
  background: #0D1627;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Inter', sans-serif; font-weight: 500; line-height: 1.15; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ── Nav ───────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(33, 45, 67, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
@media (min-width: 769px) {
  nav { overflow-x: clip; }
}
nav::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 170, 0.45), transparent);
  pointer-events: none;
}
nav::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -80px;
  width: 80px;
  height: 2px;
  background: radial-gradient(ellipse at center, rgba(0, 212, 170, 0.9), transparent);
  pointer-events: none;
  z-index: 1;
  animation: sheenSlide 5s linear infinite;
}
nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.wordmark {
  display: block;
  text-decoration: none;
}
.wordmark img {
  display: block;
  height: 50px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-link:hover { color: var(--text-primary); }
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 0;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s ease;
}
.nav-dropdown-toggle:hover { color: var(--text-primary); }
.nav-dropdown-toggle svg { transition: transform 0.2s ease; }
.nav-dropdown:hover .nav-dropdown-toggle svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--text-muted);
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  transition: color 0.15s ease, padding-left 0.15s ease;
  border-left: 2px solid transparent;
}
.nav-dropdown-menu a:hover {
  color: var(--text-primary);
  border-left-color: var(--accent);
  padding-left: 24px;
}
.nav-dropdown-menu a.active {
  color: var(--text-primary);
  border-left-color: var(--accent);
}

/* Wide dropdown panels */
.nav-dropdown-wide .nav-dropdown-menu {
  min-width: 340px;
}
.nav-dropdown-panel {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-dropdown-panel a.dropdown-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s ease;
  border-left: none;
  border-left-color: transparent;
}
.nav-dropdown-panel a.dropdown-item:hover {
  background: rgba(0, 212, 170, 0.06);
  padding-left: 14px;
  border-left: none;
}
.nav-dropdown-panel a.dropdown-item.active {
  background: rgba(0, 212, 170, 0.06);
  border-left: none;
  padding-left: 14px;
}
.nav-dropdown-panel a.dropdown-item.active .dropdown-item-title {
  color: var(--accent);
}
.dropdown-item-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 170, 0.08);
  border: 1px solid rgba(0, 212, 170, 0.15);
  border-radius: 7px;
}
.dropdown-item-no-icon {
  padding: 10px 14px;
}
.dropdown-item-no-icon:hover {
  padding-left: 14px;
}
.dropdown-item-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.dropdown-item-title {
  font-size: 13px;
  font-weight: 500;
  color: #F0F6FC;
  line-height: 1.3;
}
.dropdown-item-desc {
  font-size: 11px;
  color: #8B949E;
  line-height: 1.4;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* ── Sheen animation (nav + terminal synced) ─────── */
@keyframes sheenSlide {
  0%   { left: -80px; }
  20%  { left: calc(100% + 80px); }
  100% { left: calc(100% + 80px); }
}
@keyframes borderTrace {
  0%   { --sheen-angle: 0deg; }
  40%  { --sheen-angle: 360deg; }
  100% { --sheen-angle: 360deg; }
}
@media (prefers-reduced-motion: reduce) {
  nav::before { animation: none; }
  .terminal::before { animation: none; opacity: 0; }
}

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 10px 24px;
  background: var(--accent);
  color: var(--bg);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: box-shadow 0.25s ease;
}
.btn:hover { box-shadow: 0 0 24px var(--accent-glow), 0 0 48px var(--accent-glow); }

/* ── Hero ──────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-inner { max-width: 820px; padding: 120px 24px; position: relative; z-index: 1; }
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0, 212, 170, 0.13) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, black 10%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, black 10%, transparent 100%);
}
.hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  background: linear-gradient(180deg, #ffffff 0%, #C8D8E8 60%, #a8c4d8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.8s ease forwards;
}
.hero p {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 40px;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.8s ease 0.15s forwards;
}
.hero .btn {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.8s ease 0.3s forwards;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Split hero layout ────────────────────────────── */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  text-align: left;
  padding: 72px 80px 80px;
  max-width: 100%;
  min-height: auto;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  position: relative;
  z-index: 1;
}
.hero-copy h1 {
  text-align: left;
  margin-bottom: 0;
}
.hero-copy p {
  text-align: left;
  max-width: 480px;
  margin: 0;
}
.hero-terminal {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow: hidden;
}
.terminal-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #00D4AA;
  margin: 0;
}

/* ── Section shared ────────────────────────────────── */
.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 24px;
}
section { padding: 26px 0; }
.hero + section { padding-top: 0px; }

/* ── Section headline ─────────────────────────────── */
.section-headline {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 40px;
}

/* ── Trust Layer Problem (index) ──────────────────── */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 680px;
  margin: 0 auto 40px;
}
.trust-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.trust-row:nth-child(1),
.trust-row:nth-child(2) {
  border-bottom: 1px solid var(--border);
}
.trust-row:nth-child(3),
.trust-row:nth-child(4) {
  border-bottom: none;
}
.trust-category {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-primary);
  min-width: 120px;
}
.trust-arrow {
  color: var(--text-muted);
  font-size: 1.1rem;
}
.trust-layer {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.trust-row--highlight {
  border-left: 3px solid var(--accent);
  background: rgba(0, 212, 170, 0.04);
}
.trust-layer--accent {
  color: var(--accent);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}
.trust-closing {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto;
}

/* ── Why Now (index) ──────────────────────────────── */
.why-now-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}
.why-now-closing {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto;
}

/* ── Pillars (index) ──────────────────────────────── */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.pillar {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards;
}
.pillar:nth-child(1) { animation-delay: 0.2s; }
.pillar:nth-child(2) { animation-delay: 0.4s; }
.pillar:nth-child(3) { animation-delay: 0.6s; }
.pillar-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 12px;
}
.pillar h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.pillar p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── Prose ─────────────────────────────────────────── */
.prose {
  max-width: 720px;
  margin: 0 auto;
}
.prose h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
.prose p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
.prose p + p {
  margin-top: 16px;
}

/* ── Legal prose (privacy, terms) ────────────────── */
.prose.legal h3 {
  font-size: 1.4rem;
  margin-top: 32px;
  margin-bottom: 12px;
}
.prose.legal h4 {
  font-size: 1.1rem;
  margin-top: 24px;
  margin-bottom: 8px;
}
.prose.legal ul {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-top: 12px;
  padding-left: 24px;
}
.prose.legal li + li {
  margin-top: 8px;
}
.prose.legal hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}
.prose.legal a {
  color: var(--accent);
  text-decoration: none;
}
.prose.legal a:hover {
  text-decoration: underline;
}

/* ── About / Page Hero ────────────────────────────── */
.page-hero {
  padding: 120px 80px 80px;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  background: linear-gradient(180deg, #ffffff 0%, #C8D8E8 60%, #a8c4d8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: 24px;
}
.page-hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

.about-section {
  padding: 72px 80px;
  border-top: 1px solid var(--border);
}
.about-section:first-of-type {
  border-top: none;
}
.about-section-inner {
  max-width: 820px;
  margin: 0 auto;
}
.about-section h2 {
  font-size: 28px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 24px;
}
.about-section p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.about-section p:last-child {
  margin-bottom: 0;
}

.about-vision-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
}
.about-mission-statement {
  font-size: 22px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 24px;
  border-left: 2px solid var(--accent);
  padding-left: 20px;
}

.about-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.about-info-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.about-info-value {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
}

.about-cta-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.about-cta-inner h2 {
  margin-bottom: 16px;
}
.about-cta-inner p {
  margin-bottom: 32px;
}

/* ── Cards ─────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.cards:has(:nth-child(4)):not(:has(:nth-child(5))),
.cards:has(:nth-child(2)):not(:has(:nth-child(3))) {
  grid-template-columns: repeat(2, 1fr);
}
.card {
  background: #212d43;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px;
  transition: box-shadow 0.3s ease;
}
.card:hover {
  box-shadow: 0 0 24px var(--accent-glow);
}
.card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ── Fade-in sections ──────────────────────────────── */
.fade-section {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards;
}
.fade-section:nth-of-type(1) { animation-delay: 0.1s; }
.fade-section:nth-of-type(2) { animation-delay: 0.25s; }
.fade-section:nth-of-type(3) { animation-delay: 0.4s; }
.fade-section:nth-of-type(4) { animation-delay: 0.55s; }
.fade-section:nth-of-type(5) { animation-delay: 0.7s; }

/* ── Terminal Animation (index) ───────────────────── */
.terminal {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  box-shadow: 0 0 40px rgba(0, 212, 170, 0.06), 0 0 80px rgba(0, 212, 170, 0.03);
  overflow: hidden;
  text-align: left;
  position: relative;
}
.terminal::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: conic-gradient(
    from calc(var(--sheen-angle) + 315deg),
    transparent 0%,
    rgba(0, 212, 170, 0.7) 3%,
    transparent 8%,
    transparent 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  padding: 2px;
  pointer-events: none;
  z-index: 10;
  animation: borderTrace 5s ease-in-out 1s infinite;
}
.term-bar {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.term-dots {
  display: flex;
  gap: 8px;
}
.term-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.term-dots span:nth-child(1) { background: #FF5F57; }
.term-dots span:nth-child(2) { background: #FFBD2E; }
.term-dots span:nth-child(3) { background: #28C840; }
.term-bar-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.term-body {
  padding: 20px 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  line-height: 1.5;
  height: 640px;
  overflow: hidden;
  transition: opacity 0.5s ease;
  text-align: left;
}
.term-line {
  white-space: pre-wrap;
  word-break: break-all;
  min-height: 21px;
}
.term-command { color: var(--text-primary); }
.term-check   { color: var(--accent); }
.term-vdsai   { color: #A8B2BC; }
.term-normal  { color: var(--text-muted); }
.term-blank   { height: 21px; }
.term-json { color: var(--text-muted); }
.term-json .js { color: var(--text-primary); }
.term-json .jn,
.term-json .jb { color: var(--accent); }

.term-spinner {
  display: inline-block;
  color: var(--accent);
}

.term-cursor {
  display: inline-block;
  width: 8px;
  height: 1.1em;
  background: var(--accent);
  vertical-align: text-bottom;
  animation: cursorBlink 0.7s step-end infinite;
}
@keyframes cursorBlink {
  50% { opacity: 0; }
}

/* ── Contact Form ──────────────────────────────────── */
#demo { padding: 100px 0; }
.waitlist-cta {
  text-align: center;
}
.waitlist-cta h2 {
  font-size: 2.2rem;
  margin-bottom: 32px;
}
.waitlist-cta .btn {
  display: inline-block;
  padding: 16px 48px;
  font-size: 1.05rem;
}

.form-wrap {
  max-width: 600px;
  margin: 0 auto;
}
.form-wrap h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  text-align: center;
}
.form-intro {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.field-row {
  display: flex;
  gap: 12px;
}
.field-row .field { flex: 1; }
.field {
  margin-bottom: 16px;
}
.field input, .field textarea {
  width: 100%;
  padding: 14px 16px;
  background: #1a2538;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.25s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); }
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 100px; }

.field-checkboxes {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px 18px;
  margin-bottom: 16px;
}
.field-checkboxes legend {
  color: var(--text-secondary);
  font-size: 0.95rem;
  padding: 0 6px;
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-primary);
}
.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.form-wrap .btn {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  margin-top: 8px;
}
.form-msg {
  text-align: center;
  margin-top: 16px;
  font-size: 0.9rem;
}
.form-msg.success { color: var(--accent); }
.form-msg.error   { color: #f85149; }

.form-confirmation {
  text-align: center;
  padding: 48px 0;
  color: var(--accent);
  font-size: 1.15rem;
  font-weight: 500;
}

/* ── Tagline Closer (index) ───────────────────────── */
.tagline-closer {
  background: var(--surface);
  padding: 100px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.tagline-closer h2 {
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 600;
  font-size: clamp(3rem, 10vw, 7rem);
  color: var(--text-primary);
  letter-spacing: 0;
  line-height: 1.1;
  position: relative;
  z-index: 1;
}

/* ── Footer ────────────────────────────────────────── */
footer {
  background: rgba(33, 45, 67, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer span, footer a {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
}
footer a:hover {
  color: var(--accent);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand img {
  opacity: 0.5;
  flex-shrink: 0;
  position: relative;
  top: -1px;
}

/* ── Responsive ────────────────────────────────────── */

/* Tablet: switch hero to single column before things get cramped */
@media (max-width: 1024px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 80px 48px 60px;
    text-align: center;
  }
  .hero-copy {
    align-items: center;
  }
  .hero-copy h1,
  .hero-copy p {
    text-align: center;
  }
  .hero-copy p {
    max-width: 600px;
  }
  .hero-terminal {
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
  }
  .pillars { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  nav::before { display: none; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 24px;
    gap: 0;
    align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .nav-dropdown-toggle { padding: 12px 0; }
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 0 0 8px 16px;
    min-width: 0;
    display: none;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: flex; }
  .nav-dropdown-wide .nav-dropdown-menu { min-width: 0; }
  .dropdown-item { padding: 8px 0; border-radius: 0; }
  .dropdown-item:hover { background: transparent; padding-left: 0; }
  .dropdown-item-icon { display: none; }
  .dropdown-item-no-icon { padding: 8px 0; }
  .dropdown-item-no-icon:hover { padding-left: 0; }
  .dropdown-item-desc { display: none; }
  .nav-cta { text-align: center; margin-top: 8px; }
  .hero-split {
    padding: 80px 24px 60px;
  }
  .hero-terminal {
    order: 2;
  }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-row:nth-child(3) { border-bottom: 1px solid var(--border); }
  .trust-category { min-width: 100px; }
  .section-headline { font-size: 1.6rem; }
  .why-now-grid { grid-template-columns: 1fr; gap: 24px; }
  .cards,
  .cards:has(:nth-child(4)):not(:has(:nth-child(5))),
  .cards:has(:nth-child(2)):not(:has(:nth-child(3))) { grid-template-columns: 1fr; gap: 24px; }
  section { padding: 20px 0; }
  .hero-inner { padding: 80px 16px; }
  .term-body {
    font-size: 12px;
    height: 520px;
    overflow-y: hidden;
    overflow-x: auto;
  }
  .tagline-closer { padding: 64px 16px; }
  .page-hero { padding: 80px 24px 60px; }
  .about-section { padding: 52px 24px; }
  .about-vision-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-info-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-link { padding: 12px 0; }
  footer .wrap { flex-direction: column; gap: 8px; text-align: center; }
}
