:root {
  color-scheme: dark;
  --bg: #0e1422;
  --bg-deep: #0a0f1a;
  --surface: #151f34;
  --surface-soft: #18243c;
  --line: #283650;
  --line-bright: #3a4c70;
  --text: #e8edf5;
  --muted: #9aa6ba;
  --subtle: #66738b;
  --purple: #a98be8;
  --purple-deep: #7b5fbf;
  --cyan: #65c9ed;
  --mint: #4bd5a1;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic UI", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.015em;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.wrap {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 9px 14px;
  border-radius: 4px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.brand {
  width: 236px;
}

.brand img {
  width: 100%;
  height: auto;
  margin: -15px 0;
}

nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

nav a {
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 160ms ease;
}

nav a:hover,
nav a:focus-visible {
  color: var(--text);
}

nav .language-link {
  padding: 7px 11px;
  border: 1px solid var(--line-bright);
  border-radius: 4px;
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 177px 0 100px;
  text-align: center;
  background:
    radial-gradient(900px 500px at 50% 3%, rgba(123, 95, 191, 0.2), transparent 64%),
    radial-gradient(700px 460px at 90% 20%, rgba(101, 201, 237, 0.08), transparent 58%),
    var(--bg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(140, 160, 200, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 160, 200, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.hero-inner {
  position: relative;
}

.eyebrow,
.section-label {
  margin-bottom: 23px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.71rem;
  font-weight: 650;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  color: var(--purple);
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 14px rgba(169, 139, 232, 0.8);
}

h1 {
  max-width: 980px;
  margin: 0 auto 28px;
  font-size: clamp(2.35rem, 5vw, 4.75rem);
  font-weight: 610;
  letter-spacing: -0.045em;
  line-height: 1.26;
}

h1 em {
  display: block;
  color: var(--purple);
  font-style: normal;
  font-weight: 430;
}

h1 > span {
  display: block;
}

h1 > span,
h1 em {
  word-break: keep-all;
}

.hero-copy {
  max-width: 780px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.14rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--purple-deep);
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #8c6dce;
}

.button-secondary {
  border-color: var(--line-bright);
  color: var(--muted);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--muted);
  color: var(--text);
}

.meta-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.meta-list li {
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(21, 31, 52, 0.42);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-stage {
  max-width: 1030px;
  margin: 66px auto 0;
  padding: 24px;
  border: 1px solid var(--line-bright);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(24, 36, 60, 0.94), rgba(10, 15, 26, 0.96));
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.36);
  text-align: left;
}

.stage-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 23px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--subtle);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.61rem;
  letter-spacing: 0.14em;
}

.stage-bar .live {
  color: var(--mint);
}

.stage-bar .live i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px rgba(75, 213, 161, 0.8);
}

.stage-flow {
  display: grid;
  grid-template-columns: repeat(7, auto);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stage-node {
  min-width: 150px;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(10, 15, 26, 0.52);
}

.stage-node.active {
  border-color: rgba(169, 139, 232, 0.45);
}

.stage-node small,
.stage-node strong,
.stage-node span {
  display: block;
}

.stage-node small {
  margin-bottom: 8px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.54rem;
  letter-spacing: 0.13em;
}

.stage-node strong {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 560;
}

.stage-node span {
  color: var(--subtle);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.61rem;
}

.stage-arrow {
  color: var(--purple);
  font-size: 1.55rem;
  font-weight: 300;
}

.stage-meter {
  height: 94px;
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  align-items: end;
  gap: 7px;
  margin-top: 24px;
  padding: 13px 15px 9px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: repeating-linear-gradient(to top, transparent 0 17px, rgba(255, 255, 255, 0.035) 17px 18px);
}

.stage-meter span {
  height: var(--h);
  min-height: 4px;
  background: linear-gradient(to top, rgba(101, 201, 237, 0.34), var(--purple));
}

.section {
  padding: 108px 0;
  border-top: 1px solid rgba(40, 54, 80, 0.78);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 52px;
}

.section-heading > p,
.field-copy,
.company-lede {
  color: var(--muted);
}

.section-heading > p {
  margin-bottom: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 520;
  letter-spacing: -0.04em;
  line-height: 1.4;
}

.needs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}

.need-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 28px 25px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(24, 36, 60, 0.92), rgba(14, 20, 34, 0.65));
}

.card-no,
.card-tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.65rem;
  font-weight: 650;
  letter-spacing: 0.14em;
}

.card-no {
  color: var(--purple);
}

.need-card h3 {
  margin: 38px 0 14px;
  font-size: 1.28rem;
  font-weight: 570;
}

.need-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.card-tag {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--line-bright);
  color: var(--cyan);
  text-transform: uppercase;
}

.card-tag::before {
  content: "→ ";
}

.origin-statement {
  max-width: 850px;
  margin-top: 46px;
  padding-left: 25px;
  border-left: 2px solid var(--purple-deep);
}

.origin-statement p {
  margin: 0;
  color: #c9d1df;
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
}

.origin-statement strong {
  color: var(--purple);
  font-weight: 600;
}

.flow-section,
.features {
  background: var(--bg-deep);
}

.process-flow {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) 22px minmax(0, 1fr) 22px minmax(0, 1.25fr) 22px minmax(0, 0.9fr) 22px minmax(0, 0.9fr);
  align-items: stretch;
}

.process-node {
  min-height: 236px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(24, 36, 60, 0.88), rgba(14, 20, 34, 0.78));
  text-align: center;
}

.process-node.signature {
  border-color: rgba(169, 139, 232, 0.48);
  background: linear-gradient(180deg, rgba(63, 45, 96, 0.46), rgba(24, 25, 47, 0.6));
}

.process-node > span {
  align-self: flex-end;
  color: var(--subtle);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.62rem;
}

.process-node small {
  margin-top: 22px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
}

.process-node.signature small {
  color: var(--purple);
}

.process-node strong {
  margin-top: 12px;
  font-size: 1.02rem;
  font-weight: 580;
}

.process-node p {
  margin: auto 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.process-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  font-size: 1.45rem;
}

.monitor-rail {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  margin-top: 18px;
  padding: 18px 22px;
  border: 1px dashed var(--line-bright);
  border-radius: 9px;
  background: rgba(101, 201, 237, 0.045);
}

.monitor-rail span {
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
}

.monitor-rail p {
  margin: 0;
  color: var(--muted);
  font-size: 0.87rem;
}

.feature-list {
  border-top: 1px solid var(--line);
}

.feature-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 160px;
  align-items: center;
  gap: 38px;
  min-height: 250px;
  padding: 39px 0;
  border-bottom: 1px solid var(--line);
}

.feature-id span,
.feature-id small {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.feature-id span {
  margin-bottom: 42px;
  color: var(--subtle);
  font-size: 0.67rem;
}

.feature-id small {
  color: var(--cyan);
  font-size: 0.62rem;
  letter-spacing: 0.13em;
}

.curve-feature .feature-id small {
  color: var(--purple);
}

.feature-row h3 {
  margin-bottom: 15px;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 530;
  letter-spacing: -0.025em;
}

.feature-row p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
}

.feature-glyph,
.curve-plot {
  position: relative;
  width: 140px;
  height: 100px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 20px 20px;
}

.delay-glyph::before {
  content: "";
  position: absolute;
  top: 49px;
  left: 18px;
  width: 104px;
  height: 1px;
  background: var(--line-bright);
}

.delay-glyph i {
  position: absolute;
  top: 42px;
  left: 78px;
  width: 14px;
  height: 14px;
  border: 1px solid var(--purple);
  border-radius: 50%;
  background: var(--bg-deep);
}

.curve-plot::before {
  content: "";
  position: absolute;
  left: 26px;
  bottom: 20px;
  width: 88px;
  height: 58px;
  border-top: 2px solid var(--purple);
  border-radius: 70% 0 0;
  transform: rotate(-21deg);
}

.curve-plot i,
.curve-plot b,
.curve-plot span {
  position: absolute;
  width: 7px;
  height: 7px;
  border: 1px solid var(--purple);
  border-radius: 50%;
  background: var(--bg-deep);
}

.curve-plot i {
  left: 24px;
  bottom: 18px;
}

.curve-plot b {
  left: 69px;
  bottom: 43px;
}

.curve-plot span {
  right: 20px;
  top: 17px;
}

.merge-glyph i,
.merge-glyph b {
  position: absolute;
  left: 23px;
  width: 88px;
  height: 35px;
  border-right: 2px solid var(--purple);
}

.merge-glyph i {
  top: 16px;
  border-top: 1px solid var(--line-bright);
  border-radius: 0 70% 0 0;
}

.merge-glyph b {
  bottom: 16px;
  border-bottom: 1px solid var(--line-bright);
  border-radius: 0 0 70% 0;
}

.meter-glyph i,
.meter-glyph b,
.meter-glyph span {
  position: absolute;
  bottom: 17px;
  width: 13px;
  background: linear-gradient(to top, var(--purple-deep), var(--cyan));
}

.meter-glyph i {
  left: 30px;
  height: 34px;
}

.meter-glyph b {
  left: 63px;
  height: 62px;
}

.meter-glyph span {
  left: 96px;
  height: 46px;
}

.field-section {
  background:
    radial-gradient(600px 360px at 12% 50%, rgba(123, 95, 191, 0.09), transparent 70%),
    var(--bg);
}

.field-grid,
.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(60px, 10vw, 130px);
}

.field-copy p {
  margin-bottom: 24px;
}

.status-section {
  padding: 0 0 108px;
}

.status-panel {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 40px;
  padding: 44px 47px;
  border: 1px solid rgba(169, 139, 232, 0.38);
  border-radius: 8px;
  background: linear-gradient(120deg, rgba(123, 95, 191, 0.16), rgba(24, 36, 60, 0.38));
}

.status-panel > p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 7px 0 0;
  color: var(--purple);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.status-panel > p span {
  width: 7px;
  height: 7px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--purple);
}

.status-panel h2 {
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.status-panel div p {
  margin: 0;
  color: var(--muted);
}

.company {
  background: var(--surface);
}

.company-lede {
  max-width: 410px;
  margin-top: 24px;
}

.company-details {
  font-style: normal;
}

.company-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line-bright);
}

.company-row:first-child {
  border-top: 1px solid var(--line-bright);
}

.company-row > span {
  color: var(--subtle);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.company-row p {
  margin: 0;
  color: var(--muted);
}

.company-row strong {
  color: var(--text);
  font-weight: 590;
}

.company-row a {
  text-decoration-color: var(--line-bright);
  text-underline-offset: 4px;
}

.company-row a:hover,
.company-row a:focus-visible {
  color: var(--purple);
}

footer {
  padding: 40px 0;
  background: var(--bg-deep);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-inner img {
  width: 190px;
  height: auto;
  margin: -14px 0;
}

.footer-inner p {
  margin: 0;
  color: var(--subtle);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 4px;
}

@media (max-width: 960px) {
  nav a:not(.language-link) {
    display: none;
  }

  .section-heading,
  .field-grid,
  .company-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .process-flow {
    grid-template-columns: 1fr;
  }

  .process-node {
    min-height: 150px;
  }

  .process-node small {
    margin-top: 5px;
  }

  .process-arrow {
    height: 24px;
    transform: rotate(90deg);
  }

  .feature-row {
    grid-template-columns: 130px 1fr;
  }

  .feature-glyph,
  .curve-plot {
    display: none;
  }

  .stage-flow {
    grid-template-columns: 1fr 18px 1fr 18px 1fr 18px 1fr;
    gap: 7px;
  }

  .stage-node {
    min-width: 0;
    padding: 13px 10px;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .header-inner {
    min-height: 76px;
  }

  .brand {
    width: 184px;
  }

  .hero {
    padding: 129px 0 74px;
  }

  .hero::before {
    background-size: 42px 42px;
  }

  .eyebrow {
    align-items: flex-start;
    font-size: 0.64rem;
    line-height: 1.7;
  }

  .eyebrow span {
    margin-top: 5px;
  }

  h1 {
    font-size: clamp(2.15rem, 11vw, 3.5rem);
    line-height: 1.35;
  }

  h1 br,
  h2 br {
    display: none;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .signal-stage {
    margin-top: 49px;
    padding: 17px;
  }

  .stage-flow {
    grid-template-columns: 1fr;
  }

  .stage-node {
    min-height: 89px;
  }

  .stage-arrow {
    text-align: center;
    transform: rotate(90deg);
  }

  .stage-meter {
    gap: 3px;
  }

  .section {
    padding: 76px 0;
  }

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

  .need-card {
    min-height: 285px;
  }

  .monitor-rail {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .feature-id span {
    margin-bottom: 12px;
  }

  .status-section {
    padding-bottom: 76px;
  }

  .status-panel {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 29px 24px;
  }

  .company-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
