:root {
  color-scheme: dark;
  --ink: #171717;
  --paper: #f2ead9;
  --muted: #c9c3ba;
  --gold: #e8d4a6;
  --gold-deep: #d8c18c;
  --line: #57534d;
  --panel: #292826;
  --danger: #ffb4a7;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  background: var(--ink);
  color: var(--paper);
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body.landing-page { min-width: 320px; min-height: 100vh; margin: 0; background: var(--ink); color: var(--paper); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
[hidden] { display: none !important; }

.skip-link { position: fixed; z-index: 20; top: 10px; left: 10px; transform: translateY(-160%); padding: 12px 16px; background: var(--paper); color: var(--ink); }
.skip-link:focus { transform: translateY(0); }
.landing-shell { display: flex; flex-direction: column; width: min(100% - 48px, 1264px); min-height: 100svh; margin: 0 auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 124px; }
.wordmark { display: inline-flex; align-items: center; min-height: 56px; font: 700 56px/.9 Georgia, "Times New Roman", serif; letter-spacing: -.08em; text-decoration: none; }
.login-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 12px; color: var(--muted); font-size: 14px; text-decoration: none; transition: color 180ms ease; }
.login-link:hover { color: var(--paper); }
.main-grid { display: grid; flex: 1; grid-template-columns: minmax(0, 1fr) minmax(380px, 480px); align-items: start; gap: clamp(56px, 9vw, 128px); padding: 0 2px 110px; }
.brand-story { align-self: start; padding-top: 78px; }
.brand-story h1 { max-width: 700px; margin: 0; color: var(--paper); font: 700 clamp(64px, 6.4vw, 92px)/.99 Georgia, "Times New Roman", serif; letter-spacing: -.055em; }
.brand-story p { max-width: 510px; margin: 42px 0 0; color: var(--muted); font-size: 18px; line-height: 1.55; }
.signup-panel { width: 100%; padding-top: 0; }
.signup-panel h2 { margin: 0; color: var(--paper); font: 700 34px/1.18 Georgia, "Times New Roman", serif; letter-spacing: -.025em; }
.required-note { margin: 14px 0 30px; color: var(--muted); font-size: 13px; }
.field { display: grid; gap: 9px; margin: 0 0 24px; color: var(--paper); font-size: 14px; font-weight: 600; }
.field input { width: 100%; min-height: 52px; padding: 0 15px; border: 1px solid #827d73; border-radius: 17px; background: linear-gradient(150deg, #2b2a28, #222220); box-shadow: inset 0 1px rgba(255,255,255,.08), 0 8px 18px rgba(0,0,0,.13); color: var(--paper); font: inherit; font-size: 16px; font-weight: 400; transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease; }
.field input::placeholder { color: #c7c0b5; opacity: 1; }
.field input:hover { border-color: #bbb2a1; }
.field input:focus-visible { border-color: var(--gold); outline: 2px solid var(--gold); outline-offset: 3px; }
.field.is-invalid input { border-color: var(--danger); }
.field-error { min-height: 0; color: var(--danger); font-size: 13px; font-weight: 400; }
.field-error:not(:empty) { margin-top: -2px; }
.consent-row { display: grid; grid-template-columns: 24px 1fr; align-items: start; gap: 12px; margin: 5px 0 0; color: var(--paper); font-size: 14px; line-height: 1.5; cursor: pointer; }
.consent-row input { width: 22px; height: 22px; margin: 0; accent-color: var(--gold); }
.consent-row input:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.consent-error { display: block; margin-left: 36px; }
.privacy-note { margin: 8px 0 24px 36px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.privacy-note a { display: inline-flex; align-items: center; min-height: 44px; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.contact-choice { min-width: 0; margin: 0 0 23px; padding: 0; border: 0; }
.contact-choice legend { margin-bottom: 14px; padding: 0; color: var(--paper); font-size: 15px; }
.choice-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice-pill { position: relative; display: flex; align-items: center; min-height: 52px; padding: 0 13px; border: 1px solid #827d73; border-radius: 28px; background: linear-gradient(145deg, #2b2a28, #222220); color: var(--paper); cursor: pointer; transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease; }
.choice-pill:hover { border-color: #beb5a4; }
.choice-pill input { width: 20px; height: 20px; margin: 0 11px 0 0; accent-color: var(--gold); }
.choice-pill input:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.choice-pill.is-selected { border: 2px solid var(--gold); background: linear-gradient(145deg, #484339, #302e29); box-shadow: inset 0 1px rgba(255,255,255,.12), 0 4px 12px rgba(0,0,0,.15); }
.choice-pill span { font-size: 14px; }
.phone-field { margin-top: -1px; }
.submit-button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; margin-top: 22px; padding: 10px 20px; border: 1px solid #f8e9c8; border-radius: 30px; background: linear-gradient(180deg, #f3e5c4, #ddc895); box-shadow: inset 0 1px rgba(255,255,255,.85), 0 6px 15px rgba(0,0,0,.19); color: #1d1b17; font: 700 15px/1.25 Inter, "Helvetica Neue", Arial, sans-serif; cursor: pointer; transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease; }
.submit-button:hover:not(:disabled) { background: linear-gradient(180deg, #fff0ce, #ead7a9); box-shadow: inset 0 1px white, 0 8px 18px rgba(0,0,0,.25); }
.submit-button:active:not(:disabled) { transform: translateY(1px); background: var(--gold-deep); box-shadow: inset 0 2px 4px rgba(0,0,0,.15); }
.submit-button:disabled { border-color: #8a8374; background: #b8ae9b; box-shadow: none; color: #38352e; cursor: not-allowed; }
.availability-note { margin: 12px 4px 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.form-alert { margin: 0 0 20px; padding: 12px 14px; border: 1px solid var(--danger); border-radius: 12px; color: var(--danger); font-size: 14px; }
.success-panel { padding: 36px 0; }
.success-mark { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-size: 23px; }
.success-panel h2 { margin: 24px 0 12px; }
.success-panel p { color: var(--muted); }
.site-footer { display: flex; align-items: center; justify-content: space-between; min-height: 92px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.site-footer a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.site-footer a:hover { color: var(--paper); }

@media (max-width: 900px) {
  .landing-shell { width: min(100% - 64px, 672px); }
  .site-header { min-height: 112px; }
  .main-grid { display: flex; flex-direction: column; gap: 44px; padding: 8px 0 72px; }
  .brand-story { width: 100%; padding-top: 0; }
  .brand-story h1 { max-width: 640px; font-size: clamp(56px, 9vw, 76px); }
  .brand-story p { max-width: 600px; margin-top: 28px; font-size: 17px; }
  .signup-panel { max-width: 520px; align-self: center; }
  .site-footer { min-height: 68px; }
}

@media (max-width: 520px) {
  .landing-shell { width: calc(100% - 40px); }
  .site-header { min-height: 98px; }
  .wordmark { font-size: 48px; }
  .login-link { font-size: 12px; }
  .main-grid { gap: 32px; padding: 8px 0 64px; }
  .brand-story h1 { font-size: clamp(40px, 12.5vw, 52px); line-height: 1.06; letter-spacing: -.05em; }
  .brand-story p { margin-top: 20px; font-size: 16px; line-height: 1.55; }
  .signup-panel h2 { font-size: 30px; }
  .required-note { margin: 11px 0 22px; }
  .field { margin-bottom: 20px; }
  .field input { min-height: 52px; border-radius: 16px; }
  .choice-list { gap: 10px; }
  .choice-pill { min-height: 50px; padding: 0 10px; }
  .choice-pill input { width: 19px; height: 19px; margin-right: 8px; }
  .choice-pill span { font-size: 13px; }
  .submit-button { min-height: 54px; margin-top: 20px; }
  .site-footer { min-height: 64px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
