@import url(/assets/fonts.css);

:root {
  --bg: #fbf6f1; --surface: #fff; --soft: #f6ede6; --ink: #33231f; --ink-2: #4c3a34; --muted: #6f5d56; --line: #eaded5;
  --rose: #b8445e; --rose-d: #9b3349; --rose-soft: #f9e4e8; --mint: #24715f; --mint-soft: #dff1ea; --gold: #a87a22; --gold-soft: #f8eccf;
  --r: 18px; --r-sm: 12px; --shadow: 0 1px 2px rgba(51,35,31,.05), 0 8px 28px rgba(51,35,31,.07);
  --focus: 0 0 0 3px #fff, 0 0 0 5px var(--rose);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
main:focus { outline: none; box-shadow: none; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { overflow-x: clip; margin: 0; font-family: 'Heebo', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg, iframe { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5.4vw, 3.3rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--rose-d); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 8px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }
.wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; opacity: 0; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* buttons & pills */
.btn { --b: var(--surface); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 22px; border-radius: 999px; border: 1.5px solid transparent; background: var(--b); color: var(--ink); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--rose); color: #fff; box-shadow: 0 6px 18px rgba(184,68,94,.28); }
.btn-primary:hover { background: var(--rose-d); }
.btn-ghost { background: transparent; border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); }
.btn-soft { background: var(--rose-soft); color: var(--rose-d); }
.btn-lg { min-height: 56px; padding: 14px 32px; font-size: 1.1rem; }
.btn-sm { min-height: 38px; padding: 6px 16px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn svg { width: 20px; height: 20px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700; background: var(--soft); color: var(--ink-2); border: 0; font-family: inherit; line-height: 1.6; }
.pill-rose { background: var(--rose-soft); color: var(--rose-d); }
.pill-mint { background: var(--mint-soft); color: var(--mint); }
.pill-gold { background: var(--gold-soft); color: #7a5713; }
button.pill { cursor: pointer; }

/* header & footer */
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(251,246,241,.88); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(234,222,213,.7); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; min-height: 66px; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.45rem; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.logo-sm { font-size: 1.2rem; }
.logo-mark { width: 30px; height: 30px; background: url(/assets/favicon.svg) center/contain no-repeat; }
.topnav { display: flex; gap: 8px; align-items: center; }
.footer { margin-top: 0; background: #2d1f1b; color: #f3e9e2; padding: 48px 0 24px; }
.footer .logo { color: #fff; }
.footer .muted { color: #cbb9b0; }
.footer-in { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.footer-links a { color: #f3e9e2; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.footer-links a:hover { text-decoration: underline; }
.footer-links svg { width: 20px; height: 20px; }
.copy { margin-top: 28px; color: #a99389; font-size: .85rem; }

/* hero */
.hero { padding: clamp(36px, 7vw, 84px) 0 clamp(36px, 6vw, 72px); background: radial-gradient(1200px 500px at 85% -10%, #f8dfe4 0, transparent 60%), radial-gradient(900px 420px at 0% 110%, #f6e7d4 0, transparent 60%); }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero-copy h1 { margin-top: 14px; }
.lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--ink-2); }
.hero-text { color: var(--ink-2); }
.facts { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }
.facts li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.facts svg { width: 22px; height: 22px; color: var(--rose); flex: none; }
.buy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price strong { font-size: 1.6rem; font-weight: 800; }
.price-big strong { font-size: 2.3rem; }
.price s { color: var(--muted); font-size: 1.1rem; }
.secure-note { display: flex; align-items: center; gap: 6px; margin-top: 14px; }
.secure-note svg { width: 16px; height: 16px; }
.hero-art img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 32px; box-shadow: var(--shadow); }
.hero-home { text-align: center; }
.hero-home .lead { margin-inline: auto; }

/* decorative meringue kisses (pure CSS) */
.meringue-art { position: relative; aspect-ratio: 1; width: min(440px, 100%); margin-inline: auto; border-radius: 40px; background: linear-gradient(160deg, #fff 0%, #fbeef1 100%); box-shadow: var(--shadow); overflow: hidden; }
.meringue-art.small { width: 100%; aspect-ratio: 16/10; border-radius: 0; box-shadow: none; }
.meringue-art i { position: absolute; width: 26%; aspect-ratio: 1; border-radius: 50% 50% 46% 46% / 62% 62% 38% 38%; background: radial-gradient(circle at 34% 28%, rgba(255,255,255,.85) 0 7%, transparent 14%), repeating-conic-gradient(from 0deg at 50% 0%, #f4c6cf 0 12deg, #fbe3e8 12deg 24deg); box-shadow: inset 0 -8px 0 rgba(184,68,94,.12), 0 10px 20px rgba(184,68,94,.15); }
.meringue-art i::after { content: ''; position: absolute; left: 50%; top: -22%; width: 22%; height: 34%; transform: translateX(-50%); border-radius: 50% 50% 20% 20%; background: inherit; }
.meringue-art i:nth-child(1) { left: 12%; top: 18%; }
.meringue-art i:nth-child(2) { left: 44%; top: 10%; background-color: #fff; filter: hue-rotate(-20deg) saturate(.6); }
.meringue-art i:nth-child(3) { left: 66%; top: 34%; filter: hue-rotate(40deg) saturate(.7); }
.meringue-art i:nth-child(4) { left: 24%; top: 52%; filter: hue-rotate(160deg) saturate(.45); }
.meringue-art i:nth-child(5) { left: 52%; top: 62%; filter: hue-rotate(80deg) saturate(.5); }
.meringue-art i:nth-child(6) { left: 6%; top: 76%; width: 18%; }
.hero-home .meringue-art { width: 200px; border-radius: 50%; margin-bottom: 18px; }

/* bands */
.band { padding: clamp(44px, 7vw, 80px) 0; }
.band-soft { background: var(--surface); }
.band h2 { margin-bottom: 22px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; }
.band-soft .ticks li { background: var(--bg); }
.ticks svg { width: 22px; height: 22px; flex: none; color: #fff; background: var(--mint); border-radius: 50%; padding: 4px; margin-top: 2px; }
.prose p:last-child { margin-bottom: 0; }

/* curriculum */
.chapter, .faq { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 10px; }
.band:not(.band-soft) .chapter, .band:not(.band-soft) .faq { background: var(--surface); }
.chapter > summary, .faq > summary { list-style: none; cursor: pointer; padding: 16px 18px; display: flex; justify-content: space-between; gap: 12px; align-items: center; font-weight: 700; }
.chapter > summary::-webkit-details-marker, .faq > summary::-webkit-details-marker { display: none; }
.chapter > summary::after, .faq > summary::after { content: ''; width: 10px; height: 10px; border-inline-end: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; flex: none; margin-inline-start: 6px; }
details[open] > summary::after { transform: rotate(-135deg); }
.chapter-n { flex: 1; }
.lesson-list { list-style: none; margin: 0; padding: 0 10px 10px; counter-reset: l; }
.lesson-list li { display: flex; align-items: center; gap: 10px; padding: 10px 8px; border-top: 1px solid var(--line); }
.li-ico svg { width: 18px; height: 18px; color: var(--muted); }
.li-t { flex: 1; }
.faq .prose { padding: 0 18px 16px; color: var(--ink-2); }

.about { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.about:has(> img) { grid-template-columns: 300px 1fr; }
.about img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: var(--shadow); }
.quotes { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.quote { margin: 0; background: var(--surface); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.quote blockquote { margin: 0 0 10px; font-size: 1.05rem; }
.quote blockquote::before { content: '״'; font-size: 2.6rem; line-height: 0; color: var(--rose); vertical-align: -0.45em; margin-inline-end: 4px; }
.quote figcaption { font-weight: 700; color: var(--muted); }
.cta-band { background: linear-gradient(135deg, #3a2722, #5b3a33); color: #fff; }
.cta-band .price s { color: #e2cdc4; }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-in p { color: #ead8d0; margin: 0; }
.sticky-buy { display: none; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.course-card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .2s; }
.course-card:hover { transform: translateY(-3px); }
.course-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.cc-body { padding: 18px 20px 20px; }
.cc-body h2 { font-size: 1.3rem; }

/* forms */
.card { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: clamp(20px, 4vw, 32px); }
label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
input, select, textarea { font: inherit; font-weight: 400; color: var(--ink); width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid #dccdc3; border-radius: var(--r-sm); background: #fff; transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(184,68,94,.18); }
input[aria-invalid="true"] { border-color: #c0392b; }
input[type="checkbox"], input[type="radio"] { width: 20px; height: 20px; min-height: 0; accent-color: var(--rose); flex: none; margin: 2px 0 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.form-grid { display: grid; gap: 16px; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-msg { margin: 0; min-height: 1.2em; font-weight: 600; }
.form-msg.err { color: #b42318; }
.form-msg.ok { color: var(--mint); }
.lead-form { display: grid; gap: 14px; max-width: 420px; margin: 26px auto 0; text-align: start; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-inline-end: 72px; }
.pw-toggle { position: absolute; inset-inline-end: 6px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--rose-d); font: inherit; font-weight: 700; font-size: .85rem; cursor: pointer; padding: 8px; border-radius: 8px; }

/* dialog (video preview) */
dialog { border: 0; padding: 0; border-radius: var(--r); width: min(920px, 100% - 24px); background: #000; color: #fff; }
dialog::backdrop { background: rgba(28,18,15,.72); backdrop-filter: blur(3px); }
.dlg-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: #1b1210; }
.dlg-x { background: transparent; border: 0; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 4px 10px; border-radius: 8px; }
.ratio { position: relative; aspect-ratio: 16/9; background: #000; }
.ratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art img, .hero .meringue-art { width: min(340px, 100%); margin-inline: auto; }
  .about, .about:has(> img) { grid-template-columns: 1fr; text-align: center; }
  .about:has(> img) { grid-template-columns: 300px 1fr; }
.about img { width: 200px; margin-inline: auto; }
  .form-2 { grid-template-columns: 1fr; }
  body.sales { padding-bottom: 76px; }
  .sticky-buy { position: fixed; z-index: 40; inset-inline: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(51,35,31,.08); }
  .sticky-buy .price strong { font-size: 1.3rem; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .facts { grid-template-columns: 1fr; }
  .buy-row .btn-lg { width: 100%; }
  .cta-in .buy-row { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
