/* Inner pages in the home page's clothes.
 *
 * `/pricing`, `/about` and the legal pages are printed by route handlers (see
 * `lib/site-html.ts`), so they carry the same class names as `site.css` - but
 * they load this sheet with `class="home"` on the body, after `home.css`.
 * Nothing here changes a word of those pages: it is the same material the
 * landing uses (pale sheet, near-black cards, lime ticks, white pills), pointed
 * at the classes the inner pages already print.
 */

.home .page{background:none}

/* ---------- section heads ----------
 * The landing's rhythm: a centred pill, one tight headline, one italic line. */
.home .page-head{padding:clamp(44px,6vw,74px) 0 clamp(22px,3vw,34px);text-align:center}
.home .page-head .wrap{max-width:1120px}
.home .page-head h1{margin:18px auto 0;max-width:22ch;font-size:clamp(2.1rem,4.6vw,3.35rem);
  line-height:1.03;letter-spacing:-.045em;font-weight:700;color:var(--ink);text-wrap:balance}
.home .eyebrow{display:inline-flex;align-items:center;height:30px;margin:0;padding:0 14px;
  border:1px solid var(--hair);border-radius:999px;background:#fff;
  font-size:11.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#4a4a52;
  box-shadow:0 1px 2px rgba(17,17,20,.05)}
@media (prefers-color-scheme:dark){
  .home .eyebrow{background:#15151a;border-color:var(--hair-2);color:#b9b9c2}
}
.home .page-head .lead{margin:16px auto 0;max-width:52ch;font-size:clamp(1rem,1.2vw,1.06rem);
  line-height:1.6;font-style:italic;color:var(--muted);text-align:center}
.home .h2{margin:0;font-size:clamp(1.7rem,3.2vw,2.4rem);line-height:1.06;
  letter-spacing:-.042em;font-weight:700;color:var(--ink)}
.home .sect-lead{margin:12px 0 0;max-width:56ch;font-size:15px;line-height:1.6;color:var(--muted)}
.home .sect-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:20px}
.home .band{border:0;background:none}
.home .band .sect{padding:clamp(42px,5.6vw,70px) 0 0}
.home .sect.flush{padding-top:0}
.home .note{margin:22px auto 0;max-width:62ch;text-align:center;font-size:13px;color:var(--muted-2)}

/* ---------- the cards ----------
 * The same near-black sheet the plans and the composer use. */
.home .pillars{margin-top:34px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.home .pillar{position:relative;padding:24px 22px 22px;border:1px solid rgba(255,255,255,.09);
  border-radius:20px;background:radial-gradient(130% 150% at 50% 0%,#191920,#0b0b0d 72%);
  box-shadow:0 30px 60px -40px rgba(10,10,14,.6)}
.home .pillar h3{margin:0;font-size:15px;font-weight:600;letter-spacing:-.015em;color:#fff}
.home .pillar p{margin:8px 0 0;font-size:13px;line-height:1.55;color:#b9b9c2}
.home .pillar .ic{width:30px;height:30px;margin:0 0 14px;display:grid;place-items:center;
  border:1px solid rgba(200,245,30,.4);border-radius:999px;background:rgba(200,245,30,.1);
  color:var(--lime);font-size:12px;font-weight:700;box-shadow:none;
  font-variant-numeric:tabular-nums}
.home .included{margin:16px 0 0;padding:22px;border:1px solid rgba(255,255,255,.09);border-radius:20px;
  background:radial-gradient(130% 150% at 50% 0%,#191920,#0b0b0d 72%);
  display:flex;flex-wrap:wrap;gap:12px 30px;list-style:none}
.home .included li{display:flex;align-items:center;gap:8px;font-size:13px;color:#cfcfd8}
.home .included .tick{flex:none;width:14px;height:14px;color:var(--lime)}
@media (max-width:1040px){.home .pillars{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:820px){.home .pillars{grid-template-columns:1fr}}

/* The popular plan is marked with `is-pro` here and `plan-pro` on the landing:
 * one ring, one solid pill, so both pages point at the same card. */
.home .plan.is-pro{border-color:rgba(200,245,30,.5);
  box-shadow:0 34px 64px -34px rgba(10,10,14,.72),inset 0 0 0 1px rgba(200,245,30,.14)}
.home .plan.is-pro .btn{background:#fff;border-color:transparent;color:#111114}
.home .plan.is-pro .btn:hover{background:#eeeef0;border-color:transparent}


/* ---------- pills ---------- */
.home .btn{border-radius:999px;font-weight:500}
.home .btn-lg{height:46px;padding:0 24px;font-size:14px}
.home .btn-primary{background:#111114;border:1px solid transparent;color:#fff;
  box-shadow:0 1px 2px rgba(17,17,20,.26)}
.home .btn-primary:hover{background:#28282e;transform:none;box-shadow:0 2px 6px rgba(17,17,20,.28)}
.home .btn-outline{background:#fff;border:1px solid var(--hair-2);color:var(--ink);
  box-shadow:0 1px 2px rgba(17,17,20,.05)}
.home .btn-outline:hover{border-color:var(--ink);background:#fff;color:var(--ink)}
@media (prefers-color-scheme:dark){
  .home .btn-primary{background:#f4f4f6;color:#111114}
  .home .btn-primary:hover{background:#fff}
  .home .btn-outline{background:#15151a;border-color:var(--hair-2);color:var(--ink)}
  .home .btn-outline:hover{background:#1c1c22}
}

/* ---------- the closing card ---------- */
.home .cta-band{margin:clamp(46px,6vw,72px) 0 clamp(40px,5vw,60px);padding:0;border:0;background:none}
.home .cta-band .wrap{max-width:1120px;padding:clamp(34px,4.4vw,52px) clamp(22px,3vw,40px);
  border:1px solid rgba(255,255,255,.1);border-radius:24px;
  background:radial-gradient(120% 140% at 50% 0%,#191920,#0b0b0d 72%);
  text-align:center;box-shadow:0 40px 80px -50px rgba(10,10,14,.7)}
.home .cta-band .h2{color:#fff;font-size:clamp(1.6rem,3vw,2.2rem)}
.home .cta-band .sect-lead{margin:12px auto 0;max-width:50ch;text-align:center;
  font-size:14.5px;color:#b9b9c2}
.home .cta-actions{margin-top:24px;display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.home .cta-band .btn-primary{background:#fff;border-color:transparent;color:#111114;
  box-shadow:0 2px 10px rgba(0,0,0,.4)}
.home .cta-band .btn-primary:hover{background:#eeeef0}
.home .cta-band .btn-outline{background:transparent;border-color:rgba(255,255,255,.24);color:#fff}
.home .cta-band .btn-outline:hover{background:rgba(255,255,255,.1);
  border-color:rgba(255,255,255,.44);color:#fff}

/* ---------- the footer ---------- */
/* One row, the same as the landing: wordmark, the legal links, the copyright.
 * The home stylesheet already owns the layout; this only pins the hairlines. */
.home .foot{border-top-color:var(--hair)}
.home .foot-nav a[aria-current="page"]{color:var(--ink)}
.home .copy{color:var(--muted-2)}


/* ---------- the legal pages ----------
 * Prose on the one pale sheet, at a reading width. */
.home .legal{max-width:1120px}
.home .sheet{max-width:74ch;margin:0 auto;padding:clamp(24px,3.2vw,38px);
  border:1px solid var(--hair);border-radius:20px;background:#fff;
  box-shadow:0 1px 2px rgba(17,17,20,.04)}
@media (prefers-color-scheme:dark){
  .home .sheet{background:#121214;border-color:var(--hair-2)}
}
.home .sheet > *:first-child{margin-top:0}
.home .sheet h2{margin:30px 0 10px;font-size:17px;font-weight:600;letter-spacing:-.02em;
  color:var(--ink)}
.home .sheet p{margin:0 0 12px;font-size:14.5px;line-height:1.72;color:var(--muted);
  text-wrap:pretty}
.home .sheet ul{margin:0 0 14px;padding:0;list-style:none;display:grid;gap:9px}
.home .sheet li{display:flex;align-items:flex-start;gap:9px;font-size:14.5px;line-height:1.6;
  color:var(--muted)}
.home .sheet li .tick{flex:none;width:15px;height:15px;margin-top:3px;color:#79a30b}
@media (prefers-color-scheme:dark){.home .sheet li .tick{color:var(--lime)}}
.home .sheet a{color:var(--ink);text-decoration:underline;text-underline-offset:3px;
  text-decoration-color:var(--hair-2)}
.home .sheet a:hover{text-decoration-color:var(--lime)}
.home .sheet .stamp{margin:26px 0 0;padding-top:18px;border-top:1px solid var(--hair);
  font-size:12.5px;color:var(--muted-2)}
