:root {
  --bg: #f5f7f9;
  --panel: #ffffff;
  --text: #0f1f2b;
  --muted: #4d5d6a;
  --line: #d5dde3;
  --accent: #116fa8;
  --accent-2: #0c547f;
  --max: 1040px;
}

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

body {
  margin: 0;
  background: radial-gradient(circle at top right, #eaf2f7 0%, var(--bg) 45%);
  color: var(--text);
  font-family: "Segoe UI", "Trebuchet MS", sans-serif;
  line-height: 1.55;
}

.container {
  width: min(92%, var(--max));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(245, 247, 249, 0.92);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
}

.brand-name {
  font-size: 0.92rem;
  line-height: 1.2;
}

.brand-logo {
  width: 176px;
  height: 45px;
  display: block;
  object-fit: contain;
  border-radius: 7px;
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
  align-items: center;
}

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

.menu-btn {
  display: none;
  border: 1px solid #d7dde4;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  padding: 0.4rem 0.72rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.proof-strip {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.proof-pill {
  border: 1px solid #d7dde4;
  border-radius: 999px;
  padding: 0.32rem 0.62rem;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.nav-book {
  border: none;
  border-radius: 0;
  padding: 0;
  white-space: nowrap;
}

.nav a[aria-current="page"] {
  font-weight: 700;
}

main {
  padding-bottom: 2rem;
}

.hero {
  padding: 6.2rem 0 3.3rem;
}

.hero-page {
  min-height: 62vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 10, 14, 0.42) 0%, rgba(7, 10, 14, 0.7) 72%, rgba(7, 10, 14, 0.9) 100%);
}

.hero-page .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(2.1rem, 6.4vw, 4.8rem);
  line-height: 1.05;
  max-width: 12ch;
}

.hero p {
  margin: 0 0 1.2rem;
  max-width: 58ch;
  color: var(--muted);
}

.actions,
.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.62rem 1rem;
  font-weight: 700;
  border: 1px solid var(--line);
  color: var(--text);
  background: transparent;
}

.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn.primary:hover,
.btn.primary:focus-visible {
  background: var(--accent-2);
  border-color: var(--accent-2);
}

.section {
  padding: 2.3rem 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

p {
  margin: 0 0 1rem;
}

.grid {
  display: grid;
  gap: 0.9rem;
}

.grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
}

.card-focus {
  border-color: #4b8fd6;
  box-shadow: inset 0 0 0 1px rgba(75, 143, 214, 0.2);
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.card p,
.muted {
  color: var(--muted);
}

.local-packs-section {
  background: linear-gradient(180deg, rgba(8, 12, 18, 0.16) 0%, rgba(8, 12, 18, 0.03) 100%);
}

.local-pack-grid {
  margin-top: 1rem;
  gap: 1.1rem;
}

.local-pack-card {
  border-color: #2b313a;
  background-color: #11151b;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 1.25rem;
  min-height: 360px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  gap: 0.25rem;
}

.local-pack-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 10, 14, 0.18) 20%, rgba(7, 10, 14, 0.8) 72%, rgba(7, 10, 14, 0.92) 100%);
}

.local-pack-card > * {
  position: relative;
  z-index: 1;
}

.local-pack-stafford {
  background-image: url("assets/img/local-packs/stafford.png");
  background-position: center center;
}

.local-pack-newcastle {
  background-image: url("assets/img/local-packs/newcastle.png");
  background-position: center 32%;
}

.local-pack-card h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  color: #f7fbff;
  margin-bottom: 0.6rem;
  display: inline-block;
  padding: 0.22rem 0.58rem;
  border-radius: 8px;
  background: rgba(7, 11, 16, 0.68);
}

.local-pack-card p {
  color: #e2eaf1;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 8px;
  background: rgba(7, 11, 16, 0.66);
}

.local-pack-kicker {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #f3f7fb;
}

.local-pack-card ul {
  margin: 0 0 0.75rem 0;
  padding: 0.5rem 0.75rem 0.5rem 1.3rem;
  border-radius: 8px;
  background: rgba(7, 11, 16, 0.66);
  color: #e2eaf1;
}

.local-pack-card li {
  margin: 0 0 0.28rem;
}

.local-pack-card li:last-child {
  margin-bottom: 0;
}

.local-pack-card .btn {
  margin-top: 0.35rem;
  color: #f7fbff;
  border-color: #d7dde4;
  background: rgba(7, 11, 16, 0.42);
}

.local-pack-card .btn:hover,
.local-pack-card .btn:focus-visible {
  background: rgba(7, 11, 16, 0.62);
  border-color: #eef2f6;
}

.local-pack-micro {
  font-size: 0.88rem;
  margin-bottom: 0;
}

.local-landing-hero {
  min-height: 58vh;
}

.local-landing-stafford {
  background-image: url("assets/img/local-packs/stafford.png");
  background-position: center center;
  background-size: cover;
}

.local-landing-newcastle {
  background-image: url("assets/img/local-packs/newcastle.png");
  background-position: center 34%;
  background-size: cover;
}

.video-placeholder {
  border-style: dashed;
  border-color: #4a5665;
  background: rgba(11, 16, 23, 0.62);
}

.video-placeholder .btn {
  margin-top: 0.4rem;
}

.national-preview {
  margin-top: 1rem;
  padding: 0.8rem;
}

.national-preview-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 0.65rem;
}

.national-preview-img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #2f3a46;
  object-fit: cover;
  aspect-ratio: 4 / 6;
}

.local-centre-grid {
  grid-template-columns: 1fr 0.9fr 1fr;
  align-items: stretch;
}

.local-pack-media {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.local-card-bg {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-color: #2f3a46;
}

.local-card-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 18, 0.28) 0%, rgba(8, 12, 18, 0.78) 78%, rgba(8, 12, 18, 0.9) 100%);
}

.local-card-bg > * {
  position: relative;
  z-index: 1;
}

.local-card-stafford {
  background-image: url("assets/img/local-packs/stafford.png");
}

.local-card-newcastle {
  background-image: url("assets/img/local-packs/newcastle.png");
}

.free-route-highlight {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
}

.free-route-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #3d4a59;
}

.free-route-highlight h4 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.free-route-points {
  margin: 0;
  padding-left: 1.1rem;
}

.free-route-points li {
  margin-bottom: 0.35rem;
}

.free-hazard-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.free-hazard-links .btn {
  padding: 0.45rem 0.72rem;
  font-size: 0.86rem;
}

.route-library-grid {
  display: grid;
  gap: 1rem;
}

.route-library-card {
  display: grid;
  gap: 0.7rem;
}

.route-meta {
  margin: -0.2rem 0 0.1rem;
  font-size: 0.92rem;
  color: #9db0c2;
}

.route-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #2d3641;
}

.route-detail {
  border: 1px solid #2d3641;
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  background: rgba(14, 20, 28, 0.45);
}

.route-detail summary {
  cursor: pointer;
  font-weight: 700;
}

.guide-text {
  white-space: normal;
  line-height: 1.65;
  margin-top: 0.6rem;
}

.hazard-route {
  margin-bottom: 0.9rem;
}

.hazard-route summary {
  cursor: pointer;
  font-weight: 700;
}

.hazard-list {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
}

.hazard-list li {
  margin-bottom: 0.8rem;
}

@media (max-width: 720px) {
  .national-preview-grid {
    grid-template-columns: 1fr;
  }

  .local-centre-grid {
    grid-template-columns: 1fr;
  }

  .free-route-highlight {
    grid-template-columns: 1fr;
  }
}

.kpi {
  font-size: 0.93rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #355262;
}

.update-stamp {
  display: inline-block;
  margin: 0 0 0.7rem;
  padding: 0.2rem 0.55rem;
  border: 1px solid #445262;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e3ecf4;
  background: rgba(10, 14, 20, 0.5);
}

.ps-note {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  color: #d4dbe2;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.2rem;
}

.footer p {
  margin: 0.25rem 0;
  color: var(--muted);
}

.menu-toggle {
  display: none;
}

.home {
  --bg: #0e1013;
  --panel: #14171c;
  --text: #f2f4f6;
  --muted: #c5cbd1;
  --line: #2a3038;
  --accent: #ffffff;
  --accent-2: #dce1e6;
  background: #0e1013;
  color: var(--text);
}

.home .topbar {
  background: rgba(10, 12, 16, 0.72);
  border-bottom-color: #1c222b;
}

.home .brand,
.home .nav a {
  color: #f4f6f8;
}

.home .proof-pill {
  border-color: #3a4654;
  color: #f3f7fb;
  background: rgba(10, 16, 24, 0.62);
}

.hero-tesla {
  min-height: 86vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(8, 11, 15, 0.4) 0%, rgba(8, 11, 15, 0.66) 72%, rgba(8, 11, 15, 0.9) 100%),
    url("assets/photos/hero-josh-driving.jpg"),
    url("assets/hero-driving-lesson.svg");
  background-position: center, center 34%, center 34%;
  background-size: auto, cover, cover;
  background-repeat: no-repeat, no-repeat, no-repeat;
}

.hero-tesla::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/photos/hero-josh-driving.jpg");
  background-position: center 30%;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(12px);
  transform: scale(1.06);
  opacity: 0;
}

.hero-stage {
  padding-top: 4rem;
  padding-bottom: 2rem;
  padding-left: clamp(0.3rem, 2.8vw, 2.4rem);
  position: relative;
  z-index: 1;
}

.home .kpi {
  color: #d8dee4;
}

.home .hero h1 {
  max-width: 13ch;
  letter-spacing: -0.02em;
}

.home .hero p {
  color: #d7dce2;
}

.home .btn {
  border-color: #d7dde4;
  color: #f8fbff;
}

.home .btn.primary {
  background: #f7f9fb;
  border-color: #f7f9fb;
  color: #11151b;
}

.home .btn.primary:hover,
.home .btn.primary:focus-visible {
  background: #e7ebef;
  border-color: #e7ebef;
}

.path-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.path-card {
  min-height: 330px;
  border-radius: 14px;
  border: 1px solid #252c35;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.45rem;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.path-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 18, 0.05) 20%, rgba(8, 12, 18, 0.66) 85%);
}

.path-card > * {
  position: relative;
  z-index: 1;
}

.path-card h2 {
  margin: 0;
  display: inline-block;
  padding: 0.16rem 0.46rem;
  border-radius: 7px;
  background: rgba(7, 11, 16, 0.58);
}

.path-card p {
  margin: 0 0 0.65rem;
  color: #dce2e8;
  display: inline-block;
  padding: 0.18rem 0.5rem;
  border-radius: 7px;
  background: rgba(7, 11, 16, 0.58);
  max-width: 28ch;
}

.media-youtube {
  background-image: url("assets/photos/card-youtube.jpg"), url("assets/card-youtube.svg");
}

.media-course {
  background-image: url("assets/photos/card-course.png"), url("assets/photos/card-course.jpg"), url("assets/card-course.svg");
  background-position: center 30%;
}

.media-routes {
  background-image: url("assets/photos/card-routes.png");
  background-position: center center;
  background-size: 135% auto;
  background-repeat: no-repeat;
}

.hero-lessons {
  background: url("assets/photos/hero-josh-driving.jpg") center 34%/cover no-repeat;
}

.hero-routes {
  background: url("assets/photos/card-routes.jpg") center 36%/cover no-repeat;
}

.hero-course {
  background: url("assets/photos/card-course.png") center 28%/cover no-repeat;
}

.paywall-note {
  margin-top: 0.8rem;
  font-size: 0.95rem;
  color: #d4dbe2;
}

.paywall-form {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.paywall-label {
  width: 100%;
  font-weight: 700;
}

.paywall-input {
  min-width: 240px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0f141a;
  color: #f2f4f6;
  padding: 0.62rem 0.72rem;
  font: inherit;
}

.paywall-status {
  margin: 0.7rem 0 0;
  font-weight: 700;
}

.course-panel {
  background: #111722;
  border: 1px solid #2b3541;
  border-radius: 14px;
  padding: 1rem;
}

.course-panel h2,
.course-panel h3 {
  margin-top: 0;
}

.course-path-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.course-path-item {
  border: 1px solid #2b3541;
  border-radius: 12px;
  padding: 0.8rem;
  background: #0f141a;
  cursor: pointer;
  transition: border-color 140ms ease, opacity 140ms ease, box-shadow 140ms ease;
}

.course-path-item:focus-visible {
  outline: 2px solid #dce6f2;
  outline-offset: 2px;
}

.course-path-item.is-selected {
  border-color: #dce6f2;
  box-shadow: inset 0 0 0 1px rgba(220, 230, 242, 0.28);
}

.course-path-item.is-dimmed {
  opacity: 0.52;
}

.course-checklist {
  margin: 0.55rem 0 0;
  padding-left: 1.1rem;
}

.module-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.module-card {
  border: 1px solid #2b3541;
  border-radius: 14px;
  padding: 1rem;
  background: #111722;
}

.module-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #93a4b3;
}

.module-list {
  margin: 0.45rem 0 0.7rem;
  padding-left: 1.05rem;
}

.module-list li {
  margin: 0.2rem 0;
}

.module-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.btn.is-disabled {
  opacity: 0.65;
  cursor: default;
  pointer-events: none;
}

.dashboard-grid {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.module-tile {
  border: 1px solid #344354;
  border-radius: 14px;
  padding: 1.08rem 1.08rem 1.25rem;
  background: #111722;
  display: flex;
  flex-direction: column;
  gap: 0.62rem;
  scroll-margin-top: 92px;
}

.module-shell {
  max-width: 760px;
}

.module-outcome {
  font-size: 1.06rem;
}

.module-block {
  border: 1px solid #2b3541;
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  background: #111722;
  margin-bottom: 0.8rem;
}

.module-block h2 {
  font-size: 1.06rem;
  margin-bottom: 0.4rem;
}

.module-numbered {
  padding-left: 1.2rem;
}

.media-placeholder {
  border: 1px dashed #3d4a59;
  border-radius: 10px;
  padding: 0.75rem;
  background: #0f141a;
  margin: 0;
}

.module-figure {
  margin: 0;
  border: 1px solid #2f3a47;
  border-radius: 10px;
  overflow: hidden;
  background: #0f141a;
}

.module-diagram {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 420px;
  background: #0f141a;
  object-fit: contain;
  object-position: center;
}

.module-figure .muted {
  margin-top: 0.45rem;
  font-size: 0.9rem;
  padding: 0 0.55rem 0.55rem;
}

.module-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.quiz-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.quiz-option {
  text-align: left;
}

.quiz-feedback {
  margin-top: 0.7rem;
  min-height: 1.2em;
}

.quiz-option.is-correct {
  border-color: #7bc195;
  color: #d8ffe6;
  background: rgba(60, 130, 85, 0.22);
  box-shadow: inset 0 0 0 1px rgba(123, 193, 149, 0.35);
}

.quiz-option.is-wrong {
  border-color: #d67a7a;
  color: #ffdede;
  background: rgba(140, 58, 58, 0.16);
}

.feedback-form {
  display: grid;
  gap: 0.6rem;
}

.feedback-form label {
  font-weight: 700;
}

.feedback-form textarea {
  width: 100%;
  border: 1px solid #2f3a47;
  border-radius: 10px;
  background: #0f141a;
  color: #f2f4f6;
  font: inherit;
  padding: 0.7rem 0.75rem;
  resize: vertical;
}

.path-badge {
  display: inline-flex;
  order: -1;
  align-self: flex-start;
  margin: 0;
  margin-bottom: 0.2rem;
  padding: 0.25rem 0.58rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  border: 1px solid #5d7388;
  color: #dce6f2;
  background: rgba(10, 16, 24, 0.72);
}

.module-tile .module-kicker {
  margin: 0.18rem 0 0;
}

.module-tile h3 {
  margin: 0;
}

.module-tile > p {
  margin: 0;
}

.module-tile .btn,
.module-tile .btn.is-disabled {
  margin-top: 0.28rem;
  margin-bottom: 0.3rem;
  align-self: flex-start;
}

.module-tile.is-path-start {
  border-color: #dce6f2;
  box-shadow: inset 0 0 0 1px rgba(220, 230, 242, 0.28);
}

.module-tile.is-path-recommended {
  border-color: #60758a;
}

.module-tile.is-path-dimmed {
  opacity: 0.55;
}

.hero-resources {
  background: url("assets/photos/card-youtube.jpg") center 34%/cover no-repeat;
}

.media-bbc {
  background-image: url("assets/photos/card-bbc.jpg"), url("assets/card-routes.svg");
  background-position: center -15%;
  background-repeat: no-repeat, no-repeat;
}

.home-blur .hero-tesla::before {
  opacity: 0.6;
}

.home-blur-deep .hero-tesla::before {
  opacity: 0.78;
  filter: blur(15px);
}

.home-blur-deep .hero-tesla {
  background-image:
    linear-gradient(180deg, rgba(8, 11, 15, 0.52) 0%, rgba(8, 11, 15, 0.74) 72%, rgba(8, 11, 15, 0.94) 100%),
    url("assets/photos/hero-josh-driving.jpg"),
    url("assets/hero-driving-lesson.svg");
}

.trust-section {
  border-top: 1px solid #242b34;
}

.trust-card {
  min-height: 260px;
  border-radius: 14px;
  border: 1px solid #252c35;
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.45rem;
  background-size: cover;
  background-position: center -15%;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.trust-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 18, 0.1) 18%, rgba(8, 12, 18, 0.76) 90%);
}

.trust-card > * {
  position: relative;
  z-index: 1;
}

.social-section {
  border-top: 1px solid #242b34;
}

.reviews-section {
  border-top: 1px solid #242b34;
  background: linear-gradient(180deg, rgba(17, 23, 34, 0.35) 0%, rgba(17, 23, 34, 0.05) 100%);
}

.reviews-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.reviews-brand {
  display: grid;
  gap: 0.45rem;
}

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.38rem 0.62rem;
  border-radius: 999px;
  border: 1px solid #3a4654;
  background: rgba(12, 18, 27, 0.72);
}

.google-g {
  font-weight: 800;
  letter-spacing: 0.01em;
}

.g-blue {
  color: #4285f4;
}

.g-red {
  color: #ea4335;
}

.g-yellow {
  color: #fbbc05;
}

.g-green {
  color: #34a853;
}

.google-badge-sep {
  width: 1px;
  height: 16px;
  background: #3a4654;
}

.google-badge-text {
  color: #e8edf3;
  font-weight: 700;
  font-size: 0.85rem;
}

.reviews-carousel {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 0.65rem;
  align-items: center;
}

.reviews-nav {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #3a4654;
  background: transparent;
  color: #eef3f8;
  font-size: 1.4rem;
  cursor: pointer;
}

.review-card {
  border: 1px solid #2b3541;
  border-radius: 14px;
  padding: 1rem 1.1rem;
  background: #111722;
  min-height: 150px;
}

.review-text {
  color: #f1f5f9;
  margin-bottom: 0.8rem;
}

.review-meta {
  color: #c7d1da;
  margin: 0;
}

.social-links {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.social-pill {
  text-decoration: none;
  color: #f3f7fb;
  border: 1px solid #3a4654;
  border-radius: 999px;
  padding: 0.56rem 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}

.social-pill .icon {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #dfe6ee;
  color: #0d151e;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.social-pill:hover,
.social-pill:focus-visible {
  background: rgba(255, 255, 255, 0.06);
}

.split-cta {
  border-top: 1px solid #242b34;
}

.split-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
}

.home .footer {
  border-top-color: #202732;
}

.home .footer p,
.home .footer a {
  color: #c4cbd3;
}

@media (max-width: 840px) {
  .topbar-inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 0.75rem 0;
  }

  .menu-btn {
    display: inline-flex;
    margin-left: auto;
  }

  .nav {
    width: 100%;
    display: none;
  }

  .topbar.nav-open .nav {
    display: block;
  }

  .nav ul {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    font-size: 0.9rem;
    padding-bottom: 0.2rem;
  }

  .nav-book {
    border: none;
    padding: 0;
    border-radius: 0;
  }

  .proof-strip {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    margin-top: 0.35rem;
  }

  .hero {
    padding-top: 4.2rem;
  }

  .home .hero-stage {
    padding-left: 0.95rem;
    padding-right: 0.5rem;
  }

  .home .hero h1 {
    max-width: 14ch;
  }

  .grid.cols-3 {
    grid-template-columns: 1fr;
  }

  .grid.cols-2 {
    grid-template-columns: 1fr;
  }

  .course-path-grid,
  .module-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 1.05rem;
  }

  .module-diagram {
    max-height: 56vh;
  }

  .path-grid {
    grid-template-columns: 1fr;
  }

  .split-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-logo {
    width: 148px;
    height: 38px;
  }
}
