@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600;700;800&family=Noto+Sans+JP:wght@400;500;600;700&display=swap");

:root {
  --brand: #005f41;
  --brand-deep: #003d2b;
  --brand-soft: #e4f1ec;
  --accent: #d4af37;
  --accent-hover: #bd9828;
  --accent-soft: #f7f0d7;
  --ink: #13231d;
  --ink-soft: #50615b;
  --surface: #ffffff;
  --surface-soft: #f5f8f6;
  --surface-warm: #fbfaf6;
  --border: #dbe5e0;
  --danger: #a63d40;
  --warning: #9a6400;
  --success: #196b4d;
  --shadow-sm: 0 8px 24px rgba(0, 61, 43, 0.08);
  --shadow-md: 0 20px 48px rgba(0, 61, 43, 0.12);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1180px;
  --nav-height: 76px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--surface);
  color: var(--ink);
  font-family: "Noto Sans", "Noto Sans JP", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  touch-action: manipulation;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--brand-deep);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  min-height: var(--nav-height);
  border-bottom: 1px solid rgba(219, 229, 224, 0.92);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

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

.brand-link {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  width: 114px;
  height: 58px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a:not(.button) {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  color: #31453d;
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a[aria-current="page"],
.site-nav a:not(.button):hover {
  background: var(--brand-soft);
  color: var(--brand);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--brand);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.button:active {
  transform: translateY(0);
}

.button-primary {
  background: var(--accent);
  color: var(--brand-deep);
  box-shadow: 0 8px 18px rgba(212, 175, 55, 0.18);
}

.button-primary:hover {
  background: var(--accent-hover);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.5);
  background: transparent;
  color: #fff;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.button-outline {
  border-color: var(--brand);
  background: transparent;
  color: var(--brand);
}

.button-outline:hover {
  background: var(--brand-soft);
}

.button-block {
  width: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  background: var(--accent);
  content: "";
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--brand-deep);
  font-family: "Noto Sans", "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.15;
  text-wrap: balance;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.5rem, 7vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.05em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 750;
  letter-spacing: -0.018em;
}

p {
  margin-top: 0;
}

.lead {
  max-width: 680px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  line-height: 1.75;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 124px) 0;
  background: var(--brand-deep);
  color: #fff;
}

.hero::before {
  position: absolute;
  inset: auto -12% -38% auto;
  width: min(650px, 70vw);
  aspect-ratio: 1;
  border: 1px solid rgba(212, 175, 55, 0.36);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(212, 175, 55, 0.05), 0 0 0 160px rgba(212, 175, 55, 0.035);
  content: "";
}

.hero-grid {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: clamp(40px, 8vw, 96px);
}

.hero .eyebrow,
.hero h1 {
  color: #fff;
}

.hero .lead {
  color: #d7e5df;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 28px;
  color: #c8d9d2;
  font-size: 0.88rem;
}

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

.hero-assurance svg {
  width: 18px;
  color: var(--accent);
}

.level-orbit {
  position: relative;
  display: grid;
  width: min(420px, 100%);
  aspect-ratio: 1;
  margin-inline: auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.level-orbit::before,
.level-orbit::after {
  position: absolute;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 50%;
  content: "";
}

.level-orbit::before {
  inset: 13%;
}

.level-orbit::after {
  inset: 29%;
}

.orbit-center {
  position: relative;
  z-index: 2;
  display: grid;
  width: 104px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--brand-deep);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 2rem;
  font-weight: 800;
}

.level-chip {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 62px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(0, 61, 43, 0.94);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
}

.level-chip:nth-child(2) { top: 1%; left: calc(50% - 31px); }
.level-chip:nth-child(3) { top: 27%; right: 1%; }
.level-chip:nth-child(4) { right: 14%; bottom: 8%; }
.level-chip:nth-child(5) { bottom: 8%; left: 14%; }
.level-chip:nth-child(6) { top: 27%; left: 1%; }

.page-hero {
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, var(--surface-warm), var(--brand-soft));
}

.page-hero h1 {
  max-width: 850px;
  margin-bottom: 16px;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--brand);
  font-weight: 650;
}

.section {
  padding: clamp(72px, 9vw, 112px) 0;
}

.section-sm {
  padding: 56px 0;
}

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

.section-dark {
  background: var(--brand-deep);
  color: #fff;
}

.section-dark h2,
.section-dark h3,
.section-dark .eyebrow {
  color: #fff;
}

.section-dark .section-heading p:last-child {
  color: #c8d9d2;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
}

.section-heading > div {
  max-width: 720px;
}

.section-heading p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.grid-2,
.grid-3,
.grid-5 {
  display: grid;
  gap: 20px;
}

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

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.feature-card {
  padding: 28px;
}

.icon-box {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--brand);
}

.icon-box svg {
  width: 24px;
  height: 24px;
}

.feature-card p,
.course-card p,
.info-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.tagged-heading {
  margin-top: 16px;
}

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

.course-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.course-card:hover {
  border-color: rgba(0, 95, 65, 0.35);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.course-card-head {
  display: flex;
  min-height: 150px;
  align-items: flex-end;
  justify-content: space-between;
  padding: 24px;
  background: var(--brand-deep);
  color: #fff;
}

.course-card-level {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
}

.course-card-jp {
  color: var(--accent);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 2rem;
  font-weight: 700;
}

.course-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.course-card-body .tag {
  align-self: flex-start;
}

.course-card-body h3 {
  margin-top: 14px;
}

.course-card-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
}

.course-card-list li {
  display: flex;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.course-card-list svg {
  width: 18px;
  min-width: 18px;
  margin-top: 4px;
  color: var(--brand);
}

.course-card-footer {
  display: grid;
  gap: 14px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.price-label {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price {
  color: var(--brand-deep);
  font-size: 1.15rem;
  font-weight: 800;
}

.tag {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 800;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 0 26px 0 0;
  counter-increment: step;
}

.step:not(:last-child)::after {
  position: absolute;
  top: 25px;
  right: 14px;
  width: calc(100% - 64px);
  height: 1px;
  background: rgba(212, 175, 55, 0.5);
  content: "";
  transform: translateX(100%);
}

.step-number {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--brand-deep);
  font-weight: 800;
}

.step-number::before {
  content: counter(step, decimal-leading-zero);
}

.faq-list {
  display: grid;
  max-width: 860px;
  gap: 12px;
  margin-inline: auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.faq-item summary {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  color: var(--brand-deep);
  font-weight: 750;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  width: 24px;
  min-width: 24px;
  color: var(--brand);
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  text-align: center;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 20px 20px;
  color: var(--ink-soft);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 7vw, 72px);
  border-radius: var(--radius-lg);
  background: var(--brand-deep);
  color: #fff;
}

.cta-panel::after {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  aspect-ratio: 1;
  border: 50px solid rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  content: "";
}

.cta-panel > * {
  position: relative;
  z-index: 1;
}

.cta-panel h2 {
  max-width: 700px;
  color: #fff;
}

.cta-panel p {
  max-width: 650px;
  color: #d7e5df;
}

.split-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(36px, 7vw, 88px);
}

.info-card {
  padding: 28px;
}

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

.info-list div {
  display: grid;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  grid-template-columns: 140px 1fr;
  gap: 18px;
}

.info-list dt {
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 700;
}

.info-list dd {
  margin: 0;
  color: var(--brand-deep);
  font-weight: 650;
  overflow-wrap: anywhere;
}

.content-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.content-list li {
  display: flex;
  gap: 12px;
}

.content-list svg {
  width: 20px;
  min-width: 20px;
  margin-top: 4px;
  color: var(--brand);
}

.course-detail-hero {
  padding: 64px 0;
  background: var(--brand-deep);
  color: #fff;
}

.course-detail-hero h1 {
  max-width: 800px;
  color: #fff;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
}

.course-detail-hero .lead {
  color: #d7e5df;
}

.detail-level-mark {
  display: grid;
  width: min(320px, 100%);
  aspect-ratio: 1;
  margin-inline: auto;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, 0.6);
  border-radius: 50%;
  color: var(--accent);
  font-size: clamp(5rem, 15vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  box-shadow: inset 0 0 0 38px rgba(212, 175, 55, 0.06);
}

.curriculum {
  display: grid;
  gap: 12px;
  counter-reset: module;
}

.module {
  display: grid;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  grid-template-columns: 46px 1fr;
  gap: 16px;
  counter-increment: module;
}

.module::before {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--brand);
  content: counter(module, decimal-leading-zero);
  font-weight: 800;
}

.module p {
  margin: 4px 0 0;
  color: var(--ink-soft);
}

.sticky-summary {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  padding: 28px;
  border: 1px solid var(--border);
  border-top: 5px solid var(--accent);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.sticky-summary .price {
  display: block;
  margin: 8px 0 20px;
  font-size: 1.5rem;
}

.notice {
  display: flex;
  gap: 12px;
  padding: 16px;
  border: 1px solid #ead49a;
  border-radius: 10px;
  background: #fff9e8;
  color: #684d0b;
  font-size: 0.9rem;
}

.notice svg {
  width: 20px;
  min-width: 20px;
  margin-top: 2px;
}

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

.form-field {
  display: grid;
  gap: 8px;
}

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

.form-field label,
.checkbox-field label {
  color: var(--brand-deep);
  font-size: 0.9rem;
  font-weight: 700;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #bfcfc7;
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
}

.form-field textarea {
  min-height: 132px;
  resize: vertical;
}

.form-help {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.checkbox-field {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
}

.checkbox-field input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--brand);
}

.form-status {
  min-height: 26px;
  margin: 14px 0;
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 650;
}

.mt-10 { margin-top: 10px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-22 { margin-top: 22px; }
.mt-24 { margin-top: 24px; }
.mb-32 { margin-bottom: 32px; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-light-muted { color: #c8d9d2; }
.actions-center { justify-content: center; }

.map-placeholder {
  display: grid;
  min-height: 220px;
  margin-top: 16px;
  padding: 24px;
  place-items: center;
  border: 1px dashed #bfcfc7;
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--ink-soft);
  text-align: center;
}

.checkout-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 32px;
}

.checkout-box {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.checkout-box + .checkout-box {
  margin-top: 20px;
}

.order-summary {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  padding: 26px;
  border-radius: var(--radius-md);
  background: var(--brand-deep);
  color: #fff;
}

.order-summary h2,
.order-summary h3 {
  color: #fff;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.summary-row span:first-child {
  color: #c8d9d2;
}

.payment-note {
  margin: 18px 0;
  padding: 16px;
  border: 1px dashed rgba(212, 175, 55, 0.65);
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.08);
  color: #f4e7bb;
  font-size: 0.86rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 760px);
  gap: clamp(32px, 6vw, 76px);
}

.legal-nav {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  display: grid;
  gap: 4px;
  align-self: start;
}

.legal-nav a {
  display: flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.legal-nav a[aria-current="page"],
.legal-nav a:hover {
  background: var(--brand-soft);
  color: var(--brand);
}

.prose {
  max-width: 760px;
}

.prose h2 {
  margin-top: 48px;
  font-size: 1.7rem;
}

.prose h3 {
  margin-top: 28px;
}

.prose p,
.prose li {
  color: #3e5049;
}

.prose a {
  color: var(--brand);
  font-weight: 650;
}

.status-shell {
  display: grid;
  min-height: calc(100dvh - var(--nav-height));
  padding: 64px 0;
  place-items: center;
  background: var(--surface-soft);
}

.status-card {
  width: min(620px, calc(100% - 40px));
  padding: clamp(28px, 6vw, 52px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.status-icon {
  display: grid;
  width: 76px;
  height: 76px;
  margin: 0 auto 24px;
  place-items: center;
  border-radius: 50%;
}

.status-icon svg {
  width: 36px;
  height: 36px;
}

.status-success { background: #dff3e9; color: var(--success); }
.status-pending { background: var(--accent-soft); color: var(--warning); }
.status-failed { background: #f8e5e5; color: var(--danger); }

.status-card h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.status-detail {
  margin: 28px 0;
  padding: 18px;
  border-radius: 10px;
  background: var(--surface-soft);
  text-align: left;
}

.status-detail p {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 8px;
}

.status-detail p:last-child {
  margin-bottom: 0;
}

.status-detail span:first-child {
  color: var(--ink-soft);
}

.site-footer {
  padding: 64px 0 24px;
  background: #002f22;
  color: #d7e5df;
}

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

.footer-logo {
  width: 150px;
  height: 82px;
  margin-bottom: 18px;
  object-fit: contain;
}

.footer-copy {
  max-width: 340px;
  color: #b9ccc4;
  font-size: 0.9rem;
}

.site-footer h2 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 9px;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: #c8d9d2;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #98b2a8;
  font-size: 0.82rem;
}

.reveal {
  opacity: 1;
  transform: none;
}

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

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: var(--nav-height);
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100dvh - var(--nav-height));
    align-items: stretch;
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-md);
    overflow-y: auto;
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a:not(.button) {
    min-height: 48px;
  }

  .site-nav .button {
    margin-top: 8px;
  }

  .hero-grid,
  .split-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .level-orbit {
    width: min(360px, 90vw);
  }

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

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

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 24px;
  }

  .step::after {
    display: none;
  }

  .sticky-summary,
  .order-summary {
    position: static;
  }

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

@media (max-width: 680px) {
  :root {
    --nav-height: 68px;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .brand-logo {
    width: 96px;
    height: 52px;
  }

  .hero {
    padding: 64px 0 72px;
  }

  .hero-grid {
    gap: 54px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .course-grid,
  .grid-2,
  .grid-3,
  .grid-5,
  .form-grid,
  .steps,
  .footer-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .form-field-full {
    grid-column: auto;
  }

  .legal-nav {
    position: static;
  }

  .info-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .cta-panel {
    border-radius: var(--radius-md);
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .status-detail p {
    flex-direction: column;
    gap: 2px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

}
