/* Bakesoft — лендинг. Дизайн: макет «Вариант 1 — Ягоды и крем». Токены — только в :root. */
:root {
    --bg: #FBF6F0;
    --paper2: #F4ECE2;
    --ink: #2E2530;
    --acc: #B4234E;
    --btn: #B4234E;
    --acch: #951B40;
    --accs: #F8E6EB;
    --sec: #E8B04B;
    --secs: #FBEFD6;
    --secink: #8A5A0B;
    --muted: #6E6470;
    --line: #E6DCD1;
    --ff-head: "Playfair Display", Georgia, "Times New Roman", serif;
    --ff-hand: Caveat, "Segoe Print", "Comic Sans MS", cursive;
    --ff-body: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { background: var(--bg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    font-family: var(--ff-body); color: var(--ink); background-color: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .25 0 0 0 0 .2 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.i { flex: none; display: inline-block; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--btn) 55%, transparent); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; font-weight: 700; }
.skip:focus { left: 16px; }

.wrap { width: calc(100% - 64px); max-width: 1280px; margin: 0 auto; }
h1, h2, .wm span, .pn, .sn span { font-family: var(--ff-head); }
.hand { font-family: var(--ff-hand); }

/* ---------- header ---------- */
.top { position: relative; z-index: 20; height: 80px; display: flex; align-items: center; gap: 40px; }
.wm { display: flex; align-items: center; gap: 8px; }
.wm svg { flex: none; }
.wm span { font-size: 28px; font-weight: 700; letter-spacing: -.3px; }
.mainnav { display: flex; gap: 30px; font-size: 15px; font-weight: 600; margin-left: 24px; }
.mainnav a:hover, .ft nav a:hover, .fl a:hover { color: var(--btn); }
.top .sp { flex: 1; }
.top .in { font-weight: 700; font-size: 15px; }
.top .try { height: 44px; padding: 0 18px; border: 1.5px solid var(--ink); border-radius: 12px; display: flex; align-items: center; font-weight: 800; font-size: 14.5px; transition: background .2s, color .2s; }
.top .try:hover { background: var(--ink); color: #fff; }
.burger { display: none; background: none; color: var(--ink); cursor: pointer; }
.burger .b-close { display: none; }
.top.open .burger .b-open { display: none; }
.top.open .burger .b-close { display: block; }
.mobnav { display: none; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 650fr) minmax(0, 620fr); gap: 10px; align-items: center; min-height: 820px; padding-bottom: 30px; }
.kick { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--muted); border: 1.5px dashed color-mix(in srgb, var(--ink) 35%, transparent); border-radius: 99px; padding: 6px 16px 6px 6px; margin-bottom: 28px; }
.chip { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 99px; background: var(--accs); color: var(--acch); font-size: 12.5px; font-weight: 800; letter-spacing: .2px; white-space: nowrap; }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sec); margin-right: 7px; }
.ks, .kx { display: none; }
h1 { font-size: clamp(38px, 4.25vw, 54px); line-height: 1.1; font-weight: 600; letter-spacing: -.6px; }
h1 em { font-style: italic; color: var(--btn); position: relative; white-space: nowrap; z-index: 0; }
/* Подчёркивание «мёдом» есть в генераторе макета, но в утверждённом рендере его не видно (z-index:-1 под фоном) — оставлено выключенным. */
h1 em::after { display: none; content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 12px; z-index: -1;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9C60 4 130 3 200 6S280 9 297 5' stroke='%23E8B04B' stroke-width='4.5' fill='none' stroke-linecap='round'/%3E%3Cpath d='M30 12C100 8 190 9 270 10' stroke='%23E8B04B' stroke-width='2.5' fill='none' stroke-linecap='round' opacity='.7'/%3E%3C/svg%3E") no-repeat center/100% 100%; }
.sub { font-size: 19px; line-height: 1.55; color: var(--muted); margin-top: 24px; max-width: 540px; }
.ctas { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.btn { height: 58px; border-radius: 14px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: inherit; font-weight: 800; font-size: 16.5px; white-space: nowrap; cursor: pointer; border: 0; transition: transform .15s, box-shadow .2s, background .2s; }
.btn.pri { background: var(--btn); color: #fff; box-shadow: 0 14px 26px -14px var(--btn); }
.btn.pri:hover { background: var(--acch); transform: translateY(-1px); }
.btn.sec { border: 1.5px solid var(--ink); color: var(--ink); background: color-mix(in srgb, #fff 50%, transparent); }
.btn.sec:hover { background: #fff; transform: translateY(-1px); }
.btn:disabled { opacity: .65; cursor: progress; transform: none; }
.trust { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.trust span { display: flex; align-items: center; gap: 6px; }
.trust b { opacity: .5; }
.hr { align-self: stretch; display: flex; align-items: center; justify-content: center; min-width: 0; }
.cake { width: 100%; max-width: 610px; height: auto; display: block; }

/* hero animation: sketch draws in, real half reveals across the diagonal */
@media (prefers-reduced-motion: no-preference) {
    .cake .sketch path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: bs-draw 1.7s cubic-bezier(.45, 0, .25, 1) .25s forwards; }
    .cake .sketch > g:first-child path { animation-duration: 1.1s; animation-delay: 0s; }
    .cake .sketch > g:last-child { animation: bs-fade .6s ease 1.3s both; }
    .cake .rv { animation: bs-reveal 1.4s cubic-bezier(.6, 0, .2, 1) 1.55s both; }
    .cake .edge { animation: bs-fade .9s ease 2.5s both; }
    .cake .spk { animation: bs-fade .6s ease 2.8s both; }
    .cake .ann path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: bs-draw 1s ease 1.15s forwards; }
    .cake .ann text { animation: bs-fade .8s ease 1.35s both; }
}
@keyframes bs-draw { to { stroke-dashoffset: 0; } }
@keyframes bs-fade { from { opacity: 0; } }
@keyframes bs-reveal { from { transform: translateX(520px); } }

/* ---------- section heads ---------- */
.sh { text-align: center; max-width: 920px; margin: 0 auto 56px; }
.eb { font-size: 13px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.sh .eb { justify-content: center; }
h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 600; letter-spacing: -.5px; line-height: 1.12; }
.sh p { font-size: 18px; color: var(--muted); line-height: 1.55; margin-top: 16px; }

/* ---------- how it works ---------- */
.how { padding: 100px 0 110px; border-top: 1.5px dashed color-mix(in srgb, var(--ink) 18%, transparent); scroll-margin-top: 0; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; }
.sn { display: flex; align-items: baseline; gap: 12px; }
.sn span { font-size: 34px; font-style: italic; color: var(--muted); font-weight: 500; }
.step h3 { font-size: 20px; font-weight: 800; letter-spacing: -.2px; }
.step > p { font-size: 15.5px; line-height: 1.55; color: var(--muted); margin-top: 10px; min-height: 72px; }
.fig { position: relative; height: 470px; margin-top: 22px; }
.paper { position: absolute; left: 0; top: 0; width: 276px; padding: 18px 20px 16px; background: #fffdf8; border-radius: 3px; box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 10px 24px -14px rgba(40, 30, 20, .35); font-family: var(--ff-hand); color: var(--ink); font-size: 23px; line-height: 30px;
    background-image: repeating-linear-gradient(transparent 0 29px, color-mix(in srgb, var(--ink) 12%, transparent) 29px 30px); background-position: 0 14px; filter: grayscale(1); transform: rotate(var(--r, 0deg)); }
.paper::before { content: ""; position: absolute; left: 44%; top: -10px; width: 70px; height: 20px; background: color-mix(in srgb, var(--ink) 8%, #fff); opacity: .85; transform: rotate(-4deg); }
.paper.p0 { --r: -3deg; } .paper.p1 { --r: 2deg; } .paper.p2 { --r: -2deg; }
.paper .ln.big { font-size: 26px; font-weight: 700; }
.paper .ln.huge { font-size: 34px; font-weight: 700; line-height: 38px; margin-bottom: 2px; }
.paper .ln.sm { font-size: 20px; opacity: .7; }
.paper .ln.q { opacity: .75; font-size: 21px; }
.paper u { text-decoration-thickness: 2px; }
.paper s { opacity: .6; }
.arr { position: absolute; left: 162px; top: 170px; transform: rotate(6deg); }
.arr img { display: block; }
.appc { position: absolute; right: 0; top: 226px; width: 300px; background: #fff; border-radius: 18px; padding: 16px 18px; box-shadow: 0 24px 44px -24px rgba(40, 25, 30, .45), 0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent); font-size: 13.5px; }
.appc .ch { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.tag { font-size: 12px; font-weight: 800; color: var(--muted); letter-spacing: .3px; }
.pill { height: 24px; padding: 0 10px; border-radius: 99px; font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; }
.pill.ok { background: var(--secs); color: var(--secink); }
.pill.acc { background: var(--accs); color: var(--acch); font-size: 13.5px; }
.pill.gray { background: color-mix(in srgb, var(--ink) 7%, #fff); color: var(--muted); }
.ct { font-size: 18px; font-weight: 800; }
.cs { color: var(--muted); font-weight: 600; margin: 2px 0 10px; }
.ct2 { font-size: 15px; font-weight: 800; }
.kv { display: flex; align-items: center; gap: 8px; height: 28px; font-weight: 600; }
.kv .i { color: var(--acc); }
.kv em { margin-left: auto; font-style: normal; font-size: 11.5px; font-weight: 800; color: var(--secink); background: var(--secs); padding: 2px 8px; border-radius: 99px; }
.cf { display: flex; justify-content: space-between; align-items: flex-end; border-top: 1px solid var(--line); margin-top: 10px; padding-top: 10px; }
.cf small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 700; }
.cf b { font-size: 19px; font-weight: 800; display: flex; align-items: center; gap: 4px; }
.cf .r { text-align: right; }
.okc, .okc .i { color: var(--secink); }
.tbl { border-top: 1px solid var(--line); }
.tbl .th, .tbl .tr { display: grid; grid-template-columns: 1fr 54px 60px; align-items: center; gap: 6px; }
.tbl .th { font-size: 11px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; height: 30px; }
.tbl .th span:not(:first-child), .tbl .tr > *:not(:first-child) { text-align: right; }
.tbl .tr { height: 36px; border-top: 1px solid var(--line); font-weight: 600; }
.tbl .tr span:nth-child(2) { color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 50%, transparent); }
.tbl .tr b { color: var(--btn); font-weight: 800; font-size: 14.5px; }
.appc .foot { font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.li { display: grid; grid-template-columns: 1fr 46px 62px; align-items: center; height: 31px; font-weight: 600; border-bottom: 1px solid var(--line); }
.li em { font-style: normal; color: var(--muted); text-align: right; font-size: 12.5px; }
.li b { text-align: right; font-weight: 800; }
.appc .li:last-of-type { border-bottom: 0; }
.c2 .cf { margin-top: 2px; }
.mini { height: 34px; padding: 0 12px; border-radius: 10px; background: var(--btn); color: #fff; font-weight: 800; font-size: 13px; display: flex; align-items: center; gap: 6px; }

/* step reveal on scroll (only when JS is on and motion is allowed) */
@media (prefers-reduced-motion: no-preference) {
    .js .step .paper { opacity: 0; transform: translateY(18px) rotate(var(--r, 0deg)); transition: opacity .6s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
    .js .step .arr img { clip-path: inset(0 100% 0 0); transition: clip-path .6s ease .35s; }
    .js .step .appc { opacity: 0; transform: translateY(26px); transition: opacity .6s ease .6s, transform .7s cubic-bezier(.2, .7, .2, 1) .6s; }
    .js .step.in .paper { opacity: 1; transform: rotate(var(--r, 0deg)); }
    .js .step.in .arr img { clip-path: inset(0 0 0 0); }
    .js .step.in .appc { opacity: 1; transform: none; }
}

/* ---------- product screens ---------- */
.shots { background: var(--paper2); padding: 100px 0 110px; }
.comp { position: relative; aspect-ratio: 1280 / 830; }
.browser { position: absolute; left: 0; top: 0; width: 78.125%; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -40px rgba(40, 25, 30, .45), 0 0 0 1px color-mix(in srgb, var(--ink) 10%, transparent); }
.browser .bar { height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: color-mix(in srgb, var(--ink) 5%, #fff); border-bottom: 1px solid var(--line); }
.browser .bar i { width: 11px; height: 11px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 18%, #fff); }
.browser .url { margin-left: 18px; height: 26px; width: 360px; max-width: 60%; border-radius: 8px; background: #fff; display: flex; align-items: center; padding: 0 12px; font-size: 12.5px; color: var(--muted); font-weight: 600; border: 1px solid var(--line); white-space: nowrap; overflow: hidden; }
.browser img, .phone img { display: block; width: 100%; height: auto; }
.phone { position: absolute; left: 75.625%; top: 23.6%; width: 23.4375%; padding: 11px; border-radius: 46px; background: var(--ink); box-shadow: 0 40px 70px -30px rgba(30, 20, 25, .6); }
.phone img { border-radius: 36px; aspect-ratio: 278 / 602; }
.note { position: absolute; font-family: var(--ff-hand); font-size: 26px; font-weight: 700; color: var(--ink); display: flex; gap: 4px; white-space: nowrap; }
.note .harr { flex: none; }
.n1 { left: 19.5%; top: 83.1%; transform: rotate(-2deg); flex-direction: row-reverse; align-items: flex-start; }
.n1 .harr { transform: scaleY(-1) rotate(10deg); margin-top: -54px; margin-right: -8px; }
.n2 { left: 50%; top: 86.7%; align-items: flex-start; transform: rotate(-2deg); }
.n2 .harr { transform: scaleY(-1); margin-top: -38px; margin-left: -8px; }

/* ---------- benefits ---------- */
.bens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding: 100px 0 40px; }
.ben { border: 1.5px solid color-mix(in srgb, var(--ink) 14%, transparent); border-radius: 22px; padding: 28px 30px 30px; background: color-mix(in srgb, #fff 45%, transparent); }
.ben h3 { font-size: 21px; font-weight: 800; letter-spacing: -.2px; margin-top: 14px; line-height: 1.3; }
.ben p { font-size: 15.5px; line-height: 1.55; color: var(--muted); margin-top: 10px; }

/* ---------- pricing ---------- */
.price { display: grid; grid-template-columns: minmax(0, 1fr) 380px 380px; gap: 28px; padding: 80px 0 110px; align-items: stretch; }
.pl { padding-top: 24px; }
.pl h2 { font-size: clamp(30px, 3.3vw, 42px); }
.pl p { font-size: 17px; line-height: 1.55; color: var(--muted); margin-top: 18px; max-width: 400px; }
.lnk { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font-weight: 800; font-size: 16px; color: var(--btn); border-bottom: 2px solid var(--accs); padding-bottom: 4px; }
.lnk:hover { border-bottom-color: var(--btn); }
.pl .offer-note { font-size: 14px; margin-top: 22px; }
.offer-note a, .legal a, .chk a { color: var(--btn); text-decoration: underline; text-underline-offset: 3px; }
.plan { position: relative; background: #fff; border-radius: 24px; padding: 30px 30px 28px; box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 10%, transparent); display: flex; flex-direction: column; }
.plan.hot { box-shadow: 0 0 0 2px var(--btn), 0 30px 60px -36px var(--btn); }
.badge { position: absolute; top: -14px; left: 30px; height: 28px; padding: 0 12px; border-radius: 99px; background: var(--sec); color: var(--ink); font-weight: 800; font-size: 12.5px; display: flex; align-items: center; }
.pn { font-size: 30px; font-weight: 700; }
.pd { color: var(--muted); font-size: 15px; margin-top: 4px; font-weight: 600; }
.pp { display: flex; align-items: baseline; gap: 6px; margin: 20px 0 18px; }
.pp b { font-size: 40px; font-weight: 800; letter-spacing: -1px; }
.pp span { color: var(--muted); font-weight: 700; font-size: 16px; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; font-size: 15px; font-weight: 600; }
.plan li { display: flex; gap: 10px; align-items: center; }
.plan li .i { color: var(--acc); }
.btn.full { width: 100%; margin-top: auto; height: 54px; font-size: 15.5px; }

/* ---------- cake calculator (Views/Shared/_CakeCalculator.cshtml + js/calc.js) ---------- */
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.calc { background: var(--paper2); padding: 100px 0 110px; }
.calc .sh { margin-bottom: 44px; }
.calc-more { text-align: center; margin-top: 30px; }
.calc-more .lnk { margin-top: 0; }
.cc { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; align-items: start; }
.cc-params { grid-column: 1; grid-row: 1; }
.cc-ingr { grid-column: 1; grid-row: 2; }
.cc-res { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 20px; }
.cc-card { min-width: 0; background: #fff; border-radius: 24px; padding: 28px 30px; box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 10%, transparent), 0 30px 60px -40px rgba(40, 25, 30, .5); }
.cc-nojs { grid-column: 1 / -1; background: var(--secs); color: var(--secink); border-radius: 14px; padding: 14px 18px; font-weight: 700; }
.cc-h { font-size: 19px; font-weight: 800; letter-spacing: -.2px; }
.cc-h2 { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.cc fieldset { border: 0; min-width: 0; }
.cc legend { padding: 0; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
.cc-row2 { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 18px; }
.seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 13px; background: color-mix(in srgb, var(--ink) 6%, #fff); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; height: 40px; min-width: 46px; padding: 0 14px; border-radius: 10px; font-weight: 700; font-size: 14.5px; color: var(--muted); transition: background .15s, color .15s, box-shadow .15s; }
.seg label:hover span { color: var(--ink); }
.seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(40, 25, 30, .14), 0 0 0 1px color-mix(in srgb, var(--ink) 10%, transparent); }
.seg input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--btn) 55%, transparent); outline-offset: 1px; }
.cc-tier { margin-top: 16px; padding: 14px 18px 14px; border-radius: 16px; background: color-mix(in srgb, var(--paper2) 45%, #fff); box-shadow: inset 0 0 0 1px var(--line); }
.cc .cc-tier legend { float: left; width: 100%; margin: 0 0 10px; font-size: 14.5px; font-weight: 800; }
.cc-tier legend span:not(:empty)::before { content: " · "; }
.cc-tier legend span { color: var(--muted); font-weight: 700; }
.cc-tg { clear: both; display: grid; grid-template-columns: minmax(0, 1fr) 112px 112px; gap: 12px; }
.cc-note { font-size: 13px; line-height: 1.45; color: var(--muted); font-weight: 600; margin-top: 10px; }
.cc-note:empty { display: none; }
.cc-warn { margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: var(--secs); color: var(--secink); font-size: 13.5px; font-weight: 700; }
.cc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.cc .fld input[type=number], .cc .fld select { height: 48px; }
.cc .fld select { padding-right: 34px; background-position: right 11px center; }
.cc-auto { display: flex; align-items: center; gap: 8px; }
.cc-auto input { flex: 1; min-width: 0; }
.cc-reset { flex: none; border: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 800; color: var(--btn); cursor: pointer; padding: 6px 2px; white-space: nowrap; }
.cc-reset:hover { color: var(--acch); text-decoration: underline; text-underline-offset: 3px; }
.cc-small { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.cc-markup { margin-top: 18px; }
.cc-range { display: flex; align-items: center; gap: 14px; }
.cc-range input[type=range] { flex: 1; min-width: 0; height: 28px; accent-color: var(--btn); cursor: pointer; }
.cc .cc-range input[type=number] { flex: none; width: 96px; }

/* result */
.cc-res-t { font-size: 13px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
.cc-price { font-family: var(--ff-head); font-size: 54px; font-weight: 700; line-height: 1.08; letter-spacing: -1px; color: var(--btn); margin-top: 6px; }
.cc-perkg { font-size: 14.5px; font-weight: 700; color: var(--muted); margin-top: 4px; }
.cc-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.cc-kpis > div { background: var(--secs); border-radius: 14px; padding: 12px 14px; min-width: 0; }
.cc-kpis dt { font-size: 11.5px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--secink); }
.cc-kpis dd { font-size: 17px; font-weight: 800; margin-top: 4px; line-height: 1.3; }
.cc-kpis small { display: block; font-size: 12.5px; font-weight: 600; color: var(--secink); margin-top: 2px; }
.cc-cost { margin-top: 18px; border-top: 1px solid var(--line); }
.cc-cost > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; font-weight: 600; }
.cc-cost dt small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-top: 1px; }
.cc-cost dd { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cc-cost .tot dt { font-weight: 800; }
.cc-cost .tot { background: color-mix(in srgb, var(--paper2) 50%, #fff); margin: 0 -12px; padding: 10px 12px; border-radius: 10px; border-bottom: 0; }
.cc-cost .fin { border-bottom: 0; font-size: 16px; }
.cc-cost .fin dt, .cc-cost .fin dd { font-weight: 800; color: var(--btn); }
.cc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.cc-actions .btn { width: 100%; height: 48px; padding: 0 10px; gap: 8px; font-size: 14.5px; }
.cc-status { min-height: 20px; margin-top: 8px; font-size: 13.5px; font-weight: 700; color: var(--secink); }
.cc-cta { margin-top: 8px; padding: 18px; border-radius: 16px; background: var(--accs); }
.cc-cta p { font-size: 14.5px; line-height: 1.45; font-weight: 600; margin-bottom: 12px; }
.cc-cta .btn.full { height: 50px; }

/* ingredients */
.cc-ih { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cc-hint { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 10px; font-size: 13.5px; line-height: 1.4; font-weight: 600; color: var(--muted); }
.cc-hint .chip { background: var(--secs); color: var(--secink); }
.cc-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 14.5px; }
.cc-table th, .cc-table td { padding: 8px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 600; vertical-align: middle; }
.cc-table thead th { padding-top: 0; font-size: 11.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); }
.cc-table td, .cc-table thead th:not(:first-child) { text-align: right; padding-left: 14px; }
.cc-table td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.cc-table td.s { font-weight: 800; min-width: 76px; }
.cc-table tfoot th, .cc-table tfoot td { border-bottom: 0; padding-top: 12px; font-size: 15.5px; font-weight: 800; }
.cc-pin { display: inline-flex; align-items: center; gap: 6px; }
.cc-pin input { width: 92px; height: 38px; border-radius: 10px; border: 1.5px solid color-mix(in srgb, var(--ink) 18%, transparent); background: #fff; padding: 0 8px; font: inherit; font-size: 14.5px; font-weight: 700; color: var(--ink); text-align: right; }
.cc-pin input:focus { outline: none; border-color: var(--btn); box-shadow: 0 0 0 4px var(--accs); }
.cc-pin i { width: 40px; font-style: normal; font-size: 12px; font-weight: 700; color: var(--muted); text-align: left; }

/* standalone page /kalkulyator-torta */
.calc-page { background: none; padding: 44px 0 40px; }
.calc-how { padding: 70px 0 100px; }
.calc-how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.calc-how .ben h3 { margin-top: 0; }
.calc-base { margin-top: 44px; }
.calc-base h3 { font-size: 21px; font-weight: 800; letter-spacing: -.2px; }
.calc-base-scroll { overflow-x: auto; margin-top: 4px; }
.cc-base th small { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-top: 2px; }
.cc-base th { padding: 10px 0; }
.calc-disc { margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--muted); font-weight: 600; }
.calc-cta-in { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.calc-cta-in p { font-size: 18px; line-height: 1.55; color: var(--muted); margin-top: 16px; max-width: 680px; }
.calc-cta-in .btn { flex: none; }

/* print: техкарта (класс cc-printing ставит js/calc.js) */
.cc-print { display: none; }
@media print {
    @page { margin: 14mm; }
    html.cc-printing, html.cc-printing body { background: #fff !important; }
    html.cc-printing .skip, html.cc-printing .top, html.cc-printing .ft, html.cc-printing main > * { display: none !important; }
    html.cc-printing main > .calc { display: block !important; padding: 0; background: none; }
    html.cc-printing .calc .wrap { width: auto; max-width: none; padding: 0; }
    html.cc-printing .calc .wrap > :not(.cc), html.cc-printing .cc > :not(.cc-print) { display: none !important; }
    html.cc-printing .cc { display: block; }
    html.cc-printing .cc-print { display: block; font-family: var(--ff-body); font-size: 10.5pt; color: #000; }
    .cc-print .pt-head { display: flex; justify-content: space-between; font-size: 9.5pt; color: #555; border-bottom: 1px solid #999; padding-bottom: 4pt; }
    .cc-print h2 { font-size: 18pt; margin: 10pt 0 2pt; letter-spacing: 0; }
    .cc-print .pt-meta { color: #333; margin-bottom: 8pt; }
    .cc-print table { width: 100%; border-collapse: collapse; margin-top: 8pt; page-break-inside: avoid; }
    .cc-print th, .cc-print td { border: 1px solid #bbb; padding: 3pt 6pt; text-align: left; }
    .cc-print thead th { background: #f1f1f1; font-weight: 700; }
    .cc-print td:not(:first-child), .cc-print tfoot td { text-align: right; }
    .cc-print tfoot th, .cc-print tr.b td { font-weight: 700; }
    .cc-print .pt-tiers td:nth-child(2) { text-align: left; }
    .cc-print .pt-foot { margin-top: 10pt; font-size: 8.5pt; color: #555; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 56px; padding: 30px 0 110px; }
.faq-l .hand { font-size: 26px; font-weight: 700; margin-top: 18px; transform: rotate(-2deg); color: var(--muted); }
.faq-list { border-top: 1.5px dashed color-mix(in srgb, var(--ink) 20%, transparent); }
.qa { border-bottom: 1.5px dashed color-mix(in srgb, var(--ink) 20%, transparent); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; font-size: 18px; font-weight: 800; letter-spacing: -.1px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .i { color: var(--btn); transition: transform .25s; }
.qa[open] summary .i { transform: rotate(45deg); }
.qa summary:hover { color: var(--btn); }
.qa p { font-size: 16px; line-height: 1.6; color: var(--muted); padding: 0 40px 24px 0; max-width: 760px; }

/* ---------- final CTA + lead form ---------- */
.lead { background: var(--paper2); padding: 100px 0 110px; }
.lead-in { display: grid; grid-template-columns: minmax(0, 1fr) 540px; gap: 64px; align-items: center; }
.lead-l p { font-size: 18px; line-height: 1.55; color: var(--muted); margin-top: 18px; max-width: 520px; }
.lead-pts { list-style: none; margin-top: 26px; display: flex; flex-direction: column; gap: 12px; font-weight: 700; font-size: 15.5px; }
.lead-pts li { display: flex; align-items: center; gap: 10px; }
.lead-pts .i { color: var(--acc); }
.lead-arr { display: block; margin: 18px 0 0 auto; transform: rotate(-12deg); opacity: .9; }
.formcard { position: relative; background: #fff; border-radius: 24px; padding: 30px; box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 10%, transparent), 0 30px 60px -40px rgba(40, 25, 30, .5); }
.lead-form { display: flex; flex-direction: column; gap: 16px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fld > label { font-size: 13.5px; font-weight: 700; }
.fld > label small { font-weight: 600; color: var(--muted); font-size: 13px; }
.fld input[type=text], .fld input[type=tel], .fld input[type=email], .fld input[type=number], .fld select {
    width: 100%; height: 50px; border-radius: 12px; border: 1.5px solid color-mix(in srgb, var(--ink) 18%, transparent); background: #fff; padding: 0 14px; font: inherit; font-size: 15.5px; font-weight: 600; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.fld select { appearance: none; padding-right: 38px; cursor: pointer;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236E6470' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; }
.fld input::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); font-weight: 500; }
.fld input:focus, .fld select:focus { outline: none; border-color: var(--btn); box-shadow: 0 0 0 4px var(--accs); }
.fld.bad input, .fld.bad select { border-color: var(--btn); background-color: #fffafb; }
.err { font-size: 13px; font-weight: 700; color: var(--btn); }
.err:empty { display: none; }
.chk label { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; color: var(--muted); font-weight: 600; cursor: pointer; }
.chk input { width: 20px; height: 20px; margin-top: 0; flex: none; accent-color: var(--btn); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-size: 14px; font-weight: 700; color: var(--btn); }
.ok-state { text-align: center; padding: 34px 10px; }
.ok-state:focus { outline: none; }
.ok-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--secs); color: var(--secink); display: grid; place-items: center; margin: 0 auto 18px; }
.ok-state h3 { font-family: var(--ff-head); font-size: 30px; font-weight: 600; }
.ok-state p { color: var(--muted); font-size: 16px; line-height: 1.55; margin-top: 10px; }
@media (prefers-reduced-motion: no-preference) {
    .ok-state:not([hidden]) { animation: bs-pop .5s cubic-bezier(.2, .8, .2, 1.2); }
}
@keyframes bs-pop { from { opacity: 0; transform: scale(.94); } }

/* ---------- footer ---------- */
.ft { border-top: 1.5px dashed color-mix(in srgb, var(--ink) 20%, transparent); }
.fi { min-height: 120px; display: flex; align-items: center; gap: 48px; }
.ft nav { display: flex; gap: 28px; font-size: 14.5px; font-weight: 600; color: var(--muted); flex-wrap: wrap; }
.fr { margin-left: auto; text-align: right; font-size: 14.5px; font-weight: 700; }
.fr a { color: var(--btn); }
.fr .m { display: block; font-weight: 600; color: var(--muted); font-size: 13px; margin-top: 4px; }
.fl { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 0 0 28px; font-size: 13px; color: var(--muted); font-weight: 600; }
.fl a { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--muted) 40%, transparent); text-underline-offset: 3px; }

/* ---------- inner pages ---------- */
.page-msg { text-align: center; padding: 90px 0 120px; max-width: 640px; }
.page-msg h1 { font-size: clamp(32px, 4vw, 46px); }
.page-msg p { color: var(--muted); font-size: 18px; line-height: 1.55; margin: 16px 0 30px; }
.big-code { font-size: 80px; font-weight: 700; color: var(--btn); line-height: 1; transform: rotate(-3deg); }
.legal { max-width: 860px; padding: 40px 0 100px; }
.legal h1 { font-size: clamp(30px, 3.6vw, 42px); }
.legal h2 { font-family: var(--ff-body); font-size: 20px; font-weight: 800; letter-spacing: 0; margin: 34px 0 10px; }
.legal p, .legal li { font-size: 16px; line-height: 1.65; color: color-mix(in srgb, var(--ink) 88%, var(--muted)); }
.legal p + p { margin-top: 8px; }
.legal ul { padding-left: 22px; margin-top: 6px; }
.legal-meta { color: var(--muted) !important; margin-top: 8px; }
.ph { background: #FFE9A8; color: #6B4300; border-radius: 4px; padding: 0 4px; font-weight: 700; box-shadow: inset 0 -2px 0 #E8B04B; }
.tpl-warn { background: var(--secs); border: 1.5px dashed var(--sec); border-radius: 14px; padding: 14px 18px; font-size: 15px; line-height: 1.5; margin-bottom: 28px; color: var(--secink); }

/* =========================== responsive =========================== */
@media (max-width: 1279px) {
    .note { display: none; }
    .price { grid-template-columns: 1fr 1fr; }
    .pl { grid-column: 1 / -1; padding-top: 0; }
    .lead-in { grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: 40px; }
}
@media (max-width: 1239px) {
    .kl { display: none; }
    .ks { display: inline; }
    h1 { font-size: clamp(36px, 3.7vw, 54px); }
    .hero { min-height: 700px; }
    .steps { grid-template-columns: 1fr; gap: 64px; max-width: 900px; margin: 0 auto; }
    .step { display: grid; grid-template-columns: minmax(0, 1fr) 440px; column-gap: 40px; align-items: start; }
    .step .sn, .step > p { grid-column: 1; }
    .step .fig { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; }
    .step > p { min-height: 0; }
}
@media (max-width: 1100px) {
    .mainnav { gap: 20px; margin-left: 0; }
    .top { gap: 24px; }
    .faq { grid-template-columns: 1fr; gap: 24px; }
    .cc { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin: 0 auto; }
    .cc-params, .cc-ingr, .cc-res { grid-column: 1; grid-row: auto; }
    .cc-res { position: static; }
}
@media (max-width: 959px) {
    .top .mainnav, .top .in { display: none; }
    .burger { display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--ink); border-radius: 12px; }
    .top.open .mobnav { display: flex; }
    .mobnav { position: absolute; top: calc(100% + 6px); left: 0; right: 0; flex-direction: column; gap: 2px; padding: 12px; background: #fff; border-radius: 18px; box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 10%, transparent), 0 30px 50px -24px rgba(40, 25, 30, .45); }
    .mobnav a:not(.btn) { padding: 13px 12px; font-weight: 700; font-size: 16px; border-radius: 10px; }
    .mobnav a:not(.btn):hover { background: var(--accs); }
    .mobnav .btn { margin-top: 8px; height: 52px; }
    .hero { grid-template-columns: 1fr; min-height: 0; padding: 30px 0 40px; }
    h1 { font-size: clamp(30px, 5.6vw, 50px); }
    .hr { margin-top: 20px; }
    .cake { max-width: 560px; }
    .bens { grid-template-columns: 1fr; max-width: 640px; }
    .lead-in { grid-template-columns: 1fr; }
    .calc-how-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
    .calc-cta-in { flex-direction: column; align-items: flex-start; gap: 24px; }
}
@media (max-width: 760px) {
    .step { display: block; max-width: 420px; margin: 0 auto; }
    .step .fig { margin-top: 22px; }
    .price { grid-template-columns: minmax(0, 1fr); max-width: 480px; }
}
@media (max-width: 600px) {
    .wrap { width: auto; padding: 0 16px; }
    .top { height: 58px; gap: 12px; }
    .top .try { display: none; }
    .burger { width: 40px; height: 40px; margin-left: auto; }
    .mobnav { left: 16px; right: 16px; }
    .wm span { font-size: 24px; }
    .hero { padding: 0 16px 20px; }
    .kick { font-size: 12.5px; padding: 4px 12px 4px 4px; margin: 2px 0 14px; line-height: 1.3; gap: 8px; }
    .ks { display: none; }
    .kx { display: inline; }
    h1 { font-size: 30px; line-height: 1.14; letter-spacing: -.4px; }
    .sub { font-size: 15px; line-height: 1.5; margin-top: 12px; }
    .ctas { flex-direction: column; margin-top: 18px; gap: 8px; }
    .btn { width: 100%; height: 50px; font-size: 15.5px; }
    .trust { margin-top: 10px; font-size: 13px; justify-content: center; }
    .hr { margin: -14px -10px 0; }
    .cake { width: 100%; max-width: none; }
    .sh { margin-bottom: 36px; }
    .sh p { font-size: 16px; }
    .how, .shots, .lead { padding: 64px 0 72px; }
    .fig { height: 470px; }
    .paper { width: min(276px, 78%); }
    .appc { width: min(300px, 86%); }
    .comp { aspect-ratio: auto; }
    .browser { position: static; width: 100%; border-radius: 10px; }
    .browser .bar { height: 28px; padding: 0 10px; gap: 5px; }
    .browser .bar i { width: 8px; height: 8px; }
    .browser .url { height: 18px; font-size: 10px; margin-left: 8px; padding: 0 8px; }
    .phone { position: relative; left: auto; top: auto; width: 230px; margin: -40px 0 0 auto; padding: 8px; border-radius: 36px; }
    .phone img { border-radius: 29px; }
    .bens { padding: 64px 16px 24px; gap: 16px; }
    .ben { padding: 22px 22px 24px; }
    .price { padding: 48px 16px 72px; gap: 32px; }
    .pl h2 { font-size: 30px; }
    .calc { padding: 64px 0 72px; }
    .calc-page { padding: 20px 0 24px; }
    .calc .sh { margin-bottom: 28px; }
    .cc { gap: 16px; }
    .cc-card { padding: 22px 18px; border-radius: 20px; }
    .cc-row2 { gap: 12px 20px; }
    .cc-tier { padding: 12px 12px; }
    .cc-tg { grid-template-columns: 1fr 1fr; gap: 10px; }
    .cc-fill { grid-column: 1 / -1; }
    .cc-grid { grid-template-columns: 1fr; gap: 14px; }
    .cc-price { font-size: 44px; }
    .cc-actions { grid-template-columns: 1fr; }
    .cc-actions .btn { height: 48px; }
    .cc-ingr thead { display: none; }
    .cc-ingr .cc-table, .cc-ingr tbody, .cc-ingr tfoot { display: block; }
    .cc-ingr tfoot tr { display: flex; justify-content: space-between; gap: 12px; }
    .cc-ingr tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 4px 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
    .cc-ingr tbody th { grid-column: 1 / -1; padding: 0; border: 0; }
    .cc-ingr tbody td { padding: 0; border: 0; }
    .cc-ingr tbody td.q { text-align: left; color: var(--muted); }
    .cc-ingr tbody td.s { min-width: 64px; }
    .cc-ih { align-items: flex-start; }
    .calc-how { padding: 48px 16px 64px; }
    .calc-how-grid { gap: 16px; }
    .cc-base td, .cc-base thead th:not(:first-child) { padding-left: 10px; }
}
@media (max-width: 400px) {
    .pl h2 { font-size: 27px; }
    h2 { font-size: 28px; }
    .plan { padding: 26px 22px 24px; }
    .faq { padding: 8px 16px 72px; }
    .qa summary { font-size: 16.5px; padding: 18px 0; }
    .qa p { padding-right: 0; font-size: 15.5px; }
    .formcard { padding: 22px 18px; border-radius: 20px; }
    .grid2 { grid-template-columns: 1fr; }
    .lead-arr { display: none; }
    .fi { flex-wrap: wrap; min-height: 0; padding: 28px 16px 16px; gap: 16px; }
    .ft nav { gap: 10px 20px; }
    .fr { margin-left: 0; text-align: left; }
    .fl { padding: 0 16px 28px; }
    .legal { padding: 24px 16px 72px; }
    .page-msg { padding: 64px 16px 90px; }
}

/* ---------- Видео-обзор ---------- */
.vid { padding: 40px 0 100px; scroll-margin-top: 80px; }
.vid .sh { margin-bottom: 36px; }
.vid h2 em { color: var(--acc); }
.vid-f { margin: 0 auto; max-width: 1100px; }
.vid-v { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 24px; background: var(--secs); border: 1.5px solid var(--line); box-shadow: 0 24px 60px -28px rgba(46, 37, 48, .35); }
.vid-c { margin-top: 14px; text-align: center; font-size: 14px; color: var(--muted); }
@media (max-width: 640px) { .vid { padding: 24px 0 64px; } .vid-v { border-radius: 16px; } }
@media print { .vid { display: none; } }
