:root {
  --green-950: #08231d;
  --green-900: #0d3028;
  --green-800: #124137;
  --green-700: #176050;
  --green-100: #eaf3ef;
  --gold: #c9a646;
  --gold-strong: #b2872b;
  --gold-soft: #f4e6bd;
  --ink: #14231f;
  --muted: #5a6a64;
  --line: #dbe6e1;
  --paper: #ffffff;
  --soft: #f6faf8;
  --shadow: 0 18px 45px rgba(8, 35, 29, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 16px;
  z-index: 100;
  background: var(--gold);
  color: var(--green-950);
  padding: 10px 14px;
  border-radius: 8px;
}

.skip-link:focus {
  left: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 35, 29, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 166, 70, 0.24);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: white;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.06rem;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 230, 189, 0.48);
  border-radius: 11px;
  background: linear-gradient(135deg, var(--gold), #ead58e);
  color: var(--green-950);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.94rem;
  font-weight: 600;
}

.nav-links a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
  color: var(--gold-soft);
}

.nav-cta {
  padding: 9px 15px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold-soft) !important;
}

.nav-cta:hover {
  background: rgba(201, 166, 70, 0.12);
}

.menu-toggle,
.menu-button {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(201, 166, 70, 0.22), transparent 26%),
    radial-gradient(circle at 12% 85%, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(135deg, var(--green-950), var(--green-800));
  color: white;
  padding: 96px 0 86px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -120px -220px auto;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(244, 230, 189, 0.22);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 410px;
  gap: 54px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-strong);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  font-size: 0.77rem;
}

.hero .eyebrow,
.gold {
  color: var(--gold-soft);
}

h1,
h2,
h3 {
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.045em;
}

h1 {
  font-size: clamp(2.65rem, 7vw, 5.15rem);
  max-width: 860px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

h3 {
  font-size: 1.35rem;
}

.lead {
  margin: 24px 0 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: var(--green-950);
  box-shadow: 0 13px 30px rgba(201, 166, 70, 0.25);
}

.btn-primary:hover {
  background: #d8b654;
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.26);
  color: white;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-light {
  background: white;
  color: var(--green-950);
}

.on-dark {
  border-color: rgba(244, 230, 189, 0.42);
}

.hero-panel {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(244, 230, 189, 0.28);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.panel-topline {
  width: 64px;
  height: 4px;
  background: var(--gold);
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero-panel h2 {
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.hero-panel ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.hero-panel li {
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.84);
}

.hero-panel li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.proof-strip {
  background: var(--green-900);
  color: white;
  border-top: 1px solid rgba(201, 166, 70, 0.18);
  border-bottom: 1px solid rgba(201, 166, 70, 0.18);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.proof-grid > div {
  padding: 24px 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.proof-number {
  color: var(--gold-soft);
  font-weight: 900;
  font-size: 1.55rem;
}

.proof-label {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.95rem;
}

.section {
  padding: 88px 0;
}

.soft-bg {
  background: var(--soft);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 40px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.07rem;
  margin: 16px 0 0;
}

.narrow {
  max-width: 690px;
}

.course-grid,
.why-grid,
.rating-grid,
.testimonials {
  display: grid;
  gap: 22px;
}

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

.course-card {
  position: relative;
  padding: 30px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(8, 35, 29, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.course-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 166, 70, 0.55);
  box-shadow: var(--shadow);
}

.featured-card {
  border-top: 5px solid var(--gold);
}

.card-kicker {
  display: inline-flex;
  margin-bottom: 15px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.card-subtitle {
  color: var(--gold-strong);
  font-weight: 800;
  margin: 8px 0 16px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tags span {
  padding: 6px 10px;
  border: 1px solid rgba(201, 166, 70, 0.38);
  border-radius: 999px;
  background: #fffaf0;
  color: #5c4614;
  font-size: 0.82rem;
  font-weight: 700;
}

.course-card p:last-of-type,
.why-grid p,
.text-block p,
.callout-box p,
.contact-card p,
.site-footer p {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--green-800);
  font-weight: 800;
  border-bottom: 2px solid rgba(201, 166, 70, 0.45);
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.text-block {
  font-size: 1.05rem;
}

.highlighted {
  padding: 28px;
  border-left: 5px solid var(--gold);
  background: var(--soft);
  border-radius: 0 var(--radius) var(--radius) 0;
}

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

.why-grid article {
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f8fbfa);
  border: 1px solid var(--line);
}

.icon-dot {
  width: 42px;
  height: 42px;
  display: inline-block;
  margin-bottom: 18px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--gold) 0 34%, transparent 35%),
    var(--green-100);
  border: 1px solid rgba(201, 166, 70, 0.4);
}

.dark-section {
  color: white;
  background:
    linear-gradient(135deg, rgba(8, 35, 29, 0.96), rgba(18, 65, 55, 0.98)),
    var(--green-900);
}

.dark-section .split {
  align-items: center;
}

.callout-box {
  max-width: 610px;
}

.callout-box p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
}

.mini-list {
  display: grid;
  gap: 14px;
}

.mini-list div {
  padding: 22px;
  border-radius: 16px;
  border: 1px solid rgba(244, 230, 189, 0.26);
  background: rgba(255, 255, 255, 0.07);
}

.mini-list strong,
.mini-list span {
  display: block;
}

.mini-list span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.72);
}

.rating-grid {
  grid-template-columns: repeat(4, 1fr);
}

.rating-grid div {
  padding: 24px;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--line);
  text-align: center;
}

.rating-grid strong {
  display: block;
  color: var(--green-800);
  font-size: 2rem;
  line-height: 1;
}

.rating-grid span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

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

blockquote {
  margin: 0;
  padding: 34px;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(8, 35, 29, 0.06);
  font-size: 1.12rem;
}

blockquote::before {
  content: "“";
  display: block;
  height: 34px;
  color: var(--gold);
  font-size: 4rem;
  line-height: 0.75;
  font-weight: 900;
}

cite {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.94rem;
  font-style: normal;
  font-weight: 700;
}

.clients-section {
  padding-top: 20px;
}

.client-lines {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.client-lines p {
  margin: 8px 0;
  color: var(--muted);
}

.faq-wrap {
  max-width: 880px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--green-900);
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.contact-section {
  background: var(--green-950);
  color: white;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  padding: 42px;
  border: 1px solid rgba(244, 230, 189, 0.28);
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(18, 65, 55, 0.8), rgba(13, 48, 40, 0.82));
}

.contact-card p {
  color: rgba(255, 255, 255, 0.76);
  margin-bottom: 0;
}

.contact-actions {
  margin-top: 0;
  justify-content: flex-end;
}

.site-footer {
  background: #051713;
  color: rgba(255, 255, 255, 0.72);
  padding: 46px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 40px;
}

.site-footer strong {
  display: block;
  color: white;
  margin-bottom: 12px;
}

.site-footer a,
.site-footer span {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer a:hover {
  color: var(--gold-soft);
}

@media (max-width: 920px) {
  .menu-button {
    display: grid;
    gap: 5px;
    cursor: pointer;
  }

  .menu-button span {
    width: 26px;
    height: 2px;
    background: white;
    border-radius: 999px;
  }

  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border-radius: 18px;
    background: var(--green-900);
    border: 1px solid rgba(201, 166, 70, 0.25);
    box-shadow: var(--shadow);
  }

  .nav-links a {
    padding: 13px 12px;
  }

  .menu-toggle:checked ~ .nav-links {
    display: flex;
  }

  .hero-grid,
  .split,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 74px 0;
  }

  .course-grid,
  .why-grid,
  .rating-grid,
  .testimonials,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .proof-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .proof-grid > div {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .section {
    padding: 62px 0;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .course-grid,
  .why-grid,
  .rating-grid,
  .testimonials,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .course-card,
  blockquote,
  .contact-card {
    padding: 24px;
  }

  .proof-grid > div {
    display: block;
  }

  .proof-number,
  .proof-label {
    display: block;
  }
}

/* =========================================================
   Contact page additions
   Added from the contact page stylesheet into the main CSS.
   Keep this section below the homepage styles.
   ========================================================= */

.contact-hero {
  padding: 86px 0;
}

.contact-hero-wrap {
  max-width: 820px;
}

.contact-page-section {
  background: var(--soft);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 390px;
  gap: 28px;
  align-items: start;
}

.quote-form,
.contact-info-panel {
  border: 1px solid rgba(201, 166, 70, 0.34);
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.quote-form {
  padding: 32px;
}

.form-heading {
  margin-bottom: 24px;
}

.form-heading h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.form-heading p,
.contact-info-panel p {
  color: var(--muted);
}

.form-row {
  margin-bottom: 16px;
}

.two-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: var(--green-900);
  font-weight: 700;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: white;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 3px solid rgba(201, 166, 70, 0.22);
  border-color: var(--gold);
}

.form-button {
  margin-top: 18px;
  border: 0;
  cursor: pointer;
}

.contact-info-panel {
  padding: 28px;
}

.contact-info-panel h2 {
  font-size: 1.45rem;
}

.info-list {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.info-list div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
}

.info-list strong,
.info-list span,
.info-list a {
  display: block;
}

.info-list strong {
  color: var(--green-900);
  margin-bottom: 3px;
}

.info-list span,
.info-list a {
  color: var(--muted);
}

.form-heading .eyebrow {
  color: var(--gold-strong);
}

.footer-brand {
  display: inline-block;
  color: white !important;
  font-weight: 800;
  font-size: 1.12rem;
  margin-bottom: 10px;
}

.site-footer h3 {
  color: var(--gold-soft);
  font-size: 1rem;
  margin: 0 0 12px;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(244, 230, 189, 0.18);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

@media (max-width: 920px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .contact-hero {
    padding: 64px 0;
  }

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

  .quote-form,
  .contact-info-panel {
    padding: 24px;
  }
}
/* =========================================================
   Python One page additions
   Scoped so home.php and contact-us.php keep their existing layout.
   These rules support python-one.php sections such as .course-hero,
   #outcomes, #program, .prerequisites-section, #method, and .contact-band.
   ========================================================= */

/* Small inline code pills used in the outcomes and modules sections */
#outcomes code,
#program code {
  padding: 0.12rem 0.35rem;
  border-radius: 0.35rem;
  background: #edf4f1;
  color: var(--green-800);
  font-size: 0.92em;
}

/* Course hero only */
.course-hero {
  padding-bottom: 88px;
}

.course-hero .hero-grid {
  grid-template-columns: minmax(0, 1.1fr) 390px;
}

.course-hero .hero-panel {
  border: 1px solid rgba(201, 166, 70, 0.34);
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
  box-shadow: var(--shadow);
  padding: 28px;
}

.course-hero .hero-panel h2 {
  color: var(--ink);
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.course-hero .panel-topline {
  width: 58px;
  height: 4px;
  margin-bottom: 20px;
}

.course-hero .summary-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 13px;
}

.course-hero .summary-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 11px;
  color: var(--ink);
}

.course-hero .summary-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.course-hero .summary-list strong {
  color: var(--green-900);
}

.course-hero .summary-list span {
  color: var(--muted);
  text-align: right;
}

/* Python-one proof strip only */
.compact-strip {
  background: var(--green-950);
}

.compact-strip .proof-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.compact-strip .proof-grid > div {
  display: block;
  padding: 24px 0 24px 18px;
  border-left: 1px solid rgba(244, 230, 189, 0.28);
  border-bottom: 0;
}

.compact-strip .proof-number,
.compact-strip .proof-label {
  display: block;
}

.compact-strip .proof-number {
  font-size: 1.3rem;
  line-height: 1.2;
}

.compact-strip .proof-label {
  margin-top: 4px;
  font-size: 0.92rem;
}

/* Python-one introduction section */
.intro-section {
  padding-top: 82px;
}

/* Learning outcomes section */
#outcomes .section-heading.narrow {
  max-width: 660px;
}

#outcomes .outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

#outcomes .check-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 26px rgba(8, 35, 29, 0.06);
}

#outcomes .check {
  display: inline-grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-800);
  font-weight: 900;
  margin-bottom: 14px;
}

#outcomes .check-card p {
  margin: 0;
  color: var(--muted);
}

/* Program/module section */
#program .module-list {
  display: grid;
  gap: 18px;
}

#program .module-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 12px 28px rgba(8, 35, 29, 0.06);
}

#program .module-number {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--green-900);
  color: var(--gold-soft);
  font-weight: 800;
}

#program .module-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

/* Python-one dark prerequisite block */
.prerequisites-section .callout-box .btn {
  margin-top: 16px;
}

.prerequisites-section .mini-list {
  display: grid;
  gap: 16px;
}

.prerequisites-section .mini-list div {
  border: 1px solid rgba(244, 230, 189, 0.24);
  border-radius: 16px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.prerequisites-section .mini-list strong {
  color: var(--gold-soft);
  margin-bottom: 6px;
}

.prerequisites-section .mini-list span {
  color: rgba(255, 255, 255, 0.74);
}

/* Method panel only */
#method .panel-text {
  border: 1px solid rgba(201, 166, 70, 0.34);
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
  box-shadow: var(--shadow);
  padding: 28px;
}

#method .panel-text p:first-child {
  margin-top: 0;
}

#method .panel-text p:last-child {
  margin-bottom: 0;
}

/* Python-one bottom contact band only, without changing the home contact section */
.contact-band {
  background: white;
  padding-top: 70px;
}

.contact-band .contact-card {
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid rgba(201, 166, 70, 0.34);
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.contact-band .contact-card h2 {
  color: var(--ink);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
}

.contact-band .contact-card p {
  max-width: 650px;
  color: var(--muted);
}

.contact-band .contact-actions {
  margin-top: 0;
  justify-content: flex-end;
}

.btn-outline {
  border-color: var(--green-700);
  color: var(--green-800);
  background: transparent;
}

.btn-outline:hover {
  background: var(--green-100);
}

/* Responsive rules scoped to the Python-one page */
@media (max-width: 920px) {
  .course-hero .hero-grid,
  .intro-section .split,
  .prerequisites-section .split,
  #method .split {
    grid-template-columns: 1fr;
  }

  .compact-strip .proof-grid,
  #outcomes .outcome-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #program .module-card {
    grid-template-columns: 72px 1fr;
  }

  .contact-band .contact-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-band .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .course-hero {
    padding-bottom: 64px;
  }

  .compact-strip .proof-grid,
  #outcomes .outcome-grid {
    grid-template-columns: 1fr;
  }

  .compact-strip .proof-grid > div {
    padding-left: 0;
    border-left: 0;
  }

  .course-hero .summary-list li {
    display: grid;
    gap: 3px;
  }

  .course-hero .summary-list span {
    text-align: left;
  }

  #program .module-card {
    grid-template-columns: 1fr;
  }

  .course-hero .hero-panel,
  #outcomes .check-card,
  #program .module-card,
  #method .panel-text,
  .contact-band .contact-card {
    padding: 24px;
  }
}
  .course-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  .course-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
  }

  .course-action-btn:hover {
    transform: translateY(-2px);
  }

  .course-action-view {
    background: #f6faf8;
    color: #124137;
    border: 1px solid #dbe6e1;
  }

  .course-action-enroll {
    background: #c9a646;
    color: #08231d;
    border: 1px solid #c9a646;
  }

  .course-action-enroll:hover {
    background: #d8b654;
  }

  @media (max-width: 640px) {
    .course-actions {
      grid-template-columns: 1fr;
    }
  }
