:root {
  --bg: #07080a;
  --bg-2: #0c0e12;
  --card: #14171c;
  --card-2: #181c22;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f4f6f8;
  --muted: #b7c0cc;
  --soft: #8e99a8;
  --accent: #2b74e0;
  --accent-2: #4c93ef;
  --header-h: 76px;
  --max: 1120px;
  --radius: 16px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid #b9d2ff;
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  background: #fff;
  color: #111;
  padding: 8px 12px;
  border-radius: 8px;
}

.skip:focus {
  top: 12px;
}

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

.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(7, 8, 10, 0.55);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  background: rgba(7, 8, 10, 0.92);
  border-bottom-color: var(--line);
}

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

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

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
}

.logo-mark svg {
  width: 20px;
  height: 20px;
}

.logo-word {
  display: block;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.logo-sub {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soft);
  line-height: 1;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
}

.primary-nav a {
  text-decoration: none;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  padding: 0;
  cursor: pointer;
}

.nav-toggle .burger,
.nav-toggle .burger::before,
.nav-toggle .burger::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: #fff;
  position: relative;
  margin: 0 auto;
}

.nav-toggle .burger::before,
.nav-toggle .burger::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle .burger::before {
  top: -5px;
}

.nav-toggle .burger::after {
  top: 5px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
}

.btn-sm {
  min-height: 40px;
  padding: 0 14px;
  font-size: 12px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #3b82ea;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(8, 10, 14, 0.25);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 28px) 0 88px;
  overflow: clip;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 8, 10, 0.94) 0%, rgba(7, 8, 10, 0.78) 36%, rgba(7, 8, 10, 0.28) 64%, rgba(7, 8, 10, 0.42) 100%),
    linear-gradient(180deg, rgba(7, 8, 10, 0.5) 0%, rgba(7, 8, 10, 0.05) 24%, rgba(7, 8, 10, 0.05) 68%, #07080a 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(16, 18, 22, 0.55);
  color: #d5dbe3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.badge svg {
  width: 14px;
  height: 14px;
  color: var(--accent-2);
}

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

h1 {
  margin-bottom: 0;
  font-size: clamp(3.1rem, 6.4vw, 5.35rem);
  line-height: 0.96;
  font-weight: 520;
  letter-spacing: -0.045em;
}

h1 .accent,
.accent {
  color: var(--accent-2);
}

.lede {
  max-width: 540px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 22px;
  margin-top: 34px;
  padding-top: 6px;
  color: #d5dce6;
  font-size: 13.5px;
}

.trust-row li {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.trust-row {
  margin-bottom: 0;
  padding-left: 0;
}

.trust-row svg {
  width: 16px;
  height: 16px;
  color: var(--accent-2);
  flex: none;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 1;
  color: var(--soft);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
}

.scroll-cue span {
  display: block;
  width: 1px;
  height: 28px;
  margin: 8px auto 0;
  background: linear-gradient(#8ea0b8, transparent);
}

.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--bg-2);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 42px;
}

.rule {
  display: block;
  width: 36px;
  height: 2px;
  margin: 0 auto 14px;
  background: var(--accent-2);
}

.kicker {
  margin: 0 0 10px;
  color: #93a4ba;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-head h2,
.display {
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  line-height: 1.08;
  font-weight: 520;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.display {
  text-transform: uppercase;
  letter-spacing: 0.035em;
  font-weight: 500;
}

.section-head p:last-child,
.sub {
  margin-bottom: 0;
  color: var(--muted);
}

.card-grid,
.icon-grid,
.step-grid,
.area-grid,
.expect-grid {
  display: grid;
  gap: 18px;
}

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

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

.step-grid,
.area-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.panel,
.step,
.area-card,
.faq-item,
.directory-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card {
  position: relative;
  padding: 26px 22px 24px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

.card h3,
.directory-item h3,
.panel h3,
.step h3,
.faq-item h3 {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
}

.card p,
.directory-item p,
.panel p,
.step p,
.area-card p,
.faq-item p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 0.98rem;
}

.card .more {
  margin-top: auto;
  padding-top: 18px;
  color: #d7e6ff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--accent-2);
  background: rgba(76, 147, 239, 0.1);
  border: 1px solid rgba(76, 147, 239, 0.18);
}

.icon-box svg,
.step-no {
  width: 20px;
  height: 20px;
}

.card-flag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  padding: 5px 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split.reverse .split-copy {
  order: 2;
}

.frame {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #101216;
  box-shadow: var(--shadow);
}

.frame img {
  width: 100%;
  height: auto;
}

.split h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 540;
  margin-bottom: 14px;
}

.prose p,
.split-copy p {
  color: var(--muted);
}

.prose a,
.split-copy a,
.link-list a,
.crumbs a,
.site-footer a {
  color: #c5daff;
}

.prose h2,
.page-section h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  letter-spacing: -0.03em;
  font-weight: 560;
  margin: 0 0 12px;
  color: var(--text);
}

.prose h3 {
  margin: 22px 0 8px;
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
}

.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.link-list a {
  font-weight: 650;
  text-underline-offset: 4px;
}

.step,
.area-card,
.panel,
.directory-item,
.faq-item {
  padding: 22px;
}

.step-no {
  display: block;
  margin-bottom: 16px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.area-card h3,
.expect-grid h3,
.panel h3 {
  text-transform: none;
  letter-spacing: -0.02em;
  font-size: 1.15rem;
}

.page-hero {
  padding: calc(var(--header-h) + 56px) 0 28px;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  max-width: 16em;
  line-height: 1.02;
}

.narrow {
  max-width: 760px;
  margin-inline: auto;
}

.mt-title {
  margin-top: 22px;
}

.center-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0 0 18px;
  list-style: none;
  color: var(--soft);
  font-size: 13px;
}

.crumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: #667180;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: start;
}

.side-card {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  padding: 22px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}

.side-card h2 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.side-card p,
.side-card li {
  color: var(--muted);
  font-size: 0.95rem;
}

.side-card ul {
  padding-left: 18px;
}

.directory {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item h3 {
  text-transform: none;
  letter-spacing: -0.02em;
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.cta-band {
  padding: 28px 0 100px;
}

.cta-panel {
  text-align: center;
  padding: 56px 28px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    radial-gradient(600px 180px at 50% 0%, rgba(43, 116, 224, 0.18), transparent 70%),
    #101318;
}

.cta-panel h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.cta-panel p {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
  background: #08090c;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-title {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d7dde6;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li + li {
  margin-top: 8px;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-brand p {
  color: var(--muted);
  max-width: 320px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 14px;
}

.form {
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  gap: 6px;
}

.form label {
  font-size: 14px;
  font-weight: 650;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  background: #0d1014;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 12px 12px;
  min-height: 48px;
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--accent-2);
  outline: none;
  box-shadow: 0 0 0 3px rgba(76, 147, 239, 0.25);
}

.form .error {
  color: #ffb4b4;
  font-size: 13px;
  min-height: 1.2em;
}

.form-status {
  border-radius: 12px;
  padding: 14px 16px;
  background: #121820;
  border: 1px solid var(--line);
}

.form-status[hidden] {
  display: none;
}

.form-status.is-error {
  border-color: rgba(255, 140, 140, 0.45);
}

.form-status.is-ok {
  border-color: rgba(120, 190, 150, 0.45);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.note {
  color: var(--soft);
  font-size: 14px;
}

.policy h2 {
  margin-top: 32px;
  font-size: 1.35rem;
}

.policy ul {
  color: var(--muted);
}

.related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.directory-item a {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
}

.related a {
  text-decoration: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 12px;
  color: #e7eef8;
  font-size: 14px;
}

.related a:hover {
  border-color: var(--accent-2);
}

.nav-toggle:focus-visible {
  outline: 2px solid #b9d2ff;
  outline-offset: 3px;
}

@media (max-width: 1320px) {
  .nav-toggle {
    display: none;
  }

  html.js .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .primary-nav {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 20px 16px;
    background: rgba(8, 9, 12, 0.98);
    border-bottom: 1px solid var(--line);
  }

  html.js .primary-nav {
    display: none;
  }

  html.js .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    display: block;
    width: 100%;
    padding: 12px 4px;
    font-size: 14px;
    letter-spacing: 0.08em;
  }

  .header-phone {
    display: none;
  }

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

  .footer-grid,
  .layout,
  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-copy {
    order: 0;
  }

  .side-card {
    position: static;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--max), calc(100% - 32px));
  }

  .section {
    padding: 68px 0;
  }

  .card-grid,
  .icon-grid,
  .step-grid,
  .area-grid,
  .expect-grid,
  .directory,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 0;
  }

  h1 {
    font-size: clamp(2.6rem, 12vw, 3.6rem);
  }

  .hero {
    align-items: flex-end;
    padding-bottom: 72px;
  }

  .scroll-cue {
    display: none;
  }

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

  .header-actions .btn-sm {
    padding-inline: 10px;
  }
}

.cta-short {
  display: none;
}

@media (max-width: 520px) {
  .cta-full {
    display: none;
  }

  .cta-short {
    display: inline;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
