/* Oklahoma RBT — prairie sky, red earth, career-starter warmth.
   Display: Bitter (slab). Body: Karla. */

:root {
  --sky: #CFE6EF;
  --sky-deep: #9CC6D8;
  --cream: #FBF5EA;
  --wheat: #E3B458;
  --clay: #B24A26;
  --clay-deep: #8E3418;
  --soil: #2A1B12;
  --line: #E7DCC8;
  --muted: #7A6A57;
  --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: "Karla", system-ui, sans-serif;
  background: var(--cream);
  color: var(--soil);
  line-height: 1.65;
  font-size: 16.5px;
}

h1, h2, h3, .wordmark, .pay-big, .path-k {
  font-family: "Bitter", Georgia, serif;
}

/* ---- header ---- */
.site-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px clamp(20px, 5vw, 56px);
  background: var(--sky);
}
.wordmark { font-weight: 900; font-size: 22px; color: var(--soil); text-decoration: none; }
.wm-accent { color: var(--clay); }

/* ---- buttons ---- */
.btn {
  display: inline-block; font-family: "Karla", sans-serif;
  font-weight: 700; font-size: 15.5px;
  padding: 13px 22px; border-radius: 99px;
  text-decoration: none; border: none; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:focus-visible { outline: 3px solid var(--clay); outline-offset: 2px; }
.btn-primary { background: var(--clay); color: #fff; width: 100%; }
.btn-primary:hover { background: var(--clay-deep); transform: translateY(-1px); }
.btn-clay { background: var(--soil); color: var(--wheat); }
.btn-clay:hover { background: #3D2A1D; transform: translateY(-1px); }
.btn-ghost { padding: 9px 18px; background: transparent; color: var(--soil); border: 2px solid var(--soil); }
.btn-ghost:hover { background: var(--soil); color: var(--sky); }

/* ---- hero: the big sky + sun signature ---- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--sky) 0%, var(--sky-deep) 62%, var(--wheat) 100%);
  padding: clamp(44px, 7vw, 88px) clamp(20px, 5vw, 56px) clamp(72px, 9vw, 120px);
}
.sun {
  position: absolute; left: 50%; bottom: -12vw; transform: translateX(-50%);
  width: clamp(340px, 46vw, 640px); height: clamp(340px, 46vw, 640px);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #F6D083 0%, var(--wheat) 55%, #D89B3F 100%);
  opacity: 0.85; pointer-events: none;
}
.horizon {
  position: absolute; left: 0; right: 0; bottom: 0; height: 18px;
  background: var(--clay);
}
.hero-inner {
  position: relative; max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.eyebrow {
  font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--clay-deep); margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px); font-weight: 900;
  line-height: 1.06; letter-spacing: -0.01em; margin-bottom: 22px;
}
.hero .hl { color: var(--clay-deep); }
.lede { font-size: 18px; color: #41321F; max-width: 54ch; margin-bottom: 26px; }
.proof { list-style: none; display: grid; gap: 10px; }
.proof li { padding-left: 26px; position: relative; color: #41321F; }
.proof li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--clay);
}
.proof strong { color: var(--soil); }

/* ---- apply card ---- */
.apply-card {
  background: #FFFDF8; border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: 0 24px 60px rgba(42, 27, 18, 0.22);
  position: sticky; top: 24px;
}
.card-head h2 { font-size: 22px; font-weight: 900; }
.card-head p { color: var(--muted); font-size: 14.5px; margin: 6px 0 18px; }
.progress { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.progress-bar {
  flex: 1; height: 8px; border-radius: 99px; background: var(--cream);
  border: 1px solid var(--line); overflow: hidden;
}
#progress-fill {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--wheat), var(--clay));
  transition: width 0.35s ease;
}
.progress-label { font-size: 12.5px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.field { display: block; margin-bottom: 14px; }
.field-label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 6px; }
.opt { color: var(--muted); font-weight: 400; }
.field input {
  width: 100%; padding: 13px 14px; font-size: 16px;
  font-family: inherit; color: var(--soil);
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--cream);
  transition: border-color 0.15s ease;
}
.field input:focus { outline: none; border-color: var(--clay); background: #fff; }
.field input.invalid { border-color: var(--clay-deep); }
.form-note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 12px; }
.form-note.note-error { color: var(--clay-deep); }
.success { text-align: center; padding: 26px 6px; }
.success-check {
  width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--wheat); color: var(--soil);
  font-size: 26px; font-weight: 900; line-height: 54px;
}
.success h2 { font-size: 22px; font-weight: 900; margin-bottom: 6px; }
.success p { color: var(--muted); font-size: 15px; }

/* ---- sections ---- */
.section { padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 56px); }
.section-title { font-size: clamp(26px, 3.2vw, 38px); font-weight: 900; margin-bottom: 12px; }
.section-sub { color: var(--muted); max-width: 62ch; margin-bottom: 34px; }

/* the path — a real sequence, so numbers mean something */
.path-section { max-width: 1120px; margin: 0 auto; }
.path {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  counter-reset: path;
}
.path li {
  background: #FFFDF8; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; position: relative;
}
.path-k {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--clay); color: #fff;
  font-weight: 900; font-size: 17px; margin-bottom: 14px;
}
.path h3 { font-size: 17.5px; font-weight: 800; margin-bottom: 8px; }
.path p { color: var(--muted); font-size: 14.5px; }

/* towns */
.towns-section { background: var(--soil); color: var(--cream); }
.towns-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.towns-section .section-title { color: #fff; }
.towns-copy p { color: #CBB9A5; margin-bottom: 24px; }
.towns-section .btn-primary { width: auto; background: var(--wheat); color: var(--soil); }
.towns-section .btn-primary:hover { background: #EFC578; }
.town-list {
  list-style: none;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px;
}
.town-list li {
  border: 1px solid #4A382A; border-radius: 99px;
  padding: 9px 16px; text-align: center;
  color: #E8DCC9; font-size: 14.5px;
}

/* pay */
.pay-section { max-width: 1120px; margin: 0 auto; }
.pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.pay-card {
  background: #FFFDF8; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; border-top: 6px solid var(--wheat);
}
.pay-big { display: block; font-size: 34px; font-weight: 900; color: var(--clay-deep); margin-bottom: 10px; }
.pay-unit { font-size: 18px; color: var(--muted); }
.pay-card p { color: var(--muted); font-size: 14.5px; }
.disclaimer { font-size: 12px; color: var(--muted); margin-top: 22px; max-width: 62ch; }

/* faq */
.faq-section { max-width: 820px; margin: 0 auto; }
.faq-list { display: grid; gap: 10px; margin-top: 26px; }
.faq-item { background: #FFFDF8; border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq-item summary {
  cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-weight: 800; color: var(--clay); font-size: 20px; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 0 16px; color: #41321F; font-size: 15.5px; }

/* cta band */
.cta-band {
  background: linear-gradient(180deg, var(--wheat), #D89B3F);
  text-align: center; padding: clamp(48px, 6vw, 76px) 20px;
}
.cta-band h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 900; color: var(--soil); }
.cta-band p { color: #6B4E1C; margin: 10px 0 26px; }

/* footer */
.site-footer { text-align: center; padding: 40px 20px 48px; background: var(--cream); }
.footer-brand { font-family: "Bitter", serif; font-weight: 900; font-size: 18px; margin-bottom: 10px; }
.footer-legal { font-size: 13px; color: var(--muted); }
.footer-copy { font-size: 13px; color: var(--muted); margin-top: 4px; }
.footer-copy a { color: var(--clay-deep); }

/* ---- header nav + footer links ---- */
.header-nav { display: flex; align-items: center; gap: 20px; }
.header-link { color: var(--soil); text-decoration: none; font-weight: 700; font-size: 15px; }
.header-link:hover { color: var(--clay-deep); }
.towns-more { max-width: 1120px; margin: 22px auto 0; }
.towns-more a { color: var(--wheat); font-weight: 700; text-decoration: none; }
.towns-more a:hover { text-decoration: underline; }
.footer-links { display: flex; justify-content: center; gap: 22px; margin-bottom: 14px; }
.footer-links a { color: var(--soil); font-size: 14px; text-decoration: none; font-weight: 700; }
.footer-links a:hover { color: var(--clay-deep); }

/* ---- locations page ---- */
.loc-hero { padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 56px) clamp(24px, 4vw, 48px); max-width: 1120px; margin: 0 auto; }
.crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--clay-deep); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.loc-hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 900; margin-bottom: 14px; }
.loc-hero .lede { margin-bottom: 0; }
.loc-hero .lede a { color: var(--clay-deep); }
.regions { max-width: 1120px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px) clamp(48px, 6vw, 80px); display: grid; gap: 16px; }
.region {
  background: #FFFDF8; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 24px 20px; border-left: 6px solid var(--wheat);
}
.region h2 { font-size: 21px; font-weight: 900; margin-bottom: 8px; }
.region > p { color: #41321F; font-size: 15.5px; max-width: 78ch; margin-bottom: 14px; }
.region-towns { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.region-towns li {
  font-size: 13.5px; font-weight: 700; color: var(--soil);
  background: var(--cream); border: 1px solid var(--line);
  border-radius: 99px; padding: 5px 13px;
}
.loc-cta { text-align: center; padding-bottom: clamp(48px, 6vw, 80px); }
.loc-cta .btn { width: auto; }

/* ---- responsive ---- */
@media (max-width: 920px) {
  .hero-inner, .towns-inner { grid-template-columns: 1fr; }
  .apply-card { position: static; }
  .path { grid-template-columns: 1fr 1fr; }
  .pay-grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .path { grid-template-columns: 1fr; }
}
