/* ================================================================
   STARTASTESTER.COM — styles.css
   Aesthetic: Warm editorial · Amber + charcoal + cream · Confident
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,600;0,9..144,800;1,9..144,500&family=DM+Sans:wght@300;400;500&display=swap');

/* ---- TOKENS -------------------------------------------------- */
:root {
  --ink:       #1a1209;
  --amber:     #d97706;
  --amber-lt:  #fbbf24;
  --cream:     #fdf8ef;
  --cream-dk:  #f5ead6;
  --sand:      #e9d9b8;
  --muted:     #7a6a52;
  --white:     #ffffff;
  --green:     #16a34a;
  --red:       #dc2626;

  --radius:    10px;
  --rad-lg:    18px;
  --shadow:    0 2px 18px rgba(26,18,9,.09);
  --shadow-md: 0 6px 32px rgba(26,18,9,.14);

  --ff-display: 'Fraunces', Georgia, serif;
  --ff-body:    'DM Sans', system-ui, sans-serif;

  --nav-h: 68px;
}

/* ---- RESET --------------------------------------------------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  background: var(--cream);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--amber); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* ---- UTILS --------------------------------------------------- */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.frame { max-width: 1120px; margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 3rem); }

/* ---- NAV ----------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink);
  height: var(--nav-h);
  display: flex; align-items: center;
}
.nav__frame {
  width: 100%; max-width: 1120px; margin-inline: auto;
  padding-inline: clamp(1.25rem,5vw,3rem);
  display: flex; align-items: center; gap: 2rem;
}
.logotype {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--ff-display); font-weight: 800; font-size: 1.15rem;
  color: var(--cream); letter-spacing: -.01em; text-decoration: none;
}
.logotype__badge {
  width: 30px; height: 30px; border-radius: 7px;
  background: var(--amber);
  display: grid; place-items: center;
  font-size: .8rem; color: var(--ink); font-weight: 800;
  flex-shrink: 0;
}
.logotype:hover { text-decoration: none; opacity: .88; }
.nav__links {
  display: flex; gap: 1.6rem; align-items: center; margin-left: auto;
}
.nav__links a {
  font-size: .875rem; font-weight: 500;
  color: rgba(253,248,239,.7); text-decoration: none; transition: color .15s;
}
.nav__links a:hover { color: var(--cream); }
.nav__cta {
  margin-left: 1.2rem;
  padding: .45rem 1.1rem;
  border-radius: 8px;
  background: var(--amber); color: var(--ink);
  font-size: .82rem; font-weight: 600;
  text-decoration: none; transition: background .15s, transform .1s;
}
.nav__cta:hover { background: var(--amber-lt); transform: translateY(-1px); text-decoration: none; }

/* ---- BUTTONS ------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  font-family: var(--ff-body); font-size: .9rem; font-weight: 600;
  padding: .7rem 1.5rem; border-radius: var(--radius);
  border: 2px solid transparent; cursor: pointer;
  text-decoration: none; transition: all .15s; line-height: 1.2;
  white-space: nowrap;
}
.btn--primary {
  background: var(--amber); color: var(--ink); border-color: var(--amber);
}
.btn--primary:hover { background: var(--amber-lt); border-color: var(--amber-lt); text-decoration: none; }
.btn--outline {
  background: transparent; color: var(--ink); border-color: var(--ink);
}
.btn--outline:hover { background: var(--ink); color: var(--cream); text-decoration: none; }
.btn--outline-cream {
  background: transparent; color: var(--cream); border-color: rgba(253,248,239,.45);
}
.btn--outline-cream:hover { background: rgba(253,248,239,.1); border-color: var(--cream); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--amber); border-color: transparent; padding-inline: .25rem; }
.btn--ghost:hover { text-decoration: underline; }
.btn[aria-busy="true"] { pointer-events: none; opacity: .7; }
.btn__spinner {
  display: none; width: 16px; height: 16px;
  border: 2px solid transparent; border-top-color: currentColor;
  border-radius: 50%; animation: spin .6s linear infinite;
}
.btn[aria-busy="true"] [data-label] { display: none; }
.btn[aria-busy="true"] .btn__spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- SECTION LABELS ----------------------------------------- */
.sec-label {
  display: inline-block;
  font-family: var(--ff-body); font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--amber);
  margin-bottom: .75rem;
}
.sec-title {
  font-family: var(--ff-display); font-size: clamp(2rem,4vw,3rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -.02em;
  color: var(--ink); margin-bottom: 1rem;
}
.sec-title em { font-style: italic; color: var(--amber); }
.sec-sub { color: var(--muted); max-width: 52ch; line-height: 1.7; margin-bottom: 2.5rem; }

/* ---- HERO ---------------------------------------------------- */
.hero {
  background: var(--ink);
  padding: clamp(4rem,8vw,7rem) 0 clamp(3rem,6vw,5rem);
  overflow: hidden; position: relative;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 50%, rgba(217,119,6,.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  max-width: 1120px; margin-inline: auto;
  padding-inline: clamp(1.25rem,5vw,3rem);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.hero__pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem .9rem; border-radius: 100px;
  border: 1px solid rgba(217,119,6,.4);
  font-size: .78rem; font-weight: 500; color: var(--amber-lt);
  margin-bottom: 1.5rem;
}
.hero__pill-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 6px var(--green);
  animation: pulse 2s ease infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.hero__h1 {
  font-family: var(--ff-display); font-size: clamp(2.6rem,5.5vw,4.2rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -.03em;
  color: var(--cream); margin-bottom: 1.25rem;
}
.hero__h1 em { font-style: italic; color: var(--amber); }
.hero__p { color: rgba(253,248,239,.7); font-size: 1.05rem; max-width: 46ch; margin-bottom: 2rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero__stats { display: flex; gap: 2rem; flex-wrap: wrap; }
.hero__stat-n {
  font-family: var(--ff-display); font-size: 1.6rem; font-weight: 800;
  color: var(--cream); letter-spacing: -.03em;
}
.hero__stat-l { font-size: .78rem; color: rgba(253,248,239,.5); }

/* CARD */
.hero__card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(253,248,239,.1);
  border-radius: var(--rad-lg); padding: 2rem;
  backdrop-filter: blur(8px);
}
.hero__card-tag {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .09em;
  color: var(--amber); font-weight: 600; margin-bottom: .5rem;
}
.hero__card-h {
  font-family: var(--ff-display); font-size: 1.25rem; font-weight: 600;
  color: var(--cream); margin-bottom: 1.5rem; line-height: 1.25;
}
.hero__steps { display: flex; flex-direction: column; gap: .85rem; }
.hero__step {
  display: flex; align-items: center; gap: .85rem;
  font-size: .9rem; color: rgba(253,248,239,.75);
}
.hero__step-n {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: rgba(217,119,6,.25); border: 1px solid rgba(217,119,6,.5);
  display: grid; place-items: center;
  font-size: .75rem; font-weight: 700; color: var(--amber-lt);
}

/* ---- TRUST STRIP --------------------------------------------- */
.trust {
  background: var(--amber); color: var(--ink); padding: .9rem 0;
  overflow: hidden;
}
.trust__inner {
  max-width: 1120px; margin-inline: auto;
  padding-inline: clamp(1.25rem,5vw,3rem);
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center;
}
.trust__item { display: flex; align-items: center; gap: .5rem; font-size: .82rem; font-weight: 600; }

/* ---- HOW IT WORKS -------------------------------------------- */
.how { padding: clamp(4rem,7vw,6rem) 0; }
.how-grid {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.how-card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--rad-lg); padding: 2rem 1.75rem;
  transition: box-shadow .2s, transform .2s;
}
.how-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.how-card__num {
  font-family: var(--ff-display); font-size: 3rem; font-weight: 800;
  color: var(--sand); line-height: 1; margin-bottom: .75rem;
  letter-spacing: -.04em;
}
.how-card__h { font-weight: 600; font-size: 1.05rem; margin-bottom: .6rem; }
.how-card__p { color: var(--muted); font-size: .9rem; }

/* ---- PERKS / BENEFITS --------------------------------------- */
.perks { padding: clamp(3.5rem,6vw,5.5rem) 0; background: var(--cream-dk); }
.perks-grid {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 1.25rem; margin-top: 3rem;
}
.perk-card {
  background: var(--white); border: 1px solid var(--sand);
  border-radius: var(--rad-lg); padding: 1.75rem;
  display: flex; flex-direction: column; gap: .5rem;
}
.perk-card__ico {
  font-size: 1.75rem; line-height: 1; margin-bottom: .25rem;
}
.perk-card__h { font-weight: 600; font-size: 1rem; }
.perk-card__p { font-size: .875rem; color: var(--muted); line-height: 1.65; }

/* ---- APPLY SECTION ------------------------------------------ */
.apply { padding: clamp(4rem,7vw,6rem) 0; }
.apply__layout {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem;
  align-items: start; margin-top: 2.5rem;
}
.apply__sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.apply__perk { display: flex; gap: 1rem; align-items: flex-start; }
.apply__perk-ico { font-size: 1.3rem; margin-top: .1rem; flex-shrink: 0; }
.apply__perk-h { font-weight: 600; font-size: .95rem; margin-bottom: .25rem; }
.apply__perk-p { font-size: .85rem; color: var(--muted); line-height: 1.6; }

/* FORM CARD */
.form-card {
  background: var(--white); border: 1px solid var(--sand);
  border-radius: var(--rad-lg); overflow: hidden;
  box-shadow: var(--shadow);
}
.form-card__head {
  background: var(--ink); padding: 1.5rem 2rem;
}
.form-card__head h3 {
  font-family: var(--ff-display); font-size: 1.4rem; font-weight: 700;
  color: var(--cream); margin-bottom: .25rem;
}
.form-card__head p { font-size: .82rem; color: rgba(253,248,239,.55); }
.form-card__body { padding: 1.75rem 2rem; }

/* STEPS TRACK */
.step-track {
  display: flex; gap: .5rem; margin-bottom: 1.75rem;
}
.step-pill {
  flex: 1; text-align: center; padding: .35rem .25rem;
  font-size: .72rem; font-weight: 600; border-radius: 6px;
  background: var(--cream-dk); color: var(--muted);
  border: 1px solid var(--sand); transition: all .2s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.step-pill.is-active { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.step-pill.is-done  { background: var(--green); color: var(--white); border-color: var(--green); }

/* FORM FIELDS */
.step { display: none; }
.step.is-current { display: block; }
fieldset { border: none; padding: 0; }

.f-group { margin-bottom: 1.1rem; }
.f-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.f-group label {
  display: block; font-size: .82rem; font-weight: 600;
  color: var(--ink); margin-bottom: .4rem;
}
.f-group input, .f-group select {
  width: 100%; padding: .65rem .9rem;
  border: 1.5px solid var(--sand); border-radius: var(--radius);
  font-family: var(--ff-body); font-size: .9rem; color: var(--ink);
  background: var(--cream); outline: none; transition: border-color .15s;
  appearance: none; -webkit-appearance: none;
}
.f-group input:focus, .f-group select:focus { border-color: var(--amber); }
.f-group.is-invalid input, .f-group.is-invalid select { border-color: var(--red); }
.f-hint { font-size: .78rem; color: var(--red); margin-top: .25rem; min-height: 1em; }
.f-select-wrap { position: relative; }
.f-select-wrap::after {
  content: '▾'; position: absolute; right: .85rem; top: 50%;
  transform: translateY(-50%); pointer-events: none;
  color: var(--muted); font-size: .85rem;
}

/* AFFIRM */
.f-affirm {
  display: flex; gap: .75rem; align-items: flex-start;
  padding: 1rem; border: 1.5px solid var(--sand); border-radius: var(--radius);
  margin-bottom: 1.25rem; cursor: pointer; transition: border-color .15s;
}
.f-affirm:hover { border-color: var(--amber); }
.f-affirm.is-invalid { border-color: var(--red); }
.f-affirm input[type="checkbox"] { flex-shrink: 0; width: 18px; height: 18px; margin-top: .1rem; accent-color: var(--amber); }
.f-affirm span { font-size: .82rem; color: var(--muted); line-height: 1.55; }

/* STEP NAV */
.step__nav { display: flex; justify-content: flex-end; margin-top: 1.25rem; }
.step__nav--split { justify-content: space-between; }

/* RECAP */
.recap { margin-bottom: 1.25rem; }
.recap-row {
  display: flex; gap: 1rem; padding: .55rem 0;
  border-bottom: 1px solid var(--sand); font-size: .88rem;
  justify-content: space-between;
}
.recap-row dt { color: var(--muted); }
.recap-row dd { font-weight: 600; }

/* LOCK LINE */
.form-lock {
  display: flex; align-items: center; gap: .4rem;
  font-size: .75rem; color: var(--muted); margin-top: .75rem;
}

/* RECEIPT */
.receipt {
  text-align: center; padding: 2rem 1.5rem;
}
.receipt__check {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--green); color: white;
  display: grid; place-items: center; margin: 0 auto 1.25rem;
}
.receipt__h { font-family: var(--ff-display); font-size: 1.5rem; font-weight: 700; margin-bottom: .6rem; }
.receipt__p { font-size: .9rem; color: var(--muted); max-width: 40ch; margin: 0 auto 1.25rem; line-height: 1.65; }
.receipt__ref {
  display: inline-flex; flex-direction: column; gap: .25rem;
  padding: .75rem 1.5rem; background: var(--cream-dk);
  border: 1px solid var(--sand); border-radius: var(--radius);
  font-size: .78rem; color: var(--muted);
}
.receipt__ref code { font-size: 1rem; color: var(--ink); font-weight: 600; letter-spacing: .04em; }

/* ---- VOICES -------------------------------------------------- */
.voices { padding: clamp(4rem,7vw,6rem) 0; background: var(--ink); }
.voices .sec-title { color: var(--cream); }
.voices .sec-label { color: var(--amber-lt); }
.voices-grid {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(270px,1fr));
  gap: 1.25rem; margin-top: 3rem;
}
.voice-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(253,248,239,.1);
  border-radius: var(--rad-lg); padding: 1.75rem;
}
.voice-card blockquote {
  font-family: var(--ff-display); font-style: italic;
  font-size: 1.05rem; line-height: 1.55; color: rgba(253,248,239,.85);
  margin-bottom: 1.25rem;
}
.voice-card blockquote::before { content: '\201C'; color: var(--amber); }
.voice-card blockquote::after  { content: '\201D'; color: var(--amber); }
.voice-who { font-weight: 600; color: var(--cream); font-size: .9rem; }
.voice-where { font-size: .78rem; color: rgba(253,248,239,.4); margin-top: .15rem; }

/* ---- FAQ ----------------------------------------------------- */
.faq { padding: clamp(4rem,7vw,6rem) 0; }
.faq__layout {
  display: grid; grid-template-columns: 1fr 1.7fr; gap: 4rem; align-items: start;
  margin-top: 2rem;
}
.faq__aside-h {
  font-family: var(--ff-display); font-size: clamp(1.6rem,3vw,2.2rem);
  font-weight: 800; line-height: 1.15; margin-bottom: .75rem; letter-spacing: -.02em;
}
.faq__aside-p { font-size: .9rem; color: var(--muted); margin-bottom: 1.5rem; }
.faq-item {
  border-bottom: 1px solid var(--sand);
}
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; padding: 1.1rem 0; cursor: pointer;
  font-weight: 600; font-size: .95rem; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { flex-shrink: 0; font-size: 1.2rem; color: var(--amber); transition: transform .2s; }
details[open] .faq-icon { transform: rotate(45deg); }
.faq-body { padding-bottom: 1.1rem; font-size: .9rem; color: var(--muted); line-height: 1.7; }
.faq-body p + p { margin-top: .75rem; }

/* ---- DISCLOSURES --------------------------------------------- */
.disclosures { padding: clamp(3rem,5vw,4.5rem) 0; background: var(--cream-dk); }
.disc-grid {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 1.25rem; margin-top: 2.5rem;
}
.disc-card {
  background: var(--white); border: 1px solid var(--sand);
  border-radius: var(--rad-lg); padding: 1.75rem;
}
.disc-card__ltr {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--amber); color: var(--ink);
  display: grid; place-items: center;
  font-family: var(--ff-display); font-weight: 800; font-size: 1rem;
  margin-bottom: 1rem;
}
.disc-card h3 { font-weight: 600; font-size: 1rem; margin-bottom: .4rem; }
.disc-card p  { font-size: .85rem; color: var(--muted); line-height: 1.65; }

/* ---- FOOTER -------------------------------------------------- */
.footer { background: var(--ink); padding: clamp(3rem,5vw,4.5rem) 0 1.5rem; }
.footer__inner {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid rgba(253,248,239,.1);
}
.footer__brand p { font-size: .83rem; color: rgba(253,248,239,.45); margin-top: .75rem; max-width: 32ch; line-height: 1.65; }
.footer__col-h { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(253,248,239,.4); font-weight: 600; margin-bottom: .9rem; }
.footer__links { display: flex; flex-direction: column; gap: .6rem; }
.footer__links a { font-size: .875rem; color: rgba(253,248,239,.65); text-decoration: none; transition: color .15s; }
.footer__links a:hover { color: var(--amber-lt); }
.footer__copy { font-size: .75rem; color: rgba(253,248,239,.3); margin-top: 1.5rem; }

/* ---- LEGAL PAGES -------------------------------------------- */
.legal-nav {
  background: var(--ink); height: var(--nav-h); display: flex; align-items: center;
}
.legal-wrap {
  max-width: 760px; margin-inline: auto;
  padding: clamp(3rem,6vw,5rem) clamp(1.25rem,5vw,3rem);
}
.legal-hd h1 {
  font-family: var(--ff-display); font-size: clamp(2rem,4vw,2.8rem);
  font-weight: 800; letter-spacing: -.03em; margin-bottom: .4rem;
}
.legal-date { font-size: .8rem; color: var(--muted); margin-bottom: 2.5rem; }
.legal-toc {
  background: var(--cream-dk); border: 1px solid var(--sand);
  border-radius: var(--radius); padding: 1.25rem 1.5rem;
  margin-bottom: 3rem;
}
.legal-toc h2 { font-size: .9rem; font-weight: 700; margin-bottom: .75rem; }
.legal-toc ol { padding-left: 1.25rem; display: flex; flex-direction: column; gap: .3rem; }
.legal-toc li { font-size: .85rem; }
.legal-sec { margin-bottom: 2.25rem; }
.legal-sec h2 { font-family: var(--ff-display); font-size: 1.3rem; font-weight: 700; margin-bottom: .75rem; border-bottom: 2px solid var(--sand); padding-bottom: .4rem; }
.legal-sec h3 { font-size: 1rem; font-weight: 600; margin: 1.1rem 0 .4rem; }
.legal-sec p  { font-size: .9rem; color: var(--muted); line-height: 1.75; margin-bottom: .75rem; }
.legal-sec ul { padding-left: 1.4rem; list-style: disc; display: flex; flex-direction: column; gap: .4rem; margin-bottom: .75rem; }
.legal-sec ul li { font-size: .9rem; color: var(--muted); line-height: 1.65; }
.legal-callout {
  background: var(--cream-dk); border-left: 4px solid var(--amber);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 1rem 1.25rem;
  margin: 1rem 0;
}
.legal-callout p { font-size: .85rem !important; color: var(--ink) !important; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .82rem; margin: 1rem 0 .75rem; }
.legal-table th { background: var(--cream-dk); font-weight: 600; text-align: left; padding: .5rem .75rem; border: 1px solid var(--sand); }
.legal-table td { padding: .5rem .75rem; border: 1px solid var(--sand); color: var(--muted); vertical-align: top; }

/* ---- RESPONSIVE --------------------------------------------- */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .apply__layout { grid-template-columns: 1fr; }
  .faq__layout { grid-template-columns: 1fr; gap: 2rem; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav__links { display: none; }
  .f-pair { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .hero__stats { gap: 1.25rem; }
}
