:root {
  --navy: #142f43;
  --ink: #1c3445;
  --muted: #566975;
  --paper: #fafaf7;
  --line: #d8dfdf;
  --yellow: #ebbb67;
  --blue: #eaf0f2;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.65 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
a:hover {
  color: #527181;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #976321;
  outline-offset: 4px;
}
.skip {
  position: absolute;
  top: -100px;
  background: white;
  padding: 12px;
  z-index: 9;
}
.skip:focus {
  top: 0;
}
.site-header {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6vw;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(250, 250, 247, 0.97);
  z-index: 3;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.brand-logo {
  display: block;
  height: 72px;
  width: auto;
}
nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.operator-link {
  color: var(--muted);
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 610px;
}
.hero-copy {
  padding: 82px 5vw 65px 6vw;
  animation: appear 0.6s ease both;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
  margin: 0 0 22px;
  color: var(--muted);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(36px, 4.4vw, 66px);
  font-weight: 550;
  line-height: 1.08;
  letter-spacing: -2.5px;
  margin-bottom: 30px;
}
h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
  letter-spacing: -1.1px;
  font-weight: 550;
  margin-bottom: 24px;
}
h3 {
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.4px;
  font-weight: 600;
}
.lead {
  font-size: 19px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 580px;
}
.quiet {
  font-size: 13px;
  color: var(--muted);
}
.hero-copy .quiet {
  margin-top: 20px;
}
.hero-image {
  position: relative;
  overflow: hidden;
}
.hero-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}
.image-caption {
  position: absolute;
  bottom: 25px;
  left: 30px;
  padding: 8px 15px;
  background: var(--paper);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 15px 23px;
  color: white;
  background: var(--navy);
  border: 1px solid var(--navy);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.18s,
    transform 0.18s;
}
.button:hover {
  color: white;
  background: #284c63;
  transform: translateY(-2px);
}
.button:disabled {
  opacity: 0.5;
  cursor: default;
  transform: none;
}
.button.light {
  color: var(--navy);
  background: white;
  border-color: white;
}
.button.outline {
  background: transparent;
  color: var(--navy);
}
.full {
  width: 100%;
}
.section {
  padding: 72px 6vw;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 36px;
}
.section-heading h2,
.section-heading h1 {
  margin-bottom: 0;
}
.section-heading > p {
  max-width: 300px;
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.course-card {
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.course-picture {
  display: block;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--blue);
}
.course-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.course-picture:hover img {
  transform: scale(1.025);
}
.course-copy {
  padding: 24px 0;
}
.course-copy h3 a {
  text-decoration: none;
}
.course-copy > .eyebrow {
  margin-bottom: 12px;
}
.course-copy > p:not(.eyebrow) {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
.course-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-end;
  margin-top: 24px;
}
.price {
  font-size: 23px;
  font-weight: 650;
  white-space: nowrap;
}
.price small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}
.arrow-link {
  font-size: 13px;
  white-space: nowrap;
  font-weight: 600;
}
.empty {
  padding: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--blue);
}
.empty p {
  max-width: 650px;
  color: var(--muted);
}
.steps {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 70px;
  border-top: 1px solid var(--line);
}
.steps ol {
  padding: 0;
  margin: 0;
  list-style: none;
}
.steps li {
  display: flex;
  gap: 24px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}
.steps li:first-child {
  padding-top: 0;
}
.steps li > span {
  font-size: 13px;
  color: var(--muted);
  padding-top: 4px;
}
.steps li h3 {
  margin-bottom: 10px;
}
.steps li p {
  margin-bottom: 0;
  font-size: 14px;
  color: var(--muted);
}
.business {
  background: var(--navy);
  color: white;
}
.business > .eyebrow {
  color: #b6c8d0;
}
.business p:not(.eyebrow) {
  color: #cfdae0;
}
.site-footer {
  padding: 55px 6vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  border-top: 1px solid var(--line);
}
.site-footer p {
  font-size: 13px;
  margin-top: 8px;
  color: var(--muted);
}
.site-footer .company {
  font-size: 12px;
  line-height: 1.7;
  max-width: 640px;
}
.site-footer .company span {
  display: inline-block;
  max-width: 100%;
}
.site-footer .company span:not(:last-child)::after {
  content: "·";
  margin: 0 8px;
  color: var(--line);
}
.site-footer nav {
  justify-content: flex-end;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}
.site-footer nav a {
  font-size: 12px;
}
.site-footer small {
  grid-column: 1/-1;
  color: var(--muted);
  font-size: 11px;
}
.breadcrumb {
  font-size: 13px;
  display: inline-block;
  margin-bottom: 32px;
}
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr);
  gap: 70px;
  align-items: start;
}
.product-layout h1 {
  font-size: clamp(34px, 4vw, 54px);
  overflow-wrap: anywhere;
}
.product-cover {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  margin: 25px 0 45px;
}
.purchase-panel {
  padding: 32px;
  background: var(--blue);
  position: sticky;
  top: 125px;
}
.purchase-panel p {
  font-size: 14px;
}
.purchase-panel .big-price {
  font-size: 40px;
  margin-bottom: 0;
  font-weight: 600;
}
.purchase-panel h3 {
  font-size: 18px;
  margin-top: 24px;
}
.purchase-panel hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin-top: 28px;
}
.preline {
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.prose {
  line-height: 1.9;
}
.legal p,
.legal ul {
  margin: 0 0 18px;
  overflow-wrap: anywhere;
}
.legal h2 {
  font-size: 19px;
  margin: 34px 0 10px;
}
.legal ul {
  padding-left: 22px;
}
.legal li {
  margin-bottom: 6px;
}
.notice form.inline {
  margin-top: 10px;
  display: block;
}
.draft {
  margin-top: 10px;
}
.draft summary {
  cursor: pointer;
  font-weight: 600;
}
.draft-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0 0;
}
.button.small {
  padding: 8px 14px;
  font-size: 13px;
}
.draft pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
  font-size: 13px;
  line-height: 1.6;
  background: #fff;
  border: 1px solid var(--line);
  padding: 12px;
  margin: 10px 0 0;
}
.narrow {
  max-width: 900px;
  margin: auto;
  min-height: 55vh;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 36px 0;
}
.summary-line h2 {
  font-size: 26px;
  margin-bottom: 12px;
}
.summary-line p {
  margin-bottom: 0;
  color: var(--muted);
}
.notice {
  background: #f6ecd7;
  padding: 18px 24px;
  font-size: 14px;
  margin-bottom: 24px;
}
.notice p {
  margin: 8px 0 0;
}
.site-header + .notice {
  margin: 0;
}
.warning {
  color: #8a4d12;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  margin: 22px 0;
  flex-wrap: wrap;
}
.check input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 4px 0 0;
  accent-color: var(--navy);
}
label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin: 24px 0;
}
input:not([type="checkbox"]):not([type="hidden"]),
textarea,
select {
  display: block;
  width: 100%;
  padding: 12px 14px;
  margin-top: 8px;
  border: 1px solid #a9b9bf;
  border-radius: 0;
  background: white;
  color: var(--ink);
}
textarea {
  resize: vertical;
}
.login {
  max-width: 750px;
}
.contact-email {
  display: inline-block;
  font-size: 20px;
  margin-bottom: 40px;
  overflow-wrap: anywhere;
}
/* Contacts page: a heading that follows a plain paragraph keeps the same distance. */
.narrow > p + h2 {
  margin-top: 40px;
}
.inline {
  display: inline;
  margin: 0;
}
.text-button {
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 14px;
  padding: 0;
}
.table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}
th {
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--muted);
  white-space: nowrap;
}
td,
th {
  padding: 20px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
td:first-child,
th:first-child {
  padding-left: 0;
}
tr:last-child td {
  border-bottom: 0;
}
td small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 5px;
  overflow-wrap: anywhere;
}
td strong {
  font-size: 14px;
}
.tabs {
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}
.tabs a {
  padding: 14px 20px;
}
.tabs a[aria-current="page"] {
  border-bottom: 3px solid var(--navy);
}
.badge {
  display: inline-block;
  padding: 4px 7px;
  background: var(--blue);
  font-size: 10px;
  white-space: nowrap;
}
.pagination {
  justify-content: space-between;
  margin: 24px 0;
  font-size: 13px;
}
.admin-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  gap: 60px;
  margin: 40px 0;
}
.admin-detail h2 {
  font-size: 28px;
}
.operation-panel {
  background: var(--blue);
  padding: 28px;
}
.operation-panel > p {
  font-size: 14px;
}
.admin-detail dt {
  font-size: 11px;
  color: var(--muted);
  margin-top: 20px;
}
.admin-detail dd {
  margin: 4px 0 0;
  font-size: 14px;
}
.admin-detail summary {
  cursor: pointer;
  margin: 30px 0 16px;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
  background: var(--blue);
  padding: 20px;
}
.break {
  overflow-wrap: anywhere;
}
code {
  font-size: 11px;
  overflow-wrap: anywhere;
}
.facts {
  border-top: 1px solid var(--line);
  margin: 32px 0;
}
.facts dt {
  font-size: 11px;
  color: var(--muted);
  margin-top: 18px;
}
.facts dd {
  margin: 4px 0 18px;
  font-size: 16px;
  overflow-wrap: anywhere;
}
.result h1 {
  font-size: 52px;
}
.result > p {
  max-width: 650px;
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 1600px) {
  .hero-copy {
    padding-top: 110px;
  }
  .hero {
    min-height: 700px;
  }
}
@media (max-width: 1000px) {
  .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-copy {
    padding-top: 55px;
  }
  .hero {
    min-height: 510px;
  }
  .product-layout {
    gap: 30px;
  }
  .admin-detail {
    gap: 30px;
  }
}
@media (max-width: 700px) {
  .site-header {
    height: auto;
    min-height: 78px;
    padding: 18px 6vw;
    gap: 20px;
    flex-wrap: wrap;
  }
  .site-header nav {
    gap: 18px;
    flex-wrap: wrap;
  }
  .site-header nav a,
  .text-button {
    font-size: 12px;
  }
  .brand-logo {
    height: 56px;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 36px 6vw;
  }
  .hero-copy h1 {
    font-size: 36px;
    letter-spacing: -1.2px;
  }
  .hero-copy .lead {
    font-size: 17px;
  }
  .hero-image {
    height: 240px;
  }
  .section {
    padding: 46px 6vw;
  }
  .section-heading {
    display: block;
  }
  .section-heading > p,
  .section-heading > .button {
    margin-top: 22px;
  }
  .course-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .site-footer {
    grid-template-columns: 1fr;
  }
  .site-footer nav {
    justify-content: flex-start;
  }
  .product-layout,
  .admin-detail {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .purchase-panel {
    position: static;
  }
  .summary-line {
    display: block;
  }
  .summary-line .price {
    display: block;
    margin-top: 20px;
  }
  .tabs {
    flex-wrap: wrap;
  }
  .tabs a {
    padding: 12px;
    font-size: 12px;
  }
  .result h1 {
    font-size: 40px;
  }
  .empty {
    padding: 28px;
  }
  .notice {
    padding: 16px;
  }
  .narrow h1 {
    letter-spacing: -1.5px;
  }
  .check {
    display: block;
    padding-left: 30px;
    position: relative;
  }
  .check input {
    position: absolute;
    left: 0;
  }
  .contact-email {
    font-size: 16px;
    letter-spacing: -0.3px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
