:root {
  color-scheme: dark;
  --bg: #07080d;
  --bg-elevated: #0c0e17;
  --surface: #10131f;
  --surface-2: #141827;
  --surface-3: #191d2f;
  --text: #f7f8ff;
  --muted: #a8aec4;
  --muted-2: #747c98;
  --border: rgba(255,255,255,.085);
  --border-strong: rgba(137,112,255,.30);
  --accent: #8a70ff;
  --accent-strong: #7257ff;
  --accent-blue: #4ca6ff;
  --cyan: #52d4ff;
  --success: #50e6a1;
  --warning: #f1ca6d;
  --danger: #ff7f9c;
  --shell: 1200px;
  --radius: 24px;
  --shadow: 0 26px 90px rgba(0,0,0,.34);
  --tilt-x: 0deg;
  --tilt-y: 0deg;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 16% -5%, rgba(114,87,255,.17), transparent 30rem),
    radial-gradient(circle at 84% 10%, rgba(76,166,255,.11), transparent 28rem),
    linear-gradient(180deg, #07080d 0%, #090a11 45%, #07080d 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
body::after {
  content: "";
  position: fixed;
  inset: -10%;
  z-index: -4;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 25%, rgba(89,75,255,.09), transparent 31%),
    radial-gradient(circle at 75% 34%, rgba(38,196,255,.07), transparent 30%),
    radial-gradient(circle at 52% 82%, rgba(130,73,255,.08), transparent 37%);
  animation: auroraDrift 24s ease-in-out infinite alternate;
}

img { max-width: 100%; }
a { color: #cfc7ff; text-decoration: none; }
a:hover { color: #fff; }
button, input, select, textarea { font: inherit; }
a:focus-visible, button:focus-visible, .button:focus-visible, [role="tab"]:focus-visible {
  outline: 3px solid rgba(82,212,255,.75);
  outline-offset: 3px;
}
code {
  padding: .18rem .42rem;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: rgba(255,255,255,.045);
  color: #ddd8ff;
  font: .94em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.site-main, .legal-main { min-height: 64vh; }
.section { padding: 90px 0; content-visibility: auto; contain-intrinsic-size: auto 700px; }

.ambient { position: fixed; z-index: -1; border-radius: 999px; pointer-events: none; translate: 0 0; }
.ambient-one { width: 560px; height: 560px; left: -270px; top: 16%; opacity: .16; background: radial-gradient(circle, rgba(138,112,255,.20), rgba(138,112,255,.05) 42%, transparent 72%); animation: ambientFloatOne 15s ease-in-out infinite alternate; }
.ambient-two { width: 650px; height: 650px; right: -330px; top: 48%; opacity: .14; background: radial-gradient(circle, rgba(76,166,255,.18), rgba(76,166,255,.04) 42%, transparent 72%); animation: ambientFloatTwo 18s ease-in-out infinite alternate; }
.ambient-three { width: 460px; height: 460px; left: 42%; top: 5%; opacity: .08; background: radial-gradient(circle, rgba(82,212,255,.16), rgba(82,212,255,.03) 42%, transparent 72%); animation: ambientPulse 17s ease-in-out infinite alternate; }
.cursor-glow { position: fixed; z-index: -1; width: 520px; height: 520px; left: 0; top: 0; transform: translate3d(-9999px,-9999px,0); border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(82,212,255,.085), rgba(114,87,255,.035) 40%, transparent 70%); }
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 100; background: rgba(255,255,255,.018); pointer-events: none; }
.scroll-progress > span { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--accent-strong), var(--cyan), var(--accent)); box-shadow: 0 0 18px rgba(82,212,255,.55); }

.site-header { position: sticky; top: 0; z-index: 60; border-bottom: 1px solid rgba(255,255,255,.06); background: rgba(7,8,13,.94); }
.site-header::after { content: ""; position: absolute; inset: auto 15% -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(82,212,255,.22), rgba(138,112,255,.24), transparent); }
.nav-wrap { min-height: 76px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); font-weight: 850; letter-spacing: -.025em; white-space: nowrap; }
.brand:hover { color: var(--text); }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; overflow: hidden; border-radius: 10px; border: 1px solid rgba(82,212,255,.28); background: #0c1220; box-shadow: 0 8px 28px rgba(76,166,255,.18); }
.brand-mark.small { width: 31px; height: 31px; }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
.nav { display: flex; align-items: center; justify-content: center; gap: 2px; min-width: 0; }
.nav-link { color: #9da5bf; padding: 9px 11px; border-radius: 10px; font-size: .9rem; font-weight: 700; white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--text); background: rgba(255,255,255,.05); }
.mobile-menu-toggle { display: none; width: 40px; height: 40px; padding: 0; border: 1px solid var(--border); border-radius: 11px; background: rgba(255,255,255,.035); color: var(--text); cursor: pointer; }
.mobile-menu-toggle span { width: 17px; height: 2px; border-radius: 999px; background: currentColor; }
.nav-actions { display: flex; align-items: center; gap: 9px; }
.nav-support { color: #c6cad8; background: transparent; }
.nav-invite { min-height: 42px; }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; border-radius: 13px; border: 1px solid transparent; font-weight: 820; font-size: .94rem; transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: #fff; background: linear-gradient(135deg, var(--accent-strong), #5c83ff 58%, var(--accent-blue)); box-shadow: 0 13px 36px rgba(101,78,255,.27), inset 0 1px rgba(255,255,255,.15); }
.button.primary:hover { box-shadow: 0 18px 44px rgba(101,78,255,.34), inset 0 1px rgba(255,255,255,.18); }
.button.secondary { color: var(--text); border-color: var(--border); background: rgba(255,255,255,.045); }
.button.disabled { color: #70778f; border-color: rgba(255,255,255,.055); background: rgba(255,255,255,.025); cursor: not-allowed; }
.button.disabled:hover { transform: none; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #c1b5ff; text-transform: uppercase; letter-spacing: .14em; font-size: .73rem; font-weight: 850; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px rgba(80,230,161,.08), 0 0 20px rgba(80,230,161,.35); }
.home-hero { min-height: 650px; padding: 116px 0 82px; display: grid; grid-template-columns: minmax(0,1fr); align-items: center; justify-items: center; }
.hero-copy-wrap { min-width: 0; max-width: 900px; margin-inline: auto; text-align: center; }
.home-hero h1 { max-width: 720px; margin: 18px auto 20px; font-size: clamp(3.25rem, 6vw, 6.35rem); line-height: .93; letter-spacing: -.068em; text-wrap: balance; }
.hero-copy { max-width: 650px; margin: 0 auto; color: var(--muted); font-size: clamp(1.02rem, 1.7vw, 1.22rem); }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-note { margin: 17px 0 0; color: var(--muted-2); font-size: .87rem; }

.capability-strip { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0; padding: 14px 18px; border: 1px solid rgba(255,255,255,.065); border-radius: 16px; background: rgba(255,255,255,.025); }
.capability-strip span { display: inline-flex; align-items: center; color: #aeb4c9; font-size: .82rem; font-weight: 720; white-space: nowrap; }
.capability-strip span + span::before { content: "•"; margin: 0 16px; color: rgba(138,112,255,.62); }

.section-heading { max-width: 760px; margin-bottom: 38px; }
.centered-heading { margin-inline: auto; text-align: center; }
.section-heading h2, .showcase-copy h2, .setup-copy h2, .trust-section h2, .final-cta h2, .page-hero h1, .legal-hero h1, .not-found h1 { margin: 10px 0 12px; font-size: clamp(2.25rem, 4.5vw, 4.3rem); line-height: 1.01; letter-spacing: -.052em; text-wrap: balance; }
.section-heading p, .showcase-copy p, .setup-copy > p, .trust-section p, .final-cta p { color: var(--muted); margin: 0; font-size: 1rem; }

.benefit-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.benefit-card, .tool-panel, .product-preview, .command-explorer, .final-cta, .support-card, .data-card, .status-card, .panel, .legal-card { border: 1px solid var(--border); background: linear-gradient(180deg, rgba(19,22,34,.94), rgba(11,13,21,.96)); box-shadow: var(--shadow); }
.benefit-card { position: relative; min-width: 0; padding: 28px; border-radius: 20px; overflow: hidden; }
.benefit-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 2px; background: linear-gradient(var(--accent), transparent 75%); opacity: .7; }
.benefit-card > span { color: #8d83c8; font: 800 .77rem ui-monospace, monospace; }
.benefit-card h3 { margin: 18px 0 7px; font-size: 1.08rem; }
.benefit-card p { margin: 0; color: var(--muted); font-size: .91rem; }

.showcase > *, .setup-showcase > *, .trust-section > *, .tool-grid > * { min-width: 0; }
.showcase { display: grid; grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr); gap: clamp(42px,7vw,92px); align-items: center; }
.showcase.reverse .showcase-copy { order: 2; }
.showcase.reverse .showcase-visual { order: 1; }
.showcase-copy { min-width: 0; }
.showcase-copy h2 { max-width: 650px; }
.showcase-copy p { max-width: 620px; font-size: 1.04rem; }
.preview-slot, .setup-preview-slot { min-width: 0; }
.command-pill { display: inline-flex; align-items: center; margin: 22px 8px 0 0; padding: 7px 10px; border-radius: 9px; border-color: rgba(138,112,255,.20); background: rgba(138,112,255,.08); color: #ded9ff; font-size: .79rem; white-space: nowrap; }

.product-preview { --glow-x: 50%; --glow-y: 50%; position: relative; min-width: 0; max-width: 100%; border-radius: 24px; overflow: hidden; transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); transform-style: preserve-3d; transition: transform .16s ease-out, border-color .2s ease, box-shadow .2s ease; }
.product-preview::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .7; background: radial-gradient(380px circle at var(--glow-x) var(--glow-y), rgba(82,212,255,.08), rgba(138,112,255,.025) 42%, transparent 68%); }
.product-preview:hover { border-color: rgba(126,107,255,.30); box-shadow: 0 34px 110px rgba(0,0,0,.42); }
.discord-preview { padding: 0 24px 22px; }
.preview-window-bar { min-height: 48px; margin: 0 -24px 20px; padding: 0 18px; display: flex; align-items: center; gap: 7px; border-bottom: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.018); }
.preview-window-bar > span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.12); }
.preview-window-bar > span:nth-child(1) { background: rgba(255,127,156,.68); }
.preview-window-bar > span:nth-child(2) { background: rgba(241,202,109,.70); }
.preview-window-bar > span:nth-child(3) { background: rgba(80,230,161,.70); }
.preview-window-bar small { margin-left: auto; color: #70788f; font-size: .72rem; }
.preview-header, .battle-heading, .automation-header, .league-hero, .profile-head, .setup-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-width: 0; }
.preview-kicker { color: #8d84ba; font-size: .66rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.preview-header h3, .battle-heading h3, .automation-header h3, .league-hero h3, .profile-head h3, .setup-preview-head h3 { margin: 3px 0 0; font-size: 1.17rem; letter-spacing: -.025em; }
.preview-rank, .league-placement { display: inline-flex; align-items: center; justify-content: center; min-width: 50px; height: 38px; padding: 0 11px; border-radius: 11px; color: #e1dcff; border: 1px solid rgba(138,112,255,.22); background: rgba(138,112,255,.08); font-weight: 850; }
.preview-summary, .league-metrics, .battle-bottom { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; margin: 19px 0; }
.preview-summary > div, .league-metrics > div, .battle-bottom > div { min-width: 0; padding: 12px; border: 1px solid rgba(255,255,255,.055); border-radius: 12px; background: rgba(255,255,255,.022); }
.preview-summary small, .league-metrics small, .battle-bottom small, .item-stats small { display: block; color: #767f99; font-size: .68rem; }
.preview-summary strong, .league-metrics strong, .battle-bottom strong { display: block; margin-top: 3px; font-size: .88rem; overflow-wrap: anywhere; }
.positive { color: var(--success) !important; }
.preview-table { display: grid; gap: 2px; min-width: 0; }
.preview-table-head, .preview-table-row { display: grid; grid-template-columns: 34px minmax(0,1fr) 78px 68px; gap: 9px; align-items: center; min-width: 0; padding: 8px 10px; }
.preview-table-head { color: #6d758e; font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; }
.preview-table-row { border-radius: 9px; color: #abb2c6; background: rgba(255,255,255,.024); font-size: .79rem; }
.preview-table-row strong { color: #f0f2fa; overflow: hidden; text-overflow: ellipsis; }
.preview-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 17px; color: #747d96; font-size: .72rem; }
.preview-footer code { font-size: .7rem; }

.notification-stack { padding: 20px; display: grid; gap: 10px; }
.notification-card { min-width: 0; display: grid; grid-template-columns: 11px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 15px; border: 1px solid rgba(255,255,255,.065); border-radius: 14px; background: rgba(255,255,255,.024); }
.notification-icon { width: 9px; height: 42px; border-radius: 999px; background: var(--accent-blue); }
.notification-card.donation .notification-icon { background: #f1ca6d; }
.notification-card.promotion .notification-icon { background: var(--success); }
.notification-card.rank .notification-icon { background: var(--accent); }
.notification-card strong { display: block; font-size: .87rem; }
.notification-card p { margin: 1px 0 0; color: #9fa6ba; font-size: .78rem; }
.notification-card small { color: #677087; font-size: .68rem; white-space: nowrap; }

.clanwar-board, .league-dashboard, .history-dashboard, .automation-board, .setup-panel-preview { padding: 0 24px 24px; }
.clanwar-board .preview-window-bar, .league-dashboard .preview-window-bar, .setup-panel-preview .preview-window-bar { margin-left: -24px; margin-right: -24px; }
.battle-live, .automation-status, .tracked-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 999px; color: #99f0c5; border: 1px solid rgba(80,230,161,.18); background: rgba(80,230,161,.08); font-size: .66rem; font-weight: 850; white-space: nowrap; }
.battle-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
.race-track { display: grid; gap: 10px; margin: 22px 0 17px; }
.race-row { display: grid; grid-template-columns: 54px minmax(0,1fr) 66px; gap: 11px; align-items: center; font-size: .76rem; }
.race-row > span { height: 7px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.055); }
.race-row > span i { display: block; width: var(--progress); height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--accent),var(--cyan)); }
.race-row b { text-align: right; color: #aeb5c9; font-size: .72rem; }
.automation-board { padding-top: 24px; }
.automation-header h3 { max-width: 330px; }
.automation-list { margin-top: 18px; display: grid; gap: 8px; }
.automation-list > div { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 11px; align-items: center; padding: 13px; border: 1px solid rgba(255,255,255,.055); border-radius: 12px; background: rgba(255,255,255,.022); }
.automation-list strong { display: block; font-size: .84rem; }
.automation-list small { display: block; color: #778097; font-size: .7rem; }
.automation-list b { color: #aeb5c8; font-size: .72rem; white-space: nowrap; }
.automation-dot { width: 9px; height: 9px; border-radius: 50%; background: #6d7487; }
.automation-dot.active { background: var(--success); box-shadow: 0 0 14px rgba(80,230,161,.28); }
.automation-dot.warn { background: var(--warning); }
.league-mark { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 13px; color: #e3ddff; border: 1px solid rgba(138,112,255,.20); background: linear-gradient(135deg, rgba(138,112,255,.18), rgba(76,166,255,.08)); font-weight: 900; }
.league-hero > div { display: flex; align-items: center; gap: 12px; }
.chart-bars { height: 112px; display: flex; align-items: end; gap: 7px; padding: 14px 10px 0; border: 1px solid rgba(255,255,255,.05); border-radius: 14px; background: linear-gradient(180deg, rgba(76,166,255,.025), transparent); }
.chart-bars i { flex: 1 1 0; min-width: 4px; height: var(--bar); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #69d8ff, #7159ff); opacity: .82; }
.history-dashboard { padding-top: 24px; }
.profile-head { justify-content: flex-start; }
.profile-head .tracked-badge { margin-left: auto; }
.avatar-placeholder { flex: 0 0 auto; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; color: #ece9ff; background: linear-gradient(135deg, #775dff, #3faedb); font-weight: 900; }
.profile-head p { margin: 2px 0 0; color: #8088a1; font-size: .72rem; }
.profile-head p strong { color: #c8cde0; }
.history-list { margin-top: 19px; display: grid; gap: 7px; }
.history-list > div { display: grid; grid-template-columns: minmax(0,1fr) 74px 82px; gap: 10px; align-items: center; padding: 11px 12px; border: 1px solid rgba(255,255,255,.05); border-radius: 10px; background: rgba(255,255,255,.022); font-size: .76rem; }
.history-list strong { color: #f0f2fb; }
.history-list small { color: #798198; text-align: right; }

.secondary-tools { padding-top: 70px; }
.tool-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.tool-panel { min-width: 0; padding: 28px; border-radius: 22px; }
.tool-icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(138,112,255,.16); border-radius: 13px; background: rgba(138,112,255,.08); font-size: 1.25rem; }
.tool-panel h3 { margin: 18px 0 7px; font-size: 1.2rem; }
.tool-panel > p { margin: 0; color: var(--muted); }
.mini-preview { margin-top: 22px; min-width: 0; }
.mini-discord-card { min-width: 0; padding: 16px; border: 1px solid rgba(255,255,255,.06); border-left: 3px solid var(--accent); border-radius: 12px; background: #10131d; }
.mini-card-head { display: flex; gap: 10px; align-items: center; }
.egg-orb, .item-orb { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: #eadfff; background: rgba(138,112,255,.13); }
.mini-card-head strong { display: block; font-size: .85rem; }
.mini-card-head small { display: block; color: #737b91; font-size: .7rem; }
.mini-discord-card p { color: #a2a9bd; font-size: .76rem; margin: 12px 0 0; }
.mini-tags { display: flex; gap: 6px; margin-top: 10px; }
.mini-tags span { padding: 4px 7px; border-radius: 7px; color: #bfc5d8; background: rgba(255,255,255,.045); font-size: .66rem; }
.item-card { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 12px; align-items: center; border-left-color: var(--cyan); }
.item-card strong { display: block; margin-top: 2px; overflow-wrap: anywhere; }
.item-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.item-stats span { padding: 10px; border-radius: 9px; background: rgba(255,255,255,.03); }
.item-stats b { display: block; margin-top: 2px; }

.setup-showcase { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(42px,7vw,90px); align-items: center; }
.setup-steps { margin-top: 28px; display: grid; gap: 8px; }
.setup-steps > div { display: grid; grid-template-columns: 42px minmax(0,1fr); column-gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.055); }
.setup-steps span { grid-row: 1 / span 2; color: #9287cc; font: 850 .72rem ui-monospace, monospace; }
.setup-steps strong { font-size: .88rem; }
.setup-steps small { color: #7b839a; }
.setup-preview-head { justify-content: flex-start; padding-top: 4px; }
.setup-preview-list { margin-top: 20px; display: grid; gap: 7px; }
.setup-preview-list > div { min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 9px; align-items: center; padding: 11px 12px; border: 1px solid rgba(255,255,255,.05); border-radius: 10px; background: rgba(255,255,255,.021); }
.setup-preview-list > div > span { min-width: 0; display: flex; align-items: center; gap: 8px; font-size: .78rem; overflow-wrap: anywhere; }
.setup-preview-list i { display: grid; place-items: center; width: 21px; height: 21px; border-radius: 6px; color: #bfb6ec; background: rgba(138,112,255,.10); font-style: normal; font-size: .64rem; }
.setup-preview-list strong { color: #929ab1; font-size: .7rem; white-space: nowrap; }
.setup-preview-list b { color: #626a80; }
.setup-preview-note { margin: 14px 0 0; color: #747c94; font-size: .7rem; }

.command-section { padding-top: 112px; }
.command-explorer { min-width: 0; max-width: 100%; border-radius: 24px; overflow: hidden; }
.command-tabs { display: flex; gap: 7px; padding: 12px; overflow-x: auto; border-bottom: 1px solid rgba(255,255,255,.06); scrollbar-width: thin; }
.command-tab { flex: 0 0 auto; padding: 9px 13px; border: 1px solid transparent; border-radius: 10px; color: #8f97ad; background: transparent; cursor: pointer; font-weight: 750; }
.command-tab.active { color: #f1efff; border-color: rgba(138,112,255,.18); background: rgba(138,112,255,.08); }
.command-panels { padding: 18px; min-width: 0; }
.command-panel { min-width: 0; }
.motion-ready .command-panel:not(.active) { display: none; }
.command-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.command-row { min-width: 0; padding: 15px; border: 1px solid rgba(255,255,255,.05); border-radius: 12px; background: rgba(255,255,255,.021); }
.command-row code { display: inline-flex; color: #e5e0ff; border-color: rgba(138,112,255,.17); background: rgba(138,112,255,.07); }
.command-row p { margin: 8px 0 0; color: #8f97ae; font-size: .78rem; overflow-wrap: anywhere; }

.trust-section { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: start; }
.trust-section > div:first-child { max-width: 760px; }
.trust-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.trust-card { min-width: 0; display: grid; grid-template-columns: auto minmax(0,1fr); gap: 3px 11px; align-items: center; padding: 17px; border: 1px solid var(--border); border-radius: 15px; background: rgba(255,255,255,.025); color: var(--text); }
.trust-card:hover { border-color: rgba(138,112,255,.24); }
.trust-card .status-dot { grid-row: 1 / span 2; }
.trust-card strong { font-size: .9rem; }
.trust-card small { color: #7e869c; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #757d91; }
.status-dot.online { background: var(--success); box-shadow: 0 0 14px rgba(80,230,161,.30); }
.status-dot.offline { background: var(--danger); }
.status-dot.degraded { background: var(--warning); }

.final-cta { position: relative; overflow: hidden; min-width: 0; padding: clamp(30px,5vw,54px); border-radius: 28px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 40px; }
.final-cta::before { content: ""; position: absolute; width: 480px; height: 480px; right: -170px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(82,212,255,.13), rgba(138,112,255,.055) 45%, transparent 70%); }
.final-cta h2 { max-width: 700px; font-size: clamp(2.2rem,4vw,3.8rem); }
.final-actions { position: relative; display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

.page-hero { padding: 96px 0 24px; }
.page-hero h1 { margin-inline: 0; max-width: 820px; }
.page-hero p { max-width: 740px; color: var(--muted); font-size: 1.06rem; }
.support-grid, .data-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.support-card, .data-card, .status-card { min-width: 0; padding: 27px; border-radius: 20px; }
.support-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; border: 1px solid rgba(138,112,255,.15); background: rgba(138,112,255,.08); font-size: 1.2rem; }
.support-card h2, .data-card h2 { margin: 17px 0 7px; }
.support-card p, .data-card p, .status-card p { color: var(--muted); }
.data-card > span { color: #978bd0; font: 800 .77rem ui-monospace, monospace; }
.text-link { display: inline-block; margin-top: 5px; font-weight: 750; }
.empty-state { padding: 50px 28px; text-align: center; }
.empty-state .support-icon { margin-inline: auto; }
.empty-state p { color: var(--muted); }
.control-panel { padding: 30px; display: flex; justify-content: space-between; align-items: center; gap: 28px; border-radius: 22px; }
.center { text-align: center; }
.status-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.status-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.status-top h2 { margin: 0; font-size: 1rem; }
.status-badge { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 999px; font-size: .7rem; font-weight: 850; white-space: nowrap; }
.status-badge.online { color: #9cf4c8; background: rgba(80,230,161,.08); border: 1px solid rgba(80,230,161,.17); }
.status-badge.pending { color: #ffe29b; background: rgba(241,202,109,.08); border: 1px solid rgba(241,202,109,.15); }
.status-badge.neutral { color: #c5c9d8; background: rgba(255,255,255,.04); border: 1px solid var(--border); }

.legal-shell { width: min(calc(100% - 40px), 860px); margin: 0 auto; padding: 80px 0; }
.legal-hero { margin-bottom: 28px; }
.legal-hero h1 { margin-inline: 0; }
.legal-hero > p { max-width: 710px; color: var(--muted); font-size: 1.04rem; }
.last-updated { margin-top: 16px; color: #747c95; font-size: .82rem; }
.legal-card { padding: clamp(24px,5vw,44px); border-radius: 22px; content-visibility: auto; contain-intrinsic-size: auto 900px; }
.prose h2 { margin: 2.2rem 0 .65rem; font-size: 1.15rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #bdc2d4; }
.prose ul { padding-left: 1.3rem; }
.prose li + li { margin-top: .6rem; }
.not-found { padding: 130px 0; text-align: center; }
.error-code { color: #978bd0; font: 800 1rem ui-monospace, monospace; letter-spacing: .14em; }
.not-found p { color: var(--muted); margin-bottom: 28px; }

.site-footer { position: relative; margin-top: 60px; padding: 60px 0 28px; border-top: 1px solid rgba(255,255,255,.06); background: rgba(4,5,9,.58); overflow: hidden; content-visibility: auto; contain-intrinsic-size: auto 380px; }
.site-footer::before { content: ""; position: absolute; width: 600px; height: 180px; left: 50%; top: -125px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(76,166,255,.10), transparent 69%); pointer-events: none; }
.footer-layout { display: grid; grid-template-columns: minmax(250px,1.5fr) repeat(3,minmax(140px,.7fr)); gap: 34px; }
.footer-about p { max-width: 300px; margin: 12px 0 0; font-size: .87rem; }
.footer-brand-link { width: max-content; }
.footer-column { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.footer-column strong { margin-bottom: 4px; color: #e9eaf2; font-size: .82rem; }
.footer-column a, .footer-disabled { color: #9299ae; font-size: .81rem; overflow-wrap: anywhere; }
.footer-column a:hover { color: #fff; }
.footer-external-link { display: inline; min-height: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.footer-external-link.accent { color: #c6bbff; }
.footer-bottom { padding-top: 28px; margin-top: 34px; border-top: 1px solid rgba(255,255,255,.055); color: #687087; font-size: .76rem; }

[data-scroll-shift] { translate: 0 var(--scroll-shift-y,0px); }
.motion-ready [data-reveal] { --reveal-x: 0px; --reveal-y: 54px; opacity: 0; translate: var(--reveal-x) var(--reveal-y); scale: .975; transition: opacity .65s ease, translate .78s cubic-bezier(.16,1,.3,1), scale .78s cubic-bezier(.16,1,.3,1); }
.motion-ready [data-reveal="left"] { --reveal-x: -54px; --reveal-y: 14px; }
.motion-ready [data-reveal="right"] { --reveal-x: 54px; --reveal-y: 14px; }
.motion-ready [data-reveal="up"] { --reveal-x: 0px; --reveal-y: 58px; }
.motion-ready [data-reveal="zoom"] { --reveal-x: 0px; --reveal-y: 24px; scale: .94; }
.motion-ready [data-reveal].is-visible { opacity: 1; translate: 0 0; scale: 1; }

@keyframes auroraDrift { from { transform: translate3d(-1%,-1%,0) scale(1); } to { transform: translate3d(2%,3%,0) scale(1.05); } }
@keyframes ambientFloatOne { from { transform: translate3d(-10px,-16px,0); } to { transform: translate3d(38px,30px,0); } }
@keyframes ambientFloatTwo { from { transform: translate3d(10px,20px,0); } to { transform: translate3d(-36px,-34px,0); } }
@keyframes ambientPulse { from { transform: translate3d(-18px,-18px,0) scale(.9); opacity: .06; } to { transform: translate3d(24px,26px,0) scale(1.08); opacity: .10; } }

@media (max-width: 1080px) {
  .nav { gap: 0; }
  .nav-link { padding-inline: 8px; }
  .home-hero { grid-template-columns: 1fr; }
  .showcase, .setup-showcase { gap: 48px; }
  .footer-layout { grid-template-columns: 1.25fr repeat(3,.75fr); gap: 24px; }
}

@media (max-width: 900px) {
  .nav-wrap { grid-template-columns: minmax(0,1fr) auto auto; }
  .nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; flex-wrap: wrap; padding-bottom: 12px; }
  .motion-ready .mobile-menu-toggle { display: grid; place-items: center; align-content: center; gap: 4px; }
  .motion-ready .nav { display: none; }
  .motion-ready .nav.is-open { display: flex; }
  .nav-actions { justify-self: end; }
  .home-hero { min-height: 0; padding-top: 92px; grid-template-columns: 1fr; }
  .home-hero h1 { max-width: 850px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .showcase, .showcase.reverse, .setup-showcase, .trust-section { grid-template-columns: 1fr; gap: 34px; }
  .showcase.reverse .showcase-copy, .showcase.reverse .showcase-visual { order: initial; }
  .showcase-copy { max-width: 780px; }
  .tool-grid { grid-template-columns: 1fr; }
  .status-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-layout { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-about { grid-column: 1 / -1; }
  .final-cta { grid-template-columns: 1fr; }
  .final-actions { justify-content: flex-start; }
}

@media (max-width: 680px) {
  .shell, .legal-shell { width: min(calc(100% - 28px), var(--shell)); }
  .section { padding: 52px 0; }
  .nav-wrap { min-height: 68px; gap: 10px; }
  .brand { font-size: .92rem; }
  .brand-mark { width: 31px; height: 31px; }
  .nav-actions .nav-support { display: none; }
  .nav-invite { display: none; }

  .home-hero { min-height: 0; padding: 54px 0 42px; }
  .hero-copy-wrap { max-width: 100%; }
  .home-hero h1 { max-width: 100%; margin-top: 14px; margin-bottom: 16px; font-size: clamp(2.45rem, 11.5vw, 3.7rem); line-height: .98; letter-spacing: -.055em; }
  .hero-copy { max-width: 34rem; font-size: .98rem; line-height: 1.6; }
  .hero-actions { width: 100%; max-width: 420px; margin: 26px auto 0; display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero-actions .button { width: 100%; min-height: 50px; }
  .hero-note { margin-top: 14px; padding-inline: 8px; font-size: .8rem; }
  .eyebrow { font-size: .67rem; letter-spacing: .12em; }

  .capability-strip { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); justify-content: stretch; gap: 8px; padding: 10px; overflow: visible; }
  .capability-strip span + span::before { display: none; }
  .capability-strip span { min-width: 0; justify-content: center; white-space: normal; text-align: center; padding: 8px 7px; border-radius: 10px; background: rgba(255,255,255,.025); font-size: .75rem; line-height: 1.3; }

  .section-heading { margin-bottom: 26px; }
  .section-heading h2, .showcase-copy h2, .setup-copy h2, .trust-section h2, .final-cta h2 { font-size: clamp(2rem, 9.5vw, 2.8rem); line-height: 1.03; }
  .section-heading p, .showcase-copy p, .setup-copy > p, .trust-section p, .final-cta p { font-size: .94rem; }
  .benefit-grid { gap: 12px; }
  .benefit-card { padding: 21px; border-radius: 17px; }

  .showcase { gap: 24px; }
  .showcase.reverse, .setup-showcase, .trust-section { gap: 24px; }
  .showcase-copy { max-width: 100%; }
  .showcase-copy p { font-size: .95rem; }
  .command-pill { margin-top: 15px; margin-right: 6px; padding: 6px 8px; font-size: .72rem; }
  .preview-slot, .setup-preview-slot { width: 100%; }
  .real-preview { border-radius: 17px; }
  .real-preview figcaption { padding: 9px 11px; font-size: .68rem; }
  .preview-gallery, .event-preview-gallery { grid-template-columns: 1fr; gap: 10px; }
  .preview-summary, .league-metrics, .battle-bottom { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .preview-summary > div:last-child, .league-metrics > div:last-child, .battle-bottom > div:last-child { grid-column: 1 / -1; }

  .secondary-tools { padding-top: 40px; }
  .tool-grid { gap: 12px; }
  .tool-panel { padding: 21px; border-radius: 17px; }
  .setup-steps { margin-top: 20px; }
  .setup-steps > div { grid-template-columns: 34px minmax(0,1fr); padding: 10px 0; }

  .command-section { padding-top: 64px; }
  .command-explorer { border-radius: 18px; }
  .command-tabs { gap: 5px; padding: 8px; }
  .command-tab { padding: 8px 10px; font-size: .8rem; }
  .command-panels { padding: 12px; }
  .command-list { grid-template-columns: 1fr; gap: 8px; }
  .command-row { padding: 13px; }

  .support-grid, .data-grid, .status-grid, .trust-cards { grid-template-columns: 1fr; }
  .trust-section { align-items: stretch; }
  .trust-cards { gap: 8px; }
  .trust-card { padding: 15px; }
  .control-panel { align-items: flex-start; flex-direction: column; }

  .final-cta { padding: 26px 20px; gap: 24px; border-radius: 20px; }
  .final-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .final-actions .button { width: 100%; }

  .footer-layout { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-bottom { margin-top: 24px; padding-top: 20px; }
}

@media (max-width: 480px) {
  .shell, .legal-shell { width: min(calc(100% - 22px), var(--shell)); }
  .site-header { position: sticky; }
  .nav-wrap { grid-template-columns: minmax(0,1fr) auto; }
  .brand > span:last-child { max-width: 118px; overflow: hidden; text-overflow: ellipsis; }
  .home-hero h1 { font-size: clamp(2.3rem, 12vw, 3.3rem); }
  .hero-copy { font-size: .94rem; }
  .section-heading h2, .showcase-copy h2, .setup-copy h2, .trust-section h2, .final-cta h2 { font-size: clamp(2rem,10vw,3rem); }
  .discord-preview, .clanwar-board, .league-dashboard, .history-dashboard, .automation-board, .setup-panel-preview { padding-left: 16px; padding-right: 16px; }
  .preview-window-bar, .clanwar-board .preview-window-bar, .league-dashboard .preview-window-bar, .setup-panel-preview .preview-window-bar { margin-left: -16px; margin-right: -16px; padding-inline: 13px; }
  .preview-window-bar small { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .preview-table-head, .preview-table-row { grid-template-columns: 28px minmax(0,1fr) 62px; }
  .preview-table-head span:nth-child(4), .preview-table-row span:nth-child(4) { display: none; }
  .notification-card { grid-template-columns: 8px minmax(0,1fr); }
  .notification-card > small { display: none; }
  .race-row { grid-template-columns: 48px minmax(0,1fr); }
  .race-row b { display: none; }
  .history-list > div { grid-template-columns: minmax(0,1fr) 64px; }
  .history-list small { display: none; }
  .automation-list > div { grid-template-columns: auto minmax(0,1fr); }
  .automation-list b { display: none; }
  .setup-preview-list > div { grid-template-columns: minmax(0,1fr) auto; }
  .setup-preview-list strong { display: none; }
  .footer-layout { grid-template-columns: 1fr; }
  .final-actions .button { width: 100%; }
}

@media (hover: none), (pointer: coarse) {
  .cursor-glow { display: none; }
  [data-tilt], .product-preview { transform: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .motion-ready [data-reveal] { opacity: 1 !important; translate: 0 0 !important; scale: 1 !important; }
  [data-tilt], .product-preview, .ambient { transform: none !important; }
  [data-scroll-shift] { translate: none !important; }
  .cursor-glow { display: none; }
}

/* Real bot output previews */
.real-preview {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(19,22,34,.94), rgba(11,13,21,.96));
  box-shadow: var(--shadow);
}
.real-preview img {
  display: block;
  width: 100%;
  height: auto;
  background: #0b0d15;
}
.real-preview figcaption {
  padding: 10px 13px;
  border-top: 1px solid rgba(255,255,255,.055);
  color: #8f97ae;
  background: rgba(255,255,255,.018);
  font: 700 .72rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.preview-gallery {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
  min-width: 0;
  align-items: start;
}
.event-preview-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
.event-preview-gallery .real-preview { width: 100%; }
.event-preview-gallery .real-preview > img { height: auto; object-fit: initial; }
.clanwar-showcase { grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr); }
.automation-showcase { grid-template-columns: minmax(0,.68fr) minmax(0,1.32fr); }
.league-showcase { grid-template-columns: minmax(0,1.32fr) minmax(0,.68fr); }
.history-showcase { grid-template-columns: minmax(0,.76fr) minmax(0,1.24fr); }
.automation-preview-single, .league-preview-single, .history-preview-single { min-width: 0; }
.automation-preview-single .real-preview, .league-preview-single .real-preview, .history-preview-single .real-preview { width: 100%; max-width: 100%; }
.history-preview-single { grid-template-columns: minmax(0,1fr); }

@media (max-width: 680px) {
  .preview-gallery, .event-preview-gallery { grid-template-columns: 1fr; }
}

/* Setup guide */
.guide-hero { padding: 104px 0 72px; text-align: center; }
.guide-hero h1 { max-width: 930px; margin: 14px auto 18px; font-size: clamp(3rem,6vw,5.7rem); line-height: .96; letter-spacing: -.06em; text-wrap: balance; }
.guide-hero > p { max-width: 790px; margin: 0 auto; color: var(--muted); font-size: 1.08rem; }
.guide-hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.guide-hero-notes { max-width: 860px; margin: 22px auto 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; text-align: left; }
.guide-hero-notes span { padding: 13px 15px; border: 1px solid var(--border); border-radius: 13px; color: #aeb5ca; background: rgba(255,255,255,.025); font-size: .84rem; }
.guide-hero-notes b { color: #f0f2fb; }

.guide-layout { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: clamp(30px,5vw,70px); align-items: start; padding-bottom: 80px; }
.guide-toc { position: sticky; top: 100px; display: grid; gap: 3px; padding: 16px; border: 1px solid var(--border); border-radius: 17px; background: rgba(12,14,23,.82); }
.guide-toc strong { padding: 4px 8px 9px; color: #f0f1f8; font-size: .82rem; }
.guide-toc a { padding: 7px 8px; border-radius: 8px; color: #8f97ad; font-size: .76rem; line-height: 1.35; }
.guide-toc a:hover { color: #fff; background: rgba(255,255,255,.045); }
.guide-content { min-width: 0; display: grid; gap: 18px; }
.guide-step { scroll-margin-top: 104px; padding: clamp(25px,4vw,40px); border: 1px solid var(--border); border-radius: 23px; background: linear-gradient(180deg, rgba(17,20,31,.88), rgba(10,12,20,.92)); box-shadow: 0 20px 70px rgba(0,0,0,.20); }
.guide-step-number { color: #ab9fff; text-transform: uppercase; letter-spacing: .13em; font: 850 .69rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.guide-step h2 { margin: 8px 0 13px; font-size: clamp(1.7rem,3.4vw,2.65rem); line-height: 1.05; letter-spacing: -.04em; }
.guide-step > p { margin: 0; color: #abb2c7; }
.guide-step > p + p { margin-top: 13px; }
.guide-path { margin: 0 0 18px; padding: 11px 13px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; border: 1px solid rgba(138,112,255,.16); border-radius: 11px; background: rgba(138,112,255,.045); }
.guide-path strong { color: #b9afff; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.guide-path span { color: #eef0f8; font: 750 .78rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.guide-list { margin: 18px 0 0; padding: 0; display: grid; gap: 9px; list-style: none; counter-reset: guide-item; }
.guide-list li { position: relative; padding: 12px 14px 12px 47px; border: 1px solid rgba(255,255,255,.055); border-radius: 12px; color: #b9bfd1; background: rgba(255,255,255,.022); }
.guide-list.numbered li { counter-increment: guide-item; }
.guide-list.numbered li::before { content: counter(guide-item); position: absolute; left: 13px; top: 12px; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 7px; color: #d9d2ff; background: rgba(138,112,255,.12); font: 800 .68rem ui-monospace, monospace; }
.guide-inline-action { margin-top: 18px; }
.guide-callout { margin-top: 18px; padding: 15px 17px; border: 1px solid rgba(82,212,255,.16); border-radius: 13px; background: rgba(82,212,255,.045); }
.guide-callout.important { border-color: rgba(138,112,255,.20); background: rgba(138,112,255,.055); }
.guide-callout.warning { border-color: rgba(241,202,109,.18); background: rgba(241,202,109,.045); }
.guide-callout strong { display: block; color: #f0f2fa; font-size: .86rem; }
.guide-callout p { margin: 4px 0 0; color: #99a2ba; font-size: .82rem; }
.guide-option-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.guide-option-grid.three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.guide-option-grid > div { min-width: 0; padding: 15px; border: 1px solid rgba(255,255,255,.055); border-radius: 13px; background: rgba(255,255,255,.022); }
.guide-option-grid strong { display: block; color: #eef0f8; }
.guide-option-grid span { display: block; margin-top: 4px; color: #8f97ad; font-size: .78rem; }
.permission-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.permission-card { padding: 18px; border: 1px solid rgba(138,112,255,.17); border-radius: 15px; background: rgba(138,112,255,.045); }
.permission-card > span { color: #978bd0; text-transform: uppercase; letter-spacing: .1em; font-size: .64rem; font-weight: 850; }
.permission-card h3 { margin: 6px 0 12px; font-size: 1rem; }
.permission-card p { margin: 12px 0 0; color: #929bb2; font-size: .78rem; }
.permission-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.permission-card .permission-pills { margin-top: 0; }
.permission-pills span { padding: 6px 9px; border: 1px solid rgba(80,230,161,.15); border-radius: 8px; color: #b9efd4; background: rgba(80,230,161,.055); font: 750 .72rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.guide-private-flow { margin-top: 18px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.guide-private-flow > div { display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 11px; padding: 14px; border: 1px solid rgba(255,255,255,.055); border-radius: 13px; background: rgba(255,255,255,.021); }
.guide-private-flow b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: #dcd6ff; background: rgba(138,112,255,.12); font-size: .74rem; }
.guide-private-flow strong, .guide-private-flow small { display: block; }
.guide-private-flow strong { color: #eceef7; font-size: .84rem; }
.guide-private-flow small { margin-top: 3px; color: #848da5; }
.guide-private-flow small strong { display: inline; }
.channel-layout-example { margin-top: 18px; display: grid; gap: 8px; }
.channel-layout-example > div { display: grid; grid-template-columns: 165px minmax(0,1fr); gap: 14px; align-items: center; padding: 13px 14px; border: 1px solid rgba(255,255,255,.055); border-radius: 12px; background: rgba(255,255,255,.022); }
.channel-layout-example span { color: #929ab0; font-size: .8rem; }
.troubleshoot-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.troubleshoot-grid > div { padding: 16px; border: 1px solid rgba(255,255,255,.055); border-radius: 13px; background: rgba(255,255,255,.022); }
.troubleshoot-grid strong { color: #eef0f8; font-size: .84rem; }
.troubleshoot-grid p { margin: 6px 0 0; color: #8f98ae; font-size: .78rem; }
.guide-finish { border-color: rgba(80,230,161,.15); }
.guide-checklist { margin-top: 19px; display: grid; gap: 8px; }
.guide-checklist > div { display: grid; grid-template-columns: 31px minmax(0,1fr); gap: 11px; align-items: start; padding: 13px 14px; border: 1px solid rgba(255,255,255,.055); border-radius: 12px; background: rgba(255,255,255,.022); }
.guide-checklist i { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; color: #a7f3cc; background: rgba(80,230,161,.08); font-style: normal; font-weight: 900; }
.guide-checklist strong, .guide-checklist small { display: block; }
.guide-checklist strong { color: #eef1f8; font-size: .84rem; }
.guide-checklist small { margin-top: 3px; color: #858ea6; }
.guide-finish-actions { margin-top: 21px; display: flex; flex-wrap: wrap; gap: 9px; }

@media (max-width: 900px) {
  .guide-layout { grid-template-columns: 1fr; }
  .guide-toc { position: static; grid-template-columns: repeat(3,minmax(0,1fr)); }
  .guide-toc strong { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .guide-hero { padding: 76px 0 54px; }
  .guide-hero h1 { font-size: clamp(2.6rem,12vw,4.2rem); }
  .guide-hero-notes, .guide-option-grid, .guide-option-grid.three, .permission-grid, .guide-private-flow, .troubleshoot-grid { grid-template-columns: 1fr; }
  .guide-toc { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .channel-layout-example > div { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 480px) {
  .guide-toc { grid-template-columns: 1fr; }
  .guide-hero-actions .button, .guide-finish-actions .button { width: 100%; }
}

/* Minimal home refresh — 2026-10-03 */
.button.ghost { color: #b9bfd2; border-color: transparent; background: transparent; }
.button.ghost:hover { color: #fff; border-color: rgba(255,255,255,.07); background: rgba(255,255,255,.025); }
.minimal-hero { min-height: 610px; padding-top: 104px; padding-bottom: 72px; }
.minimal-hero h1 { max-width: 880px; }
.clean-section { scroll-margin-top: 92px; }
.clean-feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.clean-feature-card { position: relative; min-width: 0; min-height: 220px; padding: 26px; border: 1px solid var(--border); border-radius: 20px; background: linear-gradient(180deg, rgba(18,21,33,.82), rgba(10,12,20,.88)); }
.clean-feature-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(135deg, rgba(138,112,255,.055), transparent 46%, rgba(82,212,255,.025)); }
.feature-icon { position: relative; z-index: 1; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(138,112,255,.16); border-radius: 13px; background: rgba(138,112,255,.075); font-size: 1.18rem; }
.feature-index { position: absolute; top: 26px; right: 26px; color: #686f86; font: 800 .72rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.clean-feature-card h3 { position: relative; z-index: 1; margin: 22px 0 8px; font-size: 1.12rem; letter-spacing: -.025em; }
.clean-feature-card p { position: relative; z-index: 1; margin: 0; color: #929ab1; font-size: .88rem; }
.flow-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.flow-card { min-width: 0; padding: 22px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.flow-card span { color: #9d92db; font: 850 .69rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.flow-card h3 { margin: 12px 0 6px; font-size: 1rem; }
.flow-card p { margin: 0; color: #8f97ad; font-size: .82rem; }
.section-actions { margin-top: 24px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.section-actions .command-pill { margin: 0; }
.automation-clean-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; max-width: 980px; margin-inline: auto; }
.automation-clean-card { min-width: 0; display: grid; grid-template-columns: auto minmax(0,1fr); gap: 13px; align-items: start; padding: 22px; border: 1px solid var(--border); border-radius: 16px; background: rgba(255,255,255,.018); }
.automation-clean-card .status-dot { margin-top: 7px; }
.automation-clean-card h3 { margin: 0 0 5px; font-size: 1rem; }
.automation-clean-card p { margin: 0; color: #8d95ab; font-size: .84rem; }
.clean-setup-section { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(34px,6vw,78px); align-items: start; }
.clean-setup-copy h2 { margin: 10px 0 12px; font-size: clamp(2.25rem,4.5vw,4.3rem); line-height: 1.01; letter-spacing: -.052em; text-wrap: balance; }
.clean-setup-copy > p { margin: 0; color: var(--muted); }
.setup-guide-link { margin-left: 8px; font-size: .88rem; font-weight: 760; }
.clean-setup-steps { display: grid; border-top: 1px solid var(--border); }
.clean-setup-steps > div { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.clean-setup-steps > div > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; color: #d7d0ff; background: rgba(138,112,255,.09); font: 850 .72rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.clean-setup-steps strong { display: block; color: #eff1f9; font-size: .9rem; }
.clean-setup-steps small { display: block; margin-top: 3px; color: #8089a1; font-size: .78rem; }
.compact-trust { padding-top: 62px; padding-bottom: 62px; }
.minimal-final-cta { box-shadow: none; background: linear-gradient(180deg, rgba(17,20,31,.78), rgba(9,11,18,.86)); }

@media (max-width: 980px) {
  .clean-feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .flow-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .clean-setup-section { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .minimal-hero { padding-top: 54px; padding-bottom: 42px; }
  .clean-feature-grid, .flow-grid, .automation-clean-grid { grid-template-columns: 1fr; }
  .clean-feature-card { min-height: 0; padding: 21px; border-radius: 17px; }
  .feature-index { top: 21px; right: 21px; }
  .flow-card { padding: 18px 4px; }
  .clean-setup-copy h2 { font-size: clamp(2rem,9.5vw,2.8rem); line-height: 1.03; }
  .section-actions { align-items: flex-start; }
  .setup-guide-link { width: 100%; margin: 8px 0 0; }
  .compact-trust { padding-top: 44px; padding-bottom: 44px; }
}

/* Mobile polish — 2026-10-03 */
@media (max-width: 720px) {
  body { line-height: 1.55; }
  .shell, .legal-shell { width: min(calc(100% - 24px), var(--shell)); }
  .section { padding: 48px 0; }

  /* Header / mobile navigation */
  .site-header { background: rgba(7,8,13,.97); }
  .nav-wrap { min-height: 64px; grid-template-columns: minmax(0,1fr) auto; gap: 10px; }
  .mobile-menu-toggle { grid-column: 2; grid-row: 1; }
  .nav-actions { display: none; }
  .motion-ready .mobile-menu-toggle { display: grid; }
  .nav, .motion-ready .nav.is-open {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    padding: 4px 0 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav-link { width: 100%; padding: 11px 12px; border: 1px solid transparent; border-radius: 11px; font-size: .86rem; }
  .nav-link:hover, .nav-link.active { border-color: rgba(255,255,255,.055); }

  /* Home hero */
  .minimal-hero, .home-hero { padding-top: 48px; padding-bottom: 38px; }
  .home-hero h1 { font-size: clamp(2.25rem, 11vw, 3.35rem); line-height: .98; letter-spacing: -.052em; }
  .hero-copy { max-width: 31rem; font-size: .94rem; line-height: 1.55; }
  .hero-actions { max-width: 100%; margin-top: 23px; }
  .hero-actions .button { min-height: 48px; }
  .hero-note { max-width: 300px; margin-inline: auto; line-height: 1.45; }

  .capability-strip { grid-template-columns: repeat(2,minmax(0,1fr)); border-radius: 14px; }
  .capability-strip span { min-height: 42px; }

  /* General headings */
  .section-heading { max-width: 100%; margin-bottom: 24px; }
  .section-heading h2,
  .clean-setup-copy h2,
  .final-cta h2,
  .page-hero h1,
  .legal-hero h1 { font-size: clamp(1.95rem, 9vw, 2.65rem); line-height: 1.04; letter-spacing: -.045em; }
  .section-heading p, .clean-setup-copy > p, .page-hero p, .legal-hero > p { font-size: .92rem; line-height: 1.55; }

  /* Minimal home cards */
  .clean-feature-grid, .flow-grid, .automation-clean-grid { gap: 10px; }
  .clean-feature-card { padding: 19px; border-radius: 16px; }
  .feature-icon { width: 40px; height: 40px; border-radius: 11px; font-size: 1.05rem; }
  .feature-index { top: 19px; right: 19px; }
  .clean-feature-card h3 { margin-top: 17px; font-size: 1.03rem; }
  .clean-feature-card p { font-size: .82rem; line-height: 1.5; }

  .flow-card { padding: 17px; border: 1px solid var(--border); border-radius: 14px; background: rgba(255,255,255,.016); }
  .flow-card h3 { margin-top: 9px; }
  .section-actions { gap: 6px; }
  .section-actions .command-pill { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }

  .automation-clean-card { gap: 11px; padding: 17px; border-radius: 14px; }
  .automation-clean-card h3 { font-size: .95rem; }
  .automation-clean-card p { font-size: .8rem; line-height: 1.48; }

  .clean-setup-section { gap: 26px; }
  .clean-setup-steps > div { grid-template-columns: 36px minmax(0,1fr); gap: 11px; padding: 14px 0; }
  .clean-setup-steps > div > span { width: 30px; height: 30px; }
  .clean-setup-steps small { line-height: 1.45; }
  .setup-guide-link { width: 100%; margin: 7px 0 0; }

  /* Commands: no cramped horizontal tab scroller on phones */
  .command-section { padding-top: 54px; }
  .command-explorer { border-radius: 16px; overflow: visible; }
  .command-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; padding: 8px; overflow: visible; }
  .command-tab { width: 100%; min-width: 0; padding: 9px 7px; white-space: normal; line-height: 1.25; font-size: .76rem; }
  .command-panels { padding: 9px 0 0; }
  .command-list { gap: 7px; }
  .command-row { padding: 12px; border-radius: 11px; }
  .command-row code { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
  .command-row p { margin-top: 7px; font-size: .76rem; line-height: 1.47; }

  /* CTA / footer */
  .final-cta { padding: 22px 17px; gap: 18px; border-radius: 17px; }
  .final-cta::before { opacity: .55; }
  .final-actions { gap: 8px; }
  .site-footer { margin-top: 34px; padding-top: 42px; }
  .footer-layout { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .footer-about { grid-column: 1 / -1; }
  .footer-about p { max-width: 100%; }

  /* Other public pages */
  .page-hero { padding: 64px 0 8px; }
  .support-grid, .data-grid, .status-grid { gap: 10px; }
  .support-card, .data-card, .status-card { border-radius: 15px; }

  /* Setup guide */
  .guide-hero { padding: 58px 0 38px; }
  .guide-hero h1 { font-size: clamp(2.25rem, 11vw, 3.2rem); line-height: 1; letter-spacing: -.05em; }
  .guide-hero > p { font-size: .94rem; line-height: 1.55; }
  .guide-hero-actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 22px; }
  .guide-hero-actions .button { width: 100%; }
  .guide-hero-notes { margin-top: 14px; gap: 7px; }
  .guide-hero-notes span { padding: 11px 12px; font-size: .78rem; }
  .guide-layout { gap: 20px; padding-bottom: 48px; }
  .guide-toc {
    position: static;
    display: flex;
    grid-template-columns: none;
    gap: 6px;
    padding: 8px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    border-radius: 13px;
  }
  .guide-toc strong { display: none; }
  .guide-toc a { flex: 0 0 auto; padding: 8px 10px; white-space: nowrap; border: 1px solid rgba(255,255,255,.045); background: rgba(255,255,255,.018); font-size: .72rem; }
  .guide-content { gap: 12px; }
  .guide-step { scroll-margin-top: 78px; padding: 19px 16px; border-radius: 16px; }
  .guide-step h2 { margin: 6px 0 10px; font-size: clamp(1.55rem, 8vw, 2.05rem); line-height: 1.07; }
  .guide-step > p { font-size: .88rem; line-height: 1.55; }
  .guide-path { align-items: flex-start; flex-direction: column; gap: 5px; padding: 10px 11px; }
  .guide-path span { width: 100%; font-size: .72rem; overflow-wrap: anywhere; }
  .guide-list { margin-top: 14px; gap: 7px; }
  .guide-list li { padding: 11px 11px 11px 43px; font-size: .84rem; }
  .guide-list.numbered li::before { left: 11px; top: 10px; }
  .guide-option-grid, .permission-grid, .guide-private-flow, .troubleshoot-grid { margin-top: 14px; gap: 7px; }
  .guide-option-grid > div, .permission-card, .troubleshoot-grid > div { padding: 13px; border-radius: 11px; }
  .permission-pills { gap: 5px; }
  .permission-pills span { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
  .guide-callout { margin-top: 14px; padding: 12px 13px; }
  .channel-layout-example > div { padding: 11px 12px; }
  .guide-checklist > div { padding: 11px 12px; }
  .guide-finish-actions { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .guide-finish-actions .button { width: 100%; }
}

@media (max-width: 420px) {
  .shell, .legal-shell { width: min(calc(100% - 18px), var(--shell)); }
  .brand { gap: 8px; font-size: .88rem; }
  .brand-mark { width: 29px; height: 29px; border-radius: 9px; }
  .mobile-menu-toggle { width: 38px; height: 38px; }
  .home-hero h1 { font-size: clamp(2.1rem, 11.5vw, 2.95rem); }
  .capability-strip { gap: 6px; padding: 7px; }
  .capability-strip span { padding: 7px 5px; font-size: .7rem; }
  .command-tabs { grid-template-columns: 1fr 1fr; padding-inline: 0; }
  .footer-layout { grid-template-columns: 1fr; }
  .footer-about { grid-column: auto; }
  .guide-step { padding-inline: 14px; }
}
