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

:root {
  --ink: #13252a;
  --ink-soft: #2a4148;
  --teal: #1f6f78;
  --teal-deep: #15545b;
  --brass: #b87a1f;
  --brass-soft: #d9a24a;
  --bg: #e7eef1;
  --bg-2: #f4f8f9;
  --surface: #ffffff;
  --line: #c5d3d8;
  --muted: #5c7076;
  --danger: #9b2c2c;
  --ok: #1f6b43;
  --radius: 6px;
  --shadow: 0 1px 0 rgba(19, 37, 42, 0.06);
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --max: 1120px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(231, 238, 241, 0.92), rgba(244, 248, 249, 0.96)),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 11px,
      rgba(31, 111, 120, 0.035) 11px,
      rgba(31, 111, 120, 0.035) 12px
    );
  background-attachment: fixed;
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: var(--teal-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--brass);
}

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

p {
  margin: 0 0 1em;
}

ul {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
}

.inline-error {
  background: #fde8e8;
  color: var(--danger);
  border: 1px solid #f0b4b4;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  margin: 0.75rem 0;
}

#site-header,
#site-footer {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(244, 248, 249, 0.92);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.brand-mark {
  width: 1.35rem;
  height: 1.35rem;
  border: 2px solid var(--teal);
  background:
    linear-gradient(135deg, var(--brass-soft) 0 35%, transparent 35%),
    linear-gradient(315deg, var(--teal) 0 28%, transparent 28%);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 550;
  font-size: 0.95rem;
}

.nav-list a[aria-current="page"],
.nav-list a:hover {
  color: var(--teal-deep);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  position: relative;
}

.nav-toggle-bar::before {
  position: absolute;
  top: -5px;
}

.nav-toggle-bar::after {
  position: absolute;
  top: 5px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 650;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: var(--teal);
  color: #fff;
}

.btn-primary:hover {
  background: var(--teal-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
}

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

.btn-ms:hover {
  background: #0b171a;
  color: #fff;
}

.btn-ms-footer {
  margin-top: 0.75rem;
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.section {
  margin: 3.5rem 0;
}

.section-label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 42rem;
}

.hero-home {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: calc(100vh - var(--header-h));
  max-width: none;
  margin: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.hero-home-copy {
  padding: clamp(2rem, 6vw, 5rem) clamp(1.25rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 12% 18%, rgba(217, 162, 74, 0.18), transparent 42%),
    linear-gradient(160deg, #f7fafb 0%, #e3ecef 100%);
  position: relative;
  z-index: 1;
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 0 0 1.25rem;
  color: var(--ink);
  max-width: 10ch;
  animation: rise-in 0.8s ease both;
}

.hero-home-copy .hero-line {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  max-width: 28rem;
  color: var(--ink-soft);
  margin-bottom: 1.75rem;
  animation: rise-in 0.8s ease 0.12s both;
}

.hero-home-copy .btn {
  align-self: flex-start;
  animation: rise-in 0.8s ease 0.22s both;
}

.hero-home-media {
  position: relative;
  min-height: 420px;
}

.hero-home-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 100%;
  animation: kenburns 18s ease-in-out infinite alternate;
}

.hero-home-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(231, 238, 241, 0.55), transparent 35%);
  pointer-events: none;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes kenburns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: 0;
}

.proof-item {
  background: var(--bg-2);
  padding: 1.5rem 1.25rem;
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  margin-bottom: 0.25rem;
}

.proof-item span {
  color: var(--muted);
  font-size: 0.95rem;
}

.feature-course {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.feature-course img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 1px solid var(--line);
}

.benefit-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.benefit-list li {
  padding-left: 1.25rem;
  border-left: 3px solid var(--brass);
}

.benefit-list h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.media-tile {
  display: block;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
  transition: border-color 0.2s ease;
}

.media-tile:hover {
  border-color: var(--teal);
  color: inherit;
}

.media-tile img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  margin-bottom: 0.85rem;
  border: 1px solid var(--line);
}

.media-tile h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.media-tile p {
  color: var(--muted);
  margin: 0;
  font-size: 0.98rem;
}

.quote-stack {
  display: grid;
  gap: 1.5rem;
}

.quote {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.quote p {
  font-size: 1.15rem;
  max-width: 46rem;
}

.quote footer {
  color: var(--muted);
  font-size: 0.92rem;
}

.cta-band {
  margin: 4rem 0 1rem;
  padding: 2.25rem;
  background: linear-gradient(135deg, #1f6f78, #15545b 55%, #13252a);
  color: #f4f8f9;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: rgba(244, 248, 249, 0.88);
  max-width: 36rem;
}

.cta-band .btn-ms {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.cta-band .btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  margin-left: 0.5rem;
}

.page-hero {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2.5rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  max-width: 16ch;
}

.page-hero.wide h1 {
  max-width: 22ch;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.price-tier {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.price-tier h2 {
  font-size: 1.35rem;
}

.price-tier .amount {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0.4rem 0 1rem;
}

.price-tier ul {
  flex: 1;
  color: var(--ink-soft);
  padding-left: 1.1em;
}

.price-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.module-list {
  counter-reset: module;
  list-style: none;
  padding: 0;
}

.module-list li {
  counter-increment: module;
  padding: 1rem 0 1rem 3rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.module-list li::before {
  content: counter(module, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1rem;
  font-family: var(--font-display);
  color: var(--teal);
  font-weight: 700;
}

.instructor {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem;
  align-items: center;
}

.instructor img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
  font-family: var(--font-display);
}

.faq details p {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
}

.review-grid {
  display: grid;
  gap: 1.5rem;
}

.review-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.review-item .stars {
  color: var(--brass);
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.case-study {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.case-study h3 {
  margin-bottom: 0.5rem;
}

.blog-article {
  max-width: 720px;
}

.blog-article .meta {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.blog-cover {
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
  margin: 0 0 1.75rem;
  border: 1px solid var(--line);
}

.form {
  display: grid;
  gap: 1rem;
}

.field label {
  display: block;
  font-weight: 650;
  margin-bottom: 0.35rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  background: var(--surface);
  color: var(--ink);
}

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

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.field-error {
  color: var(--danger);
  font-size: 0.88rem;
  min-height: 1.1em;
  margin-top: 0.3rem;
}

.muted {
  color: var(--muted);
  font-weight: 500;
}

.form-status {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
}

.form-status-success {
  background: #e7f6ee;
  color: var(--ok);
  border: 1px solid #b7e0c7;
}

.form-status-error {
  background: #fde8e8;
  color: var(--danger);
  border: 1px solid #f0b4b4;
}

.contact-aside p {
  margin-bottom: 0.75rem;
}

.legal {
  max-width: 760px;
}

.legal h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.92rem;
}

.legal th,
.legal td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
  background: var(--surface);
}

.legal th {
  background: var(--bg-2);
}

.site-footer {
  background: #13252a;
  color: #d7e2e6;
  margin-top: 3rem;
}

.site-footer a {
  color: #d7e2e6;
}

.site-footer a:hover {
  color: var(--brass-soft);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.75rem 1.25rem 2rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 1.75rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}

.footer-heading {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  text-decoration: none;
}

.footer-address,
.footer-tag,
.footer-disclaimer {
  color: #a9bcc2;
  font-size: 0.92rem;
}

.footer-disclaimer {
  margin-top: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem 1.5rem;
  color: #8ea3aa;
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  max-width: 720px;
  margin: 0 auto;
}

.cookie-banner-inner {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.2rem;
  display: grid;
  gap: 0.9rem;
}

.cookie-banner-text {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.error-page {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.75rem;
}

.error-page h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  margin: 0;
}

.timeline {
  list-style: none;
  padding: 0;
  border-left: 2px solid var(--line);
  margin-left: 0.5rem;
}

.timeline li {
  padding: 0 0 1.5rem 1.25rem;
  position: relative;
}

.timeline li::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  background: var(--brass);
  border: 2px solid var(--bg);
  position: absolute;
  left: -0.45rem;
  top: 0.35rem;
}

@media (max-width: 960px) {
  .hero-home,
  .feature-course,
  .split,
  .price-grid,
  .footer-inner,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .proof-band {
    grid-template-columns: 1fr;
  }

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

  .instructor {
    grid-template-columns: 100px 1fr;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    flex-direction: column;
    align-items: stretch;
  }

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

  .nav-list {
    flex-direction: column;
  }

  .cta-band .btn-ghost {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .hero-home {
    min-height: auto;
  }

  .hero-home-media {
    min-height: 280px;
  }

  .hero-home-media::after {
    background: linear-gradient(0deg, rgba(231, 238, 241, 0.35), transparent 40%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
