:root {
  --ink: #07111f;
  --muted: #617085;
  --faint: #8a96a8;
  --line: rgba(9, 22, 39, 0.12);
  --panel: rgba(255, 255, 255, 0.82);
  --panel-strong: #ffffff;
  --blue: #0b355f;
  --blue-deep: #06192f;
  --accent: #0f7a63;
  --accent-soft: rgba(15, 122, 99, 0.1);
  --bg: #f6f8fb;
  --shadow: 0 22px 70px rgba(7, 17, 31, 0.13);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 8%, rgba(15, 122, 99, 0.16), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(11, 53, 95, 0.14), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 34%, #ffffff 100%);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 14px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 44px rgba(7, 17, 31, 0.08);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-grid;
  grid-template-columns: 38px auto;
  gap: 10px;
  align-items: center;
  min-width: 0;
  font-weight: 850;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(15, 122, 99, 0.2);
}

.brand span {
  white-space: nowrap;
}

.header-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}

.header-nav a {
  padding: 9px 10px;
  border-radius: 999px;
  color: #425067;
  font-size: 14px;
  font-weight: 720;
  white-space: nowrap;
}

.header-nav a:hover,
.header-cta:hover,
.store-badge:hover,
.card-action:hover {
  transform: translateY(-1px);
}

.header-cta,
.card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-deep), var(--accent));
  box-shadow: 0 14px 34px rgba(15, 122, 99, 0.2);
  font-size: 14px;
  font-weight: 820;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

main {
  display: grid;
  gap: 28px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

section {
  scroll-margin-top: 96px;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 44px;
  align-items: center;
  min-height: calc(100vh - 88px);
  padding: 54px 0 34px;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 880;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(46px, 7vw, 82px);
  line-height: 0.94;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4.5vw, 54px);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.12;
}

.hero-lead,
.section-head p,
.catalog-copy p,
.ai-copy p,
.final-cta p,
.site-footer p {
  color: var(--muted);
  font-size: 18px;
  font-weight: 560;
  line-height: 1.48;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 24px;
}

.hero-points {
  display: grid;
  gap: 10px;
  max-width: 620px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 28px;
  color: #253449;
  font-size: 15px;
  font-weight: 780;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(15, 122, 99, 0.1);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}

.store-badge {
  display: grid;
  min-width: 150px;
  min-height: 56px;
  justify-content: start;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, #07111f, #153b61);
  box-shadow: 0 14px 34px rgba(7, 17, 31, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.store-badge span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 680;
}

.store-badge strong {
  font-size: 18px;
  line-height: 1.12;
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  color: var(--blue);
  font-size: 15px;
  font-weight: 820;
}

.secondary-link::after {
  content: "↓";
  margin-left: 8px;
}

.hero-visual {
  display: grid;
  place-items: center;
  min-width: 0;
}

.phone-mockup {
  position: relative;
  display: grid;
  gap: 14px;
  width: min(420px, 100%);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(235, 243, 249, 0.82)),
    #fff;
  box-shadow: var(--shadow);
}

.phone-mockup::before {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;
  border: 1px solid rgba(9, 22, 39, 0.06);
  border-radius: 26px;
}

.mockup-top,
.catalog-card-head {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.mockup-top img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.mockup-top strong,
.catalog-card h3 {
  display: block;
  margin: 0;
  font-size: 20px;
}

.mockup-top span,
.catalog-card p,
.lawyer-mini-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.chat-bubble {
  width: 88%;
  padding: 13px;
  border-radius: 16px;
}

.chat-bubble span,
.lawyer-mini-card p,
.catalog-card-head span {
  display: block;
  margin-bottom: 5px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 860;
  text-transform: uppercase;
}

.chat-bubble p {
  margin: 0;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
}

.chat-bubble.user {
  justify-self: end;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #0b5b4b);
}

.chat-bubble.user span {
  color: rgba(255, 255, 255, 0.72);
}

.chat-bubble.ai {
  border: 1px solid var(--line);
  background: #fff;
}

.lawyer-mini-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(15, 122, 99, 0.18);
  border-radius: 18px;
  background: rgba(15, 122, 99, 0.06);
}

.lawyer-avatar,
.neutral-photo {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-deep), var(--accent));
  font-family: Georgia, serif;
}

.lawyer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-size: 24px;
}

.lawyer-mini-card strong {
  display: block;
  margin-bottom: 3px;
}

.benefit-section,
.process-section,
.ai-section,
.documents-section,
.catalog-section,
.trust-section,
.final-cta {
  padding: 70px 0;
}

.tinted {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-right: max(16px, calc((100vw - 1180px) / 2));
  padding-left: max(16px, calc((100vw - 1180px) / 2));
  background: linear-gradient(135deg, rgba(7, 17, 31, 0.96), rgba(11, 53, 95, 0.92));
}

.tinted .section-head h2,
.tinted .feature-card h3 {
  color: #fff;
}

.tinted .section-head p,
.tinted .feature-card p {
  color: rgba(255, 255, 255, 0.72);
}

.section-head {
  max-width: 780px;
  margin-bottom: 28px;
}

.card-grid {
  display: grid;
  gap: 14px;
}

.card-grid.four {
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
}

.feature-card,
.process-card,
.catalog-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 16px 44px rgba(7, 17, 31, 0.07);
}

.feature-card.light {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.feature-card > span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 999px;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 900;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 560;
  line-height: 1.52;
}

.process-grid,
.ai-section,
.catalog-section,
.final-cta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: center;
}

.process-card ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-card li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 54px;
}

.process-card li span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.process-card li strong {
  font-size: 16px;
}

.ai-section,
.catalog-section,
.final-cta {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 60px rgba(7, 17, 31, 0.08);
}

.disclaimer,
.warning-note {
  padding: 14px 16px;
  border: 1px solid rgba(15, 122, 99, 0.18);
  border-radius: 14px;
  color: #264236;
  background: rgba(15, 122, 99, 0.07);
  font-size: 13px;
  font-weight: 690;
  line-height: 1.45;
}

.direction-cloud,
.document-types,
.trust-grid,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.direction-cloud span,
.document-types span,
.trust-grid span,
.tag-row span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #2c3b50;
  font-size: 13px;
  font-weight: 760;
}

.documents-section {
  text-align: center;
}

.documents-section .section-head {
  margin-right: auto;
  margin-left: auto;
}

.document-types {
  justify-content: center;
  margin-bottom: 18px;
}

.warning-note {
  max-width: 760px;
  margin: 0 auto;
}

.catalog-card {
  display: grid;
  gap: 16px;
  background: #fff;
}

.neutral-photo {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  font-size: 36px;
}

.catalog-card-head {
  grid-template-columns: 76px minmax(0, 1fr);
}

.rating-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(7, 17, 31, 0.04);
}

.rating-row strong {
  color: var(--accent);
  font-size: 34px;
  line-height: 1;
}

.rating-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.trust-section {
  text-align: center;
}

.trust-section .section-head {
  margin-right: auto;
  margin-left: auto;
}

.trust-grid {
  justify-content: center;
}

.final-cta {
  margin-bottom: 30px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.98), rgba(11, 53, 95, 0.92)),
    var(--blue-deep);
}

.final-cta h2,
.final-cta .section-kicker {
  color: #fff;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.7fr) minmax(0, 1fr);
  gap: 28px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  margin-bottom: 12px;
}

.site-footer nav {
  display: grid;
  gap: 8px;
}

.site-footer a,
.footer-contacts span {
  color: #34445c;
  font-size: 14px;
  font-weight: 760;
}

.site-footer p {
  margin: 0;
  font-size: 13px;
}

.footer-contacts {
  display: grid;
  gap: 10px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .header-nav {
    display: none;
  }

  .hero-section,
  .process-grid,
  .ai-section,
  .catalog-section,
  .final-cta,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
    padding-top: 42px;
  }

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

@media (max-width: 640px) {
  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
    gap: 10px;
    padding: 8px;
  }

  .brand {
    grid-template-columns: 34px auto;
    gap: 8px;
    font-size: 15px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
  }

  main,
  .site-footer {
    width: calc(100% - 20px);
  }

  .hero-section,
  .benefit-section,
  .process-section,
  .documents-section,
  .trust-section {
    padding: 42px 0;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-lead,
  .section-head p,
  .catalog-copy p,
  .ai-copy p,
  .final-cta p {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .store-badge {
    width: 100%;
  }

  .card-grid.four {
    grid-template-columns: 1fr;
  }

  .ai-section,
  .catalog-section,
  .final-cta {
    padding: 22px;
    border-radius: 22px;
  }

  .phone-mockup {
    border-radius: 28px;
  }

  .direction-cloud span,
  .document-types span,
  .trust-grid span,
  .tag-row span {
    max-width: 100%;
  }
}
