/* Review prototype. Styles are intentionally isolated from the application. */
:root {
  --bg: #060b09;
  --bg2: #0a120e;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-border: rgba(255, 255, 255, 0.09);
  --ink: #ecf5ef;
  --muted: #93a89c;
  --line: rgba(255, 255, 255, 0.09);
  --neon: #3df59b;
  --neon2: #3adfd0;
  --amber: #ffb03a;
  --danger: #ff6b4a;
  --sans: Arial, "Helvetica Neue", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
}
a,
button,
summary {
  touch-action: manipulation;
}
:focus-visible {
  outline: 3px solid var(--neon);
  outline-offset: 5px;
}
p {
  line-height: 1.65;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h2 {
  font-size: 46px;
  line-height: 1.12;
  letter-spacing: -1.8px;
  font-weight: 500;
}
h3 {
  font-weight: 600;
}
.wrap {
  width: min(1200px, calc(100% - 96px));
  margin-inline: auto;
}
.icon-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.7px;
  line-height: 1.7;
  color: var(--neon);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Живой фон */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 85% -10%, #0e2018 0%, transparent 60%),
    radial-gradient(900px 600px at -10% 30%, #0a1a14 0%, transparent 55%), var(--bg);
}
.aurora i {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}
.aurora i:nth-child(1) {
  width: 520px;
  height: 520px;
  background: #3df59b22;
  top: -120px;
  right: 8%;
  animation: drift-1 26s ease-in-out infinite alternate;
}
.aurora i:nth-child(2) {
  width: 460px;
  height: 460px;
  background: #3adfd01c;
  top: 38%;
  left: -140px;
  animation: drift-2 32s ease-in-out infinite alternate;
}
.aurora i:nth-child(3) {
  width: 420px;
  height: 420px;
  background: #ffb03a14;
  bottom: -160px;
  right: 22%;
  animation: drift-3 38s ease-in-out infinite alternate;
}
@keyframes drift-1 {
  to {
    transform: translate(-160px, 140px) scale(1.15);
  }
}
@keyframes drift-2 {
  to {
    transform: translate(200px, -120px) scale(0.9);
  }
}
@keyframes drift-3 {
  to {
    transform: translate(-140px, -160px) scale(1.1);
  }
}
.cursor-glow {
  position: fixed;
  z-index: 1;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, #3df59b14 0%, transparent 65%);
  transform: translate(-50%, -50%);
  left: 0;
  top: 0;
  mix-blend-mode: screen;
}
.cursor-glow[hidden] {
  display: none;
}

/* Шапка */
.site-header {
  height: 99px;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 11, 9, 0.72);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 15;
}
.header-row {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -1px;
  white-space: nowrap;
}
.brand-mark {
  display: block;
  width: 31px;
  height: 35px;
  position: relative;
  font: 600 42px/0.7 var(--sans);
  color: var(--neon);
  text-shadow: 0 0 18px #3df59b66;
}
.brand-mark span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
  bottom: 1px;
  right: 0;
}
.desktop-nav {
  display: flex;
  gap: 30px;
  font-size: 13px;
  color: var(--muted);
}
.desktop-nav a {
  padding: 14px 0;
  transition: color 0.16s;
}
.desktop-nav a:hover,
.text-link:hover,
.footer-links a:hover {
  color: var(--neon);
}
.desktop-nav button {
  font-size: inherit;
  padding: 0;
  min-height: 44px;
  color: var(--muted);
}
.desktop-nav button:hover {
  color: var(--neon);
}
.desktop-nav a[aria-current="true"] {
  color: var(--neon);
}
.header-login {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 44px;
  border: 1px solid var(--panel-border);
  border-radius: 6px;
  padding: 0 18px;
  font-size: 12px;
  background: var(--panel);
  backdrop-filter: blur(10px);
  transition:
    border-color 0.16s,
    box-shadow 0.16s;
}
.header-login:hover {
  border-color: #3df59b55;
  box-shadow: 0 0 18px #3df59b22;
}
.header-login .icon {
  width: 17px;
}
.menu-toggle {
  display: none;
}
.mobile-menu[hidden] {
  display: none;
}

/* Первый экран */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding-top: 67px;
  padding-bottom: 68px;
  min-height: 703px;
  align-items: center;
}
.hero-copy {
  padding-bottom: 12px;
}
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  letter-spacing: 1.4px;
  color: var(--muted);
}
.beta {
  font-size: 9px;
  letter-spacing: 1px;
  border: 1px solid #3df59b44;
  color: var(--neon);
  padding: 3px 7px;
  border-radius: 3px;
  background: #3df59b0d;
}
h1 {
  font-size: 79px;
  line-height: 1.015;
  font-weight: 500;
  letter-spacing: -4.5px;
  margin-top: 29px;
}
h1 em,
h2 em {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  background: linear-gradient(100deg, var(--neon), var(--neon2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
h1 em {
  letter-spacing: -3.4px;
  filter: drop-shadow(0 0 22px #3df59b33);
}
.hero-description {
  margin-top: 25px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 23px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  transition:
    background 0.16s,
    box-shadow 0.16s;
  will-change: transform;
}
.button.primary {
  background: linear-gradient(100deg, var(--neon), #2bd989);
  color: #04120b;
  box-shadow: 0 0 24px #3df59b3d;
}
.button.primary:hover {
  box-shadow: 0 0 40px #3df59b66;
}
.button .icon {
  width: 19px;
  height: 19px;
}
.button .icon:last-child {
  margin-left: 6px;
  width: 18px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  min-height: 44px;
  padding: 0;
  color: var(--muted);
}
.text-link span {
  font-size: 18px;
}
.hero-note {
  font-size: 10px;
  color: var(--muted);
  margin-top: 16px;
}
.hero-visual {
  position: relative;
  height: 529px;
  isolation: isolate;
}
.visual-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  letter-spacing: 1.6px;
  color: var(--muted);
  position: absolute;
  top: 9px;
  left: 30px;
}
.tiny-line {
  display: block;
  width: 30px;
  height: 1px;
  background: #3df59b66;
}
.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(61, 245, 155, 0.12);
  z-index: -1;
  pointer-events: none;
  animation: orbit-breathe 9s ease-in-out infinite alternate;
}
.orbit-one {
  width: 440px;
  height: 440px;
  top: 50px;
  left: 45px;
}
.orbit-two {
  width: 500px;
  height: 500px;
  top: 20px;
  left: 15px;
  animation-delay: -4s;
}
@keyframes orbit-breathe {
  to {
    transform: scale(1.05);
    border-color: rgba(61, 245, 155, 0.22);
  }
}
.tilt-card {
  transition: transform 0.25s ease-out;
}
.overview-card {
  position: absolute;
  top: 63px;
  left: 90px;
  width: 365px;
  min-height: 371px;
  background: rgba(16, 26, 21, 0.82);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 26px 27px;
  box-shadow:
    0 24px 60px #00000066,
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  transform: rotate(-3deg);
}
.overview-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
}
.demo-tag {
  border: 1px solid var(--panel-border);
  border-radius: 3px;
  font: 8px var(--sans);
  letter-spacing: 1px;
  padding: 4px 5px;
  color: var(--muted);
}
.overview-period {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-top: 17px;
  color: var(--muted);
}
.spend-label {
  font-size: 10px;
  margin-top: 22px;
  color: var(--muted);
}
.spend-total {
  font-size: 39px;
  letter-spacing: -1.8px;
  margin-top: 5px;
}
.spend-total .rub {
  font-size: 28px;
  color: var(--muted);
}
.budget-progress {
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  margin-top: 15px;
  overflow: hidden;
}
.budget-progress span {
  display: block;
  width: 62%;
  height: 100%;
  background: linear-gradient(90deg, var(--neon), var(--neon2));
  border-radius: 5px;
  box-shadow: 0 0 10px #3df59b55;
}
.budget-caption {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--muted);
  margin-top: 7px;
}
.chart-bars {
  height: 93px;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-top: 16px;
  border-bottom: 1px solid var(--line);
}
.chart-bars > span {
  height: var(--bar);
  flex: 1;
  background: rgba(61, 245, 155, 0.18);
  border-radius: 4px 4px 0 0;
}
.chart-bars > .bar-active {
  background: linear-gradient(180deg, var(--neon), #1d9e63);
  box-shadow: 0 0 14px #3df59b44;
}
.chart-days {
  display: flex;
  justify-content: space-around;
  font-size: 8px;
  color: var(--muted);
  margin-top: 7px;
}
.expense-row {
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 19px;
  padding-top: 15px;
  font-size: 10px;
}
.expense-icon {
  background: rgba(61, 245, 155, 0.1);
  color: var(--neon);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
}
.expense-icon .icon {
  width: 17px;
}
.expense-row strong {
  font-weight: 500;
}
.expense-row small {
  display: block;
  margin-top: 3px;
  font-size: 8px;
  color: var(--muted);
}
.expense-row > strong {
  margin-left: auto;
}
.chat-card {
  position: absolute;
  left: 0;
  top: 224px;
  width: 256px;
  border: 1px solid var(--panel-border);
  border-radius: 11px;
  background: rgba(13, 21, 17, 0.9);
  transform: rotate(3deg);
  box-shadow: 0 24px 60px #00000066;
  backdrop-filter: blur(16px);
  overflow: hidden;
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.chat-avatar {
  border-radius: 50%;
  width: 32px;
  height: 32px;
  background: linear-gradient(120deg, var(--neon), var(--neon2));
  color: #04120b;
  display: grid;
  place-items: center;
  font: 23px var(--serif);
  box-shadow: 0 0 14px #3df59b55;
}
.chat-header strong {
  display: block;
  font-size: 11px;
}
.chat-header div > span {
  display: block;
  color: var(--muted);
  font-size: 8px;
  margin-top: 3px;
}
.chat-header > .icon {
  margin-left: auto;
  width: 17px;
  color: var(--neon);
}
.chat-content {
  padding: 10px 12px 11px;
  background: rgba(255, 255, 255, 0.025);
}
.chat-date {
  text-align: center;
  font-size: 8px;
  color: var(--muted);
  margin-bottom: 12px;
}
.outgoing {
  margin-left: 54px;
  background: linear-gradient(120deg, #1f7a52, #17603f);
  padding: 10px;
  border-radius: 9px 9px 0 9px;
  font-size: 13px;
  color: #eafff3;
}
.outgoing small {
  font-size: 7px;
  display: block;
  text-align: right;
  margin-top: 5px;
  color: #9fe6c3;
}
.incoming {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--panel-border);
  border-radius: 9px 9px 9px 0;
  margin-top: 9px;
  padding: 10px 11px;
  max-width: 179px;
}
.saved {
  color: var(--neon);
  font-size: 10px;
  display: flex;
  gap: 4px;
  align-items: center;
}
.saved .icon {
  width: 12px;
  height: 12px;
}
.incoming strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-top: 7px;
}
.incoming > span:not(.saved) {
  display: block;
  font-size: 10px;
  margin-top: 5px;
  color: var(--muted);
}
.incoming small {
  display: block;
  text-align: right;
  font-size: 7px;
  color: var(--muted);
  margin-top: 4px;
}
.chat-undo {
  display: flex;
  justify-content: space-around;
  border: 1px solid var(--panel-border);
  border-radius: 5px;
  font-size: 8px;
  padding: 8px 0;
  margin-top: 5px;
  color: var(--neon);
  max-width: 180px;
}
.chat-undo[hidden] {
  display: none;
}
.chat-input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  padding: 9px 12px;
  font-size: 9px;
  color: var(--muted);
  margin-top: 11px;
  display: flex;
  justify-content: space-between;
}
.chat-input > span:last-child {
  color: var(--neon);
}
.visual-footnote {
  position: absolute;
  bottom: 0;
  right: 15px;
  font-size: 10px;
  color: var(--muted);
}
.visual-footnote span {
  color: var(--amber);
  margin-right: 11px;
}
.hero-replay {
  position: absolute;
  right: 15px;
  top: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
}
.hero-replay:hover {
  color: var(--neon);
}
.hero-replay[hidden] {
  display: none;
}

/* Демо покупок */
.try-section {
  background: linear-gradient(160deg, #0c1a13 0%, #08110d 60%);
  border-block: 1px solid rgba(61, 245, 155, 0.14);
  padding: 86px 0;
  overflow: hidden;
}
.try-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 85px;
  align-items: center;
}
.try-copy h2 {
  font-size: 58px;
  line-height: 1.04;
  margin: 20px 0;
  letter-spacing: -2px;
}
.try-copy > p:not(.eyebrow) {
  color: var(--muted);
  max-width: 400px;
  font-size: 14px;
}
.try-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}
.try-choices button {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid var(--panel-border);
  border-radius: 6px;
  color: var(--ink);
  background: var(--panel);
  backdrop-filter: blur(8px);
  font-size: 12px;
  transition:
    transform 0.16s,
    border-color 0.16s,
    box-shadow 0.16s;
}
.try-choices button:hover {
  border-color: #3df59b66;
  box-shadow: 0 0 18px #3df59b26;
  transform: translateY(-3px);
}
.try-choices button span {
  color: var(--muted);
}
.try-choices button b {
  font-size: 18px;
  font-weight: 400;
  margin-left: 3px;
  color: var(--neon);
}
.try-choices button:disabled,
#demo-reset:disabled {
  opacity: 0.5;
  cursor: default;
}
.try-copy .try-hint {
  font-size: 10px !important;
  color: var(--muted) !important;
  margin-top: 18px;
}
.try-panel {
  background: rgba(16, 26, 21, 0.82);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(16px);
  border-radius: 12px;
  padding: 30px;
  min-height: 365px;
  box-shadow: 0 24px 60px #00000055;
}
.try-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--muted);
}
.try-panel-top i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon);
  margin-right: 7px;
}
.try-panel-top button {
  font-size: 10px;
  letter-spacing: 0;
  color: var(--neon);
  min-height: 44px;
}
.try-total-label {
  color: var(--muted);
  font-size: 11px;
  margin-top: 18px;
}
.try-total {
  font-size: 50px;
  letter-spacing: -2px;
  margin-top: 6px;
  text-shadow: 0 0 24px #3df59b26;
}
.try-total small {
  font-size: 30px;
  color: var(--muted);
}
.try-progress {
  height: 7px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-top: 16px;
}
.try-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--neon), var(--neon2));
  box-shadow: 0 0 10px #3df59b55;
  transition: width 0.35s;
}
.try-progress span.warn {
  background: linear-gradient(90deg, var(--amber), var(--danger));
  box-shadow: 0 0 10px #ffb03a55;
}
.try-caption {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  margin-top: 9px;
}
.try-warning {
  margin-top: 14px;
  border-left: 2px solid var(--amber);
  background: rgba(255, 176, 58, 0.09);
  color: var(--amber);
  font-size: 10px;
  line-height: 1.6;
  padding: 9px 12px;
  border-radius: 0 6px 6px 0;
  animation: try-appear 0.25s ease-out;
}
.try-history-title {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 18px;
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}
.try-history {
  min-height: 103px;
}
.try-empty {
  font-size: 12px;
  color: var(--muted);
  margin-top: 26px;
}
.try-empty span {
  font-size: 18px;
}
.try-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  animation: try-appear 0.25s ease-out;
}
.try-row-icon {
  width: 35px;
  height: 35px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: rgba(61, 245, 155, 0.1);
}
.try-row strong,
.try-row small {
  display: block;
}
.try-row strong {
  font-size: 12px;
  font-weight: 600;
}
.try-row small {
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.try-row > b {
  margin-left: auto;
  font-size: 12px;
  font-weight: 500;
  color: var(--amber);
}
.try-noscript {
  margin-top: 20px;
  color: var(--muted);
  font-size: 12px;
}
@keyframes try-appear {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Бегущая строка преимуществ */
.benefit-strip {
  border-block: 1px solid var(--line);
  overflow: hidden;
}
.marquee {
  display: flex;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-around;
  min-width: 100%;
  padding: 24px 0;
  gap: 40px;
  animation: marquee 22s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes marquee {
  to {
    transform: translateX(-100%);
  }
}
.marquee-track > span {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.marquee-track .icon {
  width: 20px;
  color: var(--neon);
}

/* Шаги */
.section {
  padding-top: 93px;
  padding-bottom: 96px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}
.section-heading h2 {
  margin-top: 15px;
}
.section-heading > p {
  font-size: 13px;
  color: var(--muted);
  padding-bottom: 3px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 49px;
}
.steps article {
  border-top: 1px solid var(--line);
  padding-top: 19px;
  transition: border-color 0.2s;
}
.steps article:hover {
  border-color: #3df59b55;
}
.step-number {
  font-size: 12px;
  color: var(--amber);
}
.steps h3 {
  font-size: 18px;
  letter-spacing: -0.3px;
  margin-top: 21px;
}
.steps p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}

/* Возможности */
.features-section {
  background: rgba(255, 255, 255, 0.015);
  padding: 82px 0 86px;
  border-block: 1px solid var(--line);
}
.feature-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 83px;
  margin-top: 50px;
}
.family-feature {
  padding: 30px 32px 0;
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  background: var(--panel);
  backdrop-filter: blur(12px);
  overflow: hidden;
}
.feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.feature-top > .icon {
  width: 24px;
  color: var(--neon);
}
.feature-top > span {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: var(--muted);
}
.family-feature h3 {
  font-size: 31px;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.9px;
  margin-top: 23px;
}
.family-feature > p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
}
.ledger-example {
  border: 1px solid var(--panel-border);
  background: rgba(10, 18, 14, 0.85);
  margin: 29px -6px -1px;
  border-radius: 10px 10px 0 0;
  padding: 19px 21px 5px;
  transform: rotate(-2deg);
  transform-origin: bottom left;
  box-shadow: 0 -8px 30px #00000044;
}
.ledger-example-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 15px;
}
.family-avatar {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  background: rgba(61, 245, 155, 0.12);
  color: var(--neon);
  border-radius: 6px;
  font-size: 9px;
}
.ledger-example-title strong {
  display: block;
  font-size: 12px;
}
.ledger-example-title small {
  font-size: 8px;
  color: var(--muted);
  display: block;
  margin-top: 3px;
}
.avatar-stack {
  display: flex;
  margin-left: auto;
}
.avatar-stack i {
  border: 2px solid #0a120e;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #1f7a52;
  font-size: 8px;
  font-style: normal;
}
.avatar-stack i + i {
  background: #8a6420;
  margin-left: -5px;
}
.ledger-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 13px 0;
  font-size: 10px;
}
.ledger-line > span {
  display: flex;
  align-items: center;
  gap: 11px;
}
.ledger-line b {
  display: inline-grid;
  place-items: center;
  width: 21px;
  height: 21px;
  font-size: 7px;
  border-radius: 50%;
}
.person-a {
  background: rgba(61, 245, 155, 0.16);
  color: var(--neon);
}
.person-m {
  background: rgba(255, 176, 58, 0.16);
  color: var(--amber);
}
.ledger-line strong {
  font-weight: 500;
}
.ledger-line.ledger-new {
  animation: ledger-in 0.45s ease-out;
}
@keyframes ledger-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
    background: rgba(61, 245, 155, 0.08);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.feature-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.feature-list article {
  display: flex;
  gap: 22px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
  transition: transform 0.2s ease;
}
.feature-list article:first-child {
  padding-top: 4px;
}
.feature-list article:last-child {
  border-bottom: 0;
  padding-bottom: 3px;
}
.feature-list article:hover {
  transform: translateX(6px);
}
.feature-list .icon {
  margin-top: 2px;
  color: var(--neon);
  width: 24px;
  height: 24px;
  transition: filter 0.2s;
}
.feature-list article:hover .icon {
  filter: drop-shadow(0 0 8px #3df59b88);
}
.feature-list h3 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.3px;
}
.feature-list p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}

/* Дашборд */
.dashboard-section {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 85px;
  align-items: center;
  padding-top: 104px;
  padding-bottom: 103px;
}
.dashboard-preview {
  border: 1px solid var(--panel-border);
  border-radius: 9px;
  overflow: hidden;
  background: rgba(13, 21, 17, 0.85);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px #00000055;
}
.browser-bar {
  height: 38px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
}
.browser-bar > span:first-child {
  display: flex;
  gap: 4px;
}
.browser-bar i {
  width: 5px;
  height: 5px;
  border: 1px solid var(--muted);
  border-radius: 50%;
}
.browser-bar small {
  font-size: 8px;
  color: var(--muted);
}
.dashboard-body {
  display: flex;
  min-height: 264px;
}
.mini-sidebar {
  width: 49px;
  border-right: 1px solid var(--line);
  padding: 15px 8px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-direction: column;
}
.mini-logo {
  font: 22px var(--serif);
  font-weight: 600;
  color: var(--neon);
  margin-bottom: 2px;
}
.mini-nav {
  display: grid;
  place-items: center;
  border-radius: 4px;
  padding: 5px;
}
.mini-nav .icon {
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.mini-nav.active {
  background: rgba(61, 245, 155, 0.12);
}
.mini-nav.active .icon {
  color: var(--neon);
}
.mini-content {
  padding: 24px 21px;
  flex: 1;
  min-width: 0;
}
.mini-heading {
  font-size: 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: -0.4px;
}
.mini-period {
  display: flex;
  gap: 5px;
}
.mini-period button {
  border: 1px solid var(--panel-border);
  border-radius: 4px;
  padding: 6px 10px;
  min-height: 32px;
  font-size: 9px;
  color: var(--muted);
  transition:
    background 0.16s,
    color 0.16s;
}
.mini-period button:not(:disabled):hover {
  background: rgba(61, 245, 155, 0.08);
  color: var(--ink);
}
.mini-period button.active {
  background: rgba(61, 245, 155, 0.14);
  color: var(--neon);
  font-weight: 600;
}
.mini-period button:disabled {
  cursor: default;
}
.mini-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}
.mini-kpis > div {
  font-size: 8px;
  color: var(--muted);
}
.mini-kpis strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  margin-top: 7px;
  white-space: nowrap;
}
.mini-chart {
  display: flex;
  gap: 25px;
  align-items: center;
  border-top: 1px solid var(--line);
  margin-top: 23px;
  padding-top: 20px;
}
.donut {
  border-radius: 50%;
  width: 108px;
  height: 108px;
  background: conic-gradient(
    #2bd989 0 50%,
    #3adfd0 50% 70%,
    #ffb03a 70% 85%,
    rgba(255, 255, 255, 0.14) 85%
  );
  display: grid;
  place-items: center;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 0 24px #3df59b22;
}
.donut:before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: #0d1511;
}
.donut span {
  z-index: 1;
  font-size: 7px;
  text-align: center;
  line-height: 1.8;
  color: var(--muted);
}
.donut strong {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink);
}
.mini-legend {
  flex: 1;
  font-size: 8px;
  color: var(--muted);
}
.mini-legend p {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  border-radius: 3px;
  cursor: default;
  transition: background 0.16s;
}
.mini-legend p:hover {
  background: rgba(61, 245, 155, 0.07);
}
.mini-legend i {
  width: 5px;
  height: 5px;
  background: #2bd989;
}
.mini-legend p:nth-child(2) i {
  background: #3adfd0;
}
.mini-legend p:nth-child(3) i {
  background: #ffb03a;
}
.mini-legend p:nth-child(4) i {
  background: rgba(255, 255, 255, 0.2);
}
.mini-legend b {
  margin-left: auto;
  font-weight: 400;
  color: var(--ink);
}
.dashboard-copy h2 {
  margin-top: 17px;
  font-size: 38px;
  line-height: 1.2;
  letter-spacing: -1.4px;
}
.dashboard-copy > p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
  margin-top: 20px;
}
.dashboard-copy > .text-link {
  margin-top: 17px;
  border-bottom: 1px solid #3df59b44;
}
.dashboard-copy .icon {
  width: 17px;
}
.preview-note {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 15px;
}

/* FAQ */
.faq-section {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 75px;
  padding-top: 76px;
  padding-bottom: 91px;
}
.faq-section h2 {
  font-size: 39px;
  margin-top: 16px;
}
.faq-section .text-link {
  margin-top: 25px;
  color: var(--neon);
}
.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;
  min-height: 67px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.6;
  padding: 16px 0;
  transition: color 0.16s;
}
.faq-list summary:hover {
  color: var(--neon);
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary > span {
  font-size: 20px;
  color: var(--neon);
  font-weight: 300;
  transition: transform 0.2s;
}
.faq-list details[open] summary > span {
  transform: rotate(45deg);
}
.faq-list details p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  padding: 0 25px 20px 0;
}
.faq-list a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--neon);
}
.faq-list code {
  color: var(--neon);
}

/* Финальный призыв */
.closing-section {
  background:
    radial-gradient(700px 320px at 80% 120%, #3df59b1f 0%, transparent 65%),
    linear-gradient(140deg, #0d2016 0%, #08120d 70%);
  border-top: 1px solid rgba(61, 245, 155, 0.16);
  overflow: hidden;
}
.closing-inner {
  position: relative;
  padding-block: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 319px;
  isolation: isolate;
}
.closing-inner h2 {
  font-size: 57px;
  font-weight: 400;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-top: 20px;
}
.closing-inner p:last-child {
  margin-top: 17px;
  font-size: 13px;
  color: var(--muted);
}
.closing-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-right: 54px;
  z-index: 1;
}
.button.light {
  background: linear-gradient(100deg, var(--neon), var(--neon2));
  color: #04120b;
  padding-inline: 26px;
  min-height: 56px;
  box-shadow: 0 0 30px #3df59b4d;
}
.button.light:hover {
  box-shadow: 0 0 48px #3df59b80;
}
.closing-action > span {
  font-size: 9px;
  color: var(--muted);
  margin-top: 14px;
}
.closing-monogram {
  position: absolute;
  right: 48px;
  bottom: -65px;
  font: 460px/0.9 var(--serif);
  color: rgba(61, 245, 155, 0.07);
  z-index: -1;
  letter-spacing: -35px;
  pointer-events: none;
}

/* Подвал */
.footer {
  padding-top: 41px;
  padding-bottom: 45px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}
.footer .brand {
  font-size: 22px;
}
.footer p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 14px;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 29px;
  font-size: 10px;
  color: var(--muted);
}
.footer-links button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0;
  font-size: 10px;
}
.footer-links .icon {
  width: 14px;
}
.review-note {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  background: rgba(255, 176, 58, 0.07);
  border-top: 1px dashed rgba(255, 176, 58, 0.3);
  padding: 12px 24px;
  font-size: 9px;
  color: var(--amber);
  line-height: 1.7;
}
.review-note > span:first-child {
  letter-spacing: 1.2px;
}
.review-note a {
  text-decoration: underline;
  color: inherit;
}

/* Диалоги */
dialog {
  width: min(440px, calc(100% - 32px));
  max-height: calc(100svh - 40px);
  overflow: auto;
  border: 1px solid var(--panel-border);
  border-radius: 13px;
  padding: 34px;
  background: rgba(13, 21, 17, 0.96);
  color: var(--ink);
  box-shadow: 0 24px 90px #000000aa;
  backdrop-filter: blur(18px);
}
dialog::backdrop {
  background: #020604d9;
  backdrop-filter: blur(4px);
}
.dialog-close {
  position: absolute;
  right: 14px;
  top: 10px;
  font-size: 27px;
  width: 44px;
  height: 44px;
  font-weight: 300;
}
.dialog-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(61, 245, 155, 0.12);
  color: var(--neon);
  border-radius: 10px;
  margin-bottom: 20px;
}
dialog h2 {
  font-size: 31px;
  line-height: 1.13;
  letter-spacing: -1px;
  margin-top: 12px;
}
dialog p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
  margin-top: 18px;
}
dialog .button {
  width: 100%;
  margin-top: 22px;
}
dialog small {
  display: block;
  font-size: 10px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 18px;
}
.command-copy {
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 5px 10px 5px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  margin-top: 20px;
  font-size: 13px;
}
.command-copy code {
  color: var(--neon);
}
.command-copy button {
  font-size: 11px;
  min-height: 44px;
  padding: 0 3px;
  color: var(--neon);
}
body.dialog-open {
  overflow: hidden;
}

/* Эффекты движения */
.msg-pop {
  animation: msg-pop 0.3s ease-out;
}
@keyframes msg-pop {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.chat-input-text.typing-on::after {
  content: "▏";
  color: var(--neon);
  animation: caret-blink 1s steps(1) infinite;
}
@keyframes caret-blink {
  50% {
    opacity: 0;
  }
}
.incoming.typing {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 12px 11px;
  width: max-content;
}
.incoming.typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--neon);
  animation: typing-dot 1s infinite;
}
.incoming.typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.incoming.typing i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes typing-dot {
  0%,
  100% {
    opacity: 0.35;
    transform: none;
  }
  40% {
    opacity: 1;
    transform: translateY(-2px);
  }
}
.budget-progress span {
  transition: width 0.5s ease;
}
.chart-bars > span {
  transition: height 0.5s ease;
}
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.js .reveal.revealed {
  opacity: 1;
  transform: none;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -70px;
  z-index: 20;
  background: var(--neon);
  color: #04120b;
  padding: 14px 20px;
  border-radius: 5px;
}
.skip-link:focus {
  top: 10px;
}

/* Адаптация */
@media (min-width: 1441px) {
  .wrap {
    width: min(1240px, calc(100% - 120px));
  }
  .hero {
    gap: 60px;
    min-height: 755px;
  }
  h1 {
    font-size: 87px;
  }
  .hero-visual {
    height: 555px;
  }
  .overview-card {
    left: 130px;
    width: 380px;
    top: 65px;
  }
  .chat-card {
    left: 25px;
    top: 250px;
  }
  .orbit-one {
    left: 85px;
  }
  .orbit-two {
    left: 55px;
  }
}
@media (max-width: 1150px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .desktop-nav {
    gap: 18px;
    font-size: 12px;
  }
  .hero {
    gap: 10px;
  }
  h1 {
    font-size: 70px;
  }
  .hero-visual {
    height: 510px;
  }
  .overview-card {
    width: 310px;
    left: 72px;
    padding: 23px;
    top: 67px;
  }
  .chat-card {
    width: 227px;
    top: 239px;
    left: 0;
  }
  .orbit-one {
    width: 370px;
    height: 370px;
    left: 25px;
    top: 85px;
  }
  .orbit-two {
    width: 420px;
    height: 420px;
    left: 0;
    top: 60px;
  }
  .hero-description {
    font-size: 14px;
  }
  .hero-actions {
    gap: 13px;
  }
  .hero-actions > .text-link {
    font-size: 10px;
  }
  .hero .eyebrow {
    font-size: 9px;
    gap: 9px;
  }
  .visual-label {
    font-size: 8px;
    left: 14px;
    letter-spacing: 1px;
  }
  .feature-showcase {
    gap: 48px;
  }
  .dashboard-section {
    gap: 45px;
  }
  .dashboard-copy h2 {
    font-size: 33px;
  }
  .mini-chart {
    gap: 15px;
  }
  .mini-kpis strong {
    font-size: 14px;
  }
  .mini-content {
    padding-inline: 16px;
  }
  .footer-links {
    gap: 18px;
  }
  .faq-section {
    gap: 45px;
  }
}
@media (max-width: 850px) {
  .desktop-nav {
    display: none;
  }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 45px;
    padding-top: 55px;
    padding-bottom: 42px;
  }
  .hero-copy,
  .hero-visual {
    min-width: 0;
  }
  .hero-copy {
    max-width: 580px;
  }
  .hero .eyebrow {
    font-size: 10px;
  }
  h1 {
    font-size: 80px;
  }
  .hero-description {
    font-size: 16px;
  }
  .hero-actions > .text-link {
    font-size: 12px;
  }
  .hero-visual {
    width: 510px;
    max-width: 100%;
    margin: auto;
    height: 520px;
  }
  .overview-card {
    left: 120px;
    top: 45px;
    width: 350px;
  }
  .chat-card {
    left: 20px;
    top: 220px;
    width: 250px;
  }
  .orbit-one {
    width: 420px;
    height: 420px;
    left: 55px;
    top: 50px;
  }
  .orbit-two {
    width: 470px;
    height: 470px;
    left: 30px;
    top: 25px;
  }
  .visual-label {
    top: 0;
    left: 40px;
  }
  .section {
    padding-block: 65px;
  }
  h2 {
    font-size: 38px;
  }
  .section-heading > p {
    font-size: 11px;
  }
  .steps {
    gap: 25px;
    margin-top: 35px;
  }
  .steps h3 {
    font-size: 15px;
  }
  .steps p {
    font-size: 12px;
  }
  .desktop-break {
    display: none;
  }
  .features-section {
    padding-block: 60px;
  }
  .feature-showcase {
    gap: 32px;
  }
  .family-feature {
    padding-inline: 23px;
  }
  .family-feature h3 {
    font-size: 26px;
  }
  .feature-list h3 {
    font-size: 15px;
  }
  .feature-list article {
    gap: 15px;
  }
  .feature-list p {
    font-size: 11px;
  }
  .dashboard-section {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .dashboard-preview {
    max-width: 550px;
    width: 100%;
  }
  .dashboard-copy h2 {
    font-size: 38px;
  }
  .dashboard-copy > p:not(.eyebrow) {
    font-size: 14px;
    max-width: 480px;
  }
  .mini-content {
    padding: 24px;
  }
  .mini-chart {
    gap: 30px;
  }
  .mini-kpis strong {
    font-size: 18px;
  }
  .mini-legend {
    font-size: 10px;
  }
  .faq-section {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 60px;
  }
  .faq-section h2 {
    font-size: 38px;
  }
  .faq-section .text-link {
    margin-top: 15px;
  }
  .faq-list summary {
    font-size: 14px;
  }
  .closing-inner h2 {
    font-size: 46px;
  }
  .closing-action {
    padding-right: 0;
  }
  .closing-monogram {
    right: 10px;
  }
  .closing-inner {
    min-height: 300px;
  }
  .footer {
    align-items: flex-start;
  }
  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .footer-links button {
    min-height: 28px;
  }
  .footer-links a {
    padding-block: 7px;
  }
  .try-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .try-section {
    padding: 60px 0;
  }
  .try-copy h2 {
    font-size: 45px;
  }
}
@media (max-width: 540px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 77px;
  }
  .header-row {
    gap: 14px;
  }
  .brand {
    font-size: 22px;
    gap: 9px;
  }
  .brand-mark {
    width: 28px;
    font-size: 38px;
    height: 31px;
  }
  .header-login {
    margin-left: auto;
    border: 0;
    padding: 0;
    font-size: 11px;
    gap: 4px;
    background: none;
  }
  .header-login > .icon {
    display: none;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 10px;
  }
  .menu-toggle span {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--ink);
  }
  .mobile-menu {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: rgba(6, 11, 9, 0.97);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    padding: 14px 20px;
    z-index: 10;
    box-shadow: 0 15px 20px #00000055;
  }
  .mobile-menu a,
  .mobile-menu button {
    display: block;
    min-height: 46px;
    width: 100%;
    text-align: left;
    padding: 14px 0;
    font-size: 14px;
  }
  .hero {
    padding-top: 34px;
    gap: 27px;
    padding-bottom: 31px;
  }
  .hero-copy {
    padding-bottom: 0;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
    gap: 10px;
  }
  .beta {
    font-size: 8px;
    padding: 2px 6px;
  }
  h1 {
    font-size: 59px;
    line-height: 1.03;
    letter-spacing: -3.2px;
    margin-top: 23px;
  }
  h1 em {
    letter-spacing: -2px;
  }
  .hero-description {
    font-size: 14px;
    line-height: 1.75;
    margin-top: 22px;
    max-width: 355px;
  }
  .hero-actions {
    margin-top: 24px;
    gap: 7px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-actions .button {
    min-height: 53px;
    padding: 0 21px;
    font-size: 13px;
    width: 100%;
    justify-content: center;
  }
  .hero-actions .button .icon:last-child {
    margin-left: 9px;
  }
  .hero-actions > .text-link {
    font-size: 11px;
    min-height: 42px;
  }
  .hero-note {
    font-size: 9px;
    line-height: 1.6;
    margin-top: 3px;
    max-width: 310px;
  }
  .hero-visual {
    height: 456px;
    width: 350px;
    max-width: 100%;
    margin-top: 7px;
  }
  .visual-label {
    font-size: 7px;
    letter-spacing: 1px;
    left: 4px;
    top: 0;
    gap: 7px;
  }
  .tiny-line {
    width: 19px;
  }
  .overview-card {
    width: 265px;
    left: auto;
    right: 2px;
    top: 40px;
    padding: 20px;
    min-height: 337px;
    transform: rotate(-3deg);
  }
  .overview-top {
    font-size: 11px;
  }
  .overview-period {
    margin-top: 13px;
    font-size: 9px;
  }
  .spend-label {
    margin-top: 16px;
    font-size: 9px;
  }
  .spend-total {
    font-size: 32px;
  }
  .spend-total .rub {
    font-size: 23px;
  }
  .budget-caption {
    font-size: 8px;
  }
  .chart-bars {
    height: 73px;
    gap: 10px;
  }
  .expense-row {
    margin-top: 16px;
    padding-top: 11px;
    font-size: 9px;
  }
  .expense-row small {
    font-size: 7px;
  }
  .overview-top .demo-tag {
    font-size: 6px;
  }
  .chat-card {
    width: 210px;
    left: 0;
    top: 193px;
  }
  .chat-header {
    padding: 10px 12px;
  }
  .chat-avatar {
    width: 27px;
    height: 27px;
    font-size: 20px;
  }
  .chat-content {
    padding: 8px 10px;
  }
  .chat-date {
    font-size: 7px;
    margin-bottom: 8px;
  }
  .outgoing {
    font-size: 11px;
    padding: 8px;
  }
  .incoming {
    padding: 8px;
    max-width: 155px;
  }
  .incoming strong {
    font-size: 11px;
  }
  .incoming > span:not(.saved) {
    font-size: 9px;
  }
  .incoming small {
    margin-top: 2px;
  }
  .chat-undo {
    font-size: 7px;
    padding-block: 7px;
    max-width: 155px;
  }
  .chat-input {
    font-size: 8px;
    padding: 8px 10px;
    margin-top: 9px;
  }
  .orbit-one {
    width: 300px;
    height: 300px;
    left: 20px;
    top: 55px;
  }
  .orbit-two {
    width: 330px;
    height: 330px;
    left: 5px;
    top: 40px;
  }
  .visual-footnote {
    font-size: 8px;
    right: 0;
    bottom: 0;
  }
  .visual-footnote span {
    margin-right: 7px;
  }
  .marquee-track > span {
    font-size: 12px;
    gap: 12px;
  }
  .marquee-track .icon {
    width: 19px;
  }
  .section {
    padding-block: 53px;
  }
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.3px;
  }
  h2 {
    font-size: 36px;
    letter-spacing: -1.3px;
  }
  .section-heading h2 {
    margin-top: 13px;
  }
  .section-heading > p {
    font-size: 12px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 30px;
  }
  .steps article {
    padding-top: 15px;
    display: grid;
    grid-template-columns: 32px 1fr;
    column-gap: 8px;
  }
  .step-number {
    grid-column: 1;
    grid-row: 1 / 3;
    padding-top: 1px;
  }
  .steps h3 {
    margin-top: 0;
    font-size: 17px;
  }
  .steps p {
    grid-column: 2;
    margin-top: 7px;
    font-size: 12px;
    max-width: 270px;
  }
  .features-section {
    padding-block: 48px;
  }
  .feature-showcase {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
  }
  .family-feature {
    padding: 25px 24px 0;
  }
  .family-feature h3 {
    font-size: 30px;
    margin-top: 21px;
  }
  .family-feature > p {
    font-size: 12px;
    max-width: 280px;
  }
  .feature-top > span {
    font-size: 8px;
  }
  .ledger-example {
    margin-top: 25px;
    padding: 17px 17px 5px;
  }
  .feature-list article {
    padding: 22px 0;
    gap: 17px;
  }
  .feature-list h3 {
    font-size: 16px;
  }
  .feature-list p {
    font-size: 12px;
  }
  .feature-list article:last-child {
    padding-bottom: 0;
  }
  .dashboard-section {
    padding-block: 54px;
    gap: 29px;
  }
  .dashboard-copy h2 {
    font-size: 34px;
    letter-spacing: -1.1px;
    margin-top: 13px;
  }
  .dashboard-copy > p:not(.eyebrow) {
    font-size: 13px;
    margin-top: 17px;
  }
  .dashboard-copy > .text-link {
    margin-top: 11px;
  }
  .dashboard-copy .eyebrow {
    font-size: 8px;
  }
  .preview-note {
    font-size: 8px;
  }
  .browser-bar {
    height: 30px;
    padding-inline: 10px;
  }
  .browser-bar small {
    font-size: 7px;
  }
  .dashboard-body {
    min-height: 229px;
  }
  .mini-sidebar {
    width: 35px;
    padding-inline: 4px;
    gap: 11px;
  }
  .mini-logo {
    font-size: 18px;
  }
  .mini-nav .icon {
    width: 13px;
    height: 13px;
  }
  .mini-content {
    padding: 19px 13px;
  }
  .mini-heading {
    font-size: 14px;
  }
  .mini-period button {
    font-size: 8px;
    padding: 5px 8px;
  }
  .mini-kpis {
    gap: 6px;
    margin-top: 21px;
  }
  .mini-kpis > div {
    font-size: 7px;
  }
  .mini-kpis strong {
    font-size: 13px;
    margin-top: 6px;
  }
  .mini-chart {
    gap: 14px;
    margin-top: 20px;
    padding-top: 15px;
  }
  .donut {
    width: 88px;
    height: 88px;
  }
  .donut:before {
    inset: 14px;
  }
  .donut span {
    font-size: 6px;
  }
  .donut strong {
    font-size: 10px;
  }
  .mini-legend {
    font-size: 7px;
  }
  .mini-legend p {
    gap: 4px;
    padding-block: 4px;
  }
  .mini-legend i {
    width: 4px;
    height: 4px;
  }
  .faq-section {
    padding-block: 48px;
    gap: 26px;
  }
  .faq-section h2 {
    font-size: 34px;
  }
  .faq-list summary {
    font-size: 12px;
    min-height: 65px;
    gap: 12px;
  }
  .faq-list details p {
    font-size: 12px;
    padding-right: 10px;
  }
  .closing-inner {
    flex-direction: column;
    align-items: flex-start;
    padding-block: 45px;
    gap: 27px;
  }
  .closing-inner h2 {
    font-size: 46px;
    margin-top: 17px;
  }
  .closing-inner p:last-child {
    font-size: 12px;
    margin-top: 16px;
  }
  .closing-action {
    width: 100%;
    align-items: flex-start;
  }
  .closing-action .button {
    width: 100%;
  }
  .closing-action > span {
    align-self: center;
  }
  .closing-monogram {
    font-size: 350px;
    right: 15px;
    bottom: 4px;
    opacity: 0.65;
  }
  .footer {
    padding-top: 31px;
    padding-bottom: 30px;
    flex-direction: column;
    gap: 21px;
  }
  .footer p {
    font-size: 10px;
    margin-top: 10px;
  }
  .footer-links {
    width: 100%;
    gap: 9px;
    font-size: 11px;
  }
  .footer-links button {
    font-size: 12px;
    min-height: 44px;
  }
  .footer-links a {
    font-size: 11px;
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0;
  }
  .footer-links > span {
    font-size: 9px;
  }
  .review-note {
    padding: 12px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    font-size: 8px;
  }
  dialog {
    padding: 28px;
  }
  dialog h2 {
    font-size: 28px;
  }
  .command-copy button {
    font-size: 10px;
  }
  .try-section {
    padding: 48px 0;
  }
  .try-copy h2 {
    font-size: 40px;
  }
  .try-copy > p:not(.eyebrow) {
    font-size: 13px;
  }
  .try-choices {
    display: grid;
    grid-template-columns: 1fr;
  }
  .try-choices button {
    justify-content: space-between;
  }
  .try-panel {
    padding: 23px;
    min-height: 330px;
  }
  .try-total {
    font-size: 43px;
  }
}
@media (max-width: 360px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .header-login {
    font-size: 10px;
  }
  .brand {
    font-size: 20px;
  }
  .header-row {
    gap: 7px;
  }
  h1 {
    font-size: 52px;
  }
  .hero .eyebrow {
    font-size: 7px;
    letter-spacing: 0.6px;
  }
  .overview-card {
    width: 241px;
    right: 1px;
  }
  .chat-card {
    width: 191px;
  }
  .hero-visual {
    height: 448px;
  }
  .orbit-two {
    width: 285px;
    height: 285px;
    left: 0;
  }
  .orbit-one {
    width: 265px;
    height: 265px;
    left: 10px;
  }
  .mini-kpis strong {
    font-size: 11px;
  }
  .mini-chart {
    gap: 8px;
  }
  .mini-legend {
    font-size: 6px;
  }
  .visual-label {
    font-size: 6px;
  }
  .hero-description {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
  .js .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Cobalt-inspired visual direction */
:root {
  --bg: #090b11;
  --bg2: #0d1019;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-border: rgba(194, 203, 255, 0.13);
  --ink: #f5f6fc;
  --muted: #9b9eaf;
  --line: rgba(194, 203, 255, 0.11);
  --neon: #b1a8ff;
  --neon2: #7ca7ff;
  --amber: #c1b9ff;
  --sans: Inter, Arial, sans-serif;
  --serif: Inter, Arial, sans-serif;
}
body {
  background: #090b11;
}
.aurora {
  opacity: 0.38;
  filter: hue-rotate(135deg);
}
.cursor-glow {
  opacity: 0.2;
  filter: hue-rotate(135deg);
}
.site-header {
  height: 84px;
  background: rgba(9, 11, 17, 0.82);
}
.brand-mark {
  color: #c4bdff;
  text-shadow: none;
}
.brand-mark span {
  background: #8ba8ff;
}
.header-login {
  border-radius: 8px;
  background: #f4f3ff;
  color: #171522;
  font-weight: 600;
}
.header-login:hover {
  border-color: #fff;
  box-shadow: 0 0 24px #a79aff33;
}
.hero {
  display: flex;
  flex-direction: column;
  gap: 44px;
  padding-top: 103px;
  padding-bottom: 75px;
  min-height: 0;
  text-align: center;
}
.hero-copy {
  max-width: 850px;
  padding: 0;
}
.hero .eyebrow {
  justify-content: center;
  color: #bbb6df;
  font-size: 10px;
}
.beta {
  border-radius: 20px;
  color: #d8d4ff;
  background: #242139;
  border-color: #7770a5;
}
h1 {
  font-size: clamp(58px, 6.2vw, 88px);
  line-height: 1.04;
  letter-spacing: -0.065em;
  font-weight: 550;
  margin-top: 28px;
}
h1 em,
h2 em {
  font-family: var(--sans);
  font-style: normal;
  font-weight: inherit;
  letter-spacing: inherit;
  background: linear-gradient(100deg, #c9c4ff, #829eff);
  background-clip: text;
  -webkit-background-clip: text;
  filter: none;
}
.hero-description {
  max-width: 570px;
  margin: 25px auto 0;
  font-size: 17px;
  line-height: 1.65;
}
.hero-actions {
  justify-content: center;
  margin-top: 30px;
}
.button {
  border-radius: 8px;
}
.button.primary {
  background: #e6e2ff;
  color: #181526;
  box-shadow: 0 0 35px #8d7fff33;
}
.button.primary:hover {
  background: #fff;
  box-shadow: 0 0 40px #8d7fff55;
}
.hero-note {
  margin-top: 13px;
}
.hero-visual {
  width: min(850px, 100%);
  height: 450px;
  margin: 0 auto;
  border: 1px solid #ffffff19;
  border-radius: 18px;
  background: radial-gradient(ellipse at 50% 100%, #343264 0%, #191c32 42%, #10131e 78%);
  box-shadow:
    0 28px 90px #0008,
    inset 0 1px #ffffff12;
  overflow: hidden;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#ffffff08 1px, transparent 1px),
    linear-gradient(90deg, #ffffff08 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(transparent, #000);
  pointer-events: none;
}
.visual-label {
  top: 24px;
  left: 28px;
  color: #a6a8be;
}
.tiny-line {
  background: #a69cff;
}
.orbit {
  border-color: #b1a8ff1c;
}
.orbit-one {
  left: calc(50% - 220px);
  top: 35px;
}
.orbit-two {
  left: calc(50% - 250px);
  top: 5px;
}
.overview-card {
  top: 36px;
  left: calc(50% - 170px);
  width: 365px;
  min-height: 371px;
  background: #181b29f2;
  border-color: #ffffff20;
  border-radius: 12px;
  transform: none !important;
  text-align: left;
}
.chat-card {
  left: calc(50% + 95px);
  top: 157px;
  width: 245px;
  background: #202337f5;
  transform: none !important;
  text-align: left;
}
.outgoing {
  background: #514b91;
}
.chart-bars > span {
  background: #9a91e33b;
}
.chart-bars > .bar-active {
  background: linear-gradient(#c2b9ff, #7871ce);
  box-shadow: 0 0 14px #a99fff44;
}
.expense-icon {
  background: #aaa0ff1c;
}
.visual-footnote {
  bottom: 19px;
  right: 25px;
}
.hero-replay {
  top: 11px;
  right: 24px;
}
.try-section,
.features-section {
  background: #0d1019;
}
.family-feature,
.try-panel,
.dashboard-preview {
  border-color: #ffffff1c;
}
.section {
  padding-block: 110px;
}
.steps {
  gap: 16px;
}
.steps article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #11141e;
}
.steps article:hover {
  background: #171a28;
}
.closing-section {
  background: radial-gradient(ellipse at 80% 100%, #29264c 0%, transparent 55%), #11131f;
  border-top: 1px solid #ffffff1a;
  color: var(--ink);
}
.closing-inner .eyebrow {
  color: #c6bfff;
}
.closing-inner p:last-child,
.closing-action > span {
  color: #b8bacb;
}
.closing-monogram {
  color: rgba(177, 168, 255, 0.08);
}
.closing-action .button.light {
  background: #e6e2ff;
  color: #181526;
  box-shadow: 0 0 30px #8d7fff33;
}
.closing-action .button.light:hover {
  background: #fff;
  box-shadow: 0 0 40px #8d7fff55;
}
.features-intro {
  max-width: 430px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}
.mobile-menu {
  background: #10121c;
}
@media (max-width: 850px) {
  .hero {
    padding-top: 80px;
    gap: 38px;
  }
  .hero-copy {
    max-width: 100%;
  }
  .hero-visual {
    width: 100%;
    max-width: 700px;
    height: 440px;
  }
  .overview-card {
    left: calc(50% - 180px);
    top: 36px;
    width: 350px;
  }
  .chat-card {
    left: calc(50% + 70px);
    top: 155px;
    width: 235px;
  }
  .orbit-one {
    left: calc(50% - 210px);
    top: 35px;
  }
  .orbit-two {
    left: calc(50% - 235px);
    top: 10px;
  }
  .section {
    padding-block: 75px;
  }
}
@media (max-width: 540px) {
  .site-header {
    height: 72px;
  }
  .header-login {
    background: none;
    color: var(--ink);
  }
  .mobile-menu {
    top: 71px;
  }
  .hero {
    padding-top: 68px;
    padding-bottom: 55px;
    gap: 35px;
  }
  .hero .eyebrow {
    font-size: 9px;
  }
  h1 {
    font-size: clamp(43px, 11vw, 59px);
    letter-spacing: -0.055em;
    margin-top: 24px;
  }
  .hero-description {
    margin-top: 21px;
    font-size: 15px;
  }
  .hero-actions {
    align-items: center;
    gap: 6px;
  }
  .hero-actions .button {
    width: auto;
    min-width: 210px;
  }
  .hero-note {
    max-width: none;
    margin-top: 5px;
  }
  .hero-visual {
    height: 400px;
    margin-top: 0;
  }
  .visual-label {
    left: 16px;
    top: 18px;
    font-size: 7px;
  }
  .overview-card {
    top: 42px;
    left: 20px;
    right: auto;
    width: min(265px, 75%);
  }
  .chat-card {
    left: auto;
    right: 12px;
    top: 190px;
    width: 190px;
  }
  .hero-replay {
    right: 12px;
    top: 5px;
    font-size: 9px;
  }
  .visual-footnote {
    display: none;
  }
  .steps article {
    padding: 25px;
  }
}

/* Keep the caption below the illustrated cards. */
.hero-visual {
  height: 500px;
}
.hero-visual .visual-footnote {
  bottom: 18px;
  left: 28px;
  right: 28px;
  text-align: center;
}
.dashboard-screenshot {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 850px) {
  .hero-visual {
    height: 500px;
  }
}
@media (max-width: 540px) {
  .hero-visual {
    height: 510px;
  }
  .hero-visual .visual-footnote {
    display: block;
    bottom: 16px;
    left: 12px;
    right: 12px;
    font-size: 10px;
  }
}

/* Readable FAQ text at all screen sizes. */
.faq-list summary {
  font-size: 17px;
}
.faq-list details p {
  font-size: 15px;
}
@media (max-width: 540px) {
  .faq-list summary {
    font-size: 16px;
  }
  .faq-list details p {
    font-size: 14px;
  }
}

.language-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.language-switch:hover {
  color: var(--ink);
}
@media (max-width: 850px) {
  .language-switch {
    margin-left: auto;
  }
}
@media (max-width: 540px) {
  .header-row {
    gap: 6px;
  }
  .header-login {
    margin-left: 0;
  }
  .language-switch {
    min-width: 38px;
  }
}
