:root {
  --ink: #141414;
  --muted: #61615f;
  --line: #dedbd2;
  --paper: #fbfaf6;
  --white: #ffffff;
  --accent: #0f766e;
  --accent-dark: #0b4f49;
  --gold: #b9892f;
  --soft: #ece8dd;
  --danger: #8b2d2d;
  --shadow: 0 18px 45px rgba(20, 20, 20, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-size: 15px;
  font-weight: 900;
}

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

.nav-links a {
  text-decoration: none;
}

.button,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font: 800 14px/1 Inter, ui-sans-serif, system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover,
button:hover,
input[type="submit"]:hover {
  transform: translateY(-1px);
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.button.secondary:hover {
  background: var(--ink);
  color: var(--white);
}

.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 82px 24px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 56px;
  align-items: center;
}

.hero h1,
.page-title {
  margin: 0;
  max-width: 820px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
}

.hero-copy {
  margin: 24px 0 0;
  max-width: 560px;
  color: #3d3d3b;
  font-size: clamp(18px, 2vw, 22px);
}

.lead-form {
  margin-top: 32px;
  display: flex;
  gap: 10px;
  max-width: 620px;
}

.lead-form input,
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  min-height: 46px;
  padding: 12px 14px;
  font: 500 15px/1.35 Inter, ui-sans-serif, system-ui, sans-serif;
}

.lead-form button {
  min-width: 260px;
  white-space: nowrap;
}

.lead-form input:focus,
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid rgba(15, 118, 110, 0.22);
  border-color: var(--accent);
}

.hero-visual {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 28px;
}

.stack-card {
  display: grid;
  gap: 16px;
}

.stack-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 32px;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

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

.stack-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--ink);
  font-weight: 900;
}

.stack-row h3 {
  margin: 0;
  font-size: 17px;
}

.stack-row p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.score-dot {
  width: 24px;
  height: 24px;
  border: 2px solid var(--accent);
  background: #d9f0ea;
}

.section {
  padding: 74px 24px;
  border-top: 1px solid var(--line);
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section h2 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
}

.section p {
  max-width: 730px;
  color: #353533;
  font-size: 18px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: 46px;
  align-items: start;
}

.question-list,
.check-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.question-list li,
.check-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: #2f2f2d;
  font-size: 18px;
}

.check-list li::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 12px;
  background: var(--accent);
}

.feature-band {
  background: var(--ink);
  color: var(--white);
}

.feature-band p,
.feature-band .muted {
  color: rgba(255, 255, 255, 0.74);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.22);
  margin-top: 34px;
}

.feature {
  min-height: 150px;
  padding: 22px;
  background: var(--ink);
}

.feature strong {
  display: block;
  margin-bottom: 12px;
  font-size: 18px;
}

.offer {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
  background: var(--soft);
  border: 1px solid var(--line);
}

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

.authority {
  color: var(--muted);
  font-size: 14px;
}

.footer {
  padding: 32px 24px 54px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.form-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 42px 24px 80px;
}

.form-card {
  margin-top: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 34px;
}

.field {
  display: grid;
  gap: 9px;
  margin-bottom: 24px;
}

.field label,
.option-group legend {
  font-weight: 800;
  color: var(--ink);
}

.field small {
  color: var(--muted);
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.option-group {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0 0 24px;
  border: 0;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-weight: 600;
}

.thank-you {
  max-width: 850px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 70px 24px;
  display: grid;
  align-content: center;
}

.thank-you h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 7vw, 80px);
  line-height: 0.95;
}

.thank-you p {
  max-width: 680px;
  color: #333331;
  font-size: 19px;
}

.email-box {
  margin-top: 28px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
}

.email-box h2 {
  margin: 0 0 16px;
}

.email-box ul {
  margin: 18px 0 24px;
}

.email-box li {
  margin: 8px 0;
}

@media (max-width: 880px) {
  .nav {
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .split,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .hero > *,
  .split > *,
  .hero-visual {
    min-width: 0;
  }

  .hero {
    padding-top: 44px;
    gap: 36px;
  }

  .lead-form {
    flex-direction: column;
  }

  .lead-form button {
    width: 100%;
    min-width: 0;
  }

  .hero h1,
  .page-title {
    max-width: min(330px, calc(100vw - 48px));
    font-size: 43px;
  }

  .hero-copy {
    max-width: min(330px, calc(100vw - 48px));
    font-size: 18px;
  }

  .lead-form {
    max-width: min(330px, calc(100vw - 48px));
  }

  .hero-visual {
    width: min(330px, calc(100vw - 48px));
    padding: 22px;
  }

  .stack-row {
    grid-template-columns: 38px minmax(0, 1fr) 22px;
    gap: 10px;
  }

  .stack-number {
    width: 34px;
    height: 34px;
  }

  .score-dot {
    width: 20px;
    height: 20px;
  }

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

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

  .footer-inner {
    flex-direction: column;
  }
}

@media print {
  body {
    background: var(--white);
  }

  .nav,
  .footer,
  .no-print {
    display: none !important;
  }
}
