:root {
  --ink: #271b1e;
  --muted: #77696c;
  --cream: #fbf7f1;
  --paper: #fffdf9;
  --rose: #a63f55;
  --rose-dark: #7f293e;
  --blush: #ecd3d6;
  --gold: #d5a45a;
  --line: rgba(39, 27, 30, 0.12);
  --shadow: 0 25px 70px rgba(64, 31, 40, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "DM Sans", sans-serif; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }

.story-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  height: 72px;
  padding: 0 clamp(20px, 6vw, 92px);
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 247, 241, 0.92);
  backdrop-filter: blur(14px);
}

.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 1.3rem "Playfair Display", serif; }
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50% 50% 50% 12%; color: white; background: var(--rose); font-style: italic; }
.header-tools { display: flex; align-items: center; gap: 16px; }
.free-label { color: var(--rose); font-size: 0.78rem; font-weight: 700; }

.language-switch {
  display: flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--paper);
  cursor: pointer;
}

.language-switch span { padding: 6px 9px; border-radius: 20px; color: var(--muted); font-size: 0.7rem; font-weight: 700; }
.language-switch span.active { color: white; background: var(--ink); }

.campaign-hero {
  display: grid;
  min-height: calc(100vh - 72px);
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  overflow: hidden;
}

.campaign-copy { max-width: 760px; padding: 72px clamp(24px, 7vw, 110px); }
.eyebrow { margin: 0 0 15px; color: var(--rose); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.17em; }
.social-proof { display: flex; align-items: center; gap: 9px; margin-bottom: 24px; }
.social-proof span { color: var(--gold); letter-spacing: 0.08em; }
.social-proof strong { font-size: 0.85rem; }
.social-proof small { color: var(--muted); }
h1, h2, h3 { margin-top: 0; font-family: "Playfair Display", serif; }
h1 { margin-bottom: 26px; font-size: clamp(3.6rem, 7vw, 7rem); line-height: 0.9; letter-spacing: -0.05em; }
h1 em { color: var(--rose); font-weight: 600; }
.hook { max-width: 660px; margin-bottom: 25px; color: #5f5054; font-size: 1.18rem; line-height: 1.75; }
blockquote { max-width: 620px; margin: 0 0 32px; padding: 18px 22px; border-left: 3px solid var(--rose); color: var(--ink); background: rgba(166, 63, 85, 0.06); font: italic 600 1.15rem/1.6 "Playfair Display", serif; }

.primary-cta {
  display: grid;
  min-width: 290px;
  min-height: 65px;
  padding: 10px 28px;
  place-items: center;
  border: 0;
  border-radius: 9px;
  color: white;
  background: var(--rose);
  box-shadow: 0 14px 30px rgba(166, 63, 85, 0.24);
  cursor: pointer;
  transition: 180ms ease;
}

.primary-cta:hover { background: var(--rose-dark); transform: translateY(-2px); }
.primary-cta span { font-weight: 700; }
.primary-cta small { opacity: 0.78; font-size: 0.68rem; }
.trust-line { margin: 17px 0 0; color: var(--muted); font-size: 0.7rem; }

.campaign-art {
  position: relative;
  display: grid;
  min-height: 100%;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #e8cdcf, #f0dfd1);
}

.glow { position: absolute; width: 500px; height: 500px; border-radius: 50%; background: rgba(255, 247, 224, 0.65); filter: blur(4px); }

.story-cover {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(330px, 64%);
  aspect-ratio: 0.68;
  padding: 38px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  color: #f9ece4;
  border: 8px solid #ead6b8;
  outline: 1px solid #73253a;
  background: linear-gradient(145deg, #b44c67, #521b2c);
  box-shadow: 32px 38px 70px rgba(66, 26, 37, 0.32);
  transform: rotate(4deg);
}

.story-cover::before, .story-cover::after { position: absolute; content: ""; border: 1px solid rgba(255,255,255,0.18); border-radius: 50%; }
.story-cover::before { right: -100px; bottom: -70px; width: 300px; height: 300px; }
.story-cover::after { top: 70px; left: -100px; width: 250px; height: 250px; }
.story-cover span, .story-cover strong, .story-cover i { position: relative; z-index: 2; }
.story-cover span { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.15em; }
.story-cover strong { font: 600 clamp(2.3rem, 4vw, 3.6rem)/0.95 "Playfair Display", serif; }
.story-cover i { font-family: "Playfair Display", serif; }
.cover-ring { position: absolute; top: 37%; left: 50%; width: 120px; height: 120px; border: 4px double rgba(236, 210, 163, 0.62); border-radius: 50%; transform: translate(-50%, -50%); }

.floating-card { position: absolute; z-index: 3; right: 7%; bottom: 12%; display: grid; max-width: 160px; padding: 18px; border-radius: 10px; background: rgba(255,255,255,0.88); box-shadow: var(--shadow); backdrop-filter: blur(8px); }
.floating-card span { color: var(--rose); font: 700 1.5rem "Playfair Display", serif; }
.floating-card small { color: var(--muted); line-height: 1.35; }

.reader {
  display: grid;
  max-width: 1180px;
  margin: 0 auto;
  padding: 100px 28px;
  grid-template-columns: 250px minmax(0, 720px);
  justify-content: center;
  gap: 70px;
}

.reading-sidebar { align-self: start; position: sticky; top: 100px; display: grid; gap: 18px; }
.mini-cover { display: grid; min-height: 155px; padding: 25px; align-content: end; color: white; border-radius: 5px 10px 10px 5px; background: linear-gradient(145deg, #a64059, #451724); box-shadow: 8px 12px 25px rgba(64,31,40,0.15); }
.mini-cover span { font: 600 1.45rem "Playfair Display", serif; }
.mini-cover small { margin-top: 8px; opacity: 0.8; }
.progress-card { padding: 18px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); }
.progress-label { display: flex; justify-content: space-between; margin-bottom: 11px; font-size: 0.72rem; }
.progress-track { height: 6px; overflow: hidden; border-radius: 6px; background: #eadfe0; }
.progress-track span { display: block; width: 33%; height: 100%; border-radius: inherit; background: var(--rose); transition: width 300ms ease; }
.progress-card small { display: block; margin-top: 10px; color: var(--muted); font-size: 0.68rem; }
.save-button { padding: 13px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: transparent; cursor: pointer; }
.save-button.saved { color: white; border-color: var(--rose); background: var(--rose); }

.reading-panel { min-width: 0; }
.chapter-nav { display: flex; gap: 8px; margin-bottom: 42px; }
.chapter-nav button { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: transparent; cursor: pointer; }
.chapter-nav button.active { color: white; border-color: var(--ink); background: var(--ink); }
.reading-panel h2 { margin-bottom: 35px; font-size: clamp(2.6rem, 5vw, 4.7rem); line-height: 1; }
.chapter-body { color: #403538; font: 1.15rem/2 Georgia, serif; }
.chapter-body p { margin: 0 0 1.55em; }
.chapter-body p:first-child::first-letter { float: left; margin: 9px 10px 0 0; color: var(--rose); font: 4.6rem/0.72 "Playfair Display", serif; }

.story-ad { display: grid; min-height: 160px; margin: 55px 0; padding: 28px; place-items: center; border: 1px solid var(--line); color: var(--muted); background: #f1ebe4; text-align: center; }
.story-ad small { font-size: 0.56rem; letter-spacing: 0.14em; }
.story-ad strong { color: var(--ink); font-family: "Playfair Display", serif; font-size: 1.2rem; }
.story-ad span { font-size: 0.78rem; }
.story-ad a { color: var(--rose); font-size: 0.75rem; font-weight: 700; text-decoration: underline; }
.next-button { display: flex; width: 100%; min-height: 68px; padding: 0 24px; align-items: center; justify-content: space-between; border: 0; border-radius: 9px; color: white; background: var(--rose); cursor: pointer; }
.next-button:hover { background: var(--rose-dark); }
.next-button span { opacity: 0.78; font-size: 0.75rem; }

.unlock { max-width: 820px; margin: 20px auto 110px; padding: 70px clamp(25px, 7vw, 80px); border-radius: 14px; color: #fff8f2; background: var(--ink); text-align: center; box-shadow: var(--shadow); }
.unlock-icon { display: grid; width: 55px; height: 55px; margin: 0 auto 25px; place-items: center; border-radius: 50% 50% 50% 12%; color: white; background: var(--rose); font: italic 700 1.5rem "Playfair Display", serif; }
.unlock .eyebrow { color: #e7a8b3; }
.unlock h2 { margin-bottom: 18px; font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.05; }
.unlock > p:not(.eyebrow):not(.success-message) { color: #cbbfc1; line-height: 1.7; }
.unlock form { display: flex; max-width: 560px; margin: 30px auto 14px; gap: 8px; }
.unlock input { flex: 1; min-width: 0; min-height: 52px; padding: 0 16px; border: 0; border-radius: 8px; }
.unlock form button { padding: 0 20px; border: 0; border-radius: 8px; color: white; background: var(--rose); font-weight: 700; cursor: pointer; }
.unlock > small { color: #998d90; }
.success-message { color: #e7a8b3; font-weight: 700; }

.recommendations { padding: 90px clamp(24px, 8vw, 120px); background: #f3ece5; text-align: center; }
.recommendations h2 { margin-bottom: 42px; font-size: clamp(2.4rem, 4vw, 4rem); }
.recommendation-grid { display: grid; max-width: 850px; margin: auto; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.recommendation-card { text-align: left; }
.recommendation-cover { display: flex; aspect-ratio: 0.72; padding: 22px; align-items: center; color: white; border-radius: 5px 10px 10px 5px; box-shadow: 8px 12px 25px rgba(64,31,40,0.13); }
.recommendation-cover strong { font: 600 2rem/1 "Playfair Display", serif; }
.cover-one { background: linear-gradient(145deg, #8f354d, #3a1f2c); }
.cover-two { background: linear-gradient(145deg, #bd795f, #6f3531); }
.cover-three { background: linear-gradient(145deg, #7b4c77, #d098aa); }
.recommendation-card h3 { margin: 15px 0 5px; font-size: 1.1rem; }
.recommendation-card > span { color: var(--rose); font-size: 0.8rem; font-weight: 700; }

footer { display: flex; padding: 30px clamp(24px, 6vw, 92px); align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); border-top: 1px solid var(--line); font-size: 0.76rem; }
.footer-links { display: flex; align-items: center; gap: 13px; }
.footer-links a:hover { color: var(--rose); }

@media (max-width: 900px) {
  .campaign-hero { grid-template-columns: 1fr; }
  .campaign-art { min-height: 650px; }
  .reader { grid-template-columns: 1fr; gap: 40px; }
  .reading-sidebar { position: static; grid-template-columns: 180px 1fr; }
  .save-button { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .story-header { height: 64px; padding: 0 16px; }
  .brand { font-size: 1.05rem; }
  .brand-mark { width: 30px; height: 30px; }
  .free-label { display: none; }
  .campaign-copy { padding: 55px 20px 50px; }
  h1 { font-size: 3.7rem; }
  .hook { font-size: 1rem; }
  blockquote { font-size: 1rem; }
  .primary-cta { width: 100%; min-width: 0; }
  .campaign-art { min-height: 530px; }
  .story-cover { width: 250px; }
  .floating-card { right: 14px; bottom: 25px; }
  .reader { padding: 70px 20px; }
  .reading-sidebar { grid-template-columns: 1fr; }
  .mini-cover { display: none; }
  .save-button { grid-column: auto; }
  .chapter-body { font-size: 1.06rem; line-height: 1.85; }
  .next-button { align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; }
  .unlock { margin: 0 16px 80px; padding: 50px 22px; }
  .unlock form { flex-direction: column; }
  .unlock form button { min-height: 52px; }
  .recommendation-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .recommendation-card:last-child { display: none; }
  .recommendation-cover strong { font-size: 1.45rem; }
  footer { align-items: flex-start; flex-direction: column; }
  .footer-links { flex-wrap: wrap; }
}
