:root {
  --bg: #0b0c0e; --bg-2: #0e1014; --surface: #111317; --line: #22262d; --line-2: #2e333b;
  --text: #e8eaed; --text-2: #c3c8cf; --muted: #9098a3; --faint: #646c77;
  --accent: #3b82f6; --accent-2: #5b96f7; --ok: #4cc38a; --bad: #f06a6a;
  --mk-bg: #e8eaed; --mk-n: #0b0c0e;
  --radius: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font-family: "Noto Sans JP", system-ui, sans-serif; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 780px; }
.bdot { display: inline-block; width: .2em; height: .2em; background: var(--accent); border-radius: .03em; margin-left: .06em; box-shadow: 0 0 .3em rgba(59,130,246,.7); }
.hl { color: var(--accent-2); }
.nw { white-space: nowrap; }
.accent { color: var(--accent-2); }
.fine { font-size: 13px; color: var(--faint); }
.center { text-align: center; }

/* brand */
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.brand .mark { width: 28px; height: 28px; }
.brand .wordmark { width: 86px; height: 26px; color: var(--text); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 10px; border: 1px solid var(--line-2);
  font-weight: 700; font-size: 15px; text-decoration: none; color: var(--text); background: var(--surface); transition: transform .15s, background .15s, border-color .15s; }
.btn:hover { border-color: #3a414b; transform: translateY(-1px); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 6px 24px rgba(59,130,246,.35); }
.btn.primary:hover { background: #2f74e6; }
.btn.ghost { background: transparent; }
.btn.sm { padding: 8px 14px; font-size: 14px; }
.btn.lg { padding: 16px 32px; font-size: 17px; }
.btn.block { display: flex; width: 100%; }
.link { text-decoration: none; color: var(--text-2); font-size: 14px; }
.link:hover { color: var(--text); }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(11,12,14,.94); border-bottom: 1px solid rgba(255,255,255,.06); }
.top-in { display: flex; align-items: center; height: 64px; gap: 28px; }
.nav { display: flex; gap: 22px; margin-left: 12px; }
.nav a { text-decoration: none; color: var(--muted); font-size: 14px; }
.nav a:hover { color: var(--text); }
.top-cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 88px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(900px 520px at 72% 30%, rgba(59,130,246,.22), transparent 65%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent); mask-image: linear-gradient(to bottom, #000 60%, transparent); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow { font-size: 12px; letter-spacing: .14em; color: var(--accent-2); margin-bottom: 22px; }
.hero h1 { font-size: clamp(34px, 4.6vw, 60px); font-weight: 900; line-height: 1.24; letter-spacing: .01em; }
.hero h1 .ln { display: block; white-space: nowrap; }
.lead { margin-top: 26px; font-size: 17px; color: var(--text-2); max-width: 34em; }
.lead b { color: var(--text); font-weight: 700; font-family: "JetBrains Mono", monospace; font-size: .95em; }
.cta-row { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.hero .fine { margin-top: 14px; }

.zcard { background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(91,150,247,.12), 0 30px 80px rgba(0,0,0,.55), 0 0 90px rgba(59,130,246,.18);
  transform: perspective(1400px) rotateY(-9deg) rotateX(4deg); }
.zbar { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.zname { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.zname .mark { width: 20px; height: 20px; }
.zver { font-size: 12px; color: var(--muted); border: 1px solid var(--line-2); border-radius: 6px; padding: 2px 8px; }
.zt { width: 100%; border-collapse: collapse; font-size: 13px; }
.zt th { text-align: left; font-weight: 400; color: var(--faint); font-size: 11px; letter-spacing: .1em; padding: 10px 18px; border-bottom: 1px solid var(--line); }
.zt td { padding: 10px 18px; border-bottom: 1px solid #1a1d23; color: var(--text-2); white-space: nowrap; transition: background .3s; }
.zt td:first-child { color: var(--text); }
.ty { font-size: 11px; padding: 2px 7px; border-radius: 5px; background: rgba(91,150,247,.14); color: #8fb6ff; }
.zt tr.editing td { background: rgba(59,130,246,.1); }
.zt tr.editing td:first-child { box-shadow: inset 3px 0 var(--accent); }
.zfoot { display: flex; gap: 10px; align-items: center; padding: 14px 18px; flex-wrap: wrap; }
.ns { font-size: 12px; color: var(--muted); border: 1px solid var(--line-2); border-radius: 99px; padding: 4px 11px; display: inline-flex; align-items: center; gap: 7px; transition: color .2s, border-color .2s; }
.ns i { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); transition: background .2s, box-shadow .2s; }
.ns.ok { color: var(--text-2); border-color: rgba(76,195,138,.4); }
.ns.ok i { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.zstate { margin-left: auto; font-size: 12px; color: var(--ok); }
.zstate.busy { color: var(--accent-2); }

/* numbers */
.numbers { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.nums { display: grid; grid-template-columns: repeat(4, 1fr); }
.nums > div { padding: 30px 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.nums > div:first-child { border-left: 0; padding-left: 0; }
.nums .k { font-size: 11px; letter-spacing: .14em; color: var(--faint); }
.nums b { font-size: 52px; line-height: 1.1; font-weight: 600; letter-spacing: -.03em; }
.nums b small { font-size: .4em; color: var(--muted); margin-left: 2px; }
.nums > div > span:last-child { font-size: 13px; color: var(--muted); }

/* sections */
.sec { padding: 104px 0; }
.sec.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sh { font-size: clamp(30px, 3.6vw, 44px); font-weight: 900; line-height: 1.3; }
.sub { color: var(--muted); margin-top: 14px; font-size: 16px; }

.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.feats article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .2s, transform .2s; }
.feats article:hover { border-color: #2c3a52; transform: translateY(-2px); }
.feats h3 { font-size: 17px; margin: 14px 0 6px; }
.feats p { font-size: 14px; color: var(--muted); }
.ic { width: 26px; height: 26px; fill: none; stroke: var(--accent-2); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.two { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.steps { list-style: none; margin-top: 36px; display: flex; flex-direction: column; gap: 22px; }
.steps li { display: flex; gap: 18px; }
.steps li > b { color: var(--accent-2); font-size: 14px; padding-top: 3px; }
.steps h3 { font-size: 17px; }
.steps p { font-size: 14px; color: var(--muted); margin-top: 4px; }

.code { background: #0f1217; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 22px 24px; font-size: 13.5px; line-height: 1.8; color: var(--text-2); overflow-x: auto; }
.code { scrollbar-width: thin; scrollbar-color: #2e333b transparent; }
.code::-webkit-scrollbar { height: 8px; }
.code::-webkit-scrollbar-thumb { background: #2e333b; border-radius: 8px; }
.code::-webkit-scrollbar-track { background: transparent; }
.diff { font-size: 17px; padding: 30px 32px; box-shadow: 0 20px 60px rgba(0,0,0,.45), 0 0 60px rgba(59,130,246,.12); }
.diff .c { color: var(--faint); }
.diff .del { color: var(--bad); opacity: .8; }
.diff .add { color: var(--accent-2); text-shadow: 0 0 12px rgba(59,130,246,.5); }

.devs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.dev { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.dev figcaption { font-size: 14px; color: var(--text-2); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tag { font-size: 11px; letter-spacing: .12em; color: var(--accent-2); border: 1px solid rgba(91,150,247,.35); border-radius: 6px; padding: 2px 8px; }
.dev .code { font-size: 12.5px; padding: 18px; }
.dev p { font-size: 14px; color: var(--muted); }
.links { list-style: none; font-size: 13px; display: flex; flex-direction: column; gap: 6px; }
.links a { color: var(--accent-2); text-decoration: none; }
.links a:hover { text-decoration: underline; }

.net .netimg { display: block; width: 100%; height: auto; margin-top: 40px; border-radius: 18px; border: 1px solid var(--line); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 48px 0 20px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.plan.featured { border-color: rgba(59,130,246,.6); box-shadow: 0 0 0 1px rgba(59,130,246,.3), 0 20px 60px rgba(59,130,246,.12); }
.plan h3 { font-size: 18px; display: flex; align-items: center; gap: 10px; }
.pill { font-size: 11px; font-weight: 500; padding: 2px 9px; border-radius: 99px; background: rgba(76,195,138,.14); color: var(--ok); }
.price { font-size: 40px; font-weight: 900; margin: 8px 0 18px; }
.price small { font-size: 15px; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 26px; font-size: 14px; color: var(--text-2); flex: 1; }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 9px; height: 9px; border-radius: 2px; background: var(--accent); }

details { border-bottom: 1px solid var(--line); padding: 20px 0; }
details:first-of-type { margin-top: 32px; border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent-2); font-family: "JetBrains Mono", monospace; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); font-size: 15px; margin-top: 10px; }

.final { padding: 120px 0; text-align: center; background: radial-gradient(700px 360px at 50% 50%, rgba(59,130,246,.2), transparent 70%); border-top: 1px solid var(--line); }
.final-in { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.final h2 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 900; line-height: 1.3; }

.foot { border-top: 1px solid var(--line); padding: 56px 0 32px; background: #08090b; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.foot-in > div { display: flex; flex-direction: column; gap: 8px; }
.foot h4 { font-size: 12px; letter-spacing: .12em; color: var(--faint); font-weight: 500; margin-bottom: 4px; }
.foot a { text-decoration: none; color: var(--muted); font-size: 14px; }
.foot a:hover { color: var(--text); }
.foot-brand p { font-size: 13px; color: var(--faint); margin-top: 10px; }
.copy { margin-top: 40px; font-size: 12px; color: var(--faint); }

:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; border-radius: 4px; }


/* hero pillars */
.pillars { list-style: none; display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.pillars li { font-size: 14px; font-weight: 700; padding: 6px 14px; border-radius: 99px; border: 1px solid rgba(91,150,247,.45); color: #cfe0ff; background: rgba(59,130,246,.1); }

/* use cases + specs */
.uses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.uses article { border-top: 2px solid var(--accent); padding-top: 18px; }
.uses .k { font-size: 12px; color: var(--accent-2); letter-spacing: .1em; }
.uses h3 { font-size: 17px; margin: 8px 0 8px; }
.uses p { font-size: 14px; color: var(--muted); }
.specs { margin-top: 48px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.specs dl { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 18px 24px; border-top: 1px solid var(--line); }
.specs dl:first-child { border-top: 0; }
.specs dt { font-weight: 700; font-size: 14px; }
.specs dd { font-size: 14px; color: var(--text-2); }
.final .sub { margin-top: -8px; }
@media (max-width: 960px) { .uses { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .uses { grid-template-columns: 1fr; } .specs dl { grid-template-columns: 1fr; gap: 4px; padding: 16px; } }

@media (max-width: 960px) {
  .nav { display: none; }
  .hero { padding: 64px 0; }
  .hero-in, .two { grid-template-columns: 1fr; gap: 44px; }
  .zcard { transform: none; }
  .feats, .plans { grid-template-columns: 1fr 1fr; }
  .devs { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .top-cta .link { display: none; }
  .nums { grid-template-columns: 1fr 1fr; }
  .nums > div { padding: 22px 0 22px 16px; }
  .nums > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .nums > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .nums b { font-size: 40px; }
  .sec { padding: 72px 0; }
  .feats, .plans { grid-template-columns: 1fr; }
  .zt th:nth-child(3), .zt td:nth-child(3) { display: none; }
  .zt td, .zt th { padding: 9px 12px; }
  .diff { font-size: 14px; padding: 22px; }
  .foot-in { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
