:root {
  color-scheme: light;
  --ink: #0b1533;
  --muted: #58698f;
  --blue: #2455e6;
  --blue-dark: #173fc0;
  --blue-soft: #edf3ff;
  --teal: #0f8b70;
  --teal-soft: #e3f7f1;
  --canvas: #f6f8fb;
  --line: #dfe4ec;
  --white: #fff;
  --shadow: 0 24px 60px rgba(32, 54, 105, 0.14), 0 3px 10px rgba(32, 54, 105, 0.08);
  --radius-sm: 8px;
  --radius-md: 12px;
  --shell: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; }
button, input { font: inherit; }
.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 14px; color: var(--white); background: var(--ink); border-radius: 6px; transform: translateY(-150%); }
.skip-link:focus-visible { transform: translateY(0); }
:focus-visible { outline: 3px solid #8bb1ff; outline-offset: 3px; }

.site-header { border-bottom: 1px solid rgba(223, 228, 236, 0.82); background: rgba(255, 255, 255, 0.96); }
.header-inner { min-height: 88px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 46px; }
.brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; text-decoration: none; font-size: 21px; font-weight: 760; letter-spacing: -0.025em; }
.brand img { flex: 0 0 auto; }
.site-nav, .language-nav, .site-footer nav { display: flex; align-items: center; gap: 34px; }
.site-nav a, .language-nav a, .site-footer nav a { position: relative; color: #2c3c64; text-decoration: none; font-size: 15px; font-weight: 650; }
.site-nav a::after, .language-nav a::after, .site-footer nav a::after { content: ""; position: absolute; right: 0; bottom: -9px; left: 0; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform 140ms ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after, .language-nav a:hover::after, .language-nav a:focus-visible::after, .language-nav a.is-active::after, .site-footer nav a:hover::after, .site-footer nav a:focus-visible::after, .site-footer nav a.is-active::after { transform: scaleX(1); }
.language-nav { gap: 22px; }
.language-nav a.is-active, .site-footer nav a.is-active { color: var(--blue); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.menu-toggle > span:not(.sr-only) { display: block; width: 22px; height: 2px; margin: 4px auto; background: var(--ink); border-radius: 1px; }

.hero { min-height: 670px; display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 30px; padding-block: 76px 66px; }
.hero-copy { position: relative; z-index: 2; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 650px; margin-bottom: 24px; font-size: clamp(48px, 4.45vw, 64px); line-height: 0.98; letter-spacing: -0.055em; }
.hero-lead { max-width: 600px; margin-bottom: 32px; color: var(--muted); font-size: 21px; line-height: 1.55; }
.hero-actions, .closing-actions { display: flex; align-items: center; gap: 28px; }
.button { min-height: 58px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 22px; border-radius: var(--radius-sm); text-decoration: none; font-size: 16px; font-weight: 720; transition: transform 140ms ease, background 140ms ease, box-shadow 140ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--blue); box-shadow: 0 12px 28px rgba(36, 85, 230, 0.25); }
.button-primary:hover { background: var(--blue-dark); box-shadow: 0 16px 30px rgba(36, 85, 230, 0.3); }
.button-secondary { color: var(--blue); background: var(--white); border: 1px solid #a9b9e8; box-shadow: 0 8px 22px rgba(36, 85, 230, 0.08); }
.button-secondary:hover { background: var(--blue-soft); border-color: var(--blue); }
.browser-mark { width: 30px; height: 30px; display: inline-grid; place-items: center; color: #e11929; background: var(--white); border-radius: 50%; font-size: 16px; font-weight: 850; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); text-decoration: none; font-size: 16px; font-weight: 720; }
.text-link svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 140ms ease; }
.text-link:hover svg { transform: translateX(4px); }
.hero-demo { position: relative; min-height: 480px; display: flex; align-items: center; justify-content: flex-end; isolation: isolate; }
.demo-glow { position: absolute; z-index: -2; width: 520px; height: 520px; right: -30px; border-radius: 48% 52% 58% 42%; background: #edf3ff; filter: blur(1px); }
.sample-login { position: absolute; z-index: -1; left: 0; width: 340px; padding: 34px 32px; display: grid; gap: 12px; background: rgba(255, 255, 255, 0.78); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 18px 52px rgba(53, 73, 120, 0.08); color: #31436b; }
.sample-login strong { margin-bottom: 6px; color: var(--ink); font-size: 18px; }
.field-label { font-size: 12px; font-weight: 650; }
.fake-input { min-height: 44px; display: flex; align-items: center; padding: 0 13px; border: 1px solid #ccd5e3; border-radius: 6px; background: rgba(255, 255, 255, 0.9); font-size: 14px; }
.fake-submit { min-height: 44px; display: grid; place-items: center; margin-top: 4px; color: var(--white); background: #5069a7; border-radius: 6px; font-weight: 700; }
.inspector-panel { width: min(410px, 72%); padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow); }
.panel-brand { display: flex; align-items: center; gap: 10px; }
.panel-brand strong { font-size: 17px; letter-spacing: -0.02em; }
.panel-rule { height: 1px; margin: 20px 0 22px; background: var(--line); }
.inspector-panel label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 13px; font-weight: 650; }
.password-control { display: grid; grid-template-columns: 1fr 48px; border: 2px solid var(--teal); border-radius: 7px; overflow: hidden; }
.password-control input { width: 100%; min-width: 0; height: 50px; padding: 0 14px; color: var(--ink); border: 0; outline: 0; background: var(--white); font: 500 14px/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.password-control button { display: grid; place-items: center; color: var(--blue); border: 0; border-left: 1px solid var(--line); background: var(--white); cursor: pointer; }
.password-control svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.eye-closed { display: none; }
.password-control button[aria-pressed="true"] .eye-open { display: none; }
.password-control button[aria-pressed="true"] .eye-closed { display: block; }
.demo-status { min-height: 58px; display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 12px 14px; color: #086c59; background: var(--teal-soft); border-radius: 8px; font-size: 14px; font-weight: 700; }
.status-check { width: 28px; height: 28px; display: grid; place-items: center; color: var(--white); background: var(--teal); border-radius: 50%; }

.features-section { padding-block: 112px; background: var(--canvas); }
.feature-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 90px; }
h2 { margin-bottom: 22px; font-size: clamp(38px, 4.3vw, 62px); line-height: 1.04; letter-spacing: -0.048em; }
.feature-copy > p, .privacy-copy > p, .section-lead { max-width: 650px; color: var(--muted); font-size: 19px; line-height: 1.55; }
.feature-copy h2 { max-width: 590px; font-size: clamp(38px, 4vw, 56px); }
.mode-list { margin: 42px 0 0; padding: 0; list-style: none; }
.mode-list li { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding-bottom: 28px; }
.mode-list li:not(:last-child)::after { content: ""; position: absolute; top: 48px; bottom: 4px; left: 25px; border-left: 1px dashed #aabbe8; }
.mode-icon { width: 52px; height: 52px; display: grid; place-items: center; color: var(--blue); background: var(--blue-soft); border-radius: 50%; font-size: 27px; font-weight: 700; }
.mode-list strong, .mode-list span { display: block; }
.mode-list strong { margin: 2px 0 4px; font-size: 18px; }
.mode-list div > span { color: var(--muted); font-size: 15px; line-height: 1.45; }
.settings-mockup { min-height: 515px; display: grid; grid-template-columns: 10px 1fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow); overflow: hidden; }
.status-rail { background: var(--blue); }
.settings-body { padding: 30px 34px 32px; }
.panel-brand-compact { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.settings-body h3 { margin: 25px 0 12px; font-size: 19px; }
.radio-row { min-height: 72px; display: grid; grid-template-columns: 24px 1fr; align-items: center; gap: 12px; padding: 10px 12px; border-bottom: 1px solid #edf0f5; }
.radio-row.is-selected { background: var(--blue-soft); border-radius: 8px; border-bottom-color: transparent; }
.radio-dot { width: 20px; height: 20px; border: 2px solid #8290ad; border-radius: 50%; }
.radio-row.is-selected .radio-dot { border: 6px solid var(--blue); }
.radio-row strong, .radio-row small { display: block; }
.radio-row strong { font-size: 15px; }
.radio-row small { margin-top: 4px; color: var(--muted); font-size: 12px; }
.settings-divider { height: 1px; margin: 16px 0 8px; background: var(--line); }
.switch-row { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: #253458; font-size: 14px; }
.switch { position: relative; width: 45px; height: 25px; flex: 0 0 auto; background: var(--blue); border-radius: 20px; }
.switch::after { content: ""; position: absolute; top: 3px; right: 3px; width: 19px; height: 19px; background: var(--white); border-radius: 50%; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18); }

.privacy-section { padding-block: 110px; background: var(--white); }
.privacy-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 80px; }
.proof-list { display: grid; gap: 15px; margin: 34px 0 0; padding: 0; list-style: none; }
.proof-list li { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 680; }
.proof-list li > span { width: 30px; height: 30px; display: grid; place-items: center; color: var(--teal); background: var(--teal-soft); border-radius: 50%; }
.privacy-visual { display: grid; place-items: center; }
.privacy-rings { position: relative; width: 290px; height: 290px; display: grid; place-items: center; border: 1px solid #d8e3fb; border-radius: 50%; background: radial-gradient(circle, var(--white) 0 36%, #f1f6ff 37% 55%, var(--white) 56% 57%, #f5f8ff 58%); box-shadow: inset 0 0 0 34px rgba(237, 243, 255, 0.35); }
.lock-body { position: absolute; top: 128px; width: 68px; height: 58px; background: var(--teal); border-radius: 8px 8px 12px 12px; box-shadow: 0 12px 28px rgba(15, 139, 112, 0.22); }
.lock-loop { position: absolute; top: 86px; width: 46px; height: 58px; border: 10px solid var(--teal); border-bottom: 0; border-radius: 28px 28px 0 0; }
.lock-body::after { content: ""; position: absolute; top: 19px; left: 29px; width: 10px; height: 20px; background: var(--white); border-radius: 8px; }

.browsers-section { padding-block: 112px 92px; background: var(--canvas); text-align: center; }
.browsers-inner > h2 { margin-bottom: 14px; }
.section-lead { margin: 0 auto; }
.browser-timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 66px 0 60px; padding: 0; list-style: none; }
.browser-timeline::before { content: ""; position: absolute; z-index: 0; top: 34px; right: 11%; left: 11%; border-top: 2px dashed #c9d3e6; }
.browser-timeline::after { content: ""; position: absolute; z-index: 0; top: 34px; left: 11%; width: 26%; border-top: 3px solid var(--blue); }
.browser-timeline li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 8px; color: #5d6d8d; }
.browser-timeline li strong { color: var(--ink); font-size: 17px; }
.browser-timeline li > span:last-child { min-height: 40px; max-width: 190px; font-size: 13px; line-height: 1.4; }
.browser-node { width: 68px; height: 68px; display: grid; place-items: center; margin-bottom: 10px; color: #7180a2; background: var(--white); border: 2px solid #c7d1e3; border-radius: 50%; box-shadow: 0 8px 22px rgba(34, 53, 100, 0.08); font-size: 25px; font-weight: 830; }
.is-ready .browser-node { color: var(--blue); border-color: var(--blue); }
.browser-node.browser-mark-yandex { color: #e11929; }
.browser-node.browser-mark-opera { color: #e51b3e; }
.browser-timeline .ready-text { color: #08705b; font-weight: 720; }
.closing-actions { justify-content: center; }
.manual-section { padding-block: 88px; background: var(--white); }
.manual-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.manual-layout h2 { margin-bottom: 18px; font-size: clamp(34px, 4vw, 50px); }
.manual-layout p { color: var(--muted); font-size: 17px; line-height: 1.65; }
.eyebrow { margin-bottom: 12px; color: var(--blue) !important; font-size: 13px !important; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.checksum { font-size: 14px !important; }
.checksum a { color: var(--blue); font-weight: 700; }
.manual-steps { margin: 0; padding: 8px 0 0; list-style: none; counter-reset: manual-step; }
.manual-steps li { min-height: 72px; display: grid; grid-template-columns: 46px 1fr; align-items: center; gap: 18px; color: #2c3c64; line-height: 1.5; counter-increment: manual-step; }
.manual-steps li::before { content: counter(manual-step); width: 42px; height: 42px; display: grid; place-items: center; color: var(--blue); background: var(--blue-soft); border-radius: 50%; font-weight: 800; }
.site-footer { border-top: 1px solid var(--line); background: var(--white); }
.footer-inner { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand-small { font-size: 17px; }
.site-footer nav { gap: 26px; }
.metric-notice { position: fixed; z-index: 90; right: 20px; bottom: 20px; width: min(520px, calc(100% - 40px)); display: flex; align-items: center; gap: 18px; padding: 16px 18px; color: #23345d; background: rgba(255, 255, 255, 0.98); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow); }
.metric-notice p { margin: 0; font-size: 14px; line-height: 1.45; }
.metric-notice a { color: var(--blue); font-weight: 700; }
.metric-notice button { flex: 0 0 auto; padding: 8px 12px; color: var(--blue); background: var(--blue-soft); border: 0; border-radius: 7px; font-weight: 750; cursor: pointer; }
.metric-pixel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.legal-main { padding-block: 72px 96px; background: var(--canvas); }
.legal-card { width: min(100%, 860px); margin-inline: auto; padding: clamp(28px, 5vw, 64px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 18px 54px rgba(32, 54, 105, 0.08); }
.legal-card h1 { margin-bottom: 16px; overflow-wrap: anywhere; font-size: clamp(38px, 6vw, 58px); }
.legal-card h2 { margin: 38px 0 12px; font-size: 26px; }
.legal-card p, .legal-card li { color: #43547b; font-size: 16px; line-height: 1.7; }
.legal-card a { color: var(--blue); }
.legal-updated { color: var(--muted); font-size: 14px !important; }

@media (max-width: 960px) {
  .site-header { position: relative; }
  .header-inner { grid-template-columns: 1fr auto auto; gap: 20px; }
  .site-nav { position: absolute; z-index: 20; top: 78px; right: 24px; display: none; min-width: 220px; padding: 18px; align-items: stretch; flex-direction: column; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .language-nav { grid-column: 2; grid-row: 1; }
  .menu-toggle { display: block; grid-column: 3; grid-row: 1; }
  .hero { grid-template-columns: 1fr; gap: 34px; padding-block: 60px 74px; }
  .hero-copy { text-align: center; }
  h1, .hero-lead { margin-right: auto; margin-left: auto; }
  .hero-actions { justify-content: center; }
  .hero-demo { width: min(680px, 100%); margin-inline: auto; }
  .feature-layout, .privacy-layout { grid-template-columns: 1fr; gap: 52px; }
  .manual-layout { grid-template-columns: 1fr; gap: 34px; }
  .privacy-copy { text-align: center; }
  .proof-list { width: fit-content; margin-inline: auto; text-align: left; }
  .privacy-visual { grid-row: auto; }
}

@media (max-width: 680px) {
  .shell { width: min(calc(100% - 32px), var(--shell)); }
  .header-inner { min-height: 76px; grid-template-columns: 1fr auto auto; gap: 10px; }
  .brand { gap: 7px; font-size: 13px; line-height: 1.05; }
  .brand span { max-width: 115px; }
  .brand img { width: 36px; height: 36px; }
  .language-nav { gap: 10px; }
  .language-nav a { font-size: 13px; }
  .menu-toggle { width: 40px; height: 40px; }
  .site-nav { top: 68px; right: 16px; }
  .hero { min-height: 0; padding-block: 48px 64px; }
  .hero-copy { text-align: left; }
  h1 { margin-bottom: 18px; font-size: 42px; line-height: 1.02; }
  h1, .hero-lead { margin-right: 0; margin-left: 0; }
  .hero-lead { margin-bottom: 26px; font-size: 17px; line-height: 1.5; }
  .hero-actions, .closing-actions { align-items: stretch; flex-direction: column; gap: 18px; }
  .button { width: 100%; min-height: 56px; }
  .text-link { align-self: center; }
  .hero-demo { min-height: 410px; justify-content: center; }
  .demo-glow { width: min(390px, 100vw); height: min(390px, 100vw); right: 50%; transform: translateX(50%); }
  .sample-login { display: none; }
  .inspector-panel { width: 100%; padding: 22px; }
  .panel-brand strong { font-size: 15px; }
  .features-section, .privacy-section, .browsers-section { padding-block: 78px; }
  .manual-section { padding-block: 70px; }
  .feature-layout, .privacy-layout { gap: 42px; }
  h2 { font-size: 40px; }
  .feature-copy > p, .privacy-copy > p, .section-lead { font-size: 17px; }
  .settings-mockup { min-height: 0; grid-template-columns: 7px 1fr; }
  .settings-body { padding: 24px 18px 26px; }
  .radio-row { grid-template-columns: 22px 1fr; padding-inline: 8px; }
  .privacy-rings { width: 230px; height: 230px; }
  .lock-body { top: 102px; width: 58px; height: 50px; }
  .lock-loop { top: 67px; width: 40px; height: 50px; border-width: 8px; }
  .lock-body::after { top: 16px; left: 24px; }
  .browser-timeline { grid-template-columns: 1fr; gap: 0; margin: 48px 0; text-align: left; }
  .browser-timeline::before { top: 34px; bottom: 50px; left: 33px; right: auto; border-top: 0; border-left: 2px dashed #c9d3e6; }
  .browser-timeline::after { top: 34px; left: 33px; width: 0; height: 95px; border-top: 0; border-left: 3px solid var(--blue); }
  .browser-timeline li { min-height: 112px; grid-template-columns: 68px 1fr; grid-template-rows: auto auto; align-content: start; justify-items: start; column-gap: 18px; row-gap: 4px; }
  .browser-node { grid-row: 1 / span 2; margin: 0; }
  .browser-timeline li strong { align-self: end; }
  .browser-timeline li > span:last-child { min-height: auto; max-width: none; }
  .footer-inner { padding-block: 30px; align-items: flex-start; flex-direction: column; }
  .site-footer nav { align-items: flex-start; flex-wrap: wrap; gap: 22px; }
  .metric-notice { right: 12px; bottom: 12px; width: calc(100% - 24px); align-items: flex-start; }
}

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