*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f7f5f0;
  --surface-warm: #faf8f4;
  --surface-ink: #ffffff;
  /* Warm paper alternance — very pale */
  --paper: #faf8f3;
  --paper-deep: #f4f1ea;
  --border: #e7e3da;
  --border-strong: #d6d1c5;
  --text: #1a1917;
  --muted: #6b6960;
  --muted-strong: #45433c;
  --accent: #2a7faa;
  --accent-dark: #185b7c;
  --red: #b95544;
  --gold: #9c7632;
  --shadow: 0 18px 55px rgba(24, 45, 58, 0.12);
  --page-gutter: clamp(24px, 3.2vw, 64px);
  --content-max: 1680px;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family:
    "Helvetica Neue", Arial, "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    Meiryo, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.lang-en {
  font-family: "Helvetica Neue", Arial, sans-serif;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 var(--page-gutter);
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(24, 45, 58, 0.1);
}

.nav-inner {
  width: min(var(--content-max), 100%);
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.nav-brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.05rem;
  color: var(--text);
  text-decoration: none;
  min-width: max-content;
}

.nav-brand strong {
  font-size: 1.12rem;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.nav-brand span {
  color: var(--muted);
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.2rem;
  flex-wrap: nowrap;
}

/* Hamburger — hidden on desktop, shown on mobile */
.nav-burger {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-left: auto;
  cursor: pointer;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--muted-strong);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.nav-links a,
.nav-menu-trigger {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 0;
  background: transparent;
  color: var(--muted-strong);
  font: inherit;
  font-size: 0.88rem;
  text-decoration: none;
  white-space: nowrap;
  padding: 0 0.75rem;
  cursor: pointer;
}

.nav-links a:hover,
.nav-menu-trigger:hover,
.nav-item:focus-within .nav-menu-trigger,
.nav-item:hover .nav-menu-trigger {
  color: var(--accent-dark);
  background: var(--surface-soft);
}

.nav-links .nav-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  padding: 0 0.75rem;
  background: transparent;
  color: var(--accent-dark);
  font-weight: 800;
  margin-left: 0.35rem;
}

.nav-links .nav-cta:hover {
  background: var(--surface-soft);
  color: var(--accent-dark);
}

.nav-links .nav-secondary {
  color: var(--accent-dark);
  font-weight: 600;
}

.nav-item {
  position: relative;
}

.nav-menu-trigger::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  margin-left: 0.55rem;
  margin-top: -0.2rem;
}

.nav-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 320px;
  border: 1px solid rgba(15, 63, 63, 0.14);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(15, 32, 34, 0.2);
  padding: 0.55rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease,
    visibility 0.15s ease;
}

.nav-item:hover .nav-menu,
.nav-item:focus-within .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu a {
  display: block;
  min-height: auto;
  padding: 0.72rem 0.85rem;
  border-radius: 5px;
  color: var(--text);
  white-space: normal;
}

.nav-menu a:hover {
  background: var(--surface-soft);
  color: var(--accent-dark);
}

.nav-menu strong {
  display: block;
  font-size: 0.9rem;
  line-height: 1.2;
}

.nav-menu span {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    120% 90% at 82% 12%,
    rgba(42, 127, 170, 0.07) 0%,
    transparent 55%
  );
}

.hero::after {
  content: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2)));
  min-height: 620px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(520px, 0.9fr) minmax(600px, 1.1fr);
  gap: clamp(2rem, 4vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 5vw, 5.6rem) 0;
}

.hero-copy {
  max-width: 760px;
  min-width: 0;
  width: 100%;
}

.eyebrow {
  color: var(--accent-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

h1,
h2,
h3 {
  color: var(--text);
  line-height: 1.16;
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(2.25rem, 3.55vw, 4.25rem);
  font-weight: 520;
  letter-spacing: 0;
  margin-bottom: 1rem;
  max-width: 820px;
}

.headline-break {
  display: inline;
}

h2 {
  font-size: clamp(1.45rem, 2.15vw, 2.25rem);
  font-weight: 500;
  margin-bottom: 0.8rem;
}

h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.lead {
  color: var(--muted-strong);
  font-size: clamp(0.98rem, 1.05vw, 1.12rem);
  line-height: 1.72;
  overflow-wrap: anywhere;
}

.hero .lead {
  max-width: 680px;
  margin-bottom: 1.7rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.15rem;
}

.btn {
  min-height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--accent-dark);
}

.btn::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 0.45rem;
}

.btn:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

/* Japanese kana (e.g. "…く") crowd the chevron; give it more air and shrink it a touch */
body:not(.lang-en) .btn::after,
body:not(.lang-en) .text-link::after,
body:not(.lang-en) .audience-path a::after {
  width: 0.46rem;
  height: 0.46rem;
  margin-left: 0.6rem;
  opacity: 0.75;
}

.btn-primary,
.btn-outline {
  background: transparent;
  border: 0;
  color: var(--accent-dark);
}

.hero-media {
  position: relative;
  min-width: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.screenshot {
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: #111;
  box-shadow: var(--shadow);
}

.screenshot img {
  display: block;
  width: 100%;
}

.hero-map-link {
  display: block;
  width: 100%;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.hero-map-link:hover,
.hero-map-link:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 18px 48px rgba(15, 63, 63, 0.22);
  outline: none;
}

.hero-note {
  position: absolute;
  right: 1rem;
  bottom: clamp(1rem, 4vw, 3rem);
  width: min(360px, calc(100% - 2rem));
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  padding: 1rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
}

.hero-note strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.hero-note span {
  display: block;
  color: var(--muted-strong);
  font-size: 0.82rem;
  line-height: 1.55;
}

.metrics {
  display: none;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.metrics-inner {
  width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: 1rem 0;
}

.metric {
  min-height: auto;
  padding: 0;
  border: 0;
}

.metric strong {
  display: block;
  color: var(--text);
  font-size: clamp(1.15rem, 1.55vw, 1.55rem);
  line-height: 1.1;
  margin-bottom: 0.22rem;
}

.metric span {
  color: var(--muted);
  font-size: 0.78rem;
}

.section {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 6vw, 6.5rem) 0;
  background: #ffffff;
}

.section.alt {
  background: var(--paper);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section.dark {
  background: var(--paper-deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.section::before {
  content: none;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.section.dark h2,
.section.dark h3 {
  color: var(--text);
}

.section.dark .lead,
.section.dark .card p,
.section.dark .feature-list li {
  color: var(--muted);
}

.container {
  position: relative;
  z-index: 1;
  width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
}

.section-head {
  max-width: 920px;
  margin-bottom: 2rem;
}

.section-head.center {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(2.6rem, 4vw, 3.6rem);
  text-align: center;
}

.section-head.center .lead {
  margin-left: auto;
  margin-right: auto;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-showcase {
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) minmax(0, 1.55fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: start;
}

.feature-index {
  border-left: 2px solid var(--accent);
  padding-left: 1.2rem;
  color: var(--muted-strong);
}

.feature-index strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 1.2rem;
}

.feature-index a {
  display: block;
  padding: 0.8rem 0;
  border-top: 1px solid var(--border);
  color: var(--muted-strong);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.feature-index a:hover {
  color: var(--accent-dark);
}

.feature-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.2rem, 2vw, 1.8rem);
  background: white;
}

.feature-tile {
  min-width: 0;
  background: white;
}

.tile-visual {
  display: none;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 7px;
  background: #ffffff;
  margin-bottom: 1rem;
}

.tile-visual::before,
.tile-visual::after {
  content: "";
  position: absolute;
  inset: 0;
}

.tile-visual::before {
  background:
    linear-gradient(
      125deg,
      transparent 0 42%,
      rgba(42, 127, 170, 0.45) 42.4% 43%,
      transparent 43.4% 100%
    ),
    linear-gradient(
      24deg,
      transparent 0 57%,
      rgba(112, 124, 132, 0.42) 57.4% 58%,
      transparent 58.4% 100%
    ),
    linear-gradient(
      155deg,
      transparent 0 68%,
      rgba(185, 85, 68, 0.28) 68.4% 69%,
      transparent 69.4% 100%
    );
}

.tile-visual::after {
  opacity: 0.9;
  background:
    radial-gradient(circle at 22% 34%, #2a7faa 0 7px, transparent 8px),
    radial-gradient(circle at 58% 60%, #b95544 0 7px, transparent 8px),
    radial-gradient(circle at 76% 28%, #7b8790 0 6px, transparent 7px),
    linear-gradient(
      90deg,
      transparent 0 23%,
      rgba(23, 33, 43, 0.42) 23.4% 23.9%,
      transparent 24.3% 100%
    ),
    linear-gradient(
      0deg,
      transparent 0 64%,
      rgba(23, 33, 43, 0.34) 64.4% 64.9%,
      transparent 65.3% 100%
    ),
    linear-gradient(
      145deg,
      transparent 0 47%,
      rgba(23, 33, 43, 0.32) 47.4% 47.9%,
      transparent 48.3% 100%
    );
}

.tile-visual--commute {
  background: #ffffff;
}

.tile-visual--property {
  background: #ffffff;
}

.tile-visual--analytics {
  background: #ffffff;
}

.feature-tile-label {
  display: inline-flex;
  align-items: center;
  min-height: auto;
  border-radius: 0;
  background: white;
  color: var(--accent-dark);
  padding: 0;
  font-size: 0.76rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.feature-tile h3 {
  font-size: clamp(1rem, 1.15vw, 1.25rem);
}

.feature-tile p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.feature-tile a {
  display: inline-flex;
  margin-top: 0.85rem;
  color: var(--accent-dark);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.card {
  min-height: 100%;
  border: 0;
  border-top: 2px solid rgba(42, 127, 170, 0.45);
  border-radius: 0;
  background: #ffffff;
  padding: 1.35rem;
}

.card.tint {
  background: var(--surface-soft);
}

.card.warm {
  background: var(--surface-warm);
}

.section.dark .card {
  border-color: rgba(42, 127, 170, 0.45);
  background: #ffffff;
}

.card p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.card a {
  display: inline-flex;
  margin-top: 0.9rem;
  color: var(--accent-dark);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.section.dark .card a {
  color: var(--accent-dark);
}

.text-link,
.audience-path a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--accent-dark);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.text-link::after,
.audience-path a::after {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 0.45rem;
}

.text-link:hover,
.audience-path a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.proof-section,
.audience-section {
  padding-top: clamp(4.2rem, 5.6vw, 6.5rem);
  padding-bottom: clamp(4.2rem, 5.6vw, 6.5rem);
}

.proof-section {
  padding-bottom: clamp(3.5rem, 4.8vw, 5.5rem);
}

.audience-section {
  padding-top: clamp(3.5rem, 4.8vw, 5.5rem);
}

.proof-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(2.6rem, 5vw, 6rem);
  align-items: start;
}

.proof-copy {
  margin-bottom: 0;
}

.proof-copy h2 {
  max-width: 620px;
}

.proof-copy .lead {
  max-width: 650px;
  margin-bottom: 1.25rem;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid rgba(42, 127, 170, 0.52);
  border-bottom: 1px solid var(--border);
}

.proof-item {
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.2rem clamp(1.3rem, 2vw, 2.1rem);
  border-right: 1px solid var(--border);
  background: white;
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 10px;
  height: 10px;
  border: 2px solid var(--accent);
  border-radius: 999px;
  background: #ffffff;
}

.proof-number {
  display: block;
  color: rgba(42, 127, 170, 0.18);
  font-size: clamp(3.3rem, 5vw, 6.6rem);
  font-weight: 600;
  line-height: 0.82;
  letter-spacing: 0;
}

.proof-label {
  color: var(--accent-dark);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.proof-item h3 {
  margin-bottom: 0.55rem;
}

.proof-item p:not(.proof-label) {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.audience-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.58fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: end;
  margin-bottom: 2.4rem;
}

.audience-layout .section-head {
  margin-bottom: 0;
}

.audience-layout h2 {
  max-width: 760px;
}

.audience-intro {
  border-left: 2px solid rgba(42, 127, 170, 0.58);
  padding-left: 1.2rem;
  color: var(--muted-strong);
  font-size: 0.98rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.audience-matrix {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 1.6vw, 1.5rem);
}

.audience-path {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.4rem 1.5rem;
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(24, 45, 58, 0.03);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.audience-path:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(24, 45, 58, 0.1);
}

.audience-code {
  color: var(--accent-dark);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.audience-path h3 {
  margin-bottom: 0.5rem;
}

.audience-path p {
  flex: 1;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.62;
  margin-bottom: 1.1rem;
  overflow-wrap: anywhere;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: auto;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 2rem;
  align-items: center;
}

.split > * {
  min-width: 0;
}

.split.reverse {
  grid-template-columns: minmax(420px, 1.1fr) minmax(0, 0.9fr);
}

.feature-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.1rem;
  list-style: none;
}

.feature-list li {
  border-top: 1px solid var(--border);
  padding-top: 0.7rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.section.dark .feature-list li {
  border-color: var(--border);
}

.feature-list strong {
  color: var(--text);
}

.section.dark .feature-list strong {
  color: var(--text);
}

/* Product grid — full-width tiles, 01–04 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 1.6vw, 1.5rem);
}

.product-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.4rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(24, 45, 58, 0.03);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: 0 16px 40px rgba(24, 45, 58, 0.1);
}

.product-num {
  color: rgba(42, 127, 170, 0.22);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.product-card h3 {
  font-size: clamp(1.05rem, 1.15vw, 1.22rem);
}

.product-card p {
  flex: 1;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1rem;
  overflow-wrap: anywhere;
}

/* Wedge — offset headline + lead above a 3-up layer row */
.wedge-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.4rem, 3.8vw, 3.4rem);
}

.wedge-head h2 {
  margin-bottom: 0;
  max-width: 16ch;
}

body.lang-en .wedge-head h2 {
  max-width: 12ch;
}

.wedge-head .lead {
  margin-bottom: 0;
}

.layer-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-top: clamp(2rem, 3vw, 2.8rem);
  border-top: 1px solid var(--border-strong);
}

.layer-item {
  position: relative;
}

.layer-item .proof-number {
  color: rgba(42, 127, 170, 0.2);
  font-size: clamp(2.6rem, 3.6vw, 3.6rem);
  margin-bottom: 0.9rem;
}

.layer-body {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.wedge-link {
  margin-top: clamp(2rem, 3vw, 2.6rem);
}

/* Deep-analytics section — staggered figure */
.deep-copy .feature-list li {
  border-color: var(--border-strong);
}

.deep-figure .screenshot {
  border-color: var(--border-strong);
  box-shadow: 0 24px 60px rgba(24, 45, 58, 0.16);
}

/* ---- Map product page ---- */
.map-lead {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
  padding: clamp(3rem, 5vw, 4.6rem) 0 clamp(2.6rem, 4vw, 3.6rem);
}

.map-lead h1 {
  font-size: clamp(2.1rem, 2.9vw, 3rem);
}

.map-lead .lead {
  max-width: 640px;
  margin-bottom: 1.6rem;
}

.map-lead-figure {
  margin-top: clamp(2rem, 3.5vw, 3rem);
}

.map-lead-figure .shot img {
  aspect-ratio: 1600 / 720;
  object-fit: cover;
  object-position: center 42%;
}

.shot {
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 20px 55px rgba(24, 45, 58, 0.14);
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* Crop tall map captures to a calmer height */
.shot-tall img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.shot-plain {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  background: var(--paper);
}

.shot-cap {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: center;
  padding: clamp(2.4rem, 4vw, 3.8rem) 0;
  border-top: 1px solid var(--border);
}

.feature-row:first-of-type {
  border-top: 0;
}

.feature-row.reverse {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.feature-row.reverse .feature-row-media {
  order: 2;
}

.feature-row.reverse .feature-row-copy {
  order: 1;
}

.feature-row-media,
.feature-row-copy {
  min-width: 0;
}

.mode-tag {
  display: inline-flex;
  align-items: center;
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.feature-row-copy h3 {
  font-size: clamp(1.25rem, 1.9vw, 1.75rem);
  margin-bottom: 0.7rem;
}

.feature-row-copy p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 1.1rem;
  overflow-wrap: anywhere;
}

/* Faux "click a town" panel (built in HTML, no screenshot) */
.quality-panel {
  width: min(360px, 100%);
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(24, 45, 58, 0.12);
  padding: 1.2rem 1.3rem 1.1rem;
}

.qp-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 0.7rem;
  margin-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}

.qp-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.qp-score {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-dark);
  line-height: 1;
}

.qp-score small {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.qp-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.qp-row span {
  color: var(--muted);
}

.qp-row strong {
  color: var(--text);
}

.qp-foot {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

/* ============ Analytics (institutional) page ============ */
:root {
  --ink: #2b3646;
  --ink-2: #33404f;
  --ink-line: rgba(255, 255, 255, 0.14);
  --ink-text: #eef1f4;
  --ink-muted: rgba(238, 241, 244, 0.66);
  --accent-lite: #8fc4e4;
}

.an-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--ink-text);
  border-bottom: 1px solid var(--ink-line);
}

.an-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      75% 130% at 85% -20%,
      rgba(93, 160, 200, 0.22) 0%,
      transparent 58%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 22%);
  pointer-events: none;
}

.an-hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  padding: clamp(3.2rem, 5vw, 5rem) 0 clamp(2.6rem, 4vw, 3.6rem);
}

.an-hero .eyebrow {
  color: var(--accent-lite);
}

.an-hero h1 {
  color: #ffffff;
  font-size: clamp(2.1rem, 3vw, 3.15rem);
  font-weight: 560;
  max-width: 24ch;
}

body.lang-en .an-hero h1 {
  max-width: 18ch;
}

.an-hero .lead {
  color: var(--ink-muted);
  max-width: 640px;
  margin: 1rem 0 1.6rem;
}

.an-hero .btn,
.an-hero .btn-primary,
.an-hero .btn-outline {
  color: var(--accent-lite);
}

.an-hero .btn:hover {
  color: #ffffff;
}

/* KPI stat strip */
.an-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(2.4rem, 4vw, 3.4rem);
  border-top: 1px solid var(--ink-line);
  text-align: center;
}

.an-stat {
  padding: 1.4rem clamp(1rem, 2vw, 1.8rem) 0.2rem 0;
  border-right: 1px solid var(--ink-line);
}

.an-stat:last-child {
  border-right: 0;
}

.an-stat strong {
  display: block;
  color: #ffffff;
  font-size: clamp(1.5rem, 2.2vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
}

.an-stat span {
  display: block;
  margin-top: 0.5rem;
  color: var(--ink-muted);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

/* Module index — tabular, numbered rows */
.module-list {
  border-top: 1px solid var(--border-strong);
}

.module-row {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 0.9fr) minmax(0, 1.5fr) auto;
  gap: clamp(1rem, 2.5vw, 2.4rem);
  align-items: baseline;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: background 0.16s ease;
}

.module-row:hover {
  background: var(--paper);
}

.module-row .m-num {
  color: var(--accent-dark);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.module-row .m-name {
  font-size: 1.08rem;
  font-weight: 700;
}

.module-row .m-name small {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.module-row .m-desc {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.module-row .m-go {
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

/* Analytics figure block */
.an-figure {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(24, 45, 58, 0.08);
}

.an-figure-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid var(--border);
  background: var(--paper);
}

.an-figure-head .fh-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text);
}

.an-figure-head .fh-tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.an-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.an-figure-note {
  padding: 0.75rem 1.2rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

/* ============ Use-cases (text-driven) page ============ */
@keyframes uc-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes uc-sheen {
  0% {
    transform: translateX(-40%) rotate(8deg);
    opacity: 0;
  }
  50% {
    opacity: 0.16;
  }
  100% {
    transform: translateX(180%) rotate(8deg);
    opacity: 0;
  }
}

.uc-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(80% 120% at 10% 0%, rgba(42, 127, 170, 0.08) 0%, transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
}

.uc-hero::after {
  content: "";
  position: absolute;
  top: -40%;
  left: 0;
  width: 32%;
  height: 180%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.75),
    transparent
  );
  animation: uc-sheen 9s ease-in-out 1s infinite;
  pointer-events: none;
  z-index: 0;
}

.uc-hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  padding: clamp(3.4rem, 6vw, 6rem) 0 clamp(3rem, 4.5vw, 4.4rem);
}

.uc-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  max-width: 22ch;
  animation: uc-rise 0.7s ease both;
}

.uc-hero .lead {
  max-width: 620px;
  margin-top: 1.1rem;
  animation: uc-rise 0.7s ease 0.08s both;
}

/* index row: four roles as a quick legend under the hero */
.uc-index {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.8rem;
  margin-top: clamp(2rem, 3vw, 2.8rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-strong);
  animation: uc-rise 0.7s ease 0.16s both;
}

.uc-index a {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  color: var(--muted-strong);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.18s ease;
}

.uc-index a:hover {
  color: var(--accent-dark);
}

.uc-index a .ui-n {
  color: var(--accent);
  font-weight: 800;
  font-size: 0.78rem;
}

/* Audience profile blocks — large, text-forward, watermark behind */
.uc-block {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  padding: clamp(3rem, 5vw, 5rem) 0;
}

.uc-block:nth-child(odd) {
  background: #ffffff;
}

.uc-block:nth-child(even) {
  background: var(--paper);
}

.uc-block::before {
  content: attr(data-mark);
  position: absolute;
  top: 50%;
  right: clamp(-1rem, 2vw, 3rem);
  transform: translateY(-50%);
  font-size: clamp(7rem, 20vw, 17rem);
  font-weight: 800;
  line-height: 0.8;
  color: rgba(42, 127, 170, 0.05);
  letter-spacing: -0.03em;
  pointer-events: none;
  z-index: 0;
  white-space: nowrap;
}

/* Japanese pages use a single-kanji watermark — size and place it for one glyph */
body:not(.lang-en) .uc-block::before {
  right: clamp(1.5rem, 6vw, 8rem);
  font-size: clamp(8rem, 22vw, 20rem);
  font-weight: 700;
  color: rgba(42, 127, 170, 0.055);
  letter-spacing: 0;
}

.uc-block-inner {
  position: relative;
  z-index: 1;
  width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.6rem, 4vw, 4rem);
  align-items: start;
}

.uc-role-tag {
  display: inline-block;
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.uc-block h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  margin-bottom: 0.7rem;
}

.uc-question {
  color: var(--accent-dark);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-weight: 500;
  line-height: 1.5;
  font-style: italic;
}

.uc-body p {
  color: var(--muted-strong);
  font-size: 1rem;
  line-height: 1.78;
  margin-bottom: 1.3rem;
  overflow-wrap: anywhere;
}

/* "what they touch" — link list with animated left rule */
.uc-touch {
  list-style: none;
  border-top: 1px solid var(--border);
}

.uc-touch li {
  border-bottom: 1px solid var(--border);
}

.uc-touch a {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0.2rem 0.95rem 1rem;
  color: var(--text);
  text-decoration: none;
  transition:
    padding-left 0.22s ease,
    color 0.22s ease,
    background 0.22s ease;
}

.uc-touch a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--accent);
  transition: height 0.22s ease;
}

.uc-touch a:hover {
  padding-left: 1.4rem;
  color: var(--accent-dark);
  background: rgba(42, 127, 170, 0.035);
}

.uc-touch a:hover::before {
  height: 60%;
}

.uc-touch .ut-label {
  font-weight: 600;
  font-size: 0.98rem;
}

.uc-touch .ut-meta {
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

/* Journey — 3 steps with connectors */
.uc-journey {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  counter-reset: step;
  margin-top: clamp(2rem, 3vw, 3rem);
}

.uc-step {
  position: relative;
  padding: 1.8rem clamp(1rem, 2vw, 2rem) 1.8rem 0;
}

.uc-step + .uc-step {
  padding-left: clamp(1.5rem, 3vw, 3rem);
  border-left: 1px solid var(--border-strong);
}

.uc-step .step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent-dark);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.uc-step:hover .step-n {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}

.uc-step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.uc-step p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
  margin-bottom: 0.9rem;
}

@media (prefers-reduced-motion: reduce) {
  .uc-hero::after,
  .uc-hero h1,
  .uc-hero .lead,
  .uc-index {
    animation: none;
  }
}

.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
}

.page-hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 4.2rem 0 3.6rem;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  gap: 3rem;
  align-items: center;
}

.page-hero-inner > * {
  min-width: 0;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 5vw, 4.1rem);
}

.page-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  padding: 1.4rem;
  box-shadow: 0 12px 38px rgba(23, 33, 43, 0.08);
}

.panel-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 0.78rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.panel-row:last-child {
  border-bottom: 0;
}

.panel-row span {
  color: var(--muted);
}

.panel-row strong {
  color: var(--text);
  text-align: right;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  font-size: 0.9rem;
}

th {
  color: var(--muted-strong);
  background: var(--surface-soft);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

.cta-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: transparent;
  padding: 3rem 0;
}

.cta-inner {
  width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}

.cta-inner p {
  color: var(--muted-strong);
  max-width: 620px;
}

.site-footer {
  position: relative;
  z-index: 1;
  background: #2b2b2f;
  color: #f4f3ef;
  padding: 3.4rem 0 1.5rem;
  border-top: 0;
}

.footer-inner {
  width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 2rem;
}

.footer-brand {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.45rem;
  color: #ffffff;
}

.footer-tagline {
  color: rgba(244, 243, 239, 0.68);
  font-size: 0.9rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.footer-legal {
  width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2)));
  margin: 2.4rem auto 0;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(244, 243, 239, 0.16);
}

.footer-legal .footer-col-title {
  margin-bottom: 0.7rem;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
}

.footer-legal-links a {
  color: rgba(244, 243, 239, 0.82);
  font-size: 0.86rem;
  text-decoration: none;
}

.footer-legal-links a:hover {
  color: #ffffff;
}

.footer-col-title {
  color: rgba(244, 243, 239, 0.48);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.footer-links a {
  display: block;
  color: rgba(244, 243, 239, 0.82);
  font-size: 0.86rem;
  text-decoration: none;
  margin-bottom: 0.42rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-copy {
  width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2)));
  margin: 1.8rem auto 0;
  padding-top: 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(244, 243, 239, 0.58);
  font-size: 0.78rem;
}

@media (max-width: 1180px) {
  .nav-inner {
    min-height: 56px;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
  }

  .nav-links {
    justify-content: flex-end;
    gap: 0.1rem;
    flex-wrap: nowrap;
  }

  .nav-menu {
    left: auto;
    right: 0;
  }

  .hero-inner,
  .page-hero-inner,
  .split,
  .split.reverse,
  .feature-showcase,
  .proof-layout,
  .audience-layout,
  .wedge-head,
  .feature-row,
  .feature-row.reverse,
  .uc-block-inner {
    grid-template-columns: 1fr;
  }

  .uc-journey {
    grid-template-columns: 1fr;
  }

  .uc-step + .uc-step {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--border-strong);
    padding-top: 1.6rem;
  }

  .feature-row.reverse .feature-row-media {
    order: 1;
  }

  .feature-row.reverse .feature-row-copy {
    order: 2;
  }

  .wedge-head {
    align-items: start;
  }

  .hero-inner {
    min-height: auto;
    padding: 3.2rem 0;
  }

  .metrics-inner,
  .grid.four,
  .grid.three,
  .grid.two,
  .feature-tiles,
  .proof-strip,
  .audience-matrix,
  .product-grid,
  .layer-row,
  .an-stats,
  .footer-inner,
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .an-stat:nth-child(2) {
    border-right: 0;
  }

  .module-row {
    grid-template-columns: 2.6rem minmax(0, 1fr);
    row-gap: 0.5rem;
  }

  .module-row .m-desc {
    grid-column: 2;
  }

  .module-row .m-go {
    grid-column: 2;
  }

  .proof-item:nth-child(2),
  .audience-path:nth-child(2) {
    border-right: 0;
  }

  .proof-item {
    min-height: 240px;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Hamburger nav — phones/small tablets */
@media (max-width: 820px) {
  .site-nav {
    padding: 0;
  }

  .nav-inner {
    width: 100%;
    min-height: 58px;
    gap: 0.5rem;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .nav-brand span {
    display: none;
  }

  .nav-brand strong {
    font-size: 1.05rem;
  }

  .nav-burger {
    display: flex;
  }

  /* Collapse the links into a full-width drop panel */
  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 0.5rem 1rem 1.1rem;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 22px 40px rgba(15, 32, 34, 0.12);
    max-height: calc(100vh - 58px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.18s ease,
      transform 0.18s ease,
      visibility 0.18s ease;
  }

  .nav-toggle:checked ~ .nav-inner .nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* Burger → X when open */
  .nav-toggle:checked ~ .nav-inner .nav-burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle:checked ~ .nav-inner .nav-burger span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked ~ .nav-inner .nav-burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Each product/use/trust group: label + its links stacked, always open */
  .nav-item {
    position: static;
    border-top: 1px solid var(--border);
    padding-top: 0.35rem;
  }

  .nav-item:first-child {
    border-top: 0;
  }

  .nav-menu-trigger {
    width: 100%;
    justify-content: flex-start;
    padding: 0.7rem 0.3rem 0.15rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    pointer-events: none;
  }

  .nav-menu-trigger::after {
    display: none;
  }

  .nav-menu {
    position: static;
    width: auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-menu a {
    padding: 0.6rem 0.3rem;
  }

  .nav-menu span {
    display: none;
  }

  /* Top-level links (EN toggle) get room; drop redundant CTA + Analytics */
  .nav-links > a {
    padding: 0.85rem 0.3rem;
    font-size: 0.95rem;
    border-top: 1px solid var(--border);
  }

  .nav-links .nav-cta,
  .nav-links .nav-secondary {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-inner,
  .container,
  .page-hero-inner,
  .cta-inner,
  .footer-inner,
  .footer-copy {
    width: calc(100vw - 72px);
    max-width: calc(100vw - 72px);
  }

  h1 {
    font-size: clamp(1.7rem, 8vw, 2.1rem);
    word-break: normal;
    line-break: strict;
  }

  h2 {
    max-width: 100%;
    font-size: clamp(1.35rem, 6vw, 1.8rem);
    overflow-wrap: anywhere;
  }

  .headline-break {
    display: block;
  }

  .lead,
  .card p,
  .feature-list li,
  .proof-item p:not(.proof-label),
  .audience-intro,
  .audience-path p {
    word-break: normal;
    overflow-wrap: anywhere;
    line-break: strict;
  }

  body.lang-en h2,
  body.lang-en .lead,
  body.lang-en .card p,
  body.lang-en .feature-list li,
  body.lang-en .proof-item p:not(.proof-label),
  body.lang-en .audience-intro,
  body.lang-en .audience-path p {
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
    line-break: auto;
  }

  .page-hero h1 {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }

  .product-card {
    padding: 1.25rem 1.25rem 1.3rem;
  }

  .product-num {
    margin-bottom: 0.7rem;
  }

  .product-card p,
  .audience-path p {
    margin-bottom: 0.85rem;
  }

  .wedge-head h2,
  body.lang-en .wedge-head h2 {
    max-width: none;
  }

  .layer-item .proof-number {
    margin-bottom: 0.5rem;
  }

  .hero-note {
    position: static;
    width: 100%;
    border-radius: 0 0 8px 8px;
  }

  .hero-media {
    display: block;
  }

  .screenshot {
    border-radius: 8px 8px 0 0;
  }

  .metrics-inner,
  .grid.four,
  .grid.three,
  .grid.two,
  .feature-tiles,
  .proof-strip,
  .audience-matrix,
  .product-grid,
  .layer-row,
  .an-stats,
  .footer-inner,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .an-stat {
    border-right: 0;
    border-bottom: 1px solid var(--ink-line);
    padding-bottom: 1.1rem;
  }

  .proof-item,
  .proof-item:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding-right: 1.5rem;
  }

  .split > div,
  .proof-copy,
  .audience-intro {
    padding-right: 1.5rem;
  }

  .proof-item:last-child,
  .audience-path:last-child {
    border-bottom: 0;
  }

  .proof-number {
    margin-bottom: 1.8rem;
  }

  .audience-code {
    margin-bottom: 1.1rem;
  }

  .metric {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 3.5rem 0;
  }

  .page-hero-inner {
    padding: 3rem 0;
  }

  .footer-copy {
    flex-direction: column;
  }
}
