:root {
  color-scheme: light;
  --ink: #202019;
  --muted: #555248;
  --cream: #fffdf5;
  --white: #fffefa;
  --yellow: #ffda58;
  --sun: #ffe885;
  --pink: #ffc6d9;
  --blue: #c1e5fa;
  --line: #25231b;
  font-family: Inter, "Open Sans", Arial, sans-serif;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); }
a { color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
section[id] { scroll-margin-top: 90px; }
:focus-visible { outline: 3px solid #17457c; outline-offset: 4px; }
.wrap { width: min(1200px, calc(100% - 88px)); margin-inline: auto; }
.skip { position: fixed; z-index: 9; top: 8px; left: 8px; padding: 12px; transform: translateY(-160%); background: white; }
.skip:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 3; background: var(--cream); border-bottom: 1px solid #e8e2d0; }
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; width: fit-content; gap: 10px; text-decoration: none; font-weight: 800; font-size: 15px; line-height: 1.12; letter-spacing: -.025em; }
.brand b { font-weight: 600; }
.brand-mark { display: grid; place-items: center; width: 39px; height: 39px; font: 700 26px/1 Georgia, serif; background: var(--yellow); border: 1px solid var(--line); border-radius: 11px; }
nav { display: flex; gap: 4px; padding: 4px; border: 1px solid #e2d9bf; border-radius: 30px; }
nav a { padding: 8px 17px; border-radius: 22px; font-weight: 750; font-size: 14px; text-decoration: none; }
nav a[aria-current] { background: var(--yellow); }
nav a:hover:not([aria-current]) { background: #fff1b8; }
.header-contact { justify-self: end; font-size: 14px; font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.hero { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 48px; padding-block: 56px 64px; }
.eyebrow { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: .12em; line-height: 1.4; }
.eyebrow span { width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--yellow); border: 1px solid var(--line); }
h1 { font-size: clamp(52px, 6vw, 88px); font-weight: 850; line-height: .99; letter-spacing: -.076em; margin-top: 20px; }
mark { color: inherit; background: linear-gradient(transparent 65%, var(--yellow) 65%, var(--yellow) 95%, transparent 95%); padding-inline: .04em .1em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.lead { max-width: 480px; margin-top: 26px; font-size: clamp(16px,1.65vw,20px); line-height: 1.52; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: 29px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; gap: 16px; padding: 13px 18px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-weight: 750; font-size: 14px; line-height: 1.2; transition: background-color .18s, transform .18s; }
.button span { font-size: 1.2em; }
.button:hover { transform: translateY(-2px); }
.dark { background: var(--ink); color: var(--white); }
.dark:hover { background: #3a372b; }
.quiet { background: transparent; border-color: #a7a18f; }
.quiet:hover { background: #fff0ba; }
.grid-paper { background-image: linear-gradient(90deg, #54492b21 1px, transparent 1px), linear-gradient(#54492b21 1px, transparent 1px); background-size: 22px 22px; }
.hero-art, .lesson-art { position: relative; isolation: isolate; min-width: 0; aspect-ratio: 1.17; overflow: hidden; border: 1.5px solid var(--line); border-radius: 23px; background-color: var(--sun); }
.cover-stack { position: absolute; inset: 0; }
.hero-book { position: absolute; width: 44%; border-radius: 4px; border: 1px solid #30262c; box-shadow: 0 18px 32px #57421c52, 4px 4px #fffefa; }
.hero-book.workbook { left: 12%; top: 10%; transform: rotate(-12deg); }
.hero-book.variants { right: 12%; top: 16%; transform: rotate(11deg); }
.art-star, .art-small-star { position: absolute; line-height: 1; pointer-events: none; }
.art-star { top: 5%; right: 6%; font-size: clamp(37px, 5.3vw, 76px); color: #232219; }
.art-small-star { bottom: 9%; left: 5%; font-size: clamp(35px, 4.6vw, 64px); }
.file-sticker { display: grid; place-content: center; text-align: center; position: absolute; right: 4%; bottom: 6%; background: var(--pink); border: 1.5px solid var(--ink); box-shadow: 3px 4px var(--ink); border-radius: 50%; width: 23%; aspect-ratio: 1.15; transform: rotate(-12deg); line-height: 1.14; font-size: clamp(12px, 1.5vw, 20px); font-weight: 800; }
.catalog-band { border-block: 1px solid #e8dfbd; background: #fff4c7; }
.section { padding-block: 57px 65px; }
.section-heading { display: grid; grid-template-columns: 1fr minmax(240px, 330px); gap: 24px; align-items: end; margin-bottom: 29px; }
.section-heading .eyebrow { margin-bottom: 11px; }
.section-heading > p, .booking p { color: var(--muted); line-height: 1.55; font-size: 16px; }
h2 { font-size: clamp(34px, 4.4vw, 59px); line-height: 1; font-weight: 850; letter-spacing: -.066em; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product, .lesson-card, .sample-page { --tint: #fff5c7; --swatch: var(--sun); }
.pink { --tint: #fff0f5; --swatch: var(--pink); }
.blue { --tint: #eef8ff; --swatch: var(--blue); }
.product { background: var(--tint); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.product-art { position: relative; display: grid; place-items: center; height: 190px; overflow: hidden; background-color: var(--swatch); border-bottom: 1px solid var(--line); }
.product-art img { position: absolute; width: 112px; left: 24%; top: 16px; transform: rotate(-12deg); border: 1px solid #292518; border-radius: 3px; box-shadow: 4px 5px #28231d43; }
.product-art span { position: absolute; right: 10%; top: 22%; text-align: center; padding: 12px 14px; min-width: 75px; background: var(--cream); border: 1px solid var(--line); border-radius: 50%; transform: rotate(9deg); font-weight: 850; line-height: .9; font-size: 24px; }
.product-art small { font-size: 12px; }
.product-pair img:first-child { left: 13%; }
.product-pair img:nth-child(2) { left: 35%; width: 106px; top: 25px; transform: rotate(9deg); }
.product-pair span { right: 5%; }
.product-content, .lesson-card { display: flex; flex-direction: column; flex: 1; padding: 25px; }
h3 { font-size: clamp(23px, 2.45vw, 35px); line-height: 1.05; font-weight: 830; letter-spacing: -.052em; }
.product-content > p, .lesson-card > p:not(.trial-label) { margin-top: 12px; line-height: 1.52; font-size: 15px; color: var(--muted); }
.checks { list-style: none; margin: 18px 0 25px; padding: 0; flex: 1; }
.checks li { position: relative; padding-left: 20px; line-height: 1.43; font-size: 14px; }
.checks li + li { margin-top: 8px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 800; }
.price-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.price-line strong { font-size: clamp(29px, 3vw, 42px); letter-spacing: -.059em; line-height: 1; }
.price-line small, .price-line del { font-size: 13px; color: var(--muted); }
.product .button, .lesson-card .button { width: 100%; justify-content: space-between; text-align: left; }
.sample-pages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 23px; }
.sample-page { display: block; text-align: left; padding: 0; border: 1px solid var(--line); background: var(--tint); border-radius: 15px; overflow: hidden; }
.sample-frame { display: grid; place-items: center; height: clamp(150px, 24vw, 310px); overflow: hidden; background-color: var(--swatch); border-bottom: 1px solid var(--line); }
.sample-frame img { width: 61%; max-width: 180px; margin: 11px; box-shadow: 3px 5px #30232255; transition: transform .2s; border: 1px solid #3023226b; }
.sample-page:hover img { transform: scale(1.045); }
.caption { display: flex; justify-content: space-between; gap: 5px; padding: 13px 16px; font-weight: 750; font-size: 14px; }
.download-detail { margin-left: 12px; color: var(--muted); font-size: 14px; vertical-align: middle; }
.faq-band { background: #e8f5ff; border-block: 1px solid #c9e2f6; }
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 36px; }
details { border-bottom: 1px solid #9eb3c0; }
details:first-child { border-top: 1px solid #9eb3c0; }
summary { cursor: pointer; font-weight: 750; padding: 16px 0; }
details p { margin: 0 0 16px; line-height: 1.5; color: var(--muted); }
.site-footer { padding: 25px 0; }
.footer-row { display: flex; align-items: center; gap: 17px 30px; flex-wrap: wrap; }
.footer-row .brand { margin-right: auto; }
.footer-row > a:not(.brand) { font-weight: 700; font-size: 14px; text-underline-offset: 4px; }
.lesson-art { display: grid; place-items: center; aspect-ratio: 1.37; }
.note { display: grid; gap: 12px; padding: min(5vw, 50px) 25px; text-align: center; background: var(--pink); border: 1px solid var(--line); box-shadow: 7px 8px var(--ink); border-radius: 18px; transform: rotate(-7deg); width: 74%; }
.note strong { font-size: clamp(24px, 4.2vw, 56px); line-height: 1; letter-spacing: -.065em; }
.note span { font-size: 14px; font-weight: 700; }
.lesson-card { border: 1px solid var(--line); border-radius: 18px; background: var(--tint); box-shadow: inset 0 6px var(--swatch); }
.trial-label { font-size: 13px; margin: 0 0 15px; font-weight: 750; text-decoration: underline 4px var(--swatch); }
.booking { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.booking p { max-width: 570px; margin-top: 13px; }
.booking .button { flex: none; }
dialog { background: var(--cream); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; width: min(500px, calc(100% - 30px)); padding: 29px; box-shadow: 6px 7px var(--ink); }
dialog::backdrop { background: #29251bbb; }
dialog .eyebrow { margin-bottom: 14px; }
dialog h2 { padding-right: 25px; font-size: clamp(29px, 5vw, 44px); }
dialog .modal-price { margin-top: 12px; font-weight: 800; font-size: 28px; }
#order-status { line-height: 1.55; margin: 10px 0 19px; color: var(--muted); }
.close { position: absolute; top: 10px; right: 10px; border: 1px solid var(--line); font-size: 24px; line-height: 1; width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); }
#gallery { width: min(650px, calc(100% - 30px)); }
#gallery h2 { font-size: 28px; }
#gallery img { margin: 15px auto 0; max-height: 70vh; object-fit: contain; }
@media (max-width: 1090px) {
  .hero { gap: 28px; }
  .price-line { align-items: flex-start; flex-direction: column; gap: 5px; }
  .product-content, .lesson-card { padding: 19px; }
  .cards, .sample-pages { gap: 14px; }
}
@media (max-width: 790px) {
  .wrap { width: calc(100% - 40px); }
  .hero { grid-template-columns: 1fr; gap: 26px; padding-block: 36px 43px; }
  .hero-copy { max-width: 640px; }
  h1 { font-size: clamp(48px, 10.5vw, 77px); }
  .hero-art, .lesson-art { width: min(100%, 500px); }
  .section { padding-block: 43px; }
  .section-heading { grid-template-columns: 1fr; gap: 12px; margin-bottom: 24px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards article:last-child { grid-column: 1 / -1; }
  .product:last-child .product-art img:first-child { left: 29%; }
  .product:last-child .product-art img:nth-child(2) { left: 47%; }
  .product:last-child .product-art span { right: 12%; }
  .lesson-card:last-child .button { width: fit-content; }
  .desktop-only { display: none; }
}
@media (max-width: 530px) {
  .wrap { width: calc(100% - 32px); }
  .header-row { grid-template-columns: 1fr auto; gap: 8px; min-height: 64px; }
  .header-contact { display: none; }
  .brand { gap: 7px; font-size: 13px; }
  .brand-mark { width: 32px; height: 32px; border-radius: 9px; font-size: 22px; }
  nav { gap: 1px; padding: 3px; }
  nav a { font-size: 12px; padding: 8px 10px; }
  .hero { padding-top: 29px; }
  h1 { font-size: clamp(37px, 10.8vw, 57px); margin-top: 13px; }
  .lead { margin-top: 17px; }
  .actions { margin-top: 20px; gap: 8px; }
  .actions .button { min-height: 43px; padding: 10px; gap: 6px; font-size: 12px; }
  .hero-art, .lesson-art { border-radius: 17px; }
  .cards, .faq { grid-template-columns: 1fr; }
  .faq { gap: 24px; }
  .product:last-child .product-art img:first-child { left: 17%; }
  .product:last-child .product-art img:nth-child(2) { left: 39%; }
  .product:last-child .product-art span { right: 9%; }
  .product-art { height: 175px; }
  .price-line { flex-direction: row; align-items: baseline; }
  .lesson-card:last-child .button { width: 100%; }
  .sample-pages { grid-template-columns: repeat(3, minmax(138px, 1fr)); overflow-x: auto; gap: 10px; padding: 5px 4px 9px; margin-inline: -4px; scroll-snap-type: x proximity; }
  .sample-page { scroll-snap-align: center; }
  .sample-frame { height: 145px; }
  .caption { padding: 10px; font-size: 12px; }
  .booking { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
.arrow-up { display: inline-block; font: normal 1.05em/1 "DejaVu Sans", sans-serif; transform: rotate(-40deg); }

.social-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; }
.social-links a { font-weight: 700; font-size: 14px; text-underline-offset: 4px; }
.lesson-portrait { position: relative; margin: 0; padding: 12px; border: 1.5px solid var(--line); border-radius: 23px; background-color: var(--sun); }
.lesson-portrait img { width: 100%; aspect-ratio: 1.24; object-fit: cover; object-position: 50% 39%; border-radius: 14px; }
.lesson-portrait figcaption { position: absolute; right: 20px; bottom: 20px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--sun); font-size: 14px; font-weight: 800; }
.lesson-method { border-bottom: 1px solid #e8dfbd; }
.lesson-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.lesson-example { border: 1px solid var(--line); border-radius: 17px; overflow: hidden; background: var(--tint, var(--white)); }
.lesson-example button { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 0; border-bottom: 1px solid var(--line); background: var(--sun); cursor: zoom-in; }
.lesson-example button:focus-visible { outline-offset: -4px; }
.lesson-example img { display: block; width: 100%; aspect-ratio: 16/9; }
.lesson-example button span { position: absolute; right: 8px; bottom: 8px; padding: 1px 7px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); }
.lesson-example > div { padding: 16px 18px 19px; }
.lesson-example h3 { font-size: clamp(20px, 3vw, 28px); }
.lesson-example p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.55; }
@media (max-width: 730px) {
  .lesson-gallery { grid-template-columns: 1fr; }
}
@media (max-width: 790px) {
  .lesson-portrait { width: min(100%, 500px); }
}

.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline; margin-top: 18px; padding-top: 15px; border-top: 1px solid #e8dfbd; font-size: 14px; line-height: 1.55; }
.footer-legal a, .order-legal a, .legal-card a { text-underline-offset: 4px; }
.order-legal { margin-top: 16px; font-size: 13px; line-height: 1.5; }
.legal-page { max-width: 860px; }
.legal-page h1 { font-size: clamp(37px, 9vw, 70px); }
.legal-notice { margin: 22px 0 28px; padding: 14px 18px; background: #fff4c7; border-radius: 10px; line-height: 1.5; }
.legal-card { margin-top: 16px; padding: clamp(17px, 4vw, 32px); border: 1px solid #e8dfbd; border-radius: 16px; background: var(--white); line-height: 1.6; }
.legal-card h2 { font-size: clamp(26px, 5vw, 40px); }
.legal-card h3 { margin-top: 20px; font-size: 19px; letter-spacing: -.025em; }
.legal-card p { margin-top: 12px; }
.seller-details { margin-bottom: 0; }
.seller-details div { display: grid; grid-template-columns: minmax(6rem, 1fr) 3fr; gap: 4px 12px; padding: 8px 0; border-top: 1px solid #e8dfbd; }
.seller-details dt { font-weight: 750; }
.seller-details dd { margin: 0; }
@media (max-width: 440px) {
  .footer-legal { display: grid; gap: 8px; }
  .seller-details div { grid-template-columns: 1fr; }
}
