/* ============================================================
   SUPERCOMMUTE — "Timetable" design system (locked, spec v2 §3)
   Swiss International grid. Trust through restraint.
   No rounded corners. No shadows. No gradients.
   Fonts are self-hosted woff2, served only from this origin — no
   third-party font host is ever referenced here.
   ============================================================ */

@font-face {
  font-family: "Archivo Black";
  src: url("/fonts/archivo-black-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --ink: #0a0a0a;
  --red: #e30613;
  --rule: #eaeaea;
  --sec: #6b6b6b;
  --display: "Archivo Black", "Arial Black", Impact, sans-serif;
  --body: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-radius: 0 !important;
}
html {
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
button {
  font-family: var(--body);
  cursor: pointer;
}
input,
select {
  font-family: var(--body);
  font-size: 15px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* ---- layout ---- */
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  border-top: 2px solid var(--ink);
  padding: 28px 0 44px;
}
.row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

/* ---- type ---- */
.display {
  font-family: var(--display);
  letter-spacing: -0.05em;
  line-height: 0.95;
  font-weight: 400;
}
.sectionhead {
  font-size: clamp(28px, 4.5vw, 48px);
}
.kicker {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  margin-bottom: 14px;
}
.sub {
  font-size: 17px;
  color: var(--sec);
  max-width: 640px;
  margin: 18px 0 26px;
}
.red {
  color: var(--red);
}

/* ---- logo ---- */
.logo {
  font-family: var(--display);
  font-size: 19px;
  letter-spacing: -0.05em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.logo .sq {
  width: 11px;
  height: 11px;
  background: var(--red);
  flex: none;
}
.logo.small {
  font-size: 15px;
}
.logo.small .sq {
  width: 9px;
  height: 9px;
}

/* ---- nav ---- */
.topnav {
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 50;
}
.topnav .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  gap: 24px;
}
.topnav nav a {
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  padding: 8px 11px;
}
.topnav nav a:hover {
  color: var(--red);
}

/* ---- buttons ---- */
.btn {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  border: none;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 24px;
  text-decoration: none;
  text-align: center;
}
.btn:hover {
  background: var(--red);
}
.btn.outline {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
}
.btn.outline:hover {
  background: var(--ink);
  color: #fff;
}
.btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.btn:disabled:hover {
  background: var(--ink);
}

/* ---- hero ---- */
.hero {
  padding: 72px 0 56px;
}
.hero h1 {
  font-size: clamp(42px, 8.5vw, 100px);
}

/* ---- "coming soon" line ---- */
.comingsoon {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(20px, 3vw, 28px);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

/* ---- three parts ---- */
.threeparts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.threeparts .part {
  border-top: 1px solid var(--rule);
  padding-top: 16px;
}
.threeparts .part .idx {
  font-family: var(--display);
  font-size: 15px;
  color: var(--red);
  margin-bottom: 8px;
}
.threeparts .part h3 {
  font-family: var(--display);
  font-size: 21px;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}
.threeparts .part p {
  font-size: 13.5px;
  color: var(--sec);
}

/* ---- waitlist form ---- */
.formgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 20px;
  max-width: 640px;
  margin-bottom: 4px;
}
.field.full {
  grid-column: 1 / -1;
}
.field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}
.field input,
.field select {
  width: 100%;
  border: none;
  box-shadow: inset 0 0 0 1px var(--ink);
  padding: 11px 12px;
  background: var(--paper);
  color: var(--ink);
}
.field input:focus,
.field select:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--ink);
}

/* honeypot — visually hidden off-screen, never display:none (stays paintable/fillable) */
.hp {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#waitlist .btn {
  margin-top: 4px;
}
#form-status {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  min-height: 1.2em;
}

/* ---- footer ---- */
.pagefooter {
  border-top: 2px solid var(--ink);
  padding: 26px 0 50px;
  font-size: 12px;
  color: var(--sec);
}
.footgrid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footlines p {
  margin-top: 6px;
}
.footlines p:first-child {
  margin-top: 0;
}
.footlines a {
  color: var(--sec);
  text-decoration: underline;
}
.footlines a:hover {
  color: var(--red);
}

@media (max-width: 860px) {
  .threeparts {
    grid-template-columns: 1fr;
  }
  .formgrid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .hero {
    padding: 44px 0 40px;
  }
  .footgrid {
    flex-direction: column;
    gap: 16px;
  }
}
