@import url("tokens/fonts.css");
@import url("tokens/colors.css");
@import url("tokens/typography.css");
@import url("tokens/spacing.css");

/* ============================================================
   MCP Panel — лендинг. AI-OS Маркетолога design language.
   Тёплая бумага, графит, один сигнальный красный. Manrope везде.
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga", "calt";
  overflow-x: clip;
}
::selection { background: var(--accent); color: var(--text-on-accent); }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }

:root {
  --maxw: 1180px;
  --pad: clamp(18px, 4vw, 56px);
}

.shell { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); position: relative; }

/* ---- typographic atoms ---- */
.logo-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-halo); flex: none; }
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); display: inline-flex; align-items: center; }
.mono { font-family: var(--font-mono); }
.accent { color: var(--accent); }
.it { font-style: italic; font-weight: 700; color: var(--accent); }

.display { font-family: var(--font-sans); font-weight: 800; line-height: 1.02; letter-spacing: -0.03em; font-size: clamp(34px, 4.6vw, 66px); margin: 0; text-wrap: balance; }
.display .it { font-style: italic; }
.section-title { font-family: var(--font-sans); font-weight: 800; line-height: 1.04; letter-spacing: -0.025em; font-size: clamp(30px, 4vw, 52px); margin: 0; text-wrap: balance; }
.lede { font-family: var(--font-sans); font-weight: 400; font-size: clamp(18px, 1.5vw, 23px); line-height: 1.45; color: var(--ink-2); letter-spacing: -0.01em; }

/* ---- sections ---- */
.section { padding-top: clamp(64px, 8vw, 132px); padding-bottom: clamp(64px, 8vw, 132px); position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.section-tag { display: flex; align-items: center; gap: 14px; color: var(--mute); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 22px; }
.section-tag .num { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--ink); color: var(--paper); font-weight: 600; font-size: 11px; }
.section-tag .rule { flex: 1; height: 1px; max-width: 120px; background: var(--line); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 104px); align-items: end; margin-bottom: clamp(36px, 5vw, 72px); }

/* ---- buttons ---- */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--accent); border: none; padding: 15px 26px; border-radius: var(--radius-pill);
  font-family: var(--font-sans); font-size: 15px; font-weight: 600; line-height: 1; color: var(--text-on-accent) !important;
  cursor: pointer; min-height: 50px; text-align: center; box-shadow: var(--shadow-accent);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.btn-primary:hover, .btn-primary:focus { transform: var(--hover-lift); box-shadow: var(--shadow-accent-h); }
.btn-primary .arrow { transition: transform var(--dur-base) var(--ease); display: inline-block; }
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: transparent; border: 1px solid var(--line-strong); border-radius: var(--radius-pill);
  padding: 14px 24px; min-height: 50px;
  font-family: var(--font-sans); font-size: 15px; font-weight: 600; line-height: 1; color: var(--ink);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.btn-ghost:hover, .btn-ghost:focus { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.cta-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.micro-note { font-family: var(--font-mono); font-size: 11.5px; color: var(--mute); letter-spacing: 0.02em; }

/* ---- reveal (base-visible; only hidden once JS opts in, never stuck) ---- */
.reveal { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal:not(.in) { opacity: 0; transform: translateY(14px); }

/* ---- progress rail ---- */
.progress-rail { position: fixed; left: 12px; top: 0; bottom: 0; width: 2px; z-index: 500; pointer-events: none; display: flex; align-items: center; }
.progress-rail-track { position: relative; width: 1px; height: 50vh; background: var(--line); }
.progress-rail-fill { position: absolute; top: 0; left: 0; width: 1px; height: 0; background: var(--accent); transition: height .15s linear; }

/* ---- nav ---- */
.nav { position: sticky; top: 0; z-index: 450; background: rgba(244,241,236,0.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-inner { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-mark { display: flex; align-items: center; gap: 11px; white-space: nowrap; }
.nav-mark .nm-name { font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.nav-mark .nm-domain { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--mute); }
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink); padding: 6px 0; white-space: nowrap; transition: color var(--dur-fast) var(--ease); }
.nav-links a:hover { color: var(--accent); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-sans); font-size: 13.5px; font-weight: 600; padding: 10px 18px; background: var(--accent); color: var(--text-on-accent) !important; border-radius: var(--radius-pill); white-space: nowrap; box-shadow: var(--shadow-accent); transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease); }
.nav-cta:hover { transform: var(--hover-lift); box-shadow: var(--shadow-accent-h); }

/* ---- hero ---- */
.hero { padding-top: clamp(40px, 6vw, 84px); padding-bottom: clamp(48px, 6vw, 96px); }
.hero-meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(28px, 4vw, 52px); border-bottom: 1px solid var(--line-strong); padding-bottom: 14px; }
.hero-meta-left, .hero-meta-right { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-meta-right { justify-content: flex-end; }
.meta-item { display: flex; flex-direction: column; gap: 4px; }
.meta-key { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.meta-value { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink); }
.hero-main { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.86fr); gap: clamp(32px, 4.5vw, 72px); align-items: center; }
.hero-left { display: flex; flex-direction: column; gap: clamp(18px, 2vw, 26px); min-width: 0; }
.hero-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-statement { font-weight: 700; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.25; letter-spacing: -0.015em; color: var(--ink); margin: 0; padding-left: 14px; border-left: 2px solid var(--accent); }
.hero-statement .it { font-style: italic; }

/* ---- pills / tags ---- */
.tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 12px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); color: var(--ink-2); background: transparent; }
.tag-accent { background: var(--accent); color: var(--text-on-accent); border-color: var(--accent); }
.tag-ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tag-sand { background: var(--sand); border-color: transparent; }
.tag-soon { color: var(--mute); border-style: dashed; }
.tag-dot::before { content: "●"; color: var(--accent); font-size: 8px; }

/* ---- ticker ---- */
.ticker { margin-top: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); overflow: hidden; position: relative; }
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, var(--paper), transparent); }
.ticker::after { right: 0; background: linear-gradient(270deg, var(--paper), transparent); }
.ticker-track { display: flex; gap: 48px; padding: 15px 0; width: max-content; animation: tick 48s linear infinite; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.04em; color: var(--ink); text-transform: uppercase; }
.ticker-track .dot { color: var(--accent); }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   MCP URL hero card / endpoint mockup
   ============================================================ */
.mockwin { background: var(--white); border: 0.5px solid var(--line-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); overflow: hidden; }
.mockwin-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--sand); }
.mockwin-dots { display: flex; gap: 6px; }
.mockwin-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); display: block; }
.mockwin-title { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); margin-left: 4px; }
.mockwin-body { padding: clamp(18px, 2vw, 26px); }

.endpoint { display: flex; flex-direction: column; gap: 14px; }
.endpoint-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--mute); display: flex; justify-content: space-between; align-items: center; }
.endpoint-url { display: flex; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 12px 14px; }
.endpoint-url code { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; letter-spacing: -0.01em; }
.copy-btn { flex: none; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; padding: 7px 12px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); background: var(--white); color: var(--ink); cursor: pointer; transition: all var(--dur-fast) var(--ease); }
.copy-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.copy-btn.copied { background: var(--accent); color: #fff; border-color: var(--accent); }
.endpoint-clients { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.client-chip { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11.5px; padding: 7px 12px; border-radius: var(--radius-pill); background: var(--sand); color: var(--ink); }
.client-chip .ok { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; }
.endpoint-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 4px; border-top: 1px dashed var(--line); margin-top: 2px; padding-top: 14px; font-family: var(--font-mono); font-size: 11px; color: var(--mute); }
.endpoint-foot .live { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); }
.endpoint-foot .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #1F8A5B; box-shadow: 0 0 0 3px rgba(31,138,91,.18); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: .55; } 50% { opacity: 1; } }

/* ============================================================
   Flow diagram (схема продукта)
   ============================================================ */
.flow { display: grid; grid-template-columns: 1fr auto 1.1fr auto 1fr; gap: clamp(12px, 1.6vw, 24px); align-items: stretch; }
.flow-col { display: flex; flex-direction: column; gap: 10px; }
.flow-col-head { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); margin-bottom: 4px; }
.flow-node { background: var(--white); border: 0.5px solid var(--line-strong); border-radius: var(--radius-md); padding: 13px 15px; font-size: 14.5px; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.flow-node .nd { width: 6px; height: 6px; border-radius: 50%; background: var(--mute); flex: none; }
.flow-col-center .flow-node { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.flow-col-center .flow-hub { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 14px; background: var(--ink); color: var(--paper); border-radius: var(--radius-lg); padding: clamp(20px, 2.4vw, 30px); border: none; min-height: 100%; }
.flow-hub-title { font-weight: 800; font-size: clamp(19px, 1.7vw, 24px); letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; }
.flow-hub-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.flow-hub-list li { font-family: var(--font-mono); font-size: 12px; color: var(--text-on-dark); display: flex; align-items: center; gap: 9px; }
.flow-hub-list li::before { content: "→"; color: var(--accent); }
.flow-col-ai .flow-node { background: var(--sand); border-color: transparent; }
.flow-col-ai .flow-node .nd { background: var(--accent); }
.flow-arrow { display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 26px; font-weight: 700; }

/* ============================================================
   Value props
   ============================================================ */
.props { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.prop { background: var(--white); border: 0.5px solid var(--line-strong); border-radius: var(--radius-lg); padding: clamp(24px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 14px; transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease); }
.prop:hover { transform: var(--hover-lift-2); box-shadow: var(--shadow-card); }
.prop-num { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--accent); }
.prop h3 { font-size: clamp(20px, 1.9vw, 26px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; margin: 0; }
.prop p { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; margin: 0; }

/* ============================================================
   Steps (как работает)
   ============================================================ */
.steps { border-top: 1px solid var(--line-strong); }
.step-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(16px, 2vw, 36px); padding: clamp(22px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.step-num { font-family: var(--font-mono); font-size: 13px; color: var(--accent); font-weight: 600; }
.step-name { font-weight: 800; font-size: clamp(19px, 1.9vw, 26px); letter-spacing: -0.02em; line-height: 1.1; }
.step-desc { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.step-desc code { font-family: var(--font-mono); font-size: 13px; background: var(--sand); padding: 1px 6px; border-radius: 5px; }

/* ============================================================
   Dashboard "Обзор" mockup
   ============================================================ */
.dash { padding: clamp(16px, 2vw, 26px); display: grid; grid-template-columns: 188px 1fr; gap: clamp(16px, 1.8vw, 24px); background: var(--paper); }
.dash-side { border-right: 1px solid var(--line); padding-right: clamp(12px, 1.4vw, 20px); display: flex; flex-direction: column; gap: 4px; }
.dash-side-brand { display: flex; align-items: center; gap: 9px; padding: 4px 8px 16px; }
.dash-side-brand b { font-weight: 800; font-size: 14px; letter-spacing: -0.01em; }
.dash-nav-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); padding: 8px 10px; border-radius: var(--radius-sm); font-weight: 500; }
.dash-nav-item .ic { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--mute); flex: none; }
.dash-nav-item.active { background: var(--ink); color: var(--paper); }
.dash-nav-item.active .ic { border-color: var(--accent); background: var(--accent); }
.dash-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.dash-hello { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.dash-hello h4 { margin: 0 0 3px; font-size: clamp(18px, 1.7vw, 23px); font-weight: 800; letter-spacing: -0.02em; }
.dash-hello .sub { font-family: var(--font-mono); font-size: 11px; color: var(--mute); }
.dash-banner { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: var(--accent-soft); border: 1px solid rgba(232,71,43,.2); border-radius: var(--radius-md); padding: 11px 15px; }
.dash-banner span { font-size: 13px; color: var(--ink); }
.dash-banner span b { color: var(--accent); }
.dash-banner .mini-btn { font-family: var(--font-sans); font-size: 12px; font-weight: 600; padding: 7px 14px; border-radius: var(--radius-pill); background: var(--accent); color: #fff; border: none; white-space: nowrap; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi { background: var(--white); border: 0.5px solid var(--line); border-radius: var(--radius-md); padding: 14px; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.kpi-label { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.kpi-value { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.kpi-sub { font-family: var(--font-mono); font-size: 10px; color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
.kpi-sub .st { display: inline-flex; align-items: center; gap: 5px; }
.kpi-sub .st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; flex: none; }
.kpi-sub .st.ok::before { background: #1F8A5B; }
.kpi-sub .st.warn::before { background: var(--accent); }
.dash-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dash-card { background: var(--white); border: 0.5px solid var(--line); border-radius: var(--radius-md); padding: 15px; }
.dash-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.dash-card-head h5 { margin: 0; font-size: 13px; font-weight: 700; }
.dash-card-head a { font-family: var(--font-mono); font-size: 10.5px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.04em; }
.dash-list { display: flex; flex-direction: column; gap: 10px; }
.dash-li { display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.dash-li .av { width: 22px; height: 22px; border-radius: 6px; background: var(--sand); flex: none; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 9px; color: var(--ink-2); font-weight: 600; }
.dash-li .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-li .badge { font-family: var(--font-mono); font-size: 9.5px; padding: 3px 8px; border-radius: var(--radius-pill); white-space: nowrap; }
.badge-ok { background: rgba(31,138,91,.12); color: #1F8A5B; }
.badge-err { background: var(--accent-soft); color: var(--accent); }
.badge-off { background: var(--sand); color: var(--mute); }
.dash-req { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; font-family: var(--font-mono); font-size: 11px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.dash-req:last-child { border-bottom: none; }
.dash-req .m { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-req .t { color: var(--mute); }

/* ============================================================
   Connectors catalog
   ============================================================ */
.conn-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 20px); }
.conn-card { background: var(--white); border: 0.5px solid var(--line-strong); border-radius: var(--radius-lg); padding: clamp(20px, 2.2vw, 28px); display: flex; flex-direction: column; gap: 14px; transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease); }
.conn-card:hover { transform: var(--hover-lift-2); box-shadow: var(--shadow-card); }
.conn-top { display: flex; align-items: flex-start; gap: 14px; }
.conn-logo { width: 44px; height: 44px; border-radius: 11px; background: var(--sand); flex: none; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; letter-spacing: -0.02em; color: var(--ink); }
.conn-logo.accent { background: var(--ink); color: var(--paper); }
.conn-head { flex: 1; min-width: 0; }
.conn-head h3 { margin: 0 0 3px; font-size: 18px; font-weight: 800; letter-spacing: -0.015em; }
.conn-cat { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); }
.conn-status { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase; padding: 5px 10px; border-radius: var(--radius-pill); white-space: nowrap; }
.conn-status.on { background: rgba(31,138,91,.12); color: #1F8A5B; }
.conn-status.off { background: var(--sand); color: var(--mute); }
.conn-desc { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; margin: 0; }
.conn-methods { display: flex; gap: 7px; flex-wrap: wrap; margin-top: auto; }
.conn-chip { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-2); background: var(--paper); border: 1px solid var(--line); padding: 4px 10px; border-radius: var(--radius-pill); }
.conn-soon { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.4vw, 18px); margin-top: clamp(20px, 2.4vw, 32px); padding-top: clamp(20px, 2.4vw, 32px); border-top: 1px solid var(--line); }
.soon-card { border: 1px dashed var(--line-strong); border-radius: var(--radius-md); padding: 18px 20px; display: flex; align-items: center; gap: 13px; background: transparent; }
.soon-card .conn-logo { width: 38px; height: 38px; background: transparent; border: 1px dashed var(--line-strong); color: var(--mute); font-size: 14px; }
.soon-card b { font-size: 15px; font-weight: 700; display: block; }
.soon-card .conn-cat { display: block; margin-top: 2px; }

/* ============================================================
   Methods control + history (split mock)
   ============================================================ */
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.4vw, 36px); align-items: stretch; }
.panel { background: var(--white); border: 0.5px solid var(--line-strong); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.panel-head { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.panel-head h4 { margin: 0; font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }
.panel-head .count { font-family: var(--font-mono); font-size: 11px; color: var(--mute); }
.panel-body { padding: 8px 20px 18px; }
.method-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.method-row:last-child { border-bottom: none; }
.method-info { flex: 1; min-width: 0; }
.method-info .mn { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.method-info .mc { font-family: var(--font-mono); font-size: 11px; color: var(--mute); margin-top: 2px; }
.ro-badge { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.05em; text-transform: uppercase; padding: 2px 7px; border-radius: var(--radius-pill); background: var(--sand); color: var(--ink-2); }
.toggle { width: 40px; height: 23px; border-radius: var(--radius-pill); background: var(--line-strong); position: relative; flex: none; transition: background var(--dur-fast) var(--ease); }
.toggle::after { content: ""; position: absolute; top: 2.5px; left: 2.5px; width: 18px; height: 18px; border-radius: 50%; background: var(--white); transition: transform var(--dur-fast) var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.toggle.on { background: var(--accent); }
.toggle.on::after { transform: translateX(17px); }
.hist-table { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: 11.5px; }
.hist-table th { text-align: left; font-weight: 400; font-size: 9.5px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--mute); padding: 0 0 10px; border-bottom: 1px solid var(--line); }
.hist-table td { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.hist-table tr:last-child td { border-bottom: none; }
.hist-table .st-ok { color: #1F8A5B; }
.hist-table .st-err { color: var(--accent); }
.hist-table td.r { text-align: right; color: var(--mute); }

/* ============================================================
   Fit / security columns
   ============================================================ */
.sec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.sec-card { border: 0.5px solid var(--line-strong); border-radius: var(--radius-lg); padding: clamp(24px, 2.8vw, 38px); }
.sec-card h3 { font-size: clamp(20px, 2vw, 27px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 20px; }
.sec-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.sec-list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; color: var(--ink-2); font-size: 15px; line-height: 1.5; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.sec-list li:last-child { border-bottom: none; padding-bottom: 0; }
.sec-list .mk { color: var(--accent); font-family: var(--font-mono); font-size: 14px; font-weight: 600; }

/* ============================================================
   Help / FAQ
   ============================================================ */
.help-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.guides { display: flex; flex-direction: column; }
.guide { display: flex; align-items: center; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); transition: padding var(--dur-base) var(--ease); }
.guide:first-child { border-top: 1px solid var(--line-strong); }
.guide:hover { padding-left: 8px; }
.guide .gn { font-family: var(--font-mono); font-size: 12px; color: var(--mute); width: 28px; flex: none; }
.guide .gt { flex: 1; font-size: 15.5px; font-weight: 600; }
.guide .ga { font-family: var(--font-mono); font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.04em; opacity: 0; transition: opacity var(--dur-base) var(--ease); }
.guide:hover .ga { opacity: 1; }
.faq { display: flex; flex-direction: column; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq details:first-child { border-top: 1px solid var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { font-family: var(--font-mono); font-size: 20px; color: var(--mute); flex: none; transition: color var(--dur-fast) var(--ease); line-height: 1; }
.faq details[open] summary .pm { color: var(--accent); }
.faq details[open] summary .pm::after { content: "–"; }
.faq summary .pm::after { content: "+"; }
.faq-answer { color: var(--ink-2); font-size: 15px; line-height: 1.6; padding: 0 0 18px; max-width: 56ch; }

/* ============================================================
   Final dark band + footer
   ============================================================ */
.final { background: var(--dark); color: var(--text-on-dark); padding-top: clamp(72px, 9vw, 150px); padding-bottom: clamp(72px, 9vw, 150px); }
.final .section-tag { color: #A29F94; }
.final .section-tag .num { background: var(--accent); color: #fff; }
.final .section-tag .rule { background: var(--dark-line); }
.final-display { font-weight: 800; line-height: 1.04; letter-spacing: -0.025em; font-size: clamp(32px, 4.4vw, 60px); color: var(--text-on-dark); margin: 40px 0 0; text-wrap: balance; }
.final-display .it { font-style: italic; font-weight: 700; color: var(--accent); }
.final-grid { margin-top: clamp(40px, 5vw, 80px); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 72px); align-items: end; border-top: 1px solid var(--dark-line); padding-top: 36px; }
.final .lede { color: rgba(239,236,227,0.74); margin: 0; max-width: 50ch; }
.final-actions { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.final .micro-note { color: rgba(239,236,227,0.55); }
.final-actions .btn-ghost { border-color: rgba(255,255,255,0.22); color: var(--text-on-dark); }
.final-actions .btn-ghost:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }

.foot { background: var(--dark); color: rgba(239,236,227,0.7); padding: 40px 0 48px; border-top: 1px solid var(--dark-line); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand { font-weight: 800; font-size: 20px; color: var(--text-on-dark); margin-bottom: 12px; display: inline-flex; align-items: center; gap: 9px; letter-spacing: -0.01em; }
.foot-brand .nm-domain { font-family: var(--font-mono); font-size: 11px; color: rgba(239,236,227,0.5); font-weight: 400; }
.foot p.fd { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.02em; color: rgba(239,236,227,0.5); max-width: 30ch; margin: 0; }
.foot-title { margin: 0 0 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(239,236,227,0.5); font-weight: 400; }
.foot-col a { display: block; color: rgba(239,236,227,0.85); font-size: 14px; padding: 4px 0; transition: color var(--dur-fast) var(--ease); }
.foot-col a:hover { color: var(--accent); }
.legal { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--dark-line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.03em; color: rgba(239,236,227,0.5); }
.legal a { color: rgba(239,236,227,0.72); }
.legal a:hover { color: var(--accent); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .hero-main { grid-template-columns: 1fr; gap: 40px; }
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); padding: 4px 0; }
  .dash { grid-template-columns: 1fr; }
  .dash-side { display: none; }
}
@media (max-width: 860px) {
  .props { grid-template-columns: 1fr; }
  .conn-grid { grid-template-columns: 1fr; }
  .split2, .sec-grid, .help-grid, .final-grid { grid-template-columns: 1fr; }
  .conn-soon { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .dash-cols { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  :root { --pad: 18px; }
  .step-row { grid-template-columns: 40px 1fr; }
  .step-desc { grid-column: 2; }
  .hero-meta, .legal { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero-main { gap: 32px; }
  .btn-primary, .btn-ghost { width: 100%; }
  .cta-row { width: 100%; }
  .foot-grid { grid-template-columns: 1fr; }
  .progress-rail { display: none; }
  .ticker-track { gap: 28px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html.js .reveal:not(.in), .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* Mobile hotfix: navigation + hero */
.nav-burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  flex: none;
}

.nav-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-menu {
  display: none;
}

@media (max-width: 1080px) {
  .nav-inner {
    gap: 10px;
  }

  .nav-cta {
    display: none;
  }

  .nav-burger {
    display: inline-flex;
  }

  .mobile-menu {
    display: grid;
    gap: 0;
    padding: 8px var(--pad, 18px) 16px;
    background: rgba(244,241,236,0.98);
    border-bottom: 1px solid var(--line);
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-menu a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink);
  }

  .mobile-menu .mobile-menu-cta {
    margin-top: 12px;
    padding: 13px 16px;
    border: none;
    border-radius: var(--radius-pill);
    background: var(--accent);
    color: var(--text-on-accent);
    text-align: center;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
  }
}

@media (max-width: 600px) {
  html, body {
    overflow-x: hidden;
  }

  .hero {
    padding-top: 28px;
    padding-bottom: 52px;
  }

  .hero .shell,
  .nav .shell {
    padding-left: 18px;
    padding-right: 18px;
  }

  .nav-inner {
    height: 58px;
  }

  .nav-mark .nm-name {
    font-size: 16px;
  }

  .hero-meta {
    margin-bottom: 24px;
  }

  .hero-meta-left,
  .hero-meta-right {
    gap: 12px;
  }

  .display {
    font-size: clamp(38px, 12vw, 54px);
    line-height: 0.98;
    letter-spacing: -0.045em;
    overflow-wrap: normal;
    word-break: normal;
  }

  .lede {
    font-size: 17px;
    line-height: 1.42;
  }

  .cta-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-figure {
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .mockwin {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .mockwin-title,
  .endpoint-url code,
  .endpoint-foot {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .endpoint-url {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .copy-btn {
    width: 100%;
  }

  .ticker {
    margin-top: 28px;
  }
}
