/* Shopify hub (consensus.pt/shopify/). Same tokens, header, cards, CTA block and
   footer as the home page (/index.html); article typography on top. */
:root {
  --paper: #FCFCFB;
  --ink: #17212B;
  --ink-2: #223140;
  --muted: #5A6470;
  --line: #E3E7EB;
  --tint: #F1F5F6;
  --accent: #0B7A8A;
  --accent-ink: #075C68;
  --accent-soft: #E3F2F3;
  --glow: #9BE3EA;
  --wrap: 1160px;
  --shadow-sm: 0 1px 2px rgba(23, 33, 43, .05), 0 2px 6px rgba(23, 33, 43, .04);
  --shadow: 0 1px 2px rgba(23, 33, 43, .05), 0 12px 32px -8px rgba(23, 33, 43, .12);
  --shadow-lg: 0 2px 4px rgba(23, 33, 43, .04), 0 24px 56px -16px rgba(11, 60, 70, .22);
  --measure: 68ch;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Schibsted Grotesk", system-ui, sans-serif; font-size: 18px; line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
h1, h2, h3 { text-wrap: balance; }
svg.i { width: 22px; height: 22px; flex: none; }
.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; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; color: #fff; }

/* Header (same as home) */
.top { position: sticky; top: 0; z-index: 20; background: rgba(252, 252, 251, .82); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.brand svg { width: 30px; height: 30px; }
nav ul { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; align-items: center; }
nav a { color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 500; }
nav a:hover { color: var(--accent); }
nav a[aria-current="page"], nav a.on { color: var(--accent); }
.btn {
  display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; text-decoration: none;
  padding: 13px 22px; border-radius: 10px; font-weight: 600; font-size: 16px; line-height: 1.2;
  box-shadow: 0 1px 2px rgba(23,33,43,.2), 0 6px 16px -6px rgba(23,33,43,.45);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { background: var(--ink-2); color: #fff; transform: translateY(-1px); box-shadow: 0 2px 4px rgba(23,33,43,.2), 0 10px 22px -8px rgba(23,33,43,.5); }
.btn-ghost { background: rgba(255,255,255,.85); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.btn-ghost:hover { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px #CFD6DC, var(--shadow); }
.btn svg.i { width: 18px; height: 18px; }

/* Shared blocks */
section { padding: 88px 0; position: relative; }
.band { background: var(--tint); }
.head { max-width: 640px; margin-bottom: 44px; }
h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 14px; font-weight: 800; }
.head p { color: var(--muted); margin: 0; font-size: 19px; }
h3 { font-size: 21px; line-height: 1.3; margin: 0 0 10px; font-weight: 700; letter-spacing: -0.01em; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
a.card:hover, .card.lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #D3E3E6; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.more svg.i { width: 18px; height: 18px; transition: transform .15s; }
a:hover .more svg.i, .more:hover svg.i { transform: translateX(3px); }
.kind { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-ink); background: var(--accent-soft); border-radius: 999px; padding: 4px 12px 4px 8px; font-size: 14px; font-weight: 600; align-self: flex-start; }
.kind svg.i { width: 16px; height: 16px; }

/* Generated cover (brand pattern + Phosphor icon) */
.cover { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: inherit; background: var(--tint); }
img.cover { object-fit: cover; }

/* Hub hero */
.hub-hero { position: relative; overflow: hidden; padding: 96px 0 72px; isolation: isolate; }
.hub-hero::before {
  content: ""; position: absolute; inset: -30% -10% auto auto; width: 60%; height: 140%; z-index: -1;
  background: radial-gradient(closest-side, rgba(155, 227, 234, .40), rgba(155, 227, 234, 0) 70%);
}
.hub-hero h1 { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; margin: 0 0 22px; max-width: 15em; }
.hub-hero p.sub { color: var(--muted); font-size: 21px; max-width: 34em; margin: 0 0 30px; }
.who { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.who li { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.8); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px 8px 10px; font-size: 15px; box-shadow: var(--shadow-sm); }
.who svg.i { width: 18px; height: 18px; color: var(--accent); }

/* Article cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { display: flex; flex-direction: column; overflow: hidden; color: var(--ink); text-decoration: none; }
.post:hover { color: var(--ink); }
.post .media { border-radius: 17px 17px 0 0; overflow: hidden; border-bottom: 1px solid var(--line); }
.post .body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.post .kind { margin-bottom: 14px; }
.post h3 { font-size: 21px; margin-bottom: 10px; }
.post p { color: var(--muted); font-size: 16.5px; margin: 0 0 20px; }
.post .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--muted); }
.post .foot .more { color: var(--accent); font-size: 16px; }
.post.wide { display: grid; grid-template-columns: 1.15fr 1fr; grid-column: 1 / -1; }
.post.wide .media { border-radius: 17px 0 0 17px; border-bottom: 0; border-right: 1px solid var(--line); }
.post.wide .media .cover { height: 100%; }
.post.wide .body { padding: 40px; justify-content: center; }
.post.wide h3 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -0.02em; line-height: 1.2; }
.post.wide p { font-size: 18px; }
.meta-line { display: inline-flex; align-items: center; gap: 6px; }
.meta-line svg.i { width: 17px; height: 17px; color: var(--accent); }

.empty { display: flex; gap: 18px; align-items: center; padding: 28px 30px; border: 1px dashed #CDD6DC; border-radius: 18px; background: rgba(255,255,255,.6); color: var(--muted); }
.empty svg.i { width: 36px; height: 36px; color: var(--accent); }
.empty b { display: block; color: var(--ink); font-size: 19px; }

/* Our apps */
.apps { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.app { padding: 32px; display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.app:hover { color: var(--ink); }
.app .row { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.app .row img { width: 52px; height: 52px; border-radius: 13px; box-shadow: var(--shadow-sm); }
.app h3 { margin: 0; }
.app .by { color: var(--muted); font-size: 15px; margin: 0; }
.app p.desc { color: var(--muted); margin: 0 0 22px; font-size: 17px; }
.app .more { margin-top: auto; color: var(--accent); }

/* Dark CTA (same as home) */
.cta { padding: 0 0 104px; }
.cta-box {
  position: relative; overflow: hidden; border-radius: 28px; padding: 56px 64px;
  background: radial-gradient(120% 140% at 100% 0%, rgba(11,122,138,.55), rgba(11,122,138,0) 55%), linear-gradient(160deg, #1B2833, #121B23);
  color: #E8EFF3; box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center;
}
.cta-box h2 { color: #fff; }
.cta-box p { color: #AFC1CB; margin: 0 0 30px; font-size: 19px; max-width: 30em; }
.cta-box .btn { background: #fff; color: var(--ink); box-shadow: 0 10px 24px -10px rgba(0,0,0,.6); }
.cta-box .btn:hover { background: var(--accent-soft); color: var(--ink); }
.cta-box .appmark { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: #fff; font-weight: 700; }
.cta-box .appmark img { width: 44px; height: 44px; border-radius: 11px; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.facts li { display: flex; gap: 14px; align-items: flex-start; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 15px 18px; }
.facts svg.i { color: var(--glow); margin-top: 2px; }
.facts b { display: block; color: #fff; font-weight: 600; }
.facts span { color: #AFC1CB; font-size: 16px; }

footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
footer .links { display: flex; gap: 24px; flex-wrap: wrap; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--accent); }

/* Breadcrumbs */
.crumbs { margin: 0 0 26px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 4px; font-size: 15px; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 4px; }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; margin: 0 8px 0 4px; border-right: 1.5px solid #A8B3BC; border-top: 1.5px solid #A8B3BC; transform: rotate(45deg); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }

/* Article header */
.a-head { position: relative; padding: 56px 0 40px; isolation: isolate; overflow: hidden; }
.a-head::before {
  content: ""; position: absolute; inset: -40% -15% auto auto; width: 55%; height: 160%; z-index: -1;
  background: radial-gradient(closest-side, rgba(155, 227, 234, .32), rgba(155, 227, 234, 0) 70%);
}
.a-head .kind { margin-bottom: 18px; }
.a-head h1 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 800; margin: 0 0 20px; max-width: 18em; }
.a-head .dek { color: var(--muted); font-size: 21px; line-height: 1.5; max-width: 36em; margin: 0 0 28px; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; font-size: 15.5px; color: var(--muted); }
.byline .who-by { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; text-decoration: none; }
.byline .who-by:hover { color: var(--accent); }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .02em; flex: none; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line); }
.avatar.lg { width: 72px; height: 72px; font-size: 24px; }
.hero-fig { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: #fff; }

/* Article layout: text column + sticky contents on desktop */
.a-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 72px; align-items: start; padding: 48px 0 80px; }
.toc { position: sticky; top: 96px; font-size: 15px; max-height: calc(100vh - 120px); overflow: auto; padding: 4px 4px 4px 0; }
.toc .t { display: flex; align-items: center; gap: 8px; font-weight: 700; margin: 0 0 12px; color: var(--ink); font-size: 16px; }
.toc .t svg.i { width: 18px; height: 18px; color: var(--accent); }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc li a { display: block; padding: 6px 0 6px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.4; }
.toc li a:hover { color: var(--ink); }
.toc li a.on { color: var(--accent-ink); border-left-color: var(--accent); font-weight: 600; }
.toc-mobile { display: none; }

/* Prose */
.prose { font-size: 19px; line-height: 1.7; max-width: var(--measure); }
.prose > * { margin-top: 0; margin-bottom: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(27px, 2.6vw, 33px); line-height: 1.18; letter-spacing: -0.02em; margin-top: 2.1em; margin-bottom: -0.1em; }
.prose h3 { font-size: 22px; line-height: 1.3; margin-top: 1.7em; margin-bottom: -0.2em; }
.prose h2 + *, .prose h3 + * { margin-top: .8em; }
.prose p { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--accent); }
.prose strong { font-weight: 700; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .84em; background: var(--tint); border: 1px solid var(--line); border-radius: 6px; padding: .1em .38em; }
.prose pre { background: #121B23; color: #DDE7EC; border-radius: 14px; padding: 18px 20px; overflow: auto; font-size: 15px; line-height: 1.6; }
.prose pre code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }
.prose a { text-decoration-thickness: 1px; text-decoration-color: rgba(11,122,138,.45); }
.prose a:hover { text-decoration-color: currentColor; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose figure { margin-left: 0; margin-right: 0; }
.prose figure img { border-radius: 16px; border: 1px solid var(--line); }
.prose figcaption { color: var(--muted); font-size: 15px; margin-top: 10px; }
.prose .lead { font-size: 21px; line-height: 1.6; color: var(--ink-2); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); -webkit-overflow-scrolling: touch; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; font-variant-numeric: tabular-nums; }
.prose th, .prose td { padding: 11px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose thead th { background: var(--tint); font-weight: 700; color: var(--ink); white-space: nowrap; border-bottom: 1px solid #D5DDE2; }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose tbody tr:nth-child(even) td { background: #FAFBFB; }
.prose tbody td:first-child { font-weight: 600; }
.prose table.num td { white-space: nowrap; }
.table-note { color: var(--muted); font-size: 15px; margin-top: 10px !important; }

/* Callouts */
.callout { display: flex; gap: 14px; align-items: flex-start; background: var(--tint); border: 1px solid #DCE5E8; border-radius: 14px; padding: 18px 20px; font-size: 17.5px; line-height: 1.6; }
.callout svg.i { width: 24px; height: 24px; color: var(--accent); margin-top: 1px; }
.callout > div > * { margin: 0; }
.callout > div > * + * { margin-top: .6em; }
.callout.warn { background: #FFF8EC; border-color: #F1DFBD; }
.callout.warn svg.i { color: #A86500; }

/* Inline product card */
.inline-cta { display: flex; gap: 18px; align-items: center; padding: 20px 22px; text-decoration: none; color: var(--ink); }
.inline-cta:hover { color: var(--ink); }
.inline-cta img { width: 48px; height: 48px; border-radius: 12px; flex: none; }
.inline-cta b { display: block; font-size: 18px; }
.inline-cta span.t { display: block; color: var(--muted); font-size: 16px; line-height: 1.5; }
.inline-cta .more { margin-left: auto; color: var(--accent); white-space: nowrap; font-size: 16px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 20px; font-weight: 700; font-size: 18px; line-height: 1.4; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 24px; width: 9px; height: 9px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 28px; }
.faq details > div { padding: 0 20px 18px; color: var(--ink-2); font-size: 17.5px; }
.faq details > div > p { margin: 0; }

/* Author box */
.author-box { display: flex; gap: 20px; align-items: flex-start; padding: 26px 28px; margin-top: 56px; max-width: var(--measure); }
.author-box b { font-size: 19px; display: block; }
.author-box p { margin: 6px 0 10px; color: var(--muted); font-size: 16.5px; }
.author-box .more { font-size: 16px; }

/* Related */
.related { padding: 72px 0 88px; }
.related .grid { grid-template-columns: repeat(3, 1fr); }

/* Author page */
.author-hero { display: flex; gap: 28px; align-items: center; }
.author-hero h1 { margin-bottom: 8px; }
.author-hero .role { color: var(--muted); font-size: 19px; margin: 0; }
.author-bio { max-width: var(--measure); font-size: 19px; line-height: 1.7; }
.author-bio p { margin: 0 0 1em; }
.contact-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

@media (prefers-reduced-motion: no-preference) {
  .hub-hero .wrap > *, .a-head .wrap > * { animation: rise .6s cubic-bezier(.2,.7,.2,1) both; }
  .hub-hero .wrap > *:nth-child(2), .a-head .wrap > *:nth-child(2) { animation-delay: .06s; }
  .hub-hero .wrap > *:nth-child(3), .a-head .wrap > *:nth-child(3) { animation-delay: .12s; }
  .hub-hero .wrap > *:nth-child(4), .a-head .wrap > *:nth-child(4) { animation-delay: .18s; }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn, .more svg.i, .faq summary::after { transition: none; }
  a.card:hover, .card.lift:hover, .btn:hover { transform: none; }
  a:hover .more svg.i, .more:hover svg.i { transform: none; }
}

@media (max-width: 1080px) {
  .a-layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 36px; }
  .toc { display: none; }
  .toc-mobile { display: block; margin-bottom: 36px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); max-width: var(--measure); }
  .toc-mobile summary { cursor: pointer; padding: 14px 18px; font-weight: 700; display: flex; align-items: center; gap: 8px; list-style: none; }
  .toc-mobile summary::-webkit-details-marker { display: none; }
  .toc-mobile summary svg.i { width: 18px; height: 18px; color: var(--accent); }
  .toc-mobile ol { margin: 0; padding: 0 18px 16px 38px; font-size: 16px; }
  .toc-mobile li + li { margin-top: 6px; }
  .toc-mobile a { color: var(--ink-2); text-decoration: none; }
  .toc-mobile a:hover { color: var(--accent); }
}
@media (max-width: 960px) {
  .grid, .related .grid, .apps { grid-template-columns: 1fr 1fr; }
  .post.wide { grid-template-columns: 1fr; }
  .post.wide .media { border-radius: 17px 17px 0 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .post.wide .body { padding: 26px; }
  .cta-box { grid-template-columns: 1fr; padding: 44px 32px; }
  section { padding: 72px 0; }
  .hub-hero { padding: 72px 0 56px; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  nav li.hide-sm { display: none; }
  .grid, .related .grid, .apps { grid-template-columns: 1fr; }
  .cta-box { border-radius: 22px; padding: 34px 22px; }
  .hub-hero p.sub, .a-head .dek { font-size: 19px; }
  .prose { font-size: 18px; }
  .prose th, .prose td { padding: 9px 12px; font-size: 15px; }
  .a-head { padding: 36px 0 28px; }
  .hero-fig { border-radius: 16px; }
  .inline-cta { flex-wrap: wrap; }
  .inline-cta .more { margin-left: 66px; }
  .author-box { flex-direction: column; padding: 22px; }
  .author-hero { flex-direction: column; align-items: flex-start; gap: 18px; }
  .app, .post .body { padding: 22px; }
  .empty { flex-direction: column; align-items: flex-start; }
}
@media print {
  .top, .toc, .toc-mobile, .cta, .related, footer, .inline-cta { display: none !important; }
  .a-layout { display: block; }
}

/* Archive rows (Guides / News on the hub) */
.rows { display: grid; gap: 14px; }
.row-post { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 20px 24px; color: var(--ink); text-decoration: none; }
.row-post:hover { color: var(--ink); }
.row-post .ic { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.row-post .ic svg.i { width: 28px; height: 28px; }
.row-post h3 { font-size: 19px; margin: 0 0 4px; }
.row-post p { margin: 0; color: var(--muted); font-size: 16px; }
.row-post .when { color: var(--muted); font-size: 15px; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.row-post .when svg.i { width: 17px; height: 17px; color: var(--accent); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 6px 0 0; color: var(--muted); }
.checklist { list-style: none; padding-left: 0 !important; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li svg.i { width: 22px; height: 22px; color: var(--accent); margin-top: 4px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) {
  .row-post { grid-template-columns: 44px minmax(0, 1fr); padding: 18px; gap: 14px; }
  .row-post .ic { width: 44px; height: 44px; border-radius: 12px; }
  .row-post .ic svg.i { width: 24px; height: 24px; }
  .row-post .when { grid-column: 2; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .grid.two { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .a-head .crumbs li:last-child { display: none; }
}
.prose table.fc-nowrap td:first-child { white-space: nowrap; }
@media (max-width: 640px) { .row-post { align-items: start; } }
@media (max-width: 900px) { nav li.hide-md { display: none; } nav ul { gap: 24px; } }

/* Lead magnet box ([[lead:<key>]]) */
.lead-box { margin: 36px 0; padding: 28px; border-radius: 20px; background: var(--accent-soft); border: 1px solid #CBE6E8; display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; }
.prose .lead-box h3 { margin: 6px 0 8px; font-size: 22px; line-height: 1.25; }
.lead-box p { margin: 0 0 10px; font-size: 16px; color: var(--ink-2); }
.lead-box ul { list-style: none; padding: 0; margin: 0; }
.lead-box li { display: flex; gap: 8px; align-items: center; font-size: 15px; margin: 4px 0; color: var(--ink-2); }
.lead-box li svg.i { width: 18px; height: 18px; color: var(--accent); }
.lead-kind { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-ink); }
.lead-kind svg.i { width: 18px; height: 18px; }
.lead-form label { font-size: 14px; font-weight: 600; }
.lead-row { display: flex; gap: 8px; margin: 6px 0 10px; }
.lead-row input { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #B9D4D7; border-radius: 12px; background: #fff; color: var(--ink); }
.lead-row button { font: inherit; font-size: 16px; font-weight: 700; padding: 12px 16px; border: 0; border-radius: 12px; background: var(--ink); color: #fff; cursor: pointer; white-space: nowrap; }
.lead-row button:hover { background: var(--ink-2); }
.lead-row button:disabled { opacity: .6; cursor: progress; }
.lead-form .lead-consent { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; font-size: 13px; line-height: 1.45; color: var(--muted); }
.lead-consent input { margin-top: 3px; flex: none; }
.lead-msg { min-height: 1.4em; margin: 8px 0 0 !important; font-size: 14px !important; color: var(--accent-ink) !important; }
.lead-msg.bad { color: #A33A2B !important; }
.lead-form.done .lead-row, .lead-form.done .lead-consent, .lead-form.done > label { display: none; }
.lead-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 760px) { .lead-box { grid-template-columns: 1fr; padding: 22px; } .lead-row { flex-direction: column; } }
@media print { .lead-box { display: none !important; } }

/* Interactive tools ([[tool:<key>]]) */
.tool { margin: 36px 0; padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.prose .tool h3 { display: flex; gap: 8px; align-items: center; margin: 0 0 4px; font-size: 22px; }
.tool h3 svg.i { color: var(--accent); }
.prose .tool .tool-note { margin: 0 0 18px; font-size: 14px; color: var(--muted); }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 14px; }
.tool-grid label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.tool-grid input, .tool-grid select { font: inherit; font-size: 15px; font-weight: 400; padding: 9px 10px; border: 1px solid #CBD5DB; border-radius: 10px; background: var(--paper); color: var(--ink); min-width: 0; }
.tool form:not(.is-other) .other-only { display: none; }
.tool-out { display: block; margin-top: 20px; }
.tool-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 16px 18px; border-radius: 14px; background: var(--accent-soft); margin-bottom: 14px; }
.tool-total b { font-size: 30px; color: var(--accent-ink); }
.tool-total span { font-size: 14px; color: var(--muted); }
.prose .tool-out table { width: 100%; margin: 0 0 14px; font-size: 15px; }
.tool-compare tr.best td { font-weight: 700; color: var(--accent-ink); }
@media (max-width: 760px) { .tool { padding: 20px; } .tool-grid { grid-template-columns: 1fr 1fr; } }
@media print { .tool { display: none !important; } }
