:root {
  --ink: #19211f;
  --muted: #5c6965;
  --paper: #f5f6f1;
  --paper-strong: #ffffff;
  --line: #d9ded7;
  --graphite: #111614;
  --graphite-2: #202823;
  --teal: #008b7a;
  --teal-soft: #d9f0eb;
  --amber: #d89121;
  --amber-soft: #fff0cf;
  --red: #c94e3b;
  --red-soft: #ffe1dc;
  --green: #4c8a35;
  --shadow: 0 20px 60px rgba(25, 33, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px 40px;
  background: rgba(245, 246, 241, 0.92);
  border-bottom: 1px solid rgba(25, 33, 31, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--paper-strong);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  background: var(--teal);
}

.brand-mark::before {
  inset: 7px;
  border-radius: 4px;
}

.brand-mark::after {
  right: -7px;
  top: 12px;
  width: 10px;
  height: 6px;
  border-radius: 2px;
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0;
}

.brand strong {
  font-size: 0.95rem;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.site-nav a,
.header-action {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-nav a:hover,
.header-action:hover {
  background: var(--paper-strong);
  color: var(--ink);
}

.header-action {
  border: 1px solid var(--line);
  background: var(--paper-strong);
  color: var(--ink);
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 82svh;
  overflow: hidden;
  background: var(--graphite);
  color: #f6fbf8;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 12, 0.34);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  min-height: 82svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 0 54px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.hero .eyebrow {
  color: #8de0d1;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.14;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: 4.8rem;
  font-weight: 850;
}

h2 {
  max-width: 820px;
  font-size: 2.55rem;
  font-weight: 820;
}

h3 {
  font-size: 1.08rem;
  font-weight: 780;
}

.hero-lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(246, 251, 248, 0.88);
  font-size: 1.16rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 760;
}

.button-primary {
  background: #f4fbf8;
  color: var(--graphite);
}

.button-primary:hover {
  background: #ffffff;
}

.button-secondary {
  border-color: rgba(246, 251, 248, 0.34);
  background: rgba(246, 251, 248, 0.08);
  color: #f6fbf8;
}

.button-secondary:hover {
  background: rgba(246, 251, 248, 0.16);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 920px;
  padding: 0;
  margin: 44px 0 0;
  list-style: none;
}

.hero-points li {
  min-height: 86px;
  padding: 14px 16px;
  border: 1px solid rgba(246, 251, 248, 0.22);
  border-radius: 8px;
  background: rgba(10, 14, 12, 0.34);
}

.hero-points strong,
.hero-points span {
  display: block;
}

.hero-points strong {
  color: #ffffff;
  font-size: 0.96rem;
}

.hero-points span {
  color: rgba(246, 251, 248, 0.72);
  font-size: 0.84rem;
}

.signal-band {
  background: var(--paper-strong);
  border-bottom: 1px solid var(--line);
}

.section-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.signal-grid {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
}

.signal-label {
  margin: 0;
  color: var(--teal);
  font-weight: 830;
}

.signal-copy {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 650;
}

.text-link {
  color: var(--ink);
  font-weight: 780;
  text-decoration: underline;
  text-decoration-color: var(--teal);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  white-space: nowrap;
}

.section {
  padding: 96px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading p:not(.eyebrow),
.concept-copy p,
.specs-grid > div > p,
.ai-grid > div > p,
.contact-grid > div > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.viewer-shell {
  overflow: hidden;
  border: 1px solid rgba(25, 33, 31, 0.16);
  border-radius: 8px;
  background: #0f1412;
  box-shadow: var(--shadow);
}

.viewer-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #f4fbf8;
}

.viewer-title {
  font-weight: 760;
}

.viewer-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.viewer-controls span {
  min-width: 68px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: rgba(244, 251, 248, 0.8);
  font-size: 0.82rem;
  text-align: center;
}

.viewer-grid {
  display: grid;
  grid-template-columns: 190px minmax(0, 1.35fr) minmax(290px, 0.9fr);
  grid-template-rows: auto auto;
  min-height: 560px;
}

.node-list,
.timeline-panel,
.raw-panel,
.ai-panel {
  padding: 18px;
  color: #edf5f1;
}

.node-list {
  grid-row: 1 / 3;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: #141a17;
}

.node-list h3,
.panel-title h3 {
  color: #ffffff;
}

.node-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  margin-top: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(244, 251, 248, 0.86);
  text-align: left;
}

.node-item span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--muted);
}

.node-item.is-online span {
  background: #58d39d;
  box-shadow: 0 0 14px rgba(88, 211, 157, 0.5);
}

.timeline-panel {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: #101512;
}

.raw-panel {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: #121815;
}

.ai-panel {
  grid-column: 3;
  grid-row: 1 / 3;
  background: #171f1b;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.panel-title span {
  color: rgba(244, 251, 248, 0.56);
  font-size: 0.78rem;
}

.event-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.event-row {
  display: grid;
  grid-template-columns: 112px 72px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.event-row.is-active {
  border-color: rgba(216, 145, 33, 0.74);
  background: rgba(216, 145, 33, 0.14);
  transform: translateX(4px);
}

.event-row time {
  color: rgba(244, 251, 248, 0.66);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
}

.event-row p {
  margin: 0;
  color: #f4fbf8;
  font-size: 0.9rem;
}

.event-kind {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 4px 7px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 780;
}

.event-kind.ai {
  background: var(--teal-soft);
  color: #075347;
}

.event-kind.ctrl,
.event-kind.node {
  background: #e9ece7;
  color: #303a36;
}

.event-kind.tx {
  background: #dcf2df;
  color: #22562b;
}

.event-kind.rx,
.event-kind.warn {
  background: var(--amber-soft);
  color: #714708;
}

.raw-table {
  display: grid;
  gap: 8px;
}

.raw-row {
  display: grid;
  grid-template-columns: 34px 132px minmax(180px, 1fr) minmax(112px, 0.7fr);
  gap: 10px;
  align-items: center;
  min-height: 46px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(244, 251, 248, 0.84);
  font-size: 0.8rem;
}

.raw-alert {
  background: rgba(216, 145, 33, 0.13);
}

.raw-row code {
  overflow: hidden;
  color: #dbeee8;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.raw-row strong {
  color: #ffffff;
}

.analysis-box {
  padding: 14px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.analysis-box p {
  margin: 0;
  color: rgba(244, 251, 248, 0.84);
}

.analysis-label {
  margin-bottom: 4px !important;
  color: #8de0d1 !important;
  font-size: 0.78rem;
  font-weight: 830;
}

.concept-section {
  background: var(--paper-strong);
}

.concept-grid,
.specs-grid,
.ai-grid,
.principles-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}

.concept-copy {
  display: grid;
  gap: 16px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.problem-card,
.scope-list,
.roadmap-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
}

.problem-card {
  min-height: 230px;
  padding: 22px;
}

.problem-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 30px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--teal-soft);
  color: #075347;
  font-size: 0.78rem;
  font-weight: 820;
}

.problem-card p,
.roadmap-item p,
.architecture-note p {
  margin: 12px 0 0;
  color: var(--muted);
}

.mvp-section {
  background: #eef2ec;
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.scope-list {
  padding: 26px;
}

.scope-list h3 {
  margin-bottom: 18px;
}

.scope-list ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.scope-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
}

.scope-list li::before {
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  content: "";
}

.include li::before {
  background: var(--teal);
}

.exclude li::before {
  background: var(--red);
}

.architecture-section {
  background: var(--paper-strong);
}

.architecture-flow {
  display: grid;
  grid-template-columns: 1fr 38px 1fr 38px 1fr 38px 1fr;
  gap: 0;
  align-items: stretch;
}

.flow-node {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.flow-node strong,
.flow-node span,
.flow-node p {
  display: block;
}

.flow-kicker {
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 830;
}

.flow-node p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.flow-arrow {
  position: relative;
}

.flow-arrow::before {
  position: absolute;
  top: 50%;
  left: 8px;
  width: 22px;
  height: 2px;
  background: var(--ink);
  content: "";
}

.flow-arrow::after {
  position: absolute;
  top: calc(50% - 5px);
  right: 6px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
  content: "";
  transform: rotate(45deg);
}

.architecture-note {
  margin-top: 18px;
  padding: 24px;
  border-left: 5px solid var(--amber);
  background: var(--amber-soft);
}

.tap-section {
  background: #f7f9f5;
}

.tap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.tap-card {
  min-height: 360px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
}

.tap-card h3 {
  min-height: 62px;
  font-size: 1.28rem;
}

.tap-card ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.tap-card li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.tap-card li::before {
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  content: "";
}

.tap-diagram {
  padding: 16px;
  margin: 18px 0 0;
  overflow: auto;
  border: 1px solid rgba(15, 24, 20, 0.14);
  border-radius: 8px;
  background: #101512;
  color: #dbeee8;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  line-height: 1.65;
}

.tap-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.tap-comparison div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.tap-comparison strong,
.tap-comparison span {
  display: block;
}

.tap-comparison span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.specs-section {
  background: var(--paper);
}

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

.spec-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.spec-table th {
  width: 128px;
  color: var(--ink);
}

.spec-table td {
  color: var(--muted);
}

.ai-section {
  background: #101512;
  color: #f4fbf8;
}

.ai-section .eyebrow {
  color: #8de0d1;
}

.ai-section p {
  color: rgba(244, 251, 248, 0.72) !important;
}

.pipeline {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: pipeline;
}

.pipeline li {
  position: relative;
  min-height: 52px;
  padding: 13px 14px 13px 52px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: #f4fbf8;
  font-weight: 720;
  counter-increment: pipeline;
}

.pipeline li::before {
  position: absolute;
  left: 14px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal);
  color: #ffffff;
  content: counter(pipeline);
  font-size: 0.78rem;
  font-weight: 830;
}

.roadmap-section {
  background: var(--paper-strong);
}

.roadmap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.roadmap-item {
  min-height: 218px;
  padding: 22px;
}

.roadmap-item span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--amber);
  font-weight: 830;
}

.principles-section {
  background: #eef2ec;
}

.principle-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.principle-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 54px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  font-weight: 760;
}

.principle-list span {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 830;
}

.contact-section {
  background: var(--paper-strong);
}

.package-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.package-panel div {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.package-panel strong,
.package-panel span {
  display: block;
}

.package-panel span {
  margin-top: 12px;
  color: var(--teal);
  font-size: 1.8rem;
  font-weight: 850;
  line-height: 1.1;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--graphite);
  color: #f4fbf8;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 92px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: #8de0d1;
  font-weight: 760;
}

@media (max-width: 980px) {
  .site-header {
    padding: 12px 24px;
  }

  .site-nav {
    display: none;
  }

  h1 {
    font-size: 3.45rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .hero-points,
  .problem-grid,
  .scope-grid,
  .roadmap,
  .concept-grid,
  .specs-grid,
  .ai-grid,
  .principles-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }

  .signal-grid {
    grid-template-columns: 1fr;
  }

  .viewer-grid {
    grid-template-columns: 170px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
  }

  .ai-panel {
    grid-column: 1 / 3;
    grid-row: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .raw-panel {
    grid-column: 2;
  }

  .architecture-flow {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .flow-arrow {
    height: 28px;
  }

  .flow-arrow::before {
    top: 4px;
    left: 50%;
    width: 2px;
    height: 20px;
  }

  .flow-arrow::after {
    top: 14px;
    right: auto;
    left: calc(50% - 4px);
    transform: rotate(135deg);
  }
}

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }

  .site-header {
    min-height: 64px;
    padding: 10px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand small,
  .header-action {
    display: none;
  }

  .section-inner,
  .hero-inner {
    width: min(100% - 32px, 1180px);
  }

  .hero,
  .hero-inner {
    min-height: 78svh;
  }

  .hero-inner {
    padding-top: 74px;
  }

  h1 {
    font-size: 2.72rem;
  }

  h2 {
    font-size: 1.72rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

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

  .section {
    padding: 68px 0;
  }

  .viewer-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .viewer-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .node-list,
  .timeline-panel,
  .raw-panel,
  .ai-panel {
    grid-column: auto;
    grid-row: auto;
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .node-list {
    border-top: 0;
  }

  .event-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .event-row.is-active {
    transform: none;
  }

  .raw-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .package-panel {
    grid-template-columns: 1fr;
  }


  .tap-grid,
  .tap-comparison,
  .poc-offer-grid {
    grid-template-columns: 1fr;
  }

  .tap-card h3 {
    min-height: 0;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 22px 0;
  }
}



.hero-compact,
.hero-compact .hero-inner {
  min-height: 56svh;
}

.package-panel[aria-label="提供物"] span,
.package-panel[aria-label="評価項目"] span,
.package-panel[aria-label="初回確認項目"] span {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.45;
}

.hero-proof {
  max-width: 720px;
  margin: 12px 0 0;
  color: #ffffff;
  font-size: 1.04rem;
  font-weight: 780;
}

.hero-proof-english {
  color: #8de0d1;
  font-size: 0.98rem;
}

.viewer-controls button {
  min-width: 68px;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(244, 251, 248, 0.8);
  font-size: 0.82rem;
  text-align: center;
  cursor: pointer;
}

.viewer-controls button:hover,
.viewer-controls button.is-active {
  border-color: rgba(112, 209, 196, 0.55);
  background: rgba(112, 209, 196, 0.14);
  color: #ffffff;
}

.viewer-note {
  margin-top: 18px;
  padding: 12px;
  border: 1px solid rgba(216, 145, 33, 0.34);
  border-radius: 8px;
  background: rgba(216, 145, 33, 0.1);
  color: rgba(244, 251, 248, 0.82);
  font-size: 0.78rem;
  line-height: 1.55;
}

.viewer-grid {
  grid-template-columns: 190px minmax(0, 1.25fr) minmax(330px, 0.95fr);
  grid-template-rows: auto;
  min-height: 650px;
}

.timeline-panel {
  min-width: 0;
}

.detail-panel {
  grid-column: 3;
  grid-row: 1;
  max-height: 650px;
  overflow: auto;
}

.event-list li {
  margin: 0;
}

.event-row {
  width: 100%;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.event-row:hover {
  border-color: rgba(112, 209, 196, 0.36);
  background: rgba(255, 255, 255, 0.07);
}

.event-row.is-time-unknown {
  border-color: rgba(216, 145, 33, 0.38);
  background: rgba(216, 145, 33, 0.08);
}

.event-row.is-time-unknown time {
  color: #f0c879;
}

.event-row.is-anomaly {
  border-color: rgba(201, 78, 59, 0.58);
  background: rgba(201, 78, 59, 0.1);
}

.event-row.is-anomaly.is-active {
  border-color: rgba(216, 145, 33, 0.86);
  background: rgba(216, 145, 33, 0.18);
}

.event-kind.target-rx {
  background: #dcf2df;
  color: #22562b;
}

.event-kind.target-tx {
  background: var(--amber-soft);
  color: #714708;
}

.event-kind.anomaly {
  background: var(--red-soft);
  color: #7f271c;
}

.selected-title {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 780;
  line-height: 1.45;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}

.meta-pill {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(244, 251, 248, 0.74);
  font-size: 0.72rem;
}

.precision-warning {
  border-color: rgba(216, 145, 33, 0.34);
  background: rgba(216, 145, 33, 0.09);
}

.detail-section {
  padding: 14px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.raw-value,
.payload-code {
  display: block;
  width: 100%;
  margin: 0;
  overflow: auto;
  color: #dbeee8;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.payload-code {
  max-height: 230px;
}

.muted-detail {
  margin: 8px 0 0;
  color: rgba(244, 251, 248, 0.66) !important;
  font-size: 0.86rem;
}

.detail-list {
  display: grid;
  gap: 7px;
  padding-left: 18px;
  margin: 8px 0 0;
  color: rgba(244, 251, 248, 0.82);
}

.hypothesis-list {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.hypothesis-card {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
}

.hypothesis-card strong,
.hypothesis-card span {
  display: block;
}

.hypothesis-card strong {
  color: #ffffff;
}

.hypothesis-card span {
  color: #8de0d1;
  font-size: 0.78rem;
  font-weight: 780;
}

.hypothesis-card ul {
  padding-left: 18px;
  margin: 8px 0;
  color: rgba(244, 251, 248, 0.76);
  font-size: 0.84rem;
}

.evidence-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}

.evidence-button {
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid rgba(112, 209, 196, 0.42);
  border-radius: 8px;
  background: rgba(112, 209, 196, 0.11);
  color: #d9fff6;
  cursor: pointer;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.76rem;
}

.evidence-button:hover {
  background: rgba(112, 209, 196, 0.22);
}

@media (max-width: 980px) {
  .viewer-grid {
    grid-template-columns: 170px minmax(0, 1fr);
  }

  .detail-panel {
    grid-column: 1 / 3;
    grid-row: auto;
    max-height: none;
  }
}

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

  .detail-panel {
    grid-column: auto;
  }

  .hero-proof {
    font-size: 0.96rem;
  }
}


.section-copy {
  display: grid;
  gap: 12px;
  align-self: end;
}

.section-copy p {
  margin: 0;
}

.dark-copy {
  margin-top: 18px;
}

.architecture-note p + p {
  margin-top: 12px;
}


.investor-section {
  background: #eef2ec;
}

.investor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.investor-card {
  min-height: 290px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
}

.investor-card-wide {
  grid-column: 1 / -1;
  min-height: 0;
}

.investor-card h3 {
  margin-bottom: 14px;
  font-size: 1.22rem;
}

.investor-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.investor-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.investor-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.investor-list li::before {
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.investor-list.compact {
  gap: 8px;
}

.phase-stack {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.phase-stack div,
.competitive-grid div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.phase-stack strong,
.phase-stack span,
.competitive-grid strong,
.competitive-grid span {
  display: block;
}

.phase-stack strong,
.competitive-grid strong {
  color: var(--ink);
  font-size: 0.92rem;
}

.phase-stack span,
.competitive-grid span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.58;
}

.competitive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.competitive-grid div:last-child {
  border-color: rgba(0, 139, 122, 0.42);
  background: var(--teal-soft);
}

@media (max-width: 980px) {
  .investor-grid,
  .competitive-grid {
    grid-template-columns: 1fr;
  }

  .investor-card-wide {
    grid-column: auto;
  }
}


.market-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 14px;
}

.market-stats div {
  min-height: 150px;
  padding: 16px;
  border: 1px solid rgba(0, 139, 122, 0.26);
  border-radius: 8px;
  background: var(--teal-soft);
}

.market-stats strong,
.market-stats span,
.market-stats a {
  display: block;
}

.market-stats strong {
  color: var(--ink);
  font-size: 2rem;
  font-weight: 850;
  line-height: 1.1;
}

.market-stats span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.market-stats a {
  margin-top: 10px;
  color: #075347;
  font-size: 0.82rem;
  font-weight: 780;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

@media (max-width: 680px) {
  .market-stats {
    grid-template-columns: 1fr;
  }
}


.before-after-band {
  padding: 72px 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.before-after-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
}

.before-after-card h2 {
  font-size: 1.72rem;
}

.before-after-card p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
}

.after-card {
  border-color: rgba(0, 139, 122, 0.38);
  background: var(--teal-soft);
}

.investor-summary {
  padding: 18px;
  border: 1px solid rgba(0, 139, 122, 0.24);
  border-radius: 8px;
  background: var(--paper-strong);
}

.moat-timeline {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.moat-timeline div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.moat-timeline strong,
.moat-timeline span {
  display: block;
}

.moat-timeline strong {
  color: var(--teal);
  font-size: 0.82rem;
}

.moat-timeline span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.target-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 18px 0;
  list-style: none;
}

.target-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.target-list li::before {
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.contact-actions .button-primary {
  background: var(--graphite);
  color: #ffffff;
}

.contact-actions .button-secondary {
  border-color: var(--line);
  background: var(--paper-strong);
  color: var(--ink);
}

@media (max-width: 980px) {
  .before-after-grid {
    grid-template-columns: 1fr;
  }
}

.failure-ladder {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.failure-ladder div {
  min-height: 132px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.failure-ladder strong,
.failure-ladder span {
  display: block;
}

.failure-ladder strong {
  color: var(--ink);
  font-size: 0.92rem;
}

.failure-ladder span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .failure-ladder {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .failure-ladder {
    grid-template-columns: 1fr;
  }
}

.audience-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper-strong);
}

.audience-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
}

.audience-grid h2 {
  max-width: 680px;
  font-size: 2rem;
}

.audience-grid p:not(.eyebrow) {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--muted);
}

.audience-controls {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.audience-controls button {
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--muted);
  cursor: pointer;
}

.audience-controls button:hover,
.audience-controls button.is-active {
  border-color: rgba(0, 139, 122, 0.45);
  background: var(--teal-soft);
  color: #075347;
  font-weight: 780;
}

.audience-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.audience-card {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.audience-card strong,
.audience-card span {
  display: block;
}

.audience-card span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.audience-live {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.is-audience-hidden {
  display: none !important;
}

.team-section {
  background: #eef2ec;
}

.team-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}

.team-grid p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
}

.team-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.team-panel article {
  min-height: 240px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
}

.team-panel h3 {
  font-size: 1.32rem;
}

.team-panel a {
  display: inline-block;
  margin-top: 16px;
  color: #075347;
  font-weight: 780;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.team-panel ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 14px 0 0;
  list-style: none;
}

.team-panel li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.team-panel li::before {
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.contact-form {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.poc-offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.poc-offer-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.poc-offer-grid .target-list {
  margin-top: 12px;
}

.package-panel[aria-label="ログ受領チェックリスト"] span {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.45;
}

.contact-form label,
.contact-form span,
.contact-form input,
.contact-form textarea {
  display: block;
}

.contact-form span {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 780;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  color: var(--ink);
}

.contact-form textarea {
  resize: vertical;
}

.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  .audience-grid,
  .team-grid,
  .team-panel,
  .audience-cards {
    grid-template-columns: 1fr;
  }


  .tap-grid,
  .tap-comparison,
  .poc-offer-grid {
    grid-template-columns: 1fr;
  }

  .audience-controls {
    justify-content: flex-start;
  }
}

/* Homepage semantic bridge update */
.hero h1 {
  max-width: 980px;
}

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

.value-grid,
.usecase-grid,
.protocol-grid,
.mode-note {
  display: grid;
  gap: 16px;
}

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

.value-card,
.usecase-card {
  min-height: 280px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
}

.value-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 30px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--teal-soft);
  color: #075347;
  font-size: 0.78rem;
  font-weight: 820;
}

.value-card p,
.usecase-card p,
.poc-offer-grid article p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
}

.mini-code {
  padding: 12px;
  margin: 16px 0 0;
  overflow: auto;
  border: 1px solid rgba(15, 24, 20, 0.14);
  border-radius: 8px;
  background: #101512;
  color: #dbeee8;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.8rem;
  line-height: 1.55;
}

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

.usecase-card {
  background: var(--paper);
}

.mode-note {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.mode-note div {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
}

.mode-note strong,
.mode-note span {
  display: block;
}

.mode-note strong {
  color: var(--teal);
  font-size: 0.9rem;
}

.mode-note span {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.poc-offer-grid-wide article {
  min-height: 520px;
}

.contact-form select {
  min-height: 46px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  color: var(--ink);
}

@media (max-width: 1180px) {
  .problem-grid-quad,
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .usecase-grid,
  .protocol-grid,
  .mode-note {
    grid-template-columns: 1fr;
  }

  .poc-offer-grid-wide article {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .problem-grid-quad,
  .value-grid {
    grid-template-columns: 1fr;
  }
}


/* Semantic architecture and demo story */
.prototype-badge {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  align-self: flex-start;
  max-width: 720px;
  padding: 9px 12px;
  margin: 0 0 18px;
  border: 1px solid rgba(141, 224, 209, 0.42);
  border-radius: 8px;
  background: rgba(0, 139, 122, 0.18);
  color: rgba(246, 251, 248, 0.82);
  font-size: 0.84rem;
}

.prototype-badge strong {
  color: #ffffff;
}

.section-status-note {
  padding: 12px 14px;
  border-left: 4px solid var(--amber);
  background: var(--amber-soft);
  color: var(--ink) !important;
  font-weight: 740;
}

.semantic-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.semantic-stack article {
  min-height: 330px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.semantic-stack article:nth-child(2) {
  border-top: 4px solid var(--teal);
}

.semantic-stack article:nth-child(3) {
  border-top: 4px solid var(--amber);
}

.semantic-stack p,
.semantic-stack li {
  color: var(--muted);
}

.semantic-stack p {
  margin: 12px 0 0;
}

.semantic-stack ul {
  display: grid;
  gap: 7px;
  padding-left: 20px;
  margin: 18px 0 0;
}

.translation-quality {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: 28px;
  align-items: start;
  margin-top: 22px;
}

.demo-story {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 0 0 20px;
  list-style: none;
}

.demo-story li {
  min-height: 170px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
}

.demo-story li:nth-child(2),
.demo-story li:nth-child(3),
.demo-story li:nth-child(4) {
  border-top: 4px solid var(--teal);
}

.demo-story li:nth-child(5),
.demo-story li:nth-child(6) {
  border-top: 4px solid var(--amber);
}

.demo-story span,
.demo-story strong {
  display: block;
}

.demo-story span {
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.76rem;
}

.demo-story strong {
  margin-top: 8px;
  color: var(--teal);
  font-size: 0.78rem;
}

.demo-story p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.poc-entry {
  padding: 10px 12px;
  border-left: 4px solid var(--teal);
  background: var(--teal-soft);
  color: #075347 !important;
  font-weight: 780;
}

@media (max-width: 1180px) {
  .demo-story {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .semantic-stack,
  .translation-quality {
    grid-template-columns: 1fr;
  }

  .semantic-stack article {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .demo-story {
    grid-template-columns: 1fr;
  }

  .demo-story li {
    min-height: 0;
  }
}


/* Product path */
.product-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-path-grid article {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.product-path-grid article:nth-child(2) {
  border-top: 4px solid var(--teal);
}

.product-path-grid article:nth-child(3) {
  border-top: 4px solid var(--amber);
}

.product-path-grid h3 {
  line-height: 1.45;
}

.product-path-grid p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
}

.terminology-table {
  margin-top: 18px;
}

.terminology-table .spec-table th {
  width: 210px;
}

@media (max-width: 980px) {
  .product-path-grid {
    grid-template-columns: 1fr;
  }

  .product-path-grid article {
    min-height: 0;
  }
}


/* BLE-first distributed architecture */
.wireless-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.wireless-stage {
  min-height: 280px;
  padding: 26px 22px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.38);
}

.wireless-stage:last-child {
  border-right: 0;
}

.wireless-stage:nth-child(2) {
  border-top: 4px solid var(--teal);
}

.wireless-stage:nth-child(3) {
  border-top: 4px solid var(--amber);
}

.wireless-stage p {
  margin: 14px 0 0;
  color: var(--muted);
}

.gateway-stage {
  background: var(--paper-strong);
}

.architecture-rule {
  padding: 16px 18px;
  margin: 18px 0 0;
  border-left: 4px solid var(--teal);
  background: var(--teal-soft);
  color: #075347;
}

@media (max-width: 980px) {
  .wireless-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wireless-stage:nth-child(2) {
    border-right: 0;
  }

  .wireless-stage:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 680px) {
  .wireless-flow {
    grid-template-columns: 1fr;
  }

  .wireless-stage {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .wireless-stage:last-child {
    border-bottom: 0;
  }
}


/* Device-to-cloud homepage */
.interview-note {
  padding: 18px 20px;
  margin: 24px 0 0;
  border-left: 4px solid var(--amber);
  background: var(--amber-soft);
  color: var(--ink);
  font-weight: 700;
}

.failure-path-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
}

.failure-path-grid li {
  min-height: 150px;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.failure-path-grid span,
.failure-path-grid strong {
  display: block;
}

.failure-path-grid span {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 820;
}

.failure-path-grid strong {
  margin-top: 8px;
}

.failure-path-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.layer-table-wrap {
  margin-top: 22px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.workflow-grid article {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
}

.workflow-grid article:nth-child(3),
.workflow-grid article:nth-child(4) {
  border-top: 4px solid var(--amber);
}

.workflow-grid span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 820;
}

.workflow-grid h3 {
  margin-top: 12px;
}

.workflow-grid p {
  margin: 14px 0 0;
  color: var(--muted);
}

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

.product-component-grid .value-card {
  min-height: 350px;
}

.product-wireless-flow {
  margin-top: 22px;
}

.connectivity-model-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.adapter-example {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 20px;
  align-items: center;
  margin-top: 20px;
}

.adapter-example .tap-diagram {
  margin: 0;
}

.adapter-example p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .workflow-grid,
  .connectivity-model-grid,
  .adapter-example {
    grid-template-columns: 1fr;
  }

  .failure-path-grid,
  .demo-story.lte-story {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-component-grid .value-card {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .failure-path-grid,
  .demo-story.lte-story {
    grid-template-columns: 1fr;
  }

  .failure-path-grid li,
  .workflow-grid article {
    min-height: 0;
  }
}


/* Time to next valuable experiment */
.outcome-section {
  background: var(--paper-strong);
}

.time-to-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.time-to-value-grid article {
  min-height: 260px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.time-to-value-grid span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 820;
}

.time-to-value-grid h3 {
  margin-top: 18px;
}

.time-to-value-grid p {
  margin: 14px 0 0;
  color: var(--muted);
}

.north-star-metric {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  margin-top: 24px;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
}

.north-star-metric > div {
  padding: 28px;
}

.north-star-metric > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.north-star-metric .eyebrow {
  color: var(--amber);
}

.north-star-metric h3 {
  margin: 12px 0 6px;
  color: var(--paper);
  font-size: clamp(1.5rem, 3vw, 2.7rem);
}

.north-star-metric p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.value-ratio span,
.value-ratio strong {
  display: block;
}

.value-ratio span {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 820;
  text-transform: uppercase;
}

.value-ratio strong {
  margin: 12px 0;
  color: var(--paper);
  font-size: 1rem;
  line-height: 1.65;
}

@media (max-width: 860px) {
  .time-to-value-grid,
  .north-star-metric {
    grid-template-columns: 1fr;
  }

  .north-star-metric > div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
  }

  .time-to-value-grid article {
    min-height: 0;
  }
}


/* Language switch */
.language-switch {
  display: inline-flex;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
}

.language-switch a,
.language-switch span {
  display: grid;
  min-width: 34px;
  min-height: 34px;
  place-items: center;
  padding: 5px 8px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
}

.language-switch span[aria-current="page"] {
  background: var(--ink);
  color: var(--paper);
}

.language-switch a:hover {
  background: var(--teal-soft);
  color: var(--ink);
}

@media (max-width: 680px) {
  .language-switch {
    margin-left: auto;
  }

  .language-switch a,
  .language-switch span {
    min-width: 32px;
    min-height: 32px;
    padding: 4px 7px;
  }
}
