:root {
  --bg: #f4f6f7;
  --panel: #ffffff;
  --panel-2: #e9edf0;
  --ink: #151b1f;
  --muted: #66717a;
  --line: #d5dce1;
  --dark: #101619;
  --dark-2: #182126;
  --dark-line: #303d43;
  --light: #f7faf9;
  --accent: #12a277;
  --accent-dark: #087858;
  --blue: #3578e5;
  --red: #d75252;
  --yellow: #d8a12b;
  --green: #12a277;
  --radius: 8px;
  font-family: Inter, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--ink); line-height: 1.6; overflow-x: hidden; }
button, select { font: inherit; letter-spacing: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a, select { outline: none; }
button:focus-visible, a:focus-visible, select:focus-visible { box-shadow: 0 0 0 3px rgba(18, 162, 119, 0.32); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 max(24px, calc((100vw - 1280px) / 2));
  color: white;
  background: rgba(16, 22, 25, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(14px);
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; display: inline-grid; place-items: center; color: white; background: var(--accent); border-radius: 6px; font-size: 13px; font-weight: 900; }
.brand-mark.small { width: 28px; height: 28px; font-size: 11px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: #cbd4d7; text-decoration: none; font-size: 14px; font-weight: 650; }
.site-nav a:hover { color: white; }
.site-nav .nav-cta { padding: 8px 13px; color: white; background: var(--accent-dark); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 6px; }
.nav-toggle { display: none; min-height: 38px; padding: 7px 11px; color: white; background: transparent; border: 1px solid #46545a; border-radius: 6px; }

.hero {
  position: relative;
  min-height: 82vh;
  height: 760px;
  max-height: 900px;
  display: grid;
  align-items: center;
  padding: 116px max(24px, calc((100vw - 1280px) / 2)) 118px;
  color: white;
  background: var(--dark) url('/intro/assets/tradefleet-interface.png') center 30% / cover no-repeat;
  isolation: isolate;
}
.hero-shade { position: absolute; inset: 0; z-index: -1; background: rgba(5, 11, 13, 0.78); }
.hero-content { width: min(760px, 100%); }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-size: 12px; font-weight: 850; letter-spacing: 0; }
.hero h1 { margin: 0; font-size: 88px; line-height: 1; letter-spacing: 0; }
.hero-lead { max-width: 700px; margin: 22px 0 0; color: #d4dcde; font-size: 22px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 9px 17px; border: 1px solid transparent; border-radius: 6px; text-decoration: none; font-weight: 800; cursor: pointer; }
.button.primary { color: white; background: var(--accent); }
.button.primary:hover { background: #0c8c68; }
.button.quiet { color: white; background: rgba(13, 20, 23, 0.62); border-color: rgba(255, 255, 255, 0.3); }
.button.quiet:hover { background: rgba(13, 20, 23, 0.9); }
.hero-note { margin: 18px 0 0; color: #a8b4b8; font-size: 13px; }
.hero-activity {
  position: absolute;
  left: max(24px, calc((100vw - 1280px) / 2));
  right: max(24px, calc((100vw - 1280px) / 2));
  bottom: 26px;
  display: grid;
  grid-template-columns: auto auto minmax(100px, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  color: #dae1e3;
  font: 700 12px/1.2 Consolas, monospace;
  font-variant-numeric: tabular-nums;
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(18, 162, 119, 0.7); animation: live-pulse 2s infinite; }
.activity-line { position: relative; height: 1px; background: #516067; overflow: hidden; }
.activity-line i { position: absolute; top: -2px; left: -50px; width: 50px; height: 5px; background: var(--accent); animation: travel 2.3s infinite; }
.activity-latency { color: var(--accent); }

.signal-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); background: white; }
.signal-strip div { min-height: 96px; display: grid; align-content: center; gap: 3px; padding: 18px 28px; border-right: 1px solid var(--line); }
.signal-strip div:last-child { border-right: 0; }
.signal-strip strong { font-size: 15px; }
.signal-strip span { color: var(--muted); font-size: 12px; }

.section { padding: 104px max(24px, calc((100vw - 1280px) / 2)); }
.section-light { background: var(--bg); }
.section-head { max-width: 760px; margin-bottom: 50px; }
.section-head h2 { margin: 0; font-size: 48px; line-height: 1.15; letter-spacing: 0; }
.section-head > p:last-child { margin: 16px 0 0; color: var(--muted); font-size: 17px; }
.section-head.dark h2 { color: white; }
.section-head.dark > p:last-child { color: #aab6b9; }

.capability-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.capability { min-height: 284px; display: flex; flex-direction: column; padding: 25px; background: white; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.capability-index { color: var(--accent-dark); font: 800 12px Consolas, monospace; }
.capability h3 { margin: 45px 0 8px; font-size: 22px; }
.capability p { margin: 0; color: var(--muted); }
.capability-meta { margin-top: auto; padding-top: 28px; color: #758087; font: 700 10px/1.4 Consolas, monospace; }

.demo-section { color: white; background: var(--dark); }
.demo-toolbar { display: flex; align-items: end; gap: 16px; margin-bottom: 14px; }
.segmented { display: inline-flex; padding: 3px; background: #202b30; border: 1px solid var(--dark-line); border-radius: 6px; }
.segment { min-height: 36px; padding: 6px 13px; color: #98a5a9; background: transparent; border: 0; border-radius: 4px; font-weight: 750; cursor: pointer; }
.segment.active { color: white; background: #34434a; }
.demo-toolbar label { display: grid; gap: 5px; color: #9caaae; font-size: 11px; font-weight: 750; }
.demo-toolbar select { min-height: 42px; min-width: 104px; padding: 7px 10px; color: white; background: #202b30; border: 1px solid var(--dark-line); border-radius: 6px; }
.demo-actions { display: flex; gap: 8px; margin-left: auto; }
.button.buy { color: white; background: var(--green); }
.button.sell { color: white; background: var(--red); }
.button.outline { color: #d6dee0; background: transparent; border-color: #48575d; }
.demo-stage { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(380px, 0.65fr); min-height: 580px; border: 1px solid var(--dark-line); background: #131b1f; }
.market-panel { min-width: 0; display: grid; grid-template-rows: auto 1fr auto; padding: 26px; border-right: 1px solid var(--dark-line); }
.market-head { display: flex; align-items: start; justify-content: space-between; }
.market-head div { display: grid; }
.market-head span:first-child { color: #a9b5b8; font: 800 12px Consolas, monospace; }
.market-head strong { margin-top: 4px; font: 800 34px Consolas, monospace; font-variant-numeric: tabular-nums; }
.market-head .positive { color: var(--green); font: 800 13px Consolas, monospace; }
#marketCanvas { width: 100%; height: 100%; min-height: 400px; }
.market-foot { display: flex; justify-content: space-between; color: #718087; font: 700 10px Consolas, monospace; font-variant-numeric: tabular-nums; }
.fleet-panel { position: relative; padding: 24px; overflow: hidden; }
.fleet-head { display: flex; justify-content: space-between; margin-bottom: 18px; color: #95a3a7; font: 750 11px Consolas, monospace; }
.account { min-height: 78px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 16px; padding: 14px; background: #1a2429; border: 1px solid #334147; border-radius: 6px; transition: border-color 180ms, background 180ms, transform 180ms; }
.account.syncing { border-color: var(--yellow); transform: translateX(3px); }
.account.filled { border-color: var(--green); background: #172b26; }
.account > div:first-child { display: grid; min-width: 0; }
.account-role { color: #77868c; font: 750 9px Consolas, monospace; }
.account strong { margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-position { display: grid; justify-items: end; }
.account-position span { color: #77868c; font: 700 9px Consolas, monospace; }
.account-position strong { font: 800 16px Consolas, monospace; font-variant-numeric: tabular-nums; }
.account-state { min-width: 52px; padding: 4px 6px; border-radius: 4px; text-align: center; font: 800 9px Consolas, monospace; }
.account-state.ready { color: #98a5a9; background: #263238; }
.account-state.sync { color: #f6cf77; background: #463819; }
.account-state.filled { color: #70d5b4; background: #173d32; }
.fleet-connector { height: 38px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 32px; }
.fleet-connector i { position: relative; border-left: 1px solid #405058; border-right: 1px solid #405058; }
.fleet-connector i::after { content: ''; position: absolute; top: -1px; left: -1px; width: 3px; height: 12px; background: var(--accent); opacity: 0; }
.fleet-connector.active i::after { animation: drop 620ms ease-out forwards; }
.followers { display: grid; gap: 10px; }
.execution-log { display: flex; justify-content: space-between; margin-top: 18px; padding-top: 14px; color: #8f9da1; border-top: 1px solid var(--dark-line); font: 700 11px Consolas, monospace; }
.execution-log strong { color: var(--accent); }
.order-pulse { position: absolute; inset: 70px 20px auto; height: 2px; pointer-events: none; }
.order-pulse::after { content: ''; display: block; width: 70px; height: 2px; background: var(--accent); opacity: 0; }
.order-pulse.active::after { animation: sweep 600ms ease-out; }

.interface-section { background: #f8f9fa; }
.guide-note { display: flex; align-items: center; gap: 10px; width: max-content; max-width: 100%; margin: -24px 0 28px; padding: 8px 12px; color: #59666d; background: white; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; }
.guide-note span { width: 20px; height: 20px; display: grid; place-items: center; flex: 0 0 auto; color: white; background: var(--accent); border-radius: 50%; font: 800 11px Consolas, monospace; }
.guide-note p { margin: 0; }
.plugin-guide { display: grid; grid-template-columns: minmax(420px, 0.9fr) minmax(360px, 1.1fr); gap: 32px; align-items: start; }
.plugin-frame { width: 100%; max-width: 560px; min-width: 0; overflow: hidden; color: #1c252b; background: #f7f9fa; border: 1px solid #bdc8ce; border-radius: 8px; box-shadow: 0 18px 55px rgba(21, 33, 39, 0.12); font-size: 12px; }
.plugin-frame button { color: inherit; font: inherit; letter-spacing: 0; }
.plugin-topbar { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 13px; background: white; border-bottom: 1px solid #d7dfe3; }
.plugin-brand { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.plugin-brand > span { width: 27px; height: 27px; display: grid; place-items: center; color: white; background: var(--accent); border-radius: 5px; font: 900 10px Consolas, monospace; }
.plugin-brand strong { font-size: 13px; }
.plugin-brand small { color: #859198; font: 700 9px Consolas, monospace; }
.plugin-top-controls { display: flex; align-items: center; gap: 6px; color: #66747c; font: 700 10px Consolas, monospace; }
.plugin-top-controls b { color: var(--accent-dark); }
.plugin-switch { position: relative; width: 25px; height: 14px; display: inline-block; flex: 0 0 auto; background: #c8d0d4; border-radius: 10px; }
.plugin-switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 10px; height: 10px; background: white; border-radius: 50%; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22); }
.plugin-switch.on { background: var(--accent); }
.plugin-switch.on::after { left: 13px; }
.plugin-scroll { height: 670px; padding: 13px; overflow-y: auto; scrollbar-color: #aab5ba transparent; scrollbar-width: thin; }
.plugin-section-label { margin: 2px 0 6px; color: #7a878e; font: 800 9px Consolas, monospace; }
.plugin-status-card { width: 100%; min-height: 58px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; padding: 10px; text-align: left; background: white; border: 1px solid #d6dfe3; border-radius: 6px; cursor: pointer; }
.plugin-status-card .status-dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; }
.plugin-status-card > span:nth-child(2) { min-width: 0; display: grid; }
.plugin-status-card small { overflow: hidden; color: #637179; font: 700 10px Consolas, monospace; text-overflow: ellipsis; white-space: nowrap; }
.token-life { color: #7a878e; font: 700 9px Consolas, monospace; }
.plugin-actionbar { display: flex; align-items: stretch; gap: 6px; margin: 10px 0; }
.plugin-control { min-height: 31px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 5px 7px; background: white; border: 1px solid #d3dde1; border-radius: 5px; cursor: pointer; }
.plugin-control.danger-soft { margin-left: auto; color: #c54545; background: #fff1f1; border-color: #f2cccc; font-weight: 800; }
.plugin-select { width: 100%; min-height: 36px; display: flex; align-items: center; justify-content: space-between; padding: 7px 10px; text-align: left; background: white; border: 1px solid #cbd6db; border-radius: 5px; cursor: pointer; }
.plugin-tabs, .plugin-main-tabs, .plugin-copy-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin-top: 9px; padding: 3px; background: #e7ecef; border-radius: 5px; }
.plugin-tabs span, .plugin-copy-modes span { min-height: 30px; display: grid; place-items: center; padding: 4px; color: #64727a; border-radius: 4px; font-weight: 750; }
.plugin-tabs .selected, .plugin-copy-modes .selected { color: white; background: var(--accent); }
.plugin-table { margin-top: 8px; overflow: hidden; background: white; border: 1px solid #d5dee2; border-radius: 5px; font: 700 10px Consolas, monospace; }
.plugin-table > div { display: grid; grid-template-columns: 1.35fr 0.7fr 0.55fr 0.5fr 0.9fr; align-items: center; gap: 5px; min-height: 31px; padding: 5px 8px; border-bottom: 1px solid #edf0f2; }
.plugin-table > div:last-child { border-bottom: 0; }
.plugin-table .plugin-table-head { min-height: 27px; color: #7c898f; background: #f6f8f9; font-size: 9px; }
.plugin-table .buy-text { color: #237cce; }
.plugin-table .profit { color: #0a9d66; text-align: right; }
.plugin-main-tabs { grid-template-columns: 1fr 1fr; margin-top: 10px; background: transparent; border: 1px solid #cbd6db; }
.plugin-main-tab { min-height: 34px; padding: 5px 8px; color: #5f6c73; background: white; border: 0; border-radius: 4px; font-weight: 800; cursor: pointer; }
.plugin-main-tab.active { color: white; background: var(--accent); }
.plugin-view { display: none; }
.plugin-view.active { display: block; }
.plugin-levels, .plugin-tool, .plugin-followers, .plugin-feed { margin-top: 9px; padding: 10px; background: white; border: 1px solid #d5dee2; border-radius: 6px; }
.plugin-levels > div, .plugin-tool > div:first-child, .plugin-feed > div, .follower-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plugin-levels > div { padding-bottom: 7px; border-bottom: 1px solid #e5eaed; }
.plugin-levels small { color: #87939a; font: 700 9px Consolas, monospace; }
.plugin-levels dl { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; margin: 8px 0 0; font: 700 10px Consolas, monospace; }
.plugin-levels dt { color: #69767d; }
.plugin-levels dd { margin: 0; }
.plugin-tool p { margin: 6px 0 0; color: #6e7b82; line-height: 1.45; }
.plugin-inline-fields { display: grid !important; grid-template-columns: 1fr 1.4fr 0.8fr; gap: 5px !important; margin-top: 8px; }
.plugin-inline-fields span, .plugin-inline-fields b, .plugin-input { padding: 5px 7px; color: #58676e; background: #f3f6f7; border: 1px solid #dbe2e5; border-radius: 4px; font: 700 10px Consolas, monospace; }
.plugin-inline-fields b { color: #b67c13; text-align: center; }
.plugin-progress { height: 5px; margin-top: 8px; overflow: hidden; background: #e7ecef; border-radius: 3px; }
.plugin-progress i { display: block; width: 64%; height: 100%; background: var(--accent); }
.mini-status { padding: 2px 5px; color: var(--accent-dark); background: #dcf2eb; border-radius: 4px; font: 800 9px Consolas, monospace; }
.plugin-copy-modes { grid-template-columns: 1fr 1fr; }
.plugin-followers > div:not(.follower-head) { display: grid; grid-template-columns: 1fr auto auto; gap: 9px; padding: 7px 0; border-top: 1px solid #edf0f2; font: 700 10px Consolas, monospace; }
.follower-head { padding-bottom: 7px; }
.follower-head span { color: var(--accent-dark); }
.plugin-followers small { min-width: 60px; color: #7d898f; text-align: right; }
.plugin-input { margin-top: 7px; background: #f7f9fa; }
.plugin-feed { margin-bottom: 4px; }
.plugin-feed > span { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; margin-top: 8px; padding-top: 7px; border-top: 1px solid #edf0f2; font: 800 10px Consolas, monospace; }
.plugin-feed small { color: var(--accent-dark); }
.guide-target { position: relative; transition: border-color 160ms, box-shadow 160ms, transform 160ms; }
.guide-target::before { content: ''; position: absolute; inset: -1px; z-index: 2; border: 2px solid transparent; border-radius: inherit; pointer-events: none; }
.guide-target:hover::before, .guide-target:focus-visible::before, .guide-target.active::before { border-color: #2f77e5; box-shadow: 0 0 0 3px rgba(47, 119, 229, 0.13); }
.guide-target:hover { z-index: 3; }
.guide-detail { position: sticky; top: 92px; min-height: 520px; padding: 32px; background: white; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 18px 55px rgba(21, 33, 39, 0.08); }
.guide-detail-top { display: flex; justify-content: space-between; gap: 16px; color: var(--accent-dark); font: 800 11px Consolas, monospace; }
.guide-detail h3 { margin: 24px 0 12px; font-size: 30px; line-height: 1.2; }
.guide-detail > p { color: var(--muted); font-size: 16px; }
.guide-block { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.guide-block > strong, .guide-caution > strong { font-size: 13px; }
.guide-block ol { margin: 12px 0 0; padding-left: 20px; color: #536068; }
.guide-block li { margin: 7px 0; }
.guide-caution { margin-top: 22px; padding: 14px 16px; background: #fff8e6; border-left: 3px solid var(--yellow); border-radius: 4px; }
.guide-caution p { margin: 4px 0 0; color: #6f5b2b; font-size: 13px; }
.guide-detail .guide-interaction { margin: 26px 0 0; color: #879299; font: 700 10px Consolas, monospace; }

.execution-section { background: white; }
.execution-flow { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.execution-flow li { position: relative; min-height: 170px; display: flex; flex-direction: column; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.execution-flow li:not(:last-child)::after { content: '>'; position: absolute; right: -7px; top: 50%; z-index: 1; color: var(--accent-dark); background: white; font: 800 13px Consolas, monospace; }
.execution-flow span { color: var(--accent-dark); font: 800 11px Consolas, monospace; }
.execution-flow strong { margin-top: auto; font-size: 16px; }
.execution-flow small { margin-top: 4px; color: var(--muted); }
.boundary-note { display: grid; grid-template-columns: 160px 1fr; gap: 20px; margin-top: 24px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.boundary-note strong { color: var(--accent-dark); }
.boundary-note p { margin: 0; color: var(--muted); }

.boundary-section { color: white; background: #20262a; }
.boundary-layout { display: grid; grid-template-columns: minmax(250px, 0.65fr) minmax(0, 1.35fr); gap: 80px; }
.compatibility { border-top: 1px solid #465158; }
.compat-row { display: grid; grid-template-columns: 100px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid #465158; }
.compat-row > span { align-self: start; width: max-content; padding: 4px 7px; border-radius: 4px; font-size: 11px; font-weight: 800; }
.compat-row.supported > span { color: #82dabd; background: #19382e; }
.compat-row.pending > span { color: #f09c9c; background: #422727; }
.compat-row.caution > span { color: #efd287; background: #43381d; }
.compat-row strong { font-size: 18px; }
.compat-row p { margin: 5px 0 0; color: #aab5b9; }

.final-cta { background: #dfeee9; }
.cta-inner { max-width: 850px; }
.cta-inner h2 { margin: 0; font-size: 48px; line-height: 1.14; }
.cta-inner > p:not(.eyebrow) { color: #52635d; font-size: 17px; }
.button.dark-quiet { color: var(--ink); background: transparent; border-color: #7c9189; }

footer { min-height: 110px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 24px max(24px, calc((100vw - 1280px) / 2)); color: #a7b1b4; background: var(--dark); border-top: 1px solid var(--dark-line); }
footer > div { display: flex; align-items: center; gap: 9px; color: white; }
footer p { margin: 0; text-align: center; font-size: 12px; }
footer a { color: #b8c2c5; font-size: 12px; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms ease, transform 600ms ease; }
.js .reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes live-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(18, 162, 119, 0.6); } 50% { box-shadow: 0 0 0 7px rgba(18, 162, 119, 0); } }
@keyframes travel { from { left: -50px; } to { left: 100%; } }
@keyframes drop { 0% { top: -1px; opacity: 1; } 100% { top: 28px; opacity: 0; } }
@keyframes sweep { 0% { transform: translateX(0); opacity: 1; } 100% { transform: translateX(360px); opacity: 0; } }

@media (max-width: 980px) {
  .site-header { padding-inline: 20px; }
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; top: 67px; left: 0; right: 0; display: none; padding: 14px 20px 18px; background: #121a1e; border-bottom: 1px solid var(--dark-line); }
  .site-nav.open { display: grid; gap: 12px; }
  .site-nav .nav-cta { text-align: center; }
  .hero { padding-inline: 28px; }
  .hero-activity { left: 28px; right: 28px; }
  .hero h1 { font-size: 72px; }
  .signal-strip { grid-template-columns: repeat(2, 1fr); }
  .signal-strip div:nth-child(2) { border-right: 0; }
  .signal-strip div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .section { padding: 84px 28px; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .demo-stage { grid-template-columns: 1fr; }
  .market-panel { min-height: 480px; border-right: 0; border-bottom: 1px solid var(--dark-line); }
  .plugin-guide, .boundary-layout { grid-template-columns: 1fr; gap: 34px; }
  .plugin-frame { max-width: 620px; }
  .guide-detail { position: static; min-height: 0; }
  .execution-flow { grid-template-columns: repeat(3, 1fr); }
  .execution-flow li:not(:last-child)::after { display: none; }
}

@media (max-width: 620px) {
  .site-header { height: 60px; }
  .site-nav { top: 59px; }
  .hero { min-height: 720px; height: 86vh; max-height: 820px; padding: 92px 20px 124px; background-position: 58% top; }
  .hero h1 { font-size: 52px; }
  .hero-lead { font-size: 18px; line-height: 1.55; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-activity { left: 20px; right: 20px; bottom: 20px; grid-template-columns: auto 1fr auto; gap: 9px; }
  .activity-line, .activity-target { display: none; }
  .signal-strip { grid-template-columns: 1fr; }
  .signal-strip div { min-height: 78px; border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 72px 20px; }
  .section-head { margin-bottom: 36px; }
  .section-head h2, .cta-inner h2 { font-size: 36px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability { min-height: 220px; }
  .capability h3 { margin-top: 28px; }
  .demo-toolbar { align-items: stretch; flex-direction: column; }
  .demo-actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; margin-left: 0; }
  .demo-actions .outline { grid-column: 1 / -1; }
  .segmented { width: 100%; }
  .segment { flex: 1; }
  .demo-toolbar select { width: 100%; }
  .demo-stage { min-height: 0; }
  .market-panel { min-height: 360px; padding: 18px; }
  #marketCanvas { min-height: 270px; }
  .market-head strong { font-size: 26px; }
  .fleet-panel { padding: 18px; }
  .account { grid-template-columns: minmax(0, 1fr) auto; }
  .account-state { grid-column: 1 / -1; justify-self: stretch; }
  .guide-note { width: 100%; align-items: flex-start; }
  .plugin-guide { margin-inline: 0; }
  .plugin-frame { font-size: 11px; }
  .plugin-scroll { height: 620px; padding: 9px; }
  .plugin-topbar { align-items: flex-start; }
  .plugin-top-controls { flex-wrap: wrap; justify-content: flex-end; }
  .plugin-actionbar { display: grid; grid-template-columns: repeat(2, 1fr); }
  .plugin-control.danger-soft { margin-left: 0; }
  .plugin-table > div { grid-template-columns: 1.25fr 0.6fr 0.5fr 0.45fr 0.85fr; padding-inline: 5px; }
  .guide-detail { padding: 24px 20px; }
  .guide-detail h3 { font-size: 26px; }
  .execution-flow { grid-template-columns: 1fr; }
  .execution-flow li { min-height: 130px; }
  .boundary-note, .compat-row { grid-template-columns: 1fr; gap: 10px; }
  footer { grid-template-columns: 1fr; justify-items: start; }
  footer p { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .reveal { opacity: 1; transform: none; }
}
