/* Kilvek — pre-launch page
   Ink #15171A · Ground #0E1012 · Light #F4F3F1
   The wordmark is drawn geometry, inlined as SVG. Do not substitute a typeface for it. */

:root {
  --ground: #0E1012;
  --panel: #14171A;
  --light: #F4F3F1;
  --ink: #15171A;
  --on-dark: #EDEBE7;
  --muted: #8B8880;
  --muted-light: #6E6B66;
  --rule: #262A2E;
  --rule-light: #D6D2CB;
  --gutter: clamp(20px, 5vw, 72px);
  --measure: 62ch;
}

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

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--on-dark);
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

p { margin: 0 0 1.05em; max-width: var(--measure); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.014em; text-wrap: balance; }

a { color: var(--on-dark); text-decoration: none; border-bottom: 1px solid var(--rule); }
a:hover { border-bottom-color: currentColor; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: var(--gutter); }

.sr, .skip {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip:focus {
  position: fixed; top: 12px; left: 12px; width: auto; height: auto;
  clip: auto; padding: 10px 16px; background: var(--light); color: var(--ink);
  z-index: 10; border-bottom: 0;
}

.label {
  font-family: 'IBM Plex Mono', ui-monospace, 'Courier New', monospace;
  font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
}

/* --- top bar --- */
.bar { border-bottom: 1px solid var(--rule); }
.bar-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding-block: 20px;
}
.bar-mark { width: 108px; height: auto; color: var(--on-dark); display: block; }
.tag {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--rule);
  padding: 5px 11px; white-space: nowrap;
}

/* --- hero --- */
.hero { padding-block: clamp(64px, 12vw, 150px) clamp(56px, 10vw, 128px); }
.hero-mark {
  width: min(760px, 100%); height: auto; color: var(--on-dark);
  display: block; margin-bottom: clamp(40px, 7vw, 82px);
}
.lede {
  font-size: clamp(27px, 4.6vw, 54px);
  line-height: 1.14;
  max-width: 17ch;
  margin-bottom: clamp(20px, 3vw, 32px);
}
.sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 56ch; }

/* --- bands --- */
.band { border-top: 1px solid var(--rule); padding-block: clamp(52px, 8vw, 104px); }
.two { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.col-label { padding-top: 6px; }
.band h2 { font-size: clamp(22px, 2.7vw, 32px); line-height: 1.24; margin-bottom: 1em; max-width: 22ch; }
.band p { color: var(--muted); }

/* --- principles --- */
.principles { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(30px, 4vw, 46px); }
.principles li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 4px 12px; }
.principles .num {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.12em; color: var(--muted-light);
  padding-top: 7px;
}
.principles h3 { font-size: clamp(18px, 2vw, 21px); line-height: 1.3; }
.principles p { grid-column: 2; margin: 0; }

/* --- the line (light band) --- */
.light {
  background: var(--light); color: var(--ink);
  border-top-color: var(--rule-light);
}
.light .label { color: var(--muted-light); }
.light p { color: #5C5952; }
.line-head {
  display: flex; flex-wrap: wrap; gap: 12px 40px;
  align-items: baseline; justify-content: space-between;
  padding-bottom: 30px; border-bottom: 1px solid var(--rule-light);
}
.line-note { max-width: 46ch; margin: 0; font-size: 15px; }
.grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
.card {
  padding: 34px 30px 38px 0;
  border-right: 1px solid var(--rule-light);
  padding-left: 30px;
}
.card:first-child { padding-left: 0; }
.card:last-child { border-right: 0; }
.card .num {
  display: block; margin-bottom: 20px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.16em; color: #9A968E;
}
.card h3 { font-size: 18px; line-height: 1.28; margin-bottom: 10px; }
.card p { font-size: 14.5px; line-height: 1.55; margin: 0; }

/* --- signup --- */
.form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; max-width: 520px; }
.form input {
  flex: 1 1 220px; min-width: 0;
  background: transparent; color: var(--on-dark);
  border: 1px solid var(--rule); padding: 13px 15px;
  font: inherit; font-size: 16px;
}
.form input::placeholder { color: #5E5B56; }
.form input:focus-visible { outline: 2px solid var(--on-dark); outline-offset: -1px; }
.form button {
  background: var(--on-dark); color: var(--ink);
  border: 1px solid var(--on-dark); padding: 13px 26px;
  font: inherit; font-size: 15px; font-weight: 500; cursor: pointer;
  letter-spacing: 0.01em;
}
.form button:hover { background: #fff; border-color: #fff; }
.notice {
  margin-top: 12px; font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.11em; text-transform: uppercase; color: #6B6862;
}

/* --- footer --- */
.foot { border-top: 1px solid var(--rule); padding-block: 44px 52px; }
.foot-in {
  display: flex; flex-wrap: wrap; gap: 24px 40px;
  align-items: flex-end; justify-content: space-between;
}
.foot-brand { display: flex; align-items: flex-end; gap: 16px; }
.foot-mark { width: 92px; height: auto; color: var(--on-dark); display: block; }
.foot-meta {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-light);
}
.say {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.16em; color: var(--muted-light);
}
.foot-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.foot-meta a { color: var(--muted-light); border-bottom-color: #33373B; }
.foot-meta a:hover { color: var(--on-dark); }

/* --- narrow --- */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { padding-left: 26px; padding-right: 26px; }
  .card:nth-child(2n) { border-right: 0; padding-right: 0; }
  .card:nth-child(2n+1) { padding-left: 0; }
  .card:nth-child(n+3) { border-top: 1px solid var(--rule-light); }
}

@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .two { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .col-label { padding-top: 0; }
  .principles li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .principles .num { padding-top: 0; }
  .principles p { grid-column: 1; }
}

@media (max-width: 560px) {
  .grid { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 26px 0 28px; border-right: 0; border-top: 1px solid var(--rule-light); }
  .card:first-child { border-top: 0; padding-top: 30px; }
  .foot-in { align-items: flex-start; }
}

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