@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/playfair-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/playfair-latin-700-normal.woff2") format("woff2");
}

:root {
  --bg: #010101;
  --bg-2: #101014;
  --card: #17171c;
  --red: #d31224;
  --red-dark: #9d1020;
  --gold: #e6c27a;
  --white: #ffffff;
  --muted: #c8c2b8;
  --line: #2a2a30;
  --ok: #43c982;
  --header: 4.25rem;
  --space: 1.25rem;
  --radius: 1.125rem;
}

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

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.2rem;
  overflow-x: clip;
  background:
    radial-gradient(ellipse 72% 58% at 50% 54%, #6a0c0a 0%, #3a0706 32%, #140303 58%, #010101 76%),
    #010101;
}

body {
  margin: 0;
  color: var(--white);
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  background: transparent;
}

img, svg { max-width: 100%; }

a { color: inherit; }

button, input { font: inherit; }

h1, h2, h3, p, ul, ol { margin-top: 0; }

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

h1, h2 { color: var(--red); text-transform: uppercase; }
h1 { font-size: clamp(2.4rem, 6.4vw, 4.6rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.85rem, 4.2vw, 3.15rem); margin-bottom: 0.85rem; }
h3 { font-size: 1.35rem; line-height: 1.2; color: var(--gold); margin-bottom: 0.45rem; }

.mark { color: var(--red); }

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--white);
  color: var(--bg);
  padding: 0.6rem 0.9rem;
}

.skip-link:focus { top: 0.75rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--header);
  padding: 0.75rem 1rem;
  background: rgba(7, 7, 8, 0.9);
  border-bottom: 1px solid rgba(42, 42, 48, 0.9);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 2.35rem;
  max-width: min(13rem, 54vw);
}

.site-footer .brand-logo {
  max-height: 2.7rem;
  max-width: 15rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.header-kicker {
  display: none;
  margin: 0;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary, .btn-primary:visited { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--line); }
.btn-wide { width: 100%; }
.btn-compact { white-space: nowrap; padding-inline: 0.85rem; }
.btn-label-full { display: none; }
.btn[disabled] { opacity: 0.7; cursor: progress; }

.btn:focus-visible,
a:focus-visible,
input:focus-visible,
button:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

main, .site-footer { position: relative; z-index: 1; }
.hero, .section, .final-cta, .legal { position: relative; z-index: 1; }

.hero { padding: 2.5rem 0 3rem; }

.hero-grid, .preview-grid, .final-grid, .form-layout {
  display: grid;
  gap: 2rem;
}

.lede { color: var(--gold); font-size: 1.08rem; max-width: 40rem; }

.eyebrow {
  margin-bottom: 0.9rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.benefit-list, .feature-list { padding: 0; margin: 1.25rem 0 1.5rem; list-style: none; }

.benefit-list li, .feature-list li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 0.65rem;
}

.benefit-list li::before, .feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--red);
}

.micro { color: var(--muted); font-size: 0.92rem; margin: 0.75rem 0 0; }

.book-scene { position: relative; margin-inline: auto; width: min(100%, 420px); }
.book-scene.small { width: min(100%, 280px); }

.book-scene::before {
  content: "";
  position: absolute;
  inset: 8% 6% 0;
  background: radial-gradient(closest-side, rgba(168, 16, 22, 0.72), transparent 72%);
  z-index: 0;
}

.book {
  position: relative;
  z-index: 1;
  background: #050506;
  border: 1px solid rgba(230, 194, 122, 0.35);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
}

.cover-art, .book img { display: block; width: 100%; height: auto; }

.section { padding: 3.25rem 0; }

.section-heading { max-width: 44rem; margin-bottom: 1.75rem; }

.module-grid { display: grid; gap: 1rem; padding: 0; margin: 0; list-style: none; }

.module, .form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.module { padding: 1.2rem 1.15rem 1.3rem; }
.module p { color: var(--muted); margin-bottom: 0; }

.signals {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  border-top: 1px solid rgba(230, 194, 122, 0.28);
}

.signals li {
  padding: 1.35rem 0 1.45rem;
  border-bottom: 1px solid rgba(230, 194, 122, 0.22);
}

.signal-mark {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1;
}

.signals h3 { margin-bottom: 0.4rem; font-size: 1.55rem; }
.signals p { margin: 0; color: var(--muted); max-width: 28rem; }

.section-note {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.module { position: relative; overflow: hidden; }
.module-index {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.form-card { padding: 1.15rem; }
.form-intro { margin-bottom: 0.25rem; }

.field { margin-bottom: 1rem; }
label { display: block; font-weight: 600; margin-bottom: 0.4rem; }
.optional { color: var(--muted); font-weight: 500; font-size: 0.85rem; }

input[type="text"], input[type="email"] {
  width: 100%;
  min-height: 3.1rem;
  padding: 0.75rem 0.9rem;
  color: var(--white);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
}

input[aria-invalid="true"] { border-color: var(--red); }

.field-error, .form-error { color: #ffb4be; font-size: 0.95rem; }
.field-error { margin: 0.4rem 0 0; }
.form-error {
  margin: 0 0 0.9rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(242, 38, 67, 0.45);
  border-radius: 0.8rem;
}

.check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 0.4rem 0 1rem;
  color: var(--muted);
  font-weight: 500;
}

.check input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; accent-color: var(--red); flex: none; }

.privacy-note, .legal-links { color: var(--muted); font-size: 0.92rem; }
.legal-links { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; margin: 0.9rem 0 0; }
.legal-links a, .privacy-note a, .footer a, .legal a { color: var(--white); }

.form-success {
  padding: 0.4rem 0.2rem 0.2rem;
}

.form-success h3 { color: var(--ok); font-size: 1.6rem; }

.pending-note {
  margin: 0 0 1rem;
  padding: 0.75rem 0.85rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 0.8rem;
}

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.final-cta { padding: 3.5rem 0; }

.site-footer {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0 6rem;
  border-top: 1px solid rgba(230, 194, 122, 0.16);
}

.footer-grid { display: grid; gap: 1.5rem; }
.footer-copy, .footer-note, .footer-owner { color: var(--muted); }
.footer-nav { display: grid; gap: 0.55rem; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }

.legal { padding: 3rem 0 4rem; }
.legal-measure { max-width: 46rem; }
.legal h2 { font-size: 1.25rem; text-transform: none; letter-spacing: 0; margin-top: 2rem; }
.legal li { margin-bottom: 0.45rem; }
.legal-meta { color: var(--muted); }
.contact-mail { font-size: 1.25rem; font-weight: 700; }

.consent {
  position: fixed;
  z-index: 30;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  display: grid;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.consent p { margin: 0; color: var(--muted); font-size: 0.82rem; line-height: 1.35; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.consent .btn { min-height: 2.5rem; padding: 0.5rem 0.55rem; font-size: 0.68rem; }

body.has-consent { padding-bottom: 8.5rem; }

@media (min-width: 700px) {
  .module-grid { grid-template-columns: 1fr 1fr; }
  .btn-wide { width: auto; min-width: 16rem; }
  .form-card .btn-wide, .consent .btn { width: 100%; }
  .form-card { padding: 1.5rem; }
}

@media (min-width: 768px) {
  .site-header { padding-inline: 1.5rem; }
  .header-kicker { display: block; }
  .btn-label-full { display: inline; }
  .btn-label-short { display: none; }
  .container { width: min(1120px, calc(100% - 4rem)); }
  .section { padding: 4.5rem 0; }
  .footer-grid { grid-template-columns: 1.4fr 0.8fr 1fr; align-items: start; }
}

@media (min-width: 960px) {
  .hero-grid, .preview-grid, .final-grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
  .preview-grid { grid-template-columns: 0.7fr 1.3fr; }
  .signals {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 0;
    column-gap: 2.5rem;
  }
  .signals li {
    padding: 0.15rem 0 0.2rem 1.6rem;
    border-bottom: 0;
    border-left: 1px solid rgba(230, 194, 122, 0.28);
  }
  .signals li:first-child { padding-left: 0; border-left: 0; }
  .form-layout { grid-template-columns: 0.85fr 1.15fr; align-items: start; }
  .book-scene { margin-inline: 0 0 auto; }
  .preview-grid .book-scene, .final-grid .book-scene { margin-inline: auto 0; }
}

@media (max-width: 359px) {
  .container { width: calc(100% - 1.5rem); }
}

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