/* Visual-first SEO guides (insights/*, 2026-11-16). Layout only: the torn card
   (.v3-card--torn, .v3-paper), the button and the faces come from
   assets/v3/v3-site.css, and the article chrome from families/insights.css.
   Components mirror the shipped /plan pages: big-number torn cards, numbered
   steps, icon cards, the Why Absolv strip and one CTA box. */
html.v3 main.sg { --sg-card: #FBF6EE; --sg-rule: #D8D5CD; --sg-ink2: #2A2724; --sg-muted: #5A5347; }
html.v3 main.sg .sg-lede { font-size: 1.15em; color: var(--sg-ink2); }
html.v3 main.sg .byline { font-size: 15px; color: var(--sg-muted); }
html.v3 main.sg ul, html.v3 main.sg ol { list-style: none; padding: 0; }
html.v3 main.sg .icon { width: 42px; height: 42px; color: #141414; display: block; }
html.v3 main.sg .t { font-weight: 700; font-size: 18px; line-height: 1.25; margin: 10px 0 4px; }
html.v3 main.sg .l { font-size: 16px; line-height: 1.45; color: var(--sg-ink2); margin: 0; }
html.v3 main.sg .t a, html.v3 main.sg .big a { color: inherit; text-decoration: underline; text-decoration-color: var(--sg-rule); text-underline-offset: 4px; }
html.v3 main.sg h2 a { color: inherit; text-decoration-color: #FF5B00; text-underline-offset: 6px; }

html.v3 main.sg .sg-big { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 22px; margin-top: 24px; }
html.v3 main.sg .sg-big.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
html.v3 main.sg .sg-big > li.v3-card--torn { margin: 0; padding: 34px 20px 38px; }
html.v3 main.sg .big { display: block; margin: 12px 0 8px; font-family: var(--v3-font-display); font-weight: 500; font-size: 34px; line-height: 1.05; letter-spacing: -.02em; color: #D93200; font-variant-numeric: tabular-nums; }

html.v3 main.sg .sg-steps { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 22px; margin-top: 24px; counter-reset: none; }
html.v3 main.sg .sg-steps.n3 { --n: 3; }
html.v3 main.sg .sg-steps.n5 { --n: 5; }
html.v3 main.sg .sg-steps > li { position: relative; border-top: 3px solid #FF5B00; padding-top: 16px; }
html.v3 main.sg .sg-steps .num { position: absolute; top: -15px; right: 0; width: 28px; height: 28px; border-radius: 50%; background: #FFFDFB; border: 2px solid #141414; font-weight: 700; font-size: 14px; line-height: 24px; text-align: center; }

html.v3 main.sg .sg-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 24px; }
html.v3 main.sg .sg-cards.n1 { grid-template-columns: minmax(0, 1fr); max-width: 520px !important; }
html.v3 main.sg .sg-cards.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html.v3 main.sg .sg-cards > li { background: var(--sg-card); border: 1.5px solid #141414; border-radius: 10px; padding: 20px 22px; box-shadow: 4px 4px 0 #141414; }
html.v3 main.sg .sg-cards.warn > li { background: #FFFDFB; border-left: 6px solid #FF5B00; }

html.v3 main.sg .sg-why { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--sg-rule); }
html.v3 main.sg .sg-why ul { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
html.v3 main.sg .sg-why li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; font-size: 15px; font-weight: 600; line-height: 1.25; }
html.v3 main.sg .sg-why li svg { width: 40px; height: 40px; color: #141414; }

html.v3 main.sg .sg-cta { margin-top: 40px; background: var(--sg-card); border: 1.5px solid #141414; border-radius: 10px; padding: 26px 24px 28px; box-shadow: 4px 4px 0 #141414; }
html.v3 main.sg .sg-cta .ask { font-family: var(--v3-font-display); font-weight: 600; font-size: 26px; line-height: 1.2; margin: 0; }
html.v3 main.sg .sg-cta .l { margin: 8px 0 20px; }

html.v3 main.sg .sg-related { margin-top: 36px; font-size: 15px; }
html.v3 main.sg .sg-related a + a { margin-left: 14px; }
html.v3 main.sg .sg-sources { margin-top: 14px; font-size: 13px; line-height: 1.5; color: var(--sg-muted); }
html.v3 main.sg .sg-sources ul { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 4px; }
html.v3 main.sg .sg-sources a { color: var(--sg-muted); }

@media (max-width: 900px) {
  html.v3 main.sg .sg-big, html.v3 main.sg .sg-big.n3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html.v3 main.sg .sg-steps { --n: 2; }
  html.v3 main.sg .sg-steps.n3, html.v3 main.sg .sg-steps.n5 { --n: 2; }
  html.v3 main.sg .sg-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html.v3 main.sg .sg-why ul { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; }
}
@media (max-width: 600px) {
  html.v3 main.sg .sg-big, html.v3 main.sg .sg-big.n3, html.v3 main.sg .sg-cards, html.v3 main.sg .sg-cards.n2 { grid-template-columns: minmax(0, 1fr); }
  html.v3 main.sg .sg-steps, html.v3 main.sg .sg-steps.n3, html.v3 main.sg .sg-steps.n5 { --n: 1; gap: 30px; }
  html.v3 main.sg .sg-big > li.v3-card--torn { padding: 28px 20px 30px; }
  html.v3 main.sg .big { font-size: 30px; }
}

/* The article column is a prose measure (~480px at desktop), which is too narrow
   for a row of cards, so the guide widens like main.hub does and keeps its
   heading and intro at the prose measure. The insights list markers (orange
   squares and counters) are switched off for the card lists, which carry their
   own icons and step numbers. */
html.v3 .v3-sheet.v3-fam-insights > main.sg { max-width: calc(1040px + 2 * var(--v3-pad-x)); }
html.v3 .v3-sheet.v3-fam-insights > main.sg > :is(h1, .byline, .sg-lede) { max-width: var(--v3-measure-prose) !important; }
html.v3 .v3-sheet.v3-fam-insights > main.sg > :is(ul, ol) { padding-left: 0; margin-left: 0; }
html.v3 .v3-sheet.v3-fam-insights > main.sg.sg > :is(ul, ol) > li::before { content: none; }
html.v3 main.sg .big { overflow-wrap: normal; }
