:root{
  --bg: #0b1020;
  --panel: rgba(255,255,255,.06);
  --panel2: rgba(255,255,255,.04);
  --line: rgba(255,255,255,.12);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --muted2: rgba(255,255,255,.58);
  --accent: rgba(255,255,255,.92);
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  background: radial-gradient(1200px 600px at 20% 0%, rgba(255,255,255,.08), transparent 60%),
              radial-gradient(900px 500px at 90% 10%, rgba(255,255,255,.06), transparent 60%),
              var(--bg);
  color: var(--text);
  line-height:1.7;
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration: underline; }
small{ color: var(--muted2); }

.container{
  width:min(1080px, calc(100% - 32px));
  margin:0 auto;
}

.skip{
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip:focus{
  left:16px; top:16px; width:auto; height:auto; padding:10px 12px;
  background:#111; border:1px solid var(--line); border-radius:12px; z-index:9999;
}

.site{
  border-bottom:1px solid var(--line);
  background: rgba(0,0,0,.18);
  backdrop-filter: blur(10px);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:18px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 220px;
}
.logo{
  width:38px; height:38px;
  border-radius:12px;
  background: linear-gradient(135deg, rgba(255,255,255,.25), rgba(255,255,255,.06));
  border:1px solid var(--line);
  box-shadow: var(--shadow);
}
.brand h1{
  font-size:16px;
  margin:0;
  letter-spacing:.2px;
}
.brand p{
  margin:0;
  font-size:12px;
  color: var(--muted2);
}

nav ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:flex-end;
}
nav a{
  display:inline-flex;
  align-items:center;
  padding:8px 10px;
  border-radius:12px;
  border:1px solid transparent;
  color: var(--muted);
  text-decoration:none;
}
nav a:hover{
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.10);
  text-decoration:none;
}
nav a[aria-current="page"]{
  color: var(--text);
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.14);
}

.hero{
  padding:34px 0 18px;
}
.hero-card{
  padding:20px 18px;
  border-radius:22px;
  border:1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  box-shadow: var(--shadow);
}
.kicker{
  display:inline-flex;
  gap:8px;
  align-items:center;
  color: var(--muted);
  font-size:12px;
  letter-spacing:.3px;
}
.dot{
  width:8px; height:8px;
  border-radius:999px;
  background: rgba(255,255,255,.55);
}
.hero-card h2{
  margin:10px 0 6px;
  font-size:26px;
  line-height:1.25;
}
.hero-card p{
  margin:0;
  color: var(--muted);
}

.section{
  padding:18px 0 24px;
}
.section h2{
  margin:0 0 8px;
  font-size:20px;
  letter-spacing:.2px;
}
.lead{
  margin:0;
  color: var(--muted);
}

.grid{
  display:grid;
  gap:14px;
}
.grid.cols-2{
  grid-template-columns: repeat(2, minmax(0,1fr));
}
@media (max-width: 860px){
  .header-inner{ flex-direction:column; align-items:flex-start; }
  nav ul{ justify-content:flex-start; }
  .grid.cols-2{ grid-template-columns:1fr; }
}

.card{
  border-radius:18px;
  border:1px solid var(--line);
  background: var(--panel);
  padding:16px 14px;
  box-shadow: var(--shadow);
}
.card h3{
  margin:0 0 6px;
  font-size:16px;
}
.card p{
  margin:0;
  color: var(--muted);
}

.badge{
  display:inline-flex;
  align-items:center;
  padding:4px 10px;
  border-radius:999px;
  font-size:12px;
  color: rgba(255,255,255,.82);
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  margin-bottom:10px;
}

.note{
  margin:10px 0 0;
  color: var(--muted2);
  font-size:13px;
}

.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border-radius:18px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  margin-top:12px;
}
.table th, .table td{
  padding:12px 12px;
  border-bottom:1px solid rgba(255,255,255,.08);
  vertical-align:top;
}
.table thead th{
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.86);
  font-size:13px;
}
.table tbody tr:last-child td{ border-bottom:none; }
.table td{ color: var(--muted); }
.table strong{ color: var(--text); }

.cta-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.88);
  text-decoration:none;
  line-height:1.1;
}
.btn:hover{
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.20);
  text-decoration:none;
}
.btn.primary{
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.22);
}

.footer-links{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:8px;
}
footer.site{
  border-top:1px solid var(--line);
  border-bottom:none;
  margin-top:16px;
}
footer.site .container{
  padding:18px 0;
}

/* purpose sorter (select) */
select.btn{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  line-height: 1.2;
  min-height: 44px;
  cursor: pointer;
  padding-right: 42px;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,.55) 50%),
    linear-gradient(135deg, rgba(255,255,255,.55) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
select.btn:focus{
  outline: none;
  border-color: rgba(255,255,255,.32);
  box-shadow: 0 0 0 3px rgba(255,255,255,.08);
}
@media (max-width: 640px){
  select.btn{ width:100%; }
  .cta-row select.btn{ flex:1 1 auto; }
}
.card .cta-row{ gap:10px; }
