:root {
  color-scheme: light;
  --bg: #eeeee9;
  --panel: #fbfbf7;
  --panel-soft: #f5f5ef;
  --ink: #1d241f;
  --muted: #687066;
  --line: #d7dbd0;
  --accent: #0f4d44;
  --accent-deep: #083a34;
  --accent-soft: #e3f0eb;
  --accent-warm: #9b5f24;
  --shadow: 0 22px 70px rgba(29, 36, 31, 0.12);
  font-family: "Satoshi", "Avenir Next", "SF Pro Text", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 252, 0.36), rgba(238, 238, 233, 0) 360px),
    var(--bg);
  color: var(--ink);
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(29, 36, 31, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 36, 31, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
}

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 18px max(24px, calc((100vw - 1200px) / 2 + 24px));
  background: rgba(238, 238, 233, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 -1px 0 rgba(29, 36, 31, 0.05);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 22px;
  font-weight: 830;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--accent);
  color: white;
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -0.03em;
}

nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

nav a:hover {
  color: var(--ink);
}

nav a,
.primary,
.secondary,
.download-disabled,
.lang-switch button {
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), background 220ms cubic-bezier(0.16, 1, 0.3, 1), border-color 220ms cubic-bezier(0.16, 1, 0.3, 1), color 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-switch {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 252, 0.7);
}

.lang-switch button {
  min-width: 38px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 720;
}

.lang-switch button.active {
  background: var(--accent);
  color: white;
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(520px, 0.96fr);
  gap: 50px;
  align-items: center;
  max-width: 1200px;
  min-height: 760px;
  margin: 0 auto;
  padding: 76px 24px 86px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(42px, 5.5vw, 72px);
  line-height: 1;
  letter-spacing: -0.038em;
  text-wrap: balance;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4.3vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.034em;
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.22;
}

.lead {
  max-width: 680px;
  color: #4f574e;
  font-size: 20px;
  line-height: 1.72;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 30px;
}

.primary,
.secondary,
.download-disabled {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  padding: 0 18px;
  font-weight: 780;
  border: 1px solid var(--line);
}

.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.primary:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
}

.secondary {
  background: rgba(255, 255, 252, 0.64);
  color: var(--ink);
}

.secondary:hover {
  border-color: #b8beb2;
  transform: translateY(-1px);
}

.primary:active,
.secondary:active,
.lang-switch button:active {
  transform: translateY(1px) scale(0.99);
}

.download-disabled {
  cursor: not-allowed;
  background: #eef0ea;
  color: var(--muted);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
  margin: 0;
}

.trust-row div {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.trust-row dt {
  font-weight: 830;
}

.trust-row dd {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.product-shot {
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}

.app-window {
  overflow: hidden;
  width: min(100%, 620px);
  border: 1px solid #d2d8ce;
  border-radius: 22px;
  background: var(--panel);
  box-shadow: 0 20px 58px rgba(29, 36, 31, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.product-shot {
  perspective: 1100px;
}

.product-shot .app-window {
  transform-origin: center;
}

.window-bar {
  display: flex;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: #f5f5ef;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: #c7cdc1;
}

.app-body {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 472px;
}

.app-body aside {
  padding: 20px 12px;
  border-right: 1px solid var(--line);
  background: #edede7;
}

.mini-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  font-size: 18px;
  font-weight: 830;
}

.mini-brand b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent);
  color: white;
  font-size: 17px;
}

.app-body aside span {
  display: block;
  padding: 9px 10px;
  border-radius: 9px;
  color: #727a70;
  font-weight: 720;
  font-size: 14px;
  line-height: 1.2;
}

.app-body aside .active {
  background: var(--accent-soft);
  color: var(--accent);
}

.app-main {
  padding: 24px 26px 26px;
}

.topline {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: start;
  margin-bottom: 16px;
}

.topline p {
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 830;
  letter-spacing: -0.01em;
}

.topline small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.topline button {
  height: 34px;
  border: 0;
  border-radius: 8px;
  padding: 0 13px;
  background: var(--accent);
  color: white;
  font-size: 13px;
  font-weight: 780;
  white-space: nowrap;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.metrics article,
.ops-map article,
.feature-grid article,
.download-cards article,
.signal-board article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 252, 0.86);
}

.metrics article {
  min-height: 90px;
  padding: 13px 12px 12px;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), border-color 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.metrics article:hover,
.ops-map article:hover,
.feature-grid article:hover,
.signal-board article:hover,
.download-cards article:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 77, 68, 0.28);
}

.metrics small {
  display: block;
  color: var(--muted);
  margin-bottom: 10px;
  min-height: 16px;
  max-width: 100%;
  overflow: hidden;
  font-size: 11px;
  font-weight: 740;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metrics strong {
  font-size: 31px;
  line-height: 1;
  letter-spacing: -0.03em;
}

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

.ops-map article {
  min-height: 104px;
  padding: 15px;
}

.ops-map b {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 16px;
  line-height: 1.2;
}

.ops-map p {
  margin-bottom: 0;
  color: #4f574e;
  line-height: 1.55;
  font-size: 13px;
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 86px 24px;
}

.section-head {
  max-width: 840px;
  margin-bottom: 34px;
}

.section-head p,
.signal-section p,
.brain-section p,
.split-section p,
.download p {
  color: #596257;
  line-height: 1.75;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 0.9fr;
  gap: 16px;
}

.feature-grid article {
  padding: 22px;
  min-height: 220px;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), border-color 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-grid span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--accent-warm);
  font-weight: 850;
}

.feature-primary {
  grid-row: span 2;
  min-height: 456px;
  background:
    linear-gradient(180deg, rgba(227, 240, 235, 0.9), rgba(255, 255, 252, 0.86)),
    var(--panel);
}

.feature-primary h3 {
  font-size: clamp(27px, 3vw, 38px);
  letter-spacing: -0.03em;
}

.feature-wide {
  grid-column: span 2;
  min-height: 196px;
}

.feature-grid p {
  color: #596257;
  line-height: 1.72;
}

.signal-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(520px, 1.2fr);
  gap: 40px;
  align-items: start;
}

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

.signal-board article {
  min-height: 150px;
  padding: 20px;
}

.signal-board strong {
  display: block;
  margin-bottom: 44px;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.signal-board span {
  color: #596257;
  line-height: 1.6;
}

.brain-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 36px;
  align-items: center;
  padding: 34px;
  border: 1px solid #cbd5cc;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(227, 240, 235, 0.88), rgba(251, 251, 247, 0.88)),
    var(--panel);
  box-shadow: 0 16px 50px rgba(29, 36, 31, 0.08);
}

.memory-stack {
  display: grid;
  gap: 12px;
}

.memory-stack article {
  display: grid;
  gap: 7px;
  padding: 15px;
  border: 1px solid rgba(15, 77, 68, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 252, 0.72);
}

.memory-stack span {
  color: var(--muted);
  font-size: 13px;
}

.memory-stack b {
  color: var(--accent);
  font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: 13px;
}

.split-section,
.download {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  gap: 40px;
  align-items: start;
}

.flow-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.flow-list li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.flow-list strong {
  color: var(--accent);
}

.flow-list span {
  color: #596257;
}

.download-cards {
  display: grid;
  grid-template-columns: 1.32fr 0.78fr 0.9fr;
  gap: 16px;
}

.download-cards article {
  padding: 22px;
  min-height: 210px;
}

.download-main {
  background:
    linear-gradient(180deg, rgba(227, 240, 235, 0.74), rgba(255, 255, 252, 0.86)),
    var(--panel);
}

.download-button {
  width: fit-content;
  margin-top: 10px;
}

.download-note {
  position: relative;
}

.download-note::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(15, 77, 68, 0.1);
}

.download-cards code {
  display: block;
  white-space: normal;
  line-height: 1.6;
  color: var(--accent);
}

footer {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 38px 24px 50px;
  color: var(--muted);
  font-size: 14px;
}

footer span:first-child {
  color: var(--ink);
  font-weight: 830;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .lang-switch {
    justify-self: end;
  }

  .hero,
  .signal-section,
  .brain-card,
  .split-section,
  .download {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

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

  .feature-primary,
  .feature-wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 220px;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 14px 16px;
    gap: 12px;
  }

  .brand {
    font-size: 20px;
  }

  nav {
    gap: 14px;
    font-size: 13px;
  }

  .hero,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    gap: 28px;
    padding-top: 32px;
    padding-bottom: 54px;
  }

  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  h1 {
    font-size: 38px;
  }

  .lead {
    font-size: 17px;
    line-height: 1.64;
  }

  .hero-actions {
    margin: 24px 0 22px;
  }

  .trust-row,
  .feature-grid,
  .signal-board,
  .download-cards {
    grid-template-columns: 1fr;
  }

  .app-window {
    border-radius: 18px;
  }

  .app-main {
    padding: 18px;
  }

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

  .app-body {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .app-body aside {
    display: none;
  }

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

  .metrics article,
  .ops-map article,
  .signal-board article,
  .download-cards article,
  .feature-grid article {
    border-radius: 12px;
  }

  .metrics strong {
    font-size: 26px;
  }

  .ops-map article {
    min-height: 104px;
    padding: 14px;
  }

  .signal-board strong {
    margin-bottom: 24px;
  }

  .brain-card {
    padding: 22px;
  }

  .flow-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  footer {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}
