/* The Lazy Agent's 5-Day AI Challenge waitlist page.
   Palette only: Raven #121212, Iron #2c2b29, Ash #989186, Creamy #f6f7ec.
   Fonts: Abigail (hero H1 only), Termina (header name, other headlines, labels and buttons), Gotham Light/Book/Medium (body). */
@font-face { font-family: "Abigail"; src: url("/assets/fonts/ai-reset/abigail-Regular-fixed.woff2") format("woff2"), url("/assets/fonts/ai-reset/abigail-Regular-fixed.woff") format("woff"), url("/assets/fonts/ai-reset/abigail-Regular-fixed.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Gotham"; src: url("/assets/fonts/ai-reset/Gotham-Light.otf") format("opentype"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Gotham"; src: url("/assets/fonts/ai-reset/Gotham-Book.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Gotham"; src: url("/assets/fonts/ai-reset/Gotham-Medium.otf") format("opentype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Termina"; src: url("/assets/fonts/Termina-Regular.woff2") format("woff2"), url("/assets/fonts/Termina-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Termina"; src: url("/assets/fonts/Termina-Medium.woff2") format("woff2"), url("/assets/fonts/Termina-Medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }

:root { --raven:#121212; --iron:#2c2b29; --ash:#989186; --creamy:#f6f7ec; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Gotham", "Montserrat", sans-serif; font-weight: 300; background: var(--raven); color: var(--creamy); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 48px; }
.label { font-family: "Termina", "Gotham", sans-serif; font-weight: 500; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; }
.btn { display: inline-block; font-family: "Termina", "Gotham", sans-serif; font-weight: 500; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; background: var(--creamy); color: var(--raven); border: 1px solid var(--creamy); padding: 20px 44px; cursor: pointer; }
.btn:hover { background: var(--raven); color: var(--creamy); }

/* Header */
.nav { display: flex; align-items: center; justify-content: space-between; padding-top: 40px; gap: 24px; }
.nav .name { font-family: "Termina", "Gotham", sans-serif; font-weight: 500; font-size: 17px; line-height: 1.2; color: var(--creamy); letter-spacing: .04em; }
.nav a.link { text-decoration: none; color: var(--creamy); border-bottom: 1px solid var(--ash); padding-bottom: 6px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--raven); }
.hero .inner { position: relative; padding: 150px 0 170px; }
.hero h1 { font-family: "Abigail", "Times New Roman", serif; font-weight: 400; font-size: 80px; line-height: 1.02; letter-spacing: .005em; max-width: 980px; }
.hero p.sub { font-size: 21px; line-height: 1.65; color: var(--creamy); max-width: 620px; margin-top: 44px; }
.hero .cta { margin-top: 52px; display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.hero .note { color: var(--ash); font-size: 14px; letter-spacing: .04em; max-width: 420px; }

/* Five days */
.days { background: var(--creamy); color: var(--raven); padding: 130px 0 120px; }
.days .head { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; margin-bottom: 70px; }
.days .head .label { color: var(--iron); padding-top: 10px; }
.days .head p { font-size: 26px; line-height: 1.45; max-width: 640px; }
.day { display: grid; grid-template-columns: 120px 1fr 1.5fr; gap: 32px; align-items: baseline; padding: 34px 0; border-top: 1px solid var(--ash); }
.day:last-child { border-bottom: 1px solid var(--ash); }
.day .n { font-family: "Termina", "Gotham", sans-serif; font-weight: 500; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--iron); }
.day h3 { font-weight: 400; font-size: 26px; letter-spacing: .01em; }
.day p { font-size: 18px; color: var(--iron); }

/* Why */
.why { background: var(--iron); color: var(--creamy); padding: 140px 0; }
.why .grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; }
.why .label { color: var(--ash); padding-top: 10px; }
.why .copy p { font-size: 24px; line-height: 1.6; margin-bottom: 28px; max-width: 680px; }
.why .copy p.ask { margin-top: 44px; }
.why .copy p.sig { margin: 56px 0 0; color: var(--ash); font-size: 12px; line-height: 1.9; }

/* Form */
.join { background: var(--creamy); color: var(--raven); padding: 140px 0 150px; }
.join .grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: start; }
.join h2 { font-family: "Termina", "Gotham", sans-serif; font-weight: 500; font-size: 44px; line-height: 1.15; letter-spacing: -.01em; }
.join .intro p { font-size: 19px; color: var(--iron); margin-top: 28px; max-width: 400px; }
.join .intro .label { color: var(--iron); margin-top: 40px; display: block; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 32px; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: "Termina", "Gotham", sans-serif; font-weight: 500; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--iron); margin-bottom: 4px; }
.field input { font-family: "Gotham", "Montserrat", sans-serif; font-weight: 300; font-size: 19px; color: var(--raven); background: transparent; border: 0; border-bottom: 1px solid var(--iron); border-radius: 0; padding: 12px 0; outline: none; }
.field input:focus { border-bottom-color: var(--raven); border-bottom-width: 2px; padding-bottom: 11px; }
.consent { grid-column: 1 / -1; display: flex; gap: 16px; align-items: flex-start; font-size: 14px; line-height: 1.6; color: var(--iron); }
.consent input { appearance: none; -webkit-appearance: none; flex: 0 0 22px; width: 22px; height: 22px; margin-top: 2px; border: 1px solid var(--iron); background: transparent; border-radius: 0; cursor: pointer; }
.consent input:checked { background: var(--iron); border-color: var(--raven); border-width: 6px; }
.submit { grid-column: 1 / -1; }
.submit .btn { background: var(--raven); color: var(--creamy); border-color: var(--raven); width: 100%; padding: 24px 44px; }
.submit .btn:hover { background: var(--creamy); color: var(--raven); }
.submit small { display: block; margin-top: 18px; font-size: 13px; color: var(--iron); letter-spacing: .04em; }

/* Footer */
footer { background: var(--raven); color: var(--ash); padding: 80px 0; }
footer .row { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
footer img { width: 64px; }
footer p { font-size: 13px; letter-spacing: .06em; }

/* Tablet / mobile */
@media (max-width: 900px) {
  .wrap { padding: 0 28px; }
  .nav { padding-top: 28px; }
  .nav .name { font-size: 14px; }
  .hero .inner { padding: 96px 0 110px; }
  .hero h1 { font-size: 44px; line-height: 1.05; }
  .hero p.sub { font-size: 18px; margin-top: 32px; }
  .hero .cta { margin-top: 40px; }
  .days { padding: 90px 0; }
  .days .head, .why .grid, .join .grid { grid-template-columns: 1fr; gap: 28px; }
  .days .head { margin-bottom: 44px; }
  .days .head p { font-size: 21px; }
  .day { grid-template-columns: 1fr; gap: 8px; padding: 28px 0; }
  .day h3 { font-size: 24px; }
  .why { padding: 90px 0; }
  .why .copy p { font-size: 19px; }
  .join { padding: 90px 0 100px; }
  .join .grid { gap: 48px; }
  .join h2 { font-size: 30px; }
  form { grid-template-columns: 1fr; gap: 28px; }
  footer { padding: 60px 0; }
}

/* ---- Thank-you state ---- */
.ty { position: relative; overflow: hidden; background: var(--raven); }
.ty .inner { position: relative; padding: 130px 0 150px; }
.ty h1 { font-family: "Termina", "Gotham", sans-serif; font-weight: 500; font-size: 58px; line-height: 1.15; letter-spacing: -.01em; max-width: 1000px; }
.ty p.lede { font-size: 22px; line-height: 1.65; max-width: 640px; margin-top: 44px; }
.ty p.ask-inline { font-size: 20px; line-height: 1.65; max-width: 640px; margin-top: 28px; color: var(--creamy); }
.next { background: var(--creamy); color: var(--raven); padding: 120px 0; }
.next .head { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; margin-bottom: 60px; }
.next .head .label { color: var(--iron); padding-top: 6px; }
.next .head p { font-size: 26px; line-height: 1.45; max-width: 640px; }
.step { display: grid; grid-template-columns: 120px 1fr 1.5fr; gap: 32px; align-items: baseline; padding: 34px 0; border-top: 1px solid var(--ash); }
.step:last-child { border-bottom: 1px solid var(--ash); }
.step .n { font-weight: 500; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--iron); }
.step h3 { font-weight: 400; font-size: 26px; }
.step p { font-size: 18px; color: var(--iron); }
.next .ask { margin-top: 70px; font-size: 22px; max-width: 640px; }
footer { background: var(--raven); color: var(--ash); padding: 80px 0; }
footer .row { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
footer img { width: 64px; }
footer p { font-size: 13px; letter-spacing: .06em; }
@media (max-width: 900px) {
  .wrap { padding: 0 28px; }
  .nav { padding-top: 28px; }
  .ty .inner { padding: 90px 0 100px; }
  .ty h1 { font-size: 28px; line-height: 1.2; }
  .ty p.lede { font-size: 18px; margin-top: 32px; }
  .next { padding: 90px 0; }
  .next .head { grid-template-columns: 1fr; gap: 28px; margin-bottom: 40px; }
  .next .head p { font-size: 21px; }
  .step { grid-template-columns: 1fr; gap: 8px; padding: 28px 0; }
  .step h3 { font-size: 24px; }
  .next .ask { font-size: 19px; margin-top: 48px; }
  footer { padding: 60px 0; }
}

/* ---- Wiring additions (not part of Brand Studio's files) ---- */
[hidden] { display: none !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ty h1:focus { outline: none; }
.btn[disabled] { opacity: .55; cursor: progress; }
.btn:focus-visible, .nav a.link:focus-visible, .consent input:focus-visible { outline: 2px solid var(--ash); outline-offset: 3px; }
.field input:focus-visible { outline: none; }
.lp-error { display: none; grid-column: 1 / -1; font-size: 14px; color: var(--iron); border-left: 2px solid var(--iron); padding-left: 12px; margin-top: 14px; }
.lp-error.show { display: block; }
.consent a { text-decoration: underline; text-underline-offset: 2px; }
input { font-family: inherit; color: inherit; }
.hp input { background: transparent; border: 0; }
.submit .fine { font-size: 13px; line-height: 1.6; color: var(--iron); letter-spacing: .04em; margin: 0 0 18px; }
.ty p.signoff { font-size: 22px; line-height: 1.65; margin-top: 28px; color: var(--creamy); }
@media (max-width: 900px) { .ty p.signoff { font-size: 18px; } }
/* Optional "Text me when it opens" checkbox under Mobile (unchecked by default, not required) */
.field.sms-opt { margin-top: -16px; }
.field label.sms-check { display: inline-flex; align-items: center; gap: 14px; cursor: pointer; font-family: "Gotham", "Montserrat", sans-serif; font-weight: 300; font-size: 15px; line-height: 1.4; letter-spacing: .02em; color: var(--iron); text-transform: none; margin: 0; }
.field .sms-check input, .field .sms-check input:focus { appearance: none; -webkit-appearance: none; flex: 0 0 18px; width: 18px; height: 18px; min-width: 18px; padding: 0; margin: 0; font-size: 0; box-sizing: border-box; outline: none; border: 1px solid var(--iron); border-radius: 0; background: transparent center / 12px 12px no-repeat; cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.field .sms-check input:hover { border-color: var(--raven); }
.field .sms-check input:checked { background-color: var(--raven); border-color: var(--raven); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 6.3l2.4 2.4 5.2-5.4' fill='none' stroke='%23f6f7ec' stroke-width='1.4' stroke-linecap='square'/%3E%3C/svg%3E"); }
.field .sms-check input:focus-visible { outline: 2px solid var(--ash); outline-offset: 3px; }
@media (max-width: 900px) { .field.sms-opt { margin-top: -12px; } }
/* Optional role question (radios, after Market / State) */
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
fieldset.role-opt { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 14px 40px; }
.field label.role-choice { display: inline-flex; align-items: center; gap: 14px; cursor: pointer; font-family: "Gotham", "Montserrat", sans-serif; font-weight: 300; font-size: 15px; line-height: 1.4; letter-spacing: .02em; color: var(--iron); text-transform: none; margin: 0; }
.field .role-choice input, .field .role-choice input:focus { appearance: none; -webkit-appearance: none; flex: 0 0 18px; width: 18px; height: 18px; min-width: 18px; padding: 0; margin: 0; font-size: 0; box-sizing: border-box; outline: none; border: 1px solid var(--iron); border-radius: 50%; background: transparent; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; }
.field .role-choice input:hover { border-color: var(--raven); }
.field .role-choice input:checked { border-color: var(--raven); background: var(--raven); box-shadow: inset 0 0 0 4px var(--creamy); }
.field .role-choice input:focus-visible { outline: 2px solid var(--ash); outline-offset: 3px; }
@media (max-width: 900px) { fieldset.role-opt { flex-direction: column; gap: 14px; } }
