:root {
  --bg: #f7f6f3;
  --bg-elevated: #ffffff;
  --ink: #1b2a33;
  --ink-soft: #4a5a64;
  --muted: #6e7c85;
  --line: #d9e0e4;
  --accent: #1b3a4b;
  --accent-soft: #3d8b9c;
  --accent-wash: #e8f1f5;
  --sand: #efeae2;
  --danger: #9b3b2e;
  --success: #1f6b4a;
  --radius: 2px;
  --shadow: 0 18px 40px rgba(27, 58, 75, 0.08);
  --font-display: "Fraunces", Georgia, 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(1200px 500px at 10% -10%, #e8f1f5 0%, transparent 55%),
    radial-gradient(900px 420px at 100% 0%, #efeae2 0%, transparent 50%),
    var(--bg);
  line-height: 1.65;
  min-height: 100vh;
}

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

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(247, 246, 243, 0.86);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand span {
  color: var(--accent-soft);
}

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

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

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

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  padding: 0.45rem 0.7rem;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  padding: 0.75rem 1.25rem;
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

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

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

.btn--primary:hover {
  background: #142c39;
  color: #fff;
}

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

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

.btn--light {
  background: var(--bg-elevated);
  color: var(--accent);
}

.hero {
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
}

.hero--asymmetric {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: end;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--accent);
  margin-bottom: 1.25rem;
  animation: rise 0.8s ease both;
}

.hero-lede {
  font-size: 1.15rem;
  max-width: 34ch;
  animation: rise 0.8s ease 0.12s both;
}

.hero-meta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  animation: rise 0.8s ease 0.22s both;
}

.hero-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--accent);
  font-weight: 500;
}

.hero-meta span {
  font-size: 0.88rem;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-height: 420px;
  animation: fade-in 1s ease 0.15s both;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
  filter: saturate(0.85) contrast(1.05);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 35%;
  background: linear-gradient(transparent, rgba(27, 58, 75, 0.35));
  pointer-events: none;
}

.section {
  padding: 4rem 0;
}

.section--sand {
  background: var(--sand);
}

.section--wash {
  background: var(--accent-wash);
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--accent-soft);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  max-width: 18ch;
}

.section-intro {
  max-width: 58ch;
  margin-bottom: 2rem;
}

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

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

.feature {
  padding: 0.25rem 0;
}

.feature h3 {
  font-size: 1.25rem;
}

.feature p {
  margin-bottom: 0;
}

.course-tile {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.course-tile:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

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

.course-tile__body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.course-tile h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.course-tile h3 a {
  color: inherit;
  text-decoration: none;
}

.course-tile h3 a:hover {
  color: var(--accent-soft);
}

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

.proof-band {
  border-block: 1px solid var(--line);
  padding: 1.75rem 0;
  background: var(--bg-elevated);
}

.proof-band .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
}

.proof-item strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--accent);
  display: block;
}

.quote {
  border-left: 2px solid var(--accent-soft);
  padding: 0.25rem 0 0.25rem 1.25rem;
}

.quote p {
  font-size: 1.05rem;
  color: var(--ink);
}

.quote footer {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--accent);
  color: #e8f1f5;
  padding: 2.5rem;
}

.cta-panel h2,
.cta-panel p {
  color: #e8f1f5;
}

.cta-panel p {
  opacity: 0.88;
  max-width: 42ch;
}

.site-footer {
  margin-top: 3rem;
  background: var(--accent);
  color: #d7e4ea;
  padding: 3rem 0 2rem;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-legal {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.88rem;
}

.page-hero {
  padding: 3.5rem 0 2rem;
}

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

.page-hero p {
  max-width: 58ch;
}

.prose {
  max-width: 68ch;
}

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

.prose h3 {
  margin-top: 1.5rem;
  font-size: 1.2rem;
}

.prose ul,
.prose ol {
  color: var(--ink-soft);
  padding-left: 1.2rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

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

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

.price-tier--focus {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

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

.price-amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--accent);
  margin: 0.5rem 0 1rem;
}

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

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

.form {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 1.75rem;
  max-width: 560px;
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-size: 0.95rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.7rem 0.8rem;
  font: inherit;
  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);
  outline-offset: 1px;
}

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

.form-status {
  margin-top: 1rem;
  font-size: 0.95rem;
}

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

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

.contact-aside {
  background: var(--sand);
  padding: 1.5rem;
  border: 1px solid var(--line);
}

.contact-aside h2 {
  font-size: 1.2rem;
}

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

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
}

.faq details p {
  margin: 0.75rem 0 0;
}

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

.module-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.75rem;
}

.module-list strong {
  font-family: var(--font-display);
  color: var(--accent-soft);
}

.blog-list article {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.blog-list img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.article-hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  margin: 1.5rem 0 2rem;
}

.case-study {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

.rating {
  letter-spacing: 0.08em;
  color: var(--accent-soft);
  font-size: 0.9rem;
}

.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

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

th {
  background: var(--accent-wash);
  color: var(--ink);
}

.cookie-banner {
  position: fixed;
  inset: auto 1rem 1rem 1rem;
  z-index: 60;
  max-width: 720px;
  margin-inline: auto;
  left: 1rem;
  right: 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  animation: rise 0.45s ease both;
}

.cookie-banner__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner__text {
  margin: 0;
  flex: 1 1 280px;
  font-size: 0.92rem;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.6rem;
}

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

.not-found {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1rem;
}

.not-found h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  margin-bottom: 0.3rem;
}

.media-caption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

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

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 900px) {
  .hero--asymmetric,
  .grid-3,
  .pricing-grid,
  .footer-grid,
  .cta-panel,
  .blog-list article,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .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);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.85rem;
  }

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

  .header-inner {
    position: relative;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 280px;
  }
}
