/* ───────────────────────────────────────────────────────────────────────────
   The homepage, and only the homepage.

   WHY THIS IS A SECOND STYLESHEET. site.css is the whole site's typography,
   tokens and components — eight pages share it, and a change there is a
   change to all of them. What is here exists to make ONE page look like a
   product rather than a memo: the two-column hero, the console mockup beside
   it, the tabbed screenshots, the comparison table, the FAQ and the footer.
   Nothing on another page uses these classes, so nothing on another page
   moves when this file is rewritten — which it will be, because a homepage is
   the page that gets rewritten.

   EVERY COLOUR IS A TOKEN FROM site.css. Not one hex value is written here.
   That is what keeps the page honest in dark mode, where a hand-picked grey
   is a grey that stops working after sunset.

   And every figure on this page is still fetched at render time (FLAG-074).
   The mockup below is drawn in HTML, not pasted as a screenshot, exactly so
   the numbers inside it can come from /api/public/pricing like every other
   number the site shows. A screenshot is a figure nobody can keep current.
   ─────────────────────────────────────────────────────────────────────────── */

/* ── the hero ───────────────────────────────────────────────────────────── */

/* The wash sits behind the hero only, and is drawn with the brand token at
   low opacity rather than a second colour, so it follows the theme. */
.hero-wrap {
  background:
    radial-gradient(900px 420px at 12% -20%, var(--brand-wash), transparent 70%),
    radial-gradient(700px 360px at 92% 0%, var(--panel), transparent 65%);
  border-bottom: 1px solid var(--line);
}

.hero2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 52px;
  align-items: center;
  padding: 60px 0 64px;
}
.hero2 > * { min-width: 0; }
.hero2 h1 { font-size: 52px; max-width: 16ch; margin-bottom: 16px; }
.hero2 .lede { font-size: 19px; color: var(--ink-2); max-width: 54ch; margin: 0 0 24px; }

.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 650; letter-spacing: .02em;
  color: var(--brand-ink); background: var(--brand-wash);
  border: 1px solid var(--brand-wash);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow-pill .dot { width: 7px; height: 7px; background: var(--brand); }

.hero2 .cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* The three promises under the buttons. Ticks rather than bullets, because
   each one is a thing the product does, not a feature of a list. */
.chips { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; padding: 0; list-style: none; }
.chips li {
  display: flex; align-items: center; gap: 7px;
  font-size: 13.5px; color: var(--ink-2);
}
.chips li::before {
  content: '✓'; color: var(--brand); font-weight: 800; font-size: 12px;
}

/* ── the console mockup ─────────────────────────────────────────────────────
   Drawn, not photographed. It shows the three things the pitch is about in
   one picture: a real conversation, the window clock that decides whether a
   reply is allowed, and the cost of that one message split into Meta's part
   and ours. aria-hidden, because it is an illustration — every word in it is
   said in text elsewhere on the page, and a screen reader reading out a fake
   inbox is noise. */
.shot {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg);
  box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .45), var(--shadow);
}
.shot-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--panel);
}
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); display: block; }
.shot-url {
  margin-left: 10px; font-size: 11.5px; color: var(--muted);
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 999px; padding: 3px 14px;
}
.shot-body { display: grid; grid-template-columns: 186px minmax(0, 1fr); }

.shot-list {
  border-right: 1px solid var(--line); background: var(--panel);
  padding: 8px; display: grid; gap: 2px; align-content: start;
}
.shot-list .srow {
  display: grid; grid-template-columns: 26px minmax(0, 1fr) auto;
  gap: 9px; align-items: center; padding: 8px; border-radius: 9px;
}
.shot-list .srow.on { background: var(--bg); box-shadow: var(--shadow); }
.shot-list .av {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-size: 10.5px; font-weight: 700; color: #fff; background: var(--brand);
}
.shot-list .av.b2 { background: var(--ink-2); }
.shot-list .nm { font-size: 12.5px; font-weight: 620; color: var(--ink); }
.shot-list .sn {
  font-size: 11px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.shot-list .unread {
  font-size: 10px; font-weight: 700; color: #fff; background: var(--brand);
  border-radius: 999px; padding: 1px 6px;
}

.shot-thread { display: flex; flex-direction: column; min-height: 320px; }
.shot-thread .th-head {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 12.5px;
}
.shot-thread .th-head .nm { font-weight: 650; }
.win {
  margin-left: auto; font-size: 11px; font-weight: 650;
  color: var(--good); border: 1px solid var(--good);
  border-radius: 999px; padding: 1px 9px; white-space: nowrap;
}
.th-body { flex: 1; padding: 14px; display: grid; gap: 9px; align-content: start; }
.bub {
  max-width: 80%; font-size: 12.5px; line-height: 1.45;
  padding: 8px 11px; border-radius: 13px;
}
.bub.in {
  background: var(--panel); border: 1px solid var(--line);
  border-bottom-left-radius: 4px; color: var(--ink);
}
.bub.out {
  margin-left: auto; background: var(--brand-wash);
  border: 1px solid var(--brand-wash); border-bottom-right-radius: 4px;
  color: var(--ink);
}
.bub .meta-line {
  display: block; margin-top: 4px; font-size: 10px; color: var(--muted);
}
.th-foot {
  border-top: 1px solid var(--line); padding: 10px 14px;
  display: flex; align-items: center; gap: 9px; font-size: 12px; color: var(--muted);
}
.th-foot .box {
  flex: 1; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 12px; background: var(--bg);
}
.th-foot .send {
  width: 26px; height: 26px; border-radius: 50%; background: var(--brand);
  display: grid; place-items: center; color: #fff; font-size: 12px;
}

/* The strip along the bottom: what that one message cost. This is the whole
   argument of the page, said in the picture. */
.shot-ledger {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); background: var(--panel);
}
.shot-ledger div { padding: 11px 14px; border-left: 1px solid var(--line); }
.shot-ledger div:first-child { border-left: 0; }
.shot-ledger .k {
  font-size: 10px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted);
}
.shot-ledger .v {
  font-size: 15px; font-weight: 680; font-variant-numeric: tabular-nums; margin-top: 2px;
}
.shot-ledger .ours .v { color: var(--brand); }

/* ── the proof strip under the hero ─────────────────────────────────────── */
.strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1px; background: var(--line);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.strip > div { background: var(--bg); padding: 18px 20px; display: flex; gap: 12px; align-items: flex-start; }
.strip .ico { color: var(--brand); flex: 0 0 auto; margin-top: 1px; }
.strip .t { font-size: 14px; font-weight: 650; margin: 0 0 2px; }
.strip .s { font-size: 13px; color: var(--ink-2); margin: 0; }

/* Icons everywhere on this page are the same size and weight, so a row of
   them reads as one set rather than six downloads. */
.ico svg { width: 19px; height: 19px; display: block; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ── the ledger section ─────────────────────────────────────────────────── */
.ledger-card {
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--panel); padding: 24px;
}
.bar {
  display: flex; height: 16px; border-radius: 999px; overflow: hidden;
  background: var(--line); margin: 18px 0 14px;
}
.bar i { display: block; height: 100%; transition: width .3s ease; }
.bar .b-meta { background: var(--ink-2); }
.bar .b-ours { background: var(--brand); }
.legend { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-2); margin: 0; padding: 0; list-style: none; }
.legend b { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 7px; }
.legend .b-meta { background: var(--ink-2); }
.legend .b-ours { background: var(--brand); }
.legend span { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 650; }

/* ── the tabbed screenshots ─────────────────────────────────────────────── */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.tab {
  font: inherit; font-size: 14px; font-weight: 620; cursor: pointer;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink-2);
  padding: 8px 16px; border-radius: 999px;
}
.tab:hover { border-color: var(--brand); color: var(--ink); }
.tab[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.tabpanel[hidden] { display: none; }
.tabpanel .cap { font-size: 14px; color: var(--ink-2); margin: 14px 0 0; max-width: 72ch; }

/* The two mockups that are not the inbox: a broadcast being priced, and the
   ledger itself. Both are tables, because that is what they are. */
.mock {
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--bg);
}
.mock-head {
  padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--panel);
  font-size: 13px; font-weight: 650; display: flex; align-items: center; gap: 10px;
}
.mock-head .pill {
  font-size: 11px; font-weight: 650; border-radius: 999px; padding: 2px 9px;
  border: 1px solid var(--line); color: var(--ink-2); margin-left: auto;
}
.mock table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.mock th, .mock td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.mock th { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 650; }
.mock td.n, .mock th.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mock tr:last-child td { border-bottom: 0; }
.mock tr.sum td { font-weight: 700; background: var(--panel); }
.mock td .why { display: block; font-size: 11.5px; color: var(--muted); }
.mock .ours { color: var(--brand); }
.mock .warnbar {
  padding: 10px 16px; font-size: 12.5px; color: var(--warn);
  border-top: 1px solid var(--line); background: var(--bg);
}

/* ── the comparison ─────────────────────────────────────────────────────── */
.cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.cmp {
  width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px;
  border: 1px solid var(--line); border-radius: var(--r);
}
table.cmp th, table.cmp td { padding: 15px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
table.cmp thead th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); background: var(--panel); }
table.cmp thead th.ours { color: var(--brand-ink); background: var(--brand-wash); }
table.cmp td.ours { background: var(--brand-wash); }
table.cmp tbody th { font-weight: 650; width: 22%; color: var(--ink); }
table.cmp td { color: var(--ink-2); }
table.cmp tr:last-child th, table.cmp tr:last-child td { border-bottom: 0; }

/* ── the feature bento ──────────────────────────────────────────────────── */
.bento { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(275px, 1fr)); }
.bcard {
  border: 1px solid var(--line); border-radius: var(--r); padding: 22px;
  background: var(--bg); display: grid; gap: 9px; align-content: start;
}
.bcard:hover { border-color: var(--brand); }
.bcard .ico {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--brand-wash); color: var(--brand-ink); margin-bottom: 3px;
}
.bcard h3 { margin: 0; }
.bcard p { margin: 0; font-size: 14.5px; color: var(--ink-2); }

/* ── the plan preview ───────────────────────────────────────────────────── */
.plan .mk { font-size: 13px; color: var(--ink-2); }
.plan .mk strong { color: var(--brand); }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq { display: grid; gap: 10px; max-width: 84ch; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg); }
.faq summary {
  cursor: pointer; padding: 15px 17px; font-weight: 620; font-size: 15.5px;
  list-style: none; display: flex; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; margin-left: auto; color: var(--muted); font-size: 20px; font-weight: 400; }
.faq details[open] summary::after { content: '−'; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq p { margin: 0; padding: 14px 17px; font-size: 15px; color: var(--ink-2); }

/* ── the closing band ───────────────────────────────────────────────────── */
.band {
  border: 1px solid var(--line); border-radius: 16px; padding: 38px;
  background: linear-gradient(135deg, var(--brand-wash), transparent 70%);
  display: flex; gap: 24px; flex-wrap: wrap; align-items: center; justify-content: space-between;
}
.band h2 { margin: 0 0 6px; }
.band p { margin: 0; color: var(--ink-2); max-width: 54ch; }

/* ── the footer ─────────────────────────────────────────────────────────── */
.foot-grid {
  display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  padding: 44px 20px 10px; border-top: 1px solid var(--line);
}
.foot-grid .fcol h4 {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em;
  color: var(--muted); margin: 0 0 12px; font-weight: 700;
}
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-grid a { color: var(--ink-2); text-decoration: none; font-size: 14px; }
.foot-grid a:hover { color: var(--brand); }
.foot-grid .about p { font-size: 13.5px; color: var(--ink-2); margin: 0 0 10px; max-width: 34ch; }

/* ── the four sizes (FLAG-061) ──────────────────────────────────────────── */
@media (min-width: 1024px) {
  .foot-grid { padding: 48px 40px 10px; }
}
@media (min-width: 1440px) {
  .hero2 h1 { font-size: 60px; }
  .foot-grid { padding: 52px 72px 10px; }
}
@media (max-width: 1023px) {
  .hero2 { grid-template-columns: 1fr; gap: 36px; padding: 44px 0 48px; }
  .hero2 h1 { font-size: 40px; max-width: 20ch; }
  .shot-body { grid-template-columns: 1fr; }
  /* The conversation list is the first thing to go on a narrow screen: the
     thread is the part that makes the point. */
  .shot-list { display: none; }
}
@media (max-width: 639px) {
  .hero2 h1 { font-size: 31px; }
  .hero2 .lede { font-size: 16.5px; }
  .shot-ledger { grid-template-columns: 1fr; }
  .shot-ledger div { border-left: 0; border-top: 1px solid var(--line); }
  .shot-ledger div:first-child { border-top: 0; }
  .band { padding: 24px; }
  .bcard { padding: 18px; }
  .ledger-card { padding: 18px; }
}
