:root {
  --ink: #102b2c;
  --ink-soft: #345354;
  --teal: #0e6b68;
  --teal-dark: #0a5553;
  --mint: #dceee8;
  --mint-light: #edf7f2;
  --sand: #f7f2e9;
  --paper: #fffdf8;
  --gold: #d9a84e;
  --line: #dce7e2;
  --white: #ffffff;
  --shadow: 0 22px 65px rgba(22, 61, 58, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Tahoma, Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.site-shell { min-height: 100vh; overflow: hidden; }
.section-wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  position: relative;
  z-index: 30;
  border-bottom: 1px solid rgba(16, 43, 44, 0.08);
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(16px);
}
.header-inner { height: 88px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand-mark {
  width: 46px; height: 46px; position: relative; display: grid; place-items: center;
  border-radius: 13px; background: var(--teal); color: white; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
}
.brand-mark i { position: absolute; top: 10px; width: 15px; height: 27px; background: rgba(255,255,255,.16); border-radius: 2px 8px 4px 2px; }
.brand-mark i:first-child { right: 7px; transform: rotate(-8deg); }
.brand-mark i:nth-child(2) { left: 7px; transform: rotate(8deg); }
.brand-mark b { position: relative; z-index: 2; font-size: 21px; line-height: 1; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy strong { font-size: 19px; letter-spacing: -.3px; }
.brand-copy small { margin-top: 5px; color: var(--teal); font-size: 8px; font-weight: 700; letter-spacing: 2px; direction: ltr; }
.site-header nav { display: flex; align-items: center; gap: 38px; color: var(--ink-soft); font-size: 14px; font-weight: 700; }
.site-header nav a { position: relative; transition: color .2s ease; }
.site-header nav a::after { content: ""; position: absolute; inset: auto 0 -12px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .2s ease; }
.site-header nav a:hover { color: var(--teal); }
.site-header nav a:hover::after { transform: scaleX(1); }
.header-cta { display: inline-flex; align-items: center; gap: 12px; padding: 11px 19px; border: 1px solid var(--teal); border-radius: 9px; color: var(--teal); font-size: 13px; font-weight: 800; transition: .2s ease; }
.header-cta:hover { background: var(--teal); color: white; }
.header-cta span { font-size: 19px; }

.hero { min-height: 665px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 40px; padding-block: 74px 78px; }
.hero-copy { position: relative; z-index: 2; padding-right: 18px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 17px; color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: .3px; }
.eyebrow span { width: 27px; height: 2px; background: var(--gold); }
.hero h1 { margin: 0; color: var(--ink); font-size: clamp(45px, 5.2vw, 73px); line-height: 1.23; letter-spacing: -3px; font-weight: 800; }
.hero h1 em { color: var(--teal); font-style: normal; position: relative; }
.hero h1 em::after { content: ""; position: absolute; right: 3px; bottom: -8px; width: 72%; height: 7px; border-radius: 50%; border-top: 2px solid var(--gold); transform: rotate(-1.5deg); opacity: .9; }
.hero-lead { max-width: 590px; margin: 27px 0 0; color: var(--ink-soft); font-size: 17px; line-height: 2; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 31px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; border-radius: 9px; padding: 0 23px; font-size: 14px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--teal); color: white; box-shadow: 0 12px 25px rgba(14,107,104,.2); }
.button-primary:hover { background: var(--teal-dark); box-shadow: 0 16px 28px rgba(14,107,104,.25); }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 13px; font-weight: 800; }
.text-link span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: var(--mint); color: var(--teal); }
.trust-line { display: flex; align-items: center; gap: 15px; margin-top: 38px; }
.trust-line p { margin: 0; color: #718585; font-size: 11px; line-height: 1.65; }
.trust-line strong { color: var(--ink); font-size: 12px; }
.mini-avatars { display: flex; direction: ltr; padding-left: 10px; }
.mini-avatars span { width: 31px; height: 31px; display: grid; place-items: center; margin-left: -8px; border: 2px solid var(--paper); border-radius: 50%; color: var(--ink); background: var(--mint); font-size: 11px; font-weight: 800; }
.mini-avatars span:nth-child(2) { background: #f2dfb8; }
.mini-avatars span:nth-child(3) { background: #d8e5ef; }

.hero-visual { min-height: 510px; position: relative; display: grid; place-items: center; }
.hero-visual::before { content: ""; position: absolute; width: 440px; height: 440px; border-radius: 50%; background: var(--mint-light); }
.hero-visual::after { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: rgba(201,231,220,.45); }
.orbit { position: absolute; z-index: 1; border: 1px dashed rgba(14,107,104,.22); border-radius: 50%; }
.orbit-one { width: 485px; height: 485px; }
.orbit-two { width: 380px; height: 380px; }
.book-scene { width: 390px; height: 450px; position: relative; z-index: 3; }
.book-page { position: absolute; width: 292px; height: 386px; border-radius: 8px 16px 16px 8px; }
.book-page-back { top: 40px; right: 57px; background: #e6d7bd; transform: rotate(-8deg); box-shadow: 0 23px 50px rgba(16,43,44,.16); }
.book-page-front { top: 22px; right: 40px; padding: 29px 31px; background: white; transform: rotate(3deg); box-shadow: 0 25px 65px rgba(16,43,44,.18); }
.book-page-front::before { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 11px; border-radius: 0 16px 16px 0; background: linear-gradient(90deg, rgba(7,60,59,.08), transparent); }
.page-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: #77908d; font-size: 9px; }
.page-top b { color: var(--teal); font-size: 11px; }
.reading-mark { margin-top: 37px; color: var(--teal); font-size: 8px; font-weight: 800; }
.reading-mark span { padding: 5px 8px; border-radius: 20px; background: var(--mint-light); }
.book-page-front h2 { margin: 13px 0 12px; font-size: 29px; line-height: 1.48; letter-spacing: -.9px; }
.book-page-front p { margin: 0; color: #5f7775; font-size: 10px; line-height: 2; }
.page-progress { position: absolute; bottom: 30px; left: 31px; right: 31px; height: 4px; border-radius: 8px; background: #e6efec; }
.page-progress span { display: block; width: 68%; height: 100%; background: var(--gold); border-radius: inherit; }
.page-progress small { position: absolute; left: 0; bottom: 9px; color: var(--teal); font-size: 8px; font-weight: 800; }
.floating-note { position: absolute; z-index: 8; min-width: 113px; display: flex; flex-direction: column; padding: 13px 16px; background: rgba(255,255,255,.96); border: 1px solid rgba(14,107,104,.12); border-radius: 11px; box-shadow: 0 14px 32px rgba(16,43,44,.14); }
.floating-note b { color: var(--teal); font-size: 18px; line-height: 1.2; direction: ltr; text-align: right; }
.floating-note span { margin-top: 4px; color: #75908d; font-size: 8px; font-weight: 700; }
.note-speed { top: 66px; left: -2px; }
.note-score { right: -5px; bottom: 65px; }

.benefits-band { border-block: 1px solid var(--line); background: var(--mint-light); }
.benefits-grid { min-height: 152px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; }
.benefits-grid article { display: flex; align-items: center; gap: 17px; padding: 20px 36px; border-left: 1px solid #cee2da; }
.benefits-grid article:last-child { border-left: 0; }
.feature-icon { width: 53px; height: 53px; flex: none; display: grid; place-items: center; border-radius: 50%; background: white; color: var(--teal); box-shadow: 0 7px 18px rgba(14,107,104,.09); }
.benefits-grid h2 { margin: 0 0 5px; font-size: 15px; }
.benefits-grid p { margin: 0; color: #68817e; font-size: 11px; line-height: 1.75; }

.method { padding-block: 112px 125px; }
.section-heading h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.35; letter-spacing: -1.6px; }
.section-heading p { margin: 15px auto 0; color: #6c8581; font-size: 14px; }
.centered-heading { text-align: center; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.steps-grid article { min-height: 260px; position: relative; padding: 34px 31px; border: 1px solid var(--line); border-radius: 15px; background: white; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.steps-grid article:hover { transform: translateY(-6px); border-color: #b8d7cc; box-shadow: var(--shadow); }
.steps-grid article::after { content: ""; position: absolute; width: 110px; height: 110px; left: -42px; bottom: -44px; border-radius: 50%; background: var(--mint-light); }
.step-number { display: inline-grid; place-items: center; width: 45px; height: 45px; border-radius: 50%; background: var(--mint-light); color: var(--teal); font-size: 12px; font-weight: 900; direction: ltr; }
.steps-grid h3 { margin: 27px 0 10px; font-size: 20px; }
.steps-grid p { margin: 0; color: #66807d; font-size: 13px; line-height: 1.95; }

.featured-section { position: relative; background: var(--ink); color: white; overflow: hidden; }
.featured-section::before { content: ""; position: absolute; width: 430px; height: 430px; border: 1px solid rgba(255,255,255,.06); border-radius: 50%; right: -120px; top: -180px; box-shadow: 0 0 0 85px rgba(255,255,255,.018), 0 0 0 170px rgba(255,255,255,.014); }
.featured-inner { min-height: 570px; display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 110px; padding-block: 72px; }
.featured-cover { width: 268px; height: 380px; justify-self: end; position: relative; border-radius: 4px 14px 14px 4px; background: #e9d4a9; color: var(--ink); transform: rotate(-3deg); box-shadow: -22px 25px 60px rgba(0,0,0,.3); }
.featured-cover::after { content: ""; position: absolute; inset: 15px; border: 1px solid rgba(16,43,44,.25); border-radius: 2px 8px 8px 2px; }
.cover-spine { position: absolute; inset: 0 auto 0 0; width: 18px; background: rgba(16,43,44,.17); border-radius: 4px 0 0 4px; }
.cover-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.cover-content small { font-size: 10px; letter-spacing: 1px; }
.cover-content h2 { margin: 38px 0 24px; font-size: 40px; line-height: 1.42; letter-spacing: -1.4px; }
.cover-content span { padding: 5px 12px; border: 1px solid rgba(16,43,44,.35); border-radius: 20px; font-size: 9px; font-weight: 800; }
.featured-copy { max-width: 600px; }
.light-eyebrow { color: #c7e8de; }
.featured-copy h2 { margin: 3px 0 19px; font-size: clamp(31px, 4vw, 46px); line-height: 1.4; letter-spacing: -1.3px; }
.featured-copy > p { margin: 0; color: #bbccca; font-size: 14px; line-height: 2; }
.featured-copy ul { margin: 26px 0 31px; padding: 0; list-style: none; display: grid; gap: 11px; }
.featured-copy li { display: flex; align-items: center; gap: 10px; color: #dae5e3; font-size: 12px; }
.featured-copy li span { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: rgba(199,232,222,.12); color: #c7e8de; font-size: 10px; }
.button-light { background: #e8d6b2; color: var(--ink); box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.button-light:hover { background: #f2e3c7; }

.final-cta { min-height: 265px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.tiny-label { display: block; margin-bottom: 10px; color: var(--teal); font-size: 11px; font-weight: 900; }
.final-cta h2 { max-width: 690px; margin: 0; font-size: clamp(27px, 3.4vw, 40px); line-height: 1.55; letter-spacing: -1px; }

.site-footer { background: #0b2324; color: white; }
.site-footer .brand { color: white; }
.site-footer .brand-copy small { color: #9ed1c4; }
.footer-main { min-height: 190px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.footer-main > div > p { max-width: 400px; margin: 20px 0 0; color: #91a8a6; font-size: 12px; }
.footer-main nav { display: flex; gap: 34px; color: #c3d2d0; font-size: 12px; font-weight: 700; }
.footer-main nav a:hover { color: #e8d6b2; }
.footer-bottom { min-height: 70px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.08); color: #758f8c; font-size: 10px; }

/* Books page */
.books-hero { position: relative; padding-block: 74px 61px; text-align: center; background: var(--mint-light); border-bottom: 1px solid var(--line); overflow: hidden; }
.books-hero::before, .books-hero::after { content: ""; position: absolute; border: 1px solid rgba(14,107,104,.08); border-radius: 50%; }
.books-hero::before { width: 310px; height: 310px; right: -130px; top: -140px; }
.books-hero::after { width: 230px; height: 230px; left: -100px; bottom: -120px; }
.books-hero h1 { margin: 4px 0 13px; font-size: clamp(39px, 5vw, 59px); letter-spacing: -2px; }
.books-hero p { max-width: 630px; margin: auto; color: #627c79; font-size: 15px; }
.books-area { padding-block: 70px 110px; }
.library-tools { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 38px; }
.library-tools h2 { margin: 0; font-size: 25px; }
.library-tools h2 small { color: var(--teal); font-size: 11px; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-pills span { padding: 8px 14px; border: 1px solid var(--line); border-radius: 30px; background: white; color: #637c79; font-size: 10px; font-weight: 800; }
.filter-pills span.active { border-color: var(--teal); background: var(--teal); color: white; }
.book-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.library-card { min-height: 455px; display: flex; flex-direction: column; padding: 19px; border: 1px solid var(--line); border-radius: 17px; background: white; transition: transform .25s ease, box-shadow .25s ease; }
.library-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.library-cover { height: 248px; position: relative; display: grid; place-items: center; border-radius: 11px; background: var(--mint-light); overflow: hidden; }
.library-cover::before { content: ""; position: absolute; width: 190px; height: 190px; border: 1px solid rgba(14,107,104,.11); border-radius: 50%; box-shadow: 0 0 0 42px rgba(14,107,104,.025); }
.mini-book { width: 136px; height: 190px; position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 3px 8px 8px 3px; background: #e8d3a8; color: var(--ink); text-align: center; transform: rotate(-3deg); box-shadow: -10px 14px 26px rgba(16,43,44,.2); }
.mini-book::before { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(16,43,44,.22); border-radius: 2px 5px 5px 2px; }
.mini-book small, .mini-book strong, .mini-book span { position: relative; z-index: 2; }
.mini-book small { font-size: 7px; }
.mini-book strong { margin: 22px 0; font-size: 21px; line-height: 1.45; }
.mini-book span { font-size: 7px; font-weight: 800; }
.status-badge { position: absolute; z-index: 3; top: 13px; right: 13px; padding: 5px 10px; border-radius: 20px; background: var(--teal); color: white; font-size: 8px; font-weight: 900; }
.card-body { padding: 18px 5px 2px; }
.card-category { color: var(--teal); font-size: 9px; font-weight: 900; }
.card-body h3 { margin: 6px 0 3px; font-size: 20px; }
.card-author { margin: 0; color: #7f9592; font-size: 10px; }
.card-meta { display: flex; gap: 16px; margin-top: 15px; padding-top: 14px; border-top: 1px solid var(--line); color: #627b78; font-size: 9px; font-weight: 700; }
.card-link { margin-top: auto; height: 42px; display: flex; align-items: center; justify-content: center; gap: 9px; border-radius: 8px; background: var(--teal); color: white; font-size: 11px; font-weight: 900; }
.card-link:hover { background: var(--teal-dark); }
.coming-card { opacity: .78; }
.coming-card .library-cover { background: #f5f3ed; }
.placeholder-book { width: 130px; height: 180px; position: relative; z-index: 2; display: grid; place-items: center; border: 1px dashed #b7c5c1; border-radius: 5px 11px 11px 5px; color: #8da09d; font-size: 38px; }
.coming-card .card-link { border: 1px solid var(--line); background: transparent; color: #79908d; }
.library-note { margin-top: 43px; padding: 26px 30px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border-radius: 14px; background: var(--mint-light); border: 1px solid #d6e9e1; }
.library-note h3 { margin: 0 0 4px; font-size: 17px; }
.library-note p { margin: 0; color: #68817e; font-size: 11px; }
.library-note span { color: var(--teal); font-size: 32px; }

@media (max-width: 980px) {
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 62px; text-align: center; }
  .hero-copy { padding-right: 0; }
  .hero-lead { margin-inline: auto; }
  .eyebrow, .hero-actions, .trust-line { justify-content: center; }
  .hero-visual { min-height: 475px; }
  .benefits-grid { grid-template-columns: 1fr; padding-block: 15px; }
  .benefits-grid article { border-left: 0; border-bottom: 1px solid #cee2da; padding: 20px; }
  .benefits-grid article:last-child { border-bottom: 0; }
  .steps-grid { grid-template-columns: 1fr; max-width: 680px; margin-inline: auto; }
  .featured-inner { grid-template-columns: 1fr; gap: 55px; text-align: center; }
  .featured-cover { justify-self: center; }
  .featured-copy { margin-inline: auto; }
  .featured-copy li { justify-content: center; }
  .book-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .section-wrap { width: min(100% - 30px, 1180px); }
  .header-inner { height: 74px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-copy strong { font-size: 16px; }
  .header-cta { padding: 9px 13px; font-size: 11px; }
  .hero { min-height: auto; padding-block: 48px 54px; gap: 20px; }
  .hero h1 { font-size: 42px; letter-spacing: -2px; }
  .hero-lead { font-size: 14px; }
  .hero-actions { flex-direction: column; gap: 18px; }
  .hero-visual { min-height: 410px; transform: scale(.86); margin: -20px -25px; }
  .book-scene { width: 360px; }
  .note-speed { left: 0; }
  .note-score { right: 0; }
  .method { padding-block: 80px; }
  .steps-grid { margin-top: 35px; }
  .featured-inner { padding-block: 70px; }
  .featured-cover { width: 225px; height: 320px; }
  .cover-content h2 { font-size: 33px; }
  .final-cta { min-height: 310px; flex-direction: column; align-items: flex-start; justify-content: center; }
  .footer-main { padding-block: 50px; align-items: flex-start; flex-direction: column; }
  .footer-main nav { flex-wrap: wrap; }
  .footer-bottom { min-height: 90px; flex-direction: column; justify-content: center; gap: 7px; }
  .books-hero { padding-block: 55px; }
  .books-hero h1 { font-size: 39px; }
  .library-tools { align-items: flex-start; flex-direction: column; }
  .book-grid { grid-template-columns: 1fr; }
  .library-note { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
