@import url("./base.css");

/* mikaelbuilds.com — the offer pages (/first-hire, /terms, /privacy).
   Page-level only. tokens.css and base.css are owned by the lead session.

   THE IDEA THE LAYOUT IS BUILT ON
   -------------------------------
   The wall is a ledger. This page is the other half of the same document: a
   job description. It is laid out the way terms of employment are laid out,
   because that is what it is — a role, the duties, the hours, the limits, the
   pay, the start date — and because a job description is the one genre where
   stating the limits plainly reads as confidence rather than as fine print.
   That is exactly the move the offer needs: the limits block is a selling
   point, so it gets the same weight and the same type as the duties.

   Consequences you can see:
   - Clauses are numbered in a mono gutter, at the same rhythm as the wall's
     numbers. No uppercase kicker above every heading.
   - Rows are ruled, not boxed. There is no card grid on this page; the only
     boxed surfaces are the seat card and the handoff, and both are boxed
     because they are the two things you can act on.
   - Gold appears in three places and all three are Founding 100: the seat
     card edge, the meter fill, and the price. Nothing free is gold.
   - The value table is a real <table> with a real <caption>, because the
     reader is meant to check it, not admire it.

   The header rules below duplicate wall.css on purpose: ARCHITECTURE section 2
   gives the wall pages that file, and these pages must not depend on a file
   another session owns. ~30 lines of duplication buys ownership isolation. */

/* ------------------------------------------------------------ chrome */

.site-head {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg-0) 88%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.site-head__inner { display: flex; align-items: center; gap: var(--s-4); min-height: 56px; }
.wordmark {
  font-weight: 700; letter-spacing: -0.04em; color: var(--fg-0);
  text-decoration: none; font-size: var(--t-md);
}
.wordmark span { color: var(--fg-2); font-weight: 500; }
.site-nav { margin-left: auto; display: flex; gap: var(--s-4); align-items: center; }
.site-nav a { color: var(--fg-1); text-decoration: none; font-size: var(--t-sm); font-weight: 600; }
.site-nav a:hover { color: var(--fg-0); }
.site-nav a[aria-current="page"] { color: var(--fg-0); }
.site-nav .btn { color: var(--btn-fg); }

@media (max-width: 30rem) {
  .site-nav { gap: var(--s-3); }
  .site-nav .nav-hide { display: none; }
}

.site-foot { border-top: 1px solid var(--line); padding-block: var(--s-7) var(--s-8); }
.site-foot__inner { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-6); align-items: baseline; }
.site-foot__entity { font-size: var(--t-sm); color: var(--fg-1); max-width: 34rem; margin: 0; }
.site-foot__links { margin-left: auto; display: flex; gap: var(--s-4); flex-wrap: wrap; }
.site-foot__links a { color: var(--fg-1); font-size: var(--t-sm); text-decoration: none; font-weight: 600; }
.site-foot__links a:hover { color: var(--fg-0); text-decoration: underline; }

/* ------------------------------------------------------- clause headings */

/* The clause number is decoration for the eye and noise for a screen reader,
   so it is drawn with a pseudo-element and never enters the accessible name.
   It stays in the flow at every width: an absolutely-positioned gutter number
   would sit outside the centred .wrap and fall off the left edge. */
.clause h2[data-n] {
  display: flex;
  align-items: baseline;
  gap: var(--s-4);
  max-width: 22ch;
  text-wrap: balance;
}
.clause h2[data-n]::before {
  content: attr(data-n);
  flex: none;
  font-family: var(--font-mono);
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: 0;
  color: var(--fg-2);
  transform: translateY(-0.18em);
}
.clause__lede {
  font-size: var(--t-lg);
  line-height: var(--lh-snug);
  color: var(--fg-1);
  max-width: 44ch;
}
.clause h3 { margin-top: var(--s-7); }
.clause .steps h3,
.clause .spec__col h3,
.clause .byok h3 { margin-top: 0; }

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

.offer-hero { padding-block: clamp(var(--s-6), 9vw, var(--s-9)) var(--s-7); }
.offer-hero__grid { display: grid; gap: var(--s-6); align-items: start; }

.offer-hero__title {
  font-size: var(--t-3xl);
  max-width: 15ch;
  text-wrap: balance;
}
.offer-hero__title em { font-style: normal; color: var(--fg-2); display: block; }

.offer-hero__lede {
  font-size: var(--t-lg);
  line-height: var(--lh-snug);
  color: var(--fg-0);
  max-width: 40ch;
}
.offer-hero__sub { color: var(--fg-1); max-width: 46ch; }
.offer-hero__fine { font-size: var(--t-sm); color: var(--fg-2); margin: var(--s-3) 0 0; max-width: 46ch; }

@media (min-width: 62rem) {
  .offer-hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(19rem, 0.9fr); gap: var(--s-8); }
}

/* ------------------------------------------------ the seat card (Founding) */

.seat-card {
  border: 1px solid var(--gold-edge);
  border-radius: var(--r-4);
  background: linear-gradient(180deg, var(--gold-ghost), transparent 62%), var(--bg-1);
  padding: var(--s-5);
  position: sticky;
  top: calc(56px + var(--s-4));
}
@media (max-width: 62rem) { .seat-card { position: static; } }

.seat-card__price { display: flex; align-items: baseline; gap: var(--s-2); flex-wrap: wrap; }
.seat-card__amount {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--t-2xl);
  font-weight: 650;
  letter-spacing: -0.04em;
  color: var(--gold);
  line-height: 1;
}
.seat-card__per { color: var(--fg-1); font-size: var(--t-md); }
.seat-card__alt { margin: var(--s-3) 0 0; font-size: var(--t-sm); color: var(--fg-1); }

.seat-card__actions { margin-top: var(--s-5); display: grid; gap: var(--s-3); }
.seat-card__actions .btn { width: 100%; }

.seat-card__terms { margin: var(--s-4) 0 0; font-size: var(--t-sm); color: var(--fg-2); }
.seat-card__terms li { margin-bottom: var(--s-1); }
/* The renewal disclosure. It sits directly above the buttons on purpose: a
   recurring charge is a material term, so it belongs next to the price and the
   thing you press, not three scrolls down in the terms. */
.seat-card__renews {
  margin: var(--s-4) 0 var(--s-4);
  font-size: var(--t-sm);
  color: var(--fg-1);
}
.seat-card__renews a { color: inherit; }

/* The wall is free and adjacent. Saying so under the buy button is what keeps
   "repost for a spot" from reading as engagement sold with the product. */
.seat-card__wall {
  margin: var(--s-4) 0 0;
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
  font-size: var(--t-xs);
  color: var(--fg-2);
}

.seat-card__list { list-style: none; padding: 0; margin: var(--s-4) 0 0; }
.seat-card__list li {
  font-size: var(--t-sm); color: var(--fg-1);
  padding-left: var(--s-4); position: relative; margin-bottom: var(--s-2);
}
.seat-card__list li::before {
  content: ""; position: absolute; left: 0; top: .6em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold-deep);
}

.status { margin: var(--s-3) 0 0; font-size: var(--t-sm); color: var(--fg-1); }
.status[data-tone="warn"] { color: var(--warn); }

/* ----------------------------------------------------------- seat meter */

.meter { margin-top: var(--s-5); }
.meter__label {
  font-family: var(--font-mono);
  font-size: var(--t-sm);
  color: var(--gold);
  letter-spacing: -0.01em;
}
.meter__track {
  --fill: 0%;
  margin-top: var(--s-2);
  height: 6px;
  border-radius: var(--r-pill);
  background: var(--bg-3);
  overflow: hidden;
}
.meter__track::after {
  content: "";
  display: block;
  height: 100%;
  width: var(--fill);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  transition: width var(--dur-3) var(--ease);
}

/* --------------------------------------------------- the packs (roster) */

.roster { margin-top: var(--s-6); border-top: 1px solid var(--line); }
.pack {
  display: grid;
  gap: var(--s-2) var(--s-5);
  padding-block: var(--s-5);
  border-bottom: 1px solid var(--line);
}
.pack__name { margin: 0; font-size: var(--t-lg); }
.pack__who { margin: 0; color: var(--fg-2); font-size: var(--t-sm); }
.pack__does { margin: 0; color: var(--fg-1); }
.pack__does li { margin-bottom: var(--s-2); }
.pack__does ul { margin: 0; padding-left: var(--s-4); }
.pack--custom .pack__name { color: var(--fg-1); }

@media (min-width: 46rem) {
  .pack { grid-template-columns: minmax(11rem, 0.8fr) minmax(0, 1.6fr); }
  .pack__head { grid-row: span 1; }
}

/* ------------------------------------------- what's included + the limits */

.spec { display: grid; gap: var(--s-6); margin-top: var(--s-6); }
@media (min-width: 52rem) { .spec { grid-template-columns: 1fr 1fr; gap: var(--s-8); } }

.spec__col > h3 { margin-bottom: var(--s-4); }
.spec__list { list-style: none; margin: 0; padding: 0; }
.spec__list li {
  padding-block: var(--s-3);
  border-top: 1px solid var(--line);
  color: var(--fg-1);
  font-size: var(--t-sm);
  max-width: none;
}
.spec__list li:last-child { border-bottom: 1px solid var(--line); }
.spec__list b { color: var(--fg-0); font-weight: 600; }

/* ------------------------------------------------------- value table */

.vt-wrap { margin-top: var(--s-6); }
.vt { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.vt__caption {
  caption-side: top;
  text-align: left;
  color: var(--fg-2);
  font-size: var(--t-sm);
  padding-bottom: var(--s-4);
  max-width: var(--maxw-prose);
}
.vt th, .vt td {
  padding: var(--s-4) var(--s-3);
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.vt thead th {
  color: var(--fg-2);
  font-weight: 600;
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: .08em;
  border-bottom-color: var(--line-strong);
}
.vt__job { color: var(--fg-0); font-weight: 600; max-width: 26ch; }
.vt__vendor { color: var(--fg-1); max-width: 34ch; }
.vt__vendor-link { font-weight: 600; }
.vt__published { display: block; margin-top: var(--s-2); color: var(--fg-2); font-size: var(--t-xs); }
.vt__disclosure,
.vt__note {
  margin: var(--s-3) 0 0;
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
  color: var(--fg-2);
  font-size: var(--t-xs);
  max-width: none;
}
.vt__disclosure a, .vt__note a { color: inherit; }
.vt__money { text-align: right; white-space: nowrap; }
.vt tfoot .vt__job { font-weight: 650; color: var(--fg-0); }
.vt tfoot th, .vt tfoot td { border-bottom: 0; border-top: 1px solid var(--line-strong); }
.vt__total .num { font-size: var(--t-lg); color: var(--fg-0); }

.vt-headline {
  font-size: var(--t-lg);
  line-height: var(--lh-snug);
  color: var(--fg-0);
  max-width: 46ch;
}
.vt-notes { margin-top: var(--s-5); display: grid; gap: var(--s-3); }
.vt-notes p { margin: 0; font-size: var(--t-sm); color: var(--fg-2); }
.vt-notes p b { color: var(--fg-1); font-weight: 600; }

@media (max-width: 46rem) {
  /* A four-row table with three columns is legible on a phone as long as it
     stops pretending to be a table. Each row becomes a block; the header row
     goes away because every cell is self-describing. */
  .vt thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .vt tr { display: block; border-bottom: 1px solid var(--line); padding-block: var(--s-4); }
  .vt th, .vt td { display: block; border: 0; padding: 0 0 var(--s-2); max-width: none; }
  .vt__money { text-align: left; }
  .vt tfoot tr { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); }
  .vt tfoot th, .vt tfoot td { padding-bottom: 0; }
}

/* ------------------------------------------------------------- the steps */

.steps { list-style: none; margin: var(--s-6) 0 0; padding: 0; counter-reset: step; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: var(--s-4);
  padding-block: var(--s-5);
  border-top: 1px solid var(--line);
  max-width: none;
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: var(--t-sm);
  color: var(--fg-2);
  padding-top: .15em;
}
.steps h3 { margin-bottom: var(--s-2); font-size: var(--t-md); }
.steps p { margin: 0; color: var(--fg-1); font-size: var(--t-sm); }

/* ------------------------------------------------------------------ byok */

.byok { margin-top: var(--s-6); display: grid; gap: var(--s-5); }
@media (min-width: 52rem) { .byok { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--s-8); } }
.byok__figure {
  border-top: 1px solid var(--line-strong);
  padding-top: var(--s-4);
}
.byok__amount {
  font-family: var(--font-mono);
  font-size: var(--t-xl);
  font-weight: 650;
  letter-spacing: -0.04em;
  color: var(--fg-0);
  display: block;
}
.byok__amount + p { margin-top: var(--s-2); color: var(--fg-2); font-size: var(--t-sm); }

/* ------------------------------------------------------------------- faq */

.faq { margin-top: var(--s-6); border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding-block: var(--s-4);
  font-weight: 600;
  color: var(--fg-0);
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  color: var(--fg-2);
  font-weight: 400;
  flex: none;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details[open] summary { color: var(--fg-0); }
.faq__body { padding-bottom: var(--s-5); color: var(--fg-1); font-size: var(--t-sm); }
.faq__body p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- founder */

.founder { max-width: var(--maxw-prose); }
.founder p { font-size: var(--t-lg); line-height: var(--lh-snug); color: var(--fg-1); margin: 0; }

/* ---------------------------------------------------------------- handoff */

.handoff {
  margin-top: var(--s-6);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-3);
  padding: var(--s-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  align-items: center;
  justify-content: space-between;
  background: var(--bg-1);
}
.handoff p { margin: 0; color: var(--fg-1); max-width: 42ch; }
.handoff strong { color: var(--fg-0); }

/* -------------------------------------------------- terms / privacy pages */

.doc { padding-block: clamp(var(--s-6), 8vw, var(--s-8)); }
.doc h1 { font-size: var(--t-xl); }
.doc h2 { font-size: var(--t-lg); margin-top: var(--s-7); }
.doc h2:first-of-type { margin-top: var(--s-6); }
.doc p, .doc li { color: var(--fg-1); }
.doc li { margin-bottom: var(--s-2); }
.doc__meta { font-size: var(--t-sm); color: var(--fg-2); }
.doc__entity {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: var(--s-4);
  margin-block: var(--s-5);
  font-size: var(--t-sm);
  color: var(--fg-1);
}
.doc__entity b { color: var(--fg-0); }

/* Footer contact. A reachable human before checkout is the single cheapest
   thing this page can do about "who am I sending money to". */
.site-foot__contact {
  margin: 0;
  font-size: var(--t-sm);
  color: var(--fg-2);
  /* Its own full-width line under the entity line and the nav, so the footer
     does not become a three-column squeeze on a narrow screen. */
  flex-basis: 100%;
  order: 3;
}
.site-foot__contact a { color: var(--fg-1); }

/* ------------------------------------------------------- mid-page CTA */

.cta-mid { margin-top: var(--s-7); text-align: center; }
.cta-mid p { margin: var(--s-3) 0 0; font-size: var(--t-sm); color: var(--fg-2); max-width: none; }

/* A duty that belongs to one pack rather than to every First Hire. It sits
   outside the <h3> so it never joins the heading's accessible name. */
.duty-tag {
  display: block;
  margin: calc(var(--s-2) * -1) 0 var(--s-3);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-top: var(--s-1);
}

.byok__note { font-size: var(--t-sm); color: var(--fg-2); }
