@font-face {
  font-family: "Golos Text";
  src: url("assets/golos-text.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #596575;
  --blue: #123fae;
  --blue-hover: #0c2e83;
  --blue-soft: #edf2ff;
  --surface: #f6f7f9;
  --white: #ffffff;
  --line: #dce1e9;
  --control-line: #bbc6d7;
  --signal: #254fd0;
  --max: 1248px;
  --ease: cubic-bezier(.2,.65,.3,1);
  --hover-time: 180ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; scrollbar-gutter: stable; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 16px/1.6 "Golos Text", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 550; text-wrap: balance; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; color: inherit; border: 0; background: none; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
img { display: block; max-width: 100%; height: auto; }
button:focus-visible, a:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
::selection { background: #d5e1ff; color: #112957; }
[hidden] { display: none !important; }
.container { width: min(calc(100% - 96px), var(--max)); margin-inline: auto; }
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svg-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 30; background: var(--white); padding: 12px 20px; border: 2px solid var(--blue); }
.skip-link:focus { top: 16px; }

/* Navigation */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--white); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 92px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; flex: none; min-height: 44px; }
.brand img { width: 46px; height: 41px; object-fit: contain; }
.brand-name { font-size: 20px; font-weight: 600; line-height: 1.2; letter-spacing: -.6px; }
.brand-name > span { display: block; margin-top: 5px; font-size: 12px; line-height: 1.4; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.desktop-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; padding: 5px; border: 1px solid #e9ecf1; border-radius: 12px; background: var(--surface); font-size: 14px; font-weight: 450; }
.desktop-nav a, .desktop-nav button { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 7px; transition: color var(--hover-time), background-color var(--hover-time); }
.desktop-nav .icon { width: 20px; height: 20px; color: var(--blue); }
.desktop-nav a:hover, .desktop-nav button:hover { color: var(--blue); background: var(--white); }
.desktop-nav a:active, .desktop-nav button:active { background: var(--blue-soft); }
.header-contact { display: flex; align-items: center; gap: 24px; padding-left: 24px; border-left: 1px solid var(--line); }
.header-actions { display: flex; flex-direction: column; align-items: flex-start; }
.phone { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 16px; font-weight: 550; line-height: 1.4; white-space: nowrap; }
.phone .icon { width: 18px; height: 18px; color: var(--blue); }
.phone:hover { color: var(--blue); }
.text-button { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-size: 12px; min-height: 28px; padding: 3px 0; white-space: nowrap; }
.text-button .icon { width: 16px; height: 16px; }
.text-button:hover { text-decoration: underline; text-underline-offset: 4px; }
.analytics-banner[hidden] { display: none; }
.analytics-banner { position: fixed; z-index: 1000; right: 20px; bottom: 20px; left: 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1000px; margin: 0 auto; padding: 18px 22px; border-left: 4px solid var(--blue); background: var(--white); box-shadow: 0 12px 36px rgb(13 43 91 / 18%); }
.analytics-banner p { max-width: 570px; font-size: 14px; line-height: 1.5; }
.analytics-banner a, .analytics-settings { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.analytics-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.analytics-actions button { min-height: 42px; padding: 8px 14px; border: 1px solid var(--blue); color: var(--blue); }
.analytics-actions button:first-child { color: var(--white); background: var(--blue); }
@media (max-width: 650px) { .analytics-banner { display: block; bottom: 12px; right: 12px; left: 12px; padding: 16px; } .analytics-actions { margin-top: 14px; } }
.menu-toggle { display: none; }

/* First screen: copy on the left, photo and overlapping conditions on the right. */
.hero { padding: 56px 0 64px; }
.hero-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: 32px; }
.hero-content { min-width: 0; padding-bottom: 24px; }
h1 { font-size: clamp(40px, 3.85vw, 54px); line-height: 1.12; letter-spacing: -2px; font-weight: 550; text-wrap: initial; }
.model-name { color: var(--blue); white-space: nowrap; }
.hero-description { max-width: 460px; margin: 24px 0 0; font-size: 17px; line-height: 1.65; color: var(--muted); }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 56px; border-radius: 8px; border: 1px solid transparent; padding: 16px 24px; font-size: 15px; font-weight: 500; line-height: 1.5; transition: background-color var(--hover-time) var(--ease), border-color var(--hover-time) var(--ease); }
.button-primary { background: var(--blue); color: var(--white); }
.button-primary:hover { background: var(--blue-hover); }
.button-primary:active { background: #09256d; }
.button-secondary { color: var(--blue); border-color: var(--control-line); background: var(--white); }
.button-secondary:hover { border-color: var(--blue); background: var(--blue-soft); }
.button-secondary:active { background: #dce6ff; }
.button .icon { width: 20px; height: 20px; }
.document-link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 14px 20px; border: 1px solid var(--control-line); border-radius: 8px; font-size: 15px; font-weight: 450; transition: background-color var(--hover-time), border-color var(--hover-time); }
.document-link:hover { background: var(--surface); border-color: var(--blue); }
.document-link:active { background: var(--blue-soft); }
.document-link > .icon { color: var(--blue); width: 20px; height: 20px; }
.file-type { font-size: 11px; color: var(--muted); margin-left: 2px; }
.hero-showcase { position: relative; display: flex; align-items: center; min-width: 0; min-height: 520px; padding-right: 100px; }
.product-figure { width: 100%; min-width: 0; }
.product-stage { position: relative; padding: 32px 0 24px; }
.product-image { width: 100%; object-fit: contain; }
.zoom-button { position: absolute; bottom: 16px; left: 16px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--white); border: 1px solid var(--control-line); color: var(--blue); transition: background-color var(--hover-time); }
.zoom-button:hover { background: var(--blue-soft); }
.zoom-button .icon { width: 22px; height: 22px; }
.purchase-summary { position: absolute; top: 50%; right: 0; transform: translateY(-50%); width: 208px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 16px 40px -16px rgb(23 32 51 / 20%); padding: 24px; border-radius: 14px; }
.purchase-conditions { display: grid; gap: 18px; }
.purchase-conditions > div { display: grid; gap: 4px; }
.purchase-conditions > div + div { border-top: 1px solid var(--line); padding-top: 18px; }
.purchase-conditions dt { color: var(--muted); font-size: 12px; }
.purchase-conditions dd { font-size: 26px; font-weight: 500; letter-spacing: -.8px; line-height: 1.25; }
.geography { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; }
.location-mark { position: relative; width: 16px; height: 16px; flex: none; display: block; border: 1px solid var(--muted); border-radius: 50%; }
.location-mark::before { content: ""; position: absolute; inset: 0 4px; border-left: 1px solid var(--muted); border-right: 1px solid var(--muted); border-radius: 50%; }
.location-mark::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--muted); }

/* Second screen: one navigation rail and one detailed mode. */
.capabilities { padding: 64px 0 64px; background: var(--surface); }
.section-heading { display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 64px; margin-bottom: 40px; }
.section-heading h2 { font-size: 44px; line-height: 1.15; letter-spacing: -1.7px; }
.section-heading > p { color: var(--muted); font-size: 16px; line-height: 1.65; max-width: 480px; justify-self: end; }
.capability-explorer { background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.mode-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.mode-tab { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px; min-width: 0; min-height: 150px; text-align: left; transition: background-color var(--hover-time); }
.mode-tab::after { content: ""; position: absolute; bottom: -1px; left: 24px; right: 24px; height: 4px; background: transparent; }
.mode-tab:first-child { border-top-left-radius: 13px; }
.mode-tab:last-child { border-top-right-radius: 13px; }
.mode-tab + .mode-tab { border-left: 1px solid var(--line); }
.mode-tab:hover { background: var(--surface); }
.mode-tab[aria-selected="true"] { background: var(--blue-soft); }
.mode-tab[aria-selected="true"]::after { background: var(--blue); }
.mode-icon { color: var(--muted); width: 28px; height: 28px; }
.mode-tab[aria-selected="true"] .mode-icon, .mode-tab[aria-selected="true"] strong { color: var(--blue); }
.mode-tab strong { display: block; font-weight: 500; font-size: 16px; line-height: 1.35; letter-spacing: -.3px; }
.mode-tab > span > span { display: block; font-size: 12px; line-height: 1.6; color: var(--muted); margin-top: 7px; }
.tab-arrow { display: none; }
.mode-panel { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-rows: auto 1fr auto; align-items: start; column-gap: 56px; padding: 44px; }
.panel-heading { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 20px; color: var(--muted); font-size: 13px; }
.scheme-label { position: absolute; right: 0; top: -26px; color: var(--muted); font-size: 12px; }
.panel-heading .scheme-label { position: static; display: none; }
.panel-copy { grid-area: 2 / 1; }
.panel-copy h3 { font-size: 32px; line-height: 1.2; letter-spacing: -1px; max-width: 380px; }
.panel-copy p { margin-top: 16px; color: var(--muted); font-size: 16px; line-height: 1.7; min-height: 110px; max-width: 430px; }
.panel-document { grid-area: 3 / 1; display: inline-flex; align-items: center; justify-self: start; gap: 6px; min-height: 48px; margin-top: 16px; padding: 8px 0; color: var(--blue); font-size: 14px; font-weight: 500; }
.panel-document:hover { text-decoration: underline; text-underline-offset: 4px; }
.panel-document .icon { width: 20px; height: 20px; }
.signal-viewport { grid-area: 1 / 2 / 4 / 3; align-self: center; position: relative; min-width: 0; color: var(--signal); background: var(--surface); border-radius: 8px; padding: 28px 16px 20px; }
.signal-viewport::before { content: "Схема режима"; display: block; color: var(--muted); text-align: right; font-size: 12px; margin-bottom: 18px; }
.signal-svg { display: block; width: 100%; height: auto; }
.plot { stroke: var(--signal); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.plot-secondary { stroke: #879dcc; stroke-width: 1.5; opacity: .75; }
.signal-mode { display: none; }
[data-active="measure"] .signal-measure,
[data-active="generate"] .signal-generate,
[data-active="electrical"] .signal-electrical,
[data-active="analysis"] .signal-analysis { display: block; }
.plot-axis { position: absolute; color: var(--muted); font-size: 12px; font-style: italic; }
.plot-axis-y { top: 64px; left: 21px; }
.plot-axis-x { bottom: 24px; right: 21px; }
.compatibility-note { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 40px; }
.compatibility-note h3 { font-size: 22px; letter-spacing: -.5px; }
.compatibility-note p { color: var(--muted); font-size: 14px; line-height: 1.65; margin-top: 8px; }
.compatibility-note .button { flex: none; min-width: 218px; }

/* Shared dialog controls. */
.icon-button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 6px; }
.icon-button:hover { background: var(--blue-soft); }
.dialog { width: 576px; max-width: calc(100% - 32px); max-height: calc(100dvh - 48px); border: 1px solid var(--line); border-radius: 16px; background: var(--white); color: var(--ink); padding: 40px; overflow: auto; box-shadow: 0 24px 80px #17203320; }
.dialog::backdrop { background: #17203380; backdrop-filter: blur(3px); }
.dialog-close { position: absolute; top: 12px; right: 12px; }
.dialog-kicker { color: var(--blue); font-size: 13px; margin-bottom: 16px; padding-right: 32px; }
.dialog h2 { font-size: 30px; letter-spacing: -.9px; line-height: 1.25; padding-right: 16px; }
.dialog > p:not(.dialog-kicker) { color: var(--muted); font-size: 16px; margin-top: 20px; }
.callback-form { margin-top: 24px; }
.callback-form label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; }
.callback-form input[type="tel"] { display: block; width: 100%; min-height: 56px; padding: 14px 16px; border: 1px solid var(--control-line); border-radius: 8px; background: var(--white); color: var(--ink); font-size: 16px; line-height: 1.5; }
.callback-form input[type="tel"]::placeholder { color: var(--muted); opacity: 1; }
.callback-form input[type="tel"][aria-invalid="true"] { border-color: #b42318; }
.field-error { margin-top: 8px; color: #b42318; font-size: 13px; line-height: 1.5; }
.callback-consents { margin-top: 20px; }
.callback-form .consent-option { display: grid; grid-template-columns: 20px 1fr; align-items: start; gap: 12px; min-height: 44px; padding: 8px 0; margin-bottom: 0; font-size: 13px; line-height: 1.5; font-weight: 400; cursor: pointer; }
.consent-option input { width: 20px; height: 20px; margin: 0; accent-color: var(--blue); cursor: pointer; }
.consent-option a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.consent-option:has([aria-invalid="true"]) { color: #b42318; }
.callback-form .button { width: 100%; margin-top: 20px; }
.callback-status { margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.copy-email { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font-size: 15px; }
.copy-email .icon { width: 20px; height: 20px; }
.dialog .copy-status { font-size: 12px !important; color: var(--blue) !important; min-height: 22px; margin-top: 0 !important; text-align: center; }
.dialog .dialog-phone { padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px !important; }
.dialog-phone a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.documents-dialog { width: 680px; }
.document-item { display: flex; gap: 20px; padding: 24px 0; margin-top: 24px; border-top: 1px solid var(--line); }
.document-item + .document-item { margin-top: 0; padding-bottom: 0; }
.document-item > .icon { color: var(--blue); width: 28px; height: 28px; }
.document-item > div { min-width: 0; }
.document-item h3 { font-size: 19px; font-weight: 500; line-height: 1.35; }
.document-item p { font-size: 15px; color: var(--muted); margin-top: 8px; }
.document-meta { display: block; font-size: 12px; color: var(--muted); margin-top: 12px; }
.document-actions { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 14px; color: var(--blue); font-size: 14px; font-weight: 500; }
.document-actions a { display: flex; align-items: center; gap: 6px; min-height: 44px; }
.document-actions a:hover { text-decoration: underline; text-underline-offset: 4px; }
.document-actions .icon { width: 18px; height: 18px; }
.photo-dialog { width: 1120px; padding: 32px; }
.photo-dialog h2 { font-size: 24px; padding-right: 32px; margin-bottom: 24px; }
.photo-dialog img { width: auto; max-height: 68dvh; object-fit: contain; margin-inline: auto; }
.photo-dialog > p { font-size: 14px !important; }
.noscript-note { padding: 24px; background: var(--surface); }
.noscript-note a { text-decoration: underline; }

@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .header-inner { gap: 24px; min-height: 88px; }
  .brand-name { font-size: 18px; }
  .brand-name > span { font-size: 11px; }
  .desktop-nav { font-size: 13px; }
  .desktop-nav a, .desktop-nav button { gap: 8px; padding-inline: 12px; }
  .header-contact { gap: 16px; padding-left: 16px; }
  .phone { font-size: 16px; }
  .hero-layout { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; }
  h1 { font-size: 42px; letter-spacing: -1.6px; }
  .hero-showcase { min-height: 440px; padding-right: 76px; }
  .purchase-summary { width: 176px; padding: 20px; }
  .purchase-conditions dd { font-size: 23px; }
  .hero-description .desktop-break { display: none; }
  .section-heading { gap: 40px; }
  .section-heading h2 { font-size: 38px; }
  .mode-tab { padding: 22px 18px; }
  .mode-tab::after { left: 18px; right: 18px; }
  .mode-tab strong { font-size: 15px; }
  .mode-panel { padding: 32px; gap: 32px; }
  .panel-copy h3 { font-size: 28px; }
}

@media (max-width: 860px) {
  .header-inner { gap: 16px; }
  .brand-name > span { display: none; }
  .hero { padding: 40px 0 48px; }
  .hero-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .hero-content { padding-top: 16px; padding-bottom: 0; }
  h1 { font-size: 36px; letter-spacing: -1.4px; }
  .hero-description { font-size: 17px; }
  .hero-actions { gap: 12px; }
  .button, .document-link { font-size: 14px; padding-inline: 18px; }
  .hero-actions .button { font-size: 13px; gap: 10px; padding-inline: 14px; }
  .hero-showcase { display: block; min-height: 0; padding-right: 0; }
  .product-stage { padding: 16px 0 24px; }
  .purchase-summary { position: static; transform: none; width: 100%; padding: 20px; margin-top: 16px; box-shadow: none; background: var(--surface); border: 0; }
  .purchase-conditions { gap: 14px; }
  .purchase-conditions > div { grid-template-columns: 1fr auto; align-items: center; gap: 12px; }
  .purchase-conditions > div + div { border: 0; padding-top: 0; }
  .purchase-conditions dt { font-size: 12px; }
  .purchase-conditions dd { font-size: 19px; white-space: nowrap; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .section-heading > p { max-width: 580px; justify-self: start; }
  .mode-tab { gap: 12px; padding: 20px 14px; }
  .mode-tab::after { left: 14px; right: 14px; }
  .mode-tab strong { font-size: 14px; }
  .mode-tab > span > span { font-size: 12px; }
  .mode-panel { grid-template-columns: 1fr 1fr; column-gap: 28px; padding: 28px; }
  .panel-copy h3 { font-size: 27px; }
  .panel-copy p { font-size: 15px; }
  .signal-viewport { padding-inline: 12px; }
  .compatibility-note { gap: 24px; }
  .compatibility-note h3 { font-size: 20px; }
}

@media (max-width: 979px) {
  html { scroll-padding-top: 96px; }
  .header-inner, .mobile-menu { width: calc(100% - 40px); }
  .header-inner { min-height: 76px; }
  .brand { gap: 10px; }
  .brand img { width: 40px; height: 36px; }
  .brand-name { font-size: 18px; }
  .desktop-nav, .header-contact { display: none; }
  .menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 10px; }
  .menu-toggle > span { width: 24px; height: 2px; background: var(--ink); transition: transform var(--hover-time); }
  .menu-toggle[aria-expanded="true"] > span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-menu { display: grid; padding: 12px 0 20px; border-bottom: 1px solid var(--line); }
  .mobile-menu > a, .mobile-menu > button { display: flex; align-items: center; gap: 12px; text-align: left; min-height: 48px; padding: 12px; border-radius: 7px; font-size: 16px; }
  .mobile-menu > a:hover, .mobile-menu > button:hover { background: var(--blue-soft); color: var(--blue); }
  .mobile-menu .icon { width: 20px; height: 20px; color: var(--blue); }
}

@media (max-width: 699px) {
  .container { width: calc(100% - 40px); }
  .hero { padding: 36px 0 40px; }
  .hero-layout { grid-template-columns: 1fr; gap: 30px; }
  .hero-content { padding-top: 0; }
  h1 { font-size: clamp(32px, 8.1vw, 45px); letter-spacing: -1.25px; line-height: 1.16; }
  .hero-description { font-size: 16px; line-height: 1.65; margin-top: 20px; }
  .desktop-break { display: none; }
  .hero-actions { margin-top: 24px; gap: 12px; flex-direction: column; align-items: stretch; }
  .hero-actions > button { width: 100%; }
  .button, .document-link { font-size: 14px; padding-inline: 16px; min-height: 56px; }
  .hero-actions .button { gap: 10px; justify-content: center; }
  .hero-showcase { display: grid; grid-template-columns: 1fr; gap: 20px; }
  .product-image { max-height: 400px; }
  .zoom-button { bottom: 8px; left: 8px; }
  .purchase-summary { border-radius: 12px; padding: 24px; margin-top: 0; }
  .purchase-conditions { gap: 16px; }
  .purchase-conditions > div { grid-template-columns: 1fr auto; gap: 16px; align-items: center; }
  .purchase-conditions > div + div { border: 0; padding-top: 0; }
  .purchase-conditions dt { font-size: 13px; line-height: 1.45; }
  .purchase-conditions dd { font-size: 19px; letter-spacing: -.4px; white-space: nowrap; }
  .geography { font-size: 13px; padding-top: 16px; margin-top: 20px; }
  .capabilities { padding: 44px 0; }
  .section-heading { gap: 20px; margin-bottom: 28px; }
  .section-heading h2 { font-size: 34px; line-height: 1.15; letter-spacing: -1.2px; }
  .section-heading h2 br { display: none; }
  .section-heading > p { font-size: 16px; line-height: 1.65; }
  .capability-explorer { border-radius: 12px; }
  .mode-tabs { grid-template-columns: repeat(2, 1fr); }
  .mode-tab { gap: 12px; min-height: 128px; padding: 18px; }
  .mode-tab:nth-child(3) { border-left: 0; }
  .mode-tab:nth-child(n+3) { border-top: 1px solid var(--line); }
  .mode-tab:first-child { border-top-left-radius: 11px; }
  .mode-tab:nth-child(2) { border-top-right-radius: 11px; }
  .mode-tab:last-child { border-top-right-radius: 0; }
  .mode-tab::after { left: 18px; right: 18px; }
  .mode-tab > span > span { display: none; }
  .mode-tab strong { font-size: 14px; line-height: 1.4; }
  .mode-icon { width: 26px; height: 26px; }
  .mode-panel { display: flex; flex-direction: column; gap: 0; padding: 26px 22px 20px; }
  .panel-heading { order: 0; font-size: 12px; margin-bottom: 16px; }
  .panel-copy { order: 1; }
  .panel-copy h3 { font-size: 28px; letter-spacing: -.8px; }
  .panel-copy p { margin-top: 12px; font-size: 16px; min-height: 0; line-height: 1.65; }
  .signal-viewport { order: 2; width: 100%; margin-top: 28px; padding: 18px 10px 20px; }
  .signal-viewport::before { font-size: 11px; margin-bottom: 20px; }
  .plot-axis-y { top: 54px; left: 12px; }
  .plot-axis-x { bottom: 20px; right: 12px; }
  .panel-document { order: 3; margin-top: 16px; font-size: 14px; min-height: 48px; }
  .compatibility-note { display: block; margin-top: 28px; }
  .compatibility-note h3 { font-size: 23px; line-height: 1.3; }
  .compatibility-note p { font-size: 16px; margin-top: 12px; }
  .compatibility-note p br { display: none; }
  .compatibility-note .button { width: 100%; margin-top: 24px; justify-content: space-between; }
  .dialog { padding: 32px 24px; border-radius: 12px; max-height: calc(100dvh - 32px); }
  .dialog-close { top: 8px; right: 8px; }
  .dialog h2 { font-size: 26px; }
  .dialog > p:not(.dialog-kicker) { font-size: 16px; }
  .copy-email { font-size: 14px; }
  .document-item { gap: 12px; }
  .document-item > .icon { width: 24px; height: 24px; }
  .document-item h3 { font-size: 17px; }
  .document-item p { font-size: 15px; }
  .document-actions { gap: 8px 20px; }
  .photo-dialog { padding: 28px 16px 20px; }
  .photo-dialog h2 { font-size: 21px; }
  .photo-dialog img { max-height: 62dvh; }
}

@media (max-width: 359px) {
  .container { width: calc(100% - 32px); }
  h1 { font-size: 29px; letter-spacing: -1px; }
  .brand-name { font-size: 17px; }
  .hero-actions .button { font-size: 13px; padding-inline: 12px; gap: 8px; }
  .purchase-summary { padding: 20px; }
  .purchase-conditions dt { font-size: 12px; }
  .purchase-conditions dd { font-size: 17px; }
  .section-heading h2 { font-size: 30px; }
  .mode-tab { padding: 16px 14px; }
  .mode-tab strong { font-size: 13px; }
  .mode-panel { padding-inline: 18px; }
  .dialog { padding-inline: 20px; }
  .copy-email { font-size: 13px; }
}

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