:root {
  --ink: #201d19;
  --muted: #6c665f;
  --paper: #f7f4ef;
  --white: #fff;
  --line: #d9d2c8;
  --accent: #8d5c43;
  --soft: #ece5da;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; line-height: 1.6; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }

.site-header { min-height: 78px; padding: 18px clamp(20px, 5vw, 72px); display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--paper); }
.brand { color: var(--ink); text-decoration: none; font-size: 1.25rem; font-weight: 700; letter-spacing: -.04em; }
.header-cta { text-decoration: none; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; border-bottom: 1px solid var(--ink); }

.hero { position: relative; overflow: hidden; background: #40362e; }
.hero-picture { display: block; width: 100%; }
.hero-picture img { width: 100%; height: auto; object-fit: cover; }
.eyebrow { margin: 0 0 14px; text-transform: uppercase; letter-spacing: .18em; font-size: .74rem; font-weight: 700; }
.hero-copy-section { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 9vw, 120px) 24px clamp(54px, 7vw, 90px); }
.hero-copy-section h1 { max-width: 900px; margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(3.7rem, 8vw, 8rem); font-weight: 400; line-height: .9; letter-spacing: -.06em; }
.hero-copy-section > p:not(.eyebrow) { max-width: 760px; margin: 30px 0; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 54px; padding: 14px 24px; border: 1px solid transparent; text-decoration: none; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: .2s ease; }
.button-light { color: var(--ink); background: var(--white); }
.button-light:hover { background: var(--soft); }
.button-dark { color: var(--white); background: var(--ink); }
.button-dark:hover { background: var(--accent); }

.form-heading h2, .legal-page h1, .status-card h1 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.6rem, 5.4vw, 5.4rem); font-weight: 400; line-height: 1; letter-spacing: -.05em; }

.form-section { max-width: var(--max); margin: 0 auto; padding: 0 24px clamp(100px, 12vw, 170px); }
.form-heading { padding-bottom: 50px; border-bottom: 1px solid var(--line); }
.form-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.form-title-row > p { flex: 0 0 auto; margin: 0 0 7px; color: var(--muted); white-space: nowrap; }
.required-mark, label b, .field-hint b { color: var(--accent); }
.notice { margin: 32px 0; padding: 22px; border: 1px solid #9f3c32; background: #fff3f1; }
.notice ul { margin-bottom: 0; }
.partner-form fieldset { min-width: 0; margin: 0; padding: clamp(46px, 7vw, 84px) 0; border: 0; border-bottom: 1px solid var(--line); }
.partner-form fieldset:first-of-type { margin-top: 46px; }
.partner-form legend { width: 100%; margin-bottom: 34px; padding: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.1; }
.partner-form legend span { display: inline-block; margin-right: 18px; color: var(--accent); font: 700 .75rem Arial, sans-serif; letter-spacing: .1em; vertical-align: middle; }
.fields { display: grid; gap: 26px; }
.fields.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fields .full { grid-column: 1 / -1; }
label { display: block; font-size: .94rem; font-weight: 700; }
input, textarea, select { width: 100%; min-width: 0; max-width: 100%; color: var(--ink); background: rgba(255,255,255,.7); border: 1px solid var(--line); border-radius: 0; padding: 15px 16px; outline: 0; }
label > input, label > textarea, label > select { margin-top: 9px; }
input { min-height: 54px; }
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(141,92,67,.12); }
.field-hint { margin: 0 0 18px; font-weight: 700; }
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice span { display: flex; min-height: 62px; height: 100%; align-items: center; padding: 15px 44px 15px 16px; border: 1px solid var(--line); background: rgba(255,255,255,.5); font-weight: 400; }
.choice span::after { content: ''; position: absolute; right: 17px; width: 18px; height: 18px; border: 1px solid #999187; }
.choice input:checked + span { color: var(--white); background: var(--ink); border-color: var(--ink); }
.choice input:checked + span::after { border-color: var(--white); background: linear-gradient(135deg, transparent 42%, white 42% 52%, transparent 52%) -2px 0/12px 12px, linear-gradient(45deg, transparent 43%, white 43% 55%, transparent 55%) 6px 3px/13px 13px; }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.top-gap { margin-top: 28px; }
.form-finish { padding-top: 48px; }
.privacy-check { display: grid; grid-template-columns: 24px 1fr; align-items: start; max-width: 850px; font-weight: 400; }
.privacy-check input { width: 20px; min-height: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--ink); }
.security-note { max-width: 780px; margin: 28px 0; padding: 18px 20px; background: var(--soft); }
.trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.site-footer { padding: 44px clamp(20px, 5vw, 72px); display: flex; justify-content: space-between; gap: 30px; color: var(--white); background: var(--ink); }
.site-footer div { display: grid; }
.site-footer div strong { font-size: 1.25rem; }
.site-footer div span { color: #bfb7ad; }
.site-footer nav { display: flex; align-items: center; gap: 24px; }
.site-footer a { color: var(--white); }

.legal-page { width: min(840px, calc(100% - 40px)); margin: 0 auto; padding: clamp(70px, 10vw, 130px) 0; }
.legal-page h1 { margin-bottom: 58px; }
.legal-page h2 { margin: 42px 0 10px; font: 400 1.45rem Georgia, serif; }
.legal-page p { color: #4f4a44; }
.status-page { min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; }
.status-card { width: min(780px, calc(100% - 40px)); margin: auto; padding: 80px 0; text-align: center; }
.status-card p:not(.eyebrow) { max-width: 620px; margin: 28px auto; color: var(--muted); font-size: 1.1rem; }

@media (max-width: 800px) {
  .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  .site-header { min-height: 68px; }
  .header-cta { font-size: .72rem; }
  .hero-picture img { width: 100%; height: auto; object-position: center top; }
  .hero-copy-section { padding: 54px 22px 56px; }
  .hero-copy-section h1 { font-size: clamp(3.2rem, 14vw, 4.15rem); }
  .form-section { padding: 0 18px 84px; }
  .form-heading { padding-bottom: 26px; }
  .form-heading .eyebrow { margin-bottom: 10px; }
  .form-title-row { align-items: flex-end; gap: 12px; }
  .form-title-row h2 { max-width: 245px; font-size: clamp(2.2rem, 10vw, 2.75rem); line-height: .96; }
  .form-title-row > p { margin-bottom: 3px; font-size: .76rem; }
  .partner-form fieldset { padding: 34px 0; }
  .partner-form fieldset:first-of-type { margin-top: 26px; }
  .partner-form legend { margin-bottom: 22px; font-size: 1.7rem; }
  .partner-form legend span { margin-right: 10px; }
  .fields { gap: 16px; }
  label { gap: 6px; font-size: .88rem; }
  input { min-height: 48px; }
  input, textarea, select { padding: 12px 13px; }
  .field-hint { margin-bottom: 13px; font-size: .84rem; }
  .choice-grid { gap: 8px; }
  .choice span { min-height: 50px; padding: 11px 40px 11px 13px; font-size: .88rem; }
  .choice span::after { right: 13px; }
  .form-finish { padding-top: 32px; }
  .privacy-check { grid-template-columns: 21px 1fr; gap: 10px; }
  .privacy-check input { width: 18px; height: 18px; min-height: 18px; }
  .security-note { margin: 22px 0; padding: 14px 15px; font-size: .88rem; }
  .form-finish .button { width: 100%; }
  .fields.two, .choice-grid { grid-template-columns: 1fr; }
  input[type="date"] { display: block; width: 100%; min-width: 0; }
  .site-footer { flex-direction: column; }
  .site-footer nav { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
