:root {
  --bg: #f7efe2;
  --bg-soft: #fff9f1;
  --surface: rgba(255, 252, 247, 0.84);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --text: #3b3143;
  --ink: #201726;
  --muted: #6a5d72;
  --line: rgba(63, 42, 31, 0.12);
  --accent: #175f58;
  --accent-dark: #24162d;
  --berry: #8a436f;
  --sand: #d89b36;
  --shadow: 0 18px 48px rgba(40, 24, 47, 0.12);
  --max: 1180px;
  --radius-xl: 36px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(circle at top left, rgba(216, 155, 54, 0.16), transparent 24%),
    radial-gradient(circle at top right, rgba(138, 67, 111, 0.14), transparent 22%),
    radial-gradient(circle at bottom right, rgba(23, 95, 88, 0.14), transparent 24%),
    linear-gradient(180deg, #fbf4ea 0%, #f4ebdd 48%, #f8f3eb 100%);
}

.page-glow {
  position: fixed;
  z-index: -1;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.35;
}

.page-glow-left {
  top: 48px;
  left: -120px;
  background: rgba(216, 155, 54, 0.32);
}

.page-glow-right {
  right: -110px;
  bottom: 90px;
  background: rgba(23, 95, 88, 0.24);
}

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

:focus-visible {
  outline: 3px solid rgba(29, 79, 71, 0.28);
  outline-offset: 3px;
}

p,
li {
  line-height: 1.72;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 999px;
  color: #f9faf7;
  background: var(--accent);
  transition: top 0.18s ease;
}

.skip-link:focus-visible {
  top: 12px;
}

.shell {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.brand,
h1,
h2,
h3,
.offer-kicker,
.section-label {
  font-family: "Fraunces", serif;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(255, 249, 240, 0.76);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-row {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  color: var(--ink);
  font-size: 1.72rem;
  font-weight: 700;
}

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

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 20px;
  border-radius: 999px;
  white-space: nowrap;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-solid {
  color: #fff9f0;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  box-shadow: 0 16px 30px rgba(28, 64, 69, 0.24);
}

.header-cta {
  min-height: 50px;
  padding: 12px 22px;
}

.button-outline,
.button-ghost {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.64);
}

.hero {
  position: relative;
  padding: 18px 0 24px;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 28%, rgba(216, 155, 54, 0.12), transparent 24%),
    radial-gradient(circle at 90% 16%, rgba(138, 67, 111, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 55%);
  pointer-events: none;
}

.hero-layout,
.fit-grid,
.choice-layout {
  display: grid;
  gap: 28px;
}

.hero-layout {
  grid-template-columns: minmax(0, 1fr) 326px;
  align-items: start;
}

.hero-copy,
.hero-offer,
.cta-box {
  animation: rise 0.75s ease both;
}

.hero-copy {
  max-width: none;
  padding-top: 2px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 296px;
  grid-template-areas:
    "eyebrow photo"
    "title photo"
    "text photo"
    "actions photo"
    "strip strip";
  column-gap: 32px;
  align-items: start;
}

.eyebrow {
  grid-area: eyebrow;
  margin: 0 0 14px;
  color: var(--sand);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  grid-area: title;
  margin: 0;
  color: var(--ink);
  max-width: 7.5ch;
  font-size: clamp(2.2rem, 3.9vw, 3.65rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero-text {
  grid-area: text;
  margin: 12px 0 0;
  max-width: 34ch;
  font-size: 0.95rem;
  color: var(--muted);
}

.hero-actions {
  grid-area: actions;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 16px;
  max-width: 34rem;
}

.hero-actions .button,
.cta-actions .button {
  min-width: 290px;
}

.hero-visual,
.story-photo {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(23, 23, 23, 0.08);
  box-shadow: var(--shadow);
}

.hero-visual {
  grid-area: photo;
  margin: 18px 8px 0 0;
  max-width: 324px;
  place-self: start end;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero-visual img,
.story-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-visual img {
  border-radius: 30px;
  box-shadow: 0 24px 60px rgba(40, 24, 47, 0.16);
  object-position: center top;
}

.hero-visual figcaption {
  display: none;
}

.hero-strip {
  grid-area: strip;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.hero-strip strong,
.fit-point strong,
.choice-item strong,
.format-price strong {
  display: block;
  margin-bottom: 6px;
}

.hero-strip span,
.section-note,
.fit-point p,
.choice-item p,
.cta-copy p,
.format-lead,
.format-block p,
.hero-offer p {
  color: var(--muted);
}

.hero-offer {
  position: sticky;
  top: 74px;
  padding: 18px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(248, 240, 231, 0.9));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.offer-kicker,
.section-label {
  margin: 0 0 10px;
  color: var(--sand);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-offer h2,
.fit-intro h2,
.section-head h2,
.choice-copy h2,
.cta-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.offer-list {
  margin: 10px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 4px;
}

.offer-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.offer-meta > div {
  min-height: 68px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
}

.offer-cta {
  width: 100%;
  margin-top: 12px;
}

.offer-meta span,
.format-price span,
.block-label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.fit-section,
.story-section,
.formats-section,
.choice-section,
.cta-section {
  padding: 64px 0;
}

.fit-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.fit-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.fit-point {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.fit-point p {
  margin: 8px 0 0;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: 28px;
  align-items: center;
}

.story-photo {
  margin: 0;
}

.story-copy {
  padding: 12px 0;
}

.story-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.1rem, 3.6vw, 3.4rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  font-family: "Fraunces", serif;
}

.story-copy p {
  margin: 14px 0 0;
  color: var(--muted);
  max-width: 54ch;
}

.story-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.story-points div {
  min-height: 104px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
}

.story-points strong {
  display: block;
  margin-bottom: 8px;
}

.story-points span {
  color: var(--muted);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-note {
  max-width: 30ch;
  margin: 0;
}

.format-rows {
  display: grid;
  gap: 14px;
}

.format-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.2fr) 170px;
  gap: 24px;
  align-items: start;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.format-row:hover {
  transform: translateY(-2px);
}

.format-row > * {
  position: relative;
  z-index: 1;
}

.format-link-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
}

.format-row:has(.format-link-overlay:hover),
.format-row:has(.format-link-overlay:focus-visible) {
  border-color: rgba(23, 95, 88, 0.28);
  box-shadow: 0 22px 52px rgba(40, 24, 47, 0.16);
}

.format-cta {
  width: 100%;
  margin-top: auto;
  position: relative;
  z-index: 2;
}

.format-row-featured {
  position: relative;
  border-color: rgba(23, 95, 88, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(248, 240, 231, 0.9));
}

.featured-mark {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.format-title-row {
  display: flex;
  align-items: end;
  gap: 12px;
}

.format-index {
  color: var(--sand);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.format-row h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.format-lead {
  margin: 12px 0 0;
  font-weight: 600;
}

.format-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.format-block ul {
  margin: 8px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.format-block p {
  margin: 8px 0 0;
}

.format-price {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.choice-layout {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
}

.choice-list {
  display: grid;
  gap: 16px;
}

.choice-item {
  padding: 0 0 16px;
  border-bottom: 1px solid var(--line);
}

.choice-item p {
  margin: 8px 0 0;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(255, 252, 247, 0.92), rgba(248, 240, 231, 0.9));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.cta-copy p {
  margin: 12px 0 0;
  max-width: 58ch;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: stretch;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 1181px) and (max-height: 860px) {
  .hero {
    padding: 18px 0 20px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) 326px;
    gap: 22px;
  }

  h1 {
    font-size: clamp(2.2rem, 3.9vw, 3.7rem);
    max-width: 9ch;
  }

  .hero-text {
    margin-top: 12px;
    font-size: 0.95rem;
  }

  .hero-actions {
    margin-top: 16px;
  }

  .hero-visual {
    margin-top: 4px;
    max-width: 210px;
  }

  .hero-strip {
    display: none;
  }

  .hero-offer {
    top: 74px;
    padding: 18px;
  }
}

@media (max-width: 1080px) {
  .hero-layout,
  .fit-grid,
  .story-layout,
  .choice-layout,
  .format-row,
  .format-details {
    grid-template-columns: 1fr;
  }

  .format-price {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 18px;
  }

  .hero-offer {
    position: static;
  }

  .hero-copy {
    display: block;
  }

  .hero-visual {
    margin: 16px 0 0;
    max-width: 360px;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.52);
    border: 1px solid rgba(23, 23, 23, 0.08);
    box-shadow: var(--shadow);
  }

  .hero-visual img {
    aspect-ratio: 4 / 3;
    border-radius: 0;
    box-shadow: none;
  }

  .hero-visual figcaption {
    display: block;
    padding: 12px 16px 16px;
    color: var(--muted);
    font-size: 0.9rem;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .story-copy {
    padding: 0;
  }
}

@media (max-width: 820px) {
  .hero {
    padding-top: 24px;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(2.4rem, 11vw, 4rem);
  }

  .hero-strip,
  .fit-points,
  .story-points,
  .offer-meta {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 720px) {
  .header-row {
    min-height: auto;
    padding: 14px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    gap: 14px;
  }

  .hero-offer,
  .format-row,
  .cta-box {
    padding: 22px;
  }

  .button,
  .cta-actions .button {
    width: 100%;
  }

  .hero-actions .button {
    min-width: 0;
  }
}
