*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv11', 'ss01', 'tnum';
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(27,132,255,.18); }

.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
section { position: relative; padding-block: var(--section); }
[data-theme="dark"] { color: var(--ink); background: var(--bg); }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--ink); color: var(--bg); border-radius: var(--r-1); }
.skip:focus { top: 16px; }

/* ---- Type ---- */
.display {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -.035em; line-height: 1.02;
  font-size: clamp(38px, 5.4vw, 72px); text-wrap: balance;
}
.display--sm { font-size: clamp(34px, 4.6vw, 56px); }
.h2 {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -.03em; line-height: 1.08;
  font-size: clamp(30px, 3.8vw, 46px); text-wrap: balance;
}
h3 { font-weight: 600; font-size: 18px; letter-spacing: -.01em; line-height: 1.3; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--brand);
}
.eyebrow__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(27,132,255,.18); }
.section__head { max-width: 680px; margin: 0 auto 56px; text-align: center; display: grid; gap: 16px; justify-items: center; }
.section__head--left { margin: 0; text-align: left; justify-items: start; }
.section__lead { font-size: 18px; color: var(--ink-2); text-wrap: pretty; }
.link { color: var(--brand); font-weight: 600; display: inline-block; padding: 10px 0; margin: -10px 0; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---- Buttons ---- */
.btn {
  min-height: 44px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap;
  transition: transform var(--fast) var(--ease), background var(--fast) var(--ease), box-shadow var(--fast) var(--ease), color var(--fast) var(--ease);
  will-change: transform;
}
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--lg { padding: 16px 26px; font-size: 16px; }
.btn--primary { background: var(--ink); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 8px 24px -10px rgba(11,18,32,.5); }
.btn--primary:hover { background: #1a2740; transform: translateY(-1px); }
[data-theme="dark"] .btn--primary { background: var(--brand); box-shadow: 0 8px 30px -10px rgba(27,132,255,.8); }
[data-theme="dark"] .btn--primary:hover { background: #3B95FF; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover { background: var(--bg-2); }
.btn--white { background: #fff; color: #0B1220; }
.btn--white:hover { background: #EEF4FF; }
.btn__arrow { transition: transform var(--fast) var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ---- Checklist ---- */
.checks { display: grid; gap: 10px; margin-top: 20px; }
.checks li { position: relative; padding-left: 28px; color: var(--ink-2); font-size: 15px; }
.checks li::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(27,132,255,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B84FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* ---- Nav ---- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.72); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color var(--fast); }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.nav__logo { display: flex; align-items: center; min-height: 44px; padding: 0 4px; margin-left: -4px; }
.nav__logo img { height: 28px; width: auto; }
.nav__links { display: flex; gap: 28px; margin-left: 8px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.nav__links a { position: relative; padding: 6px 0; transition: color var(--fast); }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 14.5px; font-weight: 500; }
.nav__lang { color: var(--ink-3); }
.nav__lang:hover, .nav__login:hover { color: var(--ink); }
.nav__burger { display: none; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav__burger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 200ms var(--ease); }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav__mobile { display: none; }
.nav__mobile:not([hidden]) { display: grid; gap: 4px; padding: 8px var(--gutter) 20px; border-top: 1px solid var(--line); background: var(--bg); }
.nav__mobile a { padding: 12px 4px; font-weight: 500; font-size: 17px; min-height: 44px; display: flex; align-items: center; }
.nav__mobile .btn { margin-top: 8px; justify-content: center; }

@media (max-width: 900px) {
  .nav__links, .nav__actions { display: none; }
  .nav__burger { display: flex; }
}

/* ---- Footer ---- */
.footer { padding: 64px 0 20px; border-top: 1px solid var(--line); background: var(--bg-2); font-size: 14px; color: var(--ink-2); }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer__brand img { height: 28px; width: auto; margin-bottom: 14px; }
.footer__h4 { margin: 0; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); margin-bottom: 14px; }
.footer__grid div > a { display: block; padding: 12px 0; line-height: 1.4; color: var(--ink-2); transition: color var(--fast); }
.footer__grid div > a:hover { color: var(--ink); }
.footer__bottom { margin-top: 48px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; align-items: center; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__bottom a { color: var(--ink-2); font-weight: 500; display: inline-block; padding: 12px 0; }
.footer__bottom a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom > a:last-child { margin-left: auto; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
