/* Social Pipeline website. Palette and typeface follow the product (and mldatahouse.com). */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #5aefdb;
  --blue-dark: #208c7d;
  --violet: #5aefdb;
  --magenta: #35cae0;
  --ink: #142622;
  --ink2: #354945;
  --muted: #697c78;
  --line: #ddf0ec;
  --line2: #c9e5e0;
  --soft: #f5fefd;
  --tint: #eafdfb;
  --navy: #0e1b18;
  --navy2: #152925;
  --ok: #14b87a;
  --grad: linear-gradient(120deg, #35cae0 0%, #5aefdb 48%, #5aefdb 100%);
  --grad-blue: linear-gradient(135deg, #7af2e6 0%, #5aefdb 55%, #3bd3bf 100%);
  --shadow: 0 1px 2px rgba(20, 38, 34, .05), 0 12px 32px -18px rgba(20, 38, 34, .22);
  --shadow-lift: 0 2px 4px rgba(20, 38, 34, .04), 0 26px 50px -26px rgba(59, 211, 191, .4);
  --radius: 18px;
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink2); background: #fff; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--blue-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -0.025em; word-spacing: 0.06em; margin: 0; font-weight: 800; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid rgba(90, 239, 219, .45); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.icon { flex: none; vertical-align: middle; }
.center { text-align: center; }
.muted { color: var(--muted); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ------------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 15.5px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; line-height: 1.2; }
.btn-primary { background: var(--grad-blue); color: #fff; box-shadow: 0 12px 26px -12px rgba(90, 239, 219, .75), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 16px 30px -12px rgba(90, 239, 219, .85), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn-ghost { background: #fff; color: var(--ink2); border-color: var(--line2); }
.btn-ghost:hover { color: var(--blue-dark); border-color: var(--blue); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { color: var(--blue-dark); transform: translateY(-1px); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-outline-light:hover { color: #fff; border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ------------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 24px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-name { display: flex; gap: .28em; font-size: 21px; font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.brand-name b { background: linear-gradient(90deg, #35cae0, #5aefdb); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-name span { color: var(--blue); }
.brand-light .brand-name span { color: #a5f6ed; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 10px; }
.nav-links a:not(.btn) { padding: 8px 14px; border-radius: 999px; color: var(--ink2); text-decoration: none; font-weight: 600; font-size: 15.5px; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { background: var(--tint); color: var(--blue-dark); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.nav-login { font-weight: 700; color: var(--ink2); text-decoration: none; font-size: 15.5px; }
.nav-cta .btn { padding: 10px 20px; font-size: 15px; }
.nav-cta-mobile { display: none; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line2); border-radius: 12px; background: #fff; cursor: pointer; padding: 0; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink2); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; padding: 76px 0 64px; background:
  radial-gradient(900px 420px at 88% -8%, rgba(90, 239, 219, .16), transparent 60%),
  radial-gradient(760px 420px at -4% 8%, rgba(90, 239, 219, .14), transparent 60%),
  linear-gradient(#fff, var(--soft)); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line2); font-size: 13.5px; font-weight: 700; color: var(--ink2); box-shadow: 0 6px 16px -10px rgba(20, 38, 34, .3); margin-bottom: 22px; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(20, 184, 122, .18); }
.hero h1 { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.04; letter-spacing: -0.035em; margin-bottom: 22px; }
.lead { font-size: clamp(18px, 2vw, 20.5px); color: var(--muted); max-width: 580px; margin-bottom: 30px; }
.hero-note { margin: 18px 0 0; font-size: 14.5px; color: var(--muted); display: flex; align-items: flex-start; gap: 8px; }
.hero-note .icon { color: var(--ok); margin-top: 3px; }
.hero-visual { position: relative; display: grid; gap: 18px; }
.hero-visual .mock-stats { margin-left: 56px; margin-right: -4px; }

/* ---------------------------------------------------------------- mock-ups */
.mock { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lift); overflow: hidden; }
.mock-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-weight: 800; color: var(--ink); font-size: 15px; }
.mock-head em { margin-left: auto; font-style: normal; font-weight: 700; font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.live { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(20, 184, 122, .18); }
.feed { list-style: none; }
.feed li { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: start; padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.4; }
.feed li:last-child { border-bottom: 0; }
.feed-icon { width: 30px; height: 30px; border-radius: 10px; background: var(--tint); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; }
.feed li:nth-child(5) .feed-icon { background: #dffcfc; color: #0e8a88; }
.feed li:last-child .feed-icon { background: #dff7ec; color: #0d8c5c; }
.feed-text b { color: var(--ink); }
.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--tint); color: var(--blue-dark); white-space: nowrap; align-self: center; }
.pill-hot { background: #dffcfc; color: #0c7774; }
.feed-when { font-size: 12.5px; color: var(--muted); white-space: nowrap; padding-top: 3px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); }
.tiles div { padding: 16px 14px; border-right: 1px solid var(--line); text-align: center; }
.tiles div:last-child { border-right: 0; }
.tiles b { display: block; font-size: 28px; line-height: 1.1; color: var(--ink); letter-spacing: -0.03em; }
.tiles span { font-size: 12.5px; color: var(--muted); }
.bubbles { padding: 18px; display: grid; gap: 10px; background: #fff; }
.bubbles p { margin: 0; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; max-width: 86%; line-height: 1.45; }
.bubbles .in { background: var(--soft); border: 1px solid var(--line); border-bottom-left-radius: 5px; color: var(--ink); justify-self: start; }
.bubbles .out { background: var(--grad-blue); color: #fff; border-bottom-right-radius: 5px; justify-self: end; }
.bubbles .out small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .06em; opacity: .8; margin-bottom: 2px; }
.bubbles .note { justify-self: stretch; max-width: none; text-align: center; background: #dff7ec; color: #0d6b48; font-weight: 700; font-size: 13.5px; border-radius: 12px; }

/* ----------------------------------------------------------------- sections */
.section { padding: 84px 0; }
.section-alt { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 740px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 3.8vw, 44px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }
.kicker { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 12px; }
.grid { display: grid; gap: 22px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; }
a.card { display: block; text-decoration: none; color: inherit; }
.card:hover { border-color: var(--line2); box-shadow: var(--shadow-lift); }
.card h3 { font-size: 20px; margin: 16px 0 8px; }
.card p { color: var(--muted); font-size: 16px; margin: 0; }
.ico { width: 46px; height: 46px; border-radius: 14px; background: var(--tint); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; }
.ico-grad { background: var(--grad-blue); color: #fff; box-shadow: 0 10px 20px -10px rgba(90, 239, 219, .7); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; list-style: none; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 26px 26px; box-shadow: var(--shadow); counter-increment: step; }
.steps li::before { content: counter(step); display: inline-flex; width: 38px; height: 38px; border-radius: 12px; align-items: center; justify-content: center; background: var(--grad-blue); color: #fff; font-weight: 800; margin-bottom: 14px; }
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 16px; }
.split p { color: var(--muted); }
.checks { list-style: none; display: grid; gap: 12px; margin: 22px 0 0; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink2); }
.checks .icon { color: var(--ok); margin-top: 3px; stroke-width: 2.6; }
.checks b { color: var(--ink); }

.cta-band { background: radial-gradient(700px 300px at 85% 0%, rgba(90, 239, 219, .55), transparent 60%), radial-gradient(600px 300px at 0% 100%, rgba(90, 239, 219, .5), transparent 60%), var(--navy); color: #c9e5e0; border-radius: 28px; padding: 64px 32px; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); max-width: 720px; margin: 0 auto 14px; }
.cta-band p { max-width: 600px; margin: 0 auto 28px; font-size: 18px; }
.cta-band .btn-row { justify-content: center; }

.notice { border: 1px solid #8ce3e3; background: #eafdfd; border-radius: 14px; padding: 16px 20px; color: #084c4c; font-size: 15.5px; }
.notice b { color: #053737; }

/* ---------------------------------------------------------------------- FAQ */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 4px; font-weight: 700; font-size: 18px; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { padding: 0 44px 22px 4px; color: var(--muted); }
.faq-a p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ pricing */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan.featured { border-color: var(--blue); box-shadow: var(--shadow-lift); position: relative; }
.plan h3 { font-size: 22px; }
.plan .price { font-size: 38px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; margin: 14px 0 4px; }
.plan .price small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan .checks { margin: 20px 0 26px; flex: 1; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { background: var(--soft); color: var(--ink); font-size: 14px; letter-spacing: .02em; }

/* ------------------------------------------------------------- inner pages */
.page-hero { padding: 64px 0 44px; background: radial-gradient(800px 320px at 85% -20%, rgba(90, 239, 219, .13), transparent 60%), linear-gradient(#fff, var(--soft)); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 52px); letter-spacing: -0.035em; max-width: 860px; margin-bottom: 16px; }
.page-hero .lead { margin-bottom: 0; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 700; font-size: 14.5px; color: var(--ink); }
.field input, .field textarea, .field select { font: inherit; padding: 12px 14px; border: 1.5px solid var(--line2); border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(90, 239, 219, .15); }

/* --------------------------------------------------------------------- blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: inherit; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); color: inherit; }
.post-art { height: 138px; background: var(--grad); position: relative; display: flex; align-items: flex-end; padding: 16px; }
.post-art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(240px 140px at 90% 0%, rgba(255, 255, 255, .28), transparent 60%); }
.post-art span { position: relative; z-index: 1; background: rgba(255, 255, 255, .92); color: var(--ink2); font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; border-radius: 999px; padding: 4px 11px; }
.post-card:nth-child(3n + 2) .post-art { background: linear-gradient(135deg, #5aefdb, #3bd3bf 60%, #5aefdb); }
.post-card:nth-child(3n) .post-art { background: linear-gradient(135deg, #5aefdb, #5aefdb 70%, #5eefed); }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-body h3 { font-size: 20px; letter-spacing: -0.02em; margin-bottom: 10px; }
.post-body p { color: var(--muted); font-size: 15.5px; margin-bottom: 18px; flex: 1; }
.post-meta { font-size: 13.5px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.tag { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--blue-dark); background: var(--tint); border-radius: 999px; padding: 3px 11px; }

.article { display: grid; grid-template-columns: minmax(0, 720px) 260px; gap: 56px; justify-content: center; padding: 56px 0 72px; align-items: start; }
.article-head { max-width: 820px; margin: 0 auto; padding: 52px 24px 0; }
.article-head h1 { font-size: clamp(32px, 4.4vw, 48px); letter-spacing: -0.035em; margin: 10px 0 16px; }
.article-head .post-meta { font-size: 14.5px; }
.prose { font-size: 18px; line-height: 1.75; color: #354945; }
.prose h2 { font-size: 28px; margin: 2.1em 0 .6em; scroll-margin-top: 96px; }
.prose h3 { font-size: 21px; margin: 1.7em 0 .5em; }
.prose p { margin: 0 0 1.25em; }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 1.4em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--blue); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--blue); color: var(--ink2); font-size: 1.06em; }
.prose code { background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: .9em; }
.prose pre { background: var(--navy); color: #e5fcfa; border-radius: 14px; padding: 18px 20px; overflow-x: auto; font-size: 15px; line-height: 1.6; }
.prose pre code { background: none; border: 0; padding: 0; color: inherit; }
.prose table { font-size: 16px; margin: 1.6em 0; display: block; overflow-x: auto; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.aside { position: sticky; top: 96px; display: grid; gap: 18px; }
.toc { border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; background: var(--soft); }
.toc h2 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; display: grid; gap: 9px; }
.toc a { color: var(--ink2); text-decoration: none; font-size: 15px; line-height: 1.35; display: block; }
.toc a:hover { color: var(--blue); }
.aside-cta { border-radius: 16px; padding: 22px; background: var(--navy); color: #c9e5e0; font-size: 15px; }
.aside-cta h2 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.aside-cta .btn { width: 100%; margin-top: 8px; }

/* ------------------------------------------------------------------- footer */
.site-footer { background: var(--navy); color: #b4c8c4; padding: 64px 0 28px; margin-top: 0; font-size: 15.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h2 { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; font-weight: 800; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #b4c8c4; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-about p { max-width: 340px; margin: 16px 0 10px; }
.footer-mail a { color: #a5f6ed; font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 48px; padding-top: 22px; display: grid; gap: 6px; font-size: 13.5px; color: #92a7a3; }
.footer-bottom p { margin: 0; }

/* -------------------------------------------------------------- responsive */
@media (max-width: 1024px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual .mock-stats { margin: 0; }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .cols-3, .steps, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .article { grid-template-columns: minmax(0, 720px); gap: 28px; }
  .aside { position: static; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 70px; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 16px 20px; flex-direction: column; align-items: stretch; gap: 2px; margin: 0; box-shadow: 0 24px 40px -24px rgba(20, 38, 34, .3); }
  .nav-open .nav-links { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 16px; font-size: 17px; border-radius: 12px; }
  .nav-cta-mobile { display: flex; gap: 10px; padding: 12px 4px 0; }
  .nav-cta-mobile .btn { flex: 1; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .container { padding: 0 20px; }
  .section { padding: 60px 0; }
  .hero { padding: 48px 0 44px; }
  .cols-2, .cols-3, .cols-4, .steps, .post-grid { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tiles div:nth-child(2) { border-right: 0; }
  .tiles div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .feed li { grid-template-columns: 34px 1fr; }
  .feed-when { display: none; }
  .feed li .pill { grid-column: 2; justify-self: start; margin-top: 2px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .cta-band { padding: 48px 22px; border-radius: 22px; }
  .btn-row .btn { flex: 1 1 100%; }
  .prose { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ------------------------------------------------------- authors and post FAQ */
.post-faq { margin-top: 3em; }
.post-faq .faq { max-width: none; }
.post-faq .faq-a p { font-size: 17px; line-height: 1.65; }
.author-box { display: flex; gap: 18px; align-items: flex-start; margin-top: 3em; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.author-box img, .author-initial { width: 72px; height: 72px; border-radius: 50%; flex: none; object-fit: cover; }
.author-initial { display: inline-flex; align-items: center; justify-content: center; background: var(--grad-blue); color: #fff; font-weight: 800; font-size: 24px; }
.author-box p { margin: 0 0 .4em; font-size: 16px; line-height: 1.6; color: var(--muted); }
.author-box .author-name { color: var(--ink); font-weight: 700; }
.author-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 10px; font-size: 15px; font-weight: 600; }
@media (max-width: 640px) { .author-box { flex-direction: column; } }
