:root {
  --bg: #06111d;
  --bg-soft: #0a1626;
  --surface: rgba(10, 22, 38, 0.78);
  --surface-strong: #0d1b2c;
  --surface-muted: #102235;
  --text: #eef7f5;
  --muted: #8ca3a8;
  --primary: #19d8a2;
  --primary-strong: #10b986;
  --secondary: #0ed2bb;
  --secondary-strong: #10a894;
  --accent: #8fffe0;
  --line: rgba(143, 255, 224, 0.12);
  --line-strong: rgba(143, 255, 224, 0.22);
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.36);
  --shadow-soft: 0 16px 42px rgba(0, 0, 0, 0.28);
  --radius-hero: 36px;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --content-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(25, 216, 162, 0.16), transparent 24%),
    radial-gradient(circle at top right, rgba(14, 210, 187, 0.14), transparent 28%),
    radial-gradient(circle at 50% 20%, rgba(38, 108, 93, 0.18), transparent 34%),
    linear-gradient(180deg, #06101b 0%, var(--bg) 100%);
  font-family: "Trebuchet MS", "Avenir Next", "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.page-shell {
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
  padding: 24px 0 108px;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px;
  border: 1px solid rgba(143, 255, 224, 0.12);
  border-radius: 999px;
  background: rgba(8, 19, 31, 0.78);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 44px;
  flex-shrink: 0;
}

.brand-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  white-space: nowrap;
}

.brand-word {
  display: inline-block;
}

.brand-word-light {
  color: #f6faf9;
}

.brand-word-accent {
  color: var(--primary);
}

.site-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: nowrap;
  min-width: 0;
}

.nav-toggle-button {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(143, 255, 224, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.nav-toggle-button:hover {
  border-color: rgba(143, 255, 224, 0.26);
  background: rgba(255, 255, 255, 0.07);
}

.nav-toggle-button span {
  display: block;
  width: 18px;
  height: 2px;
  flex-shrink: 0;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-button.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle-button.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle-button.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav a,
.footer-links a,
.legal-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.site-nav a:hover,
.footer-links a:hover,
.legal-links a:hover {
  color: var(--text);
}

.header-cta {
  flex-shrink: 0;
}

.section {
  margin-top: 36px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: 44px;
  align-items: center;
  padding: 48px;
  border: 1px solid rgba(143, 255, 224, 0.12);
  border-radius: var(--radius-hero);
  background:
    linear-gradient(135deg, rgba(8, 20, 31, 0.96) 0%, rgba(11, 26, 40, 0.92) 52%, rgba(7, 34, 31, 0.92) 100%);
  box-shadow: var(--shadow);
}

.hero-copy,
.overview-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(3.1rem, 6vw, 5.7rem);
  line-height: 0.94;
}

h2 {
  font-size: clamp(2rem, 3.2vw, 3.45rem);
  line-height: 1;
}

h3 {
  font-size: 1.24rem;
  line-height: 1.2;
}

p,
li,
summary,
small {
  color: var(--muted);
  line-height: 1.72;
}

p {
  margin: 0;
}

.hero-lead {
  margin-top: 20px;
  max-width: 42rem;
  font-size: 1.12rem;
}

.hero-actions,
.pricing-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #03251b;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  box-shadow: 0 18px 38px rgba(25, 216, 162, 0.22);
}

.button-primary:hover {
  box-shadow: 0 22px 42px rgba(25, 216, 162, 0.28);
}

.button-secondary {
  color: var(--text);
  border-color: rgba(143, 255, 224, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.button-secondary:hover {
  border-color: rgba(143, 255, 224, 0.26);
  background: rgba(255, 255, 255, 0.07);
}

.hero-points,
.check-list,
.inline-list,
.step-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.hero-points li,
.check-list li,
.inline-list li,
.step-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text);
}

.hero-points li::before,
.check-list li::before,
.inline-list li::before,
.step-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  box-shadow: 0 0 14px rgba(25, 216, 162, 0.4);
}

.hero-visual {
  display: grid;
  place-items: center;
  min-height: 100%;
}

.hero-stage {
  position: relative;
  width: min(100%, 500px);
  padding: 34px 20px;
}

.phone-mock,
.stat-card,
.dashboard-card,
.step-showcase,
.feature-card,
.faq-item,
.legal-sidebar,
.contact-card,
.legal-card,
.pricing-card,
.final-cta-card,
.floating-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(13, 27, 44, 0.88);
  box-shadow: var(--shadow-soft);
}

.phone-mock {
  position: relative;
  z-index: 2;
  width: min(100%, 360px);
  margin: 0 auto;
  overflow: hidden;
  padding: 0;
  border-radius: 30px;
  background: #182533;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.34);
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.03);
}

.phone-avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(25, 216, 162, 0.95) 0%, rgba(14, 210, 187, 0.72) 100%);
  color: #03251b;
  font-size: 0.82rem;
  font-weight: 900;
}

.phone-meta {
  display: grid;
  gap: 2px;
}

.phone-title {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.phone-subtitle {
  color: rgba(238, 247, 245, 0.62);
  font-size: 12px;
}

.chat-flow {
  display: grid;
  gap: 12px;
  padding: 16px 18px 18px;
  background:
    radial-gradient(circle at top right, rgba(25, 216, 162, 0.08), transparent 36%),
    linear-gradient(180deg, #152333 0%, #10202d 100%);
}

.bubble,
.inline-actions,
.insight-card,
.wallet-card,
.bar-card,
.goal-copy,
.goal-ring {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
}

.bubble {
  display: grid;
  gap: 4px;
  max-width: 88%;
  padding: 12px 14px 10px;
  line-height: 1.52;
  font-size: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.bubble-user {
  justify-self: end;
  background: linear-gradient(135deg, rgba(25, 216, 162, 0.22) 0%, rgba(7, 51, 48, 0.68) 100%);
  border-bottom-right-radius: 10px;
}

.bubble-bot {
  justify-self: start;
  background: rgba(255, 255, 255, 0.05);
  border-bottom-left-radius: 10px;
}

.bubble-bot span {
  display: block;
}

.bubble-time {
  margin-top: 4px;
  color: rgba(238, 247, 245, 0.48);
  font-size: 11px;
  justify-self: end;
}

.bubble strong,
.insight-card strong,
.floating-card strong,
.dashboard-card strong,
.wallet-card strong,
.goal-copy strong,
.stat-card strong,
.feature-card h3,
.step-copy h3 {
  color: var(--text);
}

.phone-date-chip {
  justify-self: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(238, 247, 245, 0.72);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.telegram-keyboard {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.telegram-keyboard span,
.capture-confirm span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(143, 255, 224, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.telegram-media-card {
  padding: 14px;
  border: 1px solid rgba(143, 255, 224, 0.12);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(25, 216, 162, 0.14) 0%, rgba(255, 255, 255, 0.04) 100%);
}

.telegram-media-pill,
.capture-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(143, 255, 224, 0.1);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.telegram-media-card p {
  margin-top: 10px;
  color: var(--text);
  font-size: 13px;
}

.insight-label,
.stat-label,
.dashboard-label,
.mini-label,
.feature-icon,
.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(143, 255, 224, 0.08);
}

.insight-card strong,
.floating-card strong,
.dashboard-card strong,
.stat-card strong {
  display: block;
  margin-top: 12px;
  font-size: 1.28rem;
  line-height: 1.14;
}

.insight-card p,
.floating-card p,
.dashboard-card p,
.stat-card p {
  margin-top: 8px;
}

.floating-card {
  position: absolute;
  z-index: 1;
  width: 230px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(13, 27, 44, 0.98) 0%, rgba(9, 35, 34, 0.92) 100%);
}

.floating-card-top {
  top: 10px;
  left: 0;
}

.floating-card-bottom {
  right: 0;
  bottom: 28px;
}

.stat-strip,
.feature-grid,
.legal-grid,
.contacts-grid {
  display: grid;
  gap: 18px;
}

.stat-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card {
  padding: 24px;
  background: linear-gradient(180deg, rgba(13, 27, 44, 0.95) 0%, rgba(7, 29, 28, 0.88) 100%);
}

.split-overview {
  display: block;
  max-width: 820px;
}

.overview-dashboard {
  display: grid;
  gap: 18px;
}

.dashboard-card {
  padding: 22px;
  background: linear-gradient(180deg, rgba(13, 27, 44, 0.95) 0%, rgba(10, 34, 31, 0.9) 100%);
}

.dashboard-card-tall {
  min-height: 180px;
}

.dashboard-card-accent {
  background: linear-gradient(180deg, rgba(15, 58, 50, 0.96) 0%, rgba(13, 27, 44, 0.92) 100%);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.steps-layout {
  display: grid;
  gap: 22px;
  margin-top: 26px;
}

.step-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr);
  gap: 22px;
  align-items: center;
  padding: 24px;
}

.step-copy {
  min-width: 0;
}

.step-copy p,
.step-copy ul {
  margin-top: 14px;
}

.step-visual {
  min-height: 180px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(25, 216, 162, 0.05) 100%);
  padding: 18px;
}

.step-visual-wallets {
  display: grid;
  gap: 12px;
}

.step-visual-capture {
  display: grid;
  gap: 14px;
  align-content: center;
}

.capture-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
}

.voice-row,
.scan-row,
.capture-confirm {
  display: flex;
  align-items: center;
}

.voice-row {
  gap: 12px;
  margin-top: 14px;
}

.voice-mic {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  box-shadow: 0 0 18px rgba(25, 216, 162, 0.28);
}

.voice-wave {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1 1 auto;
}

.voice-wave i {
  display: block;
  width: 4px;
  border-radius: 999px;
  background: rgba(25, 216, 162, 0.92);
}

.voice-wave i:nth-child(1) { height: 12px; }
.voice-wave i:nth-child(2) { height: 22px; }
.voice-wave i:nth-child(3) { height: 16px; }
.voice-wave i:nth-child(4) { height: 24px; }
.voice-wave i:nth-child(5) { height: 14px; }
.voice-wave i:nth-child(6) { height: 18px; }

.voice-time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.capture-card p {
  margin-top: 12px;
  color: var(--text);
}

.scan-row {
  gap: 12px;
  margin-top: 14px;
}

.scan-thumb {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 16px;
  border: 1px solid rgba(143, 255, 224, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(143, 255, 224, 0.06) 100%),
    repeating-linear-gradient(180deg, rgba(6, 17, 29, 0.56) 0 8px, rgba(255, 255, 255, 0.02) 8px 16px);
}

.scan-copy {
  display: grid;
  gap: 4px;
}

.scan-copy strong {
  color: var(--text);
}

.scan-copy span {
  color: var(--muted);
  font-size: 13px;
}

.capture-confirm {
  gap: 8px;
  margin-top: 14px;
}

.capture-confirm span {
  flex: 1 1 0;
}

.wallet-card {
  padding: 16px;
}

.wallet-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.wallet-card strong {
  display: block;
  margin-top: 10px;
  font-size: 1.2rem;
}

.step-visual-bars {
  display: grid;
  gap: 14px;
  align-content: center;
}

.bar-card {
  padding: 14px;
}

.bar-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
}

.bar-track {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.bar-track i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  box-shadow: 0 0 14px rgba(25, 216, 162, 0.4);
}

.step-visual-goals {
  display: grid;
  align-items: center;
  justify-items: center;
  gap: 18px;
}

.step-visual-report {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 16px;
  align-content: end;
  min-height: 260px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(25, 216, 162, 0.05) 100%),
    repeating-linear-gradient(
      to top,
      transparent 0 47px,
      rgba(255, 255, 255, 0.05) 47px 48px
    );
}

.report-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: end;
  min-height: 190px;
}

.report-column {
  display: grid;
  justify-items: center;
  align-items: end;
  gap: 10px;
}

.report-bar {
  display: block;
  width: min(86px, 100%);
  height: var(--bar-height, 120px);
  min-height: 42px;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.report-bar-income {
  background: linear-gradient(180deg, #3cf0c1 0%, #14b989 100%);
}

.report-bar-expense {
  background: linear-gradient(180deg, #3f8cff 0%, #1f5fd1 100%);
}

.report-bar-savings {
  background: linear-gradient(180deg, #7dffe8 0%, #1f9f8c 100%);
}

.report-column strong {
  color: var(--text);
  font-size: 0.95rem;
}

.report-caption {
  max-width: 26rem;
}

.goal-ring {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 10px solid rgba(25, 216, 162, 0.2);
  border-top-color: var(--primary);
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(143, 255, 224, 0.08);
}

.goal-copy {
  padding: 14px 18px;
  text-align: center;
}

.goal-copy p {
  margin-top: 8px;
}

.section-heading {
  max-width: 760px;
}

.section-heading p:last-child {
  margin-top: 18px;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 26px;
}

.feature-card {
  padding: 24px;
  background: linear-gradient(180deg, rgba(13, 27, 44, 0.95) 0%, rgba(8, 23, 33, 0.9) 100%);
}

.feature-icon,
.step-index {
  margin-bottom: 18px;
}

.feature-card p {
  margin-top: 12px;
}

.pricing-section {
  display: grid;
  justify-items: center;
}

.pricing-card,
.final-cta-card {
  width: min(100%, 920px);
  padding: 34px;
  text-align: center;
}

.pricing-card-highlight,
.final-cta-card-bright {
  background:
    linear-gradient(135deg, rgba(11, 25, 38, 0.98) 0%, rgba(9, 42, 36, 0.94) 52%, rgba(7, 27, 38, 0.96) 100%);
}

.price-line {
  margin-top: 18px;
  font-size: 1.1rem;
}

.price-line strong {
  display: block;
  margin-top: 10px;
  color: var(--text);
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  line-height: 1;
}

.pricing-subline {
  margin-top: 10px;
  color: var(--accent);
  font-size: 1.02rem;
}

.pricing-list {
  justify-items: center;
  max-width: 680px;
  margin: 22px auto 0;
}

.pricing-actions {
  justify-content: center;
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.faq-item {
  padding: 18px 20px;
  background: rgba(13, 27, 44, 0.9);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.faq-item a,
.hero a,
.legal-rich a,
.contact-card a,
.step-copy a {
  color: var(--accent);
}

.final-cta p {
  margin: 18px auto 0;
  max-width: 40rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
  padding: 24px 8px 0;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin-top: 10px;
}

.footer-links,
.legal-links {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
}

.sticky-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #03251b;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 20px 36px rgba(25, 216, 162, 0.24);
}

.legal-hero {
  padding: 32px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-hero);
  background: linear-gradient(135deg, rgba(11, 25, 38, 0.98) 0%, rgba(10, 34, 31, 0.92) 100%);
  box-shadow: var(--shadow);
}

.legal-hero p + p {
  margin-top: 16px;
}

.legal-grid {
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: start;
  margin-top: 24px;
}

.legal-card {
  padding: 30px;
  background: rgba(13, 27, 44, 0.9);
}

.legal-rich h2 {
  margin-top: 34px;
  font-size: clamp(1.5rem, 2.6vw, 2.35rem);
}

.legal-rich h3 {
  margin-top: 28px;
}

.legal-rich p,
.legal-rich ul,
.legal-rich ol {
  margin-top: 16px;
}

.legal-rich ul,
.legal-rich ol {
  padding-left: 22px;
  line-height: 1.72;
}

.legal-rich li + li {
  margin-top: 10px;
}

.legal-rich strong {
  color: var(--text);
}

.legal-sidebar {
  position: sticky;
  top: 108px;
  padding: 22px;
  background: rgba(13, 27, 44, 0.92);
}

.legal-sidebar h3 {
  margin-bottom: 12px;
}

.legal-sidebar p + p,
.legal-sidebar .inline-list {
  margin-top: 14px;
}

.contacts-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

.contact-card {
  padding: 24px;
  background: rgba(13, 27, 44, 0.9);
}

.contact-card p,
.contact-card ul {
  margin-top: 14px;
}

.contact-card ul {
  padding-left: 22px;
  line-height: 1.72;
}

.contact-card li + li {
  margin-top: 8px;
}

.muted-note {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 1120px) {
  .hero,
  .split-overview,
  .legal-grid,
  .step-showcase {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-sidebar {
    position: static;
  }
}

@media (max-width: 860px) {
  .page-shell {
    width: min(calc(100% - 24px), var(--content-width));
    padding-top: 16px;
  }

  .site-header {
    overflow: visible;
    border-radius: 30px;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 10px 14px;
  }

  .brand {
    flex: 1 1 auto;
  }

  .brand-mark {
    width: 32px;
    height: 36px;
  }

  .brand-wordmark {
    font-size: 1.38rem;
  }

  .nav-toggle-button {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(143, 255, 224, 0.12);
    border-radius: 24px;
    background: rgba(8, 19, 31, 0.96);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-soft);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    display: block;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.98rem;
  }

  .site-nav a:hover {
    background: rgba(255, 255, 255, 0.07);
  }

  .header-cta {
    display: none;
  }

  .feature-grid,
  .stat-strip,
  .contacts-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }

  .sticky-cta {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .hero,
  .legal-hero,
  .legal-card,
  .pricing-card,
  .final-cta-card,
  .step-showcase {
    padding: 22px;
  }

  .hero-stage {
    padding: 12px 0 0;
  }

  .floating-card {
    position: static;
    width: 100%;
    margin-bottom: 14px;
  }

  .brand-wordmark {
    font-size: 1.18rem;
  }

  .nav-toggle-button {
    width: 42px;
    height: 42px;
  }

  .report-columns {
    gap: 12px;
  }

  .button,
  .sticky-cta {
    width: 100%;
  }

  .hero-actions,
  .pricing-actions {
    align-items: stretch;
  }
}
