/* FinistAnalyst — персональные сборки
   Палитра и типографика выведены из интерфейса программы:
   тёплая бумага, терракотовый акцент, доход — зелёный, расход — терракота. */

:root {
  --paper: #F7F4EE;
  --paper-2: #ECE8DF;
  --card: #FFFDF9;
  --ink: #1F2933;
  --ink-2: #46525E;
  --muted: #6B7682;
  --line: #DAD6CC;
  --line-strong: #C4BFB4;
  --copper: #A65A3A;
  --copper-dark: #7E4229;
  --copper-soft: #F0DFD4;
  --forest: #2F6B5E;
  --forest-soft: #E6EFEA;
  --rust: #A34A3A;
  --rust-soft: #F4E0DB;
  --deep: #1E2733;
  --deep-2: #26313F;
  --on-deep: #F3EFE7;
  --on-deep-muted: #C4BDB1;

  --sans: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --display: "Segoe UI Variable Display", "Segoe UI Semibold", "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --mono: "Cascadia Mono", Consolas, "SFMono-Regular", ui-monospace, monospace;

  --shell: 1240px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 22px 54px -34px rgba(30, 39, 51, .55);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--copper-dark); text-underline-offset: 3px; }
a:hover { color: var(--copper); }
button, input, select, textarea { font: inherit; }
button { color: inherit; }

::selection { background: var(--copper-soft); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

[hidden] { display: none !important; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 28px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--paper); }

/* --- utility bar ------------------------------------------------------- */
.utility {
  background: var(--deep);
  color: #C4BDB1;
  font-size: 11.5px;
  letter-spacing: .03em;
}
.utility__in {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  flex-wrap: wrap;
}
.utility__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #6E6152;
}
.utility__right {
  margin-left: auto;
  color: #8F8069;
}

/* --- header ------------------------------------------------------------ */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  background: rgba(245, 241, 232, .97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.site-head__in {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  flex: none;
}
.brand:hover { color: var(--ink); }
.brand img {
  width: 40px;
  height: 40px;
  box-shadow: 0 1px 2px rgba(30, 39, 51, .18);
  border-radius: 50%;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -.02em;
}
.brand__text small {
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.7vw, 26px);
}
.nav > a:not(.btn) {
  position: relative;
  font-size: 13.5px;
  color: var(--ink-2);
  text-decoration: none;
  padding: 8px 0;
  white-space: nowrap;
}
.nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}
.nav > a:not(.btn):hover { color: var(--ink); }
.nav > a:not(.btn):hover::after,
.nav > a[aria-current="true"]::after { transform: scaleX(1); }
.nav > a[aria-current="true"] { color: var(--ink); }

.nav__cta { margin-left: 4px; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.nav-toggle__bars { display: inline-grid; gap: 4px; width: 16px; }
.nav-toggle__bars i {
  display: block;
  height: 1.5px;
  background: var(--ink);
  transition: transform .18s ease, opacity .18s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* --- buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--copper);
  border-color: var(--copper);
  color: #fff;
}
.btn--primary:hover { background: var(--copper-dark); border-color: var(--copper-dark); color: #fff; }
.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn--ghost:hover { background: var(--card); border-color: var(--ink-2); color: var(--ink); }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: 13.5px; border-radius: 9px; }
.btn--block { width: 100%; }

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--copper-dark);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}
.link-btn .icon { width: 15px; height: 15px; transition: transform .18s ease; }
.link-btn:hover .icon { transform: translateX(3px); }

/* --- hero -------------------------------------------------------------- */
.hero { padding: clamp(44px, 6vw, 84px) 0 0; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
  gap: clamp(28px, 4.5vw, 60px);
  align-items: center;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 16px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--copper-dark);
}
.kicker span {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0;
  color: var(--copper);
}
.kicker::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--line-strong);
}

h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.5rem, 1.35rem + 3.5vw, 4.35rem);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -.038em;
  text-wrap: balance;
}
.hero__accent {
  display: block;
  color: var(--copper);
}
.hero__lead {
  max-width: 58ch;
  margin: 22px 0 0;
  font-size: clamp(1rem, .94rem + .24vw, 1.13rem);
  line-height: 1.62;
  color: var(--ink-2);
}
.hero__roles {
  margin: 18px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--copper);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  max-width: 46ch;
}
.hero__benefits {
  display: grid;
  gap: 9px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.hero__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.hero__benefits .icon {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
  color: var(--forest);
  stroke-width: 2;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero__micro {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 26px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 12.5px;
  color: var(--muted);
}
.hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta .icon { width: 17px; height: 17px; color: var(--copper); }

.hero-shot {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--copper);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-shot__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--card);
}
.hero-shot__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.hero-shot__tag {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--copper-dark);
  background: var(--copper-soft);
  border-radius: 999px;
  padding: 3px 8px;
}
.hero-shot img { display: block; width: 100%; }
.hero-shot figcaption {
  padding: 9px 14px;
  border-top: 1px solid var(--line);
  background: var(--card);
  font-size: 11px;
  color: var(--muted);
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: clamp(36px, 4.5vw, 56px) 0 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}
.facts li {
  display: grid;
  gap: 4px;
  padding: 0 22px;
}
.facts li:first-child { padding-left: 0; }
.facts li + li { border-left: 1px solid var(--line); }
.facts strong {
  font-family: var(--mono);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--ink);
}
.facts span {
  font-size: 11.5px;
  line-height: 1.42;
  color: var(--muted);
  max-width: 30ch;
}

/* --- sections ---------------------------------------------------------- */
.section { padding: clamp(60px, 8vw, 108px) 0; }
.section--tint {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section__head {
  max-width: 840px;
  margin-bottom: clamp(30px, 4vw, 50px);
}
.section__head h2 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: clamp(1.9rem, 1.15rem + 2.15vw, 3rem);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -.032em;
  text-wrap: balance;
}
.lead {
  max-width: 66ch;
  margin: 0;
  font-size: clamp(1rem, .94rem + .2vw, 1.1rem);
  line-height: 1.62;
  color: var(--ink-2);
}

/* --- questions --------------------------------------------------------- */
.questions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.question {
  background: var(--card);
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.question__num {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--copper);
  letter-spacing: .04em;
}
.question h3 {
  margin: 10px 0 0;
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.05rem + .35vw, 1.35rem);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -.015em;
}
.question p {
  margin: 10px 0 0;
  font-size: 14.5px;
  line-height: 1.58;
  color: var(--ink-2);
  max-width: 44ch;
}
.question .link-btn { margin-top: auto; padding-top: 16px; }

.roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.role { padding: clamp(24px, 3vw, 34px); }
.role + .role { border-left: 1px solid var(--line); }
.role--quiet {
  background: var(--paper);
}
.role--quiet .role__label { color: var(--muted); }
.role--quiet h3 { font-size: clamp(1.05rem, .95rem + .35vw, 1.22rem); color: var(--ink-2); }
.role--quiet .ticks li { color: var(--muted); }
.role__label {
  margin: 0 0 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--copper);
}
.role h3 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(1.2rem, 1.05rem + .5vw, 1.5rem);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -.02em;
  max-width: 30ch;
}

.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ticks li {
  position: relative;
  padding-left: 25px;
  margin: 9px 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .42em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--forest);
  border-bottom: 2px solid var(--forest);
  transform: rotate(-45deg);
}
.ticks--row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px 22px;
  margin-top: 18px;
}
.ticks--row li { margin: 0; }

/* --- screens ----------------------------------------------------------- */
.screens { margin-top: clamp(42px, 5vw, 68px); }
.screens__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}
.screens__head h3 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: clamp(1.3rem, 1.15rem + .6vw, 1.65rem);
  font-weight: 650;
  letter-spacing: -.022em;
}
.screens__head p { margin: 0; font-size: 14px; color: var(--muted); max-width: 58ch; }
.screens__note {
  flex: none;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .02em;
  color: var(--muted);
  text-align: right;
  border-right: 2px solid var(--copper);
  padding-right: 12px;
}
.screens__note span {
  display: block;
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tabs {
  display: flex;
  gap: 2px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: thin;
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding: 13px 15px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: color .16s ease, border-color .16s ease, background-color .16s ease;
}
.tab span {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--copper);
  opacity: .75;
}
.tab:hover { color: var(--ink); background: rgba(255, 253, 248, .6); }
.tab[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--copper);
  background: var(--card);
}
.tab[aria-selected="true"] span { opacity: 1; }

.screen-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: clamp(14px, 2vw, 20px);
  animation: panel-in .18s ease both;
}
@keyframes panel-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}
.screen-panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 2px 2px 12px;
}
.screen-panel__head h4 {
  margin: 0;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -.01em;
}
.screen-panel__head span {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
}
.screen-panel img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}
.screen-panel .ticks--row { margin: 14px 2px 2px; }

.screens__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding: 18px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.screens__cta p { margin: 0; font-size: 14.5px; font-weight: 600; }
.screens__cta .btn { flex: none; }
.screens__cta-note { font-size: 11.5px; color: var(--muted); flex-basis: 100%; }

/* --- decor / configurator --------------------------------------------- */
.decor {
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.decor__controls {
  display: grid;
  gap: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.control { margin: 0; padding: 0; border: 0; }
.control > label,
.control > legend {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.control input[type="text"] {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font-size: 14.5px;
}
.control input[type="text"]:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(139, 90, 51, .16);
  outline: none;
}
.hint {
  margin: 6px 0 0;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--muted);
}

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { position: relative; cursor: pointer; }
.chip input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 5px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  font-size: 12.5px;
  line-height: 1.2;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.chip:hover span { border-color: var(--ink-2); }
.chip input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.chip input:focus-visible + span {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}

.swatches { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.swatch {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 12.5px;
  cursor: pointer;
}
.swatch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.swatch__dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  flex: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08) inset;
}
.swatch__dot--copper { background: #A65A3A; }
.swatch__dot--forest { background: #3F6B4A; }
.swatch__dot--graphite { background: #3F4A57; }
.swatch__dot--wine { background: #7A3C46; }
.swatch:hover { border-color: var(--ink-2); }
.swatch:has(input:checked) { border-color: var(--ink); background: var(--paper); }
.swatch input:focus-visible ~ span:last-child { outline: 2px solid var(--copper); outline-offset: 3px; }

.segmented { display: grid; grid-template-columns: 1fr 1fr; }
.segmented label { position: relative; cursor: pointer; }
.segmented input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.segmented span {
  display: block;
  padding: 9px 10px;
  border: 1px solid var(--line-strong);
  text-align: center;
  font-size: 12.5px;
  background: #fff;
}
.segmented label:first-child span { border-radius: 8px 0 0 8px; }
.segmented label:last-child span { border-radius: 0 8px 8px 0; margin-left: -1px; }
.segmented input:checked + span {
  position: relative;
  z-index: 1;
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.segmented input:focus-visible + span { outline: 2px solid var(--copper); outline-offset: 2px; }

.decor__status {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--muted);
}

.decor__preview { min-width: 0; }
.decor__caption {
  margin: 10px 0 0;
  font-size: 11.5px;
  color: var(--muted);
}
.decor__owner {
  margin: 12px 0 0;
  padding: 12px 14px;
  background: var(--card);
  border-left: 3px solid var(--copper);
  border-radius: 8px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.decor__owner--muted {
  background: transparent;
  border-left-color: var(--line-strong);
  font-size: 12.5px;
  color: var(--muted);
}

/* --- app mock ---------------------------------------------------------- */
.appmock {
  --mock-accent: #A65A3A;
  background: #F7F4EE;
  color: #1F2933;
  border: 1px solid #DAD6CC;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 12px;
}
.appmock__chrome {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  background: #1E2733;
  color: #F3EFE7;
  font-size: 10.5px;
}
.appmock__dots { display: inline-flex; gap: 4px; }
.appmock__dots i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4B5563;
}
.appmock__title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.appmock__badge {
  margin-left: auto;
  flex: none;
  border: 1px solid #4B5563;
  border-radius: 999px;
  padding: 1px 7px;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #C4BDB1;
}
.appmock__body {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 340px;
}
.appmock__side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 14px 11px;
  background: #26313F;
  color: #F3EFE7;
}
.appmock__brand { display: flex; align-items: center; gap: 8px; min-width: 0; }
.appmock__mono {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  flex: none;
  border-radius: 7px;
  background: #3A4655;
  color: #F3EFE7;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
}
.appmock__brandtext { min-width: 0; display: grid; }
.appmock__brandtext b {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.appmock__brandtext small {
  font-size: 8.5px;
  color: #A9B3BF;
  white-space: nowrap;
}
.appmock__nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.appmock__nav li {
  padding: 6px 8px;
  border-radius: 5px;
  font-size: 10.5px;
  color: #D9DEE5;
}
.appmock__nav li.is-active {
  background: #3A4655;
  color: #F3EADB;
  box-shadow: 2px 0 0 var(--mock-accent) inset;
}
.appmock__ver {
  margin-top: auto;
  text-align: center;
  font-size: 8.5px;
  color: #A9B3BF;
}
.appmock__main {
  min-width: 0;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
}
.appmock__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.appmock__head b {
  display: block;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 34ch;
}
.appmock__head small { display: block; margin-top: 2px; font-size: 9.5px; color: #6B7682; }
.appmock__btn {
  flex: none;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--mock-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}
.appmock__kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin-top: 12px;
}
.mkpi {
  background: #fff;
  border: 1px solid #E1D9CC;
  border-radius: 7px;
  padding: 8px 9px;
  display: grid;
  gap: 3px;
  min-width: 0;
}
.mkpi__label { font-size: 8.5px; line-height: 1.25; color: #6B7682; }
.mkpi__value {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.03em;
  white-space: nowrap;
}
.mkpi__hint {
  font-size: 8px;
  line-height: 1.25;
  color: #6B7682;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tone-income { color: #3F6B4A; }
.tone-expense { color: #A0503C; }

.appmock__panel {
  margin-top: 9px;
  background: #fff;
  border: 1px solid #E1D9CC;
  border-radius: 7px;
  padding: 9px 11px;
}
.appmock__panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.appmock__panel-head b { font-size: 10.5px; }
.appmock__panel-head span { font-size: 8.5px; color: #6B7682; }
.appmock__rows { display: grid; gap: 6px; margin-top: 8px; }
.mrow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(70px, 1.4fr) 52px;
  align-items: center;
  gap: 8px;
  font-size: 9px;
}
.mrow__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mrow__bar {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: #EFE9DE;
  overflow: hidden;
}
.mrow__bar i {
  display: block;
  height: 100%;
  width: var(--w, 50%);
  background: var(--mock-accent);
  opacity: .82;
  border-radius: inherit;
}
.mrow__sum {
  font-family: var(--mono);
  font-size: 8.5px;
  text-align: right;
  color: #46525E;
}
.appmock__foot {
  margin-top: auto;
  padding-top: 8px;
  font-size: 8.5px;
  color: #6B7682;
}
.appmock__panel--forecast { padding: 8px 11px; }
.mforecast {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 6px;
}
.mforecast span { display: grid; gap: 1px; }
.mforecast small { font-size: 8px; color: #6B7682; }
.mforecast b {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: -.03em;
  white-space: nowrap;
}

.appmock.is-compact .appmock__main { padding: 11px 13px; }
.appmock.is-compact .appmock__kpis { gap: 6px; margin-top: 9px; }
.appmock.is-compact .mkpi { padding: 6px 7px; }
.appmock.is-compact .mkpi__value { font-size: 11.5px; }
.appmock.is-compact .mkpi__hint { font-size: 7.5px; }
.appmock.is-compact .appmock__panel { padding: 7px 9px; margin-top: 7px; }
.appmock.is-compact .appmock__rows { gap: 4px; margin-top: 6px; }
.appmock.is-compact .mrow { font-size: 8.5px; }
.appmock.is-compact .appmock__side { padding: 11px 9px; gap: 12px; }
.appmock.is-compact .appmock__nav li { padding: 5px 7px; }

.decor-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 26px;
}
.decor-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}
.decor-card h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -.012em;
}
.decor-card p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink-2); }

.boundary {
  margin: 22px 0 0;
  padding: 13px 17px;
  background: rgba(166, 90, 58, .08);
  border-left: 3px solid var(--copper);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-2);
}

/* --- process ----------------------------------------------------------- */
.process {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}
.steps { list-style: none; margin: 0; padding: 0; }
.steps li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.steps li:first-child { border-top: 0; padding-top: 0; }
.steps li:last-child { padding-bottom: 0; }
.steps__num {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--copper);
  padding-top: 4px;
}
.steps__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.steps__head h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -.02em;
}
.badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 8px;
}
.steps p {
  margin: 7px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 62ch;
}

.need {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--copper);
  border-radius: 12px;
  padding: 24px;
}
.need h3 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -.015em;
}
.need .ticks li { font-size: 13px; }
.need__note {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* --- passport (dark) --------------------------------------------------- */
.section--dark {
  background: var(--deep);
  color: var(--on-deep);
  background-image:
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
  background-size: 52px 52px;
}
.section__head--dark h2 { color: #F7F0E4; }
.section__head--dark .lead { color: var(--on-deep-muted); }
.kicker--light { color: #D2A171; }
.kicker--light span { color: #E4B784; }
.kicker--light::after { background: #5A4B3A; }

.spec {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0;
  background: rgba(241, 233, 220, .14);
  border: 1px solid rgba(241, 233, 220, .14);
  border-radius: 12px;
  overflow: hidden;
}
.spec__item { background: #26313F; padding: 18px 20px; }
.spec dt {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #A9997F;
}
.spec dd {
  margin: 6px 0 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: #F1E9DC;
}
.passport__foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 18px;
  font-size: 12px;
  color: #B8A992;
}
.passport__foot p { margin: 0; }
.passport__foot code {
  font-family: var(--mono);
  font-size: 11.5px;
  color: #EDDCC5;
  background: rgba(241, 233, 220, .08);
  border-radius: 4px;
  padding: 1px 5px;
}
.passport__src { font-size: 11px; color: #8F8069; }

/* --- plans ------------------------------------------------------------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.plan__name {
  margin: 0;
  font-family: var(--display);
  font-size: 27px;
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -.025em;
}
.plan__tag {
  margin: 4px 0 16px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.plan .ticks { margin-bottom: 6px; }
.plan__for {
  margin: 14px 0 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}
.plan__for strong { color: var(--ink); }
.plan .btn { margin-top: auto; }

.plan--featured {
  background: var(--deep);
  border-color: var(--deep);
  color: var(--on-deep);
  box-shadow: 0 26px 60px -38px rgba(30, 39, 51, .9);
}
.plan__flag {
  align-self: flex-start;
  margin: 0 0 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--copper);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.plan--featured .plan__tag { color: var(--on-deep-muted); }
.plan--featured .ticks li { color: #DDD2C0; }
.plan--featured .ticks li::before { border-color: #A9C79A; }
.plan--featured .plan__for { border-top-color: rgba(241, 233, 220, .18); color: var(--on-deep-muted); }
.plan--featured .plan__for strong { color: #F7F0E4; }

.scope__note {
  max-width: 92ch;
  margin: 18px 0 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* --- faq --------------------------------------------------------------- */
.faq { max-width: 900px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  padding: 17px 42px 17px 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 21px;
  font-weight: 400;
  color: var(--copper);
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--copper-dark); }
.faq details p {
  margin: 0;
  padding: 0 42px 19px 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 74ch;
}
.faq details code {
  font-family: var(--mono);
  font-size: 12.5px;
  background: var(--paper);
  border-radius: 4px;
  padding: 1px 5px;
}
.faq__more {
  margin: 22px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}
.faq__more a { font-weight: 600; }

/* --- brief ------------------------------------------------------------- */
.brief {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}
.brief__form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(22px, 3vw, 32px);
}
.fieldset { border: 0; margin: 0 0 26px; padding: 0; min-width: 0; }
.fieldset:last-of-type { margin-bottom: 18px; }
.fieldset legend {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--copper-dark);
}
.fieldset legend span { font-family: var(--mono); letter-spacing: 0; color: var(--copper); }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field--wide { grid-column: 1 / -1; margin-top: 14px; }
.field > label,
.field__label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.req { color: var(--rust); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
}
.field textarea { min-height: 118px; resize: vertical; line-height: 1.5; }
.field input::placeholder,
.field textarea::placeholder { color: #9A8F80; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(139, 90, 51, .16);
  outline: none;
}
.field input[aria-invalid="true"] { border-color: var(--rust); }
.error { margin: 0; font-size: 12px; color: var(--rust); }

.checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 2px;
}
.check { position: relative; cursor: pointer; }
.check input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.check span {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 38px;
  padding: 7px 12px 7px 30px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  font-size: 12.5px;
  line-height: 1.2;
  text-align: left;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.check span::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 50%;
  width: 11px;
  height: 11px;
  transform: translateY(-50%);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: #fff;
}
.check span::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 8px;
  height: 4px;
  transform: translateY(-70%) rotate(-45deg);
  border-left: 1.7px solid #fff;
  border-bottom: 1.7px solid #fff;
  opacity: 0;
}
.check input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.check input:checked + span::before {
  background: var(--ink);
  border-color: var(--ink);
}
.check input:checked + span::after { opacity: 1; }
.check input:focus-visible + span { outline: 2px solid var(--copper); outline-offset: 2px; }

.brief__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.form-note { margin: 12px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--muted); }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.consent { margin: 4px 0 18px; }
.consent__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-2);
  cursor: pointer;
}
.consent__check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex: none;
  accent-color: var(--copper);
  cursor: pointer;
}
.consent__check a { white-space: nowrap; font-weight: 600; }
.consent .error { margin-top: 6px; }

.btn:disabled { opacity: .72; cursor: progress; transform: none; }
.btn__spin {
  width: 16px;
  height: 16px;
  flex: none;
  border: 2px solid rgba(255, 255, 255, .42);
  border-top-color: #fff;
  border-radius: 50%;
  animation: fa-spin .8s linear infinite;
}
@keyframes fa-spin { to { transform: rotate(360deg); } }

.brief-result--error {
  background: var(--rust-soft);
  border-color: #E0B9AC;
  border-left-color: var(--rust);
}
.brief-result--error .brief-result__mark { background: var(--rust); }
.brief-result--error .brief-result__mark .icon { display: none; }
.brief-result--error .brief-result__mark::after {
  content: "!";
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.brief-result--error .brief-result__next { display: none; }

.brief__aside { display: grid; gap: 14px; }
.aside-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}
.aside-card h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -.012em;
}
.aside-card p { margin: 10px 0 0; font-size: 13px; line-height: 1.55; color: var(--ink-2); }
.aside-card .ticks li { font-size: 13px; margin: 7px 0; }
.aside-card--quiet { background: transparent; }
.aside-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--copper);
}

.brief-result:focus,
.brief-result:focus-visible { outline: none; }
.brief-result {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 26px;
  padding: 22px 24px;
  background: var(--forest-soft);
  border: 1px solid #C7D8C0;
  border-left: 4px solid var(--forest);
  border-radius: 12px;
}
.brief-result__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
}
.brief-result__mark .icon { width: 22px; height: 22px; stroke-width: 2.4; }
.brief-result h3 {
  margin: 1px 0 4px;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -.015em;
}
.brief-result p { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.brief-result__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.brief-result__next {
  margin: 12px 0 0;
  padding-left: 18px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.brief-result__next li { margin: 4px 0; }

/* --- footer ------------------------------------------------------------ */
.footer {
  background: var(--deep);
  color: var(--on-deep-muted);
  padding: 46px 0 22px;
  border-top: 4px solid var(--copper);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .55fr) minmax(0, .7fr);
  gap: 32px;
}
.footer .brand { color: #F1E9DC; }
.footer .brand:hover { color: #fff; }
.footer .brand__text small { color: #A9997F; }
.footer__brand p {
  max-width: 40ch;
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.55;
}
.footer__title {
  margin: 0 0 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8F8069;
}
.footer__nav { display: grid; align-content: start; gap: 6px; }
.footer__nav a {
  font-size: 13.5px;
  color: #D9DEE5;
  text-decoration: none;
}
.footer__nav a:hover { color: #fff; }
.footer__meta { display: grid; align-content: start; gap: 4px; }
.footer__meta p { margin: 0; font-size: 13px; }
.footer__fine {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 16px;
  border-top: 1px solid rgba(241, 233, 220, .14);
}
.footer__fine p { margin: 0; font-size: 11px; line-height: 1.5; color: #8F8069; max-width: 66ch; }

@media (min-width: 981px) {
  .decor__preview,
  .brief__aside {
    position: sticky;
    top: 96px;
    align-self: start;
  }
}

.sticky-demo {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  background: var(--deep);
  color: var(--on-deep);
  border: 1px solid rgba(241, 233, 220, .22);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 18px 44px -24px rgba(30, 39, 51, .9);
  transition: background-color .18s ease, transform .18s ease;
}
.sticky-demo:hover { background: var(--deep-2); color: #fff; transform: translateY(-1px); }
.sticky-demo .icon { width: 17px; height: 17px; }

/* --- responsive -------------------------------------------------------- */
@media (max-width: 1180px) {
  .nav { gap: 14px; }
  .nav > a:not(.btn) { font-size: 13px; }
  .hero__grid { gap: 32px; }
}

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 1px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -28px rgba(30, 39, 51, .5);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav > a:not(.btn) {
    padding: 12px 2px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }
  .nav > a:not(.btn)::after { display: none; }
  .nav > a[aria-current="true"] { color: var(--copper-dark); }
  .nav__cta { margin: 14px 0 0; }
}

@media (max-width: 980px) {
  .hero { padding-top: 36px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__lead { max-width: 62ch; }
  .hero-shot { margin-top: 6px; }
  .decor { grid-template-columns: 1fr; }
  .decor__controls { order: 1; }
  .decor__preview { order: 2; }
  .process { grid-template-columns: 1fr; }
  .need { max-width: 620px; }
  .brief { grid-template-columns: 1fr; }
  .brief__aside { grid-template-columns: 1fr 1fr; }
  .spec { grid-template-columns: repeat(2, 1fr); }
  .decor-cards { grid-template-columns: repeat(2, 1fr); }
  .roles { grid-template-columns: 1fr; }
  .role + .role { border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 860px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li { padding: 16px 0; }
  .facts li:first-child { padding-left: 0; }
  .facts li + li { border-left: 0; }
  .facts li:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .facts li:nth-child(odd) { padding-left: 0; }
  .plans { grid-template-columns: 1fr; }
  .plan { max-width: 560px; }
  .plan--featured { max-width: 560px; }
  .ticks--row { grid-template-columns: 1fr; }
  .brief__aside { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .shell { padding: 0 18px; }
  .sticky-demo {
    left: 14px;
    right: 14px;
    bottom: 12px;
    justify-content: center;
    border-radius: 12px;
  }
  .utility { font-size: 10.5px; }
  .utility__right { display: none; }
  .site-head__in { min-height: 66px; }
  .brand img { width: 36px; height: 36px; }
  .brand__text strong { font-size: 15.5px; }
  .brand__text small { font-size: 9.5px; }
  .questions { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 auto; }
  .screens__head { align-items: flex-start; flex-direction: column; gap: 10px; }
  .screens__note { border-right: 0; border-left: 2px solid var(--copper); padding: 0 0 0 10px; text-align: left; }
  .screen-panel { padding: 12px; }
  .screen-panel__head { margin-bottom: 10px; }
  .appmock__body { grid-template-columns: 1fr; min-height: 0; }
  .appmock__side { display: none; }
  .appmock__main { padding: 13px; }
  .appmock__kpis { grid-template-columns: 1fr 1fr; }
  .appmock__head b { max-width: 24ch; }
  .field-grid { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .footer__fine { flex-direction: column; gap: 8px; }
  .brief-result { flex-direction: column; }
}

@media (max-width: 560px) {
  h1 { font-size: clamp(2.15rem, 8.4vw, 2.9rem); }
  .facts strong { font-size: 26px; }
  .decor-cards { grid-template-columns: 1fr; }
  .spec { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 30px minmax(0, 1fr); gap: 10px; }
  .steps__head h3 { font-size: 18px; }
  .brief__actions .btn { width: 100%; }
  .checks { grid-template-columns: 1fr; }
  .brief-result { padding: 18px; }
  .brief-result__actions .btn { width: 100%; }
  .mrow { grid-template-columns: minmax(0, 1fr) minmax(60px, 1.2fr) 46px; }
}

@media (max-width: 400px) {
  .shell { padding: 0 14px; }
  .mkpi__value { font-size: 11px; }
  .mkpi__hint { display: none; }
}

.nav-open .sticky-demo { opacity: 0; visibility: hidden; transform: translateY(10px); }
.sticky-demo { transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .utility, .site-head, .nav-toggle, .decor__controls, .brief__actions,
  .brief__aside, .footer__nav, .screen-panel[hidden], .sticky-demo { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding: 20px 0; break-inside: avoid; }
  .section--dark { background: #fff; color: #000; }
  .section--dark h2, .section--dark .lead, .spec dd { color: #000; }
  .spec__item { background: #fff; border: 1px solid #ccc; }
  a { color: inherit; text-decoration: none; }
}

/* --- Шапка: меню-выпадающий список справа ------------------------------ */
.head-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.head-cta { min-height: 44px; padding: 0 18px; font-size: 13px; white-space: nowrap; }

.site-head .nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  min-width: 103px;
  justify-content: center;
  padding: 10px 15px;
  font-size: 13px;
  font-weight: 650;
  color: var(--ink);
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.site-head .nav-toggle:hover { border-color: var(--copper); color: var(--copper-dark); }
.site-head .nav-toggle[aria-expanded="true"] { background: var(--copper-soft); border-color: var(--copper); color: var(--copper-dark); }
.nav-toggle__chevron {
  width: 7px; height: 7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform .2s ease, margin .2s ease;
}
.site-head .nav-toggle[aria-expanded="true"] .nav-toggle__chevron { transform: rotate(225deg); margin-top: 2px; }

.site-head .nav--dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 28px;
  left: auto;
  display: block;
  width: min(620px, calc(100vw - 32px));
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 28px 64px -28px rgba(30, 39, 51, .45), 0 6px 18px rgba(30, 39, 51, .07);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 60;
}
.site-head .nav--dropdown::before {
  content: "";
  position: absolute;
  top: -7px; right: 27px;
  width: 12px; height: 12px;
  background: var(--card);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  transform: rotate(45deg);
}
.site-head .nav--dropdown.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.nav__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 28px; }
.nav__group { min-width: 0; }
.nav__label {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--copper-dark);
}
.nav__label--spaced { margin-top: 18px; }

.nav__link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16px;
  gap: 1px 10px;
  padding: 9px 10px 9px 9px;
  border-left: 2px solid transparent;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}
.nav__link b { font-size: 14.5px; font-weight: 650; line-height: 1.3; letter-spacing: -.01em; }
.nav__link span { grid-column: 1; font-size: 12px; line-height: 1.4; color: var(--muted); }
.nav__link::after {
  content: "→";
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-size: 15px;
  line-height: 1;
  color: var(--copper);
  opacity: .5;
  transform: none;
  transition: color .16s ease, opacity .16s ease, transform .16s ease;
}
.nav__link:hover, .nav__link:focus-visible { background: var(--paper); border-left-color: var(--copper); }
.nav__link:hover::after, .nav__link:focus-visible::after { color: var(--copper); opacity: 1; transform: translateX(2px); }
.nav__link[aria-current="page"] { background: var(--copper-soft); border-left-color: var(--copper); }
.nav__link[aria-current="page"] b { color: var(--copper-dark); }

.nav__link--simple {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  font-size: 14px;
  font-weight: 600;
}
.nav__link--simple::after { grid-column: auto; grid-row: auto; }

.nav__quick { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 8px; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); }
.nav__quick span { margin-right: 2px; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nav__quick a {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--ink-2);
  text-decoration: none;
  transition: border-color .16s ease, color .16s ease, background .16s ease;
}
.nav__quick a:hover, .nav__quick a[aria-current="true"] { border-color: var(--copper); color: var(--copper-dark); background: var(--paper); }

.nav__foot { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.nav__foot .nav__cta { flex: none; min-height: 46px; margin: 0; padding: 0 20px; font-size: 13.5px; }
.nav__note { font-size: 12px; line-height: 1.4; color: var(--muted); }

@media (max-width: 1080px) {
  .site-head .nav--dropdown { right: 24px; }
}
@media (max-width: 760px) {
  .head-cta { display: none; }
}
@media (max-width: 640px) {
  .site-head .nav--dropdown {
    position: fixed;
    top: 74px;
    left: 10px;
    right: 10px;
    width: auto;
    max-height: calc(100dvh - 116px);
    padding: 16px;
    border-radius: 14px;
  }
  .site-head .nav--dropdown::before { display: none; }
  .nav__cols { grid-template-columns: 1fr; gap: 2px; }
  .nav__label--spaced { margin-top: 12px; }
  .nav__foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .nav__foot .nav__cta { width: 100%; }
  .nav__note { text-align: center; }
}
@media (max-width: 420px) {
  .site-head .nav--dropdown { top: 66px; left: 8px; right: 8px; }
  .nav__link b { font-size: 14px; }
}
@media (max-width: 360px) {
  .site-head .nav-toggle { min-width: 92px; padding: 9px 12px; font-size: 12.5px; }
}
.nav-open .sticky-demo { opacity: 0; visibility: hidden; transform: translateY(10px); }
.sticky-demo { transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }

@media (prefers-reduced-motion: reduce) {
  .site-head .nav--dropdown, .nav__link, .nav__link::after, .nav-toggle__chevron { transition: none; }
}
/* --- Меню без JavaScript: показываем список статически ------------------ */
html:not(.js) .site-head .nav-toggle { display: none; }
html:not(.js) .site-head__in { flex-wrap: wrap; }
html:not(.js) .site-head .nav--dropdown {
  position: static;
  flex: 1 0 100%;
  width: auto;
  max-height: none;
  overflow: visible;
  margin: 10px 0 0;
  padding: 12px 0 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}
html:not(.js) .site-head .nav--dropdown::before { display: none; }
@media (max-width: 640px) {
  html:not(.js) .nav__cols { grid-template-columns: 1fr; }
}
/* --- Лицензии ----------------------------------------------------------- */
.licenses__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.license-card {
  position: relative;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.license-card:nth-child(4),
.license-card:nth-child(5) { grid-column: span 3; }
.license-card[data-license-card] { cursor: pointer; }
.license-card:hover { transform: translateY(-3px); border-color: var(--copper); box-shadow: 0 20px 44px -30px rgba(30, 39, 51, .55); }
.license-card--demo { background: linear-gradient(160deg, #FFFDF9 0%, #F2EEE5 100%); border-color: var(--line-strong); }
.license-card--demo:hover { border-color: var(--forest); }
.license-card--hit { border-color: var(--copper); box-shadow: 0 18px 40px -32px rgba(166, 90, 58, .6); }
.license-card--hit::before {
  content: "";
  position: absolute;
  left: 24px; right: 24px; top: 0;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--copper);
}
.license-card--year { background: linear-gradient(160deg, #FFFDF9 0%, #F8F1E7 100%); }

.license-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.license-card__badge {
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink-2);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.license-card__badge--hit { background: var(--copper); color: #fff; }
.license-card--demo .license-card__badge { background: var(--forest-soft); color: var(--forest); }
.license-card__term { font-family: var(--mono); font-size: 10.5px; color: var(--muted); white-space: nowrap; }
.license-card__title {
  margin: 0;
  font-family: var(--display);
  font-size: 25px;
  line-height: 1.1;
  letter-spacing: -.025em;
}
.license-card__sub { margin: 4px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.license-card__price { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 12px; }
.license-card__price b { font-family: var(--display); font-size: 31px; font-weight: 650; letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.license-card__price span { font-size: 11.5px; color: var(--muted); }
.license-card__list { margin: 0; padding: 0; list-style: none; }
.license-card__list li {
  position: relative;
  margin: 7px 0;
  padding-left: 21px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-2);
}
.license-card__list li::before {
  content: "";
  position: absolute;
  left: 1px; top: .38em;
  width: 10px; height: 6px;
  border-left: 2px solid var(--forest);
  border-bottom: 2px solid var(--forest);
  transform: rotate(-45deg);
}
.license-card__options { display: grid; gap: 6px; margin: 14px 0 0; }
.license-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 12.5px;
  text-align: left;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease;
}
.license-option:hover, .license-option:focus-visible { background: var(--copper-soft); border-color: var(--copper); }
.license-option b { font-size: 13px; white-space: nowrap; }
.license-option em {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 5px;
  border-radius: 999px;
  background: var(--copper);
  color: #fff;
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  vertical-align: 1px;
}
.license-option--promo { border-color: rgba(166, 90, 58, .45); }
.license-card__cta,
.license-card__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin-top: 16px;
  padding: 14px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: none;
  color: var(--copper-dark);
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
}
.license-card__action { margin-top: auto; }
.license-card__cta .icon,
.license-card__action .icon { width: 17px; height: 17px; flex: none; transition: transform .16s ease; }
.license-card__cta:hover .icon,
.license-card__action:hover .icon { transform: translateX(3px); }

.licenses__foot {
  margin-top: 20px;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.licenses__foot p { margin: 0 0 8px; font-size: 12.5px; line-height: 1.55; color: var(--ink-2); }
.licenses__foot p:last-child { margin-bottom: 0; }
.licenses__legal { font-size: 11.5px !important; color: var(--muted) !important; }

/* --- Модальное окно заказа --------------------------------------------- */
body.modal-open { overflow: hidden; }
.order-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 18px; }
.order-modal[hidden] { display: none !important; }
.order-modal__backdrop { position: absolute; inset: 0; background: rgba(30, 39, 51, .62); }
.order-modal__dialog {
  position: relative;
  width: min(590px, 100%);
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  padding: 30px;
  background: var(--card);
  border-radius: 16px;
  box-shadow: 0 34px 90px -28px rgba(0, 0, 0, .55);
}
.order-modal__close {
  position: absolute;
  top: 12px; right: 12px;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--card);
  color: var(--ink-2);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.order-modal__close:hover { border-color: var(--copper); color: var(--copper-dark); }
.order-modal__kicker { margin: 0 0 6px; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--copper-dark); }
.order-modal h2 { margin: 0; padding-right: 42px; font-family: var(--display); font-size: clamp(24px, 4vw, 30px); line-height: 1.12; letter-spacing: -.025em; }
.order-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0 4px;
  padding: 14px 16px;
  background: var(--paper);
  border-left: 3px solid var(--copper);
  border-radius: 8px;
}
.order-summary__text { display: grid; gap: 2px; }
.order-summary__text b { font-size: 14px; color: var(--ink); }
.order-summary__text span { font-size: 12px; color: var(--muted); }
.order-summary__price { font-family: var(--display); font-size: 22px; font-weight: 650; letter-spacing: -.02em; white-space: nowrap; }
.order-modal__note { margin: 10px 0 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
.order-form { margin-top: 18px; }
.order-form .field-grid { grid-template-columns: 1fr 1fr; }
.order-form .field { margin: 0; }
.order-form .field textarea { min-height: 86px; }
.order-form .consent { margin: 14px 0 0; }
.order-modal__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.order-modal__actions .btn { flex: 1 1 auto; }
.order-form__note { margin: 12px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--muted); }
.order-error { margin: 12px 0 0; padding: 10px 12px; background: var(--rust-soft); border-radius: 8px; color: var(--rust); font-size: 12.5px; }
.order-error[hidden] { display: none !important; }

.order-success { padding: 18px 0 4px; text-align: center; }
.order-success[hidden] { display: none !important; }
.order-success__mark {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
}
.order-success__mark .icon { width: 26px; height: 26px; stroke-width: 2.4; }
.order-success h3 { margin: 0 0 6px; font-family: var(--display); font-size: 22px; letter-spacing: -.02em; }
.order-success p { margin: 0 auto; max-width: 42ch; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.order-success .btn { margin-top: 18px; }

@media (max-width: 1080px) {
  .licenses__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .license-card,
  .license-card:nth-child(4),
  .license-card:nth-child(5) { grid-column: span 1; }
  .license-card:nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .licenses__grid { grid-template-columns: 1fr; }
  .license-card,
  .license-card:nth-child(4),
  .license-card:nth-child(5) { grid-column: auto; }
  .license-card { padding: 20px; }
  .license-card--hit::before { left: 20px; right: 20px; }
  .licenses__foot { padding: 16px; }
  .order-modal { padding: 10px; }
  .order-modal__dialog { padding: 22px 18px; max-height: calc(100vh - 20px); }
  .order-form .field-grid { grid-template-columns: 1fr; }
  .order-summary { align-items: flex-start; flex-direction: column; gap: 6px; }
  .order-modal__actions .btn { flex: 1 1 100%; }
}
.plan__price { margin: -8px 0 14px; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--copper-dark); }
.nav__demo { font-size: 12px; line-height: 1.4; color: var(--muted); text-decoration: none; }
.nav__demo:hover { color: var(--copper-dark); text-decoration: underline; text-underline-offset: 3px; }
.licenses-in-view .sticky-demo { opacity: 0; visibility: hidden; transform: translateY(10px); }
.license-card__support {
  display: grid;
  gap: 1px;
  margin: 12px 0 0;
  padding: 10px 12px;
  background: var(--forest-soft);
  border-radius: 8px;
}
.license-card__support b { font-size: 12.5px; line-height: 1.35; color: var(--forest); }
.license-card__support span { font-size: 11.5px; line-height: 1.4; color: var(--ink-2); }