/* Freelancers, students and startups pages. Uses tokens from /styles.css. */
.aud-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.facts { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { margin: 0; font: 500 14px/1 var(--mono); border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 12px; color: var(--ink); background: var(--surface); }

.uses { display: grid; gap: 16px; }
@media (min-width: 720px) { .uses { grid-template-columns: repeat(3, 1fr); } }
.uses .card { display: flex; flex-direction: column; gap: 10px; }
.uses .card h3 { margin: 0; }
.uses .ask { font-size: var(--fs-sm); }

.how { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: how; }
@media (min-width: 720px) { .how.how-4 { grid-template-columns: 1fr 1fr; } }
.how > li { counter-increment: how; position: relative; padding-left: 52px; margin: 0; }
.how > li::before { content: counter(how); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--field); color: var(--ink); border: 2px solid var(--line-strong); font: 700 17px/32px var(--body); text-align: center; }
.how h3 { margin-top: 5px; }
.how p { margin: 0 0 10px; color: var(--muted); }

.split { display: grid; gap: 16px; }
@media (min-width: 720px) { .split { grid-template-columns: 1fr 1fr; } }
.split h3 { margin-bottom: 8px; }

.biz { display: grid; gap: 16px; margin-top: 16px; }
@media (min-width: 720px) { .biz { grid-template-columns: 1fr 1fr; } }
.biz .card h3 { margin: 0 0 2px; }
.biz .price-line { font: 700 26px/1.2 var(--body); margin: 0 0 8px; color: var(--ink); }
.biz .price-line small { font-size: var(--fs-sm); font-weight: 400; color: var(--muted); }

.apply { scroll-margin-top: 16px; }

/* ---------- Redesigned audience pages (small-business, freelancers): band layout ---------- */
/* Hero: the shared page head (same top offset, h1 and lede as .page-head), with a visual beside it on desktop. */
.au-hero { padding: clamp(32px, 5vw, 56px) 0 0; }
.au-hero-field { display: grid; gap: var(--s-6); }
@media (min-width: 960px) { .au-hero-field { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: var(--s-7); } }
.au-hero h1 { color: var(--brand); font: 700 var(--fs-h1)/1.1 var(--body); letter-spacing: -0.03em; margin: 0 0 12px; max-width: 14em; }
.au-lede { font-size: var(--fs-lede); line-height: 1.5; color: var(--muted); margin: 0; max-width: 40em; }
.au-hero + .band { padding-top: var(--s-7); }

/* Hero visual: a template shot with a chat card on top */
.au-visual { position: relative; margin: 0; min-width: 0; }
.au-visual .shot-frame { box-shadow: none; }
.au-visual .au-chat { margin: -40px 0 0 auto; position: relative; width: min(92%, 380px); box-shadow: var(--pop); border: 2px solid var(--line-strong); }
@media (min-width: 960px) { .au-visual .au-chat { margin-right: -18px; } }
.au-visual figcaption { margin: 12px 0 0; font-size: var(--fs-sm); color: var(--muted); }

.au-chat { display: flex; flex-direction: column; gap: 10px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.au-chat .msg { max-width: 90%; overflow-wrap: anywhere; }
.au-chat-label { margin: 0; font: 500 var(--fs-xs)/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* What you get: feature cards with a plan note and a prompt */
.au-get { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .au-get { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .au-get { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.au-get > li { display: flex; flex-direction: column; align-items: flex-start; margin: 0; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.au-get h3 { margin: 0 0 6px; }
.au-get p { margin: 0 0 12px; color: var(--muted); }
.au-get .ask { margin: auto 0 0; font-size: var(--fs-sm); width: 100%; color: var(--ink); }
.au-plan { display: inline-block; margin: 0 0 12px; font: 500 var(--fs-xs)/1.35 var(--mono); color: var(--ink); background: var(--bg); border: 1px solid var(--line-strong); border-radius: 8px; padding: 4px 9px; }
.au-get .au-plan { color: var(--ink); }

/* Who it's for */
.au-who { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.au-who li { margin: 0; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.au-who strong { display: block; font-size: var(--fs-body); margin-bottom: 2px; }
.au-who span { color: var(--muted); font-size: var(--fs-sm); }

/* Example prompts: chats side by side */
.au-day { display: grid; gap: var(--s-5); }
@media (min-width: 860px) { .au-day { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.au-day .au-chat { padding: 20px; }
.au-day h3 { margin: 0 0 4px; font-size: var(--fs-body); }

/* Template thumbnails */
.au-tpls { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-5) var(--s-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
@media (min-width: 720px) { .au-tpls { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--s-5) var(--s-4); } }
.au-tpls li { margin: 0; min-width: 0; }
.au-tpl { display: block; text-decoration: none; color: var(--ink); }
.au-tpl img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: var(--radius-sm); border: 1.5px solid var(--line-strong); background: var(--surface); transition: transform var(--ease); }
.au-tpl:hover img { transform: translateY(-3px); }
.au-tpl strong { display: block; margin: 10px 0 2px; font-weight: 600; }
.au-tpl span { color: var(--muted); font-size: var(--fs-sm); }
.au-tpl:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; border-radius: var(--radius-sm); }

/* Pricing pointer */
.au-price { display: grid; gap: var(--s-4); }
@media (min-width: 860px) { .au-price { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; } }
.au-price .card { display: flex; flex-direction: column; }
.au-price .price-line { font: 700 34px/1.1 var(--body); margin: 4px 0 6px; color: var(--ink); }
.au-price .price-line small { font-size: var(--fs-sm); font-weight: 400; color: var(--muted); }
.au-price .ticks { margin: 12px 0 0; }
.au-price .btn-row { margin-top: auto; padding-top: var(--s-4); }

/* Worked cost table */
.au-cost { width: 100%; border-collapse: collapse; background: var(--surface); font-size: var(--fs-sm); }
.au-cost th, .au-cost td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.au-cost thead th { background: var(--bg); font-weight: 600; }
.au-cost tbody th { font-weight: 600; }
.au-cost tbody tr:last-child > * { border-bottom: 0; }
.au-cost td.num { white-space: nowrap; font-weight: 600; }
.au-cost-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 640px) {
  .au-cost thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .au-cost, .au-cost tbody, .au-cost tr, .au-cost th, .au-cost td { display: block; }
  .au-cost tbody tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .au-cost tbody tr:last-child { border-bottom: 0; }
  .au-cost tbody th, .au-cost tbody td { padding: 0; border: 0; }
  .au-cost tbody th { font-size: var(--fs-body); }
  .au-cost td:nth-child(2), .au-cost td.num { display: inline; color: var(--muted); }
  .au-cost td:nth-child(2)::after { content: " · "; }
  .au-cost td:last-child { margin-top: 6px; }
}

/* Email mockups (real product copy) */
.au-mock { margin: 0; min-width: 0; }
.au-mail { background: var(--surface); border: 2px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; }
.au-mail-head { padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--paper); font-size: var(--fs-sm); }
.au-mail-head p { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.au-mail-head .au-subj { color: var(--ink); font-weight: 600; font-size: var(--fs-body); margin-top: 4px; }
.au-mail-body { padding: 18px; font-size: var(--fs-sm); line-height: 1.55; }
.au-mail-body p { margin: 0 0 10px; overflow-wrap: anywhere; }
.au-mail-body .au-fine { color: var(--muted); font-size: var(--fs-xs); margin: 12px 0 0; }
.au-fakebtn { display: inline-block; background: var(--primary); color: var(--on-primary); padding: 9px 16px; border-radius: 999px; font-weight: 600; }
.au-mock figcaption { margin: 12px 0 0; color: var(--muted); font-size: var(--fs-sm); }
.au-mock-pop .au-mail { box-shadow: var(--pop); }

.au-pair { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 900px) { .au-pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-8); } .au-pair-flip > :first-child { order: 2; } }
.au-pair h2 { margin: 0 0 var(--s-3); }
.au-pair .ticks { margin: 16px 0 0; }
.au-pair .ask { margin-top: 16px; }

.au-steps { --steps: 4; }
.au-steps .ask { margin-top: 12px; font-size: var(--fs-sm); }

.au-links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: var(--s-5) 0 0; }
.au-faq-wrap { display: grid; gap: var(--s-6); }
@media (min-width: 960px) { .au-faq-wrap { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); align-items: start; } }
