:root {
  --bg: #10120f;
  --panel: #181b17;
  --panel-strong: #20251f;
  --line: rgba(236, 232, 220, 0.14);
  --text: #f4f0e6;
  --muted: #b7b0a3;
  --soft: #dfd5c3;
  --green: #68d391;
  --gold: #e0b15f;
  --red: #ef6f61;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(104, 211, 145, 0.06), transparent 360px),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  background: rgba(16, 18, 15, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

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

.brand {
  gap: 10px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
}

.site-nav {
  gap: 6px;
}

.site-nav a,
.repo-links a,
.site-footer a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a {
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid transparent;
}

.site-nav a:hover,
.repo-links a:hover,
.site-footer a:hover {
  color: var(--text);
}

.site-nav a:last-child {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(480px, 1.22fr);
  gap: 48px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 58px 0 70px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  color: #fffaf0;
  font-size: 5.5rem;
  line-height: 0.9;
  letter-spacing: 0;
}

.lede {
  max-width: 620px;
  margin-bottom: 28px;
  color: var(--soft);
  font-size: 1.22rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--green);
  border-color: var(--green);
  color: #07130d;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.035);
}

.proof-points {
  display: grid;
  gap: 14px;
  margin: 0;
}

.proof-points div {
  padding-left: 14px;
  border-left: 3px solid rgba(104, 211, 145, 0.7);
}

.proof-points dt {
  color: var(--text);
  font-weight: 800;
}

.proof-points dd {
  margin: 2px 0 0;
  color: var(--muted);
}

.hero-preview {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #1b1d1a;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.window-chrome {
  display: flex;
  gap: 8px;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #22251f;
}

.window-chrome span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.window-chrome span:nth-child(1) {
  background: #ff5f57;
}

.window-chrome span:nth-child(2) {
  background: #ffbd2e;
}

.window-chrome span:nth-child(3) {
  background: #28c840;
}

.hero-preview img {
  display: block;
  width: 100%;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 0.58fr);
  gap: 42px;
  align-items: start;
  margin-bottom: 34px;
}

h2 {
  max-width: 760px;
  margin-bottom: 0;
  color: #fffaf0;
  font-size: 2.65rem;
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1.05rem;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.security-grid article {
  min-height: 260px;
  padding: 26px;
  background: var(--panel);
}

.number {
  display: block;
  margin-bottom: 54px;
  color: var(--gold);
  font-weight: 800;
}

.security-grid p,
.feature-list p,
.site-footer p {
  margin-bottom: 0;
  color: var(--muted);
}

.interface-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  padding: 34px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.app-icon {
  width: 220px;
  justify-self: center;
  filter: drop-shadow(0 24px 42px rgba(0, 0, 0, 0.34));
}

.feature-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature-list article {
  padding: 22px;
  background: var(--panel-strong);
}

.architecture-map {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 22px;
  background: var(--line);
  border: 1px solid var(--line);
}

.architecture-map div {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: var(--panel);
  color: var(--text);
  font-weight: 800;
  text-align: center;
}

.architecture-map div:last-child {
  color: #11150e;
  background: var(--gold);
}

.repo-links {
  flex-wrap: wrap;
  gap: 10px;
}

.repo-links a {
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0 52px;
  border-top: 1px solid var(--line);
}

.site-footer div {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

@media (max-width: 980px) {
  .hero,
  .section-heading,
  .interface-layout {
    grid-template-columns: 1fr;
  }

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

  .hero-preview {
    order: -1;
  }

  .security-grid,
  .architecture-map {
    grid-template-columns: 1fr;
  }

  .security-grid article {
    min-height: 0;
  }

  .number {
    margin-bottom: 28px;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 0;
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
  }

  .site-nav a {
    flex: 1 1 calc(50% - 6px);
    text-align: center;
  }

  .hero,
  .section,
  .site-header,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2rem;
  }

  .lede {
    font-size: 1.05rem;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 62px 0;
  }

  .interface-layout {
    padding: 22px;
  }

  .app-icon {
    width: 150px;
  }

  .site-footer {
    flex-direction: column;
  }

  .site-footer div {
    justify-content: flex-start;
  }
}
