/* rekt.page by StellarMom - marketing site */

:root {
  color-scheme: dark;

  --bg: #07090d;
  --bg-alt: #090c12;

  --text: #f3f5fa;
  --muted: rgb(226 232 255 / 0.6);
  --faint: rgb(226 232 255 / 0.38);

  --stroke: rgb(255 255 255 / 0.13);
  --stroke-soft: rgb(255 255 255 / 0.07);
  --highlight: rgb(255 255 255 / 0.24);
  --fill: rgb(255 255 255 / 0.06);
  --fill-hover: rgb(255 255 255 / 0.12);
  --sunken: rgb(0 0 0 / 0.28);

  --accent: rgb(138 180 255);
  --accent-dim: rgb(138 180 255 / 0.55);
  --gold: #fbbf24;
  --up: #34d399;
  --down: #fb7185;
  --mint: #97fce4;

  --glass: linear-gradient(150deg, rgb(255 255 255 / 0.1), rgb(255 255 255 / 0.03) 42%, rgb(255 255 255 / 0.05));
  --blur: blur(30px) saturate(175%);

  --radius: 20px;
  --radius-sm: 14px;
  --gutter: 16px;
  --maxw: 1240px;
  --nav-h: 60px;

  --font: 'Sora', -apple-system, 'Segoe UI', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: -0.005em;
  background:
    radial-gradient(1100px 760px at 8% -10%, rgb(91 108 255 / 0.2), transparent 62%),
    radial-gradient(900px 700px at 102% 6%, rgb(20 184 166 / 0.12), transparent 60%),
    radial-gradient(1000px 900px at 55% 112%, rgb(217 70 239 / 0.1), transparent 62%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

img, canvas, svg { display: block; max-width: 100%; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

p { margin: 0; }
code { font-family: ui-monospace, 'SFMono-Regular', 'Cascadia Mono', 'Consolas', monospace; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.muted { color: var(--muted); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 16px;
  background: #11151f;
  border: 1px solid var(--stroke);
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- glass ---------- */
.panel {
  position: relative;
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 var(--highlight),
    inset 0 -1px 0 rgb(255 255 255 / 0.04),
    0 20px 44px -18px rgb(0 0 0 / 0.7);
}

/* ---------- brand type ---------- */
.brand-name {
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(95deg, #ffffff 0%, #dbe6ff 42%, var(--mint) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-by {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--mint);
  text-shadow: 0 0 18px rgb(151 252 228 / 0.35);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border: 1px solid var(--stroke-soft);
  border-radius: 999px;
  background: var(--fill);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.btn:hover { background: var(--fill-hover); text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-sm { height: 32px; padding: 0 14px; font-size: 13px; }
.btn-lg { height: 50px; padding: 0 28px; font-size: 15px; }

.btn-primary {
  background: linear-gradient(180deg, rgb(138 180 255 / 0.32), rgb(138 180 255 / 0.16));
  border-color: var(--accent-dim);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.25), 0 10px 30px -12px rgb(138 180 255 / 0.7);
}
.btn-primary:hover {
  background: linear-gradient(180deg, rgb(138 180 255 / 0.44), rgb(138 180 255 / 0.22));
}
.btn-ghost { background: var(--sunken); border-color: var(--stroke); }
.btn-ghost:hover { background: var(--fill); }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(7 9 13 / 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, background 0.25s;
}
.nav.is-stuck {
  border-bottom-color: var(--stroke-soft);
  background: rgb(7 9 13 / 0.88);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: var(--maxw);
  min-height: var(--nav-h);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  min-width: 0;
}
.nav-brand:hover { text-decoration: none; }
.nav-brand-text {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
}
.nav-brand-text .brand-name { font-size: 15px; white-space: nowrap; }
.nav-brand-text .brand-by { font-size: 15px; white-space: nowrap; }

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  padding: 7px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 400;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--text); background: var(--fill); text-decoration: none; }
.nav-links a.is-active { color: var(--text); background: var(--fill); }

.nav-cta { flex: none; }

/*
 * 실행 버튼의 "Testnet" 표시. 버튼 글자는 번역기가 통째로 갈아 끼우므로 글자는 안쪽 <span> 에 두고
 * 이 배지는 그 옆에 둔다 — 같은 요소에 두면 언어를 바꾸는 순간 배지가 지워진다.
 * 버튼 모서리 위에 얹는다(position: absolute). 버튼 안에서 가로 자리를 차지하면 글자 오른쪽이
 * 배지 너비만큼 비어 보인다 — 그 빈칸을 없애는 것이 목적이다(사용자 지적 2026-09-30).
 * 색은 버튼 글자색을 따르고, 바탕을 페이지색으로 칠해 아래로 지나가는 버튼 테두리를 가린다.
 */
.btn-primary { position: relative; }
.testnet-badge {
  position: absolute;
  top: -8px;
  right: -4px;
  padding: 1px 5px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: var(--bg);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.3;
  opacity: 0.9;
  pointer-events: none;
}

/*
 * 랜딩은 소개까지만 하고 세부는 docs 로 보낸다. 그 경계를 한 가지 모양으로 통일한다.
 * 섹션마다 제각각인 링크를 두면 "여기는 더 있고 저기는 없다" 처럼 읽힌다.
 */
.more-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
}
.more-link::after {
  content: "→";
  transition: transform 0.15s ease;
}
.more-link:hover { text-decoration: none; }
.more-link:hover::after { transform: translateX(3px); }
/* 카드 안에 들어갈 때는 본문 끝에 붙는 각주처럼 작게 둔다 */
.card .more-link {
  margin-top: 10px;
  font-size: 12.5px;
}

/* docs 는 이 페이지 안의 앵커가 아니라 다른 사이트다. 테두리로 그 차이를 보이게 둔다 */
.nav-docs {
  border: 1px solid var(--stroke-soft);
}
.nav-docs::after {
  content: "↗";
  margin-left: 4px;
  font-size: 10px;
  opacity: 0.7;
  vertical-align: middle;
}

/*
 * 상단바는 링크 9개(+ Early access 의 LIVE 배지)를 줄바꿈 없이 늘어놓으므로
 * 다 펴려면 1280px 남짓이 필요하다. 접히는 곳이 860px 하나뿐이면 그 사이 구간에서
 * 자리가 모자란 채 눌려 보이므로, 여백 -> 덜 중요한 링크 -> 링크 전체 순으로 단계를 나눠 접는다.
 * Docs 는 외부 사이트로 나가는 유일한 링크라 #hero/#onchain/#team 보다 늦게 접는다.
 */
@media (max-width: 1180px) {
  .nav-inner { gap: 12px; }
  .nav-links { gap: 2px; }
  .nav-links a { padding: 7px 10px; font-size: 13px; }
  .nav-brand-text .brand-by { display: none; }
}

@media (max-width: 1040px) {
  .nav-links a[href='#hero'],
  .nav-links a[href='#onchain'],
  .nav-links a[href='#team'] { display: none; }
  /*
   * Docs 는 테두리가 있어 폭을 더 먹는다. 여기서는 테두리만 걷고 링크는 남긴다.
   * 선택자를 .nav-links a.nav-docs 로 쓰는 이유: 위의 .nav-links a (0,1,1) 가
   * .nav-docs (0,1,0) 를 이겨 패딩이 덮이기 때문이다. 같은 무게로 맞춰야 먹는다.
   */
  .nav-links a.nav-docs {
    border-color: transparent;
    padding-left: 8px;
    padding-right: 8px;
  }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100svh - var(--nav-h));
  padding: 64px var(--gutter) 96px;
  overflow: hidden;
  isolation: isolate;
}
.hero-canvas {
  position: absolute;
  inset: -8%;
  z-index: -2;
  width: 116%;
  height: 116%;
  filter: blur(26px) saturate(125%);
  opacity: 0.5;
  transform: translateZ(0);
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(110% 80% at 50% 40%, rgb(7 9 13 / 0.35), rgb(7 9 13 / 0.86) 72%),
    linear-gradient(180deg, rgb(7 9 13 / 0.8) 0%, rgb(7 9 13 / 0.35) 35%, rgb(7 9 13 / 0.95) 100%);
}

.hero-inner {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 6px 14px;
  border: 1px solid var(--stroke-soft);
  border-radius: 999px;
  background: var(--sunken);
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--down);
  box-shadow: 0 0 10px var(--down);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-bottom: 22px;
}
.hero-title-main {
  font-size: clamp(2.1rem, 7.2vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
  background: linear-gradient(95deg, #ffffff 0%, #dbe6ff 45%, var(--mint) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-title-by {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  font-weight: 400;
  color: var(--mint);
  text-shadow: 0 0 26px rgb(151 252 228 / 0.35);
}

/* 제목 바로 아래 한 줄. 부제보다 크고 밝아서 시선이 여기 먼저 닿는다 */
/* 캐치프레이즈 (10-24): 굵은 대문자 두 줄, 둘째 줄은 민트 (로고 그라데이션과 같은 색) */
.hero-catch {
  max-width: 720px;
  margin: 0 auto 18px;
  font-family: var(--font);
  font-size: clamp(1.3rem, 3.4vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text);
}
.hero-catch .catch-edge { color: var(--mint); }
/* 히어로 단추 앞 아이콘 (10-24) */
.hero-actions .btn { gap: 8px; }
.cta-ico { flex: none; font-size: 1.05em; line-height: 1; }
.cta-run { color: var(--up); font-size: 0.9em; text-shadow: 0 0 8px rgb(52 211 153 / 0.6); }
/* 줄바꿈 칸: 높이 0 으로 한 줄을 차지하고, 그 줄이 만드는 간격 하나를 되돌린다 */
.hero-break { flex-basis: 100%; height: 0; margin-top: -12px; }

.hero-sub {
  max-width: 660px;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: clamp(0.95rem, 2.1vw, 1.12rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}

.ca-card {
  max-width: 560px;
  margin: 0 auto;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  text-align: left;
}
.ca-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ca-label { color: var(--gold); }
.ca-chain { color: var(--faint); }
.ca-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ca-value {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  padding: 9px 12px;
  border: 1px solid var(--stroke-soft);
  border-radius: 10px;
  background: var(--sunken);
  font-size: 12.5px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  scrollbar-width: none;
}
.ca-value::-webkit-scrollbar { display: none; }
.ca-copy { flex: none; min-width: 78px; }
.ca-copy.is-copied {
  background: rgb(52 211 153 / 0.2);
  border-color: rgb(52 211 153 / 0.55);
  color: var(--up);
}
.ca-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 11px;
  font-size: 12.5px;
}
.dot-sep { color: var(--faint); }

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.hero-chips li {
  padding: 5px 12px;
  border: 1px solid var(--stroke-soft);
  border-radius: 999px;
  background: var(--sunken);
  color: var(--faint);
  font-size: 12px;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  width: 26px;
  height: 42px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  transform: translateX(-50%);
}
.hero-scroll span {
  position: absolute;
  left: 50%;
  top: 9px;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 999px;
  background: var(--muted);
  animation: scrollhint 2s ease-in-out infinite;
}
@keyframes scrollhint {
  0%, 100% { transform: translateY(0); opacity: 0.8; }
  50% { transform: translateY(13px); opacity: 0.2; }
}
@media (max-height: 700px), (max-width: 600px) {
  .hero-scroll { display: none; }
}

/* ---------- sections ---------- */
/* 아래 여백을 줄였다 — 섹션 끝마다 빈 칸이 크게 남던 것(사용자 지적 2026-09-30) */
.section { padding: 96px 0 52px; }
.section-alt {
  border-top: 1px solid var(--stroke-soft);
  border-bottom: 1px solid var(--stroke-soft);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.015), transparent);
}

/* 폭 제한을 두면 넓은 화면에서 설명 문장이 공간을 남기고 꺾인다 — 카드 줄과 같은 폭을 쓴다 (10-06) */
.sec-head { margin-bottom: 48px; }
.sec-head .eyebrow { margin-bottom: 16px; }
.sec-head h2 {
  margin-bottom: 14px;
  font-size: clamp(1.6rem, 4.4vw, 2.5rem);
  font-weight: 600;
}
.sec-lede {
  color: var(--muted);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.65;
}

.group-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 44px 0 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.group-title:first-of-type { margin-top: 0; }
.group-idx {
  padding: 3px 9px;
  border: 1px solid var(--stroke-soft);
  border-radius: 999px;
  background: var(--sunken);
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.group-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--stroke-soft), transparent);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 14px;
}

.card {
  padding: 22px;
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: rgb(138 180 255 / 0.3); transform: translateY(-2px); }
.card h4 {
  margin-bottom: 9px;
  font-size: 1.02rem;
  font-weight: 600;
}
.card p { color: var(--muted); font-size: 0.92rem; line-height: 1.62; }
.card-wide { grid-column: 1 / -1; }

/* ---------- widget screenshots ---------- */
/* 캡처가 들어간 줄은 그림이 읽혀야 하므로 한 줄에 두 장까지만 놓는다 */
.grid-shots {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
}

/* ---------- 빈칸이 생기던 줄들 ----------
 * auto-fit(280px)은 넓은 화면에서 4열이 된다. 카드가 2개면 절반이, 5개면 한 칸이
 * 외따로 남아 "오른쪽이 텅 빈" 것처럼 보였다. 칸 수를 카드 수에 맞춰 고정한다.
 * 좁아지면 auto-fit 으로 돌아가도록 min() 을 함께 쓴다.
 */

/* 03 차트 — 큰 미리보기를 왼쪽에 두고 남는 폭에 나머지 카드를 세로로 쌓는다 */
@media (min-width: 1000px) {
  .grid-split {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    /* 두 기둥의 아래 끝선을 맞춘다 */
    align-items: stretch;
  }
  /*
   * 첫 카드(그림)가 왼쪽 전체를 차지하고, 나머지는 오른쪽 열에 쌓인다.
   * 왼쪽이 차지할 행 수는 오른쪽 카드 수(--rows)와 같아야 한다. 예전에는 넉넉히 99행을 잡았는데,
   * 빈 행 95개의 간격(14px씩)이 그대로 쌓여 섹션 아래에 1,300px 넘는 빈 공간이 생겼다.
   */
  .grid-split > .card-lead {
    grid-row: 1 / span var(--rows, 4);
    grid-column: 1;
  }
  .grid-split > .card-lead + * { grid-column: 2; }
  .grid-split > :not(.card-lead) { grid-column: 2; }
}


/*
 * 카드가 2개뿐인 줄. auto-fit 은 4열을 만들고 남는 두 칸을 0px 로 접는데,
 * 그러면 카드가 왼쪽 절반에 몰린다. 열 수를 카드 수에 맞춘다.
 */
@media (min-width: 900px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* #stake 의 메커니즘 4개도 한 줄로 */
@media (min-width: 1100px) {
  .mech { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/*
 * "왜" 카드 격자와 플라이휠 제목이 맞붙어 보였다. group-title 의 44px 는
 * 같은 성격의 블록 사이 간격이고, 여기는 주제가 바뀌는 자리라 더 벌린다.
 */
.group-title.group-major {
  margin-top: 76px;
  padding-top: 34px;
  border-top: 1px solid var(--stroke-soft);
}

.shot {
  position: relative;
  margin: -4px 0 16px;
  border: 1px solid var(--stroke-soft);
  border-radius: 10px;
  overflow: hidden;
  background: var(--sunken);
  box-shadow: 0 14px 30px -18px rgb(0 0 0 / 0.9);
}
.shot img {
  width: 100%;
  height: auto;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.tag-row li {
  padding: 3px 10px;
  border: 1px solid var(--stroke-soft);
  border-radius: 999px;
  background: var(--sunken);
  color: var(--muted);
  font-size: 11.5px;
}
.tag-row .tag-dim { color: var(--faint); border-style: dashed; }

.legend {
  display: flex;
  gap: 16px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
}
.legend-item { display: inline-flex; align-items: center; gap: 7px; }
.sw { width: 11px; height: 11px; border-radius: 3px; }
.sw-long { background: var(--down); box-shadow: 0 0 10px -2px var(--down); }
.sw-short { background: var(--up); box-shadow: 0 0 10px -2px var(--up); }

/* ---------- on-chain metrics ---------- */
.status-line {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding: 7px 14px;
  border: 1px solid var(--stroke-soft);
  border-radius: 999px;
  background: var(--sunken);
  color: var(--muted);
  font-size: 12.5px;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--faint);
}
.status-line.is-live .status-dot { background: var(--up); box-shadow: 0 0 10px var(--up); }
.status-line.is-pending .status-dot { background: var(--gold); box-shadow: 0 0 10px rgb(251 191 36 / 0.7); }

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.metric {
  padding: 20px;
  border-radius: var(--radius-sm);
}
.metric-label {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.metric-value {
  font-size: clamp(1.5rem, 3.6vw, 1.95rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.metric-note {
  margin-top: 8px;
  color: var(--faint);
  font-size: 12px;
}

/* intentional empty state */
.metric.is-empty { border-style: dashed; border-color: var(--stroke-soft); }
.metric.is-empty .metric-value {
  color: var(--faint);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.metric.is-empty .metric-note { color: rgb(251 191 36 / 0.72); }
.metric.is-live .metric-value { color: var(--text); }
.metric.is-live .metric-note { color: var(--muted); }

.token-facts { padding: 8px 22px; border-radius: var(--radius-sm); }
.token-facts dl { margin: 0; }
.token-facts dl > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--stroke-soft);
}
.token-facts dl > div:last-child { border-bottom: 0; }
.token-facts dt {
  flex: none;
  width: 110px;
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.7;
}
.token-facts dd {
  flex: 1;
  min-width: 220px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- plans ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 14px;
}
.plan {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--radius-sm);
}
.plan-featured {
  border-color: var(--accent-dim);
  box-shadow:
    inset 0 1px 0 var(--highlight),
    0 20px 50px -20px rgb(138 180 255 / 0.55);
}
.plan-flag {
  position: absolute;
  top: -10px;
  left: 24px;
  padding: 3px 11px;
  border: 1px solid var(--accent-dim);
  border-radius: 999px;
  background: #0d1119;
  color: var(--accent);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
/* Lifetime 은 VIP 티어다. "Most common" 과 같은 자리에 걸되 금색으로 격을 달리한다 */
.plan-vip {
  border-color: rgb(251 191 36 / 0.42);
  background-image:
    radial-gradient(120% 90% at 50% -20%, rgb(251 191 36 / 0.14), transparent 62%),
    var(--glass);
  box-shadow:
    inset 0 1px 0 rgb(255 236 180 / 0.22),
    0 22px 56px -20px rgb(251 191 36 / 0.42);
}
.plan-flag-vip {
  border-color: rgb(251 191 36 / 0.6);
  background: linear-gradient(135deg, #2c2007, #120d04);
  color: #ffe9b0;
  font-weight: 600;
  letter-spacing: 0.18em;
  box-shadow: 0 0 18px -3px rgb(251 191 36 / 0.8);
}
.plan-vip .plan-name {
  background: linear-gradient(95deg, #ffffff, #ffe9b0 55%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.plan-name {
  margin-bottom: 14px;
  font-size: 1.05rem;
  font-weight: 600;
}
.plan-amount {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--gold);
}
.plan-unit {
  margin-top: 7px;
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.plan-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--stroke-soft);
}
.plan-list li {
  position: relative;
  padding: 11px 0 0 20px;
  color: var(--muted);
  font-size: 0.89rem;
  line-height: 1.55;
}
.plan-list li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 18px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0.75;
}

.plans-note {
  margin-top: 18px;
  padding: 15px 18px;
  border: 1px dashed rgb(251 191 36 / 0.32);
  border-radius: var(--radius-sm);
  background: rgb(251 191 36 / 0.05);
  color: var(--muted);
  font-size: 0.89rem;
  line-height: 1.6;
}
.plans-note strong { color: var(--gold); font-weight: 600; }

.mech {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 14px;
  margin-top: 36px;
}
.mech-item { padding: 22px; border-radius: var(--radius-sm); }
.mech-item h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
  font-size: 1rem;
  font-weight: 600;
}
.mech-item p { color: var(--muted); font-size: 0.9rem; line-height: 1.62; }
.badge-plan {
  padding: 2px 9px;
  border: 1px solid rgb(251 191 36 / 0.45);
  border-radius: 999px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 44px;
  padding: 28px;
  border-radius: var(--radius);
}
.cta-strip h3 { margin-bottom: 6px; font-size: 1.25rem; }
.cta-strip p { font-size: 0.92rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- footer ---------- */
.footer {
  padding: 56px 0 44px;
  border-top: 1px solid var(--stroke-soft);
  background: var(--bg-alt);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--stroke-soft);
}
.footer-brand { display: flex; align-items: baseline; gap: 8px; }
.footer-brand .brand-name { font-size: 16px; }
.footer-brand .brand-by { font-size: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--muted); font-size: 13.5px; }
.footer-links a:hover { color: var(--text); }

.footer-ca {
  margin: 20px 0 16px;
  font-size: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.footer-ca code { color: var(--faint); }

.disclaimer {
  max-width: 860px;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.7;
}
.copyright { margin-top: 18px; font-size: 12px; }

/* ---------- why / philosophy ---------- */
.taglines {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 28px;
  margin: 0 0 30px;
  padding: 32px 24px;
  border: 1px solid var(--stroke-soft);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 150% at 50% 0%, rgb(138 180 255 / 0.1), transparent 68%),
    var(--sunken);
  text-align: center;
}
.tagline {
  font-size: clamp(1.35rem, 4.4vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
  background: linear-gradient(95deg, #ffffff, #dbe6ff 55%, var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tagline-gold {
  background: linear-gradient(95deg, #ffffff, #ffe9b0 50%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tagline-sep {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--faint);
}
.why-note {
  margin-top: 20px;
  color: var(--faint);
  font-size: 0.85rem;
  line-height: 1.65;
  max-width: 720px;
}

/* ---------- bonding curve phase (early supporter) ---------- */
.nav-hot {
  color: var(--gold) !important;
}
/* 금색 점 대신 살아 있는 표기를 단다. 본딩 커브 구간은 지금 진행 중이라 그게 사실이다 */
.nav-live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  padding: 1px 5px 1px 4px;
  border: 1px solid rgb(255 92 122 / 0.45);
  border-radius: 999px;
  color: var(--down);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  vertical-align: middle;
}
.nav-live .live-dot {
  width: 5px;
  height: 5px;
}
.section-early {
  padding-top: 0;
}
.early-shell {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid rgb(251 191 36 / 0.32);
  border-radius: var(--radius);
  background:
    radial-gradient(130% 140% at 15% 0%, rgb(251 191 36 / 0.1), transparent 62%),
    radial-gradient(100% 120% at 90% 100%, rgb(138 180 255 / 0.08), transparent 60%),
    var(--sunken);
}
/* 한 번씩 훑고 지나가는 하이라이트. 눈에 띄되 읽기를 방해하지 않을 정도로만 */
.shine::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgb(255 255 255 / 0.07) 45%, rgb(251 191 36 / 0.1) 55%, transparent);
  transform: skewX(-14deg);
  animation: shine-sweep 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shine-sweep {
  0%, 62% { left: -60%; }
  100% { left: 125%; }
}
@media (prefers-reduced-motion: reduce) {
  .shine::before { animation: none; opacity: 0.45; left: -60%; }
}
.eyebrow-hot {
  color: var(--gold);
}
.early-title {
  background: linear-gradient(95deg, #ffffff, #ffe9b0 58%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.early-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.early-step {
  position: relative;
  padding: 22px 20px 20px;
  border-radius: var(--radius);
}
.early-step h3 {
  margin: 12px 0 8px;
  font-size: 1rem;
  font-weight: 600;
}
.early-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.early-idx {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--stroke);
  border-radius: 50%;
  color: var(--faint);
  font-size: 12px;
}
/* 3번이 이 제안의 핵심이라 테두리로 시선을 잡는다 */
.early-step-key {
  border-color: rgb(251 191 36 / 0.45);
}
.early-step-key .early-idx {
  border-color: rgb(251 191 36 / 0.5);
  color: var(--gold);
}
.early-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border-radius: var(--radius);
}
.early-callout h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
}
.early-callout p {
  margin: 0;
  max-width: 62ch;
  font-size: 0.9rem;
  line-height: 1.6;
}
/* 사용자를 보호하는 장치라 눈에 띄되 혜택 카드와는 구분되게 */
.early-safeguards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.early-safe {
  padding: 18px 20px;
  border-radius: var(--radius);
  border-color: var(--stroke-soft);
}
.early-safe h4 {
  margin: 0 0 7px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--mint);
}
/* 안전장치들 사이에서 VIP 한 장만 금색으로 떠 있게 한다 */
.early-safe-vip {
  border-color: rgb(251 191 36 / 0.42);
  background-image:
    radial-gradient(120% 90% at 50% -20%, rgb(251 191 36 / 0.14), transparent 62%),
    var(--glass);
  box-shadow:
    inset 0 1px 0 rgb(255 236 180 / 0.2),
    0 18px 46px -22px rgb(251 191 36 / 0.5);
}
.early-safe-vip h4 {
  background: linear-gradient(95deg, #ffffff, #ffe9b0 55%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.early-safe p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}
.early-note {
  margin: 18px 0 0;
  max-width: 760px;
  color: var(--faint);
  font-size: 0.82rem;
  line-height: 1.65;
}

/* ---------- roadmap ---------- */
/*
 * 로드맵은 한 줄 네 칸짜리 타임라인이다(사용자 지시 2026-09-30 — 칸마다 높이가 제각각이고 4+1 로 떨어지던 것).
 * 2026-10-04 하이퍼리퀴드가 들어와 그 칸을 걷으면서 다섯 칸에서 네 칸이 됐다.
 * 칸 높이는 같게(stretch), 위로 가로선과 칸마다 점. 좁은 화면에서는 세로 타임라인으로 떨어진다.
 */
.road-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  margin-top: 64px;
}
.road-grid::before {
  content: '';
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  top: -19px;
  height: 2px;
  background: linear-gradient(90deg, var(--up), var(--accent) 30%, var(--stroke) 100%);
}
.road-col { position: relative; padding: 22px 18px; border-radius: var(--radius-sm); }
.road-col::before {
  content: '';
  position: absolute;
  top: -25px;
  left: 50%;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border: 2px solid var(--stroke);
  border-radius: 50%;
  background: var(--bg);
}
.road-col:first-child::before { border-color: var(--up); background: var(--up); }
.road-col-next::before { border-color: var(--accent); background: var(--accent); }
/* 메인넷 이정표: 점 바로 위에 띄운 알약. 가로 타임라인 위 여백은 .road-grid 의 margin-top 이 만든다 */
.road-milestone {
  position: absolute;
  top: -56px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 12px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: rgb(138 180 255 / 0.14);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 0 18px -4px rgb(138 180 255 / 0.7);
}
@media (max-width: 1100px) {
  .road-grid { grid-template-columns: 1fr; margin-top: 0; padding-left: 28px; }
  .road-grid::before { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, var(--up), var(--accent) 30%, var(--stroke) 100%); }
  .road-col::before { top: 26px; left: -27px; margin-left: 0; }
  .road-milestone { position: static; transform: none; display: inline-block; margin-bottom: 12px; }
}
/* 지금 진행중인 분기라 한 칸만 강조한다 */
.road-col-next {
  border-color: var(--accent-dim);
  box-shadow:
    inset 0 1px 0 var(--highlight),
    0 20px 50px -20px rgb(138 180 255 / 0.5);
}
.road-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.road-when {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.road-state {
  flex: none;
  padding: 2px 9px;
  border: 1px solid var(--stroke-soft);
  border-radius: 999px;
  background: var(--sunken);
  color: var(--faint);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.road-state.is-done { border-color: rgb(52 211 153 / 0.45); color: var(--up); }
.road-state.is-next { border-color: var(--accent-dim); color: var(--accent); }
.road-col h3 {
  margin-bottom: 14px;
  font-size: 1.05rem;
  font-weight: 600;
}
.road-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--stroke-soft);
}
.road-list li {
  position: relative;
  padding: 11px 0 0 20px;
  color: var(--muted);
  font-size: 0.89rem;
  line-height: 1.55;
}
.road-list li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 18px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0.7;
}
.road-list strong { color: var(--text); font-weight: 600; }

/* 모노그램 자리에 실제 로고가 들어가므로 글자용 규칙을 덮는다 */
img.team-avatar {
  object-fit: cover;
  background: #000;
}

/* ---------- team ---------- */
.team-card {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 28px;
  border-radius: var(--radius);
}
.team-avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1px solid var(--stroke);
  border-radius: 50%;
  background: radial-gradient(120% 120% at 30% 20%, rgb(151 252 228 / 0.26), rgb(138 180 255 / 0.12) 60%, transparent);
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  color: var(--mint);
  letter-spacing: 0.02em;
}
.team-body {
  flex: 1;
  min-width: 240px;
}
.team-name {
  margin-bottom: 3px;
  font-size: 1.5rem;
}
.team-name .brand-by { font-size: 1.5rem; }
.team-body .team-role {
  margin-bottom: 14px;
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.team-text p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}
.team-text p + p { margin-top: 10px; }
.team-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.team-link { margin-top: 0; }

/*
 * 상단바의 "Pricing" 은 오답 표시처럼 빨간 줄이 그어지고, 그 자리 위에 "Staking" 이 덮어쓰인다.
 * 두 낱말을 같은 격자 칸에 포개 두므로 칸은 넓은 쪽에 맞춰지고, 상단바 폭은 조금도 흔들리지 않는다.
 */
.nav-correct .nc-box {
  position: relative;
  display: inline-grid;
  align-items: center;
  justify-items: center;
}
.nav-correct .nc-box > span {
  grid-area: 1 / 1;
  white-space: nowrap;
  transition: opacity 0.18s ease, transform 0.22s ease;
}
/* 빨간 줄은 칸에 긋는다. 틀린 낱말에 붙이면 그 낱말이 흐려질 때 줄까지 함께 흐려진다 */
.nav-correct .nc-box::after {
  content: '';
  position: absolute;
  z-index: 1;
  top: 54%;
  left: -10%;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--down);
  box-shadow: 0 0 8px rgb(251 113 133 / 0.9);
  transform: translateY(-50%) rotate(-4deg);
  transform-origin: left center;
  transition: width 0.16s ease-out;
}
/* 정정된 낱말은 줄 위로 올라앉는다. transform 은 배치를 바꾸지 않으므로 칸 폭은 그대로다 */
.nav-correct .nc-right {
  z-index: 2;
  opacity: 0;
  color: var(--mint);
  font-weight: 600;
  text-shadow: 0 0 6px #070911, 0 0 3px #070911, 0 1px 2px #070911;
  transform: rotate(-3deg) translateY(-5px) scale(0.94);
}
.nav-correct:hover .nc-box::after,
.nav-correct:focus-visible .nc-box::after { width: 120%; }
.nav-correct:hover .nc-wrong,
.nav-correct:focus-visible .nc-wrong { opacity: 0.5; }
.nav-correct:hover .nc-right,
.nav-correct:focus-visible .nc-right {
  opacity: 1;
  transform: rotate(-3deg) translateY(-5px) scale(1);
}

/* ---------- responsive ---------- */
@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .card, .metric, .plan, .mech-item { padding: 18px; }
  .cta-strip { padding: 22px; }
  .token-facts { padding: 6px 18px; }
  .token-facts dt { width: 100%; }
  .token-facts dd { min-width: 0; }
  .hero { padding: 48px var(--gutter) 72px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .ca-row { flex-wrap: wrap; }
  .ca-copy { width: 100%; }
}

@media (min-width: 1600px) {
  :root { --maxw: 1400px; }
}

/* ================================================================
 * 2026-09-18 추가분
 * 언어 전환기 / 베타 버튼 / 스토리 / flywheel / 워크스페이스 도식 / 연락처
 * ================================================================ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- language switcher ---------- */
.lang-pick { flex: none; display: inline-flex; }
.lang-pick select {
  height: 32px;
  padding: 0 26px 0 12px;
  border: 1px solid var(--stroke-soft);
  border-radius: 999px;
  background-color: var(--sunken);
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  /* 화살표를 배경으로 그린다. 아이콘 파일이나 래퍼 요소가 필요 없다 */
  background-image:
    linear-gradient(45deg, transparent 50%, var(--faint) 50%),
    linear-gradient(135deg, var(--faint) 50%, transparent 50%);
  background-position: calc(100% - 15px) 14px, calc(100% - 11px) 14px;
  background-size: 4px 4px, 4px 4px;
  background-repeat: no-repeat;
  transition: color 0.15s, border-color 0.15s;
}
.lang-pick select:hover { color: var(--text); border-color: var(--stroke); }
/* 목록은 OS 가 그리므로 어두운 배경을 직접 준다. 안 주면 흰 바탕에 흰 글씨가 된다 */
.lang-pick select option { background: #0d1119; color: var(--text); }

/* ---------- beta button (아직 열리지 않음) ---------- */
.beta-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0 0 32px;
}
.btn-beta {
  border-color: rgb(251 191 36 / 0.4);
  background: linear-gradient(180deg, rgb(251 191 36 / 0.16), rgb(251 191 36 / 0.06));
  color: #ffe9b0;
}
/* 비활성은 "눌리지 않는다"가 눈으로 보여야 한다. 커서까지 바꾼다 */
.btn:disabled,
.btn.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.35);
  transform: none;
}
.btn:disabled:hover,
.btn.is-disabled:hover { background: var(--fill); }
.btn-beta:hover { background: linear-gradient(180deg, rgb(251 191 36 / 0.26), rgb(251 191 36 / 0.1)); }
.btn-beta:disabled:hover { background: linear-gradient(180deg, rgb(251 191 36 / 0.16), rgb(251 191 36 / 0.06)); }
.beta-note { color: var(--faint); font-size: 12px; }

/* ---------- hero contact row ---------- */
.hero-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
.hero-contact-label {
  color: var(--faint);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-contact .btn { height: 30px; font-size: 12.5px; }

/* ---------- story ---------- */
.story-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.story-step { padding: 24px 22px; border-radius: var(--radius-sm); }
.story-idx {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 10px;
  border: 1px solid var(--stroke-soft);
  border-radius: 999px;
  background: var(--sunken);
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.1em;
}
.story-step h3 { margin-bottom: 9px; font-size: 1.02rem; font-weight: 600; }
.story-step p { color: var(--muted); font-size: 0.92rem; line-height: 1.62; }
/* 세 번째가 비즈니스 모델로 넘어가는 지점이라 한 장만 금색으로 잡는다 */
.story-step-key { border-color: rgb(251 191 36 / 0.4); }
.story-step-key .story-idx { border-color: rgb(251 191 36 / 0.45); color: var(--gold); }
.story-step-key strong { color: var(--gold); font-weight: 600; }

.story-quote {
  margin-top: 18px;
  padding: 26px 28px;
  border-radius: var(--radius);
  text-align: center;
}
.story-quote-text {
  max-width: 64ch;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2.6vw, 1.45rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--text);
}
.story-quote-by { margin-top: 12px; font-size: 1rem; }

/* ---------- "계속 제공되는 것" ---------- */
.ongoing { border-color: rgb(151 252 228 / 0.26); }
.ongoing h4 { color: var(--mint); }

/* ---------- flywheel ---------- */
.fly-lede {
  max-width: 760px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}
.fly { position: relative; display: grid; gap: 14px; }
.fly-ring, .fly-hub { display: none; }
.fly-node { position: relative; padding: 20px 20px 18px; border-radius: var(--radius-sm); }
.fly-actor {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  border: 1px solid var(--stroke-soft);
  border-radius: 999px;
  background: var(--sunken);
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.fly-node h4 { margin-bottom: 8px; font-size: 0.98rem; font-weight: 600; }
.fly-node p { color: var(--muted); font-size: 0.88rem; line-height: 1.6; }
.fly-node strong { color: var(--text); font-weight: 600; }
/* 각 노드가 만들어 내는 "효과"만 따로 떼어 읽히게 한다 */
.fly-effect { display: block; margin-top: 8px; color: var(--mint); font-weight: 500; }
.fly-n2 .fly-actor { color: var(--gold); border-color: rgb(251 191 36 / 0.35); }
.fly-n2 .fly-effect { color: var(--gold); }

/* 좁은 화면에서는 원형 대신 세로 사슬로 읽는다 */
@media (max-width: 899px) {
  .fly { margin-bottom: 26px; }
  .fly-node + .fly-node { margin-top: 26px; }
  .fly-node + .fly-node::before {
    content: '\2193';
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent);
    font-size: 15px;
    opacity: 0.7;
  }
  /* 마지막에서 첫 번째로 돌아간다는 것을 한 글자로 알린다 */
  .fly-n4::after {
    content: '\21BA';
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--mint);
    font-size: 16px;
    opacity: 0.75;
  }
}

/* 넓은 화면에서만 실제 원형 도식이 된다 */
@media (min-width: 900px) {
  /*
   * 궤도가 카드 사이 간격보다 작으면 "카드 4장 + 무관한 작은 원"으로 읽힌다.
   * 고리로 보이게 하려면 원이 카드 안쪽 가장자리에 닿아야 하므로,
   * 지름을 열 간격보다 크게 잡는다. (열 간격 210 < 궤도 지름 420)
   */
  .fly {
    grid-template-columns: 1fr 1fr;
    gap: 22px 210px;
    place-items: center;
    max-width: 1060px;
    margin: 0 auto;
    padding: 26px 0;
  }
  .fly-ring {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 420px;
    height: 420px;
    transform: translate(-50%, -50%);
    pointer-events: none;
  }
  .fly-track { fill: none; stroke: rgb(255 255 255 / 0.08); stroke-width: 1.5; stroke-dasharray: 3 7; }
  .fly-arc { fill: none; stroke: url(#flyStroke); stroke-width: 2; stroke-linecap: round; opacity: 0.85; }
  .fly-hub {
    display: grid;
    position: absolute;
    top: 50%;
    left: 50%;
    place-items: center;
    gap: 2px;
    width: 172px;
    height: 172px;
    transform: translate(-50%, -50%);
    border: 1px solid rgb(151 252 228 / 0.3);
    border-radius: 50%;
    background:
      radial-gradient(120% 120% at 50% 0%, rgb(151 252 228 / 0.16), transparent 66%),
      var(--sunken);
    pointer-events: none;
  }
  .fly-hub-mark { color: var(--mint); font-size: 26px; line-height: 1; }
  .fly-hub-text { color: var(--text); font-size: 13px; font-weight: 600; }
  .fly-node { max-width: 400px; }
  .fly-n1 { grid-area: 1 / 1; }
  .fly-n2 { grid-area: 1 / 2; }
  .fly-n3 { grid-area: 2 / 2; }
  .fly-n4 { grid-area: 2 / 1; }
}
@media (min-width: 1200px) { .fly { gap: 26px 250px; } }

/* ---------- 지속가능성 ---------- */
.sus-card { border-color: rgb(52 211 153 / 0.24); }
.sus-card h4 { color: var(--up); }
.sus-card strong { color: var(--text); font-weight: 600; }

/* ---------- 연락처 ---------- */
.contact { margin-top: 28px; }
.contact-head { margin-bottom: 16px; }
.contact-head h3 { margin-bottom: 6px; font-size: 1.2rem; }
.contact-head p { font-size: 0.92rem; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 12px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}
a.contact-card:hover {
  border-color: rgb(138 180 255 / 0.35);
  transform: translateY(-2px);
  text-decoration: none;
}
.contact-kind {
  color: var(--faint);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.contact-value {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.contact-card-soon { border-style: dashed; }
.contact-card-soon .contact-value { color: var(--faint); }
.contact-sub { margin-top: 4px; color: var(--muted); font-size: 0.82rem; line-height: 1.55; }
.contact-sub strong { color: var(--gold); font-weight: 600; }
.team-personal-note { margin-top: 12px; font-size: 0.82rem; }

/* ---------- CJK 줄바꿈 ---------- */
/*
 * 한국어·일본어·중국어는 낱말 중간에서도 줄이 바뀐다. 제목에 그대로 두면
 * 두 글자만 남고 넘어가는 식으로 깨지므로 번역된 문서에서만 규칙을 바꾼다.
 */
:root[data-lang='ko'] h1, :root[data-lang='ko'] h2,
:root[data-lang='ko'] h3, :root[data-lang='ko'] h4,
:root[data-lang='ja'] h1, :root[data-lang='ja'] h2,
:root[data-lang='ja'] h3, :root[data-lang='ja'] h4,
:root[data-lang='zh'] h1, :root[data-lang='zh'] h2,
:root[data-lang='zh'] h3, :root[data-lang='zh'] h4 {
  word-break: keep-all;
  line-break: strict;
}
:root[data-lang='ko'] .hero-catch,
:root[data-lang='ja'] .hero-catch,
:root[data-lang='zh'] .hero-catch { word-break: keep-all; }
/* 영문용 세리프 이탤릭은 CJK 글자에서 가짜 기울임이 되어 읽기 나쁘다 */
:root[data-lang='ko'] .story-quote-text,
:root[data-lang='ja'] .story-quote-text,
:root[data-lang='zh'] .story-quote-text {
  font-family: var(--font);
  font-style: normal;
}

/* ---------- 상단바 여유 ---------- */
/*
 * 링크가 9개로 늘고 언어 전환기까지 들어갔다. 기존 단계(1180/1040/860)만으로는
 * 그 사이 구간에서 눌려 보이므로 한 단계를 앞에 더 둔다.
 */
@media (max-width: 1320px) {
  .nav-links a[href='#story'] { display: none; }
}
@media (max-width: 860px) {
  .lang-pick { margin-left: auto; }
  .nav-cta { margin-left: 0; }
}
@media (max-width: 460px) {
  /* 아주 좁으면 상단바 CTA 를 접는다. 히어로에 같은 버튼이 있다 */
  .nav-cta { display: none; }
}

/* ---------- logo: "rekt" in red, a red down-candle for the dot, "page" in mint ---------- */
.rk { background: none !important; -webkit-text-fill-color: initial; color: inherit; white-space: nowrap; }
.rk-rekt, .rk-page { -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.rk-rekt { background-image: linear-gradient(180deg, #ff8fa3 0%, #e11d48 100%); }
.rk-page { background-image: linear-gradient(95deg, #dbe6ff 0%, #97fce4 100%); }
.rk-dot {
  position: relative; display: inline-block;
  width: 0.17em; height: 0.54em; margin: 0 0.035em; vertical-align: -0.136em;
  color: transparent; -webkit-text-fill-color: transparent;
  /* overflow hides the "." glyph and puts the baseline at the bottom edge */
  overflow: hidden; filter: drop-shadow(0 0 0.06em rgb(251 113 133 / 0.6));
}
.rk-dot::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: max(1px, 0.028em); transform: translateX(-50%);
  background: #fb7185; border-radius: 1em;
}
.rk-dot::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0.062em; height: 0.34em;
  background: linear-gradient(180deg, #fb7185, #e11d48); border-radius: 0.02em;
}

/* 그림 왼쪽, 설명 오른쪽. 한 장만 남은 섹션이 반쪽만 차고 옆이 비지 않게 */
.card-side { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 22px; align-items: center; }
.card-side .shot { margin: 0; }
@media (max-width: 760px) { .card-side { grid-template-columns: 1fr; } }

/* 팀 카드 링크 앞의 서비스 아이콘 */
.team-link-icon { width: 16px; height: 16px; margin-right: 8px; flex: none; vertical-align: -3px; }

/* 문의(이메일) 1 : 공식 채널 3. 이메일 카드가 채널 카드 하나와 같은 폭이 된다 */
.contact-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 24px; align-items: start; }
.contact-grid-1 { grid-template-columns: 1fr; }
.contact-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .contact-split { grid-template-columns: 1fr; }
  .contact-grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
}

/* 연락처: 두 묶음의 머리글과 카드를 같은 행에 놓아, 안내문 길이가 달라도 카드 윗변·아랫변이 맞게 한다 */
@media (min-width: 901px) {
  .contact-split { grid-template-rows: auto auto; align-items: stretch; row-gap: 0; }
  .contact-group { display: contents; }
  .contact-split > .contact-group:first-child > .contact-head { grid-column: 1; grid-row: 1; }
  .contact-split > .contact-group:first-child > .contact-grid { grid-column: 1; grid-row: 2; }
  .contact-split > .contact-group:last-child > .contact-head { grid-column: 2; grid-row: 1; }
  .contact-split > .contact-group:last-child > .contact-grid { grid-column: 2; grid-row: 2; }
}

/* 옆 설명 아래의 요점 카드. 한 장짜리 섹션의 오른쪽이 두 줄로 끝나 휑하던 자리를 위젯이 실제로 보여 주는 것으로 채운다 */
.side-points { list-style: none; display: grid; gap: 10px; margin: 18px 0 0; padding: 0; }
.side-points li {
  padding: 12px 14px 12px 16px;
  border: 1px solid var(--stroke-soft);
  border-left: 3px solid var(--mint);
  border-radius: 10px;
  background: rgb(255 255 255 / 0.03);
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
}
.side-points li strong { display: block; margin-bottom: 2px; color: var(--text); }
.card-side-text h4 { font-size: 1.25rem; }

/* ---------- 포인트 파밍: 세 단계 흐름 ---------- */
.points-flow { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; counter-reset: none; }
.points-flow li { position: relative; padding: 22px 20px 20px; }
.points-flow h3 { margin: 10px 0 6px; font-size: 1.05rem; }
.points-flow p { margin: 0; color: var(--muted); line-height: 1.6; }
.points-step {
  display: inline-grid; place-items: center; width: 28px; height: 28px;
  border: 1px solid var(--mint); border-radius: 50%;
  color: var(--mint); font-weight: 700; font-size: 0.85rem;
  box-shadow: 0 0 14px -4px rgb(151 252 228 / 0.7);
}
.points-note { margin: 16px 2px 0; color: var(--faint); font-size: 0.88rem; }
@media (max-width: 1100px) { .points-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .points-flow { grid-template-columns: 1fr; } }

/* 요금제 구획: 무료 두 가지(15분·1일)를 이용권 카드 위에 (10-05) */
.acc-free {
  margin: 0 0 14px;
}

/* ---- 랜딩 점검 반영 (10-05) ---- */
/* 첫 화면 플랫폼: 가동 중인 것은 초록 점, 곧 나올 것은 금색 배지 */
.hero-chips .chip-live { display: inline-flex; align-items: center; gap: 6px; }
.badge-soon { color: #fbbf24; border-color: rgb(251 191 36 / 0.45); background: rgb(251 191 36 / 0.1); }

/* 토크노믹스 분배 — 원은 conic-gradient 로 그린다 (그림 파일·라이브러리 없이) */
.tok {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  padding: 22px 24px;
  margin-bottom: 28px;
}
.tok-pie {
  width: 200px;
  aspect-ratio: 1;
  border-radius: 50%;
  /* --burn: 누적 소각이 처음 공급량(10억)에서 차지하는 비율. 시장에서 사서 태운 것이라 공정 출시 몫에서 깎는다 */
  --burn: 0%;
  background: conic-gradient(#fb7185 0 var(--burn), #97fce4 var(--burn) 65%, #8ab4ff 65% 90%, #fbbf24 90% 100%);
  display: grid;
  place-items: center;
  box-shadow: 0 0 40px -10px rgb(151 252 228 / 0.4);
}
.tok-hole {
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--bg, #07090d);
  display: grid;
  place-content: center;
  text-align: center;
  gap: 2px;
}
.tok-hole strong { font-size: 13px; letter-spacing: -0.01em; }
.tok-hole span { font-size: 11px; color: var(--muted); }
.tok-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.tok-legend li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 12px; align-items: start; }
.tok-swatch { width: 14px; height: 14px; border-radius: 4px; margin-top: 3px; }
.tok-fair { background: #97fce4; }
.tok-air { background: #8ab4ff; }
.tok-team { background: #fbbf24; }
.tok-burn { background: #fb7185; }
.tok-hole .tok-hole-burn { font-size: 10.5px; color: #fb7185; }
.tok-hole-burn b { font-weight: 700; }
.tok-burned .tok-name b { color: #fb7185; }
.tok-name { margin: 0 0 3px; font-weight: 600; }
.tok-name b { margin-left: 4px; }
.tok-note { margin: 0; font-size: 13px; line-height: 1.55; color: var(--muted); }
.tok-addr code { font-size: 12px; word-break: break-all; }
@media (max-width: 720px) {
  .tok { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .tok-pie { width: 170px; }
}
/* 웹 앱은 지금 쓸 수 있다 — 초록 점, 밝은 글자 */
.hero-chips .chip-live { color: var(--text, #f3f5fa); border-color: rgb(74 222 128 / 0.4); }
.hero-chips .chip-live .live-dot { background: #4ade80; box-shadow: 0 0 8px #4ade80; }

/* 토크노믹스 슬로건 아래 docs 링크 (10-05) */
.why-more { display: inline-block; margin: 4px 0 30px; }

/* "곧" 은 청록 — 금색 "계획"(.badge-plan) 과 한눈에 갈리게 (10-05). 위의 금색 badge-soon 규칙을 덮는다 */
.badge-plan.badge-soon { color: #5eead4; border-color: rgb(94 234 212 / 0.5); background: rgb(94 234 212 / 0.1); }

/* ---- 분배 + 플라이휠 한 줄 (10-05) ---- */
.tok-fly { display: grid; gap: 28px; margin-bottom: 20px; }
.fly-node h4 { margin-bottom: 4px; }
@media (min-width: 1100px) {
  .tok-fly { grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.7fr); align-items: start; gap: 36px; }
  /* 왼쪽 칸: 원그래프를 위, 범례를 아래로 */
  .tok-fly .tok { grid-template-columns: minmax(0, 1fr); justify-items: center; margin-bottom: 0; }
  .tok-fly .tok-legend { width: 100%; }
  /* 오른쪽 칸: 플라이휠을 좁은 폭에 맞춰 줄인다 (궤도 지름 > 열 간격 이어야 고리로 읽힌다) */
  .tok-fly .fly { grid-template-columns: 1fr 1fr; gap: 18px 150px; max-width: none; padding: 16px 0; }
  .tok-fly .fly-ring { width: 330px; height: 330px; }
  .tok-fly .fly-node { width: 100%; padding: 16px 16px 14px; }
  .tok-fly .fly-lede { margin-bottom: 10px; max-width: none; }
}
/* 다듬기: 고리가 카드에 가리지 않게 간격·지름을 키우고, 플라이휠을 오른쪽 칸 높이 가운데에 */
@media (min-width: 1100px) {
  .tok-fly { align-items: stretch; }
  .fly-col { display: flex; flex-direction: column; }
  .fly-col .fly { flex: 1; align-content: center; gap: 26px 190px; }
  .tok-fly .fly-ring { width: 380px; height: 380px; }
}
.tok-fly + .why-note { margin: 4px 0 34px; }

/* 자세히 보기 링크는 플라이휠 고지문 아래 (10-05) */
.tok-fly + .why-note { margin-bottom: 8px; }
.why-note + .why-more { margin: 0 0 34px; }

/* ---- 요금제 정리 (10-05) ---- */
.plan-free .plan-amount { color: var(--mint); }
/* 토큰 정보: 분배 칸 아래 · 온체인 스탯 아래 */
.tok-facts, .tok-programs { display: grid; gap: 8px; margin: 14px 0 0; width: 100%; }
.tok-facts > div, .tok-programs > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; font-size: 12.5px; }
.tok-facts dt, .tok-programs dt { color: var(--faint, var(--muted)); }
.tok-facts dd, .tok-programs dd { margin: 0; color: var(--muted); }
.tok-facts code, .tok-programs code { font-size: 11.5px; word-break: break-all; }
.tok-facts { padding-top: 14px; border-top: 1px solid var(--stroke-soft); }
.tok-programs { margin: 12px 0 28px; }
/* 상단바 Jupiter — 좁은 화면에서는 앱 실행만 남긴다 */
.nav-buy { margin-right: 6px; }
@media (max-width: 720px) { .nav-buy { display: none; } }

/* 첫 화면 토큰 줄 (10-05) */
.hero-token { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 18px auto 4px; max-width: 100%; }
.hero-token-label { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; }
.hero-ca {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  max-width: 100%;
  padding: 6px 12px;
  border: 1px solid var(--stroke-soft);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.03);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}
.hero-ca:hover { border-color: rgb(151 252 228 / 0.45); }
.hero-ca code { font-size: 12px; overflow-wrap: anywhere; }
.hero-ca-done { font-size: 11px; color: var(--mint); }

/* ---- 앱 실행 나뉜 단추 (10-05) ---- */
.launch-split { position: relative; display: inline-flex; }
.launch-split .launch-main { border-top-right-radius: 0; border-bottom-right-radius: 0; gap: 8px; }
.launch-split .launch-caret { border-top-left-radius: 0; border-bottom-left-radius: 0; padding-left: 12px; padding-right: 12px; border-left: 1px solid rgb(255 255 255 / 0.18); }
.launch-menu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 20;
  min-width: 100%; padding: 6px;
  display: grid; gap: 2px;
  border: 1px solid var(--stroke-soft); border-radius: 12px;
  background: rgb(12 14 22 / 0.97); box-shadow: 0 18px 40px -12px rgb(0 0 0 / 0.6);
}
.launch-menu button {
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 9px 12px; border: 0; border-radius: 8px; background: none;
  color: var(--text); font: inherit; font-size: 14px; text-align: left; cursor: pointer;
}
.launch-menu button:hover, .launch-menu button:focus-visible { background: rgb(255 255 255 / 0.06); }
.badge-vip {
  padding: 1px 7px; border: 1px solid rgb(251 191 36 / 0.55); border-radius: 999px;
  color: var(--gold); background: rgb(251 191 36 / 0.1);
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
}

/* ---- 토큰 줄 키우기 (10-05) ---- */
.hero-token { margin-top: 26px; gap: 10px; }
.hero-token-label { font-size: 13px; }
.hero-ca { padding: 10px 18px; }
.hero-ca code { font-size: 14px; }
.btn-jup { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; font-size: 14px; }
/* 유튜브 라이브 단추 (10-24): 유튜브 로고 + 빨간 LIVE 딱지로 유튜브인 게 바로 보이게 */
.btn-yt { display: inline-flex; align-items: center; gap: 10px; border-color: rgb(255 0 51 / 0.45); }
.btn-yt:hover { background: rgb(255 0 51 / 0.12); border-color: rgb(255 0 51 / 0.75); }
.btn-yt .yt-logo { display: block; flex: none; }
.yt-live { padding: 2px 6px; border-radius: 4px; background: #ff0033; color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; line-height: 1.3; }
/* 에어드랍 단추 표시: 빨간 점은 라이브 단추와 겹쳐서 금색 반짝이로 (10-24) */
.air-spark { color: #ffd166; font-size: 15px; text-shadow: 0 0 8px rgb(255 209 102 / 0.8); animation: pulse 2.4s ease-in-out infinite; }
.btn-jup img, .nav-buy img { display: block; }
.nav-buy { display: inline-flex; align-items: center; gap: 6px; }
.launch-menu[hidden], .launch-vip[hidden] { display: none; }

/* ---- 온체인 스탯 두 판 (10-06) ---- */
.chain-boards { display: grid; gap: 16px; margin: 12px 0 34px; }
@media (min-width: 1000px) { .chain-boards { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.chain-board { padding: 18px 20px; }
.chain-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.chain-head h4 { margin: 0; font-size: 1rem; }
.chain-addr code { font-size: 11.5px; color: var(--muted); }
.chain-addr:hover code { color: var(--text); }
.metrics.metrics-tight { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.chain-sub { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 8px; font-size: 0.86rem; font-weight: 600; color: var(--muted); }
.chain-foot { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }
.stack-bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: rgb(255 255 255 / 0.06); }
.stack-bar.is-empty { height: auto; padding: 6px 12px; font-size: 12px; color: var(--muted); background: rgb(255 255 255 / 0.03); }
.stack-bar .seg { display: block; height: 100%; }
.chain-table { width: 100%; margin-top: 8px; border-collapse: collapse; font-size: 13px; }
.chain-table td { padding: 6px 0; border-bottom: 1px solid var(--stroke-soft); color: var(--muted); }
.chain-table td:first-child { display: flex; align-items: center; gap: 8px; }
.chain-table td[data-v] { text-align: right; color: var(--text); font-variant-numeric: tabular-nums; }
.chain-table td[data-p] { width: 54px; text-align: right; font-variant-numeric: tabular-nums; }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; flex: none; }
.sw-life, .seg.sw-life { background: #c79bff; }
.sw-fee, .seg.sw-fee { background: #97fce4; }
.sw-dev, .seg.sw-dev { background: #fbbf24; }
.sw-other, .seg.sw-other { background: #64748b; }
.sw-spent, .seg.sw-spent { background: #8ab4ff; }
.sw-wait, .seg.sw-wait { background: #97fce4; }
/* 두 판은 위아래로, 소각 금고 안은 'REKT 입금 | SOL' 두 칸 (10-06) */
@media (min-width: 1000px) { .chain-boards { grid-template-columns: minmax(0, 1fr); } }
.chain-split { display: grid; gap: 4px 28px; }
@media (min-width: 900px) { .chain-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
/* 온체인 스탯 판의 주소: 전체 주소를 상자에 — 눌러서 복사, 옆에 Solscan (10-06) */
.chain-head { flex-wrap: wrap; }
.addr-box { display: flex; align-items: center; gap: 8px; width: 100%; margin-top: 8px; }
.addr-copy {
  flex: 1; min-width: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 14px;
  border: 1px solid var(--stroke-soft); border-radius: 10px;
  background: rgb(0 0 0 / 0.28);
  color: var(--text); font: inherit; text-align: left; cursor: pointer;
}
.addr-copy:hover { border-color: rgb(151 252 228 / 0.45); }
.addr-copy code { font-size: 13.5px; letter-spacing: 0.02em; overflow-wrap: anywhere; }
.addr-link { flex: none; font-size: 12.5px; color: #a5b4fc; }
/* 오른쪽 정렬 (10-06): 온체인 스탯 상태 줄, 모든 docs 링크 */
#tokenStatsStatus { display: flex; width: max-content; max-width: 100%; margin-left: auto; }
a.more-link, a.more-link.why-more { display: block; width: max-content; max-width: 100%; margin-left: auto; text-align: right; }

/* ---- 면책 조항 · 이용약관 팝업 (10-06) ---- */
.footer-legal { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.footer-legal:hover { color: var(--text); }
dialog.legal {
  width: min(680px, calc(100vw - 32px));
  max-height: min(80vh, 760px);
  padding: 0;
  border: 1px solid var(--stroke-soft);
  border-radius: 18px;
  background: #0d1018;
  color: var(--text);
  box-shadow: 0 30px 80px -20px rgb(0 0 0 / 0.7);
}
dialog.legal::backdrop { background: rgb(4 6 10 / 0.7); backdrop-filter: blur(3px); }
.legal-body { max-height: calc(min(80vh, 760px) - 64px); overflow-y: auto; padding: 24px 26px 8px; }
.legal-body h2 { margin: 0 0 12px; font-size: 1.15rem; }
.legal-body h3 { margin: 16px 0 6px; font-size: 0.9rem; }
.legal-body p { margin: 0; font-size: 13px; line-height: 1.65; color: var(--muted); }
.legal-intro { margin-bottom: 4px !important; }
.legal-actions { display: flex; justify-content: flex-end; padding: 12px 26px 18px; margin: 0; }

/* 분배 칸 안의 주소 상자 (10-06) */
.tok-legend .addr-box { margin-top: 6px; }
.tok-legend .addr-copy { padding: 7px 10px; }
.tok-legend .addr-copy code, .tok-facts .addr-copy code { font-size: 12px; }
.tok-facts .addr-box { margin-top: 0; }
.tok-facts .addr-copy { padding: 6px 10px; }
.tok-ca { font-size: 12px; overflow-wrap: anywhere; color: var(--text); }
.tok-ca-row { display: flex; align-items: center; gap: 10px; }
.tok-ca-row .tok-ca { font-weight: 600; }
.copy-ca { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; font-size: 12px; }
/*
 * 한국어는 띄어쓰기 단위로만 줄을 바꾼다 (10-06). 브라우저 기본은 한글을 글자 단위로 끊어
 * "돌아옵|니다" 처럼 단어 중간에서 줄이 바뀐다. 아주 긴 주소·영문은 넘치지 않게 anywhere 로 받친다.
 */
html:lang(ko) body { word-break: keep-all; overflow-wrap: anywhere; }

/*
 * 모바일 버튼 정리 (10-07). 줄마다 버튼 폭이 제각각이었다 — 앱 실행은 글자 폭, 문서 보기는 꽉 찬 폭,
 * Jupiter 는 중간. 히어로의 큰 버튼은 모두 꽉 찬 폭, 커뮤니티 버튼은 같은 폭으로 맞춘다.
 */
@media (max-width: 720px) {
  .hero-actions .launch-split { display: flex; flex: 1 1 100%; }
  .hero-actions .launch-split .launch-main { flex: 1 1 auto; }
  .hero-actions .launch-split .launch-caret { flex: 0 0 56px; }
  .hero-token .hero-ca,
  .hero-token .btn-jup { flex: 1 1 100%; justify-content: center; }
  .hero-contact-label { flex: 1 1 100%; text-align: center; }
  .hero-contact .btn { flex: 1 1 0; height: 36px; }
  .team-link { flex: 1 1 100%; }
  /* 토큰 주소가 두 줄로 꺾이면 복사할 때 헷갈린다. 한 줄에 들어가게 줄인다 */
  .hero-ca code { font-size: 11.5px; letter-spacing: -0.01em; white-space: nowrap; }
  .hero-ca { padding-left: 12px; padding-right: 12px; }
}

/* 분배 박스 우하단 면책 링크 (10-08) */
.tok-disc { grid-column: 1 / -1; justify-self: stretch; width: 100%; margin: 10px 0 0; text-align: right; }
dialog.legal .legal-body p + p { margin-top: 10px; }
#dlgDist .legal-body p, #dlgAirdrop .legal-body p { margin: 0 0 14px; }
.tok-disc .footer-legal { color: var(--muted); font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px; }
.tok-disc .footer-legal:hover { color: var(--text); }

/* 온체인 통계 칸 → 30일 추이 팝업 (10-08) */
.metric.is-chartable { cursor: pointer; transition: border-color 0.15s ease, transform 0.15s ease; }
.metric.is-chartable:hover, .metric.is-chartable:focus-visible { border-color: rgb(151 252 228 / 0.45); transform: translateY(-1px); outline: none; }
.metric.is-chartable::after { content: "↗"; position: absolute; top: 12px; right: 14px; font-size: 12px; color: var(--muted); opacity: 0; transition: opacity 0.15s ease; }
.metric.is-chartable { position: relative; }
.metric.is-chartable:hover::after { opacity: 1; }
dialog.stat-chart { width: min(720px, calc(100vw - 32px)); }
dialog.stat-chart .legal-body .sc-now { margin: 2px 0 14px; font-size: 22px; font-weight: 650; color: var(--text); }
.sc-box { position: relative; height: 240px; }
.sc-box svg { width: 100%; height: 100%; display: block; touch-action: none; }
.sc-line { fill: none; stroke: #97fce4; stroke-width: 2; vector-effect: non-scaling-stroke; }
.sc-grid { stroke: rgb(255 255 255 / 0.08); stroke-width: 1; vector-effect: non-scaling-stroke; }
.sc-axis { fill: var(--muted); font-size: 11px; }
.sc-cursor { stroke: rgb(255 255 255 / 0.25); stroke-width: 1; vector-effect: non-scaling-stroke; }
.sc-dot { fill: #97fce4; stroke: #07090d; stroke-width: 2; }
.sc-tip { position: absolute; top: 0; transform: translateX(-50%); padding: 3px 8px; border: 1px solid var(--stroke-soft); border-radius: 8px; background: rgb(7 9 13 / 0.9); font-size: 12px; white-space: nowrap; pointer-events: none; }
.sc-note { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }
.sc-loading { margin: 0; padding-top: 100px; text-align: center; color: var(--muted); }

/* ---------- 폰 (600px 이하), 10-14 모바일 검토 ---------- */
/* 이 파일 맨 끝에 둔다: 앞쪽 .section·.shot 기본값과 720px 규칙을 덮어야 해서 */
/* 폰에서는 섹션 위 96px 가 한 화면의 1/4 가까운 빈칸이었다 (10-14 모바일 검토) */
@media (max-width: 600px) {
  .section { padding: 56px 0 40px; }
  /* 플랫폼 칩 넷이 3+1 로 갈려 iOS 만 혼자 남던 것 → 2×2 */
  .hero-chips { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; }
  .hero-chips li { text-align: center; }
  /* 위젯 캡처가 폰 폭으로 줄면 글자가 5px 남짓이라 읽히지 않는다 → 읽히는 크기로 두고 칸 안에서 옆으로 밀어 본다 */
  .shot { overflow-x: auto; overscroll-behavior-x: contain; }
  .shot img { width: 560px; max-width: none; }
}

/* 에어드랍 라운드 1 참여 버튼 (10-17) */
.points-cta { margin: 20px 0 6px; }

/* 프로그램 주소 옆 Verified (OtterSec 빌드 검증, 10-18). 좁은 화면에서는 링크를 주소 아래 줄로 */
.addr-verified { color: #34d399; font-weight: 600; }
@media (max-width: 640px) { .chain-head .addr-box { flex-wrap: wrap; } .chain-head .addr-copy { flex-basis: 100%; } }

/* ---------- 얼리 액세스판 ↔ 토큰판 (10-23, scripts/token-ca.mjs) ----------
   <html data-early> 이면 얼리 액세스판: 토큰·에어드랍·온체인 통계 관련(tok-only)을 숨기고 early-only 를 보인다.
   속성이 없으면 예전 토큰판 그대로 */
[data-early] .tok-only { display: none !important; }
:root:not([data-early]) .early-only { display: none !important; }
.ea-badge {
  display: inline-block;
  margin-left: 0.35em;
  padding: 0.18em 0.5em;
  border: 1px solid var(--accent-dim);
  border-radius: 999px;
  font-family: inherit;
  font-size: max(9px, 0.32em);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  vertical-align: super;
  color: var(--accent);
  white-space: nowrap;
}
.nav-brand-text .ea-badge { font-size: 9px; vertical-align: 0.6em; }
.plans-early { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); max-width: 1080px; margin-inline: auto; }
.plan-tba { opacity: 0.75; border-style: dashed; }
.plan-tba .plan-amount { color: var(--muted, #9aa3b8); }
