:root {
  color-scheme: light;
  --ink: #192b3b;
  --muted: #627184;
  --blue: #1767a8;
  --blue-dark: #124e80;
  --pale: #f2f6fa;
  --line: #dce5ed;
  --white: #fff;
  --page: #fff;
  --surface: #fff;
  --soft-blue: #edf5fb;
  --hero-start: #f2f7fb;
  --hero-end: #e9f2f9;
  --card-border: #e0e8ef;
  --shadow: 0 18px 45px rgba(24, 54, 78, .08);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e9f0f7;
  --muted: #a4b3c2;
  --blue: #73b9f0;
  --blue-dark: #a5d7ff;
  --pale: #1a2937;
  --line: #344657;
  --white: #101a24;
  --page: #101a24;
  --surface: #172431;
  --soft-blue: #203548;
  --hero-start: #172838;
  --hero-end: #1b3041;
  --card-border: #304456;
  --shadow: 0 18px 45px rgba(0, 0, 0, .22);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--page); line-height: 1.65; transition: background .2s, color .2s; }
a { color: inherit; }
.skip-link { position: absolute; z-index: 10; top: -60px; left: 16px; padding: 10px 14px; color: white; background: var(--blue-dark); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.site-header, .site-footer { width: min(100% - 48px, 1120px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }
.site-header { min-height: 88px; }
.brand { display: inline-flex; gap: 11px; align-items: center; text-decoration: none; line-height: 1.1; }
.brand-mark, .dialog-mark { width: 42px; height: 42px; display: grid; place-items: center; color: white; background: var(--blue); border-radius: 13px; font-size: 21px; font-weight: 800; }
.brand > span:last-child { display: grid; gap: 5px; }
.brand strong { font-size: 14px; letter-spacing: .07em; }
.brand small { color: var(--muted); font-size: 11px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-switch, .theme-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 8px 12px; color: var(--blue-dark); background: var(--soft-blue); border: 1px solid var(--line); border-radius: 9px; font: inherit; font-size: 13px; font-weight: 750; text-decoration: none; cursor: pointer; }
.header-switch:hover, .theme-toggle:hover { filter: brightness(.96); }
.theme-toggle span[aria-hidden="true"] { font-size: 16px; }
.hero { min-height: 510px; padding: 70px max(24px, calc((100% - 1120px) / 2)); display: grid; grid-template-columns: 1.1fr .75fr; align-items: center; gap: clamp(40px, 8vw, 110px); background: linear-gradient(120deg, var(--hero-start), var(--hero-end)); }
.hero-copy { max-width: 650px; }
.eyebrow { display: flex; gap: 10px; align-items: center; margin: 0 0 16px; color: var(--blue-dark); font-size: 13px; font-weight: 750; letter-spacing: .035em; }
.eyebrow span { width: 8px; height: 8px; background: #50a478; border-radius: 50%; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 20px; font-size: clamp(38px, 5vw, 62px); line-height: 1.1; letter-spacing: -.045em; }
h1 em { color: var(--blue); font-style: normal; }
.intro { max-width: 610px; margin-bottom: 26px; color: #4d5e70; font-size: 18px; }
.actions, .dialog-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 18px; border: 1px solid transparent; border-radius: 10px; font: inherit; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; transition: background .18s, transform .18s; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: white; background: var(--blue); }
.button-primary:hover { background: var(--blue-dark); }
.button-light { color: var(--blue-dark); background: var(--surface); border-color: var(--line); }
.button-light:hover { background: #f7fafc; }
.reassurance { margin: 16px 0 0; color: var(--muted); font-size: 13px; }
.hero-card { max-width: 355px; padding: 32px; background: var(--surface); border: 1px solid var(--card-border); border-radius: 20px; box-shadow: var(--shadow); }
.card-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 24px; color: #20794b; background: #eaf6ef; border-radius: 14px; font-size: 24px; font-weight: 800; }
.card-label { margin-bottom: 9px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.hero-card h2 { margin-bottom: 12px; font-size: 29px; line-height: 1.2; letter-spacing: -.03em; }
.hero-card p:not(.card-label) { margin-bottom: 20px; color: var(--muted); }
.card-rule { height: 1px; margin-bottom: 12px; background: var(--line); }
.hero-card > span { color: var(--blue-dark); font-size: 13px; font-weight: 700; }
.services { width: min(100% - 48px, 1120px); margin: 78px auto 90px; }
.section-heading { max-width: 620px; margin-bottom: 30px; }
.section-heading h2, .steps h2 { margin-bottom: 10px; font-size: clamp(30px, 4vw, 42px); line-height: 1.2; letter-spacing: -.035em; }
.section-heading > p:last-child, .steps > div > p:last-child { color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card { min-height: 215px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.service-icon { width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: 17px; color: var(--blue); background: var(--soft-blue); border-radius: 11px; font-size: 22px; font-weight: 700; }
.service-card h3 { margin-bottom: 7px; font-size: 17px; }
.service-card p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.service-card ul { margin: 14px 0 0; padding-left: 19px; color: var(--muted); font-size: 13px; }
.service-card li + li { margin-top: 3px; }
.how-it-works, .faq { width: min(100% - 48px, 1120px); margin: 0 auto 86px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.step-card { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.step-number { display: block; margin-bottom: 22px; color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.step-card h3 { margin-bottom: 8px; font-size: 18px; }
.step-card p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { padding: 19px 4px; border-bottom: 1px solid var(--line); }
.faq-list summary { color: var(--ink); font-weight: 700; cursor: pointer; }
.faq-list details p { max-width: 850px; margin: 12px 0 0; color: var(--muted); }
.steps { width: min(100% - 48px, 1120px); margin: 0 auto 84px; padding: 36px 40px; display: flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--pale); border-radius: 18px; }
.steps > div { max-width: 620px; }
.steps > div > p:last-child { margin-bottom: 0; }
.steps .button { flex-shrink: 0; }
.site-footer { min-height: 110px; flex-wrap: wrap; gap: 18px 28px; padding-block: 24px; border-top: 1px solid var(--line); }
.footer-contact { display: grid; gap: 3px; color: var(--muted); font-size: 13px; }
.footer-contact a, .legal-link { text-decoration: none; }
.footer-contact a:hover, .legal-link:hover { color: var(--blue); text-decoration: underline; }
.legal-link, .copyright { color: var(--muted); font-size: 12px; }
.copyright { margin: 0; }
.audience-dialog { width: min(520px, calc(100% - 32px)); padding: 34px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 25px 90px rgba(11, 32, 50, .25); }
.audience-dialog::backdrop { background: rgba(17, 34, 49, .52); backdrop-filter: blur(3px); }
.dialog-mark { margin-bottom: 24px; }
.audience-dialog h2 { margin-bottom: 12px; font-size: 29px; line-height: 1.2; letter-spacing: -.03em; }
.audience-dialog > p:not(.eyebrow) { color: var(--muted); }
.audience-dialog .dialog-actions { display: grid; margin-top: 22px; }
.dialog-dismiss { display: block; margin: 14px auto 0; padding: 6px 10px; color: var(--muted); background: transparent; border: 0; font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.dialog-dismiss:hover { color: var(--blue-dark); }
.dialog-note { margin: 15px 0 0 !important; font-size: 12px; text-align: center; }
@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr .75fr; gap: 32px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 620px) {
  .site-header, .site-footer { width: min(100% - 36px, 1120px); }
  .site-header { min-height: 74px; }
  .header-actions { gap: 6px; }
  .header-switch, .theme-toggle { gap: 4px; min-height: 38px; padding: 7px 8px; font-size: 11px; }
  .header-switch-label { display: none; }
  .header-switch::before { content: "Site pro"; }
  .theme-toggle [data-theme-label] { display: none; }
  .hero { min-height: 0; padding: 56px 22px; grid-template-columns: 1fr; gap: 35px; }
  h1 { font-size: 42px; }
  .intro { font-size: 16px; }
  .hero-card { max-width: none; }
  .services { width: min(100% - 36px, 1120px); margin-block: 58px 64px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .how-it-works, .faq { width: min(100% - 36px, 1120px); margin-bottom: 62px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card { padding: 20px; }
  .step-number { margin-bottom: 12px; }
  .steps { width: min(100% - 36px, 1120px); margin-bottom: 58px; padding: 26px 22px; }
  .steps .button { width: 100%; }
  .site-footer { align-items: flex-start; flex-direction: column; padding-block: 25px; }
  .audience-dialog { padding: 26px 22px; }
  .audience-dialog h2 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
