/* FinOrg.pro — без Nicepage. Акцент #ed691f как на старой кнопке «Демо». */
:root {
  --bg: #12161c;
  --paper: #1a2028;
  --ink: #e6eaee;
  --muted: #9aa3ad;
  --line: #2c3540;
  --accent: #ed691f;
  --navy: #e6eaee;
  --max: 48rem;
  --max-demo: 56rem;
  --radius: 0.85rem;
  --shadow: 0 22px 48px rgba(0, 0, 0, 0.38);
  --fs-display: clamp(1.72rem, 3.2vw, 2.28rem);
  --fs-h2: clamp(1.32rem, 2.1vw, 1.52rem);
  --fs-h3: 1.08rem;
  --fs-lede: 1.14rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.9rem;
  --lh-tight: 1.22;
  --lh-h1: 1.34;
  --lh-body: 1.65;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-padding-top: 4.6rem;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f4efe8;
  --paper: #fffdf9;
  --ink: #1b2430;
  --muted: #5b6470;
  --line: #e4ddd4;
  --navy: #2c3e50;
  --shadow: 0 18px 40px rgba(27, 36, 48, 0.12);
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink);
  background:
    radial-gradient(1000px 380px at 10% -10%, rgba(237, 105, 31, 0.12), transparent 50%),
    var(--bg);
}

a {
  color: var(--accent);
}

a:hover {
  color: #f08a4b;
}

html[data-theme="light"] a:hover {
  color: #c45312;
}

html[data-theme="light"] body {
  background:
    radial-gradient(1200px 420px at 8% -8%, rgba(237, 105, 31, 0.08), transparent 55%),
    var(--bg);
}

img {
  max-width: 100%;
  height: auto;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 0.75rem;
  top: 0.75rem;
  z-index: 20;
  background: var(--paper);
  color: var(--ink);
  padding: 0.4rem 0.7rem;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

@media (min-width: 900px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 40;
  }
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
}

.logo img,
.logo svg.mark {
  width: 2.25rem;
  height: 2.25rem;
  display: block;
  flex-shrink: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
}

.logo .mark-node {
  fill: var(--paper);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  font-size: 0.95rem;
}

.nav a {
  color: var(--navy);
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--accent);
}

.nav a.nav-demo {
  color: #fff;
  background: var(--accent);
  padding: 0.18rem 0.58rem;
  border-radius: 0.42rem;
  animation: nav-demo-pulse 1.7s ease-in-out infinite;
}

.nav a.nav-demo:hover,
.nav a.nav-demo[aria-current="page"] {
  color: #fff;
}

@keyframes nav-demo-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(237, 105, 31, 0.62);
  }
  55% {
    box-shadow: 0 0 0 0.55rem rgba(237, 105, 31, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav a.nav-demo,
  .btn-pulse {
    animation: none;
    box-shadow: 0 0 0 2px rgba(237, 105, 31, 0.35);
  }
}

.header-end {
  display: flex;
  align-items: center;
  gap: 0.55rem 0.85rem;
}

.theme-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  opacity: 0.38;
  cursor: pointer;
}

.theme-btn:hover,
.theme-btn:focus-visible {
  opacity: 0.78;
  outline: none;
}

.theme-btn:focus-visible {
  box-shadow: 0 0 0 1px var(--line);
}

.theme-btn .theme-icon-moon {
  display: none;
}

.theme-btn .theme-icon-sun {
  display: block;
}

html[data-theme="light"] .theme-btn .theme-icon-moon {
  display: block;
}

html[data-theme="light"] .theme-btn .theme-icon-sun {
  display: none;
}

.hero {
  padding: 2.75rem 0 2rem;
}

.hero-grid {
  display: grid;
  gap: 1.4rem;
}

.hero-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

@media (min-width: 720px) {
  .hero-grid {
    grid-template-columns: 1fr minmax(10.75rem, 12.25rem);
    align-items: start;
  }
}

@media (max-width: 719px) {
  .hero-aside {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
  }
}

h1 {
  margin: 0 0 0.85rem;
  font-size: var(--fs-display);
  line-height: var(--lh-h1);
  letter-spacing: -0.028em;
  color: var(--navy);
}

.lede,
.sub {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

.lede {
  font-size: var(--fs-lede);
  color: var(--ink);
  max-width: 38rem;
}

.who {
  margin: 1rem 0 0;
  font-size: 0.98rem;
}

.ava {
  width: 8.25rem;
  height: 8.25rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 1px var(--line);
  flex-shrink: 0;
}

@media (max-width: 719px) {
  .ava {
    width: 5.6rem;
    height: 5.6rem;
  }
}

.product-chip {
  display: block;
  width: 100%;
  max-width: 14rem;
  padding: 0.7rem 0.8rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.product-chip:hover {
  color: var(--ink);
  border-color: #efc4a8;
  transform: translateY(-1px);
}

.product-chip strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.product-chip em {
  display: block;
  margin: 0.18rem 0 0.45rem;
  font-style: normal;
  font-size: var(--fs-small);
  color: var(--muted);
}

.product-chip span {
  display: block;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--accent);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.hero .cta-row {
  margin-top: 1.55rem;
  flex-wrap: nowrap;
}

@media (max-width: 719px) {
  .hero .cta-row {
    flex-wrap: wrap;
  }
}

.btn-pulse {
  animation: nav-demo-pulse 1.7s ease-in-out infinite;
}

.btn {
  display: inline-block;
  padding: 0.62rem 1.05rem;
  border-radius: 0.55rem;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 22px rgba(237, 105, 31, 0.28);
  padding: 0.72rem 1.2rem;
}

.btn-primary:hover {
  background: #c45312;
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--navy);
  background: var(--paper);
}

.btn-ghost:hover {
  color: var(--accent);
  border-color: #efc4a8;
}

main section {
  padding-top: 3.25rem;
  padding-bottom: 0.5rem;
}

h2 {
  margin: 0 0 0.7rem;
  font-size: var(--fs-h2);
  line-height: var(--lh-tight);
  letter-spacing: -0.022em;
  color: var(--navy);
}

h3 {
  margin: 1.1rem 0 0.35rem;
  font-size: var(--fs-h3);
  letter-spacing: -0.015em;
}

p {
  margin: 1.85rem 0 0;
}

h2 + p,
h2 + .demo-kicker {
  margin-top: 1.2rem;
}

ul,
ol {
  margin: 1.5rem 0 0;
  padding-left: 1.2rem;
}

li {
  margin: 0 0 0.55rem;
}

li:last-child {
  margin-bottom: 0;
}

.cards {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.15rem;
}

@media (min-width: 640px) {
  .cards.cols-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

table {
  width: 100%;
  margin: 1.25rem 0 0;
  border-collapse: collapse;
  background: var(--paper);
  font-size: 0.95rem;
}

th,
td {
  border: 1px solid var(--line);
  padding: 0.55rem 0.7rem;
  text-align: left;
  vertical-align: top;
}

th {
  background: #242c36;
}

html[data-theme="light"] th {
  background: #efe8df;
}

.steps {
  padding-left: 1.2rem;
}

.site-footer {
  margin-top: 1.5rem;
  padding: 1.4rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer a {
  color: var(--navy);
}

.tools {
  display: grid;
  gap: 0.8rem;
  margin-top: 2.4rem;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
}

.tools figure {
  margin: 0;
  text-align: center;
}

.tools img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
}

.wrap-wide {
  max-width: var(--max-demo);
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.demo-kicker {
  margin: 0 0 1.15rem;
  max-width: 36rem;
  font-size: var(--fs-lede);
  font-style: italic;
  color: var(--muted);
}

.product-window {
  margin: 0 auto 1.15rem;
  max-width: var(--max-demo);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.15rem);
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.85rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(237, 105, 31, 0.06), transparent);
}

.product-chrome-dots {
  display: flex;
  gap: 0.32rem;
}

.product-chrome-dots i {
  display: block;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: #d8cfc4;
}

.product-chrome-dots i:nth-child(1) { background: #e8b4a0; }
.product-chrome-dots i:nth-child(2) { background: #edc98a; }
.product-chrome-dots i:nth-child(3) { background: #b7c9b0; }

.product-chrome-title {
  font-size: var(--fs-small);
  color: var(--muted);
}

.product-window figcaption {
  margin: 0;
  padding: 0.55rem 0.9rem 0.7rem;
  font-size: var(--fs-small);
  color: var(--muted);
}

.demo-stage {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #1b211e;
  min-height: 20rem;
}

.demo-stage::before {
  content: "Загрузка монитора…";
  position: absolute;
  left: 1rem;
  top: 4.5rem;
  z-index: 0;
  color: #5c6560;
  font-size: var(--fs-small);
}

.demo-stage iframe {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 20rem;
  border: 0;
  pointer-events: none;
  background: #1b211e;
}

@media (min-width: 900px) {
  .demo-stage iframe {
    height: 26.5rem;
  }
}

html[data-theme="light"] .demo-stage,
html[data-theme="light"] .demo-stage iframe {
  background: #f3f4f1;
}

.demo-stage-hit {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 1rem 1.1rem;
  background: linear-gradient(180deg, transparent 62%, rgba(18, 22, 28, 0.38));
  text-decoration: none;
}

.demo-stage-hit span {
  background: var(--accent);
  color: #fff;
  padding: 0.55rem 0.95rem;
  border-radius: 0.5rem;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(18, 22, 28, 0.22);
}

.demo-floors {
  display: grid;
  gap: 0.7rem 1.2rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

@media (min-width: 720px) {
  .demo-floors {
    grid-template-columns: 1fr 1fr;
  }
}

.demo-floors li {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.wrap-wide > .cta-row {
  margin-top: 0;
}

.proof-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.15rem;
}

@media (min-width: 760px) {
  .proof-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.proof-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.05rem 1.1rem 1.15rem;
  box-shadow: 0 10px 24px rgba(27, 36, 48, 0.05);
}

.proof-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.proof-stat {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.05rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--navy);
  font-weight: 700;
}

.proof-stat-cap {
  margin: 0.2rem 0 0.75rem;
  font-size: var(--fs-small);
  color: var(--muted);
}

.proof-card h3 {
  margin: 0 0 0.45rem;
}

.proof-card p {
  margin: 0 0 0.45rem;
  font-size: var(--fs-small);
}

@media (prefers-reduced-motion: no-preference) {
  .hero {
    animation: rise 0.55s ease-out;
  }

  .product-window {
    animation: rise 0.7s ease-out;
  }

  .proof-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .proof-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 28px rgba(27, 36, 48, 0.1);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.55rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .proof-card,
  .product-chip {
    transition: none;
  }

  .btn-primary:hover,
  .product-chip:hover {
    transform: none;
  }
}
