:root {
  --bg: #07110f;
  --bg-2: #0c1c18;
  --ink: #eef7f2;
  --muted: #9eb6ad;
  --line: rgba(238, 247, 242, 0.13);
  --panel: rgba(238, 247, 242, 0.065);
  --panel-strong: rgba(238, 247, 242, 0.11);
  --gold: #d7b46a;
  --aqua: #8de6d1;
  --moss: #284a3f;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 28px;
  --max: 1180px;
  --font-display: Georgia, "Times New Roman", serif;
  --font-ui: "Aptos", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(141, 230, 209, 0.13), transparent 32rem),
    radial-gradient(circle at 78% 4%, rgba(215, 180, 106, 0.14), transparent 28rem),
    linear-gradient(180deg, var(--bg) 0%, #07100e 48%, #0b1512 100%);
  color: var(--ink);
  font-family: var(--font-ui);
  overflow-x: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: calc(var(--max) + 48px);
  margin: 0 auto;
  padding: 18px 24px;
  background: rgba(7, 17, 15, 0.76);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(7, 17, 15, 0.92);
}

.brand,
.nav,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand span {
  font-size: 1rem;
}

.nav {
  gap: 28px;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav a,
.nav-cta {
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

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

.nav-cta {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--ink);
}

.section-shell {
  width: calc(100% - 40px);
  max-width: var(--max);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 54px;
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: 72px 0 96px;
}

.hero-copy h1,
.section-heading h2,
.workflow-copy h2,
.trust-panel h2,
.access h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.055em;
}

.hero-copy,
.console-main,
.workflow-copy {
  min-width: 0;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(3.6rem, 7.8vw, 7.7rem);
  line-height: 0.88;
  text-shadow: 0 0 44px rgba(238, 247, 242, 0.1);
}

.hero-copy p,
.section-heading p,
.workflow-copy p,
.trust-panel p,
.access p {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.7;
}

.hero-copy p {
  max-width: 650px;
  margin: 28px 0 0;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--gold), #f3d991);
  color: #11140d;
  box-shadow: 0 16px 44px rgba(215, 180, 106, 0.24);
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--ink);
}

.hero-console {
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.12), transparent 42%),
    rgba(6, 14, 12, 0.84);
  box-shadow: var(--shadow);
}

.console-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.console-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--panel-strong);
}

.console-top strong {
  margin-left: 10px;
  color: var(--ink);
  font-weight: 600;
}

.console-grid {
  display: grid;
  grid-template-columns: 118px 1fr;
  min-height: 520px;
}

.console-rail {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 14px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.console-rail span {
  border-radius: 14px;
  padding: 10px 12px;
}

.console-rail .rail-active {
  background: rgba(141, 230, 209, 0.12);
  color: var(--aqua);
}

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

.signal-card,
.decision-note {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  padding: 20px;
}

.signal-card.wide {
  grid-column: 1 / -1;
}

.signal-card small {
  display: block;
  color: var(--muted);
  margin-bottom: 16px;
}

.signal-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 500;
}

.signal-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.chart-lines {
  position: relative;
  height: 190px;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(rgba(238, 247, 242, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 247, 242, 0.06) 1px, transparent 1px);
  background-size: 100% 25%, 18% 100%;
}

.chart-lines i {
  position: absolute;
  left: 8%;
  width: 84%;
  height: 80px;
  border: solid 3px transparent;
  border-top-color: var(--aqua);
  border-radius: 50%;
  opacity: 0.9;
}

.chart-lines i:nth-child(1) {
  top: 58px;
  transform: rotate(-6deg);
}

.chart-lines i:nth-child(2) {
  top: 82px;
  border-top-color: var(--gold);
  transform: rotate(4deg);
  opacity: 0.7;
}

.chart-lines i:nth-child(3) {
  top: 106px;
  border-top-color: #ffffff;
  transform: rotate(-2deg);
  opacity: 0.28;
}

.decision-note {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(215, 180, 106, 0.16), rgba(141, 230, 209, 0.08));
}

.decision-note h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.decision-note p {
  margin: 0;
  color: var(--ink);
  line-height: 1.55;
}

.platform,
.trust,
.access {
  padding: 110px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 38px;
}

.section-heading h2,
.workflow-copy h2,
.trust-panel h2,
.access h2 {
  font-size: clamp(2.5rem, 5vw, 5.2rem);
  line-height: 0.95;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.capability-grid article {
  min-height: 260px;
  padding: 26px;
  background: rgba(9, 24, 20, 0.92);
}

.capability-grid span {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 2rem;
}

.capability-grid h3 {
  margin: 64px 0 12px;
  font-size: 1.2rem;
}

.capability-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.workflow {
  background:
    radial-gradient(circle at 18% 20%, rgba(215, 180, 106, 0.13), transparent 26rem),
    linear-gradient(180deg, rgba(238, 247, 242, 0.035), rgba(238, 247, 242, 0.01));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.workflow-inner {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 70px;
  padding: 120px 0;
}

.workflow-copy p {
  margin-top: 24px;
}

.workflow-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.workflow-list li {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  align-items: baseline;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 24px;
  background: rgba(238, 247, 242, 0.055);
}

.workflow-list li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  right: 22px;
  top: 18px;
  color: rgba(238, 247, 242, 0.24);
  font-family: var(--font-display);
  font-size: 1.8rem;
}

.workflow-list strong {
  color: var(--aqua);
}

.workflow-list span {
  color: var(--muted);
  line-height: 1.55;
}

.trust {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: stretch;
}

.trust-panel,
.trust-matrix,
.access {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.trust-panel {
  padding: 38px;
}

.trust-panel p {
  margin: 24px 0 0;
}

.trust-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  background: var(--line);
}

.trust-matrix span {
  display: flex;
  align-items: center;
  min-height: 92px;
  padding: 0 26px;
  background: rgba(8, 19, 16, 0.94);
  color: var(--ink);
  font-weight: 650;
}

.access {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: 90px;
  padding: 42px;
  background:
    linear-gradient(135deg, rgba(141, 230, 209, 0.12), transparent 38%),
    rgba(238, 247, 242, 0.055);
}

.access p {
  max-width: 780px;
  margin: 18px 0 0;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hero,
  .section-heading,
  .workflow-inner,
  .trust {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-console {
    max-width: 680px;
  }

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

@media (max-width: 640px) {
  .site-header {
    padding: 14px 18px;
  }

  .nav-cta {
    display: none;
  }

  .section-shell,
  .site-footer {
    width: calc(100% - 28px);
    max-width: 296px;
  }

  .hero {
    padding-top: 54px;
    gap: 34px;
  }

  .hero-copy h1 {
    max-width: 9.2ch;
    font-size: clamp(2.45rem, 10.5vw, 2.9rem);
    line-height: 1;
    letter-spacing: -0.06em;
    overflow-wrap: anywhere;
  }

  .hero-copy p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-copy,
  .hero-actions {
    width: 100%;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .button {
    flex: 1 1 100%;
    width: 100%;
  }

  .hero-console {
    width: 100%;
  }

  .console-grid,
  .console-main,
  .workflow-list li,
  .trust-matrix,
  .access,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .console-grid {
    display: block;
  }

  .console-rail {
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .console-main {
    display: grid;
  }

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

  .workflow-inner,
  .platform,
  .trust,
  .access {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .access {
    align-items: flex-start;
  }

  .site-footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .hero-console,
  .capability-grid article,
  .workflow-list li,
  .trust-panel,
  .trust-matrix,
  .access {
    animation: rise 520ms ease both;
  }

  .hero-console {
    animation-delay: 120ms;
  }

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