:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #0f1a30;
  --surface-3: #102542;
  --text: #152234;
  --muted: #4f6177;
  --line: #dfe7f0;
  --primary: #1f4f8a;
  --primary-2: #2f71c1;
  --accent: #19a184;
  --accent-2: #c8f3eb;
  --shadow: 0 16px 40px rgba(13, 26, 49, .08);
  --shadow-lg: 0 24px 70px rgba(13, 26, 49, .16);
  --radius: 22px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #080f1c;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #eef3f8 0%, #ffffff 24%, #ffffff 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1000;
  background:
    url("logo-full-connection-cropped.png") center / min(220px, 58vw) auto no-repeat,
    radial-gradient(circle at 50% 46%, rgba(25, 161, 132, .14), transparent 34%),
    #080f1c;
  opacity: 0;
  pointer-events: none;
  transition: opacity .14s ease;
}

html.is-routing body::after {
  opacity: 1;
}

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

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 15, 28, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  width: 172px;
  max-width: 42vw;
}

.brand-logo img {
  width: 100%;
  height: auto;
}

.nav-toggle {
  display: none;
}

.nav-menu-control {
  display: none;
}

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

.form-honeypot {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: rgba(255, 255, 255, .84);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

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

.nav-links a.cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--primary-2));
  color: #fff;
  box-shadow: 0 10px 28px rgba(25, 161, 132, .28);
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #091220 0%, #10203a 42%, #173056 100%);
  padding: 84px 0 58px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 20%, rgba(25, 161, 132, .18), transparent 30%),
    radial-gradient(circle at 86% 22%, rgba(47, 113, 193, .20), transparent 28%);
  pointer-events: none;
}

.offers-page .hero::before {
  display: none;
}

.home-page .hero {
  padding: 92px 0 72px;
}

.home-page .hero::before {
  background:
    radial-gradient(circle at 12% 18%, rgba(25, 161, 132, .18), transparent 30%),
    radial-gradient(circle at 88% 22%, rgba(47, 113, 193, .20), transparent 28%),
    radial-gradient(circle at 64% 82%, rgba(255, 255, 255, .06), transparent 20%);
}

.hero-grid,
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  align-items: end;
}

.hero-grid {
  grid-template-columns: 1.12fr .88fr;
}

.hero-inner {
  grid-template-columns: 1.05fr .95fr;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #9ce7d7;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  margin: 16px 0 18px;
  max-width: 820px;
  font-size: clamp(34px, 5.8vw, 68px);
  font-weight: 900;
  line-height: .98;
}

.home-page .hero h1 {
  font-size: clamp(36px, 6vw, 72px);
}

.offers-page .hero h1 {
  margin: 16px 0 16px;
  font-size: clamp(34px, 5.5vw, 64px);
  line-height: 1;
}

.hero p {
  margin: 0;
  max-width: 760px;
  color: rgba(255, 255, 255, .90);
  font-size: 18px;
  line-height: 1.82;
}

.home-page .hero p {
  max-width: 740px;
}

.offers-page .hero p {
  max-width: 800px;
  line-height: 1.8;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin-top: 28px;
}

.actions {
  gap: 12px;
  margin-top: 18px;
}

.action-tight {
  margin-top: 0;
}

.action-spaced {
  margin-top: 22px;
}

.action-loose {
  margin-top: 24px;
}

.btn,
.small-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  text-transform: uppercase;
}

.btn {
  padding: 15px 22px;
  border: 1px solid transparent;
  font-size: 14px;
  letter-spacing: 1.1px;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--primary-2));
  color: #fff;
  box-shadow: 0 12px 30px rgba(25, 161, 132, .24);
}

.btn-secondary {
  background: #eff4fa;
  border-color: var(--line);
  color: var(--text);
}

.hero .btn-secondary,
.band .btn-secondary,
.cta-band .btn-secondary {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .18);
  color: #fff;
}

.offers-page .btn {
  padding: 14px 20px;
  font-size: 13px;
  letter-spacing: 1px;
}

.offers-page .btn-primary {
  box-shadow: none;
}

.offers-page .btn-secondary {
  background: #eff4fa;
  border-color: var(--line);
  color: var(--text);
}

.hero-panel {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .04));
  box-shadow: var(--shadow-lg);
}

.hero-panel h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 26px;
}

.hero-panel p {
  color: rgba(255, 255, 255, .86);
  font-size: 14px;
  line-height: 1.8;
}

.hero-chips,
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.chip,
.tag {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.section {
  padding: 78px 0;
}

.home-page .section {
  padding: 84px 0;
}

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

.section.dark {
  background: linear-gradient(135deg, #0c172a, #122643 54%, #19345c 100%);
  color: #fff;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.home-page .section-head {
  margin-bottom: 34px;
}

.section-head.compact {
  display: block;
  margin-bottom: 24px;
}

.section-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.04;
}

.home-page .section-title {
  font-size: clamp(28px, 4vw, 48px);
}

.section-title.form-title {
  font-size: 36px;
}

.section-desc {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.home-page .section-desc,
.offers-page .section-desc {
  max-width: 700px;
}

.offers-page .section-desc {
  line-height: 1.8;
}

.section-desc.full {
  max-width: none;
}

.section.dark .section-title {
  color: #fff;
}

.section.dark .section-desc {
  color: rgba(255, 255, 255, .86);
}

.grid {
  display: grid;
  gap: 20px;
}

.home-page .offers-grid,
.case-grid,
.trust-grid,
.cards-3,
.contact-me-grid {
  grid-template-columns: repeat(3, 1fr);
}

.offers-page .offers-grid,
.env-grid,
.cards-2 {
  grid-template-columns: repeat(2, 1fr);
}

.proof-grid {
  grid-template-columns: 1.06fr .94fr;
  align-items: start;
}

.split,
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
  align-items: start;
}

.card,
.case-card,
.trust-card,
.proof-card,
.form-card,
.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.card {
  height: 100%;
  padding: 28px;
  border-radius: var(--radius);
}

.case-card,
.trust-card {
  padding: 24px;
  border-radius: 22px;
}

.proof-card,
.form-card,
.info-card {
  padding: 28px;
  border-radius: 24px;
}

.card h2,
.card h3,
.case-card h3,
.trust-card h3 {
  margin: 0 0 12px;
}

.card h2 {
  font-size: 28px;
  line-height: 1.1;
}

.card h3,
.case-card h3,
.trust-card h3 {
  font-size: 22px;
  line-height: 1.2;
}

.case-card h3,
.trust-card h3 {
  margin-bottom: 8px;
}

.card p,
.case-card p,
.trust-card p,
.proof-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.78;
}

.offers-page .card p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.proof-card h3 {
  margin: 0 0 12px;
  font-size: 26px;
}

.card .link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: .02em;
}

.card .icon {
  position: relative;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border: 1px solid rgba(31, 79, 138, .08);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(25, 161, 132, .12), rgba(47, 113, 193, .14));
}

.card .icon::before {
  content: "";
  position: absolute;
  inset: 13px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--primary-2));
  opacity: .95;
}

.small-btn {
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: #eff4fa;
  color: var(--text);
  font-size: 12px;
  letter-spacing: 1px;
}

.small-btn.primary {
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--primary-2));
  color: #fff;
}

.list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.offers-page .list {
  padding-left: 20px;
}

.list li {
  margin: 8px 0;
  line-height: 1.7;
}

.offers-page .list li {
  color: var(--muted);
}

.context {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f7f9fc;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.env-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.env-badge {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.env-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}

.env-card span {
  display: block;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.metric {
  padding: 32px 22px;
  background: rgba(8, 15, 28, .92);
  text-align: center;
}

.metric strong {
  display: block;
  margin-bottom: 10px;
  color: #a9f0e2;
  font-size: 52px;
  line-height: 1;
}

.metric span {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.metric p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  line-height: 1.6;
}

.checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #f7f9fc;
  color: var(--muted);
}

.checks b {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(25, 161, 132, .10);
  color: var(--accent);
  font-size: 12px;
}

.video-wrap {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 24px;
  background: #0f1a30;
  box-shadow: var(--shadow-lg);
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.band,
.cta-band {
  color: #fff;
  background: linear-gradient(135deg, #0f1a30 0%, #14315b 100%);
  box-shadow: var(--shadow-lg);
}

.band {
  padding: 34px;
  border-radius: 28px;
}

.cta-band {
  padding: 34px;
  border-radius: 28px;
}

.band h2,
.cta-band h2 {
  margin: 0 0 10px;
  font-size: 34px;
}

.band p,
.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, .88);
  line-height: 1.8;
}

.cta-band p {
  max-width: 760px;
}

.band .hero-actions,
.cta-band .hero-actions {
  margin-top: 22px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field,
.stack {
  display: flex;
  flex-direction: column;
}

.field {
  gap: 8px;
}

.stack {
  gap: 14px;
}

.field label {
  color: #31455e;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f9fbfd;
  color: var(--text);
  font: inherit;
}

.field textarea {
  min-height: 170px;
  resize: vertical;
}

.infobox {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f7f9fc;
}

.infobox strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}

.infobox p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

footer {
  padding: 38px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: #080f1c;
  color: rgba(255, 255, 255, .72);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}

.footer-logo {
  width: min(260px, 72vw);
  height: auto;
  margin: 0 auto 2px;
}

.footer-brand {
  display: block;
  color: rgba(255, 255, 255, .82);
  font-size: 28px;
  line-height: 1;
  letter-spacing: 1.4px;
}

.footer-note {
  color: rgba(255, 255, 255, .72);
  font-size: 26px;
  line-height: 1.25;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 16px;
}

.footer-links a {
  color: rgba(255, 255, 255, .64);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

@media (max-width: 1080px) {
  .hero-grid,
  .hero-inner,
  .proof-grid,
  .home-page .offers-grid,
  .case-grid,
  .trust-grid,
  .env-grid,
  .cards-3,
  .cards-2,
  .split,
  .contact-grid,
  .contact-me-grid,
  .field-grid,
  .section-head {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: start;
  }

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

@media (max-width: 960px) {
  .offers-page .offers-grid {
    grid-template-columns: 1fr;
  }

  .offers-page .section-head {
    display: block;
  }
}

@media (max-width: 760px) {
  .nav-inner {
    padding: 12px 18px;
    display: grid;
    grid-template-columns: auto auto;
    grid-template-areas:
      "brand toggle"
      "menu menu";
    align-items: center;
    gap: 10px 14px;
  }

  .brand-logo {
    grid-area: brand;
    width: 146px;
  }

  .nav-toggle {
    grid-area: toggle;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(25, 161, 132, .22), rgba(47, 113, 193, .20));
    color: #fff;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .16);
    cursor: pointer;
  }

  .nav-toggle-icon {
    width: 16px;
    height: 12px;
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .nav-toggle-icon span {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform .18s ease, opacity .18s ease;
  }

  .nav-menu-control:checked + .nav-toggle .nav-toggle-icon span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  .nav-menu-control:checked + .nav-toggle .nav-toggle-icon span:nth-child(2) {
    opacity: 0;
  }

  .nav-menu-control:checked + .nav-toggle .nav-toggle-icon span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  .nav-inner nav {
    grid-area: menu;
    width: 100%;
  }

  .nav-links {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    gap: 7px;
    padding: 0 8px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    background: rgba(8, 15, 28, .96);
    box-shadow: 0 24px 56px rgba(0, 0, 0, .28);
    transition: max-height .22s ease, opacity .18s ease, transform .18s ease, padding .18s ease;
  }

  .nav-menu-control:checked ~ nav .nav-links {
    max-height: 340px;
    padding: 8px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links li {
    min-width: 0;
  }

  .nav-links a {
    min-height: 42px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 13px;
    background: rgba(255, 255, 255, .05);
    font-size: 11px;
    letter-spacing: 1px;
    text-align: left;
    white-space: nowrap;
  }

  .nav-links a::after {
    content: "›";
    color: rgba(255, 255, 255, .46);
    font-size: 18px;
    line-height: 1;
  }

  .nav-links a.active,
  .nav-links a[aria-current="page"] {
    border-color: rgba(25, 161, 132, .34);
    background: rgba(25, 161, 132, .12);
  }

  .nav-links a.cta {
    min-height: 44px;
    padding: 0 14px;
  }

  .container {
    padding: 0 18px;
  }

  .hero,
  .home-page .hero,
  .offers-page .hero {
    padding: 74px 0 54px;
  }

  .home-page .hero {
    padding-bottom: 56px;
  }

  .hero p,
  .section-desc {
    font-size: 15px;
  }

  .section,
  .home-page .section {
    padding: 62px 0;
  }

  .home-page .section,
  .offers-page .section {
    padding: 64px 0;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    text-align: center;
  }

  .footer-brand {
    font-size: 22px;
  }

  .footer-note {
    font-size: 16px;
  }
}
