:root {
  --bg: #f5f7f6;
  --bg-elevated: #ffffff;
  --ink: #152028;
  --ink-soft: #3d4d5c;
  --muted: #6a7a88;
  --line: #d5dde3;
  --accent: #0d5c5c;
  --accent-deep: #084545;
  --accent-soft: #e3f0ee;
  --sand: #e8ebe6;
  --danger: #9b2c2c;
  --success: #1f6b4a;
  --radius: 2px;
  --shadow-soft: 0 18px 40px rgba(21, 32, 40, 0.06);
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(13, 92, 92, 0.08), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(120, 140, 120, 0.1), transparent 50%),
    linear-gradient(180deg, #eef2f0 0%, var(--bg) 28%, #f8f9f7 100%);
  min-height: 100vh;
}

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

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

h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
}

h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

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

.wrap {
  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(245, 247, 246, 0.86);
  border-bottom: 1px solid rgba(213, 221, 227, 0.7);
}

.header-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  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.65rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

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

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

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

.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;
  cursor: pointer;
  font: inherit;
  color: var(--ink);
}

.nav-toggle-bars {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor;
  margin-left: 0.55rem;
}

.nav-toggle-label {
  font-size: 0.85rem;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  background: var(--accent);
  color: #f7fbfa;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  background: var(--accent-deep);
  color: #fff;
  transform: translateY(-1px);
}

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

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

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

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 28, 32, 0.82) 0%, rgba(8, 28, 32, 0.55) 42%, rgba(8, 28, 32, 0.28) 100%),
    linear-gradient(0deg, rgba(8, 28, 32, 0.55), transparent 45%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 5.5rem 0 4rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0 0 1.1rem;
  animation: riseIn 0.9s ease both;
}

.hero-line {
  max-width: 34rem;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  color: rgba(244, 247, 246, 0.88);
  margin-bottom: 1.75rem;
  animation: riseIn 0.9s ease 0.12s both;
}

.hero .btn {
  animation: riseIn 0.9s ease 0.22s both;
}

.section {
  padding: 4.75rem 0;
}

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

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

.lead {
  font-size: 1.15rem;
  max-width: 40rem;
}

.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

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

  .split-reverse > :first-child {
    order: 2;
  }
}

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

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

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.35rem;
}

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

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1.25rem;
}

.feature-list li {
  padding-left: 1.15rem;
  border-left: 2px solid var(--accent);
}

.feature-list h3 {
  margin-bottom: 0.25rem;
}

.course-preview {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 760px) {
  .course-preview {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: stretch;
  }
}

.media-frame {
  overflow: hidden;
  background: var(--sand);
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.media-frame:hover img {
  transform: scale(1.03);
}

.course-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem 0;
}

.course-meta .price {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--ink);
  margin: 0.75rem 0 1.25rem;
}

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

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

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

.quote p {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  line-height: 1.4;
}

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

.cta-band {
  background:
    linear-gradient(135deg, rgba(13, 92, 92, 0.09), transparent 55%),
    var(--bg-elevated);
  border-block: 1px solid var(--line);
}

.site-footer {
  margin-top: 2rem;
  background: #10181e;
  color: #c8d2da;
  padding: 3.5rem 0 1.5rem;
}

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

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

.footer-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: grid;
  gap: 2rem;
}

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

.footer-name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: #f4f7f6;
  margin-bottom: 0.4rem;
}

.footer-tag,
.footer-contact p {
  color: #a7b4be;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

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

.footer-base {
  width: min(100% - 2.5rem, var(--max));
  margin: 2.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  color: #8b9aa5;
}

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

.page-hero h1 {
  max-width: 18ch;
}

.page-hero .lead {
  margin-top: 0.5rem;
}

.grid-3 {
  display: grid;
  gap: 1.75rem;
}

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

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

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

.item-block {
  padding: 0 0 1.5rem;
  border-bottom: 1px solid var(--line);
}

.item-block .thumb {
  margin-bottom: 1rem;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--sand);
}

.item-block .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.item-block:hover .thumb img {
  transform: scale(1.04);
}

.item-block h3 a {
  color: var(--ink);
  text-decoration: none;
}

.item-block h3 a:hover {
  color: var(--accent);
}

.price-tiers {
  display: grid;
  gap: 1.5rem;
}

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

.tier {
  padding: 1.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.tier h3 {
  margin-bottom: 0;
}

.tier .amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--ink);
  line-height: 1;
}

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

.tier li + li {
  margin-top: 0.4rem;
}

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

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

.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 500;
  color: var(--ink);
  font-size: 0.95rem;
}

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

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

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

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

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

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  border-color: var(--success);
  background: #eef8f2;
  color: var(--success);
}

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

.contact-panel {
  display: grid;
  gap: 2.5rem;
}

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

.legal {
  max-width: 46rem;
}

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

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

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

.legal th {
  background: rgba(255, 255, 255, 0.7);
}

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

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

.faq details p {
  margin-top: 0.65rem;
}

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

.module-list li {
  counter-increment: module;
  padding: 1.15rem 0 1.15rem 3rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.module-list li::before {
  content: counter(module, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.15rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--accent);
}

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

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

.instructor img {
  width: 160px;
  height: 160px;
  object-fit: cover;
}

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

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

.review .stars {
  letter-spacing: 0.1em;
  color: var(--accent);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

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

.case-study h3 {
  max-width: 22ch;
}

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

.cookie-banner.is-visible {
  display: block;
  animation: riseIn 0.45s ease both;
}

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

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

.inline-error {
  margin: 1rem auto;
  width: min(100% - 2.5rem, var(--max));
  padding: 0.85rem 1rem;
  border: 1px solid var(--danger);
  background: #fdf2f2;
  color: var(--danger);
}

.not-found {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 3rem 1.25rem;
}

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

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

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

@media (max-width: 900px) {
  .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.35rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

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

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

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