:root {
  --ink: #0F1620;
  --green: #1F4D3A;
  --green-dark: #163a2b;
  --bronze: #B8761E;
  --paper: #FBFAF7;
  --card: #FFFFFF;
  --line: #E7E3DA;
  --muted: #5A5F57;
  --faint: #9a9a90;
  --red: #8b2a2a;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15,22,32,.04), 0 12px 40px -12px rgba(15,22,32,.16);
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(31,77,58,.06), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(184,118,30,.05), transparent 55%),
    var(--paper);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Topbar ───────────────────────────────────────────── */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px clamp(18px, 5vw, 48px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px;
  border: 1.4px solid var(--ink); border-radius: 8px;
  font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--green);
  background:
    repeating-linear-gradient(to bottom, transparent 0 7px, rgba(15,22,32,.06) 7px 8px);
}
.brand-word { font-family: var(--serif); font-style: italic; font-size: 24px; letter-spacing: -.4px; }
.lang { display: inline-flex; align-items: center; gap: 4px; color: var(--faint); font-size: 14px; }
.lang-btn {
  background: none; border: none; cursor: pointer; color: var(--faint);
  font: inherit; padding: 4px 6px; border-radius: 6px; letter-spacing: .5px;
}
.lang-btn[aria-current="true"] { color: var(--ink); font-weight: 600; }
.lang-btn:hover { color: var(--ink); }
.lang-sep { color: var(--line); }

/* ── Layout ───────────────────────────────────────────── */
.wrap {
  flex: 1; width: 100%; max-width: 1060px; margin: 0 auto;
  padding: clamp(12px, 4vw, 40px) clamp(18px, 5vw, 48px) 48px;
  display: flex; align-items: center;
}
.hero {
  width: 100%;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 600;
  color: var(--green); margin: 0 0 16px;
}
.eyebrow::before { content: ""; display: inline-block; width: 22px; height: 1.5px; background: var(--bronze); vertical-align: middle; margin-right: 10px; }
h1 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 5.4vw, 52px);
  line-height: 1.04; letter-spacing: -.5px; margin: 0 0 18px;
}
h1 em { font-style: italic; color: var(--green); }
.lead { font-size: clamp(16px, 2.2vw, 18px); line-height: 1.6; color: var(--muted); margin: 0 0 28px; max-width: 30em; }

/* ── Form ─────────────────────────────────────────────── */
.form { display: flex; flex-direction: column; gap: 12px; max-width: 420px; }
.field {
  font: inherit; font-size: 16px; color: var(--ink);
  padding: 14px 16px; border: 1.4px solid var(--line); border-radius: 12px;
  background: var(--card); transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.field::placeholder { color: var(--faint); }
.field:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(31,77,58,.1); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-size: 16px; font-weight: 600; cursor: pointer;
  background: var(--green); color: #fff; border: none; border-radius: 12px;
  padding: 15px 24px; text-decoration: none;
  transition: background .15s, transform .05s;
}
.btn:hover { background: var(--green-dark); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .65; cursor: default; }
.btn-arrow { transition: transform .15s; }
.btn:hover .btn-arrow { transform: translateX(3px); }
.form-error { color: var(--red); font-size: 14px; margin: 2px 0 0; }
.hint { font-size: 14px; margin: -4px 0 0; color: var(--muted); line-height: 1.5; }
.hint-link { color: var(--green); font-weight: 600; text-decoration: underline; cursor: pointer; }
.hint-link.hint-muted { color: var(--faint); font-weight: 400; }
.hint-link:hover { opacity: .8; }
.reassure {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--faint); font-size: 13px; margin: 16px 0 0;
}
.reassure svg { flex: none; }

/* ── Preview sheet ────────────────────────────────────── */
.preview { display: flex; justify-content: center; }
.sheet {
  width: min(320px, 80vw); aspect-ratio: 3 / 4; background: var(--card);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  padding: 26px 24px; transform: rotate(-2deg);
  position: relative;
}
.sheet::after {
  content: ""; position: absolute; inset: 0; border-radius: 14px;
  background: linear-gradient(180deg, transparent 70%, rgba(15,22,32,.02));
  pointer-events: none;
}
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.sheet-mark {
  display: grid; place-items: center; width: 30px; height: 30px;
  border: 1.3px solid var(--ink); border-radius: 7px;
  font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--green);
}
.sheet-tag { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); font-weight: 600; }
.sheet-title { font-family: var(--serif); font-size: 22px; line-height: 1.15; margin-bottom: 22px; color: var(--ink); }
.sheet-rows { display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; }
.sheet-rows span { height: 8px; border-radius: 4px; background: var(--line); }
.sheet-rows span.short { width: 62%; }
.sheet-chips { display: flex; gap: 8px; margin-bottom: 22px; }
.sheet-chips i { width: 46px; height: 22px; border-radius: 999px; background: rgba(31,77,58,.1); border: 1px solid rgba(31,77,58,.18); }
.sheet-chips i:nth-child(2) { background: rgba(184,118,30,.1); border-color: rgba(184,118,30,.22); }
.sheet-chips i:nth-child(3) { background: rgba(139,42,42,.08); border-color: rgba(139,42,42,.18); }

/* ── Success ──────────────────────────────────────────── */
.success { width: 100%; display: flex; justify-content: center; }
.success-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: clamp(32px, 6vw, 52px); max-width: 460px; text-align: center;
}
.check {
  width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: var(--green);
  box-shadow: 0 0 0 8px rgba(31,77,58,.1);
}
.success h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 4vw, 34px); margin: 0 0 10px; }
.success-sub { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 0 0 26px; }
.dl-buttons { display: flex; flex-direction: column; gap: 10px; }
.success .btn { width: 100%; }
.btn-secondary { background: var(--card); color: var(--green); border: 1.4px solid var(--green); }
.btn-secondary:hover { background: rgba(31,77,58,.06); }
.success-mailed { color: var(--faint); font-size: 13px; margin: 18px 0 0; }
.success-mailed strong { color: var(--muted); }

/* ── Footer ───────────────────────────────────────────── */
.footer { padding: 20px; text-align: center; color: var(--faint); font-size: 12px; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 36px; }
  .preview { order: -1; }
  .sheet { transform: rotate(-1.5deg); width: min(240px, 64vw); }
  .form, .lead { max-width: none; }
}
@media (max-width: 480px) {
  .preview { display: none; }
  h1 { font-size: clamp(30px, 8vw, 40px); }
  .wrap { padding-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn-arrow, .btn { transition: none; }
}
