/* Star Laundry Collective — landing page.
   Palette and type inherited from ownershipcode.com so the collective reads as
   the same house as its parent. Values measured off the live site, not guessed. */

:root {
  --black: #000000;
  --white: #FFFFFF;
  --blue: #0858F7;
  --blue-dark: #0644C4;
  --grey: #F3F3F3;
  --ink: #1E1E1E;
  --muted: #52525B;
  --muted-2: #6E6E6E;
  --faint: #8A8A8A;
  --line: #E4E4E7;
  --line-strong: #D4D4D8;
  --line-dark: #2B2B2B;

  --display: 'League Spartan', 'Helvetica Neue', Helvetica, sans-serif;
  --body: 'Montserrat', 'Helvetica Neue', Helvetica, sans-serif;

  --gutter: 80px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

h1, h2, h3 { font-family: var(--display); margin: 0; }

.display { font-family: var(--display); font-weight: 600; letter-spacing: -0.024em; }

.caps {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-size: 11px;
  font-weight: 700;
}

.accent { color: var(--blue); }
.muted { color: var(--faint); }

/* Buttons — square corners, uppercase, 700, matching the parent brand. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  height: 58px;
  padding: 0 42px;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 120ms ease;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); }
.btn-invert { background: var(--white); color: var(--black); }
.btn-invert:hover { background: var(--grey); color: var(--black); }
.btn-block { width: 100%; margin-top: 8px; }
.btn[disabled] { opacity: 0.55; cursor: progress; }

/* ---------- Nav ---------- */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px var(--gutter);
  border-bottom: 1px solid var(--line);
}
.nav-right { display: flex; align-items: center; gap: 30px; }
.nav-cta {
  color: var(--blue);
  border-bottom: 2px solid var(--blue);
  padding-bottom: 4px;
}

/* ---------- Hero ---------- */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  padding: 104px var(--gutter) 92px;
  border-bottom: 1px solid var(--line);
}
.hero h1 {
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.028em;
  max-width: 900px;
}
.hero-sub {
  margin: 0;
  font-size: 19px;
  line-height: 1.68;
  color: var(--muted);
  max-width: 650px;
  text-wrap: pretty;
}
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 12px; }
.hero-actions-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: center; }
.hero-meta { font-size: 14.5px; color: var(--muted-2); }
.hero-credit { font-size: 14px; color: var(--faint); }
.hero-credit strong { color: var(--ink); font-weight: 600; }

/* ---------- Bands ---------- */

.band { padding: 84px var(--gutter); border-bottom: 1px solid var(--line); }
.band-grey { background: var(--grey); border-bottom: 0; }
.band-black { background: var(--black); border-bottom: 0; }

.split { display: grid; grid-template-columns: 0.38fr 1fr; gap: 64px; align-items: start; }
.split-label { display: flex; flex-direction: column; gap: 14px; }
.split-note { margin: 10px 0 0; font-size: 15px; line-height: 1.7; color: var(--muted-2); }
.rule { width: 52px; height: 3px; background: var(--blue); }
.rule-accent { background: var(--blue); }
.rule-dim { background: #3F3F46; }

.prose { display: flex; flex-direction: column; gap: 28px; max-width: 780px; }
.prose p { margin: 0; font-size: 17px; line-height: 1.78; color: var(--muted); }
.lede {
  font-family: var(--display);
  font-size: 36px;
  line-height: 1.22;
  font-weight: 500;
  letter-spacing: -0.018em;
  color: var(--black);
  text-wrap: pretty;
}
.prose .lede { color: var(--black); font-size: 36px; }
.lede-invert { color: var(--white); font-size: 27px; line-height: 1.36; letter-spacing: -0.012em; }

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 56px;
  text-align: center;
}
.section-head h2 { font-size: clamp(34px, 4vw, 50px); line-height: 1.06; letter-spacing: -0.022em; }

/* ---------- Charter ---------- */

.charter {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.charter li { display: flex; gap: 24px; padding: 34px 44px 34px 0; border-top: 1px solid var(--line-strong); }
.charter li:nth-child(odd) { border-right: 1px solid var(--line-strong); }
.charter li:nth-child(even) { padding: 34px 0 34px 44px; }
.charter li:nth-child(1), .charter li:nth-child(2) { border-top: 2px solid var(--black); }
.numeral {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 600;
  color: var(--blue);
  line-height: 0.9;
  flex-shrink: 0;
}
.charter h3 { font-size: 21px; font-weight: 600; color: var(--black); margin-bottom: 9px; }
.charter p { margin: 0; font-size: 15.5px; line-height: 1.7; color: var(--muted); }
.pending { color: var(--ink); }

/* ---------- Mid CTA ---------- */

.mid-cta {
  padding: 46px var(--gutter);
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.mid-cta p {
  margin: 0;
  font-family: var(--display);
  font-size: 27px;
  line-height: 1.24;
  font-weight: 500;
  letter-spacing: -0.016em;
  color: var(--white);
  max-width: 720px;
  text-wrap: pretty;
}
.mid-cta .btn { height: 56px; padding: 0 38px; white-space: nowrap; flex-shrink: 0; }

/* ---------- Available today ---------- */

.rows { margin: 0; display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: 0.5fr 1fr; gap: 40px; padding: 30px 0; border-top: 1px solid var(--line); }
.row-first { border-top: 2px solid var(--black); }
.row-last { border-bottom: 1px solid var(--line); }
.rows dt {
  font-family: var(--display);
  font-size: 26px;
  line-height: 1.16;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--black);
}
.rows dd { margin: 0; font-size: 16px; line-height: 1.72; color: var(--muted); }

/* ---------- Still being built ---------- */

.building { display: flex; flex-direction: column; gap: 26px; max-width: 780px; }
.building-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.building-grid > div { display: flex; flex-direction: column; gap: 9px; padding-top: 18px; border-top: 1px solid var(--line-dark); }
.building-grid h3 { font-size: 18px; font-weight: 600; color: var(--line); }
.building-grid p { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--faint); }

/* ---------- Apply ---------- */

.apply {
  padding: 92px var(--gutter) 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
  background: var(--white);
}
.apply .section-head { margin-bottom: 0; }
.apply-sub { margin: 0; font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 545px; }

.card {
  width: 100%;
  max-width: 620px;
  background: var(--grey);
  padding: 38px 40px 34px;
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--black);
}
.card-head h3 { font-size: 22px; font-weight: 600; color: var(--black); }
.card-intro { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--muted); }

.field { display: flex; flex-direction: column; gap: 7px; }
.field label { color: var(--ink); }
.field input,
.field select {
  height: 50px;
  padding: 0 15px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  font-family: var(--body);
  font-size: 15.5px;
  color: var(--ink);
  appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input::placeholder { color: var(--faint); }
.field input:focus,
.field select:focus { outline: 2px solid var(--blue); outline-offset: -2px; border-color: var(--blue); }
.field input[aria-invalid="true"],
.field select[aria-invalid="true"] { border-color: #C0392B; }

.field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field-pair-wide { grid-template-columns: 1.7fr 1fr; }

.form-note { margin: 0; font-size: 13px; line-height: 1.6; color: var(--muted-2); text-align: center; }
.form-error { margin: 0; font-size: 14px; line-height: 1.55; color: #C0392B; font-weight: 500; }
.link-btn {
  background: none;
  border: 0;
  padding: 0;
  font-family: var(--body);
  font-size: 13.5px;
  color: var(--muted-2);
  text-decoration: underline;
  cursor: pointer;
  align-self: center;
}
.link-btn:hover { color: var(--ink); }

.card-done { background: var(--black); gap: 12px; padding: 40px; }
.card-done h3 { font-size: 26px; font-weight: 600; color: var(--white); }
.card-done p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--faint); }

/* ---------- Footer ---------- */

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px var(--gutter);
  background: var(--black);
}
.footer .caps { color: var(--muted-2); }
.footer-legal { font-size: 12px; letter-spacing: 0.04em; color: var(--muted); }

[hidden] { display: none !important; }

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  :root { --gutter: 40px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .building-grid { grid-template-columns: 1fr; gap: 0; }
  .building-grid > div { padding-top: 18px; }
  .row { grid-template-columns: 1fr; gap: 12px; }
  .mid-cta { flex-direction: column; align-items: flex-start; gap: 28px; }
  .mid-cta .btn { width: 100%; }
}

@media (max-width: 720px) {
  :root { --gutter: 22px; }
  .nav { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero { padding: 56px var(--gutter) 52px; }
  .hero-sub { font-size: 17px; }
  .band { padding: 52px var(--gutter); }
  .apply { padding: 56px var(--gutter) 64px; }
  .lede, .prose .lede { font-size: 26px; }
  .charter { grid-template-columns: 1fr; }
  .charter li,
  .charter li:nth-child(even) { padding: 26px 0; border-right: 0; }
  .charter li:nth-child(2) { border-top: 1px solid var(--line-strong); }
  .rows dt { font-size: 22px; }
  .card { padding: 26px 22px 24px; }
  .field-pair,
  .field-pair-wide { grid-template-columns: 1fr; }
  .btn { width: 100%; padding: 0 24px; }
  .hero-actions-row { flex-direction: column; gap: 14px; width: 100%; }
  .footer { flex-direction: column; align-items: flex-start; gap: 10px; }
}
