:root {
  --paper: #f4efe4;
  --paper-strong: #fcf8f1;
  --ink: #15243c;
  --ink-soft: #405067;
  --line: rgba(21, 36, 60, 0.12);
  --ember: #ea5d36;
  --cobalt: #285ac8;
  --sage: #3f7b60;
  --gold: #ac7b11;
  --crimson: #9e3144;
  --sunset: #d16822;
  --teal: #257d8e;
  --shadow: 0 24px 70px rgba(21, 36, 60, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(234, 93, 54, 0.12), transparent 32%),
    radial-gradient(circle at top right, rgba(40, 90, 200, 0.12), transparent 28%),
    linear-gradient(180deg, #f8f3ea 0%, var(--paper) 100%);
  font-family: "Space Grotesk", sans-serif;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(21, 36, 60, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 36, 60, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 88%);
}

.ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
}

.ambient-one {
  width: 18rem;
  height: 18rem;
  background: rgba(234, 93, 54, 0.2);
  top: 8%;
  left: -6%;
}

.ambient-two {
  width: 14rem;
  height: 14rem;
  background: rgba(40, 90, 200, 0.18);
  top: 40%;
  right: -4%;
}

a {
  color: inherit;
}

.site-header,
.site-footer,
.page-shell {
  position: relative;
  z-index: 1;
}

.site-header {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brandmark {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
}

.brandmark-kicker {
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.brandmark-name {
  font-family: "Fraunces", serif;
  font-size: 1.45rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  gap: 1.2rem;
  font-size: 0.95rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
}

.page-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.page-shell.narrow {
  max-width: 860px;
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.panel,
.signal-card,
.offer-card,
.book-card {
  border: 1px solid var(--line);
  background: rgba(252, 248, 241, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero {
  padding: 2.2rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  border-radius: 28px;
  overflow: hidden;
}

.launch-strip {
  margin-bottom: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.launch-strip-copy {
  display: grid;
  gap: 0.2rem;
}

.launch-strip-copy span:last-child {
  color: var(--ink-soft);
  line-height: 1.5;
}

.launch-pill,
.launch-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  background: rgba(234, 93, 54, 0.12);
  color: var(--ember);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.launch-tag {
  margin-top: 0.8rem;
}

.eyebrow {
  margin: 0 0 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  color: var(--ink-soft);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  line-height: 0.95;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.6rem);
  max-width: 9ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: 1.5rem;
}

.hero-text,
.section-head p,
.offer-subtitle,
.manifest-copy p,
.faq p,
.download-note,
.prose-panel p {
  color: var(--ink-soft);
  line-height: 1.65;
}

.hero-actions,
.closing-actions,
.card-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.hero-benefits {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.hero-benefits span {
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  background: rgba(21, 36, 60, 0.07);
  color: var(--ink);
  font-size: 0.84rem;
}

.button {
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.25rem;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

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

.button-primary {
  background: var(--ink);
  color: #fff;
}

.button-secondary {
  background: rgba(21, 36, 60, 0.08);
  color: var(--ink);
}

.hero-frame {
  position: relative;
  min-height: 100%;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  margin: 1rem 0 0;
}

.proof-pill,
.value-card {
  border: 1px solid var(--line);
  background: rgba(252, 248, 241, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.proof-pill {
  border-radius: 20px;
  padding: 1rem 1.1rem;
  display: grid;
  gap: 0.35rem;
}

.proof-pill span {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--ink-soft);
}

.proof-pill strong {
  line-height: 1.35;
}

.hero-grid {
  display: grid;
  gap: 1rem;
  height: 100%;
  align-content: stretch;
}

.mini-panel {
  padding: 1.2rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(246, 238, 223, 0.88));
  border: 1px solid rgba(21, 36, 60, 0.1);
}

.mini-panel strong {
  display: block;
  margin-top: 0.45rem;
  font-size: 1.15rem;
  line-height: 1.35;
}

.mini-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--ink-soft);
}

.mini-stat strong {
  font-size: 2.2rem;
  font-family: "Fraunces", serif;
}

.signal-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.2rem 0 3rem;
}

.signal-card {
  padding: 1.4rem;
  border-radius: 22px;
}

.signal-index,
.offer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  background: rgba(21, 36, 60, 0.08);
  color: var(--ink);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section-head {
  margin: 3rem 0 1.3rem;
}

.section-head.left {
  margin-top: 0;
}

.offer-grid,
.book-grid,
.faq-list {
  display: grid;
  gap: 1rem;
}

.offer-grid {
  grid-template-columns: repeat(3, 1fr);
}

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

.offer-card,
.book-card {
  border-radius: 24px;
  padding: 1.4rem;
  position: relative;
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.offer-card:hover,
.book-card:hover,
.value-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 90px rgba(21, 36, 60, 0.16);
}

.offer-card::before,
.book-card::before {
  content: "";
  position: absolute;
  inset: auto -3rem -4rem auto;
  width: 10rem;
  height: 10rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  filter: blur(0);
  opacity: 0.9;
}

.offer-card-lead {
  border-color: rgba(234, 93, 54, 0.35);
  box-shadow:
    0 30px 90px rgba(21, 36, 60, 0.16),
    0 0 0 1px rgba(234, 93, 54, 0.08);
}

.tone-ember::before {
  background: rgba(234, 93, 54, 0.22);
}

.tone-cobalt::before {
  background: rgba(40, 90, 200, 0.2);
}

.tone-sage::before {
  background: rgba(63, 123, 96, 0.18);
}

.tone-gold::before {
  background: rgba(172, 123, 17, 0.18);
}

.tone-crimson::before {
  background: rgba(158, 49, 68, 0.18);
}

.tone-sunset::before {
  background: rgba(209, 104, 34, 0.18);
}

.tone-teal::before {
  background: rgba(37, 125, 142, 0.18);
}

.offer-header,
.offer-meta,
.offer-pills {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.offer-price {
  font-size: 1.45rem;
  font-family: "Fraunces", serif;
}

.offer-price-stack {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}

.offer-compare,
.value-compare {
  color: var(--ink-soft);
  text-decoration: line-through;
  font-size: 0.95rem;
}

.offer-save,
.value-save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  background: rgba(234, 93, 54, 0.12);
  color: var(--ember);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.offer-list {
  margin: 1rem 0;
  padding-left: 1rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.offer-list.compact li + li {
  margin-top: 0.2rem;
}

.offer-pills {
  margin-top: 1rem;
}

.offer-pills span {
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  background: rgba(21, 36, 60, 0.06);
  font-size: 0.8rem;
}

.card-note,
.value-note {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.card-note {
  align-self: center;
}

.value-panel {
  margin-top: 1.2rem;
  padding: 1.8rem;
  border-radius: 26px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.value-copy {
  margin-bottom: 1.2rem;
}

.value-card {
  border-radius: 22px;
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: "";
  position: absolute;
  inset: auto -2rem -3rem auto;
  width: 8rem;
  height: 8rem;
  border-radius: 999px;
  opacity: 0.9;
}

.value-card-lead {
  background: linear-gradient(180deg, rgba(255, 248, 241, 0.96), rgba(252, 239, 233, 0.96));
  border-color: rgba(234, 93, 54, 0.3);
}

.value-topline,
.value-price-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.value-price-row {
  margin: 0.9rem 0 0.55rem;
}

.value-card .button {
  margin-top: 0.4rem;
}

.free-hero,
.framework-panel,
.free-cta-panel {
  margin-top: 1rem;
  padding: 1.8rem;
  border-radius: 26px;
}

.free-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 1.4rem;
}

.free-hero-card,
.framework-step,
.example-card,
.sample-offer-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.free-hero-card {
  padding: 1.3rem;
  display: grid;
  gap: 0.9rem;
}

.free-hero-points {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.free-hero-points span {
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
  background: rgba(21, 36, 60, 0.08);
  width: fit-content;
}

.framework-grid,
.example-grid,
.sample-offers {
  display: grid;
  gap: 1rem;
}

.framework-grid {
  grid-template-columns: repeat(3, 1fr);
}

.example-grid {
  grid-template-columns: repeat(3, 1fr);
}

.framework-step,
.example-card,
.sample-offer-card {
  padding: 1.25rem;
}

.framework-step span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: rgba(21, 36, 60, 0.08);
  font-family: "Fraunces", serif;
  margin-bottom: 0.8rem;
}

.framework-step p,
.example-card p,
.sample-offer-card p {
  color: var(--ink-soft);
  line-height: 1.6;
}

.free-cta-panel {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.2rem;
}

.sample-offer-card .button {
  margin-top: 0.9rem;
}

.manifest {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: 26px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2rem;
}

.manifest-stack {
  display: grid;
  gap: 1rem;
}

.stack-card {
  padding: 1.1rem 1.2rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
}

.stack-card span {
  display: block;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--ink-soft);
}

.faq {
  padding: 2rem;
  border-radius: 26px;
  margin-top: 3rem;
}

.faq-list {
  grid-template-columns: repeat(2, 1fr);
}

.faq-list article {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.closing {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: 26px;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
}

.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem 2.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-soft);
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.banner,
.toast,
.loader,
.download-card {
  border-radius: 18px;
}

.banner {
  margin-top: 1.2rem;
  padding: 1rem 1.2rem;
  background: rgba(21, 36, 60, 0.08);
  color: var(--ink);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  padding: 0.85rem 1.1rem;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
  z-index: 10;
}

.purchase-panel,
.prose-panel {
  width: 100%;
  padding: 2rem;
  border-radius: 26px;
}

.download-stack {
  margin-top: 1.5rem;
}

.loader,
.download-card {
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}

.download-card.error {
  border-color: rgba(158, 49, 68, 0.35);
  color: var(--crimson);
}

.download-note {
  margin-bottom: 0;
}

.success-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(246, 238, 223, 0.88));
}

.success-steps {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.success-steps article {
  padding: 0.95rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
}

.success-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(21, 36, 60, 0.08);
  font-size: 0.82rem;
  margin-bottom: 0.65rem;
}

.success-steps strong {
  display: block;
  margin-bottom: 0.45rem;
}

.success-steps p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.5;
  font-size: 0.92rem;
}

.sticky-buy-bar {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%) translateY(130%);
  width: min(980px, calc(100vw - 2rem));
  z-index: 11;
  transition: transform 180ms ease, opacity 180ms ease;
  opacity: 0;
  pointer-events: none;
}

.sticky-buy-bar.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-buy-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  border-radius: 22px;
  background: rgba(21, 36, 60, 0.94);
  color: #fff;
  box-shadow: 0 26px 80px rgba(21, 36, 60, 0.32);
}

.sticky-buy-copy {
  display: grid;
  gap: 0.15rem;
}

.sticky-buy-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.72);
}

.sticky-buy-copy strong {
  font-size: 1rem;
}

.sticky-buy-meta {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.sticky-buy-inner .button-primary {
  background: var(--paper-strong);
  color: var(--ink);
}

@media (max-width: 1024px) {
  .hero,
  .free-hero,
  .free-cta-panel,
  .launch-strip,
  .manifest,
  .offer-grid,
  .signal-row,
  .faq-list,
  .closing,
  .proof-band,
  .value-grid,
  .success-steps,
  .framework-grid,
  .example-grid,
  .sample-offers {
    grid-template-columns: 1fr;
  }

  .closing {
    align-items: start;
  }
}

@media (max-width: 720px) {
  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: start;
  }

  .launch-strip {
    align-items: start;
    flex-direction: column;
  }

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

  .hero,
  .free-hero,
  .framework-panel,
  .free-cta-panel,
  .value-panel,
  .manifest,
  .faq,
  .closing {
    padding: 1.4rem;
  }

  h1 {
    font-size: 3rem;
  }

  .sticky-buy-inner {
    align-items: start;
    flex-direction: column;
  }
}
