/* Service, service-area, blog and quote pages (built by website-build/build.py).
   Builds on site.css (tokens, nav, buttons, form, footer) and sample.css (FAQ). */

.page .actions { gap: 12px; margin-top: 28px; }
.pill-soft { background: var(--soft); color: #000; }
.pill-soft:hover { background: var(--soft-2); }
.pill-outline-light { background: none; color: #fff; box-shadow: inset 0 0 0 1.5px #555; }
.pill-outline-light:hover { box-shadow: inset 0 0 0 1.5px #fff; }

/* Current section in the nav */
.nav-links a[aria-current="page"] { background: #282828; }

/* Breadcrumbs */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 28px; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #b5b5b5; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: #000; text-decoration: underline; }
.crumbs [aria-current] { color: #000; display: inline-block; max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }

/* Page hero */
.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 4vw, 56px); }
.page-hero h1, .article-head h1, .quote h1 {
  font-size: clamp(36px, 5vw, 60px); line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; max-width: 20ch;
}
.page-lead { margin-top: 20px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: #3d3d3d; max-width: 56ch; }
.article-wrap { max-width: 800px; }
.hero-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }

/* Screenshots */
.shot { margin: 0; }
.shot img { border-radius: 20px; background: #000; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.shot figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.shot-phone img { width: min(100%, 300px); border-radius: 32px; border: 8px solid #000; }
.hero-shot.shot-phone { justify-self: center; text-align: center; }
.hero-shot.shot-phone img { margin: 0 auto; }
.prose .shot { margin: 36px 0; }
.prose .shot-phone img { width: min(100%, 260px); }

/* Sections */
.band { padding: clamp(56px, 7vw, 96px) 0; }
.band-tight { padding-top: 0; }
.band-soft { background: var(--soft); }
.band h2, .more h2, .link-cols h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; }

/* "What you get" rows: two columns of plain text, separated by rules */
.rows { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(32px, 5vw, 80px); }
.row-item { padding: 24px 0; border-top: 1px solid var(--line); }
.row-item h3 { font-size: 20px; font-weight: 700; }
.row-item p { margin-top: 8px; color: #3d3d3d; font-size: 17px; max-width: 48ch; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); margin: 0; padding: 0; list-style: none; }
.step-n { display: block; font: 700 15px var(--head); color: var(--muted); margin-bottom: 16px; }
.steps h3 { font-size: 22px; font-weight: 700; }
.steps p { margin-top: 8px; color: #3d3d3d; font-size: 17px; }

/* Article */
.article { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 80px); }
.article-head { padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.article-meta { margin-top: 20px; font-size: 15px; color: var(--muted); }
.article-meta a { color: inherit; }
.prose { font-size: 18px; line-height: 1.7; color: #262626; }
.prose h2 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; margin-top: 48px; color: #000; }
.prose h3 { font-size: 20px; font-weight: 700; margin-top: 32px; color: #000; }
.prose > :first-child { margin-top: 0; }
.prose p { margin-top: 16px; max-width: 68ch; }
.prose ul { margin: 16px 0 0; padding-left: 22px; }
.prose li { margin-top: 8px; }
.prose a { color: #000; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: #9a9a9a; }
.prose a:hover { text-decoration-color: #000; }
.article .prose { margin-top: 8px; }
.article .prose > h2:first-child { margin-top: 40px; }
.fine-print { margin-top: 40px; font-size: 14px; color: var(--muted); max-width: 68ch; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0 !important; margin-top: 16px !important; }
.chips li { margin: 0; padding: 6px 14px; border-radius: 999px; background: var(--soft); font-size: 15px; font-weight: 500; line-height: 1.4; }

/* Link lists: related reading, hubs, blog index */
.more { padding: clamp(48px, 6vw, 80px) 0; background: var(--soft); }
.more-flush { background: none; padding-top: 0; }
.post-list { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.more-flush .post-list { margin-top: 0; }
.post-list-cols { grid-template-columns: repeat(3, 1fr); }
.post-list a {
  display: grid; gap: 6px; height: 100%; padding: 24px; border-radius: var(--radius); background: #fff;
  text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s var(--ease);
}
.post-list a:hover { box-shadow: inset 0 0 0 2px #000; }
.post-title { font: 700 20px/1.25 var(--head); letter-spacing: -0.015em; }
.post-desc { color: #3d3d3d; }
.post-list time { font-size: 14px; color: var(--muted); }
.hub-note { margin-top: 28px; color: #3d3d3d; font-size: 17px; }
.hub-note a { font-weight: 600; }

.link-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.link-list { list-style: none; margin: 20px 0 0; padding: 0; }
.link-list li { border-top: 1px solid var(--line); }
.link-list a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; font-weight: 600; text-decoration: none; }
.link-list a::after { content: "→"; color: var(--muted); transition: transform .2s var(--ease); }
.link-list a:hover::after { transform: translateX(3px); color: #000; }

/* Call-to-action band */
.cta-band { background: #000; color: #fff; padding: clamp(48px, 6vw, 80px) 0; }
.cta-row { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; font-weight: 700; letter-spacing: -0.03em; max-width: 22ch; }
.cta-band p { margin-top: 12px; color: #c7c7c7; font-size: 17px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Quote page */
.quote { padding-top: clamp(40px, 6vw, 80px); }
.quote .lead { margin-top: 20px; }
.quote-sub { font-size: 20px !important; letter-spacing: -0.01em !important; margin-top: 36px; }
.quote-list { margin: 12px 0 0; padding-left: 20px; color: #3d3d3d; font-size: 17px; }
.quote-list li { margin-top: 6px; }

@media (max-width: 1080px) {
  .hero-split { grid-template-columns: 1fr; }
  .post-list-cols { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .rows, .link-cols { grid-template-columns: 1fr; }
  .rows .row-item + .row-item { margin-top: 0; }
  .cta-actions, .cta-actions .pill, .page .actions .pill { width: 100%; }
  .crumbs [aria-current] { max-width: 22ch; }
  .prose { font-size: 17px; }
}
