:root {
  --bg: #f4f8f6;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --surface-dark: #133228;
  --text: #143328;
  --muted: #5f766c;
  --line: rgba(19, 50, 40, 0.12);
  --primary: #1f8f5f;
  --primary-dark: #166d48;
  --primary-soft: #dff5ea;
  --accent: #d6efe3;
  --shadow: 0 24px 60px rgba(13, 42, 33, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(31, 143, 95, 0.12), transparent 30%),
    radial-gradient(circle at top right, rgba(90, 150, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #f8fbf9 0%, var(--bg) 100%);
}

body.modal-open {
  overflow: hidden;
}

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

button,
a,
input {
  font: inherit;
}

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

.page-shell {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding-bottom: 72px;
}

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

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

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, var(--primary) 0%, #0f5b3b 100%);
  box-shadow: 0 12px 24px rgba(31, 143, 95, 0.24);
}

.eyebrow,
.section-label,
.proof-kicker {
  margin: 0;
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-name {
  display: inline-block;
  margin-top: 2px;
  font-size: 1.15rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.button {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 16px 28px rgba(31, 143, 95, 0.28);
}

.button-secondary,
.button-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(19, 50, 40, 0.1);
  backdrop-filter: blur(8px);
}

.button-small {
  padding: 12px 18px;
}

.button-full {
  width: 100%;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 34px;
  align-items: center;
  padding: 34px 0 20px;
}

.hero-copy h1,
.section-heading h2,
.problem-card h2,
.highlight-panel h2,
.modal h2 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  margin-top: 14px;
  font-size: clamp(2.6rem, 6vw, 5rem);
  max-width: 12ch;
}

.hero-text {
  max-width: 62ch;
  margin: 20px 0 0;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.trust-pill {
  padding: 11px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(19, 50, 40, 0.08);
  color: var(--text);
  font-size: 0.92rem;
}

.hero-card-wrap {
  position: relative;
}

.hero-card-wrap::before,
.hero-card-wrap::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}

.hero-card-wrap::before {
  width: 180px;
  height: 180px;
  top: -28px;
  right: 20px;
  background: rgba(31, 143, 95, 0.12);
}

.hero-card-wrap::after {
  width: 120px;
  height: 120px;
  bottom: 18px;
  left: -10px;
  background: rgba(97, 132, 255, 0.1);
}

.hero-card {
  position: relative;
  z-index: 1;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 251, 247, 0.96) 100%);
  border: 1px solid rgba(19, 50, 40, 0.08);
  box-shadow: var(--shadow);
}

.hero-card-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 0.92rem;
  font-weight: 700;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(31, 143, 95, 0.16);
}

.readiness-meter {
  display: grid;
  place-items: center;
  margin: 28px 0;
}

.meter-ring {
  width: 250px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    conic-gradient(from 220deg, #ddf2e8 0 18%, #70d1a0 18% 68%, #1f8f5f 68% 82%, #d8ebe1 82% 100%);
  padding: 18px;
}

.meter-core {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
}

.meter-core strong {
  font-size: 1.35rem;
}

.meter-core span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

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

.hero-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  line-height: 1.55;
}

.hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, #7fd4a6 100%);
  box-shadow: 0 0 0 5px rgba(31, 143, 95, 0.1);
}

.hero-note,
.form-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.problem-strip,
.highlight-panel {
  display: grid;
  gap: 24px;
}

.problem-strip {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  margin-top: 34px;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(19, 50, 40, 0.08);
  box-shadow: var(--shadow);
}

.problem-card p:last-child,
.highlight-panel p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.problem-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.problem-points article,
.step-card,
.feature-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.problem-points h3,
.step-card h3,
.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.problem-points p,
.step-card p,
.feature-card p,
.feature-card li,
.faq-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.section {
  padding-top: 82px;
}

.section-heading {
  display: grid;
  gap: 14px;
  max-width: 760px;
}

.section-heading h2,
.problem-card h2,
.highlight-panel h2,
.modal h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.narrow {
  max-width: 680px;
}

.steps-grid,
.feature-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

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

.step-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 251, 247, 0.92) 100%);
}

.step-number {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--primary-dark);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

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

.accent-card {
  background: linear-gradient(135deg, #173d31 0%, #245543 100%);
}

.accent-card h3,
.accent-card p {
  color: #f6fffb;
}

.proof-card {
  background: linear-gradient(180deg, #f5fbf8 0%, #edf7f1 100%);
}

.proof-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 12px;
}

.highlight-panel {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  align-items: end;
  padding: 30px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(31, 143, 95, 0.12) 0%, rgba(255, 255, 255, 0.95) 56%);
  border: 1px solid rgba(19, 50, 40, 0.08);
}

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

details {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  padding: 0 18px;
}

summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 28px 20px 0;
  position: relative;
  font-weight: 700;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-dark);
  font-size: 1.4rem;
}

details[open] summary::after {
  content: "−";
}

details p {
  padding: 0 0 20px;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 20;
}

.modal[aria-hidden="false"] {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 30, 24, 0.54);
  backdrop-filter: blur(6px);
}

.modal-dialog {
  position: relative;
  width: min(100%, 520px);
  padding: 30px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(9, 24, 19, 0.28);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.modal-copy {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

label span {
  font-size: 0.95rem;
}

input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(19, 50, 40, 0.16);
  background: #fbfdfc;
  color: var(--text);
}

input:focus {
  outline: 2px solid rgba(31, 143, 95, 0.2);
  border-color: var(--primary);
}

.landai-waitlist-success,
.landai-waitlist-error {
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 0.95rem;
}

.landai-waitlist-success {
  background: #e5f7ed;
  color: #115131;
}

.landai-waitlist-error {
  background: #fdecec;
  color: #922f2f;
}

@media (max-width: 1080px) {
  .section-grid,
  .problem-strip,
  .highlight-panel,
  .steps-grid,
  .problem-points {
    grid-template-columns: 1fr;
  }

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

  .hero-copy h1 {
    max-width: 14ch;
  }
}

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

  .site-header {
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    font-size: 0.9rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.3rem, 12vw, 3.6rem);
  }

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

  .hero-card,
  .problem-strip,
  .highlight-panel,
  .modal-dialog {
    padding: 22px;
  }

  .meter-ring {
    width: 210px;
  }

  .button,
  .button-full {
    width: 100%;
  }

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