:root {
  --gold: #f2a93b;
  --gold-dark: #d99120;
  --gold-soft: #ffd080;
  --bg: #d9d9d9;
  --bg-muted: #cecece;
  --surface: #ffffff;
  --text: #111111;
  --text-muted: #3d3d3d;
  --accent: var(--gold);
  --accent-hover: var(--gold-dark);
  --accent-ink: #111111;
  --border: rgba(0, 0, 0, 0.1);
  --radius: 12px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: #1a5a9e;
  text-decoration: none;
}

a:hover {
  color: #0d3d6b;
}

.wrap {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--gold);
  border-bottom: 2px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--accent-ink);
}

/* Hamburger toggle — hidden on desktop */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle__bar {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--accent-ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.is-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  align-items: center;
  justify-content: flex-end;
  font-size: 0.9375rem;
}

.nav a {
  color: rgba(0, 0, 0, 0.78);
  font-weight: 500;
}

.nav a:hover {
  color: var(--accent-ink);
}

.nav-cta {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--accent-ink);
  color: var(--gold) !important;
  font-weight: 600;
}

.nav-cta:hover {
  background: #2a2a2a;
  color: var(--gold-soft) !important;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--gold);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    padding: 0.5rem 0;
    z-index: 20;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 1rem;
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .nav .nav-cta--desktop {
    display: none;
  }
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .header-actions {
    display: flex;
  }
}

@media (min-width: 769px) {
  .header-actions {
    display: none;
  }
}

.hero {
  padding: 3.5rem 0 4rem;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.eyebrow {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-dark);
  margin: 0 0 0.75rem;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  color: var(--text);
}

.lede {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
  max-width: 40ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1px solid transparent;
}

.btn.primary {
  background: var(--gold);
  color: var(--accent-ink);
  border-color: rgba(0, 0, 0, 0.15);
}

.btn.primary:hover {
  background: var(--gold-dark);
  color: var(--accent-ink);
}

.btn.ghost {
  border-color: rgba(0, 0, 0, 0.25);
  color: var(--text);
  background: rgba(255, 255, 255, 0.5);
}

.btn.ghost:hover {
  border-color: var(--accent-ink);
  background: #fff;
}

.phone-frame {
  background: var(--surface);
  border-radius: 2rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  max-width: 280px;
  margin-inline: auto;
  box-shadow: var(--shadow);
}

.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.35rem;
  background: #c4c4c4;
}

.section {
  padding: 4rem 0;
}

.section.muted {
  background: var(--bg-muted);
}

.section-title {
  font-size: 1.5rem;
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.split {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}

.steps {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.steps li {
  margin-bottom: 0.65rem;
}

.how-section .how-steps {
  margin: 0 0 2.5rem;
  max-width: 65ch;
}

.how-carousel {
  position: relative;
  margin: 0 auto;
  max-width: min(920px, 100%);
}

.how-carousel__viewport {
  position: relative;
  overflow: hidden;
  padding: 1.25rem 0 0.25rem;
  touch-action: pan-y;
}

.how-carousel__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.32, 1);
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .how-carousel__track {
    transition-duration: 0.01ms;
  }

  .how-carousel__slide {
    transition-duration: 0.01ms !important;
  }
}

.how-carousel__slide {
  flex: 0 0 auto;
  width: min(300px, 82vw);
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.32, 1),
    filter 0.55s ease,
    opacity 0.55s ease;
}

.how-carousel__slide:not(.is-active) {
  transform: scale(0.78);
  filter: blur(5px);
  opacity: 0.42;
  pointer-events: none;
}

.how-carousel__slide.is-active {
  transform: scale(1);
  filter: none;
  opacity: 1;
  z-index: 1;
}

.how-carousel__btn {
  position: absolute;
  top: 42%;
  z-index: 4;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  background: var(--gold);
  color: var(--accent-ink);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: background 0.2s, transform 0.2s;
}

.how-carousel__btn:hover {
  background: var(--gold-dark);
}

.how-carousel__btn:active {
  transform: scale(0.96);
}

.how-carousel__btn--prev {
  left: clamp(0.15rem, 2vw, 0.75rem);
}

.how-carousel__btn--next {
  right: clamp(0.15rem, 2vw, 0.75rem);
}

.how-carousel__meta {
  text-align: center;
  margin: 1rem 0 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.how-carousel__of {
  margin: 0 0.2rem;
  opacity: 0.7;
}

.shot {
  margin: 0;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 0.75rem;
  text-align: center;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.shot img {
  display: block;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  height: auto;
  border-radius: 0.75rem;
  background: #c4c4c4;
  flex-shrink: 0;
}

.shot figcaption {
  margin-top: 0.65rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
  flex-grow: 1;
}

.cta-panel {
  text-align: center;
}

.cta-panel.narrow {
  max-width: 520px;
  margin-inline: auto;
}

.cta-text {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

.cta-panel .cta-text a {
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  background: #cfcfcf;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.footer-inner a {
  color: var(--text-muted);
  font-weight: 500;
}

.footer-inner a:hover {
  color: var(--text);
}

.section-lede {
  margin: -0.5rem 0 2rem;
  max-width: 62ch;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

/* Programs — intro + cards */
.programs-section {
  padding: 5rem 0 4.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.programs-header {
  max-width: 42rem;
  margin-bottom: 3rem;
  padding-left: 1.25rem;
  border-left: 4px solid var(--gold);
}

.programs-eyebrow {
  margin: 0 0 0.875rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-dark);
}

.programs-title {
  margin: 0 0 1.125rem;
  font-size: clamp(1.625rem, 3.2vw, 2.125rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.035em;
  color: var(--text);
}

.programs-lede {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 48ch;
}

.program-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .program-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.program-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem 1.6rem;
  padding-top: 1.75rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 12px 32px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.program-card:hover {
  border-color: rgba(0, 0, 0, 0.14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 16px 40px rgba(0, 0, 0, 0.08);
}

.program-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.6rem;
  right: 1.6rem;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  opacity: 0.95;
}

.program-card__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(0, 0, 0, 0.35);
  margin-bottom: 0.5rem;
}

.program-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
}

.program-card > p {
  margin: 0 0 1.1rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.58;
}

.program-card ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.program-card li {
  margin-bottom: 0.5rem;
  padding-left: 0.15rem;
}

.program-card li::marker {
  color: var(--gold-dark);
}

.program-card li:last-child {
  margin-bottom: 0;
}

.program-card strong {
  color: var(--text);
  font-weight: 600;
}

.feature-card__link {
  margin: 0.85rem 0 0;
  font-size: 0.9375rem;
}

.feature-card__link a {
  font-weight: 600;
}

.page-dashboard {
  padding-bottom: 2rem;
}

.dash-page-hero {
  padding-top: 2rem;
  border-bottom: 1px solid var(--border);
}

.dash-page-title {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}

.dash-page-lede {
  margin: 0 0 1rem;
  max-width: 68ch;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

.dash-page-lede:last-of-type {
  margin-bottom: 0;
}

.dash-page-lede a {
  font-weight: 600;
}

.dash-login-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.5rem;
}

.dash-login-hint {
  margin: 1rem 0 0;
  max-width: 62ch;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.dash-login-hint code {
  font-size: 0.75rem;
  padding: 0.1em 0.35em;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 4px;
}

.dash-block {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .dash-block {
    grid-template-columns: 1fr 1.15fr;
  }

  .dash-block--reverse .dash-block__text {
    order: 2;
  }

  .dash-block--reverse .dash-figure {
    order: 1;
  }
}

.dash-block__text .section-title {
  margin-top: 0;
}

.dash-block__text > p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin: 0 0 1rem;
}

.dash-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.dash-list li {
  margin-bottom: 0.45rem;
}

.dash-figure {
  margin: 0;
}

.dash-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #e8e8e8;
}

.dash-figure figcaption {
  margin-top: 0.65rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.dash-more__text {
  max-width: 65ch;
  color: var(--text-muted);
  font-size: 1.0625rem;
  margin: 0 0 0.5rem;
}

.dash-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
