/* PythonCook Kids AI Bootcamp: bright, parent-facing sub-brand on the
   PythonCook colour family. The main app is a dark, adult product; this is its
   younger, warmer sibling: light canvas, Python-blue and yellow, generous
   rounding, friendly weight. Same brand fonts (Onest + JetBrains Mono). */

:root {
  --navy: #06080f;
  --ink: #141a2b; /* body text on the light canvas */
  --ink-soft: #4a5266;
  --bone: #faf7ef; /* warm page canvas */
  --white: #ffffff;
  --blue: #3e9be9; /* Python blue, primary */
  --blue-deep: #1f6fb2; /* darker blue where text needs contrast */
  --yellow: #ffd43b; /* Python yellow, highlight, used sparingly */
  --tint: #eaf3fc; /* soft blue section wash */
  --tint-warm: #fdf4d9; /* soft yellow wash */
  --line: rgba(20, 26, 43, 0.1);
  --shadow: 0 24px 60px -30px rgba(20, 40, 80, 0.35);
  --shadow-sm: 0 10px 30px -18px rgba(20, 40, 80, 0.4);
  --r: 18px;
  --r-lg: 28px;
  --wrap: 1140px;
}

* {
  box-sizing: border-box;
}

/* The hidden attribute always wins, even over a component's own display rule
   (the enrol message, the Kids Club blocks). */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: "Onest", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 3.7rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  font-weight: 800;
}

:focus-visible {
  outline: 3px solid rgba(62, 155, 233, 0.65);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: rgba(62, 155, 233, 0.25);
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

p {
  margin: 0;
}

a {
  color: var(--blue-deep);
  text-decoration: none;
}

a:hover {
  color: var(--blue);
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 84px 0;
}

/* Anchor jumps land clear of the sticky header. */
section[id] {
  scroll-margin-top: 90px;
}

.lead {
  font-size: 1.18rem;
  color: var(--ink-soft);
  max-width: 44ch;
}

.section-head {
  max-width: 60ch;
  margin-bottom: 48px;
}

.section-head p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .btn:hover {
    transform: none;
  }
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--blue-deep);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue-deep);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--navy);
}

.btn-yellow:hover {
  background: #ffca08;
  color: var(--navy);
}

.btn.block {
  width: 100%;
}

/* Header: dark glass over the video hero, and it reads just as deliberate over
   the light sections below, bookending the page with the navy footer. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(6, 8, 15, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(250, 247, 239, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav .btn {
  font-size: 0.86rem;
  padding: 10px 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  color: var(--white);
}

.brand img {
  height: 30px;
  width: auto;
}

.brand .brand-name {
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.brand .kids-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--blue);
  padding: 3px 8px;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  color: rgba(250, 247, 239, 0.82);
  font-size: 0.88rem;
  font-weight: 500;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  margin: 4px 0;
  border-radius: 2px;
}

/* Hero: full-bleed video behind a navy scrim. The scrim is heaviest on the
   left where the copy sits and lighter on the right so the children in the
   footage stay visible; a top and bottom wash keeps the header and the fold
   edge clean. Text is bone/white throughout for contrast. */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: min(86vh, 780px);
  padding: 120px 0 96px;
  background: var(--navy);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 38%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(6, 8, 15, 0.92) 0%,
      rgba(6, 8, 15, 0.72) 40%,
      rgba(6, 8, 15, 0.3) 78%,
      rgba(6, 8, 15, 0.42) 100%
    ),
    linear-gradient(
      180deg,
      rgba(6, 8, 15, 0.55) 0%,
      rgba(6, 8, 15, 0.08) 34%,
      rgba(6, 8, 15, 0.62) 100%
    );
}

.hero-inner {
  position: relative;
}

.hero h1 {
  color: var(--white);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  max-width: 18ch;
}

.hero h1 span.hl {
  color: var(--yellow);
}

.hero .lead {
  margin-top: 18px;
  font-size: 1rem;
  max-width: 52ch;
  color: rgba(250, 247, 239, 0.88);
}

.hero .btn {
  font-size: 0.92rem;
  padding: 12px 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.hero .btn-ghost {
  color: var(--white);
  border-color: rgba(250, 247, 239, 0.35);
}

.hero .btn-ghost:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.hero-trust {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: rgba(250, 247, 239, 0.78);
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-trust svg {
  color: var(--yellow);
  flex: none;
}

/* Generic band + tint sections */
.band-tint {
  background: var(--tint);
}

.band-navy {
  background:
    radial-gradient(1100px 480px at 82% -12%, rgba(62, 155, 233, 0.22), transparent 62%),
    radial-gradient(880px 420px at 8% 112%, rgba(255, 212, 59, 0.1), transparent 60%),
    var(--navy);
}

.band-navy h2,
.band-navy h3 {
  color: var(--white);
}

.band-navy p {
  color: rgba(247, 244, 236, 0.75);
}

/* A navy section can carry a photographic background. The image sits under a
   heavy navy scrim (darkest top and bottom) so the heading, body, and the
   glass cards all stay readable over it. */
.band-navy.has-bg {
  position: relative;
  overflow: hidden;
}
.band-navy.has-bg .section-bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/cookathlon-bg.jpg");
  background-size: cover;
  background-position: center;
}
.band-navy.has-bg .section-bg-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 8, 15, 0.94) 0%,
    rgba(6, 8, 15, 0.74) 42%,
    rgba(6, 8, 15, 0.8) 72%,
    rgba(6, 8, 15, 0.96) 100%
  );
}
.band-navy.has-bg .wrap {
  position: relative;
  z-index: 1;
}

/* On navy, cards become dark glass panels; the white-card treatment made the
   white section headings inside them invisible. */
.band-navy .card {
  background: rgba(250, 247, 239, 0.055);
  border-color: rgba(250, 247, 239, 0.13);
  box-shadow: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.band-navy .card p {
  color: rgba(247, 244, 236, 0.72);
}

/* Cards + grids */
.grid {
  display: grid;
  gap: 22px;
}

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

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

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

.card {
  background: var(--white);
  border: 1px solid rgba(20, 26, 43, 0.06);
  border-radius: var(--r);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s ease,
    box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

@media (prefers-reduced-motion: reduce) {
  .card,
  .card:hover {
    transform: none;
    transition: none;
  }
}

.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--tint);
  color: var(--blue-deep);
  margin-bottom: 18px;
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.card .step-no {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  color: var(--blue);
  margin-bottom: 12px;
  display: block;
}

/* Two-column narrative */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.repl {
  background: var(--navy);
  border-radius: var(--r);
  padding: 22px 24px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9rem;
  line-height: 1.9;
  box-shadow: var(--shadow);
  color: rgba(247, 244, 236, 0.9);
}

.repl .prompt {
  color: var(--blue);
}

.repl .ret {
  color: var(--yellow);
}

.repl .cmt {
  color: rgba(247, 244, 236, 0.45);
}

/* Age tracks */
.track {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}

.track.builders {
  background: linear-gradient(180deg, #f4faff, #ffffff);
  border-color: rgba(62, 155, 233, 0.3);
}

.track .track-line {
  margin-top: 6px;
  color: var(--ink-soft);
}

.track ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.track li {
  display: flex;
  gap: 12px;
  padding: 9px 0;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

.track li:first-child {
  border-top: 0;
}

.track li svg {
  color: var(--blue);
  flex: none;
  margin-top: 4px;
}

/* Trust / safeguarding list */
.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.trust-list li {
  display: flex;
  gap: 16px;
}

.trust-list .badge {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  flex: none;
  display: grid;
  place-items: center;
  background: rgba(62, 155, 233, 0.14);
  color: var(--blue-deep);
}

.trust-list h3 {
  font-size: 1.05rem;
  margin-bottom: 3px;
}

.trust-list p {
  color: var(--ink-soft);
  font-size: 0.96rem;
}

/* Pricing */
.price-card {
  max-width: 460px;
  margin: 0 auto;
  background: var(--white);
  border: 1.5px solid rgba(62, 155, 233, 0.35);
  border-radius: var(--r-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  text-align: center;
}

.price-card .price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy);
  margin: 12px 0 2px;
}

.price-card .price small {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-soft);
}

/* Struck original price shown next to the early-bird price. */
.price-card .price .price-was {
  color: var(--ink-soft);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  margin-right: 10px;
  opacity: 0.75;
}

.price-card .price-terms {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.price-card.featured .price-terms {
  color: rgba(247, 244, 236, 0.72);
}

.price-card.featured .price .price-was {
  color: rgba(247, 244, 236, 0.6);
}

.price-card ul {
  list-style: none;
  margin: 26px 0;
  padding: 0;
  text-align: left;
  display: grid;
  gap: 13px;
}

.price-card li {
  display: flex;
  gap: 12px;
  color: var(--ink);
  font-size: 0.98rem;
}

.price-card li svg {
  color: var(--blue);
  flex: none;
  margin-top: 4px;
}

.price-note {
  margin-top: 16px;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

/* The paid finale card leads the pricing pair: navy panel, yellow price. */
.price-card.featured {
  background:
    radial-gradient(640px 300px at 85% -10%, rgba(62, 155, 233, 0.28), transparent 65%),
    var(--navy);
  border-color: rgba(255, 212, 59, 0.4);
}

.price-card.featured h3 {
  color: var(--white);
}

.price-card.featured .price {
  color: var(--white);
}

.price-card.featured .price small,
.price-card.featured .price-note,
.price-card.featured > p {
  color: rgba(247, 244, 236, 0.72);
}

.price-card.featured li {
  color: rgba(247, 244, 236, 0.88);
}

/* FAQ */
.faq {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  padding: 22px 0;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.faq-q .plus {
  flex: none;
  color: var(--blue);
  transition: transform 0.2s ease;
}

.faq-item.open .faq-q .plus {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.faq-a p {
  padding: 0 0 22px;
  color: var(--ink-soft);
}

/* Final CTA */
.cta-final {
  text-align: center;
}

.cta-final .wrap {
  display: grid;
  gap: 28px;
  place-items: center;
}

.cta-final .scan-inline {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  max-width: 100%;
  width: fit-content;
  margin: 0 auto;
  background: rgba(247, 244, 236, 0.06);
  border: 1px solid rgba(247, 244, 236, 0.14);
  border-radius: var(--r);
  padding: 16px 22px;
  text-align: left;
}

.cta-final .scan-inline img {
  width: 74px;
  height: 74px;
  border-radius: 8px;
}

.cta-final .scan-inline p {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  max-width: 22ch;
  line-height: 1.5;
}

/* "Registrations are currently closed" and similar, wherever a booking button would be. */
.closed-note {
  margin-top: 14px;
  font-weight: 600;
}

/* Registration form, on the navy Register band. */
.register-form {
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.register-form label {
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(247, 244, 236, 0.9);
}

.register-form input:not([type="checkbox"]),
.register-form select,
.register-form textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid rgba(247, 244, 236, 0.25);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}

.register-form .consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
}

.register-form .consent input {
  margin-top: 4px;
  flex: none;
}

.register-form .consent a {
  color: var(--yellow);
}

.register-form button {
  justify-self: start;
}

.register-status:empty {
  display: none;
}

.register-status.is-ok {
  color: var(--yellow);
  font-weight: 600;
}

.register-status.is-error {
  color: #ffb4a8;
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(247, 244, 236, 0.66);
  padding: 56px 0 40px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(247, 244, 236, 0.1);
}

.footer-top p {
  max-width: 34ch;
  margin-top: 12px;
  font-size: 0.94rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-links h4 {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 244, 236, 0.55);
  margin: 0 0 14px;
}

.footer-links a {
  display: block;
  color: rgba(247, 244, 236, 0.7);
  font-size: 0.94rem;
  padding: 4px 0;
}

.footer-links a:hover {
  color: var(--blue);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 26px;
  font-size: 0.82rem;
  color: rgba(247, 244, 236, 0.5);
}

/* Pay page specifics */
.pay-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 56px 24px 90px;
}

.pay-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.pay-summary {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

/* What your place includes: a checklist, not a repeated "Included" column. */
.includes-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.includes-list li {
  display: flex;
  gap: 12px;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.45;
}

.includes-list li svg {
  color: var(--blue);
  flex: none;
  margin-top: 3px;
}

.includes-list .muted {
  color: var(--ink-soft);
}

/* The day: label left (muted), value right, aligned in a tidy column. */
.detail-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.detail-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.detail-list li:first-child {
  border-top: 0;
}

.detail-list li span:first-child {
  flex: none;
  color: var(--ink-soft);
}

.detail-list li span:last-child {
  text-align: right;
  color: var(--ink);
  font-weight: 500;
}

/* Big early-bird price on the summary. */
.pay-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.pay-price .pay-price-now {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.pay-price .price-was {
  font-size: 1.4rem;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  color: var(--ink-soft);
  opacity: 0.75;
}

.pay-price .pay-price-unit {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.pay-panel {
  position: sticky;
  top: 100px;
}

.secure-note {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.secure-note svg {
  color: var(--blue);
}

.enrol-msg {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--tint-warm);
  color: #7a5b00;
  font-size: 0.9rem;
  text-align: center;
}

/* Early-bird pill (pricing + enrol) */
.earlybird {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--tint-warm);
  color: #7a5b00;
  font-size: 0.9rem;
  font-weight: 600;
}

.earlybird code {
  font-family: "JetBrains Mono", monospace;
  background: var(--yellow);
  color: var(--navy);
  padding: 1px 8px;
  border-radius: 6px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

/* Session module cards: heading, then the dates as a plain data line. */
.cohort .dates {
  margin: 6px 0 10px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--blue-deep);
}

/* Final callout under the cohorts */
.final-strip {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 26px;
  border-radius: var(--r);
  background: var(--navy);
  color: rgba(247, 244, 236, 0.82);
}

.final-strip strong {
  color: var(--white);
  font-weight: 600;
}

.final-strip .yellow {
  color: var(--yellow);
}

/* Responsive */
@media (max-width: 900px) {
  .split,
  .pay-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding: 96px 0 80px;
  }

  .hero-scrim {
    background: linear-gradient(180deg, rgba(6, 8, 15, 0.82) 0%, rgba(6, 8, 15, 0.6) 55%, rgba(6, 8, 15, 0.78) 100%);
  }

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

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

  .pay-panel {
    position: static;
  }
}

@media (max-width: 680px) {
  section {
    padding: 60px 0;
  }

  .nav-links {
    position: fixed;
    inset: 68px 0 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: rgba(6, 8, 15, 0.97);
    border-bottom: 1px solid rgba(250, 247, 239, 0.1);
    padding: 16px 24px 24px;
    transform: translateY(-120%);
    transition: transform 0.25s ease;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links a {
    padding: 10px 0;
    width: 100%;
  }

  .nav-toggle {
    display: block;
  }

  .nav .desktop-cta {
    display: none;
  }

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