:root {
  --navy: #0b2a8a;
  --navy-deep: #071c5c;
  --ink: #14213d;
  --muted: #5a6478;
  --rule: #d6dbe6;
  --band: #eef1f7;
  --paper: #ffffff;
  --amber: #b7740f;
  --amber-soft: #fbf1dc;
  --teal: #137a63;
  --teal-soft: #dff3ec;
}
* { box-sizing: border-box; }
html { font-size: 17px; }
body {
  margin: 0;
  font-family: "IBM Plex Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--navy); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
code { font-family: "IBM Plex Mono", Consolas, Menlo, monospace; }
p code, li code { background: var(--band); padding: 1px 5px; border-radius: 3px; font-size: 0.92em; }

/* header */
header.site { background: var(--paper); border-bottom: 1px solid var(--rule); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
header.site .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
header.site .brand img.mark { height: 26px; width: 26px; }
header.site .brand img.word { height: 17px; }
header.site nav { display: flex; align-items: center; gap: 26px; }
header.site nav a { text-decoration: none; color: var(--ink); font-weight: 500; }
header.site nav a.buy { background: var(--navy); color: #fff; padding: 9px 16px; border-radius: 4px; }
header.site nav a.buy:hover { background: var(--navy-deep); }

/* hero */
.hero-band { background: var(--band); border-bottom: 1px solid var(--rule); }
.hero { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: center; padding: 72px 0 64px; }
h1 { font-size: 2.6rem; line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; margin: 0 0 20px; color: var(--navy-deep); }
.lead { font-size: 1.2rem; line-height: 1.5; color: var(--ink); max-width: 30rem; margin: 0 0 28px; }
.cta { display: inline-block; background: var(--navy); color: #fff; text-decoration: none; padding: 13px 22px; border-radius: 4px; font-weight: 600; }
.cta:hover { background: var(--navy-deep); }
.cta-note { display: block; margin-top: 12px; color: var(--muted); font-size: 0.95rem; }

/* order panel */
.panel { background: var(--paper); border: 1px solid var(--rule); border-top: 4px solid var(--navy); border-radius: 6px; overflow: hidden; }
.panel .bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; font-size: 0.9rem; color: var(--muted); border-bottom: 1px solid var(--rule); }
.panel .bar strong { color: var(--ink); font-weight: 600; }
.panel .scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.panel table { width: 100%; border-collapse: collapse; font-family: "IBM Plex Mono", Consolas, Menlo, monospace; font-size: 0.86rem; }
.panel th { font-family: "IBM Plex Sans", sans-serif; font-weight: 500; color: var(--muted); text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--rule); font-size: 0.8rem; }
.panel td { padding: 10px 12px; border-bottom: 1px solid var(--band); white-space: nowrap; }
.panel tr:last-child td { border-bottom: 0; }
.panel td.num, .panel th.num { text-align: right; font-variant-numeric: tabular-nums; }
.panel td.src { color: var(--muted); font-family: "IBM Plex Sans", sans-serif; }
.tag { display: inline-block; padding: 2px 9px; border-radius: 999px; font-family: "IBM Plex Sans", sans-serif; font-size: 0.78rem; font-weight: 600; background: var(--band); color: var(--muted); }
.tag.amber { background: var(--amber-soft); color: var(--amber); }
.tag.teal { background: var(--teal-soft); color: var(--teal); }
.panel .foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--rule); background: var(--band); font-size: 0.9rem; }
.panel .foot .transmit { border: 1px solid var(--rule); color: var(--muted); padding: 7px 14px; border-radius: 4px; font-weight: 600; font-size: 0.88rem; background: var(--paper); }
.panel .foot .hint { color: var(--muted); }

/* sections */
section.block { padding: 64px 0 8px; }
h2 { font-size: 1.7rem; line-height: 1.2; letter-spacing: -0.01em; font-weight: 600; margin: 0 0 20px; color: var(--navy-deep); }
h3 { font-size: 1.05rem; font-weight: 600; margin: 0 0 6px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 56px; }
.prose { max-width: 38rem; }
.prose p { margin: 0 0 14px; }

/* flow diagram */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 14px; margin: 28px 0 8px; }
.flow .box { border: 1px solid var(--rule); border-radius: 6px; padding: 16px 18px; background: var(--paper); }
.flow .box.in { background: var(--band); }
.flow .box.tws { border-color: var(--navy); border-width: 2px; }
.flow .box.you { border-color: var(--teal); border-width: 2px; }
.flow .box h3 { margin-bottom: 6px; }
.flow .box p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.4; }
.flow .box ul { margin: 6px 0 0; padding-left: 0; list-style: none; }
.flow .box li { margin: 2px 0; }
.flow .box .tag { margin-top: 10px; }
.flow .arrow { width: 28px; height: 2px; background: var(--navy); position: relative; align-self: center; }
.flow .arrow::after { content: ""; position: absolute; right: -1px; top: -5px; border: 6px solid transparent; border-left: 8px solid var(--navy); }

/* feature list */
ul.plain { list-style: none; padding: 0; margin: 0; }
ul.plain li { padding: 10px 0; border-top: 1px solid var(--rule); }
ul.plain li:last-child { border-bottom: 1px solid var(--rule); }

/* steps */
ol.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; max-width: 38rem; }
ol.steps li { counter-increment: s; position: relative; padding: 0 0 18px 44px; }
ol.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 600; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; }

/* pricing */
.price { border: 1px solid var(--rule); border-top: 4px solid var(--navy); border-radius: 6px; padding: 26px 28px; max-width: 420px; }
.price .amount { font-size: 2.2rem; font-weight: 600; color: var(--navy-deep); letter-spacing: -0.02em; }
.price .amount span { font-size: 1rem; font-weight: 400; color: var(--muted); margin-left: 6px; }
.price ul { padding-left: 18px; margin: 12px 0 20px; }
.price .caption { margin: 14px 0 0; }
.caption { color: var(--muted); font-size: 0.92rem; }

/* faq */
dl.faq { max-width: 38rem; margin: 0; }
dl.faq dt { font-weight: 600; margin-top: 18px; }
dl.faq dd { margin: 4px 0 0; }

/* legal pages */
.legal { max-width: 40rem; padding: 56px 0 24px; }
.legal h1 { font-size: 2rem; }
.legal h2 { font-size: 1.15rem; margin: 30px 0 8px; }
.legal p { margin: 0 0 12px; }
.notfound { padding: 56px 0; }

footer.site { border-top: 1px solid var(--rule); margin-top: 64px; padding: 28px 0 40px; color: var(--muted); font-size: 0.9rem; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: space-between; }
footer.site .wrap > div:first-child { max-width: 40rem; }
footer.site a { color: var(--muted); margin-right: 18px; }

@media (max-width: 860px) {
  html { font-size: 16px; }
  h1 { font-size: 2rem; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding: 44px 0 40px; }
  .two { grid-template-columns: 1fr; gap: 28px; }
  .flow { grid-template-columns: 1fr; gap: 10px; }
  .flow .arrow { width: 2px; height: 22px; margin: 0 auto; }
  .flow .arrow::after { right: -5px; top: auto; bottom: -1px; border: 6px solid transparent; border-top: 8px solid var(--navy); }
  header.site nav { gap: 16px; font-size: 0.95rem; }
  header.site .brand img.word { display: none; }
  .panel td, .panel th { padding: 8px 8px; }
  .panel .col-src { display: none; }
  .tag { font-size: 0.72rem; padding: 2px 7px; }
  .panel .foot { flex-direction: column; align-items: flex-start; }
}
