:root {
  --bg: #0f131a;
  --bg-2: #0f1724;
  --text: #e8e9ee;
  --muted: #a4acc2;
  --panel: rgba(255,255,255,.04);
  --border: rgba(255,255,255,.10);
  --accent: #6aa8ff;
  --accent-2: #50e6ff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --ring: rgba(80,230,255,.35);
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7f8fb;
    --bg-2: #ffffff;
    --text: #1b2130;
    --muted: #667085;
    --panel: #ffffff;
    --border: #e8eaf1;
    --accent: #3b82f6;
    --accent-2: #22d3ee;
    --shadow: 0 10px 30px rgba(15,23,42,.08);
    --ring: rgba(59,130,246,.25);
  }
}

/* --- Base --- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", sans-serif;
  line-height: 1.65;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(106,168,255,.12), transparent 70%),
    radial-gradient(900px 500px at -10% 80%, rgba(80,230,255,.10), transparent 70%),
    var(--bg);
}
img { max-width: 100%; height: auto; }

/* --- Layout --- */
.container { width: min(100%, 1120px); margin-inline: auto; padding: 20px; }
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in oklab, var(--bg) 70%, transparent);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .2px; }
.brandname { font-size: clamp(16px, 2vw, 18px); }
.mark { width: 24px; height: 24px; display: grid; place-items: center; color: #0b1220; border-radius: 7px; font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.hero { padding: 24px 0 12px; }
.eyebrow { color: var(--muted); font-weight: 700; letter-spacing: .14em; font-size: 12px; margin: 0; text-transform: uppercase; }
.page-title { font-size: clamp(28px, 4vw, 42px); margin: 6px 0; line-height: 1.22; }
.lead { color: var(--muted); margin: 0 0 16px; }

/* --- Panels --- */
.panel { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); margin-bottom: 20px; }

/* --- App tiles --- */
.grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.tile { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 70px; padding: 16px 18px; border-radius: 14px; text-decoration: none; color: var(--text); border: 1px solid transparent; background:
  linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
  linear-gradient(135deg, color-mix(in oklab, var(--accent) 70%, transparent), color-mix(in oklab, var(--accent-2) 70%, transparent)) border-box;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  transition: transform .08s ease, box-shadow .2s, background .2s;
}
.tile-title { font-weight: 700; letter-spacing: .2px; }
.tile::after { content: "→"; opacity: .7; transition: transform .12s ease, opacity .12s ease; font-weight: 700; }
.tile:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.tile:hover::after { transform: translateX(2px); opacity: 1; }
.tile:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--ring), 0 6px 18px rgba(0,0,0,.12); }

/* --- Contact --- */
.contact .only-label { display: inline-block; font-weight: 700; }

/* --- Footer --- */
.site-footer { border-top: 1px solid var(--border); margin-top: 12px; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1.3fr; gap: 20px; padding-top: 12px; }
.foot-title { margin: 0 0 8px; font-size: 14px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.foot-text { margin: 0; color: var(--muted); }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-list a { color: var(--text); text-decoration: none; opacity: .8; }
.foot-list a:hover, .foot-list a:focus-visible { opacity: 1; }
.foot-copy { border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; padding: 10px 20px 40px; }

/* --- Small screens --- */
@media (max-width: 800px) { .foot { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .brandname { font-size: 16px; } }