:root {
  --bg: #f7f5ef;
  --panel: #ffffff;
  --ink: #101311;
  --muted: #626a66;
  --line: #d9ddd4;
  --green: #087f5b;
  --green-2: #12b886;
  --cyan: #2f9ca6;
  --amber: #f2b84b;
  --shadow: 0 18px 45px rgba(16, 19, 17, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  padding: 0 5vw;
  border-bottom: 1px solid rgba(16, 19, 17, 0.08);
  background: rgba(247, 245, 239, 0.88);
  backdrop-filter: blur(16px);
}

.nav > div {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  font-size: 14px;
  text-decoration: none;
  color: #29302c;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
}

.brand span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 0 0 5px rgba(8, 127, 91, 0.12);
}

.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  overflow: hidden;
  background: #0d1110;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(7, 9, 9, 0.85), rgba(7, 9, 9, 0.32)), url("/assets/hero-network.png");
  background-size: cover;
  background-position: center;
}

.hero-inner {
  position: relative;
  display: grid;
  align-content: end;
  min-height: calc(100vh - 68px);
  padding: 9vh 5vw 7vh;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-2);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 1.04;
  font-weight: 780;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(52px, 9vw, 116px);
}

h2 {
  font-size: clamp(30px, 4vw, 54px);
}

.lead {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions,
.download-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.primary,
.secondary,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 740;
  text-decoration: none;
  cursor: pointer;
}

.primary,
button {
  background: var(--green-2);
  color: #06100c;
}

.secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.section .secondary,
.dashboard .secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 1px;
  max-width: 900px;
  margin-top: 9vh;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
}

.status-strip div {
  padding: 18px;
  background: rgba(9, 13, 12, 0.72);
}

.status-strip strong,
.status-strip span {
  display: block;
}

.status-strip span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 88px 5vw;
}

.narrow {
  max-width: 580px;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.25fr);
  gap: 56px;
  align-items: start;
}

.split h2 {
  max-width: 520px;
  font-size: clamp(30px, 3.2vw, 46px);
}

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

.feature-grid article,
.plan,
.metrics article,
.download-panel,
.steps,
.table-wrap,
.auth-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 1px 0 rgba(16, 19, 17, 0.02);
}

.feature-grid article {
  min-height: 150px;
  padding: 22px;
}

.feature-grid strong,
.feature-grid span,
.plan span,
.plan strong,
.plan p {
  display: block;
}

.feature-grid span,
.plan p,
.section p,
.muted {
  color: var(--muted);
  line-height: 1.55;
}

.auth-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 460px);
  gap: 40px;
  align-items: center;
}

.auth-form {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.auth-form.flat {
  margin-top: 24px;
}

label {
  display: grid;
  gap: 8px;
  color: #35403a;
  font-size: 14px;
  font-weight: 700;
}

input {
  min-height: 46px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #fbfaf7;
  color: var(--ink);
  font: inherit;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.plan {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 260px;
  padding: 22px;
}

.plan span {
  color: var(--green);
  font-weight: 780;
}

.plan strong {
  font-size: 28px;
}

.plan form {
  align-self: end;
}

.flash {
  position: fixed;
  right: 20px;
  top: 82px;
  z-index: 30;
  max-width: min(420px, calc(100vw - 40px));
  padding: 14px 16px;
  border: 1px solid rgba(18, 184, 134, 0.35);
  border-radius: 8px;
  background: #ecfff7;
  color: #073b2b;
  box-shadow: var(--shadow);
}

.dashboard {
  display: grid;
  gap: 24px;
}

.dashboard h1 {
  font-size: clamp(38px, 5vw, 72px);
}

.dash-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

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

.metrics article {
  min-height: 118px;
  padding: 20px;
}

.metrics span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.metrics strong {
  display: block;
  margin-top: 12px;
  font-size: 26px;
  overflow-wrap: anywhere;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
}

.quota {
  height: 10px;
  overflow: hidden;
  border-radius: 99px;
  background: #dfe4dc;
}

.quota span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--amber));
}

.download-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px;
}

.download-panel p {
  max-width: 700px;
  margin-bottom: 0;
}

.steps,
.table-wrap {
  padding: 24px;
}

.steps ol {
  margin: 18px 0 0;
  padding-left: 22px;
  color: #2f3934;
  line-height: 1.7;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 14px;
}

th,
td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: #435049;
  font-size: 12px;
  text-transform: uppercase;
}

.table-wrap {
  overflow-x: auto;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 5vw;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer strong {
  color: var(--ink);
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    min-height: auto;
    padding: 16px 5vw;
  }

  .nav,
  .nav > div,
  .dash-head,
  .download-panel,
  .footer {
    flex-direction: column;
  }

  .hero,
  .hero-inner {
    min-height: 760px;
  }

  .lead {
    font-size: 17px;
  }

  .status-strip,
  .split,
  .auth-band,
  .feature-grid,
  .plans,
  .metrics {
    grid-template-columns: 1fr;
  }

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