:root {
  --forest: #0b3a29;
  --forest-dark: #041e16;
  --leaf: #6f8520;
  --cream: #f4ead4;
  --paper: #fffaf0;
  --gold: #e0aa3e;
  --ochre: #b66b2f;
  --ink: #15231d;
  --muted: #657168;
  --line: rgba(11, 58, 41, .18);
  --shadow: 0 24px 60px rgba(24, 39, 28, .12);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(224,170,62,.13), transparent 28rem),
    var(--cream);
  font-family: "Trebuchet MS", Arial, sans-serif;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; line-height: .98; }
h1 { font-size: clamp(3.3rem, 8vw, 7.2rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
p { margin: .7em 0; }
.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.content, .section { padding: clamp(56px, 8vw, 96px) 0; }
.center { text-align: center; }
.eyebrow, .step-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.eyebrow.green, .step-kicker { color: var(--ochre); }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  color: #fff;
  background: rgba(4, 30, 22, .97);
  border-bottom: 1px solid rgba(255,255,255,.13);
  backdrop-filter: blur(14px);
}
.header-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 86px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand { display: flex; align-items: center; gap: 15px; color: #fff; text-decoration: none; }
.brand img {
  width: 66px;
  height: 66px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  object-fit: cover;
}
.brand span { display: grid; gap: 2px; }
.brand small { color: var(--gold); font-size: .68rem; font-weight: 900; letter-spacing: .19em; text-transform: uppercase; }
.brand strong { font: 700 clamp(1.05rem, 2vw, 1.35rem) Georgia, serif; }
.header-help { display: grid; text-align: right; text-decoration: none; }
.header-help span { color: #d8d4c7; font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; }
.header-help strong { color: var(--gold); }

.brand-hero { position: relative; overflow: hidden; color: #fff; background: var(--forest-dark); }
.hero-art { min-height: 460px; }
.hero-art img { width: 100%; min-height: 460px; object-fit: cover; object-position: center; }
.brand-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3,24,17,.94) 0%, rgba(3,24,17,.72) 32%, rgba(3,24,17,.06) 62%);
}
.hero-copy { position: absolute; z-index: 2; inset: 0; display: grid; align-items: center; }
.hero-copy > div { width: min(570px, 50%); padding-block: 48px; }
.hero-copy h1 { text-shadow: 0 4px 30px rgba(0,0,0,.4); }
.hero-copy > div > p:not(.eyebrow) { max-width: 540px; color: #f8f0df; font-size: 1.05rem; }
.date-pills { display: flex; gap: 9px; flex-wrap: wrap; margin: 23px 0; }
.date-pills span { padding: 8px 12px; border: 1px solid rgba(255,255,255,.5); background: rgba(4,30,22,.7); font-size: .82rem; font-weight: 800; }

.btn {
  min-height: 50px;
  padding: 13px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 2px;
  font: 900 .92rem/1.2 "Trebuchet MS", Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.primary { color: #10251d; background: var(--gold); box-shadow: 5px 5px 0 rgba(255,255,255,.18); }
.primary:hover { background: #efbd55; transform: translateY(-1px); }
.dark { color: #fff; background: var(--forest); }
.outline { color: #fff; border-color: rgba(255,255,255,.65); background: transparent; }
.outline.dark-text { color: var(--forest); border-color: rgba(11,58,41,.35); background: #fff; }

.vendor-intro { padding-block: clamp(64px, 9vw, 112px); display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(42px, 8vw, 100px); align-items: center; }
.intro-copy > p:not(.eyebrow) { max-width: 680px; color: #405047; font-size: 1.08rem; }
.quick-facts { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.quick-facts div { padding: 22px 18px 22px 0; display: grid; border-right: 1px solid var(--line); }
.quick-facts div + div { padding-left: 18px; }
.quick-facts div:last-child { border-right: 0; }
.quick-facts strong { color: var(--forest); font: 700 1.65rem Georgia, serif; }
.quick-facts span { color: var(--muted); font-size: .82rem; }
.social-card { margin: 0; position: relative; box-shadow: 18px 18px 0 var(--forest); }
.social-card img { width: 100%; aspect-ratio: 1 / 1.2; object-fit: cover; object-position: top; }
.social-card figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 12px 16px; color: #fff; background: rgba(4,30,22,.92); font-size: .8rem; font-weight: 800; }

.application-section { padding: clamp(64px, 8vw, 105px) 0; background: var(--paper); border-top: 1px solid var(--line); }
.section-heading { max-width: 780px; margin-bottom: 32px; }
.section-heading > p:last-child { color: var(--muted); }
.application { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; align-items: start; }
.card { padding: 28px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 36px rgba(24,39,28,.06); }
.form-card { padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.progress { margin-bottom: 40px; }
.progress-label { margin-bottom: 12px; display: flex; justify-content: space-between; gap: 15px; color: var(--muted); font-size: .79rem; text-transform: uppercase; letter-spacing: .08em; }
.progress-label strong { color: var(--forest); }
.progress-bars { display: flex; gap: 8px; }
.progress-bars i { height: 5px; flex: 1; background: #dcd8ca; }
.progress-bars i.on { background: var(--ochre); }
.form-step { display: none; }
.form-step.on { display: block; }
.step-intro { margin-bottom: 26px; color: var(--muted); }
.label { margin-top: 25px; font-weight: 900; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; }
.form-grid label, .form-step > label, .card > label { display: grid; gap: 7px; font-size: .88rem; font-weight: 800; }
.wide { grid-column: 1 / -1; }
input, select, textarea {
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  color: var(--ink);
  background: #fffef9;
  border: 1px solid rgba(11,58,41,.28);
  border-radius: 2px;
  font: inherit;
}
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(224,170,62,.26); border-color: var(--ochre); }
textarea { min-height: 112px; resize: vertical; }
.choices { margin: 13px 0 27px; display: grid; gap: 10px; }
.choices label, .accept {
  padding: 16px;
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  background: #fffef9;
  border: 1px solid var(--line);
  cursor: pointer;
}
.choices label:has(input:checked), .accept:has(input:checked) { border-color: var(--ochre); box-shadow: inset 4px 0 var(--gold); }
.choices input, .accept input { width: 20px; min-height: 20px; margin-top: 2px; accent-color: var(--forest); }
.choices span { display: grid; }
.choices small { color: var(--muted); }
.choices.compact { grid-template-columns: 1fr 1fr; }
.accept { margin: 17px 0; }
.notice { padding: 17px 18px; background: #fff3ca; border-left: 5px solid var(--gold); }
.indemnity-notice { margin: 28px 0; padding: 24px; background: #fff0e9; border: 2px solid var(--ochre); border-left-width: 7px; }
.indemnity-notice h2 { color: #792f1e; font-size: 2rem; }
.indemnity-accept { background: #fff0e9; border: 2px solid var(--ochre); }
.terms-gate { margin: 28px 0 18px; padding: 23px; border: 2px solid var(--ochre); background: #fff8e8; }
.terms-gate h4 { margin: 0; color: var(--forest); font: 700 1.4rem Georgia, serif; }
.terms-required { margin: 0 0 8px; color: #8b341f; font-size: .72rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.terms-status { margin: 16px 0 0; padding: 12px 14px; color: #6c2b1d; background: #ffe7db; border-left: 4px solid var(--ochre); font-size: .86rem; }
.terms-gate.opened { border-color: var(--forest); background: #eef5e8; }
.terms-gate.opened .terms-status { color: var(--forest); background: #dcebd7; border-left-color: var(--leaf); }
.locked-acceptance { opacity: .55; cursor: not-allowed; }
.accept span { display: grid; gap: 3px; }
.accept small { color: var(--muted); font-weight: 500; }
.form-actions { margin-top: 28px; display: flex; justify-content: space-between; gap: 12px; }
.error { color: #9f2519; font-weight: 900; }
.fee { position: sticky; top: 112px; padding: 28px; color: #fff; background: var(--forest); box-shadow: 10px 10px 0 var(--gold); }
.fee > img { width: 90px; height: 90px; margin-bottom: 24px; border: 2px solid var(--gold); border-radius: 50%; object-fit: cover; }
.fee > strong { display: block; font: 700 3.8rem Georgia, serif; line-height: 1; }
.fee hr { margin: 24px 0; border: 0; border-top: 1px solid rgba(255,255,255,.25); }
.fee-note { color: #d8dfd8; font-size: .82rem; }
.fee a { color: var(--gold); font-weight: 900; }

.legal-hero { padding: clamp(68px, 10vw, 120px) 0; color: #fff; background: linear-gradient(120deg, rgba(4,30,22,.98), rgba(11,58,41,.9)), url('/assets/market-hero.jpg') center/cover; }
.legal-hero p:last-child { max-width: 580px; color: #e6e0d1; }
.back-link { display: inline-block; margin-bottom: 34px; color: var(--gold); font-weight: 800; text-decoration: none; }
.prose { max-width: 860px; }
.prose h2 { margin-top: 1.5em; font-size: 2rem; }
.result-page { min-height: 65vh; padding-block: clamp(65px, 10vw, 120px); }
.result-card { max-width: 780px; margin-inline: auto; padding: clamp(28px, 6vw, 60px); text-align: center; background: #fff; border-top: 8px solid var(--gold); box-shadow: var(--shadow); }
.result-card > img { width: 130px; height: 130px; margin: 0 auto 25px; border-radius: 50%; object-fit: cover; }
.result-card h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); }
.bank-details { margin: 28px 0; padding: 10px 22px; text-align: left; background: var(--cream); border-left: 5px solid var(--gold); }
.bank-details p { display: grid; grid-template-columns: 170px 1fr; gap: 15px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
table th, table td { padding: 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
table th { color: #fff; background: var(--forest); }
.site-footer { padding: 52px 0; color: #fff; background: var(--forest-dark); }
.footer-inner { width: min(1180px, calc(100% - 40px)); margin-inline: auto; display: grid; grid-template-columns: 1fr auto; gap: 20px 50px; }
.footer-inner p { margin: 4px 0; color: #aebbb4; }
.footer-links { display: grid; align-content: start; gap: 8px; text-align: right; }
.footer-links a { color: var(--gold); font-weight: 800; }
.footer-credit { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.13); font-size: .78rem; }

@media (max-width: 900px) {
  .brand-hero::after { background: linear-gradient(90deg, rgba(3,24,17,.94), rgba(3,24,17,.62) 70%, rgba(3,24,17,.22)); }
  .hero-copy > div { width: min(650px, 75%); }
  .vendor-intro { grid-template-columns: 1fr .55fr; gap: 45px; }
  .application { grid-template-columns: 1fr; }
  .fee { position: static; order: -1; display: grid; grid-template-columns: 76px 1fr; gap: 4px 20px; box-shadow: 8px 8px 0 var(--gold); }
  .fee > img { width: 76px; height: 76px; margin: 0; grid-row: 1 / 4; }
  .fee > .eyebrow, .fee > strong, .fee > p { grid-column: 2; }
  .fee hr { grid-column: 1 / -1; width: 100%; }
  .fee > a { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .wrap, .header-inner, .footer-inner { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 72px; }
  .brand img { width: 52px; height: 52px; }
  .brand strong { font-size: .98rem; }
  .brand small { font-size: .58rem; }
  .header-help span { display: none; }
  .header-help strong { font-size: .82rem; }
  .hero-art, .hero-art img { min-height: 590px; }
  .hero-art img { object-position: 62% center; filter: saturate(.9); }
  .brand-hero::after { background: linear-gradient(0deg, rgba(3,24,17,.98) 0%, rgba(3,24,17,.82) 48%, rgba(3,24,17,.14) 100%); }
  .hero-copy { align-items: end; }
  .hero-copy > div { width: 100%; padding-bottom: 42px; }
  .hero-copy h1 { font-size: clamp(3.5rem, 17vw, 5.2rem); }
  .vendor-intro { grid-template-columns: 1fr; }
  .social-card { width: calc(100% - 16px); box-shadow: 14px 14px 0 var(--forest); }
  .quick-facts { grid-template-columns: 1fr; }
  .quick-facts div, .quick-facts div + div { padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .quick-facts div:last-child { border-bottom: 0; }
  .form-grid, .choices.compact { grid-template-columns: 1fr; }
  .wide { grid-column: auto; }
  .form-card { padding: 22px 17px; }
  .progress-label { align-items: flex-end; }
  .progress-label strong { max-width: 160px; text-align: right; }
  .form-actions { flex-wrap: wrap; }
  .form-actions .btn { flex: 1; }
  .form-actions #submit { flex-basis: 100%; }
  .fee { grid-template-columns: 65px 1fr; padding: 22px; }
  .fee > img { width: 65px; height: 65px; }
  .fee > strong { font-size: 3rem; }
  .bank-details p { grid-template-columns: 1fr; gap: 2px; }
  .cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { text-align: left; }
  .footer-credit { grid-column: auto; }
}
