:root {
  --bg: #f0f2f5;
  --bg-elevated: #fafbfc;
  --ink: #1c242c;
  --ink-soft: #4e5a66;
  --line: #d5dde5;
  --accent: #2a3d4f;
  --accent-hover: #1e2d3b;
  --accent-soft: #d5e0ea;
  --mist: #8fa3b5;
  --warn: #8b3d36;
  --ok: #2d6a52;
  --shadow: 0 16px 36px rgba(28, 36, 44, 0.07);
  --radius: 12px;
  --font-display: "Sora", "Trebuchet MS", sans-serif;
  --font-body: "Figtree", "Segoe UI", 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:
    radial-gradient(1100px 480px at 0% -5%, #e4ebf2 0%, transparent 55%),
    radial-gradient(800px 400px at 100% 5%, #e7e9ed 0%, transparent 50%),
    linear-gradient(180deg, #f7f8fa 0%, var(--bg) 42%, #e9edf2 100%);
  min-height: 100vh;
  line-height: 1.65;
}

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

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

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

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

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.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: #f7e8e4;
  color: var(--warn);
  border: 1px solid #e2c2ba;
  padding: 0.75rem 1rem;
  margin: 0.5rem 1rem;
  border-radius: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(250, 251, 252, 0.9);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

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

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background:
    linear-gradient(145deg, var(--accent) 0%, #3d5670 55%, var(--mist) 130%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.12);
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
}

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

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

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-elevated);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

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

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0.75rem 1.15rem;
  font-family: var(--font-body);
  font-weight: 700;
  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(--accent);
  color: #f4f7fa;
}

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

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

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ms {
  background: #12151a;
  color: #f2f4f6;
  border-color: #12151a;
  gap: 0.55rem;
}

.btn-ms::before {
  content: "";
  width: 14px;
  height: 14px;
  background:
    linear-gradient(90deg, #f35325 50%, #81bc06 50%),
    linear-gradient(90deg, #05a6f0 50%, #ffba08 50%);
  background-size: 100% 50%;
  background-position: top, bottom;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.btn-ms:hover {
  color: #fff;
  background: #242a33;
}

.btn-ms-compact {
  padding: 0.55rem 0.85rem;
  font-size: 0.82rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hero-home {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  color: #f3f6f9;
  overflow: hidden;
}

.hero-home-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-home-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 28, 38, 0.3) 0%, rgba(18, 28, 38, 0.7) 52%, rgba(18, 28, 38, 0.92) 100%),
    linear-gradient(90deg, rgba(18, 28, 38, 0.5) 0%, transparent 65%);
}

.hero-home-content {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 8vw, 6rem) 0 3.5rem;
  max-width: 40rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 7.2vw, 4.8rem);
  letter-spacing: -0.045em;
  margin: 0 0 0.35rem;
  animation: riseIn 0.85s ease both;
}

.hero-rule {
  width: 4.5rem;
  height: 3px;
  background: var(--mist);
  margin: 0 0 1.1rem;
  border: 0;
  animation: riseIn 0.85s ease 0.05s both;
}

.hero-home h1 {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: #d7e2ec;
  margin-bottom: 0.85rem;
  animation: riseIn 0.9s ease 0.1s both;
}

.hero-home .lede {
  color: #c9d5e0;
  font-size: 1.05rem;
  max-width: 34rem;
  animation: riseIn 0.9s ease 0.18s both;
}

.hero-home .btn-row {
  margin-top: 1.5rem;
  animation: riseIn 0.9s ease 0.26s both;
}

.hero-home .text-link {
  color: #e8eef4;
  font-weight: 600;
}

.page-hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 2rem;
}

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

.page-hero .lede {
  max-width: 48ch;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.page-hero-split {
  display: grid;
  gap: 2rem;
  align-items: end;
}

@media (min-width: 900px) {
  .page-hero-split {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.page-hero-visual {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 240px;
  box-shadow: var(--shadow);
}

.page-hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.section {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.section-tight {
  padding: 2rem 0;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.section-intro {
  color: var(--ink-soft);
  max-width: 52ch;
  margin-bottom: 1.75rem;
}

.proof-strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
  padding: 1.4rem 0;
}

.proof-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.proof-grid span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.feature-list {
  display: grid;
  gap: 1.5rem;
}

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

.feature-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.feature-item p {
  color: var(--ink-soft);
  margin: 0;
}

.steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  padding-top: 0.25rem;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--mist);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.step p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 0.95rem;
}

.media-band {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 860px) {
  .media-band {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .media-band.reverse {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .media-band.reverse .media-band-copy {
    order: 2;
  }
}

.media-band-visual {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  box-shadow: var(--shadow);
}

.media-band-visual img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.media-band-copy h2 {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.media-band-copy p {
  color: var(--ink-soft);
}

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

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

@media (min-width: 980px) {
  .item-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.item-link {
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
  min-height: 100%;
}

.item-link:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  color: inherit;
}

.item-link img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.item-link-body {
  padding: 1.15rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.item-link-body h3 {
  font-size: 1.15rem;
  margin: 0;
}

.item-link-body p {
  color: var(--ink-soft);
  margin: 0;
  flex: 1;
}

.meta {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.chip {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

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

@media (min-width: 800px) {
  .quote-stack {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

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

.quote p {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

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

.quote.short p {
  font-size: 0.98rem;
}

.rating {
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
}

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

@media (min-width: 860px) {
  .price-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.price-tier {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.price-tier.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, #e8eef4 0%, var(--bg-elevated) 45%);
}

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

.price-amount {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -0.03em;
}

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

.price-note {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 1rem;
}

.contact-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .contact-layout {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.contact-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.field {
  margin-bottom: 1rem;
}

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

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

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}

.field-error {
  min-height: 1.2em;
  color: var(--warn);
  font-size: 0.85rem;
  margin-top: 0.3rem;
}

.form-status {
  margin-top: 0.75rem;
  font-weight: 600;
}

.form-status.is-success {
  color: var(--ok);
}

.form-status.is-error {
  color: var(--warn);
}

.address-block {
  white-space: pre-wrap;
  color: var(--ink-soft);
}

.prose {
  max-width: 68ch;
}

.prose h2 {
  margin-top: 2rem;
  font-size: 1.4rem;
}

.prose h3 {
  margin-top: 1.4rem;
  font-size: 1.15rem;
}

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

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

.prose th {
  background: rgba(255, 255, 255, 0.65);
}

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

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

.module-list strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.25rem;
}

.instructor {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

@media (min-width: 700px) {
  .instructor {
    grid-template-columns: 140px 1fr;
  }
}

.instructor img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
}

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

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

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

.cta-band {
  background: linear-gradient(135deg, #2a3d4f 0%, #354f66 48%, #4a667d 100%);
  color: #eef3f7;
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  display: grid;
  gap: 1rem;
}

.cta-band h2 {
  margin: 0;
  color: inherit;
}

.cta-band p {
  margin: 0;
  color: #d2dde7;
  max-width: 48ch;
}

.cta-band a:not(.btn) {
  color: #fff;
}

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

.case-study h3 {
  font-size: 1.3rem;
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background: #e6ebf0;
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.3fr 0.8fr 0.9fr 1.1fr;
  }
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-tagline,
.footer-address,
.footer-disclaimer {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

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

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

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

.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-contact a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.cookie-banner {
  position: fixed;
  inset: auto 1rem 1rem 1rem;
  z-index: 80;
  animation: riseIn 0.45s ease both;
}

.cookie-banner-inner {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.2rem;
  display: grid;
  gap: 0.9rem;
}

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

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

.not-found {
  min-height: 60vh;
  display: grid;
  align-content: center;
  gap: 0.75rem;
  padding: 4rem 0;
}

.not-found .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  letter-spacing: -0.06em;
  color: var(--accent);
  line-height: 1;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, -1%, 0);
  }
}

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

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
  }

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

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

  .proof-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
}
