:root {
  --page: #f6f7fa;
  --surface: #ffffff;
  --ink: #111318;
  --muted: #666b76;
  --line: #e2e5ea;
  --blue: #095df2;
  --blue-dark: #004fd8;
  --blue-soft: #edf4ff;
  --mint: #5fc4a7;
  --orange: #ff8a52;
  --shadow: 0 18px 55px rgba(24, 33, 54, .09);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--page); }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 4%, rgba(95,196,167,.13), transparent 25rem),
    radial-gradient(circle at 88% 9%, rgba(9,93,242,.11), transparent 26rem),
    linear-gradient(180deg, #fff 0, #f7f8fb 35rem, #f4f5f8 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(226,229,234,.9);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 70px; display: flex; align-items: center; gap: 44px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 23px; font-weight: 850; letter-spacing: -.04em; white-space: nowrap; }
.brand-mark { width: 25px; height: 25px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; }
.brand-mark i { display: block; border-radius: 2px; background: #111318; }
.brand-mark i:nth-child(2) { background: var(--blue); }
.brand-mark i:nth-child(3) { background: var(--mint); }
.brand-mark i:nth-child(4) { background: var(--orange); }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 650; }
.main-nav a, .header-link { transition: color .2s ease; }
.main-nav a:hover, .main-nav a[aria-current="page"], .header-link:hover { color: var(--blue); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.header-link { font-size: 14px; font-weight: 650; }
.button {
  min-height: 44px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 11px;
  font-weight: 750;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 9px 22px rgba(9,93,242,.2); }
.button-primary:hover { background: var(--blue-dark); box-shadow: 0 12px 26px rgba(9,93,242,.25); }
.button-outline { border: 1px solid #d8dce4; background: #fff; }

main { overflow: hidden; }
.page-hero { position: relative; padding: 86px 0 64px; }
.page-hero:before, .page-hero:after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.page-hero:before { width: 180px; height: 180px; right: 8%; top: 30px; background: repeating-linear-gradient(90deg, rgba(9,93,242,.08) 0 1px, transparent 1px 20px), repeating-linear-gradient(0deg, rgba(9,93,242,.08) 0 1px, transparent 1px 20px); transform: rotate(10deg); }
.page-hero:after { width: 12px; height: 12px; right: 19%; top: 66px; background: var(--orange); box-shadow: 38px 42px 0 var(--mint), -24px 82px 0 var(--blue); }
.hero-copy { position: relative; z-index: 1; max-width: 790px; }
.eyebrow { display: block; margin-bottom: 14px; color: var(--blue); font-size: 11px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
h1 { max-width: 880px; margin: 0; font-size: clamp(42px, 6vw, 78px); line-height: .98; letter-spacing: -.06em; }
.lead { max-width: 720px; margin: 24px 0 0; color: var(--muted); font-size: clamp(17px, 2vw, 21px); line-height: 1.58; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.page-section { padding: 0 0 86px; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 22px; align-items: start; }
.content-stack { display: grid; gap: 18px; }
.card, .side-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 36px rgba(24,33,54,.05);
}
.card { padding: clamp(25px, 4vw, 42px); }
.card-accent { background: linear-gradient(145deg, #f7fbff, #edf4ff); border-color: #dbe8fb; }
.card-warm { background: linear-gradient(145deg, #fff, #fff7ed); border-color: #f0e1ce; }
.side-card { position: sticky; top: 94px; padding: 22px; }
.side-card strong { display: block; margin-bottom: 13px; font-size: 13px; }
.side-card nav { display: grid; gap: 5px; }
.side-card a { padding: 9px 10px; border-radius: 8px; color: var(--muted); font-size: 13px; font-weight: 650; }
.side-card a:hover { color: var(--blue); background: var(--blue-soft); }
.side-card .button { width: 100%; margin-top: 16px; color: #fff; }

.card h2 { margin: 0 0 14px; font-size: clamp(25px, 3vw, 34px); line-height: 1.08; letter-spacing: -.045em; }
.card h3 { margin: 26px 0 8px; font-size: 19px; letter-spacing: -.025em; }
.card h3:first-child { margin-top: 0; }
.card p, .card li { color: #555b66; font-size: 16px; line-height: 1.72; }
.card p { margin: 0 0 16px; }
.card p:last-child { margin-bottom: 0; }
.card strong { color: var(--ink); }
.card a:not(.button) { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.list { margin: 0; padding-left: 1.25rem; }
.list li + li { margin-top: 8px; }
.meta-line { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 7px 10px; border-radius: 999px; color: #525a66; background: #f1f3f6; font-size: 12px; font-weight: 750; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { min-height: 220px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 12px 36px rgba(24,33,54,.045); }
.feature-icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 12px; color: var(--blue); background: var(--blue-soft); font-size: 19px; font-weight: 850; }
.feature-card:nth-child(2) .feature-icon { color: #238c70; background: #e8f7f2; }
.feature-card:nth-child(3) .feature-icon { color: #d9672e; background: #fff0e8; }
.feature-card h2, .feature-card h3 { margin: 0 0 9px; font-size: 20px; letter-spacing: -.03em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.faq-list { display: grid; gap: 12px; }
.faq-item { padding: 25px 28px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.faq-item h2 { margin: 0 0 8px; font-size: 20px; letter-spacing: -.025em; }
.faq-item p { margin: 0; color: var(--muted); line-height: 1.65; }

.contact-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; }
.contact-address { font-size: clamp(20px, 3vw, 30px); font-weight: 850; letter-spacing: -.04em; }
.contact-form { display: grid; gap: 17px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: grid; gap: 8px; }
.form-field label { font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.form-field input,.form-field select,.form-field textarea { width: 100%; border: 1px solid #d8dde6; border-radius: 11px; background: #fff; padding: 12px 13px; color: var(--ink); font: inherit; outline: none; }
.form-field input,.form-field select { min-height: 46px; }
.form-field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.form-field input:focus,.form-field select:focus,.form-field textarea:focus { border-color: #78a8fa; box-shadow: 0 0 0 4px rgba(9,93,242,.09); }
.form-help { margin: -3px 0 0!important; color: var(--muted)!important; font-size: 13px!important; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.form-actions .button { cursor: pointer; }
.honeypot { position: absolute!important; width: 1px!important; height: 1px!important; padding: 0!important; margin: -1px!important; overflow: hidden!important; clip: rect(0,0,0,0)!important; white-space: nowrap!important; border: 0!important; }

.not-found { min-height: calc(100vh - 181px); display: grid; place-items: center; padding: 70px 0; text-align: center; }
.not-found-inner { max-width: 690px; }
.not-found-code { display: inline-grid; place-items: center; width: 110px; height: 110px; margin-bottom: 28px; border-radius: 26px; color: var(--blue); background: var(--blue-soft); box-shadow: inset 0 0 0 1px #d9e8ff; font-size: 34px; font-weight: 900; }
.not-found h1 { font-size: clamp(44px, 7vw, 72px); }
.not-found .lead { margin-inline: auto; }
.not-found .hero-actions { justify-content: center; }

.site-footer { border-top: 1px solid var(--line); background: rgba(255,255,255,.95); }
.footer-inner { min-height: 110px; display: flex; align-items: center; gap: 28px; }
.footer-brand { font-size: 18px; }
.footer-brand .brand-mark { width: 21px; height: 21px; }
.footer-inner p { color: var(--muted); font-size: 13px; }
.footer-inner nav { margin-left: auto; display: flex; gap: 24px; font-size: 13px; }
.footer-inner nav a:hover { color: var(--blue); }

@media (max-width: 920px) {
  .main-nav { display: none; }
  .content-layout { grid-template-columns: 1fr; }
  .side-card { position: static; order: -1; }
  .side-card nav { grid-template-columns: repeat(4, 1fr); }
  .side-card .button { display: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 64px; gap: 12px; }
  .brand { font-size: 20px; }
  .brand-mark { width: 22px; height: 22px; }
  .header-link { display: none; }
  .header-actions { gap: 8px; }
  .header-actions .button { min-height: 39px; padding-inline: 14px; font-size: 13px; }
  .page-hero { padding: 60px 0 44px; }
  .page-hero:before { right: -70px; opacity: .7; }
  h1 { font-size: 42px; }
  .lead { font-size: 17px; }
  .page-section { padding-bottom: 58px; }
  .card { padding: 25px 22px; }
  .side-card nav { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card:last-child { grid-column: auto; }
  .feature-card { min-height: 0; }
  .contact-card { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .footer-inner { padding: 28px 0; display: grid; grid-template-columns: 1fr; gap: 12px; }
  .footer-inner p { margin: 0; }
  .footer-inner nav { margin: 4px 0 0; flex-wrap: wrap; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .button:hover { transform: none; }
}
