:root {
  --bg: #090909;
  --surface: #111111;
  --surface-2: #171717;
  --surface-3: #1d1d1d;
  --text: #f4efe7;
  --muted: #a29b90;
  --faint: #706b64;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(216, 179, 92, 0.28);
  --gold: #d8b35c;
  --gold-light: #f1d991;
  --gold-deep: #a77c2c;
  --success: #9bd5ad;
  --danger: #ff9b9b;
  --container: 1180px;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  line-height: 1.6;
}
body.modal-open {
  overflow: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  color: inherit;
}
.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}
.section {
  padding: 96px 0;
  position: relative;
}
.hidden {
  display: none !important;
}
.site-glow {
  position: fixed;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  left: -320px;
  top: 180px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(216, 179, 92, 0.09), transparent 68%);
  filter: blur(10px);
}
.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}
h1 {
  font-size: clamp(56px, 7vw, 104px);
  margin-bottom: 26px;
}
h2 {
  font-size: clamp(38px, 5vw, 66px);
  margin-bottom: 20px;
}
h3 {
  line-height: 1.2;
}
p {
  color: var(--muted);
}

/* Header + brand */
.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 9, 9, 0.88);
  backdrop-filter: blur(16px);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 12px;
  color: var(--gold-light);
  font-family: Georgia, serif;
  font-size: 22px;
  box-shadow: inset 0 0 0 3px rgba(216, 179, 92, 0.05);
}
.main-nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.main-nav a {
  color: #b7b0a6;
  font-size: 13px;
  font-weight: 700;
}
.main-nav a:hover {
  color: var(--gold-light);
}
.header-inner > .button {
  margin-left: 8px;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
}
.mobile-nav {
  display: none;
  padding: 0 20px 18px;
  border-top: 1px solid var(--line);
  background: #0b0b0b;
}
.mobile-nav.open {
  display: grid;
}
.mobile-nav a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: #d5cec3;
  font-weight: 700;
}

.button {
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: var(--gold);
  color: #181207;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}
.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 34px rgba(216, 179, 92, 0.18);
  background: var(--gold-light);
}
.button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.button-small {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 12px;
}
.button-wide {
  width: 100%;
}
.button-outline {
  background: transparent;
  color: var(--gold-light);
}
.button-light {
  background: #fff5d9;
  border-color: #fff5d9;
}
.button-dark {
  background: #16120a;
  border-color: #16120a;
  color: #f8e5aa;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e8e0d3;
  font-size: 13px;
  font-weight: 800;
}
.text-link:hover {
  color: var(--gold-light);
}
.disabled-link {
  opacity: 0.45;
  pointer-events: none;
}
.store-state {
  width: min(calc(100% - 40px), var(--container));
  margin: 18px auto 0;
  border: 1px solid rgba(255, 155, 155, 0.3);
  background: rgba(255, 155, 155, 0.08);
  color: #ffd0d0;
  border-radius: 14px;
  padding: 12px 16px;
  text-align: center;
  font-size: 13px;
}

/* Home hero */
.hero {
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
}
.hero-copy h1 span {
  color: var(--gold-light);
}
.hero-lead {
  max-width: 760px;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
  color: #c9c1b6;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
}
.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 34px;
  color: #7f7971;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.trust-line span::before {
  content: '✓';
  color: var(--gold);
  margin-right: 7px;
}
.hero-visual {
  min-height: 560px;
  position: relative;
  display: grid;
  place-items: center;
}
.book-stack {
  position: relative;
  width: min(100%, 580px);
  height: 530px;
}
.book {
  position: absolute;
  width: 42%;
  margin: 0;
  filter: drop-shadow(0 28px 30px rgba(0, 0, 0, 0.42));
  transition: transform 0.25s ease;
}
.book img {
  border-radius: 4px;
}
.book-one {
  left: 1%;
  top: 26%;
  transform: rotate(-8deg);
}
.book-two {
  left: 29%;
  top: 5%;
  z-index: 2;
  transform: rotate(-1deg);
}
.book-three {
  right: 0;
  top: 25%;
  z-index: 1;
  transform: rotate(7deg);
}
.hero-visual:hover .book-one {
  transform: rotate(-10deg) translateX(-8px);
}
.hero-visual:hover .book-three {
  transform: rotate(9deg) translateX(8px);
}
.hero-badge {
  position: absolute;
  right: 12px;
  bottom: 15px;
  min-width: 180px;
  padding: 16px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(15, 15, 15, 0.92);
  box-shadow: var(--shadow);
}
.hero-badge strong,
.hero-badge span {
  display: block;
}
.hero-badge strong {
  color: var(--gold-light);
  font-size: 18px;
}
.hero-badge span {
  color: var(--muted);
  font-size: 11px;
}

.section-heading {
  max-width: 830px;
  margin-bottom: 48px;
}
.section-heading p {
  max-width: 700px;
  font-size: 17px;
}
.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}
.section-heading.centered p {
  margin-inline: auto;
}
.split-heading {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 70px;
  align-items: end;
}
.split-heading p {
  margin: 0 0 12px;
}
.problem-section {
  background: #0d0d0d;
  border-block: 1px solid var(--line);
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.problem-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}
.problem-card > span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 28px;
}
.problem-card h3 {
  margin: 30px 0 14px;
  font-size: 24px;
}
.problem-card a {
  display: inline-block;
  margin-top: 14px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 900;
}

/* Ebook cards */
.ebook-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ebook-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(180deg, #151515, #0f0f0f);
}
.ebook-cover-link {
  display: grid;
  place-items: center;
  min-height: 400px;
  padding: 38px;
  background: radial-gradient(circle at 50% 45%, rgba(216, 179, 92, 0.12), transparent 58%);
  border-bottom: 1px solid var(--line);
}
.ebook-cover-link img {
  width: min(72%, 240px);
  box-shadow: 0 30px 55px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease;
}
.ebook-card:hover .ebook-cover-link img {
  transform: translateY(-6px);
}
.ebook-card-copy {
  padding: 28px;
}
.ebook-number {
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.ebook-card h3 {
  margin: 8px 0 10px;
  font-size: 27px;
}
.ebook-card ul {
  margin: 22px 0;
  padding-left: 18px;
  color: #aaa39a;
  font-size: 13px;
}
.ebook-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.ebook-card-bottom > strong {
  color: var(--gold-light);
  font-family: Georgia, serif;
  font-size: 28px;
}
.ebook-card-bottom a {
  color: #e9e2d6;
  font-size: 12px;
  font-weight: 900;
}

/* Offer cards on home */
.offers-section {
  background: linear-gradient(180deg, #090909, #0e0d0a);
}
.offer-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.offer-card {
  min-height: 430px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #121212;
  display: flex;
  flex-direction: column;
}
.offer-card.featured {
  border-color: var(--line-strong);
  background: linear-gradient(160deg, rgba(216, 179, 92, 0.09), #111 48%);
}
.offer-card.gold-card {
  background: linear-gradient(145deg, #d0a64b, #f0da98);
  color: #171208;
  border-color: transparent;
}
.offer-card.gold-card p {
  color: #59461f;
}
.offer-tag {
  width: max-content;
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}
.gold-card .offer-tag {
  border-color: rgba(30, 22, 8, 0.2);
  color: #4a3712;
}
.offer-card h3 {
  margin: 26px 0 12px;
  font-size: 30px;
}
.offer-price {
  margin: auto 0 22px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.offer-price span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}
.offer-price strong {
  color: var(--gold-light);
  font-family: Georgia, serif;
  font-size: 44px;
}
.gold-card .offer-price strong {
  color: #1b160c;
}
.gold-card .offer-price span {
  color: #5b4824;
}
.offer-link-list {
  display: grid;
  border-top: 1px solid var(--line);
}
.offer-link-list a {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: #ded6ca;
  font-size: 12px;
  font-weight: 800;
}

.choose-section {
  border-block: 1px solid var(--line);
  background: #0c0c0c;
}
.choose-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
  align-items: start;
}
.choose-list {
  border-top: 1px solid var(--line);
}
.choose-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.choose-list a span {
  color: #c9c1b6;
  max-width: 650px;
}
.choose-list a strong {
  min-width: 130px;
  text-align: right;
  color: var(--gold-light);
  font-size: 12px;
}
.choose-list a:hover span {
  color: #fff;
}

.philosophy-card {
  padding: 60px;
  border: 1px solid var(--line-strong);
  border-radius: 32px;
  background: radial-gradient(circle at 85% 10%, rgba(216, 179, 92, 0.12), transparent 34%), #111;
}
.philosophy-card blockquote {
  max-width: 1000px;
  margin: 22px 0;
  font-family: Georgia, serif;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.16;
  letter-spacing: -0.035em;
}
.philosophy-card p {
  margin-bottom: 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 90px;
}
.faq-list {
  border-top: 1px solid var(--line);
}
details {
  border-bottom: 1px solid var(--line);
}
summary {
  position: relative;
  padding: 24px 46px 24px 0;
  list-style: none;
  cursor: pointer;
  font-weight: 800;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 18px;
  color: var(--gold);
  font-size: 28px;
  font-weight: 400;
}
details[open] summary::after {
  content: '−';
}
details p {
  padding-right: 30px;
  padding-bottom: 22px;
}
.final-card {
  padding: 58px;
  border-radius: 32px;
  background: linear-gradient(135deg, #c99c3f, #f1dfaa);
  color: #181207;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.final-card .eyebrow {
  color: #49330d;
}
.final-card h2 {
  max-width: 780px;
  margin-bottom: 10px;
}
.final-card p {
  color: #5c4823;
  margin-bottom: 0;
}

/* Offer pages */
.offer-page .section {
  padding: 84px 0;
}
.offer-hero {
  min-height: 690px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.offer-hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 70px;
  align-items: center;
}
.breadcrumb {
  display: block;
  width: max-content;
  margin-bottom: 38px;
  color: #8f8980;
  font-size: 12px;
  font-weight: 800;
}
.breadcrumb:hover {
  color: var(--gold-light);
}
.offer-hero-copy h1 {
  margin-top: 12px;
  font-size: clamp(52px, 6.3vw, 90px);
}
.offer-subtitle {
  margin: -10px 0 20px;
  color: var(--gold-light);
  font-size: 17px;
  font-weight: 700;
}
.offer-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 30px;
  color: #827d75;
  font-size: 11px;
  font-weight: 800;
}
.offer-hero-meta span::before {
  content: '✓';
  margin-right: 6px;
  color: var(--gold);
}
.offer-hero-visual {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
}
.offer-cover-stage {
  position: relative;
  width: min(100%, 560px);
  height: 500px;
}
.offer-book {
  position: absolute;
  width: 45%;
  margin: 0;
  filter: drop-shadow(0 28px 42px rgba(0, 0, 0, 0.5));
}
.offer-book img {
  width: 100%;
  border-radius: 4px;
}
.single-cover .offer-book {
  width: 54%;
  left: 23%;
  top: 1%;
  transform: rotate(-2deg);
}
.duet-stage .offer-book-1 {
  left: 8%;
  top: 10%;
  transform: rotate(-7deg);
}
.duet-stage .offer-book-2 {
  right: 8%;
  top: 8%;
  transform: rotate(7deg);
}
.complete-stage .offer-book-1 {
  left: 0;
  top: 18%;
  transform: rotate(-9deg);
}
.complete-stage .offer-book-2 {
  left: 28%;
  top: 2%;
  z-index: 2;
  transform: rotate(-1deg);
}
.complete-stage .offer-book-3 {
  right: 0;
  top: 18%;
  transform: rotate(9deg);
}
.dynamic-price-badge {
  position: absolute;
  right: 2%;
  bottom: 0;
  min-width: 200px;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(16, 16, 16, 0.94);
  box-shadow: var(--shadow);
}
.dynamic-price-badge small,
.dynamic-price-badge strong,
.dynamic-price-badge del,
.dynamic-price-badge span {
  display: block;
}
.dynamic-price-badge small {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.dynamic-price-badge strong {
  color: var(--gold-light);
  font-family: Georgia, serif;
  font-size: 42px;
  line-height: 1.05;
}
.dynamic-price-badge del {
  color: #6e6962;
  font-size: 13px;
}
.dynamic-price-badge span {
  margin-top: 4px;
  color: var(--success);
  font-size: 11px;
  font-weight: 800;
}

.offer-detail-section {
  background: #0c0c0c;
  border-block: 1px solid var(--line);
}
.offer-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 70px;
  align-items: start;
}
.offer-content-main {
  display: grid;
  gap: 72px;
}
.content-block > h2 {
  max-width: 760px;
}
.large-copy {
  font-size: 19px;
  line-height: 1.7;
  max-width: 820px;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  position: relative;
  padding: 17px 20px 17px 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #111;
  color: #c9c1b6;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 18px;
  color: var(--gold);
  font-weight: 900;
}
.content-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.content-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #111;
}
.content-card > span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 26px;
}
.content-card h3 {
  margin: 26px 0 10px;
  font-size: 22px;
}
.content-card p {
  margin-bottom: 0;
  font-size: 14px;
}
.transition-block {
  padding: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(216, 179, 92, 0.08), #111);
}
.transition-block p {
  font-size: 17px;
}
.inline-offer-links {
  display: flex;
  gap: 24px;
  margin-top: 20px;
}
.inline-offer-links a {
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 900;
}
.note-block {
  padding: 26px;
  border-left: 3px solid var(--gold);
  background: #111;
}
.note-block strong {
  color: var(--gold-light);
}
.note-block p {
  margin: 4px 0 0;
}
.offer-purchase-card {
  position: sticky;
  top: 104px;
  padding: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: #111;
  box-shadow: var(--shadow);
}
.offer-purchase-card h2 {
  margin: 12px 0 24px;
  font-family: Georgia, serif;
  font-size: 30px;
}
.offer-price-block {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin: 18px 0 24px;
}
.offer-price-block strong {
  color: var(--gold-light);
  font-family: Georgia, serif;
  font-size: 46px;
}
.offer-price-block del {
  color: #726d66;
}
.offer-price-block small {
  width: 100%;
  color: var(--success);
  font-weight: 800;
}
.offer-summary-items {
  display: grid;
  gap: 8px;
  padding-block: 18px;
  border-block: 1px solid var(--line);
}
.offer-summary-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #d9d1c6;
  font-size: 12px;
}
.offer-summary-item small {
  color: var(--muted);
}
.offer-summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0;
}
.offer-summary-total span {
  color: var(--muted);
  font-size: 12px;
}
.offer-summary-total strong {
  color: var(--gold-light);
  font-family: Georgia, serif;
  font-size: 30px;
}
.offer-purchase-card > p {
  margin: 16px 0 0;
  font-size: 11px;
}
.gold-purchase {
  background: linear-gradient(145deg, #d0a64b, #f1dd9e);
  color: #171208;
  border-color: transparent;
}
.gold-purchase .eyebrow,
.gold-purchase .offer-summary-total strong {
  color: #4d3810;
}
.gold-purchase .offer-summary-items,
.gold-purchase .offer-summary-total {
  border-color: rgba(20, 15, 6, 0.14);
}
.gold-purchase .offer-summary-item {
  color: #332814;
}
.gold-purchase .offer-summary-item small,
.gold-purchase > p {
  color: #644e27;
}

.offer-cross-sell {
  padding-top: 72px !important;
}
.mini-offer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 760px;
  margin: auto;
}
.mini-offer {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #111;
  display: grid;
}
.mini-offer span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}
.mini-offer strong {
  margin: 8px 0;
  font-size: 24px;
}
.mini-offer small {
  color: var(--muted);
}
.mini-offer.gold {
  background: linear-gradient(145deg, #d0a64b, #efda9a);
  color: #171208;
}
.mini-offer.gold span,
.mini-offer.gold small {
  color: #5a451f;
}

/* Duet */
.duet-selection-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 30px 0 12px;
  color: #8f8980;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.duet-selection-head strong {
  color: var(--gold-light);
}
.duet-picker {
  display: grid;
  gap: 8px;
}
.duet-choice {
  width: 100%;
  display: grid;
  grid-template-columns: 54px 1fr 28px;
  gap: 14px;
  align-items: center;
  min-height: 72px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #111;
  cursor: pointer;
  text-align: left;
}
.duet-choice img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  object-position: top;
  border-radius: 4px;
}
.duet-choice span {
  display: grid;
}
.duet-choice small {
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.duet-choice strong {
  font-size: 13px;
}
.duet-choice b {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: transparent;
}
.duet-choice.selected {
  border-color: var(--line-strong);
  background: rgba(216, 179, 92, 0.06);
}
.duet-choice.selected b {
  color: #171208;
  background: var(--gold);
  border-color: var(--gold);
}
.sequence-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}
.sequence-line span {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d7cfc3;
  font-size: 11px;
  font-weight: 800;
}
.sequence-line i {
  color: var(--gold);
  font-style: normal;
}
.included-grid {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.included-grid a {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #111;
}
.included-grid img {
  width: 88px;
  height: 116px;
  object-fit: cover;
  object-position: top;
  border-radius: 4px;
}
.included-grid span {
  display: grid;
}
.included-grid small {
  color: var(--gold);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}
.included-grid strong {
  margin: 5px 0 3px;
  font-size: 19px;
}
.included-grid p {
  margin: 0;
  font-size: 13px;
}
.comparison-card {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #111;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.price-table {
  display: grid;
}
.price-table > div,
.price-table > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.price-table strong {
  color: var(--gold-light);
}

/* Checkout modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background: #111;
  box-shadow: var(--shadow);
}
.modal-panel h2 {
  margin: 10px 0;
  font-size: 40px;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #171717;
  cursor: pointer;
  font-size: 24px;
}
.modal-summary {
  display: grid;
  gap: 8px;
  margin: 24px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #171717;
}
.modal-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
.modal-summary > div:last-child {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.modal-summary strong {
  color: var(--gold-light);
}
#checkout-form {
  display: grid;
  gap: 16px;
}
#checkout-form label:not(.consent-line) {
  display: grid;
  gap: 8px;
  color: #d7d0c4;
  font-size: 13px;
  font-weight: 800;
}
#checkout-form input[type='email'] {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: #0b0b0b;
  color: var(--text);
  outline: none;
}
#checkout-form input[type='email']:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(216, 179, 92, 0.08);
}
.consent-line {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 12px;
}
.consent-line input {
  margin-top: 2px;
}
.form-error {
  margin: 0;
  color: var(--danger);
  font-size: 13px;
}
.secure-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  color: #77736b;
}
.secure-note > span {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 10px;
  font-weight: 900;
}
.secure-note p {
  margin: 0;
  font-size: 11px;
}

/* Purchase success */
.purchase-page {
  min-height: 100vh;
}
.purchase-main {
  padding: 70px 0 100px;
}
.purchase-shell {
  width: min(calc(100% - 40px), 820px);
  margin: auto;
}
.purchase-status-card {
  padding: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background: #101010;
  box-shadow: var(--shadow);
}
.purchase-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(141, 199, 161, 0.35);
  border-radius: 50%;
  background: rgba(141, 199, 161, 0.12);
  color: var(--success);
  font-size: 26px;
}
.purchase-status-card h1 {
  margin: 0 0 14px;
  font-size: clamp(42px, 7vw, 70px);
}
.purchase-order {
  margin-top: 28px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #171717;
}
.purchase-products {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.purchase-product {
  display: flex;
  align-items: center;
  gap: 12px;
}
.purchase-product img {
  width: 44px;
  aspect-ratio: 0.71;
  object-fit: cover;
  border-radius: 3px;
}
.purchase-product span {
  display: grid;
}
.purchase-product small {
  color: var(--muted);
}
.delivery-state {
  margin-top: 16px;
  color: var(--success);
  font-size: 14px;
}
.upsell-card {
  margin-top: 22px;
  padding: 28px;
  border: 1px solid rgba(216, 179, 92, 0.38);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(216, 179, 92, 0.09), #101010);
}
.upsell-head {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: start;
}
.upsell-head h2 {
  margin-bottom: 8px;
  font-size: 34px;
}
.upsell-timer {
  min-width: 90px;
  padding: 10px;
  border: 1px solid rgba(216, 179, 92, 0.28);
  border-radius: 14px;
  text-align: center;
  color: var(--gold-light);
}
.upsell-timer small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.upsell-products {
  display: flex;
  gap: 12px;
  margin: 22px 0;
}
.upsell-products img {
  width: 86px;
  aspect-ratio: 0.71;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.3);
}
.upsell-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 18px 0;
}
.upsell-price strong {
  color: var(--gold-light);
  font-family: Georgia, serif;
  font-size: 38px;
}
.upsell-price del {
  color: #77736b;
}
.purchase-error {
  color: var(--danger);
}
.loading-line {
  height: 3px;
  margin-top: 24px;
  overflow: hidden;
  border-radius: 999px;
  background: #151515;
}
.loading-line::after {
  content: '';
  display: block;
  width: 40%;
  height: 100%;
  background: var(--gold);
  animation: loading 1.2s infinite ease-in-out;
}
@keyframes loading {
  from {
    transform: translateX(-110%);
  }
  to {
    transform: translateX(280%);
  }
}

/* Cookie banner */
.pw-cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 120;
  width: min(calc(100% - 40px), 760px);
  margin: auto;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(17, 17, 17, 0.98);
  box-shadow: var(--shadow);
}
.pw-cookie-banner strong {
  font-size: 14px;
}
.pw-cookie-banner p {
  margin: 4px 0 0;
  font-size: 12px;
}
.pw-cookie-banner > div:last-child {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.pw-cookie-banner button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}
.pw-cookie-banner .pw-cookie-accept {
  background: var(--gold);
  border-color: var(--gold);
  color: #151109;
  font-weight: 900;
}

/* Footer */
.site-footer {
  padding: 60px 0 26px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.8fr;
  gap: 70px;
}
.footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-grid p {
  max-width: 460px;
  margin-top: 14px;
}
.footer-grid > div > strong {
  margin-bottom: 8px;
  color: #e9e2d6;
}
.footer-grid a,
.footer-grid span {
  color: #88837a;
  font-size: 14px;
}
.footer-grid a:hover {
  color: var(--gold-light);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #625e57;
  font-size: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1040px) {
  .section,
  .offer-page .section {
    padding: 76px 0;
  }
  .main-nav,
  .header-inner > .button {
    display: none;
  }
  .nav-toggle {
    display: grid;
    place-items: center;
  }
  .hero {
    min-height: auto;
  }
  .hero-grid,
  .offer-hero-grid,
  .offer-content-grid,
  .choose-grid,
  .faq-grid,
  .comparison-card {
    grid-template-columns: 1fr;
  }
  .hero-visual,
  .offer-hero-visual {
    min-height: 520px;
  }
  .problem-grid,
  .ebook-grid,
  .offer-card-grid {
    grid-template-columns: 1fr;
  }
  .ebook-card {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
  }
  .ebook-cover-link {
    min-height: 360px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }
  .split-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .offer-content-grid {
    gap: 50px;
  }
  .offer-purchase-card {
    position: static;
  }
  .content-card-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }
  .section,
  .offer-page .section {
    padding: 60px 0;
  }
  .header-inner {
    min-height: 68px;
  }
  .brand {
    font-size: 18px;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }
  h1 {
    font-size: clamp(48px, 15vw, 72px);
  }
  h2 {
    font-size: clamp(34px, 10vw, 48px);
  }
  .hero-grid,
  .offer-hero-grid {
    gap: 32px;
  }
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }
  .hero-actions .button {
    width: 100%;
  }
  .hero-visual,
  .offer-hero-visual {
    min-height: 390px;
  }
  .book-stack {
    height: 380px;
  }
  .book {
    width: 48%;
  }
  .book-one {
    top: 25%;
  }
  .book-two {
    left: 27%;
    top: 8%;
  }
  .book-three {
    top: 24%;
  }
  .hero-badge {
    right: 4px;
    bottom: 0;
    min-width: 160px;
  }
  .problem-card,
  .ebook-card-copy,
  .offer-card {
    padding: 24px;
  }
  .ebook-card {
    display: block;
  }
  .ebook-cover-link {
    min-height: 330px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .choose-list a {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .choose-list a strong {
    min-width: 0;
    text-align: left;
  }
  .philosophy-card,
  .final-card {
    padding: 34px 24px;
    border-radius: 24px;
  }
  .final-card {
    align-items: stretch;
    flex-direction: column;
  }
  .offer-cover-stage {
    height: 380px;
  }
  .single-cover .offer-book {
    width: 58%;
    left: 21%;
  }
  .duet-stage .offer-book {
    width: 48%;
  }
  .complete-stage .offer-book {
    width: 47%;
  }
  .dynamic-price-badge {
    right: 0;
    bottom: 0;
    min-width: 165px;
  }
  .dynamic-price-badge strong {
    font-size: 34px;
  }
  .content-card-grid,
  .mini-offer-grid {
    grid-template-columns: 1fr;
  }
  .included-grid a {
    grid-template-columns: 70px 1fr;
  }
  .included-grid img {
    width: 70px;
    height: 96px;
  }
  .comparison-card {
    padding: 25px;
    gap: 25px;
  }
  .offer-purchase-card {
    padding: 24px;
  }
  .modal-panel {
    padding: 30px 20px 22px;
    border-radius: 22px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .pw-cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }
  .pw-cookie-banner > div:last-child {
    justify-content: flex-end;
  }
  .purchase-status-card {
    padding: 28px 20px;
  }
  .upsell-head {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .button,
  .book,
  .ebook-cover-link img {
    transition: none;
  }
}

/* Kod -10% po nieskorzystaniu z upsellu */
.discount-field {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
}
.discount-field label {
  min-width: 0;
}
.discount-field .optional {
  color: #77736b;
  font-weight: 600;
}
#checkout-form input[type='text'] {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: #0b0b0b;
  color: var(--text);
  outline: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
#checkout-form input[type='text']:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(216, 179, 92, 0.08);
}
.discount-apply {
  min-height: 52px;
  white-space: nowrap;
}
.discount-state {
  margin: -6px 0 0;
  color: var(--danger);
  font-size: 12px;
}
.discount-state.success {
  color: var(--success);
}
.discount-summary-row {
  color: var(--success);
}
.discount-summary-row strong {
  color: var(--success);
}
.modal-summary del {
  margin-right: 8px;
  color: #77736b;
  font-weight: 600;
}
.upsell-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.discount-card {
  margin-top: 22px;
  padding: 30px;
  border: 1px solid rgba(216, 179, 92, 0.38);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(216, 179, 92, 0.08), #101010);
}
.discount-card h2 {
  margin: 8px 0 10px;
  font-size: 34px;
}
.discount-card h2 span {
  color: var(--gold-light);
}
.discount-card p {
  max-width: 650px;
}
.discount-code-value {
  margin: 22px 0 14px;
  padding: 18px 20px;
  border: 1px dashed rgba(216, 179, 92, 0.65);
  border-radius: 16px;
  background: #171717;
  color: var(--gold-light);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(24px, 5vw, 34px);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-align: center;
}
.discount-expiry,
.discount-mail-note {
  color: var(--muted);
  font-size: 13px;
}
.discount-mail-note {
  margin-bottom: 20px;
}

@media (max-width: 700px) {
  .discount-field {
    grid-template-columns: 1fr;
  }
  .discount-apply {
    width: 100%;
  }
  .upsell-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .upsell-actions .button {
    width: 100%;
  }
  .discount-card {
    padding: 24px 20px;
  }
}

/* Kapito 12.3 — dokumenty prawne, checkout i ustawienia prywatności */
.consent-line a,
.legal-document a,
.pw-cookie-banner a {
  color: var(--gold-light);
  text-decoration: underline;
  text-decoration-color: rgba(241, 217, 145, 0.48);
  text-underline-offset: 3px;
}
.consent-line a:hover,
.legal-document a:hover,
.pw-cookie-banner a:hover {
  color: #fff1bd;
}

.checkout-legal-box {
  display: grid;
  gap: 12px;
  margin-top: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.018);
}
.checkout-legal-box .consent-line {
  margin: 0;
}
.checkout-legal-box .consent-line + .consent-line {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.checkout-obligation-note {
  margin: -2px 4px 0;
  color: var(--faint);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}
.checkout-pay-button {
  min-height: 56px;
}
.upsell-legal-box {
  margin: 20px 0 16px;
  background: rgba(0, 0, 0, 0.16);
}

.footer-link-button {
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8f887e;
  font: inherit;
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
}
.footer-link-button:hover {
  color: var(--gold-light);
}
.footer-about {
  max-width: 330px;
}
.footer-micro {
  display: block;
  margin-top: 18px;
  color: #625e57 !important;
  font-size: 11px !important;
  letter-spacing: 0.04em;
}
.footer-grid {
  grid-template-columns: minmax(260px, 1.35fr) minmax(170px, 0.85fr) minmax(170px, 0.8fr) minmax(170px, 0.8fr);
  gap: 54px;
}
.footer-grid > div > strong {
  margin-bottom: 14px;
}
.footer-grid a,
.footer-grid span,
.footer-link-button {
  margin-top: 8px;
}

/* Ustawienia cookies */
.pw-cookie-banner {
  left: 50%;
  bottom: 18px;
  width: min(calc(100% - 32px), 980px);
  transform: translateX(-50%);
  padding: 22px;
  gap: 22px;
  border: 1px solid rgba(216, 179, 92, 0.34);
  border-radius: 22px;
  background: rgba(14, 14, 14, 0.975);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(20px);
}
.pw-cookie-banner > div:first-child {
  max-width: 650px;
}
.pw-cookie-banner strong {
  display: block;
  margin: 3px 0 5px;
  color: #f4efe7;
  font-size: 16px;
}
.pw-cookie-banner p {
  margin: 0;
  color: #a9a197;
  font-size: 12px;
  line-height: 1.65;
}
.cookie-kicker {
  display: block;
  color: var(--gold);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.cookie-current {
  display: inline-flex;
  margin-top: 9px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #7f786f;
  font-size: 9px;
}
.pw-cookie-banner > div:last-child {
  flex: 0 0 auto;
}
.pw-cookie-banner button {
  min-height: 42px;
  padding: 0 15px;
  border-radius: 999px;
}

/* Strony prawne */
.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 14%, rgba(216, 179, 92, 0.075), transparent 25%),
    var(--bg);
}
.legal-page .site-glow {
  opacity: 0.65;
}
.legal-hero {
  padding: 74px 0 46px;
  border-bottom: 1px solid var(--line);
}
.legal-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 44px;
}
.legal-hero h1 {
  max-width: 820px;
  margin: 10px 0 18px;
  font-size: clamp(48px, 6vw, 78px);
}
.legal-hero p {
  max-width: 720px;
  margin: 0;
  color: #a9a197;
  font-size: 16px;
  line-height: 1.75;
}
.legal-version-card {
  min-width: 230px;
  padding: 18px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(216, 179, 92, 0.07), rgba(255, 255, 255, 0.015));
}
.legal-version-card > span,
.legal-version-card small {
  display: block;
  color: #777168;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.legal-version-card strong {
  display: block;
  margin: 5px 0 8px;
  color: var(--gold-light);
  font-size: 14px;
  letter-spacing: 0.02em;
}
.legal-version-card small {
  line-height: 1.55;
  text-transform: none;
  letter-spacing: 0;
}
.legal-layout {
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  align-items: start;
  gap: 48px;
  padding-top: 54px;
  padding-bottom: 104px;
}
.legal-sidebar {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 22px;
}
.legal-seller-card {
  display: grid;
  gap: 7px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(17, 17, 17, 0.72);
}
.legal-seller-card > strong {
  margin-top: 4px;
  color: #e9e3da;
  line-height: 1.35;
}
.legal-seller-card > span,
.legal-seller-card > a {
  color: #858078;
  font-size: 11px;
  line-height: 1.55;
}
.legal-toc {
  display: grid;
  gap: 3px;
}
.legal-toc a {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 8px;
  border-radius: 9px;
  color: #7f7a72;
  font-size: 11px;
  line-height: 1.25;
  transition: color 0.15s ease, background 0.15s ease;
}
.legal-toc a span {
  color: #5f5a53;
  font-size: 9px;
}
.legal-toc a:hover,
.legal-toc a.active {
  background: rgba(216, 179, 92, 0.07);
  color: var(--gold-light);
}
.legal-document {
  min-width: 0;
  padding: clamp(28px, 4vw, 50px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(216, 179, 92, 0.025), transparent 32%),
    rgba(16, 16, 16, 0.78);
  box-shadow: var(--shadow);
}
.legal-readiness {
  margin-bottom: 30px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 186, 92, 0.34);
  border-radius: 14px;
  background: rgba(255, 186, 92, 0.06);
}
.legal-readiness strong {
  color: #f0ce7c;
}
.legal-readiness p {
  margin: 5px 0 0;
  color: #a89d8c;
  font-size: 12px;
}
.legal-block {
  position: relative;
  scroll-margin-top: 110px;
  padding: 4px 0 44px;
}
.legal-block + .legal-block {
  padding-top: 44px;
  border-top: 1px solid var(--line);
}
.legal-block:last-child {
  padding-bottom: 0;
}
.legal-number {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
}
.legal-document h2 {
  margin: 0 0 18px;
  font-size: clamp(31px, 4vw, 46px);
}
.legal-document h3 {
  margin: 26px 0 9px;
  color: #eee7dc;
  font-size: 17px;
}
.legal-document p,
.legal-document li {
  color: #aaa298;
  font-size: 14px;
  line-height: 1.82;
}
.legal-document p:last-child {
  margin-bottom: 0;
}
.legal-document ul,
.legal-document ol {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 22px;
}
.legal-document li::marker {
  color: var(--gold-deep);
  font-weight: 800;
}
.legal-document code {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #090909;
  color: var(--gold-light);
}
.legal-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
}
.legal-facts > div,
.legal-purpose-grid > div,
.cookie-table > div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(5, 5, 5, 0.36);
}
.legal-facts small {
  display: block;
  margin-bottom: 4px;
  color: #69645d;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.legal-facts strong,
.legal-facts a {
  color: #d9d2c8;
  font-size: 12px;
  line-height: 1.55;
}
.legal-callout {
  margin: 22px 0;
  padding: 18px 20px;
  border: 1px solid rgba(216, 179, 92, 0.22);
  border-radius: 15px;
  background: rgba(216, 179, 92, 0.045);
}
.legal-callout.important {
  border-color: rgba(216, 179, 92, 0.42);
  background: linear-gradient(135deg, rgba(216, 179, 92, 0.09), rgba(216, 179, 92, 0.025));
}
.legal-callout strong {
  color: #eee0b4;
}
.legal-callout p {
  margin: 6px 0 0;
  font-size: 12px;
}
.legal-address {
  padding: 13px 15px;
  border-left: 2px solid var(--gold-deep);
  background: rgba(255, 255, 255, 0.018);
  color: #d4cdc3 !important;
}
.legal-purpose-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0;
}
.legal-purpose-grid strong,
.cookie-table strong {
  display: block;
  color: #e4ddd2;
  font-size: 13px;
}
.legal-purpose-grid p,
.cookie-table p {
  margin: 7px 0 0;
  font-size: 12px;
  line-height: 1.65;
}
.withdrawal-form {
  margin-top: 20px;
  padding: 22px;
  border: 1px dashed rgba(216, 179, 92, 0.3);
  border-radius: 16px;
  background: #0b0b0b;
}
.withdrawal-form p {
  margin: 0 0 12px;
  color: #bbb3a9;
  font-size: 12px;
}
.withdrawal-form small {
  color: #716c65;
}
.cookie-policy-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0 4px;
}
.cookie-policy-actions span {
  color: #777169;
  font-size: 11px;
}
.cookie-table {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.cookie-table > div > span {
  display: inline-flex;
  margin-top: 5px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(216, 179, 92, 0.07);
  color: #9c8958;
  font-size: 9px;
}

.purchase-legal-footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  width: min(calc(100% - 30px), 900px);
  margin: 24px auto 0;
  padding: 20px 0 30px;
  color: #716b63;
  font-size: 11px;
}
.purchase-legal-footer a:hover {
  color: var(--gold-light);
}

@media (max-width: 1080px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 48px;
  }
  .legal-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 30px;
  }
}

@media (max-width: 820px) {
  .legal-hero {
    padding: 52px 0 34px;
  }
  .legal-hero-inner {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
  }
  .legal-version-card {
    min-width: 0;
    width: min(100%, 360px);
  }
  .legal-layout {
    grid-template-columns: 1fr;
    padding-top: 26px;
    padding-bottom: 72px;
  }
  .legal-sidebar {
    position: static;
  }
  .legal-toc {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 2px 0 8px;
    scrollbar-width: thin;
  }
  .legal-toc a {
    flex: 0 0 auto;
    grid-template-columns: auto 1fr;
    padding: 8px 11px;
    border: 1px solid var(--line);
    background: #101010;
  }
  .legal-seller-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .legal-seller-card .eyebrow,
  .legal-seller-card > strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-about {
    max-width: none;
  }
  .pw-cookie-banner {
    bottom: 10px;
    width: calc(100% - 20px);
    padding: 18px;
    border-radius: 18px;
  }
  .pw-cookie-banner > div:last-child {
    width: 100%;
  }
  .pw-cookie-banner button {
    flex: 1 1 0;
  }
  .legal-document {
    padding: 25px 19px;
    border-radius: 22px;
  }
  .legal-hero h1 {
    font-size: clamp(43px, 13vw, 62px);
  }
  .legal-seller-card {
    grid-template-columns: 1fr;
  }
  .legal-facts,
  .legal-purpose-grid {
    grid-template-columns: 1fr;
  }
  .cookie-policy-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .cookie-policy-actions .button {
    width: 100%;
  }
}
