/* ============================================================
   PAGES.CSS
   Everything the inner pages need that the home page never did.
   styles.css is untouched: it is the home page's stylesheet and the
   shared foundation, and nothing here overrides a rule in it except
   the two marked OVERRIDE below.

   Same rules as styles.css and Brand_Assets/brand/, no exceptions:
     radius  --r-xs 6 inner chrome · --r-ctl 10 controls
             --r-card 16 cards/media · 999px pills and dots only
     icons   Tabler outline, uniform 1.75 stroke, no emoji
     motion  reveal only, everything gated on prefers-reduced-motion
   ============================================================ */

/* ---------- utilities ---------- */

.vh {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Unsupplied data. Deliberately loud: a price nobody has set must read as
   unfinished, never as free. Greppable as PLACEHOLDER in _site/. */
.ph {
  display: inline-block;
  font-size: .92em; font-weight: 600;
  color: var(--gold);
  background: rgba(255,200,17,.08);
  border: 1px dashed rgba(255,200,17,.45);
  border-radius: var(--r-xs);
  padding: 0 7px;
  letter-spacing: .02em;
}

/* ---------- nav: current page ---------- */

.nav-link.is-current { color: var(--text); }
.nav-link.is-current::after { transform: scaleX(1); }
.mob-menu .nav-link.is-current { color: var(--blue); }

/* ---------- footer: OVERRIDE, three link groups instead of one ---------- */

@media (min-width: 780px) {
  .foot-grid { grid-template-columns: 1.7fr 1.15fr .8fr .9fr; gap: 40px; }
}
.foot-legal { display: flex; gap: 18px; }
.foot-legal a { color: inherit; text-decoration: none; transition: color .18s var(--ease); }
.foot-legal a:hover { color: var(--text-2); }

/* ---------- gold button ----------
   Solid gold, ink label, 12.6:1. The recommended pick in a set (the popular
   tier's CTA) and nothing else. Never placed next to a Primary.          */

.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-gold:active { background: var(--gold-pressed); }

/* ---------- page head ---------- */

.pagehead {
  padding-top: calc(var(--nav-h) + clamp(44px, 6vw, 82px));
  padding-bottom: clamp(36px, 4.4vw, 56px);
  position: relative;
}
.pagehead::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 22%, var(--line-2) 78%, transparent);
}
.pagehead h1 { max-width: 17ch; }
.pagehead .eyebrow { display: block; margin-bottom: 16px; }
.pagehead .lead { margin-top: 20px; max-width: 58ch; }
.pagehead .hero-actions { margin-top: 30px; }

/* A real .btn-ghost — same chrome, same gold-on-highlight as every other
   button — just with its arrow reversed to point at where it goes. */
.btn-back .ic { transform: scaleX(-1); }

.crumbs { margin-bottom: 22px; }
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.crumbs li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-3); }
.crumbs li + li::before { content: '/'; color: var(--line-2); }
.crumbs a { color: var(--text-3); text-decoration: none; transition: color .18s var(--ease); }
.crumbs a:hover { color: var(--blue); }
.crumbs [aria-current] { color: var(--text-2); }

/* ---------- package tier cards ---------- */

.tiers { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 720px) { .tiers { grid-template-columns: repeat(3, 1fr); } }

.tier {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 26px 24px 24px;
  position: relative;
  display: flex; flex-direction: column;
  height: 100%;
}
.tier.pop {
  border-color: rgba(255,200,17,.42);
  background: linear-gradient(180deg, rgba(255,200,17,.055), transparent 46%), var(--surface);
}
.tier-badge {
  position: absolute; top: -12px; left: 24px;
  font-size: 12.5px; font-weight: 600;
  color: var(--ink); background: var(--gold);
  border-radius: 999px; padding: 4px 12px;
}
.tier-name { font-family: var(--font-head); font-size: 20px; font-weight: 800; }
.tier-for { color: var(--text-2); font-size: 14px; line-height: 1.6; margin-top: 8px; min-height: 4.8em; }

.tier-price { margin: 20px 0 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
/* Prices are display type, not body copy: they take the heading face so the
   figures match the h2 above them instead of sitting a shade lighter. */
.tier-amt {
  font-family: var(--font-head); font-size: 40px; font-weight: 800;
  letter-spacing: -.035em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.tier.pop .tier-amt { color: var(--gold); }
/* "one-time" sits on the price baseline, not under it: the build price and the
   monthly are two different charges and the unit is what separates them. */
.tier-unit { margin-left: 8px; font-size: 13.5px; font-weight: 500; color: var(--text-3); }
/* The care plan is required, so it is stated on the price block itself rather
   than left to a footnote somebody scrolls past. */
.tier-mo {
  display: flex; align-items: flex-start; gap: 8px;
  margin-top: 14px; font-size: 13.5px; line-height: 1.5; color: var(--text-2);
}
.tier-mo .ic { font-size: 15px; color: var(--blue); margin-top: 2px; }

.tier-builds { font-size: 13.5px; font-weight: 600; color: var(--text-3); margin-bottom: 14px; }

/* align-content:start matters: the ul is flex:1 so all three cards end the
   same height, and a stretched grid would space Starter's five rows out to
   fill the gap left by Pro's eleven. */
.tier-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; align-content: start; flex: 1; }
.tier-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.55; color: var(--text-2); }
.tier-list .ic { font-size: 17px; color: var(--blue); margin-top: 2px; }
.tier-list b { color: var(--text); font-weight: 600; }
.tier-list em { font-style: normal; color: var(--text-3); }
.tier-cta { width: 100%; }

/* ---------- comparison matrix ----------
   Shared by the packages chart and every add-on factor table. The wrapper
   owns the horizontal scroll so the page body never scrolls sideways. */

.matrix-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--ink-2);
  -webkit-overflow-scrolling: touch;
}
.matrix { border-collapse: collapse; width: 100%; min-width: 600px; }

.matrix th, .matrix td {
  padding: 13px 18px;
  text-align: center;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.matrix thead th {
  background: var(--surface-2);
  font-family: var(--font-head);
  font-size: 15px; font-weight: 700; letter-spacing: -.015em;
  border-bottom: 1px solid var(--line-2);
  white-space: nowrap;
}
.mx-sub {
  display: block; margin-top: 3px;
  font-size: 12.5px; font-weight: 500; color: var(--text-3);
  font-variant-numeric: tabular-nums;
}
/* first column pinned, so the row label stays readable while scrolling */
.matrix th[scope="row"] {
  text-align: left; font-weight: 500; font-size: 14px;
  color: var(--text-2); white-space: nowrap;
  position: sticky; left: 0; z-index: 1;
  background: var(--ink-2);
  border-right: 1px solid var(--line);
}
.matrix .mx-corner { position: sticky; left: 0; z-index: 3; background: var(--surface-2); }
.matrix tbody tr:last-child th, .matrix tbody tr:last-child td { border-bottom: 0; }
.matrix tbody tr:hover th[scope="row"] { background: var(--surface); }
.matrix tbody tr:hover td { background: rgba(125,166,214,.04); }

/* the recommended tier reads down the whole column, not just in a badge */
.matrix .col-pop { background: rgba(255,200,17,.045); }
.matrix thead .col-pop { background: linear-gradient(180deg, rgba(255,200,17,.13), rgba(255,200,17,.05)); }
.matrix tbody tr:hover .col-pop { background: rgba(255,200,17,.085); }

.mx-yes { font-size: 20px; color: var(--blue); margin-inline: auto; }
.mx-no  { font-size: 20px; color: var(--text-3); opacity: .55; margin-inline: auto; }
.mx-val { color: var(--text); font-variant-numeric: tabular-nums; }
.mx-either { color: var(--text); font-weight: 600; font-size: 13.5px; }

/* factor tables read left-aligned: these are sentences, not values */
.addon .matrix td { text-align: left; }
.addon .matrix thead th { text-align: left; font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.addon .matrix thead th .mx-sub { font-family: var(--font-head); font-size: 15px; font-weight: 700; letter-spacing: -.02em; color: var(--text); text-transform: none; }
.addon .matrix { min-width: 560px; }
.mx-eg th[scope="row"], .mx-eg td { color: var(--text-3); font-size: 13.5px; font-style: italic; }

/* ---------- factor table wrapper ----------
   The only surviving use of .addon is the Compare panel inside .ptier, which
   strips the card chrome back off again. The rules that matter are the table
   ones further down: factor tables read left-aligned because their cells are
   sentences, not values. */

.addon {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 24px;
}

/* ============================================================
   THE PICK TOKENS
   One vocabulary across three components — the package cards, the
   add-ons page and the trade builds. A blue square is a page add-on;
   a gold diamond is a power feature.

   The gold one is rotated rather than only recoloured, so the two are
   still distinguishable without relying on colour.
   ============================================================ */

.slot {
  flex: none; display: block; width: 11px; height: 11px;
  border-radius: 3px;
  border: 1.5px solid rgba(61,168,248,.62);
  background: rgba(61,168,248,.15);
}
.slot-hi {
  border-color: rgba(255,200,17,.72);
  background: rgba(255,200,17,.17);
  transform: rotate(45deg);
}

.legend { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-bottom: 26px; }
.legend span { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: var(--text-3); }

/* ---------- the picks block on a package card ---------- */

.picks {
  margin-bottom: 22px; padding: 15px 16px;
  background: rgba(7,12,20,.42);
  border: 1px solid var(--line);
  border-radius: var(--r-ctl);
}
.picks-lg { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-3); margin-bottom: 11px; }
.picks-line { display: flex; align-items: center; gap: 10px; }
.picks-line + .picks-line { margin-top: 8px; }
/* A shared track so the two labels start on the same x even when one row has
   five tokens and the other has one. min-width, not width: Complete's five
   tokens measure 75px and a fixed 60px track ran them under the label. */
.slots { flex: none; display: flex; align-items: center; gap: 5px; min-width: 80px; }
.picks-txt { font-size: 13.5px; line-height: 1.45; color: var(--text-2); }
.picks-link {
  display: inline-block; margin-top: 12px;
  font-size: 13px; font-weight: 600; color: var(--blue);
  text-decoration: none;
  transition: color .18s var(--ease);
}
.picks-link:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
.picks-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

/* ---------- care plans ----------
   Deliberately a different shape from a build tier: a recurring charge on a
   different clock should not look like a fourth package you could pick
   instead of one. Wider, shorter, price on the same line as the name. */

.cares { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 720px) { .cares { grid-template-columns: repeat(2, 1fr); } }

.care {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 22px;
}
.care.pop {
  border-color: rgba(255,200,17,.42);
  background: linear-gradient(180deg, rgba(255,200,17,.055), transparent 46%), var(--surface);
}
.care-top {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 8px 18px; padding-bottom: 14px; margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.care-name { font-family: var(--font-head); font-size: 20px; font-weight: 800; }
.care-price {
  font-family: var(--font-head); font-size: 30px; font-weight: 800;
  letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums;
}
.care.pop .care-price { color: var(--gold); }
.care-per { font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--text-3); letter-spacing: 0; }
.care-for { font-size: 14px; line-height: 1.6; color: var(--text-2); margin-bottom: 14px; }
.care .tier-list { margin-bottom: 0; }

.care-note {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 14px; padding: 12px 15px;
  background: rgba(61,168,248,.07);
  border: 1px solid rgba(61,168,248,.26);
  border-radius: var(--r-ctl);
  font-size: 13.5px; line-height: 1.6; color: var(--text-2);
}
.care-note .ic { flex: none; font-size: 17px; color: var(--blue); margin-top: 2px; }

/* ---------- trade builds ---------- */

.bundles { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 760px) { .bundles { grid-template-columns: repeat(2, 1fr); } }

.bundle {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 24px;
  display: flex; flex-direction: column; height: 100%;
  scroll-margin-top: calc(var(--nav-h) + 24px);
  transition: border-color .25s var(--ease);
}
.bundle:hover { border-color: rgba(61,168,248,.3); }
.bundle-head { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start; }
.bundle-id { min-width: 0; }
.bundle-id h3 { font-family: var(--font-head); font-size: 19px; font-weight: 800; }
.bundle-trades { font-size: 13px; line-height: 1.5; color: var(--text-3); margin-top: 4px; }
.bundle-price {
  font-family: var(--font-head); font-size: 26px; font-weight: 800;
  letter-spacing: -.03em; line-height: 1; color: var(--gold);
  font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap;
}
.bundle-unit {
  display: block; margin-top: 5px;
  font-family: var(--font-body); font-size: 12px; font-weight: 500;
  color: var(--text-3); letter-spacing: 0;
}
.bundle-for { font-size: 14.5px; line-height: 1.6; color: var(--text-2); margin: 18px 0; }

.bundle-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; flex: 1; align-content: start; }
.bundle-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 14px; line-height: 1.5; color: var(--text); }
.bundle-list .slot { margin-top: 5px; }

.bundle-foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.bundle-base { font-size: 13px; line-height: 1.55; color: var(--text-3); margin-bottom: 14px; }
.bundle-base a { color: var(--blue); text-decoration: none; }
.bundle-base a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.bundle-foot .btn { width: 100%; }

/* ---------- the "something else" card ---------- */

.custom-card {
  background:
    radial-gradient(120% 130% at 100% 0%, rgba(255,200,17,.10) 0%, transparent 58%),
    var(--surface);
  border: 1px solid rgba(255,200,17,.28);
  border-radius: var(--r-card);
  padding: clamp(26px, 3.4vw, 38px);
}
.custom-card h2 { margin-top: 20px; font-size: clamp(24px, 2.6vw, 32px); }
.custom-card .lead { margin-top: 14px; }
.custom-card .hero-actions { margin-top: 26px; }

/* ---------- an add-on class: one price, many items ----------
   Every item in a class costs the same, so the figure is stated once at
   section scale instead of being reprinted on eight tiles. */

.class-head {
  display: flex; flex-wrap: wrap; gap: 20px 32px;
  align-items: flex-start; justify-content: space-between;
  margin-bottom: 32px;
}
.class-id { max-width: 52ch; }
.class-id .lead { margin-top: 12px; }
.class-price {
  display: grid; justify-items: end; align-content: start; gap: 4px;
  padding-left: 22px; border-left: 1px solid var(--line-2);
}
.class-amt {
  font-family: var(--font-head); font-size: clamp(34px, 4vw, 44px); font-weight: 800;
  letter-spacing: -.035em; line-height: 1; color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.class-unit { font-size: 13px; font-weight: 500; color: var(--text-3); }
@media (max-width: 559px) {
  .class-price { justify-items: start; padding-left: 0; border-left: 0; }
}

.picks-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .picks-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .picks-grid { grid-template-columns: repeat(4, 1fr); } }

.pick {
  display: grid; grid-template-columns: auto 1fr; gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 18px 18px 20px;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.pick:hover { border-color: rgba(61,168,248,.3); background: var(--surface-2); }
.pick .slot { margin-top: 6px; }
.pick h3 { font-size: 15.5px; }
.pick p { font-size: 13.5px; line-height: 1.6; color: var(--text-2); margin-top: 7px; }
.pick-link {
  display: inline-block; margin-top: 11px;
  font-size: 12.5px; font-weight: 600; color: var(--blue); text-decoration: none;
  transition: color .18s var(--ease);
}
.pick-link:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
.pick-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

/* ---------- what your package already covers ---------- */

.allowance {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(20px, 2.6vw, 28px);
}
.allowance-h { font-size: 16px; font-weight: 700; margin-bottom: 20px; }
.allow-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .allow-grid { grid-template-columns: repeat(3, 1fr); gap: 26px; } }
.allow { padding-top: 16px; border-top: 1px solid var(--line); }
.allow-name { display: block; font-family: var(--font-head); font-size: 15px; font-weight: 800; margin-bottom: 12px; }
.allow-none .picks-txt { max-width: 30ch; color: var(--text-3); }
.picks-none .picks-txt { max-width: 34ch; color: var(--text-3); }

/* ---------- jump nav ---------- */

.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(32px, 4vw, 44px); }
.jump-link {
  display: inline-flex; align-items: center;
  padding: 8px 15px; border-radius: 999px;
  border: 1px solid var(--line-ui); background: transparent;
  font-size: 13px; font-weight: 500; color: var(--text-2); text-decoration: none;
  transition: color .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease);
}
.jump-link:hover { color: var(--gold); border-color: rgba(255,200,17,.55); background: rgba(255,200,17,.08); }
.jump-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- the price list ----------
   A two-column list, not a comparison table: there is nothing to compare, only
   a thing and what it costs. */

.plist-groups { display: grid; gap: clamp(44px, 5vw, 64px); }
.plist-group { scroll-margin-top: calc(var(--nav-h) + 28px); }
.plist-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.plist-head h2 { font-size: clamp(21px, 2.2vw, 26px); }
.plist-head .body-3 { margin-top: 6px; max-width: 54ch; }

.plist {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--ink-2);
  overflow: hidden;
}
.plist-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 24px; align-items: baseline;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  transition: background .18s var(--ease);
}
.plist-row:first-child { border-top: 0; }
.plist-row:hover { background: rgba(125,166,214,.04); }
.plist-name { display: block; font-size: 15px; font-weight: 600; color: var(--text); }
.plist-note { display: block; margin-top: 4px; font-size: 13px; line-height: 1.55; color: var(--text-3); max-width: 58ch; }
.plist-row dd {
  margin: 0; white-space: nowrap; text-align: right;
  font-family: var(--font-head); font-size: 19px; font-weight: 800;
  letter-spacing: -.02em; color: var(--gold);
  font-variant-numeric: tabular-nums;
}
/* "From" is a qualifier on the figure, not part of it, so it stays body-weight */
.money-pre { font-family: var(--font-body); font-size: 12.5px; font-weight: 500; color: var(--text-3); letter-spacing: 0; }

/* A price that does not exist yet because the service is not for sale yet.
   Solid border, not the dashed PLACEHOLDER one: this is a finished decision. */
.tag-soon {
  display: inline-block;
  padding: 4px 12px; border-radius: 999px;
  border: 1px solid rgba(125,166,214,.34);
  background: rgba(125,166,214,.08);
  font-family: var(--font-body); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0; color: var(--text-3); white-space: nowrap;
}

/* ---------- policies ---------- */

.policies { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px)  { .policies { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .policies { grid-template-columns: repeat(3, 1fr); } }

.policy {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 24px;
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.policy h2 { font-size: 17px; font-weight: 700; margin: 16px 0 9px; }
.policy p { font-size: 14px; line-height: 1.7; color: var(--text-2); }

/* ---------- legal (privacy / terms) ----------
   Long-form prose, styled to read as a real page rather than a wall of text.
   `.wrap-mid` already caps the width; this just sets the type. */

.legal-updated { font-size: 13px; color: var(--text-3); margin-bottom: 8px; }
.legal-intro { font-size: 15px; line-height: 1.75; color: var(--text-2); max-width: 68ch; }

.legal-toc { display: grid; gap: 8px; margin: 28px 0 0; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.legal-toc p { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin: 0 0 4px; }
.legal-toc a { font-size: 14px; color: var(--text-2); text-decoration: none; }
.legal-toc a:hover { color: var(--blue); }

.legal-section { max-width: 68ch; padding-top: 36px; scroll-margin-top: calc(var(--nav-h) + 20px); }
.legal-section + .legal-section { border-top: 1px solid var(--line); }
.legal-section h2 { font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.legal-section h3 { font-family: var(--font-body); font-size: 14.5px; font-weight: 700; color: var(--text); margin: 18px 0 6px; }
.legal-section p { font-size: 14.5px; line-height: 1.75; color: var(--text-2); margin-bottom: 12px; }
.legal-section ul { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 6px; }
.legal-section li { font-size: 14.5px; line-height: 1.65; color: var(--text-2); }
.legal-section a { color: var(--blue); }

/* ---------- the two-card fork ----------
   Used wherever a page has to hand the reader a genuine choice of route.
   Two columns, never three: a fork with three prongs is a grid. */

.forks { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .forks { grid-template-columns: repeat(2, 1fr); } }

/* Icon sits on the heading's line rather than above it, and the paragraph row
   takes the slack so both cards end on the same baseline as their button. */
.fork {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr auto;
  column-gap: 13px;
  padding: clamp(20px, 2vw, 26px);
  background: var(--surface-2);
  border-color: var(--line-2);
}
.fork .ic-box { width: 38px; height: 38px; border-radius: var(--r-ctl); font-size: 19px; }
.fork h3 { align-self: center; margin: 0; font-size: clamp(18px, 1.8vw, 20px); }
.fork p.body-3 { grid-column: 2; margin-top: 11px; font-size: 15px; }
.fork .btn { grid-column: 2; justify-self: start; align-self: end; margin-top: 15px; }

/* ---------- service hub ---------- */

.family + .family { margin-top: clamp(48px, 5vw, 68px); }
.family-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.family-head h2 { font-size: clamp(22px, 2.4vw, 28px); }
.family-count { font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; }

.svc-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px)  { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .svc-grid-4 { grid-template-columns: repeat(4, 1fr); } }

.svc-card { display: flex; flex-direction: column; text-decoration: none; }
.svc-card h3 { margin-top: 18px; }
.svc-card p { color: var(--text-2); font-size: 14.5px; margin-top: 8px; flex: 1; }
.svc-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line);
}
.svc-from { font-family: var(--font-head); font-size: 13.5px; font-weight: 700; color: var(--text-2); font-variant-numeric: tabular-nums; }
.svc-inc { color: var(--blue); }
.svc-soon { color: var(--text-3); font-weight: 600; }
.svc-arrow { font-size: 18px; color: var(--blue); transition: transform .2s var(--ease); }
.svc-card:hover .svc-arrow { transform: translateX(4px); }

/* ---------- pricing tier picker ----------
   One tier on screen at a time, the others a click away. The tab strip is a
   segmented control rather than a row of loose buttons so it reads as "pick
   one of these", and Compare is pushed to the end behind a divider because it
   is a different kind of action: not a tier, a view of all of them.          */

.ptier {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(18px, 2.2vw, 24px);
}

/* Switching tabs fades and lifts the incoming panel in, driven by main.js
   toggling `ptier-pre` before the browser paints the un-hidden panel.
   transform/opacity only, so it stays cheap on the reveal-heavy pages this
   sits on. The package-fit block trails the price by a beat: the two things
   that actually changed arrive in the order you read them. */
.ptier-panel {
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.ptier-panel.ptier-pre { opacity: 0; transform: translateY(8px); }
.ptier-panel .pkgfit {
  transition: opacity .34s var(--ease) .08s, transform .34s var(--ease) .08s;
}
.ptier-panel.ptier-pre .pkgfit { opacity: 0; transform: translateY(9px); }
@media (prefers-reduced-motion: reduce) {
  .ptier-panel, .ptier-panel .pkgfit { transition: none; }
}

.ptier-tabs {
  display: flex; flex-wrap: wrap; gap: 4px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-ctl);
  padding: 5px;
  margin-bottom: clamp(22px, 2.6vw, 30px);
}
.ptier-tab {
  display: inline-flex; align-items: center; gap: 7px;
  background: transparent; border: 1px solid transparent;
  border-radius: var(--r-xs);
  padding: 9px 18px; cursor: pointer;
  font-size: 13.5px; font-weight: 600; letter-spacing: -.005em;
  color: var(--text-3); white-space: nowrap;
  transition: background .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease);
}
.ptier-tab .ic { font-size: 15px; }
/* same gold-on-highlight rule as every other button on the site */
.ptier-tab:hover { color: var(--gold); background: rgba(255,200,17,.08); }
.ptier-tab:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.ptier-tab[aria-selected="true"] {
  background: var(--surface-2); color: var(--text);
  border-color: var(--line-2);
}
/* Compare sits apart: it is a view, not a tier */
.ptier-tab-cmp { margin-left: auto; }
@media (max-width: 560px) { .ptier-tab-cmp { margin-left: 0; } }

.ptier-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; }
.ptier-amount { display: flex; align-items: baseline; gap: 10px; }
.ptier-price {
  font-family: var(--font-head);
  font-size: clamp(34px, 4.2vw, 46px); font-weight: 800;
  letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums;
}
.ptier-unit { font-size: 13px; font-weight: 500; color: var(--text-3); }
.ptier-note { color: var(--text-3); font-size: 14.5px; max-width: 52ch; }
.ptier-top .ptier-note { margin-left: auto; text-align: right; }
@media (max-width: 700px) { .ptier-top .ptier-note { margin-left: 0; text-align: left; } }

/* factor rows for the selected tier: label left, what you get right */
.ptier-rows { margin-top: clamp(20px, 2.4vw, 28px); }
.ptier-rows > div {
  display: grid; grid-template-columns: 1fr; gap: 3px;
  padding: 14px 0; border-top: 1px solid var(--line);
}
@media (min-width: 620px) {
  .ptier-rows > div { grid-template-columns: minmax(140px, 210px) 1fr; gap: 24px; align-items: baseline; }
}
.ptier-rows dt { font-size: 13.5px; font-weight: 600; color: var(--text-3); }
.ptier-rows dd { margin: 0; font-size: 15px; color: var(--text); }
/* .mx-yes / .mx-no centre themselves inside a table cell; in this list they
   need to sit on the same left edge as every other value. */
.ptier-rows dd .ic { font-size: 20px; margin-inline: 0; }
.ptier-eg dt, .ptier-eg dd { font-style: italic; color: var(--text-3) !important; font-size: 13.5px !important; }

/* ---------- card mockups, with a flip for two-sided ones ----------
   Each face was cut out of its mockup so it stands alone edge to edge; the
   depth below is the page's, not the photograph's. Sized deliberately small —
   a business card is a small object and printing it half a screen wide made
   the page look like a gallery instead of a price list.                     */

.cardshot { margin: clamp(18px, 2vw, 22px) 0 0; max-width: 380px; }
.cardshot-stage { perspective: 1400px; }
.cardshot-inner {
  position: relative; aspect-ratio: 1.96;
  transform-style: preserve-3d;
  transition: transform .62s cubic-bezier(.4,.12,.2,1);
}
.cardshot.flipped .cardshot-inner { transform: rotateY(180deg); }
.cardshot-face {
  position: absolute; inset: 0;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 14px 34px -16px rgba(0,0,0,.85);
}
.cardshot-face.is-back { transform: rotateY(180deg); }
.cardshot-face img { width: 100%; height: 100%; object-fit: cover; display: block; }

.cardshot-btn {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 14px; padding: 7px 14px;
  background: transparent; border: 1px solid var(--line-ui);
  border-radius: var(--r-ctl); cursor: pointer;
  font-size: 13.5px; font-weight: 600; color: var(--text-2);
  transition: color .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease);
}
.cardshot-btn .ic { font-size: 14px; }
.cardshot-btn:hover { color: var(--gold); border-color: rgba(255,200,17,.55); background: rgba(255,200,17,.08); }
.cardshot-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.cardshot figcaption { margin-top: 12px; font-size: 13px; color: var(--text-3); max-width: 42ch; }

@media (prefers-reduced-motion: reduce) { .cardshot-inner { transition: none; } }

/* both cards in the Compare view, side by side and smaller again */
.ptier-cmp-shots {
  display: grid; gap: 22px; grid-template-columns: repeat(2, 1fr);
  align-items: start; margin-bottom: 26px;
}
.ptier-cmp-shots .cardshot { margin-top: 8px; max-width: 100%; }
.ptier-cmp-shots figcaption { display: none; }
.ptier-cmp-label { font-size: 14px; font-weight: 600; color: var(--text); }

/* the compare matrix reuses .addon's table rules without its card chrome */
.ptier-panel .addon { background: transparent; border: 0; padding: 0; }

/* ---------- service page ---------- */

/* Cost on the left, the case for it on the right. The left column is the
   wider of the two because it holds the compare table; the right holds prose,
   which stops being comfortable to read much past 60ch anyway. */
.svc-split { display: grid; gap: clamp(34px, 4vw, 52px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1000px) { .svc-split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }
.svc-h2 { font-size: clamp(21px, 2.2vw, 26px); }
.svc-money { display: grid; gap: 18px; align-content: start; }
/* The fact cards close the right column rather than the left: the pricing
   block is the tall one, and hanging these off the shorter side is what
   keeps the two columns finishing near the same place. */
.svc-facts { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 32px; }
@media (min-width: 560px) and (max-width: 999px) { .svc-facts { grid-template-columns: repeat(2, 1fr); } }

.svc-prose p { color: var(--text-2); font-size: 16px; line-height: 1.75; max-width: 62ch; }
.svc-prose p + p { margin-top: 16px; }
/* one column: the right-hand track is too narrow for the two-up default */
.svc-story .inc-list { grid-template-columns: 1fr; }

.aside-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 20px 22px;
}
.aside-card h3 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.aside-price { font-family: var(--font-head); font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.aside-note { font-size: 13.5px; color: var(--text-3); margin-top: 10px; }
.aside-card .btn { width: 100%; margin-top: 16px; }
.in-pack { display: grid; gap: 9px; }
.in-pack li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-2); }
.in-pack .ic { font-size: 16px; color: var(--blue); }
.in-pack .no { color: var(--text-3); opacity: .5; }
.in-pack b { color: var(--text); font-weight: 600; }
.in-pack em { font-style: normal; color: var(--text-3); }
.aside-card .tag-soon { margin-bottom: 4px; }
.aside-unit { display: block; margin-top: 8px; font-size: 13px; font-weight: 500; color: var(--text-3); }

/* A surcharge that attaches to either level above rather than replacing one.
   Given its own row so it cannot be mistaken for a third bracket. */
.svc-extra {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 15px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-ctl);
  font-size: 13.5px; line-height: 1.55; color: var(--text-3);
}
.svc-extra-p {
  flex: none;
  font-family: var(--font-head); font-size: 19px; font-weight: 800;
  letter-spacing: -.02em; color: var(--gold); font-variant-numeric: tabular-nums;
}
.svc-extra b { color: var(--text); font-weight: 600; font-size: 14px; }

/* How the same thing is priced when it rides inside a package instead. */
.svc-pnote {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 13px 16px;
  background: rgba(61,168,248,.07);
  border: 1px solid rgba(61,168,248,.26);
  border-radius: var(--r-ctl);
  font-size: 13.5px; line-height: 1.6; color: var(--text-2);
}
.svc-pnote .ic { flex: none; font-size: 16px; color: var(--blue); margin-top: 2px; }
.svc-pnote b { color: var(--text); font-weight: 700; }
/* Same note, reused per tier inside the price picker: it swaps with the tab
   instead of sitting once, statically, below the whole picker. */
.ptier-panel .svc-pnote { margin-top: 18px; }

/* Per-tier package fit. The answer line carries the whole point — is this
   tier included in a package, and which — and the rows under it are the
   receipt: all three packages, in price order, so "not in Foundation" is
   visible rather than merely absent. One tinted panel, hairline rows inside
   it; a box nested in a box made the same information read as heavier than
   it is. */
.pkgfit {
  margin-top: 18px;
  padding: 14px 16px 5px;
  background: rgba(61,168,248,.055);
  border: 1px solid rgba(61,168,248,.22);
  border-radius: var(--r-ctl);
}
.pkgfit-answer {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 12px;
  font-size: 14px; color: var(--text-2);
}
.pkgfit-answer .ic { flex: none; font-size: 18px; color: var(--blue); }
.pkgfit-answer b { color: var(--text); font-weight: 700; }
.pkgfit-answer.is-none .ic { color: var(--text-3); opacity: .6; }

.pkgfit-rows { display: grid; }
.pkgfit-rows li {
  display: grid; grid-template-columns: 17px 1fr auto; align-items: center; gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
}
.pkgfit-rows .ic { font-size: 16px; color: var(--blue); }
.pkgfit-rows .is-no .ic { color: var(--text-3); opacity: .45; }
/* Gold marks the one package that hands this over without spending a pick,
   which is the same rule gold follows everywhere else on the site. */
.pkgfit-rows .is-own .ic { color: var(--gold); }
.pkgfit-pkg { color: var(--text); font-weight: 600; }
.pkgfit-what { color: var(--text-3); text-align: right; }
.pkgfit-rows .is-own .pkgfit-what { color: var(--gold); font-weight: 600; }
.pkgfit-what b { color: var(--text); font-weight: 700; }
/* Narrow: the two columns stop fitting on one line, so the detail drops under
   the package name rather than wrapping mid-phrase and making one row taller
   than its neighbours. */
@media (max-width: 460px) {
  .pkgfit-rows li { grid-template-columns: 17px 1fr; row-gap: 3px; }
  .pkgfit-what { grid-column: 2; text-align: left; }
}

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

.faq { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.faq details { background: var(--ink-2); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; cursor: pointer; list-style: none;
  font-family: var(--font-head);
  font-size: 15.5px; font-weight: 700; letter-spacing: -.01em;
  transition: color .18s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq summary:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.faq summary::after {
  content: ''; flex: none; width: 10px; height: 10px;
  border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq details[open] summary { color: var(--blue); }
.faq .faq-a { padding: 0 22px 20px; color: var(--text-2); font-size: 14.5px; line-height: 1.7; max-width: 68ch; }

/* ---------- related ---------- */

.related-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- work page ---------- */

.work-page .work-row + .work-row { margin-top: clamp(56px, 6vw, 88px); }

/* ---------- about page ---------- */

.about-page .about { align-items: start; }

/* ---------- cta band ---------- */

.cta-in { max-width: 620px; }
.cta-in .lead { margin-top: 18px; }
.cta-in .hero-actions { margin-top: 28px; }

/* ---------- stub pages ---------- */

.stub { max-width: 64ch; }
.notice-todo {
  display: flex; align-items: flex-start; gap: 12px;
  background: rgba(255,200,17,.06);
  border: 1px dashed rgba(255,200,17,.34);
  border-radius: var(--r-ctl);
  padding: 16px 20px;
  font-size: 14px; color: var(--text-2);
  margin-bottom: 24px;
}
.notice-todo .ic { font-size: 19px; color: var(--gold); margin-top: 2px; }
.stub-body { color: var(--text-2); }
.stub .hero-actions { margin-top: 26px; }

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .svc-card:hover .svc-arrow,
  .addon-more:hover { transform: none; gap: 8px; }
  .faq summary::after { transition: none; }
}
