@font-face {
  font-family: 'Sen';
  src: url('../fonts/sen-var.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --iron: #1F2622;
  --go: #0E8A46;
  --go-deep: #0B6E38;
  --go-ink: #0A6132;
  --go-light: #A9D8BC;
  --go-pale: #DFF2E7;
  --field: #F7F8F6;
  --card: #FFFFFF;
  --slate: #545B57;
  --hairline: #DCE0DC;
  --ink: #20261F;
  --iron-bg: #1F2622;
}

@media (prefers-color-scheme: dark) {
  :root {
    --field: #141815;
    --card: #1F2622;
    --ink: #E5E8E5;
    --slate: #A5ABA7;
    --hairline: #3A453E;
    --go-pale: #2E4A3A;
    --go-ink: #A9D8BC;
    --iron-bg: #1A201C;
    --card-border: #3A453E;
  }
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

body {
  font-family: 'Sen', sans-serif;
  font-weight: 400;
  color: var(--ink);
  background-color: var(--field);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-weight: 800;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.5rem, 4.6vw, 3.9rem);
  line-height: 1.06;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--go);
  color: white;
  padding: 8px;
  z-index: 1000;
  font-weight: 700;
}
.skip-link:focus {
  top: 0;
}

/* RIBBON */
.ribbon {
  background-color: #FBEFE4;
  color: #5A4636;
  padding: 8px 16px;
  text-align: center;
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: static;
}
.ribbon[hidden] {
  display: none !important;
}
.ribbon .chips {
  display: flex;
  gap: 8px;
}
.ribbon a, .ribbon button {
  background: rgba(90, 70, 54, 0.1);
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  border: none;
  cursor: pointer;
  color: #5A4636;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.ribbon button.dismiss {
  background: transparent;
  text-decoration: underline;
}

/* MASTHEAD */
.masthead {
  background-color: var(--iron-bg);
  color: white;
  padding: 16px 24px;
}
.masthead-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand-dot {
  width: 34px;
  height: 34px;
  background-color: var(--go);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-dot::after {
  content: '';
  width: 17px;
  height: 17px;
  background-color: var(--go-pale);
  border-radius: 50%;
}
@media (prefers-color-scheme: dark) {
  .brand-dot::after {
    background-color: var(--go-ink);
  }
}
.brand-text-col {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-weight: 800;
  font-size: 21px;
  color: white;
  line-height: 1.1;
}
.brand-sub {
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--go-light);
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 2px;
}

.masthead-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.masthead-nav a {
  color: white;
  font-weight: 700;
  font-size: 16px;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.masthead-nav a:hover {
  color: var(--go-light);
}
.nav-call-btn {
  background-color: var(--go);
  color: white !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 700;
}
.nav-call-btn:hover {
  background-color: var(--go-deep);
  color: white !important;
}

@media (max-width: 767px) {
  .masthead-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .masthead-nav {
    display: none; /* replaced by mobile nav */
  }
  .mobile-nav-container {
    width: 100%;
  }
  details.mobile-nav summary {
    list-style: none;
    cursor: pointer;
    font-weight: 700;
    color: white;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
  }
  details.mobile-nav summary::-webkit-details-marker {
    display: none;
  }
  details.mobile-nav[open] summary {
    background: rgba(255,255,255,0.2);
  }
  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
  }
  .mobile-nav-links a {
    color: white;
    padding: 12px 16px;
    min-height: 44px;
    font-weight: 700;
  }
}
@media (min-width: 768px) {
  .mobile-nav-container {
    display: none;
  }
}

/* KICKER DEVICE: THE GO DOT */
.kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--go-ink);
  margin-bottom: 16px;
}
.kicker.light-variant {
  color: var(--go-light);
}
.go-dot {
  width: 16px;
  height: 16px;
  background-color: var(--go-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.go-dot::after {
  content: '';
  width: 8px;
  height: 8px;
  background-color: var(--go);
  border-radius: 50%;
}
.kicker.light-variant .go-dot {
  background-color: #2E4A3A;
}
.kicker.light-variant .go-dot::after {
  background-color: var(--go-light);
}

.mirror-glyph {
  width: 26px;
  height: 14px;
  border: 2px solid var(--go-ink);
  border-radius: 6px;
  position: relative;
  display: block;
}
.mirror-glyph::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--go-ink);
}

/* LAYOUT */
.section {
  padding: 80px 24px;
}
@media (max-width: 767px) {
  .section { padding: 48px 16px; }
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 991px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}
.grid-2.align-start {
  align-items: start;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  min-height: 44px;
  cursor: pointer;
  border: none;
  text-align: center;
}
.btn-primary {
  background-color: var(--go);
  color: white !important;
}
.btn-primary:hover {
  background-color: var(--go-deep);
}
.btn-outline {
  background-color: transparent;
  color: var(--ink) !important;
  border: 2px solid var(--ink);
}
.btn-outline:hover {
  background-color: var(--ink);
  color: var(--field) !important;
}
@media (prefers-color-scheme: dark) {
  .btn-outline {
    border-color: var(--ink);
  }
}

.cta-group {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* UTILS */
.plate {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.plate img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}
.plate::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--go);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

/* HERO */
.hero {
  background-color: var(--field);
}
.hero h1 {
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  color: var(--slate);
  margin-bottom: 32px;
  max-width: 500px;
}
.proof-line {
  margin-top: 32px;
  font-size: 14px;
}
.proof-line a {
  color: inherit;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.proof-line .stars {
  font-weight: 700;
  color: var(--go-ink);
}
.proof-line .desc {
  color: var(--slate);
}

/* TUITION BAND */
.tuition-band {
  background-color: var(--card);
}
.tuition-band h2 {
  margin-bottom: 48px;
}
.tracks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 991px) {
  .tracks-grid {
    grid-template-columns: 1fr;
  }
}
.track-card {
  background-color: var(--field);
  border-radius: 10px;
  border: 1px solid var(--hairline);
  padding: 32px;
}
.track-card > h3 {
  font-size: 18px;
  margin-bottom: 24px;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.course-item {
  background-color: var(--card);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 16px;
  border: 1px solid var(--hairline);
}
.course-item:last-child {
  margin-bottom: 0;
}
.course-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 16px;
}
.course-name {
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
}
.course-price {
  background-color: var(--go-pale);
  color: var(--go-ink);
  font-weight: 800;
  font-size: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.course-desc {
  font-size: 14px;
  color: var(--slate);
}
.tuition-foot {
  margin-top: 32px;
  font-size: 16px;
  color: var(--slate);
}
.tuition-foot a {
  color: var(--go-ink);
  font-weight: 700;
  margin-left: 8px;
}

/* REVIEWS BAND */
.reviews-band {
  background-color: var(--field);
}
.reviews-band h2 {
  margin-bottom: 48px;
  text-align: center;
}
.reviews-band .kicker {
  justify-content: center;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}
.rear-view-mirror {
  background-color: #FFFFFF;
  border-radius: 18px;
  border: 2.5px solid #1F2622;
  position: relative;
  padding: 32px 24px 24px 24px;
  margin-top: 16px; /* Space for stem */
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
@media (prefers-color-scheme: dark) {
  .rear-view-mirror {
    background-color: #1F2622;
    border-color: #3A453E;
  }
}
.mirror-stem {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 16px;
  background-color: #1F2622;
}
@media (prefers-color-scheme: dark) {
  .mirror-stem {
    background-color: #3A453E;
  }
}
.review-text {
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 24px;
  font-style: normal;
}
.review-pill {
  display: inline-block;
  background-color: var(--go-pale);
  color: var(--go-ink);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.reviews-foot {
  text-align: center;
  font-size: 16px;
  color: var(--slate);
}
.reviews-foot a {
  color: var(--go-ink);
  font-weight: 700;
}

/* STANDARDS BAND */
.standards-band {
  background-color: var(--iron-bg);
  color: white;
}
.standards-band h2 {
  color: white;
  margin-bottom: 24px;
}
.standards-band p {
  color: #C9D2CC;
  margin-bottom: 24px;
  font-size: 16px;
}
.pull-quote {
  border-left: 3px solid var(--go);
  padding-left: 16px;
  color: var(--go-light);
  font-weight: 700;
  font-size: 18px;
  margin-top: 32px;
}
@media (prefers-color-scheme: dark) {
  .standards-band p {
    color: #A5ABA7; /* adjusted for dark mode contrast */
  }
}

/* ROAD TEST BAND */
.road-test-band {
  background-color: var(--card);
}
.road-test-band h2 {
  margin-bottom: 24px;
}
.road-test-band p {
  color: var(--slate);
  margin-bottom: 16px;
  font-size: 16px;
}
.rt-options-col h3 {
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--go-ink);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.rt-card {
  background-color: var(--field);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 16px;
  border: 1px solid var(--hairline);
}
.rt-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.rt-card-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}
.rt-card-price {
  background-color: var(--go-pale);
  color: var(--go-ink);
  font-weight: 800;
  font-size: 14px;
  padding: 4px 12px;
  border-radius: 999px;
}
.rt-card-desc {
  font-size: 14px;
  color: var(--slate);
}

/* ASK BAND */
.ask-band {
  background-color: var(--field);
}
.ask-band h2 {
  margin-bottom: 16px;
}
.ask-sub {
  color: var(--slate);
  margin-bottom: 32px;
  font-size: 18px;
}
.contact-phone {
  display: inline-block;
  font-size: 32px;
  font-weight: 800;
  color: var(--go-ink);
  margin-bottom: 24px;
  min-height: 44px;
}
.contact-details {
  list-style: none;
  color: var(--slate);
  font-size: 16px;
}
.contact-details li {
  margin-bottom: 8px;
}
.contact-details a {
  min-height: 44px;
  display: inline-block;
}

.form-card {
  background-color: var(--card);
  padding: 40px;
  border-radius: 10px;
  border: 1px solid var(--hairline);
}
.form-card h3 {
  font-size: 24px;
  margin-bottom: 24px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--ink);
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px;
  background-color: var(--field);
  color: var(--ink);
}
.form-control:focus {
  outline: none;
  border-color: var(--go);
  box-shadow: 0 0 0 2px var(--go-pale);
}
.btn-submit {
  width: 100%;
  margin-top: 8px;
}
.form-note {
  font-size: 13px;
  color: var(--slate);
  margin-top: 16px;
  text-align: center;
}

/* FOOTER */
.footer {
  background-color: var(--iron-bg);
  color: white;
  padding: 64px 24px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
@media (max-width: 767px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}
.footer-left .f-brand {
  font-weight: 800;
  font-size: 21px;
  margin-bottom: 16px;
}
.footer-left p {
  color: #9AA69E;
  font-size: 14px;
  margin-bottom: 4px;
}
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
@media (min-width: 768px) {
  .footer-right {
    align-items: flex-end;
    text-align: right;
  }
}
.f-phone {
  font-weight: 800;
  font-size: 24px;
  color: var(--go-light);
  margin-bottom: 8px;
  min-height: 44px;
  display: inline-block;
}
.f-email {
  color: white;
  font-size: 16px;
  margin-bottom: 24px;
  min-height: 44px;
  display: inline-block;
}
.f-social {
  color: #9AA69E;
  font-size: 14px;
}
.f-social a {
  color: #9AA69E;
  text-decoration: underline;
  min-height: 44px;
  display: inline-block;
}
.f-social a:hover {
  color: white;
}

/* MOBILE CALL BAR */
.mobile-call-bar {
  display: none;
}
@media (max-width: 767px) {
  .mobile-call-bar {
    display: flex;
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--go);
    padding: 16px;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  .mobile-call-bar a {
    color: white;
    font-weight: 800;
    font-size: 18px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

/* COURSES PAGE */
.courses-hero {
  background-color: var(--field);
  padding-bottom: 40px;
}
.courses-hero h1 {
  margin-bottom: 16px;
}
.courses-section {
  background-color: var(--card);
}
.courses-section h2 {
  margin-bottom: 32px;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
}
.course-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.course-list-item {
  background-color: var(--field);
  border-radius: 10px;
  border: 1px solid var(--hairline);
  padding: 32px;
}
.cli-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  gap: 16px;
}
@media (max-width: 575px) {
  .cli-header {
    flex-direction: column;
  }
}
.cli-title {
  font-size: 20px;
  font-weight: 800;
}
.cli-price {
  background-color: var(--go-pale);
  color: var(--go-ink);
  font-weight: 800;
  font-size: 16px;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.cli-bullets {
  list-style-type: disc;
  padding-left: 20px;
  color: var(--slate);
  font-size: 16px;
}
.cli-bullets li {
  margin-bottom: 8px;
}
