:root{--page:#17171b;--ink:#f1eff8;--muted:#b6b3c4;--edge:#36343d;--green:#c2afff;color-scheme:dark}
header{background:#19191e;box-shadow:0 1px #302e38}.header-inner{position:relative;max-width:1536px;height:64px;padding-inline:24px}.brand{font-size:1.28rem;letter-spacing:-.035em;color:#c3adfc}.brand>span{background:#302841;color:#c6b5ff;width:30px;height:30px;border-radius:7px}.brand .icon{width:23px;height:23px}.center-nav{position:absolute;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:25px}.center-nav a{font-size:.85rem;letter-spacing:.045em;font-weight:650;color:var(--muted);padding:10px 2px;border-radius:4px}.center-nav a:hover,nav a:hover,nav button:hover,#close:hover{background:#2b2734;color:#fff}nav{gap:5px}nav a,nav button{color:var(--muted)}nav>a:first-child{display:none}.header-inner .lang{border:0}main{max-width:1104px;padding-top:0}.hero{display:grid;grid-template-columns:minmax(0,1fr);place-items:center;min-height:425px;margin-inline:calc(50% - 50vw);border-radius:0;box-shadow:none;text-align:center;background:radial-gradient(ellipse at 50% 66%,#332a49 0%,#201d29 31%,#17171b 70%)}.hero-copy{position:relative;padding:58px 24px 69px;max-width:860px}.hero .eyebrow{display:none}.orbits{position:absolute;inset:0;pointer-events:none;overflow:hidden}.orbits:before,.orbits:after{content:"";position:absolute;inset:0}.orbits:before{background:repeating-radial-gradient(circle at 50% 87%,transparent 0 86px,#aa89ff24 87px,transparent 89px,transparent 127px);mask-image:radial-gradient(ellipse at 50% 80%,#000 3%,transparent 69%)}.orbits:after{background-image:radial-gradient(#b497f05e 1px,transparent 1px);background-size:23px 23px;mask-image:radial-gradient(ellipse at center,#0006,transparent 66%)}.hero h1{max-width:800px;color:#cbbaff;background:linear-gradient(115deg,#efedf8 5%,#cfbbfa 44%,#ae80f1 88%);background-clip:text;-webkit-text-fill-color:transparent;margin:0 auto 21px;font-size:clamp(2.5rem,4.5vw,4.15rem);line-height:1.12}.hero p{max-width:650px;margin:auto;color:#cdc8d9;font-size:1.12rem;line-height:1.55}.hero .wide{display:none}.actions{justify-content:center;margin-top:24px}.primary{background:#bba1fa;color:#211332;border-radius:32px;padding:14px 29px;box-shadow:0 4px 22px #a67be936}.primary:hover{background:#cbb6ff}.duration,.duration+small{color:#c5bdce}html[data-mode=nat] .hero .duration{display:none}main>section+section{margin-top:36px}.section-heading h2,.comparison h2,.platforms h2{font-size:clamp(1.45rem,2.5vw,2.1rem)}.monitor-box,.tool-card,.guide,.result-box,.table-wrap,.platforms details{background:#222126;box-shadow:inset 0 0 0 1px var(--edge)}.section-heading{margin-bottom:18px}.metric>div,.metric .icon,.endpoint>.icon,.guide h2 .icon{color:#c7badc}.endpoint select,.duration select{color:#e2d6f4;background-color:#34303d;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='10' width='12' viewBox='0 0 12 10'%3E%3Cpath d='m2 3 4 4 4-4' stroke='%23dbcbfb' fill='none' stroke-width='1.6'/%3E%3C/svg%3E")}.status i{background:#9d95b0}.status.running i,.status.done i{background:#b8a4ef}.chart>span,details p,.result-box p{color:#c4becf}.tool-card:hover{box-shadow:inset 0 0 0 1px #827397,0 4px 16px #0002}.tool-icon,.tool-icon.nat{color:#c1acf5;background:#372d49}.tool-icon.stability{color:#dcbd90;background:#3a3229}.tool-icon.loss{color:#a5d0c7;background:#273733}.result-box button,.secondary,#dialog-body button{background:#32293e;color:#dfcdfc}.notice{background:#302939}.result-box tr:nth-child(even),#dialog-body article{background:#2d2932}.result-box a.secondary{display:inline-block;border-radius:8px}.table-wrap{overflow-x:auto;border-radius:13px}.comparison h2,.platforms h2{text-align:center;margin:0 0 28px}.comparison table{width:100%;border-collapse:collapse;text-align:left}.comparison thead{background:#2c2b30;color:#d4cedd}.comparison th,.comparison td{padding:12px 18px;font-size:.94rem;text-align:left}.comparison thead th{font-weight:600}.comparison tbody th{color:#e0d4f7}.comparison tbody tr:nth-child(even){background:#26252b}.comparison>p{margin:10px 4px 0;font-size:.85rem;color:var(--muted)}.platforms>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:start}.platforms details{border-radius:10px;padding:3px 14px}.platforms details p{padding-bottom:10px}.guide{margin-bottom:12px}footer{background:#1d1c21}.footer-inner,.footer-inner button{color:#beb6ca}dialog,#close{background:#26242c;color:#ede9f6}
@media(max-width:800px){.center-nav{position:static;transform:none;gap:12px}.center-nav a{font-size:.8rem}.header-inner{gap:8px}}
@media(max-width:600px){.header-inner{padding-inline:14px;height:58px}.center-nav{display:none}nav>a:first-child{display:inline-flex}.brand{font-size:1.2rem}.hero{min-height:300px}.hero-copy{padding:45px 18px 49px}.hero h1,html[lang=en] .hero h1{font-size:clamp(2rem,8vw,2.7rem);max-width:100%;margin-bottom:15px}.hero p{font-size:1rem;max-width:36ch}.hero .actions{margin-top:21px}main>section+section{margin-top:25px}.comparison h2,.platforms h2{margin-bottom:16px}.comparison th,.comparison td{font-size:.84rem;padding:9px 8px}.platforms>div{grid-template-columns:repeat(2,minmax(0,1fr))}.platforms summary{font-size:.86rem}.metric strong.word{font-size:1rem}}

.hero .primary {
  justify-content: center;
  width: min(100%, 23rem);
  min-height: 4.75rem;
  padding: 1rem 2rem;
  gap: .75rem;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.3;
  border-radius: 999px;
}

@media (max-width: 600px) {
  .hero-copy { width: 100%; }
  .hero .primary {
    width: 100%;
    min-height: 4.25rem;
    padding-inline: 1rem;
  }
}

.journey {
  position: relative;
  width: min(100%, 46rem);
  padding: 3rem 1.25rem;
  margin: auto;
}
.journey-label {
  display: inline-block;
  margin-bottom: .8rem;
  color: #d3baff;
  font-size: .95rem;
  font-weight: 700;
}
.journey h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.7rem);
  line-height: 1.3;
  text-wrap: balance;
}
.journey h2 + p { margin: .8rem auto 0; }
html[lang="ja"] .journey h2, html[lang="ja"] .journey p { word-break: auto-phrase; }
html[data-mode="nat"] .hero .duration { display: inline-flex; }
.progress-card, .next-action {
  margin: 1.5rem auto 0;
  padding: 1.25rem;
  max-width: 37rem;
  border-radius: 1rem;
  background: #29252f;
}
.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  color: #eee7fa;
}
#stage-bar {
  display: block;
  appearance: none;
  width: 100%;
  height: .65rem;
  border: none;
  border-radius: 1rem;
  margin: 1rem 0;
  overflow: hidden;
  color: #bba1fa;
  background: #484051;
}
#stage-bar::-webkit-progress-bar { background: #484051; }
#stage-bar::-webkit-progress-value { background: #bba1fa; }
#stage-bar::-moz-progress-bar { background: #bba1fa; }
#stage-bar:indeterminate {
  background: linear-gradient(90deg, #484051 20%, #cbb3ff 50%, #484051 80%) 0 0 / 200% 100%;
  animation: checking 1.8s ease-in-out infinite alternate;
}
#stage-bar:indeterminate::-webkit-progress-bar { background: transparent; }
@keyframes checking { to { background-position: 100% 0; } }
@media (prefers-reduced-motion: reduce) { #stage-bar:indeterminate { animation: none; } }
.hero #live-detail, .hero #elapsed { font-size: .9rem; }
#stop, .journey .buttons button, #setup-error button {
  padding: .7rem 1rem;
  min-height: 44px;
  background: #322c3c;
  color: #e1d6f3;
}
#stop { margin-top: 1rem; }
#setup-error button { margin-left: 1rem; }
.journey .buttons { margin-top: 1rem; justify-content: center; }
.journey .feedback:empty { display: none; }
.journey .feedback { margin-top: .8rem; font-size: .95rem; }
.journey .next-action h3 { color: #d0b9fb; font-size: 1rem; }
.journey .next-action p { margin: .5rem auto 1rem; color: #f3eff8; }
.journey .next-action .primary { max-width: 100%; min-height: 3.5rem; font-size: 1.12rem; }
.journey small { display: block; margin-top: .65rem; color: var(--muted); }
.measure-details { margin: 1.5rem 0; }
.measure-details > summary {
  padding: 1rem 1.25rem;
  border-radius: .8rem;
  background: #27242d;
}
.measure-details[open] .monitor-box { margin-top: .6rem; }
#breakdown { margin-top: 1rem; }
#breakdown table { width: 100%; text-align: left; border-collapse: collapse; margin: .65rem 0; }
#breakdown td, #breakdown th { padding: .5rem; vertical-align: top; }
#breakdown tr:nth-child(odd) { background: #2b2831; }
#breakdown p { margin: .5rem 0; color: var(--muted); }
#endpoint-settings { justify-content: center; }
@media (max-width: 600px) {
  .journey { padding: 2.2rem 1rem; }
  .progress-card, .next-action { padding: 1rem; }
  .journey .buttons { gap: .4rem; }
}
