:root {
  --bg: #0b1220;
  --bg-soft: #121a2a;
  --surface: #101a2c;
  --surface-2: #16243b;
  --text: #e8eefc;
  --muted: #a6b3d1;
  --accent: #39d98a;
  --accent-2: #69d3ff;
  --accent-3: #8affd7;
  --border: #2a3550;
  --danger: #ff718c;
  --shadow: 0 24px 50px rgba(5, 8, 16, 0.55);
  --font-main: "Space Grotesk", "Segoe UI Variable", "Trebuchet MS", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Code", "Consolas", monospace;
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-main);
  color: var(--text);
  background:
    radial-gradient(900px 520px at 6% -12%, rgba(31, 53, 95, 0.68), transparent 62%),
    radial-gradient(760px 500px at 92% -6%, rgba(20, 84, 78, 0.45), transparent 60%),
    radial-gradient(880px 640px at 50% 110%, rgba(12, 33, 58, 0.64), transparent 62%),
    var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.08;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.25'/%3E%3C/svg%3E");
}

a {
  color: inherit;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

.site-shell {
  position: relative;
  isolation: isolate;
}

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.bg-blob {
  position: absolute;
  width: 42vw;
  max-width: 560px;
  aspect-ratio: 1;
  filter: blur(44px);
  opacity: 0.2;
  border-radius: 44% 56% 57% 43% / 58% 41% 59% 42%;
  animation: blobFloat 14s ease-in-out infinite;
}

.blob-one {
  top: -18vw;
  left: -10vw;
  background: linear-gradient(130deg, rgba(105, 211, 255, 0.85), rgba(57, 217, 138, 0.35));
}

.blob-two {
  right: -14vw;
  top: 28vh;
  animation-delay: -6s;
  background: linear-gradient(140deg, rgba(57, 217, 138, 0.78), rgba(31, 53, 95, 0.48));
}

.dot-field {
  position: absolute;
  inset: 0;
}

.dot-field span {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 255, 215, 0.95) 0%, rgba(138, 255, 215, 0.06) 65%, transparent 100%);
  transition: transform 0.3s ease-out;
  will-change: transform;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(42, 53, 80, 0.78);
  backdrop-filter: blur(14px);
  background: rgba(9, 16, 30, 0.8);
}

.topbar-inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo {
  width: 126px;
  height: auto;
}

.brand-word {
  display: none;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topnav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.93rem;
  padding: 0.35rem 0.15rem;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.topnav a:hover {
  color: var(--text);
  border-color: rgba(105, 211, 255, 0.55);
}

.lang-wrap {
  position: relative;
  min-width: 84px;
  min-height: 50px;
  padding: 0.45rem 0.62rem;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
}

.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  min-height: 34px;
  padding: 0.34rem 0.6rem;
  border: 1px solid rgba(105, 211, 255, 0.34);
  border-radius: 999px;
  background: rgba(16, 26, 44, 0.78);
  color: #d7e7ff;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.lang-current::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 8px rgba(105, 211, 255, 0.55);
}

.lang-current:hover {
  border-color: rgba(105, 211, 255, 0.52);
}

.lang-switch {
  position: absolute;
  top: calc(100% - 2px);
  right: 0.3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.18rem;
  background: rgba(16, 26, 44, 0.85);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  will-change: opacity, transform;
}

.lang-wrap:hover .lang-switch,
.lang-wrap:focus-within .lang-switch {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.lang-link {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1;
  padding: 0.5rem 0.62rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.lang-link:hover {
  color: var(--text);
}

.lang-link.active {
  color: #06101f;
  border-color: rgba(105, 211, 255, 0.4);
  background: linear-gradient(145deg, var(--accent-3), var(--accent-2));
  font-weight: 700;
}

.container {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  padding-bottom: 3rem;
}

.section {
  position: relative;
  padding: 2.75rem 0;
  scroll-margin-top: 86px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 1rem;
  align-items: start;
  padding-top: 1rem;
}

.hero-main {
  max-width: 700px;
}

.status-badge {
  display: inline-flex;
  position: sticky;
  top: calc(var(--nav-height, 72px) + 12px);
  z-index: 6;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.38rem 0.62rem;
  border: 1px solid rgba(57, 217, 138, 0.4);
  border-radius: 999px;
  color: var(--accent-3);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  font-size: 0.79rem;
  max-width: fit-content;
  background: rgba(10, 22, 40, 0.72);
  box-shadow: 0 7px 18px rgba(14, 33, 52, 0.32);
}

.status-badge::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.hero-title {
  margin: 0;
  font-size: clamp(2.1rem, 6.4vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
  position: relative;
  text-wrap: balance;
  animation: subtleGlitch 7s infinite;
}

.hero-slogan {
  margin: 0.72rem 0 0;
  font-size: clamp(1.16rem, 2.2vw, 1.7rem);
  color: #dbe8ff;
}

.hero-sub {
  margin: 0.58rem 0 0;
  font-size: clamp(1.02rem, 1.65vw, 1.22rem);
  color: #9ed9ff;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero-causal-note {
  margin: 0.42rem 0 0;
  color: rgba(207, 218, 255, 0.92);
  font-size: 0.97rem;
  max-width: 56ch;
}

.hero-lead {
  margin: 0.82rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 52ch;
}

.microcopy {
  margin: 0.82rem 0 0;
  color: rgba(105, 211, 255, 0.95);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}

.hero-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  text-decoration: none;
  border-radius: 0.85rem;
  border: 1px solid transparent;
  padding: 0.66rem 1.1rem;
  font-weight: 700;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #081223;
  background: linear-gradient(130deg, var(--accent), var(--accent-3));
  box-shadow: 0 8px 24px rgba(57, 217, 138, 0.34);
}

.btn-primary:hover {
  box-shadow: 0 12px 28px rgba(57, 217, 138, 0.42);
}

.btn-secondary {
  color: var(--text);
  border-color: rgba(105, 211, 255, 0.45);
  background: rgba(17, 28, 46, 0.82);
}

.btn-secondary:hover {
  border-color: rgba(105, 211, 255, 0.78);
}

.token-note {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 58ch;
}

.terminal-line {
  margin-top: 0.72rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(201, 216, 255, 0.9);
  font-family: var(--font-mono);
  font-size: 0.86rem;
  min-height: 1.4rem;
}

.terminal-prefix {
  color: rgba(105, 211, 255, 0.98);
}

.cursor {
  display: inline-block;
  width: 0.62ch;
  height: 1.1em;
  background: rgba(138, 255, 215, 0.92);
  animation: blink 1s steps(2, end) infinite;
}

.card {
  background: linear-gradient(160deg, rgba(18, 26, 42, 0.95), rgba(13, 20, 33, 0.9));
  border: 1px solid rgba(42, 53, 80, 0.88);
  border-radius: 1.05rem;
  box-shadow: var(--shadow);
}

.hero-viz {
  padding: 0.92rem 0.92rem 0.86rem;
  display: grid;
  gap: 0.56rem;
  align-content: start;
  min-height: 100%;
}

.hero-viz-head {
  display: grid;
  gap: 0.38rem;
}

.hero-viz-badge {
  width: fit-content;
  border: 1px solid rgba(105, 211, 255, 0.4);
  background: rgba(16, 26, 44, 0.8);
  color: #9ed9ff;
  border-radius: 999px;
  padding: 0.2rem 0.56rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.hero-viz-title {
  margin: 0;
  font-size: 1.02rem;
}

.hero-viz-subtitle {
  margin: 0;
  color: rgba(207, 218, 255, 0.87);
  font-size: 0.85rem;
  font-family: var(--font-mono);
}

.hero-viz-note {
  margin: 0;
  color: rgba(178, 196, 230, 0.9);
  font-size: 0.79rem;
  line-height: 1.35;
}

.hero-viz-svg {
  width: 100%;
  height: auto;
  border: 1px solid rgba(42, 53, 80, 0.72);
  border-radius: 0.85rem;
  background: radial-gradient(120% 110% at 8% 0%, rgba(30, 64, 108, 0.34), rgba(11, 18, 32, 0.7));
  padding: 0.36rem;
}

.hero-causal-chart .hero-grid {
  stroke: rgba(105, 211, 255, 0.22);
  stroke-width: 1;
}

.hero-series-line {
  fill: none;
  stroke: var(--series-color, #69d3ff);
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(105, 211, 255, 0.32));
  stroke-dasharray: 360;
  stroke-dashoffset: 360;
  animation: drawSeries 2.4s ease forwards;
  animation-delay: var(--series-delay, 0s);
}

.hero-marker {
  fill: var(--series-color, #69d3ff);
  stroke: rgba(10, 18, 31, 0.9);
  stroke-width: 1.1;
  filter: drop-shadow(0 0 7px rgba(105, 211, 255, 0.42));
  opacity: 0;
  transform-origin: center;
  animation: markerPop 2s ease forwards;
  animation-delay: calc(var(--series-delay, 0s) + 0.35s);
}

.hero-marker.buy {
  fill: #8affd7;
}

.hero-marker.sell {
  fill: #ff718c;
}

.hero-viz-combos {
  margin-top: 0.06rem;
  display: grid;
  gap: 0.34rem;
}

.hero-viz-combo-row {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.hero-viz-combo-name {
  color: rgba(214, 226, 255, 0.92);
}

.hero-viz-pnl {
  font-size: 0.9rem;
}

.hero-viz-pnl.up {
  color: #8affd7;
}

.hero-viz-pnl.down {
  color: #ff8ea3;
}

.hero-viz-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-top: 0.08rem;
  padding-top: 0.54rem;
  border-top: 1px solid rgba(105, 211, 255, 0.26);
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: rgba(214, 226, 255, 0.95);
}

.hero-viz-total .hero-viz-pnl {
  font-size: 1rem;
}

.hero-viz-legend {
  margin-top: 0.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.62rem;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: rgba(201, 216, 255, 0.94);
}

.hero-viz-legend .series {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
}

.hero-viz-legend .swatch {
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  background: var(--series-color, #69d3ff);
  box-shadow: 0 0 8px rgba(105, 211, 255, 0.44);
}

.hero-viz-legend .buy,
.hero-viz-legend .sell {
  padding: 0.11rem 0.32rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.hero-viz-legend .buy {
  color: #90ffe0;
  border-color: rgba(138, 255, 215, 0.35);
}

.hero-viz-legend .sell {
  color: #ff9eb1;
  border-color: rgba(255, 113, 140, 0.35);
}

.section h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.2;
}

.section-lead {
  margin: 0.68rem 0 0;
  color: var(--muted);
  font-size: 1.03rem;
  max-width: 76ch;
}

.section-preface {
  margin: 0.52rem 0 0;
  color: #d2def8;
  font-size: 1rem;
  max-width: 78ch;
}

#vision .section-preface,
#vision .section-lead--vision {
  max-width: none;
  text-align: justify;
  text-justify: inter-word;
}

.lead-emphasis {
  color: #8affd7;
  font-weight: 700;
}

.about-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1rem;
}

.now-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.about-card,
.warning-card,
.in-progress-card,
.compare-card,
.cta-panel {
  padding: 1rem 1.05rem;
}

.bullet-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.58rem;
}

.bullet-list li {
  position: relative;
  padding-left: 1.2rem;
  color: #dbe6ff;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 50%;
  background: linear-gradient(130deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 10px rgba(57, 217, 138, 0.6);
}

.warning-card h3,
.in-progress-card h3,
.compare-card h3 {
  margin: 0 0 0.54rem;
  font-size: 1.01rem;
}

.warning-card p,
.in-progress-card p,
.compare-card p {
  margin: 0;
  color: var(--muted);
}

.disclaimer {
  margin-top: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.87rem;
  color: rgba(255, 218, 190, 0.95);
  border: 1px solid rgba(255, 172, 144, 0.26);
  background: rgba(43, 26, 28, 0.45);
  border-radius: 0.78rem;
  padding: 0.68rem 0.72rem;
}

.diagram-shell {
  margin-top: 0.78rem;
  padding: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
}

.diagram-shell h3 {
  margin: 0 0 0.7rem;
  font-size: 1.05rem;
  color: #c9d8ff;
}

.diagram-svg {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

.diagram-svg--vision {
  max-height: min(70vh, 560px);
}

.diagram-svg--mvp {
  max-height: min(64vh, 420px);
}

.diagram-shell svg .flow {
  stroke: rgba(105, 211, 255, 0.72);
  stroke-width: 2.05;
  fill: none;
}

.diagram-shell svg .flow-yes {
  stroke: rgba(138, 255, 215, 0.9);
}

.diagram-shell svg .flow-no {
  stroke: rgba(105, 211, 255, 0.85);
}

.diagram-shell svg .flow-return {
  stroke: rgba(190, 208, 247, 0.66);
  stroke-dasharray: 5 6;
}

.diagram-shell svg .node rect {
  stroke: rgba(105, 211, 255, 0.42);
  stroke-width: 1.3;
}

.diagram-shell svg .node text,
.diagram-shell svg .decision text {
  fill: #ebf2ff;
  font-family: var(--font-main);
  text-anchor: middle;
  dominant-baseline: middle;
  paint-order: stroke;
  stroke: rgba(4, 8, 16, 0.35);
  stroke-width: 0.65px;
}

.diagram-shell svg .node .main,
.diagram-shell svg .decision .main {
  font-size: 14.6px;
}

.diagram-shell svg .node .alt,
.diagram-shell svg .decision .alt {
  fill: rgba(207, 218, 255, 0.85);
  font-size: 12.1px;
  font-family: var(--font-mono);
}

.diagram-svg--vision .node .main {
  font-size: 13.7px;
}

.diagram-svg--vision .node .alt {
  font-size: 11.4px;
}

.diagram-svg--vision .decision .main {
  font-size: 13.2px;
}

.diagram-svg--vision .decision .alt {
  font-size: 11.2px;
}

.diagram-shell svg .decision polygon {
  stroke: rgba(138, 255, 215, 0.48);
  stroke-width: 1.25;
}

.diagram-shell svg .flow-label {
  fill: rgba(138, 255, 215, 0.97);
  font-size: 12px;
  font-family: var(--font-mono);
  text-anchor: start;
}

.diagram-shell svg .flow-label-alt {
  fill: rgba(201, 216, 255, 0.84);
}

.diagram-shell svg .diagram-flow-note {
  fill: rgba(201, 216, 255, 0.84);
  font-size: 12px;
  font-family: var(--font-mono);
}

.diagram-shell svg .diagram-micro {
  fill: rgba(138, 255, 215, 0.95);
  font-size: 12.8px;
  font-family: var(--font-mono);
}

.diagram-shell svg .diagram-badge rect {
  fill: rgba(12, 24, 40, 0.9);
  stroke: rgba(105, 211, 255, 0.42);
  stroke-width: 1.1;
}

.diagram-shell svg .diagram-badge text {
  fill: rgba(138, 255, 215, 0.95);
  font-size: 12px;
  font-family: var(--font-mono);
}

.diagram-note {
  margin: 0.62rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.in-progress-list {
  margin: 0.3rem 0 0;
  padding-left: 1rem;
  color: #dbe6ff;
  display: grid;
  gap: 0.36rem;
}

.compare-grid {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.compare-card ul {
  margin: 0.32rem 0 0;
  padding-left: 1.05rem;
  color: #dbe6ff;
}

.cta-section .cta-panel {
  margin-top: 0.75rem;
}

.contacts-panel {
  margin-top: 0.75rem;
  padding: 1rem;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.social-btn {
  position: relative;
  border: 1px solid rgba(105, 211, 255, 0.38);
  border-radius: 0.86rem;
  background: rgba(14, 24, 40, 0.8);
  color: #ecf2ff;
  min-height: 62px;
  padding: 0.58rem 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
  cursor: default;
}

.social-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-btn::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translateX(-50%) translateY(6px);
  opacity: 0;
  pointer-events: none;
  border: 1px solid rgba(105, 211, 255, 0.45);
  border-radius: 0.45rem;
  background: rgba(11, 18, 32, 0.95);
  color: #d4e4ff;
  font-size: 0.74rem;
  white-space: nowrap;
  padding: 0.22rem 0.42rem;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.social-btn:hover::after,
.social-btn:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.email-line {
  margin: 0.86rem 0 0;
  color: var(--muted);
}

.footer {
  border-top: 1px solid rgba(42, 53, 80, 0.8);
  background: rgba(8, 14, 26, 0.7);
}

.footer-inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.1rem 0 1.5rem;
  color: var(--muted);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.62s ease, transform 0.62s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes blink {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

@keyframes subtleGlitch {
  0%,
  89%,
  100% {
    text-shadow: none;
  }

  90% {
    text-shadow: -1px 0 rgba(255, 113, 140, 0.6), 1px 0 rgba(105, 211, 255, 0.58);
  }

  92% {
    text-shadow: 1px 0 rgba(255, 113, 140, 0.4), -1px 0 rgba(105, 211, 255, 0.52);
  }
}

@keyframes drawSeries {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes markerPop {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }

  62% {
    opacity: 1;
    transform: scale(1.08);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes blobFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(0, 20px, 0) rotate(6deg);
  }
}

@media (max-width: 900px) {
  .diagram-shell {
    padding: 0.84rem;
  }

  .diagram-svg--vision,
  .diagram-svg--mvp {
    max-height: none;
    max-width: none;
  }

  .diagram-svg--vision {
    width: 980px;
  }

  .diagram-svg--mvp {
    width: 980px;
  }

  .diagram-shell svg .node .main,
  .diagram-shell svg .decision .main {
    font-size: 15.2px;
  }

  .diagram-shell svg .node .alt,
  .diagram-shell svg .decision .alt {
    font-size: 13px;
  }

  .diagram-svg--vision .node .main {
    font-size: 14.1px;
  }

  .diagram-svg--vision .node .alt {
    font-size: 12px;
  }

  .diagram-svg--vision .decision .main {
    font-size: 13.6px;
  }

  .diagram-svg--vision .decision .alt {
    font-size: 11.8px;
  }
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .hero-main {
    max-width: none;
  }

  .about-grid,
  .now-grid {
    grid-template-columns: 1fr;
  }

  .brand-word {
    display: inline;
  }
}

@media (max-width: 760px) {
  :root {
    --nav-height: 116px;
  }

  .topbar-inner {
    min-height: 74px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.5rem 0;
  }

  .topnav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .hero {
    padding-top: 0.9rem;
  }

  .lang-wrap {
    width: auto;
    min-width: auto;
    min-height: 0;
    padding: 0;
    gap: 0.4rem;
  }

  .lang-current {
    min-height: 32px;
    padding: 0.31rem 0.56rem;
    font-size: 0.72rem;
  }

  .lang-wrap .lang-switch {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .status-badge {
    top: calc(var(--nav-height, 116px) + 8px);
    gap: 0.45rem;
    padding: 0.34rem 0.56rem;
    font-size: 0.73rem;
    letter-spacing: 0.04em;
    margin-bottom: 0.88rem;
  }

  .status-badge::before {
    width: 0.44rem;
    height: 0.44rem;
  }

  .hero-viz {
    padding: 0.76rem;
  }

  .hero-causal-note {
    font-size: 0.93rem;
  }

  .hero-viz-subtitle {
    font-size: 0.8rem;
  }

  .hero-viz-note {
    font-size: 0.75rem;
  }

  .hero-viz-combo-row {
    font-size: 0.8rem;
  }

  .hero-viz-total {
    font-size: 0.82rem;
  }

  .hero-viz-legend {
    font-size: 0.69rem;
    gap: 0.34rem 0.52rem;
  }

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

  .btn {
    width: 100%;
  }

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

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

  #vision .section-preface,
  #vision .section-lead--vision {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .container,
  .topbar-inner,
  .footer-inner {
    width: calc(100% - 1.1rem);
  }

  .section {
    padding: 2.25rem 0;
  }

  .diagram-shell {
    border-radius: 0.82rem;
  }

  .hero-viz-legend .series {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-series-line,
  .hero-marker {
    animation: none;
    stroke-dashoffset: 0;
    opacity: 1;
    transform: none;
  }
}
