:root {
  --ground: #eceef2; --ink: #0e1424; --sub: #4a5366; --rule: #c8cdd6; --paper: #ffffff;
  --blue: #1f6fe0; --red: #d63345; --link: #1f5fd0; --warn: #8a4b00;
  --display: Antonio, "Arial Narrow", sans-serif;
  --body: "Zen Kaku Gothic New", "Yu Gothic UI", "Hiragino Sans", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 16px/1.75 var(--body); }
a { color: var(--ink); }
a:hover { color: var(--link); }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: 36px; padding-right: 36px; }
@media (max-width: 400px) { .wrap { padding-left: 16px; padding-right: 16px; } }
.d { font-family: var(--display); text-transform: uppercase; font-variant-numeric: tabular-nums; }
.sub { color: var(--sub); }
.body-text { color: #333b4d; }

.site-header { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 22px; padding-bottom: 22px; }
.site-header .logo { font-size: 20px; font-weight: 700; letter-spacing: .06em; text-decoration: none; }
.site-header .grow { flex: 1; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.site-header nav a { text-decoration: none; font-weight: 500; }

.hero { padding-top: 24px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 28px; }
.phase { font-size: 18px; letter-spacing: .14em; color: var(--sub); }
.giant { font-size: clamp(64px, 11vw, 132px); font-weight: 700; line-height: .9; letter-spacing: -.01em; overflow-wrap: anywhere; }
.hero-text { display: flex; flex-wrap: wrap; gap: 20px 48px; align-items: flex-end; justify-content: space-between; }
.hero-text h1 { font-size: 34px; line-height: 1.45; font-weight: 900; max-width: 720px; }
.hero-text p { max-width: 420px; color: #333b4d; }
@media (max-width: 600px) { .hero-text h1 { font-size: 26px; } }
.flow { background: var(--paper); }
.flow .wrap { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 32px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; }
.section-head h2, .flow h2 { font-size: 36px; font-weight: 900; }
.note { color: var(--sub); font-size: 14px; }

.info { border-top: 6px solid var(--ink); }
.info .wrap { padding-top: 56px; padding-bottom: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); gap: 48px; }
.info section { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.info h2 { font-size: 28px; font-weight: 900; }
.credit { margin: 0; padding: 14px 16px; background: var(--paper); border: 1px solid var(--rule); font: 13px/1.7 Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.terms { display: flex; flex-wrap: wrap; gap: 4px 24px; font-weight: 700; }

.form { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }
.form label { display: block; font-weight: 700; margin-bottom: 4px; }
.form select, .form input, .form textarea { width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid #7b8497; border-radius: 0; padding: 8px 10px; }
.form textarea { min-height: 140px; resize: vertical; }
.form button { align-self: flex-start; font: inherit; font-weight: 700; color: #fff; background: var(--ink); border: 0; border-bottom: 6px solid var(--blue); padding: 10px 32px; cursor: pointer; }
.form button:hover { background: #1a2238; }
.form button:disabled { opacity: .6; cursor: default; }
.form-msg { font-weight: 700; color: var(--warn); }
.form-msg[data-msg="sent"] { color: var(--ink); }
.form-msg[hidden] { display: none; }

.site-footer { background: var(--ink); color: #aeb6c6; }
.site-footer .wrap { padding-top: 28px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 6px; font-size: 12px; line-height: 1.6; }
.site-footer a { color: #ffffff; }

.doc { padding-top: 24px; padding-bottom: 72px; max-width: 900px; }
.doc-head { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; border-top: 6px solid var(--ink); padding: 24px 0 8px; }
.doc-head h1 { font-size: 34px; font-weight: 900; line-height: 1.4; }
@media (max-width: 600px) { .doc-head h1 { font-size: 26px; } }
.btn { display: inline-block; padding: 10px 24px; background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; border-bottom: 6px solid var(--blue); }
.btn.red { border-bottom-color: var(--red); }
.btn:hover { color: #fff; background: #1a2238; }
.doc section { padding-top: 40px; display: flex; flex-direction: column; gap: 12px; }
.doc h2 { font-size: 28px; font-weight: 900; border-bottom: 2px solid var(--ink); padding-bottom: 6px; }
.doc ul, .doc ol { margin: 0; padding-left: 1.4em; display: flex; flex-direction: column; gap: 6px; }
.doc code { font-size: 15px; overflow-wrap: anywhere; }
.doc table { border-collapse: collapse; width: 100%; background: var(--paper); }
.table-wrap { overflow-x: auto; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.doc th { border-bottom: 2px solid var(--ink); }
kbd { font: 600 14px Consolas, monospace; padding: 1px 7px; background: var(--paper); border: 1px solid #7b8497; border-bottom-width: 3px; }
details { background: var(--paper); border: 1px solid var(--rule); padding: 10px 14px; }
summary { cursor: pointer; font-weight: 700; }
details p { margin-top: 8px; }
.doc-foot { margin-top: 48px; font-weight: 700; }

.site-header nav a[aria-current="page"], .site-header nav a[aria-current="true"] { border-bottom: 3px solid var(--ink); }
.site-header nav a[data-app="hud"][aria-current] { border-bottom-color: var(--red); }
.site-header nav a[data-app="draft"][aria-current] { border-bottom-color: var(--blue); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(520px, 100%), 1fr)); gap: 16px; }
.card { background: var(--paper); border-bottom: 6px solid var(--blue); display: flex; flex-direction: column; }
.card.red { border-bottom-color: var(--red); }
.card img { display: block; width: 100%; height: auto; }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 22px 28px 28px; }
.card .giant { font-size: clamp(48px, 7vw, 84px); }
.card h2 { font-size: 22px; font-weight: 900; }
.card p { color: #333b4d; }
.card a { font-weight: 700; }
.info.nobar { border-top: 0; }

.lp-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(520px, 100%), 1fr)); gap: 24px 48px; align-items: end; border-top: 6px solid var(--ink); padding-top: 22px; }
.lp-title, .lp-intro { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.lp-intro { gap: 16px; }
.lp-title h1 { font-size: 30px; font-weight: 900; }
.lead { font-size: 20px; font-weight: 700; line-height: 1.6; }
.phase.small { font-size: 15px; letter-spacing: .1em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.actions .btn { padding: 12px 26px; }
.textlink { font-weight: 700; }
.hero-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--ink); border-bottom: 6px solid var(--blue); }
.lp.red .hero-video { border-bottom-color: var(--red); }
.flow .wrap { gap: 28px; }
.feats, .steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 24px; }
.feats { grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 0 24px; border-top: 2px solid var(--ink); }
.feats li { display: flex; flex-direction: column; gap: 8px; padding: 24px 0 28px; border-bottom: 1px solid #d3d7de; }
.feat-n { font-size: 28px; font-weight: 700; }
.feats h3, .steps h3, .faq h3 { font-size: 19px; }
.steps-sec { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 28px; }
.steps { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.steps li { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 2px solid var(--ink); }
.step-n { font-size: 40px; font-weight: 700; line-height: 1; }
.faq p, .faq h3 { max-width: 900px; }
.flow .wrap.faq { gap: 6px; }
.faq h2 { margin-bottom: 14px; }
.faq h3 { margin-top: 14px; }
.faq p { color: #333b4d; }
.faq code { overflow-wrap: anywhere; }
@media (max-width: 600px) { .lp-title h1 { font-size: 26px; } .lead { font-size: 18px; } }
