/* StartUsUp — startusup.co
   Register: an official filing, set properly. Monospace field labels and rules
   carry the paperwork; the display type stays large, tight and plain. One
   accent only, spent on the "Us" hiding inside the name. */

:root {
  --paper: #f7f7fc;
  --ink: #12123a;
  --muted: #5d5b78;
  --accent: #33339a;
  --rule: rgba(18, 18, 58, 0.14);
  --rule-strong: rgba(18, 18, 58, 0.26);
  --field: rgba(18, 18, 58, 0.035);

  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0c0a1c;
    --ink: #ebeaf6;
    --muted: #9a97b5;
    --accent: #9191ed;
    --rule: rgba(235, 234, 246, 0.16);
    --rule-strong: rgba(235, 234, 246, 0.3);
    --field: rgba(235, 234, 246, 0.04);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.sheet {
  max-width: 62rem;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3.5rem) clamp(1.25rem, 5vw, 4rem)
    clamp(2rem, 5vw, 4rem);
}

/* ---- shared label register ---------------------------------------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}

/* ---- masthead ------------------------------------------------------------ */

.masthead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule-strong);
}

/* The logo is inlined as a traced SVG filled with currentColor, so it takes the
   exact brand indigo in light and a lightened brand tint in dark — no filter
   hack, and no second request. dist/logo.svg is the same artwork as a
   standalone file with the brand colour baked in. */
.wordmark {
  display: block;
  line-height: 0;
  color: var(--accent);
}

.wordmark .logo {
  display: block;
  width: auto;
  height: clamp(2.375rem, 5.5vw, 3.5rem);
}

.filed {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---- hero ---------------------------------------------------------------- */

.hero {
  padding: clamp(2.75rem, 8vw, 5.5rem) 0 clamp(2.25rem, 5.5vw, 3.75rem);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 7.5vw, 5.25rem);
  font-weight: 680;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.lede {
  max-width: 46ch;
  margin: clamp(1.5rem, 3vw, 2.25rem) 0 0;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  text-wrap: pretty;
}

/* ---- the filing record --------------------------------------------------- */

.record {
  padding: clamp(1.5rem, 3.5vw, 2.25rem) 0 clamp(1rem, 2vw, 1.5rem);
  border-top: 1px solid var(--rule-strong);
}

.record-note {
  max-width: 60ch;
  margin: -0.75rem 0 clamp(1.75rem, 4vw, 2.5rem);
  color: var(--muted);
  font-size: 0.9375rem;
  text-wrap: pretty;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}

.step {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 11rem) minmax(0, 1fr);
  gap: 0.25rem 1.5rem;
  align-items: baseline;
  padding: clamp(1.125rem, 2.5vw, 1.625rem) 0;
  border-bottom: 1px solid var(--rule);
}

.step-no {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.step-name {
  margin: 0;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 620;
  letter-spacing: -0.015em;
}

.step-body {
  margin: 0;
  max-width: 44ch;
  color: var(--muted);
  font-size: 0.9375rem;
}

@media (max-width: 40rem) {
  .step {
    grid-template-columns: 2.5rem minmax(0, 1fr);
  }
  .step-body {
    grid-column: 2;
  }
}

/* ---- start --------------------------------------------------------------- */

.start {
  padding: clamp(2.25rem, 5vw, 3.25rem) 0 clamp(2rem, 5vw, 3rem);
}

.ask {
  max-width: 42ch;
  margin: -0.5rem 0 clamp(1.5rem, 3vw, 2rem);
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  text-wrap: pretty;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9375rem 1.375rem;
  background: var(--field);
  border: 1px solid var(--rule-strong);
  color: var(--ink);
  font-family: var(--mono);
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, gap 0.18s ease;
}

.cta-mark {
  color: var(--accent);
}

.cta:hover,
.cta:focus-visible {
  gap: 1.125rem;
  background: transparent;
  border-color: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  .cta {
    transition: none;
  }
  .cta:hover,
  .cta:focus-visible {
    gap: 0.75rem;
  }
}

/* ---- footer -------------------------------------------------------------- */

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule-strong);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.75rem;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--rule-strong);
}

.footer a:hover,
.footer a:focus-visible {
  text-decoration-color: currentColor;
}

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