:root {
  --ink: #141414;
  --ink-soft: #202020;
  --paper: #f1efe9;
  --muted: #a7a49e;
  --line: rgba(255,255,255,.16);
  --red: #f13b1d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: #f7f5f0; font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.nav { height: 88px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.brand { font-size: 26px; font-weight: 900; letter-spacing: -.06em; }
.brand span { color: var(--red); }
.nav-links { display: flex; align-items: center; gap: 34px; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; }
.nav-links a:hover { color: var(--red); }
.client-area-link { color: var(--red); font-weight: 800; }
.client-area-link:hover { color: #ff674e!important; }
.nav-cta { border: 1px solid rgba(255,255,255,.5); padding: 13px 20px; }

.hero { min-height: 760px; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; overflow: hidden; }
.hero-copy { padding: 70px 0 60px; position: relative; z-index: 2; }
.eyebrow, .section-number { color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.hero h1 { margin: 22px 0 26px; font-size: clamp(60px, 7.2vw, 104px); line-height: .88; letter-spacing: -.075em; text-transform: uppercase; }
.hero-lead { max-width: 570px; color: #c5c2bc; font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 40px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 54px; padding: 0 28px; border: 0; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; cursor: pointer; }
.button.primary { background: var(--red); color: #fff; box-shadow: 0 14px 35px rgba(241,59,29,.2); }
.button.primary:hover { background: #ff4a2b; transform: translateY(-1px); }
.button:disabled { opacity: .62; cursor: not-allowed; }
.text-link { font-size: 13px; font-weight: 700; border-bottom: 1px solid #777; padding-bottom: 6px; }
.text-link span { color: var(--red); margin-left: 8px; }
.hero-meta { display: flex; gap: 52px; margin-top: 65px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 590px; }
.hero-meta div { display: flex; flex-direction: column; gap: 5px; }
.hero-meta strong { font-size: 18px; }
.hero-meta span { color: #87847e; font-size: 11px; text-transform: uppercase; letter-spacing: .13em; }

.book-stage { height: 100%; min-height: 670px; position: relative; display: grid; place-items: center; perspective: 1400px; }
.book-stage::after { content: ""; position: absolute; width: 55%; height: 70%; background: rgba(0,0,0,.65); filter: blur(50px); transform: translate(25px,40px) rotate(-8deg); }
.book-cover { width: min(420px, 72%); max-height: 650px; object-fit: contain; z-index: 2; transform: rotateY(-8deg) rotateZ(1deg); box-shadow: 25px 38px 65px rgba(0,0,0,.65), -1px 0 #555; }
.red-orbit { position: absolute; width: 520px; height: 520px; border: 1px solid rgba(241,59,29,.5); border-radius: 50%; }
.red-orbit::before { content: ""; position: absolute; inset: 60px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.vertical-note { position: absolute; right: 0; bottom: 70px; writing-mode: vertical-rl; color: #6f6c67; font-size: 9px; letter-spacing: .28em; }

.manifesto { background: var(--paper); color: var(--ink); padding: 130px 0; }
.manifesto-grid { display: grid; grid-template-columns: .65fr 2fr 1fr; gap: 65px; align-items: start; }
.manifesto blockquote { margin: 0; font-size: clamp(35px, 4.2vw, 58px); line-height: 1.08; letter-spacing: -.045em; font-weight: 800; }
.manifesto-copy { color: #595752; line-height: 1.75; font-size: 15px; }
.manifesto-copy p:first-child { margin-top: 0; }

.contents { padding: 130px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: start; margin-bottom: 70px; }
.section-heading h2, .for-you h2, .author h2, .purchase h2 { margin: 0; font-size: clamp(44px, 5.4vw, 76px); line-height: .96; letter-spacing: -.06em; text-transform: uppercase; }
.chapter-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.chapter { min-height: 126px; display: grid; grid-template-columns: 50px 1fr 30px; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); padding: 0 24px 0 0; }
.chapter:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 40px; }
.chapter:nth-child(even) { padding-left: 40px; }
.chapter span { color: var(--red); font-size: 11px; font-weight: 800; }
.chapter h3 { margin: 0; font-size: 18px; font-weight: 500; }
.chapter i { color: #777; font-style: normal; }
.chapters-note { text-align: center; color: #777; margin: 36px 0 0; font-size: 12px; }

.for-you { background: var(--ink-soft); padding: 120px 0; }
.for-you-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.for-you h2 { margin-top: 20px; max-width: 530px; }
.for-you ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.for-you li { display: grid; grid-template-columns: 50px 1fr; gap: 20px; padding: 25px 0; border-bottom: 1px solid var(--line); line-height: 1.5; color: #cfccc6; }
.for-you li span { color: var(--red); font-size: 11px; font-weight: 800; }

.library { padding: 130px 0; }
.library-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 90px; align-items: end; margin-bottom: 70px; }
.library-heading h2 { margin: 20px 0 0; font-size: clamp(52px, 6.2vw, 88px); line-height: .9; letter-spacing: -.065em; text-transform: uppercase; }
.library-intro { max-width: 500px; color: #aaa7a1; font-size: 16px; line-height: 1.7; }
.library-intro strong { color: #fff; }
.library-intro span { display: inline-block; margin-top: 18px; color: var(--red); font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.materials-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.material-card { min-height: 355px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; position: relative; transition: background .2s ease, transform .2s ease; }
.material-card:hover { background: var(--ink-soft); transform: translateY(-3px); }
.material-topline { display: flex; align-items: center; justify-content: space-between; color: #696661; font-size: 10px; }
.material-topline small { color: var(--red); font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.material-code { margin: 72px 0 14px!important; color: var(--red)!important; font-size: 10px!important; font-weight: 800; letter-spacing: .18em; }
.material-card h3 { margin: 0; max-width: 230px; font-size: 23px; line-height: 1.12; letter-spacing: -.03em; }
.material-card > p { color: #8f8c86; font-size: 13px; line-height: 1.6; }
.material-mark { margin-top: auto; color: #5d5a55; text-align: right; font-size: 18px; }
.library-note { margin: 32px 0 0; color: #77746e; font-size: 12px; text-align: center; }

.author { padding: 130px 0; display: grid; grid-template-columns: .85fr 1.15fr; gap: 110px; align-items: center; }
.author-photo-wrap { position: relative; min-height: 590px; display: flex; align-items: end; justify-content: center; overflow: hidden; }
.author-photo-bg { position: absolute; inset: 40px 20px 0; background: #d8d5cf; }
.author-photo-bg::before { content: ""; position: absolute; height: 100%; width: 5px; left: -20px; background: var(--red); }
.author-photo { width: 100%; max-height: 590px; object-fit: cover; object-position: center top; position: relative; z-index: 1; filter: saturate(.85) contrast(1.03); }
.author-copy h2 { margin: 20px 0 12px; }
.author-role { color: var(--red)!important; text-transform: uppercase; letter-spacing: .13em; font-size: 11px!important; font-weight: 800; margin-bottom: 32px!important; }
.author-copy > p { max-width: 620px; font-size: 17px; line-height: 1.7; color: #aaa7a1; }
.signature { margin-top: 35px; display: inline-block; padding-top: 15px; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: .25em; }

.purchase { background: var(--paper); color: var(--ink); padding: 120px 0; }
.purchase-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 110px; align-items: center; }
.purchase-title h2 { margin: 22px 0; font-size: clamp(60px, 7vw, 98px); }
.purchase-title > p:last-child { max-width: 550px; font-size: 18px; color: #696660; line-height: 1.6; }
.purchase-card { background: #fff; padding: 38px; box-shadow: 0 24px 70px rgba(0,0,0,.12); }
.format-row { display: flex; justify-content: space-between; font-size: 12px; color: #777; border-bottom: 1px solid #e1dfda; padding-bottom: 18px; }
.format-row strong { color: var(--ink); }
.price { display: flex; justify-content: space-between; align-items: baseline; padding: 30px 0; }
.price span { color: #777; font-size: 12px; font-weight: 800; }
.price strong { font-size: 48px; letter-spacing: -.05em; }
.full { width: 100%; }
.cart-product { display: flex; align-items: center; gap: 12px; padding: 18px; margin-bottom: 12px; background: #f5f3ee; border: 1px solid #e1dfda; }
.cart-product > div { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.cart-product strong { font-size: 14px; }
.cart-product span { color: #777; font-size: 11px; }
.cart-action { border: 0; padding: 10px 14px; background: var(--ink); color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 10px; cursor: pointer; }
.cart-action.remove { background: transparent; color: #777; border: 1px solid #bbb; }
.cart-summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 0 18px; font-size: 12px; }
.cart-summary strong { font-size: 18px; }
.checkout-form { display: grid; gap: 10px; }
.checkout-form label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.checkout-form input { width: 100%; min-height: 50px; border: 1px solid #d7d4ce; padding: 0 14px; background: #fff; color: var(--ink); font: inherit; }
.checkout-form input:focus { outline: 2px solid rgba(241,59,29,.25); border-color: var(--red); }
.checkout-message { min-height: 18px; margin: 10px 0 0; text-align: center; color: #a82610; font-size: 12px; line-height: 1.4; }
.checkout-message.success { color: #26713a; }
.checkout-message.info { color: #595752; }
.secure-note { text-align: center; color: #8a8782; font-size: 11px; margin: 13px 0 30px; }
.delivery-note { margin-bottom: 24px; padding: 18px; background: #f5f3ee; border-left: 3px solid var(--red); }
.delivery-note strong { font-size: 11px; text-transform: uppercase; letter-spacing: .09em; }
.delivery-note p { margin: 8px 0 0; color: #6e6b65; font-size: 12px; line-height: 1.55; }
.included { border-top: 1px solid #e1dfda; padding-top: 22px; }
.included > p { font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.included ul { list-style: none; margin: 18px 0 0; padding: 0; color: #6e6b65; font-size: 13px; line-height: 2.1; }
.included li::first-letter { color: var(--red); }

.footer { min-height: 125px; display: flex; align-items: center; justify-content: space-between; color: #74716c; font-size: 11px; }
.footer a:hover { color: #fff; }

@media (max-width: 900px) {
  .nav-links > a:not(.nav-cta):not(.client-area-link) { display: none; }
  .nav-links { gap: 18px; }
  .hero { grid-template-columns: 1fr; padding-top: 20px; }
  .hero-copy { padding-bottom: 0; }
  .book-stage { min-height: 600px; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 35px; }
  .for-you-grid, .author, .purchase-grid, .library-heading { grid-template-columns: 1fr; gap: 65px; }
  .materials-grid { grid-template-columns: 1fr 1fr; }
  .author-photo-wrap { max-width: 560px; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 30px, 1180px); }
  .nav { height: 72px; }
  .nav-links { gap: 10px; font-size: 9px; letter-spacing: .08em; }
  .client-area-link { max-width: 66px; line-height: 1.2; text-align: center; }
  .nav-cta { padding: 10px 12px; }
  .hero { min-height: auto; }
  .hero h1 { font-size: 54px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 20px; }
  .text-link { align-self: flex-start; }
  .hero-meta { gap: 22px; justify-content: space-between; }
  .book-stage { min-height: 510px; }
  .book-cover { width: 74%; }
  .red-orbit { width: 390px; height: 390px; }
  .vertical-note { display: none; }
  .manifesto, .contents, .for-you, .library, .author, .purchase { padding: 85px 0; }
  .section-heading { display: block; }
  .section-heading h2 { margin-top: 22px; }
  .chapter-grid { grid-template-columns: 1fr; }
  .chapter:nth-child(odd) { border-right: 0; padding-right: 20px; }
  .chapter:nth-child(even) { padding-left: 0; }
  .author-photo-wrap { min-height: 460px; }
  .materials-grid { grid-template-columns: 1fr; }
  .material-card { min-height: 300px; }
  .purchase-card { padding: 26px 20px; }
  .price strong { font-size: 40px; }
  .footer { padding: 35px 0; flex-direction: column; gap: 18px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.purchase-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 22px 0 12px;
}

.purchase-step.second-step {
  margin-top: 26px;
}

.purchase-step p {
  margin: 5px 0 0;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #171713;
  color: #fff;
  font-weight: 700;
}

.email-button {
  background: transparent;
  border: 1px solid currentColor;
  color: #171713;
}

.email-button:hover {
  background: #171713;
  color: #fff;
}
