/* ===== Tokens ===== */
:root {
  --bg: #f3f4f9;
  --surface: #ffffff;
  --ink: #1d1b3a;
  --muted: #5f5c7d;
  --line: #d9d8e8;
  --accent: #3342f0;
  --accent-ink: #ffffff;
  --sun: #ffb21e;
  --sun-ink: #1d1b3a;
  --band: #1d1b3a;
  --band-ink: #f3f4f9;
  --error: #d1314b;

  --f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --f-body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gut: clamp(20px, 4vw, 48px);
  --r-frame: 16px;
  --r-ctl: 10px;
  --ease: cubic-bezier(.65, 0, .25, 1);
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #14132b;
  --surface: #1c1b3a;
  --ink: #eceaf9;
  --muted: #a3a0c4;
  --line: #312f58;
  --accent: #8e98ff;
  --accent-ink: #14132b;
  --sun: #ffc04a;
  --sun-ink: #14132b;
  --band: #ffc04a;
  --band-ink: #14132b;
  --error: #ff7a8f;
  color-scheme: dark;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s, color .3s;
}
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; }
img, svg { display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border: 0; border-radius: var(--r-ctl);
  background: var(--accent); color: var(--accent-ink);
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform .15s, background-color .2s, box-shadow .2s;
}
.btn:hover { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.btn:active { transform: translateY(1px); }
.btn--sun { background: var(--sun); color: var(--sun-ink); }
.btn--sun:hover { box-shadow: 0 0 0 4px color-mix(in srgb, var(--sun) 30%, transparent); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-weight: 600; font-size: 19px; letter-spacing: -0.03em; }
.logo-mark { width: 26px; height: 26px; }
.logo-mark .m1 { fill: var(--ink); }
.logo-mark .m2 { fill: var(--accent); }
.logo-mark .m3 { fill: var(--sun); }
.nav { display: flex; gap: 22px; margin-right: auto; }
.nav a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); }
.controls { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: flex; padding: 3px; border-radius: 9px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.lang-switch button {
  border: 0; background: none; cursor: pointer; padding: 5px 9px; border-radius: 7px;
  font-size: 13px; font-weight: 600; color: var(--muted);
}
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.theme-toggle {
  width: 38px; height: 38px; display: grid; place-items: center; cursor: pointer;
  border: 0; border-radius: 9px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
}
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.theme-toggle .moon { display: none; }
[data-theme="dark"] .theme-toggle .sun-i { display: none; }
[data-theme="dark"] .theme-toggle .moon { display: block; }
.header-cta { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* ===== Hero ===== */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.hero .wrap > div { min-width: 0; }
.hero h1 { font-size: clamp(30px, 3.6vw, 48px); font-weight: 700; line-height: 1.08; letter-spacing: -0.035em; }
.hero-lead { margin-top: 22px; max-width: 34em; color: var(--muted); font-size: 18px; }

.type-list { list-style: none; margin: 36px 0 0; padding: 0; border-top: 1px solid var(--line); }
.type-list li { border-bottom: 1px solid var(--line); }
.type-tab {
  width: 100%; display: flex; align-items: baseline; gap: 14px;
  padding: 15px 4px; border: 0; background: none; cursor: pointer; text-align: left;
  font-family: var(--f-display); font-weight: 500; font-size: clamp(17px, 1.6vw, 21px); letter-spacing: -0.02em;
  color: var(--muted); transition: color .2s;
}
.type-tab::before {
  content: ""; flex: none; width: 12px; height: 12px; border-radius: 3px; align-self: center;
  background: var(--line); transition: background-color .25s, transform .25s var(--ease);
}
.type-tab .tt-term { margin-left: auto; font-family: var(--f-body); font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.type-tab:hover { color: var(--ink); }
.type-tab[aria-selected="true"] { color: var(--ink); }
.type-tab[aria-selected="true"]::before { background: var(--sun); transform: rotate(45deg); }

/* Browser frame */
.frame { border-radius: var(--r-frame); background: var(--surface); box-shadow: 0 0 0 1.5px var(--line), 0 30px 60px -30px color-mix(in srgb, var(--ink) 35%, transparent); overflow: hidden; }
.frame-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1.5px solid var(--line); }
.frame-url { flex: 1; padding: 6px 12px; border-radius: 8px; background: var(--bg); font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame-url b { color: var(--ink); font-weight: 600; }
.frame-dev { display: flex; gap: 4px; }
.frame-dev span { width: 22px; height: 6px; border-radius: 3px; background: var(--line); }

.wf { position: relative; aspect-ratio: 16 / 11; }
.wf .b {
  position: absolute; border-radius: 6px;
  transition: left .7s var(--ease), top .7s var(--ease), width .7s var(--ease), height .7s var(--ease), background-color .5s, opacity .4s, border-color .5s;
}
.b.k-bar  { background: var(--line); }
.b.k-ink  { background: var(--ink); }
.b.k-soft { background: color-mix(in srgb, var(--muted) 32%, transparent); }
.b.k-acc  { background: var(--accent); }
.b.k-img  { background: var(--sun) repeating-linear-gradient(135deg, transparent 0 9px, color-mix(in srgb, var(--sun-ink) 10%, transparent) 9px 11px); }
.b.k-card { background: transparent; border: 1.5px solid var(--line); }
.b.k-off  { opacity: 0; }

.type-info { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px 36px; margin-top: 28px; }
.type-info h2 { font-size: clamp(24px, 2.4vw, 32px); grid-column: 1 / -1; }
.type-desc { color: var(--muted); }
.type-inc { list-style: none; margin: 0; padding: 0; }
.type-inc li { position: relative; padding-left: 22px; margin-bottom: 6px; font-size: 15.5px; }
.type-inc li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px; border-radius: 2px; background: var(--accent); }
.type-meta { display: flex; gap: 36px; margin: 0; grid-column: 1 / -1; align-items: end; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--line); }
.type-meta dt { font-size: 13.5px; color: var(--muted); }
.type-meta dd { margin: 2px 0 0; font-family: var(--f-display); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.type-meta .btn { margin-left: auto; }

/* ===== Sections ===== */
.section { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(32px, 5vw, 72px); margin-bottom: clamp(32px, 4vw, 56px); align-items: end; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 46px); }
.section-head p { color: var(--muted); max-width: 36em; }

/* Catalog table */
.catalog { width: 100%; border-collapse: collapse; }
.catalog th { text-align: left; font-size: 14px; font-weight: 500; color: var(--muted); padding: 0 16px 12px 0; border-bottom: 1.5px solid var(--ink); }
.catalog td { padding: 22px 16px 22px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.catalog .c-name { display: flex; align-items: center; gap: 16px; font-family: var(--f-display); font-weight: 500; font-size: 19px; letter-spacing: -0.02em; }
.mini { flex: none; width: 64px; aspect-ratio: 16 / 11; position: relative; border-radius: 6px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.mini .b { position: absolute; border-radius: 1.5px; }
.mini .b.k-card { border-width: 1px; }
.catalog .c-for { color: var(--muted); }
.catalog .c-price { font-weight: 600; white-space: nowrap; }
.catalog .c-term { white-space: nowrap; }
.catalog a.row-link { font-weight: 600; color: var(--accent); text-decoration: none; white-space: nowrap; }
.catalog a.row-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Included */
.inc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 4vw, 56px); list-style: none; margin: 0; padding: 0; }
.inc-grid li { padding-top: 18px; border-top: 1.5px solid var(--ink); }
.inc-grid h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.inc-grid p { color: var(--muted); font-size: 15.5px; }

/* Process: сверху вниз, стрелки между этапами */
.steps { list-style: none; margin: 0 0 0 auto; padding: 0; max-width: 820px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; min-height: 52px; padding: 10px 0 64px 80px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(s); position: absolute; top: 0; left: 0;
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%;
  font-family: var(--f-display); font-weight: 600; font-size: 20px;
  background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink);
}
.steps li:first-child::before { background: var(--sun); color: var(--sun-ink); box-shadow: none; }
/* стрелка вниз к следующему этапу */
.steps li::after {
  content: ""; position: absolute; left: 19px; top: 62px; bottom: 10px; width: 14px;
  background: var(--muted);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6.5L13 1' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") bottom center / 14px 9px no-repeat, linear-gradient(#000, #000) top center / 2px calc(100% - 2px) no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6.5L13 1' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") bottom center / 14px 9px no-repeat, linear-gradient(#000, #000) top center / 2px calc(100% - 2px) no-repeat;
}
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 20px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 16px; max-width: 36em; }

/* FAQ */
.faq-list { max-width: 820px; margin-left: auto; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; gap: 20px; justify-content: space-between; align-items: center; padding: 22px 0; font-weight: 600; font-size: 18px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 100% no-repeat; transition: transform .25s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 40px 24px 0; color: var(--muted); max-width: 40em; }

/* CTA band */
.cta-band { background: var(--band); color: var(--band-ink); padding: clamp(56px, 8vw, 96px) 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: end; justify-content: space-between; }
.cta-band h2 { font-size: clamp(30px, 4.4vw, 56px); max-width: 14em; font-weight: 700; letter-spacing: -0.035em; }
.cta-band p { margin-top: 14px; opacity: .8; }
[data-theme="dark"] .cta-band .btn--sun { background: var(--band-ink); color: var(--sun); }

.site-footer { padding: 32px 0; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ===== Order page ===== */
.order-hero { padding: clamp(40px, 6vw, 72px) 0 32px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; margin-bottom: 22px; }
.back-link:hover { color: var(--ink); }
.order-hero h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 700; letter-spacing: -0.035em; }
.order-hero p { margin-top: 16px; color: var(--muted); max-width: 40em; font-size: 18px; }

.order-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; padding-bottom: 96px; }
.order-form fieldset { border: 0; margin: 0; padding: 32px 0; border-top: 1px solid var(--line); min-width: 0; }
.order-form legend { float: left; width: 100%; display: flex; align-items: baseline; gap: 14px; padding: 0; margin-bottom: 20px; font-family: var(--f-display); font-weight: 600; font-size: 21px; letter-spacing: -0.02em; }
.order-form legend .n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 14px; box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-3px); }
.order-form fieldset.done legend .n { background: var(--sun); color: var(--sun-ink); box-shadow: none; }
.order-form legend + * { clear: both; }
.hint { color: var(--muted); font-size: 14.5px; margin: -12px 0 16px; clear: both; }

/* type picker */
.type-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 12px; }
.tp input, .chip input { position: absolute; opacity: 0; pointer-events: none; }
.tp label {
  display: flex; flex-direction: column; gap: 10px; height: 100%; cursor: pointer;
  padding: 12px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line);
  transition: box-shadow .2s;
}
.tp .mini { width: 100%; box-shadow: none; background: var(--bg); }
.tp-name { font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.tp-price { font-size: 13.5px; color: var(--muted); margin-top: -6px; }
.tp label:hover { box-shadow: inset 0 0 0 1.5px var(--muted); }
.tp input:checked + label { box-shadow: inset 0 0 0 2.5px var(--accent); }
.tp input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 3px; }
.tp--unknown .mini { display: grid; place-items: center; font-family: var(--f-display); font-size: 26px; color: var(--muted); }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip label {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer; min-height: 42px;
  padding: 8px 15px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line);
  font-size: 15px; font-weight: 500; transition: box-shadow .2s, background-color .2s, color .2s;
}
.chip label:hover { box-shadow: inset 0 0 0 1.5px var(--muted); }
.chip input[type="checkbox"] + label::before { content: ""; width: 14px; height: 14px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--muted); transition: all .2s; }
.chip input:checked + label { background: var(--ink); color: var(--bg); box-shadow: none; }
.chip input[type="checkbox"]:checked + label::before { background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.2l2.6 2.6L11 4.4' fill='none' stroke='%231d1b3a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; box-shadow: none; }
.chip input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 3px; }

/* fields */
.field { display: flex; flex-direction: column; gap: 7px; margin-top: 18px; }
.field > span { font-size: 15px; font-weight: 500; }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border: 0; border-radius: var(--r-ctl);
  background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }
.field input:hover, .field textarea:hover { box-shadow: inset 0 0 0 1.5px var(--muted); }
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field.invalid input, .field.invalid textarea { box-shadow: inset 0 0 0 2px var(--error); }
.err { color: var(--error); font-size: 14px; font-weight: 500; min-height: 0; }
.err:empty { display: none; }
fieldset > .err { display: block; margin-top: 12px; }
fieldset > .err:empty { display: none; }
.sub-label { font-size: 15px; font-weight: 500; margin: 22px 0 10px; }
.hp { position: absolute; left: -5000px; }

.submit-row { padding-top: 32px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.submit-row .btn { min-height: 56px; padding: 0 32px; font-size: 17px; }
.submit-row small { color: var(--muted); font-size: 13.5px; max-width: 28em; }
.form-error { width: 100%; padding: 14px 16px; border-radius: var(--r-ctl); background: color-mix(in srgb, var(--error) 12%, transparent); color: var(--error); font-weight: 500; }
.form-error a { color: inherit; }

/* summary */
.summary { position: sticky; top: 92px; padding: 24px; border-radius: var(--r-frame); background: var(--surface); box-shadow: 0 0 0 1.5px var(--line); }
.summary h2 { font-size: 19px; margin-bottom: 16px; }
.summary .mini { width: 100%; margin-bottom: 18px; box-shadow: none; background: var(--bg); }
.summary dl { margin: 0; display: grid; gap: 12px; }
.summary dt { font-size: 13px; color: var(--muted); }
.summary dd { margin: 1px 0 0; font-weight: 600; font-size: 15px; }
.summary dd.empty { color: var(--muted); font-weight: 400; }
.summary .price { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.summary .price dd { font-family: var(--f-display); font-size: 22px; letter-spacing: -0.02em; }

/* success */
.success { padding: 56px 0 120px; max-width: 640px; }
.success-mark { width: 72px; height: 72px; border-radius: 18px; background: var(--sun); display: grid; place-items: center; margin-bottom: 28px; }
.success-mark svg { width: 34px; height: 34px; fill: none; stroke: var(--sun-ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.success h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; }
.success p { margin-top: 14px; color: var(--muted); font-size: 18px; }
.success .actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.success:not([hidden]) .success-mark { animation: pop .5s var(--ease); }
@keyframes pop { from { transform: scale(.4) rotate(-20deg); opacity: 0; } to { transform: none; opacity: 1; } }

/* ===== Responsive ===== */
@media (max-width: 1020px) {
  .nav { display: none; }
  .controls { margin-left: auto; }
  .hero .wrap, .section-head { grid-template-columns: 1fr; }
  .order-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .header-cta { display: none; }
  .site-header .wrap { gap: 12px; }
  .logo { font-size: 17px; }
  .type-list { display: flex; overflow-x: auto; gap: 8px; border: 0; margin: 28px calc(var(--gut) * -1) 0; padding: 0 var(--gut) 4px; scrollbar-width: none; }
  .type-list li { border: 0; flex: none; }
  .type-tab { padding: 9px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 15px; }
  .type-tab .tt-term { display: none; }
  .type-tab::before { display: none; }
  .type-tab[aria-selected="true"] { background: var(--ink); color: var(--bg); box-shadow: none; }
  .type-info { grid-template-columns: 1fr; }
  .type-meta .btn { margin-left: 0; width: 100%; }
  .catalog thead { display: none; }
  .catalog tr { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .catalog td { padding: 0; border: 0; }
  .catalog .c-name { grid-column: 1 / -1; }
  .catalog .c-for { grid-column: 1 / -1; }
  .inc-grid { grid-template-columns: 1fr; gap: 28px; }
  .steps li { padding-left: 68px; padding-bottom: 52px; }
  .field-row { grid-template-columns: 1fr; }
  .type-pick { grid-template-columns: 1fr 1fr; }
  .submit-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ===== Живое превью сайтов (холст 640×440, масштабируется) ===== */
.pv-stage { position: relative; aspect-ratio: 640 / 440; overflow: hidden; background: #fff; }
.pv-canvas { position: absolute; left: 0; top: 0; width: 640px; height: 440px; transform: scale(var(--s, 1)); transform-origin: 0 0; }
.pv-scene { position: absolute; inset: 0; opacity: 0; transform: scale(.985); transition: opacity .5s ease, transform .6s var(--ease); }
.pv-scene.on { opacity: 1; transform: none; }
.pv-site { position: absolute; inset: 0; overflow: hidden; font: 400 13px/1.35 var(--f-body); color: #1a1a1a; letter-spacing: 0; }
.pv-site * { box-sizing: border-box; }
.pv-site button { font: inherit; border: 0; cursor: default; transition: transform .15s, background-color .3s; }
.pv-site h4, .pv-site h5 { margin: 0; letter-spacing: -0.01em; }
.pv-site svg { display: block; width: 100%; height: 100%; }
.pv-press { transform: scale(.93) !important; }

/* курсор */
.pv-cur { position: absolute; left: 0; top: 0; width: 22px !important; height: 22px !important; z-index: 30; transform: translate(560px, 420px); transition: transform 1s var(--ease); filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); }
.pv-cur.click { animation: pvclick .26s; }
@keyframes pvclick { 50% { scale: .8; } }

/* подписи-пояснения */
.pv-ann { position: absolute; z-index: 20; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s var(--ease); pointer-events: none; }
.pv-ann.show { opacity: 1; transform: none; }
.pv-ann span { position: relative; display: block; white-space: nowrap; padding: 4px 10px; border-radius: 7px; background: #ffb21e; color: #1d1b3a; font: 600 12px/1.3 var(--f-body); box-shadow: 0 4px 12px rgba(29,27,58,.25); }
.pv-ann span::after { content: ""; position: absolute; width: 8px; height: 8px; background: #ffb21e; transform: rotate(45deg); }
.pv-ann--down span::after { left: 14px; bottom: -4px; }
.pv-ann--up span::after { left: 14px; top: -4px; }
.pv-ann--left span::after { left: -4px; top: calc(50% - 4px); }
.pv-ann--right span::after { right: -4px; top: calc(50% - 4px); }

.pv-toast { position: absolute; z-index: 25; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; font-weight: 600; font-size: 12.5px; opacity: 0; transform: translateY(-10px); transition: opacity .35s, transform .35s var(--ease); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.pv-toast.show { opacity: 1; transform: none; }

/* 1. Лендинг — кофейня */
.pv-landing { background: #fbf5ec; color: #3a2418; }
.pvl-nav { height: 48px; display: flex; align-items: center; gap: 22px; padding: 0 28px; border-bottom: 1px solid #eadfcf; font-size: 12.5px; color: #7a5a48; }
.pvl-nav b { margin-right: auto; color: #3a2418; letter-spacing: .14em; font-size: 14px; }
.pv-landing h4 { position: absolute; left: 28px; top: 92px; width: 310px; font: 700 29px/1.12 Georgia, "Times New Roman", serif; color: #3a2418; }
.pv-landing p { position: absolute; left: 28px; top: 170px; width: 290px; color: #7a5a48; font-size: 13px; }
.pvl-btn { position: absolute; left: 28px; top: 226px; padding: 11px 20px; border-radius: 999px; background: #3a2418; color: #fbf5ec; font-weight: 600 !important; }
.pvl-img { position: absolute; left: 362px; top: 72px; width: 250px; height: 196px; border-radius: 20px; background: radial-gradient(circle at 30% 30%, #e9a66b, #c4703a); padding: 22px 30px 10px; }
.pv-steam path { animation: pvsteam 2.4s ease-in-out infinite; }
.pv-steam path:nth-child(2) { animation-delay: .4s; } .pv-steam path:nth-child(3) { animation-delay: .8s; }
@keyframes pvsteam { 0%,100% { opacity: .2; transform: translateY(4px); } 50% { opacity: .9; transform: translateY(-4px); } }
.pvl-feats { position: absolute; left: 28px; right: 28px; top: 318px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pvl-feats div { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #f3e7d7; font-weight: 600; font-size: 12px; }
.pvl-feats i { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-style: normal; font-size: 13px; }
.pvl-toast { right: 18px; top: 60px; background: #fff; color: #1a1a1a; }
.pv-toast .tg { width: 20px; height: 20px; border-radius: 50%; background: #2aabee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 9.6l9.6-3.8c.5-.2.9.1.8.7l-1.6 7.6c-.1.5-.5.7-.9.4l-2.4-1.8-1.2 1.1c-.1.1-.3.2-.5.2l.2-2.5 4.5-4.1c.2-.2 0-.3-.3-.1L7.1 10.8 4.7 10c-.5-.1-.5-.5-.2-.4z' fill='%23fff'/%3E%3C/svg%3E") center/100%; }

/* 2. Корпоративный — логистика */
.pv-corp { background: #fff; color: #0e2340; }
.pvc-nav { position: relative; z-index: 2; height: 48px; display: flex; align-items: center; gap: 20px; padding: 0 28px; background: #0e2340; color: rgba(255,255,255,.7); font-size: 12.5px; }
.pvc-nav b { margin-right: auto; color: #fff; letter-spacing: .12em; }
.pvc-view { position: absolute; top: 48px; left: 0; right: 0; bottom: 0; overflow: hidden; }
.pvc-scroll { position: relative; transition: transform 1.6s var(--ease); }
.pvc-scroll.down { transform: translateY(-210px); }
.pvc-banner { position: relative; height: 196px; background: linear-gradient(120deg, #0e2340 30%, #163a66); color: #fff; }
.pvc-banner svg { position: absolute; inset: 0; }
.pvc-banner h4 { position: absolute; left: 28px; top: 34px; width: 330px; font: 600 25px/1.15 var(--f-display); letter-spacing: -0.02em; }
.pvc-banner button { position: absolute; left: 28px; top: 132px; padding: 10px 18px; border-radius: 6px; background: #19b3a6; color: #fff; font-weight: 600; }
.pvc-stats { display: grid; grid-template-columns: repeat(3, 1fr); padding: 22px 28px; border-bottom: 1px solid #e3e8ef; }
.pvc-stats div { font-size: 12px; color: #5b6b82; }
.pvc-stats b { display: block; font: 600 26px/1.1 var(--f-display); color: #0e2340; }
.pv-corp h5 { padding: 22px 28px 12px; font-size: 17px; }
.pvc-svc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 0 28px; }
.pvc-svc div { padding: 14px 12px; border-radius: 10px; background: #f2f6fa; font-weight: 600; font-size: 12px; }
.pvc-svc i { display: block; width: 24px; height: 24px; border-radius: 6px; background: #19b3a6; margin-bottom: 18px; }
.pvc-cta { margin: 24px 28px; padding: 22px; border-radius: 12px; background: #19b3a6; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 600; font-size: 15px; }
.pvc-cta button { padding: 9px 16px; border-radius: 6px; background: #fff; color: #0e2340; font-weight: 600; }

/* 3. Магазин — кроссовки */
.pv-shop { background: #fff; }
.pvs-nav { height: 48px; display: flex; align-items: center; gap: 18px; padding: 0 20px; border-bottom: 1px solid #eee; }
.pvs-nav b { font-weight: 800; letter-spacing: .08em; font-size: 15px; }
.pvs-search { margin-left: 52px; width: 250px; padding: 7px 12px; border-radius: 8px; background: #f3f3f5; color: #999; font-size: 12px; }
.pvs-cart { position: relative; margin-left: auto; width: 26px; height: 26px; }
.pvs-badge { position: absolute; right: -8px; top: -6px; min-width: 17px; height: 17px; border-radius: 9px; background: #bbb; color: #fff; font: 700 10px/17px var(--f-body); text-align: center; font-style: normal; transition: background-color .3s; }
.pvs-badge.on { background: #ff5a3c; }
.pvs-badge.bump { animation: pvbump .4s var(--ease); }
@keyframes pvbump { 40% { transform: scale(1.5); } }
.pvs-side { position: absolute; left: 20px; top: 64px; width: 128px; display: flex; flex-direction: column; gap: 6px; font-size: 11.5px; }
.pvs-side b { font-size: 14px; margin-bottom: 4px; }
.pvs-side small { color: #888; font-size: 11px; margin-top: 8px; }
.pvs-sizes { display: flex; gap: 4px; }
.pvs-sizes span { flex: 1; text-align: center; padding: 4px 0; border-radius: 5px; box-shadow: inset 0 0 0 1px #ddd; font-weight: 600; }
.pvs-sizes .on { background: #111; color: #fff; box-shadow: none; }
.pvs-colors { display: flex; gap: 6px; }
.pvs-colors i { width: 18px; height: 18px; border-radius: 50%; }
.pvs-range { height: 4px; border-radius: 2px; background: #eee; position: relative; margin-top: 6px; }
.pvs-range i { position: absolute; left: 20%; right: 30%; top: 0; bottom: 0; background: #111; border-radius: 2px; }
.pvs-grid { position: absolute; left: 166px; right: 20px; top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pvs-card { display: flex; flex-direction: column; gap: 2px; font-size: 12px; }
.pvs-card svg { height: 92px; border-radius: 10px; margin-bottom: 4px; }
.pvs-card span { color: #555; }
.pvs-card button { margin-top: 5px; padding: 5px 0; border-radius: 6px; background: #111; color: #fff; font-weight: 600; font-size: 11.5px; }
.pvs-toast { right: 20px; top: 56px; background: #111; color: #fff; }

/* 4. Портфолио — фотограф */
.pv-port { background: #121212; color: #f2f2f2; }
.pvp-nav { height: 48px; display: flex; align-items: center; gap: 20px; padding: 0 28px; font-size: 12.5px; color: #aaa; }
.pvp-nav b { margin-right: auto; color: #fff; font-size: 14px; }
.pvp-nav button { padding: 6px 14px; border-radius: 999px; background: transparent; color: #fff; box-shadow: inset 0 0 0 1px #fff; font-weight: 600; }
.pv-port h4 { position: absolute; left: 28px; top: 68px; width: 440px; font: 300 26px/1.15 var(--f-body); letter-spacing: -0.02em; }
.pvp-grid { position: absolute; left: 28px; right: 28px; top: 140px; height: 290px; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(12, 1fr); gap: 10px; }
.pvp-ph { border-radius: 8px; overflow: hidden; transition: transform .2s; }
.pvp-ph1 { grid-row: 1 / 8; } .pvp-ph4 { grid-row: 8 / 13; }
.pvp-ph2 { grid-row: 1 / 5; } .pvp-ph5 { grid-row: 5 / 13; grid-column: 2; }
.pvp-ph3 { grid-row: 1 / 7; grid-column: 3; } .pvp-ph6 { grid-row: 7 / 13; grid-column: 3; }
.pvp-box { position: absolute; inset: 0; z-index: 15; background: rgba(0,0,0,.86); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; opacity: 0; pointer-events: none; transition: opacity .35s; color: #ddd; font-size: 12.5px; }
.pvp-big { width: 400px; height: 270px; border-radius: 10px; overflow: hidden; transform: scale(.6); transition: transform .45s var(--ease); }
.pvp-box.open { opacity: 1; }
.pvp-box.open .pvp-big { transform: none; }
.pvp-box .pv-ann { opacity: 0; }
.pvp-box.open .pv-ann.show { opacity: 1; }

/* 5. Блог */
.pv-blog { background: #fafaf6; color: #1e2a24; }
.pvb-nav { height: 48px; display: flex; align-items: center; gap: 20px; padding: 0 28px; border-bottom: 1px solid #e6e6dc; font-size: 12.5px; color: #66705f; }
.pvb-nav b { margin-right: auto; font: 700 18px Georgia, serif; color: #2f6b4f; }
.pvb-main { position: absolute; left: 28px; top: 62px; width: 382px; display: flex; flex-direction: column; }
.pvb-hero { height: 140px; border-radius: 12px; overflow: hidden; }
.pvb-main em { align-self: flex-start; margin-top: 10px; padding: 2px 9px; border-radius: 999px; background: #2f6b4f; color: #fff; font-style: normal; font-size: 11px; font-weight: 600; }
.pvb-main h4 { margin-top: 6px; font: 700 17px/1.25 Georgia, serif; }
.pvb-main > small { color: #8a8f84; font-size: 11px; margin-top: 4px; }
.pvb-row { display: flex; gap: 12px; align-items: center; margin-top: 12px; }
.pvb-th { flex: none; width: 62px; height: 46px; border-radius: 8px; overflow: hidden; }
.pvb-row b { display: block; font-size: 12.5px; }
.pvb-row small { color: #8a8f84; font-size: 11px; }
.pvb-side { position: absolute; left: 430px; right: 28px; top: 62px; display: flex; flex-direction: column; gap: 12px; }
.pvb-cats { padding: 14px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px #e6e6dc; display: flex; flex-direction: column; gap: 6px; font-size: 12px; }
.pvb-cats b { font-size: 13px; margin-bottom: 2px; }
.pvb-cats span { display: flex; justify-content: space-between; }
.pvb-cats i { font-style: normal; color: #8a8f84; }
.pvb-sub { padding: 14px; border-radius: 12px; background: #2f6b4f; color: #fff; display: flex; flex-direction: column; gap: 8px; }
.pvb-sub b { font-size: 13px; }
.pvb-input { height: 28px; border-radius: 6px; background: #fff; color: #222; padding: 0 9px; display: flex; align-items: center; font-size: 12px; }
.pvb-caret { width: 1.5px; height: 14px; background: #222; margin-left: 1px; animation: pvcaret 1s steps(1) infinite; }
@keyframes pvcaret { 50% { opacity: 0; } }
.pvb-sub button { height: 28px; border-radius: 6px; background: #12261c; color: #fff; font-weight: 600; font-size: 12px; }
.pvb-sub button.done { background: #ffd166; color: #12261c; }

/* 6. Веб-сервис — кабинет записи */
.pv-app { background: #f4f5fb; color: #1f1b3d; }
.pvw-side { position: absolute; left: 0; top: 0; bottom: 0; width: 130px; background: #1f1b3d; padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; color: #b3aed6; font-size: 12px; }
.pvw-side b { color: #fff; font-size: 15px; margin: 0 8px 18px; }
.pvw-side span { padding: 7px 8px; border-radius: 7px; }
.pvw-side .on { background: #6c4cf5; color: #fff; }
.pvw-top { position: absolute; left: 150px; right: 20px; top: 16px; display: flex; justify-content: space-between; align-items: center; }
.pvw-top b { font-size: 16px; }
.pvw-top i { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #ffb2a1, #6c4cf5); }
.pvw-kpis { position: absolute; left: 150px; right: 20px; top: 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pvw-kpis div { padding: 11px 14px; border-radius: 12px; background: #fff; box-shadow: 0 1px 0 #e4e3f0; }
.pvw-kpis small { display: block; color: #85809f; font-size: 11px; }
.pvw-kpis b { font-size: 21px; }
.pvw-kpis .acc { background: #6c4cf5; color: #fff; } .pvw-kpis .acc small { color: #d8d0ff; }
.pvw-chart, .pvw-list { position: absolute; top: 140px; bottom: 20px; padding: 12px 14px; border-radius: 12px; background: #fff; box-shadow: 0 1px 0 #e4e3f0; }
.pvw-chart { left: 150px; width: 250px; display: flex; flex-direction: column; }
.pvw-chart > small, .pvw-list > small { color: #85809f; font-size: 11px; font-weight: 600; }
.pvw-bars { flex: 1; display: flex; align-items: flex-end; gap: 9px; padding-top: 14px; }
.pvw-bars div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 5px; font-size: 10px; color: #85809f; }
.pvw-bars i { width: 100%; height: 0; border-radius: 5px 5px 2px 2px; background: #cfc5ff; transition: height .9s var(--ease); }
.pvw-bars div:nth-child(5) i { background: #6c4cf5; }
.pvw-bars.grow i { height: var(--h); }
.pvw-bars div:nth-child(2) i { transition-delay: .06s; } .pvw-bars div:nth-child(3) i { transition-delay: .12s; } .pvw-bars div:nth-child(4) i { transition-delay: .18s; }
.pvw-bars div:nth-child(5) i { transition-delay: .24s; } .pvw-bars div:nth-child(6) i { transition-delay: .3s; } .pvw-bars div:nth-child(7) i { transition-delay: .36s; }
.pvw-list { left: 410px; right: 20px; display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.pvw-row { display: grid; grid-template-columns: 26px 1fr auto; grid-template-rows: auto auto; column-gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid #f0eff7; font-size: 11.5px; }
.pvw-row i { grid-row: 1 / 3; width: 26px; height: 26px; border-radius: 50%; background: #ece8ff; color: #6c4cf5; display: grid; place-items: center; font-style: normal; font-weight: 700; }
.pvw-row span { font-weight: 600; color: #6c4cf5; }
.pvw-row small { grid-column: 2 / 4; color: #85809f; font-size: 10.5px; }
.pvw-new { position: relative; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s; }
.pvw-new.show { max-height: 60px; opacity: 1; }
.pvw-new .pvw-row { background: #fff7e0; border-radius: 8px; padding: 6px; border: 0; }
.pvw-new em { position: absolute; right: 6px; bottom: 6px; font-style: normal; font-size: 9.5px; font-weight: 700; color: #b07800; }

/* название muroshnuk в мини-сайтах — одним стилем */
.pvl-nav b, .pvc-nav b, .pvs-nav b, .pvp-nav b, .pvb-nav b, .pvw-side b { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.03em; font-size: 15px; }

/* ссылка на Telegram */
.tg-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; text-decoration: none; }
.tg-link svg { width: 18px; height: 18px; fill: #2aabee; }
.tg-link:hover { color: var(--accent); }
.tg-direct { width: 100%; color: var(--muted); font-size: 15px; }
.tg-direct a { color: var(--accent); font-weight: 600; text-decoration: none; }
.tg-direct a:hover { text-decoration: underline; text-underline-offset: 3px; }
