:root {
  --bg: #fbfbfd; --surface: #fff; --ink: #0b1020; --muted: #5f6470;
  --line: #d9d9df; --line-soft: #ececf0; --blue: #1d4ed8;
  --blue-bright: #2f5cff; --green: #25c76f;
  --shell: min(1312px, calc(100vw - 96px));
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Hiragino Sans", "Yu Gothic UI", "Noto Sans JP", sans-serif;
  color: var(--ink); background: var(--bg); font-synthesis: none;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
button, a { font: inherit; }
a { color: inherit; }
.shell { width: var(--shell); margin-inline: auto; }

.site-header { width: min(1380px, calc(100vw - 48px)); height: 76px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.brand { font-size: 20px; font-weight: 720; letter-spacing: -.03em; text-decoration: none; }
.desktop-nav { display: flex; align-items: center; gap: 38px; }
.desktop-nav a, .nav-button { position: relative; border: 0; background: none; padding: 10px 0; text-decoration: none; color: #252936; font-size: 14px; cursor: pointer; }
.desktop-nav .active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--blue-bright); }
.site-header > .button { justify-self: end; }
.mobile-menu-button, .mobile-menu { display: none; }

.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; padding: 0 30px; color: white; background: var(--blue-bright); border: 1px solid var(--blue-bright); border-radius: 8px; text-decoration: none; font-size: 15px; font-weight: 650; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-1px); }
.button:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid rgba(47, 92, 255, .3); outline-offset: 3px; }
.button-small { min-height: 44px; padding-inline: 24px; font-size: 14px; }
.text-link { display: inline-flex; min-height: 54px; align-items: center; border-bottom: 1px solid var(--blue); text-decoration: none; font-weight: 650; }

.hero { min-height: 470px; padding: 58px 0 52px; display: grid; grid-template-columns: 1fr 1fr; gap: 86px; align-items: start; }
.eyebrow { margin: 0 0 22px; color: var(--blue); font-size: 11px; font-weight: 750; letter-spacing: .15em; }
.hero h1 { margin: 0; max-width: 620px; font-size: clamp(54px, 5.1vw, 76px); line-height: 1.08; letter-spacing: -.055em; font-weight: 760; }
.hero-description { max-width: 520px; margin: 30px 0 0; color: #363b47; font-size: 15px; line-height: 1.9; }
.hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 44px; }
.hero-stat { padding: 10px 0 0 50px; }
.status { display: flex; align-items: center; gap: 10px; margin: 0 0 26px; font-size: 14px; font-weight: 650; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); display: inline-block; box-shadow: 0 0 0 5px rgba(37, 199, 111, .11); }
.stat-label { margin: 0 0 16px; color: #3d424e; font-size: 16px; }
.hero-number { display: flex; align-items: baseline; gap: 12px; margin: 0; font-size: clamp(72px, 8vw, 118px); line-height: .92; letter-spacing: -.07em; font-weight: 730; font-variant-numeric: tabular-nums; }
.hero-number small { font-size: 22px; letter-spacing: -.02em; }
.comparison { max-width: 390px; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: 14px; color: var(--muted); font-size: 14px; }
.comparison strong { color: var(--blue-bright); font-size: 28px; font-variant-numeric: tabular-nums; }

.analytics { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 54px; padding: 30px 0 36px; border-bottom: 1px solid var(--line); }
.chart-area { min-width: 0; }
.section-heading { min-height: 54px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-heading .eyebrow { margin-bottom: 8px; }
.section-heading h2 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.legend { color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.legend-line { width: 30px; height: 3px; background: var(--blue-bright); }
.chart-wrap { position: relative; height: 250px; margin-top: 12px; }
#activity-chart { width: 100%; height: 100%; display: block; }
.chart-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 14px; }
.totals { border-left: 1px solid var(--line); padding-left: 44px; display: grid; align-content: center; gap: 44px; }
.total-item span { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 650; }
.total-item strong { font-size: 54px; line-height: 1; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.total-item small { margin-left: 8px; color: var(--muted); font-size: 13px; }

.live-status { padding: 24px 0 28px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 210px 1fr; align-items: center; }
.live-status h2 { margin: 0; font-size: 17px; }
.live-status dl { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.live-status dl > div { min-height: 48px; padding: 0 28px; border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; gap: 7px; }
.live-status dt { color: var(--muted); font-size: 11px; }
.live-status dd { margin: 0; display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 620; }
.live-status .status-dot { width: 7px; height: 7px; box-shadow: none; }

.features { padding: 110px 0 96px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; border-bottom: 1px solid var(--line); }
.feature-intro h2 { margin: 0; font-size: clamp(36px, 4vw, 56px); line-height: 1.2; letter-spacing: -.045em; }
.feature-list { border-top: 1px solid var(--ink); }
.feature-list article { display: grid; grid-template-columns: 46px 180px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: start; }
.feature-list article > span { color: var(--blue); font-size: 11px; font-weight: 750; letter-spacing: .1em; }
.feature-list h3 { margin: -3px 0 0; font-size: 17px; }
.feature-list p { margin: -3px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }

.final-cta { padding: 110px 0 120px; text-align: center; }
.final-cta h2 { margin: 0 0 36px; font-size: clamp(42px, 5vw, 68px); line-height: 1.15; letter-spacing: -.05em; }
.site-footer { height: 82px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px; }

.command-dialog { width: min(720px, calc(100vw - 32px)); max-height: min(760px, calc(100vh - 40px)); border: 0; border-radius: 18px; padding: 32px; background: var(--surface); color: var(--ink); box-shadow: 0 24px 80px rgba(12, 18, 32, .2); }
.command-dialog::backdrop { background: rgba(12, 18, 32, .42); backdrop-filter: blur(8px); }
.dialog-header { display: flex; align-items: start; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.dialog-header .eyebrow { margin-bottom: 7px; }
.dialog-header h2 { margin: 0; font-size: 28px; }
.dialog-header button { border: 0; background: transparent; color: var(--blue); cursor: pointer; padding: 8px; }
.command-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.command-item { padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.command-item h3 { margin: 0 0 7px; font-size: 15px; }
.command-item p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

@media (max-width: 900px) {
  :root { --shell: min(100% - 40px, 720px); }
  .site-header { width: calc(100% - 40px); height: 66px; grid-template-columns: 1fr auto auto; gap: 16px; }
  .desktop-nav, .site-header > .button { display: none; }
  .mobile-menu-button { display: block; border: 0; background: transparent; color: var(--blue); font-size: 13px; cursor: pointer; }
  .mobile-menu { position: absolute; z-index: 10; top: 64px; left: 20px; right: 20px; padding: 10px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 40px rgba(12, 18, 32, .12); }
  .mobile-menu:not([hidden]) { display: grid; }
  .mobile-menu a, .mobile-menu button { padding: 14px 2px; border: 0; border-bottom: 1px solid var(--line-soft); background: none; text-align: left; text-decoration: none; font-size: 14px; color: var(--ink); }
  .hero { min-height: auto; padding: 64px 0 68px; grid-template-columns: 1fr; gap: 72px; }
  .hero-stat { padding-left: 0; }
  .hero h1 { font-size: clamp(46px, 13vw, 66px); }
  .hero-description { font-size: 14px; }
  .hero-number { font-size: clamp(68px, 22vw, 100px); }
  .analytics { grid-template-columns: 1fr; gap: 34px; }
  .totals { border-left: 0; border-top: 1px solid var(--line); padding: 30px 0 0; grid-template-columns: 1fr 1fr; gap: 24px; }
  .total-item strong { font-size: 42px; }
  .live-status { grid-template-columns: 1fr; gap: 22px; }
  .live-status dl { grid-template-columns: 1fr 1fr; }
  .live-status dl > div { padding: 16px 18px; border-top: 1px solid var(--line-soft); }
  .features { padding: 82px 0; grid-template-columns: 1fr; gap: 54px; }
  .feature-list article { grid-template-columns: 38px 1fr; }
  .feature-list article p { grid-column: 2; }
  .command-list { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  :root { --shell: calc(100% - 32px); }
  .site-header { width: calc(100% - 32px); }
  .brand { font-size: 17px; }
  .hero { padding-top: 50px; gap: 58px; }
  .hero h1 { font-size: 47px; }
  .hero-actions { gap: 26px; }
  .button { padding-inline: 23px; }
  .hero-number small { font-size: 17px; }
  .comparison { gap: 9px; font-size: 12px; }
  .comparison strong { font-size: 23px; }
  .section-heading { align-items: start; flex-direction: column; gap: 12px; }
  .chart-wrap { height: 220px; }
  .totals { grid-template-columns: 1fr; }
  .live-status dl { grid-template-columns: 1fr; }
  .live-status dl > div { border-left: 0; padding-inline: 0; }
  .feature-intro h2 { font-size: 40px; }
  .final-cta { padding-block: 84px 94px; }
  .final-cta h2 { font-size: 42px; }
  .site-footer { height: 96px; flex-direction: column; justify-content: center; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }
