@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: dark;
  --bg: #090507;
  --surface: rgba(20, 11, 16, 0.86);
  --surface-strong: #140d11;
  --surface-soft: #211019;
  --ink: #f7e8da;
  --ink-strong: #fff5ec;
  --ink-soft: #cbb5a8;
  --ink-muted: #9c8177;
  --line: rgba(247, 232, 218, 0.12);
  --line-strong: rgba(247, 232, 218, 0.2);
  --accent: #ff4d77;
  --accent-strong: #ff295d;
  --gold: #d8b27b;
  --violet: #5c1f46;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 77, 119, 0.16), transparent 26%),
    radial-gradient(circle at 88% 14%, rgba(216, 178, 123, 0.1), transparent 24%),
    radial-gradient(circle at 50% 78%, rgba(92, 31, 70, 0.33), transparent 30%),
    linear-gradient(180deg, #050305 0%, #090507 24%, #13070c 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 100% 120px, 120px 100%;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.36), transparent 82%);
}

body::after {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 244, 229, 0.06), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 12%);
  mix-blend-mode: screen;
}

a {
  color: inherit;
}

.shell {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 96px;
}

.shell-wide {
  width: min(1280px, calc(100% - 40px));
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 30;
  width: min(1280px, calc(100% - 40px));
  margin: 16px auto 0;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: 24px;
  border: 1px solid rgba(247, 232, 218, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 34%),
    rgba(11, 6, 8, 0.78);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
}

.topbar::before {
  content: "";
  position: absolute;
  inset: auto 22px 0 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 178, 123, 0.34), transparent);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  text-decoration: none;
  color: var(--ink-strong);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.7rem, 2.3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

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

.topbar-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
  flex-wrap: wrap;
}

.topbar-nav a,
.hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(247, 232, 218, 0.09);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-soft);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.topbar-nav a:hover,
.hero-secondary:hover {
  transform: translateY(-1px);
  color: var(--ink-strong);
  border-color: rgba(216, 178, 123, 0.28);
  background: rgba(255, 255, 255, 0.055);
}

.topbar-cta,
.hero-cta,
.cta-line,
.mobile-affiliate-bar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff6ef;
  font-weight: 800;
  letter-spacing: 0.01em;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 34%),
    linear-gradient(135deg, #a21d47 0%, var(--accent-strong) 42%, #ff7b6a 100%);
  border: 1px solid rgba(255, 181, 195, 0.22);
  box-shadow: 0 14px 34px rgba(162, 29, 71, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.topbar-cta:hover,
.hero-cta:hover,
.cta-line:hover,
.mobile-affiliate-bar:hover {
  transform: translateY(-1px);
  filter: saturate(1.04);
  box-shadow: 0 18px 38px rgba(162, 29, 71, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.topbar-cta {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  white-space: nowrap;
}

.hero {
  display: grid;
  gap: 24px;
  margin-bottom: 24px;
}

.hero-copy,
.quick-panel,
.panel,
.mini-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-copy,
.quick-panel,
.panel {
  padding: 34px;
}

.hero-copy {
  min-height: 470px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  background:
    radial-gradient(circle at 84% 16%, rgba(255, 77, 119, 0.2), transparent 18%),
    radial-gradient(circle at 18% 20%, rgba(216, 178, 123, 0.14), transparent 22%),
    linear-gradient(135deg, rgba(92, 31, 70, 0.52), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 24%),
    linear-gradient(145deg, #14090e 0%, #090507 46%, #1f0c14 100%);
}

.hero-copy::before {
  content: "";
  position: absolute;
  right: -12%;
  top: -18%;
  width: clamp(260px, 32vw, 420px);
  aspect-ratio: 0.82;
  border-radius: 34px;
  transform: rotate(14deg);
  border: 1px solid rgba(247, 232, 218, 0.09);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(160deg, rgba(216, 178, 123, 0.18), rgba(255, 77, 119, 0.08));
  opacity: 0.88;
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto 28px 24px auto;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 77, 119, 0.22), transparent 68%);
  filter: blur(6px);
}

.hero-copy > * {
  position: relative;
  z-index: 1;
}

.quick-panel {
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 77, 119, 0.18), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 20%),
    linear-gradient(180deg, #13090d 0%, #0b0608 100%);
}

.quick-panel::after {
  content: "";
  position: absolute;
  inset: auto -54px -78px auto;
  width: 210px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 178, 123, 0.18), transparent 66%);
}

.eyebrow,
.quick-title {
  margin: 0 0 18px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border-radius: 999px;
  border: 1px solid rgba(247, 232, 218, 0.11);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-soft);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--accent));
  box-shadow: 0 0 18px rgba(255, 77, 119, 0.46);
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 17ch;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.35rem, 4.85vw, 5.85rem);
  line-height: 0.9;
  font-weight: 700;
  color: var(--ink-strong);
  text-wrap: balance;
}

h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.15rem, 2.8vw, 3.1rem);
  line-height: 0.98;
  font-weight: 700;
  color: var(--ink-strong);
}

h3 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.08rem, 1.4vw, 1.22rem);
  line-height: 1.18;
  font-weight: 800;
  color: var(--ink-strong);
}

.lead {
  max-width: 58ch;
  margin-top: 14px;
  font-size: clamp(1.03rem, 1.28vw, 1.16rem);
  line-height: 1.76;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  width: 100%;
}

.hero-cta,
.hero-secondary {
  min-height: 54px;
  padding: 14px 20px;
  border-radius: 18px;
}

.hero-stats {
  display: grid;
  gap: 14px;
  width: min(760px, 100%);
  margin-top: 28px;
}

.stat-card {
  position: relative;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(247, 232, 218, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 34%),
    linear-gradient(180deg, rgba(19, 11, 16, 0.88), rgba(12, 7, 9, 0.94));
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(255, 77, 119, 0.8));
}

.stat-value {
  display: block;
  margin-bottom: 6px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.1rem, 2.8vw, 2.8rem);
  line-height: 0.95;
  color: var(--ink-strong);
}

.stat-label {
  font-size: 0.94rem;
  color: var(--ink-soft);
}

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

.quick-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 18px;
  border: 1px solid rgba(247, 232, 218, 0.09);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-soft);
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.quick-link:hover {
  transform: translateY(-1px);
  border-color: rgba(216, 178, 123, 0.22);
  background: rgba(255, 255, 255, 0.055);
  color: var(--ink-strong);
}

.quick-link.current {
  border-color: rgba(255, 181, 195, 0.28);
  background: linear-gradient(135deg, rgba(255, 77, 119, 0.18), rgba(216, 178, 123, 0.12));
  color: var(--ink-strong);
}

.quick-note {
  margin-top: 18px;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.panel {
  margin-bottom: 24px;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 22%),
    linear-gradient(180deg, rgba(20, 11, 16, 0.92), rgba(14, 8, 11, 0.96));
}

.intro-panel,
.choice-panel {
  background:
    linear-gradient(90deg, rgba(216, 178, 123, 0.08), transparent 16%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 22%),
    linear-gradient(180deg, rgba(27, 14, 20, 0.94), rgba(15, 8, 12, 0.98));
}

.intro-panel p {
  padding-left: 18px;
  border-left: 2px solid rgba(216, 178, 123, 0.6);
  color: var(--ink-strong);
  font-size: clamp(1.06rem, 1.28vw, 1.2rem);
}

p,
li,
.footer {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.82;
}

p {
  max-width: 78ch;
}

p:last-child,
ul:last-child,
div:last-child > p:last-child {
  margin-bottom: 0;
}

.bullet-list,
.choice-list,
.process-list {
  margin: 0;
  padding-left: 22px;
}

.bullet-list li,
.choice-list li,
.process-list li {
  margin-bottom: 12px;
  padding-left: 4px;
}

.bullet-list li::marker,
.choice-list li::marker,
.process-list li::marker {
  color: var(--gold);
}

.choice-list strong {
  color: var(--ink-strong);
}

.compact-list li {
  margin-bottom: 10px;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 18px;
  border-radius: 24px;
  border: 1px solid rgba(247, 232, 218, 0.09);
  background: rgba(10, 7, 9, 0.92);
}

.summary-table {
  width: 100%;
  min-width: 760px;
  border-collapse: separate;
  border-spacing: 0;
}

.summary-table th,
.summary-table td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(247, 232, 218, 0.08);
}

.summary-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 28%),
    linear-gradient(180deg, #241018, #180b11);
  color: var(--ink-strong);
}

.summary-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.018);
}

.summary-table tbody tr:last-child td {
  border-bottom: 0;
}

.tool-section {
  scroll-margin-top: 120px;
}

.tool-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(216, 178, 123, 0.85), rgba(255, 77, 119, 0.85));
}

.media-card {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 250px;
  margin: 22px 0;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(247, 232, 218, 0.08);
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 77, 119, 0.2), transparent 18%),
    linear-gradient(135deg, rgba(216, 178, 123, 0.12), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 24%),
    linear-gradient(140deg, #1a0b12, #0b0508);
}

.media-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 22px;
  border: 1px solid rgba(247, 232, 218, 0.08);
}

.media-card::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 24px;
  width: 90px;
  height: 90px;
  border-radius: 26px;
  border: 1px solid rgba(247, 232, 218, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 26%),
    linear-gradient(140deg, rgba(216, 178, 123, 0.18), rgba(255, 77, 119, 0.14));
  transform: rotate(10deg);
}

.media-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ink-strong);
}

.split-grid {
  display: grid;
  gap: 18px;
  margin-top: 24px;
  margin-bottom: 24px;
}

.mini-card {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 22%),
    linear-gradient(180deg, rgba(24, 13, 18, 0.94), rgba(16, 9, 12, 0.98));
}

.split-grid .mini-card:first-child {
  border-color: rgba(216, 178, 123, 0.16);
}

.split-grid .mini-card:last-child {
  border-color: rgba(255, 77, 119, 0.16);
}

.mini-card h3 {
  margin-bottom: 14px;
}

.cta-line {
  min-height: 56px;
  margin-top: 18px;
  padding: 16px 24px;
  border-radius: 18px;
}

.footer {
  margin-top: 30px;
  padding: 20px 22px;
  border-radius: 24px;
  border: 1px solid rgba(247, 232, 218, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 20%),
    rgba(11, 6, 8, 0.78);
  text-align: center;
}

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

.footer-link {
  color: var(--ink-strong);
  text-decoration: none;
  border-bottom: 1px solid rgba(216, 178, 123, 0.32);
  padding-bottom: 2px;
}

.mobile-affiliate-bar {
  display: none;
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .quick-panel {
    position: relative;
    top: auto;
    align-self: stretch;
    display: grid;
    grid-template-columns: minmax(160px, 0.35fr) minmax(0, 1fr) minmax(260px, 0.42fr);
    gap: 22px;
    align-items: center;
    padding: 24px 28px;
  }

  .quick-title,
  .quick-note {
    margin: 0;
  }

  .quick-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 959px) {
  body {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }

  .topbar {
    width: min(100% - 16px, 100%);
    top: 10px;
    padding: 12px;
    border-radius: 20px;
    flex-wrap: wrap;
  }

  .topbar-nav {
    order: 3;
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

  .topbar-cta {
    display: none;
  }

  .shell,
  .shell-wide {
    width: min(100% - 22px, 100%);
    padding-top: 22px;
  }

  .hero-copy,
  .quick-panel,
  .panel,
  .mini-card,
  .footer {
    padding: 22px;
    border-radius: 24px;
  }

  .hero-copy {
    min-height: 0;
  }

  .hero-copy::before {
    right: -22%;
    top: -8%;
    width: 260px;
  }

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

  h1 {
    max-width: 12.6ch;
    font-size: clamp(3rem, 12vw, 4.95rem);
  }

  h2 {
    font-size: clamp(1.95rem, 7vw, 2.55rem);
  }

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

  .summary-table {
    min-width: 660px;
  }

  .mobile-affiliate-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    min-height: 62px;
    padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
    border-radius: 18px 18px 0 0;
    border: 1px solid rgba(255, 181, 195, 0.16);
    border-bottom: 0;
    box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.36);
    text-align: center;
  }
}
