/* Fixplatz. One accent colour, system fonts, light and dark via the OS. */

:root {
  color-scheme: light dark;
  --bg: #f6f4ee;
  --surface: #fffdf8;
  --surface-2: #efece3;
  --ink: #1c1f1b;
  --muted: #4e544c;
  --line: #dcd8cc;
  --accent: #1b6a45;
  --accent-strong: #145236;
  --accent-ink: #ffffff;
  --accent-soft: #e1eee5;
  --full: #8a4513;
  --full-soft: #f5e6d7;
  --focus: #1b6a45;
  --shadow: 0 1px 2px rgb(28 31 27 / 0.06), 0 8px 28px rgb(28 31 27 / 0.07);
  --radius: 14px;
  --font-sans:
    system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;
  --font-serif:
    "Iowan Old Style", "Charter", "Bitstream Charter", "Sitka Text", Cambria,
    Georgia, serif;
  --font-mono:
    ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121512;
    --surface: #1a1e1a;
    --surface-2: #222722;
    --ink: #ecebe4;
    --muted: #b0b4aa;
    --line: #333a33;
    --accent: #72d3a2;
    --accent-strong: #9be3bd;
    --accent-ink: #0b1d13;
    --accent-soft: #1c3427;
    --full: #f0b27e;
    --full-soft: #3a2a1d;
    --focus: #9be3bd;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 10px 30px rgb(0 0 0 / 0.35);
  }
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

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

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-strong);
}

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

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.3rem, 7vw, 4rem);
}

h2 {
  font-size: clamp(1.75rem, 4.5vw, 2.6rem);
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0 0 1em;
}

.wrap {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.narrow {
  width: min(760px, 100% - 2.5rem);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 8px;
}

.skip:focus {
  top: 1rem;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.3rem;
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.logo {
  width: 1.6rem;
  height: 1.6rem;
  flex: none;
}

.logo-tile {
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
}

.logo-mark {
  fill: var(--accent);
}

.nav-list,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.97rem;
  padding: 0.35rem 0;
  display: inline-block;
}

.nav-list a:hover {
  color: var(--accent);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .nav-list li:not(:last-child) {
    display: none;
  }
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border: 2px solid var(--accent);
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: var(--accent-ink);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.button.secondary:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.button[disabled] {
  opacity: 0.6;
  cursor: progress;
}

/* Hero */

.hero {
  padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4.5rem);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 4rem;
  }
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1.1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
}

.lead {
  font-size: clamp(1.1rem, 2.4vw, 1.3rem);
  color: var(--muted);
  max-width: 36em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* The example run: a ranked list at the moment of opening. */

.run {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;
}

.run-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 0.9rem;
  margin-bottom: 0.4rem;
  border-bottom: 1px dashed var(--line);
  font-size: 0.92rem;
  color: var(--muted);
}

.clock {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 5vw, 2rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.run ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.run li {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.run li:last-child {
  border-bottom: 0;
}

.rank {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.95rem;
}

.slot-name {
  font-weight: 600;
  line-height: 1.3;
}

.slot-meta {
  display: block;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--muted);
}

.tag {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 650;
  white-space: nowrap;
}

.tag.full {
  background: var(--full-soft);
  color: var(--full);
}

.tag.won {
  background: var(--accent);
  color: var(--accent-ink);
}

.tag.idle {
  color: var(--muted);
  border: 1px solid var(--line);
}

.run li.is-won .rank {
  background: var(--accent);
  color: var(--accent-ink);
}

.run figcaption {
  margin-top: 0.9rem;
  font-size: 0.86rem;
  color: var(--muted);
}

/* Sections */

.section {
  padding: clamp(3rem, 8vw, 5.5rem) 0;
  border-top: 1px solid var(--line);
}

.section-intro {
  max-width: 40em;
  margin-bottom: 2.5rem;
}

.section-intro p {
  color: var(--muted);
  font-size: 1.1rem;
}

.kicker {
  display: block;
  margin-bottom: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.grid-3 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 760px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-2 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 760px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.card > :last-child {
  margin-bottom: 0;
}

.card p,
.card li {
  color: var(--muted);
}

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps > li {
  counter-increment: step;
}

.steps > li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
}

.mode-label {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 650;
  background: var(--accent);
  color: var(--accent-ink);
}

.mode-label.later {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.5rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.55em;
  width: 0.7rem;
  height: 0.38rem;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* Universities */

.unis {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .unis {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .unis {
    grid-template-columns: repeat(4, 1fr);
  }
}

.uni {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.uni h3 {
  margin-bottom: 0.1rem;
}

.uni .system {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.uni dl {
  margin: 0;
}

.uni dt {
  font-size: 0.82rem;
  color: var(--muted);
}

.uni dd {
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.planned {
  align-self: flex-start;
  margin-top: auto;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.note {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 44em;
}

/* Pricing */

.prices {
  list-style: none;
  margin: 0;
  padding: 0;
}

.price {
  display: flex;
  flex-direction: column;
}

.price.featured {
  border: 2px solid var(--accent);
}

.price h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 650;
  color: var(--muted);
}

.amount {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.per {
  font-size: 0.95rem;
}

.badge {
  align-self: flex-start;
  margin-bottom: 0.75rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 650;
}

.promise {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 760px) {
  .promise {
    grid-template-columns: repeat(3, 1fr);
  }
}

.promise p {
  margin: 0;
  padding-left: 1rem;
  border-left: 3px solid var(--accent);
  color: var(--muted);
}

.promise strong {
  display: block;
  color: var(--ink);
}

/* FAQ */

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  cursor: pointer;
  font-weight: 650;
  font-size: 1.08rem;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--accent);
}

.faq details[open] summary::after {
  content: "−";
}

.faq details > div {
  padding: 0 0 1.2rem;
  color: var(--muted);
  max-width: 44em;
}

/* Waitlist */

.waitlist {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 5vw, 3rem);
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .waitlist {
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
  }
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 650;
}

.field input,
.field select {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--muted);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
}

.field input:focus-visible,
.field select:focus-visible {
  outline-offset: 1px;
}

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  margin-bottom: 1.25rem;
  font-size: 0.93rem;
  color: var(--muted);
}

.consent input {
  width: 1.3rem;
  height: 1.3rem;
  margin: 0.15rem 0 0;
  accent-color: var(--accent);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 1rem 0 0;
  min-height: 1.5em;
  font-weight: 600;
}

.form-status.is-ok {
  color: var(--accent);
}

.form-status.is-error {
  color: var(--full);
}

.small {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Legal and status pages */

.legal {
  padding: clamp(2rem, 6vw, 4rem) 0 clamp(3rem, 8vw, 5rem);
}

.legal h1 {
  font-size: clamp(2rem, 6vw, 3rem);
}

.legal h2 {
  font-size: 1.45rem;
  margin-top: 2.2rem;
}

.legal h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
}

.legal p,
.legal li,
.legal dd {
  max-width: 44em;
}

.legal dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.15rem 1.5rem;
  margin: 0 0 1.5rem;
}

@media (min-width: 640px) {
  .legal dl {
    grid-template-columns: max-content 1fr;
  }
}

.legal dt {
  font-weight: 650;
}

.legal dd {
  margin: 0 0 0.6rem;
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.callout {
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 10px 10px 0;
  margin: 0 0 1.5rem;
}

.status-page {
  padding: clamp(3rem, 10vw, 7rem) 0;
  min-height: 55vh;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 2fr 1.4fr 1fr;
    align-items: start;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
}

.footer-brand .logo {
  width: 1.3rem;
  height: 1.3rem;
}

.footer-note {
  max-width: 30em;
}

.footer-links a,
.footer-contact a {
  color: var(--ink);
}
