/* The landing page at the server root (app/site). Option A, "the register": paper, ruled lines, NYSC green.
   Inter is served from here (Latin subset, ~22 KB a weight; SIL Open Font License: OFL-Inter.txt). */

@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/site/inter-regular.woff2") format("woff2"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/site/inter-semibold.woff2") format("woff2"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 700 900; font-display: swap;
  src: url("/site/inter-bold.woff2") format("woff2"); }

:root {
  --green: #0b6b3a; --green-dark: #08542d; --forest: #06331c; --forest-soft: #0e4a2b;
  --khaki: #c9b27c; --khaki-deep: #6e5a26; --sand: #f1e9d4; --paper: #f6f4ee;
  --ink: #12201a; --text2: #45534c; --text3: #5b6862; --border: #e2ddd0; --divider: #ece7db;
  --tint: #ddefe3; --tint-text: #0a5530; --live: #86efac; --bad: #b3261e;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink);
  font: 16px/1.5 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; }
/* Even-width digits only where numbers line up (times, places): Inter's tabular set also widens hyphens. */
.pos, .at, .stub-num, .stub-title, .step-num { font-variant-numeric: tabular-nums; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
a:focus-visible { outline: 3px solid var(--khaki); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { list-style: none; padding: 0; }
svg { flex: none; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.band { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section { padding-block: 96px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--khaki-deep); }
.h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; }
.eyebrow + .h2 { margin-top: 12px; }

/* Header */
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-tile { width: 42px; height: 42px; border-radius: 12px; background: var(--green);
  display: flex; align-items: center; justify-content: center; }
.brand-name { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; font-size: 15px; font-weight: 600; }
.nav a { color: var(--text2); text-decoration: none; padding: 10px 0; }
.nav a:hover { color: var(--ink); }
.nav .pill { background: var(--green); color: #fff; padding: 12px 20px; border-radius: 999px; }
.nav .pill:hover { background: var(--green-dark); color: #fff; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; padding-block: 48px 96px; }
.hero-copy { flex: 1 1 460px; min-width: 0; }
.tag { display: inline-block; background: var(--sand); color: var(--khaki-deep); font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; margin-bottom: 22px; }
h1 { font-size: clamp(40px, 5.4vw, 78px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; }
h1 span { color: var(--green); }
.lede { margin-top: 26px; font-size: 20px; line-height: 1.55; color: var(--text2); max-width: 34em; }
.actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; padding: 16px 24px;
  border-radius: 14px; text-decoration: none; min-height: 52px; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); border: 1.5px solid var(--border); }
.btn-secondary:hover { color: var(--ink); border-color: var(--khaki); }
.note { margin-top: 16px; font-size: 14px; color: var(--text3); }

/* The register card and ticket stub */
.register { flex: 1 1 400px; min-width: 0; max-width: 500px; margin: 0 auto; }
.card { background: #fff; border: 1px solid var(--border); border-radius: 24px; overflow: hidden;
  box-shadow: 0 24px 48px -28px rgba(6, 51, 28, 0.35); }
.card-head { background: var(--forest); padding: 18px 22px; display: flex; align-items: center;
  justify-content: space-between; gap: 12px; }
.card-group { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: var(--khaki); }
.card-date { font-size: 18px; font-weight: 700; color: var(--paper); margin-top: 2px; }
.live { display: inline-flex; align-items: center; gap: 8px; background: var(--forest-soft); color: var(--paper);
  font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 999px; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--live); }
.rows { padding: 6px 0; }
.rows li { display: flex; align-items: center; gap: 14px; padding: 13px 22px; border-bottom: 1px solid var(--divider);
  font-size: 16px; font-weight: 600; }
.rows li:last-child { border-bottom: 0; }
.rows li:first-child { background: #fbf8ef; font-weight: 700; }
.pos { width: 34px; height: 34px; border-radius: 50%; background: var(--tint); color: var(--tint-text); font-weight: 800;
  font-size: 15px; display: flex; align-items: center; justify-content: center; flex: none; }
.rows li:first-child .pos { background: var(--green); color: #fff; }
.who { flex: 1; min-width: 0; }
.at { font-size: 15px; font-weight: 400; color: var(--text2); }
.stub { display: flex; margin: -14px 20px 0; position: relative; border-radius: 18px; overflow: hidden;
  box-shadow: 0 16px 32px -20px rgba(6, 51, 28, 0.45); }
.stub-place { background: var(--forest); padding: 18px 22px; min-width: 110px; }
.stub-label { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; color: var(--khaki); }
.stub-num { font-size: 42px; font-weight: 800; color: var(--paper); line-height: 1.05; letter-spacing: -0.03em; }
.stub-info { flex: 1; min-width: 0; background: var(--sand); padding: 18px 22px; border-left: 2px dashed var(--khaki);
  display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.stub-title { font-size: 17px; font-weight: 700; }
.stub-sub { font-size: 14px; color: var(--khaki-deep); display: flex; align-items: center; gap: 6px; }

/* Paper sheet vs InLine */
.compare { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 24px; }
.compare > div { flex: 1 1 380px; min-width: 0; border-radius: 22px; padding: 32px; }
.sheet { border: 1px solid var(--border); background: #fdfcf8; }
/* Ruled like the paper sheet: a line under each entry (stays right when a line wraps). */
.sheet li { padding-bottom: 16px; border-bottom: 1px solid #e9e2d0; }
.sheet li:last-child { padding-bottom: 0; border-bottom: 0; }
.ours { background: var(--green); color: #fff; }
.compare-label { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text3); }
.ours .compare-label { color: #e7d8ae; }
.compare ul { margin-top: 22px; display: flex; flex-direction: column; gap: 18px; font-size: 18px; line-height: 1.45; }
.compare li { display: flex; gap: 14px; }
.compare li svg { margin-top: 3px; }
.sheet svg { color: var(--bad); }
.ours svg { color: var(--live); }

/* How it works */
.steps { margin-top: 48px; display: flex; flex-wrap: wrap; border-top: 2px solid var(--ink); }
.steps li { flex: 1 1 250px; min-width: 0; padding: 28px 28px 8px 0; }
.step-num { font-size: 15px; font-weight: 800; color: var(--khaki-deep); }
.steps h3 { margin-top: 14px; font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.steps p { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--text2); }

/* What stops cheating */
.tricks { margin-top: 44px; border-top: 2px solid var(--ink); }
.trick { display: flex; flex-wrap: wrap; gap: 6px 32px; padding: 20px 0; border-bottom: 1px solid var(--divider);
  font-size: 18px; line-height: 1.45; }
.trick:last-child { border-bottom: 0; }
.trick > span { flex: 1 1 340px; min-width: 0; }
.trick > span:first-child { font-weight: 600; }
.trick > span:last-child { color: var(--text2); }
.trick-head { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text3);
  padding: 14px 0; border-bottom: 1px solid var(--border); }
.trick-head > span:first-child { font-weight: 700; }
.trick-head > span:last-child { color: var(--text3); }
.after { margin-top: 28px; font-size: 16px; line-height: 1.6; color: var(--text2); max-width: 46em; }

/* Privacy */
.privacy { background: var(--sand); border-radius: 28px; padding: clamp(28px, 5vw, 64px); display: flex; flex-wrap: wrap;
  gap: 40px; align-items: flex-start; }
.privacy > div { flex: 1 1 340px; min-width: 0; }
.privacy .h2 { font-size: clamp(28px, 3.2vw, 42px); }
.privacy p { margin-top: 16px; font-size: 17px; line-height: 1.6; color: var(--text2); }
.more { display: inline-block; margin-top: 20px; font-weight: 700; font-size: 16px; padding: 10px 0; }
.promises { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.promises li { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 16px; padding: 18px 20px;
  font-size: 17px; font-weight: 600; }
.icon-tile { width: 42px; height: 42px; border-radius: 12px; background: var(--tint); color: var(--green);
  display: flex; align-items: center; justify-content: center; flex: none; }

/* For excos */
.excos { padding-block: 0 104px; }
.excos .h2 { font-size: clamp(28px, 3.2vw, 42px); }
.tools { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; }
.tools li { flex: 1 1 240px; min-width: 0; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 24px; }
.tools svg { color: var(--green); }
.tools h3 { margin-top: 14px; font-size: 18px; font-weight: 700; }
.tools p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--text2); }

/* Get the app */
.get { background: var(--forest); color: var(--paper); }
.get .wrap { padding-top: 96px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center;
  justify-content: space-between; }
.get-copy { flex: 1 1 460px; min-width: 0; }
.get h2 { font-size: clamp(32px, 4vw, 56px); letter-spacing: -0.035em; line-height: 1.05; font-weight: 800; }
.get p { margin-top: 18px; font-size: 18px; line-height: 1.6; color: #cfd8d2; max-width: 32em; }
.get-side { display: flex; flex-direction: column; gap: 12px; flex: 0 1 320px; }
.btn-light { justify-content: center; background: var(--paper); color: var(--forest); font-weight: 800; font-size: 17px;
  padding: 18px 24px; }
.btn-light:hover { background: #fff; color: var(--forest); }
.soon { display: flex; align-items: center; justify-content: center; min-height: 58px; border-radius: 14px;
  border: 1.5px dashed rgba(201, 178, 124, 0.6); color: var(--paper); font-weight: 700; font-size: 17px; padding: 16px 24px; }
.get-note { text-align: center; font-size: 14px; color: var(--khaki); }

/* Footer */
.foot { padding-block: 32px 40px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center;
  justify-content: space-between; font-size: 14px; color: var(--text3); }
.foot p { max-width: 40em; line-height: 1.6; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.foot a { color: var(--text2); padding: 10px 0; }

/* The tester page (/test) */
.tester { max-width: 760px; padding-block: 40px 96px; }
.tester .lede { max-width: none; }
.t-steps { margin-top: 40px; display: flex; flex-direction: column; gap: 16px; counter-reset: none; }
.t-step { display: flex; gap: 20px; background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 26px; }
.t-num { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff;
  font-size: 19px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.t-step > div { flex: 1; min-width: 0; }
.t-step h2 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; margin-top: 8px; }
.t-step p { margin-top: 8px; font-size: 16px; line-height: 1.6; color: var(--text2); }
.t-step .btn { margin-top: 18px; }
.t-note { margin-top: 28px; background: var(--sand); border-radius: 22px; padding: 26px 28px; }
.t-note h2 { font-size: 18px; font-weight: 700; }
.t-note ul { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; list-style: disc; padding-left: 20px;
  font-size: 16px; line-height: 1.55; color: var(--ink); }

/* Phones */
@media (max-width: 640px) {
  .nav a:not(.pill) { display: none; }
  .hero { padding-block: 24px 72px; gap: 48px; }
  .lede { font-size: 18px; }
  .section { padding-block: 72px; }
  .compare > div { padding: 26px 22px; }
  .compare ul, .trick { font-size: 17px; }
  .trick-head { display: none; } /* stacked rows read on their own: the attempt in bold, then what happens */
  .steps li { padding-right: 0; }
  .excos { padding-block: 0 80px; }
  .get .wrap { padding-top: 72px; padding-bottom: 72px; }
  .get-side { flex: 1 1 100%; }
  .stub { margin: -14px 10px 0; }
  .stub-place { padding: 16px 18px; min-width: 96px; }
  .stub-info { padding: 16px 18px; }
  .t-step { padding: 22px 18px; gap: 14px; }
  .t-step .btn { width: 100%; justify-content: center; }
}
