:root {
  --accent: #ff3b43;
  --accent-deep: #d91f2b;
  --accent-soft: #ff6b72;
  --accent-glow: #ff9ca0;
  --accent-ink: #160305;
  --warning: #ffc454;
  --warning-soft: #ffdb99;
  --danger: #ff6b6b;
  --danger-soft: #ffadad;
  --danger-text: #ff9a9a;
  --text-primary: #f7f8f8;
  --text-secondary: rgba(247, 248, 248, 0.68);
  --text-tertiary: rgba(247, 248, 248, 0.5);
  --text-quaternary: rgba(247, 248, 248, 0.48);
  --text-placeholder: rgba(247, 248, 248, 0.72);
  --surface-card: rgba(14, 20, 29, 0.88);
  --surface-card-border: rgba(255, 255, 255, 0.12);
  --surface-card-quiet: rgba(255, 255, 255, 0.045);
  --surface-control: rgba(255, 255, 255, 0.07);
  --control-border: rgba(247, 248, 248, 0.42);
  --hairline: rgba(255, 255, 255, 0.1);
  --section-label: rgba(247, 248, 248, 0.48);
  --screen-bg: #070a10;
  --brand-tile: linear-gradient(145deg, rgba(255, 107, 114, 0.16), rgba(255, 59, 67, 0.05));
  --glass-blur: blur(22px);
  --shadow-card-dark: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 30px 80px rgba(0, 0, 0, 0.22);
  --shadow-cta: 0 16px 38px rgba(255, 59, 67, 0.22);
  --shadow-button: 0 10px 28px rgba(0, 0, 0, 0.28);
  --ease-standard: cubic-bezier(0.22, 1, 0.36, 1);
  --font-system: -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; min-height: 100%; color: var(--text-primary); background: var(--screen-bg); font-family: var(--font-system); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
button, input, select { font: inherit; }
a { color: inherit; }
::selection { color: #fff; background: rgba(255, 59, 67, 0.62); }

.ft-skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 9999; padding: 11px 16px;
  color: var(--accent-ink); background: var(--accent); border-radius: 10px; font-weight: 700;
  transform: translateY(-160%); transition: transform 0.18s ease;
}
.ft-skip-link:focus { transform: translateY(0); }

.ft-aurora {
  position: relative; isolation: isolate; display: flex; flex-direction: column;
  min-height: 100vh; min-height: 100dvh;
  overflow-x: clip; background:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px),
    radial-gradient(72% 44% at 15% 0%, rgba(255, 59, 67, .12), transparent 70%),
    radial-gradient(64% 38% at 95% 18%, rgba(83, 46, 116, .13), transparent 72%),
    var(--screen-bg);
  background-size: 72px 72px, 72px 72px, auto, auto, auto;
}
.ft-aurora::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .24;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
}
.ft-main { flex: 1; min-width: 0; }
.ft-fade { animation: ft-fade-in .45s var(--ease-standard) both; }
.ft-reveal {
  opacity: 1; transform: none;
  transition: opacity .62s var(--ease-standard), transform .62s var(--ease-standard);
}
.ft-reveal.is-reveal-pending { opacity: 0; transform: translateY(28px); }
.ft-inline-form { display: inline; margin: 0; }

@keyframes ft-fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ft-spin { to { transform: rotate(360deg); } }
@keyframes ft-marquee { to { transform: translateX(-50%); } }
@keyframes ft-pulse { 50% { opacity: .45; transform: scale(.82); } }
@keyframes ft-float { 50% { transform: translateY(-8px); } }

/* Header and brand */
.ft-header {
  position: sticky; top: 16px; z-index: 40; width: calc(100% - 32px); max-width: 1760px; height: 72px;
  margin: 16px auto 0; padding: 0 18px 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border: 1px solid rgba(255,255,255,.12); border-radius: 24px; background: rgba(7, 11, 17, .78);
  box-shadow: 0 18px 50px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
}
.ft-brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; }
.ft-brand-tile {
  width: 38px; height: 38px; flex: none; display: grid; place-items: center; border: 1px solid rgba(255,107,114,.28);
  border-radius: 12px; background: var(--brand-tile); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 10px 28px rgba(255,59,67,.08);
}
.ft-brand-name { font-size: 16px; font-weight: 700; letter-spacing: -.45px; line-height: 1.1; }
.ft-brand-name span { color: var(--accent-soft); }
.ft-brand-sub { margin-top: 3px; color: var(--text-quaternary); font-size: 10.5px; letter-spacing: .02em; }
.ft-public-nav, .ft-header-right { display: flex; align-items: center; gap: 8px; }
.ft-public-nav > a:not(.ft-btn) { padding: 10px 13px; color: var(--text-secondary); font-size: .875rem; font-weight: 600; text-decoration: none; transition: color .18s ease; }
.ft-public-nav > a:not(.ft-btn):hover { color: var(--text-primary); }
.ft-email { max-width: 260px; overflow: hidden; color: var(--text-tertiary); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }

/* Shared layout and type */
.ft-container { width: min(1120px, 100%); margin: 0 auto; padding: 54px 24px 90px; }
.ft-container-narrow { width: min(480px, 100%); margin: 0 auto; padding: 80px 22px; }
.ft-h1 { margin: 0; font-size: clamp(30px, 4vw, 46px); font-weight: 600; letter-spacing: -.045em; line-height: 1.02; }
.ft-h2 { margin: 0; font-size: 20px; font-weight: 650; letter-spacing: -.025em; }
.ft-muted { color: var(--text-secondary); }
.ft-dim { color: var(--text-tertiary); }
.ft-tabular { font-variant-numeric: tabular-nums; }
.ft-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}
.ft-dashboard { padding-top: 72px; }
.ft-dashboard-head { display: flex; align-items: end; justify-content: space-between; gap: 34px; margin-bottom: 18px; }
.ft-dashboard-head .ft-section-kicker { margin-bottom: 12px; }
.ft-dashboard-head > p { max-width: 470px; margin: 0; color: var(--text-secondary); font-size: 14px; line-height: 1.55; }

/* Panels */
.ft-panel {
  position: relative; padding: 24px; border: 1px solid var(--surface-card-border); border-radius: 22px;
  background: linear-gradient(145deg, rgba(18,25,35,.94), rgba(10,15,23,.9));
  box-shadow: var(--shadow-card-dark); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
}
.ft-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit; background: linear-gradient(130deg, rgba(255,255,255,.035), transparent 35%); }
.ft-panel-head { margin: 0 0 17px; color: var(--section-label); font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }

/* Buttons */
.ft-btn {
  appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 44px; padding: 0 18px;
  border: 1px solid transparent; border-radius: 13px; cursor: pointer; font-size: 14.5px; font-weight: 700; letter-spacing: -.015em;
  line-height: 1; text-decoration: none; white-space: nowrap; transition: transform .18s var(--ease-standard), background .18s, border-color .18s, filter .18s;
}
.ft-btn:hover { transform: translateY(-2px); }
.ft-btn:active { transform: translateY(0) scale(.98); }
.ft-btn:focus-visible, .ft-input:focus-visible, .ft-select:focus-visible, .ft-scenario-controls button:focus-visible, .ft-code-fallback summary:focus-visible { outline: 2px solid var(--accent-glow); outline-offset: 3px; }
.ft-btn:disabled, .ft-btn[aria-disabled="true"] { cursor: default; opacity: .5; transform: none; }
.ft-btn-sm { height: 44px; padding: 0 14px; border-radius: 11px; font-size: 14px; }
.ft-btn-lg { height: 54px; padding: 0 22px; border-radius: 15px; }
.ft-btn-block { width: 100%; }
.ft-btn-primary { color: var(--accent-ink); background: var(--accent); box-shadow: var(--shadow-cta); }
.ft-btn-primary:hover { background: #ff565d; filter: none; }
.ft-btn-bot { color: var(--text-primary); border-color: rgba(255,107,114,.28); background: rgba(255,59,67,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 14px 34px rgba(0,0,0,.2); }
.ft-btn-bot:hover { border-color: rgba(255,107,114,.48); background: rgba(255,59,67,.16); }
.ft-btn-bot svg { flex: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.ft-btn-secondary { color: #11161f; background: #fff; box-shadow: var(--shadow-button); }
.ft-btn-ghost { color: var(--text-primary); border-color: rgba(255,255,255,.13); background: rgba(255,255,255,.055); }
.ft-btn-ghost:hover { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.09); }
.ft-btn-danger { color: #ffc0c2; border-color: rgba(255,107,107,.3); background: rgba(255,107,107,.1); }
.ft-btn-danger:hover { background: rgba(255,107,107,.18); }
.ft-btn[aria-busy="true"] { cursor: wait; }

/* Inputs and switches */
.ft-input, .ft-select {
  width: 100%; height: 46px; padding: 0 14px; color: var(--text-primary); border: 1px solid var(--control-border); border-radius: 12px;
  outline: 0; background-color: rgba(255,255,255,.055); font-size: 16px; transition: border-color .16s, box-shadow .16s, background .16s;
}
.ft-input::placeholder { color: var(--text-placeholder); opacity: 1; }
.ft-input:focus, .ft-select:focus { border-color: rgba(255,107,114,.72); background-color: rgba(255,255,255,.075); box-shadow: 0 0 0 4px rgba(255,59,67,.1); }
.ft-select { appearance: none; cursor: pointer; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff88' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; }
.ft-select option { color: #fff; background: #111720; }
.ft-field-label { display: block; margin-bottom: 7px; color: var(--text-secondary); font-size: 14px; font-weight: 650; }
.ft-switch { display: flex; gap: 4px; margin-bottom: 22px; padding: 4px; border: 1px solid var(--surface-card-border); border-radius: 13px; background: rgba(255,255,255,.035); }
.ft-switch a { min-height: 44px; flex: 1; display: flex; align-items: center; justify-content: center; padding: 9px 0; border-radius: 9px; color: var(--text-secondary); font-size: 14px; font-weight: 600; text-align: center; text-decoration: none; }
.ft-switch a.on { color: var(--accent-ink); background: var(--accent); }

/* Status and data components */
.ft-badge { display: inline-flex; align-items: center; gap: 7px; min-height: 26px; padding: 4px 10px; color: var(--text-secondary); border: 1px solid rgba(255,255,255,.11); border-radius: 99px; background: rgba(255,255,255,.045); font-size: 12px; font-weight: 650; white-space: nowrap; }
.ft-badge::before { content: ""; width: 6px; height: 6px; flex: none; border-radius: 50%; background: #8a929c; }
.ft-badge.is-active { color: #ff9fa3; border-color: rgba(255,59,67,.28); background: rgba(255,59,67,.1); }
.ft-badge.is-active::before { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.ft-badge.is-warn { color: var(--warning-soft); border-color: rgba(255,196,84,.3); background: rgba(255,196,84,.1); }
.ft-badge.is-warn::before { background: var(--warning); }
.ft-badge.is-danger { color: var(--danger-soft); border-color: rgba(255,107,107,.3); background: rgba(255,107,107,.1); }
.ft-badge.is-danger::before { background: var(--danger); }
.ft-banner { display: flex; gap: 12px; padding: 14px 16px; border: 1px solid; border-radius: 14px; font-size: 14px; line-height: 1.55; }
.ft-banner-ok { color: #ffadb0; border-color: rgba(255,59,67,.28); background: rgba(255,59,67,.08); }
.ft-banner-warn { color: var(--warning-soft); border-color: rgba(255,196,84,.28); background: rgba(255,196,84,.08); }
.ft-banner-danger { color: var(--danger-soft); border-color: rgba(255,107,107,.3); background: rgba(255,107,107,.085); }
.ft-banner-info { color: var(--text-secondary); border-color: var(--surface-card-border); background: rgba(255,255,255,.04); }
.ft-meter-top { display: flex; justify-content: space-between; margin-bottom: 8px; color: var(--text-secondary); font-size: 14px; }
.ft-meter-top b { color: var(--text-primary); font-weight: 600; }
.ft-meter-rail { height: 7px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.06); }
.ft-meter-fill { height: 100%; max-width: 100%; border-radius: inherit; background: var(--accent); box-shadow: 0 0 12px rgba(255,59,67,.55); }
.ft-meter-fill.is-warn { background: var(--warning); box-shadow: 0 0 10px var(--warning); }
.ft-meter-fill.is-over { background: var(--danger); box-shadow: 0 0 10px var(--danger); }
.ft-icon-chip { width: 42px; height: 42px; flex: none; display: inline-flex; align-items: center; justify-content: center; color: var(--accent-soft); border: 1px solid rgba(255,59,67,.2); border-radius: 13px; background: rgba(255,59,67,.1); }
.ft-icon-chip.is-warn { color: var(--warning-soft); border-color: rgba(255,196,84,.22); background: rgba(255,196,84,.1); }
.ft-icon-chip.is-grey { color: var(--text-secondary); border-color: var(--surface-card-border); background: rgba(255,255,255,.045); }
.ft-stat-label { color: var(--text-quaternary); font-size: 14px; }
.ft-stat-value { margin-top: 3px; font-size: 14px; font-weight: 650; font-variant-numeric: tabular-nums; }
.ft-divider { margin: 0; border: 0; border-top: 1px solid var(--hairline); }

/* Device configuration */
.ft-device-list { margin: 0; padding: 0; list-style: none; }
.ft-device-list > li { min-width: 0; height: 100%; }
.ft-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.ft-fieldset:disabled { opacity: .55; }
.ft-fieldset-legend { width: 100%; padding: 0; }
.ft-protocol-fieldset { margin-top: 18px; }
.ft-protocol-legend { margin-bottom: 7px; padding: 0; color: var(--text-secondary); font-size: 14px; font-weight: 650; }
.ft-action-status { width: 100%; min-height: 1.5em; margin: 8px 0 0; color: var(--text-secondary); font-size: 14px; line-height: 1.5; }
.ft-proto-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.ft-proto { position: relative; display: block; min-height: 112px; padding: 14px 15px; cursor: pointer; border: 1px solid var(--surface-card-border); border-radius: 15px; background: rgba(255,255,255,.04); transition: border-color .16s, background .16s, transform .16s; }
.ft-proto:hover { transform: translateY(-2px); background: rgba(255,255,255,.065); }
.ft-proto input { position: absolute; opacity: 0; pointer-events: none; }
.ft-proto:has(input:checked) { border-color: rgba(255,59,67,.68); background: rgba(255,59,67,.08); box-shadow: inset 0 0 0 1px rgba(255,59,67,.15); }
.ft-proto:has(input:focus-visible) { outline: 2px solid var(--accent-glow); outline-offset: 3px; }
.ft-proto-name { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; }
.ft-proto-name::before { content: ""; width: 15px; height: 15px; flex: none; border: 1.5px solid var(--text-quaternary); border-radius: 50%; }
.ft-proto:has(input:checked) .ft-proto-name::before { border: 4px solid var(--accent); background: #fff; }
.ft-proto-tag { padding: 3px 7px; color: #ff9ba0; border: 1px solid rgba(255,59,67,.25); border-radius: 99px; background: rgba(255,59,67,.1); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.ft-proto-desc { display: block; margin-top: 7px; color: var(--text-tertiary); font-size: 14px; line-height: 1.48; }
.ft-details summary { display: flex; min-height: 44px; align-items: center; cursor: pointer; color: var(--accent-soft); font-size: 14px; font-weight: 600; list-style: none; }
.ft-details summary::-webkit-details-marker { display: none; }
.ft-details summary::after { content: "+"; margin-left: auto; color: var(--text-tertiary); font-size: 20px; font-weight: 400; }
.ft-details[open] summary::after { content: "−"; }
.ft-details ol { display: flex; flex-direction: column; gap: 10px; margin: 12px 0 0; padding-left: 20px; color: var(--text-secondary); font-size: 14px; line-height: 1.5; }
.ft-device-meta { margin-top: 4px; font-size: 14px; }
.ft-device-note { margin-top: 11px; color: var(--warning-soft); font-size: 14px; }
.ft-setup-note { margin-top: 14px; font-size: 14px; text-align: center; }
.ft-qr-help { margin-top: 7px; font-size: 14px; }
.ft-option-help, .ft-instruction-note, .ft-instruction-link { font-size: .875rem; }
.ft-spin { display: inline-block; width: 44px; height: 44px; border: 3px solid rgba(255,255,255,.08); border-top-color: var(--accent); border-radius: 50%; animation: ft-spin 1s linear infinite; }

.ft-bot-payment {
  position: relative; isolation: isolate; overflow: hidden; display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center;
  padding: 28px; border: 1px solid rgba(255,107,114,.25); border-radius: 24px;
  background:
    radial-gradient(circle at 3% 50%, rgba(255,59,67,.2), transparent 24%),
    linear-gradient(120deg, rgba(24,24,34,.96), rgba(10,15,23,.94));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 28px 70px rgba(0,0,0,.2);
}
.ft-bot-payment::after {
  content: ""; position: absolute; right: 17%; bottom: -90px; z-index: -1;
  width: 260px; height: 180px; border: 1px solid rgba(255,107,114,.12);
  border-radius: 50%; box-shadow: 0 0 0 28px rgba(255,59,67,.025), 0 0 0 56px rgba(255,59,67,.014);
}
.ft-bot-payment-mark {
  width: 66px; height: 66px; display: grid; place-items: center; flex: none;
  border: 1px solid rgba(255,156,160,.34); border-radius: 21px;
  background: linear-gradient(145deg, rgba(255,59,67,.25), rgba(255,59,67,.07));
  box-shadow: 0 0 42px rgba(255,59,67,.14), inset 0 1px 0 rgba(255,255,255,.1);
}
.ft-bot-payment-mark svg { width: 31px; height: 31px; stroke: var(--accent-glow); stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.ft-bot-payment-copy { max-width: 720px; }
.ft-bot-payment-copy .ft-section-kicker { margin-bottom: 8px; }
.ft-bot-payment-copy h2 { margin: 0; font-size: clamp(23px, 2.6vw, 34px); font-weight: 580; letter-spacing: -.042em; line-height: 1.05; }
.ft-bot-payment-copy > p:last-of-type { margin: 10px 0 0; color: var(--text-secondary); font-size: 14px; line-height: 1.55; }
.ft-bot-payment-route { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin: 15px 0 0; padding: 0; color: var(--text-tertiary); font-size: .875rem; font-weight: 750; letter-spacing: .055em; list-style: none; text-transform: uppercase; }
.ft-bot-payment-route li { display: inline-flex; align-items: center; gap: 9px; }
.ft-bot-payment-route li:not(:last-child)::after { content: ""; width: 22px; height: 1px; background: rgba(255,107,114,.55); }

/* Public landing */
.ft-public-page { width: 100%; }
.ft-public-hero { position: relative; width: min(1760px, 100%); min-height: calc(100svh - 104px); margin: 0 auto; padding: 56px 48px 64px; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(460px, .94fr); gap: clamp(48px, 5vw, 92px); align-items: center; text-align: left; }
.ft-hero-glow { position: absolute; top: 4%; left: 72%; z-index: -1; width: min(760px, 62vw); height: 520px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse, rgba(255,59,67,.16), rgba(255,59,67,.035) 48%, transparent 72%); filter: blur(52px); pointer-events: none; }
.ft-hero-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.ft-hero-title { max-width: 860px; margin: 0; font-size: clamp(46px, 4.4vw, 86px); font-weight: 500; letter-spacing: -.058em; line-height: .96; text-wrap: balance; }
.ft-hero-title > span { display: block; }
.ft-hero-second-line { color: var(--accent-soft); }
.ft-inline-home { display: inline-grid; width: .55em; height: .55em; margin: 0 .06em; vertical-align: .05em; place-items: center; }
.ft-inline-home svg { width: 100%; height: 100%; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.ft-hero-lead { max-width: 690px; margin: 28px 0 0; color: var(--text-secondary); font-size: clamp(16px, 1.15vw, 19px); line-height: 1.58; text-wrap: balance; }
.ft-hero-actions { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 10px; margin-top: 27px; }
.ft-hero-note { display: flex; align-items: center; gap: 9px; margin: 16px 0 0; color: var(--text-tertiary); font-size: .875rem; }
.ft-hero-note span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px rgba(255,59,67,.8); animation: ft-pulse 2.4s ease-in-out infinite; }
.ft-motion-toggle {
  min-height: 44px; margin-top: 10px; padding: 0 12px; display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-secondary); border: 1px solid transparent; border-radius: 11px; background: transparent;
  cursor: pointer; font-size: .875rem; font-weight: 650;
}
.ft-motion-toggle:hover { color: var(--text-primary); border-color: var(--surface-card-border); background: rgba(255,255,255,.04); }
.ft-motion-toggle:focus-visible { outline: 2px solid var(--accent-glow); outline-offset: 3px; }
.ft-public-page.is-motion-paused .ft-hero-note span,
.ft-public-page.is-motion-paused .ft-stage-node,
.ft-public-page.is-motion-paused .ft-marquee-track { animation-play-state: paused; }
.ft-route-stage { position: relative; width: 100%; height: clamp(420px, 34vw, 560px); margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.11); border-radius: 30px; background: radial-gradient(circle at 50% 50%, rgba(255,59,67,.12), transparent 32%), linear-gradient(145deg, rgba(16,23,33,.9), rgba(6,10,16,.94)); box-shadow: 0 34px 90px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.06); }
.ft-route-grid { position: absolute; inset: 0; opacity: .45; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 52px 52px; mask-image: radial-gradient(circle at center, #000, transparent 82%); }
.ft-route-lines { position: absolute; inset: 17% 4%; width: 92%; height: 66%; overflow: visible; }
.ft-route-lines path { fill: none; stroke: rgba(255,107,114,.44); stroke-width: 1.6; stroke-dasharray: 7 9; vector-effect: non-scaling-stroke; }
.ft-stage-core { position: absolute; top: 50%; left: 50%; width: 120px; height: 120px; transform: translate(-50%,-50%); display: grid; place-items: center; }
.ft-stage-orbit { position: absolute; inset: 0; border: 1px solid rgba(255,107,114,.25); border-radius: 50%; box-shadow: 0 0 0 18px rgba(255,59,67,.035), 0 0 0 36px rgba(255,59,67,.018); }
.ft-stage-shield { width: 66px; height: 66px; display: grid; place-items: center; border: 1px solid rgba(255,156,160,.3); border-radius: 22px; background: linear-gradient(145deg, rgba(255,59,67,.24), rgba(255,59,67,.06)); box-shadow: 0 0 46px rgba(255,59,67,.2), inset 0 1px 0 rgba(255,255,255,.12); }
.ft-stage-shield svg, .ft-stage-icon svg, .ft-bento-symbol svg { width: 30px; height: 30px; stroke: var(--accent-glow); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ft-stage-node { position: absolute; display: flex; align-items: center; gap: 10px; padding: 9px 13px 9px 9px; border: 1px solid rgba(255,255,255,.11); border-radius: 14px; background: rgba(9,14,21,.8); box-shadow: 0 16px 38px rgba(0,0,0,.22); color: var(--text-secondary); font-size: 12.5px; font-weight: 650; animation: ft-float 5s ease-in-out infinite; }
.ft-stage-icon { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,59,67,.09); }
.ft-stage-icon svg { width: 18px; height: 18px; stroke: var(--accent-soft); }
.ft-stage-tv { top: 18%; left: 7%; }
.ft-stage-router { right: 7%; bottom: 20%; animation-delay: -1.4s; }
.ft-stage-home { left: 14%; bottom: 13%; animation-delay: -2.5s; }
.ft-stage-status { position: absolute; top: 18px; right: 20px; display: flex; align-items: center; gap: 7px; color: var(--text-tertiary); font-size: 11.5px; }
.ft-stage-status span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 9px var(--accent); }

.ft-marquee { width: 100%; overflow: hidden; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); background: rgba(255,255,255,.018); }
.ft-marquee-track { display: flex; width: max-content; animation: ft-marquee 28s linear infinite; }
.ft-marquee-set { display: flex; align-items: center; gap: 28px; min-width: max-content; padding: 20px 14px; }
.ft-marquee-set span { color: var(--text-secondary); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ft-marquee-set i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 9px rgba(255,59,67,.7); }

.ft-section { position: relative; width: min(1600px, 100%); margin: 0 auto; padding: clamp(76px, 7vw, 112px) 48px; }
.ft-section-heading { max-width: 980px; margin-bottom: 52px; }
.ft-section-kicker { margin: 0 0 17px; color: var(--accent-soft); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.ft-section-heading h2, .ft-journey-copy h2, .ft-scenario-head h2, .ft-access-copy h2 { margin: 0; font-size: clamp(36px, 4vw, 62px); font-weight: 500; letter-spacing: -.052em; line-height: 1.02; text-wrap: balance; }
.ft-section-heading > p:last-child, .ft-journey-copy > p:not(.ft-section-kicker), .ft-access-copy > p:not(.ft-section-kicker) { max-width: 720px; margin: 25px 0 0; color: var(--text-secondary); font-size: 18px; line-height: 1.58; }

.ft-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-flow: dense; gap: 14px; }
.ft-bento-card { position: relative; min-height: 360px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 30px; border: 1px solid rgba(255,255,255,.11); border-radius: 28px; background: linear-gradient(145deg, rgba(17,24,34,.92), rgba(8,13,20,.94)); box-shadow: inset 0 1px 0 rgba(255,255,255,.055), 0 24px 68px rgba(0,0,0,.2); transition: transform .5s var(--ease-standard), border-color .5s; }
.ft-bento-card:hover { transform: translateY(-4px); border-color: rgba(255,107,114,.22); }
.ft-bento-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 85% 15%, rgba(255,59,67,.11), transparent 34%); }
.ft-bento-wide { grid-column: span 7; }
.ft-bento-tall { grid-column: span 5; }
.ft-bento-third { grid-column: span 4; min-height: 320px; }
.ft-bento-copy { position: relative; z-index: 2; max-width: 560px; }
.ft-bento-number { display: block; margin-bottom: 16px; color: var(--text-quaternary); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.ft-bento-copy h3 { margin: 0; font-size: clamp(25px, 2.5vw, 38px); font-weight: 550; letter-spacing: -.045em; line-height: 1.04; text-wrap: balance; }
.ft-bento-copy p { max-width: 540px; margin: 15px 0 0; color: var(--text-secondary); font-size: 14.5px; line-height: 1.55; }
.ft-bento-network { position: absolute; right: -15px; bottom: -30px; width: 52%; aspect-ratio: 1; border: 1px solid rgba(255,107,114,.18); border-radius: 50%; }
.ft-bento-network::before, .ft-bento-network::after { content: ""; position: absolute; inset: 16%; border: inherit; border-radius: inherit; }
.ft-bento-network::after { inset: 32%; }
.ft-network-center, .ft-network-node { position: absolute; display: grid; place-items: center; border: 1px solid rgba(255,107,114,.25); border-radius: 13px; background: #101720; color: var(--accent-soft); font-weight: 800; box-shadow: 0 12px 28px rgba(0,0,0,.28); }
.ft-network-center { top: 50%; left: 50%; width: 58px; height: 58px; transform: translate(-50%,-50%); font-size: 18px; }
.ft-network-node { width: 46px; height: 38px; color: var(--text-secondary); font-size: 9px; }
.ft-network-node.n1 { top: 5%; left: 43%; }
.ft-network-node.n2 { top: 43%; right: 3%; }
.ft-network-node.n3 { bottom: 6%; left: 44%; }
.ft-network-node.n4 { top: 42%; left: 2%; }
.ft-config-stack { position: relative; z-index: 2; display: grid; gap: 8px; margin-top: 28px; }
.ft-config-stack span { display: flex; align-items: center; justify-content: space-between; padding: 15px 17px; border: 1px solid rgba(255,255,255,.09); border-radius: 15px; background: rgba(255,255,255,.035); }
.ft-config-stack span:nth-child(2) { transform: translateX(11px); border-color: rgba(255,59,67,.26); background: rgba(255,59,67,.075); }
.ft-config-stack b { color: var(--text-primary); font-size: 14px; }
.ft-config-stack small { color: var(--text-tertiary); font-size: 11px; }
.ft-bento-symbol { width: 82px; height: 82px; display: grid; place-items: center; border: 1px solid rgba(255,59,67,.24); border-radius: 26px; background: rgba(255,59,67,.09); box-shadow: 0 0 50px rgba(255,59,67,.12); }
.ft-bento-symbol svg { width: 38px; height: 38px; }
.ft-protocol-wave { height: 92px; display: flex; align-items: center; gap: 8px; }
.ft-protocol-wave i { width: 8px; border-radius: 8px; background: linear-gradient(var(--accent-soft), rgba(255,59,67,.15)); box-shadow: 0 0 20px rgba(255,59,67,.1); }
.ft-protocol-wave i:nth-child(1) { height: 28px; }.ft-protocol-wave i:nth-child(2) { height: 58px; }.ft-protocol-wave i:nth-child(3) { height: 82px; }.ft-protocol-wave i:nth-child(4) { height: 48px; }.ft-protocol-wave i:nth-child(5) { height: 19px; }
.ft-trial-dial { width: 96px; height: 96px; display: grid; place-items: center; border: 1px solid rgba(255,59,67,.25); border-radius: 50%; background: radial-gradient(circle, rgba(255,59,67,.17), rgba(255,59,67,.03) 62%); box-shadow: 0 0 0 14px rgba(255,59,67,.025), 0 0 50px rgba(255,59,67,.1); }
.ft-trial-dial span { color: var(--accent-soft); font-size: 16px; font-weight: 800; letter-spacing: .1em; }

.ft-setup { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(44px, 6vw, 90px); align-items: start; }
.ft-journey-copy { max-width: 570px; }
.ft-text-link { display: inline-flex; gap: 9px; margin-top: 28px; color: var(--accent-soft); font-size: 14px; font-weight: 700; text-decoration: none; }
.ft-journey-steps { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.ft-journey-card { min-height: 160px; display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; padding: 26px; border: 1px solid rgba(255,255,255,.11); border-radius: 24px; background: linear-gradient(145deg, rgba(18,25,35,.91), rgba(9,14,21,.94)); transition: transform .45s var(--ease-standard), border-color .45s; }
.ft-journey-card:hover { transform: translateX(4px); border-color: rgba(255,107,114,.2); }
.ft-journey-card > span { display: grid; place-items: center; width: 52px; height: 52px; color: var(--accent-soft); border: 1px solid rgba(255,59,67,.24); border-radius: 17px; background: rgba(255,59,67,.08); font-size: 11px; font-weight: 800; }
.ft-journey-card h3 { margin: 2px 0 0; font-size: clamp(22px, 2vw, 29px); font-weight: 550; letter-spacing: -.04em; }
.ft-journey-card p { margin: 14px 0 0; color: var(--text-secondary); font-size: 15px; line-height: 1.56; }

.ft-scenarios { z-index: 1; padding-top: clamp(76px, 7vw, 112px); }
.ft-scenario-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 42px; }
.ft-scenario-head > div:first-child { max-width: 900px; }
.ft-scenario-controls { display: flex; gap: 5px; padding: 5px; border: 1px solid rgba(255,255,255,.11); border-radius: 14px; background: rgba(255,255,255,.035); }
.ft-scenario-controls button { min-width: 72px; min-height: 44px; padding: 0 12px; color: var(--text-secondary); border: 0; border-radius: 10px; background: transparent; cursor: pointer; font-size: .875rem; font-weight: 700; }
.ft-scenario-controls button[aria-selected="true"] { color: var(--accent-ink); background: var(--accent); }
.ft-scenario-stage { position: relative; min-height: 420px; overflow: hidden; display: grid; align-items: center; padding: clamp(32px, 4vw, 54px); border: 1px solid rgba(255,255,255,.11); border-radius: 30px; background: radial-gradient(circle at 82% 40%, rgba(255,59,67,.13), transparent 30%), linear-gradient(145deg, rgba(17,24,34,.94), rgba(7,11,17,.96)); }
.ft-scenario-stage article { position: relative; z-index: 2; max-width: 780px; }
.ft-scenario-stage article[hidden] { display: none; }
.ft-scenario-index { margin-bottom: 20px; color: var(--accent-soft); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.ft-scenario-stage h3 { margin: 0; font-size: clamp(34px, 3.4vw, 52px); font-weight: 500; letter-spacing: -.05em; line-height: 1.04; text-wrap: balance; }
.ft-scenario-stage p { max-width: 680px; margin: 22px 0 0; color: var(--text-secondary); font-size: 17px; line-height: 1.58; }
.ft-scenario-route { display: flex; align-items: center; gap: 12px; margin-top: 34px; color: var(--text-tertiary); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ft-scenario-route i { width: 28px; height: 1px; background: var(--accent-soft); }
.ft-scenario-visual { position: absolute; top: 50%; right: 7%; width: 240px; height: 240px; transform: translateY(-50%); }
.ft-scenario-ring { position: absolute; inset: 0; border: 1px solid rgba(255,59,67,.16); border-radius: 50%; }
.ft-scenario-ring.r2 { inset: 22%; border-color: rgba(255,107,114,.3); }
.ft-scenario-beacon { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; transform: translate(-50%,-50%); border: 1px solid rgba(255,156,160,.35); border-radius: 16px; background: rgba(255,59,67,.16); box-shadow: 0 0 70px rgba(255,59,67,.3); }

.ft-plans { padding-top: clamp(76px, 7vw, 112px); }
.ft-plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 16px; }
.ft-plan-card {
  position: relative; min-height: 420px; overflow: hidden; display: flex; flex-direction: column; padding: clamp(26px, 3vw, 40px);
  border: 1px solid rgba(255,255,255,.12); border-radius: 30px; background: linear-gradient(145deg, rgba(17,24,34,.95), rgba(7,12,19,.97));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 28px 76px rgba(0,0,0,.22); transition: transform .45s var(--ease-standard), border-color .45s;
}
.ft-plan-card:hover { transform: translateY(-4px); border-color: rgba(255,107,114,.26); }
.ft-plan-card::after {
  content: attr(data-device-limit); position: absolute; top: -32px; right: 18px; pointer-events: none;
  color: rgba(255,255,255,.035); font-size: clamp(150px, 17vw, 250px); font-weight: 800; letter-spacing: -.1em; line-height: 1;
}
.ft-plan-card.is-pro { border-color: rgba(255,59,67,.28); background: radial-gradient(circle at 88% 4%, rgba(255,59,67,.16), transparent 38%), linear-gradient(145deg, rgba(20,25,35,.97), rgba(8,12,19,.98)); }
.ft-plan-card.is-pro::before { content: ""; position: absolute; top: 0; right: 34px; left: 34px; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); box-shadow: 0 0 22px rgba(255,59,67,.48); }
.ft-plan-head { position: relative; z-index: 1; display: flex; align-items: start; justify-content: space-between; gap: 24px; }
.ft-plan-head p { margin: 0 0 10px; color: var(--accent-soft); font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.ft-plan-head h3 { margin: 0; font-size: clamp(32px, 3.2vw, 48px); font-weight: 550; letter-spacing: -.05em; line-height: 1; }
.ft-plan-head > span { min-height: 30px; display: inline-flex; align-items: center; padding: 0 11px; color: var(--text-secondary); border: 1px solid rgba(255,255,255,.12); border-radius: 99px; background: rgba(255,255,255,.045); font-size: 12px; font-weight: 700; white-space: nowrap; }
.ft-plan-price { position: relative; z-index: 1; display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin: 42px 0 30px; font-size: clamp(28px, 3vw, 43px); font-weight: 550; letter-spacing: -.045em; }
.ft-plan-price i { color: var(--text-quaternary); font-style: normal; font-weight: 400; }
.ft-plan-price strong { color: var(--accent-soft); font-weight: 650; }
.ft-plan-facts { position: relative; z-index: 1; display: grid; gap: 0; margin: 0 0 32px; padding: 0; list-style: none; }
.ft-plan-facts li { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--hairline); font-size: 14px; }
.ft-plan-facts span { color: var(--text-tertiary); }
.ft-plan-facts strong { color: var(--text-primary); font-weight: 600; text-align: right; }
.ft-plan-card .ft-btn { position: relative; z-index: 1; align-self: flex-start; margin-top: auto; }

.ft-access { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr); gap: clamp(56px, 7vw, 110px); align-items: center; padding-bottom: 110px; }
.ft-access-copy { max-width: 690px; }
.ft-access-facts { display: grid; gap: 11px; margin: 30px 0 0; padding: 0; color: var(--text-secondary); font-size: .875rem; list-style: none; }
.ft-access-facts li { display: flex; align-items: center; gap: 10px; }
.ft-access-facts i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 9px rgba(255,59,67,.65); }
.ft-auth-col { width: 100%; max-width: 520px; justify-self: end; }
.ft-auth-panel { padding: 32px; border-radius: 28px; }
.ft-auth-panel h3 { margin: 0; font-size: 25px; font-weight: 600; letter-spacing: -.035em; text-align: center; }
.ft-auth-intro { margin: 7px 0 24px; font-size: .875rem; line-height: 1.5; text-align: center; }
.ft-auth-error { margin-bottom: 16px; }
.ft-auth-submit { height: 48px; margin-top: 4px; }
.ft-auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0 17px; color: var(--text-quaternary); font-size: 11.5px; }
.ft-auth-divider::before, .ft-auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--hairline); }
.ft-telegram-widget { display: flex; justify-content: center; min-height: 54px; overflow: hidden; border-radius: 14px; }
.ft-auth-caption { margin: 10px 0 0; font-size: .875rem; text-align: center; }
.ft-code-fallback { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--hairline); }
.ft-code-fallback summary { display: flex; min-height: 44px; align-items: center; justify-content: center; cursor: pointer; color: var(--text-secondary); font-size: .875rem; font-weight: 650; text-align: center; list-style: none; }
.ft-code-fallback summary::-webkit-details-marker { display: none; }
.ft-code-fallback summary::after { content: " +"; color: var(--accent-soft); }
.ft-code-fallback[open] summary::after { content: " −"; }
.ft-code-fallback p { margin: 14px 0 12px; font-size: .875rem; line-height: 1.52; text-align: center; }
.ft-code-fallback p a { color: var(--accent-soft); font-weight: 700; }
.ft-code-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; }
.ft-code-form .ft-input { text-align: center; letter-spacing: 2px; }
.ft-auth-unavailable { margin: 24px 0 0; font-size: .875rem; text-align: center; }
.ft-auth-secure { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 16px 0 0; color: var(--text-quaternary); font-size: .875rem; }

.ft-footer { width: calc(100% - 64px); max-width: 1504px; margin: 0 auto 32px; padding: 30px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 42px; border-top: 1px solid var(--hairline); }
.ft-footer > p { max-width: 510px; margin: 0; color: var(--text-tertiary); font-size: .875rem; line-height: 1.5; }
.ft-footer nav { display: flex; gap: 24px; }
.ft-footer nav a { color: var(--text-secondary); font-size: .875rem; font-weight: 600; text-decoration: none; }
.ft-footer nav a:hover { color: var(--text-primary); }

/* Admin */
.ft-admin { flex-direction: row; background-size: 64px 64px, 64px 64px, auto, auto, auto; }
.ft-aside { position: sticky; top: 0; width: 258px; min-height: 100vh; min-height: 100dvh; flex: none; display: flex; flex-direction: column; padding: 22px 16px; border-right: 1px solid var(--hairline); background: rgba(7,11,17,.78); backdrop-filter: blur(20px); }
.ft-sidenav { display: flex; flex-direction: column; gap: 3px; }
.ft-sidenav-item { display: block; padding: 10px 13px; color: var(--text-secondary); border: 1px solid transparent; border-radius: 11px; font-size: .875rem; font-weight: 600; text-decoration: none; transition: background .15s, color .15s, border-color .15s; }
.ft-sidenav-item:hover { color: var(--text-primary); background: rgba(255,255,255,.055); }
.ft-sidenav-item.on { color: #ff9da1; border-color: rgba(255,59,67,.18); background: rgba(255,59,67,.09); }
.ft-aside-foot { display: flex; flex-direction: column; gap: 3px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--hairline); }
.ft-admin-main { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.ft-admin-top { position: sticky; top: 0; z-index: 20; height: 68px; display: flex; align-items: center; justify-content: space-between; padding: 0 30px; border-bottom: 1px solid var(--hairline); background: rgba(7,11,17,.7); backdrop-filter: blur(20px); }
.ft-admin-body { width: 100%; padding: 34px; }
.ft-page-h { margin: 0 0 5px; font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -.045em; }
.ft-page-sub { margin: 0 0 24px; color: var(--text-secondary); font-size: 14.5px; }
.ft-filterbar { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.ft-filter-field { width: 100%; }
.ft-filterbar .ft-input, .ft-filterbar .ft-select { height: 44px; }
.ft-table-wrap { overflow-x: auto; border: 1px solid var(--surface-card-border); border-radius: 18px; outline: 0; background: rgba(12,18,26,.9); box-shadow: 0 20px 60px rgba(0,0,0,.16); }
.ft-table-wrap:focus-visible { outline: 2px solid var(--accent-glow); outline-offset: 3px; }
.ft-table { width: 100%; border-collapse: collapse; }
.ft-table th { padding: 13px 16px; color: var(--text-secondary); border-bottom: 1px solid var(--hairline); font-size: 16px; font-weight: 750; letter-spacing: .05em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.ft-table td { padding: 14px 16px; border-bottom: 1px solid var(--hairline); font-size: 16px; vertical-align: middle; white-space: nowrap; }
.ft-table tbody tr:last-child td { border-bottom: 0; }
.ft-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.ft-link { color: var(--accent-soft); font-weight: 650; text-decoration: none; }
.ft-link:hover { text-decoration: underline; }
.ft-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 13px; }
.ft-stat-tile { padding: 20px; border: 1px solid var(--surface-card-border); border-radius: 20px; background: linear-gradient(145deg, rgba(17,24,34,.92), rgba(9,14,21,.94)); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.ft-stat-cap { color: var(--text-tertiary); font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.ft-stat-num { margin-top: 14px; font-size: 32px; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.ft-stat-num.accent { color: var(--accent-soft); }
.ft-stat-foot { margin-top: 5px; color: var(--text-secondary); font-size: 12.5px; }
.ft-kv { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--hairline); font-size: 13.5px; }
.ft-kv:last-child { border-bottom: 0; }
.ft-kv .k { flex: none; color: var(--text-tertiary); }
.ft-kv .v { text-align: right; }
.ft-empty { padding: 52px 28px; color: var(--text-secondary); text-align: center; }
.ft-admin-meta { font-size: 14px; }
.ft-secret { width: 100%; min-height: 46px; padding: 12px 14px; color: var(--accent-soft); border: 1px solid var(--surface-card-border); border-radius: 12px; outline: 0; background: rgba(255,255,255,.04); font-family: ui-monospace, Menlo, monospace; font-size: 16px; }
.ft-secret:focus-visible { outline: 2px solid var(--accent-glow); outline-offset: 3px; }
.ft-token-copy-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.ft-token-copy-help { margin: 10px 0 0; line-height: 1.5; }

@media (max-width: 1100px) {
  .ft-public-hero { min-height: auto; grid-template-columns: 1fr; gap: 38px; padding: 76px 28px 60px; text-align: center; }
  .ft-hero-copy { align-items: center; }
  .ft-hero-title { max-width: 920px; font-size: clamp(48px, 7vw, 72px); }
  .ft-hero-lead { margin-right: auto; margin-left: auto; }
  .ft-hero-actions { justify-content: center; }
  .ft-route-stage { width: min(820px, 100%); height: 360px; justify-self: center; }
  .ft-section { padding-right: 28px; padding-left: 28px; }
  .ft-bento-wide, .ft-bento-tall { grid-column: span 6; }
  .ft-bento-third { grid-column: span 4; }
  .ft-bento-network { width: 62%; opacity: .78; }
  .ft-access { gap: 54px; }
  .ft-scenario-visual { right: 2%; opacity: .55; }
  .ft-footer { grid-template-columns: 1fr auto; }
  .ft-footer > p { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 84px; }
  .ft-header { top: 8px; width: calc(100% - 16px); height: 62px; margin-top: 8px; padding: 0 11px; border-radius: 18px; }
  .ft-brand-tile { width: 36px; height: 36px; }
  .ft-brand-name { font-size: 14.5px; }
  .ft-brand-sub, .ft-public-nav > a:not(.ft-btn), .ft-email { display: none; }
  .ft-public-nav { gap: 0; }
  .ft-header-right { gap: 6px; }
  .ft-public-hero { gap: 30px; padding: 68px 18px 42px; }
  .ft-hero-title { font-size: clamp(36px, 9.8vw, 52px); line-height: .98; letter-spacing: -.055em; }
  .ft-hero-title > span { white-space: normal; }
  .ft-hero-lead { margin-top: 25px; font-size: 16px; }
  .ft-route-stage { height: 280px; margin-top: 0; border-radius: 24px; }
  .ft-stage-home { display: none; }
  .ft-stage-node { padding-right: 9px; }
  .ft-stage-node > span:last-child { display: none; }
  .ft-stage-tv { top: 15%; left: 8%; }
  .ft-stage-router { right: 8%; bottom: 16%; }
  .ft-stage-status { top: 14px; right: 14px; }
  .ft-section { padding: 72px 18px; }
  .ft-section-heading { margin-bottom: 34px; }
  .ft-section-heading h2, .ft-journey-copy h2, .ft-scenario-head h2, .ft-access-copy h2 { font-size: clamp(32px, 8.8vw, 46px); }
  .ft-section-heading > p:last-child, .ft-journey-copy > p:not(.ft-section-kicker), .ft-access-copy > p:not(.ft-section-kicker) { font-size: 16px; }
  .ft-bento { grid-template-columns: 1fr; }
  .ft-bento-wide, .ft-bento-tall, .ft-bento-third { grid-column: auto; min-height: 320px; }
  .ft-bento-card { padding: 24px; border-radius: 24px; }
  .ft-bento-network { right: -12%; width: 66%; }
  .ft-setup { grid-template-columns: 1fr; gap: 42px; }
  .ft-journey-card { grid-template-columns: 58px 1fr; min-height: 0; padding: 24px; }
  .ft-journey-card > span { width: 46px; height: 46px; }
  .ft-scenario-head { align-items: stretch; flex-direction: column; margin-bottom: 28px; }
  .ft-scenario-controls { align-self: flex-start; }
  .ft-scenario-stage { min-height: 430px; align-items: end; padding: 28px; border-radius: 26px; }
  .ft-scenario-stage article { padding-top: 135px; }
  .ft-scenario-visual { top: 32%; right: 50%; width: 190px; height: 190px; transform: translate(50%,-50%); opacity: .5; }
  .ft-scenario-route { flex-wrap: wrap; }
  .ft-plan-grid { grid-template-columns: 1fr; }
  .ft-plan-card { min-height: 390px; border-radius: 26px; }
  .ft-access { grid-template-columns: 1fr; gap: 46px; padding-bottom: 100px; }
  .ft-auth-col { max-width: 560px; justify-self: start; }
  .ft-footer { width: calc(100% - 36px); grid-template-columns: 1fr; gap: 22px; padding: 26px 0; }
  .ft-footer > p { grid-column: auto; grid-row: auto; }
  .ft-footer nav { flex-direction: column; gap: 8px; }
  .ft-footer nav a { min-height: 44px; display: flex; align-items: center; }
  .ft-admin { flex-direction: column; }
  .ft-aside { position: static; width: 100%; min-height: auto; }
  .ft-sidenav { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .ft-sidenav-item { min-height: 44px; display: flex; align-items: center; }
  .ft-aside-foot { flex-direction: row; margin-top: 16px; }
  .ft-admin-body { padding: 22px 16px 44px; }
  .ft-dashboard { padding-top: 48px; }
  .ft-dashboard-head { align-items: flex-start; flex-direction: column; gap: 14px; }
  .ft-bot-payment { grid-template-columns: auto 1fr; }
  .ft-bot-payment > .ft-btn { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 520px) {
  .ft-header .ft-brand > .leading-tight { display: none; }
  .ft-btn-lg { width: 100%; }
  .ft-hero-actions { width: 100%; }
  .ft-inline-home { display: none; }
  .ft-route-stage { height: 235px; }
  .ft-stage-core { width: 94px; height: 94px; }
  .ft-stage-shield { width: 56px; height: 56px; }
  .ft-stage-status { display: none; }
  .ft-bento-network { bottom: -14%; width: 78%; }
  .ft-config-stack { margin-top: 34px; }
  .ft-journey-card { grid-template-columns: 1fr; }
  .ft-scenario-controls { width: 100%; }
  .ft-scenario-controls button { min-width: 0; flex: 1; }
  .ft-scenario-stage { padding: 24px; }
  .ft-scenario-stage p { font-size: 15px; }
  .ft-scenario-route { gap: 8px; font-size: 12px; }
  .ft-scenario-route i { width: 16px; }
  .ft-plan-card { min-height: 0; padding: 24px; }
  .ft-plan-price { margin: 34px 0 25px; }
  .ft-plan-card .ft-btn { width: 100%; }
  .ft-auth-panel { padding: 24px 18px; }
  .ft-code-form { grid-template-columns: 1fr; }
  .ft-code-form .ft-btn { width: 100%; }
  .ft-container { padding: 40px 14px 70px; }
  .ft-container-narrow { padding: 54px 14px; }
  .ft-panel { padding: 19px; border-radius: 18px; }
  .ft-bot-payment { grid-template-columns: 1fr; padding: 22px 19px; border-radius: 20px; }
  .ft-bot-payment-mark { width: 56px; height: 56px; border-radius: 18px; }
  .ft-bot-payment-route { gap: 7px; }
  .ft-bot-payment-route li:not(:last-child)::after { width: 13px; }
  .ft-proto-grid { grid-template-columns: 1fr; }
  .ft-header-right .ft-btn { padding: 0 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ft-reveal, .ft-reveal.is-reveal-pending { opacity: 1 !important; transform: none !important; }
  .ft-marquee-track { animation: none; }
  .ft-marquee-set[aria-hidden="true"] { display: none; }
}
