:root {
  --ak: #B45F2F;
  --ink: #2B3A4A;
  --cream: #FAF6F0;
  --cream-2: #F3ECE2;
  --green: #2F7D4F;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', sans-serif;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--ak); color: #fff; }
input::placeholder, textarea::placeholder { color: rgba(43,58,74,.35); }

@keyframes bkmarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes bkpulse { 0%,100% { opacity: .45; } 50% { opacity: 1; } }
@keyframes bkdot { 0%,80%,100% { transform: translateY(0); opacity: .4; } 40% { transform: translateY(-5px); opacity: 1; } }
@keyframes bknaviresult { 0% { opacity: 0; transform: translateY(12px) scale(.985); } 100% { opacity: 1; transform: none; } }
@keyframes bknaviflash { 0% { box-shadow: 0 0 0 0 rgba(180,95,47,.48); } 100% { box-shadow: 0 0 0 12px rgba(180,95,47,0); } }

/* ---------- shared ---------- */
.container { max-width: 1120px; margin: 0 auto; }
.col { display: flex; flex-direction: column; }
.section { padding: clamp(76px, 10vw, 130px) 5vw; scroll-margin-top: 70px; }
.section-alt { background: var(--cream-2); }
.section-dark { background: var(--ink); color: var(--cream); position: relative; overflow: hidden; }
.section .container.col { gap: 56px; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(40px, 6vw, 64px); align-items: start; position: relative; }

.eyebrow { font-family: Inter, sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .22em; color: var(--ak); }
.section-head { display: flex; flex-direction: column; gap: 14px; }
h2 { margin: 0; font-size: clamp(30px, 3.6vw, 48px); font-weight: 900; line-height: 1.3; }
.tnum { font-variant-numeric: tabular-nums; }
.muted-note { font-size: 12px; color: rgba(43,58,74,.5); }

.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ak); animation: bkpulse 3s ease-in-out infinite; flex: none; }

.btn { display: inline-block; text-decoration: none; border-radius: 999px; font-weight: 700; font-family: inherit; cursor: pointer; text-align: center; }
.btn-primary { background: var(--ak); color: #fff; border: none; padding: 16px 34px; font-size: 15px; transition: transform .25s, box-shadow .25s; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(180,95,47,.35); }
.btn-outline { border: 1.5px solid rgba(43,58,74,.3); color: var(--ink); padding: 16px 34px; font-size: 15px; transition: border-color .25s, color .25s; }
.btn-outline:hover { border-color: var(--ak); color: var(--ak); }
.btn-ghost { background: transparent; border: 1px solid rgba(43,58,74,.25); padding: 10px 24px; font-size: 13px; color: var(--ink); white-space: nowrap; transition: border-color .25s, color .25s; }
.btn-ghost:hover { border-color: var(--ak); color: var(--ak); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px 5vw;
  background: rgba(250,246,240,.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(43,58,74,.1);
}
.nav-logo { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark { font-family: Inter, sans-serif; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.logo-i { position: relative; }
.logo-dot { position: absolute; top: 1px; left: 50%; transform: translateX(-50%); width: 5px; height: 5px; background: var(--ak); }
.logo-kana { font-size: 12px; font-weight: 500; color: rgba(43,58,74,.6); letter-spacing: .14em; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px); font-size: 14px; font-weight: 500; }
.nav-links > a { color: var(--ink); text-decoration: none; white-space: nowrap; transition: color .25s; }
.nav-links > a:hover { color: var(--ak); }
.nav-lang { display: flex; align-items: center; gap: 4px; font-size: 12px; color: rgba(43,58,74,.35); white-space: nowrap; }
.lang-btn {
  background: transparent; border: none; cursor: pointer; font-family: Inter, sans-serif;
  font-size: 12px; font-weight: 600; color: rgba(43,58,74,.45); padding: 4px 5px;
  border-radius: 6px; transition: color .2s;
}
.lang-btn:hover { color: var(--ak); }
.lang-btn.on { font-weight: 800; color: var(--ink); }
.nav-links > a.nav-cta { background: var(--ink); color: var(--cream); padding: 10px 22px; border-radius: 999px; font-size: 13px; font-weight: 700; transition: background .25s; }
.nav-links > a.nav-cta:hover { background: var(--ak); color: var(--cream); }

.nav-sub {
  display: none; gap: 22px; padding: 10px 5vw 12px;
  background: rgba(250,246,240,.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(43,58,74,.1);
  overflow-x: auto; font-size: 13px; font-weight: 500;
}
.nav-sub a { color: var(--ink); text-decoration: none; white-space: nowrap; }

@media (max-width: 959px) {
  .nav-links > a:not(.nav-cta), .nav .nav-lang { display: none; }
  .nav-sub { display: flex; align-items: center; }
  .nav-sub .nav-lang { margin-left: auto; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 0 5vw; min-height: 88vh;
  display: flex; align-items: center;
  cursor: crosshair;
}
#bk-cv { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-inner {
  position: relative; max-width: 1120px; margin: 0 auto; width: 100%;
  padding: clamp(80px, 13vh, 130px) 0 clamp(56px, 10vh, 110px); pointer-events: none;
}
/* Text is confined to the left column so it never runs into the particle mark
   (which the canvas draws on the right ~76% of the hero). On phones the mark
   drops to a low-center backdrop, so the copy reclaims full width. */
.hero-copy {
  display: flex; flex-direction: column; gap: clamp(24px, 3.4vh, 34px);
  max-width: min(680px, 50vw);
}
@media (max-width: 759px) { .hero-copy { max-width: 100%; } }
.hero-eyebrow { display: flex; align-items: center; gap: 14px; font-family: Inter, sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .2em; color: rgba(43,58,74,.6); }
.hero h1 { margin: 0; font-size: clamp(40px, 6vw, 88px); font-weight: 900; line-height: 1.18; letter-spacing: .01em; text-wrap: balance; }
.hero-lead { margin: 0; max-width: 31em; font-size: clamp(15px, 1.3vw, 18px); line-height: 2; color: rgba(43,58,74,.75); }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; pointer-events: auto; }
.hero-hint { font-size: 11px; letter-spacing: .16em; color: rgba(43,58,74,.4); font-family: Inter, sans-serif; font-weight: 600; }

/* English runs longer than Japanese: cap the headline so each phrase stays on
   one line inside the 680px copy column, and tighten the CJK-loose leading. */
html[lang="en"] .hero h1 { font-size: clamp(36px, 4.7vw, 72px); letter-spacing: 0; }
html[lang="en"] .hero-lead, html[lang="en"] .ai-lead, html[lang="en"] .contact-lead { line-height: 1.8; }
html[lang="en"] .promise-card p, html[lang="en"] .product-body p, html[lang="en"] .founder-card p { line-height: 1.75; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid rgba(43,58,74,.12); border-bottom: 1px solid rgba(43,58,74,.12); padding: 14px 0; background: var(--cream-2); }
.marquee-track { display: flex; gap: 0; width: max-content; animation: bkmarquee 26s linear infinite; }
.marquee-row { display: flex; align-items: baseline; gap: 48px; padding-right: 48px; font-family: Inter, 'Zen Kaku Gothic New', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .18em; color: rgba(43,58,74,.45); white-space: nowrap; }
.mq-dot { color: var(--ak); }

/* ---------- promises ---------- */
.promise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.promise-card {
  background: #fff; border: 1px solid rgba(43,58,74,.1); border-radius: 14px;
  padding: 38px 32px; display: flex; flex-direction: column; gap: 16px;
  transition: transform .3s, box-shadow .3s;
}
.promise-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(43,58,74,.1); }
.promise-num { font-family: Inter, sans-serif; font-weight: 700; font-size: 14px; color: var(--ak); }
.promise-card h3 { margin: 0; font-size: 21px; font-weight: 700; }
.promise-card p { margin: 0; font-size: 14.5px; line-height: 1.95; color: rgba(43,58,74,.7); }

/* ---------- products ---------- */
.product-list { display: flex; flex-direction: column; }
.product-row {
  display: grid; grid-template-columns: clamp(34px, 6vw, 64px) 1fr; gap: clamp(14px, 3vw, 24px); align-items: baseline;
  padding: 30px 12px; border-top: 1px solid rgba(43,58,74,.16);
  transition: background .25s;
  color: inherit; text-decoration: none;
}
.product-row:last-child { border-bottom: 1px solid rgba(43,58,74,.16); }
.product-row:hover { background: rgba(255,255,255,.7); }
.product-row:hover .product-name { color: var(--ak); }
.product-arrow { font-family: Inter, sans-serif; font-size: 14px; font-weight: 600; color: var(--ak); opacity: .45; transition: opacity .25s, transform .25s; }
.product-row:hover .product-arrow { opacity: 1; transform: translate(2px, -2px); }
.product-num { font-family: Inter, sans-serif; font-weight: 700; font-size: 13px; color: rgba(43,58,74,.4); }
.product-body { display: flex; flex-direction: column; gap: 6px; }
.product-title { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.product-name { font-size: 20px; font-weight: 700; transition: color .25s; }
.product-en { font-family: Inter, sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .1em; color: rgba(43,58,74,.45); }
.product-body p { margin: 0; font-size: 14px; line-height: 1.9; color: rgba(43,58,74,.68); }
.badge { font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 4px 12px; white-space: nowrap; border: 1px solid; }
.badge-dev { color: var(--ak); border-color: var(--ak); }
.badge-pilot { color: var(--green); border-color: var(--green); }
.badge-soon { color: rgba(43,58,74,.55); border-color: rgba(43,58,74,.3); }
.product-note { margin: 0; font-size: 13.5px; color: rgba(43,58,74,.55); line-height: 1.9; }

/* ---------- secure ai + 60-sec check ---------- */
#secure-ai { overflow: clip; }
.sai-lead { margin: 0; max-width: 44em; font-size: 15px; line-height: 2; color: rgba(43,58,74,.72); }
.sai-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }

/* the diagnostic panel: dark "map room" with the 3D model landscape on top */
.navi-panel {
  background: var(--ink); color: var(--cream);
  width: 100vw; margin-left: calc(50% - 50vw);
  border-radius: 0; overflow: hidden;
  box-shadow: 0 30px 90px rgba(43,58,74,.3);
}
.navi-viz {
  position: relative; height: clamp(460px, 34vw, 580px);
  background:
    radial-gradient(120% 90% at 70% 10%, rgba(180,95,47,.16), transparent 55%),
    radial-gradient(90% 80% at 15% 90%, rgba(47,125,79,.12), transparent 55%),
    linear-gradient(180deg, #26333F, #2B3A4A);
  border-bottom: 1px solid rgba(250,246,240,.12);
}
#bk-ai3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; overscroll-behavior: contain; }
#bk-ai3d.is-dragging { cursor: grabbing !important; }
#bk-ai3d:focus-visible { outline: 2px solid #E2C16D; outline-offset: -5px; }
.navi-no3d .navi-viz { height: auto; padding: 18px 0 0; }
.navi-no3d #bk-ai3d, .navi-no3d .navi-viz-cap { display: none; }
.navi-viz-head {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; align-items: center; gap: 10px;
  padding: 18px max(24px, 5vw); pointer-events: none;
}
.navi-no3d .navi-viz-head { position: static; padding-top: 0; }
.navi-title { font-weight: 700; font-size: 15px; }
.navi-free {
  font-family: Inter, sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .14em;
  color: rgba(250,246,240,.6); border: 1px solid rgba(250,246,240,.3); border-radius: 999px; padding: 2px 8px;
}
.navi-verified {
  margin-left: 2px; font-family: Inter, 'Zen Kaku Gothic New', sans-serif; font-size: 9px; font-weight: 600;
  letter-spacing: .06em; color: rgba(250,246,240,.42);
}
.navi-map-tools { position: absolute; top: 62px; left: max(24px, 5vw); display: flex; flex-direction: column; align-items: flex-start; gap: 7px; z-index: 2; }
.navi-map-tools p { margin: 0; font-size: 9.5px; line-height: 1.45; color: rgba(250,246,240,.47); pointer-events: none; }
.navi-map-controls { display: flex; gap: 5px; }
.navi-map-controls button {
  appearance: none; padding: 5px 9px; border: 1px solid rgba(250,246,240,.18); border-radius: 7px;
  background: rgba(28,40,51,.68); color: rgba(250,246,240,.72); font: 600 9.5px/1.2 Inter, 'Zen Kaku Gothic New', sans-serif;
  cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: color .2s, border-color .2s, background .2s;
}
.navi-map-controls button:hover { color: #fff; border-color: rgba(217,139,87,.65); background: rgba(38,51,63,.9); }
.navi-map-controls button:focus-visible { outline: 2px solid #E2C16D; outline-offset: 2px; }
.navi-map-status {
  position: absolute; top: 18px; right: max(24px, 5vw); width: min(340px, 40%);
  padding: 11px 13px 12px;
  background: rgba(28,40,51,.76); border: 1px solid rgba(250,246,240,.13); border-radius: 10px;
  box-shadow: 0 10px 32px rgba(0,0,0,.16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  pointer-events: none; transition: border-color .3s, background .3s;
}
.navi-map-status.is-changing { border-color: rgba(217,139,87,.6); background: rgba(38,51,63,.92); }
.navi-map-status-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.navi-map-stage {
  font-family: Inter, 'Zen Kaku Gothic New', sans-serif; font-size: 9.5px; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; color: #D98B57;
}
.navi-map-count { flex: none; font-size: 9.5px; color: rgba(250,246,240,.48); }
.navi-map-count strong { margin-right: 2px; font-family: Inter, sans-serif; font-size: 18px; line-height: 1; color: var(--cream); font-variant-numeric: tabular-nums; }
.navi-map-track { position: relative; height: 2px; margin: 9px 0; background: rgba(250,246,240,.12); overflow: hidden; }
.navi-map-track i { position: absolute; inset: 0 auto 0 0; width: 0; background: #D98B57; transition: width .7s cubic-bezier(.2,.75,.2,1); }
.navi-map-status p { margin: 0; font-size: 10px; line-height: 1.55; color: rgba(250,246,240,.62); }
.navi-no3d .navi-map-status { display: none; }
.navi-legend {
  position: absolute; left: max(24px, 5vw); bottom: 18px;
  display: flex; gap: 16px; flex-wrap: wrap; pointer-events: none;
  font-size: 11px; color: rgba(250,246,240,.65);
}
.navi-no3d .navi-legend { position: static; padding: 10px 22px 14px; }
.navi-lg { display: flex; align-items: center; gap: 6px; }
.lg-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.lg-open { background: #D98B57; }
.lg-jp { background: #7CC79B; }
.lg-closed { background: rgba(250,246,240,.8); }
.navi-viz-cap {
  position: absolute; right: max(24px, 5vw); bottom: 58px; width: min(42vw, 560px); overflow: visible;
  background: rgba(28,40,51,.94); border: 1px solid rgba(250,246,240,.18); border-radius: 12px;
  padding: 16px 18px; font-size: 11.5px; line-height: 1.55; color: rgba(250,246,240,.82);
  box-shadow: 0 16px 42px rgba(0,0,0,.26); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  pointer-events: none;
}
.navi-viz-cap.is-pinned { border-color: rgba(226,193,109,.55); pointer-events: auto; }
.navi-viz-cap[hidden] { display: none; }
.navi-cap-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 9px; }
.navi-cap-actions { display: flex; align-items: center; gap: 7px; flex: none; }
.navi-cap-close {
  appearance: none; padding: 3px 7px; border: 1px solid rgba(250,246,240,.2); border-radius: 6px;
  background: transparent; color: rgba(250,246,240,.65); font: 600 9px/1.3 Inter, 'Zen Kaku Gothic New', sans-serif; cursor: pointer;
}
.navi-cap-close:hover { border-color: rgba(226,193,109,.65); color: var(--cream); }
.navi-cap-close:focus-visible { outline: 2px solid #E2C16D; outline-offset: 2px; }
.navi-cap-provider { display: block; margin-bottom: 1px; font: 600 8.5px/1.4 Inter, sans-serif; letter-spacing: .13em; text-transform: uppercase; color: rgba(250,246,240,.4); }
.navi-cap-name { margin: 0; font: 700 15px/1.35 Inter, 'Zen Kaku Gothic New', sans-serif; color: var(--cream); }
.navi-cap-rank { flex: none; padding: 3px 7px; border: 1px solid rgba(217,139,87,.45); border-radius: 999px; font-size: 9px; color: #E9A578; }
.navi-cap-status { margin: 0 0 9px; color: rgba(250,246,240,.63); }
.navi-cap-grid { display: grid; grid-template-columns: 82px 1fr; gap: 6px 12px; padding-top: 9px; border-top: 1px solid rgba(250,246,240,.11); }
.navi-cap-grid dt { color: rgba(250,246,240,.38); }
.navi-cap-grid dd { margin: 0; color: rgba(250,246,240,.8); }
.navi-cap-sources { display: flex; gap: 10px; flex-wrap: wrap; margin: 9px 0 0; }
.navi-cap-sources a { color: #E9A578; text-decoration: underline; text-underline-offset: 2px; }
.navi-cap-caution { margin: 8px 0 0; font-size: 9.5px; color: rgba(250,246,240,.38); }
.navi-cap-pin { margin: 7px 0 0; font-size: 9.5px; color: #E2C16D; }
.navi-body {
  display: flex; flex-direction: column; gap: 16px;
  padding: 32px max(5vw, calc((100vw - 1120px) / 2));
}
.navi-sub { margin: 0; font-size: 12.5px; color: rgba(250,246,240,.55); line-height: 1.9; max-width: 46em; }
.navi-logic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid rgba(250,246,240,.12); border-radius: 12px; overflow: hidden; }
.navi-logic-step { position: relative; display: flex; align-items: center; gap: 10px; min-width: 0; padding: 7px 11px; transition: background .3s, color .3s; }
.navi-logic-step + .navi-logic-step { border-left: 1px solid rgba(250,246,240,.12); }
.navi-logic-step::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: #D98B57; transition: right .55s cubic-bezier(.2,.75,.2,1); }
.navi-logic-step.done { background: rgba(180,95,47,.09); }
.navi-logic-step.done::after { right: 0; }
.navi-logic-num { font-family: Inter, sans-serif; font-size: 10px; font-weight: 700; color: rgba(250,246,240,.35); }
.navi-logic-step.done .navi-logic-num { color: #D98B57; }
.navi-logic-copy { display: flex; flex-direction: column; min-width: 0; }
.navi-logic-copy strong { font-family: Inter, 'Zen Kaku Gothic New', sans-serif; font-size: 9.5px; line-height: 1.4; letter-spacing: .11em; color: rgba(250,246,240,.5); }
.navi-logic-copy em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; line-height: 1.45; font-style: normal; color: rgba(250,246,240,.38); }
.navi-logic-step.done .navi-logic-copy strong { color: rgba(250,246,240,.68); }
.navi-logic-step.done .navi-logic-copy em { color: var(--cream); }
.navi-q { display: flex; flex-direction: column; gap: 8px; transition: opacity .3s; }
.navi-q.is-pending { opacity: .62; }
.navi-qlabel { font-size: 13.5px; font-weight: 700; color: rgba(250,246,240,.9); }
.navi-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.navi-opt {
  background: transparent; border: 1px solid rgba(250,246,240,.28); color: rgba(250,246,240,.85);
  padding: 9px 16px; border-radius: 999px; font-size: 13px; font-family: inherit; cursor: pointer;
  transition: border-color .25s, background .25s, color .25s, transform .25s, opacity .25s, box-shadow .25s;
}
.navi-opt:hover { border-color: var(--ak); color: #fff; transform: translateY(-1px); }
.navi-opt:disabled { cursor: not-allowed; opacity: .34; transform: none; }
.navi-opt.on { background: var(--ak); border-color: var(--ak); color: #fff; font-weight: 700; box-shadow: 0 6px 18px rgba(180,95,47,.25); animation: bknaviflash .55s ease-out; }
.navi-opts:has(.navi-opt.on) .navi-opt:not(.on) { opacity: .55; }
.navi-opt:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }
.navi-result { display: flex; flex-direction: column; gap: 16px; background: var(--cream); color: var(--ink); border-radius: 14px; padding: clamp(18px, 3vw, 28px); }
.navi-result[hidden] { display: none; }
.navi-result.is-entering { animation: bknaviresult .55s cubic-bezier(.2,.75,.2,1) both; }
.navi-r-trace { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid rgba(43,58,74,.12); border-radius: 10px; overflow: hidden; }
.navi-r-trace span { min-width: 0; padding: 9px 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; color: rgba(43,58,74,.64); }
.navi-r-trace span + span { border-left: 1px solid rgba(43,58,74,.12); }
.navi-r-models { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.navi-r-models-label { margin-right: 3px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; color: rgba(43,58,74,.46); }
.navi-r-model { appearance: none; padding: 5px 9px; border: 1px solid rgba(180,95,47,.25); border-radius: 999px; font-family: Inter, sans-serif; font-size: 10.5px; font-weight: 600; color: var(--ak); background: rgba(180,95,47,.055); cursor: pointer; }
.navi-r-model:hover { border-color: var(--ak); background: rgba(180,95,47,.11); }
.navi-r-model:focus-visible { outline: 2px solid var(--ak); outline-offset: 2px; }
.navi-r-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.navi-r-eyebrow { font-family: Inter, sans-serif; font-weight: 600; font-size: 11px; letter-spacing: .18em; color: var(--ak); }
.navi-r-name { font-size: 19px; font-weight: 700; }
.navi-r-why { margin: 0; font-size: 13.5px; line-height: 1.95; color: rgba(43,58,74,.72); }
.navi-r-honesty { margin: 0; padding: 11px 13px; border-left: 2px solid var(--ak); background: rgba(180,95,47,.055); font-size: 12px; line-height: 1.75; color: rgba(43,58,74,.66); }
.navi-r-table { display: flex; flex-direction: column; }
.navi-r-row { display: grid; grid-template-columns: clamp(110px, 24vw, 150px) 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(43,58,74,.12); font-size: 13.5px; }
.navi-r-row:last-child { border-bottom: 1px solid rgba(43,58,74,.12); }
.navi-r-key { font-weight: 700; color: rgba(43,58,74,.55); }
.navi-r-cta { align-self: flex-start; border: none; padding: 13px 28px; font-size: 14px; }
.navi-r-note { margin: 0; font-size: 11.5px; color: rgba(43,58,74,.45); }

/* ---------- ai chat ---------- */
.deco-ring { position: absolute; right: -8vw; top: -30%; width: min(34vw, 480px); aspect-ratio: 1; border-radius: 50%; border: 1.5px solid rgba(250,246,240,.14); }
.ai-intro { gap: 26px; }
.ai-lead { margin: 0; font-size: 15px; line-height: 2; color: rgba(250,246,240,.7); max-width: 30em; }
.chip-list { display: flex; flex-direction: column; gap: 10px; }
.chip {
  align-self: flex-start; background: transparent;
  border: 1px solid rgba(250,246,240,.25); color: rgba(250,246,240,.85);
  padding: 10px 18px; border-radius: 999px; font-size: 13px; font-family: inherit; cursor: pointer;
  transition: border-color .25s, color .25s;
}
.chip:hover { border-color: var(--ak); color: #fff; }

.chat-panel { background: var(--cream); color: var(--ink); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.35); display: flex; flex-direction: column; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 16px 22px; border-bottom: 1px solid rgba(43,58,74,.12); background: #fff; }
.chat-title { font-weight: 700; font-size: 14px; white-space: nowrap; }
.chat-beta { font-family: Inter, sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .14em; color: rgba(43,58,74,.45); border: 1px solid rgba(43,58,74,.2); border-radius: 999px; padding: 2px 8px; }
.chat-reset {
  margin-left: auto; background: transparent; border: none; cursor: pointer;
  font-family: inherit; font-size: 11.5px; color: rgba(43,58,74,.45);
  padding: 4px 6px; white-space: nowrap; transition: color .25s;
}
.chat-reset:hover { color: var(--ak); }
.chat-log { display: flex; flex-direction: column; gap: 12px; height: 360px; overflow-y: auto; padding: 22px; }
.chat-msg { max-width: 82%; padding: 12px 16px; font-size: 13.5px; line-height: 1.85; white-space: pre-wrap; }
.chat-msg.assistant { align-self: flex-start; background: #fff; color: var(--ink); border-radius: 14px 14px 14px 4px; }
.chat-msg.user { align-self: flex-end; background: var(--ink); color: var(--cream); border-radius: 14px 14px 4px 14px; }
.chat-typing { align-self: flex-start; background: #fff; border: 1px solid rgba(43,58,74,.1); border-radius: 14px 14px 14px 4px; padding: 14px 18px; display: flex; gap: 5px; }
.chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--ak); animation: bkdot 1.2s ease-in-out infinite; }
.chat-typing span:nth-child(2) { animation-delay: .15s; }
.chat-typing span:nth-child(3) { animation-delay: .3s; }
.chat-form { display: flex; gap: 10px; padding: 16px; border-top: 1px solid rgba(43,58,74,.12); background: #fff; }
.chat-form input {
  flex: 1; min-width: 0; border: 1px solid rgba(43,58,74,.18); border-radius: 999px;
  padding: 12px 20px; font-size: 14px; font-family: inherit; background: var(--cream); outline: none;
}
.chat-form input:focus { border-color: var(--ak); }
.btn-send { padding: 12px 26px; font-size: 14px; transition: transform .2s; }
.btn-send:hover { transform: translateY(-1px); box-shadow: none; }

/* ---------- company ---------- */
.company-block { gap: 28px; }
.company-table { display: flex; flex-direction: column; }
.company-row { display: grid; grid-template-columns: clamp(84px, 20vw, 110px) 1fr; gap: clamp(12px, 3vw, 20px); padding: 18px 0; border-top: 1px solid rgba(43,58,74,.14); font-size: 14.5px; }
.company-row:last-child { border-bottom: 1px solid rgba(43,58,74,.14); }
.company-key { font-weight: 700; color: rgba(43,58,74,.55); }
.founder-list { display: flex; flex-direction: column; gap: 20px; }
.founder-card { background: #fff; border: 1px solid rgba(43,58,74,.1); border-radius: 14px; padding: 28px 30px; display: flex; flex-direction: column; gap: 8px; }
.founder-name { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: 19px; font-weight: 700; }
.founder-role { font-size: 12.5px; font-weight: 400; color: rgba(43,58,74,.55); }
.founder-card p { margin: 0; font-size: 14px; line-height: 1.9; color: rgba(43,58,74,.7); }

/* ---------- contact ---------- */
.contact { padding-top: clamp(80px, 11vw, 140px); padding-bottom: clamp(80px, 11vw, 140px); }
.deco-circle { position: absolute; left: -10vw; bottom: -40%; width: min(40vw, 560px); aspect-ratio: 1; border-radius: 50%; background: var(--ak); opacity: .9; }
.contact-intro { gap: 32px; }
.contact-h2 { font-size: clamp(34px, 4.2vw, 58px); text-wrap: balance; }
.contact-lead { margin: 0; font-size: 15px; line-height: 2; color: rgba(250,246,240,.72); max-width: 30em; }
.contact-mail {
  color: var(--cream); text-decoration: none; font-family: Inter, sans-serif; font-weight: 700; font-size: 17px;
  border-bottom: 2px solid var(--ak); align-self: flex-start; padding-bottom: 4px; transition: color .25s;
}
.contact-mail:hover { color: var(--ak); }
.contact-panel { background: var(--cream); color: var(--ink); border-radius: 18px; padding: clamp(22px, 4vw, 36px); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; font-weight: 700; color: rgba(43,58,74,.6); }
.label-text { white-space: nowrap; }
.req { color: var(--ak); }
.contact-form input, .contact-form textarea {
  border: 1px solid rgba(43,58,74,.18); border-radius: 10px; padding: 13px 16px;
  font-size: 14px; font-family: inherit; font-weight: 400; background: #fff; outline: none;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--ak); }
.contact-form textarea { resize: vertical; }
.btn-lg { padding: 16px 34px; font-size: 15px; }
.form-note { margin: 0; font-size: 11.5px; color: rgba(43,58,74,.45); line-height: 1.7; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-done { display: flex; flex-direction: column; gap: 16px; align-items: center; justify-content: center; min-height: 380px; text-align: center; }
.contact-done[hidden] { display: none; }
.done-check { width: 56px; height: 56px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 26px; font-weight: 900; }
.done-title { font-size: 19px; font-weight: 700; }
.contact-done p { margin: 0; font-size: 14px; line-height: 1.9; color: rgba(43,58,74,.65); }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: rgba(250,246,240,.6); padding: 34px 5vw; border-top: 1px solid rgba(250,246,240,.12); }
.footer-inner { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; font-size: 12.5px; }
.footer-brand { display: flex; align-items: baseline; gap: 10px; }
.footer-logo { font-family: Inter, sans-serif; font-weight: 800; font-size: 16px; color: var(--cream); }
.footer-kana { letter-spacing: .14em; }
.footer-tag { color: rgba(250,246,240,.4); }
.footer-llm { color: rgba(250,246,240,.45); text-decoration: none; border-bottom: 1px dotted rgba(250,246,240,.3); }
.footer-llm:hover { color: var(--cream); }

/* ---------- reveal ---------- */
.rv-init { opacity: 0; transform: translateY(26px); }
.rv-anim { transition: opacity .85s cubic-bezier(.2,.6,.2,1), transform .85s cubic-bezier(.2,.6,.2,1); }
.rv-in { opacity: 1; transform: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .rv-init { opacity: 1; transform: none; }
  .navi-map-track i, .navi-logic-step::after, .navi-q, .navi-opt { transition-duration: 0s; }
  .navi-opt.on, .navi-result.is-entering { animation: none; }
}

@media (min-width: 721px) and (max-width: 1100px) {
  .navi-map-status { width: 220px; }
  .navi-map-status p { display: none; }
}

@media (max-width: 720px) {
  .navi-viz { height: 520px; }
  .navi-viz-head { padding: 15px 16px; }
  .navi-title { font-size: 13px; }
  .navi-verified { display: none; }
  .navi-map-status { top: 52px; left: 16px; right: 16px; width: auto; }
  .navi-map-tools { top: 134px; left: 16px; right: 16px; gap: 5px; }
  .navi-map-tools p { display: none; }
  .navi-legend { left: 16px; right: 16px; bottom: 12px; gap: 8px 13px; font-size: 9.5px; }
  .navi-viz-cap { left: 16px; right: 16px; bottom: 62px; width: auto; max-width: none; overflow: visible; padding: 14px; }
  .navi-cap-grid { grid-template-columns: 58px 1fr; }
  .navi-logic { grid-template-columns: 1fr; }
  .navi-logic-step + .navi-logic-step { border-left: 0; border-top: 1px solid rgba(250,246,240,.12); }
  .navi-r-trace { grid-template-columns: 1fr; }
  .navi-r-trace span + span { border-left: 0; border-top: 1px solid rgba(43,58,74,.12); }
}
