:root {
  --bg: #f4f7fb;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --line: rgba(18, 48, 89, 0.12);
  --text: #123059;
  --muted: #5f7392;
  --brand: #2356c8;
  --brand-strong: #143a92;
  --brand-soft: #e7efff;
  --accent: #18a66a;
  --warn: #f08d49;
  --shadow: 0 24px 60px rgba(27, 59, 115, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(80, 120, 255, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(24, 166, 106, 0.12), transparent 22%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
}

body::backdrop {
  background: rgba(5, 20, 44, 0.48);
}

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

button,
a {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.page-shell {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  padding: 24px 0 64px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 999px;
  position: sticky;
  top: 16px;
  z-index: 20;
  box-shadow: 0 16px 40px rgba(18, 48, 89, 0.08);
}

.brand {
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.1rem;
}

.top-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.top-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-cta,
.primary-btn,
.secondary-btn {
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  font-size: 0.96rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.nav-cta,
.primary-btn {
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #fff;
  box-shadow: 0 14px 28px rgba(35, 86, 200, 0.28);
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.74);
  color: var(--brand-strong);
  border: 1px solid rgba(35, 86, 200, 0.14);
}

.primary-btn.ghost {
  background: var(--surface-strong);
  color: var(--brand-strong);
  box-shadow: none;
}

main {
  display: grid;
  gap: 28px;
  margin-top: 24px;
}

section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  padding: 42px;
  align-items: center;
}

.eyebrow,
.section-heading span,
.lead-card span,
.app-copy span {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 16px;
}

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

h1 {
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 0;
}

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

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-text,
.hero-note,
.section-footnote,
.form-note {
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0 18px;
}

.hero-card {
  padding: 26px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(231, 239, 255, 0.82));
  border: 1px solid rgba(35, 86, 200, 0.14);
}

.stack-visual {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.mini-card,
.stat-box,
.info-card,
.step-card,
.term-card,
.benefit-card,
.calculator-side,
.comparison-column,
.lead-card,
.qr-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.mini-card {
  padding: 18px;
}

.mini-card span,
.stat-box span,
.term-card span,
.calc-total span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.mini-card strong,
.stat-box strong,
.term-card strong,
.calc-total strong {
  font-size: 1.05rem;
}

.alert {
  border-color: rgba(240, 141, 73, 0.25);
}

.success {
  border-color: rgba(24, 166, 106, 0.24);
}

.arrow-flow {
  justify-self: center;
  font-size: 1.5rem;
  color: var(--brand);
  font-weight: 800;
}

.stat-grid,
.pain-grid,
.steps,
.terms-grid,
.benefits-grid {
  display: grid;
  gap: 16px;
}

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

.stat-box,
.info-card,
.step-card,
.term-card,
.benefit-card {
  padding: 20px;
}

.section-heading {
  padding: 34px 34px 0;
}

.pain-points,
.how-it-works,
.terms-section,
.comparison-section,
.calculator-section,
.benefits-section,
.faq-section {
  padding-bottom: 34px;
}

.pain-grid,
.steps,
.terms-grid,
.benefits-grid,
.faq-list,
.comparison-card,
.calculator-card {
  padding: 24px 34px 0;
}

.pain-grid,
.steps,
.benefits-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.step-index {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-weight: 800;
  margin-bottom: 18px;
}

.comparison-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.comparison-column {
  padding: 24px;
}

.comparison-column.highlight {
  background: linear-gradient(135deg, rgba(35, 86, 200, 0.08), rgba(24, 166, 106, 0.08));
  border-color: rgba(35, 86, 200, 0.22);
}

.calculator-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.calculator-side {
  padding: 24px;
}

.calculator-side.featured {
  background: linear-gradient(180deg, rgba(231, 239, 255, 0.7), rgba(255, 255, 255, 0.92));
}

.calculator-side ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 14px;
}

.calculator-side li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(18, 48, 89, 0.08);
}

.calculator-side li strong {
  color: var(--text);
  text-align: right;
}

.calc-total {
  padding: 18px;
  border-radius: 18px;
}

.calc-total.negative {
  background: rgba(240, 141, 73, 0.1);
}

.calc-total.positive {
  background: rgba(24, 166, 106, 0.1);
}

.app-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  padding: 34px;
  background: linear-gradient(135deg, #1f4eb8, #173681);
  color: #fff;
}

.app-section p,
.app-section h2,
.app-section span,
.app-section .qr-card p {
  color: #fff;
}

.qr-card {
  padding: 24px;
  display: grid;
  place-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.14);
}

.qr-grid {
  width: 180px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.qr-grid span {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.2);
}

.qr-grid span.filled {
  background: #fff;
}

.lead-section {
  padding: 34px;
}

.lead-card {
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.faq-list details {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}

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

.faq-list details p {
  margin: 14px 0 0;
}

.waitlist-modal {
  width: min(92vw, 560px);
  border: none;
  padding: 0;
  background: transparent;
}

.modal-panel {
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 28px 60px rgba(10, 24, 52, 0.3);
  overflow: hidden;
}

.waitlist-form {
  display: grid;
  gap: 16px;
  padding: 28px;
}

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

.close-btn {
  border: none;
  background: rgba(18, 48, 89, 0.08);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
}

.waitlist-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: var(--text);
}

.waitlist-form input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(18, 48, 89, 0.16);
  font: inherit;
  color: var(--text);
  background: #fbfdff;
}

.waitlist-form input:focus {
  outline: 2px solid rgba(35, 86, 200, 0.2);
  border-color: var(--brand);
}

.modal-submit {
  width: 100%;
  justify-content: center;
}

.landai-waitlist-success,
.landai-waitlist-error {
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 600;
}

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

.landai-waitlist-success {
  background: rgba(24, 166, 106, 0.12);
  color: #13714a;
}

.landai-waitlist-error {
  background: rgba(220, 79, 79, 0.1);
  color: #a33636;
}

.section-footnote {
  padding: 18px 34px 0;
  margin: 0;
}

@media (max-width: 980px) {
  .site-header,
  .lead-card,
  .hero,
  .app-section,
  .comparison-card,
  .calculator-card {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .pain-grid,
  .steps,
  .terms-grid,
  .benefits-grid,
  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-header {
    border-radius: 28px;
    position: static;
  }

  .top-nav {
    justify-content: center;
  }
}

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

  .site-header,
  .hero,
  .lead-section,
  .app-section,
  .section-heading,
  .pain-grid,
  .steps,
  .terms-grid,
  .benefits-grid,
  .faq-list,
  .comparison-card,
  .calculator-card,
  .section-footnote {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero,
  .app-section,
  .lead-section {
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .top-nav {
    display: none;
  }

  .pain-grid,
  .steps,
  .terms-grid,
  .benefits-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.35rem;
  }

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

  .nav-cta,
  .primary-btn,
  .secondary-btn {
    width: 100%;
    text-align: center;
  }

  .lead-card {
    padding: 22px;
  }

  .waitlist-form {
    padding: 22px;
  }
}
