@font-face {
  font-family: "Sofia Sans";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("fonts/sofia-cyr-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Sofia Sans";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("fonts/sofia-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Sofia Sans";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("fonts/sofia-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/golos-cyr-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/golos-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/golos-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Тактильная редакционная система: адаптация Humera в палитре Анны. */
:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #273136;
  --ink-soft: #46545b;
  --teal: #a54233;
  --coral: #ee806c;
  --blue: #b7ccdf;
  --celery: #c9d9a3;
  --mineral: #eff2f0;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --line: #c5d6dc;
  --surface: #ffffff;
  --edge: 0 0 transparent;
  --shadow: 0 0 transparent;
  --font-display: "Sofia Sans", sans-serif;
  --font-body: "Golos Text", sans-serif;
  --ease-out: cubic-bezier(.16,1,.3,1);
  --max: 76rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7rem; scrollbar-color: #80acb5 var(--paper); }
body { margin: 0; min-width: 20rem; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--font-body); -webkit-font-smoothing: antialiased; }
::selection { background: #b9e7e9; color: #15363c; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-underline-offset: .25em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--teal); }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; }
[hidden] { display: none !important; }
.container { width: min(calc(100% - 3rem), var(--max)); margin-inline: auto; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); text-wrap: balance; }
h1 { font-size: clamp(3rem, 6.9vw, 6rem); line-height: .98; letter-spacing: -.04em; margin-bottom: 1.5rem; }
h2 { max-width: 22ch; font-size: clamp(2.2rem, 4.2vw, 3.75rem); line-height: 1.06; letter-spacing: -.035em; margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.55rem, 2.5vw, 2.1rem); line-height: 1.13; letter-spacing: -.02em; margin-bottom: .75rem; }
h4 { font-size: 1.35rem; line-height: 1.2; }
p { margin-bottom: 1.25rem; }
.lead { max-width: 49ch; color: var(--ink-soft); font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.6; text-wrap: pretty; }
.text-link { font-weight: 600; color: var(--teal); }
.skip-link { position: fixed; z-index: 100; left: 1rem; top: 1rem; padding: .8rem 1.1rem; background: var(--ink); color: white; border-radius: 1rem; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Световая грань остаётся видимой даже без прозрачности. */
.site-header { position: sticky; top: .8rem; z-index: 20; width: min(calc(100% - 2rem), 82rem); margin: .8rem auto 0; border: 1px solid #c6dce2; border-radius: 1.7rem; background: #f7fafbf2; box-shadow: var(--shadow); }
.header-inner { min-height: 4.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1.15; flex-shrink: 0; }
.brand strong { font: 700 1.25rem var(--font-display); letter-spacing: -.03em; }
.brand span { color: var(--ink-soft); font-size: .72rem; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .82rem; text-decoration: none; font-weight: 500; }
.site-nav a:hover, .site-nav a.is-current { color: var(--teal); }
.site-nav .nav-cta { padding: .6rem 1.3rem; color: var(--teal); border: 1px solid #c1dae0; border-radius: 999px; background: var(--surface); box-shadow: var(--edge), 3px 6px 9px #294f6010; }
.nav-toggle { display: none; width: 44px; height: 44px; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); background: var(--surface); box-shadow: var(--edge), 2px 4px 6px #294f601a; }
.nav-toggle svg { width: 22px; }
.button, .media-toggle, .demo-dialog__close, .demo-retry { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 3.5rem; padding: .9rem 1.5rem; border-radius: 999px; border: 1px solid #77bdc5; background: linear-gradient(125deg, #0a818d, #096b76); color: white; font-weight: 500; font-size: .95rem; text-decoration: none; text-align: center; line-height: 1.35; box-shadow: inset 0 1px 2px #ffffff8a, inset 0 -2px 3px #04424e66, 4px 8px 12px #174f602b; transition: box-shadow 180ms ease, background-color 180ms ease; }
.button:hover { background: #065a64; color: white; box-shadow: inset 0 1px 2px #ffffff9c, 5px 10px 18px #174f603d; }
.button:active { box-shadow: inset 0 2px 5px #04383f5c; }
.button-quiet, .media-toggle, .demo-dialog__close, .demo-retry { background: var(--surface); color: var(--ink); border-color: #bcd4dc; box-shadow: var(--edge), 3px 7px 12px #294f6014; }
.button-quiet:hover, .media-toggle:hover, .demo-dialog__close:hover, .demo-retry:hover { background: #e4f1f4; color: var(--ink); }
.button:disabled, .button[aria-disabled="true"] { background: #e2e9ec; color: #56656c; border-color: #c6d2d7; cursor: not-allowed; box-shadow: none; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.hero { position: relative; isolation: isolate; padding: clamp(3rem, 6vw, 6rem) 0 5rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 4rem; }
.hero-copy { min-width: 0; }
.hero-line { display: block; }
.hero-title .accent { color: var(--ink); }
.hero-kicker { color: var(--ink-soft); max-width: 34ch; font-size: .95rem; margin-bottom: 1.7rem; }
.hero-mesh, .hero-beam, .hero-scroll { display: none; }
.program-meta { display: flex; flex-wrap: wrap; gap: .7rem 1rem; margin: 1.5rem 0; }
.program-meta span { font-size: .77rem; color: var(--ink-soft); padding-right: 1rem; border-right: 1px solid var(--line); }
.program-meta span:last-child { border-right: 0; }
.program-meta b { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); }
.hero-visual { position: relative; min-height: 37rem; }
/* Фото внутри прозрачного блока: двойная кромка и отдельная тень материала. */
.photo-frame { position: absolute; inset: 1rem 0 2.6rem 3rem; padding: 10px; overflow: hidden; border: 1px solid #b0cdd7; border-radius: 3.2rem; background: linear-gradient(130deg,#fffffffa,#dcebf077 38%,#a2cdd46b 88%,#ffffff); box-shadow: inset 0 0 0 2px #ffffffdf, inset 5px 5px 7px #fff, inset -4px -5px 6px #638b9f5c, 16px 25px 24px #34596e26, 32px 45px 60px #34596e17; }
.hero-video { width: 100%; height: 100%; border-radius: 2.5rem; object-fit: cover; object-position: 46% 40%; }
.frame-sheen { position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 2px 2px 2px #fff; pointer-events: none; }
.frame-aside { position: absolute; left: -1rem; bottom: 4rem; width: 10rem; padding: 6px; border: 1px solid #d3e6eb; border-radius: 1.8rem; background: var(--surface); box-shadow: var(--shadow); }
.hero-video-2 { width: 100%; height: auto; border-radius: 1.35rem; }
.photo-label { position: absolute; z-index: 2; right: -1rem; top: 3.5rem; width: 11.5rem; padding: 1rem 1.25rem; border: 1px solid #c9e2e7; border-radius: 1.35rem; background: #f7fcfdec; color: var(--ink); font-size: .8rem; line-height: 1.45; box-shadow: var(--shadow); }
.media-toggle { position: absolute; bottom: -1rem; right: 0; min-height: 44px; font-size: .75rem; padding: .65rem 1rem; }
.section { padding: clamp(4rem, 7vw, 7rem) 0; }
.section-intro { margin-bottom: 2.7rem; }
.section-intro p { max-width: 57ch; color: var(--ink-soft); font-size: 1.15rem; }
.soft, .about, .demo { background: #eef4f7; border-block: 1px solid #e2ebef; }
.ticker { overflow: hidden; border-block: 1px solid var(--line); padding: 1.4rem 0; color: var(--ink-soft); }
.ticker-track { display: flex; justify-content: center; gap: 2.5rem; width: max-content; min-width: 100%; font-size: .83rem; }
.ticker-track i { color: var(--teal); }
.bento, .offer-grid, .social-grid, .review-grid, .demo-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.bento { grid-template-columns: repeat(3,minmax(0,1fr)); }
.bento-cell { position: relative; padding: 2.4rem; min-height: 15rem; }
.bento-cell.is-wide { grid-column: span 2; }
.bento-cell h3 { max-width: 24ch; }
.bento-cell p { max-width: 48ch; margin: 0; color: var(--ink-soft); }
.bento-mark { display: none; }
.bento-cell, .offer, .social-card, .review, .purchase-form, .magnet-form, .part, .toc, .faq-list details { border: 1px solid #cadde4; border-radius: 2rem; background: var(--surface); box-shadow: var(--shadow); }
.bento-cell.is-accent, .offer.is-lead, .social-card.is-write { background: linear-gradient(125deg,#ffffffed,#e0f2f5df 75%,#f9fdfd); border-color: #9bcbd3; }
.offer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.offer { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; padding: 2.5rem; }
.offer h3, .offer-note { margin: 0; }
.offer-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; width: 100%; flex-wrap: wrap; }
.offer-kind, .social-kind, .part-tag { font-size: .8rem; color: var(--ink-soft); }
.offer-status { padding: .3rem .7rem; border: 1px solid var(--line); border-radius: 999px; font-size: .7rem; color: var(--ink-soft); }
.offer-status.is-now, .offer-status.is-free { background: #dff0f2; color: #176773; border-color: #a9d2d9; }
.offer-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .7rem; width: 100%; margin: 0; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.offer-price strong { font: 700 3.5rem/1 var(--font-display); letter-spacing: -.04em; }
.offer-price span { color: var(--ink-soft); font-size: .85rem; }
.offer-list, .plain-list { margin: 0; padding: 0; list-style: none; }
.offer-list li, .plain-list li { position: relative; padding: .4rem 0 .4rem 1.35rem; }
.offer-list li::before, .plain-list li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }
.offer-cta { margin-top: auto; }
.offer-note { color: var(--ink-soft); }
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2rem; padding: 0; margin: 2rem 0; }
.steps li { counter-increment: step; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 3.6rem; height: 3.6rem; margin-bottom: 1.75rem; border-radius: 1.25rem; border: 1px solid #c0d9df; background: var(--surface); box-shadow: var(--shadow); color: var(--teal); font: 600 1.7rem var(--font-display); }
.steps strong { display: block; font: 600 1.6rem/1.2 var(--font-display); margin-bottom: .75rem; }
.steps p, .start-note, .story-text p, .demo-lead { color: var(--ink-soft); }
.start-note { margin: 2rem 0 0; max-width: 66ch; font-size: .95rem; }
.about-grid, .join-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: start; gap: 5rem; }
.about-photo { padding: 8px; border: 1px solid #b9d2dc; border-radius: 2.8rem; background: var(--surface); box-shadow: var(--shadow); }
.about-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 2.3rem; }
.story-text { max-width: 65ch; }
.story-text p { font-size: 1.15rem; }
.story-text .word { opacity: 1; }
.fact-lines p { padding: 1rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.figures { display: flex; flex-wrap: wrap; list-style: none; gap: 1.5rem; margin: 2rem 0; padding: 1.5rem 0; border-block: 1px solid var(--line); }
.figures li { display: grid; gap: .5rem; flex: 1; }
.figures b { color: var(--teal); font: 600 2.5rem/1 var(--font-display); }
.figures span { font-size: .85rem; color: var(--ink-soft); }
.social-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.social-grid > li { display: flex; min-width: 0; }
.social-card { display: flex; flex-direction: column; gap: .85rem; width: 100%; padding: 1.75rem; text-decoration: none; }
.social-card h3 { font-size: 1.5rem; overflow-wrap: anywhere; margin: 0; }
.social-card p { color: var(--ink-soft); font-size: .9rem; }
.social-icon { color: var(--teal); margin-bottom: .75rem; }
.social-icon svg { width: 1.5rem; height: 1.5rem; }
.social-go { display: flex; align-items: center; gap: .5rem; margin-top: auto; color: var(--teal); font-size: .85rem; }
.social-go svg { width: 1.1rem; }
.review { padding: 2rem; }
.review-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.review footer { display: grid; }
.review footer span { font-size: .85rem; color: var(--ink-soft); }
.page-lead { padding-block: 6rem; border-bottom: 1px solid #dfebef; background: linear-gradient(120deg,#f7f9fb,#edf6f8); }
.page-lead h1 { max-width: 17ch; }
.page-status { display: inline-block; padding: .5rem .9rem; color: var(--teal); border: 1px solid #c5dce2; border-radius: 999px; background: var(--surface); box-shadow: var(--edge), 2px 4px 8px #294f6010; font-size: .82rem; }
.contents-ledger { border-top: 1px solid var(--line); }
.ledger-row { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 2rem; padding: 1.8rem 0; border-bottom: 1px solid var(--line); }
.ledger-row strong { font: 600 1.5rem/1.25 var(--font-display); }
.ledger-row p { margin: 0; color: var(--ink-soft); }
.boundaries { background: #e7f2f5; border-block: 1px solid #d2e4e9; }
.boundaries .plain-list { max-width: 65ch; }
.boundaries .plain-list + p { margin-top: 1.5rem; }
.join { background: linear-gradient(115deg,#e8f2f6,#f7fafb); border-block: 1px solid #d4e5eb; }
.purchase-summary { padding: 1.4rem 0; border-block: 1px solid var(--line); }
.purchase-summary p { margin: 0; color: var(--ink-soft); }
.purchase-summary strong { display: block; margin: .65rem 0; font: 700 clamp(3rem,6vw,5rem)/1 var(--font-display); letter-spacing: -.04em; }
.purchase-math { font-size: .9rem; }
.purchase-form { padding: 2.4rem; }
.order-steps { list-style: none; counter-reset: order; margin: 1.5rem 0 2rem; padding: 0; }
.order-steps li { counter-increment: order; position: relative; padding-left: 2rem; margin-bottom: 1.25rem; color: var(--ink-soft); }
.order-steps li::before { content: counter(order); position: absolute; left: 0; color: var(--teal); font-weight: 600; }
.order-steps strong { color: var(--ink); }
.order-card .button { width: 100%; }
.order-note, .legal-note { margin: 1.2rem 0 0; font-size: .85rem; color: var(--ink-soft); }
.personal-price { margin-top: 2rem; }
.parts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; margin-bottom: 3rem; }
.part { display: grid; grid-template-columns: minmax(0,.65fr) minmax(0,1fr); gap: 1.5rem; padding: 2rem; align-items: start; }
.part img { border-radius: .7rem; box-shadow: 6px 12px 20px #37536a26; }
.part-tag { display: inline-block; margin-bottom: .7rem; }
.part h3 { font-size: 1.7rem; }
.toc { margin-bottom: 3rem; padding: .1rem 2rem; }
.toc summary, .faq-list summary { position: relative; display: block; list-style: none; padding: 1.5rem 2.5rem 1.5rem 0; cursor: pointer; font: 600 1.4rem/1.3 var(--font-display); }
summary::-webkit-details-marker { display: none; }
.toc summary::after, .faq-list summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font: 400 1.7rem var(--font-body); color: var(--teal); }
.toc[open] summary::after, .faq-list details[open] summary::after { content: "−"; }
.toc-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2rem; padding-bottom: 1.5rem; }
.toc ol { padding-left: 1.25rem; color: var(--ink-soft); }
.toc li { margin-block: .4rem; }
.demo-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.demo-open { display: block; position: relative; padding: 5px; width: 100%; border: 1px solid #c1d7df; border-radius: 1rem; background: var(--surface); box-shadow: var(--shadow); cursor: zoom-in; overflow: hidden; }
.demo-open img { width: 100%; border-radius: .7rem; }
.demo-zoom { display: block; padding: .75rem; color: var(--teal); font-size: .8rem; }
.demo-card p { margin-top: 1.2rem; color: var(--ink-soft); font-size: .9rem; }
.demo-card strong { display: block; color: var(--ink); font: 600 1.3rem/1.25 var(--font-display); margin-bottom: .5rem; }
.demo-dialog { width: min(94vw,48rem,90vh * .708); max-height: 94dvh; overflow-y: auto; padding: 4.5rem .75rem .75rem; border: 1px solid #aecbd7; border-radius: 1.8rem; background: #f7fafb; color: var(--ink); box-shadow: var(--shadow), 24px 40px 70px #142f4a40; }
.demo-dialog::backdrop { background: #283e5366; backdrop-filter: blur(8px); }
.demo-dialog img { width: 100%; border-radius: .8rem; }
.demo-dialog__close svg { width: 20px; height: 20px; }
.demo-dialog__close { width: 44px; height: 44px; position: absolute; top: .7rem; right: .75rem; min-height: 44px; font-size: .8rem; padding: .7rem; }
.demo-status { padding: 2rem 1.2rem; margin: 0; color: var(--ink-soft); }
.demo-status.is-error { color: #96392e; }
.demo-retry { margin: 0 1rem 1.5rem; }
.faq-list { display: grid; gap: 1rem; }
.faq-list details { padding: 0 1.6rem; }
.faq-list details p { color: var(--ink-soft); max-width: 70ch; padding-bottom: .75rem; }
.faq-action { margin-top: 2rem; }
.fit-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4rem; }
.fit-column { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.magnet { min-height: 100vh; display: flex; align-items: center; }
.magnet-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: 6rem; align-items: center; }
.magnet-copy h1 { font-size: clamp(3rem,5vw,5rem); }
.magnet-form { padding: 1.7rem; margin-top: 2rem; }
.magnet-how { color: var(--ink-soft); }
.magnet-how strong { color: var(--ink); }
.magnet-form .button { width: 100%; }
.magnet-cover { padding: 1.5rem; border: 1px solid #bcd6df; border-radius: 2.2rem; background: var(--surface); box-shadow: var(--shadow); }
.magnet-cover img { width: 100%; border-radius: .8rem; box-shadow: 5px 10px 14px #18304a25; }
.magnet-note { margin-top: 2rem; color: var(--ink-soft); font-size: .85rem; }
.site-footer { background: #e9f0f4; padding: 4rem 0 3rem; border-top: 1px solid #d3e2e9; }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3,minmax(0,1fr)); gap: 2rem; }
.footer-brand { font: 700 1.6rem/1.2 var(--font-display); }
.footer-list { display: grid; align-content: start; gap: .75rem; font-size: .82rem; }
.footer-list a { width: fit-content; }
.footer-list span, .footer-note { color: var(--ink-soft); }
.footer-note { font-size: .8rem; padding-top: 1.5rem; }
.placeholder { display: inline-block; padding: .15rem .5rem; border-radius: .5rem; border: 1px dashed #90afb9; color: #4e6670; font-size: .75rem; }
.legal-body { max-width: 72ch; }
.legal-body h2 { font-size: 1.9rem; max-width: none; margin-top: 2.5rem; }
.legal-body li { margin-bottom: .6rem; }
.requisites { padding: 1.5rem; background: #edf5f7; border-radius: 1rem; }
.footer-requisites { font-size: .75rem; }
.scroll-progress { position: fixed; z-index: 30; inset: 0 0 auto; height: 2px; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--teal); transform: scaleX(var(--page-progress,0)); transform-origin: left; }
.to-top { display: grid; place-items: center; position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 10; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: #f7fafbf5; box-shadow: var(--shadow); color: var(--teal); visibility: hidden; }
.to-top svg { width: 20px; }
.to-top.is-visible { visibility: visible; }
.buy-bar { display: none; }
/* Контент доступен сразу; движение ограничено светом на материале. */
[data-reveal], [data-stagger] > *, .hero-line > span { opacity: 1; transform: none; }
.spotlight { transition: border-color 200ms ease, box-shadow 200ms ease; }
.spotlight:hover { border-color: #96c4ce; }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: #f6fafbe6; -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); }
  .photo-label { background: #f8fcfdeb; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root { --surface: #ffffff; }
  .site-header, .site-nav, .photo-label { background: #f7fafb; }
  .demo-dialog::backdrop { background: #283e53cc; }
}
@media (max-width: 67.99rem) {
  .hero-grid { gap: 2rem; }
  .hero-visual { min-height: 32rem; }
  .photo-frame { left: 1rem; }
  .photo-label { right: -.3rem; width: 10rem; }
  .frame-aside { width: 8rem; }
  .about-grid, .join-grid, .magnet-grid { gap: 2.5rem; }
  .social-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .parts { grid-template-columns: 1fr; }
  .part { grid-template-columns: 10rem minmax(0,1fr); }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 47.99rem) {
  html { scroll-padding-top: 6.5rem; }
  .container { width: calc(100% - 2.5rem); }
  .site-header { top: .5rem; margin-top: .5rem; width: calc(100% - 1rem); border-radius: 1.4rem; }
  .header-inner { min-height: 4.25rem; width: calc(100% - 2rem); }
  .nav-toggle { display: grid; }
  .site-nav { display: none; position: absolute; top: calc(100% + .5rem); left: 0; right: 0; background: #f7fafb; border: 1px solid #bfd5df; border-radius: 1.4rem; padding: 1rem; box-shadow: var(--shadow); max-height: calc(100dvh - 6rem); overflow-y: auto; }
  .site-nav.is-open { display: grid; gap: .4rem; }
  .site-nav a { padding: .75rem 1rem; font-size: 1rem; }
  .site-nav .nav-cta { justify-content: center; margin-top: .25rem; }
  .hero { padding: 2.5rem 0 3.5rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  h1 { font-size: clamp(2.8rem,12vw,4.7rem); }
  .hero-kicker { font-size: .85rem; margin-bottom: 1.25rem; }
  .hero .lead { font-size: 1.05rem; }
  .hero-actions { gap: 1.1rem; margin-top: 1.5rem; }
  .hero-actions .button { flex: 1 1 auto; }
  .hero-actions .text-link { font-size: .95rem; }
  .program-meta { gap: .6rem; }
  .program-meta span { font-size: .72rem; padding-right: .6rem; }
  .hero-visual { min-height: 28rem; margin-right: .5rem; }
  .photo-frame { inset: 0 0 2.7rem 0; border-radius: 2.5rem; padding: 8px; }
  .hero-video { border-radius: 2rem; object-position: 46% 36%; }
  .frame-aside { display: none; }
  .photo-label { top: 1.5rem; right: -.5rem; padding: .8rem; font-size: .73rem; width: 9.5rem; }
  .media-toggle { bottom: -1rem; }
  .section { padding: 4rem 0; }
  .section-intro { margin-bottom: 2rem; }
  .section-intro p { font-size: 1.05rem; }
  h2 { font-size: 2.35rem; }
  .bento, .offer-grid, .about-grid, .join-grid, .fit-grid, .steps, .magnet-grid, .toc-grid, .ledger-row, .review-grid { grid-template-columns: 1fr; }
  .bento-cell.is-wide { grid-column: auto; }
  .bento-cell { min-height: auto; padding: 1.75rem; }
  .offer { padding: 1.75rem; gap: 1.2rem; }
  .offer-head { gap: .75rem; }
  .offer-kind { font-size: .75rem; }
  .offer-price strong { font-size: 3rem; }
  .offer-cta { width: 100%; }
  .steps { gap: 1.8rem; }
  .steps li::before { float: left; margin: 0 1rem 1rem 0; }
  .steps p { clear: both; }
  .steps strong { min-height: 3.6rem; display: flex; align-items: center; }
  .social-grid { grid-template-columns: 1fr; }
  .social-card { padding: 1.7rem; }
  .social-icon { margin-bottom: .25rem; }
  .page-lead { padding-block: 3.5rem; }
  .purchase-form { padding: 1.6rem; }
  .ledger-row { gap: 1rem; padding-block: 1.5rem; }
  .part { grid-template-columns: 1fr; padding: 1.6rem; }
  .part img { width: 8rem; }
  .toc { padding-inline: 1.3rem; }
  .demo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.3rem 1rem; }
  .demo-card p { font-size: .8rem; }
  .demo-card strong { font-size: 1.15rem; }
  .demo-zoom { font-size: .7rem; padding: .6rem .2rem; }
  .faq-list details { padding-inline: 1.25rem; }
  .faq-list summary { font-size: 1.25rem; }
  .magnet-copy h1 { font-size: clamp(2.8rem,12vw,4rem); }
  .magnet-cover { width: 88%; margin-inline: auto; }
  .magnet-form { padding: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: 7rem; }
  .buy-bar { display: block; position: fixed; z-index: 15; bottom: .5rem; left: .5rem; right: .5rem; padding: .85rem; padding-bottom: max(.85rem, env(safe-area-inset-bottom)); border: 1px solid #b6d1db; border-radius: 1.5rem; background: #f7fbfcf5; box-shadow: var(--shadow); visibility: hidden; }
  .buy-bar.is-visible { visibility: visible; }
  .buy-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: .75rem; width: 100%; }
  .buy-bar strong { font: 700 1.7rem var(--font-display); }
  .buy-bar .button { min-height: 44px; padding: .75rem 1rem; font-size: .83rem; }
  .buy-bar.is-visible ~ .to-top { bottom: 7rem; }
}
@media (prefers-reduced-transparency: reduce) {
  :root { --surface: #ffffff; }
  .site-header, .photo-label, .buy-bar { background: #f7fafb; backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
@media (forced-colors: active) {
  .button, .nav-toggle, .to-top, .demo-open, .media-toggle { border: 1px solid ButtonText; }
  .photo-frame, .offer, .site-header { border-color: CanvasText; }
}

/* Humera: материал, масштаб букв и коллаж вместо интерфейсных панелей. */
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/cormorant-italic.ttf") format("truetype"); }
html { scrollbar-color: #a0b2ba #eff2f0; }
::selection { background: var(--celery); color: var(--ink); }
h1,h2,h3 { font-weight: 600; }
h2 em { font-family: var(--font-serif); font-size: 1.15em; font-weight: 400; }
.site-header { top: 0; width: 100%; margin: 0; border: 0; border-bottom: 1px solid #27313620; border-radius: 0; background: #fff; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.header-inner { min-height: 5.4rem; }
.brand { flex-direction: row; align-items: center; gap: .8rem; }
.brand strong { font-size: 1.5rem; }
.brand span { max-width: 6.5rem; font-size: .68rem; line-height: 1.2; color: var(--ink-soft); padding-left: .8rem; border-left: 1px solid #27313630; }
.site-nav { gap: 1.8rem; }
.site-nav a { font-size: .87rem; }
.site-nav .nav-cta { color: var(--ink); background: var(--coral); border: 0; border-radius: 6px; box-shadow: none; padding: .7rem 1.3rem; }
.site-nav .nav-cta:hover { background: #f29a8b; }
.nav-toggle { border: 1px solid #27313640; border-radius: 7px; background: #fff; box-shadow: none; }
.button { background: var(--coral); border: 1px solid var(--coral); border-radius: 5px; color: var(--ink); box-shadow: none; font-weight: 600; padding: 1rem 1.35rem; min-height: 3.6rem; }
.button:hover { background: #a54233; border-color: #a54233; color: white; box-shadow: none; }
.button:active { box-shadow: inset 0 2px 3px #27313620; }
.button-quiet { background: transparent; border-color: #27313670; color: var(--ink); }
.button-quiet:hover { background: var(--ink); border-color: var(--ink); }
.media-toggle, .demo-dialog__close, .demo-retry { background: #fff; border: 1px solid #27313640; border-radius: 5px; color: var(--ink); box-shadow: none; }
.media-toggle:hover,.demo-dialog__close:hover,.demo-retry:hover { background: var(--mineral); }
.text-link,.social-go { color: #863729; }
.hero-humera { padding: 0; overflow: clip; }
.hero-stage { background: var(--blue); position: relative; }
.stage-inner { position: relative; height: 40.5rem; }
.humera-title { position: absolute; top: 2rem; left: 0; right: 0; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: 0; font: 600 clamp(5rem,12.5vw,11rem)/.95 var(--font-display); letter-spacing: -.04em; }
.humera-title em { font: italic 400 1.15em/.9 var(--font-serif); letter-spacing: -.035em; }
.plush-still-life { position: absolute; z-index: 2; top: 7rem; left: 3%; width: 60%; height: auto; transform: rotate(-8deg); pointer-events: none; }
.hero-humera .hero-visual { position: absolute; top: 15rem; right: 1.6rem; width: 17rem; min-height: 23rem; transform: rotate(7deg); }
.hero-humera .photo-frame { inset: 0 0 3rem; border-radius: 3px; border: 0; padding: .7rem .7rem 2.6rem; background: white; box-shadow: 8px 12px 22px #27313626; }
.hero-humera .hero-video { border-radius: 0; object-position: 46% 27%; }
.hero-humera .frame-aside { left: -4rem; bottom: 1rem; width: 7rem; padding: .35rem; border: 0; border-radius: 2px; background: white; box-shadow: 4px 6px 12px #27313625; transform: rotate(-15deg); }
.hero-humera .hero-video-2 { border-radius: 0; }
.hero-humera .photo-label { top: auto; bottom: 3.65rem; right: 1rem; left: 1rem; width: auto; padding: 0; text-align: center; font-size: .58rem; background: transparent; box-shadow: none; border: 0; border-radius: 0; backdrop-filter: none; }
.hero-humera .media-toggle { bottom: -.15rem; right: 0; font-size: .7rem; padding: .5rem .75rem; min-height: 38px; background: #ffffffd9; }
.hero-humera .hero-kicker { position: absolute; z-index: 3; top: 14rem; bottom: auto; left: 0; margin: 0; max-width: 29ch; font-size: .8rem; color: #334c5d; }
.hero-bottom { display: grid; grid-template-columns: 1.2fr 1fr; gap: 6rem; padding-block: 2.8rem 3.2rem; align-items: center; }
.hero-bottom .lead { margin: 0; font-size: 1.18rem; line-height: 1.55; }
.hero-bottom .program-meta { margin: 0; gap: .6rem 1rem; }
.hero-bottom .hero-actions { margin-top: 1.4rem; gap: 1.4rem; }
.hero-bottom .program-meta span { border: 0; padding: 0; font-size: .72rem; }
.program-meta span { border-color: #27313635; }
.ticker { background: var(--celery); color: var(--ink); border: 0; padding: 1.3rem 0; }
.ticker-track { font-size: .85rem; gap: 2rem; }
.ticker-track i { width: .3rem; height: .3rem; margin-top: .6rem; border-radius: 50%; background: currentColor; }
.section { padding-block: 6.5rem; }
.section-intro { display: grid; grid-template-columns: 1fr .7fr; align-items: end; gap: 5rem; padding-bottom: 2rem; border-bottom: 1px solid #27313635; margin-bottom: 3rem; }
.section-intro h2 { margin: 0; max-width: 20ch; font-size: clamp(2.5rem,4.4vw,4.25rem); }
.section-intro p { margin: 0; font-size: 1rem; }
.soft { background: #fff; border: 0; }
.bento { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; }
.bento-cell,.bento-cell.is-wide { grid-column: auto; border-radius: 0; box-shadow: none; border: 0; padding: 2rem 1.6rem; min-height: 19rem; }
.bento-cell:nth-child(1) { background: var(--blue); }
.bento-cell:nth-child(2) { background: var(--mineral); }
.bento-cell:nth-child(3) { background: var(--celery); }
.bento-cell.is-accent { background: var(--coral); border: 0; }
.bento-cell h3 { font-size: 1.9rem; margin-top: 2rem; }
.bento-cell p { font-size: .9rem; color: var(--ink); }
.bento-mark { display: block; height: 1.5rem; font: italic 5rem/1 var(--font-serif); }
.start { background: #eff2f0; }
.steps { gap: 3rem; }
.steps li { border-color: #27313650; }
.steps li::before { width: auto; height: auto; display: block; margin: 0 0 1.5rem; background: none; border: 0; border-radius: 0; color: #466982; box-shadow: none; font: italic 400 4.5rem/.9 var(--font-serif); }
.steps strong { font-size: 1.65rem; }
.help { background: #fff; }
.offer-grid { gap: 1.25rem; }
.offer { border-radius: 4px; border: 0; background: var(--mineral); box-shadow: none; padding: 3rem; }
.offer.is-lead { background: var(--coral); border: 0; }
.offer:nth-child(3) { background: var(--blue); }
.offer:nth-child(4) { background: var(--celery); }
.offer h3 { font-size: 2.9rem; font-weight: 600; }
.offer-price { border-color: #27313645; }
.offer-price strong { font-size: 4.5rem; font-weight: 600; }
.offer-status,.offer-status.is-now,.offer-status.is-soon,.offer-status.is-free { background: transparent; border: 1px solid #27313665; color: var(--ink); border-radius: 999px; }
.offer-kind,.offer-note,.offer-price span { color: var(--ink); }
.offer.is-lead .button { background: var(--ink); border-color: var(--ink); color: white; }
.offer.is-lead .button:hover { background: #414e55; }
.offer-list li::before,.plain-list li::before { background: #466982; }
.about { background: var(--celery); border: 0; }
.about-photo { border: 0; border-radius: 4px; padding: .7rem .7rem 2rem; background: white; box-shadow: 5px 9px 18px #27313618; transform: rotate(-3deg); }
.about-photo img { border-radius: 0; }
.about-grid { align-items: center; }
.about h2 { font-size: clamp(2.6rem,4.4vw,4.1rem); }
.figures { border-color: #27313640; }
.figures b { color: #334c5d; font-size: 3rem; }
.figures span { color: var(--ink); }
.social { background: #fff; }
.social-grid { gap: 0; border-block: 1px solid #27313630; }
.social-card,.social-card.is-write { border: 0; border-right: 1px solid #27313630; border-radius: 0; background: transparent; box-shadow: none; padding: 2.2rem 1.5rem; }
.social-grid li:last-child .social-card { border: 0; }
.social-icon { color: #466982; }
.social-kind { color: var(--ink-soft); }
.social-card:hover { background: var(--mineral); }
.site-footer { position: relative; background: var(--ink); color: #fff; border: 0; padding-block: 5rem 3rem; }
.footer-brand { color: white; font-size: 2rem; }
.footer-list span,.footer-note { color: #dce4e2; }
.site-footer .placeholder { color: #dce4e2; border-color: #aab6b3; }
.site-footer::after { content: "Анна Бармина"; display: block; text-align: center; margin-top: 3rem; color: #b7ccdf; font: italic 400 clamp(3rem,13vw,12rem)/1 var(--font-serif); letter-spacing: -.03em; }
.page-lead { background: var(--blue); border: 0; padding-block: 5rem; }
.page-lead h1 { font-size: clamp(3rem,7vw,6.4rem); font-weight: 600; }
.page-status { background: transparent; box-shadow: none; border: 1px solid #27313650; color: var(--ink); padding: .4rem .75rem; font-size: .75rem; }
.page-lead .lead { color: var(--ink); }
.ledger-row,.contents-ledger { border-color: #27313630; }
.boundaries { background: var(--celery); border: 0; }
.join { background: var(--coral); border: 0; }
.join .lead,.join .start-note,.join .purchase-summary p { color: var(--ink); }
.purchase-summary { border-color: #27313650; }
.purchase-form { background: #fff; border: 0; border-radius: 5px; box-shadow: none; }
.order-steps li::before { color: #a54233; }
.demo { background: var(--mineral); border: 0; }
.part { border: 0; border-radius: 5px; background: #fff; box-shadow: none; }
.part img { border-radius: 0; box-shadow: 5px 9px 15px #27313620; transform: rotate(-5deg); }
.toc,.faq-list details { background: transparent; border: 0; border-top: 1px solid #27313640; border-radius: 0; box-shadow: none; padding-inline: 0; }
.toc { border-bottom: 1px solid #27313640; }
.faq-list { gap: 0; }
.faq-list details:last-child { border-bottom: 1px solid #27313640; }
.demo-open { border: 0; padding: .5rem; border-radius: 4px; background: #fff; box-shadow: 4px 8px 14px #27313615; }
.demo-open img { border-radius: 0; }
.demo-zoom { color: #a54233; }
.demo-dialog { background: #fff; border: 0; border-radius: 8px; box-shadow: 15px 25px 50px #27313640; }
.demo-dialog::backdrop { background: #27313699; backdrop-filter: none; }
.demo-dialog img { border-radius: 0; }
.demo-dialog__close { border-radius: 50%; }
.magnet { background: var(--blue); }
.magnet-form { border: 0; border-radius: 4px; background: #fff; box-shadow: none; }
.magnet-cover { padding: 1rem; border: 0; border-radius: 3px; background: white; box-shadow: 12px 18px 28px #27313620; transform: rotate(6deg); }
.magnet-cover img { border-radius: 0; box-shadow: none; }
.magnet-copy h1 { font: 600 clamp(3rem,5vw,5.1rem)/1 var(--font-display); }
.requisites { background: var(--mineral); border-radius: 3px; }
.review { background: var(--mineral); border-radius: 3px; box-shadow: none; border: 0; }
.buy-bar { background: #fff; border: 1px solid #27313650; border-radius: 5px; box-shadow: 0 -5px 18px #27313612; }
.to-top { background: white; color: var(--ink); border-color: #27313640; box-shadow: none; }
.scroll-progress span { background: var(--coral); }
.hero:not(.hero-humera) { background: var(--blue); }
.hero:not(.hero-humera) .hero-title { font-size: clamp(3rem,6vw,5.5rem); }
.hero:not(.hero-humera) .hero-line:nth-child(2) { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1.13em; }
.hero:not(.hero-humera) .hero-visual { transform: rotate(4deg); margin-inline: 1rem; }
.hero:not(.hero-humera) .photo-frame { background: white; border: 0; border-radius: 3px; box-shadow: 10px 14px 28px #27313620; padding: .7rem .7rem 2rem; }
.hero:not(.hero-humera) .hero-video { border-radius: 0; }
.hero:not(.hero-humera) .frame-aside { border: 0; border-radius: 3px; padding: .4rem; box-shadow: 4px 8px 20px #27313625; }
.hero:not(.hero-humera) .hero-video-2 { border-radius: 0; }
.hero:not(.hero-humera) .photo-label { background: var(--celery); color: var(--ink); border: 0; border-radius: 2px; box-shadow: none; backdrop-filter: none; transform: rotate(-7deg); }
@media (min-width: 68rem) and (prefers-reduced-motion: no-preference) {
  .plush-still-life { animation: soft-arrival 1.2s cubic-bezier(.16,1,.3,1) both; }
  @keyframes soft-arrival { from { transform: translateY(25px) rotate(-12deg); } to { transform: translateY(0) rotate(-8deg); } }
}
@media (max-width: 67.99rem) {
  .hero-bottom { gap: 2.5rem; }
  .stage-inner { height: 36rem; }
  .humera-title { font-size: 12vw; top: 2.5rem; }
  .plush-still-life { width: 77%; top: 10rem; left: -2rem; }
  .hero-humera .hero-visual { width: 13rem; top: 13rem; right: 1rem; min-height: 21rem; }
  .bento { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .bento-cell,.bento-cell.is-wide { min-height: 15rem; }
  .section-intro { gap: 2rem; }
  .offer { padding: 2rem; }
  .offer h3 { font-size: 2.5rem; }
  .social-card { border-bottom: 1px solid #27313630; }
}
@media (max-width: 47.99rem) {
  .site-header { top: 0; margin: 0; width: 100%; border-radius: 0; }
  .header-inner { min-height: 4.5rem; }
  .brand strong { font-size: 1.3rem; }
  .brand span { display: none; }
  .site-nav { border: 1px solid #27313630; border-radius: 5px; background: #fff; box-shadow: 0 8px 20px #27313612; }
  .site-nav .nav-cta { border-radius: 5px; }
  .hero-stage .container { width: calc(100% - 2rem); }
  .stage-inner { height: 35rem; }
  .humera-title { top: 1.5rem; display: block; font-size: 21vw; line-height: .95; }
  .humera-title em { display: block; text-align: right; margin-top: .1rem; }
  .plush-still-life { top: 10.5rem; left: -2rem; width: 100%; max-width: none; transform: rotate(-17deg); }
  .hero-humera .hero-visual { width: 9rem; min-height: 13rem; top: auto; bottom: 2.1rem; right: .3rem; transform: rotate(8deg); }
  .hero-humera .photo-frame { inset: 0 0 1rem; padding: .4rem .4rem 1.65rem; }
  .hero-humera .photo-label { bottom: 1.35rem; left: .7rem; right: .7rem; font-size: .43rem; line-height: 1.2; }
  .hero-humera .media-toggle { bottom: -1.5rem; padding: .35rem .45rem; font-size: .6rem; min-height: 44px; }
  .hero-humera .hero-kicker { top: auto; bottom: 1.25rem; max-width: 17ch; font-size: .7rem; }
  .hero-bottom { grid-template-columns: 1fr; padding-block: 2rem 2.2rem; gap: 1.3rem; }
  .hero-bottom .lead { font-size: 1.04rem; }
  .hero-bottom .hero-actions { gap: 1.15rem; }
  .hero-bottom .program-meta { gap: .5rem .9rem; }
  .section { padding-block: 4rem; }
  .section-intro { grid-template-columns: 1fr; gap: 1.1rem; margin-bottom: 2rem; padding-bottom: 1.5rem; }
  .section-intro h2 { font-size: 2.8rem; }
  .bento { grid-template-columns: 1fr; }
  .bento-cell,.bento-cell.is-wide { padding: 1.75rem; min-height: 0; }
  .bento-cell h3 { margin-top: 1.5rem; font-size: 2rem; }
  .steps li::before { float: left; margin: 0 1.4rem 1rem 0; width: 2rem; }
  .offer { padding: 1.75rem; }
  .offer h3 { font-size: 2.5rem; }
  .offer-price strong { font-size: 3.6rem; }
  .about-photo { margin-inline: .7rem; }
  .social-card,.social-card.is-write { border-right: 0; border-bottom: 1px solid #27313630; }
  .site-footer { padding-bottom: 7rem; }
  .site-footer::after { font-size: 17vw; }
  .magnet-cover { transform: rotate(3deg); width: 88%; }
  .hero:not(.hero-humera) .hero-visual { margin-inline: .4rem; }
  .page-lead { padding-block: 3rem; }
  .page-lead h1 { font-size: 3rem; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header,.photo-label,.buy-bar { background-color: white; }
}

/* Границы коллажа: повёрнутые обложки не расширяют документ. */
@media (min-width: 48rem) {
  .magnet-cover { width: calc(100% - 3rem); justify-self: center; }
}
.hero-bottom { position: relative; z-index: 3; }
.site-footer a { color: #dce4e2; }
.page-lead { position: relative; overflow: clip; isolation: isolate; }
.page-lead .container { position: relative; z-index: 1; }
.page-plush { position: absolute; width: min(31vw,30rem); right: -3rem; bottom: -1rem; transform: rotate(23deg); pointer-events: none; }
@media (max-width: 67.99rem) { .page-plush { display: none; } }
@media (max-width: 47.99rem) {
  .hero-bottom > div { display: contents; }
  .hero-bottom .hero-actions { grid-row: 1; margin-top: 0; }
  .hero-bottom .lead { grid-row: 2; }
  .hero-bottom .program-meta { grid-row: 3; }
}

/* Плюшевая система: предметы, швы и мягкая деформация на всех страницах. */
:root { --soft-radius: 1.5rem; --stitch: #27313635; --ease-material: cubic-bezier(.22,1,.36,1); }
.plush-art { --turn: 0deg; position: relative; flex-shrink: 0; pointer-events: auto; isolation: isolate; }
.plush-art img { width: 100%; height: 100%; object-fit: contain; aspect-ratio: 1; user-select: none; transform: rotate(var(--turn)); transform-origin: 50% 66%; transition: transform 650ms var(--ease-material); }
.plush-art.is-handled img { transition-duration: 130ms; }
.brand .brand-plush { display: block; width: 2.7rem; min-width: 2.7rem; height: 2.7rem; padding: 0; border: 0; background: url('plush-loops-480.webp') center/contain no-repeat; }
.button, .site-nav .nav-cta { border-radius: .9rem; transition: background-color 180ms, color 180ms, transform 220ms var(--ease-material), box-shadow 220ms; }
.button::before, .site-nav .nav-cta::before { content: ""; position: absolute; inset: 5px; border: 1px dashed currentColor; opacity: .28; border-radius: .6rem; pointer-events: none; }
.site-nav .nav-cta { position: relative; }
.button:active, .nav-cta:active { transform: scale(.97,.95); box-shadow: inset 0 3px 5px #2731361a; }
.button-quiet { background: #ffffff80; }
.media-toggle, .demo-retry, .nav-toggle { border-radius: .8rem; }
.site-nav .nav-cta:hover { color: var(--ink); }
.ticker { padding-block: 1.2rem; border-block: 1px dashed #27313655; }
.ticker-track { gap: 1.8rem; }
.section-intro { border-bottom-style: dashed; }
.with-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: center; }
.with-layout .bento { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.with-layout .bento-cell { border-radius: 1.3rem; min-height: 0; padding: 1.6rem; }
.with-layout .bento-cell h3 { font-size: 1.8rem; margin-top: .5rem; }
.with-layout .bento-mark { height: 1.4rem; font-size: 3.5rem; }
.plush-playground { position: sticky; top: 7rem; align-self: start; padding-top: 1rem; text-align: center; }
.plush-playground .material-object { width: 112%; margin-left: -6%; --turn: -8deg; }
.plush-play { display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; padding: .65rem 1rem; color: #863729; font-size: .82rem; background: transparent; border: 1px dashed #a5423360; border-radius: 999px; }
.plush-play svg { width: 1.2rem; height: 1.2rem; }
.plush-play:hover { background: #f9e4df; }
.plush-play[hidden] { display: none; }
.material-layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 4rem; align-items: center; }
.material-layout > .material-object { --turn: -9deg; position: sticky; top: 8rem; align-self: start; width: 100%; }
.material-layout .steps { display: block; position: relative; margin: 0; }
.material-layout .steps li { position: relative; padding: 1.8rem 0 1.8rem 4rem; border-top: 1px dashed var(--stitch); }
.material-layout .steps li::before { position: absolute; left: 0; top: 1.75rem; font-size: 2.8rem; width: 2.5rem; margin: 0; float: none; }
.material-layout .steps strong { min-height: 0; }
.material-layout .steps p { margin: 0; clear: none; }
.material-layout .contents-ledger { width: 100%; }
.material-layout .ledger-row { grid-template-columns: 1fr; gap: .7rem; border-bottom-style: dashed; padding-block: 1.7rem; }
.start-note { max-width: 70ch; }
.offer { position: relative; border-radius: 1.5rem; padding: 2.4rem; gap: 1.1rem; }
.offer-art { width: 16rem; height: 14rem; align-self: center; margin: -1rem 0 .25rem; --turn: -7deg; }
.offer:nth-child(even) .offer-art { --turn: 7deg; }
.offer::after { content: ""; position: absolute; inset: 9px; border: 1px dashed #27313630; border-radius: 1rem; pointer-events: none; }
.offer-head { order: -1; }
.offer h3 { font-size: clamp(2.4rem,3.2vw,3.1rem); max-width: 15ch; }
.offer-price strong { font-size: 3.7rem; }
.offer.is-lead { background: #efad9f; }
.offer:nth-child(4) { background: #dae5bd; }
.offer-price { border-bottom-style: dashed; }
.offer .button { min-width: 12rem; }
.offer .button-quiet { background: #ffffffa6; }
.about-photo { position: relative; overflow: visible; }
.about-photo .photo-companion { position: absolute; right: -2.5rem; bottom: -3rem; width: 46%; z-index: 2; --turn: 15deg; }
.about-photo .photo-companion img { aspect-ratio: 1; object-fit: contain; }
.intro-plush { position: relative; grid-template-columns: 1fr .75fr 12rem; gap: 2.4rem; min-height: 12rem; }
.intro-plush .intro-art { grid-column: 3; grid-row: 1; width: 12rem; height: 12rem; --turn: 12deg; }
.intro-plush h2 { grid-column: 1; grid-row: 1; }
.intro-plush p { grid-column: 2; grid-row: 1; }
.social-grid { border: 0; gap: 1rem; }
.social-card, .social-card.is-write { border: 1px dashed var(--stitch); border-radius: 1.1rem; padding: 1.6rem; }
.social-grid li:last-child .social-card { border: 1px dashed var(--stitch); background: #f4ddd6; }
.social-card:hover { background: #e9eef2; }
.social-icon { width: 3rem; height: 3rem; padding: .7rem; background: var(--blue); color: var(--ink); border-radius: 1rem; }
.page-material { display: grid; grid-template-columns: 1.2fr .8fr; gap: 4rem; align-items: center; }
.page-material .page-object { grid-column: 2; grid-row: 1; width: 100%; --turn: 9deg; }
.page-material-copy { grid-column: 1; grid-row: 1; min-width: 0; }
.page-lead { padding-block: 3rem; }
.page-material .lead { font-size: 1.15rem; }
.page-status { border-style: dashed; }
.page-material .hero-actions { gap: 1rem; }
.boundary-material { position: relative; padding-right: min(30%,24rem); min-height: 18rem; }
.boundary-object { position: absolute; width: 24%; right: 0; top: 0; --turn: -12deg; }
.join-grid { position: relative; }
.purchase-companion { position: absolute; left: 26%; bottom: -3rem; width: 19%; --turn: -12deg; pointer-events: none; }
.purchase-form { border-radius: 1.4rem; border: 1px dashed #27313650; position: relative; z-index: 1; }
.join-grid > div:first-child { position: relative; z-index: 1; }
.purchase-summary { border-block-style: dashed; }
.join .start-note { max-width: 47ch; }
.join-grid .purchase-companion + .purchase-form { grid-column: 2; }
.book-material .hero-visual { isolation: isolate; }
.book-material .book-hero-object { position: absolute; width: 82%; height: auto; bottom: -1rem; left: -10%; z-index: 4; --turn: -12deg; pointer-events: none; }
.book-material .hero-visual .photo-frame { inset: 0 0 3rem 30%; }
.book-material .hero-visual .frame-aside { left: auto; right: -1rem; bottom: 1rem; width: 7rem; z-index: 5; }
.book-material .hero-visual .photo-label { top: 2rem; right: -1rem; width: 9rem; }
.book-material .hero-visual .media-toggle { z-index: 6; right: 0; bottom: -2rem; }
.parts .part { border-radius: 1.2rem; border: 1px dashed #27313635; }
.demo-open { border-radius: .8rem; }
.demo-open img { border-radius: .3rem; }
.demo-dialog { border-radius: 1.3rem; border: 1px dashed #27313660; }
.demo-status { padding-top: 6rem; background: url('plush-book-480.webp') center top / 5rem 5rem no-repeat; }
.faq-list details { border-top-style: dashed; }
.faq-list details[open] { background: #eff2f0; border-radius: 1rem; padding-inline: 1.5rem; }
.faq-list summary::after { border-radius: 50%; background: var(--celery); }
.guide-material { position: relative; min-width: 0; align-self: center; padding: 0 1rem 2rem; }
.guide-object { width: 100%; --turn: -7deg; z-index: 2; }
.guide-material .magnet-cover { width: 48%; margin: -5rem 0 0 auto; position: relative; z-index: 3; padding: .6rem; transform: rotate(9deg); }
.magnet-form { border-radius: 1rem; border: 1px dashed #27313655; }
.footer-material { position: relative; height: 14rem; max-width: 76rem; margin: 1rem auto 0; pointer-events: none; }
.footer-object { position: absolute; width: 19rem; height: 19rem; }
.footer-object-left { left: 3%; top: 0; --turn: -20deg; }
.footer-object-right { right: 6%; top: -1rem; --turn: 15deg; }
.site-footer::after { position: relative; z-index: 1; margin-top: 1.5rem; }
.footer-note { position: relative; z-index: 2; padding-top: 2rem; }
.footer-list > strong { border-bottom: 1px dashed #b7ccdf70; padding-bottom: .5rem; }
.empty-material { background: var(--blue); min-height: 100svh; text-align: center; }
.empty-material h1, .empty-material .lead { margin-inline: auto; }
.empty-object { width: min(19rem,65vw); margin: -1rem auto 2rem; --turn: -12deg; }
@media (max-width: 67.99rem) {
  .with-layout { gap: 1.5rem; grid-template-columns: .7fr 1.3fr; }
  .with-layout .bento-cell { padding: 1.2rem; }
  .with-layout .bento-cell h3 { font-size: 1.55rem; }
  .material-layout { gap: 2rem; }
  .intro-plush { grid-template-columns: 1fr .8fr 8rem; gap: 1.5rem; }
  .intro-plush .intro-art { width: 8rem; height: 9rem; }
  .page-material { gap: 2rem; grid-template-columns: 1.2fr .8fr; }
  .brand span:not(.brand-plush) { display: none; }
  .book-material .book-hero-object { left: 0; width: 85%; }
}
@media (max-width: 47.99rem) {
  .brand { gap: .4rem; }
  .brand .brand-plush { width: 2.1rem; min-width: 2.1rem; height: 2.1rem; }
  .with-layout, .material-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .plush-playground { position: relative; top: auto; padding: 0; }
  .plush-playground .material-object { width: min(75vw,21rem); margin: -1rem auto 0; }
  .plush-play { margin-top: -.5rem; }
  .with-layout .bento { grid-template-columns: 1fr; gap: .8rem; }
  .with-layout .bento-cell { padding: 1.6rem; }
  .with-layout .bento-cell h3 { font-size: 1.9rem; }
  .material-layout > .material-object { position: relative; top: auto; width: min(78vw,22rem); margin: -1rem auto .5rem; }
  .material-layout .steps li { padding: 1.4rem 0 1.4rem 3rem; }
  .material-layout .steps li::before { top: 1.35rem; }
  .offer { padding: 1.6rem; }
  .offer-art { width: 13rem; height: 12rem; margin-top: -.5rem; }
  .offer h3 { font-size: 2.5rem; }
  .offer .button { min-width: 0; }
  .about-photo .photo-companion { width: 43%; right: -1rem; bottom: -1.5rem; }
  .intro-plush { grid-template-columns: 1fr 6.5rem; gap: 1rem; }
  .intro-plush .intro-art { grid-column: 2; grid-row: 1; width: 6.5rem; height: 7rem; align-self: center; }
  .intro-plush h2 { grid-column: 1; font-size: 2.5rem; }
  .intro-plush p { grid-column: 1/-1; grid-row: 2; }
  .page-material { grid-template-columns: 1fr; gap: 1rem; }
  .page-material-copy { grid-column: 1; grid-row: 1; }
  .page-material .page-object { grid-column: 1; grid-row: 2; width: 65%; max-width: 19rem; margin: 0 auto -1rem; }
  .boundary-material { padding-right: 0; }
  .boundary-object { position: relative; width: 10rem; margin: -1rem 0 1.5rem auto; }
  .join-grid .purchase-companion { position: relative; width: 9rem; left: auto; bottom: auto; margin: -1.5rem auto -3rem; z-index: 2; }
  .join-grid .purchase-companion + .purchase-form { grid-column: 1; padding-top: 3rem; }
  .join-grid { gap: 2rem; }
  .book-material .hero-visual { min-height: 26rem; width: 100%; margin: 0; }
  .book-material .hero-visual .photo-frame { inset: 0 1rem 2rem 30%; }
  .book-material .book-hero-object { width: 79%; left: -3%; bottom: 0; }
  .book-material .hero-visual .frame-aside { right: .25rem; width: 5.5rem; }
  .book-material .hero-visual .photo-label { width: 7rem; right: 0; font-size: .7rem; }
  .guide-material { width: 100%; padding: 0 0 2rem; }
  .guide-object { width: 87%; margin: 0 auto; }
  .guide-material .magnet-cover { width: 42%; margin-right: 1rem; margin-top: -4rem; transform: rotate(7deg); }
  .footer-material { height: 10rem; margin-top: 2rem; }
  .footer-object { width: 10rem; height: 10rem; }
  .footer-object-left { left: 2%; }
  .footer-object-right { right: 2%; }
  .site-footer::after { font-size: 15vw; }
}
@media (prefers-reduced-motion: reduce) {
  .plush-art img { transform: rotate(var(--turn)) !important; }
  .button:active, .nav-cta:active { transform: none; }
}
.plush-play.is-soft { background: #f3d5cc; color: var(--ink); border-style: solid; }
@media (prefers-reduced-motion: no-preference) {
  .has-material-motion .steps::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1rem; width: 2px; background: #a54233; transform: scaleY(var(--seam-progress,0)); transform-origin: top; }
  .has-material-motion .steps li::before { transition: color 200ms; }
  .has-material-motion .steps li.is-reached::before { color: #a54233; }
}
/* Исправления первой проверки: повороты остаются внутри отведённой сцены. */
.book-material { overflow: clip; }
.footer-material { height: 19rem; overflow: clip; }
.intro-plush > * { min-width: 0; }
.purchase-stack { grid-column: 2; min-width: 0; }
.purchase-stack .purchase-companion { position: relative; inset: auto; width: 10rem; margin: -2rem auto -1rem; z-index: 2; }
.purchase-stack .purchase-form { padding-top: 2.4rem; }
@media (max-width: 47.99rem) {
  .intro-plush { grid-template-columns: minmax(0,1fr) 6.5rem; }
  .intro-plush h2 { grid-column: 1/-1; grid-row: 1; max-width: 100%; }
  .intro-plush .intro-art { grid-column: 2; grid-row: 2; width: 5.5rem; height: 6rem; justify-self: start; }
  .intro-plush p { grid-column: 1; grid-row: 2; }
  .about-photo .photo-companion { right: 0; }
  .footer-material { height: 11rem; }
  .footer-object { width: 9rem; height: 9rem; }
  .footer-object-left { left: 6%; top: 1rem; }
  .footer-object-right { right: 6%; top: 1rem; }
  .purchase-stack { grid-column: 1; }
  .purchase-stack .purchase-companion { margin: -.5rem auto -1.5rem; }
  .purchase-stack .purchase-form { padding-top: 3rem; }
}
/* Курсивная подпись имеет оптический вынос за глифы. Он остаётся в подвале. */
.site-footer { overflow: clip; }
@media (max-width: 47.99rem) {
  .about-photo .photo-companion { right: 1.25rem; width: 40%; }
}
/* Кавычка не конкурирует с первой строкой; петля целиком помещается в сцену. */
.with-layout .bento-mark { display: none; }
.footer-object-right { top: 1.5rem; }
@media (max-width: 47.99rem) { .footer-object-right { top: 1rem; } }

/* QA 05.09.2026, ISSUE-001: первый экран главной. Игрушка больше не накрывает
   фамилию, видеокадры крупнее, подпись под фото читаемого размера. */
.stage-inner { height: 47rem; }
.humera-title { top: 1.6rem; }
.hero-humera .hero-kicker { top: 14.2rem; max-width: 26ch; }
.plush-still-life { top: 17rem; left: -1%; width: 46%; }
.hero-humera .hero-visual { top: 14.5rem; right: 0; width: 25rem; min-height: 31rem; transform: rotate(5deg); }
.hero-humera .photo-frame { padding-bottom: 3rem; }
.hero-humera .frame-aside { left: -5rem; bottom: 1.5rem; width: 11rem; }
.hero-humera .photo-label { bottom: .95rem; font-size: .74rem; }
.hero-humera .media-toggle { bottom: -.4rem; }
@media (min-width: 68rem) and (prefers-reduced-motion: no-preference) {
  @keyframes soft-arrival { from { transform: translateY(25px) rotate(-12deg); } to { transform: translateY(0) rotate(-8deg); } }
}
@media (max-width: 67.99rem) {
  .stage-inner { height: 37rem; }
  .humera-title { top: 2rem; }
  .plush-still-life { top: 10.5rem; left: -1rem; width: 58%; }
  .hero-humera .hero-kicker { top: auto; bottom: 1.5rem; left: 0; }
  .hero-humera .hero-visual { top: 10.5rem; right: .5rem; width: 18rem; min-height: 23rem; }
  .hero-humera .frame-aside { left: -3rem; width: 8rem; }
}
@media (max-width: 47.99rem) {
  .stage-inner { height: 38rem; }
  .humera-title { top: 1.5rem; }
  .plush-still-life { top: 12.5rem; left: -1.5rem; width: 72%; transform: rotate(-14deg); }
  .hero-humera .hero-visual { top: auto; bottom: 3rem; right: .3rem; width: 13.5rem; min-height: 18rem; transform: rotate(6deg); }
  .hero-humera .photo-frame { inset: 0 0 1rem; padding: .45rem .45rem 2rem; }
  .hero-humera .photo-label { bottom: 1.4rem; left: .5rem; right: .5rem; font-size: .6rem; }
  .hero-humera .media-toggle { bottom: -1.6rem; padding: .4rem .6rem; font-size: .68rem; }
  .hero-humera .hero-kicker { bottom: 1.4rem; max-width: 15ch; font-size: .72rem; }
}

/* QA, ISSUE-002: на телефоне сначала текст о том, кому помогаю, потом действие.
   Кнопка выше описания читалась как обрыв мысли. */
@media (max-width: 47.99rem) {
  .hero-bottom > div { display: block; }
  .hero-bottom .lead, .hero-bottom .program-meta, .hero-bottom .hero-actions { grid-row: auto; }
  .hero-bottom .hero-actions { margin-top: 1.3rem; }
}

/* QA, ISSUE-003: страница книги. Плюшевая книга ушла в нижний левый угол и не
   накрывает Анну в кадре; основной и малый кадры крупнее. */
.book-material .book-hero-object { width: 44%; left: -9%; bottom: -1.5rem; }
.book-material .hero-visual .photo-frame { inset: 0 0 3rem 14%; }
.book-material .hero-visual .frame-aside { width: 9.5rem; right: -1.5rem; bottom: 2rem; }
.book-material .hero-visual .photo-label { width: 10rem; font-size: .78rem; }
@media (max-width: 47.99rem) {
  .book-material .hero-visual { min-height: 30rem; }
  .book-material .hero-visual .photo-frame { inset: 0 0 3rem 12%; }
  .book-material .book-hero-object { width: 46%; left: -8%; bottom: 0; }
  .book-material .hero-visual .frame-aside { display: block; right: 0; bottom: 1.5rem; width: 6.5rem; }
  .book-material .hero-visual .media-toggle { bottom: -1.2rem; }
}

/* QA, ISSUE-005: лента фраз обрезалась с обоих краёв и стояла на месте.
   Две копии содержимого уже есть в разметке: сдвиг на половину даёт бесшовный цикл. */
.ticker-track { justify-content: flex-start; min-width: 0; }
@media (prefers-reduced-motion: no-preference) {
  .ticker-track { animation: ticker-slide 46s linear infinite; }
  .ticker:hover .ticker-track { animation-play-state: paused; }
  @keyframes ticker-slide { to { transform: translate3d(-50%, 0, 0); } }
}

/* QA, ISSUE-006: страница гайда. Обложка это сам продукт, поэтому она крупнее
   декоративной игрушки, а не прячется под ней. */
.guide-object { width: 66%; margin-left: -4%; }
.guide-material .magnet-cover { width: 64%; margin: -9rem 0 0 auto; }
@media (max-width: 47.99rem) {
  .guide-object { width: 62%; margin: 0 0 0 -.5rem; }
  .guide-material .magnet-cover { width: 60%; margin: -6rem .5rem 0 auto; }
}

/* QA, ISSUE-007: кнопка управления видео стояла на подписи под фото. */
.stage-inner { height: 47.5rem; }
.hero-humera .media-toggle { bottom: -1.6rem; }
@media (max-width: 67.99rem) { .stage-inner { height: 38rem; } }
@media (max-width: 47.99rem) {
  .stage-inner { height: 38.5rem; }
  .hero-humera .media-toggle { bottom: -2.2rem; right: .2rem; }
}

/* Правка Романа 05.09.2026: игрушка на первом экране крупнее, как в исходном
   варианте Codex, но опущена ниже фамилии. */
.plush-still-life { top: 9.5rem; left: 2%; width: 60%; }
@media (max-width: 67.99rem) { .plush-still-life { top: 10rem; width: 66%; } }

/* Калькулятор: рабочая поверхность внутри принятой Humera. */
.calorie-page [hidden] { display: none !important; }
.calorie-main { padding-block: 2.5rem 5rem; }
.calorie-intro { max-width: 54rem; margin-bottom: 2.4rem; }
.calorie-intro h1 { font-size: clamp(2.2rem, 4vw, 3.65rem); line-height: 1.06; margin: 0 0 1rem; }
.calorie-intro h1 em, .calorie-result h2 em, .calorie-method h2 em { font-family: var(--font-serif); font-weight: 500; }
.calorie-intro > p { max-width: 46rem; color: var(--ink-soft); font-size: 1.05rem; }
.calorie-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(1.5rem,4vw,4rem); align-items: start; }
.calorie-form h2 { font-size: 1.8rem; margin: 0 0 .5rem; }
.calorie-form-note { font-size: .88rem; line-height: 1.5; color: var(--ink-soft); margin-bottom: 1.3rem; max-width: 50ch; }
.calorie-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.calorie-fields-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 1.1rem; }
.calorie-field { margin-bottom: 1.15rem; min-width: 0; }
.calorie-field label, #copy-fallback label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .4rem; line-height: 1.4; }
.calorie-field input, .calorie-field select, #result-text { display: block; box-sizing: border-box; width: 100%; min-width: 0; min-height: 3rem; padding: .65rem .8rem; border: 1px solid #879592; border-radius: .65rem; background: white; color: var(--ink); font: inherit; font-size: 1rem; caret-color: var(--coral-dark,#a54233); }
.calorie-field select { padding-right: 1.65rem; text-overflow: ellipsis; }
.calorie-field :is(input,select):focus-visible, #result-text:focus-visible { outline: 3px solid #466982; outline-offset: 3px; }
.calorie-field [aria-invalid="true"] { border-color: #a33a36; }
.calorie-page ::selection { background: #c9d9a3; color: #273136; }
.calorie-help { font-size: .83rem; line-height: 1.55; color: var(--ink-soft); margin: .5rem 0 0; }
.calorie-error { margin: .4rem 0 0; font-size: .85rem; color: #a33a36; line-height: 1.4; }
.calorie-submit { width: 100%; justify-content: space-between; gap: .8rem; margin-top: .25rem; }
.calorie-submit svg { width: 1.4rem; height: 1.4rem; flex: 0 0 auto; }
.calorie-limits { margin-top: 1rem; }
.calorie-result { background: #eff2f0; border-radius: 1.5rem; padding: clamp(1.3rem,3vw,2.4rem); border: 1px solid #cdd5d4; overflow-wrap: anywhere; min-width: 0; }
.calorie-result-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding-bottom: 1rem; border-bottom: 1px dashed #879592; font-size: .8rem; color: #46545b; }
.calorie-result h2 { font-size: clamp(1.8rem,3vw,2.55rem); margin: 1.7rem 0 1rem; line-height: 1.1; scroll-margin-top: 8rem; }
.calorie-result h2:focus { outline: 2px solid #466982; outline-offset: 5px; border-radius: .25rem; }
.calorie-result-art { width: min(75%,17rem); height: auto; margin: 1.2rem auto 0; display: block; }
#result-empty > p { color: #46545b; font-size: .98rem; line-height: 1.6; }
.calorie-empty-labels { display: flex; flex-wrap: wrap; gap: .8rem; padding-block: 1.3rem .5rem; font-size: .8rem; color: #46545b; }
.calorie-goal { font-size: 1rem; color: #46545b; margin-bottom: 1.5rem; }
.calorie-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem .8rem; margin: 0 0 1.5rem; }
.calorie-total strong { color: #a54233; font-family: 'Sofia Sans',sans-serif; font-size: clamp(3rem,6vw,4.5rem); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.calorie-total span { font-size: .95rem; }
.calorie-macros { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .8rem; margin: 0; padding-block: 1.15rem; border-block: 1px dashed #879592; }
.calorie-macros dt { font-size: .85rem; color: #46545b; }
.calorie-macros dd { margin: .35rem 0 0; font-family: 'Sofia Sans',sans-serif; font-size: clamp(1.4rem,2.2vw,2rem); font-weight: 600; font-variant-numeric: tabular-nums; }
.calorie-disclaimer { font-size: .9rem; font-weight: 600; margin-top: 1.6rem; }
.calorie-result-advice, .calorie-restriction, .calorie-maintenance { font-size: .92rem; line-height: 1.65; }
.calorie-alert { border: 1px solid #a33a36; border-radius: .6rem; padding: .8rem; margin: 1rem 0; font-size: .9rem; color: #80332d; background: #fff8f5; }
.calorie-export-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
.calorie-export-actions .button { min-height: 2.9rem; padding: .75rem 1rem; font-size: .82rem; }
.calorie-page button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
#copy-fallback, #image-fallback { margin-top: 1rem; }
#result-text { resize: vertical; font-size: .85rem; min-height: 13rem; }
#result-image { display: block; width: 100%; height: auto; margin-block: .8rem; }
.calorie-next { border-top: 1px dashed #879592; margin-top: 1.6rem; padding-top: 1.4rem; }
.calorie-next h3 { font-size: 1.4rem; margin: 0 0 .5rem; }
.calorie-next p { font-size: .88rem; color: #46545b; line-height: 1.6; }
.calorie-next a { display: table; margin-top: .8rem; font-size: .9rem; }
.calorie-method { max-width: 52rem; margin: 4rem auto 0; }
.calorie-method h2 { font-size: clamp(1.8rem,3vw,2.6rem); line-height: 1.15; margin-bottom: 1.8rem; }
.calorie-method details { border-top: 1px solid #cdd5d4; padding: 1.15rem 0; }
.calorie-method summary { cursor: pointer; font-weight: 600; font-size: 1rem; }
.calorie-method details > div { margin-top: 1rem; line-height: 1.65; font-size: .95rem; }
.calorie-method h3 { font-size: 1.25rem; margin: 1.6rem 0 .6rem; }
.calorie-page .site-footer [data-stagger] > * { opacity: 1; transform: none; }
.calorie-entry { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; background: #eff2f0; border: 1px dashed #879592; border-radius: 1.2rem; padding: 1.6rem 2rem; margin-block: 2rem; }
.calorie-entry h2 { font-size: 1.9rem; margin: 0 0 .5rem; }
.calorie-entry p { margin: 0; color: #46545b; font-size: .98rem; max-width: 45ch; }
.calorie-entry .button { flex-shrink: 0; }
@media (max-width: 67.99rem) and (min-width: 48rem) { .site-nav { gap: .8rem; } .site-nav a { font-size: .78rem; } }
@media (max-width: 47.99rem) {
  .calorie-main { padding-top: 1.7rem; }
  .calorie-intro { margin-bottom: 1.8rem; }
  .calorie-intro h1 { font-size: 2.25rem; }
  .calorie-intro > p { font-size: .98rem; }
  .calorie-layout { grid-template-columns: minmax(0,1fr); gap: 2rem; }
  .calorie-result { padding: 1.3rem; }
  .calorie-result h2 { scroll-margin-top: 6rem; }
  .calorie-method { margin-top: 2.8rem; }
  .calorie-entry { flex-direction: column; align-items: flex-start; padding: 1.3rem; }
  .calorie-export-actions { flex-direction: column; }
  .calorie-macros { gap: .45rem; }
  .calorie-macros dt { font-size: .8rem; }
}

.calorie-page .visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
