:root {
  --ink: #152028;
  --ink-soft: #3d4a54;
  --muted: #6b7780;
  --line: #dce3e6;
  --paper: #f6f8f7;
  --white: #ffffff;
  --accent: #0e4d45;
  --accent-deep: #083830;
  --accent-soft: #e4efed;
  --warm: #c4a574;
  --danger: #9b2c2c;
  --ok: #1f6b4a;
  --radius: 2px;
  --max: 1120px;
  --header-h: 72px;
  --font-display: "Newsreader", "Georgia", serif;
  --font-body: "Sora", "Helvetica Neue", sans-serif;
  --shadow: 0 18px 40px rgba(21, 32, 40, 0.06);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 1000;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 248, 247, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.94);
}

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

.brand {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.03em;
}

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

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

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

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

.site-nav .nav-cta {
  background: var(--accent);
  color: var(--white);
  padding: 0.55rem 1rem;
  border-radius: var(--radius);
}

.site-nav .nav-cta:hover {
  background: var(--accent-deep);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s var(--ease);
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  }
  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }
  .site-nav .nav-cta {
    margin-top: 0.75rem;
    text-align: center;
    border: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

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

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

.btn-primary:hover {
  background: var(--accent-deep);
  color: var(--white);
}

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

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

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

.section {
  padding: 5rem 0;
}

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

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

.lead {
  font-size: 1.125rem;
  max-width: 38rem;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background:
    linear-gradient(135deg, rgba(14, 77, 69, 0.08) 0%, transparent 42%),
    linear-gradient(180deg, #eef3f1 0%, var(--paper) 100%);
  overflow: hidden;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 1.25rem 4rem clamp(1.25rem, 6vw, 5rem);
  max-width: 640px;
  margin-left: auto;
  animation: rise 0.9s var(--ease) both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.95;
  margin: 0 0 1.25rem;
  color: var(--ink);
  letter-spacing: -0.04em;
}

.hero-line {
  width: 3.5rem;
  height: 2px;
  background: var(--warm);
  margin-bottom: 1.5rem;
  transform-origin: left;
  animation: draw 0.8s 0.2s var(--ease) both;
}

.hero-statement {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--ink-soft);
  max-width: 28rem;
  margin-bottom: 2rem;
}

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

.hero-visual {
  position: relative;
  min-height: 420px;
  animation: fade 1.1s 0.15s var(--ease) both;
}

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

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

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

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

@keyframes draw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-copy {
    margin: 0;
    max-width: none;
    padding: 3rem 1.25rem 2rem;
  }
  .hero-visual {
    min-height: 280px;
    order: -1;
  }
  .hero-visual::after {
    background: linear-gradient(180deg, transparent 40%, rgba(238, 243, 241, 0.85) 100%);
  }
}

.proof-bar {
  border-block: 1px solid var(--line);
  background: var(--white);
}

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

.proof-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--ink);
  font-weight: 500;
}

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

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

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

.course-preview img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.benefit-list {
  display: grid;
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.benefit-item {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.25rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}

.benefit-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--warm);
}

.quote-band {
  background: var(--accent);
  color: var(--white);
  padding: 4.5rem 0;
}

.quote-band blockquote {
  margin: 0;
  max-width: 42rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.35;
  font-weight: 400;
}

.quote-band cite {
  display: block;
  margin-top: 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-style: normal;
  opacity: 0.85;
}

.page-hero {
  padding: 4.5rem 0 3rem;
  background:
    radial-gradient(ellipse at top right, rgba(14, 77, 69, 0.1), transparent 50%),
    linear-gradient(180deg, #eef3f1, var(--paper));
  border-bottom: 1px solid var(--line);
}

.page-hero h1 { margin-bottom: 0.75rem; }

.breadcrumb {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

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

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

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

@media (max-width: 800px) {
  .grid-2,
  .grid-3,
  .course-preview {
    grid-template-columns: 1fr;
  }
}

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

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

.media-tile a {
  text-decoration: none;
  color: inherit;
  display: block;
}

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

.media-tile .tile-body {
  padding: 1.35rem 1.35rem 1.5rem;
}

.media-tile h3 {
  margin-bottom: 0.45rem;
  font-size: 1.25rem;
}

.media-tile p {
  font-size: 0.95rem;
  margin: 0;
}

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

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

.price-tier.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-soft), var(--white) 40%);
}

.price-tier h3 { margin-bottom: 0.35rem; }

.price-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--ink);
  margin: 1rem 0 0.35rem;
}

.price-amount span {
  font-size: 1rem;
  color: var(--muted);
  font-family: var(--font-body);
}

.price-tier ul {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.75rem;
  flex: 1;
}

.price-tier li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink-soft);
}

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

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

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

.review {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.75rem;
}

.review p:last-child { margin-bottom: 0; }

.review-attr {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.stars {
  color: var(--warm);
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
}

.case-study {
  border-left: 3px solid var(--accent);
  padding: 0.25rem 0 0.25rem 1.5rem;
  margin: 2rem 0;
}

.form {
  display: grid;
  gap: 1.15rem;
  max-width: 36rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form-row label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(14, 77, 69, 0.25);
  border-color: var(--accent);
}

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

.form-status {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 0.92rem;
  display: none;
}

.form-status.is-success {
  display: block;
  background: #e7f4ec;
  color: var(--ok);
  border: 1px solid #b7dcc7;
}

.form-status.is-error {
  display: block;
  background: #f8eaea;
  color: var(--danger);
  border: 1px solid #e4bcbc;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
}

.contact-aside {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.75rem;
  height: fit-content;
}

.contact-aside address {
  font-style: normal;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

@media (max-width: 800px) {
  .contact-panel { grid-template-columns: 1fr; }
}

.legal {
  max-width: 46rem;
}

.legal h2 {
  margin-top: 2.5rem;
  font-size: 1.45rem;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1.25rem 0;
}

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

.legal th {
  background: var(--accent-soft);
  color: var(--ink);
}

.modules {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.module {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 1.15rem 1.25rem;
}

.module h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.module p { margin: 0; font-size: 0.95rem; }

.instructor {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.25rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.25rem;
  margin: 1.5rem 0;
}

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

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

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

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

.cta-band {
  background:
    linear-gradient(120deg, var(--accent-deep), var(--accent));
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin-inline: auto; }

.cta-band .btn-primary {
  background: var(--white);
  color: var(--accent-deep);
}

.cta-band .btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.cta-band .btn-ghost:hover {
  border-color: var(--white);
  color: var(--white);
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 4rem 0 0;
  margin-top: 2rem;
}

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-tag,
.footer-address {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.footer-heading {
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 600;
}

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

.footer-links a,
.footer-phone a,
.footer-email a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-links a:hover,
.footer-phone a:hover,
.footer-email a:hover {
  color: var(--white);
}

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

.footer-base {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.15rem 1.25rem;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-base p { margin: 0; color: inherit; }

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

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

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.35rem;
  display: none;
}

.cookie-banner.is-visible { display: block; animation: rise 0.4s var(--ease); }

.cookie-banner p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

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

.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1.25rem;
}

.error-page .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 8rem);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.prose-wide {
  max-width: 40rem;
}

.inline-error {
  background: #f8eaea;
  color: var(--danger);
  border: 1px solid #e4bcbc;
  padding: 0.75rem 1rem;
  margin: 1rem 0;
  font-size: 0.9rem;
}

.article-meta {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 2rem;
}

.article body,
.article p {
  max-width: 42rem;
}

.cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  margin: 0 0 2rem;
  border-radius: var(--radius);
}

.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}

.split-feature img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.split-feature .text {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 800px) {
  .split-feature { grid-template-columns: 1fr; }
}

.list-check {
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.list-check li { margin-bottom: 0.55rem; }
