/* Public site: SMS infrastructure. Graphite surfaces, one green for a delivered message,
   amber for a message that waits. The homepage opens on a dark routing console that shows
   what the product does: your systems, the SendHarbor queue and its rules, your phones.
   The workspace keeps the neutral tokens from brand.css; only public pages use these.
   Design review: Unslop by Damir Sokolovsky / @heydamir, CC BY 4.0.
   https://github.com/heydamir/unslop
   Geist and Geist Mono (The Geist Project Authors): SIL OFL 1.1, see fonts/Geist-OFL.txt. */
@font-face { font-family: Geist; src: url('/fonts/geist-latin.woff2') format('woff2'); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Geist; src: url('/fonts/geist-cyrillic.woff2') format('woff2'); font-weight: 100 900; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Geist Mono'; src: url('/fonts/geist-mono-latin.woff2') format('woff2'); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist Mono'; src: url('/fonts/geist-mono-cyrillic.woff2') format('woff2'); font-weight: 100 900; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
:root {
  color-scheme: light;
  --sh-font: Geist, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sh-ink: #0b0c0e;
  --sh-secondary: #52525b;
  --sh-muted: #6b6b74;
  --sh-accent: #0b0c0e;
  --sh-accent-strong: #26272b;
  --sh-accent-soft: #f2f2f3;
  --sh-page: #f6f6f7;
  --sh-surface: #ffffff;
  --sh-field: #f2f2f3;
  --sh-line: #e6e6e9;
  --sh-control-line: #8a8a93;
  --sh-positive: #15803d;
  --sh-positive-soft: #ecf7ef;
  --sh-warning: #a15c07;
  --sh-warning-soft: #fdf5e7;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ink: var(--sh-ink);
  --muted: var(--sh-secondary);
  --meta: var(--sh-muted);
  /* Links and the primary action are ink; the old name stays so components keep working. */
  --blue: var(--sh-accent);
  --blue-dark: var(--sh-accent-strong);
  --paper: var(--sh-surface);
  --wash: var(--sh-page);
  --field: var(--sh-field);
  --line: var(--sh-line);
  --green: var(--sh-positive);
  --amber: var(--sh-warning);
  /* The dark band: header, hero and console. */
  --night: #0a0a0b;
  --night-raised: #111214;
  --night-step: #18191c;
  --night-line: #ffffff17;
  --night-ink: #ededee;
  --night-muted: #a1a1aa;
  --night-meta: #8b8b94;
  --night-green: #4ade80;
  --night-amber: #fbbf24;
  font-family: var(--sh-font);
  font-size: 16px;
  line-height: 1.6;
  font-synthesis: none;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: var(--blue); text-underline-offset: 4px; }
a:hover { color: var(--blue-dark); }
button, input, select, textarea { font: inherit; }
strong { font-weight: 600; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 4px;
}
.wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.site-header { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.site-brand img { display: block; width: 168px; height: 40px; }
.site-nav { display: flex; gap: 32px; align-items: center; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; padding-block: 8px; }
.site-nav a:hover { text-decoration: underline; }
.site-menu { position: relative; display: none; }
.site-menu summary { cursor: pointer; padding: 8px; font-size: 14px; list-style: none; }
.site-menu summary::-webkit-details-marker { display: none; }
.site-menu[open] summary { color: var(--blue); }
.site-menu > div { position: absolute; right: 0; top: calc(100% + 8px); width: 200px; padding: 8px; z-index: 10; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px #172a3a0f; }
.site-menu > div a { display: block; padding: 12px; border-radius: 8px; }
.site-menu > div a:hover { background: var(--wash); }
.skip-link { position: absolute; top: -80px; left: 16px; padding: 12px; background: var(--paper); z-index: 20; }
.skip-link:focus { top: 8px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(36px, 4.3vw, 56px); line-height: 1.08; letter-spacing: -.035em; font-weight: 500; margin-bottom: 24px; }
h2 { font-size: 36px; line-height: 1.15; letter-spacing: -.03em; font-weight: 500; margin-bottom: 16px; }
h3 { font-size: 18px; line-height: 1.4; font-weight: 500; margin-bottom: 8px; }
p { margin-bottom: 16px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 20px; border: 1px solid var(--line); border-radius: var(--sh-radius-control, 8px); font-size: 14px; font-weight: 500; text-decoration: none; line-height: 1.4; color: var(--ink); background: var(--paper); cursor: pointer; }
.button:hover { background: var(--wash); color: var(--ink); }
.button.primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.button.primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.button[aria-disabled=true], button:disabled { opacity: .6; cursor: not-allowed; pointer-events: none; }
.fine { font-size: 13px; line-height: 1.6; color: var(--muted); }

/* The homepage opens on a dark band: header, headline and a routing console. The console is
   the page's one rich moment and shows the product itself: requests from your systems, the
   SendHarbor queue with its rules, and the phones and SIMs that send. */
.home-top, .hero { background: var(--night); color: var(--night-ink); }
.home-top .site-nav > a, .home-top .site-menu > summary { color: var(--night-ink); }
.home-top .site-nav > a:hover { color: #fff; }
.home-top .site-language-menu > summary, .home-top .site-language select { background: var(--night-raised); border-color: var(--night-line); color: var(--night-ink); }
.home-top a:focus-visible, .hero a:focus-visible, .home-top summary:focus-visible { outline-color: #fff; }
.hero { padding-block: 56px 72px; }
.hero-intro { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: end; gap: 56px; margin-bottom: 48px; }
.hero h1 { font-size: clamp(40px, 4.6vw, 64px); line-height: 1.04; font-weight: 500; letter-spacing: -.04em; margin-bottom: 0; color: #fff; }
.hero-copy { min-width: 0; }
.hero-copy > p { color: var(--night-muted); font-size: 16px; line-height: 1.6; max-width: 440px; margin-bottom: 24px; }
.hero-actions { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 16px; }
.hero .button.primary { background: var(--night-ink); border-color: var(--night-ink); color: var(--night); }
.hero .button.primary:hover { background: #fff; border-color: #fff; color: var(--night); }
.hero-actions .hero-docs { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--night-ink); text-decoration: none; }
.hero-docs:hover { text-decoration: underline; color: #fff; }
.hero-copy .fine { font-size: 12px; line-height: 1.6; margin-bottom: 0; color: var(--night-meta); }
.message-journey { min-width: 0; margin: 0; }
.console { background: var(--night-raised); border: 1px solid var(--night-line); border-radius: 16px; overflow: hidden; }
.console-route { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--night-line); }
.console-route li { position: relative; display: flex; align-items: center; gap: 10px; padding: 14px 24px; font-size: 13px; color: var(--night-ink); }
.console-route li + li { border-left: 1px solid var(--night-line); }
.console-route span { font: 12px/1 var(--mono); color: var(--night-meta); }
/* The route fills green from request to phone once on load, then stays as the step divider. */
.console-route { position: relative; border-bottom: 0; }
.console-route::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, #22c55e99 0 var(--route, 100%), var(--night-line) var(--route, 100%)); }
.journey-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr); }
.journey-body > div { min-width: 0; padding: 24px; }
.journey-body > div + div { border-left: 1px solid var(--night-line); }
.journey-label { color: var(--night-meta); font-size: 12px; margin-bottom: 12px; }
.source-row, .fleet-row { padding: 12px; border: 1px solid transparent; border-radius: 10px; }
.source-row + .source-row, .fleet-row + .fleet-row { margin-top: 4px; }
.source-row.is-active, .fleet-row.is-active { background: var(--night-step); border-color: var(--night-line); }
.source-name, .fleet-name { margin: 0; font-size: 14px; font-weight: 500; color: var(--night-ink); line-height: 1.4; }
.source-meta, .fleet-sims { margin: 2px 0 0; font: 12px/1.5 var(--mono); color: var(--night-meta); }
.journey-source code { display: block; margin-top: 10px; padding: 8px 10px; background: var(--night); border: 1px solid var(--night-line); border-bottom: 0; border-radius: 8px 8px 0 0; font: 500 12px/1.5 var(--mono); color: var(--night-ink); overflow-wrap: anywhere; }
.journey-request { display: grid; gap: 2px; padding: 10px; background: var(--night); border: 1px solid var(--night-line); border-radius: 0 0 8px 8px; font: 12px/1.55 var(--mono); color: var(--night-meta); overflow-wrap: anywhere; }
.journey-request-text { color: var(--night-ink); }
.journey-brand { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--night-ink); }
.journey-brand img { flex-shrink: 0; border-radius: 5px; }
.journey-queue { margin-left: auto; font: 12px/1.5 var(--mono); color: var(--night-meta); font-variant-numeric: tabular-nums; }
.journey-rules { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 16px 0 4px; }
.journey-rules li { padding: 3px 8px; border: 1px solid var(--night-line); border-radius: 6px; font: 12px/1.5 var(--mono); color: var(--night-muted); }
.journey-timeline { list-style: none; padding: 0; margin: 16px 0 12px; }
.journey-timeline li { position: relative; display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 36px; font-size: 13px; line-height: 1.5; color: var(--night-muted); }
.journey-timeline li:not(:last-child)::after { content: ''; position: absolute; left: 3px; top: calc(50% + 4px); bottom: calc(-50% + 4px); width: 1px; background: #ffffff26; }
.journey-node { width: 7px; height: 7px; border-radius: 50%; background: var(--night-green); z-index: 1; }
.journey-timeline time { color: var(--night-meta); font: 12px/1.5 var(--mono); font-variant-numeric: tabular-nums; }
.journey-timeline .current { color: var(--night-ink); }
.journey-timeline .current > span:last-child { grid-column: 2 / -1; }
.journey-timeline .current .journey-node { width: 9px; height: 9px; margin-left: -1px; background: transparent; border: 1.5px solid var(--night-amber); }
.journey-event { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--night-line); font-size: 12px; color: var(--night-muted); }
.journey-event code { color: var(--night-green); font: 12px/1.5 var(--mono); white-space: nowrap; }
.journey-delivery { font-size: 12px; line-height: 1.6; margin: 10px 0 0; color: var(--night-meta); }
.fleet-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.fleet-state { display: inline-flex; align-items: center; gap: 6px; margin: 0; font: 12px/1.5 var(--mono); white-space: nowrap; text-align: right; }
.fleet-state::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.fleet-state.sending { color: var(--night-green); }
.fleet-state.online { color: var(--night-muted); }
.fleet-state.waiting { color: var(--night-amber); }
.fleet-note { margin: 16px 0 0; font-size: 12px; line-height: 1.6; color: var(--night-meta); }
.message-journey figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 12px; color: var(--night-meta); font-size: 12px; }
.message-journey figcaption a { display: inline-flex; align-items: center; min-height: 44px; color: var(--night-ink); text-decoration: none; }
.message-journey figcaption a:hover { text-decoration: underline; color: #fff; }

/* Engineering guarantees: a second dark band, the facts an operator asks about first. */
.guarantees { background: var(--night); color: var(--night-ink); }
.guarantees .section-intro p { color: var(--night-muted); }
.guarantee-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--night-line); border: 1px solid var(--night-line); border-radius: 16px; overflow: hidden; counter-reset: guarantee; }
.guarantee-grid li { padding: 28px; background: var(--night-raised); }
.guarantee-grid li::before { counter-increment: guarantee; content: '0' counter(guarantee); display: block; margin-bottom: 20px; font: 12px/1 var(--mono); color: var(--night-meta); }
.guarantee-grid h3 { color: #fff; font-size: 16px; margin-bottom: 8px; }
.guarantee-grid p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--night-muted); }

/* Checkable facts instead of logos: there are no customers to name yet. */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; list-style: none; margin-block: 8px 0; padding: 0 0 56px; }
.facts li { display: flex; flex-direction: column; gap: 4px; padding-top: 16px; border-top: 1px solid var(--line); }
.facts strong { font-size: 15px; font-weight: 500; }
.facts span { font-size: 13px; line-height: 1.55; color: var(--muted); }

/* A real request the reader can copy. */
.code-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.code-layout > div > p { color: var(--muted); max-width: 440px; }
.code-links { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 20px 0 0; font-size: 14px; }
.code-links a { display: inline-flex; align-items: center; min-height: 44px; }
.code-panel { min-width: 0; background: var(--night); border: 1px solid #ffffff12; border-radius: 16px; color: var(--night-ink); overflow: hidden; }
.code-panel :focus-visible { outline-color: #fff; }
.code-panel-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px; border-bottom: 1px solid #ffffff1f; }
.code-tabs { display: flex; gap: 4px; }
.code-tabs button, .code-copy { min-height: 36px; padding: 6px 12px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--night-muted); font-size: 13px; font-weight: 500; cursor: pointer; }
.code-tabs button:hover, .code-copy:hover { color: #fff; }
.code-tabs button[aria-selected=true] { background: #ffffff1f; color: #fff; }
.code-copy { border-color: #ffffff33; color: #fff; flex: none; }
.code-pane pre, .code-result pre { margin: 0; overflow-x: auto; font: 12.5px/1.7 var(--mono); }
.code-pane pre { padding: 16px 20px; min-height: 252px; }
.code-pane code, .code-result pre code { font: inherit; }
.code-result { padding: 12px 20px 16px; border-top: 1px solid #ffffff1f; font-size: 12px; }
.code-result p { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; color: var(--night-muted); }
.code-result p code { color: var(--night-green); font: 12px/1.5 var(--mono); white-space: nowrap; }
.code-result pre { padding-block: 8px 12px; color: var(--night-ink); }

.section { padding-block: 64px; }
.section-soft { background: var(--wash); }
.section-intro { max-width: 640px; margin-bottom: 40px; }
.section-intro p { color: var(--muted); margin: 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.step { position: relative; padding: 36px 16px 0 0; }
.step::before { counter-increment: step; content: '0' counter(step); position: absolute; left: 0; top: 0; color: var(--meta); font: 12px/1.6 var(--mono); font-variant-numeric: tabular-nums; }
.step h3 { max-width: 24ch; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.7; margin-bottom: 0; }
.use-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.use-cases article { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.use-cases p { flex: 1; color: var(--muted); font-size: 14px; line-height: 1.7; margin-bottom: 8px; }
.use-cases a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) 208px; align-items: center; gap: 48px; }
.why > * { min-width: 0; }
.why-copy p { color: var(--muted); }
.feature-list { padding: 0; list-style: none; margin: 24px 0 0; }
.feature-list li { position: relative; padding: 12px 0 12px 20px; font-size: 14px; }
.feature-list li::before { content: ''; position: absolute; left: 0; top: 21px; width: 4px; height: 4px; background: var(--blue); border-radius: 50%; }
.feature-list li + li { border-top: 1px solid var(--line); }
.message-preview { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.message-preview .example-label { font-size: 12px; color: var(--meta); margin: 0 0 8px; }
.message-preview h3 { font-size: 18px; margin-bottom: 20px; }
.message-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.message-row p { margin: 0; font-size: 14px; color: var(--ink); }
.message-row small { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }
.badge { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 500; white-space: nowrap; }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.sent { color: var(--blue); }
.badge.waiting { color: var(--amber); }
.badge.delivered { color: var(--green); }
.message-preview .fine { margin: 16px 0 0; font-size: 12px; }
.app-shot { margin: 0; }
.app-preview-link { display: block; }
.app-preview { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 20px; }
.app-shot figcaption { font-size: 12px; line-height: 1.5; color: var(--meta); margin-top: 8px; }
.pricing-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.pricing-layout > div > p { color: var(--muted); margin-bottom: 0; }
.price-list { margin: 0; }
.price-list > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding-block: 20px; border-top: 1px solid var(--line); }
.price-list > div:first-child { padding-top: 0; border-top: 0; }
.price-list > div:last-child { padding-bottom: 0; }
.price-list dt { color: var(--muted); font-size: 14px; line-height: 1.6; }
.price-list dd { margin: 0; }
.price-list strong { display: block; font-size: 16px; font-weight: 500; line-height: 1.4; }
.price-list > div:first-child strong { font-size: 36px; letter-spacing: -.03em; line-height: 1.1; }
.price-list span { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.faq-list details { border-bottom: 1px solid var(--line); padding-block: 20px; }
.faq-list details:first-child { padding-top: 0; }
.faq-list summary { font-size: 16px; font-weight: 500; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font-size: 20px; font-weight: 400; color: var(--muted); }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { font-size: 14px; line-height: 1.8; color: var(--muted); margin: 16px 24px 0 0; }
.closing { border-top: 1px solid var(--line); padding-block: 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.closing h2 { font-size: 28px; margin-bottom: 8px; }
.closing p { color: var(--muted); margin: 0; font-size: 14px; }
.site-footer { border-top: 1px solid var(--line); padding-block: 32px; }
.footer-row { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.footer-row .site-brand img { width: 144px; height: 36px; }
.footer-links { display: flex; gap: 16px 24px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--muted); }
.footer-note { font-size: 12px; line-height: 1.8; color: var(--meta); margin: 24px 0 0; max-width: 80ch; }

/* Public help and policy pages share the same type and readable line length. */
.text-page { max-width: 80ch; padding-block: 48px 80px; }
.text-page h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 20px; max-width: 24ch; }
.text-page h2 { font-size: 24px; letter-spacing: 0; margin-top: 40px; margin-bottom: 12px; }
.text-page h3 { font-size: 18px; margin-top: 24px; }
.text-page p, .text-page li { font-size: 14px; line-height: 1.85; }
.text-page .lead { font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 60ch; }
.text-page ul, .text-page ol { padding-left: 24px; }
.text-page li + li { margin-top: 12px; }
.text-page li p { margin: 8px 0; }
.note { background: var(--wash); border-left: 2px solid var(--blue); padding: 20px 24px; border-radius: 0 8px 8px 0; margin-block: 24px; }
.note p:last-child { margin-bottom: 0; }
.note h3 { margin-top: 0; }
.note.warning { background: #fcf8ef; border-color: var(--amber); }
.legal-meta { font-size: 13px; color: var(--muted); padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.contents { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; margin-block: 24px; }
.back-link { display: inline-block; font-size: 13px; margin-bottom: 24px; }
.download-page .text-page, .support-page .text-page { max-width: 960px; }
.download-page .text-page > p, .download-page .text-page > ol, .download-page .text-page > .note,
.support-page .text-page > p, .support-page .text-page > .note { max-width: 76ch; }
.install-panel { display: grid; grid-template-columns: minmax(0, 1fr) 196px; gap: 32px; align-items: center; padding: 32px; border: 1px solid var(--line); border-radius: 16px; margin-block: 32px 20px; }
.install-panel h2 { font-size: 20px; margin: 0 0 8px; }
.install-panel p { margin-bottom: 8px; }
.install-panel .release-channel { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.release-channel span { color: var(--amber); }
.install-panel .site-status { color: var(--muted); font-size: 13px; margin-bottom: 16px; min-height: 1.6em; }
.install-panel .button { margin: 4px 8px 4px 0; }
.install-qr-side { text-align: center; padding-left: 24px; border-left: 1px solid var(--line); }
.install-qr { width: 168px; max-width: 100%; height: auto; background: #fff; padding: 8px; }
.install-panel .install-qr-caption { font-size: 12px; margin: 8px 0 0; }
.download-details { margin-top: 16px; }
.download-details summary { color: var(--muted); font-size: 12px; cursor: pointer; }
.download-meta { overflow-wrap: anywhere; font-size: 12px !important; color: var(--muted); margin-top: 12px; }
.text-page .sandbox-alternative { font-size: 14px; margin-bottom: 24px; }
.connection-steps { counter-reset: connection; list-style: none; padding-left: 0 !important; }
.connection-steps li { position: relative; padding: 0 0 20px 40px; }
.connection-steps li + li { margin-top: 0; }
.connection-steps li::before { counter-increment: connection; content: counter(connection); position: absolute; top: 0; left: 0; font-size: 12px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--wash); color: var(--muted); }
.connection-steps li:not(:last-child)::after { content: ''; position: absolute; top: 28px; bottom: 4px; left: 12px; width: 1px; background: var(--line); }
.support-list { border-block: 1px solid var(--line); margin-block: 32px 40px; }
.support-item { padding-block: 20px; }
.support-item + .support-item { border-top: 1px solid var(--line); }
.support-item summary { display: flex; justify-content: space-between; gap: 20px; list-style: none; cursor: pointer; font-size: 16px; font-weight: 500; }
.support-item summary::-webkit-details-marker { display: none; }
.support-item summary::after { content: '+'; font-size: 20px; color: var(--muted); }
.support-item[open] summary::after { content: '−'; }
.support-item summary small { display: block; color: var(--muted); font-size: 13px; font-weight: 400; margin-top: 4px; }
.support-item > p { color: var(--muted); max-width: 72ch; margin: 16px 24px 0 0; }
.contact-email { font-size: 18px; font-weight: 500; overflow-wrap: anywhere; }

@media (max-width: 1000px) {
  .hero-intro { gap: 32px; grid-template-columns: 1.1fr 1fr; }
  .hero h1 { font-size: 40px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; padding-bottom: 48px; }
  .code-layout { grid-template-columns: 1fr; gap: 32px; }
  .why { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
  .app-shot { grid-column: 1 / -1; justify-self: center; width: 208px; }

  .wrap { width: calc(100% - 48px); }
  .faq-layout, .pricing-layout { gap: 40px; }
  .steps { gap: 24px; }
  .footer-row { align-items: flex-start; }
}
@media (max-width: 760px) {
  .hero { padding-block: 32px; }
  .hero-intro { grid-template-columns: 1fr; gap: 24px; margin-bottom: 28px; }
  .hero-copy > p { max-width: 560px; }
  .hero h1 { font-size: 36px; }
  .message-journey figcaption { align-items: flex-start; flex-direction: column; gap: 0; }

  .section { padding-block: 48px; }
  .section-intro { margin-bottom: 32px; }
  h2 { font-size: 28px; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .step { padding: 0 0 0 48px; }
  .step h3 { max-width: none; }
  .why, .faq-layout, .pricing-layout, .use-cases { grid-template-columns: 1fr; gap: 32px; }
  .use-cases { gap: 16px; }
  .closing { display: block; padding-block: 40px; }
  .closing .button { margin-top: 24px; }
  .footer-row { display: block; }
  .footer-links { margin-top: 24px; }
  .text-page { padding-block: 32px 48px; }
  .text-page h1 { font-size: 36px; }
  .install-panel { padding: 24px; gap: 24px; grid-template-columns: minmax(0, 1fr) 172px; }
  .install-qr-side { padding-left: 16px; }
}
@media (max-width: 560px) {
  .hero { padding-top: 24px; }
  .hero h1 { font-size: 32px; line-height: 1.18; }
  .hero-actions { gap: 8px 16px; }
  .hero-actions .button { font-size: 14px; padding-inline: 16px; }
  .journey-timeline li { font-size: 13px; gap: 8px; }
  .journey-timeline time { font-size: 12px; }
  .facts { grid-template-columns: 1fr; gap: 16px; padding-bottom: 40px; }
  .code-tabs button, .code-copy { min-height: 44px; }
  .code-pane pre { padding: 16px; min-height: 0; font-size: 12px; }
  .code-result { padding-inline: 16px; }
  .price-list > div { grid-template-columns: 1fr; gap: 4px; }

  .wrap { width: calc(100% - 32px); }
  .site-header { min-height: 72px; gap: 12px; }
  .site-brand img { width: 144px; height: 36px; }
  .site-nav { gap: 8px; }
  .site-nav .desktop-link { display: none; }
  .site-menu { display: block; }
  .site-nav .nav-signin { font-size: 13px; padding: 8px; }
  .message-preview { padding: 20px; }
  .message-row { gap: 12px; }
  .message-row small { font-size: 12px; }
  .badge { font-size: 11px; }
  .install-panel { grid-template-columns: 1fr; padding: 20px; }
  .install-qr-side { display: none; }
  .note { padding: 16px; }
  .footer-links { gap: 12px 20px; }
}
@media (prefers-reduced-motion: no-preference) {
  a, .button, summary { transition: color 160ms var(--sh-ease, ease-out), background-color 160ms var(--sh-ease, ease-out), border-color 160ms var(--sh-ease, ease-out); }
}
.site-header {min-height:72px}
.site-nav {gap:24px}
.site-nav>a,.site-menu>summary {min-height:44px;align-items:center;display:inline-flex}
.site-language {display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);flex:0 0 auto}
.site-language>span {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.site-language select {font:inherit;font-size:14px;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:8px;min-height:40px;padding:8px 28px 8px 12px;max-width:148px;cursor:pointer}
.visually-hidden {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
/* Pages with an address per language (/, /ru/, /uk/) link to each other. */
.site-language-menu {position:relative;flex:0 0 auto}
.site-language-menu>summary {display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);font-size:14px;cursor:pointer;list-style:none}
.site-language-menu>summary::-webkit-details-marker {display:none}
.site-language-menu>summary::after {content:'';width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg)}
.site-language-menu[open]>summary {border-color:var(--blue)}
.site-language-menu>div {position:absolute;right:0;top:calc(100% + 8px);min-width:168px;padding:8px;z-index:10;background:var(--paper);border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 24px #172a3a0f}
.site-nav .site-language-menu>div a {display:block;padding:12px;border-radius:8px}
.site-nav .site-language-menu>div a:hover {background:var(--wash);text-decoration:none}
.site-nav .site-language-menu>div a[aria-current] {color:var(--blue);font-weight:600}
/* SMS calculator: the field and its counts first, the rules after. */
.calc-field label {display:block;font-weight:500;margin-bottom:8px}
.calc-field textarea {display:block;width:100%;min-height:160px;padding:12px 14px;border:1px solid var(--sh-control-line,#7b8794);border-radius:8px;background:var(--paper);color:var(--ink);font-size:16px;line-height:1.6;resize:vertical}
.calc-field textarea:focus-visible {outline:3px solid var(--blue);outline-offset:2px}
.calc-field .fine {margin:8px 0 0}
.calc-results {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin:24px 0;padding:20px 0;border-block:1px solid var(--line)}
.calc-results dt {font-size:13px;line-height:1.4;color:var(--muted)}
.calc-results dd {margin:4px 0 0;font:500 24px/1.3 var(--mono);font-variant-numeric:tabular-nums}
.text-page .calc-double {font-size:14px;color:var(--amber)}
.calc-unicode {padding:20px 24px;margin-block:24px;background:var(--sh-warning-soft,#fbf4e8);border-left:2px solid var(--amber);border-radius:0 8px 8px 0}
.text-page .calc-unicode h2 {font-size:18px;margin-top:0}
.text-page .calc-preview {max-height:240px;overflow:auto;padding:12px 14px;background:var(--paper);border:1px solid var(--line);border-radius:8px;white-space:pre-wrap;overflow-wrap:anywhere}
.calc-unicode mark {display:inline-block;min-width:.7em;padding:0 2px;background:#f6dfae;color:var(--ink);border-bottom:2px solid var(--amber);border-radius:2px;text-align:center}
.text-page .calc-characters {display:flex;flex-wrap:wrap;gap:8px 16px;list-style:none;padding:0;margin:0}
.text-page .calc-characters li {margin:0;display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--muted)}
.calc-sandbox {margin-block:40px;padding:24px;border:1px solid var(--line);border-radius:16px}
.text-page .calc-sandbox h2 {margin-top:0}
.text-page .calc-actions {display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;margin-bottom:12px}
.calc-actions a:not(.button) {display:inline-flex;align-items:center;min-height:44px;font-size:14px}
.calc-rules {width:100%;max-width:560px;border-collapse:collapse;font-size:14px;margin-bottom:24px}
.calc-rules th,.calc-rules td {padding:10px 12px;text-align:left;border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums}
.calc-rules thead th {color:var(--muted);font-weight:500;font-size:13px}
.calc-pair {font-size:16px;letter-spacing:.12em}
@media (max-width:820px) {.site-language-menu>summary {min-height:44px}}
@media (max-width:360px) {.site-language-menu>summary {padding-inline:8px;gap:6px}}
@media (max-width:760px) {.calc-results {grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:560px) {.calc-results {grid-template-columns:repeat(2,minmax(0,1fr))}.calc-results dd {font-size:20px}.calc-sandbox {padding:20px}.calc-unicode {padding:16px}}
[data-legal-operator] {padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-block:24px}
[data-legal-operator]>summary {cursor:pointer;color:var(--ink);font-weight:500;min-height:28px}
[data-legal-operator] p {margin:12px 0 0}
.operator-details {display:grid;grid-template-columns:minmax(8rem, 1fr) minmax(0, 3fr);gap:12px 24px;padding-block:16px;border-block:1px solid var(--line)}
.operator-details dt {color:var(--muted)}
.operator-details dd {margin:0;overflow-wrap:anywhere}
@media (max-width:520px) {.operator-details {grid-template-columns:1fr;gap:4px}.operator-details dd+dt {margin-top:12px}}
/* Between the phone menu and a wide screen the Russian and Ukrainian header does not fit all
   five links on one line: Quick start stays, How it works is one tap away on the homepage. */
@media(max-width:1000px){.site-nav .desktop-link[href$="#how-it-works"] {display:none}}
@media(max-width:820px){
 .site-nav {gap:8px}
 .site-nav .desktop-link,.site-nav>.nav-signin {display:none}
 .site-menu {display:block}
 .site-brand img {width:140px;height:auto}
 .site-language select {font-size:16px;max-width:140px;min-height:44px;padding:8px}
 .site-menu>div {right:0;max-width:calc(100vw - 32px)}
}
@media(max-width:560px){
 .site-header {min-height:68px;gap:8px}
 .site-brand img {width:124px}
 .site-nav {gap:4px}
 .site-menu>summary {padding:8px;font-size:13px}
 .site-language select {max-width:124px;font-size:16px}
 .text-page h1 {font-size:30px;line-height:1.2}
 .text-page .lead {font-size:16px}
}

@media (max-width: 360px) {
 .site-header .site-brand img {width:104px}
 .site-language select {max-width:108px}
 .site-menu>summary {padding-inline:4px}
 .hero h1 {font-size:30px}
 .journey-event {align-items:flex-start;flex-wrap:wrap;gap:4px 12px}
}

/* The message travels once when the page opens, then stays still. */
@media (prefers-reduced-motion: no-preference) {
 .journey-timeline li,.journey-event,.journey-delivery {animation:journey-in 520ms var(--sh-ease,ease-out) both}
 .journey-timeline li:nth-child(1) {animation-delay:300ms}
 .journey-timeline li:nth-child(2) {animation-delay:800ms}
 .journey-timeline li:nth-child(3) {animation-delay:1300ms}
 .journey-timeline li:nth-child(4) {animation-delay:1800ms}
 .journey-event {animation-delay:2100ms}
 .journey-delivery {animation-delay:2300ms}
 .journey-timeline li:not(:last-child)::after {transform-origin:top;animation:journey-line 420ms var(--sh-ease,ease-out) both}
 .journey-timeline li:nth-child(1)::after {animation-delay:600ms}
 .journey-timeline li:nth-child(2)::after {animation-delay:1100ms}
 .journey-timeline li:nth-child(3)::after {animation-delay:1600ms}
 @keyframes journey-in {from {opacity:0;transform:translateY(6px)} to {opacity:1;transform:none}}
 @keyframes journey-line {from {transform:scaleY(0)} to {transform:none}}
}

/* Console on narrower screens: the three columns stack in reading order. */
@property --route { syntax: '<percentage>'; inherits: false; initial-value: 100%; }
@media (prefers-reduced-motion: no-preference) {
 .console-route::after { animation: route-run 1600ms var(--sh-ease, ease-out) 200ms both; }
 @keyframes route-run { from { --route: 0%; } to { --route: 100%; } }
}
@media (max-width: 1000px) {
 .journey-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
 .journey-phones { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid var(--night-line); }
 .guarantee-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
 .hero { padding-block: 32px 48px; }
 .hero-intro { align-items: start; }
 .console-route li { padding: 12px 16px; font-size: 12px; }
 .console-route span { display: none; }
 .journey-body { grid-template-columns: 1fr; }
 .journey-body > div { padding: 20px 16px; }
 .journey-body > div + div { border-left: 0; border-top: 1px solid var(--night-line); }
 .guarantee-grid { grid-template-columns: 1fr; }
 .guarantee-grid li { padding: 24px 20px; }
 h2 { font-size: 30px; }
}
@media (max-width: 560px) {
 .hero h1 { font-size: 38px; line-height: 1.08; }
 .console-route { display: none; }
 .fleet-row { flex-direction: column; gap: 4px; }
 .fleet-state { text-align: left; }
}
