@font-face {
  font-family: "Poppins";
  src: url("./fonts/Poppins-Light-NEW.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./fonts/Poppins-Medium-new.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./fonts/Poppins-SemiBold-NEW.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./fonts/Poppins-Bold-NEW.ttf") format("truetype");
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./fonts/Poppins-BoldItalic.ttf") format("truetype");
  font-weight: 700 800;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #1a1a1a;
  --muted: #6a6a6a;
  --line: #e8e4dc;
  --paper: #f7f5f0;
  --surface: #ffffff;
  --surface-2: #f0ede8;
  --red: #ef1c74;
  --red-dark: #c0145c;
  --green: #2d6a4f;
  --green-dark: #1b4332;
  --green-soft: #e8f0ee;
  --gold: #f59e0b;
  --blue: #6561e8;
  --shadow: 0 20px 60px rgba(26, 26, 26, 0.13);
  --page-scroll-progress: 0%;
  --topbar-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

code {
  padding: 0.1rem 0.32rem;
  border: 1px solid rgba(22, 24, 29, 0.12);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.92em;
}

/* ── Global Vera nav (mirrors src/components/VeraLanding/Navigation.tsx) ── */
.vera-topbar {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0.75rem 0;
}

.deadline-extension-note {
  margin: 0;
  width: max-content;
  max-width: min(95vw, 980px);
  padding: 0.34rem 0.72rem;
  border-left: 4px solid #d90429;
  border-radius: 6px;
  background: rgba(217, 4, 41, 0.1);
  color: #8b0a1a;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: nowrap;
}

.deadline-extension-note-top {
  margin: 0.35rem 0 0;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
  border-left-width: 5px;
  padding-left: 0;
  padding-right: 0;
  overflow: hidden;
  white-space: nowrap;
}

.deadline-extension-note-end {
  margin-top: 0.8rem;
  font-size: 0.9rem;
}

.deadline-extension-note-text {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: bottom;
}

.deadline-extension-note-top .deadline-extension-note-text {
  border-right: 0;
  width: auto;
  padding-right: 2.4rem;
  animation: none;
  flex: 0 0 auto;
}

.deadline-extension-note-end .deadline-extension-note-text {
  width: 0;
  border-right: 2px solid rgba(139, 10, 26, 0.55);
  animation: typeText 2.2s steps(68, end) forwards, blinkCaret 700ms steps(1, end) 2;
}

@keyframes noteFadeIn {
  from {
    opacity: 0;
    transform: translateY(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes typeText {
  from {
    width: 0;
  }
  to {
    width: 100%;
    border-right-color: transparent;
  }
}

@keyframes blinkCaret {
  0%, 49% {
    border-right-color: rgba(139, 10, 26, 0.7);
  }
  50%, 100% {
    border-right-color: transparent;
  }
}

.deadline-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
}

.vera-topbar.is-scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.vera-topbar-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
}

.vera-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
}

.vera-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

.vera-brand-tag {
  font-family: "Poppins", sans-serif;
  font-size: 0.94rem;
  font-weight: 400;
  color: #8e8e8e;
}

.vera-globalnav {
  display: flex;
  gap: clamp(0.8rem, 2vw, 1.4rem);
  align-items: center;
  margin-left: 0;
  min-width: 0;
}

.deadline-countdown {
  display: flex;
  align-items: center;
  gap: 0.36rem;
  width: fit-content;
  max-width: 100%;
  padding: 0.32rem 0.42rem;
  border: 1px solid rgba(45, 106, 79, 0.22);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: none;
}

.deadline-label {
  color: #1b4332;
  background: transparent !important;
  border: 0 !important;
  border-radius: 10px !important;
  padding: 0.5rem 0.65rem !important;
  line-height: 1;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.deadline-time {
  display: none;
}

.deadline-timer {
  display: flex;
  gap: 0.36rem;
  align-items: center;
  flex-wrap: nowrap;
  overflow: hidden;
  perspective: 520px;
}

.deadline-timer span:not(.deadline-label) {
  position: relative;
  display: inline-grid;
  justify-items: center;
  min-width: 58px;
  padding: 0.18rem 0.3rem 0.58rem;
  border: 1px solid rgba(27, 67, 50, 0.24);
  border-radius: 9px;
  background: rgba(45, 106, 79, 0.08);
  box-shadow: none;
  transform-origin: center center;
}

.deadline-timer strong {
  color: #1b4332;
  font-family: "Poppins", sans-serif;
  font-size: 1.02rem;
  line-height: 1;
  letter-spacing: 0.01em;
  text-shadow: none;
  display: block;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.deadline-timer em {
  color: rgba(27, 67, 50, 0.82);
  font-style: normal;
  font-size: 0.46rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: absolute;
  bottom: 0.14rem;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.deadline-timer span.is-flipping {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.46),
    0 8px 16px rgba(14, 21, 17, 0.28);
}

.deadline-timer strong.flip-out {
  animation: digitFlipOut 170ms cubic-bezier(0.62, 0, 0.9, 0.42) forwards;
  transform-origin: 50% 100%;
}

.deadline-timer strong.flip-in {
  animation: digitFlipIn 170ms cubic-bezier(0.16, 0.72, 0.34, 1) forwards;
  transform-origin: 50% 0%;
}

@keyframes digitFlipOut {
  0% {
    transform: rotateX(0deg);
    opacity: 1;
  }

  100% {
    transform: rotateX(-90deg);
    opacity: 0.32;
  }
}

@keyframes digitFlipIn {
  0% {
    transform: rotateX(90deg);
    opacity: 0.32;
  }

  100% {
    transform: rotateX(0deg);
    opacity: 1;
  }
}

.vera-globalnav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #4a4a4a;
  text-decoration: none;
  transition: color 200ms, background-color 220ms ease, border-color 220ms ease;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0.42rem 0.72rem;
}

.vera-globalnav a:hover {
  color: var(--green);
  background: rgba(45, 106, 79, 0.08);
}

.vera-globalnav-current {
  color: var(--green) !important;
  font-weight: 600 !important;
  border-color: rgba(45, 106, 79, 0.45) !important;
  background: rgba(45, 106, 79, 0.12);
}

/* ── Page-section nav (sticky below global nav) ── */
.page-subnav {
  position: sticky;
  top: var(--topbar-height, 84px);
  z-index: 18;
  margin-top: var(--topbar-height, 84px);
  background: rgba(247, 245, 240, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.page-subnav::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: var(--page-scroll-progress);
  background: linear-gradient(90deg, var(--green), #72bb92);
  transition: width 120ms linear;
}

.page-subnav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0.55rem clamp(1rem, 3vw, 3rem);
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.8rem);
  font-size: 0.88rem;
  font-weight: 600;
  color: #4a4a4a;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-subnav-inner::-webkit-scrollbar {
  display: none;
}

.page-subnav-inner a {
  position: relative;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  text-decoration: none;
  color: var(--green-dark);
  transition: color 200ms ease, transform 220ms ease;
  padding: 0.34rem 0;
}

.page-subnav-inner a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.2);
  transform-origin: center;
  transition: opacity 220ms ease, transform 220ms ease;
}

.page-subnav-inner a:hover {
  color: var(--green);
  transform: translateY(-2px);
}

.page-subnav-inner a:hover::after,
.page-subnav-inner a:focus-visible::after,
.page-subnav-inner a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.page-subnav-inner a:focus-visible {
  outline: 2px solid rgba(45, 106, 79, 0.34);
  outline-offset: 0.25rem;
  transform: translateY(-2px);
}

.page-subnav-cta {
  margin-left: auto;
  padding: 0.42rem 0.82rem !important;
  border: 1px solid var(--green) !important;
  border-radius: 999px;
  color: #fff !important;
  font-weight: 700;
  background: var(--green);
  box-shadow: 0 10px 24px rgba(45, 106, 79, 0.18);
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.page-subnav-cta::after {
  display: none;
}

.page-subnav-cta:hover,
.page-subnav-cta:focus-visible {
  transform: translateY(-2px);
  background: var(--green-dark);
  border-color: var(--green-dark) !important;
  box-shadow: 0 14px 30px rgba(45, 106, 79, 0.24);
}

.page-subnav-inner a.is-active {
  color: var(--green);
}

@media (max-width: 720px) {
  .vera-globalnav a:not(.vera-globalnav-current) {
    display: none;
    /* mobile: keep only the current-page link visible */
  }

  .vera-topbar {
    padding: 0.62rem 0 0.7rem;
  }

  .vera-topbar-inner {
    align-items: center;
    flex-wrap: wrap;
    gap: 0.58rem;
    padding: 0 clamp(0.85rem, 4vw, 1.2rem);
  }

  .vera-brand {
    width: 100%;
    gap: 0.55rem;
  }

  .vera-logo {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }

  .vera-brand-tag {
    font-size: 0.86rem;
  }

  .vera-globalnav {
    width: 100%;
    margin-left: 0;
  }

  .deadline-countdown {
    width: 100%;
    max-width: none;
    display: block;
    padding: 0.3rem;
    border-radius: 12px;
  }

  .deadline-time {
    display: none;
  }

  .deadline-timer {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.28rem;
    width: 100%;
    overflow: visible;
  }

  .deadline-label {
    grid-column: 1 / -1;
    width: 100%;
    padding: 0.42rem 0.5rem !important;
    font-size: 0.62rem;
    text-align: center;
  }

  .deadline-timer span:not(.deadline-label) {
    min-width: 0;
    justify-content: center;
    padding: 0.2rem 0.2rem 0.58rem;
    border-radius: 8px;
  }

  .deadline-timer strong {
    font-size: 0.88rem;
  }

  .deadline-timer em {
    bottom: 0.14rem;
    font-size: 0.4rem;
    letter-spacing: 0.05em;
  }

  .page-subnav {
    top: var(--topbar-height, 102px);
  }

  .page-subnav-inner {
    max-width: none;
    justify-content: flex-start;
    flex-wrap: nowrap;
    padding: 0.72rem 0.95rem;
    gap: 1.14rem;
    font-size: 0.92rem;
    font-weight: 600;
    overflow-x: auto;
    scroll-padding-inline: 0.95rem;
    -webkit-overflow-scrolling: touch;
  }

  .page-subnav-inner a {
    flex: 0 0 auto;
    padding: 0.28rem 0;
  }

  .page-subnav-cta {
    margin-left: 0;
    padding: 0.38rem 0.72rem !important;
  }
}

@media (max-width: 420px) {
  .deadline-timer strong {
    font-size: 0.82rem;
  }

  .deadline-timer em {
    font-size: 0.38rem;
  }

  .page-subnav-inner {
    gap: 1rem;
    font-size: 0.88rem;
  }
}

.hero-actions,
.footer {
  display: flex;
  align-items: center;
}

.hero {
  position: relative;
  min-height: 809px;
  height: 809px;
  overflow: hidden;
  isolation: isolate;
  padding: 0;
  color: #fff;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: -2;
  top: 0;
  right: auto;
  bottom: auto;
  left: 50%;
  width: 1654.157px;
  height: 822.366px;
  transform: translateX(calc(-50% - 177.157px));
  transition: transform 80ms linear;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(270deg, #2d594f 27.066%, rgba(45, 89, 79, 0) 82.385%);
}

.hero-content {
  position: absolute;
  top: 145.5px;
  right: auto;
  left: calc(50% - 738.5px + 708px);
  width: 689px;
  max-width: 689px;
  transform: translateY(0);
  transition: transform 120ms linear;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffb8ad;
  font-size: 2rem;
}

.hero-eyebrow {
  font-size: clamp(1rem, 2.2vw, 1.46rem);
  letter-spacing: 0.17em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1.2rem;
  font-size: clamp(3rem, 8.6vw, 7.2rem);
  line-height: 0.88;
  letter-spacing: 0;
  font-family: "Poppins", system-ui, sans-serif;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.34);
}

.hero h1 {
  color: #f4fffa;
  background: linear-gradient(120deg, #ffffff 8%, #d7ffe7 52%, #f6fff9 92%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  max-width: none;
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4.8vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: 0;
  font-family: "Poppins", system-ui, sans-serif;
}

.hero h2 {
  color: #ffffff;
  font-weight: 700;
  font-size: 74px;
  line-height: 1.5;
  margin: 0 0 32px;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.05rem;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy {
  width: 689px;
  max-width: 689px;
  margin: 0 0 32px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  text-shadow: none;
}

.hero-copy strong {
  display: block;
  margin-top: 0.25em;
  font-weight: 600;
}

.hero-subcopy {
  margin: 0;
  color: #ffd04d;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.5;
  text-shadow: none;
  display: block;
}

.hero-actions {
  flex-wrap: nowrap;
  gap: 18px;
  width: 595.14px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.08rem;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  background: var(--green);
  color: #fff;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  background: rgba(7, 15, 12, 0.3);
}

[data-journey-open].is-disabled {
  opacity: 0.58;
  pointer-events: none;
  cursor: not-allowed;
  filter: grayscale(0.18);
}

.submission-closed-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  width: min(560px, calc(100vw - 2rem));
  margin: 0;
  padding: 1.2rem;
  border: 0;
  border-radius: 16px;
  background: #f9f7f2;
  color: var(--ink);
  box-shadow: 0 40px 90px rgba(16, 43, 33, 0.26);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.97);
  transition: opacity 220ms ease, transform 220ms ease;
}

.submission-closed-dialog[open] {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.submission-closed-dialog::backdrop {
  background: rgba(6, 13, 10, 0.58);
  backdrop-filter: blur(5px);
}

.submission-closed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.submission-closed-dialog h2 {
  margin: 0.45rem 0 0.55rem;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.submission-closed-dialog p {
  margin: 0 0 1rem;
  color: #4f5f58;
  font-size: 1.05rem;
  line-height: 1.45;
}

.submission-closed-actions {
  display: flex;
  justify-content: flex-end;
}

.hero .button {
  width: 288.567px;
  min-height: 64px;
  padding: 0;
  border-radius: 16.49px;
  font-size: 21.986px;
  font-weight: 600;
  line-height: 32.979px;
  flex: 0 0 288.567px;
}

.hero .button.primary {
  background: #ffffff;
  color: #488e7f;
}

.hero .button.secondary {
  border: 0;
  color: #ffffff;
  background: linear-gradient(103deg, #3c7669 0%, #4b9484 100%);
}

.disclosure {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(20, 43, 33, 0.06);
}

.disclosure>summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 1.15rem 9.3rem 1.15rem 1.65rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--green-dark);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 180ms ease, background-color 220ms ease, transform 220ms ease;
  background:
    linear-gradient(90deg, rgba(45, 106, 79, 0.12), rgba(45, 106, 79, 0.04) 34%, rgba(255, 255, 255, 0.88) 74%),
    var(--surface);
}

.disclosure-title {
  padding-right: 0.8rem;
  line-height: 1.2;
}

.disclosure-hint {
  position: absolute;
  display: inline-flex;
  align-items: center;
  right: 2.95rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0;
  color: rgba(27, 67, 50, 0.76);
  font-family: "Poppins", system-ui, sans-serif;
  white-space: nowrap;
}

.disclosure>summary:hover {
  color: var(--green);
  transform: translateY(-1px);
  background:
    linear-gradient(90deg, rgba(45, 106, 79, 0.17), rgba(45, 106, 79, 0.08) 34%, rgba(255, 255, 255, 0.96) 76%),
    var(--surface);
}

.disclosure>summary::-webkit-details-marker {
  display: none;
}

.disclosure>summary::before {
  content: "";
  position: absolute;
  left: 0.95rem;
  width: 4px;
  height: 62%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(45, 106, 79, 0.75), rgba(45, 106, 79, 0.35));
  box-shadow: 0 0 0 1px rgba(45, 106, 79, 0.1);
}

.disclosure>summary::after {
  content: "";
  position: absolute;
  right: 1.15rem;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid rgba(27, 67, 50, 0.8);
  border-bottom: 2px solid rgba(27, 67, 50, 0.8);
  transform: rotate(45deg);
  transition: transform 200ms ease, border-color 200ms ease;
}

.disclosure[open]>summary {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(45, 106, 79, 0.2), rgba(45, 106, 79, 0.1) 34%, rgba(255, 255, 255, 0.96) 76%),
    var(--surface);
}

.disclosure[open]>summary::after {
  transform: rotate(-135deg);
  border-color: rgba(27, 67, 50, 0.98);
}

.disclosure-body {
  overflow: hidden;
  height: 0;
  opacity: 0;
  transform: translateY(-8px);
  padding: 0 1rem;
  transition: height 380ms cubic-bezier(0.25, 0.8, 0.25, 1), opacity 260ms ease, transform 260ms ease, padding 220ms ease;
}

.section {
  padding: clamp(4.9rem, 9vw, 8rem) clamp(1.2rem, 5vw, 5rem);
}

.section-heading {
  position: relative;
  max-width: 900px;
  padding-right: 250px;
  margin-bottom: 2.2rem;
}

.section-heading.wide {
  max-width: 1100px;
}

.section-heading .eyebrow {
  margin: 0 0 0.9rem;
}

.section-heading h2 {
  margin: 0 0 1.05rem;
  line-height: 1.04;
}

.section-heading p {
  margin: 0;
  max-width: 820px;
  font-size: 1.07rem;
  line-height: 1.55;
}

.section-heading-art {
  position: absolute;
  right: 0;
  top: 0.1rem;
  width: 220px;
  height: 160px;
  padding: 0.7rem;
  border: 1px solid rgba(45, 106, 79, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
}

.section-heading-art svg {
  width: 100%;
  height: 100%;
  stroke: rgba(45, 106, 79, 0.76);
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-heading-art.on-dark {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.section-heading-art.on-dark svg {
  stroke: rgba(255, 255, 255, 0.86);
}

.intro-section .section-heading {
  max-width: none;
  width: 100%;
  padding-right: 300px;
  min-height: 300px;
  margin-bottom: 1.4rem;
}

.section-heading-art.art-task {
  top: 0.6rem;
  right: 0;
  width: 260px;
  aspect-ratio: 1 / 1;
  height: auto;
  padding: 0.4rem;
  border: 1px solid rgba(45, 106, 79, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
}

.art-task img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  display: block;
}

.intro-grid,
.score-grid,
.explain-grid,
.patterns,
.logistics {
  display: grid;
  gap: 1rem;
}

.intro-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1.2rem;
}

.brief-card,
.score-card,
.message-card,
.patterns>div,
.dataset-copy,
.context-node,
.timeline li,
.logistics div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.brief-card,
.score-card,
.patterns>div,
.dataset-copy,
.context-node,
.timeline li {
  padding: 1.3rem;
}

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

.context-node {
  position: relative;
  min-height: 210px;
  padding-right: 4.2rem;
  background: var(--surface-2);
}

.context-node>span,
.timeline span {
  display: inline-flex;
  margin-bottom: 1.4rem;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
}

.context-icon {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(45, 106, 79, 0.22);
  border-radius: 6px;
  color: rgba(45, 106, 79, 0.78);
  background: rgba(255, 255, 255, 0.65);
}

.context-icon svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rubric-section {
  background: #fff;
}

.score-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.score-grid-label {
  margin: 0 0 0.75rem;
  color: var(--green-dark);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.score-card {
  min-height: 230px;
}

.score-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.04rem;
  font-weight: 800;
}

.score-card.selected {
  color: #fff;
  background: var(--green-dark);
}

.score-card.selected p,
.score-card.selected .score {
  color: rgba(255, 255, 255, 0.78);
}

.score {
  display: block;
  margin-bottom: 1.15rem;
  color: var(--green);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
}

.explain-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1rem;
}

.explain-grid article {
  padding-top: 1.4rem;
  border-top: 3px solid var(--green);
}

.examples-section {
  background: var(--green-soft);
}

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

.message-card {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.message-card p {
  color: var(--ink);
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  line-height: 1.45;
}

.message-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 1.4rem 0 0;
  list-style: none;
}

.message-card li,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.34rem 0.58rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 800;
}

.tag {
  margin-bottom: 1rem;
}

.weak {
  border-color: rgba(216, 59, 52, 0.34);
}

.weak .tag,
.weak li {
  background: #ffe4df;
  color: var(--red-dark);
}

.strong {
  border-color: rgba(17, 116, 95, 0.32);
}

.strong .tag,
.strong li {
  background: var(--green-soft);
  color: var(--green);
}

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

.dataset-section {
  background: var(--green-dark);
  color: #fff;
}

.dataset-section p {
  color: rgba(255, 255, 255, 0.72);
}

.dataset-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 1rem;
  align-items: stretch;
}

pre {
  margin: 0;
  padding: clamp(1.2rem, 3vw, 2rem);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #102b21;
  color: #e9f1ed;
  line-height: 1.8;
}

pre code {
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0.95rem;
}

.dataset-copy {
  color: var(--ink);
}

.dataset-copy p {
  color: var(--muted);
}

.package-section {
  background: var(--paper);
}

.package-download {
  margin-top: 0.3rem;
  gap: 0.48rem;
  background: var(--green);
  color: #fff;
}

.package-download svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.package-grid article,
.run-card,
.case-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.package-grid article {
  min-height: 225px;
  padding: 1.2rem;
}

.package-grid span {
  display: inline-flex;
  margin-bottom: 1.2rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.run-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 1.2rem;
  background: var(--green-soft);
}

.run-card pre {
  padding: 1rem;
}

.judge-sim-card {
  margin-top: 1rem;
}

.judge-sim-list {
  margin: 0.7rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.5;
  display: grid;
  gap: 0.32rem;
}

.judge-sim-commands {
  display: grid;
  gap: 0.55rem;
}

.judge-sim-command-label {
  margin: 0;
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.judge-sim-note {
  margin: 0.18rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.package-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1rem;
  align-items: stretch;
}

.case-list {
  padding: 1.3rem;
}

.case-list ul {
  display: grid;
  gap: 0.7rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.case-list li {
  padding: 0.78rem;
  border-radius: 7px;
  background: var(--surface-2);
  color: var(--muted);
  line-height: 1.45;
}

.timeline-section {
  background: #fff;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.timeline li {
  min-height: 240px;
}

.faq-section {
  background: var(--surface-2);
}

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

.faq-pillars article {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  padding: 1.2rem;
}

.faq-pillars h3 {
  margin: 0 0 0.5rem;
}

.faq-pillars p {
  margin: 0;
}

.testing-section {
  background: var(--paper);
}

.endpoint-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.endpoint-grid article,
.test-flow article,
.deployment-panel,
.rules-strip div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.endpoint-grid article,
.test-flow article {
  padding: 1.2rem;
}

.endpoint-grid article {
  min-height: 220px;
}

.endpoint-grid span {
  display: inline-flex;
  margin-bottom: 1.1rem;
  padding: 0.26rem 0.5rem;
  border-radius: 6px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
}

.endpoint-grid h3 {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 1rem;
}

.test-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  /* margin-bottom: 1rem; */
}

.test-flow article {
  min-height: 230px;
  background: var(--surface-2);
}

.test-flow span {
  display: inline-flex;
  margin-bottom: 1.2rem;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
}

.rules-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  /* margin-bottom: 0.5rem; */
}

.rules-strip div {
  display: flex;
  min-height: 96px;
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
}

.rules-strip strong {
  margin-bottom: 0.25rem;
  color: var(--green-dark);
  font-size: 1.05rem;
}

.rules-strip span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.deployment-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.3rem;
  background: var(--green-dark);
  color: #fff;
  box-shadow: 0 40px 90px rgba(16, 43, 33, 0.26);
}

.deployment-panel p {
  color: rgba(255, 255, 255, 0.74);
}

.apply-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  background: var(--surface-2);
  scroll-margin-top: 122px;
  transition: background-color 300ms ease;
}

.apply-intro {
  position: relative;
  padding-left: clamp(0.2rem, 0.9vw, 0.75rem);
  padding-right: 250px;
  max-width: 760px;
}

.apply-intro .eyebrow {
  margin-bottom: 0.85rem;
}

.apply-intro h2 {
  margin: 0 0 1rem;
}

.apply-section:target,
.apply-section.is-focused {
  background: #e4efe9;
}

.apply-art {
  right: 0.25rem;
  top: 0.5rem;
}

.rubric-section .section-heading,
.examples-section .section-heading,
.dataset-section .section-heading,
.testing-section .section-heading,
.package-section .section-heading,
.timeline-section .section-heading {
  padding-right: 0;
}

.apply-intro {
  padding-right: 0;
}

.launch-details-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  background: var(--green-dark);
  color: #fff;
}

.launch-details-copy {
  margin-bottom: 0;
}

.launch-details-copy .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.launch-details-copy h2 {
  color: #fff;
}

.launch-details-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.launch-details-grid {
  display: grid;
  gap: 1rem;
  justify-items: end;
  margin-right: clamp(0.2rem, 0.9vw, 0.75rem);
}

.launch-details-grid article {
  min-height: 140px;
  padding: 1rem 0;
  display: grid;
  align-content: center;
  justify-items: end;
  gap: 0;
  border: 0;
  background: transparent;
}

.launch-details-grid h3 {
  margin: 0;
  color: #ffd04d;
  font-size: clamp(1.7rem, 3.7vw, 2.9rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.16rem;
}

.launch-details-grid .date-day {
  display: block;
  font-size: clamp(4.8rem, 9.4vw, 8rem);
  line-height: 0.88;
  letter-spacing: 0.01em;
}

.launch-details-grid .date-month-year {
  display: block;
  font-size: clamp(2.35rem, 4.6vw, 4rem);
  line-height: 0.92;
  letter-spacing: 0.015em;
  font-weight: 700;
}

.launch-details-grid .date-time {
  margin: 0.15rem 0 0;
  color: #ffd35c;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.apply-copy {
  max-width: 560px;
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
}

.journey-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  width: min(860px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  margin: 0;
  padding: 1.2rem;
  border: 0;
  border-radius: 16px;
  background: #f9f7f2;
  color: var(--ink);
  box-shadow: 0 40px 90px rgba(16, 43, 33, 0.26);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.97);
  transition: opacity 220ms ease, transform 220ms ease;
}

.journey-dialog[open] {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.journey-dialog.is-opening {
  opacity: 0;
  transform: translate(-50%, -48%) scale(0.97);
}

.journey-dialog.is-closing {
  opacity: 0;
  transform: translate(-50%, -48%) scale(0.97);
}

.journey-confetti-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 8;
}

.journey-confetti-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 40;
}

.journey-confetti-piece {
  position: absolute;
  width: 10px;
  height: 16px;
  border-radius: 2px;
  opacity: 0;
  will-change: transform, opacity;
  animation: journeyBurstFall 1400ms cubic-bezier(0.12, 0.72, 0.21, 1) forwards;
}

@keyframes journeyBurstFall {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--dx, 0px), var(--dy, 260px), 0) rotate(var(--rot, 320deg)) scale(0.92);
  }
}

.journey-dialog::backdrop {
  background: rgba(6, 13, 10, 0.58);
  backdrop-filter: blur(5px);
  transition: background-color 220ms ease;
}

.journey-dialog.is-opening::backdrop,
.journey-dialog.is-closing::backdrop {
  background: rgba(6, 13, 10, 0.2);
}

.journey-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  z-index: 6;
}

.journey-close {
  border: 1px solid rgba(45, 106, 79, 0.42);
  border-radius: 999px;
  background: transparent;
  color: var(--green-dark);
  padding: 0.45rem 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.journey-close:hover,
.journey-close:focus-visible {
  transform: translateY(-1px);
  background: rgba(45, 106, 79, 0.08);
  box-shadow: 0 8px 18px rgba(45, 106, 79, 0.12);
}

.journey-progress {
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 6;
}

.journey-progress span {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.journey-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(45, 106, 79, 0.12);
  overflow: hidden;
}

.journey-track span {
  display: block;
  width: 25%;
  height: 100%;
  margin: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #2d6a4f, #56a074);
  transition: width 260ms ease;
}

.journey-steps {
  position: relative;
  min-height: 320px;
  z-index: 6;
}

.journey-steps.is-step-4 {
  min-height: 400px;
}

.journey-step {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: start;
  gap: 0.7rem;
  padding: 1rem;
  border: 1px solid rgba(45, 106, 79, 0.17);
  border-radius: 12px;
  background: #fff;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 1.2rem;
  opacity: 0;
  pointer-events: none;
  transform: translateX(14px);
  transition: opacity 260ms ease, transform 260ms ease;
}

.journey-step.is-current {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.journey-step-label {
  margin: 0;
  color: var(--red-dark);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.journey-step h3 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.05;
}

.journey-step p {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
}

.journey-form {
  display: grid;
  gap: 0.72rem;
}

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

.journey-field {
  display: grid;
  gap: 0.38rem;
}

.journey-field-full {
  grid-column: 1 / -1;
}

.journey-field span {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: 0.01em;
}

.journey-field em {
  color: var(--red-dark);
  font-style: normal;
}

.journey-field small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.journey-field input {
  width: 100%;
  border: 1px solid rgba(45, 106, 79, 0.26);
  border-radius: 10px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  padding: 0.66rem 0.74rem;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.journey-field input:focus {
  border-color: rgba(30, 156, 99, 0.85);
  box-shadow: 0 0 0 3px rgba(30, 156, 99, 0.14);
}

.journey-field input.is-invalid {
  border-color: rgba(198, 40, 40, 0.68);
  box-shadow: 0 0 0 2px rgba(198, 40, 40, 0.11);
  background: rgba(255, 245, 245, 0.92);
}

.journey-field-error {
  min-height: 1rem;
  margin-top: -0.08rem;
  color: #b42318;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.journey-field-error.has-error {
  opacity: 1;
  transform: translateY(0);
}

.journey-field-error.has-error::before {
  content: "i";
  display: inline-grid;
  place-items: center;
  width: 0.9rem;
  height: 0.9rem;
  margin-right: 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(180, 35, 24, 0.4);
  background: rgba(180, 35, 24, 0.08);
  font-size: 0.67rem;
  font-weight: 800;
}

.journey-form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.journey-form-message {
  margin: 0;
  min-height: 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

.journey-form-message.is-success {
  color: #17653f;
}

.journey-form-message.is-error {
  color: #b42318;
}

.journey-submit {
  justify-self: start;
}

.journey-submit:disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.journey-endpoints {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.55;
}

.journey-endpoints li {
  margin-bottom: 0.2rem;
}

.journey-step-success {
  align-content: center;
  background:
    radial-gradient(1200px 340px at 100% -40%, rgba(45, 106, 79, 0.14), transparent 55%),
    radial-gradient(900px 280px at -10% 120%, rgba(239, 28, 116, 0.09), transparent 56%),
    #fff;
}

.journey-success {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(45, 106, 79, 0.2);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(45, 106, 79, 0.08), rgba(45, 106, 79, 0.03));
  padding: 1rem;
  box-shadow: 0 14px 32px rgba(16, 43, 33, 0.09);
}

.journey-success-title {
  margin: 0 0 0.2rem;
  color: #17653f;
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  font-weight: 800;
}

.journey-success-sub {
  margin-top: 0.4rem;
  color: var(--green-dark);
  font-weight: 600;
}

.journey-step-success h3 {
  margin-bottom: 0.35rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.01em;
}

#journey-submission-count,
#journey-submission-count-suffix {
  color: #17653f;
}

.journey-success-poppers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.journey-success-poppers span {
  position: absolute;
  top: -12px;
  width: 10px;
  height: 14px;
  border-radius: 3px;
  opacity: 0;
  transform: translateY(0) rotate(0deg);
  animation: journeyPopper 1300ms ease-out forwards;
}

.journey-success-poppers span:nth-child(1) {
  left: 8%;
  background: #2d6a4f;
  animation-delay: 80ms;
}

.journey-success-poppers span:nth-child(2) {
  left: 24%;
  background: #ef1c74;
  animation-delay: 160ms;
}

.journey-success-poppers span:nth-child(3) {
  left: 38%;
  background: #f59e0b;
  animation-delay: 120ms;
}

.journey-success-poppers span:nth-child(4) {
  left: 56%;
  background: #6561e8;
  animation-delay: 60ms;
}

.journey-success-poppers span:nth-child(5) {
  left: 72%;
  background: #2d6a4f;
  animation-delay: 140ms;
}

.journey-success-poppers span:nth-child(6) {
  left: 88%;
  background: #ef1c74;
  animation-delay: 40ms;
}

@keyframes journeyPopper {
  0% {
    opacity: 0;
    transform: translateY(0) rotate(0deg) scale(0.8);
  }

  25% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(120px) rotate(220deg) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {

  .deadline-extension-note-top,
  .deadline-extension-note-end {
    animation: none !important;
  }

  .deadline-extension-note-top .deadline-extension-note-text,
  .deadline-extension-note-end .deadline-extension-note-text {
    width: auto !important;
    border-right: 0 !important;
    animation: none !important;
  }

  .deadline-marquee-track {
    transform: none !important;
  }

  .journey-dialog,
  .journey-dialog[open],
  .journey-dialog.is-opening,
  .journey-dialog.is-closing {
    transition: none !important;
    transform: translate(-50%, -50%) scale(1) !important;
  }

  .journey-confetti-piece {
    animation: none !important;
    opacity: 0 !important;
  }

  .journey-success-poppers span {
    animation: none !important;
    opacity: 0 !important;
  }
}

@media (max-width: 720px) {
  .deadline-extension-note {
    order: 3;
    width: 100%;
    max-width: calc(100vw - 1.4rem);
    white-space: normal;
    line-height: 1.35;
    text-align: left;
    font-size: 0.78rem;
    margin-top: 0.35rem;
  }

  .deadline-extension-note-text {
    white-space: normal;
  }

  .deadline-extension-note-top {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    white-space: nowrap;
    text-align: left;
  }

  .deadline-extension-note-top .deadline-extension-note-text {
    white-space: nowrap;
    padding-right: 1.6rem;
  }
}

.journey-controls {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 1rem;
  position: sticky;
  bottom: 0;
  z-index: 6;
  padding-top: 0.4rem;
  background: #f9f7f2;
}

.journey-dialog .button.secondary {
  color: var(--green-dark);
  border-color: rgba(45, 106, 79, 0.28);
  background: rgba(45, 106, 79, 0.08);
}

.journey-controls .button:hover,
.journey-controls .button:focus-visible,
.journey-step .button:hover,
.journey-step .button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(45, 106, 79, 0.2);
}

.journey-controls .button:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {

  .reveal-on-scroll,
  .reveal-on-scroll.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero-image,
  .hero-content {
    transition: none !important;
  }
}

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

.logistics div {
  display: flex;
  min-height: 96px;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.32rem;
  padding: 1rem;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.journey-grid div:hover {
  transform: translateY(-2px);
  border-color: rgba(45, 106, 79, 0.34);
  box-shadow: 0 12px 24px rgba(16, 43, 33, 0.09);
}

.logistics span {
  margin-bottom: 0.32rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.logistics strong {
  font-size: 1.08rem;
}

.logistics p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

.journey-inline-submit {
  margin-top: 0.45rem;
  width: fit-content;
}

.footer {
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem clamp(1.2rem, 5vw, 5rem);
  color: rgba(255, 255, 255, 0.76);
  background: #102b21;
  font-size: 0.92rem;
}

@media (max-width: 1100px) {

  .intro-grid,
  .context-board,
  .score-grid,
  .explain-grid,
  .patterns,
  .timeline,
  .endpoint-grid,
  .test-flow,
  .rules-strip,
  .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .score-card {
    min-height: 190px;
  }
}

@media (max-width: 760px) {
  .topbar {
    position: absolute;
    align-items: flex-start;
  }

  .topbar nav,
  .nav-cta {
    display: none;
  }

  .hero {
    min-height: 740px;
    height: 740px;
  }

  .hero-image {
    top: 0;
    left: 0;
    width: 100%;
    height: 740px;
    transform: none;
  }

  .hero-image img {
    object-fit: cover;
    object-position: 39% top;
  }

  .hero-overlay {
    background: linear-gradient(0deg, #2d594f 9.66%, rgba(45, 89, 79, 0) 57.533%);
  }

  .hero-content {
    top: 412px;
    right: auto;
    left: 17.5px;
    width: 355px;
    max-width: calc(100% - 35px);
    transform: none;
  }

  .hero h2 {
    margin: 0 0 18.326px;
    font-size: 42px;
    line-height: 1.22;
  }

  .section-heading .eyebrow {
    margin-bottom: 0.72rem;
  }

  .section-heading {
    padding-right: 0;
    margin-bottom: 1.5rem;
  }

  .section-heading h2 {
    font-size: clamp(1.9rem, 8.8vw, 2.8rem);
    margin-bottom: 0.88rem;
    line-height: 1.12;
    text-wrap: balance;
  }

  .section-heading p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .section-heading-art {
    display: none;
  }

  .intro-section .section-heading {
    padding-right: 0;
    min-height: 0;
    margin-bottom: 1.5rem;
  }

  .hero-subcopy {
    margin: 0;
    font-size: 18px;
    line-height: 1.25;
  }

  .hero-copy {
    width: 355px;
    max-width: 100%;
    margin: 18.326px 0;
    font-size: 14px;
    line-height: 1.5;
  }

  .hero-actions {
    gap: 10.308px;
    width: 340.825px;
    max-width: 100%;
  }

  .hero .button {
    width: 165.258px;
    min-height: 36.652px;
    border-radius: 9.443px;
    font-size: 12px;
    line-height: 18.887px;
    flex-basis: 165.258px;
  }

  h1 {
    font-size: clamp(4rem, 20vw, 6.2rem);
  }

  .hero-proof {
    font-size: clamp(0.96rem, 4.5vw, 1.16rem);
  }

  .journey-dialog {
    width: calc(100vw - 1rem);
    max-height: calc(100vh - 1rem);
    padding: 0.95rem;
    border-radius: 12px;
    top: 50%;
    left: 50%;
  }

  .journey-steps {
    min-height: 360px;
  }

  .journey-form-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .context-board,
  .score-grid,
  .explain-grid,
  .comparison,
  .patterns,
  .dataset-shell,
  .timeline,
  .faq-pillars,
  .endpoint-grid,
  .test-flow,
  .rules-strip,
  .deployment-panel,
  .package-grid,
  .run-card,
  .package-layout,
  .apply-section,
  .launch-details-section,
  .logistics {
    grid-template-columns: 1fr;
  }

  .context-node,
  .timeline li {
    min-height: auto;
  }

  .message-card p {
    font-size: 1.08rem;
  }

  .disclosure>summary {
    min-height: 62px;
    padding: 0.95rem 2.7rem 0.95rem 1.3rem;
  }

  .disclosure-hint {
    display: none;
  }

  .apply-intro {
    padding-left: 0;
    padding-right: 0;
    max-width: none;
  }

  .launch-details-grid {
    justify-items: start;
    margin-right: 0;
  }

  .launch-details-grid article,
  .launch-details-grid h3 {
    justify-items: start;
    align-items: flex-start;
  }
}

/* ───────────────────────────────────────────────────────────────────────
 * CODE-ZONE TREATMENT
 * Three dark surfaces layered onto the existing light brand frame:
 *   1. .harness-pill          — live monospace status pill near the rubric
 *   2. .endpoint-terminal     — tabbed terminal panel for the HTTP contract
 *   3. .dataset-tree          — `tree` command output with syntax coloring
 * Shared palette + monospace stack (no Google Fonts dependency — system
 * monospace fonts are universal and avoid an extra network request).
 * ─────────────────────────────────────────────────────────────────────── */

:root {
  --code-bg: #0d1117;
  --code-bg-soft: #161b22;
  --code-border: #30363d;
  --code-text: #c9d1d9;
  --code-mute: #8b949e;
  --code-blue: #79c0ff;
  --code-green: #7ee787;
  --code-pink: #ff7b72;
  --code-yellow: #d2a8ff;
  --code-orange: #ffa657;
  --mono-stack: ui-monospace, "SF Mono", "Menlo", "Monaco", "Consolas",
    "DejaVu Sans Mono", monospace;
}

/* Harness status pill — small, monospace, with live-pulse green dot.
   Sits inside the light rubric section; reads as a software status line. */
.harness-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 18px;
  margin: 8px 0 28px;
  border-radius: 100px;
  background: rgba(45, 106, 79, 0.04);
  border: 1px solid rgba(45, 106, 79, 0.18);
  font-family: var(--mono-stack);
  font-size: 12.5px;
  color: #4a4a4a;
  letter-spacing: 0.01em;
}
.harness-pill strong { color: var(--green); font-weight: 700; }
.harness-pill-sep { color: rgba(45, 106, 79, 0.3); }
.harness-pill-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(45, 106, 79, 0.5);
  animation: harness-pulse 2s infinite;
}
@keyframes harness-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(45, 106, 79, 0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(45, 106, 79, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 106, 79, 0); }
}

/* Endpoint terminal — replaces the prior endpoint-grid.
   Window chrome (3 dots), tab strip, monospace body with curl + JSON. */
.endpoint-terminal {
  margin: 24px 0 8px;
  border-radius: 14px;
  background: var(--code-bg-soft);
  border: 1px solid var(--code-border);
  overflow: hidden;
  box-shadow: 0 30px 60px -24px rgba(13, 17, 23, 0.45);
}
.endpoint-terminal-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: #21262d;
  border-bottom: 1px solid var(--code-border);
}
.endpoint-terminal-dots {
  display: flex; gap: 7px; flex-shrink: 0;
}
.endpoint-terminal-dots span {
  width: 11px; height: 11px; border-radius: 50%; background: #4a4a4a;
}
.endpoint-terminal-dots span:nth-child(1) { background: #ff5f56; }
.endpoint-terminal-dots span:nth-child(2) { background: #ffbd2e; }
.endpoint-terminal-dots span:nth-child(3) { background: #27c93f; }

.endpoint-terminal-tabs {
  display: flex; gap: 4px; flex: 1;
  overflow-x: auto;
  scrollbar-width: thin;
}
.endpoint-tab {
  appearance: none;
  background: transparent;
  border: 1px solid transparent;
  color: var(--code-mute);
  padding: 6px 12px;
  border-radius: 6px;
  font-family: var(--mono-stack);
  font-size: 12.5px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 150ms, color 150ms, border-color 150ms;
}
.endpoint-tab:hover { color: var(--code-text); }
.endpoint-tab.is-active {
  background: var(--code-bg);
  color: var(--code-green);
  border-color: var(--code-border);
}
.endpoint-tab .ep-method {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(126, 231, 135, 0.12);
  color: var(--code-green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  vertical-align: 1px;
}
.endpoint-tab .ep-method-get {
  background: rgba(121, 192, 255, 0.12);
  color: var(--code-blue);
}

.endpoint-terminal-body {
  padding: 18px 22px;
  background: var(--code-bg-soft);
  color: var(--code-text);
  font-family: var(--mono-stack);
  font-size: 13.25px;
  line-height: 1.7;
  max-height: 560px;
  overflow-y: auto;
}
.endpoint-panel { display: none; }
.endpoint-panel.is-active { display: block; }
.endpoint-panel pre {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  white-space: pre-wrap;
  word-break: break-word;
}
.endpoint-panel code {
  background: transparent;
  font-family: inherit;
  color: inherit;
  font-size: inherit;
  padding: 0;
}

/* Syntax tokens — used inside both .endpoint-panel and .dataset-tree */
.t-prompt { color: var(--code-green); margin-right: 6px; }
.t-cmt    { color: var(--code-mute); font-style: italic; }
.t-str    { color: var(--code-orange); }
.t-key    { color: var(--code-yellow); }
.t-num    { color: var(--code-green); }
.t-fn     { color: var(--code-blue); }
.t-kw     { color: var(--code-pink); }
.t-root   { color: var(--code-yellow); }
.t-dir    { color: var(--code-blue); }

/* Dataset tree — actual `tree` output. Replaces the prior generic pre block. */
.dataset-tree {
  background: var(--code-bg-soft);
  color: var(--code-text);
  border: 1px solid var(--code-border);
  border-radius: 14px;
  padding: 22px 26px;
  font-family: var(--mono-stack);
  font-size: 13.25px;
  line-height: 1.85;
  margin: 0;
  white-space: pre;
  overflow-x: auto;
  box-shadow: 0 30px 60px -24px rgba(13, 17, 23, 0.4);
}
.dataset-tree code {
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  padding: 0;
}

/* Mobile — terminal is dense; allow horizontal scroll on the tabs strip */
@media (max-width: 720px) {
  .endpoint-terminal-tabs { padding-bottom: 2px; }
  .endpoint-terminal-body { padding: 14px 16px; font-size: 12px; }
  .dataset-tree { padding: 18px 18px; font-size: 12px; }
  .harness-pill { font-size: 11.5px; padding: 8px 14px; gap: 8px; }
}

/* FAQ callout — single highlighted note above the pillar grid.
   Used for the simulator-is-an-anchor framing: the most important
   single thing a candidate needs to internalize before building. */
.faq-callout {
  background: linear-gradient(135deg, rgba(45, 106, 79, 0.08), rgba(45, 106, 79, 0.02));
  border: 1px solid rgba(45, 106, 79, 0.25);
  border-left: 4px solid var(--green);
  border-radius: 14px;
  padding: 22px 28px;
  margin: 16px 0 36px;
}
.faq-callout h3 {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 1.25rem;
  font-weight: 700;
}
.faq-callout p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.6;
}
.faq-callout code {
  background: rgba(45, 106, 79, 0.1);
  padding: 1px 6px;
  border-radius: 4px;
  font-family: var(--mono-stack);
  font-size: 0.95em;
}
@media (max-width: 720px) {
  .faq-callout { padding: 18px 20px; }
  .faq-callout h3 { font-size: 1.1rem; }
  .faq-callout p  { font-size: 0.98rem; }
}
