:root {
  --bg: #030504;
  --bg-soft: #080c0b;
  --panel: #0b0f0e;
  --panel-2: #0f1513;
  --panel-glass: rgba(11, 15, 14, 0.72);
  --text: #e8f6ef;
  --muted: #8fa89e;
  --muted-2: #6b857a;
  --border: rgba(32, 217, 117, 0.14);
  --border-strong: rgba(32, 217, 117, 0.32);
  --green: #20d975;
  --green-2: #129a56;
  --cyan: #34d399;
  --radius: 18px;
  --radius-sm: 12px;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max: 1180px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 80px rgba(32, 217, 117, 0.12);
  --scrollbar-track: #08120e;
  --scrollbar-thumb: #1a4a35;
  --scrollbar-thumb-hover: #20d975;
  --scrollbar-size: 10px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 50% at 15% -10%, rgba(32, 217, 117, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 5%, rgba(14, 165, 233, 0.08), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(18, 154, 86, 0.06), transparent 55%),
    var(--bg);
}

@supports (scrollbar-color: auto) {
  html, body, * {
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
  }
}

*::-webkit-scrollbar { width: var(--scrollbar-size); height: var(--scrollbar-size); }
*::-webkit-scrollbar-track { background: var(--scrollbar-track); border-radius: 100px; }
*::-webkit-scrollbar-thumb {
  background: linear-gradient(165deg, #2a8f5c, var(--scrollbar-thumb) 55%, #123d2b);
  border-radius: 100px;
  border: 2px solid var(--scrollbar-track);
}
*::-webkit-scrollbar-thumb:hover { background: var(--scrollbar-thumb-hover); }

img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--cyan); }

.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(32, 217, 117, 0.08);
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-lead {
  margin: 0 0 36px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 68ch;
  line-height: 1.65;
}

.accent {
  background: linear-gradient(120deg, #a7f3d0 0%, #20d975 40%, #0ea5e9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Header — sticky только на планшете/десктопе; на телефоне уезжает вместе со страницей */
.site-header {
  position: relative;
  z-index: 100;
  border-bottom: 1px solid rgba(27, 46, 39, 0.6);
  background: rgba(3, 5, 4, 0.98);
  padding-top: env(safe-area-inset-top);
}

@media (min-width: 721px) {
  .site-header {
    position: sticky;
    top: 0;
    background: rgba(3, 5, 4, 0.82);
    backdrop-filter: blur(16px) saturate(1.2);
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  position: relative;
}

.header-end {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
}

.brand:hover { text-decoration: none; color: var(--text); }
.brand img {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(32, 217, 117, 0.25));
}

.brand-text {
  min-width: 0;
  line-height: 1.2;
}

.brand-text small {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

.lang-switch__btn {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}

.lang-switch__btn:hover {
  color: var(--text);
}

.lang-switch__btn.is-active {
  color: #04120a;
  background: linear-gradient(135deg, var(--green), var(--green-2));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
  transition: color 0.15s, background 0.15s;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
}

.site-nav .nav-cta {
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: #04120a !important;
  font-weight: 800;
  margin-left: 4px;
}

.site-nav .nav-cta:hover {
  box-shadow: 0 8px 24px rgba(32, 217, 117, 0.3);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border-strong);
  background: var(--panel);
  color: var(--text);
  border-radius: 10px;
  padding: 10px 14px;
  min-height: 44px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
}

.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, #34d399, var(--green) 50%, var(--green-2));
  color: #031208;
  box-shadow: 0 14px 40px rgba(32, 217, 117, 0.28);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(32, 217, 117, 0.5);
  background: rgba(32, 217, 117, 0.06);
}

/* Hero */
.hero {
  padding: 48px 0 32px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hero .lead {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 54ch;
  line-height: 1.65;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(32, 217, 117, 0.07);
  font-size: 0.8rem;
  font-weight: 700;
  color: #86efac;
  margin-bottom: 20px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(32, 217, 117, 0.5); }
  50% { opacity: 0.85; box-shadow: 0 0 0 8px rgba(32, 217, 117, 0); }
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.metric {
  padding: 16px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--panel-glass);
  backdrop-filter: blur(8px);
}

.metric strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}

.metric span {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.35;
}

/* Dashboard mock */
.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(32, 217, 117, 0.15), transparent 65%);
  pointer-events: none;
}

.dashboard-mock {
  position: relative;
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(14, 22, 19, 0.95), rgba(6, 10, 9, 0.98));
  box-shadow: var(--shadow), var(--shadow-glow);
  overflow: hidden;
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
}

.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: #2a4038; }
.mock-dot:nth-child(1) { background: #ef4444; opacity: 0.7; }
.mock-dot:nth-child(2) { background: #fbbf24; opacity: 0.7; }
.mock-dot:nth-child(3) { background: var(--green); opacity: 0.8; }

.mock-body { padding: 18px; }

.mock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
  margin-bottom: 10px;
  font-size: 0.82rem;
}

.mock-row__id {
  min-width: 0;
  color: var(--text);
  word-break: break-word;
}

.mock-row__id strong {
  font-weight: 700;
  color: var(--text);
}

.mock-row:last-child { margin-bottom: 0; }

.mock-status {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mock-status--ok {
  background: rgba(32, 217, 117, 0.15);
  color: var(--green);
  border: 1px solid rgba(32, 217, 117, 0.35);
}

.mock-status--work {
  background: rgba(56, 189, 248, 0.12);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.mock-balance {
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(32, 217, 117, 0.12), rgba(32, 217, 117, 0.02));
  border: 1px solid var(--border-strong);
  margin-bottom: 14px;
}

.mock-balance label {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mock-balance strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  margin-top: 4px;
  color: var(--text);
}

/* Trust strip */
.trust-strip {
  padding: 20px 0 48px;
  border-bottom: 1px solid var(--border);
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 28px;
}

.trust-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.trust-pill {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Sections */
.section-block {
  padding: 72px 0;
  position: relative;
}

.section-block--alt {
  background: linear-gradient(180deg, transparent, rgba(15, 21, 19, 0.5) 30%, transparent);
}

/* Bento grid */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.bento-card {
  grid-column: span 4;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--panel-glass);
  backdrop-filter: blur(10px);
  transition: border-color 0.2s, transform 0.2s;
}

.bento-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.bento-card--wide { grid-column: span 8; }
.bento-card--tall { grid-column: span 4; grid-row: span 2; }
.bento-card--highlight {
  border-color: var(--border-strong);
  background: linear-gradient(145deg, rgba(32, 217, 117, 0.1), rgba(11, 15, 14, 0.9));
}

.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(32, 217, 117, 0.12);
  border: 1px solid var(--border-strong);
  margin-bottom: 14px;
  color: var(--green);
  font-size: 1.2rem;
}

.bento-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 800;
}

.bento-card p, .bento-card li {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.bento-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.bento-card li { margin-bottom: 6px; }

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid--quad {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--panel);
}

.feature-card .icon {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  color: var(--green);
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 800;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* Timeline */
.timeline {
  display: grid;
  gap: 0;
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--green), rgba(32, 217, 117, 0.1));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding: 0 0 28px 24px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -28px;
  top: 4px;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--panel);
  border: 2px solid var(--green);
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--green);
}

.timeline-item h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 56ch;
}

/* Two col layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Code block */
.code-panel {
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: #050807;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.code-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.code-panel pre {
  margin: 0;
  padding: 18px;
  overflow-x: auto;
  font-size: 0.78rem;
  line-height: 1.55;
  color: #b4e9ce;
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
}

.code-panel .c { color: #6b857a; }
.code-panel .k { color: #34d399; }
.code-panel .s { color: #86efac; }

/* Integration list */
.integration-list {
  color: var(--muted);
  font-size: 0.92rem;
  padding-left: 18px;
  margin: 0 0 24px;
}

.integration-list li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.integration-list li:last-child {
  margin-bottom: 0;
}

.integration-list strong {
  color: var(--text);
  word-break: break-word;
}

/* Compare table */
.compare-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}

.compare-wrap--flow {
  margin-top: 48px;
}

.compare-wrap--scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.compare-table th,
.compare-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.compare-table th {
  background: rgba(0, 0, 0, 0.25);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.compare-table tr:last-child td { border-bottom: none; }

.compare-table td:first-child { color: var(--muted); font-weight: 600; }

.check-yes { color: var(--green); font-weight: 800; }
.check-no { color: #6b7280; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 800px; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--panel);
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 18px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  color: var(--green);
  font-size: 1.2rem;
  font-weight: 800;
  transition: transform 0.2s;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* CTA */
.cta-block {
  margin-top: 56px;
  padding: 48px 32px;
  border-radius: 24px;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(ellipse 80% 80% at 50% 0%, rgba(32, 217, 117, 0.18), transparent 60%),
    linear-gradient(160deg, rgba(12, 22, 18, 0.95), rgba(6, 10, 9, 0.98));
  text-align: center;
  box-shadow: var(--shadow-glow);
}

.cta-block h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta-block p {
  margin: 0 auto 24px;
  max-width: 50ch;
  color: var(--muted);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.contact-emails {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.contact-email {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.contact-email:hover {
  border-color: rgba(32, 217, 117, 0.45);
  background: rgba(32, 217, 117, 0.06);
  text-decoration: none;
}

.contact-email__label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-email__addr {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green);
}

/* Footer */
.site-footer {
  padding: 40px 0 48px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 32ch;
}

.footer-col h4 {
  margin: 0 0 12px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
}

.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  text-decoration: none;
}

.footer-col a:hover { color: var(--green); text-decoration: none; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted-2);
  font-size: 0.82rem;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; margin: 0 auto; width: 100%; }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); }
  .bento-card, .bento-card--wide, .bento-card--tall { grid-column: span 12; }
  .feature-grid,
  .feature-grid--quad { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .compare-wrap--flow { margin-top: 32px; }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--max), calc(100% - 32px));
  }

  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 10px 12px;
    padding: 10px 0;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .header-end {
    grid-column: 2;
    grid-row: 1;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    position: static;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 4px 0 8px;
    border-top: 1px solid var(--border);
    margin-top: 2px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 14px;
    font-size: 0.92rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .site-nav .nav-cta {
    margin-left: 0;
    margin-top: 4px;
    justify-content: center;
  }

  .lang-switch__btn {
    min-width: 44px;
    min-height: 40px;
  }

  .hero {
    padding: 28px 0 20px;
  }

  .hero h1 {
    font-size: clamp(1.65rem, 8vw, 2.25rem);
  }

  .hero .lead {
    font-size: 1rem;
    margin-bottom: 22px;
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 7px 12px 7px 9px;
    max-width: 100%;
    line-height: 1.35;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .metric {
    padding: 14px 12px;
  }

  .metric strong {
    font-size: 1.15rem;
  }

  .trust-strip {
    padding: 16px 0 32px;
  }

  .trust-inner {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    gap: 10px;
    padding-bottom: 6px;
    margin: 0 -4px;
    scrollbar-width: none;
  }

  .trust-inner::-webkit-scrollbar {
    display: none;
  }

  .trust-label {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .trust-pill {
    flex: 0 0 auto;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .section-block {
    padding: 48px 0;
  }

  .section-title {
    font-size: clamp(1.45rem, 6vw, 1.85rem);
  }

  .section-lead {
    font-size: 0.98rem;
    margin-bottom: 28px;
  }

  .bento-card {
    padding: 20px;
  }

  .mock-row {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .mock-status {
    flex-shrink: 0;
  }

  .feature-grid,
  .feature-grid--quad {
    grid-template-columns: 1fr;
  }

  .split {
    gap: 28px;
  }

  .compare-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .compare-table {
    min-width: 520px;
    font-size: 0.82rem;
  }

  .compare-table th,
  .compare-table td {
    padding: 12px 14px;
  }

  .compare-wrap--flow {
    margin-top: 24px;
  }

  .code-panel pre {
    font-size: 0.7rem;
    padding: 14px;
  }

  .faq-list {
    max-width: none;
  }

  .faq-item summary {
    padding: 14px 16px;
    font-size: 0.92rem;
    text-align: left;
  }

  .cta-block {
    margin-top: 40px;
    padding: 32px 20px;
    border-radius: 18px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .contact-emails {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-email {
    width: 100%;
    align-items: stretch;
  }

  .contact-email__addr {
    font-size: 0.85rem;
    word-break: break-all;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .site-footer {
    padding-bottom: calc(32px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 400px) {
  .container {
    width: min(var(--max), calc(100% - 24px));
  }

  .brand-text small {
    display: none;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .mock-balance strong {
    font-size: 1.35rem;
  }
}

body.nav-open {
  overflow: hidden;
}

@media (hover: none) {
  .btn:hover,
  .bento-card:hover,
  .site-nav .nav-cta:hover {
    transform: none;
  }
}
