:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg: #f5f3ee;
  --surface: #ffffff;
  --ink: #171717;
  --muted: #68645d;
  --line: #ddd8cf;
  --accent: #ad7f24;
  --accent-dark: #8f681b;
  --success: #23633b;
  --danger: #9d2b2b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
}

main {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-shell {
  min-height: 70vh;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 72px;
  align-items: center;
  padding: 72px 0 48px;
}

.hero-copy { min-width: 0; }
.brand {
  display: inline-block;
  font-weight: 900;
  letter-spacing: .18em;
  font-size: 15px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 7px;
}

.eyebrow,
.card-kicker,
.utility-label {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 {
  margin: 14px 0 18px;
  max-width: 680px;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: .98;
  letter-spacing: -.045em;
}

.lead {
  max-width: 630px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px;
  box-shadow: 0 18px 60px rgba(56, 45, 24, .08);
}
.card h2 { margin: 4px 0 0; font-size: 30px; }
.price { margin: 22px 0 0; font-size: 46px; font-weight: 900; letter-spacing: -.04em; }
.price-note { margin: 4px 0 26px; color: var(--muted); }

form { display: grid; gap: 10px; }
label { font-size: 14px; font-weight: 750; margin-top: 7px; }
input {
  width: 100%;
  min-height: 52px;
  border: 1px solid #cfc8bc;
  border-radius: 11px;
  padding: 0 14px;
  font: inherit;
  background: #fff;
  color: var(--ink);
  outline: none;
}
input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(173, 127, 36, .13); }

.hint,
.secure-note,
.result-copy {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.secure-note { text-align: center; }

button {
  border: 0;
  border-radius: 11px;
  min-height: 54px;
  padding: 0 18px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  margin-top: 8px;
}
button:hover { background: var(--accent-dark); }
button:disabled { opacity: .58; cursor: wait; }
button.secondary { background: #ece7dc; color: var(--ink); }

.error {
  margin: 2px 0 0;
  color: var(--danger);
  font-size: 13px;
  line-height: 1.5;
}

.success-mark {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e6f3e9;
  color: var(--success);
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 24px;
}

.utility-shell { padding: 10px 0 16px; }
.utility-shell > .eyebrow {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .06em;
}
.section-title {
  margin: 4px 0 0;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -.035em;
}
.utility-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.utility-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
}
.utility-card h3 {
  margin: 8px 0 0;
  font-size: 20px;
  line-height: 1.15;
}
.utility-card p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.utility-card-core {
  grid-column: span 2;
  background: #171717;
  color: #fff;
  border-color: #171717;
}
.utility-card-core .utility-label { color: #d5b36b; }
.utility-card-core h3 { font-size: 30px; }
.utility-card-core p:last-child { color: rgba(255,255,255,.65); }
.utility-card-wide { grid-column: 1 / -1; }

.access-strip {
  margin: 28px 0 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
}
.access-strip span { color: var(--accent-dark); }

.download-card {
  margin-top: 16px;
  background: #171717;
  color: #fff;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.download-card h2 {
  margin: 4px 0 6px;
  font-size: 28px;
}
.download-card p:last-child {
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: 14px;
  line-height: 1.6;
}
.download-card .card-kicker { color: #d5b36b; margin: 0; }
.download-button {
  flex: 0 0 auto;
  min-width: 265px;
  margin: 0;
}
.download-button:disabled {
  background: #ad7f24;
  color: #fff;
  opacity: .72;
  cursor: not-allowed;
}

footer {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  color: var(--muted);
  font-size: 12px;
  padding: 44px 0 28px;
}
footer p { margin: 4px 0 0; }
.footer-brand { color: var(--ink); letter-spacing: .16em; }

[hidden] { display: none !important; }

@media (max-width: 900px) {
  .hero-shell {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 38px;
    padding-top: 42px;
  }
  .utility-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .utility-card-wide { grid-column: span 2; }
}

@media (max-width: 620px) {
  main, footer { width: min(100% - 24px, 1100px); }
  h1 { font-size: clamp(40px, 12vw, 56px); }
  .card { padding: 24px; }
  .utility-shell > .eyebrow { font-size: 18px; }
  .utility-grid { grid-template-columns: 1fr; }
  .utility-card-core,
  .utility-card-wide { grid-column: auto; }
  .download-card {
    align-items: stretch;
    flex-direction: column;
  }
  .download-button { width: 100%; min-width: 0; }
  footer { align-items: flex-start; flex-direction: column; }
}
