:root {
  color-scheme: dark;
  font-family: "Yu Gothic UI", "Hiragino Sans", Meiryo, system-ui, sans-serif;
  --bg: #0d1422;
  --panel: #131e30;
  --text: #edf4ff;
  --muted: #b1c3db;
  --border: #2b405b;
  --blue: #89cdff;
  --violet: #cfb0ff;
  --mint: #7de6bd;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.25rem; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.65; }
a { color: var(--blue); text-underline-offset: .25em; }
a:hover { color: #d5edff; }
:focus-visible { outline: 3px solid #92e3ff; outline-offset: 4px; }
.skip { position: absolute; left: 1rem; top: -5rem; z-index: 2; background: var(--panel); padding: .6rem 1rem; }
.skip:focus { top: 1rem; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { line-height: 1.35; }
h1 { font-size: clamp(2rem, 3.55vw, 3.55rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.55rem, 2.65vw, 2.2rem); letter-spacing: -.025em; }
h3 { font-size: 1.09rem; }
.wrap { width: min(100% - 3rem, 1160px); margin-inline: auto; }
.site-header, .site-footer { border-bottom: 1px solid var(--border); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; }
.header-inner { min-height: 73px; }
.brand img { display: block; width: 185px; max-width: 100%; height: auto; }
nav { display: flex; align-items: center; gap: clamp(.7rem, 2.5vw, 1.85rem); }
nav a { color: var(--text); text-decoration: none; font-weight: 650; white-space: nowrap; }
.nav-cta { border: 1px solid #63aff4; padding: .4rem .85rem; border-radius: .5rem; }
.hero { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(1.5rem, 4vw, 3.4rem); padding: clamp(2rem, 5vw, 4.3rem) 0 2.7rem; }
.eyebrow { color: var(--blue); font-size: .88rem; font-weight: 650; letter-spacing: .055em; margin-bottom: .75rem; }
.lede { color: var(--muted); font-size: clamp(1.05rem, 1.55vw, 1.25rem); margin-top: 1rem; }
.actions { display: flex; align-items: flex-start; flex-wrap: wrap; gap: .85rem 1.15rem; margin-top: 1.55rem; }
.actions > a:not(.button) { align-self: center; }
.button { background: #1066d5; color: white; padding: .72rem 1.15rem; font-weight: 700; border-radius: .6rem; text-decoration: none; }
.button:hover { background: #1674ec; color: white; }
.button span { margin-left: .4rem; }
.app-window { background: #0b1524; border: 1px solid #476784; border-radius: .75rem; box-shadow: 0 18px 42px #070e1980; overflow: hidden; }
.app-bar { background: #132239; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem .75rem; padding: .58rem .68rem; font-size: .72rem; }
.app-bar span:first-child { display: flex; align-items: center; gap: .35rem; font-weight: 700; }
.app-frames { color: var(--muted); }
.app-frames b { color: var(--mint); }
.chart-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; padding: .45rem; }
.chart { border: 1px solid #263b54; border-radius: .4rem; background: #111f32; padding: .3rem .4rem; min-width: 0; }
.chart > span { font-size: .75rem; font-weight: 700; }
.chart svg, .feature-art { width: 100%; display: block; }
.forecast { fill: none; stroke: #cf9fff; stroke-width: 2.5; stroke-dasharray: 5 4; stroke-linecap: round; }
figcaption { color: var(--muted); font-size: .75rem; margin-top: .5rem; text-align: right; }
.hero-figure figcaption { display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.key { display: inline-block; width: 1.4rem; border-top: 2px dashed var(--violet); margin: 0 .45rem .2em 0; }
.section { border-top: 1px solid var(--border); padding: 2.35rem 0; }
.section h2 { margin-bottom: 1rem; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
.card { border: 1px solid var(--border); background: var(--panel); border-radius: .65rem; padding: 1rem; }
.card p, .panel p, .engine p { color: var(--muted); }
.card p { font-size: .91rem; margin-top: .45rem; }
.feature-art, .direction { height: 98px; margin-bottom: .7rem; }
.direction { display: flex; justify-content: space-around; align-items: center; gap: .4rem; font-size: .78rem; }
.direction span { text-align: center; }
.direction b { display: block; color: var(--mint); font-size: 2.4rem; line-height: 1.15; }
.direction span:last-child b { color: var(--blue); }
.panel { border: 1px solid var(--border); border-radius: .9rem; background: var(--panel); padding: clamp(1.1rem, 3vw, 2rem); }
.order { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 1.4rem 2rem; margin-bottom: 2.35rem; }
.order h2 { margin: .55rem 0 .4rem; }
.pill, .step { border-radius: 999px; font-size: .8rem; font-weight: 700; }
.pill { display: inline-block; border: 1px solid #4e90be; color: #a8e0ff; padding: .12rem .65rem; white-space: nowrap; }
.checks { padding: 0; list-style: none; margin: .85rem 0 0; }
.checks li { display: flex; gap: .65rem; margin: .4rem 0; }
.checks li::before { content: "✓"; color: var(--mint); font-weight: 800; }
.order-preview { width: min(100%, 365px); justify-self: center; }
.order-ui { background: #0c1625; border: 1px solid #416183; border-radius: .65rem; padding: .85rem; }
.order-top, .lot { display: flex; justify-content: space-between; align-items: center; gap: .65rem; }
.order-top span, .lot span { color: var(--muted); font-size: .85rem; }
.lot { margin-top: .65rem; border: 1px solid var(--border); border-radius: .4rem; padding: .35rem .65rem; }
.lot strong { font-size: 1.28rem; font-variant-numeric: tabular-nums; }
.order-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; margin-top: .45rem; }
.order-pair div { border-radius: .35rem; padding: .4rem .5rem; background: #17263d; text-align: center; font-size: .82rem; }
.order-pair div strong { margin-left: .2rem; }
.order-pair .sell { background: #9e314f; color: white; }
.order-pair .buy { background: #0e62d0; color: white; }
.order-pair div span { font-size: .7rem; margin-left: .12rem; }
.heading-row { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .8rem; margin-bottom: .6rem; }
.heading-row h2 { margin: 0; }
.engine-lead { font-size: 1.22rem; margin-bottom: .35rem; }
.steps { list-style: none; padding: 0; margin: 1rem 0; }
.step { display: inline-block; background: #163752; color: #a5e9ff; padding: .1rem .55rem; margin-bottom: .45rem; }
.explain { display: grid; grid-template-columns: max-content 1fr; align-items: center; gap: .4rem 1.2rem; border: 1px solid var(--border); border-radius: .55rem; background: #111e30; padding: .75rem 1rem; }
.engine-note { display: flex; justify-content: space-between; gap: .3rem 1rem; flex-wrap: wrap; margin-top: .7rem; font-size: .85rem; }
.pro { background: #181a31; border-color: #795aab; }
.pro .pill { border-color: #9973c8; color: #ecd9ff; background: #382357; }
.pro .three { margin-top: .9rem; }
.pro .card { background: #1a2137; border-color: #52476a; }
.pro-glyph { display: block; line-height: 1; font-size: 1.65rem; color: var(--violet); margin-bottom: .65rem; }
.setup { display: grid; grid-template-columns: max-content 1fr; align-items: center; gap: .65rem 1.5rem; margin: 1.3rem 0; padding: .7rem 1rem; border: 1px solid var(--border); border-radius: .55rem; background: var(--panel); }
.setup h2 { font-size: 1.12rem; }
.setup ol { display: flex; list-style: none; padding: 0; margin: 0; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.setup li { display: flex; align-items: center; gap: .5rem; }
.setup li b { background: #8ad1ff; color: #0d2239; border-radius: 50%; width: 1.55rem; text-align: center; }
.pricing { width: min(100%, 520px); margin: 2rem auto 2.5rem; border: 1px solid #507195; border-radius: .85rem; background: var(--panel); text-align: center; padding: 1.55rem 1.1rem; }
.price { font-size: clamp(2.8rem, 5vw, 3.65rem); font-weight: 780; line-height: 1.2; margin-top: .35rem; }
.price-note, .availability { color: var(--muted); }
.pricing .checks { display: inline-block; text-align: left; border-top: 1px solid var(--border); padding-top: .4rem; }
.availability { margin-top: .9rem; background: #0e1a2d; border-radius: .45rem; padding: .48rem; }
.site-footer { border-top: 1px solid var(--border); border-bottom: 0; color: var(--muted); font-size: .83rem; }
.footer-inner { flex-wrap: wrap; padding: .9rem 0; }
@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; }
  .hero-figure { width: min(100%, 620px); }
  .wide-only { display: none; }
}
@media (max-width: 590px) {
  .wrap { width: calc(100% - 1.5rem); }
  .header-inner { padding: .3rem 0 .55rem; flex-wrap: wrap; gap: .05rem 1rem; }
  .brand img { width: 156px; }
  nav { flex-wrap: wrap; font-size: .88rem; }
  .three, .order, .explain, .setup { grid-template-columns: 1fr; }
  .feature-art, .direction { height: 80px; }
  .setup ol { justify-content: flex-start; gap: .5rem 1rem; }
  .hero { padding-bottom: 1.9rem; }
}
