/* ============================================================
   HostiVio — Launch Console
   Design system + page styles
   ============================================================ */

:root {
  --bg: #00122e;
  --bg-2: #001a3d;
  --bg-3: #000e24;
  --panel: rgba(0, 30, 66, 0.62);
  --panel-2: rgba(0, 24, 54, 0.88);
  --line: rgba(137, 219, 250, 0.14);
  --line-strong: rgba(137, 219, 250, 0.28);
  --text: #eaf6ff;
  --muted: #8fb3cf;
  --muted-2: #6f93b1;
  --cyan: #00adf4;
  --cyan-2: #0399e7;
  --ice: #89dbfa;
  --green: #3de0a0;
  --amber: #ffb84d;
  --red: #ff7a7a;
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
  --radius: 10px;
  --container: 1200px;
  --header-h: 72px;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--cyan);
  color: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.mono {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--cyan);
  color: var(--bg);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ------------------------------------------------------------
   Status bar
   ------------------------------------------------------------ */

.statusbar {
  border-bottom: 1px solid var(--line);
  background: var(--bg-3);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.statusbar-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 32px;
  white-space: nowrap;
}

.statusbar-inner > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.statusbar-inner .statusbar-right {
  margin-left: auto;
  color: var(--muted-2);
}

.dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted-2);
}

.dot-green {
  background: var(--green);
  box-shadow: 0 0 8px rgba(61, 224, 160, 0.8);
}

.dot-cyan {
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(0, 173, 244, 0.8);
}

.dot-amber {
  background: var(--amber);
  box-shadow: 0 0 8px rgba(255, 184, 77, 0.7);
}

/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(0, 18, 46, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(0, 14, 36, 0.94);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 12px rgba(0, 173, 244, 0.28));
}

.brand-word {
  width: auto;
  height: 22px;
}

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

.nav a {
  position: relative;
  padding: 6px 0;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0;
  transform: translateX(-50%) scale(0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--text);
}

.nav a.is-active::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 28px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.lang:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--cyan);
  border-radius: 6px;
  background: var(--cyan);
  color: #001026;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  background: var(--ice);
  border-color: var(--ice);
  transform: translateY(-1px);
  box-shadow: 0 10px 32px rgba(0, 173, 244, 0.22);
}

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  min-height: 34px;
  padding: 0 15px;
  font-size: 11.5px;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(0, 173, 244, 0.08);
  border-color: var(--cyan);
  color: var(--text);
}

/* Mobile menu */

.menu-toggle {
  display: none;
  position: relative;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: var(--text);
}

.menu-toggle span {
  position: absolute;
  left: 10px;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.menu-toggle span:nth-child(1) {
  top: 13px;
}

.menu-toggle span:nth-child(2) {
  top: 18px;
}

.menu-toggle span:nth-child(3) {
  top: 23px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  max-height: 0;
  overflow: hidden;
  border-top: 1px solid transparent;
  background: rgba(0, 14, 36, 0.98);
  transition: max-height 0.3s ease, border-color 0.3s ease;
}

.mobile-menu.is-open {
  max-height: 460px;
  border-top-color: var(--line);
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 0 22px;
}

.mobile-menu a {
  padding: 12px 0;
  border-bottom: 1px solid rgba(137, 219, 250, 0.07);
  font-size: 15px;
  color: var(--muted);
}

.mobile-menu a:hover {
  color: var(--text);
}

.mobile-menu .btn {
  margin-top: 14px;
  border-bottom: 0;
  color: #001026;
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(60px, 7vw, 96px) 0 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 74% 18%, rgba(0, 173, 244, 0.17), transparent 44%),
    radial-gradient(circle at 16% 84%, rgba(3, 153, 231, 0.09), transparent 42%),
    linear-gradient(180deg, #00122e 0%, #001735 58%, #00122e 100%);
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(137, 219, 250, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(137, 219, 250, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 35%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 35%, #000 10%, transparent 72%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
  min-height: 560px;
  padding-bottom: clamp(64px, 8vw, 104px);
}

.hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.pulse {
  position: relative;
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(0, 173, 244, 0.45);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 173, 244, 0.45);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(0, 173, 244, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 173, 244, 0);
  }
}

.hero h1 {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: clamp(44px, 5.6vw, 66px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.accent {
  color: var(--cyan);
  background: linear-gradient(100deg, var(--cyan) 0%, var(--ice) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  max-width: 540px;
  margin: 0 0 30px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  text-wrap: pretty;
}

.lead strong {
  color: var(--text);
  font-weight: 500;
}

/* Waitlist form */

.waitlist {
  max-width: 540px;
}

.field-row {
  display: flex;
  gap: 8px;
}

.field-row input[type="email"] {
  flex: 1;
  min-width: 0;
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(0, 24, 54, 0.72);
  color: var(--text);
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease,
    background 0.2s ease;
}

.field-row input[type="email"]::placeholder {
  color: var(--muted-2);
}

.field-row input[type="email"]:focus {
  outline: none;
  border-color: var(--cyan);
  background: rgba(0, 28, 64, 0.9);
  box-shadow: 0 0 0 3px rgba(0, 173, 244, 0.14);
}

.field-row .btn {
  min-height: 50px;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 12px;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--muted-2);
}

.form-consent input[type="checkbox"] {
  flex: none;
  width: 14px;
  height: 14px;
  margin: 2px 0 0;
  accent-color: var(--cyan);
}

.form-consent a {
  color: var(--ice);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-consent a:hover {
  color: var(--text);
}

.form-msg {
  min-height: 18px;
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.form-msg.is-error {
  color: var(--red);
}

.form-msg.is-success {
  color: var(--green);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-success {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(61, 224, 160, 0.3);
  border-radius: 6px;
  background: rgba(61, 224, 160, 0.06);
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.55;
}

.form-success svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--green);
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 540px;
  margin-top: 22px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s ease, gap 0.2s ease;
}

.text-link span {
  color: var(--cyan);
  transition: transform 0.2s ease;
}

.text-link:hover {
  color: var(--cyan);
}

.text-link:hover span {
  transform: translateY(2px);
}

.text-link--right:hover span {
  transform: translateX(3px);
}

.hero-meta .mono {
  color: var(--muted-2);
  font-size: 8.5px;
}

/* Console */

.hero-visual {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.console {
  position: relative;
  width: 100%;
  max-width: 452px;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(0, 36, 78, 0.86), rgba(0, 17, 42, 0.94));
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(0, 173, 244, 0.04) inset,
    0 0 70px rgba(0, 173, 244, 0.06);
  overflow: hidden;
}

.console::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.75;
  z-index: 2;
}

.console-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding: 0 15px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 10, 28, 0.55);
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.console-dots {
  display: inline-flex;
  gap: 5px;
}

.console-dots i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted-2);
  opacity: 0.55;
}

.console-dots i:nth-child(1) {
  background: #ff7a7a;
}

.console-dots i:nth-child(2) {
  background: var(--amber);
}

.console-dots i:nth-child(3) {
  background: var(--green);
}

.console-bar .console-ver {
  margin-left: auto;
  color: var(--muted-2);
}

.console-visual {
  position: relative;
  padding: 20px 20px 0;
  text-align: center;
}

.orbit {
  position: relative;
  width: min(220px, 62vw);
  height: min(220px, 62vw);
  margin: 0 auto;
}

.orbit::before {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 173, 244, 0.18), transparent 68%);
  filter: blur(8px);
}

.orbit-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.orbit-ring-1 {
  transform-origin: 160px 160px;
  animation: spin 26s linear infinite;
}

.orbit-ring-2 {
  transform-origin: 160px 160px;
  animation: spin-reverse 34s linear infinite;
}

.orbit-ring-3 {
  transform-origin: 160px 160px;
  animation: spin 18s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes spin-reverse {
  to {
    transform: rotate(-360deg);
  }
}

.console-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 16px rgba(0, 173, 244, 0.55));
}

.console-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.console-caption span:first-child {
  color: var(--cyan);
}

.console-rows {
  margin-top: 14px;
  padding: 4px 20px 8px;
  border-top: 1px solid var(--line);
}

.console-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 33px;
  border-bottom: 1px solid rgba(137, 219, 250, 0.07);
  font-size: 11.5px;
}

.console-row:last-child {
  border-bottom: 0;
}

.console-row > span:first-child {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
}

.console-row > span:nth-child(2) {
  color: var(--muted);
}

.state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.state::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 7px currentColor;
}

.state.active {
  color: var(--green);
}

.state.building {
  color: var(--amber);
}

.state.queued {
  color: var(--muted-2);
}

.console-log {
  padding: 12px 20px 16px;
  border-top: 1px solid var(--line);
  background: rgba(0, 8, 22, 0.5);
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 1.9;
  color: var(--muted-2);
}

.console-log p {
  margin: 0;
}

.console-log .prompt {
  color: var(--cyan);
}

.console-log .ok {
  color: var(--green);
}

.console-log .warn {
  color: var(--amber);
}

.cursor {
  display: inline-block;
  width: 5px;
  height: 10px;
  margin-left: 3px;
  vertical-align: -1px;
  background: var(--cyan);
  animation: blink 1.1s step-end infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* Trust strip */

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.trust-item .mono {
  font-size: 8.5px;
  color: var(--muted-2);
}

.trust-item strong {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* ------------------------------------------------------------
   Sections
   ------------------------------------------------------------ */

.section {
  position: relative;
  padding: clamp(78px, 9vw, 128px) 0;
}

section[id],
footer[id] {
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head .eyebrow {
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(36px, 4.8vw, 58px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.section-head h2 .muted {
  color: var(--muted);
}

.section-head p {
  max-width: 600px;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

/* Feature grid */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 232px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(0, 38, 82, 0.52), rgba(0, 18, 46, 0.28));
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease,
    box-shadow 0.25s ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 173, 244, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(0, 173, 244, 0.42);
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

.feature-card:hover::after {
  opacity: 1;
}

.card-index {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  color: var(--muted-2);
  opacity: 0.7;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0, 173, 244, 0.24);
  border-radius: 8px;
  background: rgba(0, 173, 244, 0.07);
  color: var(--cyan);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.feature-icon svg {
  width: 19px;
  height: 19px;
}

.feature-card:hover .feature-icon {
  background: rgba(0, 173, 244, 0.14);
  border-color: rgba(0, 173, 244, 0.48);
}

.feature-card h3 {
  margin: 18px 0 7px;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.feature-card p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 18px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  color: var(--muted-2);
}

.feature-tag::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.feature-tag.is-building {
  color: var(--amber);
}

/* Corporate */

.section-corporate {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 40%, rgba(0, 173, 244, 0.09), transparent 44%),
    var(--bg-2);
}

.corporate-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.corporate-copy {
  min-width: 0;
}

.corporate-copy h2 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.corporate-copy p {
  max-width: 500px;
  margin: 0 0 26px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.corporate-panel {
  position: relative;
  min-width: 0;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background:
    linear-gradient(160deg, rgba(0, 38, 82, 0.55), rgba(0, 17, 42, 0.7));
  overflow: hidden;
}

.corporate-panel::before {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 300px;
  height: 300px;
  background: url("/assets/img/logo-mark.png") center / contain no-repeat;
  opacity: 0.045;
  pointer-events: none;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 28px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text);
}

.stat:nth-child(4) .stat-num {
  color: var(--cyan);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.13em;
  color: var(--muted-2);
}

.corporate-panel blockquote {
  margin: 30px 0 22px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--text);
}

.corporate-panel blockquote::before {
  content: "“";
  display: block;
  margin-bottom: 2px;
  font-size: 32px;
  line-height: 0.6;
  color: var(--cyan);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-tags span {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* Roadmap */

.roadmap {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.roadmap::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--green), var(--amber), var(--line-strong), var(--line));
  opacity: 0.55;
}

.roadmap-step {
  position: relative;
  padding-top: 56px;
}

.roadmap-step::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 0;
  width: 11px;
  height: 11px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 0 5px var(--bg);
}

.roadmap-step.is-done::before {
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 0 0 5px var(--bg), 0 0 14px rgba(61, 224, 160, 0.55);
}

.roadmap-step.is-active::before {
  border-color: var(--amber);
  background: var(--amber);
  box-shadow: 0 0 0 5px var(--bg), 0 0 14px rgba(255, 184, 77, 0.45);
}

.roadmap-step.is-planned::before {
  background: var(--bg-3);
}

.step-index {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  color: var(--muted-2);
}

.step-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  color: var(--muted-2);
}

.step-state::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.is-done .step-state {
  color: var(--green);
}

.is-active .step-state {
  color: var(--amber);
}

.roadmap-step h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.roadmap-step p {
  margin: 0;
  max-width: 240px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* FAQ */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  min-width: 0;
}

.faq-intro h2 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 50px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.faq-intro p {
  margin: 0;
  max-width: 340px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.faq-list {
  border-top: 1px solid var(--line);
  min-width: 0;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text);
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--cyan);
}

.faq-icon {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 1px;
  background: var(--muted);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, background 0.2s ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item[open] .faq-icon {
  border-color: var(--cyan);
}

.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after {
  background: var(--cyan);
}

.faq-body {
  max-width: 640px;
  padding: 0 34px 20px 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

.faq-body p {
  margin: 0 0 10px;
}

.faq-body p:last-child {
  margin-bottom: 0;
}

/* CTA */

.cta-section {
  padding-top: 0;
}

.cta-panel {
  position: relative;
  padding: clamp(48px, 7vw, 82px) clamp(24px, 5vw, 64px);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 173, 244, 0.16), transparent 58%),
    linear-gradient(180deg, rgba(0, 36, 78, 0.62), rgba(0, 17, 42, 0.72));
  text-align: center;
  overflow: hidden;
}

.cta-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.8;
}

.cta-panel .eyebrow {
  justify-content: center;
  margin-bottom: 18px;
}

.cta-panel h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(40px, 5.6vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
}

.cta-panel > p {
  max-width: 520px;
  margin: 0 auto 30px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

.cta-panel .waitlist {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

.cta-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
  font-size: 12px;
  color: var(--muted-2);
}

.cta-contact a {
  color: var(--ice);
  transition: color 0.2s ease;
}

.cta-contact a:hover {
  color: var(--text);
}

.cta-contact .sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted-2);
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-3);
  padding: clamp(48px, 6vw, 72px) 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-brand p {
  max-width: 300px;
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.footer-brand .mono {
  color: var(--muted-2);
  font-size: 8.5px;
}

.footer-col h3 {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.footer-col a {
  display: block;
  margin-bottom: 9px;
  font-size: 12.5px;
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 46px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  color: var(--muted-2);
}

.footer-bottom .mono {
  font-size: 8.5px;
  color: var(--muted-2);
}

/* ------------------------------------------------------------
   Legal pages
   ------------------------------------------------------------ */

.legal-page {
  padding: clamp(56px, 7vw, 90px) 0 clamp(80px, 9vw, 120px);
}

.legal {
  max-width: 780px;
}

.legal .eyebrow {
  margin-bottom: 18px;
}

.legal h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.8vw, 52px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.legal .updated {
  margin: 0 0 36px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
}

.legal h2 {
  margin: 34px 0 12px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.legal p,
.legal li {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.legal p {
  margin: 0 0 14px;
}

.legal ul {
  margin: 0 0 16px;
  padding-left: 18px;
}

.legal li {
  margin-bottom: 7px;
}

.legal a {
  color: var(--ice);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal a:hover {
  color: var(--text);
}

.legal .note {
  margin-top: 34px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(0, 30, 66, 0.4);
  font-size: 12.5px;
  color: var(--muted-2);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 26px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--cyan);
}

/* 404 */

.error-page {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 32px);
  padding: 80px 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(0, 173, 244, 0.12), transparent 50%),
    var(--bg);
}

.error-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.error-inner .brand {
  justify-content: center;
  margin-bottom: 36px;
}

.error-code {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--cyan);
}

.error-inner h1 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 72px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.error-inner p {
  margin: 0 auto 26px;
  max-width: 420px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* ------------------------------------------------------------
   Reveal animations
   ------------------------------------------------------------ */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */

@media (max-width: 1080px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card {
    min-height: 210px;
  }

  .hero-grid {
    gap: 36px;
  }

  .hero h1 {
    font-size: clamp(42px, 5.8vw, 54px);
  }

  .console {
    max-width: 410px;
  }
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .mobile-menu {
    display: block;
  }

  .header-actions .btn {
    display: none;
  }

  .header-inner {
    gap: 16px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding-bottom: 64px;
  }

  .hero-copy {
    max-width: 640px;
  }

  .hero-visual {
    max-width: 520px;
    width: 100%;
    margin: 8px auto 0;
  }

  .console {
    max-width: 100%;
    margin-left: 0;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 28px;
  }

  .corporate-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .corporate-copy p {
    max-width: 620px;
  }

  .roadmap {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 30px;
  }

  .roadmap::before {
    top: 0;
    bottom: 0;
    left: 5px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, var(--green), var(--amber), var(--line-strong), var(--line));
  }

  .roadmap-step {
    padding: 0 0 30px 0;
  }

  .roadmap-step:last-child {
    padding-bottom: 0;
  }

  .roadmap-step::before {
    top: 4px;
    left: -30px;
  }

  .roadmap-step p {
    max-width: 520px;
  }

  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .faq-intro {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p {
    max-width: 420px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .statusbar-inner {
    gap: 16px;
    font-size: 8.5px;
  }

  .statusbar-inner > span:nth-child(2) {
    display: none;
  }

  .header-inner {
    height: 64px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .brand-word {
    height: 19px;
  }

  .hero {
    padding-top: 48px;
  }

  .hero h1 {
    font-size: clamp(38px, 10.4vw, 54px);
  }

  .lead {
    font-size: 14.5px;
  }

  .field-row {
    flex-direction: column;
  }

  .field-row .btn {
    width: 100%;
  }

  .hero-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .console {
    border-radius: 10px;
  }

  .console-visual {
    padding-top: 16px;
  }

  .orbit {
    width: 190px;
    height: 190px;
  }

  .console-row {
    grid-template-columns: 46px 1fr auto;
    gap: 8px;
  }

  .trust-strip {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 20px 0;
  }

  .trust-item strong {
    font-size: 13.5px;
  }

  .section {
    padding: 68px 0;
  }

  section[id],
  footer[id] {
    scroll-margin-top: 80px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .feature-tag {
    padding-top: 16px;
  }

  .stat-grid {
    gap: 22px;
  }

  .stat-num {
    font-size: 34px;
  }

  .roadmap {
    padding-left: 26px;
  }

  .roadmap-step::before {
    left: -26px;
  }

  .cta-panel {
    border-radius: 12px;
    text-align: left;
  }

  .cta-panel .eyebrow {
    justify-content: flex-start;
  }

  .cta-panel > p {
    margin-left: 0;
  }

  .cta-panel .waitlist {
    margin-left: 0;
  }

  .cta-contact {
    justify-content: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .legal-page {
    padding-top: 48px;
  }
}

@media (max-width: 420px) {
  .console-caption {
    font-size: 7.5px;
  }

  .console-row {
    font-size: 10.5px;
  }

  .console-log {
    font-size: 8.5px;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
