/* Shared styling for the CONTENT subpages — /pricing/ and /faq/.
 *
 * WHY A THIRD STYLESHEET. The rule set by brief.css stands: the landing page keeps
 * its CSS inline because it must render in one request, and pages that share a look
 * share a file rather than duplicating tokens. brief.css is deliberately scoped to
 * the form flow ("anything not needed by a form is deliberately absent"), so it has
 * no table, no price rows and no question cards. Extending it would push form CSS
 * onto pages with no form, and pull content CSS onto seven pages that do not want it.
 *
 * ⚠️ THE TOKEN BLOCK IS COPIED VERBATIM from index.html, exactly as brief.css does.
 * That is now THREE copies, which is a drift risk that has already bitten this
 * project in other forms — so `tools/tokens.mjs` asserts all three agree and fails
 * the build if one moves. Change a value in index.html and run it.
 *
 * These pages exist because the landing page was 2,072 words against a ~900 budget,
 * and 48% of it was the price table plus the build spec: reference detail a visitor
 * consults once they are deciding, not what moves them to act.
 */

@font-face{font-family:'Manrope';src:url('/fonts/manrope-var-latin.woff2') format('woff2');
  font-weight:400 800;font-display:swap;font-style:normal}
@font-face{font-family:'Azeret';src:url('/fonts/azeret-var-latin.woff2') format('woff2');
  font-weight:400 600;font-display:swap;font-style:normal}

:root{
  color-scheme:dark;
  --void:#06080D; --void-2:#0C1219; --void-3:#121A24;
  --line:#1B2C3C; --line-2:#263D51;
  --cyan:#25E6FF; --cyan-dim:#0FA8BF;
  --paper:#DFF3FF; --mist:#9FB6C6; --mist-2:#6E8899;
  --ok:#4BE39B; --bad:#FF7A8A;
  --f:'Manrope','Manrope-fb','Helvetica Neue',Arial,sans-serif;
  --m:'Azeret',ui-monospace,SFMono-Regular,Menlo,monospace;
  --fs-h1:clamp(2.1rem,4.8vw,3.5rem);
  --fs-h2:clamp(1.6rem,3.2vw,2.4rem);
  --fs-h3:clamp(1.1rem,1.7vw,1.3rem);
  --fs-lede:clamp(1.08rem,1.4vw,1.28rem);
  --fs-body:1.0625rem;
  --fs-sm:.94rem; --fs-xs:.7rem;
  --s1:.5rem; --s2:1rem; --s3:1.5rem; --s4:2rem; --s5:3rem; --s6:4.5rem;
  --frame:1180px;
  --ease:cubic-bezier(.16,1,.3,1);
}

*{box-sizing:border-box;margin:0}
html{-webkit-text-size-adjust:100%}
body{background:var(--void);color:var(--mist);
  font:400 var(--fs-body)/1.65 var(--f);-webkit-font-smoothing:antialiased}
::selection{background:var(--cyan);color:var(--void)}

.frame{width:100%;max-width:var(--frame);margin-inline:auto;
  padding-inline:clamp(1rem,4vw,2.5rem)}

/* ── header, matched to the landing page so a subpage is not a different site ── */
.head{border-bottom:1px solid var(--line);position:sticky;top:0;z-index:100;
  background:color-mix(in srgb,var(--void) 88%,transparent);
  backdrop-filter:none}
.head__in{display:flex;align-items:center;justify-content:space-between;gap:1rem;
  padding-block:var(--s3)}
.mark{display:flex;align-items:center;gap:.55rem;font-weight:800;letter-spacing:-.02em;
  color:var(--paper);text-decoration:none;font-size:1.06rem}
.mark i{width:18px;height:18px;flex:none;position:relative;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='10' cy='10' r='3.4' fill='%2325E6FF' fill-opacity='.3'/%3E%3Ccircle cx='20' cy='10' r='3.4' fill='%2325E6FF' fill-opacity='.3'/%3E%3Ccircle cx='10' cy='20' r='3.4' fill='%2325E6FF' fill-opacity='.3'/%3E%3C/svg%3E");
  background-size:contain;background-repeat:no-repeat}
.mark i::after{content:"";position:absolute;left:48%;top:48%;width:29%;height:29%;
  border-radius:50%;background:var(--cyan);box-shadow:0 0 8px var(--cyan)}

/* Same nav as the landing page, so a subpage is not a different site. The current
   page is a <span aria-current="page">, not a link to itself. */
.head-nav{display:flex;align-items:center;gap:var(--s3)}
.head-nav__minor{font-size:var(--fs-sm)}
.head-nav__cur{color:var(--mist-2)}
.head-nav__cur--keep{display:inline !important}
/* And below 380 not even ONE link fits: wordmark 149 + Pricing 52 + button 120 +
   padding needs 341px, which overflowed a 320px phone by 21. The footer is the nav
   at that width. Three thresholds, all measured: 380, 560, and the full set above. */
@media (max-width:379px){.head-nav__minor{display:none}}
@media (max-width:559px){
  .head-nav{gap:var(--s2)}
  .head-nav__minor--opt,.head-nav__cur{display:none}
  /* Directions is hidden here for the same reason Work is: at 390px the header
     fits two items and adding a third measured scrollWidth 428 against a 390
     viewport. Reachability is not lost — the footer nav carries it at every
     width, and the hero fork is the real mobile entry to it. */
  .head-nav a[href="/work/"]{display:none}
  .head-nav a[href="/swipe/"]{display:none}
}

h1,h2,h3{color:var(--paper);letter-spacing:-.025em;line-height:1.08;text-wrap:balance}
h1{font-size:var(--fs-h1);font-weight:800}
h2{font-size:var(--fs-h2);font-weight:800}
h3{font-size:var(--fs-h3);font-weight:700;letter-spacing:-.015em;line-height:1.3}
p{max-width:64ch}
b,strong{color:var(--paper);font-weight:700}
.lbl{font-family:var(--m);font-size:var(--fs-xs);letter-spacing:.14em;
  text-transform:uppercase;color:var(--cyan)}
.lede{font-size:var(--fs-lede);color:var(--paper);margin-top:var(--s3)}
.fine{font-size:var(--fs-sm);color:var(--mist-2);max-width:56ch}
section{padding-block:clamp(2.5rem,6vw,var(--s6));border-bottom:1px solid var(--line)}
section:last-of-type{border-bottom:0}

a{color:var(--cyan)}
.link{color:var(--cyan);text-decoration:none;
  border-bottom:1px solid rgb(37 230 255 / .34);padding-bottom:1px}
.link:hover,.link:focus-visible{border-bottom-color:var(--cyan)}
:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}

.btn{display:inline-flex;align-items:center;gap:.55rem;text-decoration:none;
  background:var(--cyan);color:#04222B;font-weight:800;letter-spacing:-.01em;
  padding:.95rem 1.4rem;border-radius:10px;border:0;font-size:1rem;
  font-family:var(--f);cursor:pointer;min-height:48px}
.btn:hover{background:#5CEEFF}
.btn--sm{padding:.6rem 1rem;font-size:.92rem;min-height:44px}
.btn--line{background:transparent;color:var(--paper);border:1px solid var(--line-2)}
.btn--line:hover{background:var(--void-2);border-color:var(--mist-2)}

/* ── the price list. Same four groups and collapse behaviour as the front page
      had, because the reason for them has not changed: 21 rows is a wall, and a
      buyer wants to jump to one group. ── */
.plist{width:100%;border-collapse:collapse;margin-top:var(--s2)}
.plist td{padding-block:.75rem;border-bottom:1px solid var(--line);
  font-size:var(--fs-sm);vertical-align:top}
.plist td:last-child{text-align:right;font-family:var(--m);color:var(--paper);
  white-space:nowrap;padding-left:1rem}
.plist .yes{color:var(--ok)}
.plist .no{color:var(--bad)}
.plist tbody tr:last-child td{border-bottom:0}
.plist-h{margin-top:var(--s5);margin-bottom:calc(var(--s2) * -1);
  font-family:var(--m);font-weight:600;font-size:var(--fs-xs);
  letter-spacing:.12em;text-transform:uppercase;color:var(--cyan)}
.plist-d{margin-top:var(--s4);border-top:1px solid var(--line-2)}
.plist-d>summary{display:flex;align-items:baseline;justify-content:space-between;
  gap:1rem;cursor:pointer;list-style:none;padding-block:.9rem;
  font-family:var(--m);font-weight:600;font-size:var(--fs-xs);letter-spacing:.12em;
  text-transform:uppercase;color:var(--cyan);min-height:48px}
.plist-d>summary::-webkit-details-marker{display:none}
.plist-d>summary::after{content:"+";font-family:var(--m);color:var(--mist-2);
  font-size:1rem;line-height:1}
.plist-d[open]>summary::after{content:"–"}
.plist-d>summary:hover{color:var(--paper)}
.plist-d__n{font-weight:400;color:var(--mist-2);letter-spacing:.06em;white-space:nowrap}
.plist-d[open]>summary{border-bottom:1px solid var(--line)}

/* ── two tiers, the primary one raised ── */
.tiers{display:grid;gap:var(--s3);margin-top:var(--s4)}
@media (min-width:860px){.tiers{grid-template-columns:1.15fr 1fr;align-items:start}}
.tier{border:1px solid var(--line-2);border-radius:14px;padding:clamp(1.25rem,3vw,2rem);
  background:radial-gradient(120% 140% at 12% 0%,rgb(37 230 255 / .06),transparent 60%),
    var(--void-2)}
.tier--minor{background:var(--void-2);border-color:var(--line)}
.tier__hd{display:flex;align-items:baseline;gap:.9rem;flex-wrap:wrap}
.tier .price{font-family:var(--m);font-size:1.9rem;color:var(--paper);font-weight:600}
.tier--minor .price{font-size:1.45rem}
.tier .price small{font-family:var(--f);font-size:.82rem;color:var(--mist-2);
  font-weight:400;margin-left:.4rem}
.spec{list-style:none;padding:0;margin-top:var(--s3);display:grid;gap:.6rem}
.spec li{display:grid;grid-template-columns:1.1rem 1fr;gap:.6rem;font-size:var(--fs-sm)}
.spec svg{width:14px;height:14px;margin-top:.42em;color:var(--ok)}
.tier__note{margin-top:var(--s3);font-size:var(--fs-sm);color:var(--mist-2)}

/* ── the exclusion list and the hosting plans, copied verbatim from index.html.
      Both moved here with their content; a class that exists in one file and not the
      other is how a moved section silently loses its styling. ── */
.excl{display:grid;gap:.55rem;margin-top:var(--s4);list-style:none;padding:var(--s3) var(--s4);
  background:var(--void-2);border:1px solid var(--line);border-radius:14px}
.excl li{display:grid;grid-template-columns:1.1rem 1fr;gap:.7rem;align-items:start;
  font-size:var(--fs-sm);color:var(--mist-2)}
.excl svg{width:1rem;height:1rem;color:var(--bad);margin-top:.3em}
.care{display:grid;gap:var(--s3);margin-top:var(--s4)}
@media (min-width:760px){.care{grid-template-columns:1fr 1fr}}
.care__i{border:1px solid var(--line);border-radius:14px;padding:var(--s3) var(--s4);
  background:var(--void-2)}
.care__p{font-family:var(--m);font-size:1.5rem;color:var(--paper);margin-top:var(--s1)}
.care__p small{font-family:var(--f);font-size:.8rem;color:var(--mist-2)}
.care__b{margin-top:var(--s2);font-size:var(--fs-sm)}
.lbl--dim{color:var(--mist-2)}

/* ── question cards ── */
.qa{display:grid;gap:var(--s3);margin-top:var(--s4)}
@media (min-width:800px){.qa{grid-template-columns:1fr 1fr;gap:var(--s4)}}
.qa__i{border-top:1px solid var(--line);padding-top:var(--s3)}
.qa__q{display:flex;align-items:flex-start;gap:.6rem}
.qa__q svg{width:17px;height:17px;flex:none;margin-top:.24em;color:var(--cyan)}
.qa__a{margin-top:.6rem;font-size:var(--fs-sm)}

/* ── work cards. The screenshot is the argument, so it gets the room; the words
      are a caption, not a case study. ── */
.works{display:grid;gap:var(--s5);margin-top:var(--s4)}
@media (min-width:900px){.works{grid-template-columns:1fr 1fr;gap:var(--s5) var(--s4)}}
.works--small{margin-top:var(--s3)}
.w{margin:0;display:grid;gap:var(--s3);align-content:start}
.w img{width:100%;height:auto;display:block;border:1px solid var(--line-2);
  border-radius:12px;background:var(--void-2)}
.w a:has(img){display:block;border-radius:12px}
.w a:has(img):hover img{border-color:var(--mist-2)}
.w figcaption{display:grid;gap:.45rem}
.w h3{font-size:var(--fs-h3)}
.w__what{font-size:var(--fs-sm);color:var(--mist)}
.w__role{font-size:var(--fs-sm);color:var(--paper);font-weight:700}
.w__note{font-size:var(--fs-sm);color:var(--mist-2)}
.w figcaption .link{font-family:var(--m);font-size:var(--fs-xs);letter-spacing:.06em;
  justify-self:start;margin-top:.2rem}
/* The secondary row is smaller on purpose: these prove I ship, not that I ship
   for someone else, so they must not compete with the three above. */
.w--sm h3{font-size:1.02rem}
@media (min-width:900px){.works--small{grid-template-columns:1fr 1fr}}

/* ── the closing ask, repeated on every subpage ── */
.close{text-align:center}
.close .frame{display:grid;justify-items:center;gap:var(--s3)}
.close p{max-width:52ch}

.foot{border-top:1px solid var(--line);padding-block:var(--s5);
  font-size:var(--fs-sm);color:var(--mist-2)}
.foot__in{display:flex;flex-wrap:wrap;gap:var(--s3) var(--s5);
  justify-content:space-between;align-items:baseline}
.foot a{color:var(--mist);text-decoration:none;border-bottom:1px solid var(--line-2)}
.foot a:hover{color:var(--paper);border-bottom-color:var(--mist-2)}
.foot__nav{display:flex;flex-wrap:wrap;gap:var(--s3)}

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

@media (prefers-reduced-motion:reduce){
  *{animation:none !important;transition:none !important}
}
