:root {
  --ink: #08111c;
  --ink-soft: #435066;
  --paper: #f7f9fc;
  --white: #ffffff;
  --line: #dbe2ec;
  --line-dark: rgba(255, 255, 255, 0.12);
  --navy: #07121f;
  --navy-2: #0b1b2e;
  --blue: #3f7cff;
  --cyan: #22cdb0;
  --cyan-dark: #0e8e7b;
  --shadow: 0 22px 70px rgba(18, 35, 58, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
button, input, textarea { font: inherit; }
img { max-width: 100%; }
.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 1000; transform: translateY(-140%);
  padding: 10px 14px; border-radius: 10px; background: var(--white); color: var(--ink);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky; top: 0; z-index: 100; height: 76px;
  border-bottom: 1px solid rgba(13, 28, 46, 0.09);
  background: rgba(247, 249, 252, 0.88); backdrop-filter: blur(18px);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; letter-spacing: 0.08em; }
.brand-mark {
  width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px;
  color: var(--navy); background: linear-gradient(135deg, #6be7d0, #59a7ff); font-size: 17px;
  box-shadow: 0 8px 24px rgba(63, 124, 255, 0.2);
}
.brand-word { font-size: 18px; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav a { padding: 8px 11px; color: #334258; text-decoration: none; font-size: 14px; font-weight: 650; border-radius: 9px; }
.nav a:hover, .nav a:focus-visible { background: #e9eef6; color: var(--ink); outline: none; }
.nav .nav-cta { margin-left: 6px; padding-inline: 16px; color: white; background: var(--navy); }
.nav .nav-cta:hover, .nav .nav-cta:focus-visible { color: white; background: #16304f; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: white; }
.menu-toggle span { display: block; width: 19px; height: 2px; margin: 4px auto; background: var(--ink); transition: .2s ease; }

.hero {
  position: relative; overflow: hidden; padding: 96px 0 86px; color: white;
  background:
    radial-gradient(circle at 76% 24%, rgba(63,124,255,.22), transparent 30%),
    radial-gradient(circle at 12% 92%, rgba(34,205,176,.13), transparent 26%),
    var(--navy);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .25;
  background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 42px 42px; mask-image: linear-gradient(to bottom, black, transparent 90%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--cyan-dark); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero .eyebrow { color: #82ead8; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(42px, 5.3vw, 70px); line-height: 1.04; letter-spacing: -.052em; }
.hero-lead { max-width: 690px; margin: 26px 0 0; color: #b8c5d6; font-size: clamp(18px, 2vw, 21px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px;
  padding: 0 20px; border: 1px solid transparent; border-radius: 12px; text-decoration: none;
  font-weight: 750; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--navy); background: linear-gradient(135deg, #78eed7, #67b1ff); box-shadow: 0 16px 40px rgba(34,205,176,.16); }
.button-secondary { color: white; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.055); }
.button-dark { color: white; background: var(--navy); }
.button-outline { color: var(--ink); border-color: var(--line); background: white; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; color: #8fa0b6; font-size: 13px; }
.hero-proof span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 9px 2px 0; border-radius: 50%; background: var(--cyan); }

.system-card { position: relative; padding: 24px; border: 1px solid rgba(255,255,255,.13); border-radius: 28px; background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.025)); box-shadow: 0 28px 90px rgba(0,0,0,.25); }
.system-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; color: #8fa4bd; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.status { display: inline-flex; align-items: center; gap: 7px; color: #9fe9dc; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(34,205,176,.11); }
.flow { display: grid; gap: 10px; }
.flow-row { position: relative; display: flex; align-items: center; gap: 13px; padding: 14px; border: 1px solid rgba(255,255,255,.09); border-radius: 14px; background: rgba(2,10,19,.48); }
.flow-row:not(:last-child)::after { content: ""; position: absolute; left: 28px; top: 100%; width: 1px; height: 11px; background: rgba(105,218,201,.5); }
.flow-code { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; color: #83ead8; background: rgba(34,205,176,.11); font-size: 11px; font-weight: 850; }
.flow-copy strong { display: block; color: #f7fbff; font-size: 14px; }
.flow-copy span { display: block; color: #8092aa; font-size: 12px; }
.system-note { margin: 16px 0 0; color: #91a2b8; font-size: 12px; }

.section { padding: 100px 0; }
.section-white { background: white; }
.section-dark { color: white; background: var(--navy); }
.section-heading { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: end; margin-bottom: 48px; }
.section-heading h2, .legal-hero h1 { margin: 0; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: -.04em; }
.section-heading p { max-width: 650px; margin: 0; color: var(--ink-soft); font-size: 18px; }
.section-dark .section-heading p { color: #9aabc0; }

.about-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.about-title h2 { max-width: 440px; margin: 0; font-size: clamp(36px, 4.5vw, 56px); line-height: 1.08; letter-spacing: -.045em; }
.about-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.about-copy p { margin: 0; color: var(--ink-soft); }
.fact-panel { grid-column: 1 / -1; margin-top: 14px; padding: 22px 24px; border-left: 3px solid var(--cyan); background: #edf8f6; border-radius: 0 15px 15px 0; color: #264a47; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { min-height: 235px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.service-card:hover { transform: translateY(-4px); border-color: #bfd1e6; box-shadow: var(--shadow); }
.service-code { display: inline-flex; min-width: 42px; height: 27px; align-items: center; justify-content: center; padding: 0 8px; border-radius: 7px; color: #147b6b; background: #e2f7f3; font-size: 11px; font-weight: 850; letter-spacing: .06em; }
.service-card h3 { margin: 22px 0 10px; font-size: 20px; line-height: 1.25; letter-spacing: -.02em; }
.service-card p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; background: var(--line-dark); }
.process-card { min-height: 235px; padding: 28px; background: var(--navy-2); }
.process-num { color: #69e1cd; font-size: 13px; font-weight: 850; letter-spacing: .12em; }
.process-card h3 { margin: 42px 0 10px; font-size: 21px; }
.process-card p { margin: 0; color: #94a6bd; font-size: 14px; }

.directions { display: flex; flex-wrap: wrap; gap: 10px; }
.direction { padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; background: white; color: #33445b; font-size: 14px; font-weight: 650; }
.direction:nth-child(3n+1) { border-color: #bcece3; background: #f1fbf9; }

.contact-shell { display: grid; grid-template-columns: .88fr 1.12fr; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.contact-info { padding: 46px; color: white; background: var(--navy); }
.contact-info h2 { margin: 0 0 18px; font-size: clamp(34px, 4vw, 48px); line-height: 1.1; letter-spacing: -.04em; }
.contact-info > p { color: #a7b6c9; }
.contact-list { display: grid; gap: 22px; margin-top: 38px; }
.contact-item small { display: block; margin-bottom: 3px; color: #6f839d; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-item a, .contact-item span { color: #f7fbff; text-decoration: none; }
.contact-item a:hover { color: #7ce8d5; }
.contact-form { padding: 46px; background: white; }
.contact-form h3 { margin: 0 0 4px; font-size: 26px; }
.form-intro { margin: 0 0 24px; color: var(--ink-soft); }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 750; }
.field input, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid #ccd6e3; border-radius: 10px; color: var(--ink); background: #fbfcfe; outline: none; }
.field input:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(63,124,255,.1); }
.field textarea { min-height: 132px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0 20px; color: var(--ink-soft); font-size: 13px; }
.check input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--blue); }
.check a { color: #1a65d5; }
.form-status { min-height: 24px; margin: 12px 0 0; font-size: 14px; }
.form-status.success { color: #087a63; }
.form-status.error { color: #b72c42; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.site-footer { padding: 50px 0 28px; color: #9aaabd; background: #050d16; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 50px; }
.site-footer .brand { color: white; }
.footer-copy { max-width: 430px; margin: 18px 0 0; font-size: 14px; }
.footer-title { margin: 2px 0 14px; color: white; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: #a9b6c6; text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: #75e4d1; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.09); font-size: 13px; }

.legal-hero { padding: 86px 0 64px; color: white; background: var(--navy); }
.breadcrumbs { margin-bottom: 30px; color: #90a2b9; font-size: 13px; }
.breadcrumbs a { color: #9ee8dc; text-decoration: none; }
.legal-hero p { max-width: 720px; margin: 22px 0 0; color: #aab8ca; font-size: 18px; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 780px); gap: 70px; align-items: start; }
.legal-aside { position: sticky; top: 108px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: white; color: var(--ink-soft); font-size: 13px; }
.legal-aside strong { display: block; margin-bottom: 5px; color: var(--ink); }
.legal-content { padding: 2px 0; }
.legal-content h2 { margin: 42px 0 12px; font-size: 25px; letter-spacing: -.02em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--ink-soft); }
.legal-content ul { padding-left: 20px; color: var(--ink-soft); }
.legal-content li { margin: 6px 0; }
.legal-callout { margin: 30px 0; padding: 24px; border: 1px solid #bfe7df; border-radius: 16px; background: #effaf8; }
.legal-callout p:last-child { margin-bottom: 0; }
.meta-line { margin-top: 34px; color: #6c788a; font-size: 13px; }
.contact-page .contact-shell { margin-top: -32px; position: relative; z-index: 2; }

@media (max-width: 980px) {
  .hero-grid, .about-layout, .section-heading, .contact-shell { grid-template-columns: 1fr; }
  .hero-grid { gap: 48px; }
  .system-card { max-width: 650px; }
  .section-heading { gap: 16px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .legal-layout { grid-template-columns: 1fr; gap: 28px; }
  .legal-aside { position: static; }
}

@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 76px 0 auto 0; display: grid; gap: 4px; padding: 18px 20px 26px; border-bottom: 1px solid var(--line); background: rgba(247,249,252,.98); transform: translateY(-130%); opacity: 0; pointer-events: none; transition: .22s ease; }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { padding: 12px 14px; font-size: 16px; }
  .nav .nav-cta { margin: 6px 0 0; text-align: center; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .hero { padding: 68px 0 66px; }
  .hero h1 { font-size: clamp(38px, 12vw, 54px); }
  .section { padding: 72px 0; }
  .about-copy, .services-grid, .process-grid, .footer-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .process-card { min-height: 205px; }
  .contact-info, .contact-form { padding: 30px 22px; }
  .footer-bottom { flex-direction: column; }
  .legal-hero { padding: 62px 0 50px; }
  .legal-content h2 { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
