:root {
  color-scheme: dark;
  --ink: #f7f3f6;
  --body: rgba(247, 243, 246, 0.82);
  --dim: rgba(247, 243, 246, 0.60);
  --faint: rgba(247, 243, 246, 0.38);
  --line: rgba(247, 243, 246, 0.16);
  --accent: #a51f34;
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: #171722;
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
::selection { background: rgba(165, 31, 52, 0.46); }

html.motion-ready .visual-stage,
html.motion-ready .site-header,
html.motion-ready .hero-copy,
html.motion-ready .hero-kanji,
html.motion-ready .scroll-cue,
html.motion-ready .page {
  opacity: 0;
}
html.motion-ready .site-header { transform: translateY(-10px); }
html.motion-ready .hero-copy,
html.motion-ready .page { transform: translateY(18px); }
html.motion-ready .hero-kanji { transform: translateY(12px) scale(0.985); }
html.motion-ready .scroll-cue { transform: translate(-50%, 10px); }
html.motion-ready.motion-entered .visual-stage {
  opacity: 1;
  transition: opacity 950ms ease;
}
html.motion-ready.motion-entered .site-header {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 620ms ease 120ms, transform 720ms cubic-bezier(0.22, 1, 0.36, 1) 120ms;
}
html.motion-ready.motion-entered .hero-copy {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 720ms ease 280ms, transform 850ms cubic-bezier(0.22, 1, 0.36, 1) 280ms;
}
html.motion-ready.motion-entered .hero-kanji {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 760ms ease 410ms, transform 900ms cubic-bezier(0.22, 1, 0.36, 1) 410ms;
}
html.motion-ready.motion-entered .scroll-cue {
  opacity: 1;
  transform: translate(-50%, 0);
  transition: opacity 700ms ease 620ms, transform 850ms cubic-bezier(0.22, 1, 0.36, 1) 620ms;
}
html.motion-ready.motion-entered .page {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 680ms ease 190ms, transform 820ms cubic-bezier(0.22, 1, 0.36, 1) 190ms;
}
html.motion-ready .reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 650ms ease var(--reveal-delay, 0ms),
    transform 800ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}
html.motion-ready .reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.visual-stage,
.reference-plate,
.orb-spinner,
#scene {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}
.visual-stage {
  z-index: 0;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, #8e737e, #171722);
}
.visual-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 9, 16, 0.06), transparent 35%, rgba(8, 9, 16, 0.18)),
    radial-gradient(ellipse at 58% 43%, transparent 0 28%, rgba(8, 9, 16, 0.08) 70%, rgba(8, 9, 16, 0.28) 125%);
}
.reference-plate {
  z-index: 1;
  display: block;
  object-fit: cover;
  object-position: center;
  --plate-x: 0px;
  --plate-y: 0px;
  transform: scale(1.015) translate3d(var(--plate-x), var(--plate-y), 0);
  transform-origin: center;
  will-change: transform;
  pointer-events: none;
  user-select: none;
}
.orb-spinner {
  z-index: 2;
  right: auto;
  bottom: auto;
  border-radius: 50%;
  background-repeat: no-repeat;
  -webkit-mask-image: radial-gradient(circle, #000 0 96.5%, transparent 100%);
  mask-image: radial-gradient(circle, #000 0 96.5%, transparent 100%);
  pointer-events: auto;
  cursor: grab;
  touch-action: none;
  will-change: transform, left, top, width, height, background-position;
  backface-visibility: hidden;
}
html.webgl-orb .orb-spinner {
  -webkit-mask-image: none;
  mask-image: none;
  box-shadow:
    0 0 26px rgba(238, 83, 108, 0.08),
    0 0 70px rgba(121, 91, 180, 0.04);
  transition: box-shadow 300ms ease;
}
html.webgl-orb .orb-spinner.is-hovered,
html.webgl-orb .orb-spinner.is-focused {
  box-shadow:
    0 0 34px rgba(251, 101, 108, 0.16),
    0 0 82px rgba(108, 118, 205, 0.10);
}
html.webgl-orb .orb-spinner.is-dragging {
  box-shadow:
    0 0 42px rgba(251, 101, 108, 0.24),
    0 0 102px rgba(108, 118, 205, 0.15);
}
.orb-spinner.is-dragging { cursor: grabbing; }
.orb-spinner:focus-visible {
  outline: 1px solid rgba(247, 243, 246, 0.72);
  outline-offset: 5px;
}
#scene {
  z-index: 2;
  display: block;
  pointer-events: none;
}
.orb-hint {
  position: fixed;
  z-index: 12;
  padding: 7px 10px;
  border: 1px solid rgba(247, 243, 246, 0.24);
  background: rgba(15, 15, 24, 0.62);
  color: rgba(247, 243, 246, 0.76);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  pointer-events: none;
  text-transform: uppercase;
  opacity: 0;
  transform: translate(-50%, 5px);
  backdrop-filter: blur(8px);
  transition: opacity 360ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}
.orb-hint.is-visible { opacity: 1; transform: translate(-50%, 0); }
.orb-hint.is-dismissed { opacity: 0; transform: translate(-50%, -4px); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 3.2vw, 52px);
  background: linear-gradient(180deg, rgba(15, 15, 24, 0.38), transparent);
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.42);
  transition: background-color 260ms ease, border-color 260ms ease, backdrop-filter 260ms ease;
}
.site-header.is-scrolled {
  border-bottom: 1px solid rgba(247, 243, 246, 0.08);
  background: rgba(15, 15, 24, 0.78);
  backdrop-filter: blur(16px) saturate(0.82);
}
.mobile-menu-toggle { display: none; }
.mobile-menu-toggle:focus-visible { outline: 1px solid #e7a0aa; outline-offset: 4px; }
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  font-family: var(--serif);
  font-size: clamp(26px, 2.25vw, 34px);
  line-height: 1;
}
.logo span { color: var(--accent); font-family: var(--sans); font-size: 0.52em; }
.site-header nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.site-header nav a {
  position: relative;
  color: var(--dim);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}
.site-header nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}
.site-header nav a:not(.nav-cta):hover::after,
.site-header nav a:not(.nav-cta)[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}
.site-header nav a:hover,
.site-header nav a[aria-current="page"] { color: var(--ink); }
.site-header .nav-cta {
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--ink);
}
.site-header .nav-cta:hover { border-color: var(--accent); background: rgba(165, 31, 52, 0.18); }

.home-hero {
  position: relative;
  z-index: 5;
  min-height: 100svh;
  pointer-events: none;
}
.hero-copy {
  position: absolute;
  left: clamp(24px, 5.2vw, 84px);
  bottom: clamp(40px, 8vh, 92px);
  width: min(350px, calc(100vw - 48px));
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
  pointer-events: auto;
}
.eyebrow,
.section-label,
.page-label,
.sec-label,
.meta,
.breadcrumb a {
  margin: 0;
  color: var(--ink);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
}
.hero-copy h1 {
  margin: 13px 0 0;
  font-family: var(--serif);
  font-size: clamp(27px, 3vw, 44px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.02;
}
.hero-copy > p:last-of-type {
  margin: 17px 0 0;
  color: var(--body);
  font-size: 13px;
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 21px; }
.hero-actions a,
.text-link,
.primary-link {
  position: relative;
  color: var(--ink);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 180ms ease, opacity 180ms ease, transform 220ms ease;
}
.hero-actions a::after,
.text-link::after,
.primary-link::after,
.site-footer a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-actions a:hover::after,
.hero-actions a:focus-visible::after,
.text-link:hover::after,
.text-link:focus-visible::after,
.primary-link:hover::after,
.primary-link:focus-visible::after,
.site-footer a:hover::after,
.site-footer a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}
.hero-actions a:first-child,
.primary-link {
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
}
.hero-actions a:nth-child(2) { color: var(--dim); }
.hero-actions a:hover,
.text-link:hover,
.primary-link:hover { color: var(--ink); transform: translateY(-2px); }
.sound-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--dim);
  cursor: pointer;
  font: inherit;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.sound-toggle:hover,
.sound-toggle:focus-visible,
.sound-toggle.is-on { color: var(--ink); }
.sound-toggle:focus-visible { outline: 1px solid var(--accent); outline-offset: 5px; }
.sound-bars { display: inline-flex; align-items: center; gap: 2px; height: 12px; }
.sound-bars i { display: block; width: 1px; height: 5px; background: currentColor; transform-origin: center; }
.sound-toggle.is-on .sound-bars i { animation: sound-bar 1.15s ease-in-out infinite; }
.sound-toggle.is-on .sound-bars i:nth-child(2) { animation-delay: -0.38s; }
.sound-toggle.is-on .sound-bars i:nth-child(3) { animation-delay: -0.72s; }

@keyframes sound-bar {
  0%, 100% { transform: scaleY(0.55); }
  50% { transform: scaleY(1.75); }
}
.hero-kanji {
  position: absolute;
  right: clamp(22px, 4vw, 68px);
  bottom: clamp(38px, 6.2vh, 72px);
  width: min(330px, calc(100vw - 44px));
  height: clamp(86px, 10vw, 150px);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  pointer-events: auto;
  text-align: right;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.30);
}
.kanji-glyph,
.kanji-meaning {
  position: absolute;
  right: 0;
  bottom: 0;
  display: block;
  transform-origin: right bottom;
  will-change: opacity, transform, filter;
  transition:
    opacity 420ms ease,
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 420ms ease;
}
.kanji-glyph {
  filter: blur(0);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(74px, 10vw, 150px);
  font-weight: 600;
  line-height: 0.8;
}
.kanji-meaning {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(14px);
  font-family: var(--serif);
  font-size: clamp(26px, 3.6vw, 48px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1;
  white-space: nowrap;
}
.hero-kanji.is-revealed .kanji-glyph { opacity: 0; filter: blur(7px); transform: translateY(-12px) scale(0.94); }
.hero-kanji.is-revealed .kanji-meaning { opacity: 1; filter: blur(0); transform: translateY(0); }
.hero-kanji:focus-visible { outline: 1px solid var(--accent); outline-offset: 8px; }
.scroll-cue {
  position: absolute;
  bottom: clamp(18px, 3vh, 30px);
  left: 50%;
  z-index: 2;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(247, 243, 246, 0.32);
  border-radius: 50%;
  color: rgba(247, 243, 246, 0.74);
  font-size: 14px;
  line-height: 1;
  pointer-events: auto;
  transform: translateX(-50%);
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease;
  animation: scroll-cue-float 2.6s ease-in-out 1.4s infinite;
}
.scroll-cue:hover,
.scroll-cue:focus-visible {
  border-color: #c9475c;
  background: rgba(165, 31, 52, 0.18);
  color: var(--ink);
}
.scroll-cue:focus-visible { outline: 1px solid #e7a0aa; outline-offset: 4px; }

@keyframes scroll-cue-float {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 4px); }
}

.landing-content {
  position: relative;
  z-index: 6;
  padding: 260px 0 0;
  background: linear-gradient(180deg, transparent, rgba(15, 15, 24, 0.92) 230px, #171722 620px);
}
.content-section {
  width: min(960px, calc(100% - 48px));
  margin: 0 auto;
  padding: 100px 0;
  border-top: 1px solid var(--line);
}
.content-section:first-child { border-top: 0; }
.section-label { margin-bottom: 34px; color: var(--accent); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 58px); }
.steps article > span { display: block; margin-bottom: 20px; color: var(--faint); font-size: 10px; letter-spacing: 0.25em; }
.steps h2,
.duo h2 { margin: 0 0 13px; font-size: 18px; font-weight: 560; }
.steps p,
.duo p,
.statement > p:last-child {
  margin: 0;
  color: var(--dim);
  font-size: 14px;
  line-height: 1.85;
}
.product-demo { display: grid; grid-template-columns: minmax(220px, 0.72fr) minmax(420px, 1.28fr); gap: clamp(48px, 8vw, 108px); align-items: center; }
.product-demo-copy h2 {
  max-width: 7em;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.product-demo-copy > p:not(.section-label) { margin: 24px 0 0; color: var(--dim); font-size: 14px; line-height: 1.75; }
.product-demo-copy > button {
  margin-top: 28px;
  padding: 0 0 5px;
  border: 0;
  border-bottom: 1px solid var(--accent);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.product-demo-copy > button:focus-visible { outline: 1px solid #e7a0aa; outline-offset: 5px; }
.intent-stage {
  position: relative;
  min-height: 430px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(247, 243, 246, 0.16);
  background:
    radial-gradient(circle at 80% 18%, rgba(165, 31, 52, 0.22), transparent 38%),
    rgba(14, 14, 22, 0.78);
}
.intent-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, transparent, rgba(247, 243, 246, 0.025));
}
.intent-command { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: baseline; }
.intent-command > span { color: var(--accent); font-size: 8px; font-weight: 750; letter-spacing: 0.2em; text-transform: uppercase; }
.intent-command p { margin: 0; overflow: hidden; color: var(--ink); font-family: var(--serif); font-size: clamp(20px, 2.7vw, 30px); line-height: 1.2; }
.intent-command p i { display: block; width: 100%; font-style: normal; clip-path: inset(0 100% 0 0); }
.intent-stage.is-playing .intent-command p i { animation: intent-type 1.05s steps(34, end) 120ms forwards; }
.intent-canvas { margin-top: 48px; }
.intent-time { display: flex; justify-content: space-between; color: var(--faint); font-size: 8px; letter-spacing: 0.14em; }
.intent-arc { display: flex; align-items: end; gap: clamp(9px, 2vw, 18px); height: 150px; margin-top: 14px; padding: 0 10px 14px; border-bottom: 1px solid var(--line); }
.intent-arc i {
  flex: 1;
  height: var(--before);
  min-height: 18px;
  background: linear-gradient(180deg, #d96c7c, #711527);
  opacity: 0.6;
  transform-origin: bottom;
  transition: height 820ms cubic-bezier(0.22, 1, 0.36, 1) calc(1.05s + var(--delay)), opacity 420ms ease 1.05s;
}
.intent-stage.is-playing .intent-arc i { height: var(--after); opacity: 1; }
.intent-tracks { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 12px; color: var(--faint); font-size: 7px; letter-spacing: 0.08em; }
.intent-result { display: flex; gap: 14px; align-items: center; margin-top: 34px; opacity: 0; transform: translateY(8px); }
.intent-result > span { color: var(--accent); font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: 31px; }
.intent-result p { display: grid; gap: 4px; margin: 0; }
.intent-result strong { font-family: var(--serif); font-size: 17px; font-weight: 400; }
.intent-result small { color: var(--dim); font-size: 10px; line-height: 1.5; }
.intent-stage.is-playing .intent-result { opacity: 1; transform: translateY(0); transition: opacity 520ms ease 1.72s, transform 650ms cubic-bezier(0.22, 1, 0.36, 1) 1.72s; }

@keyframes intent-type { to { clip-path: inset(0 0 0 0); } }
.statement h2 {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 66px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.04;
}
.statement > p:last-child { max-width: 650px; margin-top: 28px; font-size: 16px; }
.statement .text-link { display: inline-block; margin-top: 34px; color: var(--accent); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(42px, 8vw, 110px); }
.duo .section-label { margin-bottom: 18px; }
.faq-section dl { width: min(720px, 100%); margin: 0; }
.faq-section dl > div { padding: 24px 0; border-top: 1px solid var(--line); }
.faq-section dl > div:last-child { border-bottom: 1px solid var(--line); }
.faq-section dt { font-size: 15px; font-weight: 600; }
.faq-section dd { margin: 8px 0 0; color: var(--dim); font-size: 14px; line-height: 1.8; }
.closing { padding: 130px 24px; background: #171722; text-align: center; }
.closing .section-label { margin-bottom: 32px; color: var(--ink); font-family: var(--serif); font-size: clamp(30px, 4vw, 52px); font-weight: 400; letter-spacing: -0.02em; text-transform: none; }
.closing small { display: block; margin-top: 17px; color: var(--faint); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; }

.content-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: rgba(13, 13, 22, 0.69);
  backdrop-filter: blur(2px);
}
.page {
  position: relative;
  z-index: 6;
  width: min(730px, calc(100% - 48px));
  min-height: calc(100svh - 120px);
  margin: 0 auto;
  padding: 150px 0 110px;
}
.page-label { margin-bottom: 50px; color: var(--accent); }
.sec-label { margin: 56px 0 10px; color: var(--faint); }
.sec-label:first-of-type { margin-top: 0; }
.labs-index { border-bottom: 1px solid var(--line); }
.lab-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  transition: border-color 200ms ease, transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
.lab-number,
.lab-action { padding-top: 5px; font-size: 9px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.lab-number { color: var(--accent); }
.lab-action { color: var(--faint); white-space: nowrap; }
.lab-copy { display: grid; gap: 6px; }
.lab-copy strong { font-family: var(--serif); font-size: 19px; font-weight: 400; letter-spacing: -0.01em; }
.lab-copy small { color: var(--dim); font-size: 13px; line-height: 1.6; }
.lab-copy em { color: var(--faint); font-size: 9px; font-style: normal; letter-spacing: 0.14em; text-transform: uppercase; }

.labs-gateway {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border-block: 1px solid var(--line);
  transition: border-color 200ms ease, transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
.labs-gateway-mark { color: var(--accent); font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: 38px; line-height: 1; }
.labs-gateway > span:nth-child(2) { display: grid; gap: 7px; }
.labs-gateway strong { font-family: var(--serif); font-size: 20px; font-weight: 400; }
.labs-gateway small { color: var(--dim); font-size: 13px; line-height: 1.6; }
.labs-gateway-action { color: var(--ink); font-size: 9px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }

.labs-feature { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr); gap: clamp(42px, 7vw, 92px); }
.labs-feature-intro h2 { max-width: 8em; margin: 0; font-family: var(--serif); font-size: clamp(38px, 5.5vw, 66px); font-weight: 400; letter-spacing: -0.035em; line-height: 0.98; }
.labs-feature-intro > p:not(.section-label) { max-width: 470px; margin: 24px 0 0; color: var(--dim); font-size: 15px; line-height: 1.8; }
.labs-feature-thesis {
  display: grid;
  gap: 8px;
  max-width: 470px;
  margin: 42px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(201, 71, 92, 0.45);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.35;
}
.labs-feature-thesis span { color: var(--dim); }
.labs-feature-thesis strong { color: var(--ink); font-weight: 400; }
.labs-feature-start {
  display: grid;
  align-content: end;
  min-height: 330px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(201, 71, 92, 0.35);
  background: linear-gradient(150deg, rgba(165, 31, 52, 0.2), rgba(23, 23, 34, 0.7) 58%);
  transition: border-color 220ms ease, transform 300ms cubic-bezier(0.22, 1, 0.36, 1), background-color 220ms ease;
}
.labs-feature-start > span { align-self: start; color: #df7d8c; font-size: 9px; font-weight: 750; letter-spacing: 0.2em; text-transform: uppercase; }
.labs-feature-start strong { margin-top: auto; font-family: var(--serif); font-size: clamp(30px, 4vw, 46px); font-weight: 400; letter-spacing: -0.025em; line-height: 1; }
.labs-feature-start small { max-width: 340px; margin-top: 14px; color: var(--dim); font-size: 13px; line-height: 1.65; }
.labs-feature-start b { margin-top: 28px; color: var(--ink); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; }
.labs-feature-start:hover { border-color: #c9475c; transform: translateY(-4px); }
.labs-feature-path { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(6, 1fr); border-block: 1px solid var(--line); }
.labs-feature-path a { display: grid; gap: 8px; padding: 17px 12px; color: var(--dim); font-family: var(--serif); font-size: 15px; }
.labs-feature-path a + a { border-left: 1px solid var(--line); }
.labs-feature-path span { color: var(--accent); font-family: var(--sans); font-size: 8px; letter-spacing: 0.16em; }
.labs-feature-path a:hover { color: var(--ink); background: rgba(165, 31, 52, 0.08); }
.labs-feature > .text-link { grid-column: 1 / -1; justify-self: start; }

.labs-hub-page .page { width: min(880px, calc(100% - 48px)); }
.labs-hub-hero { padding: 12px 0 72px; border-bottom: 1px solid var(--line); }
.labs-hub-kicker,
.labs-path-note > span { color: var(--accent); font-size: 9px; font-weight: 750; letter-spacing: 0.2em; text-transform: uppercase; }
.labs-hub-hero h1 { max-width: 8em; margin: 18px 0 0; font-family: var(--serif); font-size: clamp(52px, 9vw, 92px); font-weight: 400; letter-spacing: -0.045em; line-height: 0.9; }
.labs-hub-hero > p:not(.labs-hub-kicker) { max-width: 590px; margin: 28px 0 0; color: var(--body); font-size: 17px; line-height: 1.8; }
.labs-hub-hero > a { display: inline-flex; gap: 34px; margin-top: 30px; padding-bottom: 5px; border-bottom: 1px solid var(--accent); font-size: 10px; font-weight: 750; letter-spacing: 0.17em; text-transform: uppercase; }
.labs-hub-thesis {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: clamp(54px, 8vw, 86px) 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(28px, 4.8vw, 48px);
  letter-spacing: -0.025em;
  line-height: 1.08;
}
.labs-hub-thesis span { max-width: 17em; color: var(--dim); }
.labs-hub-thesis strong { max-width: 15em; color: var(--ink); font-weight: 400; }
.labs-path-note { display: grid; grid-template-columns: 150px 1fr; gap: 36px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.labs-path-note p { max-width: 580px; margin: 0; color: var(--dim); font-size: 13px; line-height: 1.7; }
.labs-progress-summary {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-top: 4px;
  color: var(--faint);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.labs-progress-summary strong { color: var(--ink); font-weight: 700; }
.labs-progress-summary a { color: var(--ink); white-space: nowrap; }
.labs-progress-track { display: block; height: 1px; overflow: hidden; background: rgba(247, 243, 246, 0.15); }
.labs-progress-track i { display: block; width: var(--progress, 0%); height: 100%; background: #c9475c; transition: width 650ms cubic-bezier(0.22, 1, 0.36, 1); }
.labs-hub-index .lab-card.is-explored { border-color: rgba(201, 71, 92, 0.34); }
.labs-hub-index .lab-card.is-complete { border-color: rgba(201, 71, 92, 0.52); }
.labs-hub-index .lab-card.is-complete .lab-number,
.labs-hub-index .lab-card.is-complete .lab-action { color: #df7d8c; }
.labs-progress-rail {
  position: fixed;
  inset: auto 0 0;
  z-index: 45;
  display: grid;
  grid-template-columns: auto minmax(120px, 360px) auto;
  justify-content: center;
  align-items: center;
  gap: 18px;
  min-height: 31px;
  padding: 7px 18px;
  border-top: 1px solid rgba(247, 243, 246, 0.12);
  background: rgba(10, 10, 15, 0.88);
  color: rgba(247, 243, 246, 0.58);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}
.labs-progress-rail.just-completed { animation: labs-progress-complete 900ms ease; }

@keyframes labs-progress-complete {
  0%, 100% { background: rgba(10, 10, 15, 0.88); }
  45% { background: rgba(123, 23, 40, 0.94); }
}
.labs-hub-index { border-bottom: 0; }
.labs-hub-index .lab-card { padding: 28px 0; }
.labs-hub-index .lab-copy strong { font-size: clamp(22px, 3vw, 30px); }
.labs-hub-index .lab-card-featured { margin: 24px 0 0; padding-inline: 22px; border: 1px solid rgba(201, 71, 92, 0.45); background: rgba(165, 31, 52, 0.1); }
.labs-hub-closing { margin-top: 76px; padding: 42px 0 0; border-top: 1px solid var(--line); }
.labs-hub-closing p { margin: 0; font-family: var(--serif); font-size: clamp(28px, 4vw, 40px); }
.labs-hub-closing span { display: block; margin-top: 13px; color: var(--dim); font-size: 13px; }
.essay-row,
.note-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  transition: border-color 200ms ease, transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
.essay-row { align-items: flex-start; padding: 22px 0; }
.note-row { align-items: center; padding: 15px 0; }
.essay-row:last-of-type,
.note-row:last-of-type { border-bottom: 1px solid var(--line); }
.essay-title { margin-bottom: 5px; font-size: 17px; font-weight: 580; line-height: 1.4; }
.essay-desc { color: var(--dim); font-size: 13px; font-weight: 350; line-height: 1.65; }
.essay-date,
.note-date { flex-shrink: 0; padding-top: 5px; color: var(--faint); font-size: 10px; letter-spacing: 0.1em; white-space: nowrap; }
.essay-date.pinned { display: flex; gap: 10px; }
.pin-tag { color: var(--accent); letter-spacing: 0.18em; text-transform: uppercase; }
.note-title { color: var(--body); font-size: 14px; font-weight: 400; }
.divider,
.title-rule { border: 0; border-top: 1px solid var(--line); }
.divider { margin: 54px 0; }

.essay { font-family: var(--serif); }
.breadcrumb { margin-bottom: 44px; font-family: var(--sans); }
.breadcrumb a { color: var(--faint); }
.essay h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
}
.essay .label { display: block; margin-bottom: 20px; color: var(--accent); font-family: var(--sans); font-size: 10px; font-weight: 750; letter-spacing: 0.24em; text-transform: uppercase; }
.essay .meta { margin-bottom: 8px; color: var(--faint); font-family: var(--sans); }
.title-rule { margin: 30px 0 44px; }
.essay .section-label { margin: 52px 0 20px; font-family: var(--sans); }
.essay .section-break { margin: 52px 0; color: var(--faint); text-align: center; }
.essay h2 { margin: 42px 0 18px; font-size: 23px; font-weight: 600; line-height: 1.35; }
.essay h3 { margin: 34px 0 14px; font-size: 19px; font-weight: 600; }
.essay p { margin: 0 0 23px; color: var(--body); font-size: 17px; font-weight: 350; line-height: 1.92; }
.essay strong,
.essay em { color: var(--ink); }
.essay a { color: var(--accent); border-bottom: 1px solid rgba(165, 31, 52, 0.46); }
.essay ul,
.essay ol { margin: 0 0 23px 1.4em; padding: 0; }
.essay li { margin-bottom: 10px; color: var(--body); font-size: 16px; line-height: 1.85; }
.essay blockquote { margin: 30px 0; padding-left: 20px; border-left: 2px solid var(--accent); color: var(--dim); }
.essay .updated,
.essay .effective { color: var(--faint); font-family: var(--sans); font-size: 12px; }
.subtitle { margin: -7px 0 20px; color: var(--dim); font-size: 20px; font-style: italic; }
.pull {
  margin: 42px 0;
  padding: 28px 0;
  border-block: 1px solid var(--line);
  color: var(--ink);
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.35;
  text-align: center;
}
.aside {
  margin: 34px 0;
  padding: 22px 24px;
  border-left: 2px solid var(--accent);
  background: rgba(255, 255, 255, 0.045);
}
.aside-label { display: block; margin-bottom: 10px; color: var(--accent); font-family: var(--sans); font-size: 10px; font-weight: 750; letter-spacing: 0.2em; text-transform: uppercase; }
.aside p:last-child { margin-bottom: 0; }
.final-line { color: var(--ink) !important; font-size: 19px !important; font-style: italic; }
.essay-end {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 58px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
}
.essay-end a { border: 0; font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
.back-link a { color: var(--dim); }
.cta-quiet a { color: var(--accent); }
.note h1 { max-width: 12em; }
.doc h2 { margin-top: 48px; }
.doc h3 { font-family: var(--sans); font-size: 15px; }
.kanji-hero { display: block; margin-bottom: 16px; color: var(--accent); font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: 76px; line-height: 0.9; }
.essays { margin-top: 38px; }
.essay-link { display: block; padding: 20px 0; border-top: 1px solid var(--line) !important; transition: border-color 200ms ease, transform 240ms cubic-bezier(0.22, 1, 0.36, 1); }
.essay-link:last-child { border-bottom: 1px solid var(--line) !important; }
.essay-label { margin-bottom: 7px; color: var(--accent); font-family: var(--sans); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; }
.essay-link .essay-title { color: var(--ink); }
.contact { margin-top: 46px; padding-top: 28px; border-top: 1px solid var(--line); }

.site-footer {
  position: relative;
  z-index: 7;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 3.2vw, 52px);
  border-top: 1px solid var(--line);
  background: #171722;
  color: var(--faint);
  font-size: 10px;
  letter-spacing: 0.08em;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
.site-footer a { position: relative; }
.site-footer a:hover { color: var(--ink); }

.waitlist-dialog {
  width: min(560px, calc(100vw - 40px));
  max-width: none;
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 1px solid rgba(247, 243, 246, 0.24);
  background: rgba(23, 23, 34, 0.96);
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.48);
  color: var(--ink);
  font-family: var(--sans);
}
.waitlist-dialog[open] { animation: waitlist-enter 320ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.waitlist-dialog::backdrop {
  background: rgba(10, 10, 17, 0.72);
  backdrop-filter: blur(10px) saturate(0.78);
}
.waitlist-dialog[open]::backdrop { animation: waitlist-backdrop-enter 260ms ease both; }
.waitlist-close {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 1;
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: var(--faint);
  cursor: pointer;
  font: inherit;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.waitlist-close:hover { color: var(--ink); }
.waitlist-panel { padding: clamp(38px, 7vw, 62px); }
.waitlist-kicker {
  margin: 0 0 22px;
  color: var(--accent);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.waitlist-panel h2 {
  max-width: 8em;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 6vw, 54px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.waitlist-intro {
  max-width: 37em;
  margin: 22px 0 32px;
  color: var(--body);
  font-size: 13px;
  line-height: 1.7;
}
.waitlist-form > label {
  display: block;
  margin-bottom: 9px;
  color: var(--dim);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.waitlist-fields { display: grid; grid-template-columns: 1fr auto; }
.waitlist-fields input {
  min-width: 0;
  height: 48px;
  padding: 0 15px;
  border: 1px solid rgba(247, 243, 246, 0.28);
  border-right: 0;
  border-radius: 0;
  outline: 0;
  background: rgba(255, 255, 255, 0.045);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}
.waitlist-fields input::placeholder { color: var(--faint); }
.waitlist-fields input:focus { border-color: rgba(247, 243, 246, 0.68); }
.waitlist-fields button,
.waitlist-success button {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  border-radius: 0;
  background: var(--accent);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.waitlist-fields button:disabled { cursor: wait; opacity: 0.62; }
.waitlist-status {
  min-height: 18px;
  margin: 10px 0 0;
  color: #efb1ba;
  font-size: 11px;
  line-height: 1.5;
}
.waitlist-form small {
  display: block;
  color: var(--faint);
  font-size: 9px;
  line-height: 1.6;
}
.waitlist-form small a { color: var(--dim); border-bottom: 1px solid var(--line); }
.waitlist-honeypot {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px !important;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.waitlist-success[hidden] { display: none; }
.waitlist-success > span {
  display: block;
  margin-bottom: 20px;
  color: var(--accent);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 62px;
  line-height: 0.9;
}
.waitlist-success h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 400;
  letter-spacing: -0.03em;
}
.waitlist-success p { margin: 15px 0 28px; color: var(--dim); font-size: 13px; }
.waitlist-success button { background: transparent; }

@keyframes waitlist-enter {
  from { opacity: 0; transform: translateY(12px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes waitlist-backdrop-enter {
  from { background: rgba(10, 10, 17, 0); backdrop-filter: blur(0) saturate(1); }
  to { background: rgba(10, 10, 17, 0.72); backdrop-filter: blur(10px) saturate(0.78); }
}

@media (hover: hover) {
  .essay-row:hover,
  .note-row:hover,
  .essay-link:hover,
  .lab-card:hover,
  .labs-gateway:hover {
    border-color: rgba(165, 31, 52, 0.7) !important;
    transform: translateX(4px);
  }
  .waitlist-fields button:hover,
  .waitlist-success button:hover { filter: brightness(1.12); }
}

@media (max-width: 720px) {
  html.menu-open { overflow: hidden; }
  .reference-plate { object-position: 62% center; }
  .site-header { padding: 17px 18px; }
  .site-header .logo { position: relative; z-index: 3; }
  .site-header nav {
    position: fixed;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 25px;
    padding: 92px 28px 44px;
    background:
      radial-gradient(circle at 82% 24%, rgba(165, 31, 52, 0.22), transparent 34rem),
      rgba(14, 14, 21, 0.97);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 220ms ease, visibility 220ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .site-header nav > a,
  .site-header nav > a:not(.nav-cta):not(.labs-nav) { display: block; }
  .site-header nav a { color: var(--ink); font-family: var(--serif); font-size: clamp(28px, 9vw, 44px); font-weight: 400; letter-spacing: -0.02em; text-transform: none; }
  .site-header nav a:not(.nav-cta)::after { bottom: -4px; }
  .site-header nav .nav-cta { margin-top: 12px; padding: 11px 15px; font-family: var(--sans); font-size: 9px; font-weight: 750; letter-spacing: 0.16em; text-transform: uppercase; }
  .site-header.menu-open nav { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  .mobile-menu-toggle {
    position: relative;
    z-index: 3;
    display: grid;
    width: 34px;
    height: 34px;
    padding: 10px 7px;
    border: 1px solid rgba(247, 243, 246, 0.28);
    background: rgba(15, 15, 24, 0.34);
    cursor: pointer;
  }
  .mobile-menu-toggle span { display: block; width: 100%; height: 1px; background: var(--ink); transition: transform 240ms ease; }
  .site-header.menu-open .mobile-menu-toggle span:first-child { transform: translateY(6px) rotate(45deg); }
  .site-header.menu-open .mobile-menu-toggle span:last-child { transform: translateY(-6px) rotate(-45deg); }
  .home-hero { min-height: 100svh; }
  .hero-copy { left: 22px; bottom: 42px; width: min(310px, calc(100vw - 44px)); }
  .hero-copy h1 { font-size: 30px; }
  .hero-copy > p:last-of-type { font-size: 12px; }
  .hero-kanji { right: 18px; bottom: 30px; width: min(280px, calc(100vw - 36px)); height: 86px; opacity: 0.72; }
  html.motion-ready.motion-entered .hero-kanji { opacity: 0.72; }
  .kanji-glyph { font-size: 84px; }
  .kanji-meaning { font-size: 30px; }
  .scroll-cue { bottom: 16px; }
  .landing-content { padding-top: 180px; }
  .content-section { width: min(100% - 42px, 960px); padding: 74px 0; }
  .steps,
  .duo,
  .labs-feature,
  .product-demo { grid-template-columns: 1fr; gap: 42px; }
  .product-demo-copy h2 { max-width: 9em; }
  .intent-stage { min-height: 390px; padding: 24px 18px; }
  .intent-command { grid-template-columns: 36px 1fr; gap: 8px; }
  .intent-arc { height: 132px; gap: 8px; }
  .intent-tracks span:nth-child(even) { display: none; }
  .intent-tracks { grid-template-columns: 1fr 1fr; }
  .page { width: min(100% - 40px, 730px); padding-top: 118px; }
  .essay-row { display: block; }
  .lab-card { grid-template-columns: 28px minmax(0, 1fr); gap: 14px; }
  .lab-action { display: none; }
  .labs-gateway { grid-template-columns: 40px minmax(0, 1fr); }
  .labs-gateway-action { display: none; }
  .labs-feature-path { grid-template-columns: repeat(2, 1fr); }
  .labs-feature-path a:nth-child(odd) { border-left: 0; }
  .labs-feature-path a { border-bottom: 1px solid var(--line); }
  .labs-feature-start { min-height: 280px; }
  .labs-hub-page .page { width: min(100% - 40px, 880px); }
  .labs-path-note { grid-template-columns: 1fr; gap: 10px; }
  .labs-progress-summary { grid-template-columns: 1fr; gap: 11px; margin-top: 10px; }
  .labs-progress-summary a { justify-self: start; }
  .labs-hub-index .lab-card-featured { margin-inline: -10px; padding-inline: 10px; }
  .labs-progress-rail { grid-template-columns: auto minmax(70px, 1fr) auto; gap: 10px; justify-content: stretch; }
  .essay-date { margin-top: 10px; }
  .essay h1 { font-size: 36px; }
  .site-footer { display: block; }
  .site-footer > span { display: block; margin-top: 18px; }
  .waitlist-dialog { width: calc(100vw - 24px); }
  .waitlist-panel { padding: 42px 24px 30px; }
  .waitlist-fields { grid-template-columns: 1fr; gap: 9px; }
  .waitlist-fields input { border-right: 1px solid rgba(247, 243, 246, 0.28); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reference-plate { transform: scale(1.006); }
  .waitlist-dialog[open],
  .waitlist-dialog[open]::backdrop { animation: none; }
  .site-header,
  .hero-copy,
  .hero-kanji,
  .scroll-cue,
  .page,
  .reveal-item,
  .essay-row,
  .note-row,
  .essay-link,
  .lab-card,
  .labs-gateway,
  .labs-feature-start,
  .product-demo-copy > button,
  .intent-arc i,
  .intent-result,
  .orb-hint,
  .mobile-menu-toggle span,
  .site-header nav,
  .hero-actions a,
  .text-link,
  .primary-link { transition: none !important; transform: none !important; }
  .scroll-cue { animation: none !important; transform: translateX(-50%) !important; }
  .sound-toggle.is-on .sound-bars i,
  .labs-progress-rail.just-completed { animation: none !important; }
  .intent-command p i { clip-path: inset(0 0 0 0) !important; animation: none !important; }
  .intent-arc i { height: var(--after) !important; opacity: 1 !important; }
  .intent-result { opacity: 1 !important; transform: none !important; }
  html.webgl-orb .orb-spinner,
  .kanji-glyph,
  .kanji-meaning,
  .hero-actions a::after,
  .text-link::after,
  .primary-link::after,
  .site-footer a::after { transition: none !important; }
}
