:root {
  --ink: #1e2a2e;
  --ink-soft: #3a4a50;
  --muted: #6a787e;
  --line: #d7ddd9;
  --paper: #f5f7f6;
  --paper-deep: #e8eee9;
  --surface: #ffffff;
  --accent: #3f6b5a;
  --accent-deep: #2d4f42;
  --accent-soft: #dce8e1;
  --warn: #8a4b2f;
  --shadow: 0 1px 0 rgba(30, 42, 46, 0.04);
  --radius: 10px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 72px;
  --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);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, #e3ece7 0%, transparent 55%),
    radial-gradient(900px 400px at 100% 0%, #eef2f0 0%, transparent 45%),
    linear-gradient(180deg, var(--paper) 0%, #f8faf9 48%, var(--paper-deep) 100%);
  line-height: 1.65;
  min-height: 100vh;
}

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

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

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

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

p {
  margin: 0 0 1em;
}

.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: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(245, 247, 246, 0.88);
  border-bottom: 1px solid rgba(215, 221, 217, 0.85);
}

.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);
}

.brand-mark {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 0.45rem;
  background:
    linear-gradient(145deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.15);
}

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

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  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;
}

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

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.15rem;
  border-radius: 8px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}

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

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

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

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

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

.btn-ms {
  background: var(--ink);
  color: #f4f7f5;
  border-color: var(--ink);
  white-space: nowrap;
}

.btn-ms:hover {
  background: #10171a;
  color: #fff;
}

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

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

.section {
  padding: 4.5rem 0;
}

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

.section-head {
  max-width: 38rem;
  margin-bottom: 2.25rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
}

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

.hero-panel {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  color: #f5f8f6;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 24, 27, 0.28) 0%, rgba(16, 24, 27, 0.72) 68%, rgba(16, 24, 27, 0.9) 100%),
    var(--hero-image, url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1800&q=80")) center/cover no-repeat;
  transform: scale(1.04);
  animation: heroDrift 18s var(--ease) infinite alternate;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 5.5rem 1.25rem 3.5rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  letter-spacing: -0.04em;
  margin: 0 0 0.45rem;
  animation: riseIn 0.9s var(--ease) both;
}

.hero-title {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 500;
  max-width: 22ch;
  margin: 0 0 0.85rem;
  animation: riseIn 1s var(--ease) 0.08s both;
}

.hero-copy {
  max-width: 36ch;
  color: rgba(245, 248, 246, 0.88);
  margin-bottom: 1.4rem;
  animation: riseIn 1s var(--ease) 0.16s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: riseIn 1s var(--ease) 0.24s both;
}

.hero-actions .btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.hero-actions .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

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

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

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

.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.benefit-grid,
.card-grid,
.tier-grid,
.post-grid,
.module-list {
  display: grid;
  gap: 1.25rem;
}

.post-grid {
  grid-template-columns: repeat(3, 1fr);
}

.benefit-grid {
  grid-template-columns: repeat(3, 1fr);
}

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

.benefit h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.card-grid {
  grid-template-columns: repeat(3, 1fr);
}

.item-card,
.tier,
.post-card,
.review-card,
.case-study {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.item-card,
.post-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

.item-body,
.post-body,
.tier,
.review-card,
.case-study {
  padding: 1.25rem 1.3rem 1.4rem;
}

.item-card h3,
.post-card h3,
.tier h3 {
  font-size: 1.2rem;
}

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

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
}

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

.quote-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
}

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

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

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

.band {
  background: linear-gradient(135deg, var(--accent-soft), #f3f6f4 55%, #e7efe9);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.tier-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.tier.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, #fff 0%, #f2f7f4 100%);
}

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

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

.module-list {
  grid-template-columns: 1fr;
}

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

.module-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent);
}

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

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

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

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

.form label {
  font-weight: 600;
}

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

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

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

.form-status {
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  display: none;
}

.form-status.is-success {
  display: block;
  background: #e8f3eb;
  border-color: #b7d4c0;
}

.form-status.is-error {
  display: block;
  background: #f8ece7;
  border-color: #e0c1b2;
}

.inline-error {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border: 1px solid #e0c1b2;
  background: #f8ece7;
  border-radius: 8px;
  color: var(--warn);
}

.site-footer {
  margin-top: 3rem;
  background: #1e2a2e;
  color: #d7e0db;
}

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

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

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

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

.footer-heading {
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

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

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

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

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

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

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
}

.cookie-banner-inner {
  max-width: 820px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(30, 42, 46, 0.12);
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

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

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

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

.legal-content th {
  background: var(--paper-deep);
}

.avatar-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.avatar-row img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--line);
}

.post-content {
  max-width: 42rem;
}

.post-content h2 {
  margin-top: 2rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  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);
  }
}

@media (max-width: 960px) {
  .benefit-grid,
  .card-grid,
  .tier-grid,
  .post-grid,
  .proof-strip,
  .quote-grid,
  .split,
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(245, 247, 246, 0.98);
    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;
    gap: 0.7rem;
  }

  .benefit-grid,
  .card-grid,
  .tier-grid,
  .post-grid,
  .proof-strip,
  .quote-grid,
  .split,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-content {
    padding-top: 4.5rem;
  }
}
