/* DeskKit design v2 — content pages (phase 2). Spec: docs/design-v2-spec.md.
   Loaded after css/theme-v2.css on the pages whose <body> carries
   "theme-v2 v2-page": the product pages, the catalog (product /
   products / tools), about, faq, contact, the policy pages
   (terms / security / accessibility), unsubscribe and the two free tools
   (tax-calculator, sign). The guides (guide-*.html, guides.html) add
   their reading layout from css/guides.css on top of this file.

   Accent: the page's tool colour (--tool, from <body data-tool="…">) tints
   the hero light, eyebrows, ticks, focus rings and glows; elements with
   their own data-dk-product use theirs.
   Documents stay documents: the small product mock-ups, the tax
   calculator's results and the signature pad keep their light look
   ("a lit page on a dark desk"), and nothing here touches print or the
   PDFs the tools build.

   Page classes (on <body>, next to theme-v2 v2-page):
     v2-product  website/quote/invoice/crm-product   v2-catalog  product, products
     v2-tools    tools                                v2-about    about
     v2-faq      faq                                  v2-contact  contact
     v2-prose    terms, security, accessibility       v2-unsub    unsubscribe
     v2-free-tool  tax-calculator, sign               v2-guide / v2-guides  (css/guides.css)

   Sections: 1 page hero · 2 sections, headings, benefit rows · 3 product
   hero · 4 cards (catalog, tools, banner) · 5 FAQ accordion · 6 contact
   form · 7 reading sheet (policies, about) · 8 unsubscribe · 9 free tools
   · 10 motion + accessibility modes. */

html:not(.hv-light) body.theme-v2.v2-page {
  --v2p-pad: clamp(16px, 4vw, 40px);
}

/* ============================================================ 1 page hero
   A short dark hero lit from above in the page's tool colour, a fine grid
   fading out around the title, and a hairline of light along its base. */
html:not(.hv-light) body.v2-page .hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(56px, 8vw, 104px) var(--v2p-pad) clamp(52px, 7vw, 88px) !important;
  color: var(--v2-text); text-align: center;
  background:
    radial-gradient(60% 90% at 50% -10%, color-mix(in srgb, var(--tool) 20%, transparent), transparent 70%),
    radial-gradient(34% 60% at 88% 110%, rgba(var(--v2-site-rgb), .07), transparent 70%),
    var(--v2-bg);
}
html:not(.hv-light) body.v2-page .hero::before { /* fine grid, fading out from the title */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(var(--v2-fg-rgb), .035) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--v2-fg-rgb), .035) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
  -webkit-mask-image: radial-gradient(48% 70% at 50% 30%, #000, transparent 75%); mask-image: radial-gradient(48% 70% at 50% 30%, #000, transparent 75%);
}
html:not(.hv-light) body.v2-page .hero::after { /* the hairline of light at the base */
  content: ""; position: absolute; z-index: -1; pointer-events: none; inset: auto 0 0; top: auto;
  width: auto; height: 1px; border-radius: 0; animation: none;
  background: linear-gradient(90deg, transparent 8%, color-mix(in srgb, var(--tool) 65%, transparent) 50%, transparent 92%);
  box-shadow: 0 0 18px 1px color-mix(in srgb, var(--tool) 45%, transparent);
}
html:not(.hv-light) body.v2-page .hero h1 {
  max-width: 17em; margin: 0 auto; font-weight: 700; text-wrap: balance;
  font-size: var(--v2-fs-h1) !important; line-height: 1.14; letter-spacing: -.02em;
  color: #fff; background: linear-gradient(180deg, #fff 40%, #b9c5da); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
html:not(.hv-light) body.v2-page .hero h1:lang(en) { font-family: 'Space Grotesk', 'Heebo', system-ui, sans-serif; letter-spacing: -.03em; }
html:not(.hv-light) body.v2-page .hero p.lead {
  max-width: 38em; margin: 20px auto 0 !important; color: var(--v2-dim);
  font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); line-height: 1.7; text-wrap: pretty;
}

/* ============================== 2 sections, headings, benefit rows */
html:not(.hv-light) body.v2-page .bg-ice {
  background: linear-gradient(180deg, var(--v2-bg-2), var(--v2-bg) 70%);
  border-top: 1px solid var(--v2-line);
}
html:not(.hv-light) body.v2-page .section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
html:not(.hv-light) body.v2-page .section-head .kicker,
html:not(.hv-light) body.v2-page .v2p-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 0; border-radius: 0;
  background: none; box-shadow: none; text-transform: none; letter-spacing: .01em;
  font-size: 14px; font-weight: 600; color: color-mix(in srgb, var(--tool) 62%, var(--v2-hi));
}
html:not(.hv-light) body.v2-page .section-head .kicker::before,
html:not(.hv-light) body.v2-page .section-head .kicker::after { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, transparent, currentColor); }
html:not(.hv-light) body.v2-page .section-head .kicker::after { background: linear-gradient(270deg, transparent, currentColor); }
html:not(.hv-light) body.v2-page .section-head h2 {
  margin: 14px 0 0; color: var(--v2-hi); font-weight: 700; text-wrap: balance;
  font-size: var(--v2-fs-h2); line-height: 1.16; letter-spacing: -.02em;
}
html:not(.hv-light) body.v2-page .section-head h2:lang(en) { font-family: 'Space Grotesk', 'Heebo', system-ui, sans-serif; letter-spacing: -.03em; }
html:not(.hv-light) body.v2-page .section-head p { margin: 16px auto 0; color: var(--v2-dim); font-size: clamp(1rem, .95rem + .25vw, 1.1rem); line-height: 1.75; text-wrap: pretty; }

/* Benefit rows: the homepage's editorial benefits — hairlines between
   columns, a large neon icon in a soft halo, a sweep of light on hover. */
html:not(.hv-light) body.v2-page .features:not(:has(.tool-card)) {
  gap: 0; border-top: 1px solid var(--v2-line); border-bottom: 1px solid var(--v2-line);
}
html:not(.hv-light) body.v2-page .feature:not(.tool-card) {
  --c: var(--tool);
  position: relative; isolation: isolate; overflow: hidden; text-align: start; border-radius: 0;
  padding: clamp(30px, 3.6vw, 48px) clamp(18px, 2.6vw, 36px);
  border-inline-end: 1px solid var(--v2-line);
  transition: background-color var(--v2-med) ease;
}
html:not(.hv-light) body.v2-page .feature:not(.tool-card):last-child { border-inline-end: 0; }
html:not(.hv-light) body.v2-page .feature:not(.tool-card):hover { transform: none; box-shadow: none; }
html:not(.hv-light) body.v2-page .feature:not(.tool-card)::before { /* light sweep along the top hairline */
  content: ""; position: absolute; top: -1px; inset-inline: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--c), transparent); transform: translateX(-100%); opacity: 0;
}
html:not(.hv-light) body.v2-page .feature:not(.tool-card):hover::before { animation: v2pSweep 1.1s var(--v2-ease) forwards; }
html:not(.hv-light) body.v2-page .feature:not(.tool-card)::after { /* soft light behind the icon on hover */
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(240px 180px at var(--fx, 100%) 30%, color-mix(in srgb, var(--c) 10%, transparent), transparent 70%);
  transition: opacity var(--v2-med) ease;
}
html[dir="ltr"]:not(.hv-light) body.v2-page .feature:not(.tool-card)::after { --fx: 0%; }
html:not(.hv-light) body.v2-page .feature:not(.tool-card):hover::after { opacity: 1; }
@keyframes v2pSweep { 0% { transform: translateX(-100%); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateX(100%); opacity: 0; } }
html:not(.hv-light) body.v2-page .feature:not(.tool-card) .icon,
html:not(.hv-light) body.v2-page .feature:not(.tool-card):nth-child(n) .icon {
  width: 68px; height: 68px; margin: 0 0 22px; border-radius: 50%; font-size: 26px; color: var(--c);
  display: grid; place-items: center;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 16%, transparent), transparent);
  box-shadow: inset 0 0 0 1px rgba(var(--v2-fg-rgb), .12);
  transition: box-shadow var(--v2-med) ease, transform var(--v2-med) var(--v2-ease);
}
html:not(.hv-light) body.v2-page .feature:not(.tool-card):hover .icon { transform: translateY(-2px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 70%, transparent), 0 0 30px -8px var(--c); }
html:not(.hv-light) body.v2-page :is(.feature .icon, .v2p-ico) svg {
  width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 5px color-mix(in srgb, var(--c, var(--tool)) 55%, transparent));
}
html:not(.hv-light) body.v2-page :is(.feature .icon, .v2p-ico) svg .v2p-fill { fill: currentColor; stroke: none; }
html:not(.hv-light) body.v2-page .feature:not(.tool-card) :is(h3, h4) { margin: 0 0 10px; color: var(--v2-hi); font-size: var(--v2-fs-h3); line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
html:not(.hv-light) body.v2-page .feature:not(.tool-card) p { margin: 0; color: var(--v2-dim); font-size: 1rem; line-height: 1.7; }

/* ========================================================= 3 product hero
   website / quote / invoice / crm-product and the catalog's product.html:
   the copy beside a glowing "desk" that holds the light document. */
html:not(.hv-light) body.v2-page section:has(> .product-hero),
html:not(.hv-light) body.v2-page #product-root:has(> .product-hero) { position: relative; isolation: isolate; }
html:not(.hv-light) body.v2-page section:has(> .product-hero)::before,
html:not(.hv-light) body.v2-page #product-root:has(> .product-hero)::before { /* the tool's light behind the hero, edge to edge */
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; inset-inline: calc(50% - 50vw); pointer-events: none;
  background: radial-gradient(42% 70% at 30% 35%, color-mix(in srgb, var(--tool) 12%, transparent), transparent 72%),
              radial-gradient(36% 60% at 80% 0%, rgba(var(--v2-site-rgb), .06), transparent 70%);
}
html[dir="ltr"]:not(.hv-light) body.v2-page section:has(> .product-hero)::before,
html[dir="ltr"]:not(.hv-light) body.v2-page #product-root:has(> .product-hero)::before {
  background: radial-gradient(42% 70% at 70% 35%, color-mix(in srgb, var(--tool) 12%, transparent), transparent 72%),
              radial-gradient(36% 60% at 20% 0%, rgba(var(--v2-site-rgb), .06), transparent 70%);
}
html:not(.hv-light) body.v2-page section:has(> .product-hero) { padding-block: clamp(24px, 4vw, 56px) clamp(48px, 7vw, 96px); }
html:not(.hv-light) body.v2-page .product-hero { gap: clamp(32px, 5vw, 72px); padding: clamp(24px, 4vw, 56px) clamp(16px, 4vw, 24px); }
html:not(.hv-light) body.v2-page .product-hero .thumb {
  position: relative; isolation: isolate; border-radius: var(--v2-r-lg); padding: clamp(22px, 4vw, 48px);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--tool) 18%, transparent), transparent),
              linear-gradient(180deg, rgba(var(--v2-lift-rgb), .04), rgba(var(--v2-lift-rgb), .01)), #080c14;
  box-shadow: inset 0 0 0 1px rgba(var(--v2-fg-rgb), .07), 0 50px 100px -50px rgba(var(--v2-shade-rgb), var(--v2-shade-k)), 0 0 100px -50px var(--tool);
}
html:not(.hv-light) body.v2-page .product-hero .thumb::before { /* luminous border */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(145deg, var(--tool), color-mix(in srgb, var(--tool) 10%, transparent) 38%, transparent 62%, color-mix(in srgb, var(--tool) 45%, transparent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: .45;
}
html:not(.hv-light) body.v2-page .product-hero .thumb img { box-shadow: 0 30px 60px -24px rgba(var(--v2-shade-rgb), calc(.9 * var(--v2-shade-k))), 0 0 0 1px rgba(var(--v2-fg-rgb), .06); }
html:not(.hv-light) body.v2-page .breadcrumb { color: var(--v2-muted); font-size: 13.5px; }
html:not(.hv-light) body.v2-page .breadcrumb a { color: var(--v2-dim); }
html:not(.hv-light) body.v2-page .breadcrumb a:hover { color: var(--v2-hi); }
html:not(.hv-light) body.v2-page .product-hero h1 {
  color: var(--v2-hi); font-weight: 700; text-wrap: balance;
  font-size: var(--v2-fs-h1); line-height: 1.14; letter-spacing: -.02em; margin: 0 0 18px;
}
html:not(.hv-light) body.v2-page .product-hero h1:lang(en) { font-family: 'Space Grotesk', 'Heebo', system-ui, sans-serif; letter-spacing: -.03em; }
html:not(.hv-light) body.v2-page .product-hero .desc { color: var(--v2-dim); font-size: clamp(1rem, .96rem + .2vw, 1.08rem); line-height: 1.75; margin-bottom: 26px; text-wrap: pretty; }
html:not(.hv-light) body.v2-page .checklist { margin-bottom: 26px; }
html:not(.hv-light) body.v2-page .checklist li { color: var(--v2-text); font-size: 15.5px; line-height: 1.55; padding: 7px 0; gap: 12px; }
html:not(.hv-light) body.v2-page .checklist li::before {
  width: 20px; height: 20px; color: var(--tool); font-size: 11px;
  background: color-mix(in srgb, var(--tool) 14%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tool) 55%, transparent), 0 0 12px -3px var(--tool);
}
/* The main call to action: a solid bar of the tool's light. */
html:not(.hv-light) body.v2-page .product-hero .btn-gold {
  display: inline-flex !important; align-items: center; justify-content: center; min-height: 56px; box-sizing: border-box;
  padding: 0 32px !important; border-radius: 999px; font-weight: 700; color: var(--v2-bg);
  background: linear-gradient(180deg, color-mix(in srgb, var(--tool) 62%, #fff), var(--tool));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tool) 60%, #fff), inset 0 1px 0 rgba(255, 255, 255, .45), 0 14px 36px -14px var(--tool), 0 0 50px -18px var(--tool);
  transition: transform var(--v2-fast) var(--v2-ease), box-shadow var(--v2-med) var(--v2-ease), filter var(--v2-fast) ease;
}
html:not(.hv-light) body.v2-page .product-hero .btn-gold:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tool) 40%, #fff), 0 18px 44px -14px var(--tool), 0 0 64px -14px var(--tool); }
html:not(.hv-light) body.v2-page .product-hero .btn-gold:active { transform: scale(.98); }
html:not(.hv-light) body.v2-page .product-hero .btn-gold:focus-visible { outline: 2px solid color-mix(in srgb, var(--tool) 60%, var(--v2-hi)); outline-offset: 3px; }
html:not(.hv-light) body.v2-page .product-hero .btn-outline-dark { min-height: 56px; border-radius: 999px; }
html:not(.hv-light) body.v2-page .note-box {
  margin-top: 22px; border-radius: 14px; font-size: 14px; line-height: 1.65; color: var(--v2-dim);
  background: rgba(var(--v2-fg-rgb), .025); box-shadow: inset 0 0 0 1px var(--v2-line);
  border-inline-start: 2px solid color-mix(in srgb, var(--tool) 75%, transparent);
}
html:not(.hv-light) body.v2-page .note-box :is(a, b, strong) { color: var(--v2-hi); }
html:not(.hv-light) body.v2-page .price { color: var(--v2-hi); font-family: 'Space Grotesk', 'Heebo', system-ui, sans-serif; letter-spacing: -.02em; }
html:not(.hv-light) body.v2-page .product-hero .price-block .price { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem); text-shadow: 0 0 30px color-mix(in srgb, var(--tool) 45%, transparent); }
html:not(.hv-light) body.v2-page .price small { color: var(--v2-muted); }
html:not(.hv-light) body.v2-page .crmp-demo-badge { background: rgba(var(--v2-warn-rgb), .1); color: var(--v2-warn); box-shadow: inset 0 0 0 1px rgba(var(--v2-warn-rgb), .35); }
html:not(.hv-light) body.v2-page .format-badge { background: rgba(var(--v2-fg-rgb), .04); color: var(--v2-text); box-shadow: inset 0 0 0 1px var(--v2-line-2); border-radius: 999px; }
html:not(.hv-light) body.v2-page .format-badge:first-child { color: color-mix(in srgb, var(--tool) 60%, var(--v2-hi)); background: color-mix(in srgb, var(--tool) 10%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tool) 40%, transparent); }
html:not(.hv-light) body.v2-page .product-facts { border: 0; border-radius: 14px; background: rgba(var(--v2-fg-rgb), .025); box-shadow: inset 0 0 0 1px var(--v2-line); padding: 14px 16px; }
html:not(.hv-light) body.v2-page .product-facts .pf-row { color: var(--v2-dim); }
html:not(.hv-light) body.v2-page .product-facts .pf-label { color: var(--v2-hi); }
html:not(.hv-light) body.v2-page .product-facts .pf-terms-link { color: color-mix(in srgb, var(--tool) 60%, var(--v2-hi)); }
html:not(.hv-light) body.v2-page :is(.breadcrumb a, .pf-terms-link, .note-box a):focus-visible { outline: 2px solid var(--tool); outline-offset: 2px; border-radius: 4px; }

/* Light documents on the dark desk: the mock-ups keep the site's light
   tokens (theme-v2 re-points them for dark pages). */
html:not(.hv-light) body.v2-page :is(.wp-mini-site, .qp-mini-doc, .ip-mini-doc, .crm-mini-board, .v2p-paper) {
  --text: #111827; --text-secondary: #667085; --text-muted: #98A2B3; --bg: #F8FAFC; --surface: #FFFFFF; --border: #E5E7EB;
  --primary-light: #CCFBF1; --ink: #111827; --ink-dark: #0B0F17; --dark: #1A1A1A; --grey: #6B6B6B; --grey-light: #F4F6F5; --ice: #EAF6F6;
  color: #111827; color-scheme: light;
  box-shadow: 0 34px 70px -28px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .08);
}

/* CRM "opening the demo" overlay */
html:not(.hv-light) body.v2-page .crm-payment-overlay { background: rgba(var(--v2-scrim-rgb), calc(.72 * var(--v2-scrim-k))); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
html:not(.hv-light) body.v2-page .crm-payment-card {
  border-radius: 24px; color: var(--v2-text);
  background: radial-gradient(120% 80% at 100% 0%, rgba(var(--v2-teal-rgb), .08), transparent 55%), linear-gradient(180deg, var(--v2-raise), var(--v2-panel));
  box-shadow: inset 0 0 0 1px var(--v2-line-2), 0 40px 100px -30px rgba(var(--v2-shade-rgb), calc(.95 * var(--v2-shade-k))), 0 0 80px -40px rgba(var(--v2-teal-rgb), calc(.45 * var(--v2-glow-k)));
}
html:not(.hv-light) body.v2-page .crm-payment-card h3 { color: var(--v2-hi); }
html:not(.hv-light) body.v2-page .crm-payment-spinner { border-color: rgba(var(--v2-fg-rgb), .1); border-top-color: var(--v2-teal-hi); }

/* ================================== 4 cards: catalog, tools, banner */
/* Catalog cards (js/catalog.js): a dark card, the template preview lit up
   on top, the tool's light on hover. effects.js's pointer tilt writes an
   inline transform; v2 lifts with `translate` instead and keeps it flat. */
html:not(.hv-light) body.v2-page .card {
  --c: var(--tool);
  border: 0; border-radius: 20px; transform: none !important;
  background: linear-gradient(180deg, rgba(var(--v2-lift-rgb), .04), rgba(var(--v2-lift-rgb), .012)), var(--v2-card);
  box-shadow: inset 0 0 0 1px rgba(var(--v2-fg-rgb), .07), 0 1px 0 rgba(var(--v2-fg-rgb), .03);
  transition: translate var(--v2-med) var(--v2-ease), box-shadow var(--v2-med) var(--v2-ease);
}
html:not(.hv-light) body.v2-page .card::before { height: 2px; background: linear-gradient(90deg, transparent, var(--c), transparent); box-shadow: 0 0 14px var(--c); }
html:not(.hv-light) body.v2-page .card:is(:hover, :focus-within) { translate: 0 -4px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 50%, transparent), 0 28px 54px -30px color-mix(in srgb, var(--c) 70%, transparent); }
html:not(.hv-light) body.v2-page .card:is(:hover, :focus-within)::before { opacity: 1; }
html:not(.hv-light) body.v2-page .card .thumb {
  background: radial-gradient(70% 110% at 50% 0%, color-mix(in srgb, var(--c) 16%, transparent), transparent 72%), var(--v2-well);
  border-bottom: 1px solid var(--v2-line);
}
html:not(.hv-light) body.v2-page .card .thumb img { box-shadow: 0 14px 30px -12px rgba(var(--v2-shade-rgb), calc(.9 * var(--v2-shade-k))); }
html:not(.hv-light) body.v2-page .card h3 { color: var(--v2-hi); }
html:not(.hv-light) body.v2-page .card .tag {
  color: color-mix(in srgb, var(--c) 58%, var(--v2-hi)); background: color-mix(in srgb, var(--c) 11%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 36%, transparent);
}
html:not(.hv-light) body.v2-page .card .tag-free { color: var(--v2-ok); background: none; box-shadow: none; }
html:not(.hv-light) body.v2-page .card .card-cta {
  min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 700;
  color: var(--v2-hi); background: linear-gradient(180deg, color-mix(in srgb, var(--c) 18%, transparent), color-mix(in srgb, var(--c) 6%, transparent)), var(--v2-panel);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 55%, transparent);
}
html:not(.hv-light) body.v2-page .card .card-cta:hover { transform: none; box-shadow: inset 0 0 0 1px var(--c), 0 0 26px -8px var(--c); }
html:not(.hv-light) body.v2-page .card .card-cta:focus-visible { outline: 2px solid var(--c); outline-offset: 3px; }

/* products.html: title strip, search, sub-topic pills */
html:not(.hv-light) body.v2-catalog .builder-top {
  position: relative; isolation: isolate; overflow: hidden; padding: clamp(36px, 6vw, 72px) 0 clamp(30px, 5vw, 56px);
  background: radial-gradient(55% 120% at 50% -20%, color-mix(in srgb, var(--tool) 18%, transparent), transparent 70%), var(--v2-bg);
  border-bottom: 1px solid var(--v2-line);
}
html:not(.hv-light) body.v2-catalog .builder-top h1 {
  color: var(--v2-hi); font-size: var(--v2-fs-h1) !important; line-height: 1.14; letter-spacing: -.02em; margin: 0 0 12px !important;
}
html:not(.hv-light):not(.dka-contrast-dark, .dka-contrast-light) body.v2-catalog .builder-top p { color: var(--v2-dim) !important; font-size: clamp(1rem, .95rem + .25vw, 1.12rem) !important; line-height: 1.7; max-width: 46em; }
html:not(.hv-light):not(.dka-contrast-dark, .dka-contrast-light) body.v2-catalog .builder-top p a { color: color-mix(in srgb, var(--tool) 60%, var(--v2-hi)) !important; }
html:not(.hv-light) body.v2-page .tpl-search {
  min-height: 48px; border-radius: 999px; color: var(--v2-text); background: var(--v2-panel-2); border: 1px solid var(--v2-line-2); font-size: 16px;
}
html:not(.hv-light) body.v2-page .tpl-search::placeholder { color: var(--v2-muted); }
html:not(.hv-light) body.v2-page .tpl-search:focus { border-color: color-mix(in srgb, var(--tool) 75%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tool) 16%, transparent); }
html:not(.hv-light) body.v2-page .tpl-search-wrap svg { color: var(--v2-muted); }
html:not(.hv-light) body.v2-page .tpl-search-empty { color: var(--v2-dim); }
html:not(.hv-light) body.v2-page .tabs .tab {
  min-height: 40px; color: var(--v2-dim); background: rgba(var(--v2-fg-rgb), .03); border: 0; box-shadow: inset 0 0 0 1px var(--v2-line-2);
  transition: background-color var(--v2-fast) ease, color var(--v2-fast) ease, box-shadow var(--v2-fast) ease;
}
html:not(.hv-light) body.v2-page .tabs .tab:hover { transform: none; color: var(--v2-hi); background: rgba(var(--v2-fg-rgb), .06); }
html:not(.hv-light) body.v2-page .tabs .tab.active { color: var(--v2-hi); background: color-mix(in srgb, var(--tool) 16%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tool) 60%, transparent), 0 0 18px -8px var(--tool); }
html:not(.hv-light) body.v2-page .tabs .tab:focus-visible { outline: 2px solid var(--tool); outline-offset: 2px; }

/* tools.html: the tool cards, the homepage tools grid look */
html:not(.hv-light) body.v2-tools .features { grid-template-columns: repeat(auto-fit, minmax(196px, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
html:not(.hv-light) body.v2-page .tool-card {
  --c: var(--tool);
  position: relative; isolation: isolate; overflow: hidden; align-items: flex-start; text-align: start; gap: 10px;
  padding: 28px 26px 24px; border-radius: 22px; color: var(--v2-text);
  background: linear-gradient(180deg, rgba(var(--v2-lift-rgb), .04), rgba(var(--v2-lift-rgb), .012)), var(--v2-card);
  box-shadow: inset 0 0 0 1px rgba(var(--v2-fg-rgb), .07), 0 1px 0 rgba(var(--v2-fg-rgb), .03);
  transition: translate var(--v2-med) var(--v2-ease), box-shadow var(--v2-med) var(--v2-ease);
}
html:not(.hv-light) body.v2-page .tool-card::before { /* luminous border */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(145deg, var(--c), color-mix(in srgb, var(--c) 10%, transparent) 38%, transparent 62%, color-mix(in srgb, var(--c) 45%, transparent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: .32; transition: opacity var(--v2-med) ease;
}
html[dir="ltr"]:not(.hv-light) body.v2-page .tool-card::before { background: linear-gradient(215deg, var(--c), color-mix(in srgb, var(--c) 10%, transparent) 38%, transparent 62%, color-mix(in srgb, var(--c) 45%, transparent)); }
html:not(.hv-light) body.v2-page .tool-card::after { /* colour wash */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .45;
  background: radial-gradient(360px 220px at var(--fx, 88%) 0%, color-mix(in srgb, var(--c) 15%, transparent), transparent 68%);
  transition: opacity var(--v2-med) ease;
}
html[dir="ltr"]:not(.hv-light) body.v2-page .tool-card::after { --fx: 12%; }
html:not(.hv-light) body.v2-page .tool-card:is(:hover, :focus-within) { transform: none; translate: 0 -4px; box-shadow: 0 26px 50px -30px color-mix(in srgb, var(--c) 70%, transparent), 0 0 0 1px rgba(var(--v2-shade-rgb), calc(.4 * var(--v2-shade-k))); }
html:not(.hv-light) body.v2-page .tool-card:is(:hover, :focus-within)::before,
html:not(.hv-light) body.v2-page .tool-card:is(:hover, :focus-within)::after { opacity: 1; }
html:not(.hv-light) body.v2-page .tool-card .icon {
  width: 52px; height: 52px; margin: 0 0 6px; border-radius: 15px; color: var(--c); display: grid; place-items: center;
  background: color-mix(in srgb, var(--c) 11%, var(--v2-panel));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 38%, transparent), 0 0 26px -10px color-mix(in srgb, var(--c) 80%, transparent);
  transition: transform var(--v2-med) var(--v2-ease), box-shadow var(--v2-med) ease;
}
html:not(.hv-light) body.v2-page .tool-card .icon svg { width: 25px; height: 25px; filter: none; stroke-width: 1.8; }
html:not(.hv-light) body.v2-page .tool-card:hover .icon { transform: rotate(-6deg) scale(1.07); box-shadow: inset 0 0 0 1px var(--c), 0 0 30px -6px var(--c); }
html:not(.hv-light) body.v2-page .tool-card :is(h3, h4) { margin: 8px 0 0; color: var(--v2-hi); font-size: 1.3rem; line-height: 1.3; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
html:not(.hv-light) body.v2-page .tool-card p { color: var(--v2-dim); font-size: .99rem; line-height: 1.6; }
html:not(.hv-light) body.v2-page .tool-card .btn-mini {
  margin-top: 14px; min-height: 44px; display: inline-flex; align-items: center; padding: 0 22px; border-radius: 999px; font-weight: 700;
  color: var(--v2-hi); background: linear-gradient(180deg, color-mix(in srgb, var(--c) 18%, transparent), color-mix(in srgb, var(--c) 6%, transparent)), var(--v2-panel);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 60%, transparent), 0 0 24px -10px var(--c);
}
html:not(.hv-light) body.v2-page .tool-card .btn-mini:hover { transform: none; box-shadow: inset 0 0 0 1px var(--c), 0 0 30px -6px var(--c); }
html:not(.hv-light) body.v2-page .tool-card .btn-mini:focus-visible { outline: 2px solid var(--c); outline-offset: 3px; }
html:not(.hv-light) body.v2-page :is(.badge-new, .badge-free) {
  margin-inline-start: 0; display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
  color: color-mix(in srgb, var(--c, var(--tool)) 55%, var(--v2-hi)); background: color-mix(in srgb, var(--c, var(--tool)) 12%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c, var(--tool)) 40%, transparent);
}

/* Banner (product.html: "need a website too?") */
html:not(.hv-light) body.v2-page .banner {
  border-radius: var(--v2-r-lg); padding: clamp(26px, 4vw, 44px) clamp(22px, 4vw, 48px);
  background: radial-gradient(70% 140% at 100% 0%, rgba(var(--v2-site-rgb), .16), transparent 60%), linear-gradient(180deg, #101622, var(--v2-panel));
  box-shadow: inset 0 0 0 1px rgba(var(--v2-site-rgb), .28), 0 40px 90px -40px rgba(var(--v2-shade-rgb), var(--v2-shade-k)), 0 0 80px -40px rgba(var(--v2-site-rgb), calc(.5 * var(--v2-glow-k)));
}
html[dir="ltr"]:not(.hv-light) body.v2-page .banner { background: radial-gradient(70% 140% at 0% 0%, rgba(var(--v2-site-rgb), .16), transparent 60%), linear-gradient(180deg, #101622, var(--v2-panel)); }
html:not(.hv-light) body.v2-page .banner::before, html:not(.hv-light) body.v2-page .banner::after { display: none; }
html:not(.hv-light) body.v2-page .banner :is(h2, h3) { color: var(--v2-hi); font-size: var(--v2-fs-h3); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
html:not(.hv-light) body.v2-page .banner .badge-free { --c: var(--v2-site); }
html:not(.hv-light) body.v2-page .banner p { color: var(--v2-dim); font-size: 15px; line-height: 1.65; }
html:not(.hv-light) body.v2-page .banner .btn { min-height: 52px; display: inline-flex; align-items: center; border-radius: 999px; padding: 0 28px; }

/* ========================================================= 5 FAQ accordion */
html:not(.hv-light) body.v2-page .faq-list { gap: 12px; }
html:not(.hv-light) body.v2-page .faq-item {
  border: 0; border-radius: 16px; padding: 0 clamp(16px, 2.4vw, 24px);
  background: linear-gradient(180deg, rgba(var(--v2-lift-rgb), .035), rgba(var(--v2-lift-rgb), .01)), var(--v2-card);
  box-shadow: inset 0 0 0 1px rgba(var(--v2-fg-rgb), .08);
  transition: box-shadow var(--v2-med) var(--v2-ease), background-color var(--v2-med) ease;
}
html:not(.hv-light) body.v2-page .faq-item:hover { box-shadow: inset 0 0 0 1px rgba(var(--v2-fg-rgb), .16); }
html:not(.hv-light) body.v2-page .faq-item[open] {
  background: radial-gradient(120% 120% at 100% 0%, color-mix(in srgb, var(--tool) 8%, transparent), transparent 60%), linear-gradient(180deg, rgba(var(--v2-lift-rgb), .04), rgba(var(--v2-lift-rgb), .012)), #0a0f18;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tool) 42%, transparent), 0 0 44px -26px var(--tool);
}
html[dir="ltr"]:not(.hv-light) body.v2-page .faq-item[open] { background: radial-gradient(120% 120% at 0% 0%, color-mix(in srgb, var(--tool) 8%, transparent), transparent 60%), linear-gradient(180deg, rgba(var(--v2-lift-rgb), .04), rgba(var(--v2-lift-rgb), .012)), #0a0f18; }
html:not(.hv-light) body.v2-page .faq-item summary { min-height: 44px; padding: 18px 0; color: var(--v2-hi); font-size: clamp(1rem, .96rem + .2vw, 1.08rem); font-weight: 600; line-height: 1.45; border-radius: 8px; }
html:not(.hv-light) body.v2-page .faq-item summary::after {
  content: "+"; display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%;
  font-size: 19px; line-height: 1; color: var(--v2-dim); box-shadow: inset 0 0 0 1px var(--v2-line-2);
  transition: transform var(--v2-med) var(--v2-ease), color var(--v2-fast) ease, box-shadow var(--v2-fast) ease;
}
html:not(.hv-light) body.v2-page .faq-item summary:hover::after { color: var(--v2-hi); box-shadow: inset 0 0 0 1px var(--v2-line-3); }
html:not(.hv-light) body.v2-page .faq-item[open] summary::after { transform: rotate(45deg); color: var(--tool); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tool) 60%, transparent), 0 0 14px -4px var(--tool); }
html:not(.hv-light) body.v2-page .faq-item summary:focus-visible { outline: 2px solid var(--tool); outline-offset: 4px; }
html:not(.hv-light) body.v2-page .faq-item p { margin: 0 0 20px; color: var(--v2-dim); font-size: 1rem; line-height: 1.8; }
html:not(.hv-light):not(.dka-contrast-dark, .dka-contrast-light) body.v2-page .faq-item a { color: var(--v2-hi) !important; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--tool) 65%, transparent); text-underline-offset: 3px; }
html:not(.hv-light) body.v2-faq .faq-list { padding-inline: var(--v2p-pad); }
html:not(.hv-light) body.v2-faq .hero + section { padding-block: clamp(44px, 6vw, 72px) clamp(64px, 8vw, 104px); }

/* ========================================================= 6 contact form */
html:not(.hv-light) body.v2-contact .hero + section { padding-top: 0; }
html:not(.hv-light) body.v2-page form.contact-form {
  position: relative; z-index: 1; max-width: 600px; margin-top: -44px; gap: 18px;
  padding: clamp(24px, 4vw, 40px); border-radius: 24px;
  background: linear-gradient(180deg, rgba(var(--v2-raise-rgb), .96), rgba(var(--v2-card-rgb), .98));
  box-shadow: inset 0 0 0 1px rgba(var(--v2-fg-rgb), .1), 0 40px 100px -40px rgba(var(--v2-shade-rgb), calc(.95 * var(--v2-shade-k))), 0 0 90px -40px rgba(var(--v2-teal-rgb), calc(.5 * var(--v2-glow-k)));
}
html:not(.hv-light) body.v2-page .contact-form .field label { color: var(--v2-text); font-size: 14.5px; }
html:not(.hv-light) body.v2-page .contact-form .field :is(input, textarea) {
  min-height: 48px; padding: 12px 14px; border-radius: 12px; font-size: 16px; color: var(--v2-text); caret-color: var(--v2-teal-hi);
  background: var(--v2-panel-2); border: 1px solid var(--v2-line-2);
  transition: border-color var(--v2-fast) ease, box-shadow var(--v2-fast) ease, background-color var(--v2-fast) ease;
}
html:not(.hv-light) body.v2-page .contact-form .field textarea { min-height: 150px; line-height: 1.6; }
html:not(.hv-light) body.v2-page .contact-form .field :is(input, textarea):hover { border-color: var(--v2-line-3); }
html:not(.hv-light) body.v2-page .contact-form .field :is(input, textarea):focus { border-color: color-mix(in srgb, var(--v2-teal) 75%, transparent); box-shadow: 0 0 0 4px rgba(var(--v2-teal-rgb), .16); background: var(--v2-field-focus); }
html:not(.hv-light) body.v2-page .contact-form .btn-gold { min-height: 52px; border-radius: 999px; font-size: 16px; }
/* the status line and the Turnstile slot take no room until they are used */
html:not(.hv-light) body.v2-page .contact-form :is(#contact-form-note, #contact-captcha):empty { margin-top: -18px; }
html:not(.hv-light) body.v2-contact .hero { padding-bottom: clamp(84px, 10vw, 120px) !important; }
html:not(.hv-light):not(.dka-contrast-dark, .dka-contrast-light) body.v2-contact .center { color: var(--v2-muted) !important; }
html:not(.hv-light):not(.dka-contrast-dark, .dka-contrast-light) body.v2-contact .center a { color: var(--v2-teal-hi) !important; }

/* ===================================== 7 reading sheet (policies, about)
   Long text sits on a "reading sheet" a step lighter than the page,
   pulled up over the hero's base line. */
html:not(.hv-light) body:is(.v2-prose, .v2-about) .hero { padding-bottom: clamp(84px, 10vw, 128px) !important; }
html:not(.hv-light) body:is(.v2-prose, .v2-about) .hero + section { padding-top: 0; }
html:not(.hv-light) body:is(.v2-prose, .v2-about) .hero + section > .container {
  position: relative; z-index: 1; margin-top: -56px; padding: clamp(24px, 5vw, 56px);
  border-radius: 24px; background: var(--v2-sheet); line-height: 1.8;
  box-shadow: inset 0 0 0 1px rgba(var(--v2-fg-rgb), .07), 0 40px 90px -50px rgba(var(--v2-shade-rgb), var(--v2-shade-k));
}
html:not(.hv-light) body:is(.v2-prose, .v2-about) .hero + section > .container :is(h2):not(.prose-sub) { color: var(--v2-hi); font-size: var(--v2-fs-prose-h2); letter-spacing: -.01em; line-height: 1.25; }
html:not(.hv-light):not(.dka-contrast-dark, .dka-contrast-light) body:is(.v2-prose, .v2-about) .hero + section > .container :is(h3, h2.prose-sub) {
  position: relative; margin: 34px 0 10px; padding-top: 0; font-size: 1.15rem; line-height: 1.4;
  color: color-mix(in srgb, var(--tool) 40%, var(--v2-hi)) !important;
}
html:not(.hv-light) body:is(.v2-prose, .v2-about) .hero + section > .container > :is(h3, h2.prose-sub):first-child { margin-top: 0; }
/* Section titles that are h2 for the outline but keep the old h3 look. */
h2.prose-sub { font-size: 1.17em; }
html:not(.hv-light):not(.dka-contrast-dark, .dka-contrast-light) body:is(.v2-prose, .v2-about) .hero + section > .container :is(p, ul) { color: #c3cbd8 !important; }
html:not(.hv-light) body:is(.v2-prose, .v2-about) .hero + section > .container li { margin-bottom: 6px; }
html:not(.hv-light) body:is(.v2-prose, .v2-about) .hero + section > .container li::marker { color: var(--tool); }
html:not(.hv-light):not(.dka-contrast-dark, .dka-contrast-light) body:is(.v2-prose, .v2-about) .hero + section > .container b { color: var(--v2-hi); }
html:not(.hv-light) body:is(.v2-prose, .v2-about) .hero + section > .container a:not(.btn) {
  color: var(--v2-hi) !important; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--tool) 70%, transparent); text-underline-offset: 3px;
}
html:not(.hv-light) body:is(.v2-prose, .v2-about) .hero + section > .container a:not(.btn):hover { text-decoration-color: currentColor; }
html:not(.hv-light) body:is(.v2-prose, .v2-about) .hero + section > .container a:focus-visible { outline: 2px solid var(--tool); outline-offset: 2px; border-radius: 3px; }
/* terms: the "Terms of use" / "Privacy" eyebrows (inline-styled in the old teal) */
html:not(.hv-light):not(.dka-contrast-dark, .dka-contrast-light) body.v2-prose :is([data-i18n="terms_kicker"], #privacy) { color: color-mix(in srgb, var(--tool) 62%, var(--v2-hi)) !important; }
html:not(.hv-light) body.v2-prose #privacy { border-top: 1px solid var(--v2-line); padding-top: 36px !important; scroll-margin-top: 90px; }
html:not(.hv-light):not(.dka-contrast-dark, .dka-contrast-light) body.v2-prose [data-i18n="terms_updated"] { color: var(--v2-muted) !important; }

/* =========================================================== 8 unsubscribe */
html:not(.hv-light) body.v2-unsub main, html:not(.hv-light) body.v2-unsub > section { position: relative; isolation: isolate; }
html:not(.hv-light) body.v2-unsub #unsub-card {
  background: radial-gradient(120% 80% at 50% 0%, rgba(var(--v2-teal-rgb), .1), transparent 60%), linear-gradient(180deg, rgba(var(--v2-raise-rgb), .96), rgba(var(--v2-card-rgb), .98)) !important;
  border: 0 !important; border-radius: 24px !important; color: var(--v2-text);
  box-shadow: inset 0 0 0 1px rgba(var(--v2-fg-rgb), .1), 0 40px 100px -40px rgba(var(--v2-shade-rgb), calc(.95 * var(--v2-shade-k))), 0 0 90px -40px rgba(var(--v2-teal-rgb), calc(.55 * var(--v2-glow-k)));
}
html:not(.hv-light) body.v2-unsub #unsub-title { color: var(--v2-hi); }
html:not(.hv-light):not(.dka-contrast-dark, .dka-contrast-light) body.v2-unsub #unsub-card p { color: var(--v2-dim) !important; }
html:not(.hv-light):not(.dka-contrast-dark, .dka-contrast-light) body.v2-unsub #unsub-card a { color: var(--v2-teal-hi) !important; }
html:not(.hv-light) body.v2-unsub #unsub-btn { min-height: 50px; border-radius: 999px; }

/* ============================================================ 9 free tools
   tax-calculator.html + sign.html: the shell and the form controls go
   dark; the calculator's results and the signature pad stay light. */
html:not(.hv-light) body.v2-free-tool .ft-crumb { color: var(--v2-muted); }
html:not(.hv-light) body.v2-free-tool .ft-crumb a { color: var(--v2-dim); }
html:not(.hv-light) body.v2-free-tool .ft-crumb a:hover { color: var(--v2-hi); }
html:not(.hv-light) body.v2-free-tool .ft-card {
  border: 0; border-radius: 22px; padding: clamp(18px, 3vw, 30px);
  background: linear-gradient(180deg, rgba(var(--v2-lift-rgb), .04), rgba(var(--v2-lift-rgb), .012)), var(--v2-card);
  box-shadow: inset 0 0 0 1px rgba(var(--v2-fg-rgb), .08), 0 30px 70px -40px rgba(var(--v2-shade-rgb), var(--v2-shade-k));
}
html:not(.hv-light) body.v2-free-tool .ft-card h2 { color: var(--v2-hi); }
html:not(.hv-light) body.v2-free-tool .ft-card h2 + :is(.ft-grid, .ft-actions) { margin-top: 18px; }
html:not(.hv-light) body.v2-free-tool .ft-card > .ft-sub { color: var(--v2-dim); }
html:not(.hv-light) body.v2-free-tool .ft-note { border-radius: 14px; }
html:not(.hv-light) body.v2-free-tool .ft-note-warn { background: rgba(var(--v2-warn-rgb), .07); border-color: rgba(var(--v2-warn-rgb), .32); color: #f6deb0; }
html:not(.hv-light) body.v2-free-tool .ft-note-info { background: rgba(var(--v2-teal-rgb), .06); border-color: rgba(var(--v2-teal-hi-rgb), .28); color: #c4f1ea; }
html:not(.hv-light) body.v2-free-tool .ft-note strong { color: var(--v2-hi); }
html:not(.hv-light) body.v2-free-tool .ft-field > :is(label, .ft-label) { color: var(--v2-text); }
html:not(.hv-light) body.v2-free-tool .ft-field .ft-hint { color: var(--v2-muted); }
html:not(.hv-light) body.v2-free-tool .ft-field :is(input[type="text"], input[type="number"], input[type="date"], select, textarea) {
  color: var(--v2-text); background: var(--v2-panel-2); border-color: var(--v2-line-2); border-radius: 12px; caret-color: var(--tool);
  transition: border-color var(--v2-fast) ease, box-shadow var(--v2-fast) ease, background-color var(--v2-fast) ease;
}
html:not(.hv-light) body.v2-free-tool .ft-field :is(input, select, textarea)::placeholder { color: var(--v2-faint); }
html:not(.hv-light) body.v2-free-tool .ft-field :is(input, select, textarea):hover { border-color: var(--v2-line-3); }
html:not(.hv-light) body.v2-free-tool .ft-field :is(input, select, textarea):focus { border-color: color-mix(in srgb, var(--tool) 75%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tool) 16%, transparent); background: var(--v2-field-focus); }
html:not(.hv-light) body.v2-free-tool .ft-check { color: var(--v2-text); }
html:not(.hv-light) body.v2-free-tool .ft-check input { accent-color: var(--tool); }
html:not(.hv-light) body.v2-free-tool .ft-seg { border: 0; border-radius: 999px; padding: 4px; gap: 4px; background: rgba(var(--v2-fg-rgb), .03); box-shadow: inset 0 0 0 1px var(--v2-line-2); }
html:not(.hv-light) body.v2-free-tool .ft-seg label { min-height: 38px; border-radius: 999px; color: var(--v2-dim); transition: background-color var(--v2-fast) ease, color var(--v2-fast) ease, box-shadow var(--v2-fast) ease; }
html:not(.hv-light) body.v2-free-tool .ft-seg label + label { border-inline-start: 0; }
html:not(.hv-light) body.v2-free-tool .ft-seg label:hover { color: var(--v2-hi); }
html:not(.hv-light) body.v2-free-tool .ft-seg label:has(input:checked) { color: var(--v2-hi); background: color-mix(in srgb, var(--tool) 18%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tool) 60%, transparent), 0 0 16px -6px var(--tool); }
html:not(.hv-light) body.v2-free-tool .ft-seg label:has(input:focus-visible) { outline-color: var(--tool); }
html:not(.hv-light) body.v2-free-tool .ft-tabs { border-bottom-color: var(--v2-line); }
html:not(.hv-light) body.v2-free-tool .ft-tabs .dk-tab.active::after { background: var(--tool); box-shadow: 0 0 10px var(--tool); }
html:not(.hv-light) body.v2-free-tool .ft-tabs .dk-tab:focus-visible { outline-color: var(--tool); }
/* The figures table (part of the page, not a result) */
html:not(.hv-light) body.v2-free-tool .ft-card > .ft-table-wrap { border-color: var(--v2-line); border-radius: 14px; }
html:not(.hv-light) body.v2-free-tool .ft-card > .ft-table-wrap .ft-table { color: var(--v2-text); }
html:not(.hv-light) body.v2-free-tool .ft-card > .ft-table-wrap .ft-table :is(th, td) { border-bottom-color: var(--v2-line); }
html:not(.hv-light) body.v2-free-tool .ft-card > .ft-table-wrap .ft-table :is(thead th, caption) { background: rgba(var(--v2-fg-rgb), .03); color: var(--v2-muted); }
html:not(.hv-light) body.v2-free-tool .ft-card > .ft-table-wrap .ft-table caption { color: var(--v2-hi); background: none; }
html:not(.hv-light) body.v2-free-tool .ft-card > .ft-table-wrap .ft-table tr.ft-total td { background: color-mix(in srgb, var(--tool) 9%, transparent); }
html:not(.hv-light) body.v2-free-tool .ft-card > .ft-table-wrap .ft-table tr.ft-sub td { color: var(--v2-dim); }
html:not(.hv-light) body.v2-free-tool .ft-sources { color: var(--v2-muted); }
html:not(.hv-light) body.v2-free-tool .ft-sources a { color: color-mix(in srgb, var(--tool) 55%, var(--v2-hi)); }
html:not(.hv-light) body.v2-free-tool .ft-msg { color: var(--v2-dim); }
html:not(.hv-light) body.v2-free-tool .ft-msg.err { color: var(--v2-danger); }
html:not(.hv-light) body.v2-free-tool .ft-swatch { border-color: var(--v2-panel); box-shadow: 0 0 0 1.5px var(--v2-line-3); }
html:not(.hv-light) body.v2-free-tool .ft-swatch[aria-pressed="true"] { box-shadow: 0 0 0 2.5px var(--tool), 0 0 14px -2px var(--tool); }
html:not(.hv-light) body.v2-free-tool .ft-swatch:focus-visible { outline: 2px solid var(--tool); outline-offset: 3px; }
html:not(.hv-light) body.v2-free-tool .ft-actions .dk-btn { min-height: 50px; border-radius: 999px; }
/* The output: the calculator's results stay a light sheet, the pad stays paper. */
html:not(.hv-light) body.v2-free-tool .ft-results:not(:empty) {
  --text: #111827; --text-secondary: #667085; --bg: #F8FAFC; --surface: #FFFFFF; --border: #E5E7EB; --primary-light: #CCFBF1;
  color: #111827; color-scheme: light; padding: clamp(14px, 2.4vw, 22px); border-radius: 16px; background: #fff;
  box-shadow: 0 30px 60px -30px #000, 0 0 0 1px rgba(255, 255, 255, .08);
}
html:not(.hv-light) body.v2-free-tool .ft-results .ft-table caption { color: #111827; }
html:not(.hv-light) body.v2-free-tool .ft-results .ft-kpi-label { color: #475467; } /* 4.5:1 on the teal result tile too */
html:not(.hv-light) body.v2-free-tool .ft-sigpad-box { box-shadow: 0 24px 50px -28px rgba(var(--v2-shade-rgb), var(--v2-shade-k)); }
html:not(.hv-light) body.v2-free-tool .ft-sigpad-box.has-ink { border-color: var(--tool); }

/* ================================== 10 motion + accessibility modes */
@media (prefers-reduced-motion: reduce) {
  body.v2-page :is(.feature, .feature .icon, .card, .tool-card, .tool-card .icon, .tool-card::before, .tool-card::after, .faq-item, .faq-item summary::after, .tabs .tab, .product-hero .btn-gold, .ft-seg label),
  body.v2-page .feature::after { transition-duration: .01ms !important; }
  body.v2-page .feature::before, body.v2-page .hero :is(h1, p.lead) { animation: none !important; }
  body.v2-page :is(.card, .tool-card):is(:hover, :focus-within) { translate: none !important; }
  body.v2-page :is(.feature .icon, .tool-card .icon, .product-hero .btn-gold) { transform: none !important; }
}
html.dka-still body.v2-page .feature::before, html.dka-still body.v2-page .hero :is(h1, p.lead) { animation: none !important; }
html.dka-still body.v2-page :is(.card, .tool-card):is(:hover, :focus-within) { translate: none !important; }
html.dka-still body.v2-page :is(.feature .icon, .tool-card .icon, .product-hero .btn-gold) { transform: none !important; }
html.dka-still body.v2-page :is(.feature, .feature .icon, .card, .tool-card, .faq-item, .faq-item summary::after, .tabs .tab, .ft-seg label) { transition: none !important; }
/* Contrast modes (light and dark): the decorative light goes, the
   gradient-filled title becomes plain text, the mock documents keep a
   visible frame. */
html:is(.dka-contrast-dark, .dka-contrast-light) body.v2-page :is(.hero, .feature, .tool-card, .card, .product-hero .thumb, .banner, section:has(> .product-hero), #product-root)::before,
html:is(.dka-contrast-dark, .dka-contrast-light) body.v2-page :is(.hero, .feature, .tool-card, .banner)::after { display: none !important; }
html:is(.dka-contrast-dark, .dka-contrast-light) body.v2-page .hero h1 { background: none; -webkit-text-fill-color: currentColor; }
html:is(.dka-contrast-dark, .dka-contrast-light) body.v2-page :is(.wp-mini-site, .qp-mini-doc, .ip-mini-doc, .crm-mini-board, .ft-results:not(:empty), .product-hero .thumb) { outline: 1.5px solid currentColor; }
html:is(.dka-contrast-dark, .dka-contrast-light) body.v2-page :is(.checklist li, .gd-check li)::before,
html:is(.dka-contrast-dark, .dka-contrast-light) body.v2-page :is(.faq-item summary, .gd-related a)::after { color: currentColor !important; background: none !important; text-shadow: none !important; }
html:is(.dka-contrast-dark, .dka-contrast-light) body.v2-page .checklist li::before, html:is(.dka-contrast-dark, .dka-contrast-light) body.v2-page .faq-item summary::after { box-shadow: inset 0 0 0 1.5px currentColor !important; }
html:is(.dka-contrast-dark, .dka-contrast-light) body.v2-page .section-head .kicker::before, html:is(.dka-contrast-dark, .dka-contrast-light) body.v2-page .section-head .kicker::after { display: none; }

/* ============================================ 11 light theme ("מצב בהיר")
   Tokens: css/theme-v2.css (html.dk-light). The hero becomes a soft
   daylight band tinted by the page's tool; cards and the reading sheet
   turn white with a hairline and a layered shadow. */
html.dk-light:not(.dka-contrast-dark, .dka-contrast-light) body.v2-page .hero {
  background:
    radial-gradient(60% 90% at 50% -10%, color-mix(in srgb, var(--tool) 12%, transparent), transparent 70%),
    radial-gradient(34% 60% at 88% 110%, rgba(26, 102, 216, .05), transparent 70%),
    transparent;
}
html.dk-light:not(.dka-contrast-dark, .dka-contrast-light) body.v2-page .hero::before { background-image: linear-gradient(rgba(11, 16, 32, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 16, 32, .05) 1px, transparent 1px); }
html.dk-light:not(.dka-contrast-dark, .dka-contrast-light) body.v2-page .hero::after { box-shadow: none; opacity: .6; }
html.dk-light:not(.dka-contrast-dark, .dka-contrast-light) body.v2-page .hero h1 { color: #0b1020; background-image: linear-gradient(180deg, #0b1020 45%, #39445e); }
html.dk-light:not(.dka-contrast-dark, .dka-contrast-light) body.v2-page .bg-ice { background: linear-gradient(180deg, #eef1f7, var(--v2-bg) 70%); }
html.dk-light:not(.dka-contrast-dark, .dka-contrast-light) body.v2-page :is(.card, .tool-card, .faq-item, .feature:not(.tool-card)) { box-shadow: inset 0 0 0 1px rgba(11, 16, 32, .08), var(--v2-lift-1); }
html.dk-light:not(.dka-contrast-dark, .dka-contrast-light) body.v2-page .card::before { box-shadow: none; }
html.dk-light:not(.dka-contrast-dark, .dka-contrast-light) body.v2-page .card:is(:hover, :focus-within) { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 45%, transparent), 0 26px 50px -30px color-mix(in srgb, var(--c) 60%, transparent), var(--v2-lift-1); }
html.dk-light:not(.dka-contrast-dark, .dka-contrast-light) body.v2-page .tool-card:is(:hover, :focus-within) { box-shadow: 0 26px 50px -30px color-mix(in srgb, var(--c) 60%, transparent), 0 2px 6px rgba(15, 23, 42, .05); }
html.dk-light:not(.dka-contrast-dark, .dka-contrast-light) body.v2-page .tool-card::before { opacity: .45; }
html.dk-light:not(.dka-contrast-dark, .dka-contrast-light) body.v2-page .tool-card .icon { background: color-mix(in srgb, var(--c) 9%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 28%, transparent); }
html.dk-light:not(.dka-contrast-dark, .dka-contrast-light) body.v2-page .tool-card:hover .icon { box-shadow: inset 0 0 0 1px var(--c), 0 8px 18px -8px var(--c); }
html.dk-light:not(.dka-contrast-dark, .dka-contrast-light) body.v2-page :is(.card .card-cta, .tool-card .btn-mini) { background: linear-gradient(180deg, color-mix(in srgb, var(--c) 11%, #fff), color-mix(in srgb, var(--c) 4%, #fff)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 50%, transparent), 0 6px 14px -10px var(--c); }
html.dk-light:not(.dka-contrast-dark, .dka-contrast-light) body.v2-page :is(.card .card-cta, .tool-card .btn-mini):hover { box-shadow: inset 0 0 0 1px var(--c), 0 10px 20px -10px var(--c); }
html.dk-light:not(.dka-contrast-dark, .dka-contrast-light) body.v2-page .faq-item:hover { box-shadow: inset 0 0 0 1px rgba(11, 16, 32, .16), var(--v2-lift-1); }
html.dk-light:not(.dka-contrast-dark, .dka-contrast-light) body.v2-page .faq-item[open] { background: radial-gradient(120% 120% at 100% 0%, color-mix(in srgb, var(--tool) 6%, transparent), transparent 60%), #fff; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tool) 38%, transparent), 0 18px 36px -24px color-mix(in srgb, var(--tool) 45%, transparent); }
html[dir="ltr"].dk-light:not(.dka-contrast-dark, .dka-contrast-light) body.v2-page .faq-item[open] { background: radial-gradient(120% 120% at 0% 0%, color-mix(in srgb, var(--tool) 6%, transparent), transparent 60%), #fff; }
html.dk-light:not(.dka-contrast-dark, .dka-contrast-light) body.v2-page .banner { background: radial-gradient(70% 140% at 100% 0%, rgba(26, 102, 216, .08), transparent 60%), #fff; box-shadow: inset 0 0 0 1px rgba(26, 102, 216, .22), var(--v2-lift-2); }
html[dir="ltr"].dk-light:not(.dka-contrast-dark, .dka-contrast-light) body.v2-page .banner { background: radial-gradient(70% 140% at 0% 0%, rgba(26, 102, 216, .08), transparent 60%), #fff; }
html.dk-light:not(.dka-contrast-dark, .dka-contrast-light) body.v2-page .product-hero .thumb { background: radial-gradient(closest-side, color-mix(in srgb, var(--tool) 10%, transparent), transparent), linear-gradient(180deg, #fff, #f6f8fb); box-shadow: inset 0 0 0 1px rgba(11, 16, 32, .07), var(--v2-lift-3); }
html.dk-light:not(.dka-contrast-dark, .dka-contrast-light) body.v2-page .product-hero .thumb img { box-shadow: 0 24px 48px -24px rgba(15, 23, 42, .35), 0 0 0 1px rgba(11, 16, 32, .06); }
/* The main call to action: a solid bar of the (deeper) tool colour, white text. */
html.dk-light:not(.dka-contrast-dark, .dka-contrast-light) body.v2-page .product-hero .btn-gold {
  color: #fff; background: linear-gradient(180deg, var(--tool), color-mix(in srgb, var(--tool) 84%, #000));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(15, 23, 42, .12), 0 12px 28px -12px var(--tool);
}
html.dk-light:not(.dka-contrast-dark, .dka-contrast-light) body.v2-page .product-hero .btn-gold:hover { filter: brightness(1.05); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 16px 34px -12px var(--tool); }
html.dk-light:not(.dka-contrast-dark, .dka-contrast-light) body.v2-page .checklist li::before { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tool) 50%, transparent); }
html.dk-light:not(.dka-contrast-dark, .dka-contrast-light) body.v2-page .product-hero .price-block .price { text-shadow: none; }
html.dk-light:not(.dka-contrast-dark, .dka-contrast-light) body.v2-page :is(.wp-mini-site, .qp-mini-doc, .ip-mini-doc, .crm-mini-board, .v2p-paper) { box-shadow: 0 30px 60px -28px rgba(15, 23, 42, .35), 0 0 0 1px rgba(11, 16, 32, .07); }
html.dk-light:not(.dka-contrast-dark, .dka-contrast-light) body.v2-page form.contact-form { background: #fff; box-shadow: inset 0 0 0 1px rgba(11, 16, 32, .08), var(--v2-lift-3); }
html.dk-light:not(.dka-contrast-dark, .dka-contrast-light) body:is(.v2-prose, .v2-about) .hero + section > .container { box-shadow: inset 0 0 0 1px rgba(11, 16, 32, .07), var(--v2-lift-2); }
html.dk-light:not(.dka-contrast-dark, .dka-contrast-light) body:is(.v2-prose, .v2-about) .hero + section > .container :is(p, ul) { color: var(--v2-text-3) !important; }
html.dk-light:not(.dka-contrast-dark, .dka-contrast-light) body.v2-unsub #unsub-card { background: radial-gradient(120% 80% at 50% 0%, rgba(13, 148, 136, .07), transparent 60%), #fff !important; box-shadow: inset 0 0 0 1px rgba(11, 16, 32, .08), var(--v2-lift-3); }
html.dk-light:not(.dka-contrast-dark, .dka-contrast-light) body.v2-free-tool .ft-card { box-shadow: inset 0 0 0 1px rgba(11, 16, 32, .08), var(--v2-lift-2); }
html.dk-light:not(.dka-contrast-dark, .dka-contrast-light) body.v2-free-tool .ft-note-warn { color: #6b3d04; }
html.dk-light:not(.dka-contrast-dark, .dka-contrast-light) body.v2-free-tool .ft-note-info { color: #0d4f49; }
html.dk-light:not(.dka-contrast-dark, .dka-contrast-light) body.v2-free-tool .ft-results:not(:empty) { box-shadow: 0 24px 50px -28px rgba(15, 23, 42, .3), 0 0 0 1px rgba(11, 16, 32, .08); }
html.dk-light:not(.dka-contrast-dark, .dka-contrast-light) body.v2-page .crm-payment-card { box-shadow: inset 0 0 0 1px rgba(11, 16, 32, .08), var(--v2-lift-3); }
