/* Home Twin pages: shared styles. Each page links /site.css. */
@font-face { font-family: "Source Serif 4"; src: url(/fonts/SourceSerif4-latin.woff2) format("woff2"); font-weight: 400 700; font-display: block; }
:root {
  --paper: #f6f1e7;
  --card: #fffdf8;
  --ink: #2b2a28;
  --muted: #6f695f;
  --line: #e4dccd;
  --brick: #b5532f;
  --brick-deep: #8f3f22;
  --brick-soft: #f3e1d7;
  --sage: #6f8f5a;
  --amber: #e0a030;
  --serif: "Source Serif 4", ui-serif, "New York", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --col: 1080px;
}
* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; margin: 0; }
p { margin: 0; }
a { color: var(--brick); }
.wrap { max-width: var(--col); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brick);
}

/* ---------- Nav ---------- */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand svg { width: 34px; height: 34px; border-radius: 8px; }
.brand b { font-family: var(--serif); font-size: 21px; font-weight: 600; }
.brand small { color: var(--muted); font-size: 13px; margin-left: 4px; }
.btn {
  display: inline-block; border: 0; cursor: pointer; text-decoration: none;
  background: var(--brick); color: #fff; font: 600 15px/1 var(--sans);
  padding: 13px 20px; border-radius: 999px; transition: background 0.15s;
}
.btn:hover { background: var(--brick-deep); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { background: var(--card); }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 48px 0 80px; }
.hero h1 { font-size: clamp(42px, 6vw, 68px); margin: 14px 0 18px; }
.hero h1 em { font-style: normal; color: var(--brick); }
.hero .lede { font-family: var(--serif); font-size: 22px; line-height: 1.45; color: var(--ink); max-width: 30ch; }
.hero .sub { margin-top: 16px; color: var(--muted); max-width: 44ch; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

.scene { position: relative; }
.stage { position: relative; width: 100%; aspect-ratio: 1 / 1; }
.stage > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.mini-crisp { transition: opacity .35s ease; }
.mini-crisp svg { width: 100%; height: 100%; display: block; }
.stage canvas { opacity: 0; pointer-events: none; transition: opacity .26s ease; }
.mini-crisp svg { transition: transform .2s cubic-bezier(.5,0,.75,0); transform-origin: 50% 70%; }
.mini-crisp.brace svg { transform: scale(.965, .95); }
.mini-crisp.land svg { animation: land .5s cubic-bezier(.3,1.6,.5,1); transform-origin: 50% 70%; }
@keyframes land { from { transform: none; } 35% { transform: scale(1.015, .985); } 70% { transform: scale(.996, 1.004); } to { transform: none; } }

/* The miniature's own motion (the app's stylesheet does the same). */
.mini .you-layer { display: none; }
.mini .cloud { animation: drift linear infinite; }
@keyframes drift { from { transform: translateX(-40px); } to { transform: translateX(40px); } }
.mini .cloud { animation-direction: alternate; }
.mini .star { animation: twinkle ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: var(--o, .6); } to { opacity: calc(var(--o, .6) * .3); } }
.mini .flake { animation: fall linear infinite; }
@keyframes fall { from { transform: translate(0, 0); } to { transform: translate(var(--dx, 0), var(--fall, 300px)); } }
.mini .drop { animation: fall linear infinite; }

/* ---------- Sections ---------- */
section.block { padding: 88px 0; border-top: 1px solid var(--line); }
.block h2 { font-size: clamp(32px, 4vw, 44px); margin: 12px 0 18px; max-width: 22ch; }
.block .intro { font-size: 19px; color: var(--muted); max-width: 58ch; }

.story { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.story p + p { margin-top: 16px; }
.story .big { font-family: var(--serif); font-size: 26px; line-height: 1.4; }

.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px;
}
.card .q { font-family: var(--serif); font-size: 19px; line-height: 1.4; }
.card .k { margin-top: 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }


/* Things + chat, and the floor plan */
.feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.feature.flip > :first-child { order: 2; }
.feature h2 { max-width: 16ch; }
.things { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 28px; }
.thing { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.thing b { font-weight: 600; }
.thing span { color: var(--muted); font-size: 13px; }
.thing i { font-style: normal; font-size: 12px; font-weight: 600; color: var(--sage); margin-top: 4px; }
.thing i.due { color: var(--brick); }
.also { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; font-size: 14.5px; color: var(--muted); }
.also b { display: block; color: var(--ink); font-weight: 600; }
.chat {
  background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 22px 18px;
  display: flex; flex-direction: column; gap: 10px; box-shadow: 0 18px 40px rgba(43, 42, 40, 0.08);
  max-width: 420px; justify-self: center; width: 100%;
}
.msg { max-width: 82%; padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 1.4; }
.msg.me { align-self: flex-end; background: var(--brick); color: #fff; border-bottom-right-radius: 6px; }
.msg.bot { align-self: flex-start; background: var(--paper); border-bottom-left-radius: 6px; }
.msg .snap { display: block; font-size: 12px; opacity: .85; margin-bottom: 4px; }
.action { align-self: flex-start; display: flex; gap: 14px; align-items: center; font-size: 13px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line); background: #f3f6ee; color: #4c6a3a; }
.action u { color: var(--muted); text-decoration: none; font-weight: 600; }
.plan { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.plan svg { width: 100%; height: auto; display: block; }
.fine { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* Chatbot comparison */
.compare { margin-top: 40px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--card); }
.compare .row { display: grid; grid-template-columns: 1fr 1.1fr 1.4fr; }
.compare .row + .row { border-top: 1px solid var(--line); }
.compare .row > div { padding: 18px 22px; }
.compare .head > div { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-top: 14px; padding-bottom: 14px; background: var(--paper); }
.compare .ask { font-family: var(--serif); font-size: 18px; }
.compare .bot { color: var(--muted); }
.compare .us { background: var(--brick-soft); }
.compare .head .us { background: var(--brick-soft); color: var(--brick-deep); }
.closer { margin-top: 28px; font-family: var(--serif); font-size: 22px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; counter-reset: step; }
.step { position: relative; padding-top: 18px; border-top: 2px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); font-family: var(--serif); font-size: 15px; font-weight: 700; color: var(--brick); }
.step h3 { font-size: 21px; margin: 6px 0 8px; }
.step p { color: var(--muted); font-size: 15.5px; }
.step:last-child { border-top-color: var(--brick); }

/* Privacy */
.promise {
  margin-top: 32px; padding: 36px 40px; border-radius: 22px;
  background: var(--ink); color: var(--paper);
}
.promise p { font-family: var(--serif); font-size: clamp(24px, 3vw, 32px); line-height: 1.35; }
.promise p span { color: #f0b24a; }
.promise small { display: block; margin-top: 18px; color: #bdb5a7; font-size: 15px; max-width: 64ch; line-height: 1.55; }

/* Waitlist */
.join { text-align: center; }
.join h2 { margin-left: auto; margin-right: auto; }
.join .intro { margin: 0 auto; }
.wl { max-width: 520px; margin: 30px auto 0; text-align: left; }
.wl-grid { display: grid; grid-template-columns: 1fr 90px 110px; gap: 12px; }
.wl label { display: flex; flex-direction: column; gap: 5px; font-size: 14px; font-weight: 600; }
.wl label .lbl span { font-weight: 400; color: var(--muted); }
.wl label.full { grid-column: 1 / -1; }
.wl input {
  font: 16px var(--sans); color: var(--ink); padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--card); width: 100%;
}
.wl input:focus { outline: 2px solid var(--brick); outline-offset: 1px; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.wl-note { margin: 16px 0 14px; font-size: 14px; color: var(--muted); }
.wl .btn { width: 100%; padding: 15px; font-size: 16px; }
.wl .btn[disabled] { opacity: .6; cursor: default; }
.wl-error { margin-top: 12px; min-height: 1.4em; color: var(--brick-deep); font-size: 15px; text-align: center; }
.wl-done {
  max-width: 520px; margin: 30px auto 0; padding: 22px 24px; border-radius: 18px;
  background: var(--card); border: 1px solid var(--line); font-family: var(--serif); font-size: 21px; line-height: 1.4;
}

footer { padding: 40px 0 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; }
  .scene { max-width: 460px; width: 100%; margin: 0 auto; }
  .story { grid-template-columns: 1fr; gap: 24px; }
  .proof { grid-template-columns: 1fr 1fr; }
  .feature { grid-template-columns: 1fr; gap: 32px; }
  .feature.flip > :first-child { order: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  section.block { padding: 64px 0; }
  .proof, .steps { grid-template-columns: 1fr; }
  .things { grid-template-columns: 1fr 1fr; }
  .wl-grid { grid-template-columns: 1fr 1fr; }
  .wl label:nth-child(4) { grid-column: 1 / -1; }
  .compare .row { grid-template-columns: 1fr; }
  .compare .head { display: none; }
  .compare .row > div { padding: 12px 18px; }
  .compare .ask { padding-top: 18px; }
  .compare .bot::before { content: "A chatbot: "; font-weight: 600; }
  .compare .us::before { content: "Home Twin: "; font-weight: 600; color: var(--brick-deep); }
  .promise { padding: 28px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .mini * { animation: none !important; }
}

/* Cross-fade between pages instead of a blank flash (browsers that support it) */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* ---------- Site nav (every page) ---------- */
.nav { gap: 20px; }
.nav-links { display: flex; gap: 22px; align-items: center; font-size: 15px; }
.nav-links a { color: var(--ink); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { border-bottom-color: var(--line); }
.nav-links a[aria-current="page"] { border-bottom-color: var(--brick); }
.nav-toggle { display: none; }
.nav-cta { display: none; }
@media (max-width: 960px) {
  .nav { flex-wrap: wrap; row-gap: 10px; }
  .nav-links { order: 3; width: 100%; flex-wrap: wrap; gap: 6px 18px; }
  /* With JS: a Menu button that opens a full-width list */
  .js .nav-btn { display: none; }
  .js .nav-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
    border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink);
    font: 600 16px var(--sans); cursor: pointer; }
  .nav-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
  .nav-toggle:focus-visible, .nav-links a:focus-visible { outline: 3px solid var(--brick); outline-offset: 2px; }
  .js .nav-links { display: none; }
  .js .nav.open .nav-links { display: flex; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 6px 0; margin-top: 4px; }
  .js .nav.open .nav-links a { font-size: 18px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
  .js .nav.open .nav-links a[aria-current="page"] { color: var(--brick-deep); font-weight: 600; }
  .js .nav.open .nav-links .nav-cta { display: block; border-bottom: 0; color: var(--brick-deep); font-weight: 600; }
}

/* ---------- Inner page header ---------- */
.page-head { padding: 40px 0 72px; max-width: 760px; }
.page-head h1 { font-size: clamp(38px, 5.4vw, 60px); margin: 14px 0 18px; }
.page-head h1 em { font-style: normal; color: var(--brick); }
.page-head .lede { font-family: var(--serif); font-size: 22px; line-height: 1.45; max-width: 36ch; }
.page-head .sub { margin-top: 16px; color: var(--muted); max-width: 56ch; }

/* Plain two-column text block */
.cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 48px; margin-top: 36px; }
.cols h3 { font-size: 22px; margin-bottom: 8px; }
.cols p { color: var(--muted); }
.cols p + p { margin-top: 10px; }
.cols3 { grid-template-columns: repeat(3, 1fr); }

/* Tags on cards: what's built and what isn't */
.tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px; background: #e8efe1; color: #4c6a3a; }
.tag.soon { background: var(--brick-soft); color: var(--brick-deep); }
.tag.idea { background: #ece7f3; color: #5b4a7a; }

/* ---------- The house, with callouts ---------- */
.callouts { position: relative; max-width: 760px; margin: 40px auto 0; }
.callouts .pic svg { width: 100%; height: auto; display: block; }
.callouts .lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.callouts .lines line { stroke: var(--ink); stroke-width: 1.4; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.callouts .lines circle { fill: var(--brick); stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; }
.note {
  position: absolute; width: 210px; background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 10px 13px; font-size: 13.5px; line-height: 1.35; box-shadow: 0 10px 26px rgba(43, 42, 40, 0.10);
}
.note b { display: block; font-size: 14px; }
.note span { color: var(--muted); }
.note i { font-style: normal; font-weight: 600; font-size: 12px; color: var(--sage); }
.note i.due { color: var(--brick); }
.callouts-list { display: none; }
.caption { margin-top: 18px; text-align: center; font-size: 14px; color: var(--muted); }
@media (max-width: 760px) {
  .callouts .note, .callouts .lines { display: none; }
  .callouts-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
  .callouts-list .note { position: static; width: auto; box-shadow: none; }
}

/* ---------- Things: a phone-ish list ---------- */
.groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.group { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.group h3 { font-size: 18px; margin-bottom: 10px; }
.group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; }
.group li { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 8px; }
.group li span { color: var(--muted); text-align: right; }
.group li span.due { color: var(--brick); font-weight: 600; }
.record { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 24px; box-shadow: 0 18px 40px rgba(43, 42, 40, 0.08); }
.record h3 { font-size: 24px; }
.record .meta { color: var(--muted); font-size: 14px; margin-top: 2px; }
.record dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 18px 0 0; font-size: 14.5px; }
.record dt { color: var(--muted); }
.record dd { margin: 0; }
.record .k { margin-top: 20px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.record .job { display: flex; justify-content: space-between; margin-top: 8px; font-size: 14.5px; padding: 10px 12px; border-radius: 12px; background: var(--paper); }
.record .job span { color: var(--brick); font-weight: 600; }

/* ---------- What's next: roadmap ---------- */
.road { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; }
.road .card h3 { font-size: 22px; margin: 12px 0 8px; }
.road .card p { color: var(--muted); }
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.modes .card h3 { font-size: 21px; margin: 10px 0 8px; }
.modes .card p { color: var(--muted); font-size: 15.5px; }

/* ---------- How I use it: a letter ---------- */
.letter { max-width: 680px; }
.letter p { font-family: var(--serif); font-size: 20px; line-height: 1.6; }
.letter p + p { margin-top: 18px; }
.letter h2 { margin-top: 56px; }
.letter .sig { margin-top: 28px; font-family: var(--sans); font-size: 15px; color: var(--muted); }
.uses { display: grid; gap: 14px; margin-top: 24px; }
.use { display: grid; grid-template-columns: 170px 1fr; gap: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.use b { font-family: var(--serif); font-size: 18px; }
.use p { font-family: var(--sans); font-size: 16px; color: var(--muted); line-height: 1.55; }

/* ---------- Early access / founding members ---------- */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 36px auto 0; max-width: 860px; text-align: left; }
.perks .card h3 { font-size: 19px; margin-bottom: 6px; }
.perks .card p { color: var(--muted); font-size: 15px; }
.cta-band { text-align: center; }
.cta-band h2 { margin-left: auto; margin-right: auto; }
.cta-band .intro { margin: 0 auto; }
.cta-band .btn { margin-top: 28px; }

@media (max-width: 860px) {
  .cols, .cols3, .groups, .road, .modes, .perks { grid-template-columns: 1fr; }
  .use { grid-template-columns: 1fr; gap: 4px; }
}
@media (min-width: 600px) and (max-width: 860px) {
  .groups, .modes, .perks, .cols3 { grid-template-columns: 1fr 1fr; }
}
.callouts .dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--brick); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
@media (max-width: 760px) { .callouts .dot { display: none; } }

/* Gear card icons */
.thing .ico { width: 34px; height: 34px; padding: 6px; margin-bottom: 8px; border-radius: 10px; background: var(--brick-soft);
  fill: none; stroke: var(--brick-deep); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Floor plan, step by step: three drawings from the app's own renderer, stacked */
.plan-stack { display: grid; }
.plan-stack img { grid-area: 1 / 1; width: 100%; height: auto; display: block; opacity: 0; transition: opacity .5s ease; border-radius: 10px; }
.plan-steps[data-step="1"] .plan-stack img:nth-child(1),
.plan-steps[data-step="2"] .plan-stack img:nth-child(2),
.plan-steps[data-step="3"] .plan-stack img:nth-child(3) { opacity: 1; }
/* The layers: a three-step bar. Done layers are filled, the current one fills while it shows. */
.plan-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.plan-tabs button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left;
  font: 600 14px/1.25 var(--sans); color: var(--muted); background: none; border: 0; padding: 0 0 4px; cursor: pointer; }
.plan-tabs button small { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); opacity: .8; }
.plan-tabs button i { display: block; width: 100%; height: 4px; border-radius: 4px; background: var(--line); margin-bottom: 8px; overflow: hidden; position: relative; }
.plan-tabs button i::after { content: ""; position: absolute; inset: 0; background: var(--brick); transform: scaleX(0); transform-origin: left; }
.plan-tabs button[aria-selected="true"] { color: var(--ink); }
.plan-tabs button[aria-selected="true"] small { color: var(--brick-deep); opacity: 1; }
.plan-steps[data-step="2"] [data-go="1"] i::after,
.plan-steps[data-step="3"] [data-go="1"] i::after,
.plan-steps[data-step="3"] [data-go="2"] i::after,
.plan-steps.held [aria-selected="true"] i::after { transform: scaleX(1); }
.plan-steps:not(.held) [aria-selected="true"] i::after { animation: plan-fill 3.2s linear forwards; }
@keyframes plan-fill { to { transform: scaleX(1); } }
.plan-tabs button:focus-visible { outline: 3px solid var(--brick); outline-offset: 4px; border-radius: 4px; }
.plan-note { margin-top: 10px; font-size: 14px; color: var(--muted); min-height: 2.8em; }
@media (prefers-reduced-motion: reduce) { .plan-steps * { transition: none !important; } }

/* How it learns: the card's label goes first */
.smarts .card .k { margin: 0 0 10px; color: var(--brick); }
.smarts .card .q { font-size: 17px; }
.block h2 em { font-style: normal; color: var(--brick); }
.smarts .card .k .tag { margin-left: 6px; vertical-align: 1px; font-size: 10.5px; padding: 3px 7px; }

/* ---------- Nav brand: the name and its byline share a baseline ---------- */
.brand-name { display: inline-flex; align-items: baseline; gap: 8px; }
.brand-name small { margin-left: 0; }
@media (max-width: 600px) {
  /* On phones the byline sits under the name */
  .brand-name { flex-direction: column; align-items: flex-start; gap: 1px; }
  .brand-name b { line-height: 1.1; }
  .brand-name small { font-size: 12px; line-height: 1.2; }
}

/* ---------- Footer ---------- */
footer.site-foot { padding: 64px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
footer.site-foot .wrap { display: block; }
.foot-top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; }
.foot-brand p { margin: 14px 0 20px; max-width: 30ch; }
.foot-brand .btn { font-size: 14px; padding: 11px 18px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot-cols h4 { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.foot-cols a { display: block; color: var(--muted); text-decoration: none; padding: 4px 0; }
.foot-cols a:hover { color: var(--ink); }
.site-foot .foot-sds { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.foot-sds { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 36px; text-align: center; }
.foot-sds p { margin: 0; font-size: 12px; letter-spacing: 0.03em; color: #a8a29e; }
.foot-sds a.sds-link { color: #a8a29e; text-decoration: none; transition: color .15s; }
.foot-sds a.sds-link:hover { color: #ff6d00; }
.foot-sds a.sds-ball { display: block; filter: grayscale(1); opacity: .5; transition: filter .15s, opacity .15s; }
.foot-sds a.sds-ball:hover, .foot-sds a.sds-link:hover + a.sds-ball { filter: none; opacity: 1; }
.foot-sds img { display: block; width: 24px; height: 24px; }
.foot-sds .foot-fine { font-size: 12px; letter-spacing: 0; }

@media (max-width: 860px) {
  .foot-top { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 600px) {
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-cols > div:last-child { grid-column: 1 / -1; }
}

/* Headings break into even lines, never a lone last word */
h1, h2, h3 { text-wrap: balance; }
.lede, .intro, .sub, .closer, .card .q { text-wrap: pretty; }
.cta-band h2, .join h2 { max-width: 18ch; }

/* Worth it: the independent-company box */
.indie { display: grid; grid-template-columns: 150px 1fr; gap: 36px; align-items: start; margin-top: 48px;
  padding: 36px 40px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); }
.indie-art { width: 130px; height: 130px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.indie h3 { font-size: 28px; margin-bottom: 12px; }
.indie p { color: var(--muted); max-width: 62ch; }
.indie .fine { margin-top: 12px; }
.indie .more { display: inline-block; margin-top: 22px; font-weight: 600; text-decoration: none; }
.indie .more:hover { text-decoration: underline; }
.perks-more { margin: 18px auto 0; font-size: 15px; }
.perks-more a { text-decoration: none; font-weight: 600; }
.perks-more a:hover { text-decoration: underline; }
@media (max-width: 700px) {
  .indie { grid-template-columns: 1fr; gap: 18px; padding: 26px 22px; }
  .indie-art { width: 90px; height: 90px; }
}

/* Worth tracking mock (gear page) */
.worth { background: var(--card); border: 1px solid var(--line, #e6e0d6); border-radius: 18px; padding: 18px; box-shadow: 0 10px 30px rgba(60,40,20,.08); max-width: 420px; width: 100%; justify-self: center; }
.worth-head { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 2px 4px 10px; }
.worth-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--paper); margin-top: 8px; }
.worth-item b { display: block; font-size: 16px; }
.worth-item span { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.worth-item i { font-style: normal; color: var(--muted); font-size: 14px; }
.worth-item.done { background: var(--brick-soft); }
.worth-item.done i { color: var(--brick-deep); font-weight: 700; }

/* Very narrow phones: the Menu button keeps its label for screen readers but shows just the icon */
@media (max-width: 359px) {
  .nav { gap: 12px; }
  .js .nav-toggle { padding: 0 12px; }
  .nav-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
