:root {
  --bg: #06080b;
  --ink: #f4f7f5;
  --muted: #8d979f;
  --faint: #56606a;
  --line: rgba(224, 239, 239, 0.14);
  --line-strong: rgba(224, 239, 239, 0.28);
  --accent: #54d7bd;
  --accent-soft: rgba(84, 215, 189, 0.14);
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(84, 215, 189, 0.05), transparent 30%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px) 0 0 / 68px 68px,
    var(--bg);
}

body::selection {
  background: var(--accent);
  color: #06100e;
}

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

#scan-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.72;
}

.site-head {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
  padding: 0 clamp(20px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(6, 8, 11, 0.72);
  backdrop-filter: blur(18px);
}

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

.brand {
  gap: 10px;
  font-weight: 760;
  letter-spacing: 0;
}

.org-icon {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(84, 215, 189, 0.32);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 28px rgba(84, 215, 189, 0.16);
}

.site-head nav {
  gap: clamp(16px, 3vw, 36px);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-head nav a,
.app-link {
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.app-link {
  justify-self: end;
  border: 1px solid var(--line-strong);
  padding: 10px 14px;
  color: var(--ink);
  font-size: 12px;
}

.app-link:hover,
.hero-actions a:hover,
.steps a:hover {
  border-color: rgba(84, 215, 189, 0.72);
  background: var(--accent-soft);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(32px, 6vw, 96px);
  min-height: 100svh;
  padding: 132px clamp(20px, 6vw, 86px) 58px;
  overflow: hidden;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 24vh;
  content: "";
  background: linear-gradient(0deg, var(--bg), transparent);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  min-width: 0;
  max-width: 600px;
  animation: rise 580ms ease both;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(82px, 16vw, 205px);
  line-height: 0.78;
  letter-spacing: 0;
}

.statement {
  max-width: 520px;
  margin-bottom: 30px;
  color: #cdd6d5;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.36;
}

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

.hero-actions a {
  min-width: 156px;
  border: 1px solid var(--line-strong);
  padding: 13px 16px;
  color: #dbe5e3;
  font-size: 13px;
  text-align: center;
}

.hero-actions .primary {
  border-color: rgba(84, 215, 189, 0.72);
  background: rgba(84, 215, 189, 0.16);
  color: var(--ink);
}

.scan-plate {
  position: relative;
  align-self: center;
  min-height: min(690px, 70vh);
  animation: rise 680ms ease 120ms both;
}

.sheet {
  position: absolute;
  top: 0;
  right: 6%;
  width: min(540px, 46vw);
  height: min(700px, 68vh);
  border: 1px solid rgba(231, 250, 246, 0.32);
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 13px),
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
  box-shadow: 0 38px 110px rgba(0, 0, 0, 0.45);
  transform: rotate(-4deg);
}

.sheet-title,
.line {
  position: absolute;
  left: 9%;
  display: block;
  background: rgba(242, 248, 247, 0.74);
}

.sheet-title {
  top: 9%;
  width: 46%;
  height: 27px;
}

.line {
  height: 9px;
}

.line-a {
  top: 20%;
  width: 80%;
}

.line-b {
  top: 28%;
  width: 68%;
}

.line-c {
  top: 39%;
  width: 84%;
}

.line-d {
  bottom: 17%;
  width: 42%;
}

.read-box {
  position: absolute;
  border: 1px solid var(--accent);
  background: rgba(84, 215, 189, 0.08);
  color: #cafff4;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.box-a {
  top: 7%;
  left: 8%;
  width: 52%;
  height: 64px;
}

.box-b {
  right: 8%;
  bottom: 18%;
  width: 44%;
  height: 52px;
}

.box-c {
  left: 9%;
  bottom: 9%;
  width: 31%;
  height: 48px;
}

.scan-line {
  position: absolute;
  top: -12%;
  left: -5%;
  width: 110%;
  height: 96px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(84, 215, 189, 0.14),
    rgba(202, 255, 244, 0.42),
    rgba(84, 215, 189, 0.12),
    transparent
  );
  filter: blur(1px);
  animation: scan 4.2s linear infinite;
}

.text-stream {
  position: absolute;
  right: 0;
  bottom: 5%;
  display: grid;
  gap: 10px;
  width: min(320px, 34vw);
  border: 1px solid var(--line-strong);
  background: rgba(5, 8, 10, 0.78);
  padding: 20px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.28);
}

.text-stream span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.text-stream strong {
  color: #cafff4;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  font-weight: 650;
  animation: pulseText 2.8s ease-in-out infinite;
}

.intro {
  padding: 0 clamp(20px, 8vw, 112px) 118px;
}

.intro p {
  max-width: 940px;
  color: var(--ink);
  font-size: clamp(30px, 5.4vw, 76px);
  font-weight: 730;
  line-height: 1.04;
  letter-spacing: 0;
}

.band {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(34px, 7vw, 108px);
  padding: 118px clamp(20px, 8vw, 112px);
  border-top: 1px solid var(--line);
}

.section-copy {
  position: sticky;
  top: 112px;
  align-self: start;
}

h2 {
  max-width: 540px;
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

.metric-table {
  display: grid;
  border-top: 1px solid var(--line);
}

.metric-table div,
.steps a {
  display: grid;
  grid-template-columns: 96px minmax(140px, 0.6fr) minmax(220px, 1fr);
  gap: 22px;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}

.metric-table span,
.steps span {
  color: var(--accent);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 28px;
}

.metric-table strong,
.steps strong {
  font-size: 20px;
}

.metric-table p,
.steps p,
.protocol-note {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.weight-lane {
  display: grid;
  grid-template-columns: 1.8fr 0.9fr 0.45fr;
  min-height: 300px;
  align-items: stretch;
  border: 1px solid var(--line);
}

.weight-lane div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(20px, 4vw, 36px);
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(84, 215, 189, 0.11), rgba(84, 215, 189, 0.02));
}

.weight-lane div:last-child {
  border-right: 0;
}

.weight-lane span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.weight-lane strong {
  font-size: clamp(54px, 9vw, 126px);
  line-height: 0.82;
}

.protocol-note {
  max-width: 720px;
  margin-top: 26px;
}

.steps {
  border-top: 1px solid var(--line);
}

.steps a {
  transition: background 160ms ease, border-color 160ms ease, padding 160ms ease;
}

.steps a:hover {
  padding-left: 18px;
}

.site-foot {
  justify-content: space-between;
  min-height: 86px;
  padding: 0 clamp(20px, 6vw, 86px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-foot a {
  color: var(--ink);
}

@keyframes scan {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(82vh);
  }
}

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

@keyframes pulseText {
  0%,
  100% {
    opacity: 0.66;
  }
  45% {
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .site-head {
    grid-template-columns: 1fr auto;
  }

  .site-head nav {
    display: none;
  }

  .hero,
  .band {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 120px;
  }

  .scan-plate {
    min-height: 560px;
  }

  .sheet {
    right: auto;
    left: 4%;
    width: min(520px, 82vw);
  }

  .text-stream {
    right: 3%;
    width: min(300px, 72vw);
  }

  .section-copy {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-head {
    height: 64px;
  }

  .brand span:last-child {
    display: none;
  }

  .app-link {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-bottom: 36px;
  }

  h1 {
    font-size: clamp(64px, 22vw, 98px);
  }

  .statement {
    max-width: 330px;
    font-size: 18px;
  }

  .scan-plate {
    min-height: 450px;
  }

  .sheet {
    left: 8%;
    height: 420px;
  }

  .intro,
  .band {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .intro p {
    font-size: 34px;
  }

  h2 {
    font-size: 40px;
  }

  .metric-table div,
  .steps a {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .weight-lane {
    grid-template-columns: 1fr;
  }

  .weight-lane div {
    min-height: 178px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .weight-lane div:last-child {
    border-bottom: 0;
  }

  .site-foot {
    display: grid;
    gap: 8px;
    align-content: center;
  }
}
