:root {
  --bg: #eef2f5;
  --bg-deep: #e3e9ef;
  --surface: #fbfcfd;
  --ink: #1a2430;
  --muted: #5c6b7a;
  --line: #cfd8e1;
  --accent: #2f6b5a;
  --accent-hover: #255648;
  --accent-soft: #d7e7e1;
  --gold: #b08d3e;
  --danger: #8b3a3a;
  --success: #2f6b5a;
  --shadow: 0 12px 32px rgba(26, 36, 48, 0.08);
  --radius: 14px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", "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%, rgba(47, 107, 90, 0.12), transparent 55%),
    radial-gradient(900px 420px at 90% 0%, rgba(176, 141, 62, 0.1), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  min-height: 100vh;
  line-height: 1.6;
}

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: 550;
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(100% - 2.5rem, 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;
  border-radius: 8px;
}

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(251, 252, 253, 0.86);
  border-bottom: 1px solid rgba(207, 216, 225, 0.8);
}

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

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

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

.brand-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  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);
  text-decoration: none;
  font-size: 0.95rem;
}

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

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

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

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 10px;
  padding: 0.75rem 1.2rem;
  font: inherit;
  font-weight: 560;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

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

.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: #0f2a22;
  color: #f4f7f6;
  border-color: #0f2a22;
}

.btn-ms:hover {
  background: #16382e;
  color: #fff;
}

.btn-ms-sm {
  padding: 0.55rem 0.9rem;
  font-size: 0.88rem;
}

.btn-link {
  background: none;
  border: none;
  color: var(--accent);
  padding: 0;
  text-decoration: underline;
  font: inherit;
  cursor: pointer;
}

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

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 28, 24, 0.25) 0%, rgba(16, 28, 24, 0.72) 68%, rgba(16, 28, 24, 0.88) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 4.5rem 0 3.5rem;
  max-width: 38rem;
  animation: fadeUp 900ms ease both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin: 0 0 0.35em;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 500;
  max-width: 18ch;
  color: #f4f7f6;
}

.hero-lead {
  color: rgba(244, 247, 246, 0.9);
  font-size: 1.05rem;
  max-width: 36ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
  align-items: center;
}

.hero-actions .text-link {
  color: #e8f0ed;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-kicker {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.muted {
  color: var(--muted);
}

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

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

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

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.panel-media {
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  margin-bottom: 1rem;
  aspect-ratio: 16 / 10;
}

.panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  padding: 1.75rem 0;
  border-block: 1px solid var(--line);
  margin: 0;
  list-style: none;
}

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

.benefit-list {
  display: grid;
  gap: 1.25rem;
}

.benefit-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35em;
}

.split-band {
  background: linear-gradient(120deg, rgba(47, 107, 90, 0.1), rgba(176, 141, 62, 0.08));
  border-block: 1px solid var(--line);
}

.quote {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.35;
  margin: 0 0 1rem;
}

.quote-meta {
  color: var(--muted);
  font-size: 0.95rem;
}

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

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

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 650;
}

.cta-band {
  background: #18362e;
  color: #eef5f2;
  border-radius: calc(var(--radius) + 4px);
  padding: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: center;
}

.cta-band h2 {
  color: #fff;
  margin: 0 0 0.4rem;
}

.cta-band p {
  margin: 0;
  color: rgba(238, 245, 242, 0.85);
  max-width: 40ch;
}

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

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

.price-tier.is-featured {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

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

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

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

/* Forms */
.field {
  margin-bottom: 1rem;
}

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

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  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 rgba(47, 107, 90, 0.35);
  border-color: var(--accent);
}

.field-error {
  color: var(--danger);
  font-size: 0.9rem;
  margin: 0.35rem 0 0;
}

.form-status {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 10px;
}

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

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

/* Blog / course lists */
.list-stack {
  display: grid;
  gap: 1.25rem;
}

.list-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.list-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 160px;
}

.list-item-body {
  padding: 1.2rem 1.2rem 1.2rem 0;
}

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

.article {
  max-width: 720px;
}

.article .lead {
  font-size: 1.15rem;
  color: var(--muted);
}

.article-hero {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 1.5rem 0 2rem;
  aspect-ratio: 21 / 9;
}

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

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

.module-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.1rem;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.7rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

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

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

th {
  background: rgba(47, 107, 90, 0.06);
}

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

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

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

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

.breadcrumb a {
  color: inherit;
  text-decoration: none;
}

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

/* Footer */
.site-footer {
  margin-top: 4rem;
  background: #152029;
  color: #d7e0e8;
  padding: 3rem 0 1.5rem;
}

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

.site-footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 0 0 0.5rem;
  color: #fff;
}

.footer-tagline {
  color: #aebcc8;
  margin-bottom: 1rem;
}

.footer-heading {
  color: #fff;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-address {
  font-style: normal;
  color: #aebcc8;
  margin-bottom: 0.75rem;
}

.footer-contact {
  margin: 0 0 0.35rem;
}

.footer-bottom {
  border-top: 1px solid rgba(215, 224, 232, 0.15);
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  color: #9aabba;
  font-size: 0.92rem;
}

.footer-disclaimer a {
  text-decoration: underline;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner-inner {
  width: min(100%, 720px);
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 1.1rem 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner-inner p {
  margin: 0;
  max-width: 42ch;
  color: var(--muted);
}

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

/* Motion */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

.stars {
  color: var(--gold);
  letter-spacing: 0.08em;
}

/* 404 */
.center-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 0;
}

/* Responsive */
@media (max-width: 960px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .price-grid,
  .footer-grid,
  .list-item {
    grid-template-columns: 1fr;
  }

  .list-item-body {
    padding: 0 1.2rem 1.2rem;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--surface);
    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;
  }

  .header-inner {
    position: relative;
  }

  .price-tier.is-featured {
    transform: none;
  }
}

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

  .hero-media img {
    transform: none;
  }
}
