:root {
  --bg: #08111f;
  --bg-soft: #0d1830;
  --surface: rgba(12, 21, 40, 0.78);
  --surface-strong: #101b34;
  --card: rgba(16, 27, 52, 0.9);
  --line: rgba(151, 176, 255, 0.18);
  --text: #eef4ff;
  --muted: #aab9db;
  --accent: #78a6ff;
  --accent-strong: #9f7bff;
  --accent-soft: rgba(120, 166, 255, 0.16);
  --success: #7ee0bf;
  --warning: #ffcc7a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(128, 102, 255, 0.22), transparent 34%),
    radial-gradient(circle at 85% 10%, rgba(84, 164, 255, 0.2), transparent 26%),
    linear-gradient(180deg, #08111f 0%, #091224 38%, #050b16 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 90%);
  pointer-events: none;
}

.page-shell {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 0 12px;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 14px 30px rgba(120, 166, 255, 0.28);
}

.eyebrow,
.brand-subtitle,
.section-kicker,
.pill,
.mini-label {
  margin: 0;
  letter-spacing: 0.02em;
}

.eyebrow,
.section-kicker,
.mini-label {
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--accent);
}

.brand-subtitle,
.lead,
.section-heading p,
.info-card p,
.problem-card p,
.feature-card p,
.security-card p,
.comparison-row,
.highlight-card p,
.cta-panel p,
.faq-item p,
.modal-copy,
.waitlist-form label,
.hero-points,
.stat-card span {
  color: var(--muted);
}

.header-link {
  color: var(--text);
  text-decoration: none;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.section {
  padding: 34px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  padding-top: 36px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(120, 166, 255, 0.24);
  color: #d5e3ff;
  font-size: 0.92rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  line-height: 0.98;
  max-width: 11ch;
}

h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.05;
  margin-bottom: 14px;
}

h3 {
  font-size: 1.14rem;
  margin-bottom: 10px;
}

.lead {
  max-width: 62ch;
  font-size: 1.06rem;
  line-height: 1.65;
}

.hero-actions,
.cta-actions-stack,
.modal-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions,
.cta-actions-stack {
  margin: 28px 0 22px;
}

.button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover,
.header-link:hover,
.faq-item summary:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #08111f;
  background: linear-gradient(135deg, #9dc2ff 0%, #c6b4ff 100%);
  box-shadow: 0 16px 34px rgba(116, 157, 255, 0.28);
}

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

.button-wide {
  width: 100%;
}

.button-grow {
  flex: 1 1 200px;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.hero-points li,
.signal,
.proof-item,
.stat-card,
.info-card,
.problem-card,
.feature-card,
.security-card,
.faq-item,
.visual-card,
.cta-panel,
.highlight-card,
.comparison-table,
.modal-card {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-points li {
  padding: 0 0 0 22px;
  position: relative;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--success), #90d9ff);
  box-shadow: 0 0 0 6px rgba(126, 224, 191, 0.12);
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.visual-card {
  border-radius: var(--radius-xl);
  padding: 24px;
}

.visual-card-main {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(20, 33, 63, 0.98), rgba(10, 18, 36, 0.98)),
    linear-gradient(135deg, rgba(120, 166, 255, 0.12), transparent 60%);
}

.visual-card-main::after {
  content: "";
  position: absolute;
  inset: auto -10% -22% auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(159, 123, 255, 0.36), transparent 66%);
}

.visual-topline {
  width: 88px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  margin-bottom: 22px;
}

.visual-grid {
  display: grid;
  gap: 18px;
}

.chart,
.insight-card {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.chart-bars {
  min-height: 180px;
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 14px;
}

.chart-bars span {
  display: block;
  border-radius: 18px 18px 6px 6px;
  background: linear-gradient(180deg, #8db6ff, #547dff);
}

.chart-bars span:nth-child(1) { height: 42%; }
.chart-bars span:nth-child(2) { height: 78%; }
.chart-bars span:nth-child(3) { height: 58%; }
.chart-bars span:nth-child(4) { height: 92%; }
.chart-bars span:nth-child(5) { height: 64%; }

.insight-card {
  padding: 18px;
}

.insight-card p:last-child {
  margin-bottom: 0;
  color: #dce7ff;
  line-height: 1.6;
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.signal {
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 0.92rem;
  box-shadow: none;
}

.signal.good {
  color: #d9fff2;
  background: rgba(59, 123, 96, 0.3);
}

.signal.neutral {
  color: #d7e4ff;
  background: rgba(71, 95, 155, 0.28);
}

.signal.warn {
  color: #fff1d4;
  background: rgba(152, 104, 46, 0.24);
}

.visual-card-side {
  position: absolute;
  right: -10px;
  bottom: 24px;
  width: min(270px, 74%);
  background: rgba(10, 18, 36, 0.9);
}

.visual-card-side ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: #dce7ff;
  display: grid;
  gap: 10px;
}

.trust-strip,
.cards,
.problem-grid,
.security-grid,
.proof-list {
  display: grid;
  gap: 18px;
}

.trust-strip,
.cards.three-up,
.problem-grid,
.security-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards.two-up,
.proof-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-card,
.info-card,
.problem-card,
.feature-card,
.security-card,
.proof-item {
  border-radius: var(--radius-lg);
  padding: 22px;
}

.stat-card strong,
.proof-item {
  display: block;
  font-size: 1rem;
  margin-bottom: 8px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 22px;
}

.section-heading.narrow {
  display: block;
  max-width: 760px;
}

.section-heading p {
  max-width: 64ch;
  line-height: 1.7;
}

.comparison-section,
.highlight-section,
.cta-section {
  padding-top: 22px;
}

.comparison-table {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.comparison-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) 2fr;
  gap: 20px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(151, 176, 255, 0.14);
}

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

.comparison-head {
  color: var(--text);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
}

.feature-layout .emphasis,
.highlight-card,
.cta-panel,
.modal-card {
  background:
    linear-gradient(180deg, rgba(18, 31, 58, 0.96), rgba(11, 18, 34, 0.96)),
    linear-gradient(135deg, rgba(120, 166, 255, 0.12), transparent);
}

.highlight-card,
.cta-panel {
  border-radius: calc(var(--radius-xl) + 4px);
  padding: 28px;
}

.highlight-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.highlight-card p,
.cta-panel p {
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.proof-item {
  min-height: 100%;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 600;
}

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

.faq-item p {
  margin: 0;
  padding: 0 22px 20px;
  line-height: 1.7;
}

.modal-shell {
  width: min(100% - 24px, 560px);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
}

.modal-shell::backdrop {
  background: rgba(4, 8, 18, 0.76);
}

.modal-card {
  width: 100%;
  border-radius: 26px;
  padding: 24px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.modal-close {
  color: var(--muted);
  background: transparent;
  border: 0;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.waitlist-form {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.waitlist-form label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
}

.waitlist-form input {
  width: 100%;
  border: 1px solid rgba(151, 176, 255, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 14px 15px;
  font: inherit;
}

.waitlist-form input:focus {
  outline: 2px solid rgba(157, 194, 255, 0.55);
  outline-offset: 2px;
}

.modal-actions {
  margin-top: 8px;
}

.landai-waitlist-success,
.landai-waitlist-error {
  margin-top: 16px;
  border-radius: 14px;
  padding: 13px 14px;
}

.landai-waitlist-success {
  background: rgba(66, 150, 116, 0.18);
  color: #d8ffed;
}

.landai-waitlist-error {
  background: rgba(162, 72, 72, 0.18);
  color: #ffd7d7;
}

.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;
}

@media (max-width: 1080px) {
  .hero,
  .highlight-card,
  .cta-panel,
  .section-heading {
    grid-template-columns: 1fr;
    display: grid;
    align-items: start;
  }

  .hero-visual {
    min-height: 460px;
  }

  .trust-strip,
  .cards.three-up,
  .problem-grid,
  .security-grid,
  .cards.two-up,
  .proof-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--container));
  }

  .site-header {
    flex-direction: column;
    align-items: start;
  }

  .hero {
    padding-top: 18px;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.15rem, 10vw, 3.2rem);
  }

  .trust-strip,
  .cards.three-up,
  .problem-grid,
  .security-grid,
  .cards.two-up,
  .proof-list,
  .comparison-row,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .comparison-row {
    gap: 8px;
  }

  .hero-visual {
    min-height: auto;
  }

  .visual-card-side {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 16px;
  }

  .hero-actions,
  .cta-actions-stack,
  .modal-actions {
    flex-direction: column;
  }

  .button,
  .header-link,
  .button-grow {
    width: 100%;
  }

  .modal-card {
    padding: 20px;
  }
}
