:root {
  --ink: #071927;
  --ink-soft: #173143;
  --green: #16604f;
  --green-deep: #0b4439;
  --mint: #bfe7db;
  --gold: #c7a561;
  --sky: #b8d7e8;
  --coral: #e9836b;
  --paper: #f7f5ef;
  --white: #ffffff;
  --line: rgba(7, 25, 39, 0.16);
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", Georgia, serif;
  --sans: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.course-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px max(24px, calc((100vw - var(--content)) / 2));
  color: var(--white);
  background: rgba(7, 25, 39, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.course-wordmark {
  display: inline-grid;
  gap: 2px;
  color: inherit;
  text-decoration: none;
}

.course-wordmark strong {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.1;
}

.course-wordmark span {
  color: var(--mint);
  font-size: 9px;
  font-weight: 900;
  line-height: 1.2;
}

.header-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  color: var(--ink);
  background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 4px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: #d8bb7f;
}

.hero {
  position: relative;
  min-height: calc(100svh - 112px);
  max-height: 780px;
  overflow: hidden;
  color: var(--white);
  background-color: var(--ink);
  background-image:
    linear-gradient(90deg, rgba(7, 25, 39, 0.99) 0%, rgba(7, 25, 39, 0.95) 48%, rgba(7, 25, 39, 0.58) 72%),
    linear-gradient(0deg, rgba(7, 25, 39, 0.72) 0%, transparent 48%),
    url("../assets/course-hero-slide.png");
  background-position: center;
  background-size: cover;
}

.hero-inner {
  display: flex;
  width: min(var(--content), calc(100% - 48px));
  min-height: inherit;
  max-height: inherit;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  padding: 72px 0 64px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--mint);
}

.eyebrow span {
  display: inline-block;
  margin-left: 10px;
  padding-left: 12px;
  color: var(--gold);
  border-left: 1px solid rgba(255, 255, 255, 0.42);
}

.hero h1,
.section h2,
.register-band h2,
.thanks-main h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: 68px;
  text-wrap: balance;
}

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

.hero-copy {
  max-width: 640px;
  margin: 26px 0 0;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
}

.hero-actions p {
  max-width: 330px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  line-height: 1.7;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 900;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #d8bb7f;
  border-color: #d8bb7f;
}

.facts {
  color: var(--white);
  background: var(--green);
}

.facts-inner {
  display: grid;
  width: min(var(--content), calc(100% - 48px));
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto;
}

.facts-inner > div {
  min-width: 0;
  padding: 24px 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.facts-inner > div:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.fact-label {
  display: block;
  margin-bottom: 3px;
  color: var(--mint);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.4;
}

.facts strong {
  display: block;
  overflow-wrap: anywhere;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.5;
}

.section {
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
  padding: 112px 0;
}

.outcomes {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(440px, 1.22fr);
  gap: 100px;
}

.section-heading {
  align-self: start;
}

.section-heading h2,
.register-band h2 {
  font-size: 44px;
}

.section-heading > p:last-child {
  margin: 28px 0 0;
  color: #41535f;
}

.outcome-list {
  border-bottom: 1px solid var(--line);
}

.outcome-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.outcome-number {
  color: var(--coral);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 900;
}

.outcome-row h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 900;
  line-height: 1.5;
}

.outcome-row p {
  margin: 10px 0 0;
  color: #4a5e69;
}

.visual-band {
  background: #edf1ee;
  border-top: 1px solid var(--line);
}

.visual-preview {
  padding-top: 104px;
}

.visual-heading {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(300px, 0.72fr);
  gap: 90px;
  align-items: end;
}

.visual-heading h2 {
  font-size: 44px;
}

.visual-heading > p {
  margin: 0 0 6px;
  color: #41535f;
}

.capture-feature,
.capture-item {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(7, 25, 39, 0.2);
  border-radius: 4px;
}

.capture-feature {
  margin-top: 52px;
}

.capture-feature img,
.capture-item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--ink);
}

.capture-feature figcaption,
.capture-item figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.capture-feature figcaption {
  padding: 18px 22px;
  color: var(--white);
  background: var(--ink);
}

.capture-feature figcaption span,
.capture-item figcaption span {
  flex: 0 0 auto;
  color: var(--coral);
  font-size: 10px;
  font-weight: 900;
}

.capture-feature figcaption strong,
.capture-item figcaption strong {
  font-family: var(--serif);
  font-weight: 900;
}

.capture-feature figcaption strong {
  font-size: 18px;
  text-align: right;
}

.capture-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.capture-item figcaption {
  min-height: 78px;
  padding: 14px 16px;
}

.capture-item figcaption strong {
  min-width: 0;
  font-size: 15px;
  line-height: 1.5;
  text-align: right;
}

.curriculum-band {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.curriculum {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(480px, 1.28fr);
  gap: 86px;
}

.section-heading.compact > p:last-child {
  max-width: 440px;
}

.chapter-list {
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--ink);
  list-style: none;
}

.chapter-list li {
  display: grid;
  grid-template-columns: 76px 82px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 68px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.chapter-list time {
  color: var(--green);
  font-family: var(--serif);
  font-weight: 900;
}

.chapter-label {
  color: #6b7981;
  font-size: 10px;
  font-weight: 900;
}

.chapter-list strong {
  min-width: 0;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.5;
}

.section-kicker.light {
  color: var(--mint);
}

.register-band {
  color: var(--white);
  background: var(--ink);
}

.register-inner {
  display: grid;
  width: min(var(--content), calc(100% - 48px));
  grid-template-columns: minmax(280px, 0.78fr) minmax(420px, 1.22fr);
  gap: 90px;
  margin: 0 auto;
  padding: 112px 0;
}

.register-copy > p:not(.section-kicker) {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.register-band h2 {
  font-size: 40px;
}

.register-copy ul {
  display: grid;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  color: var(--sky);
  font-weight: 800;
  list-style: none;
}

.register-copy li {
  position: relative;
  padding-left: 22px;
}

.register-copy li::before {
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--coral);
  content: "";
}

.register-form {
  display: grid;
  gap: 22px;
  padding-left: 64px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.register-form > label:not(.consent) {
  display: grid;
  gap: 8px;
}

.register-form > label > span {
  font-size: 14px;
  font-weight: 900;
}

.register-form input[type="text"],
.register-form input[type="email"] {
  width: 100%;
  min-height: 56px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
  border: 2px solid transparent;
  border-radius: 3px;
  outline: none;
}

.register-form input[type="text"]:focus,
.register-form input[type="email"]:focus {
  border-color: var(--gold);
}

.register-form input::placeholder {
  color: #81909a;
}

.consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.7;
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 4px 0 0;
  accent-color: var(--gold);
}

.consent a {
  color: var(--sky);
}

.button-submit {
  width: 100%;
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}

.button-submit:hover,
.button-submit:focus-visible {
  background: #d8bb7f;
  border-color: #d8bb7f;
}

.button-submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-note,
.form-status {
  margin: -8px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  line-height: 1.7;
}

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

.form-error {
  color: #ffb7a8;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 36px max(24px, calc((100vw - var(--content)) / 2));
  color: rgba(255, 255, 255, 0.76);
  background: #04111b;
}

.course-footer > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 22px;
  font-size: 12px;
}

.course-footer a:not(.course-wordmark) {
  color: var(--sky);
}

.thanks-page {
  min-height: 100svh;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(22, 96, 79, 0.96), rgba(7, 25, 39, 0.98)),
    url("../assets/course-hero-slide.png") center / cover;
}

.thanks-main {
  display: grid;
  width: min(880px, calc(100% - 48px));
  min-height: calc(100svh - 164px);
  place-items: center;
  margin: 0 auto;
  padding: 64px 0;
  text-align: center;
}

.thanks-content {
  width: 100%;
}

.thanks-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin: 0 auto 24px;
  color: var(--ink);
  background: var(--gold);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 900;
}

.thanks-main h1 {
  font-size: 48px;
}

.thanks-lead {
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.mail-checks {
  display: grid;
  max-width: 640px;
  grid-template-columns: repeat(3, 1fr);
  margin: 42px auto 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  list-style: none;
}

.mail-checks li {
  padding: 20px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 13px;
  font-weight: 800;
}

.mail-checks li:last-child {
  border-right: 0;
}

.thanks-note {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.button-secondary {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.48);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--white);
}

@media (max-width: 900px) {
  .hero h1 {
    font-size: 54px;
  }

  .outcomes,
  .curriculum,
  .register-inner {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .section,
  .register-inner {
    padding: 88px 0;
  }

  .outcomes {
    gap: 54px;
  }

  .visual-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .register-form {
    padding-top: 48px;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-left: 0;
  }
}

@media (max-width: 700px) {
  .course-header {
    min-height: 64px;
    padding: 10px 18px;
  }

  .course-wordmark strong {
    font-size: 16px;
  }

  .course-wordmark span {
    font-size: 8px;
  }

  .header-cta {
    min-height: 38px;
    padding: 7px 13px;
    font-size: 12px;
  }

  .hero {
    min-height: calc(100svh - 104px);
    max-height: none;
    background-image:
      linear-gradient(90deg, rgba(7, 25, 39, 0.98) 0%, rgba(7, 25, 39, 0.88) 66%, rgba(7, 25, 39, 0.58) 100%),
      linear-gradient(0deg, rgba(7, 25, 39, 0.8) 0%, transparent 52%),
      url("../assets/course-hero-slide.png");
    background-position: 58% center;
  }

  .hero-inner,
  .facts-inner,
  .section,
  .register-inner {
    width: min(100% - 36px, var(--content));
  }

  .hero-inner {
    padding: 50px 0 42px;
  }

  .eyebrow span {
    margin-left: 6px;
    padding-left: 8px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-copy {
    margin-top: 20px;
    font-size: 17px;
  }

  .hero-actions {
    display: block;
    margin-top: 26px;
  }

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

  .hero-actions p {
    margin-top: 12px;
    font-size: 11px;
  }

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

  .facts-inner > div {
    padding: 18px 12px;
  }

  .facts-inner > div:nth-child(3) {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }

  .facts-inner > div:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-right: 1px solid rgba(255, 255, 255, 0.22);
  }

  .facts strong {
    font-size: 16px;
  }

  .section,
  .register-inner {
    padding: 70px 0;
  }

  .section-heading h2,
  .register-band h2 {
    font-size: 34px;
  }

  .visual-heading h2 {
    font-size: 34px;
  }

  .register-band h2 {
    font-size: 32px;
  }

  .section-heading > p:last-child {
    margin-top: 20px;
  }

  .outcome-row {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    padding: 24px 0;
  }

  .outcome-row h3 {
    font-size: 19px;
  }

  .outcome-row p {
    font-size: 14px;
  }

  .chapter-list li {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 4px 12px;
    padding: 14px 0;
  }

  .chapter-label {
    grid-column: 2;
    grid-row: 1;
  }

  .chapter-list strong {
    grid-column: 1 / -1;
    font-size: 15px;
  }

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

  .capture-feature figcaption,
  .capture-item figcaption {
    display: grid;
    justify-items: start;
  }

  .capture-feature figcaption strong,
  .capture-item figcaption strong {
    text-align: left;
  }

  .register-form {
    gap: 18px;
    padding-top: 38px;
  }

  .course-footer {
    display: grid;
    justify-items: start;
    padding: 30px 18px;
  }

  .course-footer > div {
    justify-content: flex-start;
  }

  .thanks-main {
    width: min(100% - 36px, 880px);
    min-height: calc(100svh - 144px);
    padding: 54px 0;
  }

  .thanks-main h1 {
    font-size: 36px;
  }

  .thanks-lead {
    font-size: 16px;
  }

  .mail-checks {
    grid-template-columns: 1fr;
  }

  .mail-checks li {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .mail-checks li:last-child {
    border-bottom: 0;
  }

  .thanks-actions .button {
    width: 100%;
  }
}

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

  .button {
    transition: none;
  }
}
