/* Web Weaver — the whole stylesheet.
 *
 * Mobile-first: everything before the media query is the phone layout,
 * and the one breakpoint widens it. No web font, no import, no vendor
 * reset — a stylesheet that fetches something is a stylesheet that can
 * fail, and this site has no runtime to recover with.
 *
 * Colours are a printer's palette on purpose: the hero artefact is a
 * photograph of a worn business card, and a page built out of warm
 * paper and ink is the only background that will not fight it. */

:root {
  --paper: #ffffff;
  --paper-sunk: #f2f2f0;
  --ink: #111111;
  --ink-soft: #3d3d3d;
  --rule: #d9d9d9;
  --thread: #963821;   /* PMS 174 C — hex derives from the chip */
  --thread-lite: #e08a6d; /* on-ink rust: readable on black surfaces */
  --thread-deep: #7a2d1a; /* screen-only deep derivative */
  --measure: 34rem;  /* prose line length */
  --rail: 44rem;     /* the content column — see "ONE RAIL" at the foot */
  --band: 58rem;     /* the widest block on a page: plan cards, wide prose */
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1.0625rem/1.55 "Helvetica Neue", Helvetica, Arial, sans-serif;
}

@font-face {
  font-family: "Space Grotesk";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url(fonts/SpaceGrotesk-500-latin.woff2) format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url(fonts/SpaceGrotesk-700-latin.woff2) format("woff2");
}

h1, h2, h3, .wordmark-name, .mark, .button, .cta-primary, label, .nav {
  font-family: "Space Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

h1 { font-size: 1.75rem; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .75rem; }
h2 { font-size: 1.25rem; line-height: 1.25; margin: 0 0 .5rem; }

a { color: var(--thread-deep); }
a:hover, a:focus { color: var(--thread); }

img { max-width: 100%; height: auto; }

.skip {
  position: absolute;
  left: -100vw;
}
.skip:focus {
  left: .5rem;
  top: .5rem;
  background: var(--thread);
  color: var(--paper);
  padding: .5rem .75rem;
  z-index: 9;
}

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

.masthead {
  background: var(--ink);
  color: var(--paper);
  padding: .9rem 1.25rem;
}

.wordmark {
  display: flex;
  flex-direction: column;
  gap: .12rem;
  text-decoration: none;
  color: inherit;
}

/* THE MARK: a solid W and a 35% ghost W, pure type, accent-free.
 *
 * This comment used to sit above a `.mark-w2` that rendered the second
 * W at `opacity: 1` in rust — the comment and the code disagreed, and
 * DSN-97 shipped an icon set that followed the COMMENT (docs/BRAND.md,
 * "Launch assets"), so the tab icon and the masthead were two different
 * marks. The canvas annotation the founder approved is unambiguous:
 * "LOCKED: c3 ghost mark (ink + 35% ghost, accent-free) … the mark
 * never carries [the accent]" (docs/design/templates/canvas.json).
 * The code now says what the identity says. The accent lives in the
 * slab, the numbers, the buttons and the bands — never in the mark. */
.mark {
  font-weight: 700;
  font-size: 1.5rem;
  line-height: .8;
  letter-spacing: -0.09em;
  color: var(--paper);
}
.mark-w2 { color: var(--paper); opacity: .35; margin-left: -0.18em; }

.wordmark-name {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink);
}
.masthead .wordmark-name { color: var(--paper); }

.wordmark-est {
  font-weight: 500;
  color: #9a9a9a;
  letter-spacing: .1em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.25rem;
  list-style: none;
  margin: .75rem 0 0;
  padding: 0;
  font-size: .9375rem;
}

.nav { font-weight: 700; }
.masthead .nav a { color: var(--paper); }
.masthead .nav a[aria-current="page"] { color: var(--thread); border-color: var(--thread); }
.nav a {
  display: inline-block;
  padding: .5rem 0;
  text-decoration: none;
}

.nav a[aria-current="page"] {
  border-bottom: 2px solid var(--thread);
}

/* body ----------------------------------------------------------- */

main {
  padding: 1.5rem 1.25rem 0;
  max-width: 64rem;
  margin-inline: auto;
}

section {
  max-width: var(--measure);
  margin: 0 auto 1.6rem;
}

/* rows that are wider than prose (the pricing plans) keep the same
 * centre line but use the full main column. */
section.wide { max-width: none; }
section.wide > .plans { max-width: 58rem; margin-inline: auto; }

.lead {
  font-size: 1.1875rem;
  line-height: 1.55;
}

.beats { font-size: 1.25rem; }

ul.plain, ol.steps {
  padding-left: 1.15rem;
  margin: 0 0 1rem;
}

ul.plain li, ol.steps li { margin-bottom: .5rem; }

.button {
  display: inline-block;
  background: var(--thread);
  color: var(--paper);
  border: 1px solid var(--thread-deep);
  border-radius: 2px;
  padding: .7rem 1.15rem;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
}

.button:hover, .button:focus {
  background: var(--thread-deep);
  color: var(--paper);
}

/* THE PRIMARY CTA, AND THERE IS ONE OF IT (founder ruling).
 *
 * Every page's main call to action is this class and nothing else — no
 * second class to remember, no per-page size override. The About page
 * had a bare `.button` in the slot the home hero fills with a slab, so
 * the two pages asked for the same thing at two different sizes; the
 * fix is a component rather than a patch to About.
 *
 * It carries the whole treatment (it does NOT extend `.button`), so a
 * template cannot half-apply it. `.button` survives for the three plan
 * cards, which are card-level actions in a row of three and are not any
 * page's primary CTA. */
.cta-primary {
  /* `inline-flex` AT EVERY WIDTH, and an explicit line-height. Both are
   * about the component rendering at one size everywhere: a `flex` box
   * stretches to its container, so the same button was label-width in
   * the hero's flex row and full-bleed on About; and a `<button>`'s UA
   * `line-height: normal` made the contact page's submit 5px shorter
   * than the identical anchor on every other page. */
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  line-height: 1.55;
  background: var(--thread);
  color: var(--paper);
  border: 1px solid var(--thread-deep);
  border-radius: 2px;
  padding: 1.05rem 1.25rem;
  font-size: 1.13rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--thread-deep);
  color: var(--paper);
}

.cta { margin: 1.25rem 0 0; }

/* the card slot and the wordmark block ---------------------------- */

.card {
  margin: 0 0 1.5rem;
  padding: 1rem;
  background: var(--paper-sunk);
  border: 1px solid var(--rule);
}

.card img {
  display: block;
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--rule);
}

.card figcaption {
  margin-top: .75rem;
  font-size: .9375rem;
  color: var(--ink-soft);
}

.todo {
  display: block;
  margin-top: .5rem;
  padding: .5rem .625rem;
  border-left: 3px solid var(--thread);
  background: var(--paper);
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--ink);
}

.wordmark-block {
  margin: 0;
  padding: 1.25rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-align: center;
}

.wordmark-block .wordmark-name { font-size: 2rem; }

/* the period quote ------------------------------------------------ */

blockquote.period {
  margin: 0 0 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--thread);
  font-style: italic;
}

blockquote.period p { margin: 0 0 .5rem; }

.attribution {
  font-style: normal;
  font-size: .9375rem;
  color: var(--ink-soft);
}

/* the form -------------------------------------------------------- */

.field { margin: 0 0 1.15rem; }

.field label {
  display: block;
  font-size: .875rem;
  font-weight: 700;
  margin-bottom: .3rem;
}

.hint { font-weight: 400; color: var(--ink-soft); }

.intake input,
.intake textarea {
  display: block;
  width: 100%;
  font: inherit;
  padding: .6rem .65rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink-soft);
  border-radius: 2px;
}

.intake textarea { resize: vertical; }

/* The honeypot. Off-canvas rather than display:none — a form control
 * that is display:none is one some bots skip, and skipping is what this
 * field exists to prevent. aria-hidden and tabindex keep it away from a
 * person using a screen reader or a keyboard. */
.trap {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.fineprint {
  font-size: .9375rem;
  color: var(--ink-soft);
}

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

.footer {
  margin-top: 2rem;
  border-top: 1px solid var(--rule);
  padding: 1.25rem;
  font-size: .9375rem;
  color: var(--ink-soft);
}

.footer-line { margin: 0 0 .35rem; }

/* wider than a phone ---------------------------------------------- */

@media (min-width: 48em) {
  body { font-size: 1.125rem; }

  .masthead {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.75rem 2rem .75rem;
  }

  .nav { margin-top: 0; }

  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.4375rem; }

  main { padding: 2.25rem 2rem 0; }

  section { margin-bottom: 2rem; }

  .footer { padding: 1.5rem 2rem; }

  .card { padding: 1.5rem; }
}

/* pricing — three plans as stacked cards on a phone, a row on a desk.
 * Same mobile-first shape as everything above; the recommended plan
 * gets a border, not a shout. */
.plans { display: flex; flex-direction: column; gap: 1.25rem; }
.plan {
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
}
.plan h2 { margin-top: 0; margin-bottom: .125rem; }
.plan-tag { margin: 0 0 .75rem; color: var(--ink-soft); }
.plan-price { font-size: 1.75rem; font-weight: 700; margin: 0; }
.plan-price .per { font-size: 1rem; font-weight: 400; color: var(--ink-soft); }
.plan-annual { margin: .125rem 0 1rem; color: var(--thread-deep); }
.fine-print { font-size: .875rem; color: var(--ink-soft); }

@media (min-width: 720px) {
  .plans { flex-direction: row; align-items: stretch; }
  .plan { flex: 1 1 0; }
}



/* borrowed anatomy: outlined twin CTA, booking status, section eyebrows */
.button-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.button-outline:hover, .button-outline:focus {
  background: var(--ink);
  color: var(--paper);
}
.hero-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin: 1.5rem 0 0;
  font-family: "Space Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.status-dot {
  width: .5rem; height: .5rem; border-radius: 50%;
  background: var(--thread);
  box-shadow: 0 0 0 3px rgba(150, 56, 33, .18);
}

/* the flat, blunt system */
.hero-flat { padding: 2.75rem 0 1rem; }
.kicker {
  font-family: "Space Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 1rem;
}
.hero-h1 {
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0 0 1rem;
  text-wrap: balance;
}
.hero-flat .lead { max-width: 34rem; margin: 0 0 1.5rem; }
.hero-flat .cta { display: flex; gap: .9rem; }
.hero-status {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 1.4rem 0 0;
  font-family: "Space Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.status-dot {
  width: .5rem; height: .5rem; border-radius: 50%;
  background: var(--thread);
}
.hard { border-top: 3px solid var(--ink); padding-top: 1.5rem; }
.button { box-shadow: none; transition: none; }
.button:hover { transform: none; box-shadow: none; }
.button-outline { border-width: 2px; font-weight: 700; }
.plan { background: var(--paper); box-shadow: none; border: 2px solid var(--ink); }
.footer { background: var(--ink); color: var(--paper); padding: 1.6rem 1.25rem; }
.footer a { color: var(--paper); }
.footer-grid { max-width: var(--measure); margin: 0 auto; display: flex;
  justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-mark { font-family: "Space Grotesk", "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 700; font-size: 1.4rem; line-height: .8; letter-spacing: -0.09em;
  color: var(--paper); display: inline-block; margin-bottom: .5rem; }
/* Same mark, same rule. The rust here was a contrast workaround for
 * rust-on-ink (2.2:1); a 35% white ghost on ink needs no workaround. */
.footer-mark .mark-w2 { color: var(--paper); opacity: .35; }
.footer-line { margin: 0 0 .4rem; font-size: .9rem; max-width: 20rem; }
.footer-vet { margin: 0; font-family: "Space Grotesk", "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 700; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--thread-lite); }
.footer-nav { list-style: none; padding: 0; margin: 0; display: flex;
  flex-direction: column; gap: .3rem;
  font-family: "Space Grotesk", "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 700; font-size: .9rem; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-addr { max-width: var(--measure); margin: 1.2rem auto 0; font-size: .8rem;
  color: #9a9a9a; border-top: 1px solid #333; padding-top: .9rem; }
blockquote.period, blockquote.period p { font-family: Georgia, "Times New Roman", serif; }

/* ── the work-order system ─────────────────────────────────────── */

.hero-flat { padding: 1.6rem 0 1.2rem; }
.kicker {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 .85rem;
}
.hero-h1 {
  font-size: clamp(2.75rem, 11vw, 4.75rem);
  line-height: .96;
  letter-spacing: -0.045em;
  font-weight: 700;
  margin: 0 0 .9rem;
}
.slab { box-shadow: inset 0 -0.18em 0 var(--thread); }
.hero-flat .lead { font-size: 1.08rem; max-width: 22rem; margin: 0 0 1.2rem; }
.hero-flat .cta { margin: 0; }

.arrow { font-weight: 700; }

.factbar {
  max-width: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--ink);
  color: var(--paper);
  font-family: ui-monospace, Menlo, Consolas, monospace;
  /* The chips must not wrap and must not spill (founder ruling).
   * Below the breakpoint the bar is a 2x2 grid, so a cell is half the
   * viewport minus the gutters and the longest chip sets the type
   * size; the clamp is what keeps a 360px or 320px phone honest
   * without shrinking the 390px reading the review measured. */
  font-size: clamp(.6rem, 3.28vw, .8rem);
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin: 0 0 1.4rem;
}
.factbar span {
  padding: .72rem 1rem;
  border-right: 1px solid #333;
  border-bottom: 1px solid #333;
  display: flex;
  align-items: center;
  /* A chip that wraps makes the whole bar taller for one fact. The
   * guarantee is `nowrap` here and a character ceiling in
   * `tests/site/test_build.py`; without the test this would trade a
   * second line for a horizontal overflow, which is worse. */
  white-space: nowrap;
}
.factbar span:nth-child(even) { border-right: 0; }
.factbar span:nth-child(n+3) { border-bottom: 0; }
.fact-hot { color: var(--thread-lite); }

.label {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-top: 4px solid var(--ink);
  padding-top: .55rem;
  margin: 0 0 .3rem;
}
.rows { margin-bottom: 1.1rem; }

.rowlist { list-style: none; padding: 0; margin: 0; }
.rowlist li {
  display: flex;
  gap: .8rem;
  padding: .6rem 0;
  border-bottom: 1px solid var(--rule);
  margin: 0;
}
.rowlist li:last-child { border-bottom: 0; }
.rowlist b { font-family: "Space Grotesk", "Helvetica Neue", Helvetica, sans-serif; }
.li-num {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-weight: 700;
  font-size: .84rem;
  color: var(--thread);
  flex: 0 0 1.5rem;
  padding-top: .12rem;
}

.inkband {
  max-width: none;
  background: var(--ink);
  margin: 1.3rem 0;
  padding: 1.5rem 1.25rem;
}
.inkband-line {
  max-width: var(--measure);
  margin: 0 auto;
  color: var(--paper);
  font-family: "Space Grotesk", "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 5.4vw, 1.9rem);
  letter-spacing: -0.02em;
  line-height: 1.18;
}
.inkband-hot { color: var(--thread-lite); }

/* the process as a FLOW, not a list — nodes on a rust spine, so it
 * cannot be confused with the 01-05 ledger line items above it */
.steplist {
  list-style: none;
  padding: .25rem 0 0;
  margin: 0;
  position: relative;
}
.steplist::before {
  content: "";
  position: absolute;
  left: .8rem;
  top: .5rem;
  bottom: -1.1rem;          /* spine runs INTO the closer band below */
  width: 3px;
  background: var(--thread);
}
.steplist li {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding: .45rem 0 .95rem;
  position: relative;
}
.stepnum {
  position: relative;
  z-index: 1;
  flex: 0 0 1.65rem;
  height: 1.65rem;
  background: var(--thread);
  color: var(--paper);
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-weight: 700;
  font-size: .95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steplist li span:last-child { padding-top: .12rem; }

.closer {
  display: block;
  background: var(--thread);
  color: var(--paper);
  text-decoration: none;
  padding: 1.4rem 1.25rem;
  margin-top: 1.4rem;
}
.closer:hover, .closer:focus { background: var(--thread-deep); color: var(--paper); }
.closer-kicker {
  display: block;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #f2c4b2;
}
.closer-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "Space Grotesk", "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 700;
  font-size: clamp(1.3rem, 5vw, 1.7rem);
  letter-spacing: -0.02em;
  margin-top: .2rem;
}

@media (min-width: 48em) {
  .hero-flat {
    padding: 3rem 0 1.6rem;
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 2.5rem;
    align-items: center;
    max-width: 64rem;
  }
  .hero-flat .lead { font-size: 1.15rem; margin-bottom: 1.4rem; }
  .factbar { display: flex; font-size: .9rem; }
  .factbar span { flex: 1; border-bottom: 0; border-right: 1px solid #333; }
  .factbar span:last-child { border-right: 0; }
  .inkband { padding: 2rem; }
  .closer { padding: 1.7rem 2rem; }
}

/* about: mission + small artifact + values */
.mission-line {
  font-family: "Space Grotesk", "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 5.5vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 1.2rem;
}
.artifact-small { margin: 0; }
.artifact-small img { max-width: 100%; height: auto; border: 3px solid var(--ink); }
.artifact-small figcaption { font-size: .85rem; color: var(--ink-soft); margin-top: .5rem; }
.values b { font-family: "Space Grotesk", "Helvetica Neue", Helvetica, sans-serif; }

/* work: pro thumbnails + starter carousel */
.workgrid { display: flex; flex-direction: column; gap: 1.1rem; margin-bottom: .9rem; }
.worksite { display: block; text-decoration: none; color: inherit; }
.worksite img { width: 100%; height: auto; border: 3px solid var(--ink); display: block; }
.worksite-line {
  display: block;
  margin-top: .45rem;
  font-family: "Space Grotesk", "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 700;
  font-size: .95rem;
}
.carousel-head { max-width: var(--measure); margin: 0 auto; }
.carousel-note { font-size: .95rem; color: var(--ink-soft); margin: 0 0 1rem; }
.carousel {
  display: flex;
  gap: .9rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 1.25rem .9rem;
  -webkit-overflow-scrolling: touch;
}
.carousel img {
  flex: 0 0 auto;
  width: 240px;
  height: auto;
  align-self: flex-start;
  border: 3px solid var(--ink);
  scroll-snap-align: start;
}
@media (min-width: 48em) {
  .workgrid { flex-direction: row; }
  .worksite { flex: 1; }
  .carousel { padding: 0 2rem .9rem; }
}


/* ── DSN-100 ───────────────────────────────────────────────────────
 *
 * The pre-launch review (`docs/reviews/SITE_REVIEW_2026-08-29.md`) and
 * the founder's value-proposition ruling of the same day. Everything
 * below is either ONE RAIL (F6) or a component the new copy needs.
 */

/* the hero's right-hand column: a search result, drawn ------------- */

/* Not a screenshot. The hero used to end at a bottom-aligned lead and
 * a button, leaving the top-right of the 1440 grid empty; the founder's
 * note was that it "looks like it is begging for something". What it
 * was begging for is the proof of the sentence beside it — so this is
 * the mechanism, in markup: a name, a town, hours and services, laid
 * out the way a search engine lays them out. Being HTML it carries no
 * camera metadata and no real business, and it restyles with the site
 * instead of going stale in a JPEG. */
.serp {
  margin: 1.6rem 0 0;
  padding: .9rem 1rem 1rem;
  background: var(--paper-sunk);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--ink);
}
.serp-cap,
.serp-note {
  margin: 0;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.serp-q {
  margin: .65rem 0 .8rem;
  padding: .45rem .8rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: .95rem;
  color: var(--ink-soft);
}
.serp-hit {
  background: var(--paper);
  border-left: 3px solid var(--thread);
  padding: .7rem .85rem;
}
.serp-url {
  margin: 0;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: .72rem;
  color: var(--ink-soft);
}
.serp-title {
  margin: .15rem 0 .35rem;
  font-family: "Space Grotesk", "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
}
.serp-meta { margin: 0; font-size: .85rem; line-height: 1.45; color: var(--ink-soft); }
.serp-note { margin-top: .8rem; color: var(--thread); }

/* "Why not just Facebook?" ---------------------------------------- */

/* A THIRD list treatment, on purpose. The 01-05 ledger says "here is
 * what is in the box" and the numbered spine says "here is the order it
 * happens in"; this one says "here are four things that are not true of
 * the thing you already have", so it is marked with a rust square and
 * no number — a count would imply a sequence it does not have. */
.sub-label {
  margin: 1.15rem 0 .1rem;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.rowlist-bare li::before {
  content: "";
  flex: 0 0 .5rem;
  height: .5rem;
  margin-top: .6rem;
  background: var(--thread);
}
.rows-close {
  margin: 1.05rem 0 0;
  font-family: "Space Grotesk", "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.35;
}

/* pricing: an action inside the card that won --------------------- */

/* All three buttons are the same width and sit on the same baseline,
 * which is what `margin-top: auto` in a column flexbox buys: the cards
 * have different numbers of bullets and the buttons must not wander. */
.plan { display: flex; flex-direction: column; }
.plan ul { margin: 0 0 1.15rem; }
.plan-cta { margin: auto 0 0; }
.plan-cta .button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  font-weight: 700;
}

/* ONE RAIL ───────────────────────────────────────────────────────── */

/* F6: at 1440 this page had two left edges — 233px for the hero, the
 * fact bar, the ink band and the closer (main's content box) and 441px
 * for every prose section (a 34rem column centred inside it). A page
 * whose voice is built on hard left rules and 01/02 numbering cannot
 * have a ledger whose columns do not line up.
 *
 * The rail is main's own content box. Prose stops being centred and
 * starts at that edge, capped at --rail with paragraphs at --measure so
 * the line length is unchanged; the three full-bleed bands are pulled
 * out by main's padding and given the same padding back, so their
 * BACKGROUNDS reach main's border box while their TEXT lands on exactly
 * the same x as the prose above them. One edge, several widths.
 *
 * Phone is untouched: at 390 there is one column and the question does
 * not arise. */
@media (min-width: 48em) {
  section,
  .carousel-head,
  .inkband-line { margin-left: 0; margin-right: auto; }

  section { max-width: var(--rail); }
  section p,
  section ul:not(.rowlist):not(.steplist),
  section ol:not(.steplist),
  section blockquote { max-width: var(--measure); }
  /* Display-weight statements are set to the rail, not the prose
   * measure — at 34rem this one broke into three ragged lines with two
   * words on the last. */
  .rows-close { max-width: var(--rail); }
  section.wide > .plans { margin-inline: 0; }
  .carousel { padding-left: 0; }

  .factbar,
  .inkband,
  .closer { margin-inline: -2rem; }
  .inkband,
  .closer { padding-inline: 2rem; }
  /* The cells carry 1rem of their own, so the bar gives back the other
   * 1rem and the first chip's TEXT — not its cell — lands on the rail. */
  .factbar { padding-inline: 1rem; }

  /* The footer is outside main, so it earns the rail arithmetically:
   * main's content left edge is (viewport - 64rem)/2 + 2rem, which is
   * (viewport - 60rem)/2 — the left edge of a 60rem box centred in the
   * same viewport. */
  .footer-grid,
  .footer-addr { max-width: 60rem; }

  /* The hero is one copy column and one figure, not four grid items.
   * The headline is a SENTENCE now rather than a four-word slogan, so
   * the phone's 4.75rem ceiling would set it in six lines at 1440; the
   * desktop cut is smaller and the line count comes back to four. */
  .hero-copy { min-width: 0; }
  .hero-flat .hero-h1 { font-size: clamp(2.5rem, 3.8vw, 3.5rem); }
  .hero-flat .lead { max-width: var(--measure); }
  .serp { margin: 0; }
}

/* ── DSN-100b: the switch page and its two entry points ───────────── */

/* The home page's whole promotion of `switch.html`: one line, set in
 * the fact bar's own mono so it reads as a footnote to the bar above it
 * rather than as a second offer. Founder ruling — it must not compete
 * with "Why not just Facebook?", which is the page's actual argument. */
.aside-line {
  margin: -.9rem 0 1.4rem;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.aside-line a { color: var(--thread); text-decoration: none; border-bottom: 2px solid var(--thread); }
.aside-line a:hover, .aside-line a:focus { color: var(--thread-deep); border-color: var(--thread-deep); }

.plan-note {
  margin: 0 0 1rem;
  font-size: .875rem;
  color: var(--ink-soft);
}

/* The spend bands: the ledger row, with money in the number column.
 * A wider column than `.li-num` because these are amounts, not indices,
 * and they must not wrap mid-range. */
.bandlist .li-amt {
  flex: 0 0 6.5rem;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.35;
  color: var(--thread);
  padding-top: .1rem;
}
.bandlist .li-amt .per { font-weight: 400; color: var(--ink-soft); }
.bandlist b { font-family: "Space Grotesk", "Helvetica Neue", Helvetica, sans-serif; }

@media (min-width: 48em) {
  .aside-line { margin-top: -1.1rem; }
  /* Three 300px cards and two gaps = 929px in the 960px rail, so the
   * Starter row and the full-build row above it are the same size. */
  .carousel img { width: 300px; }
  .bandlist .li-amt { flex: 0 0 8rem; font-size: 1.05rem; }
}

/* ── the inner pages, in the same idiom ──────────────────────────── */

/* `section.hero` had no rule at all, so every inner page's H1 fell back
 * to the base 36px and read smaller than the line under it. One
 * treatment for all four: the display cut, a size between the base h1
 * and the home page's hero. */
.hero h1 {
  font-family: "Space Grotesk", "Helvetica Neue", Helvetica, sans-serif;
  font-size: clamp(2rem, 5.5vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0 0 .9rem;
}
.hero .kicker { margin-bottom: .7rem; }

/* pricing: an ink band across the head of every card ---------------- */

.plan-head {
  background: var(--ink);
  color: var(--paper);
  margin: -1.25rem -1.5rem 1rem;
  padding: .85rem 1.5rem .95rem;
}
.plan-head h2 { margin: 0; color: var(--paper); }
.plan-head .plan-tag {
  margin: .2rem 0 0;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #9a9a9a;
}
.plan-price .per {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: .8rem;
  letter-spacing: .06em;
}
.plan-annual {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: .74rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Bullets as numbered ruled line items — the ledger, at card scale.
 * The numerals come from a counter so the templates stay a list of
 * facts rather than a list of facts with their positions typed in. */
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.15rem;
  counter-reset: planitem;
}
/* NOT a flex row. A flex container turns each run of inline content
 * into its own anonymous item, so `<b>Switching</b> $39/mo …` became
 * two columns and the terms wrapped into a ragged gutter. The marker is
 * positioned and the content stays ordinary inline flow. */
.plan li {
  position: relative;
  margin: 0;
  padding: .42rem 0 .42rem 1.85rem;
  border-bottom: 1px solid var(--rule);
  font-size: .95rem;
  line-height: 1.4;
}
.plan li:last-child { border-bottom: 0; }
.plan li::before {
  counter-increment: planitem;
  content: counter(planitem, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: .62rem;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-weight: 700;
  font-size: .72rem;
  color: var(--thread);
}
/* A work-order line item: the mono label on its own rule, the terms
 * under it. Inline, the label pushed the first line of a narrow card
 * column into a ragged indent. */
.li-label {
  display: block;
  margin-bottom: .1rem;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--thread);
}

/* The wide prose blocks carry the same ruled list as the cards, minus
 * the numerals — these are options and policies, not a sequence. */
.colbody ul {
  list-style: none;
  padding: 0;
  margin: .3rem 0 0;
}
.colbody li {
  position: relative;
  margin: 0;
  padding: .5rem 0 .5rem 1.2rem;
  border-bottom: 1px solid var(--rule);
}
.colbody li:last-child { border-bottom: 0; }
.colbody li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: .5rem;
  height: .5rem;
  background: var(--thread);
}
.colbody li strong {
  font-family: "Space Grotesk", "Helvetica Neue", Helvetica, sans-serif;
}

/* contact: the form as a work order -------------------------------- */

.intake { counter-reset: field; }
.field label {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .35rem;
}
.field label::before {
  counter-increment: field;
  content: counter(field, decimal-leading-zero) "\00a0\00a0";
  color: var(--thread);
}
.field .hint { letter-spacing: .06em; color: var(--ink-soft); }

.intake input,
.intake textarea {
  border: 0;
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  background: var(--paper-sunk);
  padding: .7rem .75rem;
}
.intake input:focus,
.intake textarea:focus {
  background: var(--paper);
  outline: 2px solid var(--thread);
  outline-offset: 1px;
}
.intake .cta { margin-top: 1.5rem; }

@media (min-width: 48em) {
  .plan-head { margin: -1.25rem -1.5rem 1.1rem; }
}

/* the wide pages fill one band, top to bottom ---------------------- */

/* Founder, on the desktop screenshots: the plan cards ran the full
 * band while the intro and the fit guidance sat in a 34rem measure
 * above them, so the page grew a competing RIGHT edge — the same fault
 * the review found on the left. Nothing on a page may be narrower than
 * the band below it. Prose keeps its measure by being set in two
 * columns of it rather than by being a narrow block in a wide page. */
@media (min-width: 48em) {
  .hero-split {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 2.5rem;
    align-items: end;
    max-width: var(--band);
  }
  .hero-split .lead { max-width: none; margin-bottom: .35rem; }

  section.wide > .label,
  section.wide > .colbody,
  section.wide > .plans { max-width: var(--band); }

  .colbody {
    column-count: 2;
    column-gap: 3rem;
  }
  .colbody > :first-child { margin-top: 0; }
  /* `section ul:not(.rowlist):not(.steplist)` above is (0,2,2) and
     beats a bare `.colbody ul` at (0,1,1) — so that half of this rule
     has never actually applied, and a one-column body would leave the
     prose measure's right edge sitting inside the band's. Said at
     (0,3,2) it wins. In two columns nothing moves: a column is already
     narrower than the measure. */
  .colbody p,
  section.wide .colbody ul { max-width: none; }
  .colbody li { break-inside: avoid; }

  /* "Which one fits" is three lines, one per plan (founder ruling;
     see docs/BRAND.md, "Pricing-page copy"). Two columns would put two
     plans in the left and one in the right, which reads as a list that
     ran out rather than as three parallel answers — so this one body
     stays a single column and keeps the band's right edge. */
  .colbody.one-col { column-count: 1; }
}
