:root {
  --navy: #0c1f40;
  --navy-2: #173263;
  --gold: #c49a49;
  --gold-ink: #1d1404;
  --paper: #f6f4ee;
  --surface: #ffffff;
  --ink: #141a2e;
  --muted: #5c6378;
  --line: #e2ded3;
  --danger: #c0392b;
  --radius: 16px;
  --head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }

.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(12px + env(safe-area-inset-top, 0px)) clamp(16px, 4vw, 48px) 12px;
  background: var(--navy); color: #fff;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { height: 48px; width: auto; margin-block: -6px; }
@media (max-width: 520px) { .brand-logo { height: 46px; margin-left: -8px; } }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--gold); color: var(--navy); font: 700 22px/1 var(--head); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font: 700 18px var(--head); }
.brand-text small { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.lang { display: flex; gap: 2px; padding: 3px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; }
.lang button { border: 0; background: transparent; color: #cdd4ea; cursor: pointer; font: 700 12px var(--body); padding: 6px 10px; border-radius: 999px; }
.lang button[aria-pressed="true"] { background: #fff; color: var(--navy); }

main { max-width: 1180px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 48px); }

.hero {
  display: grid; grid-template-columns: 1fr 470px; gap: clamp(24px, 4vw, 56px); align-items: start;
  padding-block: clamp(28px, 5vw, 64px);
  position: relative;
}
.hero::before {
  content: ""; position: absolute; inset: 0 calc(-1 * clamp(16px, 4vw, 48px)); z-index: -1;
  background:
    radial-gradient(600px 300px at 15% 10%, rgba(196,154,73,.2), transparent 70%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  border-radius: 0 0 40px 40px;
}
.hero-copy { color: #fff; padding-top: 8px; }
.eyebrow { font: 700 13px var(--body); letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
h1 { font: 700 clamp(34px, 5vw, 56px)/1.08 var(--head); margin: 0 0 18px; text-wrap: balance; letter-spacing: -0.5px; }
.lead { font-size: clamp(17px, 2vw, 19px); color: #dbe1f3; max-width: 36ch; margin: 0 0 20px; }
.price { margin: 0 0 18px; font-size: 18px; color: #dbe1f3; }
.price strong { font: 700 30px var(--head); color: var(--gold); margin-left: 4px; }
.price sup { color: var(--gold); }
.checks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.checks li { padding-left: 30px; position: relative; font-weight: 600; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); color: var(--navy); font-size: 12px; display: grid; place-items: center; font-weight: 700; margin-top: 2px; }
.footnote { font-size: 12px; color: #aab3d1; max-width: 46ch; margin: 0; }

.form-card { background: var(--surface); border-radius: 20px; padding: clamp(20px, 3vw, 30px); box-shadow: 0 24px 60px rgba(10, 26, 74, .22); scroll-margin-top: 84px; }
.form-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.form-head h2 { margin: 0; font: 700 22px var(--head); color: var(--navy); }
.progress-label { font-size: 13px; font-weight: 700; color: var(--muted); margin: 0; white-space: nowrap; }
.progress { height: 5px; background: #eceae3; border-radius: 5px; margin: 14px 0 22px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 50%; background: var(--gold); transition: width .3s ease; }

fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
legend { font: 700 12px var(--body); text-transform: uppercase; letter-spacing: 1.5px; color: var(--navy-2); margin-bottom: 16px; padding: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span { font-weight: 700; font-size: 14px; }
.field i { font-style: normal; font-weight: 400; color: var(--muted); }
input, textarea {
  width: 100%; background: #fff; color: var(--ink); border: 1.5px solid #d6d3c9; border-radius: 10px;
  padding: 12px 13px; font: 16px var(--body);
}
input:focus, textarea:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(18, 40, 107, .14); }
input[aria-invalid="true"] { border-color: var(--danger); }
.options { display: flex; flex-wrap: wrap; gap: 8px; }
.options button {
  min-height: 42px; padding: 0 14px; border-radius: 10px; cursor: pointer;
  background: #fff; color: var(--ink); border: 1.5px solid #d6d3c9; font: 600 14px var(--body);
}
.options button:hover { border-color: var(--navy-2); }
.options button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.options.invalid button { border-color: var(--danger); }
.hint { font-size: 13px; color: var(--muted); margin: 0; }
.address-recap { margin: -4px 0 0; padding: 10px 12px; background: #f3f1ea; border-radius: 10px; font-size: 14px; }
.more summary { cursor: pointer; font-weight: 700; color: var(--navy-2); }
.more[open] { display: flex; flex-direction: column; gap: 14px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--navy); }
.consent.invalid { color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-error { margin: 16px 0 0; color: var(--danger); font-size: 14px; font-weight: 600; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.form-nav .btn-primary { margin-left: auto; flex: 1; max-width: 260px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 22px; border-radius: 12px; cursor: pointer;
  font: 700 16px var(--body); text-decoration: none; border: 1.5px solid transparent;
}
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-primary { background: var(--gold); color: var(--gold-ink); }
.btn-primary:hover { background: #d1ab62; }
.btn-ghost { background: transparent; color: var(--ink); border-color: #cfccc2; }
.btn[disabled] { opacity: .6; cursor: wait; }

.done { text-align: center; padding: 18px 0 6px; }
.done-mark { width: 60px; height: 60px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy); font-size: 28px; font-weight: 700; }
.done h2 { font: 700 24px var(--head); color: var(--navy); margin: 0 0 8px; }
.done-code { font-weight: 700; }

section h2 { font: 700 clamp(26px, 3.5vw, 36px)/1.15 var(--head); color: var(--navy); margin: 0 0 22px; }
.how, .uses, .faq { padding-block: clamp(32px, 5vw, 56px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--gold); font: 700 15px var(--head); }
.steps h3, .use-grid h3 { font: 700 18px var(--head); margin: 12px 0 6px; color: var(--navy); }
.steps p, .use-grid p { margin: 0; color: var(--muted); }
.use-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.use-grid article { border-top: 3px solid var(--gold); padding-top: 4px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

.footer { background: var(--navy); color: #c6cde4; text-align: center; font-size: 14px; padding: 28px 16px calc(96px + env(safe-area-inset-bottom, 0px)); }
.footer p { margin: 6px 0; }
.footer .small { font-size: 12px; max-width: 70ch; margin: 12px auto 0; color: #97a1c2; }
.linklike { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }

.notice {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 30;
  max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 12px 40px rgba(10, 26, 74, .2); padding: 14px 16px; display: flex; gap: 14px; align-items: center;
}
.notice p { margin: 0; font-size: 13px; color: var(--muted); }
.notice-actions { display: flex; gap: 8px; flex: none; }

.mobile-cta { display: none; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .mobile-cta { display: flex; width: 100%; margin: 0 0 22px; }
  .steps { grid-template-columns: 1fr; }
  .use-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .row { grid-template-columns: 1fr; }
  .use-grid { grid-template-columns: 1fr; }
  .notice { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px; }
  .notice p { font-size: 12px; line-height: 1.45; }
  .notice-actions .btn { flex: 1; min-height: 38px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
