/* Global tokens, typography, shell, header and intro */

:root {
  --ink: #f5f7fa;
  --muted: #8493a8;
  --muted-2: #5c6c80;
  --bg: #07111d;
  --bg-soft: #0b1725;
  --panel: rgba(14, 27, 43, .86);
  --panel-strong: #101f31;
  --line: rgba(160, 190, 220, .14);
  --line-strong: rgba(160, 190, 220, .24);
  --accent: #ff6b59;
  --accent-soft: rgba(255, 107, 89, .14);
  --teal: #46d6ce;
  --green: #9bd187;
  --shadow: 0 20px 70px rgba(0, 0, 0, .28);
  --radius-lg: 26px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 2%, rgba(27, 83, 111, .23), transparent 32rem),
    radial-gradient(circle at 90% 18%, rgba(75, 33, 75, .16), transparent 30rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }

button {
  border: 0;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible, input:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.app-shell {
  min-height: 100vh;
  overflow: hidden;
}

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(164, 190, 215, .1);
  background: rgba(7, 17, 29, .82);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.topbar-inner {
  width: min(1480px, calc(100% - 36px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: .06em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 107, 89, .48);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(255, 107, 89, .28), rgba(255, 107, 89, .04));
  color: var(--accent);
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255, 184, 151, .28);
  border-radius: 7px;
}

.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font-size: 13px; letter-spacing: .18em; }
.brand-copy small { color: var(--muted); font-size: 10px; letter-spacing: .1em; }

.topnav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.topnav a {
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
}

.topnav a:hover { color: var(--ink); background: rgba(255, 255, 255, .06); }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(70, 214, 206, .25);
  border-radius: 999px;
  background: rgba(70, 214, 206, .08);
  color: #a8eee9;
  font-size: 11px;
  letter-spacing: .04em;
  white-space: nowrap;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(70, 214, 206, .1), 0 0 14px var(--teal);
}

.page {
  width: min(1480px, calc(100% - 36px));
  margin: 0 auto;
  padding: 44px 0 56px;
}

.intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

h1, h2, h3, p { margin: 0; }

h1 {
  max-width: 680px;
  font-size: clamp(30px, 4.7vw, 60px);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: .98;
}

.intro-copy {
  max-width: 610px;
  margin-top: 15px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.intro-note {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .025);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.intro-note-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 107, 89, .12);
  color: var(--accent);
  font-size: 16px;
}
