:root {
  --ink: #161615;
  --muted: #66645f;
  --line: #dfddd6;
  --paper: #fbfaf6;
  --white: #ffffff;
  --sage: #8fa690;
  --sage-dark: #526d55;
  --rose: #c98272;
  --clay: #b85f44;
  --charcoal: #262624;
  --shadow: 0 20px 60px rgba(38, 38, 36, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.7;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 32px;
  background: rgba(251, 250, 246, 0.9);
  border-bottom: 1px solid rgba(223, 221, 214, 0.8);
  backdrop-filter: blur(14px);
}

.brand {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
}

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

.nav a {
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 64px 56px 40px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.limited-banner {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 4px 12px;
  align-items: center;
  margin-bottom: 22px;
  padding: 14px 18px;
  color: var(--white);
  background: var(--clay);
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 8px 8px 0 var(--ink);
}

.limited-banner span {
  font-size: 15px;
  font-weight: 900;
}

.limited-banner strong {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  letter-spacing: 0;
}

.limited-banner em {
  grid-column: 1 / -1;
  color: #fff7dc;
  font-style: normal;
  font-size: 14px;
  font-weight: 800;
}

.limited-banner b {
  font-size: 18px;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: 0;
}

.lead {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions,
.form-actions,
.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

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

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

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 0;
}

.hero-stats div {
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
}

.hero-stats dt {
  color: var(--muted);
  font-size: 12px;
}

.hero-stats dd {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}

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

.hero-card {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 8px 10px;
  color: var(--white);
  background: rgba(22, 22, 21, 0.82);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}

.hero-card-main {
  inset: 0 70px 70px 0;
}

.hero-card-side {
  right: 0;
  bottom: 0;
  width: 44%;
  aspect-ratio: 1;
}

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

.section-heading {
  max-width: 840px;
  margin-bottom: 32px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.intro {
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 40px;
  max-width: 1120px;
}

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

.feature-list li {
  padding: 14px 16px;
  background: #eef1ea;
  border-left: 4px solid var(--sage);
  font-weight: 700;
}

.works {
  background: #f4f0eb;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(160px, 1fr));
  gap: 14px;
}

.product-card {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 42px rgba(38, 38, 36, 0.14);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #ece8df;
}

.product-card span {
  display: block;
  min-height: 58px;
  padding: 12px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.plans {
  background: var(--paper);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 20px;
  max-width: 980px;
}

.plan {
  position: relative;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.plan.featured {
  color: var(--white);
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.plan-label {
  margin-bottom: 8px;
  color: var(--rose);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.tax {
  color: currentColor;
  opacity: 0.68;
}

.plan ul {
  display: grid;
  gap: 8px;
  margin: 24px 0;
  padding-left: 20px;
}

.plan.featured .button.primary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 6px 10px;
  color: var(--ink);
  background: #e7d278;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 900;
}

.flow {
  background: var(--white);
}

.flow-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-weight: 800;
}

.flow-list span {
  display: inline-grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: var(--sage-dark);
  border-radius: 50%;
}

.flow-note {
  max-width: 900px;
  margin: 18px 0 0;
  padding: 16px 18px;
  color: var(--muted);
  background: #f4f0eb;
  border-left: 4px solid var(--clay);
  font-weight: 700;
}

.form-section,
.line-section {
  background: #ece8df;
}

.line-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  max-width: 1120px;
  padding: 28px;
  color: var(--white);
  background: var(--charcoal);
  border: 1px solid var(--charcoal);
  border-radius: 8px;
}

.line-panel h3 {
  margin-bottom: 18px;
}

.line-panel .button.primary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
  white-space: nowrap;
}

.line-steps {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.line-steps li {
  padding-left: 4px;
  font-weight: 800;
}

.order-form,
.result-panel {
  max-width: 1120px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.order-form {
  display: grid;
  gap: 22px;
}

fieldset {
  margin: 0;
  padding: 0 0 22px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

fieldset:last-of-type {
  border-bottom: 0;
}

legend {
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 900;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fbfaf6;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

textarea {
  min-height: 118px;
  resize: vertical;
}

small {
  color: var(--muted);
  font-weight: 500;
}

input:invalid,
select:invalid,
textarea:invalid {
  box-shadow: none;
}

.wide {
  grid-column: 1 / -1;
}

.consent {
  display: grid;
  gap: 10px;
}

.consent label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.consent input {
  width: auto;
  min-height: auto;
  margin-top: 5px;
}

.form-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.result-panel {
  margin-top: 22px;
}

.result-panel textarea {
  min-height: 360px;
  margin: 18px 0;
  white-space: pre;
}

.result-actions span {
  color: var(--sage-dark);
  font-weight: 800;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 56px;
  color: var(--white);
  background: var(--ink);
}

.footer p {
  margin: 0;
  font-weight: 900;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

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

  .product-grid {
    grid-template-columns: repeat(3, minmax(160px, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 0 18px;
  }

  .nav {
    gap: 12px;
    font-size: 12px;
  }

  .hero,
  .section {
    padding: 44px 20px;
  }

  .hero-stats,
  .intro-grid,
  .plan-grid,
  .field-grid,
  .line-panel {
    grid-template-columns: 1fr;
  }

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

  .hero-card-main {
    inset: 0 32px 72px 0;
  }

  .hero-card-side {
    width: 52%;
  }

  .limited-banner {
    width: 100%;
    box-shadow: 5px 5px 0 var(--ink);
  }

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

  .footer {
    display: grid;
    padding: 24px 20px;
  }
}
