:root {
  --deep: #0e2a2b;
  --deep-2: #1c3d3e;
  --mint: #5cc8a3;
  --forest: #17725a;
  --forest-hover: #125c48;
  --mist: #f4f1ea;
  --paper: #ffffff;
  --ink: #0e2a2b;
  --ink-2: #586968;
  --line: #e2ddd2;
  --doce: #f08a6c;
  --ar: #63a9e6;
  --clara: #a08be8;
  --foco: #f2c14e;
  --night: #1e2150;
  --moon: #f4e2b8;
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}

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

a {
  color: var(--forest);
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 12px;
}

h2 {
  font-size: clamp(28px, 4vw, 38px);
}

h3 {
  font-size: 21px;
}

p {
  margin: 0 0 14px;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--paper);
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 10;
}

.skip-link:focus {
  left: 12px;
}

/* Header */

.site-header {
  background: var(--deep);
  color: var(--mist);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 25px;
  letter-spacing: -0.03em;
}

.site-nav {
  display: flex;
  gap: 22px;
  font-size: 15px;
}

.site-nav a {
  color: var(--mist);
  text-decoration: none;
  opacity: 0.85;
}

.site-nav a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Hero */

.hero {
  background: var(--deep);
  color: var(--mist);
  padding: 40px 0 72px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 60px);
  margin-bottom: 18px;
}

.hero h1 mark {
  background: none;
  color: var(--mint);
}

.hero-lead {
  font-size: 19px;
  color: #d5e2dd;
  max-width: 36em;
  margin-bottom: 28px;
}

.hero-photo {
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  max-height: 460px;
  justify-self: end;
  box-shadow: 0 24px 60px rgb(0 0 0 / 35%);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--forest);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

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

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button-ghost {
  color: var(--mist);
  font-weight: 600;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  color: #c3d4ce;
}

.hero-facts li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  margin-right: 8px;
  vertical-align: middle;
}

/* Sections */

.section {
  padding: 72px 0;
}

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

.section-intro {
  max-width: 40em;
  color: var(--ink-2);
  margin-bottom: 32px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.section-alt .card {
  background: var(--mist);
  border-color: transparent;
}

.program-featured {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  background: var(--night);
  color: var(--moon);
  border-radius: 24px;
  padding: 30px;
  margin-bottom: 20px;
}

.program-featured p {
  color: #d9d7e8;
  margin: 0;
}

.program-featured h3 {
  font-size: 26px;
  color: #ffffff;
}

.program-featured .button {
  background: #edc46a;
  color: var(--night);
}

.program-featured .button:hover {
  background: #f4d48c;
}

.program-logo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: #2b2f6b;
  padding: 10px;
}

.status {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.status-live {
  background: #2e7d5b;
  color: #ffffff;
}

.status-soon {
  background: #e9e5db;
  color: var(--ink-2);
}

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

.program-grid .card {
  height: 100%;
}

.program-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
}

.program-grid h3 span {
  font-weight: 500;
}

.program-grid p {
  color: var(--ink-2);
  font-size: 15px;
  margin: 0;
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
}

.steps .card::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--deep);
  color: var(--mint);
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 14px;
}

.steps p {
  color: var(--ink-2);
  margin: 0;
}

/* Prices */

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.price-group {
  margin-bottom: 12px;
}

.price-table th,
.price-table td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.price-table thead th {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  background: #faf8f3;
}

.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td {
  border-bottom: none;
}

.price-table td.price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  white-space: nowrap;
  text-align: right;
}

.price-table thead th:last-child {
  text-align: right;
}

.price-table small {
  display: block;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 400;
}

.price-notes {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-2);
  font-size: 15px;
}

.price-notes li {
  margin-bottom: 6px;
}

/* Facts grid */

.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.fact-grid p {
  color: var(--ink-2);
  margin: 0;
}

/* Contact */

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.contact-email {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  word-break: break-word;
}

.contact dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
}

.contact dt {
  font-weight: 600;
}

.contact dd {
  margin: 0;
  color: var(--ink-2);
}

.notice {
  background: #fff7e6;
  border: 1px solid #f0dfb5;
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: 15px;
  color: #5b4a24;
  margin-top: 32px;
}

.notice p:last-child {
  margin: 0;
}

/* Legal pages */

.doc {
  max-width: 760px;
  padding-top: 48px;
  padding-bottom: 72px;
}

.doc h1 {
  font-size: clamp(32px, 5vw, 44px);
}

.doc h2 {
  font-size: 22px;
  margin-top: 32px;
}

.doc .updated {
  color: var(--ink-2);
}

.doc ul {
  padding-left: 22px;
}

.doc li {
  margin-bottom: 6px;
}

/* Footer */

.site-footer {
  background: var(--deep);
  color: #c3d4ce;
  padding: 40px 0;
  font-size: 15px;
}

.site-footer .container {
  display: grid;
  gap: 18px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-top .wordmark {
  color: var(--mist);
  font-size: 22px;
}

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

.site-footer a {
  color: var(--mist);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .program-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps,
  .fact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    padding: 24px 0 56px;
  }

  .hero .container,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    justify-self: stretch;
    aspect-ratio: 4 / 3;
    max-height: 320px;
    order: -1;
  }

  .program-featured {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 0;
  }

  .price-table th,
  .price-table td {
    padding: 14px;
  }
}

@media (max-width: 600px) {
  .price-table thead {
    display: none;
  }

  .price-table,
  .price-table tbody {
    display: block;
  }

  .price-table tr {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
    padding: 16px;
    border-bottom: 1px solid var(--line);
  }

  .price-table tbody tr:last-child {
    border-bottom: none;
  }

  .price-table th,
  .price-table td {
    padding: 0;
    border: none;
  }

  .price-table td:not(.price) {
    grid-column: 1 / -1;
    grid-row: 2;
    color: var(--ink-2);
    font-size: 15px;
  }

  .price-table td.price {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 480px) {
  .program-grid {
    grid-template-columns: 1fr;
  }
}
