:root {
  --ink: #181615;
  --muted: #6f6762;
  --paper: #fbf8f2;
  --paper-2: #f1eee6;
  --line: #ded6c8;
  --wine: #6f2430;
  --wine-dark: #4b1820;
  --sage: #6f8577;
  --blue: #273f52;
  --gold: #b18a4d;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(24, 22, 21, 0.12);
  --radius: 8px;
  --font-sans: "Manrope", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    linear-gradient(90deg, rgba(24, 22, 21, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(24, 22, 21, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  z-index: -1;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  min-height: 74px;
  margin: 16px auto 0;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(222, 214, 200, 0.78);
  background: rgba(251, 248, 242, 0.88);
  backdrop-filter: blur(18px);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(24, 22, 21, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 50%;
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  padding: 10px 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
  background: var(--paper-2);
  outline: none;
}

.nav .nav-cta {
  color: var(--paper);
  background: var(--wine);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero,
.section,
.proof-strip,
.final-cta,
.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 112px);
  padding: 72px 0 42px;
}

.hero-copy {
  max-width: 700px;
}

.eyebrow,
.section-kicker,
.case-label,
.tariff {
  margin: 0 0 14px;
  color: var(--wine);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  text-wrap: balance;
}

h1,
h2 {
  font-family: var(--font-sans);
  font-weight: 800;
}

h1 {
  max-width: 780px;
  font-size: 112px;
  line-height: 0.9;
}

.lead {
  max-width: 630px;
  margin: 28px 0 0;
  font-size: 38px;
  line-height: 1.14;
  font-weight: 800;
  text-wrap: balance;
}

.hero-note {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.hero-actions,
.price-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button.primary {
  color: var(--paper);
  background: var(--wine);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--wine-dark);
}

.button.secondary,
.button.ghost {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.56);
}

.hero-media {
  position: relative;
  align-self: stretch;
  min-height: 540px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  max-height: 720px;
  object-fit: cover;
  object-position: 50% 42%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
}

.hero-card {
  position: absolute;
  left: -38px;
  bottom: 36px;
  width: min(260px, 70%);
  padding: 18px;
  color: var(--paper);
  background: var(--blue);
  border-radius: var(--radius);
  box-shadow: 0 18px 36px rgba(39, 63, 82, 0.26);
}

.hero-card span {
  display: block;
  margin-bottom: 6px;
  color: rgba(251, 248, 242, 0.72);
  font-size: 13px;
}

.hero-card strong {
  font-size: 22px;
  line-height: 1.12;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.proof-strip div {
  min-height: 126px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.58);
}

.proof-strip strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
}

.proof-strip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: clamp(70px, 10vw, 120px) 0 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
}

.section h2,
.final-cta h2 {
  font-size: 62px;
  line-height: 1.04;
}

.section-heading p,
.copy-block p,
.final-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.split {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: center;
}

.portrait-stack {
  position: relative;
  min-height: 650px;
}

.portrait {
  position: absolute;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.portrait.main {
  inset: 0 auto auto 0;
  width: 74%;
  height: 580px;
  object-position: 50% 42%;
}

.portrait.small {
  right: 0;
  bottom: 0;
  width: 44%;
  height: 360px;
  border: 10px solid var(--paper);
  object-position: 50% 35%;
}

.copy-block h2 {
  margin-bottom: 24px;
}

.check-list,
.plain-list,
.case-card ul,
.price-card ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list {
  display: grid;
  gap: 12px;
}

.check-list li,
.plain-list li,
.case-card li,
.price-card li {
  position: relative;
  padding-left: 26px;
  line-height: 1.55;
}

.check-list li::before,
.plain-list li::before,
.case-card li::before,
.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  background: var(--sage);
  border-radius: 50%;
}

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

.audience-grid span {
  min-height: 72px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.52);
  border-radius: var(--radius);
  font-weight: 800;
}

.inline-cta {
  display: inline-flex;
  margin-top: 24px;
  color: var(--wine);
  font-weight: 800;
  text-underline-offset: 5px;
}

.program-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1fr);
  gap: 32px;
}

.program-intro {
  display: grid;
  gap: 22px;
  align-content: start;
}

.program-intro img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: 50% 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.plain-list {
  display: grid;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.48);
  border-radius: var(--radius);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.timeline article {
  min-height: 190px;
  padding: 24px;
  color: var(--paper);
  background: var(--ink);
  border-radius: var(--radius);
}

.timeline article:nth-child(2) {
  background: var(--blue);
}

.timeline article:nth-child(3) {
  background: var(--wine);
}

.timeline article:nth-child(4) {
  background: var(--sage);
}

.timeline .bonus {
  grid-column: 1 / -1;
  min-height: 146px;
  color: var(--ink);
  border: 1px solid var(--gold);
  background: rgba(177, 138, 77, 0.15);
}

.timeline span {
  display: inline-block;
  margin-bottom: 18px;
  color: currentColor;
  opacity: 0.72;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.timeline h3 {
  font-size: 26px;
}

.timeline p {
  margin: 10px 0 0;
  line-height: 1.5;
}

.case-grid {
  display: grid;
  gap: 16px;
}

.case-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
}

.case-card img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: 50% 0;
}

.case-body {
  padding: clamp(24px, 4vw, 44px);
}

.case-body h3 {
  margin: 18px 0 8px;
  color: var(--wine);
  font-size: 18px;
}

.case-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.case-body ul {
  display: grid;
  gap: 8px;
}

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

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  border-radius: var(--radius);
}

.price-card.featured {
  color: var(--paper);
  border-color: var(--wine);
  background: var(--wine);
  box-shadow: var(--shadow);
}

.price-card.featured .tariff,
.price-card.featured li,
.price-card.featured .price span {
  color: rgba(251, 248, 242, 0.78);
}

.price-card.featured li::before {
  background: var(--gold);
}

.price-card h3 {
  margin-bottom: 24px;
  font-size: 26px;
  line-height: 1.14;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.price-card li {
  color: var(--muted);
}

.price {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid currentColor;
}

.price span {
  display: block;
  color: var(--muted);
  font-size: 18px;
  text-decoration: line-through;
}

.price strong {
  display: block;
  margin-top: 2px;
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
}

.price-actions {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 22px;
}

.price-card.featured .button.primary {
  color: var(--wine);
  background: var(--paper);
}

.price-card.featured .button.ghost {
  color: var(--paper);
  border-color: rgba(251, 248, 242, 0.42);
  background: transparent;
}

.installment {
  display: inline-flex;
  justify-content: center;
  color: currentColor;
  font-weight: 800;
  text-align: center;
  text-underline-offset: 5px;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(70px, 10vw, 120px);
  padding: clamp(28px, 5vw, 56px);
  color: var(--paper);
  background: var(--blue);
  border-radius: var(--radius);
}

.final-cta .eyebrow {
  color: var(--gold);
}

.final-cta p {
  max-width: 600px;
  margin-top: 14px;
  color: rgba(251, 248, 242, 0.76);
}

.footer {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 48px 0 36px;
  color: var(--muted);
}

.footer img {
  width: 120px;
  height: 150px;
  object-fit: cover;
  object-position: 50% 0;
  border-radius: var(--radius);
  filter: grayscale(1);
}

.footer strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 800;
}

.footer p {
  margin: 6px 0 10px;
}

.footer a {
  color: var(--wine);
  font-weight: 800;
  text-underline-offset: 5px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.legal-page {
  background: var(--paper);
}

.legal-page .site-header {
  position: static;
}

.legal-nav {
  margin-left: auto;
}

.legal-document {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 96px;
}

.legal-document h1 {
  font-size: 68px;
  line-height: 1;
}

.legal-document section {
  padding-top: 34px;
}

.legal-document h2 {
  font-family: var(--font-sans);
  font-size: 22px;
  line-height: 1.25;
}

.legal-document p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.legal-document a {
  color: var(--wine);
  font-weight: 800;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  max-width: min(360px, calc(100vw - 36px));
  padding: 14px 16px;
  color: var(--paper);
  background: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

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

@media (max-width: 980px) {
  h1 {
    font-size: 84px;
  }

  .lead {
    font-size: 32px;
  }

  .proof-strip strong {
    font-size: 44px;
  }

  .section h2,
  .final-cta h2 {
    font-size: 50px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 52px;
  }

  .hero-media {
    min-height: 620px;
  }

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

  .section-heading,
  .split,
  .program-layout,
  .case-card {
    grid-template-columns: 1fr;
  }

  .portrait-stack {
    min-height: 560px;
  }

  .portrait.main {
    height: 500px;
  }

  .case-card img {
    min-height: 360px;
    max-height: 520px;
  }

  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

  .nav a {
    border-radius: var(--radius);
  }

  .hero,
  .section,
  .proof-strip,
  .final-cta,
  .footer {
    width: min(100% - 20px, 1180px);
  }

  .hero {
    padding-top: 40px;
  }

  h1 {
    font-size: 56px;
    line-height: 0.95;
  }

  .lead {
    font-size: 26px;
    line-height: 1.18;
  }

  .hero-actions,
  .final-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-media {
    min-height: 520px;
  }

  .hero-media::before {
    inset: 14px -10px -10px 14px;
  }

  .hero-card {
    left: 14px;
    bottom: 14px;
  }

  .section h2,
  .final-cta h2 {
    font-size: 38px;
  }

  .proof-strip strong {
    font-size: 38px;
  }

  .price strong {
    font-size: 34px;
  }

  .legal-document h1 {
    font-size: 42px;
  }

  .portrait-stack {
    min-height: auto;
  }

  .portrait {
    position: static;
  }

  .portrait.main,
  .portrait.small {
    width: 100%;
    height: auto;
  }

  .portrait.small {
    margin-top: 12px;
    border: 0;
  }

  .timeline,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .timeline article {
    min-height: 150px;
  }

  .case-body {
    padding: 22px;
  }

  .price-card {
    padding: 22px;
  }

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

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