/* 1rem = 100px at the 1536px reference width: design px / 100 = rem */
html { font-size: calc(100vw / 15.36); }
* { box-sizing: border-box; }

:root { --bg: #0d1b24; --ink: #f1f3f4; --cyan: #7fe3df; --line: rgba(241, 243, 244, 0.28); }

body {
  margin: 0;
  display: flow-root;
  height: 8.64rem;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: "Archivo", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.logo {
  position: absolute;
  left: 0.40rem;
  top: 0.30rem;
  font-size: 0.265rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
.logo::after {
  content: "";
  position: absolute;
  left: 2.15rem;
  top: -0.02rem;
  width: 0.01rem;
  height: 0.38rem;
  background: var(--line);
}

.nav {
  position: absolute;
  left: 2.56rem;
  top: 0.30rem;
  display: flex;
  gap: 0.42rem;
  font-size: 0.245rem;
  white-space: nowrap;
}
.nav a { color: var(--ink); text-decoration: none; }

.rule { position: absolute; height: 0.01rem; background: var(--line); }
.rule--head { left: 0.40rem; top: 0.82rem; width: 14.55rem; }

.eyebrow {
  position: absolute;
  left: 0.40rem;
  top: 1.58rem;
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.217rem;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.headline {
  position: absolute;
  left: 0.32rem;
  top: 2.12rem;
  margin: 0;
  font-weight: 700;
  font-size: 1.27rem;
  line-height: 1.24rem;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.sub {
  position: absolute;
  left: 0.38rem;
  top: 4.55rem;
  margin: 0;
  font-size: 0.283rem;
  line-height: 0.40rem;
  letter-spacing: -0.012em;
  width: 6.6rem;
}

.btn {
  position: absolute;
  left: 0.38rem;
  top: 6.15rem;
  width: 2.32rem;
  height: 0.68rem;
  background: var(--cyan);
  color: #0d1b24;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.245rem;
  text-decoration: none;
}

.btn-link {
  position: absolute;
  left: 3.25rem;
  top: 6.33rem;
  font-size: 0.245rem;
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 0.06rem;
  white-space: nowrap;
}

.index { width: 7.24rem; margin-top: 1.15rem; }
.measure {
  position: absolute;
  left: 9.60rem;
  top: 1.25rem;
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.185rem;
  color: var(--ink);
}
.index::before {
  content: "";
  position: absolute;
  left: 7.80rem;
  top: 1.45rem;
  width: 7.24rem;
  height: 0.01rem;
  background: var(--line);
}

.grid {
  position: absolute;
  left: 7.80rem;
  top: 1.45rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 7.24rem;
  border-left: 0.01rem solid var(--line);
  border-top: 0.01rem solid var(--line);
}
.cell {
  height: 0.955rem;
  padding: 0.10rem 0 0 0.14rem;
  border-right: 0.01rem solid var(--line);
  border-bottom: 0.01rem solid var(--line);
  font-family: "IBM Plex Mono", monospace;
  overflow: hidden;
}
.num { display: block; font-size: 0.235rem; color: var(--cyan); }
.who { display: block; margin-top: 0.06rem; font-size: 0.135rem; letter-spacing: 0.02em; text-transform: uppercase; }
.role { display: block; margin-top: 0.03rem; font-size: 0.105rem; letter-spacing: 0.02em; text-transform: uppercase; color: rgba(241,243,244,0.7); }

.foot {
  left: 0.40rem;
  position: static;
  height: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.19rem;
  white-space: nowrap;
}
.foot .mid { position: absolute; left: 4.60rem; top: 8.02rem; }
.foot .end { position: absolute; left: 8.20rem; top: 8.02rem; }

@media (max-width: 900px) {
  html { font-size: 16px; overflow-x: hidden; }
  body { height: auto; min-height: 100vh; padding-bottom: 30px; }
  .logo { position: static; display: block; padding: 18px 20px 0; font-size: 22px; }
  .logo::after { display: none; }
  .nav { position: static; padding: 10px 20px 0; gap: 14px; font-size: 15px; flex-wrap: wrap; }
  .rule--head { position: static; width: auto; margin: 14px 20px 0; height: 1px; }
  .eyebrow { position: static; padding: 18px 20px 0; font-size: 11px; white-space: normal; }
  .headline {
    position: static; margin: 10px 20px 0; font-size: clamp(36px, 10.5vw, 62px);
    line-height: 1; letter-spacing: -0.03em; white-space: normal;
  }
  .headline br { display: none; }
  .sub { position: static; margin: 16px 20px 0; width: auto; max-width: none; font-size: 16px; line-height: 1.45; }
  .btn {
    position: static; margin: 22px 20px 0; width: fit-content; min-height: 48px;
    padding: 0 22px; font-size: 16px;
  }
  .btn-link { position: static; display: inline-block; margin: 14px 20px 0; font-size: 15px; }
  .index { position: static; width: auto; margin: 26px 20px 0; }
  .measure, .index::before { display: none; }
  .grid {
    position: static; width: auto; grid-template-columns: repeat(2, 1fr); border-left: 0; border-top: 0;
  }
  .cell { height: auto; padding: 10px 8px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .num { font-size: 14px; }
  .who { font-size: 13px; }
  .role { font-size: 11px; }
  .foot {
    position: static; margin: 24px 20px 0; font-size: 12px; white-space: normal;
    display: flex; flex-direction: column; gap: 6px;
  }
  .foot .mid, .foot .end { position: static; }
}
