:root {
  --blue: #0d57ad;
  --blue-2: #1c69cb;
  --blue-3: #eaf3ff;
  --navy: #10223b;
  --ink: #172033;
  --muted: #657386;
  --line: #dfe7f2;
  --teal: #0e8f9e;
  --teal-soft: #eafafa;
  --green: #19825c;
  --orange: #ef7b16;
  --orange-soft: #fff5e7;
  --violet: #6756d8;
  --bg: #f7faff;
  --card: #ffffff;
  --shadow: 0 18px 55px rgba(24, 55, 94, 0.14);
  --shadow-soft: 0 10px 30px rgba(24, 55, 94, 0.09);
  --radius: 18px;
  --radius-xl: 26px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
strong { color: #10294d; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 12px; padding: 10px 14px; background: var(--navy); color: #fff; border-radius: 10px; z-index: 10; }
.skip-link:focus { left: 12px; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(210,224,241,.88);
}
.header-inner { height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; flex-direction: column; line-height: 1.05; letter-spacing: .01em; }
.brand-main { color: var(--blue); font-size: 23px; font-weight: 900; }
.brand-sub { color: #53657d; font-size: 12px; font-weight: 900; margin-top: 6px; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 850; color: #42516a; }
.main-nav a:hover { color: var(--blue); }
.header-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 900; box-shadow: 0 12px 24px rgba(13,87,173,.22); }
.mobile-menu { display: none; border: 0; background: transparent; padding: 8px; }
.mobile-menu span { display: block; width: 24px; height: 2px; background: #1a2f4d; margin: 5px 0; }

.hero { position: relative; overflow: hidden; min-height: 760px; padding: 74px 0 70px; background: radial-gradient(circle at 18% 10%, #ffffff 0 20%, transparent 40%), linear-gradient(135deg, #f5faff 0%, #eaf3ff 48%, #fff 100%); }
.hero-glow { position: absolute; inset: auto -18% -32% auto; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(14,143,158,.18), transparent 65%); }
.hero-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 58px; align-items: center; }
.eyebrow { margin: 0 0 10px; color: var(--teal); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 950; }
.hero h1 { margin: 0; color: var(--navy); font-size: clamp(42px, 5.6vw, 76px); line-height: 1.04; letter-spacing: 0; font-weight: 950; }
.lead { max-width: 650px; margin: 22px 0 0; color: #41536d; font-size: 20px; line-height: 1.75; font-weight: 750; }
.lead-ja { max-width: 650px; margin: 14px 0 0; color: #5f6f83; font-size: 15px; line-height: 1.85; font-weight: 750; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 999px; font-weight: 950; border: 1px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(22,51,91,.15); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-outline { background: #fff; border-color: #bfd2eb; color: var(--blue); }
.hero-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 26px; color: #617186; font-size: 13px; font-weight: 800; max-width: 600px; }
.dot { width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 7px rgba(14,143,158,.12); flex: 0 0 auto; }

.protocol-panel { position: relative; border: 1px solid rgba(203,219,239,.98); background: rgba(255,255,255,.92); border-radius: 28px; box-shadow: var(--shadow); padding: 26px; overflow: hidden; }
.protocol-panel::before { content: ""; position: absolute; inset: -30% -30% auto auto; width: 340px; height: 340px; background: radial-gradient(circle, rgba(103,86,216,.12), transparent 70%); border-radius: 50%; }
.panel-topline { position: relative; display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-bottom: 18px; color: #18365e; }
.panel-topline span { font-size: 12px; font-weight: 900; color: #708097; border: 1px solid #dce7f5; background: #f8fbff; border-radius: 999px; padding: 6px 10px; }
.state-card { position: relative; border: 1px solid #d9e5f4; border-radius: 18px; background: linear-gradient(180deg, #fff, #f8fbff); padding: 18px; margin-bottom: 16px; }
.state-label { display: inline-block; color: var(--teal); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 950; }
.state-card b { display: block; margin-top: 6px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #152d51; font-size: 24px; }
.state-card p { margin: 6px 0 0; color: #657386; font-weight: 760; }
.pipeline-svg { position: relative; height: 360px; border-radius: 22px; background: linear-gradient(135deg, #f7fbff, #ffffff); border: 1px solid #e1e9f4; overflow: hidden; }
.pipeline-svg::before { content: ""; position: absolute; left: 12%; right: 10%; top: 49%; height: 3px; background: linear-gradient(90deg, #bfd3ed, #5e88d3, #7ecdd2, #efb46a); }
.pipeline-svg::after { content: ""; position: absolute; left: 10%; top: 32%; width: 80%; height: 80px; background: repeating-linear-gradient(90deg, rgba(28,105,203,.07), rgba(28,105,203,.07) 8px, transparent 8px, transparent 22px); clip-path: polygon(0 50%, 100% 0, 100% 100%); }
.node { position: absolute; display: grid; place-items: center; width: 105px; height: 68px; border-radius: 18px; background: #fff; border: 1px solid #cfddec; box-shadow: var(--shadow-soft); color: #15325b; font-size: 13px; line-height: 1.3; font-weight: 950; text-align: center; }
.n1 { left: 28px; top: 54px; } .n2 { left: 28px; bottom: 58px; }
.n3 { left: 214px; top: 146px; background: #f2fbfc; border-color: #c8ecee; }
.n4 { left: 386px; top: 146px; background: #f5f2ff; border-color: #d9d2ff; }
.n5 { right: 128px; top: 146px; background: #fff7ec; border-color: #f1d3ae; }
.n6 { right: 28px; top: 146px; background: #f2fff9; border-color: #cfeade; }
.lens { position: absolute; width: 32px; height: 118px; border: 3px solid rgba(28,105,203,.36); border-radius: 50%; background: rgba(255,255,255,.55); }
.l1 { left: 154px; top: 121px; } .l2 { right: 256px; top: 121px; border-color: rgba(14,143,158,.36); }
.wave { position: absolute; left: 320px; top: 172px; width: 72px; height: 30px; border-radius: 50%; border-top: 4px solid rgba(103,86,216,.42); border-bottom: 4px solid rgba(103,86,216,.18); transform: rotate(-8deg); }
.score-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.score-grid article { border: 1px solid #dce7f5; border-radius: 16px; background: #fff; padding: 14px; }
.score-grid span { display: block; color: var(--blue); font-weight: 950; font-size: 18px; }
.score-grid b { display: block; font-size: 17px; color: #152f55; }
.score-grid small { color: #68788d; font-weight: 800; }

.section { padding: 68px 0; }
.section-title { margin: 0 0 22px; color: #14243a; text-align: center; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.25; letter-spacing: 0; font-weight: 950; }
.section-title.left { text-align: left; }
.section-heading { max-width: 810px; margin: 0 auto 32px; text-align: center; }
.section-heading.compact { margin-bottom: 24px; }
.section-lead { color: #506177; font-weight: 730; margin: 0; font-size: 16px; }
.left-text { text-align: left; }
.split-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: start; }
.big-copy { color: #41536d; font-size: 20px; font-weight: 760; margin: 0; }
.ja-copy { margin: 16px 0 0; color: #627287; font-weight: 750; }
.definition-card, .claim-card, .reference-card, .privacy-card, .founder-card, .press-card, .references-card, .code-card { border: 1px solid var(--line); background: #fff; border-radius: var(--radius-xl); box-shadow: var(--shadow-soft); }
.definition-card { padding: 26px; }
.definition-card h3 { margin: 0 0 14px; color: #17365f; font-size: 22px; }
dl { margin: 0; display: grid; gap: 13px; }
dl div { padding: 14px; border-radius: 15px; background: #f7fbff; border: 1px solid #e2ebf6; }
dt { color: var(--teal); font-size: 12px; font-weight: 950; text-transform: uppercase; letter-spacing: .08em; }
dd { margin: 4px 0 0; color: #243b59; font-weight: 900; }

.claim-boundary { background: #fff; }
.claim-card { display: grid; grid-template-columns: 1fr 280px; gap: 30px; align-items: center; padding: 32px; background: linear-gradient(135deg, #ffffff, #f8fbff); }
.claim-card p { color: #506177; font-weight: 730; }
.claim-card aside { padding: 24px; border-radius: 22px; background: linear-gradient(160deg, #102a4f, #0d57ad); color: #fff; }
.claim-card aside b { display: block; color: #fff; font-size: 22px; line-height: 1.3; }
.claim-card aside small { display: block; margin-top: 10px; color: rgba(255,255,255,.82); font-weight: 760; }
.stamp { display: inline-flex; padding: 6px 10px; margin-bottom: 16px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: 12px; font-weight: 950; text-transform: uppercase; letter-spacing: .08em; }

.physics { background: linear-gradient(180deg, #f7fbff, #fff); }
.physics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.physics-grid article { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow-soft); }
.physics-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; margin-bottom: 14px; background: linear-gradient(135deg, #edf5ff, #fff); color: var(--blue); border: 1px solid #d7e6f8; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 28px; font-weight: 950; }
.physics-grid h3, .layers h3, .roadmap h3 { margin: 0 0 6px; color: #18365e; font-size: 20px; }
.physics-grid p, .layers p, .roadmap p { margin: 0; color: #5c6c82; font-size: 14px; font-weight: 720; }

.architecture { background: #fff; }
.layers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: layer; }
.layers article { position: relative; min-height: 180px; padding: 24px; border: 1px solid #dce7f5; border-radius: 20px; background: linear-gradient(180deg, #ffffff, #f9fcff); box-shadow: var(--shadow-soft); overflow: hidden; }
.layers article::after { content: ""; position: absolute; right: -30px; bottom: -42px; width: 120px; height: 120px; border-radius: 50%; background: rgba(28,105,203,.06); }
.layers span { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 14px; margin-bottom: 16px; background: #eef6ff; color: var(--blue); font-weight: 950; }

.io-section { background: linear-gradient(180deg, #fff, #f7fbff); }
.code-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 28px; align-items: start; }
.code-card { margin: 0; padding: 26px; overflow-x: auto; background: #0f223b; color: #dbeafe; font-size: 14px; line-height: 1.65; border-color: #1a3c66; }
.code-card code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.quantum-ready { background: #fff; }
.roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.roadmap article { border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, #ffffff, #fbfdff); box-shadow: var(--shadow-soft); padding: 24px; }
.roadmap span { display: inline-flex; padding: 6px 10px; margin-bottom: 14px; border-radius: 999px; background: #edf6ff; color: var(--blue); font-size: 12px; font-weight: 950; text-transform: uppercase; letter-spacing: .08em; }
.reference-card { margin-top: 22px; padding: 26px; background: linear-gradient(135deg, #f7fbff, #ffffff); }
.reference-card h3 { margin: 0 0 8px; color: #16345a; font-size: 22px; }
.reference-card p, .reference-card li { color: #56677e; font-weight: 730; }
.reference-card ul { margin: 12px 0 0; padding-left: 20px; }

.privacy { background: linear-gradient(180deg, #f7fbff, #fff); }
.privacy-card { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: center; padding: 32px; }
.privacy-card p { color: #53647a; font-weight: 730; }
.trust-list { display: grid; gap: 10px; }
.trust-list span { display: block; padding: 14px 16px; border: 1px solid #dbe8f6; border-radius: 15px; background: #fff; color: #17365f; font-weight: 900; }

.founder { background: #fff; }
.founder-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px; align-items: stretch; }
.founder-card { padding: 30px; background: linear-gradient(160deg, #fff, #f7fbff); }
.founder-card h2 { margin: 0 0 14px; color: #17365f; font-size: 32px; line-height: 1.25; }
.founder-card p { color: #52637a; font-weight: 730; }
.small-note { font-size: 12px; color: #7b8796 !important; }
.founder-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.founder-points article { border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow-soft); padding: 22px; }
.founder-points b { display: block; margin-bottom: 8px; color: var(--blue); font-size: 18px; }
.founder-points span { color: #5d6e84; font-weight: 730; }

.press { background: linear-gradient(180deg, #fff, #f7fbff); }
.press-card { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: center; padding: 32px; }
.quote-box { padding: 24px; border-radius: 22px; background: #10223b; color: #fff; }
.quote-box span { display: block; margin-bottom: 10px; color: #96d8de; font-weight: 950; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; }
blockquote { margin: 0; font-size: 20px; line-height: 1.65; font-weight: 800; }

.references { background: #fff; padding-top: 32px; }
.references-card { padding: 28px; }
.references-card h2 { margin: 0 0 8px; color: #17365f; }
.references-card p { color: #5e6f85; font-weight: 730; }
.references-card ol { margin: 16px 0 0; padding-left: 22px; }
.references-card li { margin: 8px 0; color: #4f6178; font-weight: 750; }
.references-card a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

.site-footer { background: #f1f6fc; border-top: 1px solid #dce8f5; padding: 48px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 42px; }
.footer-grid p { color: #5d6c82; max-width: 360px; font-weight: 700; }
.footer-grid h3 { margin: 0 0 12px; color: #223b5c; font-size: 15px; }
.footer-grid a:not(.brand) { display: block; color: #586c84; margin: 7px 0; font-weight: 700; font-size: 14px; }
.copyright { margin: 34px 20px 0; text-align: center; color: #708197; font-size: 13px; font-weight: 700; }

.reveal { animation: rise .72s ease both; }
.delay-1 { animation-delay: .16s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .main-nav { position: fixed; top: 72px; left: 20px; right: 20px; display: none; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 12px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px; border-bottom: 1px solid #eef3f8; }
  .header-cta { margin-left: auto; }
  .mobile-menu { display: block; }
  .hero-grid, .split-grid, .claim-card, .code-grid, .privacy-card, .founder-grid, .press-card { grid-template-columns: 1fr; }
  .protocol-panel { max-width: 760px; }
  .hero { padding-top: 54px; }
  .physics-grid, .layers { grid-template-columns: repeat(2, 1fr); }
  .roadmap { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, var(--container)); }
  .header-inner { height: 70px; gap: 12px; }
  .brand-main { font-size: 20px; }
  .brand-sub { display: none; }
  .header-cta { display: none; }
  .hero { min-height: auto; padding: 42px 0 48px; }
  .hero h1 { font-size: 42px; }
  .lead { font-size: 17px; }
  .protocol-panel { padding: 18px; border-radius: 22px; }
  .pipeline-svg { height: 460px; }
  .pipeline-svg::before { left: 50%; top: 40px; bottom: 40px; width: 3px; height: auto; background: linear-gradient(180deg, #bfd3ed, #5e88d3, #7ecdd2, #efb46a); }
  .pipeline-svg::after, .lens, .wave { display: none; }
  .node { left: 50% !important; right: auto !important; transform: translateX(-50%); }
  .n1 { top: 24px; } .n2 { top: 94px; } .n3 { top: 168px; } .n4 { top: 242px; } .n5 { top: 316px; } .n6 { top: 388px; }
  .score-grid, .physics-grid, .layers, .roadmap, .founder-points, .footer-grid { grid-template-columns: 1fr; }
  .claim-card, .privacy-card, .press-card { padding: 22px; }
  .section { padding: 48px 0; }
}
