/* ====== GSCORA AI · Premium Tech Design System v2 ====== */

:root {
  --font-sans: "Inter", "Noto Sans JP", -apple-system, "SF Pro Display", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, monospace;

  --bg: #ffffff;
  --surface: #f8fafc;
  --surface-rgb: 248,250,252;
  --text: #0a0a0c;
  --muted: #64748b;
  --border: #e2e8f0;
  --accent: #7c3aed;
  --grad: linear-gradient(125deg, #3b5bff 0%, #6366f1 45%, #8b5cf6 100%);
  --grad-soft: linear-gradient(125deg, rgba(59,91,255,.10), rgba(139,92,246,.10));
}
.dark {
  --bg: #020617;
  --surface: #0a0f1c;
  --surface-rgb: 10,15,28;
  --text: #f8fafc;
  --muted: #94a3b8;
  --border: rgba(148,163,184,.14);
  --accent: #a78bfa;
}

* { box-sizing: border-box; }
/* clip (not hidden) on root: prevents horizontal scroll from the off-canvas
   drawer without creating a scroll container, so position:sticky still works */
html { scroll-behavior: smooth; overflow-x: clip; }
html[lang="en"] .ja-only { display: none !important; }
html[lang="ja"] .en-only { display: none !important; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  transition: background-color .25s ease, color .25s ease;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background .4s ease, color .4s ease;
}

/* ===== Gradient mesh glow (Runway-style) ===== */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(40% 35% at 18% 12%, rgba(59,91,255,.16), transparent 70%),
    radial-gradient(38% 32% at 85% 22%, rgba(99,102,241,.14), transparent 70%),
    radial-gradient(45% 40% at 60% 95%, rgba(139,92,246,.12), transparent 70%);
  opacity: 1;
}
.dark body::before, body.dark::before { opacity: 1; }
@media (prefers-color-scheme: dark) { /* placeholder */ }

/* ===== Typography scale ===== */
.display {
  font-size: clamp(2.75rem, 6vw, 5.25rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.02;
}
.h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.06;
}
.h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 700; letter-spacing: 0; line-height: 1.2; }

/* Balanced line wrapping for headlines: avoid orphan words / awkward breaks */
.display, .h2, .h3, .legal-title { text-wrap: balance; }

/* Japanese typography: enforce strict line-break rules so particles (を/は/に)
   never dangle at the start of a line */
html[lang="ja"] body { line-break: strict; word-break: normal; }

/* Mono eyebrow (OpenRouter / dev vibe) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: currentColor;
  opacity: .7;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== Nav ===== */
#nav { transition: all .35s ease; }
#navInner {
  height: 68px; display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px; padding: 0 18px; border-radius: 16px;
  transition: all .35s ease;
}
#nav.scrolled #navInner {
  margin-top: 8px; height: 54px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 8px 30px rgba(0,0,0,.06);
}
.dark #nav.scrolled #navInner {
  background: rgba(2,6,23,.62);
  border-color: rgba(148,163,184,.12);
  box-shadow: 0 8px 30px rgba(0,0,0,.4);
}
.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 12px; border-radius: 8px;
  font-size: .9rem; font-weight: 500; color: var(--muted);
  transition: color .2s, background .2s;
}
.nav-link:hover, .nav-link.active { color: var(--text); background: rgba(127,127,127,.07); }
.nav-link.active { font-weight: 600; }

/* Lang toggle */
.lang-btn { color: var(--muted); font-weight: 600; }
.lang-btn.active { background: var(--text); color: var(--bg); }

/* Brand logo (theme-adaptive PNG assets) */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); padding: 6px 10px 6px 0; }
.brand-mark { display: block; filter: drop-shadow(0 2px 8px rgba(59,91,255,.25)); }
.brand-logo { height: 38px; width: auto; display: block; transition: transform .25s cubic-bezier(.16,1,.3,1), filter .25s; }
.brand:hover .brand-logo { transform: translateY(-1px); filter: drop-shadow(0 4px 12px rgba(99,102,241,.35)); }
.brand-logo-dark { display: none; }
.brand-logo-light { display: block; }
.dark .brand-logo-light { display: none; }
.dark .brand-logo-dark { display: block; }
.brand-word { font-size: 1.22rem; font-weight: 800; letter-spacing: 0; }

/* ===== Buttons ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  background: var(--grad); color: #fff; font-weight: 600; font-size: .92rem;
  box-shadow: 0 6px 24px rgba(99,102,241,.35);
  transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 34px rgba(99,102,241,.5); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  border: 1px solid var(--border); font-weight: 600; font-size: .92rem;
  transition: all .25s;
}
.btn-ghost:hover { background: rgba(127,127,127,.08); border-color: var(--accent); }
.audience-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ===== Cards ===== */
.card {
  border-radius: 18px; border: 1px solid var(--border); background: var(--surface);
  padding: 28px; transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s, border-color .35s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(99,102,241,.4); box-shadow: 0 20px 50px rgba(0,0,0,.10); }
.dark .card:hover { box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.card-2 {
  border-radius: 18px; border: 1px solid var(--border); background: var(--surface);
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s; overflow: hidden;
}
.card-2:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,.08); }
.dark .card-2:hover { box-shadow: 0 16px 40px rgba(0,0,0,.45); }

/* Gradient header chip on cards */
.chip {
  display: inline-flex; align-items: center; font-size: 12px; font-weight: 500;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(109,40,217,.08); color: var(--accent);
  border: 1px solid rgba(99,102,241,.18);
}
.dark .chip { background: rgba(167,139,250,.12); color: #c4b5fd; border-color: rgba(167,139,250,.2); }

/* ===== Model pills (OpenRouter style) ===== */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 500;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
  transition: all .25s;
}
.pill:hover { border-color: rgba(99,102,241,.45); color: var(--accent); transform: translateY(-2px); }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }

/* ===== Stat blocks (Global Brain / OpenRouter) ===== */
.stat {
  border-radius: 16px; border: 1px solid var(--border); background: var(--surface);
  padding: 26px 24px; transition: border-color .3s, transform .3s;
}
.stat:hover { border-color: rgba(99,102,241,.4); transform: translateY(-3px); }
.stat-num {
  font-family: var(--font-mono); font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 600; letter-spacing: 0;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label { font-size: .85rem; color: var(--muted); margin-top: 6px; font-weight: 500; }

/* (legacy .arch-* placeholder styles removed — superseded by the v3 hero
   architecture diagram near the end of this file) */

/* ===== Features / Industries / Caps ===== */
.feat, .ind {
  border-radius: 16px; border: 1px solid var(--border); background: var(--surface);
  padding: 24px; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.feat:hover, .ind:hover { transform: translateY(-3px); border-color: rgba(99,102,241,.4); box-shadow: 0 14px 34px rgba(0,0,0,.08); }
.dark .feat:hover, .dark .ind:hover { box-shadow: 0 14px 34px rgba(0,0,0,.4); }
.feat h4, .ind h4 { font-size: 1.05rem; font-weight: 600; margin: 10px 0 6px; }
.feat p, .ind p { font-size: 13px; color: var(--muted); line-height: 1.65; }

.cap {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 18px 8px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface);
  font-size: 13px; font-weight: 600; cursor: pointer; transition: all .3s;
}
.cap span { font-size: 13px; }
.cap:hover { transform: translateY(-2px); border-color: rgba(99,102,241,.4); }
.cap.active { border-color: var(--accent); background: rgba(99,102,241,.07); box-shadow: 0 8px 20px rgba(99,102,241,.18); }

/* ===== Partners ===== */
.partner {
  display: grid; place-items: center; height: 64px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface);
  font-size: 14px; font-weight: 600; color: var(--muted); transition: all .3s;
}
.partner:hover { color: var(--text); border-color: rgba(99,102,241,.4); transform: translateY(-2px); }

/* ===== Timeline ===== */
.tl-item { position: relative; padding-left: 28px; padding-bottom: 26px; border-left: 2px solid var(--border); }
.tl-item:last-child { border-left-color: transparent; padding-bottom: 0; }
.tl-dot { position: absolute; left: -7px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px var(--bg); }
.tl-year { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 4px; }
.tl-text { font-size: 14px; color: var(--text); opacity: .85; line-height: 1.6; }

/* ===== Contact ===== */
.ctab { padding: 9px 18px; border-radius: 999px; font-size: 13px; font-weight: 600; border: 1px solid var(--border); background: var(--surface); color: var(--muted); cursor: pointer; transition: all .25s; }
.ctab:hover { color: var(--text); }
.ctab.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.lbl { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.inp { width: 100%; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg); color: var(--text); font-size: 14px; font-family: inherit; transition: all .2s; }
.inp:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(99,102,241,.15); }

/* ===== Footer ===== */
.foot-h { font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.foot-a { display: block; font-size: 13px; color: var(--muted); padding: 4px 0; transition: color .2s; }
.foot-a:hover { color: var(--text); }

/* ===== Icon system (replaces emoji) ===== */
.ic {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(99,102,241,.10), rgba(139,92,246,.06));
  color: var(--accent);
  border: 1px solid rgba(99,102,241,.18);
  flex-shrink: 0;
  transition: transform .3s;
}
.ic svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ic.lg { width: 52px; height: 52px; border-radius: 14px; }
.ic.lg svg { width: 26px; height: 26px; }
.ic.sm { width: 36px; height: 36px; border-radius: 10px; margin-bottom: 12px; }
.ic.sm svg { width: 18px; height: 18px; stroke-width: 1.7; }
.card:hover .ic, .feat:hover .ic, .ind:hover .ic { transform: rotate(-4deg) scale(1.05); }

/* ===== Typography balance for cards ===== */
.feat h4, .ind h4 {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: 12px 0 6px;
  line-height: 1.3;
}
.feat p, .ind p {
  font-size: .9rem;
  line-height: 1.65;
  color: var(--muted);
}
.feat, .ind { padding: 26px 24px; }

/* Card-2 (Why Japan) icon */
.ic-card {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(99,102,241,.10), rgba(139,92,246,.05));
  color: var(--accent);
  border: 1px solid rgba(99,102,241,.18);
  margin-bottom: 14px;
  transition: transform .3s;
}
.ic-card svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card-2:hover .ic-card { transform: rotate(-4deg) scale(1.05); }
.card-2 h4 { font-size: 1.02rem; font-weight: 700; letter-spacing: 0; }

/* ===== Capability section icons ===== */
.cap { gap: 10px; }
.cap-ico {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  color: var(--text);
  transition: color .3s, transform .3s;
}
.cap-ico svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cap:hover .cap-ico { transform: translateY(-2px); }
.cap.active .cap-ico { color: var(--accent); transform: scale(1.08); }
.cap span { font-size: 13px; }

/* Panel big icon — gradient tile with white icon */
#capEmoji {
  width: 168px; height: 168px;
  border-radius: 28px;
  display: grid; place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #6366f1, #8b5cf6 50%, #8b5cf6);
  box-shadow: 0 18px 40px rgba(99,102,241,.35), inset 0 1px 0 rgba(255,255,255,.2);
  position: relative;
  overflow: hidden;
}
#capEmoji::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.25), transparent 50%);
}
#capEmoji::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 32px;
  background: conic-gradient(from 0deg, rgba(99,102,241,0), rgba(139,92,246,.45), rgba(99,102,241,0));
  z-index: -1;
  animation: spinSlow 9s linear infinite;
}
#capEmoji svg {
  width: 72px; height: 72px;
  stroke: #fff; fill: none;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  position: relative; z-index: 1;
}

/* ===== Decorative tiles (anri-style) ===== */
.tile {
  aspect-ratio: 1;
  border-radius: 16px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.22);
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.tile::before {
  content: "";
  position: absolute;
  inset: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(45deg, transparent 38%, rgba(255,255,255,.28) 50%, transparent 62%);
  animation: tileSweep 5s ease-in-out infinite;
}
.tile::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.13) 1px, transparent 0);
  background-size: 14px 14px;
  opacity: .55;
}
.tile svg {
  width: 64px; height: 64px;
  position: relative; z-index: 2;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.25));
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.tile .tile-dot {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  top: 12px; right: 12px;
  z-index: 3;
  animation: pulseDot 2s ease-in-out infinite;
}
.card-2:hover .tile { transform: scale(1.05) rotate(-1deg); }
.card-2:hover .tile svg { transform: scale(1.08) rotate(2deg); }

@keyframes tileSweep {
  0% { transform: translateX(-30%) translateY(-30%); }
  100% { transform: translateX(30%) translateY(30%); }
}
@keyframes pulseDot {
  0%, 100% { opacity: .4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); box-shadow: 0 0 8px rgba(255,255,255,.7); }
}

/* ===== Animated tech elements (anri.vc vibe) ===== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(139,92,246,.5); }
  100% { box-shadow: 0 0 0 14px rgba(139,92,246,0); }
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes glowPulse {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}
@keyframes borderShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
@keyframes archSweep {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(110%); }
}

.anim-float { animation: float 6s ease-in-out infinite; }
.anim-float-slow { animation: float 9s ease-in-out infinite; }
.anim-pulse-ring { animation: pulseRing 2.6s ease-out infinite; }
.anim-spin-slow { animation: spinSlow 22s linear infinite; }
.anim-glow { animation: glowPulse 3.5s ease-in-out infinite; }

/* (legacy .arch-layer.hl sweep removed — superseded by v3 hero architecture) */

/* Animated gradient border (hero dashboard) */
.border-anim {
  position: relative;
}
.border-anim::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(99,102,241,.5), rgba(139,92,246,.35), rgba(99,102,241,0));
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderShift 6s linear infinite;
  pointer-events: none;
}

/* Pulsing accent ring for badges */
.pulse-ring { position: relative; }
.pulse-ring::after {
  content: "";
  position: absolute; inset: -3px;
  border-radius: inherit;
  border: 1.5px solid rgba(99,102,241,.5);
  animation: pulseRing 2.6s ease-out infinite;
}

/* Floating decorative orbs */
.float-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  opacity: .45;
}

/* ===== Text wrapping & balance ===== */
h1, h2, h3, .display, .h2, .h3 { text-wrap: balance; }

/* Japanese & Chinese: allow natural character-level breaking.
   keep-all would treat long compounds as one unbreakable word and cause
   single-character orphan lines (e.g. プラットフォー/ム). */
html[lang="ja"] {
  word-break: normal;
  line-break: strict;
  overflow-wrap: break-word;
}
html[lang="ja"] body { line-height: 1.95; font-family: "Inter","Noto Sans JP",system-ui,sans-serif; }
html[lang="ja"] h1, html[lang="ja"] h2, html[lang="ja"] h3, html[lang="ja"] h4 {
  line-height: 1.35;
  letter-spacing: 0;
}
/* JA display: slightly smaller so long compound words fit on one line */
html[lang="ja"] .display {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1.2;
}
html[lang="ja"] .h2 {
  font-size: clamp(1.5rem, 2.8vw, 1.75rem);
}
.marquee { mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { animation: marquee 34s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== Divider ===== */
.rule { border: none; border-top: 1px solid var(--border); }

/* ===== Beam divider (hero → globe transition) =====
   A centered gradient beam + soft glow replaces the flat full-width
   hairline, so the boundary reads as an intentional "energy seam". */
.beam-divider {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(99,102,241,.16) 22%,
    rgba(124,58,237,.30) 50%,
    rgba(99,102,241,.16) 78%,
    transparent 100%);
}
.beam-divider::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: min(600px, 72vw);
  height: 110px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(124,58,237,.10) 0%, transparent 65%);
  filter: blur(14px);
  pointer-events: none;
}
.dark .beam-divider {
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(99,102,241,.32) 22%,
    rgba(167,139,250,.60) 50%,
    rgba(139,92,246,.32) 78%,
    transparent 100%);
}
.dark .beam-divider::before {
  background: radial-gradient(ellipse at center, rgba(99,102,241,.22) 0%, transparent 65%);
}

/* ===== Network canvas ===== */
#network { opacity: .5; }
.dark #network { opacity: .42; }

/* ===== Sections spacing ===== */
section { padding: 96px 0; }
@media (max-width: 768px) { section { padding: 64px 0; } }
@media (max-width: 640px) {
  .display {
    font-size: clamp(2.1rem, 10vw, 2.35rem);
    line-height: 1.12;
  }
  #top > section:first-child .display,
  #top > section:first-child p,
  #top > section:first-child .reveal.mt-8 {
    max-width: min(18rem, calc(100vw - 64px));
    margin-left: auto;
    margin-right: auto;
  }
  #top > section:first-child .reveal.mt-8 {
    font-size: .92rem;
    line-height: 1.55;
  }
  #top > section:first-child .reveal.mt-8 > div {
    display: block;
    max-width: min(18rem, calc(100vw - 64px));
    white-space: normal;
    overflow-wrap: anywhere;
  }
  #top > section:first-child .pulse-ring {
    max-width: calc(100vw - 32px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
}

/* ===== CTA bar ===== */
.cta-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-radius: 20px; border: 1px solid var(--border); background: var(--surface);
  padding: 28px 32px; transition: border-color .3s;
}
.cta-bar:hover { border-color: rgba(99,102,241,.3); }

/* ===== Workflow chain (horizontal) ===== */
.workflow-chain {
  display: flex; align-items: stretch; gap: 4px; flex-wrap: wrap; justify-content: center;
}
.wf-step {
  flex: 1; min-width: 120px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 16px 12px; border-radius: 16px;
  border: 1px solid var(--border); background: var(--bg);
  transition: transform .3s, border-color .3s;
}
.wf-step:hover { transform: translateY(-3px); border-color: rgba(99,102,241,.35); }
.wf-step.grad {
  background: var(--grad); color: #fff; border: none;
  box-shadow: 0 8px 24px rgba(99,102,241,.3);
}
.wf-step.grad p { color: rgba(255,255,255,.8); }
.wf-ic {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 8px;
  background: linear-gradient(135deg, rgba(99,102,241,.12), rgba(139,92,246,.08));
  color: var(--accent); border: 1px solid rgba(99,102,241,.18);
}
.wf-step.grad .wf-ic { background: rgba(255,255,255,.18); color: #fff; border-color: rgba(255,255,255,.2); }
.wf-ic svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wf-step span { font-size: 13px; font-weight: 700; }
.wf-step p { font-size: 11px; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.wf-arrow {
  display: flex; align-items: center;
  color: var(--muted); opacity: .4;
  font-size: 20px; font-weight: 300;
  padding: 0 2px;
}

/* ===== Workflow vertical ===== */
.workflow-v { display: flex; flex-direction: column; gap: 0; }
.wf-v-step {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 12px 0;
  border-left: 2px solid var(--border);
  margin-left: 15px;
  padding-left: 24px;
  position: relative;
  transition: border-color .3s;
}
.wf-v-step:hover { border-left-color: var(--accent); }
.wf-v-step:last-child { border-left-color: transparent; }
.wf-v-step.grad { border-left-color: transparent; }
.wf-v-num {
  position: absolute; left: -15px; top: 10px;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700; font-family: var(--font-mono);
  background: var(--surface); border: 2px solid var(--border);
  color: var(--muted);
  transition: all .3s;
}
.wf-v-step:hover .wf-v-num { border-color: var(--accent); color: var(--accent); }
.wf-v-step.grad .wf-v-num {
  background: var(--grad); border-color: transparent; color: #fff;
  box-shadow: 0 4px 14px rgba(99,102,241,.4);
}

/* ===== Story cards (Customer Stories) ===== */
.story-card {
  border-radius: 16px; border: 1px solid var(--border); background: var(--surface);
  padding: 24px; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.story-card:hover { transform: translateY(-3px); border-color: rgba(99,102,241,.4); box-shadow: 0 14px 34px rgba(0,0,0,.08); }
.dark .story-card:hover { box-shadow: 0 14px 34px rgba(0,0,0,.4); }
.story-ind {
  display: inline-block; font-size: 11px; font-weight: 600; font-family: var(--font-mono);
  text-transform: uppercase; letter-spacing: .1em;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(99,102,241,.08); color: var(--accent);
  margin-bottom: 12px;
}
.story-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.story-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ===== Target customer logos ===== */
.tlogo {
  display: inline-flex; align-items: center;
  font-size: 14px; font-weight: 600; color: var(--muted);
  padding: 8px 18px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
  transition: all .25s;
}
.tlogo:hover { color: var(--text); border-color: rgba(99,102,241,.4); transform: translateY(-2px); }

/* ===== Industry workflow chain ===== */
.ind-wf {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 11px; font-family: var(--font-mono); line-height: 1.6;
  color: var(--muted);
}
.ind-wf span { color: var(--accent); font-weight: 600; }

/* ===== Nav dropdowns ===== */
.nav-dropdown { position: relative; }
.nav-dropdown::before { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 10px; }
.nav-dropdown > button { padding: 8px 12px; border-radius: 8px; transition: background .2s; cursor: pointer; background: none; border: none; font-family: inherit; }
.nav-dropdown:hover > button { background: rgba(127,127,127,.08); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 300px;
  border-radius: 16px; border: 1px solid var(--border);
  background: var(--bg); backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 24px 60px rgba(0,0,0,.14), 0 4px 12px rgba(0,0,0,.06);
  padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(-8px) scale(.98); transform-origin: top left;
  transition: opacity .22s cubic-bezier(.16,1,.3,1), transform .22s cubic-bezier(.16,1,.3,1), visibility .22s;
  z-index: 60;
}
.dark .dropdown { background: rgba(12,12,16,.92); box-shadow: 0 24px 60px rgba(0,0,0,.55), 0 4px 12px rgba(0,0,0,.3); }
.nav-dropdown:hover .dropdown,
.nav-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.dropdown-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 12px;
  transition: background .18s ease, transform .18s ease;
}
.dropdown-item:hover { background: rgba(99,102,241,.08); transform: translateX(2px); }
.dark .dropdown-item:hover { background: rgba(99,102,241,.14); }
.dropdown-icon {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center;
}
.dropdown-icon svg { width: 19px; height: 19px; }
.dropdown-text { display: flex; flex-direction: column; min-width: 0; }
.dropdown-title { display: block; font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.35; }
.dropdown-desc { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.dropdown-ext {
  width: 14px; height: 14px; margin-left: auto; flex-shrink: 0;
  color: var(--muted); opacity: 0; transform: translate(-2px, 2px);
  transition: opacity .18s ease, transform .18s ease;
}
.dropdown-item:hover .dropdown-ext { opacity: .8; transform: translate(0, 0); }

/* Mobile nav groups */
.mob-group summary { cursor: pointer; list-style: none; }
.mob-group summary::-webkit-details-marker { display: none; }
.mob-group summary::after { content: " ▾"; opacity: .4; }
.mob-group[open] summary::after { content: " ▴"; }

/* ===== Unified AI Access Globe ===== */
#globe-section {
  width: 100%;
  display: flex;
  flex-direction: column;
}
#globe-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 3;
}
#globe-labels {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 4;
}

/* Background glows behind globe */
.globe-glow {
  position: absolute;
  top: 40%; left: 50%;
  transform: translate(-50%, -50%);
  width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.16) 0%, rgba(139,92,246,0.08) 40%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
}
.globe-glow-2 {
  position: absolute;
  top: 45%; left: 52%;
  transform: translate(-50%, -50%);
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, transparent 60%);
  filter: blur(36px);
  pointer-events: none;
  z-index: 1;
}

/* Floor reflection below the globe to fill empty bottom space */
.globe-floor {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 96%;
  max-width: 1100px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(99,102,241,0.26) 0%, rgba(139,92,246,0.12) 28%, transparent 66%);
  filter: blur(34px);
  pointer-events: none;
  z-index: 2;
}
.globe-floor-2 {
  position: absolute;
  bottom: -70px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1300px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(99,102,241,0.14) 0%, rgba(99,102,241,0.06) 35%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
}
.globe-horizon {
  position: absolute;
  bottom: 68px;
  left: 50%;
  transform: translateX(-50%);
  width: min(92%, 1000px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,.45), rgba(99,102,241,.35), rgba(99,102,241,.45), transparent);
  box-shadow: 0 0 22px rgba(99,102,241,.45), 0 0 44px rgba(99,102,241,.25);
  pointer-events: none;
  z-index: 2;
}

/* Floating particles in lower hemisphere for visual density */
.globe-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}
.globe-particles span {
  position: absolute;
  bottom: -10px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(139,92,246,.55);
  box-shadow: 0 0 8px rgba(139,92,246,.5);
  animation: particleRise 8s linear infinite;
  opacity: 0;
}
.globe-particles span:nth-child(1) { left: 8%; animation-delay: 0s; animation-duration: 9s; }
.globe-particles span:nth-child(2) { left: 12%; animation-delay: 1.2s; animation-duration: 11s; width: 2px; height: 2px; }
.globe-particles span:nth-child(3) { left: 18%; animation-delay: 2.5s; animation-duration: 8s; }
.globe-particles span:nth-child(4) { left: 24%; animation-delay: 0.8s; animation-duration: 12s; width: 4px; height: 4px; background: rgba(99,102,241,.5); }
.globe-particles span:nth-child(5) { left: 30%; animation-delay: 3.2s; animation-duration: 9.5s; }
.globe-particles span:nth-child(6) { left: 36%; animation-delay: 1.5s; animation-duration: 10s; width: 2px; height: 2px; }
.globe-particles span:nth-child(7) { left: 42%; animation-delay: 4.1s; animation-duration: 8.5s; }
.globe-particles span:nth-child(8) { left: 48%; animation-delay: 2.0s; animation-duration: 11.5s; width: 3px; height: 3px; background: rgba(139,92,246,.45); }
.globe-particles span:nth-child(9) { left: 54%; animation-delay: 0.3s; animation-duration: 9s; }
.globe-particles span:nth-child(10) { left: 60%; animation-delay: 3.8s; animation-duration: 12s; width: 2px; height: 2px; }
.globe-particles span:nth-child(11) { left: 66%; animation-delay: 1.9s; animation-duration: 8s; }
.globe-particles span:nth-child(12) { left: 72%; animation-delay: 5.0s; animation-duration: 10.5s; width: 4px; height: 4px; background: rgba(99,102,241,.5); }
.globe-particles span:nth-child(13) { left: 78%; animation-delay: 2.7s; animation-duration: 9s; }
.globe-particles span:nth-child(14) { left: 84%; animation-delay: 4.5s; animation-duration: 11s; width: 2px; height: 2px; }
.globe-particles span:nth-child(15) { left: 90%; animation-delay: 1.1s; animation-duration: 8.5s; }
.globe-particles span:nth-child(16) { left: 15%; animation-delay: 6.0s; animation-duration: 13s; width: 2px; height: 2px; }
.globe-particles span:nth-child(17) { left: 50%; animation-delay: 5.5s; animation-duration: 10s; width: 3px; height: 3px; background: rgba(139,92,246,.4); }
.globe-particles span:nth-child(18) { left: 68%; animation-delay: 6.8s; animation-duration: 12s; width: 2px; height: 2px; }
.globe-particles span:nth-child(19) { left: 82%; animation-delay: 7.4s; animation-duration: 11s; width: 3px; height: 3px; }
.globe-particles span:nth-child(20) { left: 5%; animation-delay: 8.0s; animation-duration: 9s; width: 2px; height: 2px; }
@keyframes particleRise {
  0% { transform: translateY(0) scale(0.6); opacity: 0; }
  10% { opacity: .7; }
  90% { opacity: .5; }
  100% { transform: translateY(-420px) scale(1); opacity: 0; }
}

/* Orbital rings around the globe for a fuller, more dynamic look */
.globe-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
}
.globe-ring-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px dashed rgba(99,102,241,0.32);
  animation: ringSpin linear infinite;
}
@keyframes ringSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Floating labels on the globe */
.globe-label {
  position: absolute;
  top: 0; left: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-mono);
  padding: 3px 9px 3px 6px;
  border-radius: 20px;
  background: rgba(99,102,241,0.10);
  border: 1px solid rgba(99,102,241,0.28);
  backdrop-filter: blur(6px);
  color: var(--text);
  pointer-events: none;
  transition: opacity 0.3s ease;
  will-change: transform, opacity;
}
.globe-label-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #6366f1;
  flex-shrink: 0;
}
.globe-label-hq {
  background: rgba(139,92,246,0.14);
  border-color: rgba(139,92,246,0.38);
  font-weight: 700;
}
.globe-label-hq .globe-label-dot {
  background: #8b5cf6;
}
/* Highlighted label while its category filter is active */
.globe-label-match {
  background: rgba(139,92,246,0.22);
  border-color: rgba(167,139,250,0.65);
  box-shadow: 0 0 14px rgba(139,92,246,0.35);
  font-weight: 700;
}
.globe-label-match .globe-label-dot {
  background: #a855f7;
  box-shadow: 0 0 8px rgba(168,85,247,0.9);
}

/* Category filter status pill (shows active category + live model count) */
.globe-filter-status {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--accent);
  padding: 5px 16px;
  border-radius: 999px;
  border: 1px solid rgba(99,102,241,.35);
  background: rgba(99,102,241,.08);
  backdrop-filter: blur(8px);
  opacity: .92;
  white-space: nowrap;
}
.globe-filter-status.pop { animation: filterPop .55s cubic-bezier(.16,1,.3,1); }
@keyframes filterPop {
  0% { transform: scale(.8) translateY(6px); opacity: 0; }
  60% { transform: scale(1.05) translateY(0); opacity: 1; }
  100% { transform: scale(1); opacity: .92; }
}

/* Model chips below globe title */
.globe-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-mono);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all 0.25s ease;
}
.globe-chip:hover {
  border-color: var(--accent);
  color: var(--text);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(99,102,241,.12);
}
.globe-chip-hq {
  background: rgba(139,92,246,0.10);
  border-color: rgba(139,92,246,0.35);
  color: #8b5cf6;
  font-weight: 700;
}
.globe-chip-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #8b5cf6;
  flex-shrink: 0;
}

/* Glass panel behind model-type chips for visual weight */
.globe-type-panel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(var(--surface-rgb, 255,255,255), 0.55);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 40px rgba(0,0,0,.06), inset 0 1px 0 rgba(255,255,255,.4);
}
.dark .globe-type-panel {
  background: rgba(20,20,28,0.55);
  box-shadow: 0 12px 40px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.06);
}

/* Hover tooltip (glassmorphism) */
.globe-tooltip {
  position: absolute; top: 0; left: 0;
  transform: translate(-50%, calc(-100% - 18px));
  z-index: 30; display: none;
  width: max-content; max-width: 240px;
  padding: 12px 14px; border-radius: 14px;
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.6);
  color: var(--text); text-align: left;
  pointer-events: auto; cursor: pointer;
}
.dark .globe-tooltip {
  background: rgba(18,18,26,0.72);
  box-shadow: 0 18px 50px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08);
}
.globe-tooltip .gt-head { display: flex; align-items: center; gap: 7px; }
.globe-tooltip .gt-dot { width: 8px; height: 8px; border-radius: 50%; background: #6366f1; box-shadow: 0 0 10px #6366f1; flex: none; }
.globe-tooltip .gt-dot-hq { background: #8b5cf6; box-shadow: 0 0 10px #8b5cf6; }
.globe-tooltip .gt-name { font-weight: 800; font-size: 14px; letter-spacing: 0; }
.globe-tooltip .gt-prov { font-size: 11px; color: var(--muted); margin-top: 2px; font-family: var(--font-mono); }
.globe-tooltip .gt-caps { font-size: 11px; margin-top: 8px; font-weight: 600; color: var(--accent); }
.globe-tooltip .gt-avail { font-size: 10.5px; margin-top: 8px; color: var(--muted); }
.globe-tooltip .gt-cta { font-size: 12px; font-weight: 700; margin-top: 8px; color: #8b5cf6; }

/* Category filter chips */
.globe-filter-row { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.globe-filter-row::-webkit-scrollbar { display: none; }
.globe-filter {
  flex: none; padding: 6px 14px; border-radius: 20px;
  font-size: 12px; font-weight: 500; font-family: var(--font-mono);
  background: var(--surface); border: 1px solid var(--border);
  color: var(--muted); cursor: pointer; white-space: nowrap;
  transition: all .2s ease;
}
.globe-filter:hover { border-color: var(--accent); color: var(--text); }
.globe-filter:active { transform: scale(.96); }
.globe-filter.active {
  background: var(--grad); border-color: transparent; color: #fff;
}
.globe-filter-wrap.active-dropdown > .globe-filter {
  border-color: var(--accent); color: var(--text);
  box-shadow: 0 0 0 1px var(--accent), 0 6px 18px rgba(99,102,241,.18);
}
.globe-chip[data-model] { cursor: pointer; }
.globe-chip[data-model]:hover { border-color: var(--accent); color: var(--text); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(99,102,241,.12); }

/* ===== Legal / policy pages ===== */
.legal-nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(var(--surface-rgb), 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.dark .legal-nav { background: rgba(8,8,12,0.72); }
.legal-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.legal-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); transition: color .2s ease; }
.legal-back:hover { color: var(--text); }
.legal-back svg { width: 14px; height: 14px; }
.legal-wrap { max-width: 48rem; margin: 0 auto; padding: 64px 24px 96px; }
.legal-eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-sans); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.legal-eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; opacity: .7; }
.legal-title { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: 0; line-height: 1.15; margin-top: 12px; }
.legal-updated { margin-top: 12px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.legal-body { margin-top: 36px; font-size: 15px; line-height: 1.85; color: var(--text); }
.legal-body p { margin: 0 0 18px; color: var(--text); }
.legal-body h2 { font-size: 1.3rem; font-weight: 700; margin: 40px 0 14px; letter-spacing: 0; }
.legal-body h3 { font-size: 1.08rem; font-weight: 700; margin: 28px 0 10px; }
.legal-body ul { margin: 0 0 18px; padding-left: 1.3em; list-style: disc; }
.legal-body ul li { margin: 4px 0; color: var(--text); }
.legal-body .legal-note { background: rgba(var(--surface-rgb),0.6); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; margin: 24px 0; }
.dark .legal-body .legal-note { background: rgba(255,255,255,0.03); }
.legal-body strong { color: var(--text); font-weight: 700; }
.legal-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; word-break: break-word; }
.legal-body { overflow-wrap: break-word; }
.legal-toc { margin: 28px 0 0; padding: 18px 20px; border: 1px solid var(--border); border-radius: 14px; background: rgba(var(--surface-rgb),0.5); font-size: 13px; }
.dark .legal-toc { background: rgba(255,255,255,0.03); }
.legal-toc .legal-toc-title { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.legal-toc a { display: block; padding: 3px 0; color: var(--muted); text-decoration: none; transition: color .2s ease; }
.legal-toc a:hover { color: var(--accent); }
.faq-item { border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; margin-bottom: 14px; background: rgba(var(--surface-rgb),0.4); }
.dark .faq-item { background: rgba(255,255,255,0.03); }
.faq-q { font-weight: 700; font-size: 15px; display: flex; gap: 10px; align-items: flex-start; }
.faq-q .faq-badge { flex: none; font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--accent); border: 1px solid var(--border); border-radius: 999px; padding: 2px 8px; margin-top: 1px; }
.faq-a { margin-top: 10px; font-size: 14px; line-height: 1.8; color: var(--muted); }

/* ===== Top model selector dropdown ===== */
.globe-select-wrap { position: relative; display: inline-block; }
/* Invisible hover bridge: keeps the dropdown open while the pointer travels
   from the button down into the panel (otherwise mouseleave fires in the gap
   and the dropdown collapses before it can be scrolled). */
.globe-select-wrap::before {
  content: "";
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  width: min(340px, 85vw); height: 10px;
  z-index: 24;
}
.globe-select-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 600; font-family: var(--font-mono);
  background: rgba(var(--surface-rgb), 0.65);
  border: 1px solid var(--border);
  color: var(--text);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.4);
  cursor: pointer; transition: all .25s ease;
}
.dark .globe-select-btn { background: rgba(20,20,28,0.65); box-shadow: 0 10px 30px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.06); }
.globe-select-btn:hover { border-color: var(--accent); transform: translateY(-1px); box-shadow: 0 12px 34px rgba(99,102,241,.14); }
.globe-select-btn[aria-expanded="true"] { border-color: var(--accent); }
.globe-select-btn[aria-expanded="true"] .globe-select-chevron { transform: rotate(180deg); }
.globe-select-dot { width: 6px; height: 6px; border-radius: 50%; background: #8b5cf6; box-shadow: 0 0 8px #8b5cf6; flex: none; }
.globe-select-count { font-size: 12px; font-weight: 500; color: var(--muted); }
.globe-select-chevron { width: 12px; height: 12px; color: var(--muted); transition: transform .25s ease; flex: none; }
.globe-select-dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(340px, 85vw); max-height: 0;
  overflow: hidden; opacity: 0; visibility: hidden;
  overscroll-behavior: contain;
  background: rgba(var(--surface-rgb), 0.82);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.08);
  padding: 0 14px;
  transition: max-height .35s cubic-bezier(.16,1,.3,1), opacity .25s ease, transform .25s ease, visibility .25s;
  z-index: 25; pointer-events: none; text-align: left;
}
.dark .globe-select-dropdown { background: rgba(18,18,26,0.88); box-shadow: 0 24px 60px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.06); }
.globe-select-wrap.open .globe-select-dropdown {
  max-height: min(460px, 62vh); opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0); pointer-events: auto;
  padding: 14px; overflow-y: auto; scrollbar-width: thin;
  scrollbar-gutter: stable;
}
.globe-select-dropdown::-webkit-scrollbar { width: 6px; }
.globe-select-dropdown::-webkit-scrollbar-track { background: transparent; }
.globe-select-dropdown::-webkit-scrollbar-thumb {
  background: var(--border); border-radius: 6px;
  border: 1px solid transparent; background-clip: padding-box;
}
.globe-select-dropdown::-webkit-scrollbar-thumb:hover { background: var(--accent); background-clip: padding-box; }
.gsd-title {
  font-size: 11px; font-weight: 700; font-family: var(--font-mono);
  letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
  margin: 12px 0 6px; padding-bottom: 4px; border-bottom: 1px solid var(--border);
}
.gsd-title:first-child { margin-top: 0; }
.gsd-item {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 8px; border-radius: 10px; cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.gsd-item:hover { background: rgba(99,102,241,.10); transform: translateX(2px); }
.gsd-item:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.gsd-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.gsd-dot.l1 { background: #8b5cf6; box-shadow: 0 0 8px #8b5cf6; }
.gsd-dot.l2 { background: #8b5cf6; }
.gsd-dot.l3 { background: #6366f1; opacity: .8; }
.gsd-name { font-size: 13px; font-weight: 600; color: var(--text); }
.gsd-prov { font-size: 10px; color: var(--muted); font-family: var(--font-mono); margin-left: auto; }
.gsd-empty { font-size: 12px; color: var(--muted); padding: 8px; text-align: center; }

/* ===== Category filter dropdowns (hover model lists) ===== */
.globe-filter-wrap { position: relative; flex: none; }
.globe-filter-dropdown {
  position: absolute;
  left: 50%; bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(8px);
  width: min(320px, 85vw); max-height: 0;
  overflow: hidden; opacity: 0; visibility: hidden;
  background: rgba(var(--surface-rgb), 0.78);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.08);
  padding: 0 14px;
  transition: max-height .35s cubic-bezier(.16,1,.3,1), opacity .25s ease, transform .25s ease, visibility .25s;
  z-index: 20; pointer-events: none;
}
.dark .globe-filter-dropdown {
  background: rgba(18,18,26,0.82);
  box-shadow: 0 20px 50px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06);
}
.globe-filter-wrap:hover .globe-filter-dropdown,
.globe-filter-wrap.active-dropdown .globe-filter-dropdown {
  max-height: min(420px, 62vh); opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0); pointer-events: auto;
  padding: 14px;
  overflow-y: auto; scrollbar-width: thin;
}
.globe-filter-dropdown::-webkit-scrollbar { width: 4px; }
.globe-filter-dropdown::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.gfd-title {
  font-size: 11px; font-weight: 700; font-family: var(--font-mono);
  letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
  margin: 10px 0 6px; padding-bottom: 4px; border-bottom: 1px solid var(--border);
}
.gfd-title:first-child { margin-top: 0; }
.gfd-item {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 8px; border-radius: 10px; cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.gfd-item:hover { background: rgba(99,102,241,.10); transform: translateX(2px); }
.gfd-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.gfd-dot.l1 { background: #8b5cf6; box-shadow: 0 0 8px #8b5cf6; }
.gfd-dot.l2 { background: #8b5cf6; }
.gfd-dot.l3 { background: #6366f1; opacity: .8; }
.gfd-name { font-size: 13px; font-weight: 600; color: var(--text); }
.gfd-prov { font-size: 10px; color: var(--muted); font-family: var(--font-mono); margin-left: auto; }
.gfd-empty { font-size: 12px; color: var(--muted); padding: 8px; text-align: center; }

/* Faint internal-capability labels around the hub */
.globe-cap-label {
  position: absolute; top: 0; left: 0;
  font-size: 10px; font-weight: 600; font-family: var(--font-mono);
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); pointer-events: none; opacity: 0;
  transition: opacity .3s ease; white-space: nowrap; z-index: 3;
}

/* Screen-reader only */
.sr-only {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ===== Product cards (Two Products) ===== */
.prod-card {
  border-radius: 24px; border: 1px solid var(--border); background: var(--surface);
  overflow: hidden; transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s, border-color .35s;
  display: flex; flex-direction: column;
}
.prod-card:hover { transform: translateY(-4px); border-color: rgba(99,102,241,.4); box-shadow: 0 24px 60px rgba(0,0,0,.10); }
.dark .prod-card:hover { box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.prod-card-head { padding: 28px 28px 0; }
.prod-card-head-fuchsia { }
.prod-card-body {
  padding: 24px 28px 28px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.prod-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; flex-shrink: 0;
}
.prod-icon svg { width: 26px; height: 26px; }
.prod-icon.sm { width: 36px; height: 36px; border-radius: 10px; }
.prod-icon.sm svg { width: 18px; height: 18px; }
.prod-icon-indigo { background: rgba(99,102,241,.12); color: #6366f1; border: 1px solid rgba(99,102,241,.2); }
.prod-icon-fuchsia { background: rgba(139,92,246,.12); color: #8b5cf6; border: 1px solid rgba(139,92,246,.2); }
.prod-label { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); display: block; }
.prod-title { font-size: 1.5rem; font-weight: 800; letter-spacing: 0; margin-top: 4px; }
.prod-desc { font-size: .9rem; color: var(--muted); line-height: 1.7; margin-top: 16px; }
.prod-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 6px;
  margin-top: 16px;
  flex: 1 1 auto;
  align-content: start;
}
.prod-feat {
  font-size: 12px; font-weight: 500; padding: 6px 10px; border-radius: 999px;
  background: rgba(109,40,217,.06); color: var(--muted);
  border: 1px solid var(--border);
  transition: all .2s;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prod-feat:hover { border-color: rgba(99,102,241,.3); color: var(--accent); }
.prod-card-body .btn-primary { margin-top: auto; }

/* ===== Flywheel ===== */
.flywheel { display: flex; flex-direction: column; align-items: center; gap: 0; }
.fw-node {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 24px; border-radius: 14px;
  border: 1px solid var(--border); background: var(--surface);
  font-size: 14px; font-weight: 600; transition: transform .3s, border-color .3s;
}
.fw-node:hover { transform: scale(1.03); border-color: rgba(99,102,241,.35); }
.fw-node.grad { background: var(--grad); color: #fff; border: none; box-shadow: 0 8px 24px rgba(99,102,241,.3); }
.fw-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(99,102,241,.12), rgba(139,92,246,.08)); color: var(--accent); border: 1px solid rgba(99,102,241,.18); flex-shrink: 0; }
.fw-node.grad .fw-ic { background: rgba(255,255,255,.18); color: #fff; border-color: rgba(255,255,255,.2); }
.fw-ic svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fw-arrow { color: var(--muted); opacity: .35; font-size: 18px; padding: 4px 0; }

/* ===== Why GSCORA cards ===== */
.why-card {
  border-radius: 18px; border: 1px solid var(--border); background: var(--surface);
  padding: 28px 24px; transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative;
}
.why-card:hover { transform: translateY(-4px); border-color: rgba(99,102,241,.4); box-shadow: 0 18px 44px rgba(0,0,0,.08); }
.dark .why-card:hover { box-shadow: 0 18px 44px rgba(0,0,0,.4); }
.why-num { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .1em; }

/* ===== Stack diagram (Where GSCORA sits) ===== */
.stack-diagram { max-width: 640px; margin: 0 auto; border-radius: 20px; border: 1px solid var(--border); background: var(--surface); padding: 20px; }
.stack-layer { text-align: center; padding: 16px 0; }
.stack-layer.hl { background: var(--grad-soft); border-radius: 14px; margin: 4px 0; position: relative; overflow: hidden; }
.stack-layer.hl::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(99,102,241,.12), transparent); animation: archSweep 5s ease-in-out infinite; pointer-events: none; }
.stack-label { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.stack-nodes { display: flex; gap: 8px; justify-content: center; align-items: center; flex-wrap: wrap; }
.stack-node-sm { padding: 7px 13px; border-radius: 999px; font-size: 12px; font-weight: 500; border: 1px solid var(--border); background: var(--bg); color: var(--muted); }
.stack-node { padding: 10px 18px; border-radius: 10px; font-size: 14px; font-weight: 700; color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.stack-sub { font-size: 11px; color: var(--muted); margin-top: 8px; }
.stack-conn { width: 2px; height: 20px; margin: 0 auto; background: linear-gradient(180deg, var(--muted), transparent); opacity: .35; }

/* ===== Content Studio workflow ===== */
.cs-workflow { display: flex; align-items: stretch; gap: 4px; flex-wrap: wrap; justify-content: center; }
.cs-step { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; min-width: 80px; }
.cs-tile {
  width: 64px; height: 64px; border-radius: 16px;
  display: grid; place-items: center; position: relative; overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.2);
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.cs-tile::before { content: ""; position: absolute; inset: -50%; width: 200%; height: 200%; background: linear-gradient(45deg, transparent 38%, rgba(255,255,255,.2) 50%, transparent 62%); animation: tileSweep 5s ease-in-out infinite; }
.cs-tile svg { width: 30px; height: 30px; position: relative; z-index: 2; }
.cs-step:hover .cs-tile { transform: scale(1.08) rotate(-2deg); }
.cs-step-label { font-size: 11px; font-weight: 600; text-align: center; color: var(--muted); }
.cs-arrow { display: flex; align-items: center; color: var(--muted); opacity: .35; font-size: 18px; padding: 0 2px; }
.cs-tile-1 { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.cs-tile-2 { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.cs-tile-3 { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.cs-tile-4 { background: linear-gradient(135deg, #6366f1, #3b5bff); }
.cs-tile-5 { background: linear-gradient(135deg, #3b5bff, #2563eb); }
.cs-tile-6 { background: linear-gradient(135deg, #10b981, #059669); }

/* ===== Demo badge ===== */
.demo-badge { display: inline-flex; align-items: center; font-size: 10px; font-weight: 600; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; padding: 3px 8px; border-radius: 999px; background: rgba(245,158,11,.12); color: #f59e0b; border: 1px solid rgba(245,158,11,.2); }

/* ===== Enterprise modules ===== */
.ent-module {
  border-radius: 20px; border: 1px solid var(--border); background: var(--surface);
  padding: 28px; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.ent-module:hover { transform: translateY(-3px); border-color: rgba(99,102,241,.35); box-shadow: 0 16px 40px rgba(0,0,0,.08); }
.dark .ent-module:hover { box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.ent-module-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.ent-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(99,102,241,.10), rgba(139,92,246,.06)); color: var(--accent); border: 1px solid rgba(99,102,241,.18); flex-shrink: 0; }
.ent-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ent-module-head h3 { font-size: 1.1rem; font-weight: 700; }
.ent-feat-list { display: flex; flex-wrap: wrap; gap: 6px; }
.ent-feat { font-size: 12px; font-weight: 500; padding: 5px 11px; border-radius: 999px; background: rgba(109,40,217,.06); color: var(--muted); border: 1px solid var(--border); transition: all .2s; }
.ent-feat:hover { border-color: rgba(99,102,241,.3); color: var(--accent); }

/* ===== Industry solution blocks (Solutions page) ===== */
.ind-block {
  border-radius: 24px; border: 1px solid var(--border); background: var(--surface);
  padding: 32px; scroll-margin-top: 110px;
}
.ind-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.ind-head h3 { font-size: 1.3rem; font-weight: 700; }
.ind-tag { margin-top: 4px; font-size: .9rem; color: var(--muted); }

.scenario-card {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  border-radius: 14px; border: 1px dashed var(--border);
  background: rgba(99,102,241,.05);
  padding: 14px 16px; margin-bottom: 20px;
}
.scenario-label {
  flex: none; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--accent); padding: 4px 10px; border-radius: 999px;
  background: rgba(99,102,241,.12);
}
.scenario-card p { font-size: .9rem; color: var(--muted); margin: 0; }

.wf-strip { display: flex; align-items: stretch; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.wf-step {
  flex: 1 1 110px; display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center; padding: 14px 6px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--bg);
}
.wf-num {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-size: 12px; font-weight: 700;
}
.wf-step span:not(.wf-num) { font-size: .8rem; font-weight: 500; line-height: 1.3; }
.wf-arrow { flex: none; align-self: center; color: var(--muted); opacity: .4; font-weight: 600; }

.sample-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 20px; }
.sample-tile {
  position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden;
  display: grid; place-items: center; color: #fff; border: 1px solid var(--border);
}
.sample-tile svg { opacity: .85; }
.sample-badge {
  position: absolute; top: 8px; left: 8px; font-size: 10px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px;
  background: rgba(0,0,0,.45); backdrop-filter: blur(4px);
}
.sample-cap { position: absolute; bottom: 8px; left: 8px; right: 8px; font-size: 11px; font-weight: 600; text-align: left; }

.team-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 18px;
  margin-top: 16px; font-size: .88rem; color: var(--muted);
}
.team-strip strong { color: var(--text); font-weight: 600; }

.ind-cta {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 6px;
  font-size: .9rem; font-weight: 600; color: var(--accent);
}
.ind-cta:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .sample-gallery { grid-template-columns: repeat(2, 1fr); }
  .ind-block { padding: 22px 18px; }
}

/* ===== Founder section ===== */

/* ===== Ecosystem pills ===== */
.ecosystem-pill { display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; color: var(--muted); padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); transition: all .25s; }
.ecosystem-pill:hover { color: var(--text); border-color: rgba(99,102,241,.4); transform: translateY(-2px); }

/* ===== Built for pills ===== */
.built-for { display: inline-flex; align-items: center; font-size: 14px; font-weight: 600; color: var(--text); padding: 10px 20px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); transition: all .25s; }
.built-for:hover { border-color: rgba(99,102,241,.4); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.06); }

/* ===== Enterprise trust badge icons ===== */
.badge-pill { transition: color .2s ease, border-color .2s ease, transform .2s ease; }
.badge-pill:hover { color: var(--text); border-color: rgba(99,102,241,.45); transform: translateY(-1px); }
.badge-icon { width: 14px; height: 14px; flex: none; opacity: 0.88; transition: opacity .2s ease, color .2s ease; }
.badge-pill:hover .badge-icon { opacity: 1; color: var(--accent); }

/* ===== Why Multi-Model section ===== */
.wm-panel { border: 1px solid var(--border); border-radius: 20px; background: var(--surface); padding: 28px; height: 100%; }
.wm-before { opacity: .92; }
.wm-after { border-color: rgba(139,92,246,.45); background: linear-gradient(160deg, rgba(99,102,241,.07), rgba(139,92,246,.05)), var(--surface); box-shadow: 0 0 44px rgba(139,92,246,.10); }
.wm-tag { display: inline-flex; align-items: center; font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; }
.wm-tag-accent { color: #a78bfa; border-color: rgba(139,92,246,.5); background: rgba(139,92,246,.08); }
.wm-box { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); padding: 10px 18px; font-size: 13px; font-weight: 600; }
.wm-box-single { border-color: rgba(245,158,11,.45); color: var(--text); }
.wm-box-gs { border: none; background: var(--grad); color: #fff; box-shadow: 0 8px 24px rgba(99,102,241,.35); }
.wm-box-fallback { border-color: rgba(16,185,129,.5); }
.wm-arrow { display: flex; justify-content: center; color: var(--muted); font-size: 14px; line-height: 1; padding: 4px 0; }
.wm-task { display: inline-flex; align-items: center; font-family: var(--font-mono); font-size: 11px; color: var(--muted); border: 1px solid var(--border); border-radius: 8px; padding: 4px 10px; background: var(--bg); }
.wm-warn { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #d97706; border: 1px solid rgba(217,119,6,.35); background: rgba(245,158,11,.08); border-radius: 999px; padding: 6px 14px; }
.dark .wm-warn { color: #fbbf24; }
.wm-route { display: flex; align-items: center; gap: 8px; font-size: 12px; padding: 6px 0; border-bottom: 1px dashed var(--border); }
.wm-route:last-child { border-bottom: none; }
.wm-route-task { flex: none; width: 128px; font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--muted); }
.wm-route-arrow { flex: none; color: var(--accent); font-size: 11px; }
.wm-route-models { display: flex; flex-wrap: wrap; gap: 5px; }
.wm-model { display: inline-flex; align-items: center; font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--text); border: 1px solid var(--border); border-radius: 7px; padding: 3px 9px; background: var(--bg); }
.wm-axis { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--text); border: 1px solid var(--border); border-radius: 999px; padding: 6px 13px; background: var(--bg); }
.wm-axis i { width: 6px; height: 6px; border-radius: 50%; background: var(--grad); flex: none; }
.wm-num { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--accent); }
.wm-tl { display: flex; align-items: center; justify-content: center; gap: 10px; }
.wm-tl-node { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.wm-tl-year { font-family: var(--font-mono); font-size: 10px; color: var(--muted); }
.wm-tl-box { border: 1px solid var(--border); border-radius: 10px; padding: 7px 14px; font-size: 12px; font-weight: 600; background: var(--bg); }
.wm-tl-box.cur { border-color: rgba(139,92,246,.5); box-shadow: 0 0 16px rgba(139,92,246,.15); }
.wm-tl-box.next { border-style: dashed; color: var(--muted); }
.wm-tl-arrow { color: var(--muted); font-size: 13px; }
.wm-cost { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 12px; }
.wm-cost-name { flex: 1; font-weight: 600; }
.wm-cost-yen { font-family: var(--font-mono); font-weight: 700; color: var(--accent); letter-spacing: .05em; }
.wm-risk { display: inline-flex; align-items: center; font-family: var(--font-mono); font-size: 10px; color: #dc2626; border: 1px solid rgba(220,38,38,.3); background: rgba(220,38,38,.06); border-radius: 7px; padding: 3px 8px; }
.dark .wm-risk { color: #f87171; }
.wm-ok { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #059669; }
.dark .wm-ok { color: #34d399; }
.wm-pivot-from { font-size: clamp(1.15rem,2.4vw,1.6rem); font-weight: 600; color: var(--muted); }
.wm-pivot-to { font-size: clamp(1.6rem,3.6vw,2.6rem); font-weight: 800; letter-spacing: 0; line-height: 1.25; }
.wm-compare-li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: 14px; font-weight: 500; }
.wm-compare-li:last-child { border-bottom: none; }
.wm-compare-li .wm-check { flex: none; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; }
.wm-compare-li .wm-check.no { background: rgba(220,38,38,.1); color: #dc2626; }
.wm-compare-li .wm-check.yes { background: rgba(139,92,246,.14); color: #8b5cf6; }

/* Arrow flow between Before/After panels (Why Multi-Model) */
.wm-arrow-flow {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%; transform: translateX(-50%);
  width: 100px;
  pointer-events: none;
  z-index: 0;
  display: none;
}
@media (min-width: 1024px) {
  .wm-arrow-flow { display: block; }
}
.wm-arrow-flow svg { width: 100%; height: 100%; display: block; }
@media (max-width: 640px) { .wm-route-task { width: 96px; } .wm-panel { padding: 20px; } }


/* ===== Reduced motion: keep a calm static globe ===== */
@media (prefers-reduced-motion: reduce) {
  .globe-particles { display: none; }
  .globe-particles span { animation: none !important; }
  .globe-ring-inner { animation: none !important; }
  .float-orb { animation: none !important; }
  .anim-float { animation: none !important; }
  .anim-glow { animation: none !important; }
  .pulse-ring { animation: none !important; }
}

/* ===== Smooth-scroll offset for fixed header ===== */
section[id], [id="top"] { scroll-margin-top: 88px; }

/* ===== Footer · fixed dark B2B theme ===== */
.footer-dark {
  position: relative;
  background: #020617;
  color: #cbd5e1;
  border-top: 1px solid rgba(148,163,184,.12);
}
.footer-brand-col { grid-column: 1 / -1; }
@media (min-width: 640px) { .footer-brand-col { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .footer-brand-col { grid-column: auto; } }

.footer-logo { height: 32px; width: auto; display: block; }
.footer-tagline { margin-top: 22px; font-size: 14px; line-height: 1.6; color: #94a3b8; max-width: 340px; }
.footer-disclaimer { margin-top: 22px; font-size: 11px; line-height: 1.7; color: #64748b; max-width: 460px; }
.footer-copyright { margin-top: 18px; font-size: 12px; color: #64748b; }

.footer-col-title {
  font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: #94a3b8; margin-bottom: 16px;
}
.footer-link {
  display: block; font-size: 13px; color: #94a3b8;
  padding: 5px 0; transition: color .2s; line-height: 1.5;
}
.footer-link:hover { color: #ffffff; }
.footer-link.ext::after { content: " ↗"; font-size: 10px; opacity: .6; }

.footer-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.social-btn {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(148,163,184,.2);
  color: #94a3b8; transition: color .2s, border-color .2s, background .2s, transform .2s;
}
.social-btn:hover {
  color: #fff; border-color: rgba(167,139,250,.65);
  background: rgba(139,92,246,.14); transform: translateY(-1px);
}
.social-btn svg { width: 16px; height: 16px; }

.footer-bottom {
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
  padding: 24px 0 32px; border-top: 1px solid rgba(148,163,184,.12);
  font-size: 12px; color: #64748b;
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ===== Trust & Compliance section (fixed dark) ===== */
.trust-section {
  position: relative;
  background: #0B0F17;
  color: #e2e8f0;
  border-top: 1px solid rgba(148,163,184,.10);
  border-bottom: 1px solid rgba(148,163,184,.10);
  overflow: hidden;
}
.trust-inner { padding-top: 64px; padding-bottom: 64px; }
.trust-kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: #a78bfa;
}
.trust-kicker::before { content: ""; width: 28px; height: 1.5px; background: currentColor; opacity: .7; }

/* Logo marquee */
.logo-marquee {
  margin-top: 40px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.logo-marquee-track {
  display: flex;
  width: max-content;
  animation: logo-marquee 34s linear infinite;
}
.logo-marquee:hover .logo-marquee-track { animation-play-state: paused; }
@keyframes logo-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logo-item {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0 34px; color: #5b6478; font-weight: 600; font-size: 15px;
  white-space: nowrap; transition: color .25s;
}
.logo-item:hover { color: #cbd5e1; }
.logo-item .logo-dot { width: 8px; height: 8px; border-radius: 3px; background: currentColor; opacity: .55; }

/* Security badges (glassmorphism) */
.trust-badges {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 768px) { .trust-badges { grid-template-columns: repeat(4, 1fr); } }
.trust-badge {
  position: relative;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
  padding: 20px; border-radius: 16px;
  border: 1px solid rgba(148,163,184,.14);
  background: rgba(255,255,255,.025);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color .25s, background .25s, box-shadow .25s, transform .25s;
}
.trust-badge:hover {
  border-color: rgba(167,139,250,.42);
  background: rgba(139,92,246,.06);
  box-shadow: 0 0 26px rgba(139,92,246,.14);
  transform: translateY(-2px);
}
.trust-badge-icon {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(139,92,246,.12); color: #a78bfa;
}
.trust-badge-icon svg { width: 20px; height: 20px; }
.trust-badge-title { font-size: 14px; font-weight: 700; color: #f1f5f9; }
.trust-badge-desc { font-size: 12px; line-height: 1.55; color: #64748b; }

/* ROI metric cards */
.roi-grid {
  display: grid; grid-template-columns: 1fr; gap: 14px;
  margin-top: 40px; max-width: 980px; margin-left: auto; margin-right: auto;
}
@media (min-width: 640px) { .roi-grid { grid-template-columns: repeat(3, 1fr); } }
.roi-card {
  position: relative;
  padding: 26px 22px; border-radius: 16px; text-align: left;
  border: 1px solid rgba(148,163,184,.14);
  background: rgba(255,255,255,.02);
  transition: border-color .25s, background .25s, transform .25s;
}
.roi-card:hover { border-color: rgba(167,139,250,.4); background: rgba(139,92,246,.05); transform: translateY(-2px); }
.roi-num {
  font-size: 40px; font-weight: 900; line-height: 1; letter-spacing: -.02em;
  background: linear-gradient(120deg, #ffffff 0%, #93c5fd 45%, #a78bfa 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.roi-title { margin-top: 12px; font-size: 14px; font-weight: 700; color: #f1f5f9; }
.roi-desc { margin-top: 6px; font-size: 12.5px; line-height: 1.55; color: #64748b; }

/* ===== Mobile Drawer ===== */
body.drawer-open { overflow: hidden; }

.drawer-overlay {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(2,6,23,.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 85%; max-width: 380px;
  z-index: 61;
  background: var(--bg);
  border-left: 1px solid var(--border);
  box-shadow: -24px 0 60px rgba(0,0,0,.28);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .3s cubic-bezier(.16,1,.3,1), visibility 0s .3s;
  display: flex; flex-direction: column;
}
.drawer.open {
  transform: translateX(0);
  visibility: visible;
  transition: transform .3s cubic-bezier(.16,1,.3,1), visibility 0s 0s;
}

.drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; flex-shrink: 0;
  border-bottom: 1px solid var(--border);
}
.drawer-close {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--border); color: var(--muted);
  transition: color .2s, border-color .2s;
}
.drawer-close:hover { color: var(--text); border-color: var(--accent); }
.drawer-close svg { width: 18px; height: 18px; }

.drawer-nav {
  flex: 1; overflow-y: auto;
  padding: 8px 20px 24px;
  display: flex; flex-direction: column;
}
.drawer-link {
  display: block; padding: 13px 0;
  font-size: 15px; font-weight: 600; color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.drawer-link:hover { color: var(--accent); }

.drawer-group { border-bottom: 1px solid var(--border); }
.drawer-group-toggle {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 13px 0;
  font-size: 15px; font-weight: 600; color: var(--text);
  cursor: pointer; text-align: left;
}
.drawer-group-toggle .chevron {
  width: 18px; height: 18px; color: var(--muted); flex-shrink: 0;
  transition: transform .3s ease;
}
.drawer-group.open .drawer-group-toggle .chevron { transform: rotate(180deg); }
.drawer-acc-body {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.drawer-group.open .drawer-acc-body { grid-template-rows: 1fr; }
.drawer-acc-body > div { overflow: hidden; min-height: 0; }
.drawer-acc-link {
  display: block; padding: 9px 0 9px 16px;
  font-size: 14px; color: var(--muted);
  transition: color .2s;
}
.drawer-acc-link:hover { color: var(--accent); }
.drawer-acc-link.ext::after { content: " ↗"; font-size: 11px; opacity: .6; }

.drawer-footer {
  flex-shrink: 0; padding: 16px 20px calc(20px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 10px;
}
.drawer-cta-primary {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px; border-radius: 999px;
  background: var(--grad); color: #fff; font-weight: 600; font-size: 14px;
  transition: transform .2s, box-shadow .2s;
}
.drawer-cta-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(99,102,241,.35); }
.drawer-cta-ghost {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--text); font-weight: 600; font-size: 14px;
  transition: border-color .2s;
}
.drawer-cta-ghost:hover { border-color: var(--accent); }

/* ===== WebGL fallback (static gradient when WebGL unavailable) ===== */
.globe-fallback {
  background:
    radial-gradient(circle at 50% 38%, rgba(99,102,241,.16) 0%, transparent 60%),
    radial-gradient(circle at 50% 55%, rgba(139,92,246,.12) 0%, transparent 65%);
  min-height: 420px;
}
.globe-fallback #globe-canvas { display: none; }

/* ============================================================
   GSCORA corporate site — design system (dark-first, no Tailwind)
   ============================================================ */

/* ---------- base ---------- */
body.dark {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  margin: 0;
  line-height: 1.7;
}
html[lang="ja"] body.dark { line-height: 1.95; font-size: 16px; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ---------- layout ---------- */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 760px; }
.section { padding: 112px 0; }
.section--alt { background: var(--surface); }
@media (max-width: 767px) { .section { padding: 72px 0; } }

.section-head { max-width: 46em; margin-bottom: 56px; margin-inline: auto; text-align: center; }
.section-head .h2 { margin-top: 16px; }
.section-head .body { margin-top: 16px; }
.section-head a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; opacity: .7; }
.h1 { font-size: 64px; line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; margin: 20px 0 0; }
.h2 { font-size: 42px; line-height: 1.2; font-weight: 800; letter-spacing: -0.015em; margin: 0; }
.h3 { font-size: 22px; line-height: 1.35; font-weight: 700; margin: 0; }
.lead { font-size: 18px; line-height: 1.75; color: var(--muted); }
.body { font-size: 16px; line-height: 1.75; color: var(--muted); }
.small { font-size: 14px; }
.grad {
  background: linear-gradient(120deg, #a5b4fc 0%, #c4b5fd 55%, #93c5fd 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (max-width: 767px) {
  .h1 { font-size: 40px; }
  .h2 { font-size: 32px; }
  .h3 { font-size: 20px; }
  .lead { font-size: 16px; }
}

/* ---------- buttons ---------- */
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 12px; font-size: 15px; font-weight: 600;
  transition: transform .2s, box-shadow .2s, border-color .2s, background .2s;
  cursor: pointer;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px rgba(99,102,241,.28); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 32px rgba(99,102,241,.4); }
.btn-ghost { border: 1px solid var(--border); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm { padding: 9px 18px; font-size: 14px; border-radius: 10px; }
.ext-ico { font-size: 13px; opacity: .7; }

/* ---------- skip link ---------- */
.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 8px;
  font-size: 14px; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(2,6,23,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 31px; width: auto; display: block; }
.dark .brand-logo-light { display: none; }
.brand-logo-dark { display: none; }
.dark .brand-logo-dark { display: block; }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; flex: 1; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 13px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--text); background: rgba(148,163,184,.08); }
.nav-link.active { color: var(--text); font-weight: 600; }
.nav-dd-btn { cursor: pointer; background: transparent; border: none; font-family: inherit; }
.nav-dd-btn svg { width: 14px; height: 14px; }
.nav-ext .ext-ico, .nav-ext svg { width: 14px; height: 14px; }

.nav-dropdown { position: relative; }
.nav-dropdown::before { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 12px; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 240px; padding: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 18px 48px rgba(0,0,0,.45);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 60;
}
.nav-dropdown:hover .dropdown, .nav-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-item {
  display: block; padding: 10px 14px; border-radius: 9px;
  font-size: 14px; color: var(--muted); transition: color .2s, background .2s;
}
.dropdown-item:hover { color: var(--text); background: rgba(148,163,184,.1); }

.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.lang-btn {
  padding: 7px 12px; border: 1px solid var(--border); border-radius: 8px;
  font-size: 13px; font-weight: 600; color: var(--muted); transition: color .2s, border-color .2s;
}
.lang-btn:hover { color: var(--text); border-color: var(--accent); }
.burger {
  display: none; width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--border); background: transparent; color: var(--text);
  align-items: center; justify-content: center; cursor: pointer;
}
.burger svg { width: 20px; height: 20px; }

@media (max-width: 1023px) {
  .main-nav { display: none; }
  .burger { display: flex; }
  .lang-btn { display: none; }
}

/* ---------- hero ---------- */
.hero { padding: 112px 0 88px; }
.hero-inner { max-width: 820px; }
.hero-lead { margin-top: 24px; max-width: 46em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-bullets {
  display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 36px 0 0;
}
.hero-bullets li {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border);
  font-size: 14px; color: var(--muted); background: rgba(148,163,184,.05);
}
.hero-note { margin-top: 28px; font-size: 14px; color: var(--muted); max-width: 48em; }
.hero-note a { color: var(--accent); }

/* (legacy .proof-frame/.proof-chip/.mvp-label placeholder styles removed —
   superseded by the v3 Product Proof grid near the end of this file) */

/* ---------- pain points ---------- */
.pain-section .section-head { text-align: center; max-width: 56em; margin-inline: auto; }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain-card {
  padding: 28px; border-radius: 16px; border: 1px solid var(--border);
  background: var(--surface); transition: border-color .2s, transform .2s;
}
.pain-card:hover { border-color: rgba(167,139,250,.45); transform: translateY(-2px); }
.pain-num { display: block; font-family: var(--font-mono); font-size: 13px; color: var(--accent); letter-spacing: .08em; margin-bottom: 14px; }
.pain-card .body { margin-top: 10px; font-size: 15px; }
@media (max-width: 767px) { .pain-grid { grid-template-columns: 1fr; } }

/* ---------- capabilities ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cap-group { padding: 28px; border-radius: 16px; border: 1px solid var(--border); background: var(--bg); }
/* Scope old rules to .cap-grid so Hero's .hero-capstrip .cap-list li isn't accidentally overridden. */
.cap-grid .cap-title { color: var(--text); }
.cap-grid .cap-list { list-style: none; margin: 16px 0 0; padding: 0; }
.cap-grid .cap-list li {
  position: relative; padding: 9px 0 9px 24px; font-size: 15px; color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.cap-grid .cap-list li:last-child { border-bottom: none; }
.cap-grid .cap-list li::before {
  content: ""; position: absolute; left: 2px; top: 18px; width: 8px; height: 8px;
  border-radius: 2px; background: var(--grad);
}
@media (max-width: 767px) { .cap-grid { grid-template-columns: 1fr; } }

/* ---------- comparison table ---------- */
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 600px; }
.compare-table th, .compare-table td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--border); }
.compare-table thead th { font-size: 14px; font-weight: 600; color: var(--text); }
.compare-table th[scope="row"] { text-align: left; font-weight: 500; color: var(--text); width: 30%; }
.compare-table td { color: var(--muted); }
.compare-us { color: #c4b5fd !important; font-weight: 700; background: rgba(139,92,246,.08); }
.compare-us th, thead .compare-us { color: #c4b5fd !important; }
.table-legend { display: flex; gap: 20px; margin-top: 20px; font-size: 13px; color: var(--muted); }
/* Sticky first column keeps row labels visible while scrolling horizontally */
.compare-table th:first-child, .compare-table td:first-child {
  position: sticky; left: 0; z-index: 2; background: var(--bg);
}
.model-table th:first-child, .model-table td:first-child {
  position: sticky; left: 0; z-index: 2; background: var(--surface);
}
.compare-table thead th:first-child, .model-table thead th:first-child { z-index: 3; }
/* Mobile-only hint that wide tables scroll horizontally */
.table-hint { display: none; margin: 12px 0 0; font-size: 12px; color: var(--muted); }
@media (max-width: 767px) { .table-hint { display: block; } }

/* ---------- content studio ---------- */
.cs-block { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.cs-copy .body { margin-top: 16px; }
.cs-copy .btn-ghost { margin-top: 24px; }
.cs-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cs-card {
  padding: 28px 20px; border-radius: 14px; text-align: center; font-size: 14px; font-weight: 600;
  color: var(--text); border: 1px solid var(--border); background: var(--bg);
}
@media (max-width: 767px) { .cs-block { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- trust ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.trust-card {
  padding: 28px; border-radius: 16px; border: 1px solid var(--border);
  background: var(--surface); transition: border-color .2s;
}
.trust-card:hover { border-color: rgba(167,139,250,.4); }
.trust-card .body { margin-top: 10px; font-size: 15px; }
@media (max-width: 767px) { .trust-grid { grid-template-columns: 1fr; } }

/* ---------- member / recruitment ---------- */
.member { background: var(--grad-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.member-inner { max-width: 720px; text-align: center; }
.member-copy .body { margin-top: 16px; }
.member-copy .btn-primary { margin-top: 28px; }

/* ---------- founder (rich section) ---------- */
.founder-wrap { max-width: 1000px; }
.founder-hero { margin-bottom: 48px; }
.founder-title { margin-top: 16px; max-width: 22em; line-height: 1.3; }
.founder-name { font-size: 32px; font-weight: 800; letter-spacing: -0.01em; color: var(--text); display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; line-height: 1.25; }
.founder-name-en { font-size: 18px; font-weight: 600; color: var(--muted); }
.founder-role { margin-top: 10px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; color: var(--accent); }
.founder-loc { margin-top: 4px; font-size: 14px; color: var(--muted); }
.founder-bio { margin-top: 24px; max-width: 36em; }
.founder-bio p { font-size: 16px; line-height: 1.85; color: var(--text); margin: 0 0 16px; }
html[lang="ja"] .founder-bio p { line-height: 1.95; font-size: 16px; }
.founder-experience { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--border); }
.founder-timeline { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.founder-timeline li { padding: 22px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); }
.ft-name { font-size: 16px; font-weight: 700; color: var(--text); }
.ft-desc { margin-top: 6px; font-size: 13px; line-height: 1.55; color: var(--muted); }
.founder-background { margin-top: 56px; }
.founder-bg-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.founder-bg-grid > div { padding: 28px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); }
.bg-num { font-size: 44px; font-weight: 900; letter-spacing: -.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.bg-label { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--text); }
.founder-disclaimer { margin-top: 32px; font-size: 12px; color: var(--muted); }
@media (max-width: 767px) {
  .founder-name { font-size: 26px; }
  .founder-timeline, .founder-bg-grid { grid-template-columns: 1fr; }
}

/* ---------- footer (override to 6-col) ---------- */
.footer-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 24px;
  padding-top: 72px; padding-bottom: 48px;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr 1fr; } }
.footer-brand-col { grid-column: 1 / -1; }
@media (min-width: 1024px) { .footer-brand-col { grid-column: auto; } }
.footer-col { min-width: 0; }

/* nav dropdown open state (JS click/touch toggle) */
.nav-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

/* form status */
.form-status { display: block; margin-top: 12px; font-size: 14px; }
.form-status.loading { color: var(--muted); }
.form-status.success { color: #34d399; }
.form-status.error { color: #f87171; }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- page hero (subpages) ---------- */
.page-hero { padding: 96px 0 64px; }
.page-hero-inner { max-width: 820px; }
.page-hero-inner .lead { margin-top: 20px; }

/* ---------- models table ---------- */
.model-filters { display: flex; flex-wrap: wrap; gap: 16px 20px; align-items: flex-end; margin-bottom: 24px; }
.mf-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.mf-select {
  min-width: 160px; padding: 10px 12px; border-radius: 10px; font-size: 14px;
  background: var(--bg); color: var(--text); border: 1px solid var(--border);
}
.mf-check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); padding: 10px 0; }
.mf-check input { width: 16px; height: 16px; accent-color: var(--accent); }
.model-count { font-size: 14px; color: var(--muted); margin: 0 0 16px; }
.model-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.model-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 860px; }
.model-table th, .model-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); }
.model-table thead th { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.model-name { font-weight: 600; color: var(--text); }
.status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.st-avail { background: rgba(52,211,153,.14); color: #34d399; }
.st-beta { background: rgba(251,191,36,.14); color: #fbbf24; }
.st-planned { background: rgba(148,163,184,.14); color: #94a3b8; }
.model-disclaimer { margin-top: 20px; font-size: 13px; color: var(--muted); }

/* ---------- contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.contact-info .body { margin-top: 12px; }
.contact-info a { color: var(--accent); }
.contact-form { display: flex; flex-direction: column; gap: 20px; padding: 32px; border-radius: 16px; border: 1px solid var(--border); background: var(--bg); }
.form-row { display: flex; flex-direction: column; gap: 7px; }
.form-row label { font-size: 14px; font-weight: 600; color: var(--text); }
.req { color: #f87171; }
.form-row input, .form-row select, .form-row textarea {
  padding: 12px 14px; border-radius: 10px; font-size: 15px; font-family: inherit;
  background: var(--surface); color: var(--text); border: 1px solid var(--border);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; }
.form-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); }
.form-consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--accent); }
@media (max-width: 767px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- jobs (about) ---------- */
.job-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.job-card { display: block; padding: 22px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); transition: border-color .2s, transform .2s; }
.job-card:hover { border-color: rgba(167,139,250,.45); transform: translateY(-2px); }
.job-title { font-size: 15px; font-weight: 600; color: var(--text); }
.job-meta { margin-top: 6px; font-size: 13px; color: var(--muted); }
@media (max-width: 767px) { .job-grid { grid-template-columns: 1fr; } }

/* ---------- about ---------- */
.about-hero { padding: 56px 0 40px; }
.about-hero-inner { max-width: 860px; }
.about-h1 { font-size: clamp(40px, 5vw, 54px); line-height: 1.2; letter-spacing: -0.015em; margin-top: 20px; }
.about-market { margin-top: 32px; max-width: 42em; }
.about-market p { font-size: 20px; line-height: 1.7; color: var(--muted); margin: 0 0 14px; }
html[lang="ja"] .about-market p { font-size: 19px; line-height: 1.8; }
.about-body { padding-top: 24px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 62fr) minmax(0, 38fr); gap: 56px; align-items: start; }

.about-statement { border-left: 1px solid rgba(167,139,250,.32); padding-left: 28px; }
.stmt-block { position: relative; margin-bottom: 48px; }
.stmt-block:last-of-type { margin-bottom: 0; }
.stmt-index {
  position: absolute; left: -28px; top: 6px; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .05em;
  color: var(--accent); background: var(--bg); padding: 2px 5px;
}
.stmt-title { font-size: 25px; line-height: 1.35; font-weight: 700; color: var(--text); }
.stmt-body { margin-top: 14px; max-width: 40em; }
.stmt-body p { font-size: 16px; line-height: 1.8; color: var(--muted); margin: 0 0 14px; }
html[lang="ja"] .stmt-body p { line-height: 1.95; }
.about-helper { margin-top: 28px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.profile-card { padding: 26px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); }
.profile-card .h3 { font-size: 16px; color: var(--muted); }
.profile-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 12px; }
.profile-table th, .profile-table td { padding: 12px 0; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.profile-table th { color: var(--muted); font-weight: 500; width: 42%; }
.profile-table td { color: var(--text); font-weight: 600; }
@media (max-width: 767px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-h1 { font-size: 34px; }
  .about-market p { font-size: 17px; }
}

/* ---------- faq ---------- */
.faq-item { border: 1px solid var(--border); border-radius: 14px; background: var(--bg); margin-bottom: 14px; overflow: hidden; }
.faq-q { padding: 18px 22px; font-size: 16px; font-weight: 600; color: var(--text); cursor: pointer; list-style: none; }
.faq-q::after { content: "+"; float: right; color: var(--accent); font-weight: 700; }
.faq-item[open] .faq-q::after { content: "–"; }
.faq-item .body { padding: 0 22px 20px; margin: 0; }

/* ---------- legal ---------- */
.legal-updated { margin-top: 16px; font-size: 14px; color: var(--muted); }
.legal-body { color: var(--muted); }
.legal-body h2 { font-size: 20px; font-weight: 700; color: var(--text); margin: 32px 0 12px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { font-size: 15px; line-height: 1.8; margin: 0 0 14px; }
.legal-body a { color: var(--accent); }
.legal-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 16px 0; }
.legal-table th, .legal-table td { padding: 12px; text-align: left; border: 1px solid var(--border); }
.legal-table th { color: var(--muted); font-weight: 500; width: 34%; background: var(--surface); }
.legal-warn { color: #fbbf24; font-weight: 600; }

/* ---------- capability desc ---------- */
.cap-desc { margin-top: 10px; font-size: 14px; }

/* ---------- models toolbar (download CSV) ---------- */
.model-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.model-toolbar-hint { font-size: 13px; color: var(--muted); }

/* ---------- ONE PLATFORM (For Business / For Individuals) ---------- */
.one-platform { padding: 112px 0 120px; position: relative; }
.op-head { text-align: center; max-width: 46em; margin: 0 auto 56px; }
.op-head .h2 { margin-top: 16px; }
.op-head .body { margin-top: 24px; }

.op-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.op-card { position: relative; padding: 36px 32px; border-radius: 20px; border: 1px solid var(--border); background: var(--surface); }
.op-card--business { /* solid, enterprise — same surface, no overlay */ }
.op-card--individuals { background: linear-gradient(140deg, rgba(139,92,246,.10), rgba(99,102,241,.04) 60%, var(--surface)); }

.op-card-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.op-card-eyebrow { font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.op-status { padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .06em; white-space: nowrap; }
.op-status--live { background: rgba(52,211,153,.14); color: #34d399; border: 1px solid rgba(52,211,153,.3); }
.op-status--soon { background: rgba(251,191,36,.14); color: #fbbf24; border: 1px solid rgba(251,191,36,.3); }
.op-status--vision { background: rgba(167,139,250,.14); color: #c4b5fd; border: 1px solid rgba(167,139,250,.3); }

.op-card-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.op-card-list li { font-size: 14px; color: var(--muted); padding-left: 18px; position: relative; line-height: 1.55; }
.op-card-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }

.op-foundation { margin-top: 40px; padding: 36px 32px; border-radius: 20px; border: 1px solid rgba(167,139,250,.3); background: var(--grad-soft); text-align: center; position: relative; }
.op-foundation::before { content: ""; position: absolute; top: -20px; left: 50%; transform: translateX(-50%); width: 1px; height: 20px; background: linear-gradient(to bottom, transparent, rgba(167,139,250,.5)); }
.op-foundation-eyebrow { font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.op-foundation-list { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.op-foundation-item { padding: 16px 14px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--border); font-size: 14px; font-weight: 600; color: var(--text); text-align: center; }

@media (max-width: 767px) {
  .op-grid { grid-template-columns: 1fr; }
  .op-card-list { grid-template-columns: 1fr; }
  .op-foundation-list { grid-template-columns: 1fr; }
}

/* small spacing between multiple hero-lead paragraphs */
.hero-lead + .hero-lead { margin-top: 12px; }

/* ---------- Why Multi-Model ---------- */
.wm-section .wm-head { max-width: 38em; margin-inline: auto; text-align: center; margin-bottom: 56px; }
.wm-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.wm-side { position: relative; padding: 32px 28px; border-radius: 20px; border: 1px solid var(--border); background: var(--surface); display: flex; flex-direction: column; gap: 18px; }
.wm-side--after { border-color: rgba(167,139,250,.35); }
.wm-side-head { display: flex; align-items: center; justify-content: space-between; }
.wm-tag { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.wm-tag--before { background: rgba(148,163,184,.14); color: #94a3b8; border: 1px solid var(--border); }
.wm-tag--after { background: rgba(167,139,250,.14); color: #c4b5fd; border: 1px solid rgba(167,139,250,.35); }
.wm-tag--warn { background: rgba(248,113,113,.12); color: #fca5a5; border: 1px solid rgba(248,113,113,.3); margin-top: 10px; display: inline-block; }
.wm-side-title { font-size: 16px; font-weight: 600; color: var(--text); }

.wm-flow { display: flex; flex-direction: column; align-items: center; gap: 12px; flex: 1; }
.wm-side--before .wm-flow { justify-content: center; }
.wm-node { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 12px; font-size: 14px; font-weight: 600; background: var(--bg); border: 1px solid var(--border); }
.wm-node--single { border-color: rgba(248,113,113,.35); }
.wm-node--hub { background: linear-gradient(120deg, rgba(139,92,246,.18), rgba(99,102,241,.18)); border-color: rgba(167,139,250,.55); }
.wm-dot { width: 10px; height: 10px; border-radius: 3px; background: var(--grad); }
.wm-node--single .wm-dot { background: #f87171; }
.wm-arrow { color: var(--muted); font-size: 18px; }
.wm-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding-top: 4px; }
.wm-chips span { padding: 7px 14px; border-radius: 10px; font-size: 13px; color: var(--muted); background: var(--bg); border: 1px solid var(--border); }

.wm-routes { display: grid; grid-template-columns: 1fr; gap: 8px; width: 100%; }
.wm-route { display: grid; grid-template-columns: 130px 16px 1fr; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--border); }
.wm-route-task { font-size: 13px; font-weight: 600; color: var(--text); }
.wm-arrow-r { text-align: center; color: var(--accent); font-weight: 700; }
.wm-route-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.wm-tag-chip { padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 500; color: #c4b5fd; background: rgba(139,92,246,.10); border: 1px solid rgba(139,92,246,.30); }

.wm-foot { padding-top: 16px; border-top: 1px solid var(--border); margin-top: auto; }

@media (max-width: 767px) {
  .wm-compare { grid-template-columns: 1fr; }
  .wm-route { grid-template-columns: 1fr; gap: 6px; }
  .wm-arrow-r { transform: rotate(90deg); }
}

/* ---------- From One Model to Multi-Model ---------- */
.sm-section { padding: 64px 0 72px; }
.sm-head { text-align: center; max-width: 32em; margin: 0 auto; }
.sm-head .h2 { display: none; }
.sm-quote-from { font-size: 22px; line-height: 1.4; color: var(--muted); margin: 0; font-weight: 500; }
.sm-quote-from .grad { font-weight: 600; }
.sm-arrow { font-size: 24px; color: var(--accent); margin: 18px 0; }
.sm-quote-to { font-size: 30px; line-height: 1.3; margin: 0; font-weight: 700; }
.sm-compare { display: grid; grid-template-columns: 1fr 80px 1fr; gap: 0; max-width: 980px; margin-inline: auto; align-items: stretch; }
.sm-card { padding: 28px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); }
.sm-card--bad { opacity: .88; }
.sm-card--good { border-color: rgba(167,139,250,.4); background: linear-gradient(140deg, rgba(139,92,246,.08) 0%, var(--surface) 70%); }
.sm-card-title { font-size: 20px; font-weight: 700; margin-bottom: 18px; }
.sm-card--bad .sm-card-title { color: var(--muted); }
.sm-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.sm-list li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text); padding: 10px 14px; border-radius: 10px; background: rgba(148,163,184,.04); }
.sm-card--bad .sm-list li { color: var(--muted); }
.sm-ico { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; font-weight: 700; }
.sm-card--bad .sm-ico { background: rgba(248,113,113,.16); color: #fca5a5; }
.sm-card--good .sm-ico { background: rgba(52,211,153,.16); color: #34d399; }
/* Animated migration arrow between cards */
.sm-arrow-flow { display: grid; place-items: center; position: relative; }
.sm-arrow-flow svg { width: 80px; height: 100%; min-height: 200px; }
.sm-arrow-particle {
  filter: drop-shadow(0 0 5px rgba(167,139,250,.85));
  animation: smArrowFlow 2.8s cubic-bezier(.55,.05,.45,.95) infinite;
}
.sm-arrow-particle--delay { animation-delay: 1.4s; opacity: .55; }
@keyframes smArrowFlow {
  0%   { transform: translateX(-6px); opacity: 0; }
  18%  { opacity: 1; }
  82%  { opacity: 1; }
  100% { transform: translateX(56px); opacity: 0; }
}
@media (max-width: 767px) {
  .sm-compare { grid-template-columns: 1fr; gap: 12px; }
  .sm-arrow-flow { padding: 4px 0; }
  .sm-arrow-flow svg { transform: rotate(90deg); min-height: 28px; max-height: 28px; width: 100%; }
}

/* ---------- Core Values (3 layers) ---------- */
.core-values-section .section-head { max-width: 56em; }
.cv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1080px; margin-inline: auto; }
.cv-card { padding: 28px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); transition: border-color .25s, transform .25s, background .25s; position: relative; overflow: hidden; }
.cv-card::before { content: ""; position: absolute; inset: 0; border-radius: 18px; padding: 1px; background: linear-gradient(140deg, rgba(167,139,250,.55), rgba(125,211,252,.35), transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .25s; pointer-events: none; }
.cv-card:hover { transform: translateY(-2px); background: linear-gradient(140deg, rgba(139,92,246,.08) 0%, var(--surface) 70%); }
.cv-card:hover::before { opacity: 1; }
.cv-title { font-size: 24px; font-weight: 700; margin: 0 0 14px; letter-spacing: -0.01em; }
.cv-title .grad { font-weight: 700; }
.cv-sub { font-size: 16px; font-weight: 700; color: var(--text); margin: 0 0 14px; line-height: 1.4; }
.cv-body { font-size: 14.5px; line-height: 1.8; color: var(--muted); margin: 0; }
@media (max-width: 1023px) { .cv-grid { grid-template-columns: 1fr; } }

/* ---------- Closing CTA ---------- */
.closing-cta { padding: 88px 0 96px; }
.closing-cta .h2 { font-size: 56px; letter-spacing: -.02em; }
@media (max-width: 767px) { .closing-cta .h2 { font-size: 36px; } }

/* ---------- Two Products ---------- */
.tp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tp-card { display: flex; flex-direction: column; gap: 18px; padding: 32px; border-radius: 20px; border: 1px solid var(--border); background: var(--bg); position: relative; }
.tp-card--primary { border-color: rgba(124,58,237,.45); background: linear-gradient(180deg, rgba(124,58,237,.07), rgba(124,58,237,0) 55%), var(--bg); }
.tp-card--related { opacity: .86; }
.tp-card--coming-soon { opacity: .78; }
.tp-card--coming-soon .tp-chips span { color: var(--muted); }
.tp-card-head { display: flex; align-items: center; gap: 16px; }
.tp-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(140deg, rgba(139,92,246,.16), rgba(99,102,241,.10)); border: 1px solid rgba(167,139,250,.3); color: #c4b5fd; flex-shrink: 0; }
.tp-ic svg { width: 22px; height: 22px; }
.tp-eyebrow { display: block; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.tp-status { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.tp-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tp-status--live { color: #34d399; background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.3); }
.tp-status--coming-soon { color: #fbbf24; background: rgba(251,191,36,.12); border: 1px solid rgba(251,191,36,.3); }
.tp-status--planned { color: #94a3b8; background: rgba(148,163,184,.12); border: 1px solid rgba(148,163,184,.3); }
.tp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-chips span { padding: 8px 14px; border-radius: 10px; font-size: 13px; font-weight: 500; color: var(--text); background: rgba(148,163,184,.08); border: 1px solid var(--border); }
.tp-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding: 14px 24px; border-radius: 12px; font-size: 14px; font-weight: 700; color: #fff; background: linear-gradient(120deg, #8b5cf6 0%, #6366f1 100%); justify-content: center; transition: transform .2s, box-shadow .2s; }
.tp-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(139,92,246,.4); }

@media (max-width: 767px) { .tp-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Header v2 · Hero v2 (two-column + platform architecture card)
   ============================================================ */

/* ---------- container: 1200px + 32px side padding ---------- */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 767px) { .wrap { padding: 0 20px; } }

/* ---------- header ---------- */
.site-header { height: 72px; }
.header-inner { height: 72px; gap: 24px; }
.brand { flex-shrink: 0; }
.brand-logo { height: 34px; }
.main-nav { display: flex; align-items: center; gap: 28px; margin-left: 4px; flex: 1 1 auto; min-width: 0; }
.nav-link { white-space: nowrap; padding: 8px 2px; }
.nav-link:hover { background: transparent; color: var(--text); }
.nav-link.active { color: var(--text); font-weight: 600; }
.nav-dd-btn svg { width: 14px; height: 14px; }
.nav-ext .ext-ico, .nav-ext svg { width: 14px; height: 14px; }

.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; flex-shrink: 0; }
.lang-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 16px; white-space: nowrap;
  border: 1px solid var(--border); border-radius: 10px;
  font-size: 13px; font-weight: 600; color: var(--muted);
  transition: color .2s, border-color .2s;
}
.lang-btn:hover { color: var(--text); border-color: var(--accent); }
.header-actions .btn-primary { white-space: nowrap; flex-shrink: 0; }
.burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border); background: transparent; color: var(--text); align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.burger svg { width: 20px; height: 20px; }

/* More dropdown (1024–1179px collapse) */
.nav-more { display: none; }
.dropdown-group-label { padding: 10px 14px 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.dropdown-item--ext { display: flex; align-items: center; gap: 6px; }

@media (max-width: 1179px) and (min-width: 1024px) {
  .nav-resources, .nav-company, .nav-ext { display: none; }
  .nav-more { display: block; }
}

@media (max-width: 1023px) {
  .main-nav { display: none; }
  .burger { display: flex; }
  .lang-btn { display: none; }
  .header-actions .btn-primary { display: none; }
}

/* ---------- hero: two-column (v3) ---------- */
.hero { padding: 0; }
.hero-wrap { max-width: 1200px; margin-inline: auto; padding: 104px 32px 88px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  gap: 72px;
  align-items: center;
}
.hero-copy { min-width: 0; text-align: left; }
.hero-eyebrow-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-sub { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.hero-h1, .hero-copy .h1 {
  font-size: clamp(44px, 5vw, 68px);
  line-height: 1.1; letter-spacing: -0.02em; font-weight: 800;
  margin-top: 0; margin-inline: 0; max-width: 100%;
}
.hero-lead--primary { font-size: 21px; line-height: 1.8; max-width: 560px; margin-top: 26px; }
.hero-lead--secondary { font-size: 16px; line-height: 1.85; max-width: 560px; margin-top: 16px; color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; justify-content: flex-start; }
.hero-cta .btn-primary, .hero-cta .btn-ghost { height: 56px; padding: 0 28px; }

@media (max-width: 1023px) {
  .hero-wrap { padding: 88px 28px 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { text-align: center; }
  .hero-eyebrow-row, .hero-cta { justify-content: center; }
  .hero-lead--primary, .hero-lead--secondary { margin-inline: auto; }
  .hero-copy .h1 { font-size: 44px; }
}
@media (max-width: 767px) {
  .hero-wrap { padding: 72px 22px 60px; }
  .hero-copy .h1 { font-size: 40px; }
  .hero-lead--primary { font-size: 18px; }
  .hero-lead--secondary { font-size: 15px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn-primary, .hero-cta .btn-ghost { width: 100%; }
}

/* ---------- data policy note ---------- */
.hero-datanote {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 24px; font-size: 13px; color: var(--muted); max-width: 900px; line-height: 1.6;
}
.datanote-ico { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.hero-datanote a { color: var(--accent); white-space: nowrap; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-grid, .hero-copy .h1, .hero-lead--primary, .hero-lead--secondary, .hero-cta { transition: none; }
}

/* (founder photo/portrait-placeholder styles removed — founder sections are
   text-only now, no photo placeholders anywhere on the site) */

/* ============================================================================
   v3 REDESIGN
   Status system · hero architecture · product proof · Japan ops ·
   trust center · design partner · founder message · typography & glow
   ============================================================================ */

/* ---- Global refinement: reduce purple mesh glow, tighten type ---- */
body::before { opacity: .5; }
.dark body::before, body.dark::before { opacity: .5; }
.h2 { font-size: clamp(1.5rem, 2.8vw, 1.75rem); font-weight: 700; line-height: 1.2; }
.body { font-size: 16px; line-height: 1.8; }
html[lang="ja"] .body { line-height: 1.95; }
/* Japanese long-form: comfortable measure & leading */
html[lang="ja"] .legal-body p,
html[lang="ja"] .about-market p,
html[lang="ja"] .message-body p { line-height: 1.95; max-width: 40em; }

/* ---- Status badges (single source: product_status.py) ---- */
.status-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .02em; line-height: 1.4;
  white-space: nowrap; border: 1px solid transparent;
}
.status-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.status-badge--live { color: #34d399; background: rgba(52,211,153,.12); border-color: rgba(52,211,153,.38); }
.status-badge--published { color: #38bdf8; background: rgba(56,189,248,.10); border-color: rgba(56,189,248,.34); }
.status-badge--private_beta { color: #a78bfa; background: rgba(167,139,250,.12); border-color: rgba(167,139,250,.42); }
.status-badge--planned { color: #9ca9bf; background: rgba(148,163,184,.08); border-color: rgba(148,163,184,.34); border-style: dashed; }
.status-badge--product_vision { color: #94a3b8; background: rgba(148,163,184,.08); border-color: rgba(148,163,184,.32); }

/* ---- Hero: product architecture diagram ---- */
.hero-visual { min-width: 0; }
/* ===========================================================================
   Architecture component (home hero) — redesigned 2026-08-18.
   Three-section horizontal flow: source → GSCORA core → AI providers.
   =========================================================================== */
.architecture-card {
  width: 100%; max-width: 1080px; margin: 0 auto;
  padding: 36px 40px 28px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 28px;
  background: rgba(10, 16, 30, 0.72);
  line-break: strict; word-break: normal;
}
.architecture-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; margin-bottom: 32px;
}
.architecture-eyebrow {
  font-size: 14px; font-weight: 700; letter-spacing: 0.16em; color: #9ca9bf;
}
.architecture-status {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 40px; padding: 8px 18px;
  border: 1px solid rgba(167, 119, 255, 0.55);
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.12);
  color: #b995ff;
  font-size: 14px; font-weight: 700; white-space: nowrap;
}
.architecture-status .status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #a77cff;
  box-shadow: 0 0 0 4px rgba(167,119,255,0.18);
  flex: 0 0 8px;
}
.architecture-status .status-divider {
  display: inline-block; width: 1px; height: 16px;
  background: rgba(167, 119, 255, 0.35);
}
.architecture-flow {
  display: grid;
  grid-template-columns:
    minmax(150px, 0.8fr)
    32px
    minmax(320px, 1.5fr)
    32px
    minmax(190px, 1fr);
  align-items: center; column-gap: 14px;
}
.architecture-group { min-width: 0; }
.group-label {
  margin-bottom: 12px;
  font-size: 13px; font-weight: 700;
  color: #8f9bb0; letter-spacing: 0.08em;
}
.node-list { display: grid; gap: 10px; }
.architecture-node {
  display: flex; align-items: center; justify-content: center;
  min-height: 60px; padding: 12px 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.5);
  color: #f3f5f9;
  font-size: 16px; font-weight: 650; line-height: 1.4;
  white-space: nowrap;
}
.flow-arrow {
  display: flex; align-items: center; justify-content: center;
  color: #a77cff;
}
.flow-arrow svg { width: 28px; height: 28px; }
.genstudio-core {
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(124, 58, 237, 0.7);
  border-radius: 22px;
  background:
    linear-gradient(
      180deg,
      rgba(79, 70, 229, 0.14) 0%,
      rgba(88, 28, 135, 0.12) 100%
    );
  box-shadow: 0 20px 60px rgba(35, 20, 80, 0.18);
}
.core-title {
  margin-bottom: 18px; text-align: center;
  color: #ffffff; font-size: 22px; font-weight: 750;
}
.core-capability {
  min-height: 82px; padding: 16px 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 14px;
  background: rgba(7, 12, 25, 0.62);
}
.core-capability + .core-capability { margin-top: 12px; }
.capability-name {
  margin-bottom: 6px;
  color: #ad86ff; font-size: 17px; font-weight: 750; line-height: 1.3;
}
.capability-description {
  color: #b7c0d2; font-size: 15px; font-weight: 500; line-height: 1.5;
  white-space: nowrap;
}
.provider-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(84px, 1fr));
  gap: 10px;
}
.provider-node {
  display: flex; align-items: center; justify-content: center;
  min-height: 58px; padding: 10px 12px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 13px;
  background: rgba(15, 23, 42, 0.5);
  color: #f3f5f9;
  font-size: 14px; font-weight: 650;
  white-space: nowrap;
}
.provider-more {
  grid-column: 1 / -1;
  min-height: 48px;
  border-style: dashed;
  color: #9ca9bf;
}
.architecture-note {
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  margin-top: 26px; padding-top: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  color: #9ca9bf;
  font-size: 13px; line-height: 1.6;
}
.note-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; flex: 0 0 18px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 50%;
  font-size: 11px;
}
.note-text-wrap { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0; }
.note-divider {
  display: inline-block;
  width: 1px; height: 12px;
  margin: 0 12px;
  background: rgba(148, 163, 184, 0.28);
  vertical-align: -1px;
}
@media (max-width: 767px) {
  .architecture-card { padding: 24px 18px 20px; border-radius: 22px; }
  .architecture-header { align-items: flex-start; flex-direction: column; margin-bottom: 26px; }
  .architecture-status { width: 100%; justify-content: center; white-space: normal; text-align: center; }
  .architecture-flow { grid-template-columns: 1fr; row-gap: 16px; }
  .flow-arrow { transform: rotate(90deg); }
  .provider-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .capability-description { white-space: normal; }
  .architecture-note { align-items: flex-start; justify-content: flex-start; text-align: left; }
  .note-divider { display: none; }
  .note-text-wrap { flex-direction: column; align-items: flex-start; gap: 6px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .capability-description { font-size: 14px; }
}

/* ---- Product Proof grid ---- */
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.proof-card {
  border: 1px solid var(--border); border-radius: 16px; background: var(--surface);
  padding: 18px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .25s, border-color .25s;
}
.proof-card:hover { transform: translateY(-3px); border-color: rgba(124,58,237,.4); }
.proof-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.proof-title { font-size: 15.5px; font-weight: 700; line-height: 1.3; margin: 0; }
.proof-ui {
  position: relative; border: 1px solid var(--border); border-radius: 12px;
  background: rgba(var(--surface-rgb),.6); padding: 16px 14px 26px; min-height: 118px;
  display: flex; flex-direction: column; gap: 9px; justify-content: center;
}
.proof-sample {
  position: absolute; bottom: 8px; right: 10px;
  font-size: 12px; font-weight: 600; color: var(--muted); opacity: .85; letter-spacing: .02em;
}
@media (max-width: 1023px) { .proof-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .proof-grid { grid-template-columns: 1fr; } }

/* proof mini-UIs */
.pf-keyrow { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pf-key { font-family: var(--font-mono); font-size: 12.5px; color: var(--text); }
.pf-pill { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: rgba(52,211,153,.15); color: #34d399; }
.pf-pill--muted { background: rgba(148,163,184,.12); color: var(--muted); }
.pf-btn-row { margin-top: 2px; }
.pf-mini-btn { display:inline-block; font-size: 12px; font-weight: 600; color: var(--accent); border: 1px dashed rgba(124,58,237,.5); padding: 4px 10px; border-radius: 8px; }
.pf-bars { display: flex; align-items: flex-end; gap: 7px; height: 64px; }
.pf-bar { flex: 1; display: flex; align-items: flex-end; }
.pf-bar i { display: block; width: 100%; height: var(--h); border-radius: 4px 4px 2px 2px; background: var(--grad); opacity: .8; }
.pf-legend { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.pf-alloc { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.pf-alloc span { width: 64px; color: var(--muted); flex-shrink: 0; }
.pf-alloc b { width: 34px; text-align: right; font-size: 12px; }
.pf-alloc-bar { height: 8px; width: var(--w); border-radius: 4px; background: var(--grad); opacity: .85; flex-shrink: 0; }
.pf-budget-top { display: flex; justify-content: space-between; font-size: 12.5px; margin-bottom: 6px; }
.pf-budget-top b { font-variant-numeric: tabular-nums; }
.pf-progress { position: relative; height: 10px; border-radius: 6px; background: rgba(148,163,184,.15); }
.pf-progress-fill { position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 6px; background: var(--grad); }
.pf-progress-limit { position: absolute; top: -3px; bottom: -3px; left: var(--w); width: 2px; background: #fbbf24; border-radius: 2px; }
.pf-policy { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.pf-toggle { width: 30px; height: 17px; border-radius: 999px; background: rgba(148,163,184,.25); position: relative; }
.pf-toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; }
.pf-toggle--on { background: var(--accent); }
.pf-toggle--on::after { left: 15px; }
.pf-log { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.pf-log code { font-family: var(--font-mono); color: var(--muted); font-size: 11px; }
.pf-log span { color: var(--text); font-weight: 600; }
.pf-log em { color: var(--muted); font-style: normal; margin-left: auto; }

/* ---- Vision note (under products) ---- */
.vision-note {
  margin: 28px auto 0; max-width: 760px; text-align: center;
  font-size: 14px; color: var(--muted); line-height: 1.7;
}
.vision-note-tag { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; border: 1px solid var(--border); border-radius: 999px; padding: 2px 9px; margin-right: 8px; }

/* ---- Japan ops design (replaces competitor table) ---- */
.ops-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.ops-item {
  display: flex; align-items: flex-start; gap: 14px;
  border: 1px solid var(--border); border-radius: 14px; background: var(--surface); padding: 20px;
}
.ops-check { flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat; }
.ops-title { font-size: 16px; font-weight: 700; margin: 0 0 6px; line-height: 1.35; }
.ops-desc { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.6; }
@media (max-width: 1023px) { .ops-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .ops-grid { grid-template-columns: 1fr; } }

/* ---- Platform page ---- */
.plat-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.plat-2col .h2 { margin-top: 0; }
.plat-2col .body { margin-top: 16px; }
.plat-who { list-style: none; margin: 16px 0 0; padding: 0; }
.plat-who li { position: relative; padding: 8px 0 8px 26px; font-size: 15.5px; color: var(--text); line-height: 1.6; }
.plat-who li::before { content: ""; position: absolute; left: 0; top: 15px; width: 14px; height: 14px; border-radius: 50%; background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat; }
.arch--e2e { max-width: 980px; margin: 36px auto 0; }
.arch-gw { text-align: center; font-size: 13px; font-weight: 700; color: var(--accent); border: 1px dashed rgba(124,58,237,.45); border-radius: 9px; padding: 7px 10px; background: rgba(var(--surface-rgb),.6); }
.arch-observe { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; padding-top: 10px; border-top: 1px dashed var(--border); }

.feat-status-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 8px; }
.feat-status-block .h3 { margin-bottom: 16px; }
.feat-status-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.feat-status-item { display: flex; align-items: center; gap: 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); padding: 11px 14px; }
.feat-status-name { font-size: 14.5px; font-weight: 600; color: var(--text); }

.api-spec { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.api-banner { grid-column: 1 / -1; font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fbbf24; background: rgba(251,191,36,.08); border: 1px solid rgba(251,191,36,.32); border-radius: 10px; padding: 10px 14px; }
.api-spec-label { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.code { background: #0b1220; border: 1px solid var(--border); border-radius: 12px; padding: 16px; overflow-x: auto; margin: 0; }
.code code { font-family: var(--font-mono); font-size: 12.5px; line-height: 1.6; color: #e2e8f0; white-space: pre; }
.api-caption { margin-top: 14px; font-size: 13px; color: var(--muted); max-width: 60em; }

.flow-list { list-style: none; margin: 18px 0 0; padding: 0; counter-reset: step; }
.flow-step { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.flow-step:last-child { border-bottom: none; }
.flow-num { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.flow-title { font-size: 16px; font-weight: 700; margin: 0 0 4px; }
.flow-desc { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.6; }

.resp-row { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); padding: 16px 18px; margin-top: 14px; }
.resp-who { font-size: 15px; font-weight: 700; margin: 0 0 6px; color: var(--accent); }
.resp-desc { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.65; }
.plat-bill { margin-top: 44px; }
.plat-bill .h2 { margin-bottom: 8px; }

@media (max-width: 860px) {
  .plat-2col, .feat-status-grid, .api-spec { grid-template-columns: 1fr; gap: 28px; }
}

/* ---- Models page (v3) ---- */
.models-verified-line { margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.models-beta-note { margin-top: 10px; max-width: 52em; }
.model-table { min-width: 1560px; }
.model-id { font-family: var(--font-mono); font-size: 11px; color: var(--muted); font-weight: 500; margin-top: 3px; line-height: 1.4; }
.model-note { font-size: 11.5px; color: var(--muted); margin-top: 4px; max-width: 200px; line-height: 1.4; }
.model-verified { font-family: var(--font-mono); font-size: 12px; color: #34d399; white-space: nowrap; }
.model-verified--none { color: var(--muted); }
.model-src { color: var(--accent); font-size: 12px; white-space: nowrap; }
.model-src-row { margin-top: 4px; display: flex; flex-direction: column; gap: 2px; }
.model-table td { font-size: 12.5px; line-height: 1.5; }
.model-table .status-badge { font-size: 11px; padding: 3px 9px; }
.model-group-h { margin-top: 40px; margin-bottom: 16px; }
.model-group-h:first-of-type { margin-top: 28px; }

/* ---- Trust Center (Security) ---- */
.trustc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 8px; }
.trustc-card { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); padding: 22px; }
.trustc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.trustc-head .h3 { margin: 0; font-size: 1.2rem; }
.trustc-card .body { margin: 0; font-size: 15px; }
.trustc-note { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border); }
.trustc-note .body { max-width: 60em; }
@media (max-width: 860px) { .trustc-grid { grid-template-columns: 1fr; } }

/* ---- Responsible Disclosure page ---- */
.rd-body { max-width: 46em; }
.rd-body .h2 { margin-top: 34px; }
.rd-body .h2:first-child { margin-top: 0; }
.rd-list { list-style: disc; margin: 12px 0 0; padding-left: 20px; }
.rd-list li { font-size: 15.5px; color: var(--text); line-height: 1.7; margin: 6px 0; }
.rd-table { margin-top: 12px; width: 100%; border-collapse: collapse; }
.rd-table th, .rd-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.rd-guide { margin-top: 24px; }
.rd-body .btn-ghost { margin-top: 24px; }

/* ---- Models teaser ---- */
.prov-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.prov-chip { border: 1px solid var(--border); border-radius: 999px; background: var(--surface); padding: 8px 16px; font-size: 13.5px; font-weight: 600; color: var(--text); }
.models-teaser-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 28px; }
.models-teaser-note { font-size: 13.5px; color: var(--muted); margin: 0; }
.models-verified { font-family: var(--font-mono); font-size: 12px; color: var(--accent); margin-left: 8px; }

/* ---- Security teaser footer ---- */
.sec-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 28px; }
.sec-note { font-size: 13.5px; color: var(--muted); margin: 0; max-width: 46em; }

/* ---- Design Partner ---- */
.dp-section { background: var(--grad-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.dp-inner { max-width: 880px; }
.dp-list { list-style: none; margin: 22px 0 30px; padding: 0; }
.dp-list li { position: relative; padding: 6px 0 6px 28px; font-size: 16px; color: var(--text); }
.dp-list li::before { content: ""; position: absolute; left: 0; top: 12px; width: 16px; height: 16px; border-radius: 50%; background: var(--grad); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat; }

/* ---- Founder teaser (text only, no photo) ---- */
.founder-teaser { text-align: left; }
.founder-teaser .h2 { margin-top: 18px; }
.founder-teaser .body { margin-top: 20px; max-width: 40em; }
.founder-sig { margin-top: 24px; display: flex; align-items: baseline; gap: 12px; }
.founder-sig strong { font-size: 17px; }
.founder-sig-role { color: var(--muted); font-size: 14px; }
.founder-teaser .btn-ghost { margin-top: 26px; }

/* ---- About founder (text-only, objective) ---- */
.founder-main-col { max-width: 1000px; }
.founder-main-col .founder-bio { margin-top: 0; }
.founder-main-col .founder-experience { margin-top: 48px; }

/* ---- Founder Message page ---- */
.message-body { max-width: 44em; }
.msg-sec { margin-top: 40px; }
.msg-sec:first-child { margin-top: 0; }
.msg-sec .h3 { margin-bottom: 14px; color: var(--accent); }
.message-body p { font-size: 16.5px; line-height: 1.9; color: var(--text); margin: 0 0 16px; }
html[lang="ja"] .message-body p { line-height: 2.0; }
.msg-meta { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--border); font-size: 14px; color: var(--muted); }
.msg-date { font-family: var(--font-mono); color: var(--accent); }
.msg-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.msg-sign { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); }
.msg-sign p { margin: 0; font-size: 15px; color: var(--text); }
.msg-sign-date { color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.msg-sign-name { font-weight: 700; font-size: 16.5px; }

/* ---- 3-line founder name ---- */
.founder-name-3l { display: inline-flex; flex-direction: column; gap: 2px; font-weight: 700; line-height: 1.25; }
.fn-line { font-size: 22px; color: var(--text); }
.fn-line--en { font-size: 16px; color: var(--muted); font-weight: 600; }
.founder-sig .founder-name-3l { margin-right: 14px; }
.founder-title .founder-name-3l .fn-line { font-size: 26px; }

/* ---- Legal: subprocessor table ---- */
.legal-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 16px 0 8px; }
.subprocessor-table { min-width: 640px; width: 100%; border-collapse: collapse; }
.subprocessor-table th, .subprocessor-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); font-size: 14px; vertical-align: top; }
.subprocessor-table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.subprocessor-table a { color: var(--accent); white-space: nowrap; }

/* ---- Contact form (v3 additions) ---- */
.form-row-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-2col label { display: block; }
.reply-eta { margin-top: 20px; padding: 12px 16px; border-radius: 10px; background: var(--grad-soft); border: 1px solid rgba(124,58,237,.28); font-size: 13.5px; color: var(--text); }
@media (max-width: 560px) { .form-row-2col { grid-template-columns: 1fr; } }

/* ---- focus-visible clarity (a11y) ---- */
a:focus-visible, button:focus-visible, select:focus-visible,
input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px;
}

/* ---- reduced motion for new components ---- */
@media (prefers-reduced-motion: reduce) {
  .proof-card, .arch-node, .btn-primary, .btn-ghost { transition: none; }
}


/* ===========================================================================
   Japanese typography (Section 13): strict line-breaking, no mid-word breaks,
   balanced headings, and proportional punctuation (palt).
   =========================================================================== */
html[lang="ja"] .body,
html[lang="ja"] p,
html[lang="ja"] li,
html[lang="ja"] .lead,
html[lang="ja"] .hero-lead {
  line-break: strict;
  overflow-wrap: break-word;
  font-feature-settings: "palt" 1;
}
html[lang="ja"] h1,
html[lang="ja"] h2,
html[lang="ja"] h3,
html[lang="ja"] h4 {
  line-break: strict;
  word-break: auto-phrase;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.no-break { white-space: nowrap; }

/* ===========================================================================
   Enterprise AI Control Plane — new home sections (2026-08-19)
   =========================================================================== */

/* Hero trust note (under CTA) */
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; padding: 0; list-style: none; }
.hero-trust li { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 7px; }
.hero-trust li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #34d399; flex-shrink: 0; }

/* Four-layer architecture (hero) */
.arch4 { display: flex; flex-direction: column; gap: 12px; }
.arch4-layer { border: 1px solid rgba(148,163,184,.18); border-radius: 14px; background: rgba(15,23,42,.5); padding: 12px 14px; }
.arch4-layer-label { font-size: 14px; font-weight: 700; letter-spacing: .06em; color: #8f9bb0; margin-bottom: 10px; }
.arch4-nodes { display: flex; flex-wrap: wrap; gap: 8px; }
.arch4-node {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 600; color: #f3f5f9;
  border: 1px solid rgba(148,163,184,.2); border-radius: 9px;
  background: rgba(15,23,42,.7); padding: 7px 11px; white-space: nowrap;
}
.arch4-st { font-size: 10px; font-weight: 700; padding: 1px 7px; border-radius: 999px; }
.arch4-st--beta { color: #a78bfa; background: rgba(167,139,250,.14); border: 1px solid rgba(167,139,250,.4); }
.arch4-st--planned { color: #9ca9bf; background: rgba(148,163,184,.08); border: 1px dashed rgba(148,163,184,.4); }
.arch4-core {
  border: 1px solid rgba(124,58,237,.7); border-radius: 16px; padding: 16px 18px;
  background: linear-gradient(180deg, rgba(79,70,229,.16), rgba(88,28,135,.12));
}
.arch4-core-title { text-align: center; color: #fff; font-size: 16px; font-weight: 750; margin-bottom: 12px; }
.arch4-caps { display: flex; flex-direction: column; gap: 8px; }
.arch4-cap { display: flex; align-items: baseline; gap: 8px; font-size: 14px; line-height: 1.5; }
.arch4-cap-name { color: #ad86ff; font-weight: 750; flex-shrink: 0; font-size: 14px; }
.arch4-cap-desc { color: #b7c0d2; }

/* Works with your stack */
.stack-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px; }
.stack-card {
  display: flex; flex-direction: column; gap: 10px; padding: 22px 20px;
  border: 1px solid var(--border); border-radius: 16px; background: var(--surface);
}
.stack-card-name { font-size: 15px; font-weight: 700; color: var(--text); }
.stack-card-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }
.stack-card--genstudio { border-color: rgba(124,58,237,.55); background: linear-gradient(180deg, rgba(124,58,237,.10), rgba(124,58,237,.02)); }
@media (max-width: 900px) { .stack-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .stack-grid { grid-template-columns: 1fr; } }

/* Product proof — planned mockups (dashed) */
.proof-card--planned { border-style: dashed; border-color: rgba(148,163,184,.4); }
.proof-card--planned .proof-title { color: var(--muted); }

/* Connect/Control/Observe — feature tags */
.cap-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.cap-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--text);
  border: 1px solid var(--border); border-radius: 999px; padding: 4px 11px;
}
.cap-tag em { font-style: normal; font-size: 10.5px; font-weight: 700; color: #a78bfa; }
.cap-tag--planned { border-style: dashed; border-color: rgba(148,163,184,.4); color: var(--muted); }
.cap-tag--planned em { color: #9ca9bf; }

/* Intelligent Routing (planned) */
.routing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; margin-top: 8px; }
.rf-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.rf-step {
  position: relative; padding: 13px 16px 13px 40px;
  border: 1px solid var(--border); border-radius: 12px; background: var(--surface);
  font-size: 14px; font-weight: 600; color: var(--text);
}
.rf-step + .rf-step { margin-top: 8px; }
.rf-step::before {
  content: ""; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 9px; height: 9px; border-radius: 50%; background: #a78bfa;
}
.rf-step::after { content: ""; position: absolute; left: 20px; top: 100%; width: 1px; height: 8px; background: rgba(148,163,184,.3); }
.rf-step:last-child::after { display: none; }
.routing-example { border: 1px solid rgba(124,58,237,.4); border-radius: 16px; padding: 22px; background: rgba(124,58,237,.05); }
.rf-cond { margin: 14px 0; }
.rf-cond-label { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.rf-cond ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.rf-cond li { font-size: 13px; color: var(--text); border: 1px solid var(--border); border-radius: 8px; padding: 5px 10px; }
.rf-result, .rf-evidence { margin: 10px 0 0; font-size: 14px; }
.routing-control-note {
  margin-top: 22px; padding: 14px 18px; border-left: 3px solid rgba(124,58,237,.5);
  background: rgba(124,58,237,.05); border-radius: 0 12px 12px 0; font-size: 14px; color: var(--muted);
}
@media (max-width: 860px) { .routing-grid { grid-template-columns: 1fr; } }

/* AI Governance */
.gov-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; align-items: start; margin-top: 8px; }
.gov-hier-list { list-style: none; margin: 0; padding: 0; }
.gov-hier-list li {
  padding: 12px 16px; border: 1px solid var(--border); border-radius: 11px;
  background: var(--surface); font-size: 14px; font-weight: 600; color: var(--text);
  position: relative; text-align: center;
}
.gov-hier-list li + li { margin-top: 8px; }
.gov-hier-list li::after { content: "↓"; position: absolute; left: 50%; transform: translateX(-50%); bottom: -20px; color: #a78bfa; font-size: 13px; }
.gov-hier-list li:last-child::after { display: none; }
.gov-hier-list li + li { margin-top: 20px; }
.gov-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gov-card {
  display: flex; flex-direction: column; gap: 8px; padding: 14px 16px;
  border: 1px solid var(--border); border-radius: 12px; background: var(--surface);
}
.gov-card-name { font-size: 14px; font-weight: 700; color: var(--text); }
.gov-card-status { font-size: 11px; font-weight: 700; align-self: flex-start; padding: 2px 9px; border-radius: 999px; }
.gov-card-status--beta { color: #a78bfa; background: rgba(167,139,250,.14); border: 1px solid rgba(167,139,250,.4); }
.gov-card-status--planned { color: #9ca9bf; background: rgba(148,163,184,.08); border: 1px dashed rgba(148,163,184,.4); }
.gov-principle { margin-top: 26px; padding: 20px 22px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.gov-principle-title { font-size: 16px; font-weight: 750; color: var(--text); margin: 0 0 8px; }
@media (max-width: 860px) { .gov-grid { grid-template-columns: 1fr; } }

/* Customer types */
.cust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.cust-card { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); padding: 24px; }
.cust-card h3 { margin: 0 0 14px; font-size: 18px; }
.cust-card ul { list-style: none; margin: 0; padding: 0; }
.cust-card li { font-size: 14px; color: var(--muted); padding: 7px 0 7px 20px; position: relative; line-height: 1.5; }
.cust-card li::before { content: ""; position: absolute; left: 0; top: 14px; width: 7px; height: 7px; border-radius: 2px; background: #a78bfa; }
@media (max-width: 900px) { .cust-grid { grid-template-columns: 1fr; } }

/* Platform — access modes */
.mode-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.mode-card { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); padding: 22px; }
.mode-card--planned { border-style: dashed; border-color: rgba(148,163,184,.4); }
.mode-name { font-size: 16px; font-weight: 750; color: var(--text); margin: 0 0 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.mode-status { font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.mode-status--beta { color: #a78bfa; background: rgba(167,139,250,.14); border: 1px solid rgba(167,139,250,.4); }
.mode-status--planned { color: #9ca9bf; background: rgba(148,163,184,.08); border: 1px dashed rgba(148,163,184,.4); }
.mode-desc { font-size: 14px; color: var(--muted); line-height: 1.7; margin: 0; }
@media (max-width: 860px) { .mode-grid { grid-template-columns: 1fr; } }

/* Contact multi-select checkboxes */
.form-check-group { display: flex; flex-wrap: wrap; gap: 8px; }
.form-check {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text);
  border: 1px solid var(--border); border-radius: 8px; padding: 6px 10px; cursor: pointer;
}
.form-check input { accent-color: #7c3aed; }

/* Security flow table */
.flow-table th, .flow-table td { font-size: 13.5px; }
.flow-note { margin-top: 16px; color: var(--muted); font-size: 14px; }

/* Integrations page */
.intg-group { margin-bottom: 30px; }
.intg-group h2 { margin: 0 0 14px; }
.intg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.intg-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface);
}
.intg-item--planned { border-style: dashed; border-color: rgba(148,163,184,.4); }
.intg-name { font-size: 14px; font-weight: 600; color: var(--text); }
.intg-status { font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; flex-shrink: 0; }
.intg-status--beta { color: #a78bfa; background: rgba(167,139,250,.14); border: 1px solid rgba(167,139,250,.4); }
.intg-status--planned { color: #9ca9bf; background: rgba(148,163,184,.08); border: 1px dashed rgba(148,163,184,.4); }
.intg-note { margin-top: 26px; padding: 18px 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
@media (max-width: 860px) { .intg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .intg-grid { grid-template-columns: 1fr; } }

/* ===========================================================================
   Home v3 (2026-08-20): market shift / ecosystem / ROI / proof / fold-outs
   =========================================================================== */

/* Hero: sub-line under H1 */
.hero-h1sub { margin: 14px 0 6px; font-size: 16px; font-weight: 600; color: var(--accent); line-height: 1.7; }

/* Hero arch — three-column layout variant */
.arch4--three { display: grid; grid-template-columns: minmax(110px, 0.9fr) 28px minmax(180px, 1.4fr) 28px minmax(110px, 1fr); align-items: center; column-gap: 8px; }
.arch4--three .arch4-layer { padding: 10px 10px; }
.arch4-caps--row { flex-direction: row; justify-content: center; gap: 8px; flex-wrap: wrap; }
.arch4-caps--row .arch4-cap { border: 1px solid rgba(167,139,250,.35); border-radius: 9px; padding: 9px 11px; background: rgba(7,12,25,.62); flex-direction: column; align-items: flex-start; gap: 3px; }
.arch4-caps--row .arch4-cap-name { color: #ad86ff; font-size: 14px; font-weight: 750; }
.arch4-caps--row .arch4-cap-desc { font-size: 14px; color: #b7c0d2; line-height: 1.4; }
@media (max-width: 767px) {
  .arch4--three { grid-template-columns: 1fr; row-gap: 10px; }
  .arch4--three .flow-arrow { transform: rotate(90deg); }
}

/* Market shift — split layout (copy left, timeline right) */
/* bottom padding trimmed so the Market→Ecosystem boundary stays ~144px (spec #4/#7) */
.ms-split { padding: 112px 0 32px; background: #070b16; }
.ms-split .eyebrow, .eco-split .eyebrow { font-size: 12px; letter-spacing: .16em; color: #a78bfa; }
.ms-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); column-gap: 80px; align-items: center; }
.ms-copy { max-width: 460px; }
.ms-h2 { margin: 14px 0 22px; font-size: clamp(24px, 2.8vw, 28px); line-height: 1.35; letter-spacing: 0; }
.ms-body { color: #b8c1d4; line-height: 1.85; margin: 0 0 16px; }
.ms-timeline { list-style: none; margin: 0; padding: 0; }
.ms-stage { position: relative; padding-left: 68px; min-height: 104px; }
.ms-stage + .ms-stage { margin-top: 18px; }
.ms-dot { position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(167,139,250,.5); color: #a78bfa; font-weight: 800; font-size: 16px;
  display: flex; align-items: center; justify-content: center; background: rgba(124,58,237,.08); }
.ms-stage:not(:last-child)::before { content: ""; position: absolute; left: 23px; top: 48px;
  height: calc(100% - 48px + 18px); width: 2px; background: rgba(148,163,184,.22); }
.ms-card { border: 1px solid rgba(148,163,184,0.22); border-radius: 14px; background: rgba(15,23,42,0.64);
  padding: 24px 28px; min-height: 104px; transition: border-color .2s ease; }
.ms-stage:hover .ms-card { border-color: rgba(148,163,184,0.5); }
.ms-stage-title { margin: 0 0 8px; font-size: 17px; font-weight: 700; color: #f2f5fb; }
.ms-stage-desc { margin: 0; font-size: 14.5px; line-height: 1.7; color: #c7cedd; }

/* Ecosystem — reverse split (providers left, copy+CTA right) */
.eco-split { padding: 112px 0; background: #0b1120; }
.eco-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); column-gap: 88px; align-items: center; }
.eco-left { max-width: 560px; }
.prov-group + .prov-group { margin-top: 32px; }
.prov-group-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.prov-group-title { margin: 0; font-size: 15px; font-weight: 700; color: #e6ebf5; letter-spacing: .02em; }
.prov-group-sub { font-size: 12px; font-weight: 700; color: #a78bfa; letter-spacing: .04em; }
.prov-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.prov-card { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 68px; padding: 18px 20px; border-radius: 12px; border: 1px solid rgba(148,163,184,0.2);
  background: rgba(15,23,42,0.72); text-decoration: none; transition: border-color .2s ease, background .2s ease; }
.prov-card:hover { border-color: rgba(167,139,250,.55); background: rgba(20,28,48,.9); }
.prov-card-name { font-size: 16px; font-weight: 700; color: #f2f5fb; }
.prov-card-hover { font-size: 12.5px; color: #a78bfa; opacity: 0; transition: opacity .2s ease; white-space: nowrap; }
.prov-card:hover .prov-card-hover { opacity: 1; }
.prov-card--verify { opacity: .7; }
.prov-card--verify:hover { opacity: 1; }
.eco-note { margin: 28px 0 0; font-size: 13px; line-height: 1.7; color: #9aa7c5; }
.eco-verified { color: #b8c1d4; }
.eco-right { max-width: 460px; }
.eco-h2 { margin: 14px 0 22px; font-size: clamp(24px, 2.8vw, 28px); line-height: 1.35; letter-spacing: 0; }
.eco-body { color: #b8c1d4; line-height: 1.85; margin: 0 0 16px; }
.eco-value { margin: 4px 0 26px; font-size: 15px; font-weight: 700; color: #d7def0; line-height: 1.7; }

@media (max-width: 1023px) {
  .ms-grid, .eco-grid { grid-template-columns: 1fr; row-gap: 40px; }
  .ms-copy, .eco-right { max-width: none; }
  /* On mobile: copy + CTA first, provider matrix second. */
  .eco-right { order: -1; }
}
@media (max-width: 767px) {
  .ms-split, .eco-split { padding: 72px 0; }
  .ms-h2, .eco-h2 { font-size: 24px; margin-bottom: 18px; }
  .ms-body, .eco-body { font-size: 16px; }
  .prov-grid { grid-template-columns: 1fr; }
}

/* Product proof — 3 wide cards with notes */
.proof-grid--three { grid-template-columns: repeat(3, 1fr); }
.proof-card--wide { display: flex; flex-direction: column; gap: 14px; }
.proof-notes { list-style: none; margin: 0; padding: 0; }
.proof-notes li { font-size: 13px; color: var(--muted); line-height: 1.6; padding: 3px 0 3px 18px; position: relative; }
.proof-notes li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: #a78bfa; }
@media (max-width: 1023px) { .proof-grid--three { grid-template-columns: 1fr; } }

/* ROI section */
.roi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 10px; }
.roi-card { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); padding: 20px; }
.roi-card h3 { margin: 0 0 10px; font-size: 16.5px; }
.roi-card .body { margin: 0; font-size: 14px; }
.roi-status { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 26px; }
.roi-status-block { border: 1px solid var(--border); border-radius: 14px; padding: 18px; background: var(--surface); }
.cap-tag--beta em { color: #a78bfa; }
@media (max-width: 1023px) { .roi-grid { grid-template-columns: repeat(2, 1fr); } .roi-status { grid-template-columns: 1fr; } }
@media (max-width: 540px) { .roi-grid { grid-template-columns: 1fr; } }

/* AI ROI page */
.roi-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
.roi-page-col { display: flex; flex-direction: column; gap: 14px; }
.roi-page-card { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); padding: 18px 20px; }
.roi-page-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.roi-page-head > span:first-child { font-size: 16px; font-weight: 750; color: var(--text); }
.roi-page-card .body { margin: 0; font-size: 14px; }
.roi-formula { border: 1px solid rgba(124,58,237,.45); border-radius: 16px; background: rgba(124,58,237,.06); padding: 22px 24px; margin-bottom: 20px; }
.roi-formula-eq { margin: 10px 0 0; font-size: 19px; font-weight: 750; color: var(--text); }
.roi-page-grid--lists { grid-template-columns: repeat(3, 1fr); align-items: start; }
@media (max-width: 1023px) { .roi-page-grid, .roi-page-grid--lists { grid-template-columns: 1fr; } }

/* Platform — planned fold-out */
.planned-fold { border: 1px dashed rgba(148,163,184,.4); border-radius: 14px; margin-top: 26px; background: rgba(148,163,184,.04); }
.planned-fold-summary { cursor: pointer; padding: 15px 20px; font-size: 15px; font-weight: 700; color: var(--muted); list-style: none; }
.planned-fold-summary::-webkit-details-marker { display: none; }
.planned-fold-summary::before { content: "＋ "; }
.planned-fold[open] .planned-fold-summary::before { content: "− "; }
.planned-fold-body { padding: 4px 20px 20px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.planned-group { border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; background: var(--surface); }
.planned-group-title { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 15px; font-weight: 700; color: var(--text); }
.planned-group .body { margin: 0; font-size: 13.5px; }
@media (max-width: 860px) { .planned-fold-body { grid-template-columns: 1fr; } }

/* Contact — details fold-out */
.form-details { border: 1px dashed rgba(148,163,184,.4); border-radius: 14px; margin-top: 6px; }
.form-details-summary { cursor: pointer; padding: 13px 18px; font-size: 14px; font-weight: 700; color: var(--muted); list-style: none; }
.form-details-summary::-webkit-details-marker { display: none; }
.form-details-summary::before { content: "＋ "; }
.form-details[open] .form-details-summary::before { content: "− "; }
.form-details-body { padding: 4px 18px 18px; }

/* ===========================================================================
   Home v4 (2026-08-20): 9-section restructure
   =========================================================================== */

/* Japanese line-break utilities (spec §24) */
.ja-copy { line-break: strict; word-break: normal; overflow-wrap: break-word; text-wrap: pretty; }
.ja-heading { line-break: strict; word-break: auto-phrase; text-wrap: balance; }

/* 2. 既存AI環境 */
.env-section { background: #070b16; }
.env-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,0.9fr); column-gap: 72px; align-items: center; }
.env-copy .h2 { margin-top: 16px; }
.env-copy .body { margin-top: 18px; }
.env-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.env-list li {
  padding: 18px 20px; border: 1px solid rgba(148,163,184,.16); border-radius: 14px;
  background: rgba(15,23,42,.5); font-size: 15px; font-weight: 600; color: #f3f5f9;
  display: flex; align-items: center; gap: 12px;
}
.env-list li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: #a78bfa; flex-shrink: 0; }
@media (max-width: 1023px) { .env-grid { grid-template-columns: 1fr; row-gap: 32px; } }

/* 3. Provided features grid */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.feature-card { border: 1px solid var(--border); border-radius: 16px; background: var(--bg); padding: 24px 22px; transition: border-color .25s, transform .25s; }
.feature-card:hover { transform: translateY(-2px); border-color: rgba(124,58,237,.45); }
.feature-title { font-size: 20px; font-weight: 700; margin: 0 0 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.feature-desc { font-size: 15px; color: var(--muted); line-height: 1.8; margin: 0; }
@media (max-width: 1023px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }

/* 5. Challenges */
.challenge-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 40px; }
.challenge-card { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); padding: 26px 24px; }
.challenge-card h3 { font-size: 20px; font-weight: 700; margin: 0 0 12px; }
.challenge-card p { font-size: 15px; color: var(--muted); line-height: 1.8; margin: 0; }
@media (max-width: 900px) { .challenge-grid { grid-template-columns: 1fr; } }

/* 6. Roadmap preview cards */
.preview-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
.preview-card { border: 1px solid var(--border); border-radius: 18px; background: var(--bg); padding: 28px; display: flex; flex-direction: column; }
.preview-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.preview-name { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.preview-status { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; color: #9ca9bf; background: rgba(148,163,184,.08); border: 1px dashed rgba(148,163,184,.4); }
.preview-title { font-size: 22px; font-weight: 750; margin: 0 0 12px; }
.preview-body { font-size: 14.5px; color: var(--muted); line-height: 1.8; margin: 0 0 22px; }
.preview-cta { font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; }
.preview-cta:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .preview-grid { grid-template-columns: 1fr; } }

/* 9. Founder teaser */
.founder-teaser { background: #070b16; }
.founder-teaser-inner { max-width: 720px; }

/* ===========================================================================
   Governance page v2 + Integrations table (2026-08-20)
   =========================================================================== */
.gov-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 8px; }
.gov-2col .gov-cards { margin-top: 20px; }
@media (max-width: 860px) { .gov-2col { grid-template-columns: 1fr; gap: 32px; } }

.gflow { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.gflow-step { display: flex; align-items: center; gap: 9px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); padding: 13px 18px; font-size: 14.5px; font-weight: 600; color: var(--text); }
.gflow-num { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; flex-shrink: 0; }

.intg-table th { width: auto; }
.intg-table th:first-child { width: 34%; }
.intg-pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 11px; border-radius: 999px; white-space: nowrap; }
.intg-pill--beta { color: #a78bfa; background: rgba(167,139,250,.14); border: 1px solid rgba(167,139,250,.4); }
.intg-pill--confirm { color: #7dd3a8; background: rgba(52,211,153,.10); border: 1px solid rgba(52,211,153,.35); }
.intg-pill--review { color: #fcd34d; background: rgba(251,191,36,.10); border: 1px solid rgba(251,191,36,.35); }
.intg-pill--planned { color: #9ca9bf; background: rgba(148,163,184,.08); border: 1px dashed rgba(148,163,184,.4); }

/* ===========================================================================
   Products (main + related) — 2026-08-20 spec v2
   =========================================================================== */
.products-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; margin-top: 40px; align-items: stretch; }
.product-card { border: 1px solid var(--border); border-radius: 18px; background: var(--bg); padding: 30px 28px; display: flex; flex-direction: column; }
.product-card--main { border-color: rgba(124,58,237,.45); background: linear-gradient(180deg, rgba(124,58,237,.08), rgba(124,58,237,.01)); }
.product-card--related { opacity: .92; }
.product-status { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 3px 11px; border-radius: 999px; color: #7dd3a8; background: rgba(52,211,153,.10); border: 1px solid rgba(52,211,153,.35); }
.product-status--beta { color: #a78bfa; background: rgba(167,139,250,.14); border: 1px solid rgba(167,139,250,.4); }
.product-name { font-size: 24px; font-weight: 750; margin: 18px 0 12px; }
.product-desc { font-size: 15px; color: var(--muted); line-height: 1.8; margin: 0 0 22px; }
.product-cta { font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; margin-top: auto; }
.product-cta:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .products-grid { grid-template-columns: 1fr; } }

/* ============================================================================
   Two-product restructure (2026-08-21)
   Status colors · hero product stack · product cards · Content Studio ·
   API Platform section · private-beta banner · security tabs · dynamic form
   ============================================================================ */

/* ---- Status badge colors (five product statuses) ---- */
.status-badge--available { color: #34d399; background: rgba(52,211,153,.12); border-color: rgba(52,211,153,.38); }
.status-badge--in_development { color: #7dd3fc; background: rgba(56,189,248,.12); border-color: rgba(56,189,248,.34); }
.status-badge--concept { color: #9ca9bf; background: rgba(148,163,184,.08); border-color: rgba(148,163,184,.34); border-style: dashed; }
/* keep legacy alias working */
.status-badge--live { color: #34d399; background: rgba(52,211,153,.12); border-color: rgba(52,211,153,.38); }
.status-badge--product_vision { color: #9ca9bf; background: rgba(148,163,184,.08); border-color: rgba(148,163,184,.34); border-style: dashed; }

/* ---- Hero: two-product stack ---- */
.hero-status-note { margin-top: 18px; font-size: 14px; line-height: 1.7; color: var(--muted); max-width: 560px; }
.hero-status-note .hl { color: var(--text); font-weight: 600; }
.hero-textlink { display: inline-block; margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--accent); }
.hero-textlink:hover { text-decoration: underline; text-underline-offset: 3px; }
.hero-product-stack { display: flex; flex-direction: column; gap: 16px; }
.hp-card { display: flex; flex-direction: column; gap: 8px; padding: 24px 26px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); text-decoration: none; transition: transform .2s, border-color .2s; }
.hp-card:hover { transform: translateY(-2px); }
.hp-card--available { border-color: rgba(52,211,153,.35); background: linear-gradient(160deg, rgba(52,211,153,.07), var(--surface) 60%); }
.hp-card--beta { border-color: rgba(167,139,250,.35); background: linear-gradient(160deg, rgba(124,58,237,.07), var(--surface) 60%); }
.hp-card-kicker { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--muted); }
.hp-card-name { font-size: 20px; font-weight: 750; color: var(--text); }
.hp-card-desc { font-size: 14px; line-height: 1.7; color: var(--muted); }
.hp-card-foot { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.hp-card-cta { font-size: 13px; font-weight: 600; color: var(--accent); }

/* ---- Product cards (below hero) ---- */
.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.pc-card { display: flex; flex-direction: column; gap: 14px; padding: 32px; border-radius: 20px; border: 1px solid var(--border); background: var(--surface); }
.pc-card--available { border-color: rgba(52,211,153,.4); }
.pc-card--beta { border-color: rgba(167,139,250,.45); }
.pc-card .status-badge { align-self: flex-start; }
.pc-name { font-size: 22px; font-weight: 750; margin: 0; }
.pc-desc { font-size: 15px; line-height: 1.8; color: var(--muted); margin: 0; }
.pc-note { font-size: 13px; line-height: 1.6; color: #c4b5fd; margin: 0; }
.pc-features { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 4px 0 0; }
.pc-features li { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 8px; background: rgba(148,163,184,.08); border: 1px solid var(--border); color: var(--text); }
.pc-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
@media (max-width: 860px) { .pc-grid { grid-template-columns: 1fr; } }

/* ---- Content Studio section ---- */
.cs-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.cs-copy .h2 { margin: 14px 0 16px; }
.cs-copy .status-badge { margin-bottom: 16px; }
.cs-copy .body { margin: 0 0 12px; }
.cs-audiences { margin: 20px 0 8px; }
.cs-audiences-title { display: block; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.cs-audiences ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.cs-audiences li { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); }
.cs-visual { min-width: 0; }
.cs-shot { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--bg); }
.cs-shot-head { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.cs-shot-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(148,163,184,.35); }
.cs-shot-label { margin-left: auto; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--muted); }
.cs-shot-body { padding: 16px; }
.cs-shot-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; height: 220px; border: 1px dashed var(--border); border-radius: 12px; color: var(--muted); font-size: 13px; text-align: center; }
.cs-shot-placeholder svg { width: 32px; height: 32px; opacity: .5; }
.cs-shot-note { margin: 10px 2px 0; font-size: 11px; color: #64748b; }
@media (max-width: 1023px) { .cs-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Content Studio detail page */
.cs-status-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cs-status-copy .status-badge { margin: 12px 0 16px; }
.cs-cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.cs-cap { border: 1px solid var(--border); border-radius: 14px; padding: 22px; background: var(--surface); }
.cs-cap-title { font-size: 17px; font-weight: 700; margin: 0 0 8px; }
.cs-cap-desc { font-size: 14px; line-height: 1.7; color: var(--muted); margin: 0; }
.cs-audience-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin-top: 24px; }
.cs-audience-list li { font-size: 14px; font-weight: 500; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border); color: var(--text); background: var(--surface); }
@media (max-width: 900px) { .cs-status-grid { grid-template-columns: 1fr; } .cs-cap-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cs-cap-grid { grid-template-columns: 1fr; } }

/* ---- API Platform section ---- */
.api-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.api-copy .h2 { margin: 14px 0 16px; }
.api-status { margin: 14px 0 8px; font-size: 14px; line-height: 1.7; color: #c4b5fd; }
.api-points { display: flex; flex-direction: column; gap: 16px; }
.api-point { border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px; background: var(--surface); }
.api-point-title { font-size: 16px; font-weight: 700; margin: 0 0 6px; }
.api-point-desc { font-size: 14px; line-height: 1.7; color: var(--muted); margin: 0; }
@media (max-width: 1023px) { .api-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---- Private Beta status banner (platform / ai-roi) ---- */
.pb-banner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; padding: 14px 18px; border: 1px solid rgba(167,139,250,.4); border-radius: 12px; background: rgba(124,58,237,.08); }
.pb-banner-text { font-size: 14px; line-height: 1.6; color: var(--muted); }
.pb-banner .status-badge { flex-shrink: 0; }

/* ---- Dropdown status badge ---- */
.dropdown-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dropdown-status { flex-shrink: 0; }

/* ---- Security product switcher tabs ---- */
.sec-tabs { display: flex; gap: 10px; margin-bottom: 28px; border-bottom: 1px solid var(--border); }
.sec-tab { padding: 12px 20px; font-size: 15px; font-weight: 600; color: var(--muted); background: transparent; border: none; border-bottom: 2px solid transparent; cursor: pointer; }
.sec-tab--active { color: var(--text); border-bottom-color: var(--accent); }
.sec-panel--hidden { display: none; }

/* ---- Contact dynamic fields ---- */
.form-dynamic { border: 1px dashed var(--border); border-radius: 12px; padding: 16px; margin-bottom: 4px; }
.form-dynamic .form-row:last-child { margin-bottom: 0; }

/* ============================================================================
   Refinement pass (2026-08-21): hero status row, product cards 60/40,
   Content Studio type grid, API notice box, trust 2-col, closing CTA, FAQ entry
   ============================================================================ */

/* ---- Hero: status row (independent product status) ---- */
.hero-status-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 20px; }
.hero-status-item { display: flex; align-items: center; gap: 8px; }
.hero-status-name { font-size: 13px; font-weight: 600; color: var(--muted); }
.hero-lead--secondary { margin-top: 12px; }

/* ---- Hero product cards: 60/40 visual weight ---- */
.hero-product-stack { gap: 14px; }
.hp-card--available { padding: 26px 28px; border-color: rgba(52,211,153,.45); }
.hp-card--available .hp-card-name { font-size: 22px; }
.hp-card--beta { padding: 20px 24px; opacity: .92; }
.hp-card--beta .hp-card-name { font-size: 19px; }

/* ---- Content Studio type grid (abstract, not fake UI) ---- */
.cs-type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cs-type-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 120px; border: 1px solid rgba(52,211,153,.3); border-radius: 16px; background: linear-gradient(160deg, rgba(52,211,153,.07), var(--surface) 65%); }
.cs-type-ico { width: 30px; height: 30px; border-radius: 10px; background: rgba(52,211,153,.18); }
.cs-type-label { font-size: 15px; font-weight: 600; color: var(--text); }
.cs-visual-note { margin-top: 14px; font-size: 12px; color: #64748b; }
.cs-visual-note a { color: var(--accent); }

/* ---- API Platform notice box ---- */
.pb-notice { margin: 18px 0 20px; padding: 18px 20px; border: 1px solid rgba(167,139,250,.4); border-radius: 14px; background: rgba(124,58,237,.08); }
.pb-notice-title { display: block; font-weight: 700; font-size: 15px; color: #c4b5fd; margin-bottom: 10px; }
.pb-notice ul { list-style: none; margin: 0; padding: 0; }
.pb-notice li { position: relative; padding-left: 18px; font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.pb-notice li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: #a78bfa; }
.api-points-title { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }

/* ---- Security / data trust 2-col ---- */
.trust-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.trust-col { border: 1px solid var(--border); border-radius: 16px; padding: 24px; background: var(--surface); }
.trust-col-title { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; margin: 0 0 14px; flex-wrap: wrap; }
.trust-list { list-style: none; margin: 0; padding: 0; }
.trust-list li { position: relative; padding-left: 18px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.trust-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 2px; background: #a78bfa; }
.trust-list li + li { margin-top: 8px; }
@media (max-width: 860px) { .trust-2col { grid-template-columns: 1fr; } }

/* ---- FAQ entry ---- */
.faq-entry-list { list-style: none; margin: 24px auto 0; padding: 0; max-width: 640px; }
.faq-entry-list li { padding: 12px 18px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); font-size: 14px; color: var(--text); }
.faq-entry-list li + li { margin-top: 10px; }

/* ---- Closing CTA two-product grid ---- */
.closing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; text-align: left; }
.closing-card { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); align-items: flex-start; }
.closing-card--available { border-color: rgba(52,211,153,.4); }
.closing-card--beta { border-color: rgba(167,139,250,.4); }
.closing-name { font-size: 19px; font-weight: 750; margin: 0; }
.closing-desc { font-size: 14px; line-height: 1.7; color: var(--muted); margin: 0; }
.closing-card .btn-primary, .closing-card .btn-ghost { width: 100%; justify-content: center; }
@media (max-width: 720px) { .closing-grid { grid-template-columns: 1fr; } }

/* ---- FAQ group heading ---- */
.faq-group-h { margin-top: 32px; font-size: 22px; }
.faq-group-h:first-child { margin-top: 0; }

/* ---- Footer sub-links ---- */
.footer-link--sub { padding-left: 14px; font-size: 12px; color: #7b8aa5; }
.footer-link--sub:hover { color: var(--text); }

/* ---- Roadmap accordion list ---- */
.roadmap-list { list-style: none; margin: 12px 0 0; padding: 0; columns: 2; }
.roadmap-list li { position: relative; padding-left: 16px; font-size: 13.5px; line-height: 1.7; color: var(--muted); break-inside: avoid; }
.roadmap-list li::before { content: "—"; position: absolute; left: 0; color: #64748b; }
@media (max-width: 640px) { .roadmap-list { columns: 1; } }

/* ============================================================================
   Refinement pass (2026-08-21 stage 8): typography + status badge colors
   ============================================================================ */

/* ---- H1 typography (clamp for responsive, 1.25 line-height subpage) ---- */
.h1 { font-size: clamp(44px, 5vw, 64px); line-height: 1.15; }
.page-hero-inner .h1 { font-size: clamp(40px, 4.5vw, 56px); line-height: 1.25; }
.hero-h1 { font-size: clamp(44px, 5vw, 68px); line-height: 1.1; }
@media (max-width: 767px) {
  .h1 { font-size: 40px; line-height: 1.2; }
  .page-hero-inner .h1 { font-size: 36px; }
  .hero-h1 { font-size: 40px; }
}

/* ---- Status badge colors (stage 8) ----
   提供中 = green, Private Beta = purple, 開発中 = amber,
   開発予定 = gray, 構想段階 = outline gray
*/
.status-badge--in_development { color: #fbbf24; background: rgba(251,191,36,.12); border-color: rgba(251,191,36,.4); }
.status-badge--planned { color: #94a3b8; background: rgba(148,163,184,.08); border-color: rgba(148,163,184,.32); }
.status-badge--concept { color: #cbd5e1; background: transparent; border-color: rgba(148,163,184,.45); border-style: dashed; }

/* ---- CS cap list (Content Studio main features, spec stage 2) ---- */
.cs-cap-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 14px 0 0; }
.cs-cap-list li { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 8px; background: rgba(148,163,184,.08); border: 1px solid var(--border); color: var(--text); }

/* ============================================================================
   Brand concept (spec §十三): hero brand tags, principles strip, concept tags
   Access = blue, Control = purple, Put AI to Work = teal (subtle, no rainbow)
   ============================================================================ */

/* Hero 3-part brand tag above H1 */
.hero-brand-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.bt-item { font-size: 11px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; border: 1px solid; }
.bt-item--blue { color: #60a5fa; border-color: rgba(96,165,250,.42); background: rgba(59,130,246,.08); }
.bt-item--purple { color: #a78bfa; border-color: rgba(167,139,250,.42); background: rgba(124,58,237,.08); }
.bt-item--teal { color: #5eead4; border-color: rgba(94,234,212,.40); background: rgba(20,184,166,.08); }

/* Brand principles strip (3 columns, thin borders, no glow) */
.brand-principles { padding: 64px 0; }
.bp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bp-col { padding: 26px 24px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.bp-col--blue { border-top: 2px solid rgba(96,165,250,.55); }
.bp-col--purple { border-top: 2px solid rgba(167,139,250,.55); }
.bp-col--teal { border-top: 2px solid rgba(94,234,212,.55); }
.bp-head { display: flex; align-items: center; gap: 12px; }
.bp-num { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--muted); }
.bp-kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.bp-col--blue .bp-kicker { color: #60a5fa; }
.bp-col--purple .bp-kicker { color: #a78bfa; }
.bp-col--teal .bp-kicker { color: #5eead4; }
.bp-title { font-size: 17px; font-weight: 700; line-height: 1.6; color: var(--text); margin: 14px 0 10px; }
.bp-desc { font-size: 13.5px; line-height: 1.75; color: var(--muted); margin: 0; }
.bp-col .status-badge { margin-top: 14px; }
@media (max-width: 860px) { .bp-grid { grid-template-columns: 1fr; } }

/* Concept tags on product cards */
.pc-tags { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; color: var(--muted); margin: 2px 0 4px; }

/* Footer tagline secondary line */
.footer-tagline--sub { font-size: 12.5px; line-height: 1.7; margin-top: 8px; color: #64748b; }

/* Design Partner section CTAs (primary + Developer API secondary link) */
.dp-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.dp-ctas .btn-primary, .dp-ctas .btn-ghost { height: 48px; padding: 0 22px; }
