:root {
  --navy: #061c2e;
  --ink: #111f2b;
  --muted: #58636d;
  --line: #dde2e6;
  --light: #f2f4f6;
  --heading: 'Montserrat', Arial, sans-serif;
  --body: 'Assistant', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: #fff; font-family: var(--body); font-size: 18px; -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
button, select { font: inherit; color: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: 0; }
button:disabled { opacity: .5; cursor: not-allowed; }
button:focus-visible, a:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid var(--navy); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--heading); font-weight: 700; }
h2 { font-size: clamp(26px, 3vw, 40px); line-height: 1.2; letter-spacing: -.035em; }
p { line-height: 1.65; }
svg { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; top: 8px; left: 8px; background: white; padding: 12px; z-index: 100; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.section-shell { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.section-padding { padding-block: 72px; }
.eyebrow { font-family: var(--heading); font-size: 12px; font-weight: 600; letter-spacing: .06em; line-height: 1.6; color: var(--muted); }
.announcement { display: flex; justify-content: center; align-items: center; position: relative; min-height: 36px; background: var(--navy); color: #fff; font-size: 14px; }
.announcement-content { display: flex; align-items: center; gap: 10px; padding: 7px 42px; }
.announcement svg { width: 17px; height: 17px; }
#delivery-slide { transition: opacity .2s; }
.pause-delivery { position: absolute; right: 18px; top: 0; min-height: 36px; min-width: 36px; background: none; color: #fff; font-size: 13px; }
.site-header { position: sticky; top: 0; background: #fff; border-bottom: 1px solid var(--line); z-index: 20; }
.header-inner { width: min(1340px, calc(100% - 96px)); margin: auto; min-height: 88px; display: flex; align-items: center; gap: 40px; }
.wordmark { font-family: var(--heading); font-size: 19px; letter-spacing: -.045em; font-weight: 800; white-space: nowrap; }
.desktop-nav { display: flex; gap: 25px; margin-left: auto; font-size: 16px; }
.desktop-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.header-actions { display: flex; align-items: center; gap: 23px; }
.currency-label select { font-size: 15px; font-weight: 600; border: 0; appearance: none; padding: 10px 19px 10px 0; background-color: white; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%23061c2e'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; cursor: pointer; }
.header-cta { font-size: 15px; font-weight: 600; background: var(--navy); color: #fff; padding: 12px 21px; }
.header-cta:hover { background: #17384e; }
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: center; padding-block: 60px; }
.hero .eyebrow { margin-bottom: 22px; }
h1 { font-size: clamp(42px, 4.7vw, 66px); font-weight: 700; line-height: 1.06; letter-spacing: -.05em; }
.hero-description { max-width: 455px; margin-top: 26px; font-size: 21px; color: var(--muted); line-height: 1.5; }
.hero-price { font-size: 27px; font-weight: 600; margin-top: 22px; line-height: 1.3; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 25px; margin-top: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 25px; border-radius: 0; font-size: 17px; font-weight: 600; line-height: 1.4; }
.button-primary { background: var(--navy); color: #fff; }
.button-primary:not(:disabled):hover { background: #17384e; }
.text-link { background: none; padding: 0 0 3px; border-bottom: 1px solid currentColor; font-size: 17px; line-height: 1.3; }
.text-link:hover { color: #4f6c7d; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; font-size: 14px; color: var(--muted); }
.hero-meta span+span:before { content: '·'; margin-right: 10px; }
.hero-visual { min-height: 535px; background: var(--light); display: flex; justify-content: center; align-items: center; padding: 42px; }
.hero-book { display: block; background: none; padding: 0; width: 285px; }
.hero-book img { width: 100%; box-shadow: 0 5px 12px #061c2e14; }
.presentation { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; border-top: 1px solid var(--line); }
.section-intro .eyebrow { margin-bottom: 17px; }
.presentation-body p { font-size: 19px; color: var(--muted); margin-bottom: 16px; }
.presentation-body .lead { color: var(--ink); font-size: 22px; line-height: 1.45; }
.presentation-body .text-link { margin-top: 8px; }
.library { border-top: 1px solid var(--line); }
.library-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 35px; }
.library-heading .eyebrow { display: none; }
.library-heading>p { color: var(--muted); font-size: 17px; }
.books-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.product-image { background: var(--light); width: 100%; height: 374px; display: flex; align-items: center; justify-content: center; padding: 36px; position: relative; }
.product-image img { width: auto; height: 100%; max-width: 100%; object-fit: contain; box-shadow: 0 4px 10px #061c2e14; }
.product-image:hover { background: #e9edf0; }
.product-tag { position: absolute; left: 14px; top: 12px; background: #fff; color: var(--ink); font-size: 12px; padding: 3px 8px; font-weight: 600; }
.product-category { font-size: 14px; color: var(--muted); margin-top: 21px; margin-bottom: 9px; }
.product-title { font-size: 21px; line-height: 1.3; letter-spacing: -.035em; font-weight: 600; min-height: 55px; }
.product-subtitle { font-size: 17px; color: var(--muted); line-height: 1.45; margin-top: 12px; min-height: 50px; }
.product-bottom { margin-top: 19px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.product-price { font-size: 21px; font-weight: 600; }
.product-price.pending { font-size: 15px; color: var(--muted); font-weight: 400; }
.product-bottom .text-link { font-size: 16px; }
.author-section { background: var(--navy); color: #fff; }
.author-inner { padding-block: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.author-inner .eyebrow { color: #c4cdd4; margin-bottom: 17px; }
.author-inner p { font-size: 19px; color: #d5dde3; }
.delivery-section { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.delivery-heading .eyebrow { margin-bottom: 17px; }
.delivery-heading>p:last-child { color: var(--muted); margin-top: 22px; font-size: 19px; }
.delivery-table>div { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.delivery-table>div:first-child { padding-top: 0; }
.delivery-table strong { font-size: 19px; font-weight: 600; white-space: nowrap; }
.delivery-table>p { margin-top: 17px; color: var(--muted); font-size: 15px; }
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; border-top: 1px solid var(--line); }
.faq .eyebrow { margin-bottom: 17px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 19px; line-height: 1.4; }
.faq details:first-child summary { padding-top: 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { font-size: 25px; font-weight: 400; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { color: var(--muted); font-size: 18px; padding-bottom: 23px; }
.site-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 30px; padding-block: 32px; border-top: 1px solid var(--line); }
.site-footer .wordmark { font-size: 16px; }
.site-footer>p { color: var(--muted); font-size: 16px; }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 25px; margin-left: auto; font-size: 14px; color: var(--muted); }
.footer-links button { background: none; padding: 0; font-size: inherit; }
dialog { width: min(1000px, calc(100vw - 40px)); max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: 0; color: var(--ink); }
dialog::backdrop { background: #061c2ea6; }
.dialog-close { position: absolute; right: 9px; top: 9px; width: 40px; height: 40px; background: #fff; font-size: 28px; line-height: 1; z-index: 2; }
.dialog-layout { display: grid; grid-template-columns: .85fr 1.2fr; }
.dialog-image { padding: 65px 35px; background: var(--light); }
.dialog-image img { width: 100%; position: sticky; top: 40px; box-shadow: 0 4px 12px #061c2e14; }
.dialog-content { padding: 55px 40px 38px; }
.dialog-content .eyebrow { font-family: var(--body); font-size: 15px; letter-spacing: 0; margin-bottom: 15px; }
.dialog-content h2 { font-size: 30px; line-height: 1.2; }
.dialog-subtitle { font-size: 19px; color: var(--muted); margin-top: 17px; }
.book-badges { display: flex; gap: 10px; margin: 20px 0; }
.book-badges span { font-size: 14px; padding: 4px 8px; background: var(--light); }
#dialog-description p { font-size: 18px; color: var(--muted); margin-bottom: 15px; line-height: 1.5; }
#dialog-themes { font-size: 17px; padding-left: 20px; line-height: 1.8; }
.purchase-block { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 24px; }
.price { font-size: 28px; font-weight: 600; }
.price:empty { display: none; }
.purchase-block .button { width: 100%; }
.purchase-note { color: var(--muted); font-size: 15px; line-height: 1.5; }
.dialog-delivery { display: inline-block; font-size: 16px; text-decoration: underline; text-underline-offset: 4px; margin-top: 19px; }
.noscript { padding: 20px; background: var(--light); text-align: center; }
@media (max-width: 1120px) {
  .section-shell, .header-inner { width: calc(100% - 64px); }
  .header-inner { gap: 24px; }
  .desktop-nav { gap: 17px; font-size: 15px; }
  .header-actions { gap: 17px; }
  .wordmark { font-size: 17px; }
  .hero { gap: 40px; }
  .hero-visual { min-height: 480px; padding: 35px; }
  h1 { font-size: clamp(40px, 4.7vw, 58px); }
  .hero-book { width: 260px; }
  .presentation, .author-inner, .delivery-section, .faq { gap: 48px; }
  .books-grid { gap: 24px; }
  .product-image { height: 330px; padding: 35px; }
  .product-title { min-height: 78px; font-size: 20px; }
  .product-subtitle { min-height: 70px; }
}
@media (max-width: 800px) {
  .section-shell, .header-inner { width: calc(100% - 40px); }
  .header-inner { min-height: 75px; justify-content: space-between; gap: 18px; }
  .desktop-nav { display: none; }
  .hero { gap: 30px; }
  h1 { font-size: 38px; }
  .hero-description { font-size: 19px; }
  .hero-visual { min-height: 420px; padding: 25px; }
  .hero-book { width: 230px; }
  .hero-actions { gap: 20px; }
  .hero-meta { font-size: 13px; gap: 7px; }
  .hero-meta span+span:before { margin-right: 7px; }
  .product-image { height: 300px; padding: 37px 24px; }
  .product-title { font-size: 18px; min-height: 70px; }
  .product-subtitle { font-size: 16px; min-height: 85px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 90px; }
  .announcement { font-size: 13px; }
  .announcement-content { padding-inline: 24px 35px; gap: 8px; }
  .announcement svg { display: none; }
  .pause-delivery { right: 3px; }
  .header-inner { gap: 12px; min-height: 69px; }
  .wordmark { font-size: 15px; }
  .header-actions { gap: 12px; }
  .header-cta { font-size: 14px; padding: 10px 13px; }
  .currency-label select { font-size: 14px; padding-right: 15px; }
  .section-padding { padding-block: 46px; }
  .hero { grid-template-columns: 1fr; padding-block: 32px 40px; gap: 30px; }
  .hero .eyebrow { margin-bottom: 16px; font-size: 12px; }
  h1 { font-size: clamp(34px, 9.3vw, 48px); line-height: 1.08; }
  .hero-description { margin-top: 21px; font-size: 20px; }
  .hero-price { font-size: 26px; margin-top: 20px; }
  .hero-actions { margin-top: 21px; gap: 20px; }
  .hero-actions .button { padding: 13px 20px; font-size: 16px; }
  .hero-actions .text-link { font-size: 16px; }
  .hero-meta { margin-top: 18px; font-size: 13px; }
  .hero-visual { min-height: 0; padding: 32px; }
  .hero-book { width: 230px; }
  h2 { font-size: 29px; }
  .presentation, .author-inner, .delivery-section, .faq { grid-template-columns: 1fr; gap: 25px; }
  .presentation-body p { font-size: 19px; }
  .presentation-body .lead { font-size: 21px; }
  .library-heading { align-items: start; flex-direction: column; gap: 9px; margin-bottom: 25px; }
  .books-grid { grid-template-columns: 1fr; gap: 37px; }
  .product-image { height: 390px; padding: 30px 45px; }
  .product-title { font-size: 22px; min-height: 0; }
  .product-subtitle { font-size: 18px; min-height: 0; margin-top: 10px; }
  .product-category { font-size: 15px; margin-top: 18px; }
  .product-bottom { margin-top: 17px; padding-top: 13px; }
  .product-bottom .text-link { font-size: 17px; }
  .author-inner { padding-block: 45px; }
  .author-inner p { font-size: 19px; }
  .delivery-heading>p:last-child { margin-top: 18px; }
  .delivery-table>div { padding: 19px 0; font-size: 18px; }
  .delivery-table strong { font-size: 18px; }
  .faq summary { font-size: 19px; }
  .site-footer { gap: 17px; padding-block: 27px; }
  .site-footer .wordmark { font-size: 16px; }
  .site-footer>p { width: 100%; font-size: 16px; }
  .footer-links { margin: 0; width: 100%; justify-content: space-between; gap: 15px; }
  dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); }
  .dialog-layout { grid-template-columns: 1fr; }
  .dialog-image { padding: 27px; }
  .dialog-image img { width: 155px; position: static; margin: auto; }
  .dialog-content { padding: 29px 23px; }
  .dialog-content h2 { font-size: 27px; }
}
@media (max-width: 360px) {
  .header-inner { width: calc(100% - 28px); gap: 8px; }
  .wordmark { font-size: 13px; }
  .header-actions { gap: 8px; }
  .header-cta { padding-inline: 10px; font-size: 13px; }
  .hero-actions { gap: 16px; }
  .hero-actions .button { padding-inline: 14px; }
  .hero-actions .text-link { font-size: 15px; }
  .hero-meta { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
