/* ===== Tokens ===== */
:root {
  --bg: #070b16;
  --bg-alt: #0b1224;
  --panel: rgba(20, 30, 54, 0.55);
  --panel-border: rgba(56, 189, 248, 0.22);
  --panel-border-strong: rgba(56, 189, 248, 0.45);
  --blue: #2563eb;
  --blue-bright: #3b82f6;
  --cyan: #38bdf8;
  --cyan-bright: #22d3ee;
  --text: #f4f7fb;
  --text-muted: #90a0bb;
  --text-faint: #5c6a86;
  --radius: 14px;
  --radius-sm: 10px;
  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max-width: 1140px;
}

/* ===== Reset ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }
input { font: inherit; }

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

.grad-text {
  background: linear-gradient(90deg, var(--blue-bright), var(--cyan-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-text-alt {
  color: var(--cyan-bright);
}

.eyebrow {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan-bright);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-align: center;
  margin-bottom: 10px;
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  color: #051019;
  box-shadow: 0 0 0 rgba(56,189,248,0), 0 6px 20px rgba(37, 99, 235, 0.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(56, 189, 248, 0.45); }
.btn--ghost {
  background: transparent;
  border-color: var(--panel-border-strong);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--cyan-bright); color: var(--cyan-bright); }
.btn--outline {
  background: transparent;
  border-color: var(--cyan-bright);
  color: var(--cyan-bright);
}
.btn--outline:hover { background: rgba(56, 189, 248, 0.1); }
.btn--sm { padding: 10px 18px; font-size: 12px; }
.btn--block { width: 100%; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid var(--panel-border-strong);
  border-radius: 999px;
  color: var(--text-muted);
}
.badge strong { color: var(--cyan-bright); }

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 22, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.12);
}
.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav__brand { display: flex; align-items: center; }
.nav__logo { height: 38px; width: auto; max-width: none; object-fit: contain; }
.nav__cta { flex-shrink: 0; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 72px 0 60px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(37, 99, 235, 0.28), transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 60%, rgba(56, 189, 248, 0.18), transparent 60%),
    var(--bg);
  z-index: -1;
}
.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
}
.hero__title {
  font-family: var(--font-head);
  font-size: clamp(36px, 5.4vw, 58px);
  line-height: 1.08;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero__subtitle {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 480px;
  margin-bottom: 22px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 20px;
}
.hero__tagline {
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.glow-orb {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.35), transparent 70%);
  filter: blur(10px);
}
.hero__stage {
  --px: 0; --py: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 340px;
  perspective: 1000px;
}
/* Scene: rings + trident share one 3D space so they move as a single object. */
.hero__scene {
  --th: 290px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 340px;
  transform-style: preserve-3d;
  transform: rotateX(calc(var(--py) * -1deg)) rotateY(calc(var(--px) * 1deg));
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.hero__lines { position: absolute; inset: 0; pointer-events: none; transform-style: preserve-3d; }
.hero__lines span {
  position: absolute;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 50%;
}
.hero__lines span:nth-child(1) { inset: 8%;  transform: rotateX(72deg) rotateZ(-18deg); }
.hero__lines span:nth-child(2) { inset: 20%; transform: rotateX(72deg) rotateZ(-18deg) translateZ(0); border-color: rgba(56, 189, 248, 0.16); }
.hero__lines span:nth-child(3) { inset: 32%; transform: rotateY(72deg); border-color: rgba(56, 189, 248, 0.14); }

/* Soft contact glow under the emblem; it counter-moves with the sway to sell the depth. */
.hero__floor {
  position: absolute;
  left: 50%;
  bottom: 9%;
  width: 190px;
  height: 34px;
  margin-left: -95px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(56, 189, 248, 0.38), transparent);
  filter: blur(6px);
  transform: rotateX(70deg);
  animation: floor-pulse 9s ease-in-out infinite;
}

/* Extruded emblem: the same shape stacked through Z. JS adds the side layers. */
.trident3d {
  --depth: 3px;
  position: relative;
  height: var(--th);
  aspect-ratio: 332 / 642;
  transform-style: preserve-3d;
  animation: trident-sway 9s ease-in-out infinite;
  will-change: transform;
}
.trident3d__face, .trident3d__layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}
.trident3d__face {
  transform: translateZ(0);
  filter: drop-shadow(0 0 18px rgba(56, 189, 248, 0.35));
}
.trident3d__layer {
  transform: translateZ(calc(var(--i) * var(--depth) * -1));
  filter: brightness(calc(0.55 - var(--i) * 0.025)) saturate(1.15);
}
/* Specular sweep clipped to the emblem's silhouette. */
.trident3d__shine {
  position: absolute;
  inset: 0;
  transform: translateZ(1px);
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.7) 50%, transparent 62%) no-repeat;
  background-size: 260% 100%;
  background-position: 130% 0;
  -webkit-mask: url("assets/triton-trident.png") center / 100% 100% no-repeat;
          mask: url("assets/triton-trident.png") center / 100% 100% no-repeat;
  mix-blend-mode: soft-light;
  animation: trident-shine 9s ease-in-out infinite;
  pointer-events: none;
}
@keyframes trident-sway {
  0%, 100% { transform: translateY(-6px) rotateY(-26deg) rotateX(4deg); }
  50%      { transform: translateY(6px)  rotateY(26deg)  rotateX(-2deg); }
}
@keyframes trident-shine {
  0%, 30%  { background-position: 130% 0; }
  70%, 100% { background-position: -30% 0; }
}
@keyframes floor-pulse {
  0%, 100% { opacity: 0.7; transform: rotateX(70deg) scale(0.9); }
  50%      { opacity: 1;   transform: rotateX(70deg) scale(1.1); }
}

/* ===== Motion: tilt + reveal ===== */
.tilt { transition: transform 0.2s ease-out, border-color 0.2s ease; will-change: transform; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .trident3d, .trident3d__shine, .hero__floor { animation: none; }
  .trident3d { transform: rotateY(-14deg); }
  html { scroll-behavior: auto; }
}

/* ===== Positioning ===== */
.positioning { padding: 50px 0; }
.positioning__inner { text-align: center; }
.positioning__title {
  font-family: var(--font-head);
  font-size: clamp(22px, 3.4vw, 32px);
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.3;
  margin: 22px 0 18px;
}
.positioning__body {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 22px;
}
.rule {
  height: 1px;
  max-width: 260px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.5), transparent);
}

/* ===== Benefits ===== */
.benefits { padding: 40px 0 60px; }
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.benefit-card {
  padding: 30px 26px;
  text-align: left;
}
.icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid var(--panel-border-strong);
  color: var(--cyan-bright);
  margin-bottom: 18px;
}
.benefit-card h3 {
  font-family: var(--font-head);
  font-size: 19px;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.benefit-card p { color: var(--text-muted); font-size: 15px; }

/* ===== Dashboard showcase ===== */
.showcase { padding: 40px 0 60px; }
.showcase__eyebrow { text-align: center; }
.showcase__stage {
  position: relative;
  max-width: 1040px;
  margin: 36px auto 0;
  perspective: 1400px;
}
.showcase__glow {
  position: absolute;
  inset: 8% 6%;
  background: radial-gradient(closest-side, rgba(56, 189, 248, 0.35), rgba(37, 99, 235, 0.18) 60%, transparent);
  filter: blur(50px);
  animation: showcase-glow 6s ease-in-out infinite;
  pointer-events: none;
}
.showcase__shot { position: relative; overflow: hidden; }
.showcase__scan {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 30%;
  background: linear-gradient(100deg, transparent, rgba(56, 189, 248, 0.16), transparent);
  transform: translateX(-120%) skewX(-18deg);
  animation: showcase-scan 7s ease-in-out 1.5s infinite;
  pointer-events: none;
}
.showcase__frame {
  position: relative;
  margin: 0;
  transform: rotateX(calc(var(--sx, 0) * 1deg + var(--rx, 0) * 1deg)) rotateY(calc(var(--ry, 0) * 1deg)) scale(calc(0.94 + var(--sp, 1) * 0.06));
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out;
  will-change: transform;
  border-radius: var(--radius);
  border: 1px solid var(--panel-border-strong);
  background: var(--bg-alt);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(37, 99, 235, 0.25), 0 0 0 1px rgba(56, 189, 248, 0.08);
}
.showcase__bar {
  display: flex;
  gap: 7px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--panel-border);
}
.showcase__bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--text-faint);
  opacity: 0.6;
}
.showcase__frame img { display: block; width: 100%; height: auto; }

/* Floating stat chips */
.chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(11, 18, 36, 0.88);
  border: 1px solid var(--panel-border-strong);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45), 0 0 24px rgba(56, 189, 248, 0.18);
  backdrop-filter: blur(8px);
  font-size: 13px;
  white-space: nowrap;
  animation: chip-bob 5s ease-in-out infinite;
}
.chip small { color: var(--text-muted); font-size: 12px; }
.chip strong { font-family: var(--font-head); font-size: 18px; letter-spacing: 0.02em; }
.chip em { color: #4ade80; font-style: normal; font-size: 12px; font-weight: 600; }
.chip--live { top: -16px; right: 4%; align-items: center; font-weight: 600; }
.chip__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80;
  animation: chip-pulse 1.6s ease-out infinite;
}
.chip--mrr { left: -3%; top: 30%; animation-delay: -1.5s; }
.chip--alert { right: -2%; bottom: 12%; animation-delay: -3s; flex-direction: column; gap: 2px; }
.chip--alert strong { color: #fbbf24; font-size: 16px; }

@keyframes showcase-glow { 0%, 100% { opacity: 0.55; transform: scale(0.96); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes showcase-scan { 0% { transform: translateX(-120%) skewX(-18deg); } 45%, 100% { transform: translateX(480%) skewX(-18deg); } }
@keyframes chip-bob { 0%, 100% { translate: 0 -6px; } 50% { translate: 0 6px; } }
@keyframes chip-pulse { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); } 100% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); } }
.showcase__hint { display: none; }
@media (max-width: 760px) {
  .showcase { padding: 24px 0 40px; }
  .showcase__stage { margin-top: 28px; perspective: none; }
  .showcase__glow { inset: 10% 0; filter: blur(36px); }
  .showcase__stage, .showcase__frame { min-width: 0; max-width: 100%; }
  /* Drop the 3D layer: a transformed/preserve-3d ancestor can swallow touch scrolling in the child scroller. */
  .showcase__frame { transform: none; transition: none; transform-style: flat; will-change: auto; }
  /* Full-width screenshot is unreadable at phone size, so let people swipe across a larger one. */
  .showcase__shot {
    overflow-x: scroll;
    overflow-y: hidden;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .showcase__shot::-webkit-scrollbar { display: none; }
  .showcase__shot { cursor: grab; }
  .showcase__shot.is-dragging { cursor: grabbing; user-select: none; }
  .showcase__shot img { -webkit-user-drag: none; user-select: none; }
  .showcase__frame img { width: 880px; min-width: 880px; max-width: none; flex: none; }
  .showcase__scan { display: none; }
  .showcase__hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 13px;
    color: var(--text-muted);
  }
  .showcase__hint svg { color: var(--cyan-bright); animation: hint-nudge 1.6s ease-in-out infinite; }
  /* Chips sit in a row overlapping the bottom edge of the frame instead of floating over the screenshot. */
  .showcase__stage { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; }
  .showcase__frame { order: 0; width: 100%; }
  .chip--mrr, .chip--alert {
    position: relative;
    order: 1;
    left: auto; right: auto; top: auto; bottom: auto;
    margin: -20px 10px 0;
    padding: 8px 12px;
    font-size: 12px;
  }
  .chip--mrr strong { font-size: 16px; }
  .chip--alert strong { font-size: 14px; }
  .showcase__hint { order: 2; width: 100%; }
  .chip--live { right: 10px; top: -14px; font-size: 12px; padding: 8px 12px; }
}
@keyframes hint-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
@media (prefers-reduced-motion: reduce) {
  .showcase__glow, .showcase__scan, .chip, .chip__dot, .showcase__hint svg { animation: none; }
  .showcase__frame { transform: none; }
}

/* ===== Features ===== */
.features { padding: 40px 0 60px; }
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.feature-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  color: var(--cyan-bright);
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.feature-pill span { color: var(--text); }

/* ===== Foundation ===== */
.foundation { padding: 20px 0 70px; }
.foundation__panel {
  border: 1px solid var(--panel-border-strong);
  background: linear-gradient(120deg, rgba(37,99,235,0.14), rgba(56,189,248,0.08));
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.foundation__left { display: flex; gap: 18px; max-width: 520px; min-width: 0; }
.foundation__star { color: var(--cyan-bright); flex-shrink: 0; margin-top: 4px; }
.foundation__title {
  font-family: var(--font-head);
  font-size: 26px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.foundation__sub { color: var(--text-muted); font-size: 15px; }
.foundation__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
.foundation__price { text-align: right; }
.foundation__amount {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 700;
  color: var(--cyan-bright);
}
.foundation__period {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===== Form ===== */
.form-section { padding: 30px 0 80px; }
.form-section__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 50px;
  align-items: start;
}
.form-section__title {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.4vw, 34px);
  text-transform: uppercase;
  line-height: 1.25;
  margin-bottom: 16px;
}
.form-section__body {
  color: var(--text-muted);
  margin-bottom: 22px;
  max-width: 440px;
}

.booking-options {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.book-cta { margin: 0 0 22px; }
.book-cta__note { color: var(--text-faint); font-size: 13px; margin-top: 10px; }
.booking-lead { color: var(--text-muted); font-size: 14px; }

.lead-form {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lead-form__toggle {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.toggle-option {
  flex: 1 1 160px;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.toggle-option:has(input:checked) {
  border-color: var(--cyan-bright);
  color: var(--text);
  background: rgba(56, 189, 248, 0.08);
}
.toggle-option input { accent-color: var(--cyan-bright); }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.field .optional { text-transform: none; letter-spacing: 0; color: var(--text-faint); }
.field input {
  width: 100%;
  background: rgba(6, 12, 24, 0.6);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s ease;
}
.field input::placeholder { color: var(--text-faint); }
.field input:focus { border-color: var(--cyan-bright); }

.form-status {
  min-height: 18px;
  font-size: 14px;
  text-align: center;
}
.form-status.is-success { color: var(--cyan-bright); }
.form-status.is-error { color: #f87171; }

/* ===== FAQ ===== */
.faq { padding: 40px 0 80px; }
.faq__list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--cyan-bright);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 12px;
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid rgba(56, 189, 248, 0.12);
  padding: 40px 0 24px;
  background: var(--bg-alt);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer__logo { height: 38px; width: auto; max-width: none; object-fit: contain; flex: none; }
.footer__tagline {
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.footer__links { display: flex; gap: 20px; }
.footer__links a { color: var(--text-muted); font-size: 14px; }
.footer__links a:hover { color: var(--cyan-bright); }
.footer__social { display: flex; gap: 14px; }
.footer__social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--panel-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}
.footer__social a:hover { color: var(--cyan-bright); border-color: var(--cyan-bright); }
.footer__copyright {
  text-align: center;
  color: var(--text-faint);
  font-size: 12px;
  margin-top: 30px;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .hero__actions { display: inline-flex; }
  .hero__visual { order: -1; min-height: 220px; }
  .benefits__grid { grid-template-columns: minmax(0, 1fr); }
  .features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-section__inner { grid-template-columns: minmax(0, 1fr); }
  .foundation__panel { flex-direction: column; align-items: flex-start; }
  .foundation__right { align-items: flex-start; width: 100%; }
  .foundation__price { text-align: left; }
}
@media (max-width: 560px) {
  .features__grid { grid-template-columns: minmax(0, 1fr); }
  .nav__inner { flex-direction: column; gap: 10px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .lead-form__toggle { flex-direction: column; }
  .toggle-option { flex-basis: auto; }
}

/* ===== Legal pages ===== */
.legal { padding: 60px 0 80px; }
.legal__inner { max-width: 780px; }
.legal h1 { font-family: var(--font-head); font-size: clamp(30px, 5vw, 44px); text-transform: uppercase; margin-bottom: 6px; }
.legal__updated { color: var(--text-faint); font-size: 13px; margin-bottom: 30px; }
.legal h2 { font-family: var(--font-head); font-size: 20px; text-transform: uppercase; letter-spacing: 0.02em; color: var(--cyan-bright); margin: 34px 0 10px; }
.legal p, .legal li { color: var(--text-muted); font-size: 15px; margin-bottom: 10px; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 10px; }
.legal a { color: var(--cyan-bright); text-decoration: underline; }

.nav__actions { display: flex; align-items: center; gap: 20px; }
.nav__home { color: var(--text-muted); font-size: 14px; }
.nav__home:hover { color: var(--cyan-bright); }

@media (max-width: 560px) {
  .nav__home { display: none; }
  .nav__actions { width: 100%; }
  .nav__actions .btn { flex: 1; }
}

@media (max-width: 560px) {
  .hero__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero__actions .btn { width: 100%; }
}

@media (max-width: 760px) {
  .hero__scene { --th: 210px; min-height: 260px; }
  .hero__stage { min-height: 260px; }
}
