/*
Theme Name: HDL Commerce
Theme URI: https://hbgdesignlab.se/
Author: HDL
Author URI: https://hbgdesignlab.se/
Description: HDL Commerce marketing site. FSE block theme ported from the Claude Design handoff. Presentation only - functionality lives in the hdl-kit plugin.
Requires at least: 6.6
Tested up to: 6.6
Requires PHP: 7.4
Version: 0.4.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hdl-commerce
Tags: full-site-editing, block-patterns, block-styles, editor-style, translation-ready
*/

/* ============================================================
   HDL Commerce - Design system port.

   All token VALUES live in theme.json (single source of truth)
   and surface here as --wp--custom--* / --wp--preset--* vars.
   The :root block below only ALIASES them to the design's
   original variable names, because the light-mode and accent
   layers further down redefine those names - the cascade order
   of this file is load-bearing. Do not reorder or dedupe.
   ============================================================ */

:root {
  --accent-rgb: var(--wp--custom--accent-rgb);
  --accent-bright-rgb: var(--wp--custom--accent-bright-rgb);
  --accent-strong-rgb: var(--wp--custom--accent-strong-rgb);
  --accent-deep-rgb: var(--wp--custom--accent-deep-rgb);
  --mint: rgb(var(--accent-rgb));
  --mint-bright: rgb(var(--accent-bright-rgb));
  --mint-soft: var(--wp--custom--mint-soft);
  --mint-wash: var(--wp--custom--mint-wash);
  --emerald: #4a6b1e;
  --emerald-deep: #35510f;
  --ink: var(--wp--custom--ink);
  --ink-2: var(--wp--custom--ink-2);
  --slate: var(--wp--custom--slate);
  --slate-2: var(--wp--custom--slate-2);
  --line: var(--wp--custom--line);
  --line-2: var(--wp--custom--line-2);
  --paper: var(--wp--custom--paper);
  --paper-2: var(--wp--custom--paper-2);
  --paper-3: var(--wp--custom--paper-3);
  --dark: var(--wp--custom--dark);
  --dark-2: var(--wp--custom--dark-2);
  --dark-3: var(--wp--custom--dark-3);
  --on-dark: var(--wp--custom--on-dark);
  --on-dark-mut: var(--wp--custom--on-dark-mut);
  --on-dark-line: var(--wp--custom--on-dark-line);
  --font-display: var(--wp--preset--font-family--sans);
  --font-sans: var(--wp--preset--font-family--sans);
  --font-mono: var(--wp--preset--font-family--mono);
  --r-sm: var(--wp--custom--radius--sm);
  --r: var(--wp--custom--radius--md);
  --r-lg: var(--wp--custom--radius--lg);
  --r-xl: var(--wp--custom--radius--xl);
  --r-pill: var(--wp--custom--radius--pill);
  --shadow-sm: var(--wp--custom--shadow--sm);
  --shadow-md: var(--wp--custom--shadow--md);
  --shadow-lg: var(--wp--custom--shadow--lg);
  --shadow-mint: var(--wp--custom--shadow--mint);
  --maxw: var(--wp--custom--maxw);
  --gutter: var(--wp--custom--gutter);
  --nav-h: var(--wp--custom--nav-h);
}


/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; font-size: 90%; }
body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01' 1, 'cv01' 1;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
::selection { background: var(--mint); color: var(--ink); }

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.h-display {
  font-size: clamp(2.6rem, 6.2vw, 5.1rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
}
.h1 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); font-weight: 800; letter-spacing: -0.035em; }
.h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 700; letter-spacing: -0.03em; }
.h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 700; letter-spacing: -0.02em; }
.lead {
  font-size: clamp(1.08rem, 1.5vw, 1.32rem);
  line-height: 1.5;
  color: var(--slate);
  font-weight: 400;
  text-wrap: pretty;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--emerald);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--emerald);
  display: inline-block;
}
.eyebrow.no-line::before { display: none; }
.muted { color: var(--slate); }
.mono { font-family: var(--font-mono); }
.grad-text {
  background: linear-gradient(120deg, var(--ink) 30%, var(--emerald) 78%, var(--mint) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ============================================================
   Layout helpers
   ============================================================ */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { max-width: 1600px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 132px); }
.section-sm { padding-block: clamp(48px, 6vw, 84px); }
.center { text-align: center; }
.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.grid { display: grid; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; }
.gap-5 { gap: 24px; } .gap-6 { gap: 32px; } .gap-8 { gap: 48px; }
.mt-2{margin-top:8px}.mt-3{margin-top:12px}.mt-4{margin-top:16px}.mt-5{margin-top:24px}.mt-6{margin-top:32px}.mt-8{margin-top:48px}
.maxch { max-width: 60ch; }
.maxch-sm { max-width: 46ch; }

.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; }
.section-head .h2 { margin-top: 16px; }
.section-head .lead { margin-top: 16px; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-sans);
  font-weight: 500; font-size: 0.96rem;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .2s, background .2s, color .2s, border-color .2s;
  white-space: nowrap; cursor: pointer;
  letter-spacing: -0.01em;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary {
  background: var(--mint);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, var(--shadow-sm);
}
.btn-primary:hover { background: var(--mint-bright); transform: translateY(-1px); box-shadow: var(--shadow-mint); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: var(--paper-2); }
.btn-light { background: rgba(255,255,255,.1); color: #fff; border: 1px solid var(--on-dark-line); }
.btn-light:hover { background: rgba(255,255,255,.16); }
.btn-lg { padding: 15px 28px; font-size: 1.02rem; }
.btn-sm { padding: 9px 16px; font-size: 0.88rem; }
.btn-link { color: var(--emerald); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.btn-link svg { width: 16px; height: 16px; transition: transform .2s; }
.btn-link:hover svg { transform: translateX(3px); }

/* ============================================================
   Pills / badges / chips
   ============================================================ */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 500;
  padding: 6px 13px 6px 11px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--slate);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px var(--mint-soft); }
.pill-mint { background: var(--mint-wash); border-color: var(--mint-soft); color: var(--emerald-deep); }
.tag {
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 6px;
  background: var(--paper-3); color: var(--slate);
}

/* ============================================================
   Cards
   ============================================================ */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s, border-color .25s;
}
.card-hover:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--line); }
.card-feature { padding: 32px; }
.card-pad-lg { padding: 40px; }
.card .ic {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--mint-wash); color: var(--emerald-deep);
  border: 1px solid var(--mint-soft);
  margin-bottom: 20px;
}
.card .ic svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.18rem; }
.card p { color: var(--slate); margin-top: 10px; font-size: 0.97rem; }

/* ============================================================
   Header / nav
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav {
  height: var(--nav-h);
  display: flex; align-items: center; gap: 28px;
  max-width: 1600px; margin-inline: auto;
  padding-inline: var(--gutter);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.16rem; letter-spacing: -0.03em; }
.brand .logomark { width: 28px; height: 28px; flex: none; }
.brand .brand-sub { color: var(--emerald); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 12px; border-radius: var(--r-sm);
  font-size: 0.94rem; font-weight: 500; color: #2b3a44;
  transition: background .18s, color .18s;
}
.nav-link:hover { background: var(--paper-2); color: var(--ink); }
.nav-link .chev { width: 14px; height: 14px; opacity: .5; transition: transform .2s; }
.nav-item:hover .chev { transform: rotate(180deg); }
.nav-link.active { color: var(--ink); }
.nav-spacer { flex: 1; }
.nav-actions { display: flex; align-items: center; gap: 8px; }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 300px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown.wide { min-width: 540px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.dd-link { display: flex; gap: 12px; padding: 11px 12px; border-radius: var(--r); transition: background .16s; }
.dd-link:hover { background: var(--paper-2); }
.dd-link .dd-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--mint-wash); color: var(--emerald-deep); flex: none; border: 1px solid var(--mint-soft); }
.dd-link .dd-ic svg { width: 17px; height: 17px; }
.dd-link .dd-t { display: block; font-weight: 600; font-size: 0.92rem; }
.dd-link .dd-d { display: block; font-size: 0.82rem; color: var(--slate); margin-top: 2px; line-height: 1.4; }

/* Mobile */
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 10px; align-items: center; justify-content: center; border: 1px solid var(--line); }
.mobile-menu { display: none; }
@media (max-width: 1080px) {
  .nav-links, .nav-actions .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu { display: block; position: fixed; inset: var(--nav-h) 0 0 0; background: var(--paper); z-index: 99; overflow-y: auto; padding: 16px var(--gutter) 40px; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .25s; }
  .mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .mobile-menu a { display: block; padding: 14px 4px; font-size: 1.1rem; font-weight: 600; border-bottom: 1px solid var(--line-2); }
  .mobile-menu .mm-section { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-2); padding: 22px 4px 4px; }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--dark); color: var(--on-dark); padding-block: 72px 36px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
.footer-col h4 { font-family: var(--font-mono); font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-mut); margin-bottom: 16px; }
.footer-col a:not(.btn) { display: block; padding: 6px 0; color: #c5d4cd; font-size: .92rem; transition: color .16s; }
.footer-col a:not(.btn):hover { color: var(--mint); }
.footer-col a.btn { display: inline-flex; padding-block: 9px; padding-inline: 16px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { color: var(--on-dark-mut); font-size: .92rem; margin-top: 16px; max-width: 30ch; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--on-dark-line); color: var(--on-dark-mut); font-size: .85rem; }
.footer-bottom .legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--mint); }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } .footer-brand { grid-column: 1 / -1; } }

/* ============================================================
   Sections / surfaces
   ============================================================ */
.surface-2 { background: var(--paper-2); }
.surface-3 { background: var(--paper-3); }
.surface-dark { background: var(--dark); color: var(--on-dark); }
.surface-dark .lead, .surface-dark .muted { color: var(--on-dark-mut); }
.surface-dark .eyebrow { color: var(--mint); }
.surface-dark .eyebrow::before { background: var(--mint); }
.surface-mint { background: linear-gradient(180deg, var(--mint-wash), #fff); }
.divider { height: 1px; background: var(--line); border: 0; }

/* radial mint glow util */
.glow { position: relative; }
.glow::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(60% 50% at 50% 0%, rgba(var(--accent-rgb),.20), transparent 70%);
  pointer-events: none;
}
.glow > * { position: relative; z-index: 1; }

/* ============================================================
   Comparison table (vs Magento)
   ============================================================ */
.compare {
  border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden;
  background: var(--paper); box-shadow: var(--shadow-md);
}
.compare-row { display: grid; grid-template-columns: 1.5fr 1fr 1fr; align-items: stretch; }
.compare-row + .compare-row { border-top: 1px solid var(--line-2); }
.compare-head { background: var(--paper-2); }
.compare-cell { padding: 18px 22px; display: flex; align-items: center; gap: 10px; font-size: .96rem; }
.compare-cell.feat { font-weight: 600; }
.compare-cell.feat small { display: block; font-weight: 400; color: var(--slate); font-size: .82rem; margin-top: 2px; }
.compare-col-us { background: linear-gradient(180deg, var(--mint-wash), rgba(238,253,246,.4)); border-inline: 1px solid var(--mint-soft); }
.compare-row.compare-head .compare-col-us { border-bottom: 1px solid var(--mint-soft); }
.compare-brand { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; display: flex; flex-direction: column; }
.compare-brand small { font-family: var(--font-mono); font-weight: 400; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-2); margin-top: 4px; }
.tick { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.tick.yes { background: var(--mint); color: var(--ink); }
.tick.no { background: var(--paper-3); color: var(--slate-2); }
.tick svg { width: 13px; height: 13px; }
@media (max-width: 760px) {
  .compare-cell { padding: 14px; font-size: .86rem; }
  .compare-cell.feat small { display: none; }
}

/* ============================================================
   Stats
   ============================================================ */
.stat .num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 4vw, 3.2rem); letter-spacing: -0.04em; line-height: 1; }
.stat .num .unit { color: var(--emerald); }
.stat .lbl { color: var(--slate); margin-top: 8px; font-size: .94rem; }
.surface-dark .stat .num { color: #fff; }
.surface-dark .stat .num .unit { color: var(--mint); }

/* ============================================================
   Logos marquee
   ============================================================ */
.logos { display: flex; align-items: center; gap: clamp(28px, 5vw, 64px); flex-wrap: wrap; justify-content: center; }
.logo-word { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.02em; color: #94a2a8; transition: color .2s; }
.logo-word:hover { color: var(--ink); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: clamp(40px, 6vw, 80px); width: max-content; animation: marquee 32s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   Feature grids
   ============================================================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 920px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ============================================================
   Bento
   ============================================================ */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bento .b-2 { grid-column: span 2; } .bento .b-3 { grid-column: span 3; }
.bento .b-4 { grid-column: span 4; } .bento .b-6 { grid-column: span 6; }
@media (max-width: 860px) { .bento { grid-template-columns: 1fr 1fr; } .bento [class*="b-"] { grid-column: span 1 !important; } .bento .b-full { grid-column: 1 / -1 !important; } }

/* ============================================================
   Page hero (interior)
   ============================================================ */
.page-hero { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(40px, 6vw, 72px); }
.page-hero .h-display { margin-top: 20px; }
.breadcrumbs { font-size: .85rem; color: var(--slate-2); display: flex; gap: 8px; align-items: center; font-family: var(--font-mono); }
.breadcrumbs a:hover { color: var(--emerald); }

/* ============================================================
   Misc
   ============================================================ */
.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink); font-size: 1rem; }
.check-list .ck { width: 22px; height: 22px; border-radius: 50%; background: var(--mint-wash); color: var(--emerald-deep); display: grid; place-items: center; flex: none; margin-top: 1px; border: 1px solid var(--mint-soft); }
.check-list .ck svg { width: 13px; height: 13px; }
.surface-dark .check-list li { color: var(--on-dark); }
.surface-dark .check-list .ck { background: rgba(var(--accent-rgb),.16); border-color: rgba(var(--accent-rgb),.34); color: var(--mint); }

.kbd { font-family: var(--font-mono); font-size: .82rem; padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line); background: var(--paper-2); box-shadow: 0 1px 0 var(--line); }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: transform .7s cubic-bezier(.2,.7,.3,1); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } .marquee-track { animation: none; } }

/* CTA band */
.cta-band { background: var(--dark); color: var(--on-dark); border-radius: var(--r-xl); padding: clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; height: 180%; background: radial-gradient(circle, rgba(var(--accent-rgb),.16), transparent 65%); pointer-events: none; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: var(--on-dark-mut); }

/* ============================================================
   ████  BRAND LAYER — HDL Commerce  ████
   Deep forest identity, lime accent, vibrant gradients,
   the { } brace motif, co-brand lockups, LAB personality.
   Appended last so it wins on shared class names.
   ============================================================ */

/* ---- Display type: large, confident, lighter weight ---- */
.h-display { font-weight: 450; letter-spacing: -0.035em; line-height: 0.99; font-size: clamp(2.8rem, 6.4vw, 5.4rem); }
.h1 { font-weight: 450; letter-spacing: -0.03em; }
.h2 { font-weight: 450; letter-spacing: -0.028em; }
.h3 { font-weight: 500; }
.display-xl { font-family: var(--font-display); font-weight: 450; letter-spacing: -0.04em; line-height: 0.96; font-size: clamp(3rem, 7.5vw, 6rem); }

/* eyebrow: cleaner branded label */
.eyebrow { font-family: var(--font-sans); font-weight: 500; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--emerald); }
.eyebrow::before { width: 22px; height: 2px; border-radius: 2px; }

/* ---- Buttons: brand pills ---- */
.btn-primary { box-shadow: none; font-weight: 500; }
.btn-primary:hover { background: var(--mint-bright); box-shadow: 0 8px 26px rgba(var(--accent-rgb),.42); }
.btn-dark { background: var(--dark); }
.btn-dark:hover { background: var(--dark-2); }
.btn-lime-outline { background: transparent; color: var(--emerald-deep); border: 1.5px solid var(--mint); }
.btn-lime-outline:hover { background: var(--mint-wash); }
.on-forest .btn-lime-outline, .surface-forest .btn-lime-outline, .surface-dark .btn-lime-outline { color: var(--mint); border-color: rgba(var(--accent-rgb),.5); }
.on-forest .btn-lime-outline:hover, .surface-forest .btn-lime-outline:hover, .surface-dark .btn-lime-outline:hover { background: rgba(var(--accent-rgb),.12); }
.cta-band .btn-lime-outline { color: #fff; border-color: rgba(var(--accent-rgb),.55); }
.cta-band .btn-lime-outline:hover { color: #fff; background: rgba(var(--accent-rgb),.14); border-color: var(--mint); }

/* ============================================================
   Surfaces — the brand's alternating rhythm
   ============================================================ */
.surface-forest {
  background:
    radial-gradient(120% 90% at 15% 0%, rgba(26,74,58,.55), transparent 55%),
    radial-gradient(100% 80% at 85% 10%, rgba(60,90,40,.30), transparent 60%),
    var(--dark);
  color: var(--on-dark);
}
.surface-forest .lead, .surface-forest .muted, .hero-forest .lead, .hero-forest .muted { color: var(--on-dark-mut); }
.surface-forest .eyebrow, .hero-forest .eyebrow { color: var(--mint); }
.surface-forest .eyebrow::before, .hero-forest .eyebrow::before { background: var(--mint); }
.surface-forest h1, .surface-forest h2, .surface-forest h3, .surface-forest h4, .surface-forest .h-display, .surface-forest .display-xl,
.hero-forest h1, .hero-forest h2, .hero-forest h3, .hero-forest h4, .hero-forest .h-display, .hero-forest .display-xl { color: #fff; }
.hero-forest { color: var(--on-dark); }
.hero-forest .pill, .surface-forest .pill { background: rgba(255,255,255,.06); border-color: var(--on-dark-line); color: var(--on-dark); }
.hero-forest .check-list li, .surface-forest .check-list li { color: var(--on-dark); }
.hero-forest .check-list .ck, .surface-forest .check-list .ck { background: rgba(var(--accent-rgb),.16); border-color: rgba(var(--accent-rgb),.34); color: var(--mint); }

.surface-lime { background: linear-gradient(180deg, #e3ede7, #d7e4dd); color: var(--ink); }
.surface-lime .lead, .surface-lime .muted { color: #405057; }
.surface-lime .eyebrow { color: var(--emerald-deep); }

/* vibrant full-bleed gradient sections (integration / co-brand energy) */
.surface-grad-olive { background: linear-gradient(150deg, #0b1822 0%, #11414e 45%, var(--mint) 100%); color: #fff; }
.surface-grad-sun   { background: linear-gradient(135deg, #ffd27a 0%, #ff8a6b 45%, #ff5fa2 80%, #c86bff 100%); color: var(--ink); }
.surface-grad-sky   { background: linear-gradient(150deg, #bfeaff 0%, #8fd0ff 45%, #6aa8ff 100%); color: var(--ink); }
.surface-grad-mint  { background: linear-gradient(150deg, #eaf7c8 0%, #c5e8a0 50%, #9fd47e 100%); color: var(--ink); }
.surface-grad-olive .lead { color: rgba(255,255,255,.85); }
.surface-grad-olive .eyebrow, .surface-grad-olive h1, .surface-grad-olive h2 { color: #fff; }

/* ============================================================
   Co-brand lockup:  BRAND  |  ◧ HDL Commerce
   ============================================================ */
.lockup { display: inline-flex; align-items: center; gap: clamp(18px, 3vw, 34px); }
.lockup .lk-brand { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.6rem); letter-spacing: -0.04em; line-height: 1; }
.lockup .lk-div { width: 1.5px; height: clamp(34px, 5vw, 56px); background: currentColor; opacity: .35; }
.lockup .lk-hdl { display: inline-flex; align-items: center; gap: 12px; }
.lockup .lk-hdl .logomark { width: clamp(34px, 4vw, 52px); height: clamp(34px, 4vw, 52px); }
.lockup .lk-hdl .lk-name { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.2rem, 2vw, 1.7rem); line-height: .95; letter-spacing: -0.03em; }
.lockup .lk-hdl .lk-name small { display: block; font-weight: 700; font-size: .82em; }

/* ============================================================
   The { } brace motif — signature highlight
   ============================================================ */
.braces { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(16px, 3vw, 40px); }
.braces .brace { font-family: var(--font-display); font-weight: 300; font-size: clamp(7rem, 16vw, 13rem); line-height: .6; color: var(--mint); user-select: none; }
.braces .brace.r { justify-self: end; }
.braces .brace-text { font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 500; line-height: 1.35; color: inherit; text-wrap: balance; }
.surface-grad-olive .braces .brace, .surface-grad-sun .braces .brace { color: #fff; }
@media (max-width: 620px) { .braces .brace { font-size: 5.5rem; } }

/* ============================================================
   Cards on dark forest (LAB feature cards)
   ============================================================ */
.card-dark { background: rgba(255,255,255,.035); border: 1px solid var(--on-dark-line); border-radius: var(--r-lg); padding: 28px; transition: border-color .25s, background .25s, transform .25s; }
.card-dark:hover { border-color: rgba(var(--accent-rgb),.4); background: rgba(var(--accent-rgb),.05); transform: translateY(-2px); }
.card-dark h3 { color: #fff; font-size: 1.18rem; font-weight: 500; }
.card-dark p { color: var(--on-dark-mut); margin-top: 10px; font-size: .95rem; }
.ic-outline { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; color: var(--mint); border: 1.5px solid rgba(var(--accent-rgb),.45); background: rgba(var(--accent-rgb),.06); }
.ic-outline svg { width: 24px; height: 24px; }

/* ============================================================
   Illustration panel (flat LAB art placeholder)
   ============================================================ */
.illus { border-radius: var(--r-xl); background: linear-gradient(160deg, #103a2e, #0a2a20); border: 1px solid var(--on-dark-line); position: relative; overflow: hidden; display: grid; place-items: center; aspect-ratio: 16/10; }
.illus .float-syms { position: absolute; inset: 0; color: var(--mint); font-family: var(--font-mono); pointer-events: none; }
.illus .float-syms span { position: absolute; opacity: .8; }

/* ============================================================
   Forest hero (homepage / page heros)
   ============================================================ */
.hero-forest { position: relative; overflow: hidden; background:
   radial-gradient(90% 70% at 50% -10%, rgba(40,80,64,.7), transparent 60%),
   radial-gradient(70% 60% at 90% 0%, rgba(80,110,40,.35), transparent 55%),
   var(--dark); color: var(--on-dark); }
.hero-forest::after { content:""; position:absolute; inset:0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 75%); mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 75%); pointer-events:none; }
.hero-forest > * { position: relative; z-index: 1; }

/* ============================================================
   Header — forest, white text, lime pill (brand)
   ============================================================ */
.site-header { background: #0b1822; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(5,13,9,.82); backdrop-filter: saturate(140%) blur(16px); -webkit-backdrop-filter: saturate(140%) blur(16px); border-bottom-color: var(--on-dark-line); }
.site-header .brand { color: #fff; }
.site-header .brand .brand-sub { color: var(--mint); }
.nav-link { color: rgba(233,243,228,.82); }
.nav-link:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav-link.active { color: #fff; }
.site-header .btn-ghost { color: #fff; border-color: rgba(255,255,255,.22); }
.site-header .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.nav-toggle { color: #fff; border-color: rgba(255,255,255,.22); }
/* dropdowns stay light cards */
.dropdown { background: var(--paper); border-color: var(--line); }
.mobile-menu { background: var(--dark); }
.mobile-menu a { color: var(--on-dark); border-bottom-color: var(--on-dark-line); }
.mobile-menu .mm-section { color: var(--mint); }

/* page-hero defaults onto forest unless overridden */
.page-hero.hero-forest .breadcrumbs { color: var(--on-dark-mut); }
.page-hero.hero-forest .breadcrumbs a:hover { color: var(--mint); }

/* glow tweak for forest */
.glow.surface-forest::before, .surface-forest.glow::before { display: none; }

/* lime check-list on lime surface */
.surface-lime .check-list li { color: var(--ink); }
.surface-lime .check-list .ck { background: rgba(255,255,255,.5); border-color: rgba(76,104,20,.3); color: var(--emerald-deep); }

/* ---- Official wordmark sizing ---- */
.brand-logo { height: 38px; width: auto; display: block; }
.brand-mark { height: 1.4em; width: auto; display: block; }
.site-footer .brand-logo { height: 40px; }
@media (max-width: 1080px) { .brand-logo { height: 33px; } }

/* ---- hero content safety-net on forest (cascade across pages) ---- */
.hero-forest .btn-ghost, .surface-forest .btn-ghost { color: #fff; border-color: rgba(255,255,255,.24); background: transparent; }
.hero-forest .btn-ghost:hover, .surface-forest .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.hero-forest .breadcrumbs, .surface-forest .breadcrumbs { color: var(--on-dark-mut); }
.hero-forest .breadcrumbs a:hover, .surface-forest .breadcrumbs a:hover { color: var(--mint); }
.hero-forest .pill-mint { background: rgba(var(--accent-rgb),.14); border-color: rgba(var(--accent-rgb),.3); color: var(--mint); }
.hero-forest .tag, .surface-forest .tag { background: rgba(255,255,255,.08); color: var(--on-dark); }
/* contact / trust blocks in forest heroes */
.hero-forest .trust li, .hero-forest .contact-block { border-bottom-color: var(--on-dark-line); }
.hero-forest .trust li .t, .hero-forest .contact-block .t { color: #fff; }
.hero-forest .trust li .d, .hero-forest .contact-block .d, .hero-forest .contact-block a { color: var(--on-dark-mut); }
.hero-forest .contact-block a:hover { color: var(--mint); }
.hero-forest .trust li .ic, .hero-forest .contact-block .ic { background: rgba(var(--accent-rgb),.1); border-color: rgba(var(--accent-rgb),.3); color: var(--mint); }
/* priser billing toggle on forest */
.hero-forest .toggle-bill { background: rgba(255,255,255,.06); border-color: var(--on-dark-line); }
.hero-forest .toggle-bill button { color: var(--on-dark-mut); }
.hero-forest .toggle-bill button.active { background: var(--mint); color: var(--ink); box-shadow: none; }
.hero-forest .toggle-bill .save { background: rgba(var(--accent-rgb),.16); color: var(--mint); }
/* jamfor VS lockup on forest */
.hero-forest .vs .logo-chip.us { background: var(--mint); color: var(--ink); border-color: transparent; }
.hero-forest .vs .logo-chip.them { background: rgba(255,255,255,.08); color: var(--on-dark-mut); border-color: var(--on-dark-line); }
.hero-forest .vs .side strong { color: #fff; }
.hero-forest .vs .side small { color: var(--on-dark-mut); }
.hero-forest .vs .vs-word { color: var(--on-dark-mut); }
/* form-card stays light & pops on forest */
.hero-forest .form-card { box-shadow: 0 30px 80px rgba(0,0,0,.4); }
/* map card on forest */
.hero-forest .map-card { border-color: var(--on-dark-line); }

/* ============================================================
   ░░░░  LIGHT THEME (global)  ░░░░
   Light header, light page heroes, light footer — site-wide.
   `.surface-forest` content panels stay dark on purpose.
   Appended last so these win over the dark chrome above.
   ============================================================ */

/* ---- Header: light ---- */
.site-header { background: rgba(246,248,241,.82); }
.site-header.scrolled { background: rgba(246,248,241,.92); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom-color: var(--line); }
.site-header .brand { color: var(--ink); }
.nav-link { color: #2b3a44; }
.nav-link:hover { background: rgba(15,29,40,.05); color: var(--ink); }
.nav-link.active { color: var(--ink); }
.site-header .btn-ghost { color: var(--ink); border-color: var(--line); }
.site-header .btn-ghost:hover { border-color: var(--ink); background: var(--paper-2); }
.nav-toggle { color: var(--ink); border-color: var(--line); }
.mobile-menu { background: var(--paper); }
.mobile-menu a { color: var(--ink); border-bottom-color: var(--line-2); }
.mobile-menu .mm-section { color: var(--emerald); }

/* ---- Page heroes: light ---- */
.hero-forest { background: linear-gradient(180deg, #f7f9f8, #edf2f1); color: var(--ink); }
.hero-forest::after { /* faint ink grid */
  background-image: linear-gradient(rgba(13,29,38,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(13,29,38,.05) 1px, transparent 1px); }
.hero-forest::before { content:""; position:absolute; left:50%; top:-14%; transform:translateX(-50%); width:min(1000px,140vw); height:560px; pointer-events:none; z-index:0;
  background: radial-gradient(46% 52% at 50% 40%, rgba(var(--accent-rgb),.40), transparent 70%); filter: blur(12px); }
.hero-forest h1, .hero-forest h2, .hero-forest h3, .hero-forest h4, .hero-forest .h-display, .hero-forest .display-xl { color: var(--ink); }
.hero-forest .lead, .hero-forest .muted { color: var(--slate); }
.hero-forest .eyebrow { color: var(--emerald); }
.hero-forest .eyebrow::before { background: var(--emerald); }
.hero-forest .pill { background:#fff; border:1px solid var(--mint-soft); color: var(--emerald-deep); box-shadow: var(--shadow-sm); }
.hero-forest .pill .dot { background: var(--emerald); box-shadow: 0 0 8px 1px rgba(var(--accent-strong-rgb),.5); }
.hero-forest .pill-mint { background: var(--mint-wash); border-color: var(--mint-soft); color: var(--emerald-deep); }
.hero-forest .check-list li { color: var(--ink); }
.hero-forest .check-list .ck { background: var(--mint-wash); border-color: var(--mint-soft); color: var(--emerald-deep); }
.hero-forest .btn-ghost { color: var(--ink); border-color: var(--line); background: transparent; }
.hero-forest .btn-ghost:hover { border-color: var(--ink); background: var(--paper-2); }
.hero-forest .btn-lime-outline { color: var(--emerald-deep); border-color: var(--mint); }
.hero-forest .btn-lime-outline:hover { background: var(--mint-wash); }
.page-hero.hero-forest .breadcrumbs, .hero-forest .breadcrumbs { color: var(--slate-2); }
.hero-forest .breadcrumbs a:hover { color: var(--emerald); }
.hero-forest .tag { background: var(--paper-2); color: var(--slate); }
.hero-forest .trust li, .hero-forest .contact-block { border-bottom-color: var(--line-2); }
.hero-forest .trust li .t, .hero-forest .contact-block .t { color: var(--ink); }
.hero-forest .trust li .d, .hero-forest .contact-block .d, .hero-forest .contact-block a { color: var(--slate); }
.hero-forest .contact-block a:hover { color: var(--emerald); }
.hero-forest .trust li .ic, .hero-forest .contact-block .ic { background: var(--mint-wash); border-color: var(--mint-soft); color: var(--emerald-deep); }
.hero-forest .toggle-bill { background: var(--paper-2); border-color: var(--line); }
.hero-forest .toggle-bill button { color: var(--slate); }
.hero-forest .toggle-bill button.active { background:#fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.hero-forest .toggle-bill .save { background: var(--mint-wash); color: var(--emerald-deep); }
.hero-forest .vs .logo-chip.us { background: var(--ink); color: var(--mint); border-color: transparent; }
.hero-forest .vs .logo-chip.them { background: var(--paper-2); color: var(--slate-2); border-color: var(--line); }
.hero-forest .vs .side strong { color: var(--ink); }
.hero-forest .vs .side small, .hero-forest .vs .vs-word { color: var(--slate-2); }
.hero-forest .form-card { box-shadow: var(--shadow-lg); }
.hero-forest .map-card { border-color: var(--line); }

/* ---- Footer: light ---- */
.site-footer { background: var(--paper-2); color: var(--ink); border-top: 1px solid var(--line); }
.footer-col h4 { color: var(--slate-2); }
.footer-col a:not(.btn) { color: var(--slate); }
.footer-col a:not(.btn):hover { color: var(--emerald); }
.footer-brand .brand { color: var(--ink); }
.footer-brand p { color: var(--slate); }
.footer-bottom { border-top-color: var(--line); color: var(--slate-2); }
.footer-bottom a:hover { color: var(--emerald); }
.site-footer .btn-light { background: var(--ink); color: #fff; border: 1px solid var(--ink); }
.site-footer .btn-light:hover { background: var(--ink-2); border-color: var(--ink-2); }

/* ============================================================
   Legal / document pages
   ============================================================ */
.doc { max-width: 800px; margin-inline: auto; }
.doc-meta { font-family: var(--font-mono); font-size: .8rem; color: var(--slate-2); margin-top: 14px; }
.doc-lead { font-size: 1.1rem; color: var(--slate); margin-top: 18px; line-height: 1.6; max-width: 64ch; }
.doc-toc { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 26px; background: var(--paper-2); margin-bottom: 44px; }
.doc-toc h2 { font-size: .78rem; font-family: var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--slate-2); font-weight: 500; margin-bottom: 14px; }
.doc-toc ol { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; counter-reset: toc; }
@media(max-width:600px){ .doc-toc ol { grid-template-columns: 1fr; } }
.doc-toc li { counter-increment: toc; }
.doc-toc a { display: flex; gap: 10px; padding: 5px 0; color: var(--ink); font-size: .92rem; font-weight: 500; }
.doc-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--emerald); font-family: var(--font-mono); font-size: .82rem; }
.doc-toc a:hover { color: var(--emerald-deep); }
.doc-section { scroll-margin-top: 90px; padding-top: 8px; }
.doc-section + .doc-section { margin-top: 44px; padding-top: 44px; border-top: 1px solid var(--line-2); }
.doc-section h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); display: flex; align-items: baseline; gap: 12px; }
.doc-section h2 .num { font-family: var(--font-mono); font-size: .9rem; color: var(--emerald); font-weight: 600; }
.doc-section h3 { font-size: 1.1rem; margin-top: 24px; }
.doc-section p { color: var(--slate); margin-top: 14px; line-height: 1.7; }
.doc-section ul, .doc-section ol.bul { margin-top: 14px; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.doc-section ul li { display: flex; gap: 11px; color: var(--slate); line-height: 1.6; }
.doc-section ul li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); flex: none; margin-top: 9px; }
.doc-section a { color: var(--emerald-deep); font-weight: 600; }
.doc-section strong { color: var(--ink); font-weight: 600; }
.doc-table { width: 100%; border-collapse: collapse; margin-top: 18px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; font-size: .9rem; }
.doc-table th { text-align: left; background: var(--paper-2); padding: 12px 16px; font-size: .72rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--slate-2); font-weight: 500; border-bottom: 1px solid var(--line-2); }
.doc-table td { padding: 13px 16px; border-bottom: 1px solid var(--line-2); color: var(--slate); vertical-align: top; }
.doc-table tr:last-child td { border-bottom: none; }
.doc-table td strong { color: var(--ink); }
.doc-callout { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--r); background: var(--mint-wash); border: 1px solid var(--mint-soft); margin-top: 20px; }
.doc-callout .ic { color: var(--emerald-deep); flex: none; } .doc-callout .ic svg { width: 20px; height: 20px; }
.doc-callout p { margin-top: 0; color: var(--emerald-deep); font-size: .92rem; }

/* ---- Status page ---- */
.status-banner { display: flex; align-items: center; gap: 16px; padding: 22px 26px; border-radius: var(--r-lg); border: 1px solid #c6e5d3; background: #e9f7ef; }
.status-banner.up .dot-lg { background: #1b8a5a; }
.status-banner .dot-lg { width: 16px; height: 16px; border-radius: 50%; background: #1b8a5a; flex: none; box-shadow: 0 0 0 4px rgba(27,138,90,.2); position: relative; }
.status-banner .dot-lg::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: statusPulse 2s infinite; }
@keyframes statusPulse { 0%{ transform: scale(1); opacity: .7; } 100%{ transform: scale(2.6); opacity: 0; } }
.status-banner .st-t { font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.status-banner .st-d { color: #17724a; font-size: .9rem; margin-top: 2px; }
.status-banner .st-time { margin-left: auto; font-family: var(--font-mono); font-size: .78rem; color: var(--slate-2); text-align: right; }
.svc-list { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-top: 24px; }
.svc { display: grid; grid-template-columns: 1.3fr 2fr auto; gap: 18px; align-items: center; padding: 16px 22px; border-top: 1px solid var(--line-2); }
.svc:first-child { border-top: none; }
.svc .svc-nm { font-weight: 600; } .svc .svc-nm small { display: block; color: var(--slate-2); font-weight: 400; font-size: .8rem; margin-top: 2px; }
.svc .bars { display: flex; gap: 2px; height: 28px; align-items: stretch; }
.svc .bars i { flex: 1; border-radius: 2px; background: #35b877; opacity: .9; }
.svc .bars i.warn { background: #e0a32e; } .svc .bars i.down { background: #c0392b; }
.svc .svc-up { font-family: var(--font-mono); font-size: .82rem; color: #17724a; font-weight: 600; text-align: right; }
.svc .pill-op { font-size: .72rem; font-weight: 600; color: #17724a; background: #e9f7ef; border: 1px solid #c6e5d3; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
@media(max-width:640px){ .svc { grid-template-columns: 1fr auto; } .svc .bars { display: none; } }
.metric-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 24px; }
@media(max-width:640px){ .metric-grid { grid-template-columns: 1fr; } }
.metric { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.metric .mk { font-size: .76rem; color: var(--slate-2); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .05em; }
.metric .mv { font-family: var(--font-display); font-weight: 700; font-size: 2rem; letter-spacing: -.03em; margin-top: 8px; }
.metric .mv .unit { color: var(--emerald); }
.incident { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line-2); }
.incident:first-child { border-top: none; }
.incident .when { font-family: var(--font-mono); font-size: .8rem; color: var(--slate-2); width: 120px; flex: none; }
.incident .what strong { color: var(--ink); } .incident .what p { color: var(--slate); font-size: .9rem; margin-top: 4px; }
.incident .badge-res { font-size: .68rem; font-weight: 700; color: #17724a; background: #e9f7ef; border: 1px solid #c6e5d3; padding: 2px 8px; border-radius: 999px; display: inline-block; margin-bottom: 6px; }
.cookie-toggle { position: relative; width: 44px; height: 26px; border-radius: 999px; background: var(--paper-3); border: 1px solid var(--line); cursor: pointer; transition: .2s; flex: none; }
.cookie-toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: .2s; }
.cookie-toggle.on { background: var(--mint); border-color: var(--mint); }
.cookie-toggle.on::after { transform: translateX(18px); }
.cookie-toggle.locked { opacity: .5; cursor: not-allowed; }
.cookie-row { display: flex; gap: 18px; align-items: flex-start; padding: 20px 0; border-top: 1px solid var(--line-2); }
.cookie-row:first-child { border-top: none; }
.cookie-row .cr-main { flex: 1; } .cookie-row .cr-main strong { color: var(--ink); } .cookie-row .cr-main p { color: var(--slate); font-size: .9rem; margin-top: 5px; }


/* ============================================================
   Accent themes — set data-accent on <html>. Default: amber.
   ============================================================ */
html[data-accent="isbla"] {
  --accent-rgb: 46,182,201; --accent-bright-rgb: 69,200,218;
  --accent-strong-rgb: 20,122,140; --accent-deep-rgb: 15,94,109;
  --mint-soft: #bee1e7; --mint-wash: #e8f5f7;
}
html[data-accent="fjallbla"] {
  --accent-rgb: 74,124,247; --accent-bright-rgb: 96,142,250;
  --accent-strong-rgb: 29,78,216; --accent-deep-rgb: 23,60,166;
  --mint-soft: #c9d7f8; --mint-wash: #eaf0fe;
}
html[data-accent="mono"] {
  --accent-rgb: 15,29,40; --accent-bright-rgb: 22,41,58;
  --accent-strong-rgb: 15,29,40; --accent-deep-rgb: 11,24,34;
  --mint-soft: #d3dce1; --mint-wash: #eef2f4;
}
html[data-accent="mono"] :is(.btn-primary, .chat-send, .tick.yes, .tck, .toggle-bill button.active) { color: #fff; }
html[data-accent="mono"] .btn-primary:hover { box-shadow: 0 8px 26px rgba(15,29,40,.3); }


/* ============================================================
   ▓▓▓▓  V3 — DEEP GREEN / GLASS (site-wide dark)  ▓▓▓▓
   Near-black canvas, luminous green panels, glass chips,
   light geometric type. Final layer — wins the cascade.
   ============================================================ */
body { background: #191919; color: var(--ink); font-weight: 400; }
::selection { background: rgba(189,231,99,.9); color: #06130c; }

/* ---- type: light geometric ---- */
h1,h2,h3,h4 { font-weight: 300; letter-spacing: -0.02em; }
.h-display { font-weight: 300; letter-spacing: -0.022em; }
.h1 { font-weight: 300; } .h2 { font-weight: 300; } .h3 { font-weight: 400; }
.display-xl { font-weight: 300; letter-spacing: -0.025em; }
.lead { font-weight: 300; }
.eyebrow { color: var(--mint-bright); font-weight: 400; letter-spacing: .1em; font-size: .76rem; }
.eyebrow::before { background: var(--mint-bright); }
.grad-text { background: linear-gradient(120deg, #fff 30%, #a9e6c2 75%, #BDE763 100%); -webkit-background-clip: text; background-clip: text; }

/* ---- buttons ---- */
.btn { font-weight: 500; }
.btn-primary { background: linear-gradient(140deg, #BDE763, #a4d24e); color: #fff; box-shadow: 0 0 0 1px rgba(189,231,99,.35), 0 12px 32px -8px rgba(189,231,99,.55); }
.btn-primary:hover { background: linear-gradient(140deg, #BDE763, #a4d24e); box-shadow: 0 0 0 1px rgba(189,231,99,.55), 0 14px 40px -8px rgba(189,231,99,.7); }
.btn-dark { background: #f1f4f2; color: #0a0b0a; }
.btn-dark:hover { background: #ffffff; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.btn-ghost { color: var(--ink); border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); }
.btn-ghost:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.08); }
.btn-light { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.14); }
.btn-light:hover { background: rgba(255,255,255,.14); }
.btn-link { color: var(--mint-bright); }
.btn-lime-outline { color: var(--mint-bright); border-color: rgba(189,231,99,.45); background: transparent; }
.btn-lime-outline:hover { background: rgba(189,231,99,.12); }
.hero-forest .btn-lime-outline { color: var(--mint-bright); border-color: rgba(189,231,99,.45); }
.hero-forest .btn-lime-outline:hover { background: rgba(189,231,99,.12); }
.hero-forest .btn-ghost { color: var(--ink); border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.04); }
.hero-forest .btn-ghost:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.08); }

/* ---- chips / pills / tags: glass ---- */
.pill { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: var(--slate); }
.pill .dot { box-shadow: 0 0 10px 2px rgba(189,231,99,.6); background: var(--mint-bright); }
.pill-mint { background: rgba(189,231,99,.14); border-color: rgba(189,231,99,.3); color: var(--mint-bright); }
.tag { background: rgba(255,255,255,.07); color: var(--slate); border-radius: 999px; }
.kbd { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); box-shadow: none; }

/* ---- cards ---- */
.card { background: var(--paper); border-color: var(--line); }
.card-hover:hover { border-color: rgba(189,231,99,.35); box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.card .ic { background: rgba(189,231,99,.14); border-color: rgba(189,231,99,.3); color: var(--mint-bright); }
.card-dark { background: rgba(255,255,255,.03); }

/* ---- header: black glass ---- */
.site-header { background: rgba(25,25,25,.72); backdrop-filter: saturate(140%) blur(18px); -webkit-backdrop-filter: saturate(140%) blur(18px); }
.site-header.scrolled { background: rgba(25,25,25,.86); border-bottom-color: rgba(255,255,255,.08); backdrop-filter: saturate(140%) blur(18px); -webkit-backdrop-filter: saturate(140%) blur(18px); }
.site-header .brand { color: #fff; }
.nav-link { color: rgba(238,242,239,.78); border-radius: 999px; }
.nav-link:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav-link.active { color: #fff; }
.site-header .btn-ghost { color: #fff; border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.05); }
.site-header .btn-ghost:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.09); }
.nav-toggle { color: #fff; border-color: rgba(255,255,255,.16); }
.dropdown { background: rgba(16,18,17,.92); border-color: rgba(255,255,255,.1); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.dd-link:hover { background: rgba(255,255,255,.06); }
.dd-link .dd-ic { background: rgba(189,231,99,.14); border-color: rgba(189,231,99,.28); color: var(--mint-bright); }
.dd-link .dd-t { color: #fff; font-weight: 500; }
.mobile-menu { background: #161616; }
.mobile-menu a { color: var(--ink); border-bottom-color: rgba(255,255,255,.07); }
.mobile-menu .mm-section { color: var(--mint-bright); }

/* ---- heroes: black + green aurora ---- */
.hero-forest { background: #191919; color: var(--ink); }
.hero-forest::before { content:""; position:absolute; left:50%; top:-18%; transform:translateX(-50%); width:min(1100px,150vw); height:640px; pointer-events:none; z-index:0;
  background: radial-gradient(44% 50% at 50% 40%, rgba(189,231,99,.5), rgba(189,231,99,.16) 55%, transparent 75%); filter: blur(46px); }
.hero-forest::after { background-image: radial-gradient(rgba(255,255,255,.055) 1px, transparent 1px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(60% 55% at 50% 25%, #000, transparent 78%); mask-image: radial-gradient(60% 55% at 50% 25%, #000, transparent 78%); }
.hero-forest h1, .hero-forest h2, .hero-forest h3, .hero-forest h4, .hero-forest .h-display, .hero-forest .display-xl { color: #fff; }
.hero-forest .lead, .hero-forest .muted { color: var(--slate); }
.hero-forest .eyebrow { color: var(--mint-bright); } .hero-forest .eyebrow::before { background: var(--mint-bright); }
.hero-forest .pill { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: var(--ink); box-shadow: none; }
.hero-forest .pill .dot { background: var(--mint-bright); box-shadow: 0 0 10px 2px rgba(189,231,99,.6); }
.hero-forest .check-list li { color: var(--ink); }
.hero-forest .check-list .ck { background: rgba(189,231,99,.16); border-color: rgba(189,231,99,.35); color: var(--mint-bright); }
.hero-forest .breadcrumbs, .page-hero.hero-forest .breadcrumbs { color: var(--slate-2); }
.hero-forest .breadcrumbs a:hover { color: var(--mint-bright); }
.hero-forest .tag { background: rgba(255,255,255,.07); color: var(--slate); }
.hero-forest .trust li, .hero-forest .contact-block { border-bottom-color: rgba(255,255,255,.07); }
.hero-forest .trust li .t, .hero-forest .contact-block .t { color: #fff; }
.hero-forest .trust li .d, .hero-forest .contact-block .d, .hero-forest .contact-block a { color: var(--slate); }
.hero-forest .contact-block a:hover { color: var(--mint-bright); }
.hero-forest .trust li .ic, .hero-forest .contact-block .ic { background: rgba(189,231,99,.13); border-color: rgba(189,231,99,.3); color: var(--mint-bright); }
.hero-forest .toggle-bill { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.hero-forest .toggle-bill button { color: var(--slate); }
.hero-forest .toggle-bill button.active { background: linear-gradient(140deg,#BDE763,#a4d24e); color: #fff; }
.hero-forest .vs .logo-chip.us { background: linear-gradient(140deg,#BDE763,#a4d24e); color: #fff; }
.hero-forest .vs .logo-chip.them { background: rgba(255,255,255,.06); color: var(--slate); border-color: rgba(255,255,255,.1); }
.hero-forest .vs .side strong { color: #fff; }
.hero-forest .form-card { box-shadow: 0 40px 100px rgba(0,0,0,.6); }
.hero-forest .map-card { border-color: rgba(255,255,255,.1); }

/* ---- surfaces ---- */
.surface-2 { background: #1d1d1d; }
.surface-3 { background: #212121; }
.surface-dark, .surface-forest {
  background:
    radial-gradient(90% 100% at 12% 0%, rgba(189,231,99,.32), transparent 55%),
    radial-gradient(80% 90% at 88% 100%, rgba(46,120,80,.25), transparent 60%),
    linear-gradient(160deg, #17442c, #0c2418 72%);
  color: var(--on-dark);
}
.surface-lime {
  background:
    radial-gradient(80% 90% at 80% 10%, rgba(205,244,125,.35), transparent 60%),
    linear-gradient(160deg, #1d5c3a, #113622 80%);
  color: #fff;
}
.surface-lime .lead, .surface-lime .muted { color: rgba(255,255,255,.75); }
.surface-lime .eyebrow { color: #a9e6c2; }
.surface-lime .check-list li { color: #fff; }
.surface-lime .check-list .ck { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); color: #fff; }
.surface-grad-olive {
  background:
    radial-gradient(70% 90% at 85% 15%, rgba(205,244,125,.4), transparent 55%),
    linear-gradient(150deg, #0d2818 0%, #1d5c3a 55%, #BDE763 100%);
}
.cta-band {
  background:
    radial-gradient(80% 120% at 85% 0%, rgba(205,244,125,.35), transparent 55%),
    linear-gradient(160deg, #1d5c3a, #0f2f1e 75%);
}
.cta-band::after { background: radial-gradient(circle, rgba(205,244,125,.28), transparent 65%); }
.cta-band .lead { color: rgba(255,255,255,.78); }
.surface-dark .lead, .surface-dark .muted, .surface-forest .lead, .surface-forest .muted { color: rgba(255,255,255,.72); }
.surface-dark .eyebrow, .surface-forest .eyebrow { color: #a9e6c2; }
.glow::before { background: radial-gradient(60% 50% at 50% 0%, rgba(189,231,99,.25), transparent 70%); }

/* ---- compare table ---- */
.compare { background: var(--paper); box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.compare-head { background: rgba(255,255,255,.04); }
.compare-col-us { background: linear-gradient(180deg, rgba(189,231,99,.16), rgba(189,231,99,.07)); border-inline-color: rgba(189,231,99,.28); }
.compare-row.compare-head .compare-col-us { border-bottom-color: rgba(189,231,99,.28); }
.tick.yes { background: linear-gradient(140deg,#BDE763,#a4d24e); color: #fff; }
.tick.no { background: rgba(255,255,255,.08); color: var(--slate-2); }

/* ---- stats / logos ---- */
.stat .num { color: #fff; font-weight: 300; }
.stat .num .unit { color: var(--mint-bright); }
.stat .lbl { color: var(--slate); }
.logo-word { color: #6f7a74; font-weight: 400; }
.logo-word:hover { color: #fff; }

/* ---- footer: black ---- */
.site-footer { background: #191919; color: var(--ink); border-top: 1px solid rgba(255,255,255,.07); }
.footer-col h4 { color: var(--slate-2); }
.footer-col a:not(.btn) { color: var(--slate); }
.footer-col a:not(.btn):hover { color: var(--mint-bright); }
.footer-brand .brand { color: #fff; }
.footer-brand p { color: var(--slate); }
.footer-bottom { border-top-color: rgba(255,255,255,.07); color: var(--slate-2); }
.footer-bottom a:hover { color: var(--mint-bright); }
.site-footer .btn-light { background: rgba(255,255,255,.07); color: #fff; border: 1px solid rgba(255,255,255,.14); }
.site-footer .btn-light:hover { background: rgba(255,255,255,.12); }

/* ---- forms (page-level rules swept to glass; shared bits here) ---- */
.form-card { background: #131514; border-color: rgba(255,255,255,.1); }
.field input, .field select, .field textarea { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: var(--slate-2); }
.field select option { background: #131514; color: var(--ink); }

/* ---- status page on dark ---- */
.status-banner { border-color: rgba(53,184,119,.35); background: rgba(53,184,119,.1); }
.status-banner .st-t { color: #fff; }
.status-banner .st-d { color: #BDE763; }
.svc .svc-up { color: #BDE763; }
.svc .pill-op { color: #BDE763; background: rgba(53,184,119,.12); border-color: rgba(53,184,119,.3); }
.incident .badge-res { color: #BDE763; background: rgba(53,184,119,.12); border-color: rgba(53,184,119,.3); }
.incident .what strong, .doc-section strong, .doc-table td strong { color: #fff; }
.doc-toc { background: rgba(255,255,255,.04); }
.doc-toc a { color: var(--ink); }
.doc-toc a:hover, .doc-section a { color: var(--mint-bright); }
.doc-callout { background: rgba(189,231,99,.12); border-color: rgba(189,231,99,.3); }
.doc-callout p, .doc-callout .ic { color: #a9e6c2; }
.doc-table th { background: rgba(255,255,255,.04); }
.cookie-toggle { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.14); }
.cookie-toggle.on { background: linear-gradient(140deg,#BDE763,#a4d24e); border-color: transparent; }

/* ---- accent themes retuned for dark (skog = default) ---- */
html[data-accent="isbla"] {
  --accent-rgb: 46,182,201; --accent-bright-rgb: 84,208,224;
  --accent-strong-rgb: 84,208,224; --accent-deep-rgb: 150,228,238;
  --mint-soft: rgba(84,208,224,.32); --mint-wash: rgba(46,182,201,.14);
}
html[data-accent="isbla"] .btn-primary, html[data-accent="isbla"] .hero-forest .toggle-bill button.active, html[data-accent="isbla"] .tick.yes { background: linear-gradient(140deg,#2596a6,#1d7a88); }
html[data-accent="isbla"] .hero-forest::before { background: radial-gradient(44% 50% at 50% 40%, rgba(46,182,201,.45), rgba(46,182,201,.14) 55%, transparent 75%); }
html[data-accent="fjallbla"] {
  --accent-rgb: 96,142,250; --accent-bright-rgb: 138,176,255;
  --accent-strong-rgb: 138,176,255; --accent-deep-rgb: 178,202,255;
  --mint-soft: rgba(138,176,255,.32); --mint-wash: rgba(96,142,250,.14);
}
html[data-accent="mono"] {
  --accent-rgb: 220,228,224; --accent-bright-rgb: 255,255,255;
  --accent-strong-rgb: 235,240,237; --accent-deep-rgb: 255,255,255;
  --mint-soft: rgba(255,255,255,.3); --mint-wash: rgba(255,255,255,.08);
}
html[data-accent="mono"] :is(.btn-primary, .chat-send, .tick.yes, .tck, .toggle-bill button.active) { color: #0a0b0a; background: #f1f4f2; }
html[data-accent="mono"] .btn-primary:hover { background: #fff; box-shadow: 0 8px 26px rgba(0,0,0,.4); }

/* ---- image-slot: legible empty state on dark surfaces ---- */
image-slot {
  --slot-fg: rgba(255,255,255,.62);
  --slot-fg-hover: rgba(255,255,255,.92);
  --slot-bg: rgba(255,255,255,.05);
  --slot-ring: rgba(255,255,255,.3);
}

/* ============================================================
   Animated aurora — ALL dark sections, site-wide
   ============================================================ */
@keyframes darkAurora {
  0%   { transform: translate3d(-5%,-3%,0) scale(1) rotate(0deg); opacity: .55; }
  50%  { opacity: .95; }
  100% { transform: translate3d(5%,4%,0) scale(1.16) rotate(2.5deg); opacity: .7; }
}
@keyframes heroAurora {
  0%   { transform: translateX(-53%) scale(1); opacity: .72; }
  100% { transform: translateX(-47%) scale(1.14); opacity: 1; }
}
.surface-dark, .surface-forest, .cta-band { position: relative; overflow: hidden; }
.surface-dark::before, .surface-forest::before, .cta-band::before {
  content: ""; position: absolute; inset: -22%; pointer-events: none; z-index: 0;
  background:
    radial-gradient(32% 40% at 78% 20%, rgba(205,244,125,.30), transparent 68%),
    radial-gradient(26% 34% at 15% 80%, rgba(189,231,99,.26), transparent 70%);
  filter: blur(44px);
  animation: darkAurora 11s ease-in-out infinite alternate;
}
.surface-dark > *, .surface-forest > *, .cta-band > * { position: relative; z-index: 1; }
/* page heroes: drift the existing centered bloom (keeps translateX centering) */
.hero-forest::before { animation: heroAurora 10s ease-in-out infinite alternate; }
@media (prefers-reduced-motion: reduce) {
  .surface-dark::before, .surface-forest::before, .cta-band::before, .hero-forest::before { animation: none; }
}


/* ============================================================
   ☀︎  LIGHT MODE — optional theme via html[data-theme="light"]
   Dark is primary. All selectors carry the html-prefix so they
   beat page-level <style> rules on specificity.
   Dark feature panels (.surface-forest/.surface-dark/.cta-band/
   .surface-grad-olive) intentionally STAY dark as brand accents.
   ============================================================ */
html[data-theme="light"] {
  --ink: #0f1d28; --ink-2: #16293a;
  --slate: #54666e; --slate-2: #7e8f96;
  --line: #e3e8e8; --line-2: #edf1f1;
  --paper: #ffffff; --paper-2: #f6f8f7; --paper-3: #ebf0ef;
  --mint-soft: rgba(189,231,99,.34); --mint-wash: rgba(189,231,99,.16);
  --emerald: #4a6b1e; --emerald-deep: #35510f;
  --shadow-sm: 0 1px 2px rgba(13,25,34,.05), 0 1px 3px rgba(13,25,34,.07);
  --shadow-md: 0 4px 12px rgba(13,25,34,.06), 0 12px 28px rgba(13,25,34,.08);
  --shadow-lg: 0 8px 24px rgba(13,25,34,.08), 0 30px 60px rgba(13,25,34,.10);
}
html[data-theme="light"] body { background: #f7f9f8; color: var(--ink); }
html[data-theme="light"] ::selection { background: rgba(189,231,99,.9); color: #fff; }

/* ---- header ---- */
html[data-theme="light"] .site-header { background: rgba(247,249,248,.85); }
html[data-theme="light"] .site-header.scrolled { background: rgba(247,249,248,.94); border-bottom-color: var(--line); }
html[data-theme="light"] .site-header .brand { color: var(--ink); }
html[data-theme="light"] .nav-link { color: #2b3a44; }
html[data-theme="light"] .nav-link:hover { background: rgba(15,29,40,.05); color: var(--ink); }
html[data-theme="light"] .nav-link.active { color: var(--ink); }
html[data-theme="light"] .site-header .btn-ghost { color: var(--ink); border-color: var(--line); background: #fff; }
html[data-theme="light"] .site-header .btn-ghost:hover { border-color: var(--ink); background: var(--paper-2); }
html[data-theme="light"] .nav-toggle { color: var(--ink); border-color: var(--line); }
html[data-theme="light"] .dropdown { background: #fff; border-color: var(--line); box-shadow: var(--shadow-lg); backdrop-filter: none; -webkit-backdrop-filter: none; }
html[data-theme="light"] .dd-link:hover { background: var(--paper-2); }
html[data-theme="light"] .dd-link .dd-ic { background: var(--mint-wash); border-color: var(--mint-soft); color: var(--emerald-deep); }
html[data-theme="light"] .dd-link .dd-t { color: var(--ink); }
html[data-theme="light"] .mobile-menu { background: #fff; }
html[data-theme="light"] .mobile-menu a { color: var(--ink); border-bottom-color: var(--line-2); }
html[data-theme="light"] .mobile-menu .mm-section { color: var(--emerald); }

/* ---- heroes: light canvas, soft green bloom ---- */
html[data-theme="light"] .hero-forest { background: linear-gradient(180deg, #f7f9f8, #edf2f1); color: var(--ink); }
html[data-theme="light"] .hero-forest::before { background: radial-gradient(46% 52% at 50% 40%, rgba(189,231,99,.26), transparent 70%); filter: blur(34px); }
html[data-theme="light"] .hero-forest::after { background-image: radial-gradient(rgba(13,29,38,.10) 1px, transparent 1px); }
html[data-theme="light"] .hero-forest h1, html[data-theme="light"] .hero-forest h2, html[data-theme="light"] .hero-forest h3,
html[data-theme="light"] .hero-forest .h-display, html[data-theme="light"] .hero-forest .display-xl,
html[data-theme="light"] .hero-head { color: var(--ink); }
html[data-theme="light"] .hero-forest .lead, html[data-theme="light"] .hero-forest .muted, html[data-theme="light"] .hero-sub { color: var(--slate); }
html[data-theme="light"] .hero-forest .eyebrow { color: var(--emerald); }
html[data-theme="light"] .hero-forest .eyebrow::before { background: var(--emerald); }
html[data-theme="light"] .hero-forest .pill, html[data-theme="light"] .hero .pill { background: #fff; border-color: var(--mint-soft); color: var(--emerald-deep); box-shadow: var(--shadow-sm); }
html[data-theme="light"] .hero .pill .dot { background: var(--emerald); box-shadow: 0 0 8px 1px rgba(27,122,85,.45); }
html[data-theme="light"] .hero-head em, html[data-theme="light"] .hero.hero-forest .hero-head em { background: linear-gradient(96deg, #5c8224, #7aa334 42%, #BDE763); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
html[data-theme="light"] .hero-meta { color: var(--slate); }
html[data-theme="light"] .hero-forest .check-list li { color: var(--ink); }
html[data-theme="light"] .hero-forest .check-list .ck { background: var(--mint-wash); border-color: var(--mint-soft); color: var(--emerald-deep); }
html[data-theme="light"] .hero-forest .breadcrumbs { color: var(--slate-2); }
html[data-theme="light"] .hero-forest .breadcrumbs a:hover { color: var(--emerald); }
html[data-theme="light"] .hero-forest .tag { background: var(--paper-3); color: var(--slate); }
html[data-theme="light"] .hero-forest .btn-ghost { color: var(--ink); border-color: #c9d2d0; background: #fff; }
html[data-theme="light"] .hero-forest .btn-ghost:hover { border-color: var(--ink); background: var(--paper-2); }
html[data-theme="light"] .hero-forest .trust li, html[data-theme="light"] .hero-forest .contact-block { border-bottom-color: var(--line-2); }
html[data-theme="light"] .hero-forest .trust li .t, html[data-theme="light"] .hero-forest .contact-block .t { color: var(--ink); }
html[data-theme="light"] .hero-forest .trust li .d, html[data-theme="light"] .hero-forest .contact-block .d, html[data-theme="light"] .hero-forest .contact-block a { color: var(--slate); }
html[data-theme="light"] .hero-forest .trust li .ic, html[data-theme="light"] .hero-forest .contact-block .ic { background: var(--mint-wash); border-color: var(--mint-soft); color: var(--emerald-deep); }
html[data-theme="light"] .hero-forest .toggle-bill { background: var(--paper-2); border-color: var(--line); }
html[data-theme="light"] .hero-forest .toggle-bill button { color: var(--slate); }
html[data-theme="light"] .hero-forest .toggle-bill button.active { color: #fff; }
html[data-theme="light"] .hero-forest .vs .logo-chip.them { background: var(--paper-2); color: var(--slate-2); border: 1px solid var(--line); }
html[data-theme="light"] .hero-forest .vs .side strong { color: var(--ink); }
html[data-theme="light"] .hero-forest .case-chip { background: #fff; border-color: var(--line); color: var(--ink); box-shadow: var(--shadow-sm); }
html[data-theme="light"] .hero-forest .case-chip.plan { background: var(--mint-wash); border-color: var(--mint-soft); color: var(--emerald-deep); }
html[data-theme="light"] .case-slot { border-color: var(--line); box-shadow: var(--shadow-lg); }

/* ---- type & accents on light ---- */
html[data-theme="light"] .eyebrow { color: var(--emerald); }
html[data-theme="light"] .eyebrow::before { background: var(--emerald); }
html[data-theme="light"] .btn-link { color: var(--emerald); }
html[data-theme="light"] .btn-ghost { color: var(--ink); border-color: #c9d2d0; background: #fff; }
html[data-theme="light"] .btn-ghost:hover { border-color: var(--ink); background: var(--paper-2); }
html[data-theme="light"] .btn-dark { background: #0f1d28; color: #fff; }
html[data-theme="light"] .btn-dark:hover { background: #16293a; }
html[data-theme="light"] .grad-text { background: linear-gradient(120deg, var(--ink) 30%, #1b7a55 78%, #BDE763 100%); -webkit-background-clip: text; background-clip: text; }
html[data-theme="light"] .pill { background: #fff; border-color: var(--line); color: var(--slate); }
html[data-theme="light"] .tag { background: var(--paper-3); color: var(--slate); }
html[data-theme="light"] .kbd { background: var(--paper-2); border-color: var(--line); }
html[data-theme="light"] .logo-word { color: #9aa7a1; } html[data-theme="light"] .logo-word:hover { color: var(--ink); }

/* ---- surfaces & cards ---- */
html[data-theme="light"] .surface-2 { background: #f2f5f4; }
html[data-theme="light"] .surface-3 { background: #ecf0ef; }
html[data-theme="light"] .card { background: #fff; border-color: var(--line); }
html[data-theme="light"] .card-hover:hover { border-color: var(--mint-soft); box-shadow: var(--shadow-md); }
html[data-theme="light"] .card .ic { background: var(--mint-wash); border-color: var(--mint-soft); color: var(--emerald-deep); }
html[data-theme="light"] .glass-quote { background: #fff; border-color: var(--line); box-shadow: var(--shadow-lg); backdrop-filter: none; -webkit-backdrop-filter: none; }
html[data-theme="light"] .glass-quote::before { background: linear-gradient(150deg, rgba(189,231,99,.4), rgba(189,231,99,.06) 40%, rgba(13,25,34,.06)); }
html[data-theme="light"] .glass-quote::after { background: radial-gradient(circle, rgba(189,231,99,.14), transparent 65%); }
html[data-theme="light"] .glass-quote .gq-text { color: var(--slate); }
html[data-theme="light"] .glass-quote .gq-text strong { color: var(--ink); }
html[data-theme="light"] .glass-quote .gq-chip { background: var(--paper-2); border-color: var(--line); color: var(--ink); }
html[data-theme="light"] .case-quote { background: #fff; border-color: var(--line); box-shadow: var(--shadow-lg); }
html[data-theme="light"] .case-quote .q { color: var(--slate); }
html[data-theme="light"] .case-quote .q strong { color: var(--ink); }
html[data-theme="light"] .case-quote .who .nm { color: var(--ink); }
html[data-theme="light"] .case-next { background: #fff; border-color: var(--line); }
html[data-theme="light"] .case-next:hover { border-color: var(--mint-soft); background: var(--mint-wash); }
html[data-theme="light"] .case-next .t { color: var(--ink); }
html[data-theme="light"] .case-next .arr { color: var(--emerald); }

/* ---- comparison ---- */
html[data-theme="light"] .compare { background: #fff; box-shadow: var(--shadow-md); }
html[data-theme="light"] .compare-head { background: var(--paper-2); }
html[data-theme="light"] .compare-col-us { background: rgba(189,231,99,.10); border-inline-color: rgba(189,231,99,.25); }
html[data-theme="light"] .tick.no { background: var(--paper-3); color: var(--slate-2); }
html[data-theme="light"] .ctable .col-us { background: rgba(189,231,99,.10); border-inline-color: rgba(189,231,99,.25); }

/* ---- forms ---- */
html[data-theme="light"] .form-card { background: #fff; border-color: var(--line); box-shadow: var(--shadow-lg); }
html[data-theme="light"] .field label, html[data-theme="light"] .lf-label { color: var(--ink); }
html[data-theme="light"] .field input, html[data-theme="light"] .field select, html[data-theme="light"] .field textarea { background: #fff; border-color: #ccd5d3; color: var(--ink); }
html[data-theme="light"] .field input::placeholder, html[data-theme="light"] .field textarea::placeholder { color: var(--slate-2); }
html[data-theme="light"] .field select option { background: #fff; color: var(--ink); }
html[data-theme="light"] .chk-pill { border-color: #ccd5d3; color: var(--slate); background: #fff; }
html[data-theme="light"] .chk-pill.on { background: var(--mint-wash); border-color: var(--mint-soft); color: var(--emerald-deep); }
html[data-theme="light"] .gate-note { color: var(--slate-2); }
html[data-theme="light"] .success .big-ck { color: #fff; }

/* ---- stats & misc ---- */
html[data-theme="light"] .stat .num { color: var(--ink); }
html[data-theme="light"] .surface-forest .stat .num, html[data-theme="light"] .surface-dark .stat .num, html[data-theme="light"] .cta-band .stat .num { color: #fff; }
html[data-theme="light"] .doc-toc { background: var(--paper-2); }
html[data-theme="light"] .doc-table th { background: var(--paper-2); }
html[data-theme="light"] .status-banner { background: #e9f7ef; border-color: #c6e5d3; }
html[data-theme="light"] .status-banner .st-t { color: var(--ink); }
html[data-theme="light"] .status-banner .st-d, html[data-theme="light"] .svc .svc-up { color: #17724a; }
html[data-theme="light"] .svc .pill-op, html[data-theme="light"] .incident .badge-res { color: #17724a; background: #e9f7ef; border-color: #c6e5d3; }
html[data-theme="light"] .incident .what strong, html[data-theme="light"] .doc-section strong, html[data-theme="light"] .doc-table td strong { color: var(--ink); }
html[data-theme="light"] .doc-callout { background: var(--mint-wash); border-color: var(--mint-soft); }
html[data-theme="light"] .doc-callout p, html[data-theme="light"] .doc-callout .ic { color: var(--emerald-deep); }
html[data-theme="light"] .cookie-toggle { background: #d6dedd; border-color: #c4cecd; }

/* ---- footer: light ---- */
html[data-theme="light"] .site-footer { background: var(--paper-2); color: var(--ink); border-top-color: var(--line); }
html[data-theme="light"] .footer-col h4 { color: var(--slate-2); }
html[data-theme="light"] .footer-col a:not(.btn) { color: var(--slate); }
html[data-theme="light"] .footer-col a:not(.btn):hover { color: var(--emerald); }
html[data-theme="light"] .footer-brand .brand { color: var(--ink); }
html[data-theme="light"] .footer-brand p { color: var(--slate); }
html[data-theme="light"] .footer-bottom { border-top-color: var(--line); color: var(--slate-2); }
html[data-theme="light"] .footer-bottom a:hover { color: var(--emerald); }
html[data-theme="light"] .site-footer .btn-light { background: #0f1d28; color: #fff; border-color: #0f1d28; }
html[data-theme="light"] .site-footer .btn-light:hover { background: #16293a; }

/* ---- image-slot on light ---- */
html[data-theme="light"] image-slot { --slot-fg: rgba(13,25,34,.6); --slot-fg-hover: rgba(13,25,34,.85); --slot-bg: rgba(13,25,34,.045); --slot-ring: rgba(13,25,34,.25); }

/* ============================================================
   Theme switcher button (header)
   ============================================================ */
.theme-toggle { width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center; flex: none;
  color: #fff; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); cursor: pointer; transition: .18s; }
.theme-toggle:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.1); }
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .ic-moon { display: none; }
html[data-theme="light"] .theme-toggle { color: var(--ink); border-color: var(--line); background: #fff; }
html[data-theme="light"] .theme-toggle:hover { border-color: var(--ink); }
html[data-theme="light"] .theme-toggle .ic-sun { display: none; }
html[data-theme="light"] .theme-toggle .ic-moon { display: block; }


/* ============================================================
   Home page sections (ported from the design's index.html)
   ============================================================ */
.hero.hero-forest { padding-top: clamp(72px, 9vw, 128px); padding-bottom: clamp(60px, 8vw, 104px); }
.hero .wrap, .hero .hero-center { position: relative; z-index: 2; }
.hero-center { max-width: 1020px; margin-inline: auto; text-align: center; }
.hero .pill { background: rgba(var(--accent-rgb),.06); border: 1px solid rgba(var(--accent-rgb),.22); color: var(--mint-bright); font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; padding: 7px 13px 7px 11px; }
.hero .pill .dot { background: var(--mint); box-shadow: 0 0 8px 1px rgba(var(--accent-rgb),.8); }
.hero-head { font-size: clamp(3.2rem, 8vw, 6.8rem); font-weight: 700; letter-spacing: -.035em; line-height: .95; margin-top: 28px; color: #fff; }
.hero-head em { font-style: normal; }
.hero.hero-forest .hero-head em { background: linear-gradient(96deg, #ffffff, #a9e6c2 55%, #BDE763); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { margin: 26px auto 0; max-width: 56ch; color: var(--slate); font-size: clamp(1.08rem, 1.6vw, 1.3rem); }
.hero-cta { display: flex; gap: 14px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }
.hero-cta .btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.hero-meta { display: flex; gap: clamp(18px, 3vw, 36px); justify-content: center; margin-top: 38px; flex-wrap: wrap; color: var(--slate); font-size: .95rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 9px; }
.hero-meta .tck { width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(140deg,#BDE763,#a4d24e); color: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 0 12px -3px rgba(var(--accent-rgb),.85); }
.hero-meta .tck svg { width: 12px; height: 12px; }
.hero-logos { margin-top: clamp(48px, 6vw, 80px); }
.hero-logos-label { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-2); font-weight: 600; }
.hero-logos .logos { margin-top: 24px; }

/* differentiators */
.diff-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 980px) { .diff-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .diff-grid { grid-template-columns: 1fr; } }
.diff { padding: 26px 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--paper); }
.diff .n { font-family: var(--font-mono); font-size: .74rem; color: var(--emerald); font-weight: 600; }
.diff h3 { font-size: 1.14rem; margin-top: 16px; }
.diff p { color: var(--slate); font-size: .9rem; margin-top: 9px; }

/* statement panels */
.brace-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,72px); align-items: center; }
@media (max-width: 840px) { .brace-split { grid-template-columns: 1fr; } }
.glass-quote { position: relative; border-radius: 24px; padding: clamp(28px,3.5vw,44px); background: linear-gradient(180deg, rgba(22,25,23,.9), rgba(13,15,14,.92)); border: 1px solid rgba(255,255,255,.09); box-shadow: 0 40px 100px rgba(0,0,0,.5), 0 0 90px -30px rgba(189,231,99,.55); overflow: hidden; }
.glass-quote::before { content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit; background: linear-gradient(150deg, rgba(189,231,99,.5), rgba(189,231,99,.05) 40%, rgba(255,255,255,.05)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.glass-quote::after { content: ""; position: absolute; right: -20%; bottom: -45%; width: 70%; height: 110%; background: radial-gradient(circle, rgba(189,231,99,.3), transparent 65%); filter: blur(30px); pointer-events: none; }
.glass-quote .gq-text { font-size: clamp(1.2rem,1.9vw,1.55rem); font-weight: 300; line-height: 1.45; color: var(--slate); position: relative; z-index: 1; text-wrap: balance; }
.glass-quote .gq-text strong { color: #fff; font-weight: 500; }
.glass-quote .gq-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; position: relative; z-index: 1; }
.glass-quote .gq-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); font-size: .84rem; font-weight: 400; color: var(--ink); }
.glass-quote .gq-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint-bright); box-shadow: 0 0 8px rgba(189,231,99,.7); }
.glass-quote.on-grad { background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.08)); border-color: rgba(255,255,255,.28); box-shadow: 0 30px 80px rgba(0,0,0,.3); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.glass-quote.on-grad::before { background: linear-gradient(150deg, rgba(255,255,255,.55), rgba(255,255,255,.1) 40%); }
.glass-quote.on-grad::after { background: radial-gradient(circle, rgba(255,255,255,.22), transparent 65%); }
.glass-quote.on-grad .gq-text { color: rgba(255,255,255,.82); }
.glass-quote.on-grad .gq-text strong { color: #fff; }
.glass-quote.on-grad .gq-chip { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); color: #fff; }
.glass-quote.on-grad .gq-chip::before { background: #fff; box-shadow: none; }

/* gradient feature split */
.grad-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px,4vw,64px); align-items: center; }
@media (max-width: 840px) { .grad-split { grid-template-columns: 1fr; } }

/* B2B/B2C gradient section: dark aurora + vertical grid */
.surface-grad-olive { position: relative; overflow: hidden;
  background: linear-gradient(150deg, #050807 0%, #0d2818 42%, #17442c 78%, #1d5c3a 100%); }
.surface-grad-olive::before { content: ""; position: absolute; inset: -25%; pointer-events: none; z-index: 0;
  background:
    radial-gradient(34% 42% at 76% 22%, rgba(205,244,125,.45), transparent 68%),
    radial-gradient(28% 36% at 16% 78%, rgba(189,231,99,.38), transparent 70%),
    radial-gradient(20% 26% at 55% 55%, rgba(189,231,99,.20), transparent 70%);
  filter: blur(42px);
  animation: oliveAurora 9s ease-in-out infinite alternate; }
@keyframes oliveAurora {
  0% { transform: translate3d(-6%,-4%,0) scale(1) rotate(0deg); opacity: .65; }
  50% { opacity: 1; }
  100% { transform: translate3d(6%,5%,0) scale(1.22) rotate(3deg); opacity: .85; } }
.surface-grad-olive::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 68px 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent);
  animation: gridPan 8s linear infinite; }
@keyframes gridPan { to { background-position: 68px 0; } }
.surface-grad-olive > * { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce){ .surface-grad-olive::before, .surface-grad-olive::after { animation: none; } }

/* homepage dark feature sections */
body.home .surface-forest {
  background:
    radial-gradient(72% 60% at 50% 0%, rgba(189,231,99,.14), transparent 58%),
    radial-gradient(60% 50% at 85% 8%, rgba(189,231,99,.08), transparent 60%),
    #191919;
}

/* ============================================================
   Pattern support - class equivalents of the design's inline
   styles (patterns must not carry hardcoded style attributes)
   ============================================================ */
.h2-lg { font-size: clamp(2rem, 3.6vw, 3rem); }
.mt-28 { margin-top: 28px; }
.mt-36 { margin-top: 36px; }
.mt-44 { margin-top: 44px; }
.gap-14 { gap: 14px; }
.gap-32 { gap: 32px; }

.mini-stat .ms-k { font-family: var(--font-mono); font-size: .68rem; color: var(--emerald); letter-spacing: .08em; text-transform: uppercase; }
.mini-stat .ms-v { font-family: var(--font-display); font-weight: 700; font-size: 2.1rem; margin-top: 8px; color: var(--ink); }
.mini-stat .ms-v .unit { color: var(--emerald); }
.mini-stat .ms-v .sub { color: var(--slate); font-size: 1.05rem; font-weight: 500; }
.mini-stat.span-2 { grid-column: 1/-1; }

.compare-brand.them { color: var(--slate-2); }

.case-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px,4vw,56px); align-items: center; }
@media (max-width: 840px) { .case-split { grid-template-columns: 1fr; } }
.case-split .tag { background: rgba(255,255,255,.1); }
.case-quote-text { margin-top: 20px; font-weight: 500; letter-spacing: -.01em; line-height: 1.3; font-size: clamp(1.3rem,2.2vw,1.8rem); }
.case-who { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.case-who .ava { width: 42px; height: 42px; border-radius: 50%; background: var(--dark); color: var(--mint); display: grid; place-items: center; font-weight: 700; flex: none; }
.case-who .who-role { font-weight: 600; }
.case-who .who-org { font-size: .88rem; color: rgba(255,255,255,.78); }
.case-split .btn-link { margin-top: 24px; color: var(--emerald-deep); }
.case-tile { background: rgba(255,255,255,.1); border-radius: var(--r-lg); padding: 24px; text-align: center; }
.case-tile.span-2 { grid-column: 1/-1; }
.case-tile .stat .num { font-size: 2.4rem; }
.case-tile .stat .lbl { color: rgba(255,255,255,.78); }

.on-white-eyebrow { color: #fff; }
.on-white-eyebrow::before { background: #fff; }
.grad-heading { color: #fff; margin-top: 16px; }
.grad-lead { color: rgba(255,255,255,.88); margin-top: 16px; }
.btn-white-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.btn-white-ghost:hover { background: rgba(255,255,255,.22); color: #fff; }
.btn-row { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

.cta-band-flex { display: flex; align-items: center; justify-content: space-between; gap: clamp(24px,4vw,56px); flex-wrap: wrap; }
.cta-copy { max-width: 560px; position: relative; z-index: 1; }
.cta-logo { position: relative; z-index: 1; color: var(--mint-bright); flex: none; font-size: clamp(72px,10vw,128px); line-height: 0; opacity: .96; filter: drop-shadow(0 0 34px rgba(189,231,99,.45)); }
.cta-logo .brand-mark { height: 1em; }

/* WordPress chrome adjustments */
.chrome { display: contents; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.wp-site-blocks { padding: 0; }

/* mobile menu CTA row (was inline styles in the prototype) */
.mobile-menu .mm-actions { display: flex; gap: 10px; margin-top: 24px; }
.mobile-menu .mm-actions a { flex: 1; }
.footer-cta-row { display: flex; gap: 10px; margin-top: 22px; }
.bento .card-dark h3 { margin-top: 18px; }


/* ============================================================
   Sub-page CSS (ported from each prototype page's <style> block;
   appended last so page rules win, matching the prototype order)
   ============================================================ */

/* ---- page group: case ---- */
/* Case-study pages — shared styles (dark glass system), from assets/case.css */
.case-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px,4vw,64px); align-items: center; }
@media (max-width: 880px) { .case-hero-grid { grid-template-columns: 1fr; } }
.case-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.case-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); font-size: .82rem; color: var(--ink); }
.case-chip.plan { background: rgba(189,231,99,.16); border-color: rgba(189,231,99,.35); color: var(--mint-bright); font-weight: 500; }
.case-slot { border-radius: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 40px 100px rgba(0,0,0,.55), 0 0 70px -20px rgba(189,231,99,.45); aspect-ratio: 4/3; }

.cs-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,4vw,56px); align-items: start; }
@media (max-width: 840px) { .cs-split { grid-template-columns: 1fr; } }
.cs-block h3 { font-size: 1.35rem; }
.cs-block .lead { margin-top: 12px; font-size: 1.02rem; }
.cs-block .check-list { margin-top: 18px; }

.case-quote { position: relative; border-radius: 24px; padding: clamp(30px,4vw,52px); max-width: 860px; margin-inline: auto; text-align: center;
  background: linear-gradient(180deg, rgba(22,25,23,.9), rgba(13,15,14,.92)); border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 40px 100px rgba(0,0,0,.5), 0 0 90px -30px rgba(189,231,99,.55); overflow: hidden; }
.case-quote::before { content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(150deg, rgba(189,231,99,.5), rgba(189,231,99,.05) 40%, rgba(255,255,255,.05));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.case-quote .q { font-size: clamp(1.25rem,2.2vw,1.7rem); font-weight: 300; line-height: 1.45; color: var(--ink); text-wrap: balance; position: relative; z-index: 1; }
.case-quote .q strong { color: #fff; font-weight: 500; }
.case-quote .who { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 26px; position: relative; z-index: 1; }
.case-quote .who .av { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(140deg,#BDE763,#a4d24e); color: #fff; display: grid; place-items: center; font-weight: 600; }
.case-quote .who .nm { font-weight: 500; color: #fff; text-align: left; }
.case-quote .who .rl { font-size: .85rem; color: var(--slate); }

.case-next { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 22px 26px; background: rgba(255,255,255,.03); transition: .2s; }
.case-next:hover { border-color: rgba(189,231,99,.4); background: rgba(189,231,99,.07); }
.case-next .t { font-weight: 500; color: #fff; }
.case-next .d { font-size: .88rem; color: var(--slate); margin-top: 2px; }
.case-next .arr { color: var(--mint-bright); font-size: 1.4rem; }

/* ---- page group: jamfor (magento/woocommerce/shopify/nordiska) ---- */
.compare-hero { padding-top: clamp(48px,7vw,90px); padding-bottom: clamp(32px,4vw,56px); }
.vs { display: inline-flex; align-items: center; gap: 18px; margin-top: 28px; }
.vs .side { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.vs .logo-chip { width: 80px; height: 80px; border-radius: 20px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; }
.vs .us { background: var(--ink); color: var(--mint); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.vs .them { background: var(--paper-2); color: var(--slate-2); border: 1px solid var(--line); }
.vs .vs-word { font-family: var(--font-mono); font-size: .9rem; color: var(--slate-2); letter-spacing: .1em; }
.vs .side small { font-size: .8rem; color: var(--slate); }

/* full compare table */
.ctable { border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md); background: var(--paper); }
.ctable .grp { display: grid; grid-template-columns: 1.4fr 1fr 1fr; }
.ctable .grp.head { position: relative; z-index: 2; }
.ctable .ch { padding: 16px 22px; font-size: .95rem; display: flex; align-items: center; gap: 9px; border-top: 1px solid var(--line-2); }
.ctable .grp:first-child .ch { border-top: none; }
.ctable .ch.lab { font-weight: 600; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; }
.ctable .ch.lab small { font-weight: 400; color: var(--slate); font-size: .82rem; }
.ctable .col-us { background: rgba(189,231,99,.15); border-inline: 1px solid rgba(189,231,99,.3); }
.ctable .head .ch { background: var(--paper-2); font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; }
.ctable .head .col-us { background: #a4d24e; color: #fff; border-color: #a4d24e; }
.ctable .head .col-us .sub { color: #b9ecd0; }
.ctable .head .ch .sub { display: block; font-family: var(--font-mono); font-weight: 400; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-2); margin-top: 4px; }
.section-label { padding: 13px 22px; background: var(--paper-3); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); grid-column: 1/-1; border-top: 1px solid var(--line-2); }
.tick { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.tick.yes { background: var(--mint); color: var(--ink); } .tick.no { background: var(--paper-3); color: var(--slate-2); } .tick.mid { background: rgba(224,163,46,.16); color: #e0a32e; }
.tick svg { width: 13px; height: 13px; }
.ch .val-txt { font-size: .9rem; }
.col-us .val-txt { font-weight: 600; }
@media (max-width: 760px) { .ctable .ch { padding: 12px 13px; font-size: .82rem; } .ctable .ch.lab small, .ch .val-txt { font-size: .76rem; }  }

.tco { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width:760px){ .tco { grid-template-columns: 1fr; } }
.tco-card { border-radius: var(--r-lg); padding: 30px; border: 1px solid var(--line); }
.tco-card.us { background: var(--dark); color: var(--on-dark); border: none; }
.tco-card.them { background: var(--paper-2); }
.tco-card h3 { font-size: 1.3rem; }
.tco-card .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem,5vw,3.4rem); letter-spacing: -.04em; margin-top: 14px; line-height: 1; }
.tco-card.us .big span { color: var(--mint); }
.tco-card ul { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.tco-card li { display: flex; gap: 10px; font-size: .92rem; align-items: flex-start; }
.tco-card.us li { color: var(--on-dark-mut); }
.tco-card .li-ic { flex: none; margin-top: 2px; }

.mig-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; counter-reset: s; }
@media (max-width:860px){ .mig-steps { grid-template-columns: 1fr 1fr; } }
.mig-step { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; background: var(--paper); position: relative; }
.mig-step .num { width: 34px; height: 34px; border-radius: 10px; background: var(--mint-wash); color: var(--emerald-deep); border: 1px solid var(--mint-soft); display: grid; place-items: center; font-weight: 700; font-family: var(--font-display); }
.mig-step h4 { font-size: 1.05rem; margin-top: 16px; }
.mig-step p { color: var(--slate); font-size: .88rem; margin-top: 8px; }

.faq { max-width: 760px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; transition: .2s; }
.faq details[open] summary .pm { background: var(--ink); color: #fff; transform: rotate(45deg); }
.faq p { color: var(--slate); padding-bottom: 20px; max-width: 64ch; }

/* ---- page: blogg ---- */
.page-blogg .post-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media(max-width:900px){ .page-blogg .post-grid{grid-template-columns:1fr 1fr} } @media(max-width:600px){ .page-blogg .post-grid{grid-template-columns:1fr} }
.page-blogg .post { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--paper); transition: .25s; display: flex; flex-direction: column; }
.page-blogg .post:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.page-blogg .post .cover { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--paper-3), var(--mint-wash)); display: grid; place-items: center; color: var(--emerald); position: relative; }
.page-blogg .post .cover svg { width: 40px; height: 40px; opacity: .6; }
.page-blogg .post .cover.dark { background: linear-gradient(135deg, var(--dark-2), var(--dark)); color: var(--mint); }
.page-blogg .post .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.page-blogg .post .cat { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--emerald-deep); }
.page-blogg .post h3 { font-size: 1.12rem; margin-top: 10px; line-height: 1.25; } .page-blogg .post p { color: var(--slate); font-size: .9rem; margin-top: 10px; flex: 1; }
.page-blogg .post .by { display: flex; align-items: center; gap: 9px; margin-top: 18px; font-size: .82rem; color: var(--slate); }
.page-blogg .post .by .av { width: 26px; height: 26px; border-radius: 50%; background: var(--mint-wash); color: var(--emerald-deep); display: grid; place-items: center; font-weight: 700; font-size: .7rem; }
.page-blogg .feature-post { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px,4vw,48px); align-items: center; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; background: var(--paper); }
@media(max-width:840px){ .page-blogg .feature-post{grid-template-columns:1fr} }
.page-blogg .feature-post .cover { aspect-ratio: 16/11; background: linear-gradient(135deg, var(--dark-2), var(--dark)); display: grid; place-items: center; color: var(--mint); }
.page-blogg .feature-post .cover svg { width: 64px; height: 64px; opacity: .7; }
.page-blogg .feature-post .body { padding: clamp(24px,3vw,40px); }

/* ---- page: demo ---- */
.page-demo .demo-intro { padding-top: clamp(40px,6vw,72px); padding-bottom: 28px; }
.page-demo .demo-shell { padding-bottom: clamp(56px,8vw,100px); }
.page-demo .app {
  border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--paper); display: grid;
  grid-template-columns: 232px 1fr; min-height: 660px;
}
.page-demo .app .winbar { grid-column: 1/-1; display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); background: var(--paper-2); }
.page-demo .app .winbar .dots { display: flex; gap: 6px; } .page-demo .app .winbar .dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.16); }
.page-demo .app .winbar .url { font-family: var(--font-mono); font-size: .74rem; color: var(--slate-2); background: rgba(255,255,255,.08); border: 1px solid var(--line); border-radius: 7px; padding: 4px 12px; margin: 0 auto; }

/* sidebar */
.page-demo .side { border-right: 1px solid var(--line-2); padding: 18px 12px; background: var(--paper); display: flex; flex-direction: column; gap: 4px; }
.page-demo .side .org { display: flex; align-items: center; gap: 10px; padding: 8px 10px 16px; }
.page-demo .side .org .mark { width: 32px; height: 32px; border-radius: 9px; background: var(--ink); color: var(--mint); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; }
.page-demo .side .org .nm { font-weight: 700; font-size: .92rem; } .page-demo .side .org .sb { font-size: .7rem; color: var(--slate-2); }
.page-demo .side .navlbl { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-2); padding: 14px 10px 6px; }
.page-demo .side .item { display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 9px; font-size: .9rem; font-weight: 500; color: #3a4a44; cursor: pointer; transition: .14s; }
.page-demo .side .item:hover { background: var(--paper-2); }
.page-demo .side .item.active { background: var(--mint-wash); color: var(--emerald-deep); font-weight: 600; }
.page-demo .side .item svg { width: 18px; height: 18px; flex: none; }
.page-demo .side .item .badge { margin-left: auto; font-size: .68rem; font-weight: 700; background: var(--ink); color: #fff; border-radius: 999px; padding: 1px 7px; }

/* main */
.page-demo .main { display: flex; flex-direction: column; min-width: 0; }
.page-demo .topbar { display: flex; align-items: center; gap: 14px; padding: 16px 24px; border-bottom: 1px solid var(--line-2); }
.page-demo .topbar h2 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; }
.page-demo .chan { margin-left: auto; display: inline-flex; background: var(--paper-3); border-radius: 999px; padding: 3px; }
.page-demo .chan button { font-size: .8rem; font-weight: 600; padding: 6px 15px; border-radius: 999px; color: var(--slate); transition: .15s; }
.page-demo .chan button.active { background: rgba(255,255,255,.08); color: var(--ink); box-shadow: var(--shadow-sm); }
.page-demo .cart-btn { position: relative; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); }
.page-demo .cart-btn .cnt { position: absolute; top: -6px; right: -6px; background: var(--mint); color: var(--ink); font-size: .66rem; font-weight: 800; min-width: 18px; height: 18px; border-radius: 999px; display: grid; place-items: center; padding: 0 4px; transform: scale(0); transition: transform .2s cubic-bezier(.3,1.4,.5,1); }
.page-demo .cart-btn .cnt.show { transform: scale(1); }
.page-demo .view { padding: 24px; overflow: auto; flex: 1; }

/* KPIs */
.page-demo .kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
@media(max-width:760px){ .page-demo .kpis{grid-template-columns:1fr 1fr} }
.page-demo .kpi { border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.page-demo .kpi .k { font-size: .72rem; color: var(--slate-2); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .05em; }
.page-demo .kpi .v { font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; letter-spacing: -.03em; margin-top: 6px; }
.page-demo .kpi .d { font-size: .74rem; margin-top: 4px; font-weight: 600; color: #178a52; }
.page-demo .kpi .d.down { color: #ff7d6b; }

.page-demo .panel { border: 1px solid var(--line); border-radius: var(--r-lg); margin-top: 16px; overflow: hidden; }
.page-demo .panel .ph { display: flex; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line-2); }
.page-demo .panel .ph h3 { font-size: 1rem; font-weight: 700; } .page-demo .panel .ph .sub { font-size: .78rem; color: var(--slate-2); margin-left: auto; }
.page-demo .chart { display: flex; align-items: flex-end; gap: 10px; height: 150px; padding: 20px; }
.page-demo .chart .bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.page-demo .chart .bar i { width: 100%; background: linear-gradient(180deg, var(--mint), var(--emerald)); border-radius: 5px 5px 0 0; transition: height .7s cubic-bezier(.2,.7,.3,1); }
.page-demo .chart .bar span { font-size: .68rem; color: var(--slate-2); font-family: var(--font-mono); }

/* tables */
.page-demo .tbl { width: 100%; border-collapse: collapse; }
.page-demo .tbl th { text-align: left; font-size: .68rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--slate-2); padding: 12px 18px; border-bottom: 1px solid var(--line-2); font-weight: 500; }
.page-demo .tbl td { padding: 13px 18px; border-bottom: 1px solid var(--line-2); font-size: .88rem; vertical-align: middle; }
.page-demo .tbl tr:last-child td { border-bottom: none; }
.page-demo .tbl tr.new-row { animation: flashRow 1.6s; }
@keyframes flashRow { 0% { background: var(--mint-wash); } 100% { background: transparent; } }
.page-demo .tbl .av { width: 30px; height: 30px; border-radius: 8px; background: var(--mint-wash); color: var(--emerald-deep); display: inline-grid; place-items: center; font-weight: 700; font-size: .72rem; }
.page-demo .tbl .prod-thumb { width: 34px; height: 34px; border-radius: 8px; background: linear-gradient(135deg, var(--paper-3), var(--mint-wash)); display: inline-grid; place-items: center; color: var(--emerald); }
.page-demo .tbl .prod-thumb svg { width: 17px; height: 17px; }
.page-demo .cell-prod { display: flex; align-items: center; gap: 11px; }
.page-demo .cell-prod .nm { font-weight: 600; } .page-demo .cell-prod .sku { font-size: .72rem; color: var(--slate-2); font-family: var(--font-mono); }
.page-demo .amt { font-family: var(--font-mono); font-weight: 600; }
.page-demo .chip { font-size: .68rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; display: inline-block; }
.page-demo .chip.ok { background: rgba(53,184,119,.15); color: #BDE763; } .page-demo .chip.warn { background: rgba(224,163,46,.16); color: #e0a32e; } .page-demo .chip.info { background: rgba(96,142,250,.16); color: #8ab0ff; } .page-demo .chip.off { background: var(--paper-3); color: var(--slate); }
.page-demo .stock-low { color: #ff7d6b; font-weight: 600; }

/* add product form */
.page-demo .addbar { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.page-demo .addbar input, .page-demo .addbar select { border: 1px solid var(--line); border-radius: 9px; padding: 9px 12px; font-size: .88rem; background: rgba(255,255,255,.08); }
.page-demo .addbar input:focus, .page-demo .addbar select:focus { outline: 2px solid var(--mint); outline-offset: -1px; border-color: var(--mint); }
.page-demo .addbar .grow { flex: 1; min-width: 120px; }

/* storefront */
.page-demo .sf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px,1fr)); gap: 16px; }
.page-demo .sf-card { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: rgba(255,255,255,.08); transition: transform .2s, box-shadow .2s; }
.page-demo .sf-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.page-demo .sf-card .img { aspect-ratio: 4/3; background: linear-gradient(135deg, var(--paper-3), var(--mint-wash)); display: grid; place-items: center; color: var(--emerald); position: relative; }
.page-demo .sf-card .img svg { width: 38px; height: 38px; }
.page-demo .sf-card .img .new-tag { position: absolute; top: 10px; left: 10px; background: var(--mint); color: var(--ink); font-size: .64rem; font-weight: 800; padding: 3px 8px; border-radius: 6px; text-transform: uppercase; letter-spacing: .04em; }
.page-demo .sf-card .body { padding: 14px; }
.page-demo .sf-card .cat { font-size: .68rem; color: var(--slate-2); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .04em; }
.page-demo .sf-card .nm { font-weight: 600; margin-top: 4px; font-size: .94rem; line-height: 1.25; }
.page-demo .sf-card .price-row { display: flex; align-items: baseline; gap: 7px; margin-top: 10px; }
.page-demo .sf-card .price { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.page-demo .sf-card .unit { font-size: .72rem; color: var(--slate-2); }
.page-demo .sf-card .addc { width: 100%; margin-top: 12px; font-weight: 600; font-size: .84rem; padding: 9px; border-radius: 9px; background: var(--ink); color: #fff; transition: .15s; }
.page-demo .sf-card .addc:hover { background: var(--emerald-deep); }
.page-demo .sf-card .addc.added { background: #35b877; color: #fff; }

.page-demo .empty { text-align: center; color: var(--slate-2); padding: 40px; font-size: .9rem; }

.page-demo .toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: .88rem; font-weight: 500; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: .3s; z-index: 200; display: flex; align-items: center; gap: 9px; }
.page-demo .toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.page-demo .toast .ic { color: var(--mint); }

@media (max-width: 820px) {
  .page-demo .app { grid-template-columns: 1fr; }
  .page-demo .side { flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--line-2); padding: 10px; gap: 6px; }
  .page-demo .side .org, .page-demo .side .navlbl { display: none; }
  .page-demo .side .item { white-space: nowrap; }
  .page-demo .side .item .badge { display: none; }
}

/* ---- page: enterprise ---- */
/* No page-specific CSS: the prototype has no inline <style> block —
   the page is built entirely from shared design classes already in the theme. */

/* ---- page: integrationer ---- */
.int-cat { margin-top: 44px; }
.int-cat h3 { font-size: 1.15rem; display: flex; align-items: center; gap: 10px; }
.int-cat h3 .ic { width: 32px; height: 32px; border-radius: 9px; background: var(--mint-wash); color: var(--emerald-deep); border: 1px solid var(--mint-soft); display: grid; place-items: center; }
.int-cat h3 .ic svg { width: 17px; height: 17px; }
.int-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 18px; }
@media(max-width:760px){ .int-grid{grid-template-columns:1fr 1fr} }
.int-logo { border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: flex; align-items: center; gap: 10px; background: var(--paper); transition: .2s; }
.int-logo:hover { border-color: var(--mint-soft); box-shadow: var(--shadow-sm); }
.int-logo .sq { width: 32px; height: 32px; border-radius: 8px; background: var(--paper-3); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: .9rem; color: var(--slate); flex: none; }
.int-logo .nm { font-weight: 600; font-size: .9rem; }
.page-integrationer .flow { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
@media(max-width:760px){ .page-integrationer .flow{grid-template-columns:1fr} }
.page-integrationer .flow-step { text-align: center; padding: 28px; }
.page-integrationer .flow-step .n { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--mint); display: grid; place-items: center; font-weight: 800; font-family: var(--font-display); margin: 0 auto 16px; }

/* ---- page: kom-igang ---- */
.page-kom-igang .kg { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,72px); align-items: start; }
@media(max-width:860px){ .page-kom-igang .kg{grid-template-columns:1fr} }
.page-kom-igang .form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px,3vw,38px); box-shadow: var(--shadow-md); }
.page-kom-igang .field { margin-bottom: 16px; } .page-kom-igang .field.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.page-kom-igang .field label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 7px; }
.page-kom-igang .field input, .page-kom-igang .field select, .page-kom-igang .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: .94rem; background: rgba(255,255,255,.08); transition: .15s; }
.page-kom-igang .field input:focus, .page-kom-igang .field select:focus, .page-kom-igang .field textarea:focus { outline: 2px solid var(--mint); outline-offset: -1px; border-color: var(--mint); }
.page-kom-igang .field input.err, .page-kom-igang .field select.err { border-color: #ff7d6b; outline-color: #ff7d6b; }
.page-kom-igang .field .hint { font-size: .76rem; color: #ff7d6b; margin-top: 5px; display: none; } .page-kom-igang .field .hint.show { display: block; }
.page-kom-igang .chk-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.page-kom-igang .chk-pill { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: .86rem; cursor: pointer; user-select: none; transition: .15s; }
.page-kom-igang .chk-pill.on { background: var(--mint-wash); border-color: var(--mint-soft); color: var(--emerald-deep); font-weight: 600; }
.page-kom-igang .trust li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.page-kom-igang .trust li .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--mint-wash); color: var(--emerald-deep); border: 1px solid var(--mint-soft); display: grid; place-items: center; flex: none; }
.page-kom-igang .trust li .ic svg { width: 20px; height: 20px; }
.page-kom-igang .trust li .t { font-weight: 600; } .page-kom-igang .trust li .d { color: var(--slate); font-size: .88rem; margin-top: 2px; }
.page-kom-igang .success { text-align: center; padding: 30px 10px; display: none; }
.page-kom-igang .success.show { display: block; } .page-kom-igang .form-body.hide { display: none; }
.page-kom-igang .success .big-ck { width: 64px; height: 64px; border-radius: 50%; background: #35b877; color: #fff; display: grid; place-items: center; margin: 0 auto 20px; }
.page-kom-igang .success .big-ck svg { width: 32px; height: 32px; }

/* ---- page: kontakt ---- */
.page-kontakt .kg { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,64px); align-items: start; }
@media(max-width:860px){ .page-kontakt .kg{grid-template-columns:1fr} }
.page-kontakt .form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px,3vw,38px); box-shadow: var(--shadow-md); }
.page-kontakt .field { margin-bottom: 16px; } .page-kontakt .field.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.page-kontakt .field label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 7px; }
.page-kontakt .field input, .page-kontakt .field select, .page-kontakt .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: .94rem; background: rgba(255,255,255,.08); }
.page-kontakt .field input:focus, .page-kontakt .field select:focus, .page-kontakt .field textarea:focus { outline: 2px solid var(--mint); outline-offset: -1px; border-color: var(--mint); }
.page-kontakt .field input.err, .page-kontakt .field textarea.err { border-color: #ff7d6b; outline-color: #ff7d6b; }
.page-kontakt .contact-block { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.page-kontakt .contact-block .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--mint-wash); color: var(--emerald-deep); border: 1px solid var(--mint-soft); display: grid; place-items: center; flex: none; }
.page-kontakt .contact-block .ic svg { width: 21px; height: 21px; }
.page-kontakt .contact-block .t { font-weight: 600; } .page-kontakt .contact-block a, .page-kontakt .contact-block .d { color: var(--slate); font-size: .92rem; }
.page-kontakt .contact-block a:hover { color: var(--emerald-deep); }
.page-kontakt .success { display: none; text-align: center; padding: 30px 10px; } .page-kontakt .success.show { display: block; } .page-kontakt .form-body.hide { display: none; }
.page-kontakt .success .big-ck { width: 60px; height: 60px; border-radius: 50%; background: #35b877; color: #fff; display: grid; place-items: center; margin: 0 auto 18px; }
.page-kontakt .success .big-ck svg { width: 30px; height: 30px; }

/* ---- page: kundcase ---- */
.page-kundcase .case-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
@media(max-width:760px){ .page-kundcase .case-grid{grid-template-columns:1fr} }
.page-kundcase .case-card { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--paper); transition: .25s; display: flex; flex-direction: column; }
.page-kundcase .case-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.page-kundcase .case-card .top { padding: 26px; background: var(--paper-2); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.page-kundcase .case-card .logo { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; letter-spacing: -.02em; }
.page-kundcase .case-card .body { padding: 24px; flex: 1; }
.page-kundcase .case-card .quote { font-size: 1rem; line-height: 1.5; font-weight: 500; } .page-kundcase .case-card .meta { color: var(--slate); font-size: .84rem; margin-top: 14px; }
.page-kundcase .case-card .stats { display: flex; gap: 24px; margin-top: 18px; }
.page-kundcase .case-card .stats .s .v { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: var(--emerald-deep); letter-spacing: -.02em; }
.page-kundcase .case-card .stats .s .l { font-size: .74rem; color: var(--slate); }
.page-kundcase .feature-case { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px,4vw,56px); align-items: center; }
@media(max-width:840px){ .page-kundcase .feature-case{grid-template-columns:1fr} }

/* ---- page: light ---- */
.page-light .timeline { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; }
@media(max-width:760px){ .page-light .timeline{grid-template-columns:1fr;gap:14px} }
.page-light .tl-step { padding: 24px; position: relative; }
.page-light .tl-step:not(:last-child)::after { content: ""; position: absolute; top: 38px; right: -2px; width: 100%; height: 2px; background: var(--line); z-index: 0; }
@media(max-width:760px){ .page-light .tl-step::after{display:none} }
.page-light .tl-step .dot { width: 30px; height: 30px; border-radius: 50%; background: var(--mint); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-family: var(--font-display); font-size: .9rem; position: relative; z-index: 1; }
.page-light .tl-step .day { font-family: var(--font-mono); font-size: .72rem; color: var(--emerald); margin-top: 16px; font-weight: 600; }
.page-light .tl-step h4 { font-size: 1.05rem; margin-top: 6px; } .page-light .tl-step p { color: var(--slate); font-size: .88rem; margin-top: 8px; }

/* ---- page: losningar ---- */
.page-losningar .split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,64px); align-items: center; }
@media(max-width:840px){ .page-losningar .split{grid-template-columns:1fr} }
.page-losningar .usecase { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; background: var(--paper); }
.page-losningar .usecase .tag { margin-bottom: 14px; } .page-losningar .usecase h3 { font-size: 1.1rem; } .page-losningar .usecase p { color: var(--slate); font-size: .9rem; margin-top: 8px; }

/* ---- page: om-oss ---- */
.page-om-oss .value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
@media(max-width:860px){ .page-om-oss .value-grid{grid-template-columns:1fr} }
.page-om-oss .story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,64px); align-items: center; }
@media(max-width:840px){ .page-om-oss .story{grid-template-columns:1fr} }

/* ---- page: partner ---- */
.page-partner .ptype { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
@media(max-width:860px){ .page-partner .ptype{grid-template-columns:1fr} }
.page-partner .tier-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
@media(max-width:860px){ .page-partner .tier-row{grid-template-columns:1fr} }
.page-partner .tier { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.page-partner .tier.mid { border: 1.5px solid var(--ink); box-shadow: var(--shadow-md); }
.page-partner .tier .nm { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; }
.page-partner .tier ul { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.page-partner .tier li { display: flex; gap: 9px; font-size: .89rem; } .page-partner .tier li .ck { color: var(--emerald); flex: none; }

/* ---- page: plattform ---- */
.page-plattform .arch { display: grid; grid-template-columns: 1fr; gap: 14px; }
.page-plattform .arch-layer { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 24px; background: var(--paper); display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.page-plattform .arch-layer .ll { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-2); width: 130px; flex: none; }
.page-plattform .arch-layer .chips { display: flex; gap: 10px; flex-wrap: wrap; flex: 1; }
.page-plattform .arch-layer .ac { padding: 8px 14px; border-radius: 9px; font-size: .86rem; font-weight: 500; background: var(--paper-2); border: 1px solid var(--line-2); }
.page-plattform .arch-layer.core { background: linear-gradient(140deg, #BDE763, #1d5c3a 60%, #17442c); border: none; position: relative; overflow: hidden; box-shadow: 0 14px 44px -10px rgba(189,231,99,.55), 0 0 0 1px rgba(189,231,99,.35); }
.page-plattform .arch-layer.core::after { content: ""; position: absolute; right: -15%; top: -60%; width: 55%; height: 220%; background: radial-gradient(circle, rgba(205,244,125,.35), transparent 65%); pointer-events: none; }
.page-plattform .arch-layer.core .ll { color: #eafff3; position: relative; z-index: 1; }
.page-plattform .arch-layer.core .chips { position: relative; z-index: 1; }
.page-plattform .arch-layer.core .ac { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); color: #fff; }
.page-plattform .arch-layer.api { background: var(--mint-wash); border-color: var(--mint-soft); }
.page-plattform .arch-layer.api .ac { background: rgba(255,255,255,.08); border-color: var(--mint-soft); color: var(--emerald-deep); font-weight: 600; }
.page-plattform .mod-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
@media(max-width:900px){ .page-plattform .mod-grid{grid-template-columns:1fr 1fr} } @media(max-width:600px){ .page-plattform .mod-grid{grid-template-columns:1fr} }
.page-plattform .mod { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; transition: .25s; }
.page-plattform .mod:hover { border-color: var(--mint-soft); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.page-plattform .mod .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--mint-wash); color: var(--emerald-deep); border: 1px solid var(--mint-soft); display: grid; place-items: center; }
.page-plattform .mod .ic svg { width: 22px; height: 22px; }
.page-plattform .mod h3 { font-size: 1.15rem; margin-top: 18px; } .page-plattform .mod p { color: var(--slate); font-size: .92rem; margin-top: 9px; }
.page-plattform .mod ul { margin-top: 14px; display: flex; flex-direction: column; gap: 7px; }
.page-plattform .mod li { font-size: .85rem; color: var(--slate); display: flex; gap: 8px; }
.page-plattform .mod li::before { content: "→"; color: var(--emerald); }
.page-plattform .split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,64px); align-items: center; }
@media(max-width:840px){ .page-plattform .split{grid-template-columns:1fr} }

/* ---- page: priser ---- */
.page-priser .plans { display: grid; grid-template-columns: repeat(2,1fr); gap: 26px; align-items: start; max-width: 1120px; margin-inline: auto; }
@media(max-width:900px){ .page-priser .plans{grid-template-columns:1fr;max-width:440px;margin-inline:auto} }
.page-priser .plan { border: 1px solid var(--line); border-radius: var(--r-xl); padding: 32px; background: var(--paper); transition: .25s; }
.page-priser .plan.feat { border: 1.5px solid var(--ink); box-shadow: var(--shadow-lg); position: relative; }
.page-priser .plan.feat::before { content: "Populärast"; position: absolute; top: -12px; left: 32px; background: var(--mint); color: var(--ink); font-size: .72rem; font-weight: 800; padding: 5px 12px; border-radius: 999px; letter-spacing: .02em; }
.page-priser .plan .pn { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; letter-spacing: -.02em; }
.page-priser .plan .pd { color: var(--slate); font-size: .9rem; margin-top: 8px; min-height: 40px; }
.page-priser .plan .pp { display: flex; align-items: baseline; gap: 6px; margin-top: 20px; }
.page-priser .plan .pp .pre { font-family: var(--font-sans); font-size: 1rem; font-weight: 600; color: var(--slate); }
.page-priser .plan .pp .amt { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; letter-spacing: -.04em; }
.page-priser .plan .pp .per { color: var(--slate); font-size: .9rem; }
.page-priser .plan .psub { color: var(--slate); font-size: .82rem; margin-top: 8px; line-height: 1.4; }
.page-priser .plan .psub strong { color: var(--ink); font-weight: 600; }
.page-priser .plan .pbtn { margin-top: 22px; width: 100%; }
.page-priser .plan ul { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.page-priser .plan li { display: flex; gap: 10px; font-size: .9rem; align-items: flex-start; }
.page-priser .plan li .ck { width: 20px; height: 20px; border-radius: 50%; background: var(--mint-wash); color: var(--emerald-deep); display: grid; place-items: center; flex: none; margin-top: 1px; }
.page-priser .plan li .ck svg { width: 12px; height: 12px; }
.page-priser .plan .feat-lbl { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-2); margin-top: 24px; }
.page-priser .plan-case { display: inline-flex; align-items: center; gap: 8px; width: 100%; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-2); font-size: .85rem; font-weight: 600; color: var(--emerald-deep); line-height: 1.35; }
.page-priser .plan-case svg { width: 15px; height: 15px; flex: none; transition: transform .2s; }
.page-priser .plan-case:hover svg { transform: translateX(3px); }
.page-priser .plan-dl { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; font-size: .82rem; font-weight: 600; color: var(--slate); transition: color .15s; }
.page-priser .plan-dl:hover { color: var(--emerald-deep); }
.page-priser .plan-dl svg { width: 15px; height: 15px; flex: none; }
.page-priser .toggle-bill { display: inline-flex; align-items: center; gap: 12px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 5px; }
.page-priser .toggle-bill button { font-size: .86rem; font-weight: 600; padding: 8px 18px; border-radius: 999px; color: var(--slate); }
.page-priser .toggle-bill button.active { background: rgba(255,255,255,.08); color: var(--ink); box-shadow: var(--shadow-sm); }
.page-priser .toggle-bill .save { font-size: .7rem; color: var(--emerald-deep); font-weight: 700; background: var(--mint-wash); padding: 2px 8px; border-radius: 999px; }
.page-priser .faq { max-width: 760px; margin-inline: auto; }
.page-priser .faq details { border-bottom: 1px solid var(--line); }
.page-priser .faq summary { cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.page-priser .faq summary::-webkit-details-marker { display: none; }
.page-priser .faq summary .pm { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; transition: .2s; }
.page-priser .faq details[open] summary .pm { background: var(--ink); color: #fff; transform: rotate(45deg); }
.page-priser .faq p { color: var(--slate); padding-bottom: 20px; max-width: 64ch; }

/* ---- page: rapport ---- */
.page-rapport .kg { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px,4vw,72px); align-items: start; }
@media(max-width:860px){ .page-rapport .kg{grid-template-columns:1fr} }
.page-rapport .rp-top { display: flex; gap: 22px; align-items: flex-start; margin-top: 26px; }
.page-rapport .rp-cover { width: 148px; height: 188px; flex: none; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 50px -18px rgba(189,231,99,.5); }
.page-rapport .rp-meta { font-family: var(--font-mono); font-size: .78rem; color: var(--slate-2); margin-top: 14px; }
.page-rapport .form-card { background: #131514; border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-xl); padding: clamp(24px,3vw,38px); box-shadow: 0 40px 100px rgba(0,0,0,.55), 0 0 70px -20px rgba(189,231,99,.4); }
.page-rapport .field { margin-bottom: 16px; }
.page-rapport .field label { display: block; font-size: .84rem; font-weight: 500; margin-bottom: 7px; color: var(--slate); }
.page-rapport .field input { width: 100%; border: 1px solid rgba(255,255,255,.12); border-radius: 11px; padding: 12px 14px; font-size: .94rem; background: rgba(255,255,255,.05); color: #fff; }
.page-rapport .field input::placeholder { color: var(--slate-2); }
.page-rapport .field input:focus { outline: 2px solid rgba(189,231,99,.6); outline-offset: -1px; border-color: rgba(189,231,99,.6); }
.page-rapport .field input.err { border-color: #ff8a8a; outline-color: #ff8a8a; }
.page-rapport .gate-note { display: flex; gap: 9px; align-items: center; font-size: .78rem; color: var(--slate-2); margin-top: 14px; justify-content: center; }
.page-rapport .gate-note svg { width: 14px; height: 14px; color: var(--mint-bright); flex: none; }
.page-rapport .success { display: none; text-align: center; padding: 26px 8px; }
.page-rapport .success.show { display: block; } .page-rapport .form-body.hide { display: none; }
.page-rapport .success .big-ck { width: 60px; height: 60px; border-radius: 50%; background: #35b877; color: #fff; display: grid; place-items: center; margin: 0 auto 18px; box-shadow: 0 0 30px -4px rgba(53,184,119,.7); }
.page-rapport .success .big-ck svg { width: 30px; height: 30px; }

/* ---- page: research ---- */
.page-research .report-list { display: flex; flex-direction: column; gap: 14px; }
.page-research .report { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 26px; background: var(--paper); transition: .2s; }
.page-research .report:hover { border-color: var(--mint-soft); box-shadow: var(--shadow-sm); }
.page-research .report .cover { width: 64px; height: 80px; border-radius: 8px; background: linear-gradient(150deg, var(--dark-2), var(--dark)); display: grid; place-items: center; color: var(--mint); flex: none; }
.page-research .report .cover svg { width: 26px; height: 26px; }
.page-research .report .tag { margin-bottom: 8px; } .page-research .report h3 { font-size: 1.12rem; } .page-research .report p { color: var(--slate); font-size: .9rem; margin-top: 6px; max-width: 60ch; }
.page-research .report .meta { font-size: .78rem; color: var(--slate-2); font-family: var(--font-mono); margin-top: 8px; }
@media(max-width:680px){ .page-research .report{grid-template-columns:1fr;text-align:left} .page-research .report .cover{display:none} .page-research .report .btn{justify-self:start} }

/* ---- page: utvecklare ---- */
.page-utvecklare .dev-hero .lead { color: var(--slate); }
.page-utvecklare .dev-hero .eyebrow { color: var(--emerald); } .page-utvecklare .dev-hero .eyebrow::before { background: var(--emerald); }
.page-utvecklare .code-block { background: #0a1d16; border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.page-utvecklare .code-block .cb-bar { display: flex; align-items: center; gap: 6px; padding: 11px 16px; border-bottom: 1px solid rgba(255,255,255,.07); }
.page-utvecklare .code-block .cb-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.page-utvecklare .code-block .cb-bar .fn { font-family: var(--font-mono); font-size: .72rem; color: var(--on-dark-mut); margin-left: 8px; }
.page-utvecklare .code-block .cb-tabs { display: flex; gap: 4px; margin-left: auto; }
.page-utvecklare .code-block .cb-tab { font-family: var(--font-mono); font-size: .72rem; padding: 4px 10px; border-radius: 6px; color: var(--on-dark-mut); cursor: pointer; }
.page-utvecklare .code-block .cb-tab.active { background: rgba(var(--accent-rgb),.14); color: var(--mint); }
.page-utvecklare .code-block pre { margin: 0; padding: 22px; font-family: var(--font-mono); font-size: .84rem; line-height: 1.75; color: #d5e2e8; overflow: auto; }
.page-utvecklare .code-block .k { color: #ecc985; } .page-utvecklare .code-block .s { color: #ffd9a8; } .page-utvecklare .code-block .c { color: #64808b; } .page-utvecklare .code-block .p { color: #9fd0ff; } .page-utvecklare .code-block .n { color: #f0a8c8; }
.page-utvecklare .cb-pane { display: none; } .page-utvecklare .cb-pane.active { display: block; }
.page-utvecklare .dev-feat { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
@media(max-width:860px){ .page-utvecklare .dev-feat{grid-template-columns:1fr} }
.page-utvecklare .endpoint { font-family: var(--font-mono); font-size: .82rem; display: flex; align-items: center; gap: 12px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.page-utvecklare .endpoint .m { font-weight: 700; padding: 2px 8px; border-radius: 5px; font-size: .72rem; }
.page-utvecklare .endpoint .m.get { background: var(--mint-wash); color: var(--emerald-deep); } .page-utvecklare .endpoint .m.post { background: rgba(96,142,250,.16); color: #8ab0ff; }
.page-utvecklare .endpoint .path { color: var(--ink); }

/* ============================================================
   HDL Forms — theme skin. The plugin ships structural CSS only
   (custom properties with fallbacks); this maps it to the design:
   dark glass fields, pill submit, chk-pill checkboxes.
   ============================================================ */
.hdl-form {
  --hdl-form-gap: 14px;
  --hdl-form-field-bg: rgba(255,255,255,.06);
  --hdl-form-field-border: rgba(255,255,255,.12);
  --hdl-form-field-radius: 12px;
  --hdl-form-accent: rgba(var(--accent-rgb),.6);
  --hdl-form-focus-ring: rgba(var(--accent-rgb),.14);
  --hdl-form-error: #ff8a8a;
  --hdl-form-success: var(--mint-bright);
}
.hdl-form__field label, .hdl-form__group-label { font-size: .8rem; font-weight: 600; color: var(--ink); }
.hdl-form__field input, .hdl-form__field textarea, .hdl-form__field select { color: #fff; transition: border-color .16s, box-shadow .16s; }
.hdl-form__field input::placeholder, .hdl-form__field textarea::placeholder { color: var(--slate-2); }
.hdl-form__field select option { background: #131514; color: var(--ink); }
.hdl-form__submit {
  display: inline-flex; align-items: center; justify-content: center; width: 100%;
  font-family: var(--font-sans); font-weight: 500; font-size: 1.02rem; letter-spacing: -0.01em;
  padding: 15px 28px; border-radius: var(--r-pill); border: none;
  background: linear-gradient(140deg, #BDE763, #a4d24e); color: #fff;
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb),.35), 0 12px 32px -8px rgba(var(--accent-rgb),.55);
  transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .2s, background .2s;
}
.hdl-form__submit:hover { background: linear-gradient(140deg, #BDE763, #a4d24e); transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(var(--accent-rgb),.55), 0 14px 40px -8px rgba(var(--accent-rgb),.7); }
.hdl-form__checks { gap: 8px; }
.hdl-form__check { position: relative; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 8px 14px; font-size: .86rem; color: var(--slate); cursor: pointer; transition: .15s; }
.hdl-form__check input { position: absolute; opacity: 0; pointer-events: none; }
.hdl-form__check:hover { border-color: rgba(255,255,255,.3); color: var(--ink); }
.hdl-form__check:has(input:checked) { background: var(--mint-wash); border-color: rgba(var(--accent-rgb),.5); color: var(--mint-bright); }
.hdl-form__check:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.2); }
.hdl-form__notice { font-size: .98rem; }
.hdl-form__notice--success { font-weight: 500; }

/* light mode */
html[data-theme="light"] .hdl-form {
  --hdl-form-field-bg: #ffffff;
  --hdl-form-field-border: #ccd5d3;
}
html[data-theme="light"] .hdl-form__field input, html[data-theme="light"] .hdl-form__field textarea, html[data-theme="light"] .hdl-form__field select { color: var(--ink); }
html[data-theme="light"] .hdl-form__field select option { background: #fff; color: var(--ink); }
html[data-theme="light"] .hdl-form__check { border-color: #ccd5d3; background: #fff; }
html[data-theme="light"] .hdl-form__check:has(input:checked) { background: var(--mint-wash); border-color: var(--mint-soft); color: var(--emerald-deep); }

/* ============================================================
   Adjustment: dark text on lime interactive surfaces (contrast)
   Appended last so it wins. Success-green + forest bg untouched.
   ============================================================ */
.btn-primary, .chat-send, .lf-submit, .tick.yes,
.vs .logo-chip.us, .toggle-bill button.active,
.step .n, .mig-step .num, .flow-step .n, .tl-step .dot,
.lead-box .chat-ava, .cta-logo { color: #1c2b09 !important; }

/* ============================================================
   Blog article (single post) — ported from the Kepler article
   layout, re-tokenized to HDL: Poppins/JetBrains Mono, lime
   accent on light paper, forest-dark decorative surfaces.
   ============================================================ */
/* header */
.art-head-sec { padding: calc(var(--nav-h) + 44px) var(--gutter) 0; }
.art-head { max-width: 820px; margin: 0 auto; text-align: center; padding-top: 20px; }
.art-crumbs { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-2); }
.art-crumbs a { color: var(--slate); text-decoration: none; }
.art-crumbs a:hover { color: var(--emerald-deep); }
.art-tagrow { margin-top: 20px; }
.ptag { display: inline-flex; align-items: center; font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; background: var(--mint-wash); color: var(--emerald-deep); font-weight: 500; }
.art-head h1 { margin: 22px 0 0; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 600; text-wrap: balance; color: var(--ink); }
.art-head .dek { margin: 22px auto 0; max-width: 60ch; font-size: 19px; line-height: 1.55; color: var(--slate); }
.art-byline { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 30px; }
.art-byline .avatar, .author-bio .avatar { width: 44px; height: 44px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 15px; color: #1c2b09; background: linear-gradient(140deg, var(--mint), #a4d24e); }
.art-byline .who { font-size: 14.5px; font-weight: 600; text-align: left; color: var(--ink); }
.art-byline .sub { font-family: var(--font-mono); font-size: 11px; color: var(--slate-2); letter-spacing: .04em; margin-top: 3px; text-align: left; }

/* decorative cover (forest surface + lime glow + dot grid) */
.art-cover { max-width: 1120px; margin: 44px auto 0; height: clamp(260px, 32vw, 440px); border-radius: var(--r-xl); overflow: hidden; position: relative; background: linear-gradient(150deg, #17442c, #0d2818); isolation: isolate; }
.art-cover::before { content: ""; position: absolute; inset: 0; z-index: 1; background-image: radial-gradient(rgba(255, 255, 255, .10) 1px, transparent 1px); background-size: 26px 26px; }
.art-cover::after { content: ""; position: absolute; z-index: 0; left: 20%; right: 20%; bottom: -45%; height: 130%; background: radial-gradient(closest-side, rgba(189, 231, 99, .55), rgba(189, 231, 99, .22) 42%, transparent 72%); }
.art-cover .art-cover-img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.art-cover .cap { position: absolute; z-index: 2; left: 0; bottom: 0; padding: 24px 28px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }

/* reading column */
.art-body { padding: 56px var(--gutter) 96px; }
.article { max-width: 720px; margin: 0 auto; }
.article > * { margin: 0; }
.article > * + * { margin-top: 26px; }
.article p { font-size: 18px; line-height: 1.72; color: var(--ink-2); }
.article p a { color: var(--emerald); border-bottom: 1px solid rgba(92, 130, 36, .35); text-decoration: none; }
.article p a:hover { border-color: var(--emerald); }
.article h2 { font-size: 30px; line-height: 1.12; letter-spacing: -0.02em; font-weight: 600; margin-top: 48px; color: var(--ink); }
.article h3 { font-size: 21px; line-height: 1.2; letter-spacing: -0.01em; font-weight: 600; margin-top: 38px; color: var(--ink); }
.article ul, .article ol { padding-left: 24px; color: var(--ink-2); font-size: 18px; line-height: 1.7; }
.article li + li { margin-top: 9px; }
.article strong { font-weight: 700; color: var(--ink); }
.article .lead, .article > p:first-child { font-size: 21px; line-height: 1.65; color: var(--ink); }
.article hr, .article .wp-block-separator { border: 0; border-top: 1px solid var(--line); margin-top: 40px; }
.article blockquote, .article .wp-block-quote { border-left: 3px solid var(--mint); padding: 6px 0 6px 28px; margin-top: 40px; }
.article blockquote p { font-size: 24px; line-height: 1.35; letter-spacing: -0.02em; font-weight: 500; color: var(--ink); }
.article blockquote cite { display: block; margin-top: 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--slate-2); text-transform: uppercase; font-style: normal; }
.article pre, .article .wp-block-code { background: #0d2818; color: #eaf6e0; border-radius: 14px; padding: 24px 26px; overflow-x: auto; font-family: var(--font-mono); font-size: 13.5px; line-height: 1.7; }
.article code:not(pre code) { font-family: var(--font-mono); font-size: .88em; background: var(--paper-2); border: 1px solid var(--line); border-radius: 5px; padding: 2px 6px; color: var(--emerald-deep); }
.article figure figcaption { margin-top: 12px; font-size: 13.5px; color: var(--slate-2); text-align: center; font-family: var(--font-mono); letter-spacing: .03em; }
.article img { max-width: 100%; border-radius: var(--r-lg); }

/* footer meta: chips + share */
.art-foot-meta { max-width: 720px; margin: 48px auto 0; padding-top: 28px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; }
.kw-tag { font-family: var(--font-mono); font-size: 11px; color: var(--slate); background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px; padding: 5px 11px; }
.share { display: flex; gap: 8px; }
.share a { width: 40px; height: 40px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink-2); display: flex; align-items: center; justify-content: center; transition: all .14s; }
.share a:hover { border-color: var(--mint); color: var(--emerald-deep); }

/* author bio */
.author-bio { max-width: 720px; margin: 40px auto 0; display: flex; gap: 20px; padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }
.author-bio .avatar { width: 64px; height: 64px; font-size: 22px; }
.author-bio h4 { margin: 0; font-size: 17px; font-weight: 600; color: var(--ink); }
.author-bio .role { font-family: var(--font-mono); font-size: 11.5px; color: var(--emerald); letter-spacing: .05em; margin-top: 3px; text-transform: uppercase; }
.author-bio p { margin: 12px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--slate); }

/* related */
.art-related { padding: 0 var(--gutter) 96px; }
.art-related .wrap-wide { max-width: 1120px; }
.art-related-h { margin-top: 12px; font-size: clamp(26px, 3vw, 38px); }
.rel-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.rel { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; transition: transform .16s, box-shadow .16s; }
.rel:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -24px rgba(23, 68, 44, .45); }
.rel .cvr { height: 150px; position: relative; overflow: hidden; }
.rel .cvr::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .10) 1px, transparent 1px); background-size: 20px 20px; }
.rel .rb { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.rel h4 { margin: 0; font-size: 16px; line-height: 1.24; letter-spacing: -0.01em; font-weight: 600; color: var(--ink); }
.rel .rm { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-2); }
.cv-a { background: linear-gradient(150deg, #1d5c3a, #0d2818); }
.cv-b { background: linear-gradient(150deg, #35510f, #17442c); }
.cv-c { background: linear-gradient(150deg, #5c8224, #35510f 55%, #0d2818); }

/* reading progress (painted by site.js on single posts) */
.read-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--mint); z-index: 60; width: 0; transition: width .1s; }

@media (max-width: 860px) {
	.rel-posts { grid-template-columns: 1fr; }
	.author-bio { flex-direction: column; gap: 14px; }
	.article p, .article ul, .article ol { font-size: 17px; }
}

/* blog covers: featured images fill the card cover slots */
.feature-post .cover, .post .cover { position: relative; overflow: hidden; }
.feature-post .cover .cover-img, .post .cover .cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.rel .cvr .cvr-img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; display: block; }

/* covers with a real image: true 16:9, uncropped, no decorative overlays
   (the generated cover art carries its own gradient/branding/text) */
.art-cover.has-img { height: auto; aspect-ratio: 16/9; background: none; }
.art-cover.has-img::before, .art-cover.has-img::after { display: none; }
.art-cover.has-img .art-cover-img { position: static; inset: auto; }
.page-blogg .feature-post .cover.has-img { aspect-ratio: 16/9; background: none; align-self: stretch; }
.page-blogg .post .cover.has-img { aspect-ratio: 16/9; background: none; }
.rel .cvr.has-img { height: auto; aspect-ratio: 16/9; }
.rel .cvr.has-img::before { display: none; }

/* blog category filter chips */
.blog-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.blog-filters button { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; cursor: pointer; transition: all .14s; }
.blog-filters button .n { color: var(--slate-2); margin-left: 4px; }
.blog-filters button:hover { border-color: var(--mint); color: var(--emerald-deep); }
.blog-filters button.active { background: var(--mint); border-color: var(--mint); color: #1c2b09; font-weight: 600; }
.blog-filters button.active .n { color: rgba(28, 43, 9, .65); }

/* language switcher (hdl-language markup: ul.hdl-language-switcher > li.hdl-lang-xx) */
.nav-actions .hdl-language-switcher { display: flex; gap: 2px; list-style: none; margin: 0 4px 0 0; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper-2); }
.hdl-language-switcher li { list-style: none; }
.hdl-language-switcher a { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); padding: 5px 10px; border-radius: 999px; text-decoration: none; transition: all .14s; }
.hdl-language-switcher li.current a { background: var(--mint); color: #1c2b09; font-weight: 600; }
.hdl-language-switcher a:hover { color: var(--emerald-deep); }
.mobile-menu .hdl-language-switcher { display: flex; gap: 8px; list-style: none; padding: 8px 0 0; }
