:root {
  color-scheme: light;
  --ink: #112f3b;
  --ink-deep: #0a222b;
  --muted: #506069;
  --paper: #faf7f1;
  --cream: #f3ece0;
  --blush: #f6e1db;
  --coral: #e68063;
  --coral-dark: #c75e43;
  --line: #ddd6ca;
  --white: #fffdf9;
  --body: "Trebuchet MS", "Segoe UI", sans-serif;
  --display: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
.shell { width: min(100% - 48px, 1200px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 100; top: -80px; left: 20px; padding: 12px 18px; background: var(--white); font-weight: 700; }
.skip-link:focus { top: 12px; }

.topline { background: var(--ink-deep); color: #f7eee7; font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.topline-inner { min-height: 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-header { height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: max-content; text-decoration: none; }
.brand-mark { width: 36px; height: 36px; position: relative; display: block; border: 2px solid var(--ink); border-radius: 50%; transform: rotate(-18deg); }
.brand-mark i { position: absolute; display: block; height: 3px; left: 7px; right: 7px; background: var(--coral-dark); border-radius: 3px; }
.brand-mark i:nth-child(1) { top: 10px; }
.brand-mark i:nth-child(2) { top: 16px; right: 11px; }
.brand-mark i:nth-child(3) { top: 22px; right: 16px; }
.brand-words { font-size: 12px; line-height: 1.15; font-weight: 700; letter-spacing: .11em; }
.brand-words strong { font-size: 17px; letter-spacing: .055em; }
.header-nav { display: flex; align-items: center; justify-content: center; gap: 36px; margin-left: auto; }
.header-nav a { text-decoration: none; font-size: 13px; font-weight: 700; }
.header-nav a:hover, .site-footer a:hover { color: var(--coral-dark); }
.header-cta { text-decoration: none; background: var(--ink); color: var(--white); padding: 15px 19px; font-weight: 800; font-size: 12px; letter-spacing: .03em; white-space: nowrap; }
.header-cta span, .submit-button span, .closing a span { margin-left: 12px; }
.header-cta:hover { background: #264b57; }

.hero { background: radial-gradient(circle at 4% 9%, #fffdf9 0, transparent 38%), linear-gradient(110deg, #f9ede7 0, #f5e1db 54%, #f4ded5 100%); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 570px; height: 570px; left: -310px; bottom: -360px; border: 1px solid #e6b8a9; border-radius: 50%; box-shadow: 0 0 0 45px #f6e6dd, 0 0 0 46px #e8c9be, 0 0 0 100px #f8e8df, 0 0 0 101px #ebd2c8; opacity: .65; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(355px, .8fr); align-items: center; gap: clamp(50px, 7vw, 100px); padding-block: 68px 78px; }
.hero-copy { padding-block: 18px; }
.eyebrow, .section-index { color: var(--coral-dark); font-weight: 800; font-size: 11px; letter-spacing: .17em; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow-line { width: 30px; height: 1px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--display); font-weight: 500; }
.hero h1 { font-size: clamp(54px, 5.9vw, 89px); line-height: 1.01; letter-spacing: -.058em; margin: 25px 0 27px; max-width: 750px; }
.hero h1 em { color: var(--coral-dark); font-weight: 400; white-space: nowrap; }
.hero-lead { max-width: 570px; font-size: clamp(19px, 1.8vw, 23px); line-height: 1.45; font-weight: 700; margin-bottom: 18px; }
.hero-description { max-width: 540px; font-size: 15px; line-height: 1.8; color: var(--muted); }
.hero-metrics { display: flex; gap: clamp(24px, 3vw, 52px); margin-top: 38px; padding-top: 26px; border-top: 1px solid #d7bdb3; max-width: 580px; }
.hero-metrics div { display: grid; gap: 5px; }
.hero-metrics strong { font-family: var(--display); font-size: 32px; line-height: 1; letter-spacing: -.05em; }
.hero-metrics span { color: #5e6465; font-size: 11px; font-weight: 800; line-height: 1.35; }
.hero-scroll { display: inline-flex; gap: 18px; margin-top: 29px; font-size: 12px; font-weight: 800; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 5px; }
.hero-scroll:hover { color: var(--coral-dark); }

.signup-panel { color: #fff9f1; background: var(--ink-deep); padding: clamp(27px, 3.3vw, 44px); box-shadow: 20px 22px 0 #d8bfb4, 0 22px 45px #513d3427; position: relative; isolation: isolate; }
.signup-panel::before { content: ""; position: absolute; inset: 9px; border: 1px solid #ffffff1a; pointer-events: none; }
.signup-corner { position: absolute; top: 17px; right: 29px; color: var(--coral); font-size: 26px; }
.panel-kicker { display: block; color: #d5a799; font-size: 10px; font-weight: 800; letter-spacing: .22em; margin-bottom: 23px; }
.signup-heading h2 { font-size: clamp(34px, 3.2vw, 46px); line-height: 1.07; letter-spacing: -.045em; margin: 0 0 13px; }
.signup-heading h2 em { color: #efab96; font-weight: 400; }
.signup-heading p { color: #d6dcd9; font-size: 13px; line-height: 1.6; max-width: 360px; margin-bottom: 26px; }
#register-form { display: grid; }
#register-form > label:not(.check-row) { font-size: 11px; font-weight: 800; margin: 0 0 8px; letter-spacing: .02em; }
#register-form > label:not(.check-row) span { color: #efab96; }
#register-form > input:not([type="checkbox"]) { min-width: 0; min-height: 47px; border: 1px solid #5b7279; border-radius: 0; background: #173a45; color: var(--white); outline-offset: 2px; padding: 11px 14px; margin-bottom: 16px; font-size: 14px; }
#register-form > input::placeholder { color: #a9b8ba; }
#register-form > input:focus { border-color: #efab96; }
.honeypot { position: absolute !important; left: -10000px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.check-row { display: flex; align-items: flex-start; gap: 11px; margin: 1px 0 12px; color: #e5e8e5; line-height: 1.45; font-size: 11px; }
.check-row input { width: 16px; height: 16px; flex: none; margin: 0; accent-color: var(--coral); }
.check-row a { color: #ffc0aa; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.check-row.optional { color: #bfcac8; margin-bottom: 20px; }
.check-row small { white-space: nowrap; color: #a3b3b3; }
.submit-button { width: 100%; min-height: 51px; border: 0; background: var(--coral); color: #152e37; font-size: 13px; font-weight: 900; letter-spacing: .02em; display: flex; align-items: center; justify-content: center; gap: 4px; transition: background .15s ease, transform .15s ease; }
.submit-button:hover { background: #f4a38b; transform: translateY(-2px); }
.submit-button:disabled { opacity: .7; cursor: wait; transform: none; }
.form-status { min-height: 0; font-size: 12px; line-height: 1.5; margin: 0; }
.form-status:not(:empty) { margin-top: 12px; padding: 10px 12px; background: #a3443233; color: #ffb9a6; border-left: 3px solid #ea876b; }
.form-status[data-kind="success"] { background: #9ccfb321; color: #d3f2df; border-color: #a6dcb5; }
.form-note { color: #b8c4c2; font-size: 10px; line-height: 1.5; margin: 16px 0 0; text-align: center; }
.success-panel { padding: 12px 0 8px; }
.success-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #bfddca; color: var(--ink); font-weight: 900; font-size: 25px; margin-bottom: 18px; }
.success-panel h3 { font-family: var(--display); font-size: 31px; font-weight: 500; margin-bottom: 11px; }
.success-panel p { color: #d3dddb; line-height: 1.7; font-size: 14px; }
.success-panel a { display: inline-flex; gap: 18px; background: var(--coral); color: var(--ink); padding: 15px 18px; font-size: 12px; font-weight: 900; text-decoration: none; margin-top: 8px; }
.hero-edge { display: flex; justify-content: space-between; padding: 13px max(24px, calc((100vw - 1200px)/2)); background: #e9c7ba; color: #724b41; font-size: 10px; font-weight: 800; letter-spacing: .18em; gap: 15px; }

.library { padding-block: 104px 112px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 38px; }
.section-head h2 { font-size: clamp(38px, 4vw, 55px); line-height: 1.1; letter-spacing: -.045em; margin: 17px 0 13px; }
.section-head p { max-width: 610px; font-size: 14px; color: var(--muted); line-height: 1.75; margin-bottom: 0; }
.library-count { white-space: nowrap; padding-bottom: 4px; border-bottom: 1px solid var(--ink); font-weight: 800; font-size: 11px; letter-spacing: .14em; }
.book-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.book-card { min-width: 0; border: 1px solid var(--line); background: var(--white); display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.book-card:hover { transform: translateY(-5px); box-shadow: 0 17px 35px #2c3b381a; }
.cover { height: 275px; position: relative; overflow: hidden; padding: 22px 25px; display: flex; flex-direction: column; justify-content: space-between; isolation: isolate; }
.cover::before { content: ""; position: absolute; width: 265px; height: 265px; border: 1px solid currentColor; border-radius: 50%; top: -115px; right: -110px; opacity: .43; box-shadow: 0 0 0 22px #ffffff14, 0 0 0 23px currentColor, 0 0 0 52px #ffffff16, 0 0 0 53px currentColor; z-index: -1; }
.cover::after { content: ""; position: absolute; left: 26px; right: 25px; bottom: 52px; border-top: 1px solid currentColor; opacity: .45; }
.cover-brand { font-weight: 900; font-size: 10px; letter-spacing: .22em; }
.cover-sigil { position: absolute; right: 23px; bottom: 61px; font-family: var(--display); font-size: 88px; line-height: 1; font-weight: 400; opacity: .32; }
.cover strong { position: relative; font-family: var(--display); font-size: clamp(29px, 2.6vw, 38px); font-weight: 500; line-height: 1.02; letter-spacing: -.05em; max-width: 260px; }
.cover-foot { font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.cover-one { background: #dce9d8; color: #21443c; }
.cover-two { background: #eecdbd; color: #6d3a2e; }
.cover-three { background: #224e5c; color: #e7eee9; }
.cover-four { background: #ebdca8; color: #4f4935; }
.cover-five { background: #d9cedd; color: #493e59; }
.card-body { padding: 25px 25px 23px; display: flex; flex: 1; flex-direction: column; }
.card-meta { color: var(--coral-dark); font-size: 10px; font-weight: 900; letter-spacing: .15em; }
.card-body h3 { font-family: var(--display); font-size: 25px; font-weight: 500; line-height: 1.16; letter-spacing: -.035em; margin: 13px 0 10px; }
.card-body p { font-size: 13px; line-height: 1.7; color: var(--muted); margin-bottom: 27px; }
.card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; border-top: 1px solid #e9e4dc; padding-top: 16px; }
.card-foot > span { color: #6e7271; font-size: 10px; line-height: 1.4; font-weight: 700; }
.book-action { border: 0; background: transparent; padding: 0; color: var(--coral-dark); text-decoration: none; font-size: 11px; font-weight: 900; white-space: nowrap; }
.book-action span { margin-left: 3px; }
.book-action:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.book-action.download { color: #206e59; }
.library-note { font-size: 11px; color: #68716f; margin: 24px 0 0; line-height: 1.6; }

.how-section { background: var(--ink); color: #fcf8f1; padding-block: 96px; position: relative; overflow: hidden; }
.how-section::after { content: "05"; position: absolute; font: 400 430px/.8 var(--display); color: #ffffff05; left: -30px; bottom: -70px; pointer-events: none; }
.how-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(70px, 10vw, 150px); position: relative; z-index: 1; }
.how-intro .section-index { color: #edaf9d; }
.how-intro h2 { font-size: clamp(44px, 4.5vw, 62px); line-height: 1.08; letter-spacing: -.05em; max-width: 440px; margin: 17px 0 19px; }
.how-intro p { color: #c9d4d3; max-width: 430px; line-height: 1.75; font-size: 14px; }
.how-intro a { display: inline-flex; align-items: center; gap: 20px; border-bottom: 1px solid #e69b85; color: #f4b7a6; padding-bottom: 7px; margin-top: 20px; text-decoration: none; font-size: 12px; font-weight: 800; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 24px; padding: 25px 0; border-top: 1px solid #66808966; }
.steps li:last-child { border-bottom: 1px solid #66808966; }
.steps li > span { color: #eba48e; font: 400 36px/1 var(--display); }
.steps h3 { font-family: var(--display); font-weight: 500; font-size: 26px; letter-spacing: -.025em; margin: 0 0 8px; }
.steps p { color: #bdccca; font-size: 13px; line-height: 1.6; margin: 0; }

.about-section { display: grid; grid-template-columns: 100px minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; padding-block: 102px; }
.about-mark { font: 400 160px/.8 var(--display); color: var(--coral); align-self: start; }
.about-section h2 { font-size: clamp(42px, 4.3vw, 61px); letter-spacing: -.055em; line-height: 1.04; margin: 16px 0 0; }
.about-section h2 em { color: var(--coral-dark); font-weight: 400; }
.about-section > p { font-size: 15px; line-height: 1.9; color: var(--muted); margin: 28px 0 0; max-width: 490px; }
.closing { background: #f2d8cd; display: flex; justify-content: space-between; align-items: center; gap: 45px; padding: 58px 60px; margin-bottom: 85px; position: relative; overflow: hidden; }
.closing::after { content: "✳"; position: absolute; right: -32px; top: -100px; font-size: 270px; line-height: 1; color: #e1b6a733; transform: rotate(-25deg); pointer-events: none; }
.closing h2 { font-size: clamp(35px, 3.6vw, 51px); line-height: 1.1; letter-spacing: -.045em; margin: 13px 0 11px; }
.closing p { color: #5d605d; font-size: 14px; line-height: 1.6; margin: 0; }
.closing > a { flex: none; position: relative; z-index: 1; background: var(--ink); color: var(--white); text-decoration: none; padding: 18px 24px; font-size: 12px; font-weight: 900; white-space: nowrap; }
.closing > a:hover { background: #2a5160; }
.site-footer { background: var(--ink-deep); color: #edf0ea; padding-block: 43px; }
.footer-layout { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; }
.footer-brand { font-size: 12px; letter-spacing: .1em; }
.footer-brand b { color: #f2b39e; }
.site-footer p, .site-footer small { font-size: 11px; color: #9eb1b2; margin: 9px 0 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 25px; }
.site-footer a { color: #d9e3df; text-decoration: none; font-size: 11px; }

.policy-page { width: min(100% - 40px, 760px); margin: 7vw auto; padding: clamp(28px, 5vw, 55px); background: var(--white); border: 1px solid var(--line); }
.policy-page > a { color: var(--coral-dark); font-size: 12px; font-weight: 800; text-decoration: none; }
.policy-page h1 { font-size: clamp(38px, 5vw, 57px); margin: 31px 0 23px; }
.policy-page p { color: var(--muted); font-size: 15px; line-height: 1.8; }
.policy-page p a { color: var(--coral-dark); }

@media (max-width: 1050px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(330px, .85fr); gap: 34px; }
  .hero h1 { font-size: clamp(52px, 5.5vw, 70px); }
  .book-grid { gap: 18px; }
  .cover { height: 240px; }
  .card-body { padding: 22px 20px; }
  .card-body h3 { font-size: 23px; }
}

@media (max-width: 820px) {
  .header-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 62px 77px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(52px, 8vw, 76px); }
  .signup-panel { max-width: 570px; width: calc(100% - 20px); margin: 0 0 0 0; }
  .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .cover { height: 275px; }
  .how-layout { grid-template-columns: 1fr; gap: 45px; }
  .about-section { grid-template-columns: 60px 1fr; gap: 25px; }
  .about-section > p { grid-column: 2; margin-top: -10px; }
  .closing { padding: 45px; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 32px, 1200px); }
  .topline-inner { font-size: 8px; letter-spacing: .12em; }
  .site-header { height: 72px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-mark i { left: 6px; right: 6px; }
  .brand-mark i:nth-child(1) { top: 8px; }
  .brand-mark i:nth-child(2) { top: 14px; }
  .brand-mark i:nth-child(3) { top: 20px; }
  .brand-words { font-size: 9px; }
  .brand-words strong { font-size: 13px; }
  .header-cta { padding: 11px 10px; font-size: 10px; }
  .header-cta span { margin-left: 3px; }
  .hero-grid { padding-block: 42px 59px; gap: 37px; }
  .hero h1 { font-size: clamp(43px, 11vw, 58px); margin: 18px 0 22px; }
  .hero h1 em { white-space: normal; }
  .hero-lead { font-size: 18px; }
  .hero-description { font-size: 13px; }
  .hero-metrics { gap: 17px; margin-top: 29px; }
  .hero-metrics strong { font-size: 27px; }
  .hero-metrics span { font-size: 9px; }
  .hero-scroll { margin-top: 23px; }
  .signup-panel { width: calc(100% - 12px); padding: 29px 25px; box-shadow: 12px 14px 0 #d8bfb4; }
  .signup-heading h2 { font-size: 38px; }
  .hero-edge { font-size: 8px; letter-spacing: .07em; padding-inline: 16px; }
  .hero-edge span:last-child { display: none; }
  .library { padding-block: 72px 79px; }
  .section-head { display: block; margin-bottom: 28px; }
  .section-head h2 { font-size: 40px; }
  .section-head p { font-size: 13px; }
  .library-count { display: inline-block; margin-top: 22px; }
  .book-grid { grid-template-columns: 1fr; gap: 21px; }
  .cover { height: 255px; }
  .cover strong { font-size: 38px; }
  .card-body { padding: 23px; }
  .card-body h3 { font-size: 27px; }
  .how-section { padding-block: 73px; }
  .how-intro h2 { font-size: 47px; }
  .steps li { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; }
  .steps li > span { font-size: 29px; }
  .steps h3 { font-size: 23px; }
  .about-section { display: block; padding-block: 73px; }
  .about-mark { display: none; }
  .about-section h2 { font-size: 47px; }
  .about-section > p { margin-top: 22px; font-size: 14px; }
  .closing { display: block; padding: 36px 27px; margin-bottom: 62px; }
  .closing h2 { font-size: 38px; }
  .closing > a { display: inline-block; margin-top: 27px; }
  .footer-layout { display: grid; gap: 25px; }
  .site-footer nav { gap: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .book-card, .submit-button { transition: none; }
}
