/*
  Scrollytelling site theme v2: the homepage-v2 design applied to every content page
  (examples, guides, tools, templates, widgets, comparisons, AI jobs...).

  build_site.py adds this file after each page's own styles and puts class="v2" on <html>, so every
  rule here starts with html.v2 and wins over the page's rules without !important. The page's own
  colours were already flipped from the old dark scheme to the paper scheme by the build; this file
  adds the new look on top: condensed uppercase headlines, accent buttons, bordered cards with a
  solid offset shadow, the floating black header and the black footer with a torn paper edge.

  Sections: 00 tokens + base · 01 header · 02 page top (crumbs, hero) · 03 buttons · 04 article
  (prose, aside, tables) · 05 cards and grids · 06 sections (feature, steps, FAQ, call to action)
  · 07 tool pages (makers) · 08 page-specific · 09 footer
*/

/* ===== 00 TOKENS + BASE ===== */
:root {
  --sv-dark: #252322;
  --sv-dark-2: #403c3b;
  --sv-cream: #f0ece8;
  --sv-paper: #fbfaf7;
  --sv-black: #000000;
  --sv-accent: #ff4b33;
  --sv-accent-deep: #8b2618;
  --sv-white: #ffffff;
  --sv-ink: #252322;
  --sv-muted: #5f5a56;
  --sv-muted-2: #77716c;
  --sv-line: rgba(37, 35, 34, .16);
  --sv-line-strong: rgba(37, 35, 34, .3);
  --sv-muted-on-dark: rgba(255, 255, 255, .74);
  --sv-head: 'Archivo', 'Arial Narrow', Impact, sans-serif;
  --sv-body: 'Switzer', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sv-shadow: 6px 6px 0 var(--sv-dark);
  --sv-radius: 22px;
}
html.v2 { scroll-padding-top: 110px; color-scheme: light; }
html.v2 body {
  margin: 0;
  padding-top: 112px;
  background: var(--sv-cream);
  color: var(--sv-ink);
  font-family: var(--sv-body);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.62;
  letter-spacing: -.005em;
  overflow-x: clip;
}
@media (max-width: 991px) { html.v2 body { padding-top: 84px; } }
@media (max-width: 600px) { html.v2 body { font-size: 17px; } }
html.v2 ::selection { background: var(--sv-accent); color: var(--sv-white); }

/* headlines: heavy, condensed, uppercase (the homepage's .h) */
html.v2 :is(h1, h2),
html.v2 .sv-h {
  font-family: var(--sv-head);
  font-weight: 900;
  font-stretch: 64%;
  font-variation-settings: 'wdth' 64;
  text-transform: uppercase;
  letter-spacing: -.005em;
}
/* colours of plain elements come from the page's own (flipped) styles, never from here */
html.v2 h1 { font-size: clamp(46px, 6.2vw, 100px); line-height: .88; }
html.v2 h2 { font-size: clamp(32px, 3.5vw, 54px); line-height: .92; margin: 3.4rem 0 1.1rem; }
html.v2 :is(h3, h4) { font-family: var(--sv-body); font-weight: 600; letter-spacing: -.01em; }
html.v2 h3 { font-size: 1.28rem; line-height: 1.25; }
html.v2 :is(strong, b) { font-weight: 600; }
html.v2 a:focus-visible, html.v2 button:focus-visible, html.v2 input:focus-visible,
html.v2 textarea:focus-visible, html.v2 select:focus-visible, html.v2 summary:focus-visible {
  outline: 3px solid var(--sv-accent); outline-offset: 3px;
}
html.v2 hr { border: 0; border-top: 2px solid var(--sv-line); }
html.v2 code { font-size: .9em; background: rgba(37, 35, 34, .07); border-radius: 6px; padding: .1em .35em; }
html.v2 blockquote {
  margin: 1.8rem 0; padding: 1.1rem 1.4rem; border: 0; border-left: 5px solid var(--sv-accent);
  border-radius: 0 14px 14px 0; background: var(--sv-paper); color: var(--sv-ink);
}

/* shared sizes: the homepage's .container width, a little narrower for reading pages */
html.v2 .wrap { max-width: 1240px; padding-left: 32px; padding-right: 32px; }
@media (max-width: 600px) { html.v2 .wrap { padding-left: 16px; padding-right: 16px; } }

/* ===== 01 HEADER (markup from the homepage, classes prefixed sv-) ===== */
html.v2 .sv-nav {
  position: fixed; z-index: 1000; top: 24px; left: 50%; translate: -50% 0;
  /* the same edges as the page content (.wrap: 1240px wide, 32px side padding) */
  width: min(1176px, calc(100% - 64px)); height: 64px;
  display: flex; align-items: center; gap: 8px;
  padding: 6px 6px 6px 18px; border-radius: 16px;
  background: var(--sv-black); color: var(--sv-white);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .45);
  font-family: var(--sv-body); font-weight: 500; line-height: 1.45; letter-spacing: -.01em;
  transition: translate .4s cubic-bezier(.2, .8, .2, 1);
}
html.v2 .sv-nav.is-hidden { translate: -50% calc(-100% - 40px); }
html.v2 .sv-nav a { text-decoration: none; }
html.v2 .sv-nav a:not(.sv-btn) { color: var(--sv-white); }
html.v2 .sv-logo { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
html.v2 .sv-logo__mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
html.v2 .sv-logo__mark img { width: 24px; height: 24px; display: block; }
html.v2 .sv-logo__word { font-family: var(--sv-head); font-weight: 900; font-stretch: 80%; font-variation-settings: 'wdth' 80; font-size: 25px; letter-spacing: -.02em; line-height: 1; }
html.v2 .sv-nav__links { display: flex; gap: 26px; margin-left: auto; margin-right: 22px; white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1180px) { html.v2 .sv-nav__links { gap: 16px; margin-right: 14px; } html.v2 .sv-nav__links a { font-size: 16.5px; } }
html.v2 .sv-nav__links a { font-size: 18.5px; position: relative; }
html.v2 .sv-nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .3s; }
html.v2 .sv-nav__links a:hover::after, html.v2 .sv-nav__links a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
html.v2 .sv-nav__links a[aria-current]::after { background: var(--sv-accent); }
html.v2 .sv-nav .sv-btn { height: 52px; font-size: 23px; padding: 0 22px; border-radius: 10px; }
html.v2 .sv-nav__burger { display: none; width: 44px; height: 40px; margin-left: auto; position: relative; background: none; border: 0; padding: 0; cursor: pointer; }
html.v2 .sv-nav__burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--sv-white); transition: transform .3s, top .3s; }
html.v2 .sv-nav__burger span:nth-child(1) { top: 15px; }
html.v2 .sv-nav__burger span:nth-child(2) { top: 23px; }
html.v2 .sv-nav.is-open .sv-nav__burger span:nth-child(1) { top: 19px; transform: rotate(45deg); }
html.v2 .sv-nav.is-open .sv-nav__burger span:nth-child(2) { top: 19px; transform: rotate(-45deg); }
html.v2 .sv-nav__menu { display: none; }
@media (max-width: 991px) {
  html.v2 .sv-nav { top: 12px; width: calc(100% - 64px); height: 52px; padding: 4px 4px 4px 14px; border-radius: 14px; }
  html.v2 .sv-nav .sv-nav__links, html.v2 .sv-nav .sv-nav__cta { display: none; }
  html.v2 .sv-nav__burger { display: block; }
  html.v2 .sv-nav__menu {
    display: block; position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    background: var(--sv-black); color: var(--sv-white); border-radius: 14px; padding: 18px 16px 16px;
    box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .35);
    opacity: 0; visibility: hidden; translate: 0 -8px; transition: opacity .3s, translate .3s, visibility 0s .3s;
  }
  html.v2 .sv-nav.is-open .sv-nav__menu { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .3s, translate .3s; }
  html.v2 .sv-nav__menu a:not(.sv-btn) { display: block; padding: 6px 0; color: var(--sv-white); }
  html.v2 .sv-nav__menu .sv-h { font-size: 40px; line-height: .86; color: var(--sv-white); }
  html.v2 .sv-nav__menu-cta { display: flex; gap: 8px; margin-top: 16px; }
  html.v2 .sv-nav__menu-cta .sv-btn { flex: 1; height: 50px; font-size: 22px; }
}
@media (max-width: 600px) { html.v2 .sv-nav { width: calc(100% - 32px); } }

/* ===== 02 PAGE TOP (crumbs, hero) ===== */
html.v2 .crumbs { padding: 6px 0 0; font-size: 14.5px; color: var(--sv-muted); }
html.v2 .crumbs a { color: var(--sv-muted); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color .2s, color .2s; }
html.v2 .crumbs a:hover { color: var(--sv-black); text-decoration-color: var(--sv-accent); }
html.v2 .hero { padding: clamp(28px, 4vw, 56px) 0 clamp(20px, 2.6vw, 36px); border: 0; background: none; }
html.v2 .hero h1 { margin-bottom: .32em; max-width: 15ch; }
html.v2 .hero--center h1, html.v2 .hero h1:only-child { max-width: none; }
/* long titles (build_site.py marks h1s over 44 characters): a size that keeps them to three or four lines */
html.v2 h1.sv-long { font-size: clamp(40px, 4.6vw, 74px); max-width: 22ch; }
html.v2 .mk-copy h1.sv-long { font-size: clamp(36px, 3.6vw, 58px); }
html.v2 .eyebrow,
html.v2 .hero .eyebrow,
html.v2 .mk-copy .eyebrow,
html.v2 .pill {
  font-family: var(--sv-head); font-weight: 900; font-stretch: 64%; font-variation-settings: 'wdth' 64;
  text-transform: uppercase; letter-spacing: 0; font-size: clamp(20px, 1.7vw, 26px); line-height: 1;
  color: var(--sv-accent); margin-bottom: 16px; background: none; border: 0; padding: 0;
}
html.v2 .lede, html.v2 .hero .lede { font-size: clamp(18px, 1.55vw, 22px); line-height: 1.5; color: var(--sv-muted); max-width: 720px; }
html.v2 .hero .subtitle { color: var(--sv-muted); }
html.v2 .hero-cta { gap: 12px; margin-top: 30px; }

/* ===== 03 BUTTONS ===== */
html.v2 :is(.btn, .sv-btn, .cta-btn) {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 54px; padding: 0 24px; border-radius: 12px; border: 0;
  font-family: var(--sv-head); font-weight: 900; font-stretch: 64%; font-variation-settings: 'wdth' 64;
  font-size: 22px; text-transform: uppercase; letter-spacing: 0; line-height: 1; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), background-color .2s, color .2s;
}
html.v2 :is(.btn, .sv-btn, .cta-btn):hover { transform: translateY(-2px) rotate(-1.5deg); text-decoration: none; }
html.v2 :is(.btn, .sv-btn, .cta-btn):active { transform: translateY(0) scale(.98); }
html.v2 :is(.btn-primary, .sv-btn--accent, .cta-btn),
html.v2 :is(.btn-primary, .sv-btn--accent, .cta-btn):hover { background: var(--sv-accent); color: var(--sv-cream); }
html.v2 .btn-ghost, html.v2 .btn-ghost:hover { background: var(--sv-dark); color: var(--sv-cream); border: 0; }
html.v2 .sv-btn--cream, html.v2 .sv-btn--cream:hover { background: var(--sv-cream); color: var(--sv-dark); }
html.v2 .btn[disabled], html.v2 .btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ===== 04 ARTICLE (prose, aside, tables) ===== */
html.v2 .layout { column-gap: clamp(36px, 4.4vw, 64px); padding-top: 30px; }
html.v2 :is(.aside, .toc) { top: 110px; }
html.v2 .prose { font-size: 18.5px; line-height: 1.66; }
html.v2 .prose > section:first-child > h2:first-child,
html.v2 .prose > h2:first-child { margin-top: .6rem; }
/* plain links in running text only (links with a class are buttons, cards or chips with their own look) */
html.v2 :where(.prose, .content, .mk-prose, .faq-item, .center-narrow) a:not([class]) {
  color: var(--sv-black); text-decoration: underline; text-decoration-color: var(--sv-accent);
  text-decoration-thickness: 2px; text-underline-offset: 3px;
}
html.v2 :where(.prose, .content, .mk-prose, .faq-item, .center-narrow) a:not([class]):hover { color: var(--sv-accent); }
html.v2 .prose :is(ul, ol) li::marker { color: var(--sv-accent); font-weight: 700; }
html.v2 .aside { top: 104px; }
html.v2 .panel, html.v2 .toc {
  background: var(--sv-paper); border: 3px solid var(--sv-dark); border-radius: var(--sv-radius);
  box-shadow: var(--sv-shadow); padding: 22px 22px 16px; margin-bottom: 24px;
}
html.v2 .panel h4, html.v2 .toc-label {
  font-family: var(--sv-head); font-weight: 900; font-stretch: 64%; font-variation-settings: 'wdth' 64;
  text-transform: uppercase; letter-spacing: 0; font-size: 22px; line-height: 1; color: var(--sv-black); margin-bottom: 14px;
}
html.v2 .panel a, html.v2 .toc a { color: var(--sv-ink); font-size: 16px; line-height: 1.4; }
html.v2 .panel a:hover, html.v2 .toc a:hover, html.v2 .toc a.active { color: var(--sv-accent); border-left-color: var(--sv-accent); }
html.v2 .panel li { margin-bottom: 9px; }
html.v2 table { border-collapse: collapse; background: var(--sv-paper); font-size: 16px; }
html.v2 table th:nth-child(n) {
  background: var(--sv-black); color: var(--sv-white);
  font-family: var(--sv-head); font-weight: 900; font-stretch: 64%; font-variation-settings: 'wdth' 64;
  text-transform: uppercase; letter-spacing: 0; font-size: 18px; line-height: 1.1;
}
html.v2 .cmp-table.hub th:first-child { background: var(--sv-black); }
html.v2 table :is(th, td) { border-color: var(--sv-line); }
html.v2 table td:first-child { color: var(--sv-black); }
html.v2 :is(.op-tw, .table-wrap, .tw) { border: 3px solid var(--sv-dark); border-radius: 16px; box-shadow: var(--sv-shadow); background: var(--sv-paper); }
html.v2 .related-strip { border-top: 2px solid var(--sv-line); }
html.v2 .chips { gap: 10px; }
html.v2 .chip {
  border: 2px solid var(--sv-dark); border-radius: 999px; padding: 7px 16px; font-size: 15.5px; font-weight: 600;
  color: var(--sv-dark); background: transparent; transition: background-color .2s, color .2s;
}
html.v2 .chip:hover { background: var(--sv-dark); color: var(--sv-cream); border-color: var(--sv-dark); }
/* links shaped as tags, buttons, tiles or cards never carry the running-text underline */
html.v2 :is(.chip, .tag, .btn, .tbtn, .cta-btn, .vs-link, .tool-tile, .tool-compare, .tshot, .card, .gl-card, .aj-row,
  .mk-all, .act-preview, .act-embed, .gl-pg, .gl-next, .gl-prev, .btn-shopify, .btn-wp, .op-links a),
html.v2 :is(.chip, .tag, .btn, .tbtn, .cta-btn, .vs-link, .tool-tile, .tool-compare, .tshot, .card, .gl-card, .aj-row,
  .mk-all, .act-preview, .act-embed, .gl-pg, .gl-next, .gl-prev, .btn-shopify, .btn-wp, .op-links a):hover { text-decoration: none; }
html.v2 .steps li::before, html.v2 .steps-grid .st::before {
  background: var(--sv-accent); border: 0; color: var(--sv-white);
  font-family: var(--sv-head); font-weight: 900; font-stretch: 64%; font-variation-settings: 'wdth' 64; font-size: 20px;
}

/* ===== 05 CARDS AND GRIDS ===== */
html.v2 .grid { gap: 26px; }
html.v2 .card {
  background: var(--sv-paper); border: 3px solid var(--sv-dark); border-radius: var(--sv-radius);
  box-shadow: var(--sv-shadow); transition: transform .25s cubic-bezier(.3, 1.4, .5, 1), box-shadow .25s;
}
html.v2 .card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--sv-dark); border-color: var(--sv-dark); }
html.v2 .card .thumb, html.v2 .card .ph { background: #e3ded8; border-bottom: 3px solid var(--sv-dark); }
html.v2 .card .body { padding: 16px 18px 18px; }
html.v2 .card .ttl { color: var(--sv-black); font-size: 17px; line-height: 1.3; }
html.v2 .card .cat { color: var(--sv-muted); font-weight: 600; }
html.v2 .card .links a { color: var(--sv-black); font-weight: 600; text-decoration: underline; text-decoration-color: var(--sv-accent); text-underline-offset: 3px; }
html.v2 .card .links a:hover { color: var(--sv-accent); }
html.v2 .tpl-card.sel { border-color: var(--sv-accent); box-shadow: 6px 6px 0 var(--sv-accent); }
html.v2 .tpl-card.sel::after { background: var(--sv-accent); color: var(--sv-white); }
html.v2 .tpl-card .use-tpl { color: var(--sv-black); }
html.v2 .tool-tile {
  border: 2px solid var(--sv-dark); border-radius: 14px; background: var(--sv-paper); color: var(--sv-ink);
  font-weight: 600; transition: transform .2s, box-shadow .2s, color .2s;
}
html.v2 .tool-tile:hover { color: var(--sv-black); transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--sv-dark); }
html.v2 .tool-tile::after { color: var(--sv-accent); font-weight: 700; }
html.v2 .mk-all { border: 2px dashed var(--sv-dark); border-radius: var(--sv-radius); color: var(--sv-dark); }
html.v2 .mk-all:hover { border-color: var(--sv-accent); color: var(--sv-accent); }

/* ===== 06 SECTIONS (features, steps, FAQ, call to action) ===== */
html.v2 .section-c { padding: clamp(56px, 6vw, 96px) 0; }
html.v2 .section-c:nth-of-type(even) { background: var(--sv-paper); border: 0; }
html.v2 .section-c > .wrap > h2, html.v2 .section-c h2.c { margin-top: 0; }
html.v2 .center-narrow { color: var(--sv-muted); }
html.v2 .statband { color: var(--sv-muted); font-size: 17px; }
html.v2 .statband b { color: var(--sv-black); }
html.v2 :is(.feat, .steps-grid .st, .review-item, .pros, .cons) {
  background: var(--sv-paper); border: 3px solid var(--sv-dark); border-radius: var(--sv-radius); box-shadow: var(--sv-shadow);
}
html.v2 .section-c:nth-of-type(even) :is(.feat, .steps-grid .st) { background: var(--sv-cream); }
html.v2 :is(.feat, .steps-grid .st) h3 { font-size: 1.12rem; }
html.v2 :is(.feat, .steps-grid .st) p { color: var(--sv-muted); font-size: 16px; }
html.v2 .faq-list { max-width: 860px; }
html.v2 .faq-item { border-bottom: 2px solid var(--sv-line); padding: 20px 0; }
html.v2 .faq-item h3 { font-size: 1.15rem; margin-bottom: 8px; }
html.v2 .faq-item p { color: var(--sv-muted); }
html.v2 .faq-sub { font-family: var(--sv-head); font-weight: 900; font-stretch: 64%; font-variation-settings: 'wdth' 64; font-size: 22px; letter-spacing: 0; color: var(--sv-accent); }
html.v2 .faq details { border-bottom: 2px solid var(--sv-line); }
html.v2 .faq summary { color: var(--sv-black); }
/* call to action blocks: the homepage's black card */
html.v2 :is(.cta-band, .cta) {
  background: var(--sv-black); color: var(--sv-white); border: 0; border-radius: 28px;
  box-shadow: 8px 8px 0 var(--sv-accent); padding: clamp(40px, 5vw, 64px) clamp(22px, 4vw, 48px);
}
html.v2 :is(.cta-band, .cta) :is(h2, h3, strong, b) { color: var(--sv-white); }
html.v2 :is(.cta-band, .cta) :is(h2, h3) { margin-top: 0; }
html.v2 :is(.cta-band, .cta) p { color: var(--sv-muted-on-dark); }
html.v2 :is(.cta-band, .cta) a:not(.btn):not(.cta-btn) { color: var(--sv-white); }
html.v2 :is(.cta-band, .cta) .btn-ghost { background: var(--sv-cream); color: var(--sv-dark); }

/* ===== 07 TOOL PAGES (makers and builders) ===== */
html.v2 .mk-hero { padding: 10px 0 48px; }
html.v2 .mk-copy h1 { font-size: clamp(42px, 4.6vw, 72px); line-height: .88; margin-bottom: .3em; }
html.v2 .mk-copy .lede { font-size: 18px; color: var(--sv-muted); }
html.v2 .mk-form {
  background: var(--sv-paper); border: 3px solid var(--sv-dark); border-radius: var(--sv-radius);
  box-shadow: var(--sv-shadow); padding: 22px 22px 18px;
}
html.v2 .mk-form > h2, html.v2 .mk-designs > h2 { font-size: 26px; line-height: 1; margin: 0 0 12px; }
html.v2 .mk-start { border-bottom: 2px solid var(--sv-line); }
html.v2 .mk-designs > .sub { color: var(--sv-muted); font-size: 15px; }
html.v2 .mk-grid { gap: 16px; }
html.v2 .mk-grid .card { box-shadow: 4px 4px 0 var(--sv-dark); border-width: 2px; border-radius: 16px; }
html.v2 .mk-grid .card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--sv-dark); }
html.v2 .mk-grid .card .thumb, html.v2 .mk-grid .card .ph { border-bottom-width: 2px; }
html.v2 .field label { color: var(--sv-black); }
html.v2 .field .hint, html.v2 .maker-note { color: var(--sv-muted-2); }
html.v2 :is(.field, .ib-field) :is(input, textarea, select) {
  background: var(--sv-white); border: 2px solid var(--sv-dark); border-radius: 12px; color: var(--sv-black);
}
html.v2 :is(.field, .ib-field) :is(input, textarea, select):focus { border-color: var(--sv-accent); outline: none; box-shadow: 0 0 0 3px rgba(255, 75, 51, .22); }
html.v2 :is(.field, .ib-field) ::placeholder { color: #9a948f; }
html.v2 .picked { background: var(--sv-white); border: 2px solid var(--sv-dark); }
html.v2 .tool-card { background: var(--sv-paper); border: 3px solid var(--sv-dark); border-radius: var(--sv-radius); box-shadow: var(--sv-shadow); }

/* ===== 08 PAGE-SPECIFIC ===== */
/* comparison pages (vs/) */
html.v2 .vs-link { background: var(--sv-paper); border: 2px solid var(--sv-dark); border-radius: 14px; color: var(--sv-ink); }
html.v2 .vs-link:hover { background: var(--sv-paper); border-color: var(--sv-accent); color: var(--sv-black); }
html.v2 .tool-img { background: #e3ded8; border: 3px solid var(--sv-dark); }
/* example blocks on pillar pages */
html.v2 .ex { background: var(--sv-paper); border: 3px solid var(--sv-dark); border-radius: var(--sv-radius); box-shadow: var(--sv-shadow); }
html.v2 .ex img.shot { border-bottom: 3px solid var(--sv-dark); }
html.v2 .tag { border: 2px solid var(--sv-dark); color: var(--sv-dark); }
html.v2 .grp { font-family: var(--sv-head); font-weight: 900; font-stretch: 64%; font-variation-settings: 'wdth' 64; font-size: 22px; letter-spacing: 0; color: var(--sv-accent); }
/* one-pager and magazine figures */
html.v2 :is(.op-def, .op-steal) { background: var(--sv-paper); border: 0; border-left: 5px solid var(--sv-accent); border-radius: 0 14px 14px 0; color: var(--sv-ink); }
html.v2 .op-links a { border: 2px solid var(--sv-dark); color: var(--sv-dark); }
html.v2 .op-links a.pri { background: var(--sv-accent); border-color: var(--sv-accent); color: var(--sv-cream); }
/* contact + affiliates forms */
html.v2 .ib-card { background: var(--sv-paper); border: 3px solid var(--sv-dark); border-radius: 28px; box-shadow: 8px 8px 0 var(--sv-dark); }

/* ===== 09 FOOTER (black, a torn paper edge rising into the page) ===== */
html.v2 .sv-footer {
  position: relative; margin-top: clamp(110px, 10vw, 160px);
  background: var(--sv-black); color: var(--sv-white);
  padding: clamp(40px, 4vw, 64px) 0 32px;
  font-family: var(--sv-body); font-weight: 500; line-height: 1.45; letter-spacing: -.01em; font-size: 17px;
}
html.v2 .sv-footer::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: clamp(44px, 5.6vw, 84px);
  background: url('/assets/v2/torn-footer.svg') center bottom / 100% 100% no-repeat; pointer-events: none;
}
html.v2 .sv-footer a { color: var(--sv-white); text-decoration: none; }
html.v2 .sv-container { width: 100%; max-width: 1640px; margin-inline: auto; padding-inline: 38px; }
@media (max-width: 600px) { html.v2 .sv-container { padding-inline: 16px; } }
html.v2 .sv-footer__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding-bottom: clamp(32px, 3.2vw, 46px); border-bottom: 1px solid rgba(255, 255, 255, .2); }
html.v2 .sv-footer__tagline { font-size: 16px; color: var(--sv-muted-on-dark); margin: 0 auto 0 0; }
html.v2 .sv-footer__social { display: flex; gap: 18px; }
html.v2 .sv-footer__social a { display: inline-flex; color: var(--sv-white); transition: color .2s, transform .25s cubic-bezier(.3, 1.6, .5, 1); }
html.v2 .sv-footer__social a:hover { color: var(--sv-accent); transform: translateY(-2px) rotate(-4deg); }
html.v2 .sv-footer__social svg { width: 22px; height: 22px; fill: currentColor; display: block; }
html.v2 .sv-footer__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 40px 28px; padding-top: clamp(32px, 3.2vw, 46px); }
html.v2 .sv-footer__grid.sv-h { color: var(--sv-white); line-height: .86; }
html.v2 .sv-footer__head { font-family: var(--sv-body); font-weight: 600; font-stretch: 100%; font-variation-settings: normal; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--sv-muted-on-dark); margin: 0 0 16px; }
html.v2 .sv-footer__col a { display: block; width: fit-content; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.12; word-spacing: .12em; padding: 3px 0; transition: color .2s; }
html.v2 .sv-footer__col a:hover { color: var(--sv-accent); }
html.v2 .sv-footer__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: clamp(44px, 4.6vw, 66px); padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: 14px; color: var(--sv-muted-on-dark); }
html.v2 .sv-footer__meta p { margin: 0; }
@media (max-width: 991px) { html.v2 .sv-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  html.v2 .sv-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  html.v2 .sv-footer__tagline { flex-basis: 100%; order: 3; }
}

@media (prefers-reduced-motion: reduce) {
  html.v2 :is(.btn, .sv-btn, .cta-btn, .card, .tool-tile, .sv-nav) { transition: none; }
}
