/* === Kage tokens === */
:root {
  /* time of day — defaults to 昼 */
  --bg: #f5f5f2;
  --bg-2: #ffffff;
  --ink: #0a0a0a;
  --ink-soft: #1a1a1a;
  --ink-mute: rgba(10, 10, 10, 0.55);
  --ink-faint: rgba(10, 10, 10, 0.18);
  --line: rgba(10, 10, 10, 0.12);

  /* OZ accents — sparingly */
  --oz-red: #e63946;
  --oz-blue: #1d4ed8;
  --oz-yellow: #fbbf24;
  --oz-sky: #2b6cff;

  /* shadow ink (semi-transparent black, multiply blends) */
  --shadow: rgba(0, 0, 0, 0.78);

  /* type */
  --f-display: "Anton", "Archivo Black", "Zen Kaku Gothic New", sans-serif;
  --f-grotesk: "Archivo Black", "Zen Kaku Gothic New", sans-serif;
  --f-jp-display: "Zen Kaku Gothic New", sans-serif;
  --f-jp-mincho: "Shippori Mincho", serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --f-body: "Zen Kaku Gothic New", -apple-system, system-ui, sans-serif;
}

[data-tod="morning"] {
  --bg: #fef0e8;
  --bg-2: #fff8f3;
  --ink: #1a0e0a;
  --ink-soft: #2a1410;
  --shadow: rgba(60, 20, 10, 0.55);
  --oz-sky: #f59e8b;
}
[data-tod="day"] {
  --bg: #f3f6fa;
  --bg-2: #ffffff;
  --ink: #0a0a0a;
  --shadow: rgba(0, 0, 0, 0.78);
  --oz-sky: #2b6cff;
}
[data-tod="evening"] {
  --bg: #ffe6cc;
  --bg-2: #fff5e8;
  --ink: #1a0a0a;
  --shadow: rgba(40, 10, 30, 0.6);
  --oz-sky: #ff5a3c;
  --oz-red: #c81d3a;
}
[data-tod="night"] {
  --bg: #06070d;
  --bg-2: #0d0f18;
  --ink: #f5f5f2;
  --ink-soft: #e8e8e3;
  --ink-mute: rgba(245, 245, 242, 0.6);
  --ink-faint: rgba(245, 245, 242, 0.18);
  --line: rgba(245, 245, 242, 0.14);
  --shadow: rgba(180, 220, 255, 0.18);
  --oz-sky: #8aa9ff;
  --oz-red: #ff5870;
  --oz-yellow: #ffd860;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg); }

body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background 800ms ease, color 800ms ease;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; padding: 0; }

::selection { background: var(--ink); color: var(--bg); }

/* hide native cursor on desktop where canvas cursor takes over */
@media (hover: hover) and (pointer: fine) {
  body.kage-cursor-on, body.kage-cursor-on * { cursor: none !important; }
  body.kage-cursor-on a, body.kage-cursor-on button, body.kage-cursor-on input, body.kage-cursor-on textarea { cursor: none !important; }
}

/* === Layout === */
.kage-layout {
  position: relative;
  z-index: 1;
}

.kage-shadow-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
[data-tod="night"] .kage-shadow-layer { mix-blend-mode: screen; }
[data-tod="day"] .kage-shadow-layer,
[data-tod="morning"] .kage-shadow-layer,
[data-tod="evening"] .kage-shadow-layer { mix-blend-mode: multiply; }

.kage-cursor-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
}

/* === Nav === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--ink-faint);
  transition: background 800ms ease, color 800ms ease, border-color 800ms ease;
}
.nav .nav-brand {
  font-family: var(--f-display);
  font-size: 22px;
  letter-spacing: 0.02em;
  line-height: 1;
}
.nav .nav-brand .jp { font-family: var(--f-jp-display); font-weight: 900; margin-left: 6px; opacity: 0.85; font-size: 16px; }
.nav .nav-links { display: flex; gap: 26px; align-items: center; }
.nav .nav-links a { opacity: 0.8; transition: opacity 0.2s; }
.nav .nav-links a:hover { opacity: 1; }
.nav .nav-cta {
  border: 1px solid currentColor;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 500;
}
@media (max-width: 760px) {
  .nav .nav-links { display: none; }
}

/* === Hero === */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 80px 28px 60px;
  overflow: hidden;
}

.hero-corner {
  position: absolute;
  top: 80px;
  left: 28px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-corner .dot { display: inline-block; width: 6px; height: 6px; background: var(--oz-red); border-radius: 50%; margin-right: 6px; vertical-align: middle; }

.hero-meta {
  position: absolute;
  top: 80px;
  right: 28px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-headline {
  position: relative;
  z-index: 2;
}
.hero-headline .kicker {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-headline .kicker .bar { display: inline-block; width: 32px; height: 1px; background: currentColor; }

.hero-headline h1 {
  font-family: var(--f-jp-display);
  font-weight: 900;
  font-size: clamp(56px, 12vw, 200px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  margin: 0;
  word-break: keep-all;
  font-feature-settings: "palt" 1;
}
.hero-headline h1 .row { display: block; position: relative; }
.hero-headline h1 .ink { color: var(--ink); }
.hero-headline h1 .accent { color: var(--oz-red); font-style: italic; font-family: var(--f-jp-mincho); font-weight: 800; padding: 0 0.04em; }
.hero-headline h1 .small { font-size: 0.55em; opacity: 0.6; vertical-align: baseline; letter-spacing: -0.02em; }
.hero-headline h1 .stamp {
  display: inline-block;
  font-family: var(--f-display);
  font-style: normal;
  font-size: 0.62em;
  letter-spacing: -0.01em;
  vertical-align: 0.1em;
  padding: 0 0.05em;
  border: 3px solid currentColor;
  margin: 0 0.04em;
  line-height: 0.9;
}

.hero-sub {
  margin-top: 36px;
  max-width: 540px;
  font-family: var(--f-jp-display);
  font-weight: 500;
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.7;
  color: var(--ink-soft);
}

.hero-cta-row {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-family: var(--f-jp-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 6px 6px 0 var(--ink-faint); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn .arrow { font-family: var(--f-mono); }

/* OZ tile decorations */
.oz-tiles {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
.oz-tiles.tl { top: 18%; left: 8%; }
.oz-tiles.br { bottom: 30%; right: 6%; }

.oz-tile {
  position: absolute;
  width: 22px;
  height: 22px;
  background: var(--oz-blue);
  opacity: 0.85;
}
.oz-tile.r { background: var(--oz-red); }
.oz-tile.y { background: var(--oz-yellow); }
.oz-tile.k { background: var(--ink); }
.oz-tile.w { background: var(--bg-2); border: 1px solid var(--ink); }

/* ticker at bottom of hero */
.hero-ticker {
  position: absolute;
  bottom: 24px;
  left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 28px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  pointer-events: none;
}
.hero-ticker .pulse { display: inline-block; width: 6px; height: 6px; background: var(--oz-red); border-radius: 50%; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }

/* === Section base === */
section { position: relative; }

.s-pad { padding: clamp(80px, 14vh, 180px) 28px; }

.s-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.s-label .num { color: var(--oz-red); font-weight: 700; }

.s-title {
  font-family: var(--f-jp-display);
  font-weight: 900;
  font-size: clamp(36px, 6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 36px;
  text-wrap: balance;
}
.s-title .mincho { font-family: var(--f-jp-mincho); font-style: italic; font-weight: 800; }
.s-title .red { color: var(--oz-red); }
.s-title .small { font-size: 0.45em; display: block; opacity: 0.55; margin-top: 18px; letter-spacing: 0.04em; font-weight: 500; }

.s-lede {
  font-family: var(--f-jp-display);
  font-weight: 500;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.85;
  max-width: 620px;
  color: var(--ink-soft);
}

/* === Mou-hitori section (autonomous shadow) === */
.mou {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.mou-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}
@media (max-width: 900px) { .mou-grid { grid-template-columns: 1fr; gap: 30px; } }

.mou-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg);
  border: 1px solid var(--line);
  overflow: hidden;
}
.mou-stage .floor {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 30%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.04));
}
[data-tod="night"] .mou-stage .floor { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.04)); }
.mou-stage .you {
  position: absolute;
  bottom: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 14%;
  aspect-ratio: 0.4;
  background: var(--ink);
  border-radius: 50% 50% 12% 12% / 30% 30% 8% 8%;
}
.mou-stage .stage-label {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.mou-stage .stage-label-r {
  position: absolute;
  top: 16px; right: 16px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
}
.mou-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* whisper bubbles */
.whisper {
  position: absolute;
  font-family: var(--f-jp-mincho);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-soft);
  background: var(--bg-2);
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
  animation: whisper-fade 4s ease-in-out forwards;
}
@keyframes whisper-fade {
  0% { opacity: 0; transform: translateY(6px); }
  20% { opacity: 1; transform: translateY(0); }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-8px); }
}

.mou-feature-list { list-style: none; padding: 0; margin: 32px 0 0; }
.mou-feature-list li {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-family: var(--f-jp-display);
}
.mou-feature-list li:last-child { border-bottom: 1px solid var(--line); }
.mou-feature-list .num {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-mute);
  min-width: 40px;
  padding-top: 4px;
}
.mou-feature-list .body { flex: 1; }
.mou-feature-list .body h4 { font-size: 17px; font-weight: 700; margin: 0 0 4px; }
.mou-feature-list .body p { font-size: 13px; line-height: 1.6; margin: 0; color: var(--ink-mute); }

/* === Demo chat section === */
.demo {
  background: var(--bg);
}

.demo-frame {
  max-width: 1100px;
  margin: 0 auto;
  border: 1px solid var(--ink);
  background: var(--bg-2);
  display: grid;
  grid-template-columns: 280px 1fr;
}
@media (max-width: 760px) { .demo-frame { grid-template-columns: 1fr; } }

.demo-side {
  padding: 24px;
  border-right: 1px solid var(--line);
  background: var(--bg);
}
@media (max-width: 760px) { .demo-side { border-right: none; border-bottom: 1px solid var(--line); } }
.demo-side .who-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 12px;
}
.demo-side h3 {
  font-family: var(--f-jp-display);
  font-weight: 900;
  font-size: 28px;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}
.demo-side .role {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-mute);
  margin-bottom: 18px;
}
.demo-side .avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  position: relative;
  margin-bottom: 16px;
  overflow: hidden;
}
.demo-side .avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 35% 30%, var(--ink-soft), var(--ink) 60%);
}
.demo-side .meta-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
}
.demo-side .meta-row .row { display: flex; justify-content: space-between; }
.demo-side .meta-row .row b { color: var(--ink); font-weight: 600; }

.demo-chat {
  display: flex;
  flex-direction: column;
  height: 580px;
}
.demo-chat-header {
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.demo-chat-header .live { display: flex; align-items: center; gap: 8px; }
.demo-chat-header .live .pulse { display: inline-block; width: 6px; height: 6px; background: var(--oz-red); border-radius: 50%; animation: pulse 1.4s ease-in-out infinite; }

.demo-chat-body {
  flex: 1;
  padding: 22px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.msg { max-width: 80%; font-family: var(--f-jp-display); font-size: 14px; line-height: 1.7; }
.msg.user { align-self: flex-end; background: var(--ink); color: var(--bg); padding: 12px 16px; border-radius: 18px 18px 4px 18px; }
.msg.bot { align-self: flex-start; padding: 0; }
.msg.bot .label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 6px;
}
.msg.bot .text { color: var(--ink); }
.msg.bot .text .cursor { display: inline-block; width: 8px; height: 16px; background: var(--ink); margin-left: 2px; vertical-align: -3px; animation: blink 0.7s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.demo-suggestions {
  padding: 14px 22px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.demo-suggestions button {
  font-family: var(--f-jp-display);
  font-size: 12px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  transition: all 0.2s;
}
.demo-suggestions button:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.demo-input-row {
  padding: 14px 22px;
  border-top: 1px solid var(--ink);
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--bg);
}
.demo-input-row input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--f-jp-display);
  font-size: 15px;
  color: var(--ink);
  padding: 6px 0;
}
.demo-input-row input::placeholder { color: var(--ink-faint); }
.demo-input-row button.send {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
}

/* === Stub sections === */
.stub {
  border-top: 1px solid var(--line);
}
.stub-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
}
@media (max-width: 760px) { .stub-grid { grid-template-columns: 1fr; gap: 18px; } }
.stub-grid .num-big {
  font-family: var(--f-display);
  font-size: clamp(48px, 6vw, 92px);
  line-height: 1;
  color: var(--oz-red);
  font-weight: normal;
}

.report-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}
@media (max-width: 760px) { .report-cards { grid-template-columns: 1fr; } }
.report-card {
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: 22px;
  position: relative;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.report-card .stamp-h {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
}
.report-card .quote {
  font-family: var(--f-jp-mincho);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 500;
  margin: 12px 0 0;
}
.report-card .quote::before { content: "「"; opacity: 0.4; }
.report-card .quote::after { content: "」"; opacity: 0.4; }
.report-card .meta {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
}
.report-card.accent { background: var(--oz-yellow); border-color: var(--ink); }
.report-card.accent .stamp-h, .report-card.accent .meta { color: var(--ink); opacity: 0.6; }

/* aishou (compatibility) */
.aishou-arena {
  position: relative;
  height: 380px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  margin-top: 36px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
}
.aishou-arena .blob {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--ink);
  position: relative;
}
.aishou-arena .blob.b2 { background: var(--oz-red); }
.aishou-arena .blob .name {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  white-space: nowrap;
  color: var(--ink-mute);
}
.aishou-arena .score {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--f-display);
  font-size: 88px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.aishou-arena .score .pct { font-size: 32px; vertical-align: 0.6em; opacity: 0.5; }
.aishou-arena .label-l, .aishou-arena .label-r {
  position: absolute;
  top: 16px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
}
.aishou-arena .label-l { left: 16px; }
.aishou-arena .label-r { right: 16px; }
.aishou-arena .convo {
  position: absolute;
  bottom: 16px;
  left: 16px; right: 16px;
  display: flex;
  justify-content: space-between;
  font-family: var(--f-jp-mincho);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-mute);
}

/* howto */
.howto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 36px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
@media (max-width: 760px) { .howto-grid { grid-template-columns: 1fr; } }
.howto-step {
  padding: 36px 28px;
  border-right: 1px solid var(--line);
}
.howto-step:last-child { border-right: none; }
@media (max-width: 760px) {
  .howto-step { border-right: none; border-bottom: 1px solid var(--line); }
  .howto-step:last-child { border-bottom: none; }
}
.howto-step .num {
  font-family: var(--f-display);
  font-size: 64px;
  line-height: 1;
  color: var(--oz-red);
  margin-bottom: 12px;
}
.howto-step h4 {
  font-family: var(--f-jp-display);
  font-weight: 900;
  font-size: 22px;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.howto-step p {
  font-family: var(--f-jp-display);
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-mute);
  margin: 0;
}

/* CTA */
.cta {
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  padding: clamp(120px, 18vh, 220px) 28px;
  position: relative;
  overflow: hidden;
}
.cta h2 {
  font-family: var(--f-jp-display);
  font-weight: 900;
  font-size: clamp(48px, 9vw, 140px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 36px;
  text-wrap: balance;
}
.cta h2 .mincho { font-family: var(--f-jp-mincho); font-style: italic; }
.cta h2 .red { color: var(--oz-red); }
.cta .sub {
  font-family: var(--f-jp-display);
  font-size: 16px;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 40px;
  opacity: 0.7;
}
.cta .signup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border-radius: 999px;
  padding: 6px 6px 6px 22px;
  max-width: 480px;
  width: 100%;
}
.cta .signup input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--f-jp-display);
  font-size: 15px;
  color: var(--ink);
  padding: 12px 0;
}
.cta .signup button {
  background: var(--ink);
  color: var(--bg);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
}

/* footer */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 60px 28px 36px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 28px;
  max-width: 1400px;
  margin: 0 auto;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h5 {
  font-family: var(--f-display);
  font-size: 13px;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
  color: var(--ink);
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer .brand-block .glyph {
  font-family: var(--f-display);
  font-size: 64px;
  line-height: 1;
  color: var(--ink);
}
.footer .brand-block .jp {
  font-family: var(--f-jp-display);
  font-weight: 900;
  font-size: 32px;
  color: var(--ink);
  margin-top: -8px;
}
.footer .legal {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 10px;
}

/* === Cursors === */
.cursor-real {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink);
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width 0.2s, height 0.2s;
}
.cursor-shadow {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0.45;
  transform: translate(-50%, -50%);
  filter: blur(6px);
}
.cursor-label {
  position: absolute;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  transform: translate(8px, 8px);
  pointer-events: none;
  opacity: 1;
  transition: opacity 320ms ease;
}
/* Hide identifying labels once user has scrolled past the hero.
   Cursor bodies (real + shadow) remain so the brand metaphor continues. */
.kage-cursor-layer.labels-hidden .cursor-label {
  opacity: 0;
}

/* particles canvas behind hero */
.kage-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

/* ASCII / decorative band */
.deco-band {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  white-space: nowrap;
  overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.deco-band .marquee {
  display: inline-block;
  animation: marquee 40s linear infinite;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
