/* ==========================================================================
   Alo Boost — test desk stylesheet
   Palette : dark slate #0A0F14 / electric lemon #B6FF3C / cool greys
   Type    : Outfit (display) · DM Sans (body) · Fira Code (labels + metrics)
   ========================================================================== */

/* --- tokens ------------------------------------------------------------- */
:root {
  --slate-900: #0a0f14;
  --slate-850: #0d141b;
  --slate-800: #111a22;
  --slate-750: #16212b;
  --line: #1e2a34;
  --line-soft: #17222c;
  --grey-500: #6f7f8d;
  --grey-400: #7b8a98;
  --grey-200: #b9c6d1;
  --white: #edf3f7;
  --lemon: #b6ff3c;
  --lemon-ink: #1b2a06;
  --lemon-deep: #8ed11f;

  --ff-display: "Outfit", system-ui, sans-serif;
  --ff-body: "DM Sans", system-ui, sans-serif;
  --ff-mono: "Fira Code", ui-monospace, "SFMono-Regular", monospace;

  --shell: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --bay: clamp(64px, 9vw, 118px);
}

/* --- reset -------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--slate-900);
  color: var(--grey-200);
  font-family: var(--ff-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--white);
  text-decoration-color: var(--grey-500);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

a:hover {
  color: var(--lemon);
  text-decoration-color: var(--lemon);
}

:focus-visible {
  outline: 2px solid var(--lemon);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --- primitives --------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.bay {
  padding-block: var(--bay);
  border-top: 1px solid var(--line-soft);
}

.bay--seam {
  border-top: 0;
  padding-top: clamp(44px, 6vw, 74px);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 99;
  background: var(--lemon);
  color: var(--lemon-ink);
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  padding: 10px 16px;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

/* mono utility label — the "instrument readout" voice of the site */
.tag {
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin: 0 0 22px;
}

.tag--lemon {
  color: var(--lemon);
}

h1,
h2,
h3,
h4 {
  font-family: var(--ff-display);
  color: var(--white);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.06;
  margin: 0;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.9rem, 3.9vw, 2.9rem);
}

h3 {
  font-size: clamp(1.15rem, 1.9vw, 1.4rem);
  line-height: 1.22;
  letter-spacing: -0.012em;
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: clamp(1.0625rem, 1.5vw, 1.2rem);
  color: var(--grey-200);
  max-width: 62ch;
}

.dim {
  color: var(--grey-400);
}

.ink {
  color: var(--lemon);
}

/* ==========================================================================
   Signature — the acceptance strip
   100 ticks stand for 100 submissions; exactly 3 are lit.
   ========================================================================== */
.strip {
  position: relative;
  height: 54px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--line) 0 0.42%,
    transparent 0.42% 1%
  );
  background-repeat: repeat-x;
  background-position: left bottom;
  background-size: 100% 58%;
}

/* the three that clear the bench run the full height of the strip */
.strip__lit {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0.5%;
  background: var(--lemon);
}

.strip__lit:nth-of-type(1) {
  left: 19%;
}

.strip__lit:nth-of-type(2) {
  left: 54%;
}

.strip__lit:nth-of-type(3) {
  left: 88%;
}

.strip__scale {
  display: flex;
  justify-content: space-between;
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--grey-500);
  margin-top: 10px;
  border-top: 1px solid var(--line-soft);
  padding-top: 8px;
}

/* ==========================================================================
   Masthead
   ========================================================================== */
.masthead {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 15, 20, 0.9);
  backdrop-filter: blur(9px);
  border-bottom: 1px solid var(--line-soft);
}

.masthead__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 66px;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--white);
}

.mark:hover {
  color: var(--white);
}

.mark__glyph {
  width: 22px;
  height: 22px;
  flex: none;
}

.mark__word {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mark:hover .mark__word {
  color: var(--lemon);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 30px);
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.nav a {
  color: var(--grey-400);
  text-decoration: none;
  padding-block: 4px;
  border-bottom: 1px solid transparent;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--lemon);
  border-bottom-color: var(--lemon);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--slate-900);
  padding-block: clamp(68px, 11vw, 140px) clamp(26px, 3.4vw, 42px);
}

/* faint measurement paper — the bench surface */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      to right,
      var(--line-soft) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(
    120% 90% at 12% 0%,
    #000 0%,
    rgba(0, 0, 0, 0.25) 55%,
    transparent 100%
  );
  pointer-events: none;
}

.hero > * {
  position: relative;
}

.hero__title {
  font-size: clamp(2.05rem, 6.6vw, 4.4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
  max-width: 30ch;
}

.hero__title em {
  font-style: normal;
  color: var(--lemon);
}

.hero__sentence {
  margin: clamp(24px, 3vw, 34px) 0 0;
  font-size: clamp(1.0625rem, 1.6vw, 1.3rem);
  color: var(--grey-200);
  max-width: 58ch;
}

/* thin lemon-accented rule: 3% lit, 97% quiet */
.hairline {
  margin-top: clamp(38px, 5vw, 58px);
  height: 3px;
  background: linear-gradient(
    to right,
    var(--lemon) 0 3%,
    var(--line) 3% 100%
  );
}

.readout {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 16px;
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--grey-400);
}

.readout b {
  color: var(--white);
  font-weight: 500;
}

/* ==========================================================================
   Metric tiles
   ========================================================================== */
.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.tile {
  background: var(--slate-850);
  padding: clamp(24px, 3.2vw, 36px);
}

.tile__figure {
  font-family: var(--ff-mono);
  font-size: clamp(2.1rem, 5vw, 3rem);
  font-weight: 500;
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.04em;
}

.tile__figure sup {
  font-size: 0.42em;
  vertical-align: super;
  letter-spacing: 0;
  color: var(--lemon);
}

.tile__name {
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lemon);
  margin: 18px 0 8px;
}

.tile__note {
  font-size: 0.9375rem;
  color: var(--grey-400);
  margin: 0;
}

/* ==========================================================================
   The 3% rule
   ========================================================================== */
.rule__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
}

.rule__figure {
  margin: 0;
}

.rule__caption {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  color: var(--grey-400);
  margin-top: 20px;
}

.rule__caption span {
  color: var(--lemon);
}

/* ==========================================================================
   Process rail — 01 → 04
   ========================================================================== */
.rail {
  margin-top: clamp(40px, 5vw, 60px);
  border-top: 1px solid var(--line-soft);
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 52px);
  padding-block: clamp(28px, 3.6vw, 42px);
  border-bottom: 1px solid var(--line-soft);
}

/* the rail itself: one continuous line running the height of the list */
.step::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.step:last-child::before {
  bottom: auto;
  height: clamp(40px, 4.6vw, 56px);
}

.step__index {
  position: relative;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.4vw, 3.1rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--slate-750);
  -webkit-text-stroke: 1px var(--grey-500);
  padding-left: 22px;
}

/* node marking where each stage sits on the rail */
.step__index::after {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  background: var(--lemon);
}

.step__body h3 {
  margin-bottom: 12px;
}

.step__body p {
  max-width: 66ch;
  color: var(--grey-200);
}

.step__meta {
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-top: 14px;
}

/* ==========================================================================
   Comparison strip
   ========================================================================== */
.compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  margin-top: clamp(34px, 4vw, 48px);
}

.column {
  background: var(--slate-850);
  padding: clamp(24px, 3.2vw, 38px);
}

.column--out {
  background: var(--slate-900);
}

.column__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}

.column__head h3 {
  font-size: 1.15rem;
}

.column__count {
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-500);
}

.column--in .column__count {
  color: var(--lemon);
}

.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 15px;
}

.checks li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  font-size: 0.9875rem;
  line-height: 1.55;
}

.checks li::before {
  font-family: var(--ff-mono);
  font-size: 0.8125rem;
  line-height: 1.7;
}

.column--in .checks li::before {
  content: "+";
  color: var(--lemon);
}

.column--out .checks li {
  color: var(--grey-400);
}

.column--out .checks li::before {
  content: "\2212";
  color: var(--grey-500);
}

/* ==========================================================================
   About the desk
   ========================================================================== */
.desk {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
}

.card {
  background: var(--slate-850);
  border: 1px solid var(--line-soft);
  padding: clamp(24px, 3vw, 32px);
}

.card h3 {
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--lemon);
  margin-bottom: 16px;
}

.card address {
  font-style: normal;
  font-size: 0.9875rem;
  color: var(--grey-200);
  line-height: 1.75;
}

.card address a {
  color: var(--white);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--ff-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 26px;
  border: 1px solid var(--lemon);
  background: var(--lemon);
  color: var(--lemon-ink);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  background: transparent;
  color: var(--lemon);
}

.btn--quiet {
  background: transparent;
  border-color: var(--line);
  color: var(--grey-200);
}

.btn--quiet:hover {
  border-color: var(--grey-400);
  color: var(--white);
}

.btn--wide {
  width: 100%;
}

/* ==========================================================================
   Article pages (privacy / terms / shortlist prose)
   ========================================================================== */
.doc {
  max-width: 74ch;
}

.doc h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.2rem);
  letter-spacing: -0.03em;
}

.doc h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  margin-top: 2.4em;
  margin-bottom: 0.6em;
  padding-top: 1.2em;
  border-top: 1px solid var(--line-soft);
}

.doc h3 {
  font-size: 1.05rem;
  margin-top: 1.8em;
  margin-bottom: 0.5em;
}

.doc ul,
.doc ol {
  margin: 0 0 1.2em;
  padding-left: 1.3em;
}

.doc li {
  margin-bottom: 0.55em;
}

.doc li::marker {
  color: var(--lemon-deep);
}

.doc__stamp {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  color: var(--grey-500);
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

/* ==========================================================================
   Shortlist issue page
   ========================================================================== */
.issue__head {
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: clamp(28px, 4vw, 40px);
}

.issue__title {
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  letter-spacing: -0.032em;
  max-width: 24ch;
}

.issue__dates {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 22px;
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-400);
}

.issue__dates b {
  color: var(--lemon);
  font-weight: 500;
}

.entry {
  max-width: 720px;
}

.entry h2 {
  font-size: clamp(1.4rem, 2.7vw, 1.8rem);
  margin-bottom: 14px;
}

.entry__scorebar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  background: var(--slate-850);
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: clamp(28px, 4vw, 38px);
}

.entry__scorebar b {
  color: var(--white);
  font-weight: 500;
}

.codeblock {
  margin: 0 0 20px;
  border: 1px solid var(--line);
  background: var(--slate-850);
}

.codeblock__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 14px 11px 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-400);
}

.codeblock__value {
  display: block;
  padding: clamp(20px, 3.4vw, 30px) 18px;
  font-family: var(--ff-mono);
  font-size: clamp(1.3rem, 4.4vw, 1.85rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--lemon);
  text-align: center;
  word-break: break-all;
}

.copy {
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-200);
  background: transparent;
  border: 1px solid var(--line);
  padding: 7px 13px;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.copy:hover {
  border-color: var(--lemon);
  color: var(--lemon);
}

.copy[data-state="done"] {
  border-color: var(--lemon);
  color: var(--lemon-ink);
  background: var(--lemon);
}

.fineprint {
  font-size: 0.875rem;
  color: var(--grey-400);
  border-left: 2px solid var(--line);
  padding-left: 18px;
  margin-top: clamp(30px, 4vw, 40px);
}

.backlink {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: clamp(34px, 4vw, 44px);
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--grey-400);
}

.backlink:hover {
  color: var(--lemon);
}

/* ==========================================================================
   404
   ========================================================================== */
.gone {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(60px, 10vw, 120px);
}

.gone__code {
  font-family: var(--ff-mono);
  font-size: clamp(3.4rem, 15vw, 8rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--slate-750);
  -webkit-text-stroke: 1px var(--line);
}

.gone__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

/* ==========================================================================
   Footer — 3 columns
   ========================================================================== */
.foot {
  border-top: 1px solid var(--line);
  background: var(--slate-850);
  padding-block: clamp(48px, 6vw, 72px) 30px;
  margin-top: clamp(40px, 5vw, 64px);
}

.foot__cols {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 62px);
}

.foot h2 {
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: 18px;
}

.foot__brand .mark {
  margin-bottom: 16px;
}

.foot__brand p {
  font-size: 0.9375rem;
  color: var(--grey-400);
  max-width: 34ch;
}

.foot__brand address {
  font-style: normal;
  font-size: 0.875rem;
  color: var(--grey-500);
  line-height: 1.7;
  margin-top: 14px;
}

.foot__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
  font-size: 0.9375rem;
}

.foot__list a {
  color: var(--grey-200);
  text-decoration: none;
}

.foot__list a:hover {
  color: var(--lemon);
}

.foot__contact p {
  font-size: 0.9375rem;
  color: var(--grey-400);
  margin-bottom: 0.8em;
}

.foot__contact a {
  color: var(--white);
}

.foot__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: clamp(40px, 5vw, 58px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--grey-500);
}

/* ==========================================================================
   Load sequence — one orchestrated moment, nothing else
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .rise {
    animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) both;
  }

  .rise--2 {
    animation-delay: 0.09s;
  }

  .rise--3 {
    animation-delay: 0.18s;
  }

  .rise--4 {
    animation-delay: 0.27s;
  }

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

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .rule__grid,
  .desk {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .foot__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 1rem;
  }

  .step {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .step__index {
    padding-left: 20px;
  }

  .foot__cols {
    grid-template-columns: minmax(0, 1fr);
  }

  .mark__word {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    white-space: nowrap;
  }

  .nav {
    gap: 13px;
    font-size: 0.625rem;
  }

  .nav a {
    white-space: nowrap;
  }

  .strip {
    height: 40px;
  }
}
