:root {
  --bg: #09111a;
  --bg-alt: #132130;
  --panel: rgba(10, 21, 33, 0.78);
  --panel-border: rgba(152, 205, 255, 0.16);
  --text: #eaf2f8;
  --muted: #a4b3c3;
  --accent: #7fe7c4;
  --accent-strong: #25c38f;
  --warn: #ffb55f;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(63, 120, 255, 0.22), transparent 28rem),
    linear-gradient(180deg, #061018 0%, #0d1722 55%, #14212f 100%);
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
}

body {
  position: relative;
  overflow-x: hidden;
}

.backdrop {
  position: fixed;
  inset: auto;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.5;
  pointer-events: none;
}

.backdrop-a {
  top: 3rem;
  right: -8rem;
  width: 22rem;
  height: 22rem;
  background: rgba(63, 120, 255, 0.22);
}

.backdrop-b {
  bottom: -6rem;
  left: -8rem;
  width: 28rem;
  height: 28rem;
  background: rgba(127, 231, 196, 0.18);
}

.shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero {
  padding: 2rem;
}

.eyebrow,
.metric-label,
.status-label,
dt {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  align-items: end;
}

h1,
h2,
p,
ul,
dl {
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.92;
  margin: 0.55rem 0 1rem;
}

.lede {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

.lede-secondary {
  max-width: 38rem;
  margin-top: 0.9rem;
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 140ms ease,
    background 140ms ease,
    color 140ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #bff2de 100%);
  color: #062116;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-aside {
  display: grid;
  gap: 1rem;
}

.status-tile {
  padding: 1.1rem 1.15rem;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.status-tile strong {
  display: block;
  margin: 0.35rem 0 0.2rem;
  font-size: 1.2rem;
}

.status-tile span:last-child {
  color: var(--muted);
  line-height: 1.5;
}

.strip {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 1rem;
  margin-top: 1.25rem;
}

.strip article {
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
}

.strip strong {
  display: block;
  margin: 0.45rem 0;
  font-size: 1.3rem;
}

.strip span:last-child,
.card p,
.action-list span,
dd {
  color: var(--muted);
  line-height: 1.55;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.grid-2x2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  padding: 1.4rem;
}

.card h2 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.action-list {
  display: grid;
  gap: 1rem;
  padding: 0;
  list-style: none;
}

.action-list a,
.route-list a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.action-list a:hover,
.route-list a:hover {
  color: var(--accent);
}

.action-list li {
  display: grid;
  gap: 0.35rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.action-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.route-list {
  display: grid;
  gap: 1rem;
}

.route-list div {
  display: grid;
  gap: 0.35rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.chip {
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(127, 231, 196, 0.25);
  background: rgba(127, 231, 196, 0.08);
  color: #d9fff2;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

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

@media (max-width: 920px) {
  .hero-grid,
  .strip,
  .grid,
  .grid-2x2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 1rem, 1120px);
    padding-top: 1rem;
  }

  .hero,
  .card {
    padding: 1.1rem;
  }

  h1 {
    font-size: 2.8rem;
  }

  .hero-actions {
    flex-direction: column;
  }
}

/* ============================================================
   Cost calculator widget
   ============================================================ */

.calc-section {
  margin-top: 1.25rem;
}

.calc-widget {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 1fr);
  align-items: start;
}

.calc-slider-row {
  display: grid;
  gap: 0.5rem;
}

.calc-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 500;
  font-size: 0.95rem;
}

.calc-value-display {
  font-family: "IBM Plex Mono", monospace;
  color: var(--accent);
  font-size: 1rem;
}

.calc-slider {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 999px;
  background: rgba(127, 231, 196, 0.2);
  outline: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: 2px solid #062116;
  box-shadow: 0 2px 8px rgba(127, 231, 196, 0.4);
}

.calc-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: 2px solid #062116;
  box-shadow: 0 2px 8px rgba(127, 231, 196, 0.4);
}

.calc-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
}

.calc-output {
  display: grid;
  gap: 1rem;
}

.calc-output-item {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.calc-output-savings {
  border-color: rgba(127, 231, 196, 0.2);
  background: rgba(127, 231, 196, 0.05);
}

.calc-output-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
}

.calc-output-value {
  font-size: 1.6rem;
  line-height: 1.1;
}

.calc-output-value.accent {
  color: var(--accent);
}

@media (max-width: 720px) {
  .calc-widget {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Waitlist form
   ============================================================ */

.waitlist-section {
  margin-top: 1.25rem;
}

.waitlist-header {
  margin-bottom: 1.5rem;
}

.social-proof {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.waitlist-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

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

.optional-mark {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.82rem;
}

.waitlist-form input,
.waitlist-form textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 140ms ease;
  width: 100%;
}

.waitlist-form input::placeholder,
.waitlist-form textarea::placeholder {
  color: var(--muted);
  opacity: 0.65;
}

.waitlist-form input:focus,
.waitlist-form textarea:focus {
  border-color: rgba(127, 231, 196, 0.45);
  background: rgba(127, 231, 196, 0.04);
}

.waitlist-form textarea {
  resize: vertical;
  min-height: 80px;
}

.waitlist-submit {
  width: 100%;
  font-size: 1rem;
}

.waitlist-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-note {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

.waitlist-success {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.waitlist-success-inner {
  text-align: center;
  max-width: 440px;
}

.waitlist-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(127, 231, 196, 0.15);
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.waitlist-success-inner h3 {
  font-size: 1.4rem;
  margin: 0 0 0.5rem;
  color: var(--accent);
}

.waitlist-success-inner p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 640px) {
  .waitlist-form {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Design partner section
   ============================================================ */

.design-partner-section {
  margin-top: 1.25rem;
}

.design-partner-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(200px, 1fr);
  gap: 2rem;
  align-items: start;
}

.design-partner-logos {
  display: grid;
  gap: 0.75rem;
}

.logo-placeholder-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.logo-placeholder {
  width: 64px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.12);
}

@media (max-width: 720px) {
  .design-partner-inner {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Operator — waitlist table
   ============================================================ */

.waitlist-table-wrap {
  overflow-x: auto;
  margin-top: 1rem;
}

.waitlist-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.waitlist-table th {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  text-align: left;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.waitlist-table td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text);
  vertical-align: top;
  line-height: 1.45;
}

.waitlist-table tr:last-child td {
  border-bottom: none;
}

.waitlist-table .cell-email {
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
}

.waitlist-table .cell-muted {
  color: var(--muted);
  font-size: 0.82rem;
}

.waitlist-table .cell-pain {
  max-width: 280px;
  white-space: normal;
  color: var(--muted);
  font-size: 0.82rem;
}

/* ============================================================
   Scroll-reveal animation (replaces static CSS animation delays)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
