/* GENERATED by site/_build/build-home.mjs (CL-314). Do not edit: change site/_build/home/styles/ (and the shared files it lists) and build.
   Home's style blocks, in page order. */
:root{--p-obsidian:#060A12;--p-midnight:#0A1424;--p-ink:#0B1930;--p-amber:#F59E0B;--p-citron:#FDE047;--p-blue:#0284C7;--p-gold:#B45309;--p-linen:#FAF8F5;--p-ivory:#F5F1E9;--p-amber-deep:#D97706;--p-amber-brown:#92400E;--p-amber-light:#FCD34D;--p-amber-pale:#FDE68A;--p-blue-deep:#0369A1;--p-sky:#38BDF8;--p-sky-pale:#7DD3FC;--p-emerald:#10B981;--p-emerald-deep:#047857;--p-void:#03060C;--p-navy:#0B1324;--p-surface:#0F1B31;--p-slate-50:#F8FAFC;--p-slate-100:#F1F5F9;--p-slate-200:#E2E8F0;--p-slate-300:#CBD5E1;--p-slate-350:#A3B0C2;--p-slate-400:#94A3B8;--p-slate-600:#46506A;--p-white:#FFFFFF;--p-black:#000000;--f-head:'Montserrat','Montserrat AKfb','Inter','Inter AKfb',sans-serif;--f-body:'Inter','Inter AKfb',sans-serif;--f-alt:'Space Grotesk','Space Grotesk AKfb',sans-serif;--f-mono:'JetBrains Mono','JetBrains Mono AKfb',monospace;--btn-blue:var(--mx-sec,var(--p-blue));--btn-blue-fill:color-mix(in srgb,var(--btn-blue) 80%,var(--p-black));--btn-blue-ink:var(--p-white);--btn-out-ink:color-mix(in srgb,var(--btn-blue) 42%,var(--p-white));--btn-out-ink-day:color-mix(in srgb,var(--btn-blue) 78%,var(--p-black));--btn-line-night:rgba(255,255,255,0.42);--btn-line-day:rgba(11,25,48,0.42);}@supports (color:oklch(from red l calc(c * 1.15) h)){@media (color-gamut:p3){:root{--x-p-amber:oklch(from var(--p-amber) l calc(c * 1.15) h);--x-p-citron:oklch(from var(--p-citron) l calc(c * 1.15) h);--x-p-gold:oklch(from var(--p-gold) l calc(c * 1.15) h);--x-p-amber-deep:oklch(from var(--p-amber-deep) l calc(c * 1.15) h);--x-p-amber-brown:oklch(from var(--p-amber-brown) l calc(c * 1.15) h);--x-p-amber-light:oklch(from var(--p-amber-light) l calc(c * 1.15) h);--x-p-amber-pale:oklch(from var(--p-amber-pale) l calc(c * 1.15) h);--x-p-blue:oklch(from var(--p-blue) l calc(c * 1.15) h);--x-p-blue-deep:oklch(from var(--p-blue-deep) l calc(c * 1.15) h);--x-p-sky:oklch(from var(--p-sky) l calc(c * 1.15) h);--x-p-sky-pale:oklch(from var(--p-sky-pale) l calc(c * 1.15) h);--x-p-emerald:oklch(from var(--p-emerald) l calc(c * 1.15) h);--x-p-emerald-deep:oklch(from var(--p-emerald-deep) l calc(c * 1.15) h);--x-ak-amber:oklch(from var(--ak-amber) l calc(c * 1.15) h);--x-ak-citron:oklch(from var(--ak-citron) l calc(c * 1.15) h);--x-ak-gold:oklch(from var(--ak-gold) l calc(c * 1.15) h);--x-ak-emerald:oklch(from var(--ak-emerald) l calc(c * 1.15) h);--x-ak-sky:oklch(from var(--ak-sky) l calc(c * 1.15) h);--x-ak-lerp-blue:oklch(from var(--ak-lerp-blue) l calc(c * 1.15) h);--x-ak-lerp-sky:oklch(from var(--ak-lerp-sky) l calc(c * 1.15) h);--x-ak-border:oklch(from var(--ak-border) l calc(c * 1.15) h);--x-ak-focus-outer:oklch(from var(--ak-focus-outer) l calc(c * 1.15) h);--x-mx-pri:oklch(from var(--mx-pri) l calc(c * 1.15) h);--x-mx-pri-soft:oklch(from var(--mx-pri-soft) l calc(c * 1.15) h);--x-mx-pri-deep:oklch(from var(--mx-pri-deep) l calc(c * 1.15) h);--x-mx-sec:oklch(from var(--mx-sec) l calc(c * 1.15) h);--x-mx-sec-soft:oklch(from var(--mx-sec-soft) l calc(c * 1.15) h);--x-mx-sec-deep:oklch(from var(--mx-sec-deep) l calc(c * 1.15) h);--x-mx-hi:oklch(from var(--mx-hi) l calc(c * 1.15) h);--x-mx-day-pri:oklch(from var(--mx-day-pri) l calc(c * 1.15) h);--x-mx-day-sec:oklch(from var(--mx-day-sec) l calc(c * 1.15) h);--x-mx-text-pri:oklch(from var(--mx-text-pri) l calc(c * 1.15) h);--x-mx-text-mid:oklch(from var(--mx-text-mid) l calc(c * 1.15) h);--x-mx-text-sec:oklch(from var(--mx-text-sec) l calc(c * 1.15) h);--x-mx-logo-sol3:oklch(from var(--mx-logo-sol3) l calc(c * 1.15) h);--x-mx-logo-lb1:oklch(from var(--mx-logo-lb1) l calc(c * 1.15) h);--x-mx-logo-lb3:oklch(from var(--mx-logo-lb3) l calc(c * 1.15) h);--x-tryout-accent-text:oklch(from var(--tryout-accent-text) l calc(c * 1.15) h);--x-tryout-btn-bg:oklch(from var(--tryout-btn-bg) l calc(c * 1.15) h);--x-tryout-btn-border:oklch(from var(--tryout-btn-border) l calc(c * 1.15) h);--x-tryout-hairline:oklch(from var(--tryout-hairline) l calc(c * 1.15) h);--x-tryout-sec-btn-border:oklch(from var(--tryout-sec-btn-border) l calc(c * 1.15) h);--x-tryout-sec-btn-text:oklch(from var(--tryout-sec-btn-text) l calc(c * 1.15) h);}:root:not([data-mix]) body,:root[data-mix="AKAREC Signature"] body{--p-amber:var(--x-p-amber);--p-citron:var(--x-p-citron);--p-gold:var(--x-p-gold);--p-amber-deep:var(--x-p-amber-deep);--p-amber-brown:var(--x-p-amber-brown);--p-amber-light:var(--x-p-amber-light);--p-amber-pale:var(--x-p-amber-pale);--p-blue:var(--x-p-blue);--p-blue-deep:var(--x-p-blue-deep);--p-sky:var(--x-p-sky);--p-sky-pale:var(--x-p-sky-pale);--p-emerald:var(--x-p-emerald);--p-emerald-deep:var(--x-p-emerald-deep);--ak-amber:var(--x-ak-amber);--ak-citron:var(--x-ak-citron);--ak-gold:var(--x-ak-gold);--ak-emerald:var(--x-ak-emerald);--ak-sky:var(--x-ak-sky);--ak-lerp-blue:var(--x-ak-lerp-blue);--ak-lerp-sky:var(--x-ak-lerp-sky);--ak-border:var(--x-ak-border);--ak-focus-outer:var(--x-ak-focus-outer);--mx-pri:var(--x-mx-pri);--mx-pri-soft:var(--x-mx-pri-soft);--mx-pri-deep:var(--x-mx-pri-deep);--mx-sec:var(--x-mx-sec);--mx-sec-soft:var(--x-mx-sec-soft);--mx-sec-deep:var(--x-mx-sec-deep);--mx-hi:var(--x-mx-hi);--mx-day-pri:var(--x-mx-day-pri);--mx-day-sec:var(--x-mx-day-sec);--mx-text-pri:var(--x-mx-text-pri);--mx-text-mid:var(--x-mx-text-mid);--mx-text-sec:var(--x-mx-text-sec);--mx-logo-sol3:var(--x-mx-logo-sol3);--mx-logo-lb1:var(--x-mx-logo-lb1);--mx-logo-lb3:var(--x-mx-logo-lb3);--tryout-accent-text:var(--x-tryout-accent-text);--tryout-btn-bg:var(--x-tryout-btn-bg);--tryout-btn-border:var(--x-tryout-btn-border);--tryout-hairline:var(--x-tryout-hairline);--tryout-sec-btn-border:var(--x-tryout-sec-btn-border);--tryout-sec-btn-text:var(--x-tryout-sec-btn-text);}}}

    @font-face { font-family: 'Inter AKfb'; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; src: local('Arial'); font-weight: 100 500; size-adjust: 105.67%; ascent-override: 91.79%; descent-override: 22.71%; line-gap-override: 0%; }
    @font-face { font-family: 'Inter AKfb'; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; src: local('Arial Bold'), local('Arial-BoldMT'); font-weight: 600 900; size-adjust: 101.7%; ascent-override: 95.4%; descent-override: 23.6%; line-gap-override: 0%; }
    @font-face { font-family: 'Montserrat AKfb'; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; src: local('Arial'); font-weight: 100 500; size-adjust: 112%; ascent-override: 86.6%; descent-override: 22.4%; line-gap-override: 0%; }
    @font-face { font-family: 'Montserrat AKfb'; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; src: local('Arial Bold'), local('Arial-BoldMT'); font-weight: 600 900; size-adjust: 107%; ascent-override: 90.6%; descent-override: 23.4%; line-gap-override: 0%; }
    @font-face { font-family: 'Montserrat AKfbM'; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; src: local('Arial Bold'), local('Arial-BoldMT'); font-weight: 100 900; size-adjust: 112.3%; ascent-override: 86.4%; descent-override: 22.3%; line-gap-override: 0%; } /* mixed-case line under the hero carousel */
    @font-face { font-family: 'Space Grotesk AKfb'; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; src: local('Arial'); font-weight: 100 500; size-adjust: 106.11%; ascent-override: 92.36%; descent-override: 27.33%; line-gap-override: 0%; }
    @font-face { font-family: 'Space Grotesk AKfb'; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; src: local('Arial Bold'), local('Arial-BoldMT'); font-weight: 600 900; size-adjust: 99.98%; ascent-override: 98.02%; descent-override: 29.01%; line-gap-override: 0%; }
    @font-face { font-family: 'Instrument Sans AKfb'; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; src: local('Arial'); font-weight: 100 500; size-adjust: 102.65%; ascent-override: 94.5%; descent-override: 24.36%; line-gap-override: 0%; }
    @font-face { font-family: 'Instrument Sans AKfb'; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; src: local('Arial Bold'), local('Arial-BoldMT'); font-weight: 600 900; size-adjust: 100%; ascent-override: 97%; descent-override: 25%; line-gap-override: 0%; }
    @font-face { font-family: 'Syne AKfb'; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; src: local('Arial Bold'), local('Arial-BoldMT'); font-weight: 100 900; size-adjust: 166.16%; ascent-override: 55.97%; descent-override: 16.85%; line-gap-override: 0%; }
    @font-face { font-family: 'JetBrains Mono AKfb'; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; src: local('Courier New'), local('CourierNewPSMT'); font-weight: 100 500; size-adjust: 100%; ascent-override: 102.02%; descent-override: 30%; line-gap-override: 0%; }
    @font-face { font-family: 'JetBrains Mono AKfb'; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; src: local('Courier New Bold'), local('CourierNewPS-BoldMT'); font-weight: 600 900; size-adjust: 100%; ascent-override: 102.02%; descent-override: 30%; line-gap-override: 0%; }
  

/* =============================================================================
   AKAREC SIGNATURE FEATURES (CL-143): styles for the custom cursor, the "Mix the brand colors"
   bar (bottom right) and the Random Aura / Random Texture toolbar (bottom left).
   Shared by site/index.html and every page built from site/_build/template.html; the behaviour
   lives in /js/akarec-brand-mixer.js. Frank, 2026-11-21: signature features, never remove,
   hide or shrink them (CLAUDE.md). Sections 1-6 were moved here unchanged from site/index.html.
   ============================================================================= */

/* ---------- 1. Surface textures (Random Texture; on home they finish the Brand Studio card and hero stage) ---------- */
/* =========================================================================
   2. TACTILE SURFACE TEXTURES (5 LIVE SHADERS)
   ========================================================================= */
.tex-brushed-obsidian {
  background-color: var(--p-obsidian);
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.018) 0px, rgba(255,255,255,0.018) 1px, transparent 1px, transparent 3px),
    radial-gradient(circle at 80% 20%, rgba(2, 132, 199, 0.16), transparent 60%),
    linear-gradient(135deg, var(--p-navy) 0%, #050811 65%, #090E1A 100%);
}
.tex-carbon-weave {
  background-color: #070A12;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.06) 15%, transparent 16%),
    radial-gradient(rgba(255, 255, 255, 0.06) 15%, transparent 16%),
    linear-gradient(135deg, #0F172A 0%, #05070C 100%);
  background-size: 8px 8px, 8px 8px, 100% 100%;
  background-position: 0 0, 4px 4px, 0 0;
}
.tex-architectural-linen {
  background-color: #161412;
  background-image:
    repeating-linear-gradient(0deg, rgba(250, 248, 245, 0.035) 0px, rgba(250, 248, 245, 0.035) 1px, transparent 1px, transparent 4px),
    repeating-linear-gradient(90deg, rgba(250, 248, 245, 0.035) 0px, rgba(250, 248, 245, 0.035) 1px, transparent 1px, transparent 4px),
    linear-gradient(135deg, #1E1B18 0%, #0C0A09 100%);
}
.tex-hammered-gold {
  background-color: #130D04;
  background-image:
    radial-gradient(ellipse at 30% 40%, rgba(253, 224, 71, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 70%, rgba(217, 119, 6, 0.18) 0%, transparent 55%),
    linear-gradient(135deg, #271A07 0%, #0C0802 70%, #1C1104 100%);
}
.tex-blueprint {
  background-color: #060D1A;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.09) 1px, transparent 1px),
    linear-gradient(135deg, #071326 0%, #040811 100%);
  background-size: 28px 28px, 28px 28px, 100% 100%;
}

/* ---------- 2. Cursor lens + dot (never blocks clicks) ---------- */
/* =========================================================================
   4. CONTEXT-AWARE TRANSLUCENT CURSOR FOLLOWER (NEVER BLOCKS CLICKS)
   ========================================================================= */
#cursor-lens, #cursor-dot {
  pointer-events: none !important;
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  z-index: 9999;
}
#cursor-lens {
  width: 46px;
  height: 46px;
  border: 1.5px solid rgba(245, 158, 11, 0.55);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
  transition: width 0.22s ease, height 0.22s ease, border-color 0.22s ease, background 0.22s ease, border-radius 0.22s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
#cursor-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ak-citron);
  box-shadow: 0 0 12px var(--ak-amber);
  z-index: 10000;
}
#cursor-tag {
  pointer-events: none !important;
  position: absolute;
  top: calc(100% + 6px);
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(6, 10, 18, 0.92);
  color: var(--ak-citron);
  border: 1px solid rgba(245, 158, 11, 0.4);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease;
}
body.cursor-hover-btn #cursor-lens {
  width: 68px;
  height: 68px;
  border-color: var(--ak-lerp-sky);
  background: rgba(2, 132, 199, 0.16);
}
body.cursor-hover-btn #cursor-tag { opacity: 1; color: var(--ak-lerp-sky); border-color: var(--ak-lerp-sky); }
body.cursor-hover-card #cursor-lens {
  width: 82px;
  height: 82px;
  border-color: var(--ak-citron);
  background: radial-gradient(circle, rgba(253, 224, 71, 0.22) 0%, transparent 72%);
}
body.cursor-hover-card #cursor-tag { opacity: 1; }
body.cursor-hover-emerald #cursor-lens {
  width: 66px;
  height: 66px;
  border-color: var(--p-emerald);
  background: rgba(16, 185, 129, 0.16);
}
body.cursor-hover-emerald #cursor-tag { opacity: 1; color: var(--p-emerald); border-color: var(--p-emerald); }
/* CL-321 (Frank 2026-11-29: "i want the cursor/circle from mouse to turn my emerald green when target is verified"):
   whenever the tag reads [ TARGET VERIFIED ], the lens and the tag are emerald (the lens keeps its size for buttons / cards) */
body.cursor-verified #cursor-lens { border-color: var(--p-emerald) !important; background: radial-gradient(circle, rgba(16, 185, 129, 0.24) 0%, rgba(16, 185, 129, 0.10) 72%) !important; box-shadow: 0 0 22px -4px var(--p-emerald); }
body.cursor-verified #cursor-tag { color: var(--p-emerald) !important; border-color: var(--p-emerald) !important; }
@media (pointer: coarse) {
  #cursor-lens, #cursor-dot { display: none !important; }
}

/* ---------- 3. Brand mixer bar, bottom right (CL-016) ---------- */
/* 1. Brand Mixer: always available, bottom right */
.brand-mixer {
  position: fixed; right: 16px; bottom: 16px; z-index: 1600;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
  font-family: 'Inter', 'Inter AKfb', system-ui, sans-serif; color: var(--p-linen);
  max-width: calc(100vw - 32px);
}
.bm-toggle {
  appearance: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.65rem;
  min-height: 50px; padding: 0.55rem 1.05rem; border-radius: 999px;
  background: linear-gradient(180deg, #131C2E 0%, var(--p-obsidian) 100%); color: var(--p-linen);
  border: 1.5px solid var(--p-amber); font: 600 0.95rem 'Inter', 'Inter AKfb', sans-serif;
  box-shadow: 0 12px 30px rgba(0,0,0,0.6), 0 0 22px -6px rgba(245,158,11,0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bm-toggle:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0,0,0,0.65), 0 0 28px -4px rgba(245,158,11,0.75); }
.bm-toggle:focus-visible, .bm-btn:focus-visible, .bm-swatch:focus-visible { outline: 2px solid var(--p-citron); outline-offset: 3px; }
.bm-toggle__dots { display: inline-flex; }
.bm-toggle__dots i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--p-obsidian); margin-left: -6px; display: block; }
.bm-toggle__dots i:first-child { margin-left: 0; background: var(--ak-amber); }
.bm-toggle__dots i:nth-child(2) { background: var(--ak-lerp-blue); }
.bm-toggle__dots i:nth-child(3) { background: var(--ak-citron); }
.bm-toggle__now { font-weight: 500; font-size: 0.82rem; color: #D4B483; padding-left: 0.65rem; border-left: 1px solid rgba(255,255,255,0.22); }
.bm-toggle__chev { font-size: 0.8rem; transition: transform 0.2s ease; }
.brand-mixer:not(.is-collapsed) .bm-toggle__chev { transform: rotate(180deg); }
.bm-panel {
  width: min(460px, calc(100vw - 32px)); padding: 1.1rem; border-radius: 16px;
  background: rgba(8, 13, 24, 0.97); border: 1px solid rgba(245,158,11,0.45);
  box-shadow: 0 26px 60px rgba(0,0,0,0.75); backdrop-filter: blur(14px);
  max-height: min(70vh, 560px); overflow-y: auto;
}
.bm-head { display: flex; flex-direction: column; gap: 0.2rem; margin-bottom: 0.85rem; }
.bm-head strong { font: 800 1.1rem 'Montserrat', 'Montserrat AKfb', 'Inter', 'Inter AKfb', sans-serif; }
.bm-head span { font-size: 0.86rem; color: var(--p-slate-300); }
.bm-swatches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
.bm-swatch {
  appearance: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  padding: 0.6rem 0.4rem; border-radius: 12px; background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.14); color: var(--p-slate-100); font: 600 0.8rem/1.2 'Inter', 'Inter AKfb', sans-serif; text-align: center;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.bm-swatch:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.45); }
.bm-swatch.is-active { border-color: var(--p-citron); background: rgba(245,158,11,0.14); box-shadow: 0 0 18px -4px rgba(245,158,11,0.6); }
.bm-swatch__chip { width: 100%; height: 30px; border-radius: 8px; display: flex; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,0.5), 0 0 0 2px rgba(0,0,0,0.35); }
.bm-swatch__chip i { display: block; height: 100%; min-width: 0; }   /* CL-311: exact color blocks, no blend, a fine ring */
html[data-theme="day"] .bm-swatch__chip { box-shadow: 0 0 0 1px #fff, 0 0 0 2px rgba(11,25,48,0.25); }
.bm-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; margin-top: 0.85rem; }
.bm-btn {
  appearance: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 44px; padding: 0.5rem 0.8rem; border-radius: 10px; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.22); color: var(--p-linen); font: 600 0.88rem 'Inter', 'Inter AKfb', sans-serif;
}
.bm-btn:hover { border-color: var(--p-amber); }
.bm-btn--primary { background: linear-gradient(180deg, #FBBF24 0%, var(--p-amber) 100%); color: var(--p-obsidian); border-color: var(--p-citron); }
.bm-custom { margin-top: 0.8rem; font-size: 0.86rem; color: var(--p-slate-300); }
.bm-custom summary { cursor: pointer; font-weight: 600; padding: 0.3rem 0; }
.bm-custom__row { display: flex; flex-wrap: wrap; gap: 0.9rem; padding-top: 0.5rem; }
.bm-custom__row label { display: inline-flex; align-items: center; gap: 0.4rem; }
.bm-custom__row input[type="color"] { width: 40px; height: 32px; padding: 0; border: 1px solid rgba(255,255,255,0.3); border-radius: 6px; background: none; cursor: pointer; }
@media (max-width: 760px) {
  .brand-mixer { right: 12px; bottom: 12px; }
  .bm-toggle__now { display: none; }
}
@media (prefers-reduced-motion: reduce) { .bm-toggle, .bm-swatch { transition: none; } }

/* ---------- 4. Mixer chevron pulse + 10 s auto-tuck hint ---------- */
/* Brand Mixer Pulsing Chevron & 10s Auto-Tuck Cue */
@keyframes bmChevronPulse {
  0%, 100% { transform: rotate(180deg) translateY(0); color: var(--p-citron); }
  50% { transform: rotate(180deg) translateY(-3px); color: var(--p-white); }
}
.brand-mixer:not(.is-collapsed) .bm-toggle__chev {
  animation: bmChevronPulse 1.3s ease-in-out infinite;
  display: inline-block;
}
.bm-autohide-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  color: var(--p-slate-400);
  padding-top: 0.55rem;
  margin-top: 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.bm-autohide-hint strong {
  color: var(--mx-hi, var(--p-citron));
  cursor: pointer;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
}
.bm-autohide-hint strong:hover {
  background: rgba(245, 158, 11, 0.2);
  color: var(--p-white);
}

/* ---------- 5. Random Aura / Random Texture toolbar, bottom left ---------- */
/* New 2-Button Random Aura + Random Texture Floating Dock (Bottom-Left) */
.ak-quick-shuffler {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 1650;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(19, 28, 46, 0.96) 0%, rgba(6, 10, 18, 0.98) 100%);
  border: 1.5px solid var(--mx-pri, var(--p-amber));
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.65),
    0 0 22px -6px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 55%, transparent);
  backdrop-filter: blur(12px);
  font-family: 'Inter', 'Inter AKfb', system-ui, sans-serif;
}
.ak-quick-shuffler__btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: var(--p-linen);
  font: 700 0.78rem/1 'Inter', 'Inter AKfb', sans-serif;
  padding: 0.58rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  white-space: nowrap;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.ak-quick-shuffler__btn:hover {
  transform: translateY(-2px);
  border-color: var(--mx-hi, var(--p-citron));
  background: color-mix(in srgb, var(--mx-pri, var(--p-amber)) 22%, rgba(255, 255, 255, 0.08));
  box-shadow: 0 6px 16px -4px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 55%, transparent);
}
.ak-quick-shuffler__btn:active {
  transform: translateY(0);
}
.ak-quick-shuffler__btn:focus-visible {
  outline: 2px solid var(--mx-hi, var(--p-citron));
  outline-offset: 2px;
}
.ak-quick-shuffler__toast {
  position: absolute;
  left: 8px;
  bottom: calc(100% + 8px);
  background: rgba(6, 10, 18, 0.95);
  color: var(--mx-hi, var(--p-citron));
  border: 1px solid var(--mx-pri, var(--p-amber));
  border-radius: 8px;
  padding: 0.32rem 0.65rem;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
}
.ak-quick-shuffler__toast.is-showing {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 760px) {
  .ak-quick-shuffler {
    left: 10px;
    bottom: 12px;
    padding: 4px;
    gap: 4px;
  }
  .ak-quick-shuffler__btn {
    padding: 0.5rem 0.68rem;
    font-size: 0.72rem;
  }
  .ak-quick-shuffler__btn span.shuf-lbl-full {
    display: none;
  }
  .ak-quick-shuffler__btn span.shuf-lbl-short {
    display: inline !important;
  }
}

/* ---------- 6. "Put it back" (CL-028) ---------- */
/* "Put it back" button in the bottom-left dock; appears once something has changed */
/* Sits just above the dock (never beside it), so it never covers the color-mixer button */
html #akPutItBack {
  display: none; align-items: center; gap: 0.4rem;
  position: absolute; left: 5px; bottom: calc(100% + 8px);
  background: linear-gradient(180deg, #0F2A22 0%, #06120E 100%) !important;
  border: 1.5px solid var(--p-emerald) !important; color: #A7F3D0 !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55), 0 0 18px -4px rgba(16, 185, 129, 0.7);
}
html #akPutItBack.is-showing { display: inline-flex; animation: akPopIn 0.32s cubic-bezier(0.22, 1.35, 0.36, 1); }
html #akPutItBack .shuf-lbl-full { display: inline !important; }
.ak-quick-shuffler:has(#akPutItBack.is-showing) .ak-quick-shuffler__toast { bottom: calc(100% + 52px); }
@keyframes akPopIn { from { transform: scale(0.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { html #akPutItBack.is-showing { animation: none; } }
@media (max-width: 640px) { html #akPutItBack { min-height: 38px; padding: 0.5rem 0.9rem !important; font-size: 0.82rem !important; } }

/* ---------- 7. Built pages only (html.akp-root, from site/_build/template.html) ---------- */
/* Page tokens the mixer needs; brand colours in akarec-pages.css read var(--mx-*, <default>) so a mix recolours them. */
html.akp-root { --ak-lerp-blue: var(--p-blue); --ak-lerp-sky: var(--ak-sky); }
html.akp-root[data-mix] { --ak-sky: var(--ak-lerp-sky); --ak-gold: var(--mx-pri-deep); }
html.akp-root[data-mix]:not([data-theme="day"]) {
  --ak-border: color-mix(in srgb, var(--mx-pri) 28%, transparent);
  --ak-midnight: color-mix(in srgb, var(--mx-sec-deep) 22%, var(--mx-bg-dark));
}
html.akp-root[data-mix][data-theme="day"] { --ak-midnight: color-mix(in srgb, var(--mx-sec) 8%, #F3F1EC); }
/* the header logo follows the mix (painted before first frame, no flash) */
html.akp-root[data-mix] #solarAmberGrad stop:nth-child(1) { stop-color: var(--mx-hi); }
html.akp-root[data-mix] #solarAmberGrad stop:nth-child(2) { stop-color: var(--mx-pri); }
html.akp-root[data-mix] #solarAmberGrad stop:nth-child(3) { stop-color: var(--mx-logo-sol3); }
html.akp-root[data-mix] #lerpBlueGrad stop:nth-child(1) { stop-color: var(--mx-logo-lb1); }
html.akp-root[data-mix] #lerpBlueGrad stop:nth-child(2) { stop-color: var(--mx-sec); }
html.akp-root[data-mix] #lerpBlueGrad stop:nth-child(3) { stop-color: var(--mx-logo-lb3); }

/* Random Texture on built pages: the finish lies over the page's first section (the hero), like the hero stage on home */
html.akp-root[data-texture] main > section:first-of-type { position: relative; isolation: isolate; }
html.akp-root[data-texture] main > section:first-of-type::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
html.akp-root[data-texture="tex-carbon-weave"] main > section:first-of-type::after {
  background-image: radial-gradient(rgba(255,255,255,0.09) 15%, transparent 16%), radial-gradient(rgba(255,255,255,0.09) 15%, transparent 16%), linear-gradient(135deg, rgba(15,23,42,0.55) 0%, rgba(5,7,12,0.35) 100%);
  background-size: 8px 8px, 8px 8px, 100% 100%; background-position: 0 0, 4px 4px, 0 0;
}
html.akp-root[data-texture="tex-architectural-linen"] main > section:first-of-type::after {
  background-image: repeating-linear-gradient(0deg, rgba(250,248,245,0.06) 0px, rgba(250,248,245,0.06) 1px, transparent 1px, transparent 4px), repeating-linear-gradient(90deg, rgba(250,248,245,0.06) 0px, rgba(250,248,245,0.06) 1px, transparent 1px, transparent 4px), linear-gradient(135deg, rgba(30,27,24,0.6) 0%, rgba(12,10,9,0.4) 100%);
}
html.akp-root[data-texture="tex-hammered-gold"] main > section:first-of-type::after {
  background-image: radial-gradient(ellipse at 30% 40%, rgba(253,224,71,0.16) 0%, transparent 50%), radial-gradient(ellipse at 75% 70%, rgba(217,119,6,0.2) 0%, transparent 55%), linear-gradient(135deg, rgba(39,26,7,0.6) 0%, rgba(12,8,2,0.35) 70%, rgba(28,17,4,0.55) 100%);
}
html.akp-root[data-texture="tex-blueprint"] main > section:first-of-type::after {
  background-image: linear-gradient(rgba(56,189,248,0.13) 1px, transparent 1px), linear-gradient(90deg, rgba(56,189,248,0.13) 1px, transparent 1px), linear-gradient(135deg, rgba(7,19,38,0.55) 0%, rgba(4,8,17,0.3) 100%);
  background-size: 28px 28px, 28px 28px, 100% 100%;
}
html.akp-root[data-theme="day"][data-texture="tex-carbon-weave"] main > section:first-of-type::after {
  background-image: radial-gradient(rgba(11,25,48,0.1) 15%, transparent 16%), radial-gradient(rgba(11,25,48,0.1) 15%, transparent 16%), linear-gradient(135deg, rgba(203,213,225,0.45) 0%, rgba(241,245,249,0.2) 100%);
}
html.akp-root[data-theme="day"][data-texture="tex-architectural-linen"] main > section:first-of-type::after {
  background-image: repeating-linear-gradient(0deg, rgba(60,40,10,0.07) 0px, rgba(60,40,10,0.07) 1px, transparent 1px, transparent 4px), repeating-linear-gradient(90deg, rgba(60,40,10,0.07) 0px, rgba(60,40,10,0.07) 1px, transparent 1px, transparent 4px), linear-gradient(135deg, rgba(234,224,205,0.6) 0%, rgba(245,241,233,0.3) 100%);
}
html.akp-root[data-theme="day"][data-texture="tex-hammered-gold"] main > section:first-of-type::after {
  background-image: radial-gradient(ellipse at 30% 40%, rgba(234,179,8,0.22) 0%, transparent 50%), radial-gradient(ellipse at 75% 70%, rgba(217,119,6,0.18) 0%, transparent 55%), linear-gradient(135deg, rgba(254,243,199,0.6) 0%, rgba(253,230,138,0.25) 100%);
}
html.akp-root[data-theme="day"][data-texture="tex-blueprint"] main > section:first-of-type::after {
  background-image: linear-gradient(rgba(3,105,161,0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(3,105,161,0.12) 1px, transparent 1px), linear-gradient(135deg, rgba(224,242,254,0.6) 0%, rgba(240,249,255,0.3) 100%);
}

/* "Save my colors" on built pages: the colour codes to keep, plus the way to the home Brand Studio */
.akmx-modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 1rem; background: rgba(3, 6, 12, 0.72); backdrop-filter: blur(6px); }
.akmx-modal[hidden] { display: none; }
.akmx-modal__box {
  width: min(460px, 100%); max-height: calc(100vh - 2rem); overflow-y: auto; display: grid; gap: 0.9rem; padding: 1.5rem; --ak-pop-pt: 1.5rem; --ak-pop-px: 1.5rem; --ak-pop-bg: rgb(8, 13, 24); border-radius: 16px;
  background: rgba(8, 13, 24, 0.98); border: 1px solid color-mix(in srgb, var(--mx-pri, var(--p-amber)) 45%, transparent); color: var(--p-linen);
  font-family: 'Inter', 'Inter AKfb', system-ui, sans-serif; box-shadow: 0 26px 60px rgba(0, 0, 0, 0.75);
}
.akmx-modal__head { display: flex; margin-bottom: -0.3rem; justify-content: space-between; align-items: center; gap: 1rem; }
.akmx-modal__head h2 { font: 800 1.3rem/1.2 'Montserrat', 'Montserrat AKfb', 'Inter', sans-serif; }
.akmx-modal__close { appearance: none; cursor: pointer; min-height: 44px; padding: 0.4rem 0.9rem; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.22); color: var(--p-linen); font: 600 0.88rem 'Inter', 'Inter AKfb', sans-serif; }
@media (max-width: 640px) { .akmx-modal__box { --ak-pop-pt: 0.6rem; padding-top: 0.6rem; } }
.akmx-modal p { color: var(--p-slate-300); font-size: 0.95rem; }
.akmx-modal a:not(.ak-button) { color: var(--mx-hi, var(--p-citron)); }
.akmx-codes { list-style: none; display: grid; gap: 0.4rem; font: 600 0.9rem/1.3 'JetBrains Mono', 'JetBrains Mono AKfb', monospace; }
.akmx-codes li { display: flex; align-items: center; gap: 0.6rem; }
.akmx-codes i { width: 22px; height: 22px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.3); display: inline-block; }
.akmx-modal .ak-button { width: 100%; }
.akmx-modal .ak-button--ghost { color: var(--p-linen); border-color: rgba(255, 255, 255, 0.3); }

/* CL-154 (Fable): on touch screens the two toolbar buttons are a full 44 px tall (the toolbar never shrinks; CLAUDE.md) */
@media (max-width: 899px), (pointer: coarse) {
  .ak-quick-shuffler__btn { min-height: 44px; }
  .ak-quick-shuffler__btn span.shuf-lbl-short { font-size: 0.84rem; }
  html #akPutItBack { min-height: 44px; }
  .bm-toggle { min-height: 48px; }
}

/* CL-158 (Fable): on narrow phones the two bars stack instead of colliding. "Mix the brand colors" sits at the bottom,
   Random Aura / Random Texture just above it, both full size and fully tappable (neither is shrunk or hidden; CLAUDE.md).
   From 521 px up they fit side by side as before. */
.bm-toggle { white-space: nowrap; }
@media (max-width: 520px) {
  .brand-mixer { right: 10px; bottom: 10px; max-width: calc(100vw - 20px); }
  .ak-quick-shuffler { left: 10px; bottom: 68px; }
  .brand-mixer:not(.is-collapsed) { z-index: 1700; }                       /* the open colour panel lies over the toolbar, not under it */
  html body > footer, html body .akp-footer { padding-bottom: 9.5rem !important; }   /* the last footer links clear both bars */
}

/* ---------- 8. First-visit hints and the one toast (js/akarec-nudges.js, CL-201) ---------- */
/* They sit ABOVE the bars (the script measures where the bars are) and never cover, move or shrink them.
   Dark in Day and in Night, like the bars themselves; the outline and link follow the visitor's mix. */
.ak-hint, .ak-toast {
  position: fixed; z-index: 1590; max-width: min(calc(100vw - 20px), 420px);
  display: flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.25rem 0.35rem 0.9rem;
  border: 1px solid var(--mx-pri, var(--p-amber)); border-radius: 12px; background: var(--p-navy); color: var(--p-slate-50);
  font: 500 0.86rem/1.4 Inter, 'Inter AKfb', system-ui, sans-serif; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.ak-hint--right { right: 16px; }
.ak-hint--left { left: 16px; }
.ak-toast { left: 50%; transform: translateX(-50%); width: max-content; }
.ak-hint::after { content: ""; position: absolute; bottom: -7px; width: 12px; height: 12px; background: var(--p-navy); border-right: 1px solid var(--mx-pri, var(--p-amber)); border-bottom: 1px solid var(--mx-pri, var(--p-amber)); transform: rotate(45deg); }
.ak-hint--right::after { right: 30px; }
.ak-hint--left::after { left: 30px; }
.ak-hint button, .ak-toast button { flex: none; width: 44px; height: 44px; border: 0; border-radius: 8px; background: none; color: inherit; font-size: 1.25rem; line-height: 1; cursor: pointer; }
.ak-toast a { color: var(--mx-hi, var(--p-citron)); font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  .ak-hint, .ak-toast { animation: akHintIn 0.25s ease both; }
  @keyframes akHintIn { from { opacity: 0; translate: 0 6px; } }
}
@media (max-width: 640px) {
  .ak-hint--right { right: 10px; }
  .ak-hint--left { left: 10px; }
}

/* ---------- 9. CL-223 (Frank 2026-11-24): phone dock ----------
   Under 768 px, Random Aura, Random Texture and Put it back sit INSIDE the Mix bar as ONE dock: one row, 52 px tall, 12 px above
   the bottom (plus the iPhone safe area), 12 px gutters. The open mixer is a compact bottom sheet (at most 62% of the screen):
   one-line intro, the four actions first, the ten mixes as a 2-row swipe row, then "Pick my own colors".
   Desktop and tablets from 768 px up are unchanged. js/akarec-brand-mixer.js (mountDock) moves the elements in and out of #bmDock. */
.bm-head__short, .bm-toggle__text--short { display: none; }
html #akPutItBack .shuf-lbl-short { display: none !important; }
.bm-panel[hidden] { display: none; }
@media (max-width: 767px) {
  html body .brand-mixer {
    left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); max-width: none !important;
    align-items: stretch; gap: 8px;
  }
  .bm-dock { position: relative; display: flex; align-items: stretch; gap: 6px; height: 52px; }
  html body .bm-dock .ak-quick-shuffler {
    position: static; display: flex; flex: 0 0 auto; align-items: stretch; gap: 6px; padding: 0; border: 0; background: none; box-shadow: none;
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  html body .bm-dock .ak-quick-shuffler__btn, html body .bm-dock #akPutItBack.is-showing {
    position: static; flex-direction: column; justify-content: center; gap: 2px; width: 52px; min-width: 52px; height: 52px; min-height: 52px; padding: 0 !important;
    font: 700 0.62rem/1 'Inter', 'Inter AKfb', sans-serif !important; border-radius: 16px; letter-spacing: 0;
    background: linear-gradient(180deg, #131C2E 0%, var(--p-obsidian) 100%); border: 1.5px solid var(--mx-pri, var(--p-amber));
    box-shadow: 0 8px 20px rgba(0,0,0,0.55);
  }
  html body .bm-dock #akPutItBack { display: none; }
  html body .bm-dock #akPutItBack.is-showing {
    display: inline-flex;
    background: linear-gradient(180deg, #0F2A22 0%, #06120E 100%) !important; border: 1.5px solid var(--p-emerald) !important; color: #A7F3D0 !important;
  }
  html body .bm-dock .ak-quick-shuffler__btn > span:first-child { font-size: 1.15rem; line-height: 1; }
  html body .bm-dock .ak-quick-shuffler__btn span.shuf-lbl-full, html body .bm-dock #akPutItBack .shuf-lbl-full { display: none !important; }
  html body .bm-dock .ak-quick-shuffler__btn span.shuf-lbl-short { display: block !important; font-size: 0.62rem; line-height: 1; }
  html body .bm-dock .bm-toggle {
    flex: 1 1 auto; min-width: 0; min-height: 52px; height: 52px; justify-content: center; gap: 0.45rem; padding: 0 0.6rem; font-size: 0.88rem; border-radius: 16px;
  }
  html body .bm-dock #akPutItBack .shuf-lbl-short { display: block !important; }
  html body .bm-dock .bm-toggle:hover { transform: none; }
  .bm-dock .bm-toggle__dots i { width: 15px; height: 15px; margin-left: -5px; }
  .bm-dock .bm-toggle__dots i:first-child { margin-left: 0; }
  .bm-dock .bm-toggle__text { overflow: hidden; text-overflow: ellipsis; }
  .bm-dock:has(#akPutItBack.is-showing) .bm-toggle__text:not(.bm-toggle__text--short) { display: none; }
  .bm-dock:has(#akPutItBack.is-showing) .bm-toggle__text--short { display: inline; }
  .bm-dock .ak-quick-shuffler__toast, .ak-quick-shuffler:has(#akPutItBack.is-showing) .ak-quick-shuffler__toast { left: 0; bottom: calc(100% + 8px); }
  .bm-dock .ak-quick-shuffler:has(#akPutItBack.is-showing) .ak-quick-shuffler__toast { bottom: calc(100% + 8px); }
  .brand-mixer:not(.is-collapsed) .ak-quick-shuffler__toast { display: none; }

  /* the open mixer: a compact bottom sheet */
  .bm-panel {
    display: flex; flex-direction: column; width: 100%; padding: 0.7rem 0.75rem 0.6rem; border-radius: 16px;
    max-height: 62vh; max-height: 62dvh; overflow-y: auto;
  }
  .bm-panel[hidden] { display: none; }
  .bm-head { order: 1; margin-bottom: 0.5rem; gap: 0; }
  .bm-head strong, .bm-head__long { display: none; }
  .bm-head__short { display: block; font-size: 0.84rem; line-height: 1.3; }
  .bm-actions { order: 2; margin-top: 0; gap: 0.4rem; }
  .bm-btn { min-height: 44px; padding: 0.4rem 0.5rem; font-size: 0.84rem; }
  .bm-swatches {
    order: 3; margin-top: 0.6rem; display: grid; grid-template-columns: none !important; grid-template-rows: repeat(2, auto); grid-auto-flow: column;
    grid-auto-columns: 46%; gap: 0.4rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding-bottom: 0.2rem;
    scrollbar-width: thin;
  }
  .bm-swatch { padding: 0.4rem 0.35rem; gap: 0.25rem; font-size: 0.74rem; scroll-snap-align: start; }
  .bm-swatch__chip { height: 20px; }
  .bm-swatch small { display: none; }
  .bm-custom { order: 4; margin-top: 0.4rem; }
  .bm-custom summary { padding: 0.5rem 0; }
  .bm-autohide-hint { order: 5; margin-top: 0.3rem; padding-top: 0.4rem; }
  html body > footer, html body .akp-footer { padding-bottom: 6rem !important; }
}
@media (max-width: 379px) {
  .bm-dock .bm-toggle__text:not(.bm-toggle__text--short) { display: none; }
  .bm-dock .bm-toggle__text--short { display: inline; }
}
  

    /* =========================================================================
       1. AKAREC BRAND KIT v2.1 ("COLORS REIMAGINED") & DAY/NIGHT TOKENS
       ========================================================================= */
    :root, html[data-theme="night"] {
      --ak-obsidian: var(--p-obsidian);
      --ak-midnight: var(--p-midnight);
      --ak-surface: rgba(12, 20, 36, 0.82);
      --ak-surface-elevated: var(--p-surface);
      --ak-linen: var(--p-linen);
      --ak-ivory: var(--p-ivory);
      --ak-ink: var(--p-ink);
      --ak-text-main: var(--p-linen);
      --ak-text-muted: var(--p-slate-350);
      --ak-amber: var(--p-amber);
      --ak-gold: var(--p-amber-deep);
      --ak-citron: var(--p-citron);
      --ak-lerp-blue: var(--p-blue);
      --ak-lerp-sky: var(--p-sky);
      --ak-emerald: var(--p-emerald);
      --ak-titanium: var(--p-slate-400);
      --ak-border: rgba(245, 158, 11, 0.28);
      --ak-border-subtle: rgba(255, 255, 255, 0.1);
      --ak-focus-outer: var(--ak-citron);
      --ak-focus-inner: var(--ak-obsidian);
      --ambient-glow: 0.16;
      --split-pos: 0%;
      --emboss-depth: 3px;
      --foil-angle: 130deg;
      --lerp-sens: 1;
    }

    html[data-theme="day"] {
      --ak-obsidian: var(--p-ivory);
      --ak-midnight: #ECE6DA;
      --ak-surface: rgba(255, 255, 255, 0.92);
      --ak-surface-elevated: var(--p-white);
      --ak-text-main: var(--p-ink);
      --ak-text-muted: var(--p-slate-600);
      --ak-amber: var(--p-gold);
      --ak-gold: var(--p-gold);
      --ak-citron: var(--p-amber);
      --ak-lerp-blue: var(--p-blue-deep);
      --ak-lerp-sky: var(--p-blue);
      --ak-emerald: var(--p-emerald-deep);
      --ak-border: rgba(11, 25, 48, 0.2);
      --ak-border-subtle: rgba(11, 25, 48, 0.12);
      --ambient-glow: 0.08;
      scrollbar-color: var(--p-amber-deep) #E7E5E4;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; scrollbar-width: auto; scrollbar-color: var(--p-amber) rgba(6,10,18,0.9); }
    body {
      background-color: var(--ak-obsidian);
      background-image:
        radial-gradient(ellipse at 78% 14%, rgba(245, 158, 11, var(--ambient-glow)) 0%, transparent 50%),
        radial-gradient(ellipse at 18% 62%, rgba(2, 132, 199, 0.11) 0%, transparent 52%),
        linear-gradient(165deg, var(--ak-obsidian) 0%, var(--ak-midnight) 65%, var(--ak-obsidian) 100%);
      color: var(--ak-text-main);
      font-size: 1.05rem;
      line-height: 1.68;
      overflow-x: hidden;
      user-select: text;
      transition: background-color 0.3s ease, color 0.3s ease;
      font-family: 'Inter', 'Inter AKfb', 'Space Grotesk', 'Space Grotesk AKfb', system-ui, -apple-system, sans-serif;
    }

    /* Typography Hierarchy — Generous Breathing Room, Zero Squishing */
    h1, h2, h3, h4, .font-syne {
      font-family: 'Syne', 'Syne AKfb', sans-serif;
      font-weight: 800;
      letter-spacing: 0.015em;
      line-height: 1.15;
    }
    .font-mono-tech {
      font-family: var(--f-mono);
    }
    .font-cinzel {
      font-family: 'Cinzel', serif;
    }

    /* Liquid Solar Gold Headline Gradient */
    .solar-gradient-text {
      background: linear-gradient(135deg, var(--p-white) 0%, var(--ak-citron) 32%, var(--ak-amber) 72%, var(--ak-gold) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    html[data-theme="day"] .solar-gradient-text {
      background: linear-gradient(135deg, var(--p-ink) 0%, var(--p-gold) 45%, var(--p-amber-deep) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    /* CL-143: textures styles moved to assets/css/akarec-brand-mixer.css (shared with every page) */

    /* =========================================================================
       3. AKAREC v2.1 STRIPE & PAYPAL PAYMENT BUTTON SUITE (akarec-tokens.css)
       ========================================================================= */
    .ak-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.6rem;
      min-height: 48px;
      padding: 0.8rem 1.45rem;
      /* CL-312 button system (outbox/BRAND-LEAD/buttons/BUTTON-SYSTEM.md): the default button is Action = the mix's blue.
         Gold only with .ak-button--hero (site/assets/css/akarec-buttons.css), once per screen. */
      background: var(--mx-sec-deep, var(--p-blue-deep));
      color: var(--p-white) !important;
      border: 1.5px solid var(--mx-sec, var(--p-blue));
      border-radius: 0.5rem;
      font: 700 0.94rem/1.25 'Space Grotesk', 'Space Grotesk AKfb', sans-serif;
      letter-spacing: 0.02em;
      text-decoration: none;
      cursor: pointer;
      box-shadow: 0 6px 20px -8px color-mix(in srgb, var(--mx-sec, var(--p-blue)) 60%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.22);
      transition: transform 0.16s ease, box-shadow 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
    }
    .ak-button:hover:not(:disabled) {
      transform: translateY(-1px);
      filter: brightness(1.12);
      border-color: var(--mx-sec-soft, var(--p-white));
      box-shadow: 0 10px 26px -6px color-mix(in srgb, var(--mx-sec, var(--p-blue)) 70%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    .ak-button--lerp {
      background: linear-gradient(135deg, var(--ak-lerp-sky) 0%, var(--ak-lerp-blue) 65%, var(--p-blue-deep) 100%);
      color: var(--p-white) !important;
      border-color: rgba(56, 189, 248, 0.55);
      box-shadow: 0 6px 20px -4px rgba(2, 132, 199, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    .ak-button--obsidian {
      background: linear-gradient(180deg, var(--ak-midnight) 0%, var(--p-obsidian) 100%);
      color: var(--p-linen) !important;
      border: 1.5px solid rgba(245, 158, 11, 0.45);
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
    }
    .ak-button--obsidian:hover:not(:disabled) {
      border-color: var(--ak-amber);
    }
    .ak-telemetry-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--p-emerald);
      box-shadow: 0 0 10px var(--p-emerald);
      display: inline-block;
      flex-shrink: 0;
      animation: pulseEmerald 2.2s infinite;
    }
    @keyframes pulseEmerald {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.45; transform: scale(0.85); }
    }
    .ak-button__price {
      font-family: var(--f-mono);
      font-size: 0.84em;
      font-weight: 700;
      padding: 0.18rem 0.5rem;
      border-radius: 0.3rem;
      background: rgba(6, 10, 18, 0.18);
    }
    .ak-button--obsidian .ak-button__price {
      background: rgba(245, 158, 11, 0.18);
      color: var(--p-citron);
    }

    /* CL-143: cursor styles moved to assets/css/akarec-brand-mixer.css (shared with every page) */

    /* =========================================================================
       5. TOP 11TY STUDIO ROUTER BAR & STICKY HEADER
       ========================================================================= */
    .router-bar {
      position: sticky;
      top: 0;
      z-index: 1500;
      background: var(--p-void);
      border-bottom: 1px solid rgba(56, 189, 248, 0.3);
      padding: 0.45rem 1.25rem;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 0.5rem;
      font-family: var(--f-mono);
      font-size: 0.72rem;
      display: none;
    }
    .router-pills { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; }
    .route-pill {
      background: rgba(255, 255, 255, 0.05);
      color: var(--p-slate-300);
      border: 1px solid rgba(255, 255, 255, 0.14);
      padding: 0.28rem 0.65rem;
      border-radius: 5px;
      font-family: inherit;
      font-size: 0.7rem;
      cursor: pointer;
      transition: all 0.15s ease;
    }
    .route-pill:hover { border-color: var(--ak-amber); color: var(--p-white); }
    .route-pill.active {
      background: var(--ak-lerp-blue);
      color: var(--p-white);
      border-color: var(--ak-lerp-sky);
      font-weight: 700;
    }

    /* CL-007: the router bar is a developer tool. Hidden on the real site; open the page with ?dev=1 to see it. */
    body.dev-mode .router-bar { display: flex; }
    body.dev-mode header.site-header { position: relative; }

    /* CL-007: header = dark "freeze bar" in both Day and Night, with readable nav and a premium CTA */
    header.site-header .nav-link {
      background: transparent;
      border: 0;
      font-weight: 600;
      letter-spacing: 0.01em;
      border-radius: 6px;
      cursor: pointer;
      position: relative;
      transition: color 0.15s ease, background 0.15s ease;
      font-size: 0.98rem;
      padding: 0.6rem 0.95rem;
      font-family: var(--f-alt) !important;
      color: var(--p-slate-200) !important;
    }
    header.site-header .nav-link::after {
      content: '';
      position: absolute;
      left: 0.85rem;
      right: 0.85rem;
      bottom: 0.32rem;
      height: 1.5px;
      background: var(--ak-amber);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.2s ease;
    }
    header.site-header .nav-link:hover { color: var(--p-white); background: rgba(255, 255, 255, 0.06); }
    header.site-header .nav-link:hover::after { transform: scaleX(1); }
    header.site-header .nav-link:focus-visible { outline: 2px solid var(--ak-citron); outline-offset: 2px; }
    .nav-cta {
      display: inline-flex;
      align-items: center;
      gap: 0.55rem;
      min-height: 48px;
      padding: 0.75rem 1.45rem;
      border-radius: 8px;
      border: 1px solid rgba(253, 224, 71, 0.85);
      background: linear-gradient(180deg, var(--p-amber-light) 0%, var(--p-amber) 46%, var(--p-amber-deep) 100%);
      color: var(--p-navy);
      font-family: var(--f-alt);
      font-size: 0.98rem;
      font-weight: 700;
      letter-spacing: 0.01em;
      cursor: pointer;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -2px 0 rgba(0, 0, 0, 0.18), 0 10px 26px -8px rgba(245, 158, 11, 0.7);
      transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
    }
    .nav-cta:hover { transform: translateY(-1px); filter: brightness(1.05); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -2px 0 rgba(0, 0, 0, 0.18), 0 14px 32px -8px rgba(245, 158, 11, 0.85); }
    .nav-cta:active { transform: translateY(1px); }
    .nav-cta:focus-visible { outline: 2px solid var(--ak-citron); outline-offset: 3px; }
    .nav-cta .nav-cta__arrow { transition: transform 0.2s ease; }
    .nav-cta:hover .nav-cta__arrow { transform: translateX(3px); }

    header.site-header {
      position: sticky;
      top: 0;
      z-index: 1400;
      box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.6);
      backdrop-filter: blur(16px);
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 1rem;
      display: grid;
      grid-template-columns: auto 1fr auto;
      align-items: center;
      column-gap: 2.25rem;
      padding: 0.95rem 2.25rem;
      background: rgba(6, 10, 18, 0.94) !important;
      color: var(--p-linen) !important;
      border-bottom: 1px solid rgba(245, 158, 11, 0.24) !important;
    }

    /* =========================================================================
       6. LAYOUT CONTAINERS, CARDS & SECTION INSPECTOR
       ========================================================================= */
    .ak-container {
      max-width: 1260px;
      margin: 0 auto;
      padding: 0 1.5rem;
    }
    .ak-section {
      padding: 5.25rem 0;
      border-bottom: 1px solid var(--ak-border-subtle);
      position: relative;
    }
    body.inspector-on .ak-section::before {
      content: attr(data-11ty-template);
      position: absolute;
      top: 0.75rem;
      right: 1.5rem;
      background: rgba(2, 132, 199, 0.22);
      border: 1px solid var(--ak-lerp-sky);
      color: var(--ak-lerp-sky);
      font-family: var(--f-mono);
      font-size: 0.68rem;
      padding: 0.2rem 0.6rem;
      border-radius: 4px;
      z-index: 50;
    }
    .ak-eyebrow {
      font-family: var(--f-mono);
      font-size: 0.76rem;
      font-weight: 700;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--ak-amber);
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      margin-bottom: 0.75rem;
    }
    .ak-plain-line {
      color: var(--ak-text-muted);
      font-size: 1.04rem;
      line-height: 1.68;
      max-width: 64ch;
    }
    .ak-grid-3 {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
      gap: 1.75rem;
    }
    .ak-grid-2 {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
      gap: 2.25rem;
    }
    @media (max-width: 640px) {
      .ak-grid-3, .ak-grid-2 { grid-template-columns: 1fr; }
    }
    .ak-card {
      background: var(--ak-surface);
      border: 1px solid var(--ak-border-subtle);
      border-radius: 14px;
      padding: 2rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 1.25rem;
      backdrop-filter: blur(12px);
      transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    }
    .ak-card:hover {
      border-color: var(--ak-border);
      box-shadow: 0 18px 40px -15px rgba(0, 0, 0, 0.55);
    }
    .ak-card-signature {
      border: 2px solid var(--ak-amber);
      background: linear-gradient(165deg, rgba(245, 158, 11, 0.07) 0%, var(--ak-surface) 45%);
    }

    /* =========================================================================
       7. DRAG REALITY SPLIT-WIPE HERO (RESTS AT 6% LEFT, TEASE SHAKE ON LOAD)
       ========================================================================= */
    .hero-reality-stage {
      position: relative;
      border-radius: 18px;
      border: 1px solid var(--ak-border);
      overflow: hidden;
      min-height: 580px;
      display: flex;
      align-items: center;
      box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.85);
    }
    #reality-handle {
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0; /* CL-131: the handle moves with transform (set in setRealitySplit), not left, so it never counts as a layout shift */
      width: 4px;
      background: linear-gradient(180deg, var(--ak-lerp-sky), var(--ak-amber), var(--p-emerald));
      z-index: 35;
      transform: translateX(-50%);
      cursor: ew-resize;
      box-shadow: 0 0 20px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 90%, transparent); /* CL-267: follows the colour mix */
      touch-action: none;
    }
    /* CL-008: one-row header (logo | pillars | CTA); pillars sit slightly lower than the CTA */
    header.site-header .header-nav {
      justify-self: center;
      align-self: end;
      display: flex;
      align-items: flex-end;
      gap: 0.5rem;
      transform: translateY(6px);
    }
    /* CL-009: "AKA Grade" sits level with the other pillars; "complimentary" hangs just below it */
    header.site-header .nav-link--stack small {
      position: absolute;
      left: 50%;
      top: calc(100% - 0.55rem);
      transform: translateX(-50%);
      white-space: nowrap;
      font-family: var(--f-alt);
      font-size: 0.68rem;
      font-weight: 500;
      font-style: italic;
      letter-spacing: 0.08em;
      color: #D4B483;
      pointer-events: none;
    }
    header.site-header .nav-link--stack::after { bottom: 0.55rem; }

    /* CL-009: Services menu (the original 4 service pillars) */
    .nav-menu { position: relative; }
    .nav-menu__trigger .nav-menu__caret { display: inline-block; margin-left: 0.3rem; font-size: 0.75em; transition: transform 0.2s ease; }
    .nav-menu.is-open .nav-menu__caret, .nav-menu:hover .nav-menu__caret { transform: rotate(180deg); }
    .nav-menu__panel {
      position: absolute;
      top: calc(100% + 0.6rem);
      left: 50%;
      transform: translate(-50%, 6px);
      min-width: 250px;
      padding: 0.45rem;
      background: linear-gradient(180deg, #0F1A2E 0%, var(--p-obsidian) 100%);
      border: 1px solid rgba(245, 158, 11, 0.45);
      border-radius: 10px;
      box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.85), 0 0 0 4px rgba(245, 158, 11, 0.08);
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
      z-index: 1500;
    }
    .nav-menu__panel::before { content: ''; position: absolute; left: 0; right: 0; top: -0.7rem; height: 0.7rem; }
    .nav-menu:hover .nav-menu__panel, .nav-menu:focus-within .nav-menu__panel, .nav-menu.is-open .nav-menu__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
    .nav-menu__panel button {
      display: block;
      width: 100%;
      text-align: left;
      background: transparent;
      border: 0;
      border-radius: 6px;
      color: var(--p-slate-200);
      font-family: var(--f-alt);
      font-size: 0.95rem;
      font-weight: 600;
      padding: 0.65rem 0.85rem;
      cursor: pointer;
    }
    .nav-menu__panel button:hover, .nav-menu__panel button:focus-visible { background: rgba(245, 158, 11, 0.12); color: var(--p-white); outline: none; }
    .nav-menu__panel .nav-menu__all { margin-top: 0.3rem; border-top: 1px solid rgba(255, 255, 255, 0.1); border-radius: 0 0 6px 6px; color: #D4B483; font-size: 0.88rem; }
    @media (max-width: 1080px) { .nav-menu__panel { left: 0; transform: translate(0, 6px); } .nav-menu:hover .nav-menu__panel, .nav-menu:focus-within .nav-menu__panel, .nav-menu.is-open .nav-menu__panel { transform: translate(0, 0); } }
    .header-tagline {
      display: block;
      margin-top: 0.2rem;
      font-family: var(--f-mono);
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.22em;
    }
    /* CL-009: each half stays whole; "// BUILT TO COMMAND" drops below "DIGITAL SOLUTIONS" as one unit when space runs out */
    .header-tagline__lead, .header-tagline__gold { display: inline-block; white-space: nowrap; }
    .header-tagline__lead { color: #D9DEE7; }
    .header-tagline__gold {
      background: linear-gradient(90deg, #F5E6C8 0%, #D4B483 35%, var(--p-amber) 100%);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    /* CL-013: header labels never wrap; switch to two rows before things get cramped */
    header.site-header .nav-link, .nav-cta { white-space: nowrap; }
    @media (max-width: 1240px) {
      header.site-header { grid-template-columns: 1fr auto; row-gap: 0.6rem; padding: 0.8rem 1.25rem; }
      header.site-header .header-nav { grid-column: 1 / -1; grid-row: 2; justify-self: start; transform: none; flex-wrap: wrap; }
    }
    @media (max-width: 560px) {
      .header-tagline { font-size: 0.62rem; letter-spacing: 0.14em; }
      .nav-cta { min-height: 42px; padding: 0.55rem 0.9rem; font-size: 0.85rem; }
      header.site-header .nav-link { font-size: 0.88rem; padding: 0.5rem 0.6rem; }
    }

    /* CL-008: Light/Dark switch, top-right of the hero, mirroring the Drag Reality tab */
    .theme-switch {
      position: absolute;
      top: 20px;
      right: 20px;
      z-index: 36;
      display: inline-flex;
      padding: 4px;
      gap: 4px;
      background: linear-gradient(180deg, #0F1A2E 0%, var(--p-obsidian) 100%);
      border: 2px solid var(--ak-amber);
      border-radius: 10px;
      box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14), 0 0 24px rgba(245, 158, 11, 0.45), 0 14px 30px -10px rgba(0, 0, 0, 0.8);
    }
    .theme-switch button {
      background: transparent;
      border: 0;
      border-radius: 6px;
      color: var(--p-slate-300);
      font-family: var(--f-alt);
      font-size: 0.85rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      padding: 0.55rem 0.95rem;
      cursor: pointer;
      transition: background 0.15s ease, color 0.15s ease;
    }
    .theme-switch button:hover { color: var(--p-white); }
    .theme-switch button.is-active { background: linear-gradient(180deg, var(--p-amber-light) 0%, var(--p-amber) 55%, var(--p-amber-deep) 100%); color: var(--p-navy); }
    .theme-switch button:focus-visible { outline: 2px solid var(--ak-citron); outline-offset: 2px; }
    @media (max-width: 640px) { .theme-switch button { font-size: 0.72rem; padding: 0.45rem 0.6rem; letter-spacing: 0.08em; } }

    /* CL-007/008: hero fits on screen at landing; CL-008 makes the headline a bit larger with more air between the two lines */
    #sec-hero { padding-top: 1.75rem; padding-bottom: 3rem; }
    #sec-hero h2 { font-size: clamp(2.3rem, 3.9vw, 3.6rem) !important; line-height: 1.04; }
    #heroHighlightLine { margin-top: 0.45em !important; }
    @media (max-width: 640px) {
    }
    #heroStageSurface > div[style*="z-index:20"] { padding: 6rem 2.75rem 3rem !important; }
    /* CL-007: larger, sharper, a "tab" on the top edge of the hero so it's seen on landing and never covers copy; JS keeps it fully on screen */
    .reality-handle-pill {
      position: absolute;
      top: 20px;
      bottom: auto;
      left: 50%;
      transform: translate(-50%, 0);
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      background: linear-gradient(180deg, #0F1A2E 0%, var(--p-obsidian) 100%);
      color: var(--ak-citron);
      border: 2px solid var(--ak-amber);
      padding: 0.8rem 1.35rem;
      border-radius: 10px;
      font-family: var(--f-alt);
      font-size: 0.95rem;
      font-weight: 700;
      letter-spacing: 0.16em;
      white-space: nowrap;
      box-shadow: 0 0 0 4px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 14%, transparent), 0 0 28px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 65%, transparent), 0 14px 30px -10px rgba(0, 0, 0, 0.8);
      cursor: ew-resize;
      user-select: none;
      transition: translate 0.2s ease, scale 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
      touch-action: none;
    }
    .reality-handle-pill .rh-arrow { color: var(--p-white); font-size: 1.05rem; letter-spacing: 0; }
    /* CL-267: the pulse is a glow layer that fades in and out (opacity only, on the compositor), so it can use the visitor's mix
       colour without re-working the style every frame (a var() inside box-shadow keyframes cost about 8 Lighthouse phone points) */
    .reality-handle-pill::before {
      content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
      box-shadow: 0 0 0 9px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 8%, transparent), 0 0 40px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 90%, transparent);
    }
    @media (prefers-reduced-motion: no-preference) {
      .reality-handle-pill:not(.touched)::before { animation: akHandlePulse 2.4s ease-in-out infinite; }
    }
    @keyframes akHandlePulse { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
    @media (max-width: 640px) { .reality-handle-pill { letter-spacing: 0.12em; top: 66px !important; font-size: 0.78rem !important; padding: 0.45rem 0.7rem !important; } }

    /* Custom 5-Layer LERP Blue Range Sliders */
    input[type="range"].blue-slider {
      -webkit-appearance: none;
      width: 100%;
      height: 6px;
      background: linear-gradient(90deg, #071324 0%, var(--ak-lerp-blue) 55%, var(--ak-amber) 100%);
      border-radius: 999px;
      border: 1px solid rgba(56, 189, 248, 0.35);
      outline: none;
      cursor: pointer;
    }
    input[type="range"].blue-slider::-webkit-slider-thumb {
      -webkit-appearance: none;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background: var(--p-obsidian);
      border: 2.5px solid var(--ak-lerp-sky);
      box-shadow: 0 0 12px rgba(56, 189, 248, 0.9);
      cursor: pointer;
    }

    /* =========================================================================
       8. 3.5" x 2.0" (1.75:1) PRO-ELITE 3D GOLD FOIL BUSINESS CARD
       ========================================================================= */
    .card-3d-stage { perspective: 1400px; width: 100%; display: flex; justify-content: center; }
    .card-3d-object {
      width: 100%;
      max-width: 500px;
      aspect-ratio: 1.75 / 1;
      position: relative;
      transform-style: preserve-3d;
      transition: transform 0.6s cubic-bezier(0.2, 0.85, 0.25, 1);
      border-radius: 14px;
      cursor: pointer;
      box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(245, 158, 11, 0.35);
    }
    .card-face-3d {
      position: absolute;
      inset: 0;
      backface-visibility: hidden;
      border-radius: 14px;
      padding: 1.85rem 2.15rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      border: 1.5px solid rgba(253, 224, 71, 0.35);
      overflow: hidden;
      color: var(--p-linen);
    }
    .card-face-3d.back { transform: rotateY(180deg); align-items: center; justify-content: center; text-align: center; }
    .card-foil-glare {
      position: absolute;
      inset: 0;
      background: linear-gradient(var(--foil-angle), transparent 20%, rgba(253, 224, 71, 0.16) 45%, rgba(245, 158, 11, 0.36) 50%, rgba(56, 189, 248, 0.14) 56%, transparent 80%);
      pointer-events: none !important;
      z-index: 4;
      background-image: linear-gradient(var(--foil-angle), transparent 26%, rgba(253,224,71,0.10) 44%, rgba(255,246,214,0.24) 50%, rgba(56,189,248,0.12) 56%, transparent 74%);
      mix-blend-mode: screen;
    }
    .embossed-gold {
      background: linear-gradient(135deg, #FFFBEB 0%, var(--p-citron) 28%, var(--p-amber) 58%, var(--p-gold) 85%, #FEF08A 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      filter: drop-shadow(0px var(--emboss-depth) calc(var(--emboss-depth) * 1.4) rgba(0, 0, 0, 0.92));
      background-image: linear-gradient(135deg, #FFFBEB 0%, var(--p-citron) 30%, var(--p-amber) 62%, #FBBF24 82%, #FEF3C7 100%);
    }

    /* =========================================================================
       9. PERSISTENT LIVE STUDIO DOCK & MODALS
       ========================================================================= */
    .studio-dock {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 1600;
      background: rgba(6, 10, 18, 0.94);
      backdrop-filter: blur(16px);
      border-top: 1px solid rgba(245, 158, 11, 0.3);
      padding: 0.6rem 1.25rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 0.75rem;
      color: var(--p-linen);
      font-family: var(--f-mono);
      font-size: 0.72rem;
      transform: translateY(110%);
      transition: transform 0.35s ease;
    }
    /* CL-007: the studio dock only slides up while the Brand Studio section is on screen */
    .studio-dock.is-visible { transform: translateY(0); }
    .modal-backdrop {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(4, 7, 13, 0.85);
      backdrop-filter: blur(10px);
      z-index: 3000;
      align-items: center;
      justify-content: center;
      padding: 1rem;
    }
    .modal-backdrop.open { display: flex; }
    .modal-box {
      background: var(--ak-surface-elevated);
      color: var(--ak-text-main);
      border: 1px solid var(--ak-border);
      border-radius: 16px;
      max-width: 680px;
      width: 100%;
      padding: 2.25rem;
      max-height: 90vh;
      overflow-y: auto;
      box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85);
    }
    .detail-table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: 0.94rem; }
    .detail-table th, .detail-table td {
      padding: 0.75rem;
      border-bottom: 1px solid var(--ak-border-subtle);
      text-align: left;
      vertical-align: top;
    }
    .detail-table th {
      width: 34%;
      font-family: var(--f-mono);
      font-size: 0.75rem;
      color: var(--ak-amber);
      text-transform: uppercase;
    }
    .ak-input {
      width: 100%;
      padding: 0.78rem 1rem;
      border-radius: 8px;
      border: 1px solid var(--ak-border-subtle);
      background: rgba(6, 10, 18, 0.65);
      color: var(--p-linen);
      font-family: inherit;
      font-size: 0.95rem;
      margin-bottom: 0.75rem;
    }
    html[data-theme="day"] .ak-input {
      background: var(--p-white);
      color: var(--p-ink);
      border-color: rgba(11, 25, 48, 0.25);
    }
    .refund-micro {
      display: block;
      font-family: var(--f-mono);
      font-size: 0.72rem;
      color: var(--ak-text-muted);
      margin-top: 0.5rem;
    }
  

  /*
   * Line 1: Build fixed bottom-left #styleTryout disclosure panel with safe-area offsets, 280px width, 12px radius, and scrollable body.
   * Line 2: Scope F1-F4 headline (h1-h4, .font-syne) and body typography rules strictly to html[data-theme="day"][data-tryout-font].
   * Line 3: Map P1 Ivory & Ink, P2 Stone & Bronze, and P3 Gallery White onto html[data-theme="day"][data-tryout-palette] tokens and components.
   * Line 4: Enforce >=4.5:1 WCAG contrast on all tryout-controlled text/buttons and forbid P1 gold (#D97706) from being used as text color.
   * Line 5: Isolate sticky header, wordmark, JetBrains Mono labels, #reality-handle, C-002 #legacy-wipe-layer, and C-003 #heroDemoColumn.
   */

  /* 1. FLOATING STYLE TRYOUT PANEL */

  /* 2. DAY-ONLY FONT PAIRINGS (F1-F4) */
  html[data-theme="day"][data-tryout-font="f4"] {
    --tryout-font-head: 'Montserrat', 'Montserrat AKfb', system-ui, sans-serif;
    --tryout-weight-head: 800;
    --tryout-weight-subhead: 700;
    --tryout-font-body: 'Inter', 'Inter AKfb', system-ui, sans-serif;
    --tryout-weight-body: 400;
    --tryout-weight-ui: 600;
  }

  html[data-theme="day"][data-tryout-font] body {
    font-family: var(--tryout-font-body);
    font-weight: var(--tryout-weight-body);
    font-synthesis: none;
  }
  html[data-theme="day"][data-tryout-font] main :is(h1, h2, .font-syne):not(#legacy-wipe-layer *):not(#heroDemoColumn *):not(#foilCard3dObject *) {
    font-family: var(--tryout-font-head) !important;
    font-weight: var(--tryout-weight-head) !important;
    font-synthesis: none;
  }
  html[data-theme="day"][data-tryout-font] main :is(h3, h4):not(#legacy-wipe-layer *):not(#heroDemoColumn *):not(#foilCard3dObject *),
  html[data-theme="day"][data-tryout-font] .modal-box :is(h3, h4) {
    font-family: var(--tryout-font-head) !important;
    font-weight: var(--tryout-weight-subhead) !important;
    font-synthesis: none;
  }
  html[data-theme="day"][data-tryout-font] main :is(p, li, label, input, select, textarea, td):not(#legacy-wipe-layer *):not(#heroDemoColumn *):not(#foilCard3dObject *):not(.font-mono-tech):not(.refund-micro),
  html[data-theme="day"][data-tryout-font] .modal-box :is(p, td, input, select, textarea):not(.font-mono-tech):not(.refund-micro) {
    font-family: var(--tryout-font-body);
    font-weight: var(--tryout-weight-body);
    font-synthesis: none;
  }
  html[data-theme="day"][data-tryout-font] main :is(.ak-button, .route-pill, strong):not(#legacy-wipe-layer *):not(#heroDemoColumn *):not(#foilCard3dObject *):not(.font-syne):not(.font-mono-tech),
  html[data-theme="day"][data-tryout-font] .modal-box :is(.ak-button, .route-pill, strong):not(.font-mono-tech) {
    font-family: var(--tryout-font-body);
    font-weight: var(--tryout-weight-ui);
    font-synthesis: none;
  }

  /* 3. DAY-ONLY PALETTES (P1, P2, P3) — ALL TEXT >= 4.5:1 CONTRAST */
  /* P1: Ivory & Ink (bg #FAF8F5, cards #FFFFFF, text #0B1930, decorative #D97706, primary buttons #0B1930 w/ #FAF8F5 text) */

  /* P2: Stone & Bronze (bg #F5F1E9, cards #E9E2D6, text #0B1930, deep bronze #8A4B20, primary buttons #0B1930 w/ #F5F1E9 text & 1px #D97706 border) */

  /* P3: Gallery White (bg #FCFCFA, cards #FFFFFF, text #0B1930, single accent #0284C7, darker blue #0369A1 for white-label buttons & small blue text) */
  html[data-theme="day"][data-tryout-palette="p3"] {
    --ak-obsidian: #FCFCFA;
    --ak-midnight: #F4F6F8;
    --ak-surface: var(--p-white);
    --ak-surface-elevated: var(--p-white);
    --ak-text-main: var(--p-ink);
    --ak-text-muted: var(--p-slate-600);
    --ak-amber: var(--p-blue-deep);
    --ak-gold: var(--p-blue);
    --ak-citron: var(--p-blue-deep);
    --ak-lerp-blue: var(--p-blue-deep);
    --ak-lerp-sky: var(--p-blue-deep);
    --ak-emerald: var(--p-blue-deep);
    --ak-border: rgba(2, 132, 199, 0.38);
    --ak-border-subtle: rgba(11, 25, 48, 0.12);
    --tryout-btn-bg: var(--p-blue-deep);
    --tryout-btn-text: var(--p-white);
    --tryout-btn-border: var(--p-blue);
    --tryout-sec-btn-bg: var(--p-white);
    --tryout-sec-btn-text: var(--p-blue-deep);
    --tryout-sec-btn-border: var(--p-blue);
    --tryout-hairline: var(--p-blue);
    --tryout-accent-text: var(--p-blue-deep);
  }

  /* Shared Day Palette Component Mappings (Scoped outside protected elements) */
  html[data-theme="day"][data-tryout-palette] body {
    background-color: var(--ak-obsidian);
    background-image: none;
    color: var(--p-ink);
  }
  html[data-theme="day"][data-tryout-palette] #heroStageSurface {
    background-color: var(--ak-surface) !important;
    background-image: none !important;
    border-color: var(--tryout-hairline) !important;
    box-shadow: 0 20px 48px -18px rgba(11, 25, 48, 0.14);
  }
  html[data-theme="day"][data-tryout-palette] #sec-hero h2 {
    color: var(--p-ink) !important;
  }
  html[data-theme="day"][data-tryout-palette="p3"] .solar-gradient-text {
    background: none !important;
    -webkit-text-fill-color: var(--p-blue-deep) !important;
    color: var(--p-blue-deep) !important;
  }
  html[data-theme="day"][data-tryout-palette] #sec-hero .ak-plain-line,
  html[data-theme="day"][data-tryout-palette] main .ak-plain-line {
    color: var(--ak-text-muted) !important;
  }
  html[data-theme="day"][data-tryout-palette] main .ak-card:not(#foilCard3dObject *) {
    background: var(--ak-surface) !important;
    color: var(--p-ink) !important;
    border-color: var(--ak-border-subtle) !important;
    box-shadow: 0 10px 28px -12px rgba(11, 25, 48, 0.1);
  }
  html[data-theme="day"][data-tryout-palette] main .ak-card-signature {
    border: 1.5px solid var(--tryout-hairline) !important;
  }
  html[data-theme="day"][data-tryout-palette] main .ak-eyebrow,
  html[data-theme="day"][data-tryout-palette] .modal-box .ak-eyebrow {
    color: var(--tryout-accent-text) !important;
  }
  /* Inner dark callout boxes in Day mode */
  html[data-theme="day"][data-tryout-palette] #industryPocketCard > div[style*="background:rgba(6,10,18"],
  html[data-theme="day"][data-tryout-palette] #akaGradeOutput div[style*="background:rgba(6,10,18"],
  html[data-theme="day"][data-tryout-palette] #packageDetailModal details[style*="background:rgba(6,10,18"] {
    background: var(--ak-obsidian) !important;
    color: var(--p-ink) !important;
    border-color: var(--ak-border-subtle) !important;
  }
  html[data-theme="day"][data-tryout-palette] main span[style*="color:#94A3B8"]:not(#foilCard3dObject *):not(#heroDemoColumn *) {
    color: var(--ak-text-muted) !important;
  }
  html[data-theme="day"][data-tryout-palette] main :is(span, strong)[style*="color:#10B981"]:not(#foilCard3dObject *):not(#heroDemoColumn *) {
    color: var(--tryout-accent-text) !important;
  }

  /* Primary & Secondary Buttons in Day Tryout Palettes */
  html[data-theme="day"][data-tryout-palette] main .ak-button:not(.ak-button--obsidian):not(.ak-button--lerp),
  html[data-theme="day"][data-tryout-palette] .modal-box .ak-button:not(.ak-button--obsidian):not(.ak-button--lerp) {
    background: var(--tryout-btn-bg) !important;
    color: var(--tryout-btn-text) !important;
    border: 1px solid var(--tryout-btn-border) !important;
    box-shadow: 0 6px 16px -4px rgba(11, 25, 48, 0.22) !important;
  }
  html[data-theme="day"][data-tryout-palette] main .ak-button:not(.ak-button--obsidian):not(.ak-button--lerp) .ak-button__price,
  html[data-theme="day"][data-tryout-palette] .modal-box .ak-button:not(.ak-button--obsidian):not(.ak-button--lerp) .ak-button__price {
    background: rgba(255, 255, 255, 0.16) !important;
    color: var(--tryout-btn-text) !important;
  }
  html[data-theme="day"][data-tryout-palette] main .ak-button--lerp,
  html[data-theme="day"][data-tryout-palette] .modal-box .ak-button--lerp {
    background: var(--tryout-btn-bg) !important;
    color: var(--tryout-btn-text) !important;
    border: 1px solid var(--tryout-hairline) !important;
    box-shadow: none !important;
  }
  html[data-theme="day"][data-tryout-palette] main .ak-button--lerp .ak-button__price {
    background: rgba(255, 255, 255, 0.16) !important;
    color: var(--tryout-btn-text) !important;
  }
  html[data-theme="day"][data-tryout-palette] main .ak-button--obsidian,
  html[data-theme="day"][data-tryout-palette] .modal-box .ak-button--obsidian {
    background: var(--tryout-sec-btn-bg) !important;
    color: var(--tryout-sec-btn-text) !important;
    border: 1.5px solid var(--tryout-sec-btn-border) !important;
    box-shadow: none !important;
  }
  html[data-theme="day"][data-tryout-palette] main .ak-button--obsidian .ak-button__price {
    background: rgba(11, 25, 48, 0.08) !important;
    color: var(--tryout-sec-btn-text) !important;
  }
  html[data-theme="day"][data-tryout-palette] main .route-pill:not(#foilCard3dObject *):not(#heroDemoColumn *),
  html[data-theme="day"][data-tryout-palette] .modal-box .route-pill {
    background: var(--tryout-sec-btn-bg) !important;
    color: var(--p-ink) !important;
    border: 1px solid rgba(11, 25, 48, 0.28) !important;
  }
  html[data-theme="day"][data-tryout-palette] main .route-pill.active:not(#foilCard3dObject *):not(#heroDemoColumn *) {
    background: var(--tryout-btn-bg) !important;
    color: var(--tryout-btn-text) !important;
    border-color: var(--tryout-btn-border) !important;
  }

  /* 4. STRICT ISOLATION OF PROTECTED HEADER & HERO CONTROLS */
  header.site-header #navWordmarkText {
    font-family: 'Syne', 'Syne AKfb', sans-serif !important;
    font-weight: 800 !important;
    color: var(--p-linen) !important;
  }
  header.site-header .nav-cta {
    font-family: var(--f-alt) !important;
    background: linear-gradient(180deg, var(--p-amber-light) 0%, var(--p-amber) 46%, var(--p-amber-deep) 100%) !important;
    color: var(--p-navy) !important;
  }
  #reality-handle .reality-handle-pill {
    font-family: var(--f-alt) !important;
    color: var(--mx-hi, var(--p-citron)) !important;      /* CL-267: the compare tab follows the visitor's colour mix again */
    border-color: var(--mx-pri, var(--p-amber)) !important;
  }


    /* CL-012 (Claude): the drag reveals at most 70%, so lay the whole template out inside that 70% and let its hero picture fill the tall stage */
    #legacy-wipe-layer .legacy-site { width: 70% !important; border-right: 1px solid var(--p-slate-200); }
    @media (max-width: 760px) { #legacy-wipe-layer .legacy-site { width: 100% !important; } }
/*
     * Line 1: Preserve #legacy-wipe-layer absolute positioning, inset:0, clip-path, z-index:25, and pointer-events:none !important with zero outer padding.
     * Line 2: Build a fixed-width-independent edge-to-edge 2023 contractor layout that clips cleanly without reflowing during Drag Reality movement.
     * Line 3: Apply Montserrat 700/800 headings, Arial body copy, #FFFFFF/#F1F5F9 surfaces, #1E293B ink, #1D4ED8 blue CTAs, and #F97316 orange accents.
     * Line 4: Arrange phone bar, house-logo nav, stock-style SVG hero, 3 service cards, fictional testimonial strip, chat bubble, and cookie banner.
     * Line 5: Prefix all classes with legacy- under #legacy-wipe-layer and isolate typography and colors from C-001 and site theme switches.
     */
    #legacy-wipe-layer {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      padding: 0;
      background: var(--p-white);
      color: #1E293B;
      clip-path: polygon(0 0, var(--split-pos) 0, var(--split-pos) 100%, 0 100%);
      z-index: 25;
      pointer-events: none !important;
      display: flex;
      flex-direction: column;
      font-family: Arial, Helvetica, sans-serif;
      overflow: hidden;
    }
    #legacy-wipe-layer .legacy-site {
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      background: var(--p-white);
      color: #1E293B;
      font-family: Arial, Helvetica, sans-serif;
    }



  /*
   * Line 1: Style #contractorDemoBlock as a 16px-radius non-parallax card with JetBrains Mono top/bottom telemetry bars and a mini browser frame.
   * Line 2: Stack equal-height 2017 (left/underneath, boxed 420px max, Georgia/Arial) and TODAY (right/upper, Instrument Sans) layers for Ridgeline Roofing.
   * Line 3: Clip TODAY with inset(0 0 0 var(--cdemo-split)) clamped 10%-90% so dragging right reveals up to 90% 2017 and left up to 90% TODAY.
   * Line 4: Style the focusable mini slider handle (◄ 2017 · TODAY ►) with #172235-to-#060A12 gradient, 2px #F59E0B border, and amber glow.
   * Line 5: Scope --cdemo-primary, --cdemo-accent, and --cdemo-ink to TODAY only while locking 2017 to fixed #17324D/#B76E42/#14202B tokens.
   */

  #contractorDemoBlock {
    transform: none !important;
    position: relative;
    --cdemo-split: 50%;
  }
  #contractorDemoBlock .cdemo-bar {
    gap: 0.5rem;
    padding: 0.78rem 1.15rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-family: var(--f-mono) !important;
    font-size: 0.72rem;
    line-height: 1.3;
  }
  #contractorDemoBlock .cdemo-bar__estimator-link:hover {
    text-decoration: underline;
  }
  #contractorDemoBlock .cdemo-bar__estimator-link:focus-visible {
    outline: 2px solid var(--p-citron);
    outline-offset: 2px;
  }

  /* Mini Browser Frame */
  #contractorDemoBlock .cdemo-browser-bar {
    gap: 0.6rem;
    background: #0F172A;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.45rem 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    font-family: var(--f-mono) !important;
    font-size: 0.68rem;
  }
  #contractorDemoBlock .cdemo-browser-dots {
    gap: 0.32rem;
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
  }

  /* Comparison Viewport */
  #contractorDemoBlock .cdemo-layer {
    inset: 0;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
  }

  /* 2017 LAYER (Fixed Navy #17324D, Copper #B76E42, Ink #14202B) */
  #contractorDemoBlock .cdemo-layer--2017 {
    align-items: stretch;
    background: var(--p-slate-300);
    color: #14202B;
    font-family: Arial, Helvetica, sans-serif !important;
    padding: 0.45rem;
    display: flex;
    justify-content: center;
    align-items: stretch;
    z-index: 1;
  }
  #contractorDemoBlock .cdemo-2017-header {
    gap: 0.3rem;
    background: #17324D;
    color: var(--p-white);
    padding: 0.38rem 0.6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.3rem;
    border-bottom: 3px solid #B76E42;
  }
  #contractorDemoBlock .cdemo-2017-brand {
    gap: 0.35rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-weight: 700;
    font-size: 0.78rem;
    color: var(--p-white);
  }
  #contractorDemoBlock .cdemo-2017-tabs {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: var(--p-slate-200);
    color: #14202B;
    padding: 0.28rem 0.6rem;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 0.65rem;
    font-weight: 700;
    border-bottom: 1px solid var(--p-slate-400);
  }
  #contractorDemoBlock .cdemo-2017-body {
    gap: 0.45rem;
  }
  #contractorDemoBlock .cdemo-2017-main {
    gap: 0.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
  }
  #contractorDemoBlock .cdemo-2017-title {
    line-height: 1.2 !important;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    color: #14202B !important;
    margin: 0;
  }
  #contractorDemoBlock .cdemo-2017-dots {
    gap: 0.25rem;
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    padding-top: 0.22rem;
  }
  #contractorDemoBlock .cdemo-2017-clips {
    gap: 0.3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
  }
  #contractorDemoBlock .cdemo-2017-clip {
    gap: 0.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--p-white);
    border: 1px solid var(--p-slate-300);
    padding: 0.2rem 0.4rem;
    font-size: 0.64rem;
    font-weight: 700;
    color: #14202B;
  }
  #contractorDemoBlock .cdemo-2017-widget,
  #contractorDemoBlock .cdemo-2017-fb {
    gap: 0.35rem;
    line-height: 1.25;
    background: var(--p-white);
    border: 1px solid var(--p-slate-300);
    border-top: 2px solid #17324D;
    padding: 0.38rem 0.45rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.64rem;
    font-weight: 700;
    color: #14202B;
  }

  /* TODAY LAYER (Upper Layer Clipped by inset(0 0 0 var(--cdemo-split))) */
  #contractorDemoBlock .cdemo-today-nav {
    gap: 0.5rem;
    background: var(--cdemo-primary);
    color: var(--p-white);
    padding: 0.55rem 0.95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    border-bottom: 3px solid var(--cdemo-accent);
    border-bottom-width: 4px;
  }
  #contractorDemoBlock .cdemo-today-brand {
    gap: 0.45rem;
    font-family: 'Instrument Sans', 'Instrument Sans AKfb', sans-serif !important;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--p-white);
  }
  #contractorDemoBlock .cdemo-today-links {
    gap: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    gap: 0.85rem;
    font-size: 0.72rem;
    color: var(--p-white);
  }
  #contractorDemoBlock .cdemo-today-trust {
    letter-spacing: 0.03em;
    position: absolute;
    background: var(--cdemo-primary);
    color: var(--p-white);
    border-left: 3px solid var(--cdemo-accent);
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    font-size: 0.66rem;
    font-weight: 600;
    top: 0.6rem;
    bottom: auto;
    left: 0.7rem;
  }
  #contractorDemoBlock .cdemo-today-content {
    gap: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: var(--p-white);
    color: var(--cdemo-ink);
    order: 1;
    flex: 1 1 44%;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 1rem;
    background: linear-gradient(165deg, var(--p-white) 0%, color-mix(in srgb, var(--cdemo-accent) 16%, var(--p-white)) 100%);
    border-right: 4px solid var(--cdemo-accent);
  }
  #contractorDemoBlock .cdemo-today-headline {
    margin: 0;
    font-family: var(--f-head) !important;
    font-size: 1.12rem !important;
    font-weight: 800 !important;
    line-height: 1.18 !important;
    color: var(--p-white) !important;
    letter-spacing: 0 !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.45);
  }
  #contractorDemoBlock .cdemo-today-cta {
    font-family: 'Instrument Sans', 'Instrument Sans AKfb', sans-serif !important;
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.9rem;
    border-radius: 6px;
    font-size: 0.76rem;
    background: var(--cdemo-accent);
    color: var(--cdemo-on);
    border-bottom: 0;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(0,0,0,0.35);
  }
  #contractorDemoBlock .cdemo-today-chips {
    gap: 0.38rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.38rem;
    flex-direction: column;
    align-items: flex-start;
  }

  /* Mini Slider Handle */
  #contractorDemoBlock .cdemo-slider-line:focus-visible {
    outline: none;
  }
  #contractorDemoBlock .cdemo-slider-line:focus-visible .cdemo-slider-pill {
    outline: 2px solid var(--p-citron);
    outline-offset: 3px;
  }

  /* Mixer Control Bar */
  #contractorDemoBlock .cdemo-mixer-bar {
    gap: 0.6rem;
    background: var(--p-navy);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.55rem 1.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    flex-wrap: wrap;
  }
  #contractorDemoBlock .cdemo-shuffle-btn {
    transition: border-color 0.15s ease, transform 0.15s ease;
    appearance: none;
    background: linear-gradient(180deg, #172235 0%, var(--p-obsidian) 100%);
    color: var(--p-linen);
    border: 1.5px solid rgba(245, 158, 11, 0.6);
    border-radius: 7px;
    padding: 0.42rem 0.85rem;
    font-family: var(--f-alt) !important;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
  }
  #contractorDemoBlock .cdemo-shuffle-btn:hover {
    border-color: var(--p-citron);
    transform: translateY(-1px);
  }
  #contractorDemoBlock .cdemo-shuffle-btn:focus-visible {
    outline: 2px solid var(--p-citron);
    outline-offset: 2px;
  }

  @media (max-width: 520px) {
    #contractorDemoBlock .cdemo-viewport {
      height: 375px;
    }
    #contractorDemoBlock .cdemo-2017-body {
      grid-template-columns: 1fr;
    }
    #contractorDemoBlock .cdemo-2017-sidebar {
      flex-direction: row;
      flex-wrap: wrap;
    }
  }


  /* CL-152 (Fable R3-2), flight + logo arrival + hand-off + sound in CL-161 (Fable R4): the Brand Studio portal. The trip itself is drawn by js/akarec-portal.js on a canvas placed in
     #portalOverlay; the words and the Skip buttons are real HTML on top. Two fallbacks live here: the earlier CSS apex
     rush when WebGL is not available (.is-css), and a calm fade for reduced motion (.is-calm). */
  #portalOverlay { position: fixed; inset: 0; z-index: 4500; pointer-events: none; opacity: 0; visibility: hidden; overflow: hidden; display: flex; align-items: center; justify-content: center; transition: opacity .18s ease, visibility .18s ease; }
  #portalOverlay.is-active { pointer-events: auto; opacity: 1; visibility: visible; }
  #portalOverlay .portal-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
  /* the words: real HTML over the canvas. White on the tunnel, ink on the bloom. */
  #portalOverlay .portal-title { position: absolute; left: 0; right: 0; top: 66%; z-index: 5; margin: 0; padding: 0 1rem; text-align: center; pointer-events: none;
    font: 800 clamp(.95rem, 2.1vw, 1.6rem)/1.2 Montserrat, 'Montserrat AKfb', system-ui, sans-serif; text-transform: uppercase; letter-spacing: .9em; text-indent: .9em;
    color: var(--p-linen); text-shadow: 0 2px 22px rgba(6,10,18,.95), 0 0 2px rgba(6,10,18,.9); opacity: 0;
    transition: letter-spacing .95s cubic-bezier(.16,1,.3,1), text-indent .95s cubic-bezier(.16,1,.3,1), opacity .5s ease, color .22s ease, text-shadow .22s ease; }
  #portalOverlay.show-title .portal-title { opacity: 1; letter-spacing: .3em; text-indent: .3em; }
  #portalOverlay.is-bloom .portal-title { color: var(--p-obsidian); text-shadow: none; }
  #portalOverlay.is-reveal .portal-title { opacity: 0; transition: opacity .3s ease; }
  /* CL-161: the controls sit just above the colour bar and the Aura / Texture bar, so the trip never covers them */
  #portalOverlay .portal-controls { position: fixed; right: 24px; bottom: 84px; z-index: 10; display: flex; gap: .5rem; align-items: center; }
  @media (max-width: 520px) { #portalOverlay .portal-controls { right: 12px; bottom: 140px; } }
  #portalOverlay .portal-skip-btn, #portalOverlay .portal-skip-always { appearance: none; background: var(--p-obsidian); color: var(--p-linen); border: 1.5px solid var(--p-amber); border-radius: 8px; padding: .55rem 1.1rem; min-height: 40px;
    font: 700 .82rem/1 Inter, 'Inter AKfb', system-ui, sans-serif; letter-spacing: .04em; cursor: pointer; box-shadow: 0 10px 24px rgba(0,0,0,.6); }
  #portalOverlay .portal-skip-always { border-color: rgba(250,248,245,.35); color: var(--p-slate-300); font-weight: 600; }
  /* CL-161: sound is off until the visitor asks for it */
  #portalOverlay .portal-sound { appearance: none; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border-radius: 8px; cursor: pointer; background: var(--p-obsidian); color: var(--p-slate-300); border: 1.5px solid rgba(250,248,245,.35); box-shadow: 0 10px 24px rgba(0,0,0,.6); }
  #portalOverlay .portal-sound svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  #portalOverlay .portal-sound[aria-pressed="false"] .on, #portalOverlay .portal-sound[aria-pressed="true"] .off { display: none; }
  #portalOverlay .portal-sound[aria-pressed="true"] { color: var(--p-amber-pale); border-color: var(--p-amber-pale); }
  #portalOverlay .portal-sound:hover { border-color: var(--p-amber-pale); color: var(--p-amber-pale); }
  #portalOverlay .portal-sound:focus-visible { outline: 2px solid var(--p-citron); outline-offset: 3px; }
  /* CL-231 (Frank, on his iPhone: no sound plays): phones and tablets cannot start the swell reliably, so the toggle is not offered on touch screens */
  @media (pointer: coarse) { #portalOverlay .portal-sound { display: none; } }
  #portalOverlay .portal-skip-btn:hover, #portalOverlay .portal-skip-always:hover { border-color: var(--p-amber-pale); color: var(--p-amber-pale); }
  #portalOverlay .portal-skip-btn:focus-visible, #portalOverlay .portal-skip-always:focus-visible { outline: 2px solid var(--p-citron); outline-offset: 3px; }
  /* fallback 1 (no WebGL): the earlier apex rush, kept as it was */
  #portalOverlay .portal-backdrop { position: absolute; inset: 0; opacity: 0; background: radial-gradient(circle at 50% 50%, rgba(245,158,11,.34) 0%, rgba(2,132,199,.32) 26%, rgba(212,180,131,.14) 44%, rgba(6,10,18,.95) 68%, var(--p-obsidian) 100%); }
  #portalOverlay .portal-stage { position: relative; width: 100vw; height: 100vh; display: none; align-items: center; justify-content: center; perspective: 900px; }
  #portalOverlay.is-css .portal-stage, #portalOverlay.is-calm .portal-stage { display: flex; }
  #portalOverlay .portal-apex { position: absolute; width: min(68vw, 480px); height: auto; transform: scale3d(.18,.18,1); opacity: 0; filter: drop-shadow(0 0 28px rgba(245,158,11,.45)); }
  #portalOverlay.is-css .portal-backdrop { animation: portalBackdropPulse 1.2s cubic-bezier(.22,1,.36,1) forwards; }
  #portalOverlay.is-css .portal-apex--outer { animation: portalApexRush 1.15s cubic-bezier(.16,1,.3,1) 0s forwards; }
  #portalOverlay.is-css .portal-apex--mid { animation: portalApexRush 1.15s cubic-bezier(.16,1,.3,1) .08s forwards; }
  #portalOverlay.is-css .portal-apex--inner { animation: portalApexRush 1.15s cubic-bezier(.16,1,.3,1) .16s forwards; }
  @keyframes portalBackdropPulse { 0% { opacity: 0; } 22% { opacity: .96; } 68% { opacity: .92; } 100% { opacity: 0; } }
  @keyframes portalApexRush { 0% { transform: translate3d(0,12px,0) scale3d(.18,.18,1); opacity: 0; } 25% { opacity: 1; } 78% { opacity: .95; } 100% { transform: translate3d(0,-18px,0) scale3d(7.5,7.5,1); opacity: 0; } }
  /* fallback 2 (reduced motion): a calm fade, nothing moves */
  #portalOverlay.is-calm .portal-backdrop { background: var(--p-obsidian); opacity: 1; }
  #portalOverlay.is-calm .portal-apex--mid { opacity: .9; transform: none; width: min(40vw, 260px); margin-top: -8vh; }
  #portalOverlay.is-calm .portal-title { letter-spacing: .3em; text-indent: .3em; transition: opacity .2s ease; }
  /* "intro skipped" note: the way back for a visitor who chose to always skip */
  .portal-note { position: fixed; left: 50%; bottom: 92px; transform: translateX(-50%); z-index: 4400; display: flex; gap: .6rem; align-items: center; padding: .5rem .6rem .5rem .9rem; border-radius: 10px;
    background: var(--p-obsidian); color: var(--p-slate-200); border: 1px solid rgba(250,248,245,.22); box-shadow: 0 14px 30px rgba(0,0,0,.45); font: 500 .84rem/1.3 Inter, 'Inter AKfb', system-ui, sans-serif; white-space: nowrap; }
  .portal-note[hidden] { display: none; }
  .portal-note button { appearance: none; background: transparent; color: var(--p-amber-pale); border: 1px solid rgba(253,230,138,.5); border-radius: 7px; padding: .4rem .7rem; min-height: 32px; font: 700 .8rem/1 Inter, system-ui, sans-serif; cursor: pointer; }
  .portal-note button:focus-visible { outline: 2px solid var(--p-citron); outline-offset: 2px; }
  /* CL-161: the light the portal leaves on the Studio's title and card, fading as the page takes over (no cut) */
  .portal-settle { animation: portalSettle 1.3s ease-out both; }
  @keyframes portalSettle { 0% { filter: brightness(1.7) drop-shadow(0 0 26px color-mix(in srgb, var(--mx-hi, var(--p-citron)) 85%, transparent)); } 100% { filter: none; } }
  .portal-rise { animation: portalRise .7s ease-out both; }
  @keyframes portalRise { from { opacity: .35; } to { opacity: 1; } }
  @media (prefers-reduced-motion: reduce) { .portal-settle, .portal-rise { animation: none; } }


  /* CL-030: wider, easier-to-grab page scroll bar (Frank). CSS only, no performance cost. */
  html::-webkit-scrollbar { width: 16px; height: 16px; }
  html::-webkit-scrollbar-track { background: rgba(6,10,18,0.9); }
  html::-webkit-scrollbar-thumb { background: var(--p-amber); border-radius: 8px; border: 3px solid rgba(6,10,18,0.9); min-height: 64px; }
  html::-webkit-scrollbar-thumb:hover { background: #FBBF24; }
  html::-webkit-scrollbar-thumb:active { background: var(--p-citron); }
  html[data-theme="day"]::-webkit-scrollbar-track { background: #E7E5E4; }
  html[data-theme="day"]::-webkit-scrollbar-thumb { background: var(--p-amber-deep); border-color: #E7E5E4; }
  

/* CL-216: the one header, shared by the home page and every built page. Loaded last so it wins.
   Desktop (over 1365 px): five items in a row (Industries, Services, Brand Studio, AKA Grade, Pricing) + Book a Discovery Call.
   Phone and tablet (1365 px and under): ONE row, 56 px: logo, Day/Night icon, Book a call, Menu button (44 px). The five items
   live in a full-screen sheet with big rows; 130 px stays clear at its end for the two bottom bars (which are never touched). */
.nav-burger { display: none; }

@media (min-width: 1366px) {
  header.site-header .header-nav { flex-wrap: nowrap; }
  /* "Pricing" is a plain link; make it look like the buttons next to it */
  html body header.site-header a.nav-link { text-decoration: none; }
}

/* CL-257: one row needs ~1630 px on home and ~1500 px on the built pages (body.akp). Below that (down to 1366) the header
   takes two rows: logo + Day/Night + Book a Discovery Call on top, the menu centred below. Nothing runs off the right edge. */
@media (min-width: 1366px) and (max-width: 1679px) {
  html body:not(.akp) header.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; row-gap: 0.5rem; column-gap: 1.5rem; }
  html body:not(.akp) header.site-header .header-right-actions { margin-left: auto; }
  html body:not(.akp) header.site-header .header-nav { order: 3; flex: 1 0 100%; justify-content: center; transform: none; margin: 0; }
}
@media (min-width: 1366px) and (max-width: 1539px) {
  html body.akp header.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; row-gap: 0.5rem; column-gap: 1.5rem; }
  html body.akp header.site-header .akp-actions { margin-left: auto; }
  html body.akp header.site-header .header-nav { order: 3; flex: 1 0 100%; justify-content: center; transform: none; margin: 0; }
}

@media (max-width: 1365px) {
  html body header.site-header {
    display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-start; gap: 0.35rem;
    height: 56px; min-height: 56px; box-sizing: border-box; padding: 0 0.6rem 0 0.75rem; row-gap: 0; column-gap: 0.35rem;
    z-index: 1400;
    backdrop-filter: none; -webkit-backdrop-filter: none;    /* a blur would make the sheet's fixed position relative to the header */
    background: rgba(6, 10, 18, 0.98) !important;
  }
  /* logo: mark + short wordmark, no tagline */
  html body header.site-header > a { flex: 1 1 auto; min-width: 0; gap: 0.5rem !important; min-height: 44px !important; }
  html body header.site-header > a svg { width: 34px !important; height: 30px !important; flex: 0 0 auto; }
  html body header.site-header #navWordmarkText, html body header.site-header .akp-wordmark { font-size: 1.05rem !important; letter-spacing: 0.1em !important; }
  html body header.site-header .header-tagline, html body header.site-header .ak-telemetry-dot, html body header.site-header .akp-dot { display: none !important; }
  /* actions: Day/Night icon + Book a call */
  html body header.site-header .header-right-actions, html body header.site-header .akp-actions { display: flex; align-items: center; gap: 0.3rem !important; flex: 0 0 auto; }
  html body header.site-header .header-theme-pill { display: none !important; }
  html body header.site-header .ak-studio-light { min-width: 44px; min-height: 44px !important; width: 44px; padding: 0 !important; margin: 0 !important; justify-content: center; align-items: center; }
  html body header.site-header .ak-studio-light__label { display: none !important; }
  html body header.site-header .ak-studio-light__track { width: 40px; height: 40px; border-radius: 50%; position: relative; display: grid; place-items: center; }
  html body header.site-header .ak-studio-light__track::before { display: none; }
  html body header.site-header .ak-studio-light__knob { position: static; left: auto; top: auto; transform: none; width: auto; height: auto; background: none !important; box-shadow: none !important; font-size: 1.25rem; line-height: 1; color: var(--mx-hi, var(--p-citron)); display: grid; place-items: center; }
  html body header.site-header .nav-cta { min-height: 44px !important; max-width: none !important; padding: 0.4rem 0.8rem !important; white-space: nowrap !important; }
  html body header.site-header .nav-cta__arrow { display: none !important; }
  html body header.site-header .nav-cta > span:first-child { font-size: 0 !important; }
  html body header.site-header .nav-cta > span:first-child::after { content: "Book a call"; font-size: 0.82rem; font-weight: 700; white-space: nowrap; }
  /* the Menu button */
  .nav-burger {
    display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
    width: 44px; height: 44px; padding: 0; margin: 0; border-radius: 10px; cursor: pointer;
    background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.18); color: var(--p-linen, #FAF8F5);
  }
  .nav-burger:focus-visible { outline: 2px solid var(--ak-citron, #FDE047); outline-offset: 2px; }
  .nav-burger__bars, .nav-burger__bars::before, .nav-burger__bars::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.2s ease, background 0.2s ease; }
  .nav-burger__bars { position: relative; }
  .nav-burger__bars::before, .nav-burger__bars::after { content: ""; position: absolute; left: 0; }
  .nav-burger__bars::before { top: -6px; }
  .nav-burger__bars::after { top: 6px; }
  .is-sheet-open .nav-burger__bars { background: transparent; }
  .is-sheet-open .nav-burger__bars::before { top: 0; transform: rotate(45deg); }
  .is-sheet-open .nav-burger__bars::after { top: 0; transform: rotate(-45deg); }

  /* the sheet: hidden until opened; fills the screen under the header */
  html body header.site-header .header-nav {
    position: fixed; left: 0; right: 0; top: 56px; bottom: 0; z-index: 1;
    display: none; flex-direction: column; align-items: stretch; justify-content: flex-start; flex-wrap: nowrap; gap: 0;
    width: auto; margin: 0; padding: 0.25rem 1rem 168px; transform: none; justify-self: auto; align-self: auto;
    background: #060A12; border-top: 1px solid rgba(245, 158, 11, 0.24);
    overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  }
  html body header.site-header.is-sheet-open .header-nav { display: flex; }
  html.ak-sheet-open, html.ak-sheet-open body { overflow: hidden; }
  html body header.site-header .header-nav > .nav-link,
  html body header.site-header .header-nav .nav-menu > .nav-link,
  html body header.site-header .header-nav .nav-menu > summary {
    display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: flex-start !important; width: 100%; box-sizing: border-box; text-decoration: none !important;
    min-height: 60px !important; padding: 0.5rem 0.25rem !important; margin: 0; border-radius: 0; background: none;
    border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.2rem !important; font-weight: 700; text-align: left; position: relative; list-style: none; cursor: pointer;
    color: var(--p-linen, #FAF8F5); font-family: var(--f-alt, 'Space Grotesk', 'Inter', sans-serif);
  }
  html body header.site-header .header-nav .nav-link::after { display: none; }
  html body header.site-header .header-nav .nav-menu > .nav-link, html body header.site-header .header-nav .nav-menu > summary { justify-content: space-between !important; }
  html body header.site-header .header-nav .nav-link--stack { gap: 0.6rem; }
  html body header.site-header .header-nav .nav-link--stack small { position: static; transform: none; font-size: 0.8rem; font-style: italic; color: #D4B483; pointer-events: none; margin: 0; letter-spacing: 0.04em; }
  html body header.site-header .header-nav .nav-menu { position: static !important; width: 100%; }
  html body header.site-header .header-nav .nav-menu__caret { font-size: 0.9rem; margin-left: auto; }
  .nav-menu.is-open .nav-menu__caret, .nav-menu[open] .nav-menu__caret { transform: rotate(180deg); display: inline-block; }
  /* the groups open in place */
  html body header.site-header .header-nav .nav-menu__panel {
    position: static !important; display: none; width: 100% !important; max-width: none; min-width: 0; max-height: none; overflow: visible;
    margin: 0; padding: 0 0 0.4rem 0.5rem; background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none !important;
  }
  html body header.site-header .header-nav .nav-menu.is-open > .nav-menu__panel,
  html body header.site-header .header-nav .nav-menu[open] > .nav-menu__panel { display: block; }
  html body header.site-header .header-nav .nav-menu__panel::before { display: none; }
  html body header.site-header .header-nav .nav-menu__panel a {
    display: flex; align-items: center; min-height: 52px; padding: 0.4rem 0.75rem; font-size: 1.05rem !important; font-weight: 600; border-radius: 10px; width: 100%; box-sizing: border-box;
  }
}
@media (max-width: 380px) {
  html body header.site-header { padding: 0 0.4rem 0 0.55rem; gap: 0.2rem; column-gap: 0.2rem; }
  html body header.site-header > a svg { width: 30px !important; height: 27px !important; }
  html body header.site-header #navWordmarkText, html body header.site-header .akp-wordmark { font-size: 0.95rem !important; letter-spacing: 0.06em !important; }
  html body header.site-header .nav-cta { padding: 0.4rem 0.6rem !important; }
}

/* CL-228 (card 9b): AKA ENTRY access. Header (desktop, 1366 px and up): the golden pen with the black feather + "AKA ENTRY", after Pricing.
   Phone and tablet: NO pen, just the words "AKA ENTRY" as a row in the menu sheet. Footer: pen + words, every footer path lands on /journal.html (its top). */
.nav-entry { display: inline-flex; align-items: center; gap: 0.4rem; }
.nav-entry__pen, .ak-entry-link .aki { display: inline-block; width: 1.55em; height: 1.55em; flex: none; margin: 0; vertical-align: -0.35em; }
.nav-entry span { letter-spacing: 0.1em; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; }
.ak-entry-link { display: inline-flex; align-items: center; gap: 0.45rem; }
@media (min-width: 1366px) {
  html body header.site-header .nav-entry { flex-direction: row; flex-wrap: nowrap; white-space: nowrap; margin-left: 0.2rem; padding-left: 0.9rem; border-left: 1px solid rgba(245, 158, 11, 0.35); border-radius: 0; }
  header.site-header .nav-entry:hover .nav-entry__pen { transform: rotate(-8deg) translateY(-1px); }
  .nav-entry__pen { transition: transform 0.2s ease; }
}
@media (max-width: 1365px) {
  html body header.site-header .nav-entry .nav-entry__pen { display: none !important; }
  html body header.site-header .header-nav .nav-entry span { font-size: inherit; letter-spacing: inherit; text-transform: none; font-weight: inherit; }
}
  

      /* CL-113: AKA Grade pin scene. The stage keeps a fixed size from first paint, so nothing shifts when the scene arrives. */
      #sec-grade .agp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "copy stage" "form stage"; column-gap: 2rem; row-gap: 1.25rem; align-items: start; }
      #sec-grade .agp-copy { grid-area: copy; }
      #sec-grade .agp-copy h2 { font-size: clamp(1.7rem, 2.6vw, 2.5rem); margin-bottom: 0.6rem; }
      #sec-grade .agp-copy .route-pill { display: inline-block; margin-top: 0.9rem; }
      #sec-grade .agp-form { grid-area: form; }
      #sec-grade .agp-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
      #sec-grade .agp-fields .ak-button { grid-column: 1 / -1; }
      #sec-grade .agp-stage { grid-area: stage; align-self: stretch; position: relative; min-height: 470px; overflow: hidden; border-radius: 12px; touch-action: pan-y; contain: layout paint; }
      #sec-grade .agp-canvas, #sec-grade .agp-still { position: absolute; inset: 0; width: 100%; height: 100%; display: block;
        -webkit-mask-image: linear-gradient(90deg, transparent, var(--p-black) 9%, var(--p-black) 91%, transparent), linear-gradient(180deg, transparent, var(--p-black) 7%, var(--p-black) 96%, transparent);
        mask-image: linear-gradient(90deg, transparent, var(--p-black) 9%, var(--p-black) 91%, transparent), linear-gradient(180deg, transparent, var(--p-black) 7%, var(--p-black) 96%, transparent);
        -webkit-mask-composite: source-in; mask-composite: intersect; }
      #sec-grade .agp-still { transition: opacity 0.3s ease; pointer-events: none; }
      #sec-grade .agp-still img { width: 100%; height: 100%; object-fit: contain; display: block; }
      html[data-theme="day"] #sec-grade .agp-still--night, html:not([data-theme="day"]) #sec-grade .agp-still--day { display: none; }
      #sec-grade .agp-canvas { opacity: 0; transition: opacity 0.3s ease; touch-action: pan-y; }
      #sec-grade .agp-stage.is-live .agp-canvas { opacity: 1; }
      #sec-grade .agp-stage.is-live .agp-still { opacity: 0; }
      #sec-grade .agp-stage.is-live.is-calm:not(.is-scanning) .agp-canvas { opacity: 0.74; }
      #sec-grade .agp-searches { position: absolute; inset: 0; pointer-events: none; }
      #sec-grade .agp-searches span { position: absolute; left: 0; top: 0; opacity: 0; white-space: nowrap; font: 400 0.7rem/1 'JetBrains Mono', 'JetBrains Mono AKfb', monospace; letter-spacing: 0.05em; color: var(--p-slate-400); will-change: transform, opacity; }
      html[data-theme="day"] #sec-grade .agp-searches span { color: var(--p-slate-600); }
      #sec-grade .agp-label { position: absolute; left: 0; top: 0; opacity: 0; pointer-events: none; display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.34rem 0.6rem; border-radius: 4px; white-space: nowrap; font: 500 0.7rem/1 'JetBrains Mono', 'JetBrains Mono AKfb', monospace; letter-spacing: 0.06em; background: rgba(6, 10, 18, 0.9); color: var(--p-linen); border: 1px solid rgba(245, 158, 11, 0.5); will-change: transform, opacity; }
      #sec-grade .agp-label i { width: 6px; height: 6px; border-radius: 50%; background: var(--p-amber); }
      #sec-grade .agp-label[data-state="gap"] i, #sec-grade .agp-label[data-state="weak"] i { background: transparent; box-shadow: inset 0 0 0 1px var(--p-slate-400); }
      html[data-theme="day"] #sec-grade .agp-label { background: var(--p-white); color: var(--p-ink); border-color: rgba(180, 83, 9, 0.55); box-shadow: 0 4px 14px -6px rgba(11, 25, 48, 0.35); }
      html[data-theme="day"] #sec-grade .agp-label i { background: var(--p-gold); }
      html[data-theme="day"] #sec-grade .agp-label[data-state="gap"] i, html[data-theme="day"] #sec-grade .agp-label[data-state="weak"] i { background: transparent; box-shadow: inset 0 0 0 1px var(--p-slate-600); }
      #sec-grade .agp-pause { position: absolute; right: 10px; bottom: 10px; width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border-radius: 6px; cursor: pointer; background: var(--ak-surface); color: var(--ak-text-muted); border: 1px solid var(--ak-border-subtle); }
      #sec-grade .agp-pause:hover { color: var(--ak-text-main); border-color: var(--ak-border); }
      #sec-grade .agp-pause svg { width: 12px; height: 12px; fill: currentColor; }
      #sec-grade .agp-pause[aria-pressed="true"] .i-pause, #sec-grade .agp-pause[aria-pressed="false"] .i-play { display: none; }
      #sec-grade .agp-stage:not(.is-live) .agp-pause { display: none; }
      #sec-grade .agp-caption { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 64px); padding: 0.45rem 0.65rem; border-radius: 6px; background: var(--ak-surface); border: 1px solid var(--ak-border-subtle); font: 500 0.72rem/1.5 'JetBrains Mono', 'JetBrains Mono AKfb', monospace; color: var(--ak-text-muted); opacity: 0; transition: opacity 0.6s ease 0.8s; z-index: 2; -webkit-backdrop-filter: blur(10px) saturate(1.1); backdrop-filter: blur(10px) saturate(1.1); box-shadow: 0 4px 14px rgba(11,25,48,0.14); } /* CL-114: caption readable over the grid */
      #sec-grade .agp-caption b { color: var(--ak-text-main); font-weight: 700; }
      #sec-grade .agp-stage.has-result .agp-caption { opacity: 1; }
      @media (max-width: 899px) {
        #sec-grade .agp-split { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "stage" "form"; }
        #sec-grade .agp-stage { min-height: 0; height: 244px; }
        #sec-grade .agp-fields { grid-template-columns: 1fr; }
        #sec-grade .agp-caption { font-size: 0.66rem; }
      }
      @media (prefers-reduced-motion: reduce) { #sec-grade .agp-still, #sec-grade .agp-canvas, #sec-grade .agp-caption { transition: none; } }
      

      #sec-quote .akq-picker { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin: 1.6rem 0 1.2rem; }
      #sec-quote .akq-picker__lead { font-weight: 800; font-size: 1.15rem; margin-right: 0.3rem; }
      #sec-quote .akq-chip {
        padding: 0.7rem 1.1rem; min-height: 44px; border-radius: 999px; cursor: pointer; font-weight: 700; font-size: 0.95rem;
        background: rgba(6,10,18,0.55); color: inherit; border: 1px solid color-mix(in srgb, var(--mx-pri, var(--p-amber)) 45%, transparent);
        transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
      }
      html[data-theme="day"] #sec-quote .akq-chip { background: var(--p-white); }
      #sec-quote .akq-chip:hover, #sec-quote .akq-chip:focus-visible { transform: translateY(-3px); border-color: var(--mx-hi, var(--p-citron)); box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--mx-hi, var(--p-citron)) 60%, transparent); }
      #sec-quote .akq-chip[aria-pressed="true"] { background: var(--mx-pri, var(--p-amber)); color: #0B1220; border-color: var(--mx-pri, var(--p-amber)); }
      #sec-quote .akq-picker__break { flex-basis: 100%; height: 0; }
      #sec-quote .akq-picker__also { font-weight: 700; font-size: 0.9rem; color: var(--ak-text-muted); margin-right: 0.2rem; }
      #sec-quote .akq-chip--sm { padding: 0.45rem 0.85rem; min-height: 38px; font-size: 0.85rem; font-weight: 600; }
      #sec-quote .akq-local { margin: 0 0 1.2rem; border-radius: 12px; border: 1px dashed color-mix(in srgb, var(--mx-hi, var(--p-citron)) 55%, transparent); padding: 0.75rem 1rem; }
      #sec-quote .akq-local summary { cursor: pointer; font-weight: 700; }
      #sec-quote .akq-local p { margin: 0.6rem 0 0; line-height: 1.55; font-size: 0.95rem; }
      #sec-quote .akq-stage { border-radius: 18px; border: 1px solid var(--ak-border-subtle, rgba(255,255,255,0.12)); background: rgba(6,10,18,0.55); padding: clamp(1rem, 2.5vw, 1.75rem); min-height: 120px; }
      html[data-theme="day"] #sec-quote .akq-stage { background: var(--p-white); }
      #sec-quote .akq-empty { margin: 2rem 0; text-align: center; color: var(--ak-text-muted); }
      #sec-quote .akq-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.1rem; }
      #sec-quote .akq-tabs button { padding: 0.5rem 0.9rem; border-radius: 10px; cursor: pointer; font-weight: 700; background: transparent; color: inherit; border: 1px solid var(--ak-border-subtle, rgba(255,255,255,0.18)); }
      #sec-quote .akq-tabs button[aria-pressed="true"] { border-color: var(--mx-hi, var(--p-citron)); box-shadow: inset 0 0 0 1px var(--mx-hi, var(--p-citron)); }
      #sec-quote .akq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
      #sec-quote .akq-field label { display: block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.35rem; color: var(--ak-text-muted); }
      #sec-quote .akq-field select, #sec-quote .akq-field input[type="text"], #sec-quote .akq-field input[type="tel"] { width: 100%; }
      #sec-quote .akq-field input[type="text"], #sec-quote .akq-field input[type="tel"] { min-height: 44px; padding: 0.6rem 0.9rem; border-radius: 10px; font-weight: 600; background: rgba(6,10,18,0.65); color: inherit; border: 1px solid color-mix(in srgb, var(--mx-pri, var(--p-amber)) 45%, transparent); }
      html[data-theme="day"] #sec-quote .akq-field input { background: var(--p-white); }
      #sec-quote .akq-pills { display: flex; flex-wrap: wrap; gap: 0.45rem; }
      #sec-quote .akq-pills button, #sec-quote .akq-check { padding: 0.5rem 0.85rem; min-height: 40px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 0.9rem; background: transparent; color: inherit; border: 1px solid var(--ak-border-subtle, rgba(255,255,255,0.2)); display: inline-flex; align-items: center; gap: 0.4rem; }
      #sec-quote .akq-pills button[aria-pressed="true"], #sec-quote .akq-check.is-on { background: color-mix(in srgb, var(--mx-pri, var(--p-amber)) 22%, transparent); border-color: var(--mx-pri, var(--p-amber)); }
      #sec-quote .akq-result { margin-top: 1.25rem; padding: 1.1rem 1.25rem; border-radius: 14px; border: 1px solid var(--mx-hi, var(--p-citron)); background: color-mix(in srgb, var(--mx-hi, var(--p-citron)) 7%, transparent); }
      #sec-quote .akq-result small { display: block; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ak-text-muted); }
      #sec-quote .akq-result strong.akq-price { display: block; font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-family: 'Montserrat', 'Montserrat AKfb', sans-serif; margin: 0.15rem 0 0.35rem; }
      #sec-quote .akq-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.9rem; }
      #sec-quote .akq-note { font-size: 0.84rem; color: var(--ak-text-muted); margin: 0.8rem 0 0; line-height: 1.5; }
      #sec-quote .akq-textme { margin-top: 0.8rem; display: none; }
      #sec-quote .akq-textme.is-open { display: block; }
      #sec-quote .akq-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-top: 0.6rem; }
      #sec-quote .akq-tiers div { padding: 0.7rem; border-radius: 12px; border: 1px solid var(--ak-border-subtle, rgba(255,255,255,0.18)); text-align: center; }
      #sec-quote .akq-tiers div.is-mid { border-color: var(--mx-hi, var(--p-citron)); }
      #sec-quote .akq-tiers b { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
      #sec-quote .akq-tiers span { font-weight: 800; font-size: 1.02rem; }
      #sec-quote .akq-sms { max-width: 340px; padding: 0.8rem 1rem; border-radius: 16px 16px 16px 4px; background: rgba(255,255,255,0.08); margin-top: 0.6rem; font-size: 0.95rem; }
      #sec-quote .akq-sms .akq-sms__btns { display: flex; gap: 0.5rem; margin-top: 0.6rem; }
      /* Missed-call demo */
      :is(#sec-quote, #sec-automation) .akq-missed { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.5rem; align-items: center; margin-top: 2.5rem; padding: clamp(1rem, 2.5vw, 1.75rem); border-radius: 18px; border: 1px solid var(--ak-border-subtle, rgba(255,255,255,0.12)); background: rgba(6,10,18,0.45); }
      html[data-theme="day"] :is(#sec-quote, #sec-automation) .akq-missed { background: var(--p-white); }
      :is(#sec-quote, #sec-automation) .akq-missed h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); margin: 0.4rem 0; }
      :is(#sec-quote, #sec-automation) .akq-src { font-size: 0.78rem; color: var(--ak-text-muted); margin-top: 0.8rem; }
      /* CL-179: room is kept for the phone (same size as the finished phone), so the page does not move when it loads */
      :is(#sec-quote, #sec-automation) .akq-phone { justify-self: center; width: min(272px, 74vw); aspect-ratio: 9 / 18.9; }
      @media (max-width: 760px) {
        :is(#sec-quote, #sec-automation) .akq-missed { grid-template-columns: 1fr; }
        #sec-quote .akq-tiers { grid-template-columns: 1fr; }
      }
    

      #sec-more-services .aks-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0 1rem; }
      #sec-more-services .aks-tabs button { padding: 0.6rem 1.05rem; min-height: 44px; border-radius: 999px; cursor: pointer; font-weight: 700; font-size: 0.95rem; background: rgba(6,10,18,0.55); color: inherit; border: 1px solid color-mix(in srgb, var(--mx-pri, var(--p-amber)) 45%, transparent); transition: transform .2s ease, box-shadow .2s ease; }
      html[data-theme="day"] #sec-more-services .aks-tabs button { background: var(--p-white); }
      #sec-more-services .aks-tabs button:hover { transform: translateY(-3px); box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--mx-hi, var(--p-citron)) 60%, transparent); }
      #sec-more-services .aks-tabs button[aria-selected="true"] { background: var(--mx-pri, var(--p-amber)); color: #0B1220; border-color: var(--mx-pri, var(--p-amber)); }
      #sec-more-services .aks-intro { margin: 0 0 1.1rem; max-width: 800px; line-height: 1.6; }
      #sec-more-services .aks-intro small { display: block; margin-top: 0.4rem; color: var(--ak-text-muted); font-size: 0.85rem; }
      #sec-more-services .aks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
      #sec-more-services .aks-card { position: relative; display: flex; flex-direction: column; padding: 1.2rem; border-radius: 16px; border: 1px solid var(--ak-border-subtle, rgba(255,255,255,0.12)); background: rgba(6,10,18,0.5); }
      html[data-theme="day"] #sec-more-services .aks-card { background: var(--p-white); }
      #sec-more-services .aks-card.is-featured { border-color: var(--mx-hi, var(--p-citron)); box-shadow: 0 18px 40px -22px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 75%, transparent); }
      #sec-more-services .aks-card .aks-flag { position: absolute; top: -0.7rem; left: 1rem; padding: 0.2rem 0.7rem; border-radius: 999px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; background: var(--mx-hi, var(--p-citron)); color: #0B1220; }
      #sec-more-services .aks-card h3 { font-size: 1.2rem; margin: 0 0 0.3rem; }
      #sec-more-services .aks-price { font-family: 'Montserrat', 'Montserrat AKfb', sans-serif; font-weight: 800; font-size: 1.55rem; color: var(--mx-pri, var(--p-amber)); }
      html[data-theme="day"] #sec-more-services .aks-price { color: var(--mx-text-pri, var(--p-gold)); }      /* CL-189: amber on white was 2.1 : 1 */
      #sec-more-services .aks-price small { font-size: 0.85rem; font-weight: 600; color: var(--ak-text-muted); margin-left: 0.25rem; }
      #sec-more-services .aks-card p { margin: 0.5rem 0 0.8rem; line-height: 1.5; font-size: 0.95rem; flex: 1; }
      #sec-more-services .aks-card .aks-save { font-size: 0.82rem; font-weight: 700; color: var(--p-emerald); margin: -0.3rem 0 0.7rem; }
      #sec-more-services .aks-card button { width: 100%; }
      #sec-more-services .aks-promise { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.75rem; }
      #sec-more-services .aks-promise > div { padding: 1rem 1.2rem; border-radius: 14px; border-left: 3px solid var(--p-emerald); background: rgba(16,185,129,0.08); line-height: 1.55; font-size: 0.95rem; }
      #sec-more-services .aks-promise strong { display: block; margin-bottom: 0.3rem; }
      @media (max-width: 760px) { #sec-more-services .aks-promise{ grid-template-columns: 1fr; } }
    

  /* 1. 2017/TODAY demo: Today site = full-height photo with headline on it, text column beside it */
  #contractorDemoBlock .cdemo-today-overlay {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 2.4rem 0.9rem 0.8rem;
    background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--cdemo-primary) 88%, transparent) 62%, var(--cdemo-primary) 100%);
    display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem;
  }
  #contractorDemoBlock .cdemo-today-kicker {
    font-family: var(--f-head); font-size: 0.7rem; font-weight: 800;
    letter-spacing: 0.12em; text-transform: uppercase; color: var(--cdemo-primary);
  }
  #contractorDemoBlock .cdemo-today-sub { font-family: var(--f-body); font-size: 0.8rem; line-height: 1.45; color: #334155; margin: 0; }
  @media (max-width: 520px) {
    #contractorDemoBlock .cdemo-today-content { flex-basis: 40%; padding: 0.7rem; }
    #contractorDemoBlock .cdemo-today-sub { display: none; }
    #contractorDemoBlock .cdemo-today-headline { font-size: 0.98rem !important; }
  }

  /* 2. Carousel: readable text on any accent color */
  #heroDemoColumn .fcar-win-svg :is(circle, rect)[fill="var(--fcar-accent)"] + text { fill: var(--fcar-on); }

  /* 3. Carousel footer: larger caption and industry buttons */
  #heroDemoColumn .fcar-ind-pill:hover { border-color: var(--p-amber); transform: translateY(-1px); }

  /* 4. Portal (CSS fallback only since CL-152): a colour ring rushes past with the apex; the Studio zooms in on arrival */
  #portalOverlay .portal-stage::before {
    content: ""; position: absolute; width: min(60vw, 420px); aspect-ratio: 1; border-radius: 50%;
    background: conic-gradient(from 0deg, var(--p-amber), var(--p-blue), #D4B483, var(--p-obsidian), var(--p-citron), var(--p-blue), var(--p-amber));
    -webkit-mask: radial-gradient(circle, transparent 54%, var(--p-black) 56%, var(--p-black) 64%, transparent 66%);
            mask: radial-gradient(circle, transparent 54%, var(--p-black) 56%, var(--p-black) 64%, transparent 66%);
    opacity: 0; transform: scale3d(0.2, 0.2, 1) rotate(0deg); will-change: transform, opacity;
  }
  #portalOverlay.is-css .portal-stage::before { animation: portalRingRush 1.15s cubic-bezier(0.16, 1, 0.3, 1) 0.04s forwards; }
  @keyframes portalRingRush {
    0% { opacity: 0; transform: scale3d(0.2, 0.2, 1) rotate(0deg); }
    30% { opacity: 0.95; }
    100% { opacity: 0; transform: scale3d(7, 7, 1) rotate(140deg); }
  }
  @keyframes portalArrive {
    0% { transform: scale(0.93); opacity: 0.2; }
    100% { transform: scale(1); opacity: 1; }
  }
  .portal-arrive { animation: portalArrive 0.8s cubic-bezier(0.16, 1, 0.3, 1) both; transform-origin: 50% 240px; }

  /* 5. Pricing + Quick Wins: legible fonts (F4), cards lift and glow on hover */
  :is(#sec-pricing, #sec-quick-wins-page) :is(h3, h4, .font-syne, summary) {
    font-family: var(--f-head) !important; letter-spacing: 0 !important;
  }
  :is(#sec-pricing, #sec-quick-wins-page) .ak-card :is(.ak-plain-line, .refund-micro, .font-mono-tech) { font-family: var(--f-body) !important; }
  :is(#sec-pricing, #sec-quick-wins-page) .ak-card .font-mono-tech { font-size: 0.8rem !important; font-weight: 600; letter-spacing: 0.02em; }
  :is(#sec-pricing, #sec-quick-wins-page) .ak-card .refund-micro { font-size: 0.82rem; line-height: 1.45; }
  :is(#sec-pricing, #sec-quick-wins-page) .ak-card .ak-plain-line { line-height: 1.55; }
  :is(#sec-pricing, #sec-quick-wins-page) article.ak-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  }
  @media (prefers-reduced-motion: reduce) {
    :is(#sec-pricing, #sec-quick-wins-page) article.ak-card:hover { transform: none; }
    .portal-arrive { animation: none; }
  }


  .ak-heading-accent { color: inherit; }
  .ind-tabs { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ind-tabs .ind-tabs__more { display: none !important; flex-basis: 100%; height: 0; }
  @media (max-width: 720px) { .ind-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  .ak-group-fine { margin: 1rem 0 0; max-width: 70ch; }
  .ak-textlink { background: none; border: 0; padding: 0; font: inherit; color: var(--ak-lerp-sky, var(--p-sky)); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
  .ak-textlink:hover { text-decoration-thickness: 2px; }
  /* CL-116: colour mixing is one compact row inside Brand Studio (the two floating toolbars are gone) */
  /* CL-142: cursor, Random Aura/Texture toolbar and the brand mixer are back (Frank). Never hide them again. */


  /* CL-143: cl016 brand mixer styles moved to assets/css/akarec-brand-mixer.css (shared with every page) */

  /* 2. Business card: AKAREC gold and blue, no red cast */

  /* 3. F4 fonts everywhere (both Light and Dark): Montserrat headlines, Inter text, mono for numbers only */
  :is(main, .modal-box) :is(h1, h2, h3, h4, .font-syne):not(#legacy-wipe-layer *):not(#foilCard3dObject *):not(#contractorDemoBlock *):not(#heroDemoColumn *) {
    font-family: var(--f-head); letter-spacing: 0;
  }
  .ak-button, .nav-link, .nav-cta, .ak-input { font-family: var(--f-body); }
  main :is(.ak-eyebrow, .route-pill, .refund-micro):not(#legacy-wipe-layer *):not(#foilCard3dObject *):not(#contractorDemoBlock *):not(#heroDemoColumn *),
  .modal-box :is(.ak-eyebrow, .route-pill, .refund-micro) {
    font-family: var(--f-body); letter-spacing: 0.01em;
  }
  main .ak-eyebrow { font-weight: 600; font-size: 0.82rem; letter-spacing: 0.08em; }
  main .route-pill { font-weight: 600; font-size: 0.82rem; }
  main .refund-micro { font-size: 0.82rem; line-height: 1.45; }


  /* 1. Package cards: lift higher, glow brighter */
  :is(#sec-pricing, #sec-quick-wins-page) article.ak-card:hover {
    transform: translateY(-12px) scale(1.012); border-color: var(--ak-amber);
    box-shadow: 0 34px 60px -20px rgba(0,0,0,0.7), 0 0 0 1px rgba(245,158,11,0.55), 0 0 58px -4px rgba(245,158,11,0.75);
  }
  /* 2. Buy / checkout buttons: lift and glow */
  :is(#sec-pricing, #sec-quick-wins-page, #sec-grade, #packageDetailModal) .ak-button {
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  }
  :is(#sec-pricing, #sec-quick-wins-page, #sec-grade, #packageDetailModal) .ak-button:is(:hover, :focus-visible) {
    transform: translateY(-4px) scale(1.02); filter: brightness(1.08);
    box-shadow: 0 16px 30px -10px rgba(0,0,0,0.6), 0 0 0 1px rgba(253,224,71,0.6), 0 0 34px rgba(245,158,11,0.8);
  }
  :is(#sec-pricing, #sec-quick-wins-page, #sec-grade, #packageDetailModal) .ak-button--lerp:is(:hover, :focus-visible) {
    box-shadow: 0 16px 30px -10px rgba(0,0,0,0.6), 0 0 0 1px rgba(125,211,252,0.6), 0 0 34px rgba(2,132,199,0.85);
  }
  @media (prefers-reduced-motion: reduce) {
    :is(#sec-pricing, #sec-quick-wins-page) article.ak-card:hover,
    :is(#sec-pricing, #sec-quick-wins-page, #sec-grade, #packageDetailModal) .ak-button:is(:hover, :focus-visible) { transform: none; }
  }
  /* 3. Gemini Q-G: crisper carousel windows, amber glow on the front one (pill sizes stay at Frank's larger size) */


  .ak-service-card {
    display: flex; flex-direction: column; gap: 1rem; justify-content: space-between;
    padding: 1.6rem; border-radius: 16px; cursor: pointer;
    background: var(--ak-surface, rgba(255,255,255,0.03)); border: 1px solid var(--ak-border-subtle);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  }
  #sec-services .ak-grid-3 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  @media (max-width: 1080px) { #sec-services .ak-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
  @media (max-width: 520px) { #sec-services .ak-grid-3 { grid-template-columns: 1fr !important; } }
  .ak-service-card h3 { font-size: 1.25rem; margin: 0 0 0.4rem; }
  .ak-service-card .ak-plain-line { font-size: 0.95rem; margin: 0; }
  .ak-service-card__icon {
    width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
    background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.35);
  }
  .ak-service-link { font-family: var(--f-body); font-weight: 700; font-size: 0.92rem; color: var(--ak-amber); }
  .ak-service-card:is(:hover, :focus-visible) {
    transform: translateY(-6px); border-color: var(--ak-amber); outline: none;
    box-shadow: 0 22px 40px -18px rgba(0,0,0,0.55), 0 0 30px -6px rgba(245,158,11,0.55);
  }
  html[data-theme="day"] .ak-service-card { background: var(--p-white); box-shadow: 0 8px 22px -14px rgba(15,23,42,0.25); }
  html[data-theme="day"] .ak-service-link { color: var(--p-gold); }
  .ak-onestop-note { margin-top: 1.5rem; font-family: var(--f-body); font-size: 0.9rem; color: var(--ak-text-muted); }

  .ak-ownership {
    display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2.5rem; align-items: center;
    padding: clamp(1.5rem, 4vw, 3rem); border-radius: 20px;
    border: 1px solid rgba(245,158,11,0.4); background: linear-gradient(140deg, rgba(245,158,11,0.08), rgba(2,132,199,0.06));
  }
  .ak-ownership__list { margin: 0; padding: 0; list-style: none; counter-reset: own; display: grid; gap: 0.7rem; }
  .ak-ownership__list li {
    counter-increment: own; display: flex; align-items: center; gap: 0.85rem;
    font-family: var(--f-body); font-size: 1rem; font-weight: 600;
    padding: 0.8rem 1rem; border-radius: 12px; border: 1px solid var(--ak-border-subtle); background: var(--ak-surface, rgba(255,255,255,0.03));
  }
  .ak-ownership__list li::before {
    content: counter(own); flex: 0 0 auto; width: 1.9rem; height: 1.9rem; border-radius: 50%;
    display: grid; place-items: center; font-weight: 800; font-size: 0.85rem; color: var(--p-obsidian); background: var(--ak-amber);
  }
  html[data-theme="day"] .ak-ownership__list li { background: var(--p-white); }
  @media (max-width: 820px) { .ak-ownership { grid-template-columns: 1fr; gap: 1.5rem; } }
  @media (prefers-reduced-motion: reduce) { .ak-service-card:is(:hover, :focus-visible) { transform: none; } }

  footer { font-family: var(--f-body) !important; }
  .ak-footer-line { color: var(--ak-amber, var(--p-amber)); font-weight: 700; }


  /* 1. Drag Reality tab: lifts and glows on hover, both themes */
  #reality-handle:hover .reality-handle-pill, .reality-handle-pill:hover, #reality-handle:focus-visible .reality-handle-pill {
    translate: 0 -5px; scale: 1.06; filter: brightness(1.15);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--mx-hi, var(--p-citron)) 35%, transparent), 0 0 46px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 95%, transparent), 0 0 90px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 45%, transparent), 0 20px 34px -10px rgba(0,0,0,0.85);
  }
  @media (prefers-reduced-motion: reduce) { #reality-handle:hover .reality-handle-pill, .reality-handle-pill:hover { translate: none; scale: none; } }

  /* 2. The "before" website: a believable older small-business site */
  #legacy-wipe-layer .old-site {
    justify-content: flex-start !important; background: #D9D2C1 !important; color: #222 !important;
    font: 12px/1.5 Verdana, Tahoma, Arial, sans-serif !important; overflow: hidden;
    background-image: repeating-linear-gradient(45deg, rgba(0,0,0,0.025) 0 2px, transparent 2px 6px) !important;
  }
  #legacy-wipe-layer .old-site > * { flex-shrink: 0; }
  #legacy-wipe-layer .old-top {
    display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 62px 16px 10px;
    background: linear-gradient(#27508F, #12284F); color: var(--p-white); border-bottom: 3px solid #8B1A1A;
  }
  #legacy-wipe-layer .old-top__brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
  #legacy-wipe-layer .old-top__name { font: bold 22px/1.1 Georgia, 'Times New Roman', serif; text-shadow: 1px 1px 0 var(--p-black); }
  #legacy-wipe-layer .old-top__tag { font: italic 11px Georgia, serif; color: #FFE9A8; margin-top: 3px; }
  #legacy-wipe-layer .old-top__call { text-align: right; font-size: 11px; line-height: 1.25; white-space: nowrap; }
  #legacy-wipe-layer .old-top__call strong { display: block; font: bold 20px Arial, sans-serif; color: #FFE066; text-shadow: 1px 1px 0 var(--p-black); }
  #legacy-wipe-layer .old-top__call em { font-style: normal; font-weight: bold; color: #FF9F9F; letter-spacing: 1px; }
  #legacy-wipe-layer .old-nav {
    display: flex; flex-wrap: wrap; background: linear-gradient(#F6F6F6, #C9C9C9); border-bottom: 1px solid #777; border-top: 1px solid var(--p-white);
  }
  #legacy-wipe-layer .old-nav span { padding: 7px 12px; font: bold 11px Arial, sans-serif; color: #12284F; border-right: 1px solid #999; box-shadow: inset 1px 0 0 var(--p-white); }
  #legacy-wipe-layer .old-nav .is-on { background: linear-gradient(#8B1A1A, #5E0F0F); color: var(--p-white); box-shadow: none; }
  #legacy-wipe-layer .old-sample { background: #FFF8C6; border-bottom: 1px solid #C9B458; color: #5B4A00; font: bold 10px Arial, sans-serif; padding: 4px 16px; letter-spacing: 0.3px; }
  #legacy-wipe-layer .old-banner { position: relative; height: 170px; margin: 10px 16px 0; border: 4px solid var(--p-white); outline: 1px solid #888; overflow: hidden; background: #6FA8DC; }
  #legacy-wipe-layer .old-banner__art { position: absolute; inset: 0; width: 100%; height: 100%; }
  #legacy-wipe-layer .old-banner__text { position: absolute; left: 0; top: 0; bottom: 0; width: 58%; padding: 16px; background: linear-gradient(90deg, rgba(18,40,79,0.92) 60%, rgba(18,40,79,0)); color: var(--p-white); }
  #legacy-wipe-layer .old-banner__h { font: bold italic 24px/1.1 Georgia, serif; text-shadow: 2px 2px 0 var(--p-black); }
  #legacy-wipe-layer .old-banner__p { font-size: 11px; margin: 8px 0 12px; color: #FFE9A8; }
  #legacy-wipe-layer .old-btn {
    display: inline-block; padding: 7px 14px; font: bold 12px Arial, sans-serif; color: var(--p-white); border: 1px solid #7A3B00; border-radius: 6px;
    background: linear-gradient(#FFB648, #E87400 50%, #C65F00 51%, #E88A1A); text-shadow: 0 -1px 0 #7A3B00; box-shadow: 0 2px 3px rgba(0,0,0,0.45);
  }
  #legacy-wipe-layer .old-btn--sm { padding: 4px 12px; font-size: 11px; margin-top: 6px; }
  #legacy-wipe-layer .old-burst {
    position: absolute; right: 12px; top: 12px; width: 62px; height: 62px; border-radius: 50%; display: grid; place-content: center; text-align: center;
    background: radial-gradient(#FF4B4B, #B00000); color: var(--p-white); font: bold 18px/1 Arial, sans-serif; border: 3px dashed #FFE066; transform: rotate(12deg);
  }
  #legacy-wipe-layer .old-burst small { display: block; font-size: 10px; }
  #legacy-wipe-layer .old-body { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 12px; margin: 10px 16px 0; }
  #legacy-wipe-layer .old-main { background: var(--p-white); border: 1px solid #999; padding: 12px 14px; }
  #legacy-wipe-layer .old-main h3 { font: bold 15px Georgia, serif !important; color: #8B1A1A !important; border-bottom: 1px dotted #999; padding-bottom: 3px; margin: 10px 0 6px; letter-spacing: 0 !important; text-transform: none !important; }
  #legacy-wipe-layer .old-main h3:first-child { margin-top: 0; }
  #legacy-wipe-layer .old-main p { margin: 0 0 8px; font: 12px/1.55 Verdana, sans-serif; color: #222; text-align: justify; }
  #legacy-wipe-layer .old-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  #legacy-wipe-layer .old-cols ul { margin: 0; padding-left: 18px; list-style: square; color: #12284F; font-weight: bold; font-size: 11px; line-height: 1.7; }
  #legacy-wipe-layer .old-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
  #legacy-wipe-layer .old-gallery span { font-size: 10px; text-align: center; color: #555; }
  #legacy-wipe-layer .old-gallery i { display: block; height: 52px; margin-bottom: 2px; border: 3px solid var(--p-white); outline: 1px solid #999; background: linear-gradient(135deg, #B9C4CF, #7E8C99 60%, #5E6B77); box-shadow: 1px 1px 3px rgba(0,0,0,0.35); }
  #legacy-wipe-layer .old-more, #legacy-wipe-layer .old-small { font-size: 10.5px !important; color: #555 !important; text-align: left !important; }
  #legacy-wipe-layer .old-quote { font: italic 12px Georgia, serif; background: #F4EFE1; border-left: 4px solid #8B1A1A; padding: 8px 10px; color: #444; }
  #legacy-wipe-layer .old-side { display: grid; gap: 10px; align-content: start; }
  #legacy-wipe-layer .old-box { background: var(--p-white); border: 1px solid #999; }
  #legacy-wipe-layer .old-box__h { background: linear-gradient(#27508F, #12284F); color: var(--p-white); font: bold 11px Arial, sans-serif; padding: 5px 8px; }
  #legacy-wipe-layer .old-box__b { padding: 8px; }
  #legacy-wipe-layer .old-box label { display: block; font-size: 10px; color: #333; margin-top: 3px; }
  #legacy-wipe-layer .old-input { display: block; height: 18px; border: 1px solid #7F9DB9; background: var(--p-white); box-shadow: inset 1px 1px 2px rgba(0,0,0,0.15); }
  #legacy-wipe-layer .old-input--tall { height: 44px; }
  #legacy-wipe-layer .old-coupon { margin: 8px; padding: 8px; border: 2px dashed #8B1A1A; text-align: center; font: bold 20px Arial, sans-serif; color: #8B1A1A; background: #FFFBE6; }
  #legacy-wipe-layer .old-coupon small { display: block; font: 10px Verdana, sans-serif; color: #444; }
  #legacy-wipe-layer .old-social { display: flex; gap: 5px; }
  #legacy-wipe-layer .old-social b { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 4px; color: var(--p-white); font: bold 11px Arial, sans-serif; background: linear-gradient(#5B7EC2, #2B4C8C); border: 1px solid #1B3A6B; }
  #legacy-wipe-layer .old-foot { margin-top: 12px; padding: 10px 16px 14px; background: #12284F; color: #C9D4E8; font-size: 10px; line-height: 1.7; text-align: center; border-top: 3px solid #8B1A1A; flex-grow: 1; }
  #legacy-wipe-layer .old-counter b { display: inline-block; background: var(--p-black); color: #3CFF3C; font: bold 11px 'Courier New', monospace; padding: 0 3px; margin: 0 1px; border: 1px solid #555; }
  @media (max-width: 900px) {
    #legacy-wipe-layer .old-body { grid-template-columns: minmax(0, 1fr); }
    #legacy-wipe-layer .old-side { grid-template-columns: 1fr 1fr; }
    #legacy-wipe-layer .old-top__name { font-size: 17px; }
    #legacy-wipe-layer .old-top__call strong { font-size: 15px; }
    #legacy-wipe-layer .old-banner__h { font-size: 19px; }
  }
  @media (max-width: 640px) { #legacy-wipe-layer .old-top { padding-top: 108px; } }

  /* 3. Light mode: the SEO options box was dark with dark text */
  html[data-theme="day"] #seoOptionsLadder > div { background: var(--p-white) !important; border-color: var(--p-slate-300) !important; box-shadow: 0 10px 26px -18px rgba(15,23,42,0.3); }

  /* 4. Footer: business details (placeholders until Frank supplies them) */
  .ak-footer-details { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.25rem; padding-top: 1.5rem; margin-top: 0.5rem; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.86rem; line-height: 1.7; }
  .ak-footer-details strong { display: block; color: var(--p-linen); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.25rem; }


  .ak-grid-2 > *, .ak-grid-3 > *, .ind-panels > * { min-width: 0; }
  @media (max-width: 640px) {
    html, body { overflow-x: clip; }
    /* Header: logo and button share row one, links fit row two */
    header.site-header { grid-template-columns: minmax(0, 1fr) auto; column-gap: 0.6rem; padding: 0.7rem 0.9rem; }
    header.site-header > a { gap: 0.5rem !important; min-width: 0; }
    header.site-header > a svg { flex: 0 0 auto; width: 38px !important; height: 33px !important; }
    header.site-header #navWordmarkText { font-size: 1.25rem !important; letter-spacing: 0.1em !important; }
    .header-tagline { display: block; font-size: 0.56rem; letter-spacing: 0.1em; line-height: 1.35; }
    .header-tagline__lead { display: none; }
    .nav-cta { white-space: normal !important; max-width: 128px; min-height: 40px; padding: 0.45rem 0.7rem; font-size: 0.8rem; line-height: 1.15; text-align: center; }
    .nav-cta__arrow { display: none; }
    header.site-header .header-nav { position: relative; flex-wrap: nowrap; justify-content: space-between; width: 100%; gap: 0; }
    header.site-header .nav-link { font-size: 0.82rem; padding: 0.45rem 0.35rem; }
    .nav-menu { position: static !important; }
    .nav-menu__panel { left: 0 !important; right: 0; width: auto !important; max-width: none; }

    /* Sections and cards: less padding so content gets the width */
    .ak-section { padding: 3rem 0; }
    .ak-container { padding: 0 1rem; }
    .ak-card { padding: 1.25rem; }
    #heroStageSurface > div[style*="z-index:20"] { padding: 7.5rem 1.1rem 2rem !important; }
    .theme-switch { top: 12px; right: 12px; }
    header.site-header .nav-link--stack small { right: 0; left: auto; text-align: right; }
    #sec-hero h2 { font-size: 1.85rem !important; }
    #sec-hero .ak-button { width: 100%; }
    #heroDemoColumn .fcar-ind-pill { font-size: 0.78rem; padding: 0.45rem 0.3rem; }
    .ind-tabs { gap: 0.4rem; }
    .ind-tabs .route-pill { font-size: 0.85rem; padding: 0.5rem 0.8rem; }
    .ind-tool-card h3 { font-size: 1.3rem; }
    #industryPocketCard h3 { font-size: 1.35rem !important; }
    .card-face-3d { padding: 1rem 1.15rem; }
    .brand-mixer { max-width: calc(100vw - 24px); }
    footer { padding: 2.5rem 1rem 5.5rem !important; }
  }


  .ind-tabs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.75rem; }
  .ind-tabs .route-pill { justify-content: center; text-align: center; font-family: var(--f-body) !important; font-size: 0.92rem; font-weight: 600; padding: 0.55rem 1.1rem; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
  .ind-panels { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
  .ind-panels.is-solo { grid-template-columns: minmax(0, 1fr); }
  .ind-panels.is-solo .ind-tool-card { max-width: 860px; margin: 0 auto; width: 100%; }
  @media (max-width: 980px) { .ind-panels { grid-template-columns: minmax(0, 1fr); } }
  /* CL-069: AKA Roof gets the full width; the recommendation card drops below it */
  .ind-panels:has(#indContractorTools:not([hidden])) { grid-template-columns: minmax(0, 1fr); }
  .ind-tool-card { display: flex; flex-direction: column; gap: 1.25rem; }
  .ind-tool-card[hidden] { display: none; }   /* CL-310: a hidden tool leaves no empty card */
  .ind-tool-card h3 { font-size: 1.6rem; margin: 0.5rem 0 0.4rem; }
  .ind-tool-badge {
    display: inline-block; font-family: var(--f-body); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
    padding: 0.25rem 0.7rem; border-radius: 999px; color: var(--p-obsidian); background: var(--ak-amber, var(--p-amber));
  }
  #indContractorTools { display: grid; gap: 1.25rem; }
  #indContractorTools[hidden], #indToolInteractiveBox[hidden] { display: none !important; }
  #indContractorTools #contractorDemoBlock { margin: 0 auto !important; width: 100%; }
  .ind-roof { display: flex; flex-direction: column; gap: 1rem; padding: 1.1rem; border-radius: 14px; border: 1px solid rgba(255,255,255,0.1); color: var(--p-slate-200); }

  /* Preview "screen": always dark so it reads as a sample client website in both themes */
  .ind-preview { padding: 1.25rem; border-radius: 14px; background: #0B1220; border: 1px solid rgba(255,255,255,0.12); color: var(--p-slate-200); font-family: var(--f-body); }
  .ind-preview__kicker { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--p-amber-light); }
  .ind-preview h4 { font-family: var(--f-head); font-size: 1.15rem; font-weight: 800; color: var(--p-white); margin: 0.4rem 0 0.9rem; letter-spacing: 0; }
  .ind-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 0.5rem; }
  .ind-step {
    font: 600 0.88rem 'Inter', 'Inter AKfb', sans-serif; text-align: left; cursor: pointer; padding: 0.7rem 0.8rem; border-radius: 10px;
    color: var(--p-slate-200); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.16);
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  }
  .ind-step small { display: block; font-size: 0.72rem; font-weight: 700; color: var(--p-amber-light); }
  .ind-step:is(:hover, :focus-visible) { border-color: var(--p-amber); transform: translateY(-2px); outline: none; }
  .ind-step.is-on { background: rgba(245,158,11,0.16); border-color: var(--p-amber); }
  .ind-detail { margin: 0.9rem 0 0; padding: 0.8rem 0.9rem; border-radius: 10px; background: rgba(255,255,255,0.05); font-size: 0.92rem; line-height: 1.5; min-height: 3.2em; }
  .ind-range { width: 100%; margin: 0.4rem 0 0.2rem; accent-color: var(--p-amber); }
  .ind-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; font-size: 0.92rem; }
  .ind-row strong { font-size: 1.25rem; color: var(--p-white); }
  .ind-note { margin: 0.9rem 0 0; font-size: 0.8rem; line-height: 1.45; color: var(--p-slate-400); }
  .ind-skip { margin-top: 0.9rem; padding: 0; background: none; border: 0; cursor: pointer; font: 600 0.88rem 'Inter', 'Inter AKfb', sans-serif; color: var(--p-sky-pale); text-align: left; text-decoration: underline; }
  .ind-tables { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.8rem; min-height: 34px; }
  .ind-tables i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--p-amber); background: rgba(245,158,11,0.15); }
  @media (prefers-reduced-motion: reduce) { .ind-step:is(:hover, :focus-visible) { transform: none; } }


  /* Menu links and buttons that jump to a section no longer land with the heading hidden under the header */
  main section[id] { scroll-margin-top: 132px; }
  @media (max-width: 640px) {
    main section[id] { scroll-margin-top: 118px; }
    /* Bigger tap targets */
    main .route-pill, .ind-tabs .route-pill { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; }
    #sec-grade input[type="checkbox"] { width: 20px; height: 20px; vertical-align: middle; margin-right: 0.35rem; }
    #sec-grade label { display: flex; align-items: center; min-height: 36px; }
    #contractorDemoBlock .cdemo-shuffle-btn, #contractorDemoBlock .cdemo-bar__estimator-link { min-height: 40px; display: inline-flex; align-items: center; }
    main input[type="range"] { height: 28px; }
    #sec-cocreation [style*="grid-template-columns:repeat(4, 1fr)"] { grid-template-columns: repeat(2, 1fr) !important; }
  }


  /* 1. Light/Dark switch: fixed bottom-left, reachable anywhere on the page */
  @media (max-width: 400px) { header.site-header .nav-link { font-size: 0.76rem; padding: 0.45rem 0.2rem; } }
  .theme-switch.is-floating { position: fixed; top: auto; right: auto; left: 16px; bottom: 16px; z-index: 1600; display: none !important; }
  @media (max-width: 760px) {
    .theme-switch.is-floating { left: 12px; bottom: 12px; padding: 3px; gap: 2px; }
    .theme-switch.is-floating button { font-size: 0; padding: 0.5rem 0.6rem; letter-spacing: 0; }
    .theme-switch.is-floating button::first-letter { font-size: 1.05rem; }
    .brand-mixer { max-width: calc(100vw - 122px) !important; }
  }

  /* 2. While a color mix is on (html[data-mix][data-theme][data-tryout-palette] body) every main button, headline gradient and glow follows it */
  html[data-mix][data-theme][data-tryout-palette] body main .ak-button:not(.ak-button--lerp):not(.ak-button--obsidian),
  html[data-mix][data-theme][data-tryout-palette] body .modal-box .ak-button:not(.ak-button--lerp):not(.ak-button--obsidian) {
    background: linear-gradient(135deg, var(--mx-pri-soft) 0%, var(--mx-pri) 48%, var(--mx-pri-deep) 100%) !important;
    color: var(--mx-on-pri) !important; border-color: var(--mx-pri-soft) !important;
    box-shadow: 0 6px 20px -4px color-mix(in srgb, var(--mx-pri) 55%, transparent), inset 0 1px 0 rgba(255,255,255,0.4) !important;
  }
  html[data-mix][data-theme][data-tryout-palette] body main .ak-button--lerp, html[data-mix][data-theme][data-tryout-palette] body .modal-box .ak-button--lerp {
    background: linear-gradient(135deg, var(--mx-sec-soft) 0%, var(--mx-sec) 50%, var(--mx-sec-deep) 100%) !important;
    color: var(--mx-on-sec) !important; border-color: var(--mx-sec-soft) !important;
    box-shadow: 0 6px 20px -4px color-mix(in srgb, var(--mx-sec) 55%, transparent), inset 0 1px 0 rgba(255,255,255,0.35) !important;
  }
  html[data-mix][data-theme][data-tryout-palette] body main .ak-button--obsidian { border-color: var(--mx-pri) !important; color: var(--p-linen) !important; background: linear-gradient(180deg, #131B2C 0%, var(--p-obsidian) 100%) !important; }
  html[data-mix][data-theme][data-tryout-palette] body main .ak-button .ak-button__price { background: rgba(0,0,0,0.22) !important; color: inherit !important; border-color: transparent !important; }
  html[data-mix][data-theme][data-tryout-palette] body main .ak-button:is(:hover, :focus-visible) {
    box-shadow: 0 16px 30px -10px rgba(0,0,0,0.55), 0 0 0 1px var(--mx-pri-soft), 0 0 34px color-mix(in srgb, var(--mx-pri) 80%, transparent) !important;
  }
  html[data-mix][data-theme][data-tryout-palette] body main .ak-button--lerp:is(:hover, :focus-visible) {
    box-shadow: 0 16px 30px -10px rgba(0,0,0,0.55), 0 0 0 1px var(--mx-sec-soft), 0 0 34px color-mix(in srgb, var(--mx-sec) 80%, transparent) !important;
  }
  html[data-mix][data-theme][data-tryout-palette] body main .solar-gradient-text {
    background-image: linear-gradient(120deg, var(--mx-text-pri) 0%, var(--mx-text-mid) 50%, var(--mx-text-sec) 100%) !important; -webkit-background-clip: text !important; background-clip: text !important; -webkit-text-fill-color: transparent !important; color: transparent !important;
  }
  html[data-mix][data-theme][data-tryout-palette] body :is(#sec-pricing, #sec-quick-wins-page) article.ak-card:hover,
  html[data-mix][data-theme][data-tryout-palette] body .ak-service-card:is(:hover, :focus-visible) {
    border-color: var(--mx-text-pri) !important;
    box-shadow: 0 34px 60px -20px rgba(0,0,0,0.6), 0 0 0 1px color-mix(in srgb, var(--mx-pri) 60%, transparent), 0 0 58px -4px color-mix(in srgb, var(--mx-pri) 75%, transparent) !important;
  }
  html[data-mix][data-theme][data-tryout-palette] body main .ak-eyebrow, html[data-mix][data-theme][data-tryout-palette] body .ak-service-link { color: var(--mx-text-pri) !important; }
  /* CL-189: the footer is dark in Day too, so its line takes the colour made for dark ground (Day gold on it was 4.0 : 1) */
  html[data-mix][data-theme][data-tryout-palette] body .ak-footer-line { color: var(--mx-pri, var(--p-amber)) !important; }
  html[data-mix][data-theme][data-tryout-palette] body main .ak-eyebrow[style*="lerp-sky"] { color: var(--mx-text-sec) !important; }
  html[data-mix][data-theme][data-tryout-palette] body .ak-service-card__icon { background: color-mix(in srgb, var(--mx-pri) 14%, transparent); border-color: color-mix(in srgb, var(--mx-pri) 45%, transparent); }
  html[data-mix][data-theme][data-tryout-palette] body .ak-service-card__icon svg { stroke: var(--mx-text-pri); }
  html[data-mix][data-theme][data-tryout-palette] body .ind-tool-badge, html[data-mix][data-theme][data-tryout-palette] body .ak-ownership__list li::before { background: var(--mx-pri); color: var(--mx-on-pri); }
  html[data-mix][data-theme][data-tryout-palette] body .ak-ownership { border-color: color-mix(in srgb, var(--mx-pri) 45%, transparent); background: linear-gradient(140deg, color-mix(in srgb, var(--mx-pri) 10%, transparent), color-mix(in srgb, var(--mx-sec) 8%, transparent)); }
  html[data-mix][data-theme][data-tryout-palette] body main .route-pill.active { background: var(--mx-pri) !important; color: var(--mx-on-pri) !important; border-color: var(--mx-pri) !important; }
  html[data-mix][data-theme][data-tryout-palette] body main .route-pill.active span { color: inherit !important; }
  html[data-mix][data-theme][data-tryout-palette] body .embossed-gold { background-image: linear-gradient(135deg, var(--p-white) 0%, var(--mx-pri-soft) 28%, var(--mx-pri) 60%, var(--mx-sec-soft) 100%) !important; }
  html[data-mix][data-theme][data-tryout-palette] body .card-foil-glare { background: linear-gradient(115deg, transparent 20%, color-mix(in srgb, var(--mx-pri-soft) 55%, transparent) 45%, color-mix(in srgb, var(--mx-sec-soft) 45%, transparent) 60%, transparent 80%) !important; }
  html[data-mix][data-theme][data-tryout-palette] body main :is(.ak-card-signature, article.ak-card, .ak-card[style*="border-color"]) { border-color: color-mix(in srgb, var(--mx-pri) 45%, transparent) !important; }
  html[data-mix][data-theme][data-tryout-palette] body main .route-pill:not(.active) { border-color: color-mix(in srgb, var(--mx-pri) 55%, transparent) !important; }
  html[data-mix][data-theme][data-tryout-palette] body main span.route-pill { color: var(--mx-text-pri) !important; }
  html[data-mix][data-theme][data-tryout-palette] body main #cardFrontFace > div:last-child { border-top-color: color-mix(in srgb, var(--mx-pri) 45%, transparent) !important; }


  /* -------------------------------------------------------------------------
     1. BRILLIANT MULTI-STOP METALLIC GRADIENTS (DARK & LIGHT MODES)
     ------------------------------------------------------------------------- */
  :root {
    --mx-pri: var(--p-amber);
    --mx-hi: var(--p-citron);
    --mx-sec: var(--p-blue);
    --mx-pri-soft: var(--p-amber-pale);
    --mx-pri-deep: var(--p-gold);
    --mx-sec-soft: var(--p-sky-pale);
    --mx-sec-deep: var(--p-blue-deep);
    --mx-bg-dark: var(--p-obsidian);
    --mx-day-pri: var(--p-gold);
    --mx-day-sec: var(--p-blue-deep);
  }

  /* Restore v9_v10 Liquid Metallic Headline Sheen in Dark Mode */
  html[data-theme="night"] main .solar-gradient-text,
  html[data-theme="night"][data-mix] body main .solar-gradient-text {
    background-image: linear-gradient(
      135deg,
      var(--p-white) 0%,
      var(--mx-hi, var(--p-citron)) 28%,
      var(--mx-pri, var(--p-amber)) 64%,
      var(--mx-sec-soft, var(--p-sky)) 100%
    ) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    text-decoration: none !important;
    filter: drop-shadow(0 6px 22px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 26%, transparent));
  }

  /* Restore Jewel-Toned Multi-Stop Headline Sheen in Light ("Day") Mode */
  html[data-theme="day"] main .solar-gradient-text,
  html[data-theme="day"][data-tryout-palette] .solar-gradient-text,
  html[data-theme="day"][data-mix] body main .solar-gradient-text {
    background-image: linear-gradient(
      135deg,
      var(--p-ink) 0%,
      var(--mx-day-pri, var(--p-gold)) 38%,
      var(--mx-pri, var(--p-amber-deep)) 68%,
      var(--mx-day-sec, var(--p-blue)) 100%
    ) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    text-decoration: none !important;
    filter: drop-shadow(0 2px 10px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 18%, transparent));
  }

  /* Upscaled Specular Buttons */
  html[data-theme] body main .ak-button:not(.ak-button--lerp):not(.ak-button--obsidian),
  html[data-theme] body .modal-box .ak-button:not(.ak-button--lerp):not(.ak-button--obsidian) {
    background: linear-gradient(
      135deg,
      var(--mx-hi, var(--p-citron)) 0%,
      var(--mx-pri, var(--p-amber)) 50%,
      var(--mx-pri-deep, var(--p-gold)) 100%
    ) !important;
    color: var(--mx-on-pri, var(--p-obsidian)) !important;
    border: 1.5px solid color-mix(in srgb, var(--mx-hi, var(--p-citron)) 85%, var(--p-white)) !important;
    box-shadow:
      0 10px 26px -6px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 58%, transparent),
      inset 0 1px 0 rgba(255, 255, 255, 0.65) !important;
  }

  html[data-theme] body main .ak-button--lerp,
  html[data-theme] body .modal-box .ak-button--lerp {
    background: linear-gradient(
      135deg,
      var(--mx-sec-soft, var(--p-sky)) 0%,
      var(--mx-sec, var(--p-blue)) 54%,
      var(--mx-sec-deep, var(--p-blue-deep)) 100%
    ) !important;
    color: var(--mx-on-sec, var(--p-white)) !important;
    border: 1.5px solid color-mix(in srgb, var(--mx-sec-soft, var(--p-sky)) 75%, var(--p-white)) !important;
    box-shadow:
      0 10px 26px -6px color-mix(in srgb, var(--mx-sec, var(--p-blue)) 55%, transparent),
      inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
  }

  /* Dark Mode Rich Ambient Mesh */
  html[data-theme="night"] body {
    background-color: var(--mx-bg-dark, var(--p-obsidian)) !important;
    background-image:
      radial-gradient(ellipse 62% 48% at 82% 12%, color-mix(in srgb, var(--mx-pri, var(--p-amber)) 22%, transparent) 0%, transparent 62%),
      radial-gradient(ellipse 58% 50% at 15% 48%, color-mix(in srgb, var(--mx-sec, var(--p-blue)) 18%, transparent) 0%, transparent 64%),
      radial-gradient(ellipse 55% 45% at 78% 84%, rgba(16, 185, 129, 0.12) 0%, transparent 62%),
      linear-gradient(165deg, var(--mx-bg-dark, var(--p-obsidian)) 0%, color-mix(in srgb, var(--mx-sec-deep, var(--p-midnight)) 32%, var(--p-obsidian)) 55%, var(--mx-bg-dark, var(--p-obsidian)) 100%) !important;
  }

  /* -------------------------------------------------------------------------
     2. UPSCALED LIGHT MODE ("DAY") — BLUE, YELLOW & EMERALD FADE INTO WHITE
     ------------------------------------------------------------------------- */
  html[data-theme="day"] body,
  html[data-theme="day"][data-tryout-palette] body {
    background-color: #FAFBFD !important;
    background-image:
      radial-gradient(ellipse 65% 42% at 88% 8%, color-mix(in srgb, var(--mx-hi, var(--p-citron)) 26%, transparent) 0%, transparent 68%),
      radial-gradient(ellipse 60% 48% at 10% 26%, color-mix(in srgb, var(--mx-sec, var(--p-blue)) 15%, transparent) 0%, transparent 68%),
      radial-gradient(ellipse 58% 46% at 86% 58%, rgba(16, 185, 129, 0.13) 0%, transparent 66%),
      radial-gradient(ellipse 64% 48% at 18% 88%, color-mix(in srgb, var(--mx-pri, var(--p-amber)) 16%, transparent) 0%, transparent 70%),
      linear-gradient(180deg, var(--p-white) 0%, #F4F8FC 34%, #FEFDF8 68%, #F2FBF7 100%) !important;
    color: var(--p-ink) !important;
  }

  /* Hero Stage in Light Mode: Luminous Blue-Gold-Emerald Pearl Wash */
  html[data-theme="day"] #heroStageSurface,
  html[data-theme="day"][data-tryout-palette] #heroStageSurface {
    background-color: var(--p-white) !important;
    background-image:
      radial-gradient(circle at 82% 18%, color-mix(in srgb, var(--mx-hi, var(--p-citron)) 28%, transparent) 0%, transparent 55%),
      radial-gradient(circle at 16% 78%, color-mix(in srgb, var(--mx-sec, var(--p-blue)) 18%, transparent) 0%, transparent 58%),
      radial-gradient(circle at 55% 92%, rgba(16, 185, 129, 0.14) 0%, transparent 52%),
      linear-gradient(135deg, var(--p-white) 0%, color-mix(in srgb, var(--mx-sec, var(--p-sky)) 8%, var(--p-white)) 42%, color-mix(in srgb, var(--mx-hi, #FEF08A) 14%, var(--p-white)) 76%, rgba(209, 250, 229, 0.55) 100%) !important;
    border: 1.5px solid color-mix(in srgb, var(--mx-sec, var(--p-blue)) 32%, rgba(11, 25, 48, 0.15)) !important;
    box-shadow:
      0 26px 60px -18px rgba(2, 132, 199, 0.16),
      0 12px 32px -12px rgba(245, 158, 11, 0.14),
      inset 0 1px 0 var(--p-white) !important;
  }
  html[data-theme="day"] #sec-hero .ak-plain-line {
    color: #1E293B !important;
  }

  /* Alternating Section Rhythm in Light Mode */
  html[data-theme="day"] main > .ak-section:nth-of-type(even) {
    background: linear-gradient(
      168deg,
      color-mix(in srgb, var(--mx-sec, var(--p-blue)) 8%, var(--p-white)) 0%,
      rgba(255, 255, 255, 0.92) 46%,
      color-mix(in srgb, var(--mx-hi, var(--p-citron)) 13%, var(--p-white)) 82%,
      rgba(16, 185, 129, 0.08) 100%
    ) !important;
    border-top: 1px solid color-mix(in srgb, var(--mx-sec, var(--p-blue)) 16%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--mx-pri, var(--p-amber)) 18%, transparent);
  }

  html[data-theme="day"] main > .ak-section:nth-of-type(odd):not(#sec-hero) {
    background: linear-gradient(
      168deg,
      color-mix(in srgb, var(--mx-hi, var(--p-citron)) 11%, var(--p-white)) 0%,
      rgba(255, 255, 255, 0.95) 50%,
      rgba(16, 185, 129, 0.09) 84%,
      color-mix(in srgb, var(--mx-sec, var(--p-sky)) 9%, var(--p-white)) 100%
    ) !important;
  }

  /* Foreground Cards in Light Mode: Tinted Pearl Glass */
  html[data-theme="day"] main .ak-card:not(#foilCard3dObject *),
  html[data-theme="day"] main .ak-service-card {
    background: linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.97) 0%,
      rgba(255, 255, 255, 0.92) 58%,
      color-mix(in srgb, var(--mx-sec, var(--p-sky)) 7%, var(--p-white)) 86%,
      color-mix(in srgb, var(--mx-hi, var(--p-citron)) 9%, var(--p-white)) 100%
    ) !important;
    border: 1px solid color-mix(in srgb, var(--mx-sec, var(--p-blue)) 22%, rgba(11, 25, 48, 0.1)) !important;
    box-shadow:
      0 14px 34px -14px rgba(11, 25, 48, 0.10),
      0 4px 14px -4px color-mix(in srgb, var(--mx-sec, var(--p-blue)) 10%, transparent),
      inset 0 1px 0 var(--p-white) !important;
  }

  html[data-theme="day"] main .ak-card-signature {
    background: linear-gradient(
      145deg,
      color-mix(in srgb, var(--mx-hi, var(--p-citron)) 16%, var(--p-white)) 0%,
      var(--p-white) 50%,
      rgba(16, 185, 129, 0.09) 82%,
      color-mix(in srgb, var(--mx-sec, var(--p-sky)) 10%, var(--p-white)) 100%
    ) !important;
    border: 2px solid var(--mx-pri, var(--p-amber-deep)) !important;
  }

  /* -------------------------------------------------------------------------
     3. HEADER + FLOATING THEME SWITCH (ALWAYS FROZEN & SYNCHRONIZED)
     ------------------------------------------------------------------------- */
  .header-right-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
  }
  .header-theme-pill {
    padding: 3px;
    gap: 3px;
    background: rgba(15, 26, 46, 0.92);
    border: 1.5px solid rgba(245, 158, 11, 0.55);
    border-radius: 9px;
    display: none !important;
  }
  .header-theme-pill button {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--p-slate-300);
    font: 700 0.76rem/1 'Inter', 'Inter AKfb', sans-serif;
    padding: 0.42rem 0.68rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
  }
  .header-theme-pill button.is-active {
    background: linear-gradient(135deg, var(--mx-hi, var(--p-citron)) 0%, var(--mx-pri, var(--p-amber)) 100%);
    color: var(--p-obsidian);
  }

  /* -------------------------------------------------------------------------
     4. INTERACTIVE INDUSTRY UTILITIES (ALL 8 TABS)
     ------------------------------------------------------------------------- */
  .ind-util-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
    gap: 0.75rem;
    margin-bottom: 0.9rem;
  }
  .ind-util-control {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 0.7rem 0.85rem;
  }
  .ind-util-control label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--p-slate-300);
    margin-bottom: 0.35rem;
  }
  .ind-util-control label strong {
    font-family: var(--f-mono);
    color: var(--mx-hi, var(--p-citron));
    font-size: 0.84rem;
  }
  .ind-util-select {
    width: 100%;
    padding: 0.52rem 0.65rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: var(--p-obsidian);
    color: var(--p-linen);
    font: 600 0.84rem 'Inter', 'Inter AKfb', sans-serif;
  }
  .ind-kpi-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
    margin-top: 0.85rem;
  }
  .ind-kpi-box {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(6, 10, 18, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-top: 2.5px solid var(--mx-pri, var(--p-amber));
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
  }
  .ind-kpi-box small {
    display: block;
    font-size: 0.7rem;
    color: var(--p-slate-400);
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .ind-kpi-box strong {
    display: block;
    font-family: var(--f-mono);
    font-size: 1.08rem;
    color: var(--p-white);
    margin-top: 0.2rem;
  }
  .ind-kpi-box--highlight {
    border-top-color: var(--p-emerald);
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.14), rgba(6, 10, 18, 0.95));
  }
  .ind-kpi-box--highlight strong {
    color: #6EE7B7;
  }
  .ind-waterfall-bar {
    height: 22px;
    border-radius: 999px;
    overflow: hidden;
    display: flex;
    background: var(--p-obsidian);
    border: 1px solid rgba(255, 255, 255, 0.18);
    margin: 0.75rem 0 0.45rem;
  }
  .ind-waterfall-seg {
    height: 100%;
    transition: width 0.25s ease;
  }
  .ind-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.5rem 0;
  }
  .ind-mini-pill {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.05);
    color: var(--p-slate-200);
    padding: 0.35rem 0.7rem;
    border-radius: 8px;
    font: 600 0.78rem 'Inter', 'Inter AKfb', sans-serif;
    cursor: pointer;
  }
  .ind-mini-pill.is-on {
    background: var(--mx-pri, var(--p-amber));
    color: var(--p-obsidian);
    border-color: var(--mx-hi, var(--p-citron));
    font-weight: 700;
  }
  @media (max-width: 640px) {
    .ind-kpi-strip { grid-template-columns: 1fr; }
    .header-theme-pill { display: none; }
  }


  /* -------------------------------------------------------------------------
     SESSION 1: 3D CARD MOVING GLARE (DIALED DOWN 15%), EXTRUSION & SLIDERS
     ------------------------------------------------------------------------- */
  #foilCard3dObject .card-foil-glare,
  html[data-mix][data-theme][data-tryout-palette] body .card-foil-glare {
    background: linear-gradient(
      var(--foil-angle, 130deg),
      transparent 24%,
      color-mix(in srgb, var(--mx-hi, var(--p-citron)) 14%, transparent) 44%,
      color-mix(in srgb, var(--p-white) 22%, transparent) 50%,
      color-mix(in srgb, var(--mx-sec-soft, var(--p-sky)) 12%, transparent) 56%,
      transparent 76%
    ) !important;
    mix-blend-mode: screen !important;
    opacity: 0.85 !important; /* Dialed down 15% so surface textures stay razor-sharp */
    transition: opacity 0.25s ease;
  }

  @keyframes idleCardFoilSweep {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.06); }
  }
  .card-3d-object:not(:hover) .card-foil-glare {
    animation: idleCardFoilSweep 5s ease-in-out infinite;
  }

  /* High-Impact 3D Raised Lettering Extrusion on Business Card */
  #cardFrontTitle, #cardBackTitle {
    /* CL-065: no transition — the card's idle shimmer updates the page every frame, which restarted this transition forever, so "Raised lettering" never showed */
    transition: none;
    /* CL-065: stronger relief so the slider is clearly visible (was ~3px at max) */
    transform: translateZ(calc(var(--emboss-depth, 3px) * 5)) scale(calc(1 + var(--emboss-depth, 3px) / 140px));
    filter:
      drop-shadow(0px calc(var(--emboss-depth, 3px) * 0.5) 0px rgba(180, 83, 9, 0.95))
      drop-shadow(0px calc(var(--emboss-depth, 3px) * 1.1) 0px rgba(6, 10, 18, 0.95))
      drop-shadow(0px calc(var(--emboss-depth, 3px) * 2.4) calc(var(--emboss-depth, 3px) * 3) rgba(0, 0, 0, 0.9)) !important;
  }

  /* CL-143: mixer chevron + auto-tuck hint styles moved to assets/css/akarec-brand-mixer.css (shared with every page) */

  /* Dynamic Slider Fill Bars Across All Sections */
  input[type="range"].blue-slider,
  input[type="range"].ind-range {
    -webkit-appearance: none;
    appearance: none;
    height: 8px !important;
    border-radius: 999px;
    background: linear-gradient(
      90deg,
      var(--mx-pri, var(--p-amber)) 0%,
      var(--mx-hi, var(--p-citron)) var(--slider-pct, 50%),
      rgba(148, 163, 184, 0.25) var(--slider-pct, 50%),
      rgba(148, 163, 184, 0.25) 100%
    ) !important;
    border: 1px solid rgba(255, 255, 255, 0.24);
    cursor: pointer;
    min-height: 28px;
  }
  input[type="range"].blue-slider::-webkit-slider-thumb,
  input[type="range"].ind-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--p-obsidian);
    border: 2.5px solid var(--mx-hi, var(--p-citron));
    box-shadow: 0 0 14px var(--mx-pri, var(--p-amber));
    transition: transform 0.12s ease, box-shadow 0.12s ease;
  }
  input[type="range"].blue-slider::-webkit-slider-thumb:hover,
  input[type="range"].ind-range::-webkit-slider-thumb:hover {
    transform: scale(1.18);
    box-shadow: 0 0 22px var(--mx-hi, var(--p-citron));
  }

  /* -------------------------------------------------------------------------
     SESSION 2: TOP HEADER THEME PILL (ALWAYS VISIBLE) + BOTTOM-LEFT 2-BUTTON
     RANDOM AURA & RANDOM TEXTURE SHUFFLER
     ------------------------------------------------------------------------- */
  @media (max-width: 640px) {
  }

  /* Hide old duplicate bottom-left theme switch */

  /* CL-143: Random Aura / Texture toolbar styles moved to assets/css/akarec-brand-mixer.css (shared with every page) */

  /* Make Hero Carousel Visuals Taller & Richer for High-Craft Scenes */
  #heroDemoColumn .fcar-win-visual {
    position: relative;
    background: var(--fcar-primary);
    overflow: hidden;
    height: 142px;
  }


  /* -------------------------------------------------------------------------
     SESSION 3.1: "YOURS TO KEEP." INTERACTIVE ELEVATION & OWNERSHIP RIPPLE
     ------------------------------------------------------------------------- */
  #sec-ownership .ak-keep-wrap {
    position: relative;
    display: inline-block;
  }
  #sec-ownership .ak-keep-word {
    position: relative;
    display: inline-block;
    padding: 0.04em 0.22em;
    margin: 0 -0.08em;
    border-radius: 8px;
    cursor: pointer;
    background-image: linear-gradient(
      135deg,
      var(--p-white) 0%,
      var(--mx-hi, var(--p-citron)) 30%,
      var(--mx-pri, var(--p-amber)) 68%,
      var(--p-emerald) 100%
    ) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    transition:
      transform 0.28s cubic-bezier(0.22, 1.35, 0.36, 1),
      filter 0.28s ease,
      box-shadow 0.28s ease;
  }
  html[data-theme="day"] #sec-ownership .ak-keep-word {
    background-image: linear-gradient(
      135deg,
      var(--p-ink) 0%,
      var(--mx-day-pri, var(--p-gold)) 35%,
      var(--p-emerald-deep) 100%
    ) !important;
  }
  #sec-ownership .ak-keep-word::after {
    content: "";
    position: absolute;
    left: 6%;
    right: 6%;
    bottom: 0.04em;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--mx-pri, var(--p-amber)), var(--mx-hi, var(--p-citron)), var(--p-emerald));
    box-shadow: 0 0 16px var(--mx-pri, var(--p-amber));
    transform: scaleX(0.35);
    transform-origin: center;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), height 0.2s ease;
  }
  #sec-ownership .ak-keep-word:is(:hover, :focus-visible),
  #sec-ownership.is-keep-active .ak-keep-word {
    transform: translateY(-7px) scale(1.07);
    filter: drop-shadow(0 12px 22px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 50%, transparent));
    outline: none;
  }
  #sec-ownership .ak-keep-word:is(:hover, :focus-visible)::after,
  #sec-ownership.is-keep-active .ak-keep-word::after {
    transform: scaleX(1);
    height: 4px;
  }

  /* Sequential Ripple Across the 5 Ownership Deliverables */
  #sec-ownership .ak-ownership__list li {
    transition: transform 0.8s ease-in-out, border-color 0.8s ease-in-out, box-shadow 0.8s ease-in-out;
  }
  #sec-ownership .ak-ownership__list li.is-rippling {
    transform: translateX(6px);
    border-color: var(--p-emerald) !important;
    box-shadow: 0 10px 24px -10px rgba(16, 185, 129, 0.45);
  }
  #sec-ownership .ak-ownership__list li.is-rippling::before {
    background: var(--p-emerald) !important;
    color: var(--p-obsidian) !important;
    box-shadow: 0 0 14px var(--p-emerald);
  }

  .ak-ownership-reassurance {
    margin-top: 1.1rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.09);
    border-left: 3px solid var(--p-emerald);
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--ak-text-main);
  }
  html[data-theme="day"] .ak-ownership-reassurance {
    background: rgba(16, 185, 129, 0.10);
    color: var(--p-ink);
  }

  /* -------------------------------------------------------------------------
     SESSION 3.2: PRICING PATTERN-INTERRUPT SLOGAN STAGE (#sec-pricing)
     ------------------------------------------------------------------------- */
  #sec-pricing .ak-container > div:first-child > .ak-eyebrow {
    display: none !important;
  }

  .ak-velocity-stage {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
    gap: 1.75rem;
    align-items: center;
    padding: 1.85rem 2.1rem;
    border-radius: 18px;
    background:
      radial-gradient(ellipse at 85% 20%, color-mix(in srgb, var(--mx-pri, var(--p-amber)) 16%, transparent) 0%, transparent 60%),
      radial-gradient(ellipse at 15% 85%, rgba(16, 185, 129, 0.12) 0%, transparent 58%),
      linear-gradient(145deg, rgba(11, 19, 36, 0.92) 0%, rgba(6, 10, 18, 0.96) 100%);
    border: 1.5px solid color-mix(in srgb, var(--mx-pri, var(--p-amber)) 42%, rgba(255, 255, 255, 0.12));
    box-shadow: 0 26px 55px -18px rgba(0, 0, 0, 0.75);
    overflow: hidden;
    margin-bottom: 1.15rem;
  }
  html[data-theme="day"] .ak-velocity-stage {
    background:
      radial-gradient(ellipse at 85% 20%, color-mix(in srgb, var(--mx-hi, var(--p-citron)) 28%, transparent) 0%, transparent 60%),
      radial-gradient(ellipse at 15% 85%, rgba(16, 185, 129, 0.14) 0%, transparent 58%),
      linear-gradient(145deg, var(--p-white) 0%, #F4F8FC 55%, #FEFDF8 100%);
    border-color: color-mix(in srgb, var(--mx-pri, var(--p-amber-deep)) 45%, rgba(11, 25, 48, 0.15));
    box-shadow: 0 22px 48px -18px rgba(11, 25, 48, 0.14);
  }

  .ak-cmd-line {
    display: flex;
    flex-wrap: wrap;
    gap: 0.32em;
    font-family: 'Montserrat', 'Montserrat AKfb', 'Syne', 'Syne AKfb', sans-serif;
    font-size: clamp(2.1rem, 3.8vw, 3.25rem);
    font-weight: 800;
    line-height: 1.08;
    text-transform: uppercase;
    color: var(--p-linen);
    position: relative;
  }
  html[data-theme="day"] .ak-cmd-line {
    color: var(--p-ink);
  }
  .ak-cmd-word {
    display: inline-block;
    opacity: 0;
    transform: translate3d(0, -36px, 0) scale(1.22);
    filter: blur(4px);
    will-change: transform, opacity, filter;
  }
  .ak-velocity-stage.is-revealed .ak-cmd-word {
    animation: akCommandImpact 0.46s cubic-bezier(0.22, 1.35, 0.36, 1) forwards;
  }
  .ak-velocity-stage.is-revealed .ak-cmd-word:nth-child(1) { animation-delay: 0.04s; }
  .ak-velocity-stage.is-revealed .ak-cmd-word:nth-child(2) { animation-delay: 0.19s; }
  .ak-velocity-stage.is-revealed .ak-cmd-word:nth-child(3) { animation-delay: 0.34s; }

  @keyframes akCommandImpact {
    0% { opacity: 0; transform: translate3d(0, -36px, 0) scale(1.22); filter: blur(4px); }
    70% { opacity: 1; transform: translate3d(0, 3px, 0) scale(0.98); filter: blur(0); }
    100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); filter: blur(0); }
  }

  .ak-vel-line {
    display: block;
    margin-top: 0.22em;
    font-family: 'Montserrat', 'Montserrat AKfb', 'Syne', 'Syne AKfb', sans-serif;
    font-size: clamp(2.1rem, 3.8vw, 3.25rem);
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    background-image: linear-gradient(
      110deg,
      var(--mx-pri, var(--p-amber)) 0%,
      var(--mx-hi, var(--p-citron)) 25%,
      var(--p-white) 48%,
      var(--mx-hi, var(--p-citron)) 68%,
      var(--mx-sec-soft, var(--p-sky)) 90%,
      var(--mx-pri, var(--p-amber)) 100%
    );
    background-size: 240% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translate3d(-28px, 0, 0);
    will-change: transform, opacity, background-position;
  }
  html[data-theme="day"] .ak-vel-line {
    background-image: linear-gradient(
      110deg,
      var(--p-ink) 0%,
      var(--mx-day-pri, var(--p-gold)) 28%,
      var(--mx-pri, var(--p-amber-deep)) 50%,
      var(--p-blue) 76%,
      var(--p-ink) 100%
    );
    background-size: 240% auto;
  }
  .ak-velocity-stage.is-revealed .ak-vel-line {
    animation:
      akVelocityGlide 0.72s cubic-bezier(0.16, 1, 0.3, 1) 0.56s forwards,
      akVelocityShimmer 2.6s ease-out 0.65s forwards;
  }

  @keyframes akVelocityGlide {
    0% { opacity: 0; transform: translate3d(-28px, 0, 0); }
    100% { opacity: 1; transform: translate3d(0, 0, 0); }
  }
  @keyframes akVelocityShimmer {
    0% { background-position: 180% center; }
    100% { background-position: 0% center; }
  }

  .ak-vel-chart-card {
    background: rgba(6, 10, 18, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    padding: 0.9rem 1.05rem;
    color: var(--p-linen);
    position: relative;
  }
  html[data-theme="day"] .ak-vel-chart-card {
    background: rgba(11, 25, 48, 0.95);
    border-color: rgba(11, 25, 48, 0.25);
  }
  .ak-vel-chart-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--f-mono);
    font-size: 0.68rem;
    color: var(--p-slate-400);
    margin-bottom: 0.45rem;
  }
  .ak-vel-bar {
    transform-box: fill-box;
    transform-origin: bottom;
    transform: scaleY(0);
  }
  .ak-velocity-stage.is-revealed .ak-vel-bar {
    animation: akBarRise 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .ak-velocity-stage.is-revealed .ak-vel-bar--1 { animation-delay: 0.68s; }
  .ak-velocity-stage.is-revealed .ak-vel-bar--2 { animation-delay: 0.76s; }
  .ak-velocity-stage.is-revealed .ak-vel-bar--3 { animation-delay: 0.84s; }
  .ak-velocity-stage.is-revealed .ak-vel-bar--4 { animation-delay: 0.92s; }
  .ak-velocity-stage.is-revealed .ak-vel-bar--5 { animation-delay: 1.00s; }
  .ak-velocity-stage.is-revealed .ak-vel-bar--6 { animation-delay: 1.08s; }

  @keyframes akBarRise {
    0% { transform: scaleY(0); opacity: 0.2; }
    100% { transform: scaleY(1); opacity: 1; }
  }

  .ak-vel-curve {
    stroke-dasharray: 280;
    stroke-dashoffset: 280;
  }
  .ak-velocity-stage.is-revealed .ak-vel-curve {
    animation: akCurveDraw 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.78s forwards;
  }
  @keyframes akCurveDraw {
    to { stroke-dashoffset: 0; }
  }

  .ak-vel-replay-btn {
    appearance: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--p-slate-300);
    border-radius: 6px;
    padding: 0.18rem 0.5rem;
    font-family: var(--f-mono);
    font-size: 0.64rem;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease;
  }
  .ak-vel-replay-btn:hover {
    border-color: var(--mx-hi, var(--p-citron));
    color: var(--p-white);
  }

  @media (max-width: 860px) {
    .ak-velocity-stage {
      grid-template-columns: 1fr;
      padding: 1.35rem 1.25rem;
    }
  }

  /* -------------------------------------------------------------------------
     SESSION 3.3: QUICK WINS DRAWER (#quickWinsDrawer) HIGHLIGHT & LIFT
     ------------------------------------------------------------------------- */
  #quickWinsDrawer {
    position: relative;
    border: 2px solid rgba(16, 185, 129, 0.55) !important;
    background: linear-gradient(
      145deg,
      rgba(16, 185, 129, 0.10) 0%,
      var(--ak-surface, rgba(12, 20, 36, 0.9)) 48%,
      color-mix(in srgb, var(--mx-pri, var(--p-amber)) 10%, transparent) 100%
    ) !important;
    box-shadow:
      0 18px 40px -16px rgba(0, 0, 0, 0.6),
      0 0 28px -8px rgba(16, 185, 129, 0.35) !important;
    transition:
      transform 0.24s cubic-bezier(0.16, 1, 0.3, 1),
      box-shadow 0.24s ease,
      border-color 0.24s ease !important;
  }
  html[data-theme="day"] #quickWinsDrawer {
    background: linear-gradient(
      145deg,
      rgba(16, 185, 129, 0.11) 0%,
      var(--p-white) 50%,
      color-mix(in srgb, var(--mx-hi, var(--p-citron)) 16%, var(--p-white)) 100%
    ) !important;
  }
  #quickWinsDrawer:is(:hover, :focus-within) {
    transform: translateY(-9px) scale(1.008) !important;
    border-color: var(--mx-hi, var(--p-citron)) !important;
    box-shadow:
      0 32px 58px -18px rgba(0, 0, 0, 0.72),
      0 0 0 1px rgba(16, 185, 129, 0.5),
      0 0 46px -4px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 65%, var(--p-emerald)) !important;
  }
  #quickWinsDrawer > summary {
    padding: 0.35rem 0.2rem;
    border-radius: 10px;
    transition: color 0.2s ease;
  }
  #quickWinsDrawer > summary:hover {
    color: var(--mx-hi, var(--p-citron));
  }
  html[data-theme="day"] #quickWinsDrawer > summary:hover {
    color: var(--mx-day-pri, var(--p-gold));
  }

  /* -------------------------------------------------------------------------
     SESSION 4.1: "LEADING THE HORSE TO WATER" PSYCHOLOGICAL VALUE BRIDGES
     ------------------------------------------------------------------------- */
  .ak-psych-bridge {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    margin: 0 0 1.65rem;
    padding: 1.05rem 1.2rem;
    border-radius: 14px;
    background: linear-gradient(
      135deg,
      rgba(15, 23, 42, 0.78) 0%,
      rgba(6, 10, 18, 0.86) 60%,
      color-mix(in srgb, var(--mx-pri, var(--p-amber)) 10%, rgba(6, 10, 18, 0.9)) 100%
    );
    border: 1px solid color-mix(in srgb, var(--mx-pri, var(--p-amber)) 32%, rgba(255, 255, 255, 0.12));
  }
  html[data-theme="day"] .ak-psych-bridge {
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.96) 0%,
      color-mix(in srgb, var(--mx-sec, var(--p-blue)) 6%, var(--p-white)) 55%,
      color-mix(in srgb, var(--mx-hi, var(--p-citron)) 12%, var(--p-white)) 100%
    );
    border-color: color-mix(in srgb, var(--mx-sec, var(--p-blue)) 26%, rgba(11, 25, 48, 0.12));
    box-shadow: 0 10px 26px -14px rgba(11, 25, 48, 0.1);
  }
  .ak-psych-step {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.86rem;
    line-height: 1.48;
    color: var(--ak-text-muted);
  }
  .ak-psych-step__num {
    flex: 0 0 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--f-mono);
    font-size: 0.72rem;
    font-weight: 800;
    background: color-mix(in srgb, var(--mx-pri, var(--p-amber)) 22%, transparent);
    color: var(--mx-hi, var(--p-citron));
    border: 1px solid var(--mx-pri, var(--p-amber));
    margin-top: 0.1rem;
  }
  html[data-theme="day"] .ak-psych-step__num {
    background: var(--mx-pri, var(--p-amber-deep));
    color: var(--mx-on-pri, var(--p-obsidian));      /* CL-189: was white on amber, 2.1 : 1; the mix's own "ink on the main colour" */
  }
  .ak-psych-step strong {
    display: block;
    color: var(--ak-text-main);
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
  }
  @media (max-width: 820px) {
    .ak-psych-bridge {
      grid-template-columns: 1fr;
      gap: 0.75rem;
    }
  }

  /* Guided Self-Discovery Breadcrumb Nudge */
  .ak-aha-nudge {
    margin-top: 1.75rem;
    padding: 0.85rem 1.2rem;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px dashed rgba(16, 185, 129, 0.45);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.85rem;
    font-size: 0.88rem;
  }
  .ak-aha-nudge strong {
    color: var(--p-emerald);
  }
  html[data-theme="day"] .ak-aha-nudge strong {
    color: var(--p-emerald-deep);
  }

  /* -------------------------------------------------------------------------
     SESSION 4.2: PHYSICAL 38PT FOIL + SMART NFC CARD PRODUCTIZATION
     ------------------------------------------------------------------------- */
  .ak-card-product-bar {
    width: 100%;
    max-width: 500px;
    padding: 0.9rem 1.05rem;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(6, 10, 18, 0.95));
    border: 1px solid color-mix(in srgb, var(--mx-pri, var(--p-amber)) 45%, rgba(255, 255, 255, 0.14));
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    color: var(--p-linen);
    box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.65);
  }
  .ak-card-product-bar__meta {
    font-size: 0.8rem;
    line-height: 1.4;
  }
  .ak-card-product-bar__meta strong {
    display: block;
    color: var(--mx-hi, var(--p-citron));
    font-size: 0.88rem;
  }
  .ak-card-product-bar__meta span {
    color: var(--p-slate-300);
  }

  /* -------------------------------------------------------------------------
     SESSION 4.3: EXECUTIVE TOAST BANNER (REPLACES BROWSER ALERT)
     ------------------------------------------------------------------------- */
  .ak-exec-toast {
    position: fixed;
    top: 86px;
    right: 24px;
    z-index: 5000;
    max-width: 420px;
    background: linear-gradient(145deg, var(--p-surface) 0%, var(--p-obsidian) 100%);
    color: var(--p-linen);
    border: 1.5px solid var(--p-emerald);
    border-left: 5px solid var(--p-emerald);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.8), 0 0 28px rgba(16, 185, 129, 0.35);
    font-family: 'Inter', 'Inter AKfb', system-ui, sans-serif;
    font-size: 0.9rem;
    line-height: 1.45;
    opacity: 0;
    transform: translateY(-16px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .ak-exec-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .ak-exec-toast__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    color: #6EE7B7;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
  }

  .ak-footer-link-btn {
    appearance: none;
    background: none;
    border: 0;
    padding: 0; min-height: 24px; margin-bottom: 2px;
    color: var(--p-slate-300);
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .ak-footer-link-btn:hover {
    color: var(--mx-hi, var(--p-citron));
  }

  @media (prefers-reduced-motion: reduce) {
    .ak-cmd-word,
    .ak-vel-line,
    .ak-vel-bar,
    .ak-vel-curve {
      animation: none !important;
      opacity: 1 !important;
      transform: none !important;
      filter: none !important;
      stroke-dashoffset: 0 !important;
    }
    #quickWinsDrawer:is(:hover, :focus-within),
    #sec-ownership .ak-keep-word:is(:hover, :focus-visible) {
      transform: none !important;
    }
  }


  /* CL-027 (2026-11-13): first round of fixes on Gemini's v4 */

  /* "Yours to keep": calm tag under the headline instead of the floating badge */
  #sec-ownership .ak-keep-tag {
    display: inline-flex; align-items: center; gap: 0.35rem;
    margin: 0.15rem 0 1rem; padding: 0.32rem 0.8rem;
    border-radius: 999px; border: 1px solid rgba(16, 185, 129, 0.55);
    background: rgba(16, 185, 129, 0.1); color: #6EE7B7;
    font-family: var(--f-body); font-size: 0.84rem; font-weight: 600; line-height: 1.3;
    margin-top: 1.4rem !important;
    margin-bottom: 1.6rem !important;
  }
  html[data-theme="day"] #sec-ownership .ak-keep-tag { color: var(--p-emerald-deep); background: rgba(16, 185, 129, 0.12); }

  /* AKA Grade: the run button lifts and glows; the industry picker looks like part of the site */
  #sec-grade form button.ak-button { transition: transform 0.22s cubic-bezier(0.22, 1.2, 0.36, 1), box-shadow 0.22s ease, filter 0.22s ease !important; }
  #sec-grade form button.ak-button:is(:hover, :focus-visible) {
    transform: translateY(-5px) scale(1.02) !important;
    filter: brightness(1.08);
    box-shadow: 0 18px 34px -10px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 75%, transparent), 0 0 0 2px color-mix(in srgb, var(--mx-hi, var(--p-citron)) 70%, transparent) !important;
  }
  #gradeIndustryInput {
    -webkit-appearance: none; appearance: none; cursor: pointer; font-weight: 600;
    padding-right: 2.7rem;
    border-color: color-mix(in srgb, var(--mx-pri, var(--p-amber)) 45%, transparent);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%23F59E0B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important; background-position: right 1rem center !important; background-size: 15px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }
  #gradeIndustryInput:is(:hover, :focus) {
    border-color: var(--mx-pri, var(--p-amber)); outline: none;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 25%, transparent);
  }
  #gradeIndustryInput option { background: var(--p-surface); color: var(--p-linen); font-weight: 500; padding: 0.5rem; }
  html[data-theme="day"] #gradeIndustryInput option { background: var(--p-white); color: var(--p-ink); }

  /* Industries: lead-in above the three reasons, cue above the tabs */
  #sec-industries .ak-bridge-lead { font-family: var(--f-body); font-size: 1.08rem; margin: 0 0 0.6rem; font-weight: 700 !important; color: var(--ak-text-main); }
  #sec-industries .ak-tabs-cue {
    font-family: var(--f-body); font-size: 0.98rem; font-weight: 600; margin: 0 0 0.75rem;
    color: var(--mx-hi, var(--p-citron));
  }
  html[data-theme="day"] #sec-industries .ak-tabs-cue { color: var(--p-amber-brown); }

  /* Signature: plain-words guide fills the open slot */
  #signatureTierGrid { container-type: inline-size; }
  .ak-plain-guide {
    display: flex; flex-direction: column; gap: 1.1rem;
    padding: 1.6rem; border-radius: 16px;
    border: 1.5px dashed color-mix(in srgb, var(--mx-pri, var(--p-amber)) 60%, transparent);
    background: color-mix(in srgb, var(--mx-pri, var(--p-amber)) 7%, transparent);
    font-family: var(--f-body);
  }
  .ak-plain-guide__tag {
    display: inline-block; margin-bottom: 0.6rem; padding: 0.22rem 0.7rem; border-radius: 999px;
    font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em;
    background: color-mix(in srgb, var(--mx-pri, var(--p-amber)) 22%, transparent); color: var(--mx-hi, var(--p-citron));
  }
  html[data-theme="day"] .ak-plain-guide__tag { color: var(--p-amber-brown); }
  .ak-plain-guide h4 { font-size: 1.35rem; margin: 0 0 0.45rem; }
  .ak-plain-guide p { margin: 0; font-size: 0.97rem; line-height: 1.55; color: var(--ak-text-muted); }
  .ak-plain-guide__steps { list-style: none; counter-reset: pg; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
  .ak-plain-guide__steps li {
    counter-increment: pg; position: relative; padding-left: 2.5rem;
    font-size: 0.94rem; line-height: 1.5; color: var(--ak-text-muted);
  }
  .ak-plain-guide__steps li strong { color: var(--ak-text-main); display: block; }
  .ak-plain-guide__steps li::before {
    content: counter(pg); position: absolute; left: 0; top: 0.1rem;
    width: 1.75rem; height: 1.75rem; border-radius: 50%;
    display: grid; place-items: center; font-weight: 700; font-size: 0.85rem;
    background: var(--mx-pri, var(--p-amber)); color: var(--p-ink);
  }

  /* Phone header: Light/Dark shrinks to two icons so the AKAREC name is not covered */
  @media (max-width: 640px) {
    .header-theme-pill button { font-size: 0 !important; width: 32px; height: 32px; padding: 0 !important; display: grid; place-items: center; }
    .header-theme-pill button::before { font-size: 1rem; line-height: 1; }
    .header-theme-pill button[data-theme-choice="day"]::before { content: "☀"; }
    .header-theme-pill button[data-theme-choice="night"]::before { content: "☾"; }
    .header-right-actions { gap: 0.4rem !important; }
    .header-right-actions .nav-cta { font-size: 0.78rem !important; padding: 0.5rem 0.6rem !important; line-height: 1.15; }
    .header-right-actions .nav-cta__arrow { display: none; }
    /* Shorter button text on phones so the name fits */
    .header-right-actions .nav-cta > span:first-child { font-size: 0; }
    .header-right-actions .nav-cta > span:first-child::after { content: "Book a call"; font-size: 0.8rem; white-space: nowrap; }
    html body header.site-header #navWordmarkText { font-size: 15px !important; letter-spacing: 1px !important; }
    html body header.site-header > a span.ak-telemetry-dot { display: none !important; }
    header.site-header > a .header-tagline__gold { display: none !important; }
  }
  @container (min-width: 1040px) {
    .ak-plain-guide { grid-column: 1 / -1; flex-direction: row; gap: 2.5rem; align-items: center; }
    .ak-plain-guide__intro { flex: 1; }
    .ak-plain-guide__steps { flex: 1.5; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
  }


  /* CL-028 (2026-11-14): Round 2, plain words and play */

  /* "In plain words" line on every package card */
  .ak-plain-words {
    margin: 0 0 0.7rem; padding: 0.6rem 0.8rem; border-radius: 10px;
    border-left: 3px solid var(--mx-pri, var(--p-amber));
    background: color-mix(in srgb, var(--mx-pri, var(--p-amber)) 8%, transparent);
    font-family: var(--f-body); font-size: 0.95rem; line-height: 1.5; color: var(--ak-text-main);
  }
  .ak-plain-words b { display: block; font-size: 0.74rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--mx-hi, var(--p-citron)); margin-bottom: 0.15rem; }
  html[data-theme="day"] .ak-plain-words b { color: var(--p-amber-brown); }
  .ak-plain-words + .ak-plain-line { font-size: 0.84rem !important; opacity: 0.85; }

  /* Checkout pop-up: plain-words guide at the top */
  .ak-pkg-guide { margin: 1rem 0 1.1rem; display: grid; gap: 0.8rem; font-family: var(--f-body); }
  .ak-pkg-guide__plain { margin: 0; font-size: 1rem; line-height: 1.55; }
  .ak-pkg-guide__pay {
    display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; align-items: baseline;
    padding: 0.7rem 0.9rem; border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--p-emerald) 55%, transparent); background: rgba(16, 185, 129, 0.08);
    font-size: 0.93rem;
  }
  .ak-pkg-guide__pay strong { font-size: 1.15rem; }
  .ak-pkg-guide__steps { list-style: none; counter-reset: pk; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
  .ak-pkg-guide__steps li { counter-increment: pk; position: relative; padding-left: 2.2rem; font-size: 0.92rem; line-height: 1.45; color: var(--ak-text-muted); }
  .ak-pkg-guide__steps li strong { color: var(--ak-text-main); }
  .ak-pkg-guide__steps li::before {
    content: counter(pk); position: absolute; left: 0; top: 0.05rem; width: 1.55rem; height: 1.55rem; border-radius: 50%;
    display: grid; place-items: center; font-size: 0.8rem; font-weight: 700; background: var(--mx-pri, var(--p-amber)); color: var(--p-ink);
  }
  .ak-pkg-guide__head { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ak-text-muted); margin: 0.2rem 0 0; }
  #packageDetailModal .modal-box { max-height: calc(100vh - 2rem); overflow-y: auto; }

  /* CL-143: put it back styles moved to assets/css/akarec-brand-mixer.css (shared with every page) */

  /* "Where should I start?" finder under the four service cards */
  .ak-finder {
    margin-top: 2rem; padding: 1.6rem; border-radius: 16px;
    border: 1px solid color-mix(in srgb, var(--mx-pri, var(--p-amber)) 40%, transparent);
    background: linear-gradient(135deg, color-mix(in srgb, var(--mx-pri, var(--p-amber)) 7%, transparent), color-mix(in srgb, var(--mx-sec, var(--p-blue)) 7%, transparent));
    font-family: var(--f-body);
  }
  .ak-finder h3 { font-size: 1.45rem; margin: 0 0 0.3rem; }
  .ak-finder > p { margin: 0 0 1.2rem; color: var(--ak-text-muted); }
  .ak-finder__q { margin-bottom: 1.1rem; }
  .ak-finder__q > strong { display: block; margin-bottom: 0.5rem; font-size: 0.98rem; }
  .ak-finder__q > strong span { color: var(--mx-pri, var(--p-amber)); margin-right: 0.35rem; }
  .ak-finder__opts { display: flex; flex-wrap: wrap; gap: 0.5rem; }
  .ak-finder__opts button {
    font: 600 0.9rem 'Inter', 'Inter AKfb', sans-serif; padding: 0.55rem 0.95rem; min-height: 40px; border-radius: 999px; cursor: pointer;
    border: 1px solid var(--ak-border, rgba(255,255,255,0.18)); background: rgba(255,255,255,0.04); color: var(--ak-text-main);
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  }
  html[data-theme="day"] .ak-finder__opts button { background: var(--p-white); border-color: rgba(11,25,48,0.2); }
  .ak-finder__opts button:hover { transform: translateY(-2px); border-color: var(--mx-pri, var(--p-amber)); }
  html .ak-finder .ak-finder__opts button[aria-pressed="true"] { background: var(--mx-pri, var(--p-amber)) !important; border-color: var(--mx-pri, var(--p-amber)) !important; color: var(--p-ink) !important; box-shadow: 0 6px 16px -6px var(--mx-pri, var(--p-amber)); }
  .ak-finder__result {
    margin-top: 0.4rem; padding: 1.2rem; border-radius: 12px; display: none;
    border: 1.5px solid var(--p-emerald); background: rgba(16, 185, 129, 0.08);
  }
  .ak-finder__result.is-showing { display: block; animation: akPopIn 0.3s ease; }
  .ak-finder__result small { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--p-emerald); }
  .ak-finder__result h4 { font-size: 1.3rem; margin: 0.25rem 0; }
  .ak-finder__result p { margin: 0 0 0.9rem; color: var(--ak-text-muted); }
  .ak-finder__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
  .ak-finder__note { margin-top: 0.7rem !important; font-size: 0.82rem; }


  /* N-02: more room under "keep" and the key tag */
  /* N-05: "Why put a tool on your website?" strip about 150% */
  #indPsychBridge .ak-psych-step strong { font-size: 1.3rem; line-height: 1.3; }
  #indPsychBridge .ak-psych-step div { font-size: 1.1rem; line-height: 1.55; }
  #indPsychBridge .ak-psych-step__num { width: 3rem; height: 3rem; min-width: 3rem; font-size: 1.1rem; }
  #indPsychBridge { gap: 1.5rem; padding: 1.5rem; }
  /* N-06: industry tabs lift and glow on hover, selected tab keeps its own look */
  .ind-tabs .route-pill:not(.active):hover, .ind-tabs .route-pill:not(.active):focus-visible {
    transform: translateY(-3px);
    border-color: var(--mx-hi, var(--p-citron));
    box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--mx-hi, var(--p-citron)) 60%, transparent);
  }
  /* N-09: Brand Studio buttons lift and glow */
  #sec-cocreation button { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
  #sec-cocreation button:hover, #sec-cocreation button:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 70%, transparent);
  }
  /* N-11: card back gets the same moving shine as the front */
  #cardBackFace .card-foil-glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 6; }
  /* N-12: NFC card bar matches the package cards */
  #akCardProductBar.ak-card-product-bar {
    background: var(--ak-surface, rgba(15,23,42,0.72)) !important;
    border: 1px solid var(--ak-border-subtle, rgba(255,255,255,0.12)) !important;
    border-radius: 16px !important;
    padding: 1rem 1.25rem !important;
    box-shadow: 0 14px 30px -18px rgba(0,0,0,0.6) !important;
  }
  html[data-theme="day"] #akCardProductBar.ak-card-product-bar { background: var(--p-white) !important; border-color: rgba(11,25,48,0.14) !important; }
  /* N-13: Signature card headers wrap cleanly instead of leaving an awkward gap */
  #signatureTierGrid article > div:first-child > div:first-child { flex-wrap: wrap; gap: 0.4rem 0.75rem; }
  #signatureTierGrid article .route-pill { white-space: nowrap; }
  /* N-14: "What's included" pop-out instead of the grey list */
  .ak-incl-toggle { margin: 0.2rem 0 0.8rem; background: none; border: 0; color: var(--mx-hi, var(--p-citron)); font-weight: 700; font-size: 0.95rem; cursor: pointer; display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.45rem 0.9rem 0.45rem 0.75rem !important; border-radius: 999px !important; border: 1px solid color-mix(in srgb, var(--mx-pri, var(--p-amber)) 45%, transparent) !important; background: color-mix(in srgb, var(--mx-pri, var(--p-amber)) 10%, transparent) !important; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
  .ak-incl-toggle span { display: inline-block; transition: transform .2s ease; }
  .ak-incl-toggle[aria-expanded="true"] span { transform: rotate(90deg); }
  .ak-incl-list { background: rgba(255,255,255,0.04); border: 1px solid var(--ak-border-subtle, rgba(255,255,255,0.12)); font-size: 0.93rem; line-height: 1.55; list-style: none !important; padding: 0.4rem !important; margin: 0.2rem 0 1rem !important; border-radius: 14px !important; border: 1px solid color-mix(in srgb, var(--mx-pri, var(--p-amber)) 28%, transparent) !important; background: linear-gradient(180deg, color-mix(in srgb, var(--mx-pri, var(--p-amber)) 9%, transparent), transparent 70%), rgba(255,255,255,0.03) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,0.06); animation: akInclOpen .28s ease both; }
  html[data-theme="day"] .ak-incl-list { background: rgba(11,25,48,0.04); background: linear-gradient(180deg, color-mix(in srgb, var(--mx-pri, var(--p-amber)) 10%, var(--p-white)), var(--p-white) 75%) !important; border-color: color-mix(in srgb, var(--mx-pri, var(--p-amber)) 35%, #E5E7EB) !important; box-shadow: 0 8px 20px -14px rgba(11,25,48,0.35); }
  .ak-incl-list[hidden] { display: none; }
  /* Featured packages: middle = recommended glow; right = premium look. Colors follow the brand mixer. */
  #akRedesignSpot .cdemo-bar--bottom, #akRedesignSpot .cdemo-bar__right { display: none !important; }
  html body #sec-pricing article.ak-card.is-featured,
  html[data-mix][data-theme][data-tryout-palette] body #sec-pricing article.ak-card.is-featured {
    border-color: var(--mx-hi, var(--p-citron)) !important;
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--mx-hi, var(--p-citron)) 55%, transparent), 0 22px 48px -20px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 75%, transparent) !important;
    transform: translateY(-8px);
    position: relative;
  }
  html body #sec-pricing article.ak-card.is-premium,
  html[data-mix][data-theme][data-tryout-palette] body #sec-pricing article.ak-card.is-premium {
    border-color: color-mix(in srgb, var(--mx-sec-soft, var(--p-sky)) 60%, transparent) !important;
    outline: 1px solid color-mix(in srgb, var(--mx-sec-soft, var(--p-sky)) 35%, transparent);
    outline-offset: 4px;
    background-image: linear-gradient(135deg, color-mix(in srgb, var(--mx-sec-soft, var(--p-sky)) 9%, transparent), transparent 45%) !important;
  }
  #sec-pricing article.ak-card.is-featured::after {
    content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
    border: 2px solid var(--mx-hi, var(--p-citron));
  }
  .ak-feat-flag { z-index: 2; position: absolute; top: -0.8rem; left: 50%; transform: translateX(-50%); padding: 0.25rem 0.8rem; border-radius: 999px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; background: var(--mx-hi, var(--p-citron)); color: #0B1220; }
  @media (max-width: 760px) { #sec-pricing article.ak-card.is-featured { transform: none; margin-top: 0.8rem; } }
  /* N-16: legal results react to choices */
  @keyframes akKpiPulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--mx-hi, var(--p-citron)) 60%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }
  .ind-kpi-box.is-updated { animation: akKpiPulse .7s ease; }
  #lawBringList { margin: 0.6rem 0 0; padding-left: 1.2rem; font-size: 0.9rem; line-height: 1.5; }
  /* Slider moved to a general before/after spot */
  .ak-redesign-spot { margin: 3rem auto 0; max-width: 720px; text-align: center; }
  .ak-redesign-spot h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 0.35rem; }
  .ak-redesign-spot p { margin: 0 0 1.2rem; color: var(--ak-text-muted); }


  /* CL-033: every dropdown matches the AKA Grade industry picker (Frank) */
  html body select:not(#gradeIndustryInput) {
    -webkit-appearance: none !important; appearance: none !important; cursor: pointer; font-weight: 600;
    padding-right: 2.7rem !important;
    border: 1px solid color-mix(in srgb, var(--mx-pri, var(--p-amber)) 45%, transparent) !important;
    border-radius: 10px;
    background-color: rgba(6,10,18,0.65);
    color: var(--p-linen);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%23F59E0B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important; background-position: right 1rem center !important; background-size: 15px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    min-height: 44px;
  }
  html[data-theme="day"] body select:not(#gradeIndustryInput) { background-color: var(--p-white); color: var(--p-ink); }
  html body select:not(#gradeIndustryInput):is(:hover, :focus) {
    border-color: var(--mx-pri, var(--p-amber)) !important; outline: none;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 25%, transparent);
  }
  html body select option { background: var(--p-surface); color: var(--p-linen); font-weight: 500; padding: 0.5rem; }
  html[data-theme="day"] body select option { background: var(--p-white); color: var(--p-ink); }

.ind-roof>*:not(#akaRoofMount):not([data-ak-actions]):not(.ak-tool-textme){display:none!important}.ind-roof [data-ak-book]{display:none!important}

  /* CL-038: "What's included" list, finished look (Frank) */
  .ak-incl-toggle:hover { transform: translateY(-1px); border-color: var(--mx-pri, var(--p-amber)) !important; }
  .ak-incl-toggle[aria-expanded="true"] { background: color-mix(in srgb, var(--mx-pri, var(--p-amber)) 18%, transparent) !important; }
  @keyframes akInclOpen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
  .ak-incl-list li { position: relative; margin: 0 !important; padding: 0.55rem 0.7rem 0.55rem 2.3rem; font-size: 0.94rem; line-height: 1.45; border-radius: 9px; }
  .ak-incl-list li + li { border-top: 1px dashed rgba(255,255,255,0.08); }
  .ak-incl-list li::before {
    content: "\2713"; position: absolute; left: 0.65rem; top: 0.55rem; width: 1.2rem; height: 1.2rem; border-radius: 50%;
    display: grid; place-items: center; font-size: 0.7rem; font-weight: 900;
    background: var(--mx-pri, var(--p-amber)); color: #0B1220;
  }
  html[data-theme="day"] .ak-incl-list li { color: #1E293B; }
  html[data-theme="day"] .ak-incl-list li + li { border-top-color: rgba(11,25,48,0.08); }
  html[data-theme="day"] .ak-incl-toggle { color: var(--p-amber-brown) !important; }

  /* CL-038: Get found online tab, upgraded look */
  #sec-more-services .aks-found { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0.4rem 0 1rem; }
  #sec-more-services .aks-found__col { padding: 1.1rem 1.2rem; border-radius: 16px; border: 1px solid; }
  #sec-more-services .aks-found__col b { display: block; font-size: 1.05rem; margin-bottom: 0.5rem; }
  #sec-more-services .aks-found__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
  #sec-more-services .aks-found__col li { position: relative; padding-left: 1.9rem; line-height: 1.45; font-size: 0.95rem; }
  #sec-more-services .aks-found__col li::before { position: absolute; left: 0; top: 0.05rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; display: grid; place-items: center; font-size: 0.72rem; font-weight: 900; }
  #sec-more-services .aks-found__col--yes { border-color: rgba(16,185,129,0.45); background: rgba(16,185,129,0.08); }
  #sec-more-services .aks-found__col--yes li::before { content: "\2713"; background: var(--p-emerald); color: #04110C; }
  #sec-more-services .aks-found__col--no { border-color: rgba(244,63,94,0.4); background: rgba(244,63,94,0.06); }
  #sec-more-services .aks-found__col--no li::before { content: "\2715"; background: #F43F5E; color: var(--p-white); }
  #sec-more-services .aks-ai { padding: 1.1rem 1.25rem; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--mx-hi, var(--p-citron)) 45%, transparent); background: color-mix(in srgb, var(--mx-hi, var(--p-citron)) 6%, transparent); margin-bottom: 1rem; }
  #sec-more-services .aks-ai__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 0.7rem; }
  #sec-more-services .aks-ai__stats div { display: flex; gap: 0.8rem; align-items: center; }
  #sec-more-services .aks-ai__stats strong { font-family: 'Montserrat', 'Montserrat AKfb', sans-serif; font-size: 2.2rem; line-height: 1; color: var(--mx-pri, var(--p-amber)); min-width: 4.8rem; flex: 0 0 auto; white-space: nowrap; }
  #sec-more-services .aks-ai__stats span { font-size: 0.88rem; line-height: 1.4; }
  #sec-more-services .aks-ai p { margin: 0; line-height: 1.55; }
  #sec-more-services .aks-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-bottom: 1.3rem; counter-reset: st; }
  #sec-more-services .aks-steps div { position: relative; padding: 0.75rem 0.9rem 0.75rem 2.6rem; border-radius: 12px; border: 1px solid var(--ak-border-subtle, rgba(255,255,255,0.14)); font-size: 0.9rem; }
  #sec-more-services .aks-steps div::before { counter-increment: st; content: counter(st); position: absolute; left: 0.8rem; top: 50%; transform: translateY(-50%); width: 1.4rem; height: 1.4rem; border-radius: 50%; display: grid; place-items: center; font-size: 0.75rem; font-weight: 800; background: var(--mx-hi, var(--p-citron)); color: #0B1220; }
  #sec-more-services .aks-steps b { display: block; }
  html[data-theme="day"] #sec-more-services .aks-found__col--yes { background: #ECFDF5; }
  html[data-theme="day"] #sec-more-services .aks-found__col--no { background: #FFF1F2; }
  html[data-theme="day"] #sec-more-services .aks-ai { background: #FFFBEB; }
  @media (max-width: 760px) { #sec-more-services .aks-found, #sec-more-services .aks-ai__stats, #sec-more-services .aks-steps { grid-template-columns: 1fr; } }


  /* CL-039 (S4): result actions on every tool */
  .ak-tool-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
  .ak-tool-actions .ak-button { min-height: 44px; }
  .ak-tool-textme { display: none; margin-top: 0.7rem; max-width: 360px; }
  .ak-tool-textme.is-open { display: block; }
  .ak-tool-textme input { width: 100%; min-height: 44px; padding: 0.6rem 0.9rem; border-radius: 10px; font-weight: 600; background: rgba(6,10,18,0.65); color: inherit; border: 1px solid color-mix(in srgb, var(--mx-pri, var(--p-amber)) 45%, transparent); }
  html[data-theme="day"] .ak-tool-textme input { background: var(--p-white); }
  .ak-tool-textme p { font-size: 0.82rem; color: var(--ak-text-muted); margin: 0.45rem 0 0; line-height: 1.45; }
  /* Tap targets: at least 24px (most are 40px+) */
  .ind-mini-pill, .ind-step, .ind-range, .akq-check { min-height: 32px; }


  /* Preview-only: glow ring shown on a button just before the clip "presses" it */
  .ak-clip-glow { position: relative; z-index: 3; animation: akClipGlow 0.9s ease-out both !important; }
  @keyframes akClipGlow {
    0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--mx-hi, var(--p-citron)) 0%, transparent); transform: scale(1); }
    45% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--mx-hi, var(--p-citron)) 75%, transparent), 0 0 34px 8px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 55%, transparent); transform: scale(1.06); }
    100% { box-shadow: 0 0 0 2px color-mix(in srgb, var(--mx-hi, var(--p-citron)) 50%, transparent), 0 0 18px 2px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 35%, transparent); transform: scale(1); }
  }


  /* CL-046: branded open list for every dropdown (Frank). The real <select> stays in place; only its open list is replaced on mouse/trackpad devices. Phones keep the native picker. */
  .ak-dd {
    position: fixed; z-index: 100000; min-width: 200px; max-height: 300px; overflow-y: auto;
    margin: 0; padding: 6px; list-style: none; box-sizing: border-box;
    background: var(--p-surface); color: var(--p-linen);
    border: 1px solid color-mix(in srgb, var(--mx-pri, var(--p-amber)) 55%, transparent);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.45), 0 0 0 4px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 12%, transparent);
    font: 500 0.95rem/1.35 Inter, 'Inter AKfb', system-ui, sans-serif;
    opacity: 0; transform: translateY(-4px); transition: opacity .14s ease, transform .14s ease;
    scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--mx-pri, var(--p-amber)) 50%, transparent) transparent;
  }
  .ak-dd.is-open { opacity: 1; transform: none; }
  .ak-dd.is-up { transform: translateY(4px); }
  .ak-dd.is-up.is-open { transform: none; }
  .ak-dd__opt {
    display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 12px 8px 10px;
    border-radius: 8px; cursor: pointer; user-select: none;
  }
  .ak-dd__check { width: 16px; flex: 0 0 16px; color: var(--mx-pri, var(--p-amber)); opacity: 0; font-weight: 800; }
  .ak-dd__opt[aria-selected="true"] { font-weight: 700; }
  .ak-dd__opt[aria-selected="true"] .ak-dd__check { opacity: 1; }
  .ak-dd__opt.is-active { background: color-mix(in srgb, var(--mx-pri, var(--p-amber)) 18%, transparent); }
  .ak-dd__opt[aria-disabled="true"] { opacity: .45; cursor: default; }
  .ak-dd__group { padding: 10px 12px 4px; font: 700 0.72rem/1 'JetBrains Mono', 'JetBrains Mono AKfb', monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--p-slate-400); }
  html[data-theme="day"] .ak-dd { background: var(--p-white); color: var(--p-ink); box-shadow: 0 18px 40px rgba(11,25,48,0.18), 0 0 0 4px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 14%, transparent); }
  html[data-theme="day"] .ak-dd__group { color: #475569; }
  html body select.ak-dd-owner[aria-expanded="true"] { border-color: var(--mx-pri, var(--p-amber)) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 25%, transparent); }
  @media (prefers-reduced-motion: reduce) { .ak-dd { transition: none; } }


  /* CL-047 (Frank): calmer, distinct aura behind the packages (bottom of the funnel) */
  html[data-theme="day"] main > #sec-pricing,
  html[data-theme="day"] main > #sec-more-services {
    background-color: #ECE7DE !important;
    background-image:
      radial-gradient(60% 45% at 10% 6%, color-mix(in srgb, var(--mx-pri, var(--p-amber)) 13%, transparent) 0%, transparent 70%),
      radial-gradient(55% 45% at 92% 88%, color-mix(in srgb, var(--mx-sec, var(--p-blue)) 11%, transparent) 0%, transparent 70%),
      repeating-conic-gradient(color-mix(in srgb, var(--mx-sec, var(--p-blue)) 4%, transparent) 0% 25%, transparent 0% 50%),
      linear-gradient(180deg, #EFEBE3 0%, #E7E2D8 100%) !important;
    background-size: auto, auto, 30px 30px, auto !important;
    border-top: 1px solid rgba(11, 25, 48, 0.08) !important;
    border-bottom: 1px solid rgba(11, 25, 48, 0.08) !important;
  }
  main > #sec-pricing,
  main > #sec-more-services {
    background-color: #070B14;
    background-image:
      radial-gradient(60% 45% at 10% 6%, color-mix(in srgb, var(--mx-pri, var(--p-amber)) 10%, transparent) 0%, transparent 70%),
      radial-gradient(55% 45% at 92% 88%, color-mix(in srgb, var(--mx-sec, var(--p-blue)) 10%, transparent) 0%, transparent 70%),
      repeating-conic-gradient(rgba(255, 255, 255, 0.022) 0% 25%, transparent 0% 50%),
      linear-gradient(180deg, #0A1120 0%, var(--p-obsidian) 100%);
    background-size: auto, auto, 30px 30px, auto;
  }

  /* CL-047: "Reserve my spot" button, lifted */
  .ak-button.ak-reserve:not(#ak-x) {
    position: relative; overflow: hidden; width: 100%;
    display: flex !important; align-items: center; justify-content: space-between; gap: 0.75rem;
    min-height: 60px; padding: 0.65rem 0.7rem 0.65rem 0.8rem !important; border-radius: 14px !important; text-align: left;
    background: linear-gradient(135deg, var(--mx-hi, var(--p-citron)) 0%, var(--mx-pri, var(--p-amber)) 52%, color-mix(in srgb, var(--mx-pri, var(--p-amber)) 72%, #7C2D12) 100%) !important;
    color: #0B1220 !important;
    border: 1px solid color-mix(in srgb, var(--mx-pri, var(--p-amber)) 55%, #3B1D04) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 12px 26px -12px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 85%, transparent) !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  }
  .ak-button.ak-reserve:not(#ak-x):hover { transform: translateY(-2px); filter: saturate(1.08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 18px 34px -12px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 95%, transparent) !important; }
  .ak-button.ak-reserve:not(#ak-x):active { transform: translateY(0); }
  .ak-button.ak-reserve:not(#ak-x):focus-visible { outline: 3px solid var(--mx-sec, var(--p-sky)); outline-offset: 3px; }
  .ak-reserve__icon {
    flex: 0 0 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(11, 18, 32, 0.88); color: var(--mx-hi, var(--p-citron));
  }
  .ak-reserve__icon svg { width: 16px; height: 16px; }
  .ak-reserve__txt { flex: 1; display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
  .ak-reserve__txt b { font: 800 1rem/1.15 'Montserrat', 'Montserrat AKfb', 'Inter', 'Inter AKfb', sans-serif; letter-spacing: 0.01em; }
  .ak-reserve__txt small { font: 600 0.74rem/1.3 'Inter', 'Inter AKfb', sans-serif; opacity: 0.78; margin-top: 2px; }
  .ak-reserve__price {
    flex: 0 0 auto; padding: 0.45rem 0.7rem; border-radius: 10px;
    background: #0B1220; color: var(--mx-hi, var(--p-citron));
    font: 800 0.95rem/1 'JetBrains Mono', 'JetBrains Mono AKfb', monospace; letter-spacing: -0.01em; white-space: nowrap;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--mx-hi, var(--p-citron)) 35%, transparent);
  }
  .ak-reserve__sheen {
    position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 48%, transparent 66%);
    transform: translateX(-120%); transition: transform 0.7s ease;
  }
  .ak-button.ak-reserve:not(#ak-x):hover .ak-reserve__sheen { transform: translateX(120%); }
  .ak-button.ak-reserve:not(#ak-x).is-quiet { background: linear-gradient(135deg, #1E293B, #0B1220) !important; color: var(--p-linen) !important; border-color: color-mix(in srgb, var(--mx-pri, var(--p-amber)) 45%, transparent) !important; }
  .ak-button.ak-reserve:not(#ak-x).is-quiet .ak-reserve__icon { background: color-mix(in srgb, var(--mx-pri, var(--p-amber)) 22%, transparent); }
  .ak-button.ak-reserve:not(#ak-x).is-quiet .ak-reserve__price { background: rgba(255, 255, 255, 0.08); }
  @media (prefers-reduced-motion: reduce) { .ak-reserve__sheen { display: none; } .ak-button.ak-reserve:not(#ak-x):hover { transform: none; } }

  /* CL-047: service cards get "Buy now" + "Ask about this" */
  #sec-more-services .aks-actions { display: flex; flex-direction: column; gap: 0.45rem; }
  #sec-more-services .aks-actions .ak-reserve:not(#ak-x) { min-height: 54px; padding: 0.55rem 0.9rem 0.55rem 0.6rem !important; }
  #sec-more-services .ak-reserve__txt b { white-space: nowrap; font-size: 0.98rem; }
  #sec-more-services .ak-reserve__icon { flex-basis: 30px; height: 30px; }
  .ak-reserve__go { flex: 0 0 auto; font: 800 1.15rem/1 'Inter', 'Inter AKfb', sans-serif; transition: transform 0.18s ease; }
  .ak-button.ak-reserve:not(#ak-x):hover .ak-reserve__go { transform: translateX(3px); }
  #sec-more-services .aks-ask {
    appearance: none; background: none; border: 0; padding: 0.3rem; cursor: pointer;
    font: 600 0.85rem/1.2 'Inter', 'Inter AKfb', sans-serif; color: var(--ak-text-muted, var(--p-slate-400)); text-decoration: underline; text-underline-offset: 3px;
  }
  #sec-more-services .aks-ask:hover { color: var(--mx-pri, var(--p-amber)); }
  #sec-more-services .aks-soon { font: 700 0.75rem/1 'JetBrains Mono', 'JetBrains Mono AKfb', monospace; color: var(--ak-text-muted, var(--p-slate-400)); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.4rem; }
  html[data-theme="day"] #sec-more-services .aks-ask { color: #475569; }

  /* CL-047: buy pop-up */
  #akBuyModal .ak-buy { max-width: 520px; }
  .ak-buy__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 0.4rem; }
  .ak-buy__eyebrow { font: 700 0.72rem/1 'JetBrains Mono', 'JetBrains Mono AKfb', monospace; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mx-pri, var(--p-amber)); }
  .ak-buy h3 { font-size: 1.45rem; margin: 0.35rem 0 0.2rem; }
  .ak-buy__desc { margin: 0 0 1rem; line-height: 1.5; color: var(--ak-text-muted, var(--p-slate-400)); }
  html[data-theme="day"] .ak-buy__desc { color: #475569; }
  .ak-buy__choice { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.9rem; }
  .ak-buy__choice label { font-weight: 700; font-size: 0.85rem; }
  .ak-buy__choice[hidden], #akBuyModal [hidden] { display: none !important; }
  .ak-buy__today { padding: 0.9rem 1rem; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--mx-pri, var(--p-amber)) 40%, transparent); background: color-mix(in srgb, var(--mx-pri, var(--p-amber)) 8%, transparent); margin-bottom: 0.8rem; }
  .ak-buy__today span { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.75; }
  .ak-buy__today strong { display: block; font: 800 1.7rem/1.2 'Montserrat', 'Montserrat AKfb', sans-serif; color: var(--mx-pri, var(--p-amber)); margin: 0.15rem 0; }
  .ak-buy__today em { display: block; font-style: normal; font-size: 0.9rem; line-height: 1.45; }
  .ak-buy__terms { margin: 0 0 1rem; padding-left: 1.1rem; font-size: 0.88rem; line-height: 1.5; }
  .ak-buy__terms li { margin-bottom: 0.2rem; }
  .ak-buy__off { padding: 0.9rem 1rem; border-radius: 12px; border: 1px dashed color-mix(in srgb, var(--mx-sec, var(--p-sky)) 55%, transparent); margin-bottom: 0.8rem; font-size: 0.92rem; line-height: 1.5; }
  .ak-buy__off .ak-reserve { margin-top: 0.7rem; }
  .ak-buy__msg { font-size: 0.85rem; margin: 0.5rem 0 0; }
  .ak-buy__ask { display: block; margin: 0.6rem auto 0; appearance: none; background: none; border: 0; cursor: pointer; font: 600 0.88rem/1.2 'Inter', 'Inter AKfb', sans-serif; color: var(--ak-text-muted, var(--p-slate-400)); text-decoration: underline; text-underline-offset: 3px; }
  .ak-buy__ask:hover { color: var(--mx-pri, var(--p-amber)); }


  .ak-faq { display: grid; gap: 0.7rem; margin-top: 1.5rem; max-width: 860px; }
  .ak-faq__item { border: 1px solid var(--ak-border-subtle); border-radius: 12px; background: var(--ak-surface); padding: 0 1.1rem; }
  .ak-faq__item summary { cursor: pointer; font-weight: 700; font-size: 1.02rem; padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; min-height: 44px; }
  .ak-faq__item summary::-webkit-details-marker { display: none; }
  .ak-faq__item summary::after { content: "+"; color: var(--ak-amber); font-size: 1.3rem; line-height: 1; }
  .ak-faq__item[open] summary::after { content: "\2212"; }
  .ak-faq__item summary:focus-visible { outline: 3px solid var(--ak-focus-outer); outline-offset: 4px; border-radius: 6px; }
  .ak-faq__item p { margin: 0 0 1rem; color: var(--ak-text-muted); line-height: 1.6; }


  .ak-lead-extra { display: grid; gap: 0.6rem; margin: 0.75rem 0; }
  .ak-consent { border: 1px solid var(--ak-border-subtle); border-radius: 10px; padding: 0.7rem 0.85rem; margin: 0; }
  .ak-consent legend { font-size: 0.82rem; font-weight: 700; padding: 0 0.3rem; }
  .ak-consent label { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.8rem; line-height: 1.4; color: var(--ak-text-muted); margin: 0.4rem 0; cursor: pointer; }
  .ak-consent input[type="checkbox"] { margin-top: 0.15rem; width: 1.05rem; height: 1.05rem; flex: 0 0 auto; accent-color: var(--ak-amber, var(--p-amber)); }
  .ak-consent a { color: var(--ak-lerp-sky, var(--p-sky)); }
  .ak-lead-status { font-size: 0.88rem; margin: 0.6rem 0 0; min-height: 1.2em; }
  .ak-lead-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }


  .ak-tax-note { font-size: 0.85rem; margin: 0.45rem 0 0; color: var(--ak-text-muted); }
  #akPayTax { margin: 0 0 0.85rem; }
  #akPayTax label, #akBuyTax label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.35rem; }
  #akPayTax select, #akBuyTax select { width: 100%; }


  .ak-studio-light {
    appearance: none; border: 0; background: transparent; cursor: pointer;
    display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.25rem 0.35rem; margin-right: 0.35rem;
    color: inherit; font: 700 0.72rem/1.1 'Inter', 'Inter AKfb', system-ui, sans-serif; letter-spacing: 0.08em; text-transform: uppercase;
  }
  .ak-studio-light__track {
    position: relative; width: 58px; height: 30px; border-radius: 999px; flex: none;
    background: linear-gradient(90deg, var(--p-navy) 0%, #13203A 100%);
    border: 1.5px solid var(--mx-pri, var(--p-amber));
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.55), 0 0 18px -4px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 70%, transparent);
    transition: background 0.35s ease, box-shadow 0.35s ease;
  }
  .ak-studio-light__track::before { /* tiny stars at night */
    content: "· ✦ ·"; position: absolute; left: 8px; top: 7px; font-size: 9px; color: rgba(255,255,255,0.55); letter-spacing: 2px;
    transition: opacity 0.3s ease;
  }
  .ak-studio-light__knob {
    position: absolute; top: 2px; left: 30px; width: 22px; height: 22px; border-radius: 50%;
    display: grid; place-items: center; font-size: 13px; line-height: 1;
    background: radial-gradient(circle at 35% 35%, var(--p-slate-50) 0%, var(--p-slate-300) 70%, var(--p-slate-400) 100%); color: var(--p-navy);
    box-shadow: 0 0 12px 2px rgba(203,213,225,0.55);
    transition: left 0.45s cubic-bezier(.65,0,.35,1), background 0.35s ease, box-shadow 0.35s ease, transform 0.45s ease;
  }
  .ak-studio-light__label { white-space: nowrap; color: var(--mx-hi, var(--p-citron)); text-shadow: 0 0 10px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 60%, transparent); }
  .ak-studio-light:hover .ak-studio-light__track { box-shadow: inset 0 2px 6px rgba(0,0,0,0.55), 0 0 26px -2px var(--mx-pri, var(--p-amber)); }
  .ak-studio-light:focus-visible { outline: 2px solid var(--ak-citron, var(--p-citron)); outline-offset: 3px; border-radius: 12px; }
  html[data-theme="day"] .ak-studio-light__track { background: linear-gradient(90deg, #FEF3C7 0%, var(--p-amber-pale) 100%); }
  html[data-theme="day"] .ak-studio-light__track::before { opacity: 0; }
  html[data-theme="day"] .ak-studio-light__knob {
    left: 4px; transform: rotate(180deg);
    background: radial-gradient(circle at 40% 40%, #FFFBEB 0%, var(--p-citron) 45%, var(--p-amber) 100%);
    box-shadow: 0 0 16px 4px rgba(253,224,71,0.75);
  }
  html[data-theme="day"] .ak-studio-light__label { color: var(--mx-pri, var(--p-gold)); text-shadow: none; }
  .ak-light-sweep {
    position: fixed; inset: 0; z-index: 3000; pointer-events: none;
    background: linear-gradient(110deg, transparent 30%, rgba(253,224,71,0.28) 48%, rgba(255,255,255,0.35) 50%, rgba(56,189,248,0.18) 54%, transparent 70%);
    background-size: 250% 100%; animation: akLightSweep 0.75s ease-out forwards;
  }
  @keyframes akLightSweep { from { background-position: 120% 0; opacity: 1; } to { background-position: -30% 0; opacity: 0.2; } }
  @media (prefers-reduced-motion: reduce) { .ak-light-sweep { display: none; } .ak-studio-light__knob { transition: none; } }
  @media (max-width: 640px) {
    .ak-studio-light { margin-right: 0.15rem; padding: 0.15rem; }
    .ak-studio-light__label { display: none; }
    .ak-studio-light__track { width: 50px; height: 28px; }
    .ak-studio-light__knob { left: 24px; width: 20px; height: 20px; }
  }


/* CL-121: Signature Launch keeps its original citron flagship look (CL-047) and now truly lights up on hover.
   The old rule tied with the hover rule and won, so hover never showed. These selectors outrank both. */
@keyframes akFlagBreath { 0%, 100% { opacity: 0.55; } 50% { opacity: 0.95; } }
html[data-mix][data-theme][data-tryout-palette] body #sec-pricing #signatureTierGrid article.ak-card.is-featured,
html body #sec-pricing #signatureTierGrid article.ak-card.is-featured {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease !important;
}
#sec-pricing #signatureTierGrid article.ak-card.is-featured::before {
  content: ""; position: absolute; inset: -8px; z-index: -1; border-radius: 24px; pointer-events: none;
  background: radial-gradient(60% 55% at 50% 45%, color-mix(in srgb, var(--mx-hi, var(--p-citron)) 34%, transparent), transparent 72%);
  filter: blur(18px); opacity: 0.55; transition: opacity 0.35s ease, inset 0.35s ease;
  animation: akFlagBreath 6s ease-in-out infinite;
}
html[data-mix][data-theme][data-tryout-palette] body #sec-pricing #signatureTierGrid article.ak-card.is-featured:is(:hover, :focus-within),
html body #sec-pricing #signatureTierGrid article.ak-card.is-featured:is(:hover, :focus-within) {
  transform: translateY(-14px) scale(1.015) !important;
  border-color: var(--mx-hi, var(--p-citron)) !important;
  box-shadow: 0 0 0 2px var(--mx-hi, var(--p-citron)), 0 36px 64px -22px rgba(0,0,0,0.75), 0 0 46px 2px color-mix(in srgb, var(--mx-hi, var(--p-citron)) 70%, transparent), 0 0 110px 10px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 40%, transparent) !important;
  background-image: radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--mx-hi, var(--p-citron)) 12%, transparent), transparent 60%) !important;
}
#sec-pricing #signatureTierGrid article.ak-card.is-featured:is(:hover, :focus-within)::before { opacity: 1; inset: -26px; animation: none; }
html[data-theme="day"] #sec-pricing #signatureTierGrid article.ak-card.is-featured::before { display: none; }
html[data-theme="day"] body #sec-pricing #signatureTierGrid article.ak-card.is-featured:is(:hover, :focus-within) {
  border-color: #CA8A04 !important;
  box-shadow: 0 0 0 2px #EAB308, 0 26px 46px -18px rgba(11,25,48,0.38) !important;
}
@media (prefers-reduced-motion: reduce) {
  #sec-pricing #signatureTierGrid article.ak-card.is-featured::before { animation: none; }
  html body #sec-pricing #signatureTierGrid article.ak-card.is-featured:is(:hover, :focus-within) { transform: translateY(-8px) !important; }
}


/* CL-119: the all-prices list is a clean, open table; rows highlight and jump to the package */
#sec-all-prices .ak-ap__note { margin: 0.4rem 0 1.2rem; font-size: 0.92rem; color: var(--ak-text-muted); max-width: 70ch; }
/* CL-175: AKAREC service icons (Fable R8). One family: a rounded line in the text colour plus one small "AKA triangle"
   spark in the visitor's main colour. The same icon marks the same service everywhere. Decorative: aria-hidden, the name stays text. */
.aki { display: inline-block; width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; margin-right: 0.5em; color: inherit; --aki-acc: var(--mx-pri, var(--p-amber)); transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
html[data-theme="day"] .aki { --aki-acc: var(--mx-day-pri, var(--p-gold)); }
.ak-all-prices li .aki { width: 1.5em; height: 1.5em; padding: 0.24em; margin-right: 0.55em; border-radius: 0.45em; vertical-align: -0.42em; box-sizing: border-box; background: color-mix(in srgb, var(--mx-pri, var(--p-amber)) 12%, transparent); }
/* CL-177: icon tile on the home "more services" cards */
#sec-more-services .aks-card h3 > .aki:first-child { display: block; width: 42px; height: 42px; padding: 9px; margin: 0 0 0.6rem; border-radius: 12px; box-sizing: border-box;
  background: linear-gradient(145deg, color-mix(in srgb, var(--mx-pri, var(--p-amber)) 15%, transparent), color-mix(in srgb, var(--mx-sec, var(--p-blue)) 8%, transparent)); border: 1px solid color-mix(in srgb, var(--mx-pri, var(--p-amber)) 32%, transparent); }
html[data-theme="day"] #sec-more-services .aks-card h3 > .aki:first-child { background: linear-gradient(145deg, color-mix(in srgb, var(--mx-day-pri, var(--p-gold)) 10%, var(--p-white)), var(--p-white)); border-color: color-mix(in srgb, var(--mx-day-pri, var(--p-gold)) 28%, transparent); }
#sec-all-prices .ak-all-prices h3 { font-size: 1.05rem; margin: 1.6rem 0 0.5rem; letter-spacing: 0.01em; }
#sec-all-prices .ak-all-prices ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
@media (max-width: 760px) { #sec-all-prices .ak-all-prices ul { grid-template-columns: 1fr; } }
#sec-all-prices .ak-ap-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.6rem 0.7rem; border-bottom: 1px solid var(--ak-border-subtle, rgba(255,255,255,0.12)); border-radius: 8px; cursor: pointer; transition: background 0.2s ease, transform 0.2s ease; }
#sec-all-prices .ak-ap-row:hover, #sec-all-prices .ak-ap-row:focus-visible { background: color-mix(in srgb, var(--mx-pri, var(--p-amber)) 13%, transparent); outline: none; }
#sec-all-prices .ak-ap-row__name { font-weight: 600; }
#sec-all-prices .ak-ap-row__price { font-family: var(--f-mono); font-size: 0.88rem; color: var(--ak-amber); text-align: right; white-space: nowrap; }
#sec-all-prices .ak-ap-row__price small::first-letter { text-transform: uppercase; }
#sec-all-prices .ak-ap-row__price small { font-family: var(--f-body); display: block; font-size: 0.74rem; color: var(--ak-text-muted); white-space: normal; }
html[data-theme="day"] #sec-all-prices .ak-ap-row__price { color: var(--p-gold); }
@keyframes akFlashOnce { 0% { box-shadow: 0 0 0 0 rgba(245,158,11,0); } 25% { box-shadow: 0 0 0 4px rgba(245,158,11,0.75); } 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0); } }
.ak-flash-once { animation: akFlashOnce 1.4s ease-out 1; border-radius: 14px; }


/* CL-120: NFC card rests calm; the back is real foil that follows the pointer */
.card-3d-object.is-flipped { transform: rotateY(calc(180deg + var(--tilt-y, 0deg))) rotateX(var(--tilt-x, 0deg)) !important; }
#foilCard3dObject .card-foil-glare, html[data-mix][data-theme][data-tryout-palette] body #foilCard3dObject .card-foil-glare { opacity: 0.5 !important; transition: opacity 0.6s ease; }
#foilCard3dObject:hover .card-foil-glare { opacity: 0.85 !important; }
html[data-theme="day"] #foilCard3dObject .card-foil-glare { opacity: 0.32 !important; }
html[data-theme="day"] #foilCard3dObject:hover .card-foil-glare { opacity: 0.6 !important; }
#cardBackFace .card-foil-glare, html[data-mix][data-theme][data-tryout-palette] body #cardBackFace .card-foil-glare {
  background:
    linear-gradient(var(--foil-angle, 130deg), transparent 26%, color-mix(in srgb, var(--mx-hi, var(--p-citron)) 12%, transparent) 44%, rgba(255,246,220,0.18) 50%, color-mix(in srgb, var(--mx-sec-soft, var(--p-sky)) 10%, transparent) 56%, transparent 74%) !important;
  mix-blend-mode: screen !important; opacity: 0.7 !important; /* CL-121: Gemini-era gentle foil, no white stripe */
}
html[data-theme="day"] #cardBackFace .card-foil-glare { opacity: 0.4 !important; }
.card-3d-object:not(:hover) #cardBackFace .card-foil-glare { animation: none; }
/* CL-170: the Day shine settings above never applied (the Mix-colour rules are more specific), so the Day card wore the full Night-strength white sheen and looked grey and foggy. Same Day values, now strong enough to win. */
html[data-theme="day"][data-theme][data-theme][data-theme] body #foilCard3dObject .card-foil-glare { opacity: 0.32 !important; }
html[data-theme="day"][data-theme][data-theme][data-theme] body #foilCard3dObject:hover .card-foil-glare { opacity: 0.6 !important; }
html[data-theme="day"][data-theme][data-theme][data-theme] body #cardBackFace .card-foil-glare { opacity: 0.4 !important; }
html[data-theme="day"] .ak-card-product-bar__meta strong { color: #7A4208 !important; }
html[data-theme="day"] .ak-card-product-bar__meta span { color: var(--ak-text-muted) !important; }
html[data-theme="day"] #akCardProductBar .route-pill { color: #7A4208 !important; border-color: var(--p-gold) !important; }


  .ak-page-teaser { margin-top: 0.9rem; font-size: 0.95rem; font-weight: 700; }
  .ak-page-teaser a { color: var(--ak-lerp-sky, var(--p-sky)); text-decoration: none; border-bottom: 1px solid currentColor; }
  .ak-page-teaser a:hover { color: var(--ak-citron, var(--p-citron)); }
  html[data-theme="day"] .ak-page-teaser a { color: var(--p-blue-deep); }
  html[data-theme="day"] .ak-page-teaser a:hover { color: var(--p-gold); }


  .nav-menu__panel a { display: block; width: 100%; text-align: left; border-radius: 6px; color: var(--p-slate-200); font-family: var(--f-alt); font-size: 0.95rem; font-weight: 600; padding: 0.6rem 0.85rem; text-decoration: none; }
  .nav-menu__panel a:hover, .nav-menu__panel a:focus-visible { background: rgba(245, 158, 11, 0.12); color: var(--p-white); outline: none; }
  .nav-menu__panel a.nav-menu__all { color: #D4B483; font-size: 0.88rem; }
  footer .ak-footer-nav { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.86rem; line-height: 1.7; }
  footer .ak-footer-nav strong { display: block; color: var(--p-linen); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.35rem; }
  footer .ak-footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
  footer .ak-footer-nav a { color: var(--p-slate-300); text-decoration: none; }
  footer .ak-footer-nav a:hover { color: var(--p-citron); }
  @media (max-width: 760px) { footer .ak-footer-nav { grid-template-columns: 1fr; } }


  .ak-section.akp-has-bg { position: relative; isolation: isolate; overflow: hidden; }
  .ak-section .akp-bg { position: absolute; inset: 0; z-index: -1; margin: 0; pointer-events: none; opacity: 0; transition: opacity .9s ease; } .ak-section .akp-bg.is-in { opacity: 1; } @media (prefers-reduced-motion: reduce) { .ak-section .akp-bg { transition: none; } } /* CL-208 (C2): in the page from the first paint, never display:none; fades in when its picture has loaded */
  .ak-section .akp-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; opacity: var(--akp-bg-o, 0.58); } /* CL-208 (C2): strength per picture, default here */
  .ak-section .akp-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ak-obsidian) 0%, color-mix(in srgb, var(--ak-obsidian) 78%, transparent) 42%, color-mix(in srgb, var(--ak-obsidian) 25%, transparent) 100%), linear-gradient(180deg, transparent 55%, var(--ak-obsidian) 100%); }
  html[data-theme="day"] .ak-section .akp-bg img { opacity: var(--akp-bg-od, 0.5); }
  @media (max-width: 720px) { .ak-section .akp-bg::after { background: linear-gradient(180deg, color-mix(in srgb, var(--ak-obsidian) 86%, transparent) 0%, color-mix(in srgb, var(--ak-obsidian) 86%, transparent) 10%, color-mix(in srgb, var(--ak-obsidian) 64%, transparent) 17%, color-mix(in srgb, var(--ak-obsidian) 54%, transparent) 32%, color-mix(in srgb, var(--ak-obsidian) 58%, transparent) 60%, var(--ak-obsidian) 100%); } html[data-theme="day"] .ak-section .akp-bg::after { background: linear-gradient(180deg, color-mix(in srgb, var(--ak-obsidian) 52%, transparent) 0%, color-mix(in srgb, var(--ak-obsidian) 60%, transparent) 55%, var(--ak-obsidian) 100%); } .ak-section .akp-bg--mid::after { background: linear-gradient(180deg, color-mix(in srgb, var(--ak-obsidian) 84%, transparent) 0%, color-mix(in srgb, var(--ak-obsidian) 84%, transparent) 70%, var(--ak-obsidian) 100%); } html[data-theme="day"] .ak-section .akp-bg--mid::after { background: linear-gradient(180deg, color-mix(in srgb, var(--ak-obsidian) 78%, transparent) 0%, color-mix(in srgb, var(--ak-obsidian) 78%, transparent) 70%, var(--ak-obsidian) 100%); } } /* the middle section is all text on a phone (small, muted lines), so its picture stays a quiet tone there */
  /* CL-165: the home hero picture shows around the hero panel (page margins, the band above and below), clearly visible, fading into the page below. The panel stays opaque. */
  #sec-hero.akp-has-bg > .akp-bg--hero img { opacity: 0.74; }
  #sec-hero.akp-has-bg > .akp-bg--hero::after { background: linear-gradient(180deg, transparent 0%, transparent 62%, var(--ak-obsidian) 100%); }
  html[data-theme="day"] #sec-hero.akp-has-bg > .akp-bg--hero img { opacity: 0.72; }
  @media (max-width: 720px) {
    #sec-hero.akp-has-bg > .akp-bg--hero::after { background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--ak-obsidian) 55%, transparent) 40%, var(--ak-obsidian) 100%); }
  }
  .ak-section .akp-bg__label { position: absolute; right: 1rem; bottom: 0.75rem; z-index: 1; font: 500 0.75rem/1 Inter, system-ui, sans-serif; letter-spacing: 0.01em; padding: 0.36rem 0.55rem; border-radius: 4px; background: rgba(6, 10, 18, 0.86); color: var(--p-slate-300); } /* CL-207 (C2 step 4): the AI label in Inter at 12 px; the backing is near-solid so the text keeps >= 4.5:1 over any picture (Night: slate-300 on rgba(6,10,18,.86) over pure white = 9.4:1; Day: slate-600 on rgba(255,255,255,.93) over pure black = 6.9:1) */
  @media (max-width: 720px) { .ak-section .akp-bg img { object-position: var(--akp-bg-x, 50%) 50%; } } /* CL-207 (C2 step 3): phone crop, the number sits on each figure */
  html[data-theme="day"][data-theme][data-theme][data-theme] main .ak-eyebrow:not(.akp-thanks *) { color: color-mix(in srgb, var(--mx-text-pri, var(--p-amber-brown)) 70%, #451A03) !important; } /* CL-164: Day only, darker gold for small eyebrow text (4.5:1 over the faded images); still follows the visitor's colour mix */
  html[data-theme="day"] .ak-section .akp-bg__label { background: rgba(255, 255, 255, 0.93); color: var(--p-slate-600); }
  html[data-theme="day"] #sec-ownership.akp-has-bg .ak-keep-tag { background: color-mix(in srgb, rgb(16, 185, 129) 12%, var(--ak-obsidian)); } /* CL-208 (C2): same tint as before, but solid, so the picture behind the section cannot lower this small green line */


  /* CL-217: the opening is ONE frame. Hero words + one gold button + one text link + the test-drive strip (#why-controls,
     CL-200's id kept for every page that links to it). Roles only (--ak-*, --mx-*), so it follows the visitor's colour mix. */
  #sec-hero h2.ak-open__h { font-size: clamp(2rem, 3.1vw, 2.85rem) !important; line-height: 1.06; margin-bottom: 1rem !important; }
  .ak-open__support { color: #CBD5E1; font-size: 1.05rem; margin: 0 0 1.25rem; }
  .ak-open__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.4rem; }
  .ak-open__link { color: var(--mx-hi, var(--p-citron)); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }
  html[data-theme="day"] .ak-open__link { color: var(--p-ink); }
  html[data-theme="day"] .ak-open__support { color: var(--p-slate-600); }
  .ak-why { margin-top: 1.5rem; padding: 1rem 1.15rem 0.9rem; border: 1px solid var(--ak-border); border-radius: 16px; background: color-mix(in srgb, var(--ak-surface-elevated) 72%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); scroll-margin-top: 96px; max-width: 560px; }
  .ak-why__title { margin: 0.3rem 0 0.7rem; font: 700 1.1rem/1.25 var(--f-head, 'Montserrat', sans-serif); font-weight: 700 !important; color: var(--ak-text-main); }
  .ak-why__title span { color: var(--mx-text-pri, var(--ak-amber)); }
  .ak-why__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
  .ak-why__chip { appearance: none; cursor: pointer; min-height: 44px; padding: 0.5rem 0.9rem; border-radius: 999px; border: 1.5px solid var(--ak-amber); background: transparent; color: var(--ak-text-main); font: 600 0.9rem 'Inter', sans-serif; transition: background 0.15s ease, transform 0.15s ease; }
  .ak-why__chip:hover, .ak-why__chip:focus-visible { background: color-mix(in srgb, var(--ak-amber) 22%, transparent); transform: translateY(-1px); }
  .ak-why__more { appearance: none; background: none; border: 0; cursor: pointer; margin-top: 0.4rem; min-height: 44px; padding: 0; color: var(--mx-text-pri, var(--ak-amber)); font: 700 0.92rem 'Inter', sans-serif; text-decoration: underline; text-underline-offset: 3px; }
  #heroDemoColumn { scroll-margin-top: 124px; }
  @media (max-width: 1365px) { #heroDemoColumn { scroll-margin-top: 72px; } }
  /* the bar glows once when a chip works it */
  @keyframes akBarGlowOnce { 0% { box-shadow: 0 0 0 0 rgba(245,158,11,0.9), 0 12px 30px rgba(0,0,0,0.6); } 40% { box-shadow: 0 0 0 10px rgba(245,158,11,0.35), 0 0 46px 6px rgba(245,158,11,0.85); } 100% { box-shadow: 0 12px 30px rgba(0,0,0,0.6), 0 0 22px -6px rgba(245,158,11,0.55); } }
  .bm-toggle.ak-glow-once { animation: akBarGlowOnce 1.7s ease-out 1; }
  @media (prefers-reduced-motion: reduce) { .bm-toggle.ak-glow-once { animation: none; box-shadow: 0 0 0 3px var(--ak-amber); } }
  /* the sheet */
  .ak-whysheet__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 0.75rem; }
  .ak-whysheet__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
  .ak-whysheet__list li { color: var(--ak-text-main); font-size: 1rem; line-height: 1.5; }
  @media (max-width: 640px) {
    .ak-whysheet.modal-backdrop { align-items: flex-end; padding: 0; }
    .ak-whysheet .modal-box { border-radius: 18px 18px 0 0; padding: 1.25rem 1.1rem 1.75rem; max-height: 80vh; }
  }
  /* phone: the whole opening fits the first screen under the 56 px header, chips above the bottom bars */
  @media (max-width: 640px) {
    #sec-hero { padding-top: 0.75rem; }
    #sec-hero h2.ak-open__h { font-size: clamp(1.45rem, 6.2vw, 1.8rem) !important; margin-bottom: 0.6rem !important; }
    #heroStageSurface > div[style*="z-index:20"] { padding: 4rem 0.85rem 1.1rem !important; }
    .reality-handle-pill { top: 12px !important; }       /* the compare tab sits on the top edge of the frame, above the words */
    .ak-open__support { font-size: 0.98rem; margin-bottom: 0.9rem; }
    #sec-hero .ak-open__cta .ak-button { width: auto; flex: 1 1 auto; justify-content: center; }
    .ak-why { margin-top: 1rem; padding: 0.75rem 0.7rem 0.4rem; scroll-margin-top: 140px; }
    .ak-why__title { font-size: 1rem; margin-bottom: 0.55rem; }
    .ak-why__title span { display: block; }
    .ak-why__chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.35rem; }
    .ak-why__chip { padding: 0.35rem 0.25rem; font-size: 0.78rem; line-height: 1.15; }
  }


  /* The one-line "where this leads" notes under the tools (CL-201). Wording: site/_build/nudges.json.
     Quiet on purpose: small, muted, one link. They follow the visitor's colour mix (roles only).
     The same rules sit in site/assets/css/akarec-pages.css for the other pages. */
  .ak-nudge { margin: 0.9rem 0 0; font-size: 0.92rem; line-height: 1.5; color: var(--ak-text-muted); }
  .ak-nudge a { color: var(--mx-text-pri, var(--ak-amber)); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
  /* Day: a shade darker than the accent, so the link also passes on the tinted section backgrounds. It still
     follows the visitor's mix. (A browser without color-mix keeps the line above.) */
  html[data-theme="day"] .ak-nudge a { color: color-mix(in srgb, var(--mx-text-pri, var(--ak-amber)) 72%, var(--p-ink)); }
  /* under the hero stage, above the "why" band: it sits on the hero photo, so it brings its own plate */
  .ak-nudge--compare { display: table; margin: 0.9rem auto 0; padding: 0.45rem 0.95rem; border: 1px solid var(--ak-border-subtle); border-radius: 999px; background: var(--ak-surface-elevated); text-align: center; }
  /* inside the sample-site carousel and the roof box: both are dark in Day and in Night */
  #heroDemoColumn .ak-nudge--carousel { margin: 0.35rem 0 0; padding: 0 1rem 0.9rem; text-align: center; font-size: 0.8rem; color: var(--p-slate-300); }
  html #heroDemoColumn .ak-nudge--carousel a { color: var(--mx-hi, var(--p-citron)); font-weight: 600; }
  /* a note that belongs to "live" or "sample" only (AKA Grade): the other one is hidden by the hidden attribute */
  .ak-nudge[hidden] { display: none; }


/* CL-218/CL-219 (home card 3): Day backgrounds. Our own textures (the Random Texture finishes: Blueprint Grid, Architectural Linen) as
   section backgrounds that read at a glance. Day ONLY: every rule starts with html[data-theme="day"], so Night is untouched. CSS only,
   no images, no motion. Lines sit behind the content (z-index -1 in an isolated section). The big white panels are 60% white so the
   pattern shows through them; text stays above 4.5:1 (measured). Random Texture still lays its finish on the opening as before. */
html[data-theme="day"] :is(#sec-hero, #sec-cocreation, #sec-grade, #sec-industries, #sec-ownership, #sec-pricing, #sec-faq) { isolation: isolate; }
html[data-theme="day"] :is(#sec-hero, #sec-cocreation, #sec-grade, #sec-industries, #sec-ownership, #sec-pricing, #sec-faq)::after,
html[data-theme="day"] #sec-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
html[data-theme="day"] #sec-hero::after { content: none; } /* the hero's ::after belongs to Random Texture */

/* The opening: Blueprint grid in AKAREC Blue, fading down, amber + blue glow in the top corners */
html[data-theme="day"] #sec-hero::before {
  background-image:
    radial-gradient(ellipse 60% 42% at 100% 0%, rgba(245, 158, 11, 0.26), transparent 74%),
    radial-gradient(ellipse 55% 38% at 0% 0%, rgba(2, 132, 199, 0.22), transparent 74%),
    linear-gradient(rgba(2, 132, 199, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 132, 199, 0.2) 1px, transparent 1px);
  background-size: auto, auto, 28px 28px, 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 98%);
  mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 98%);
}
/* the opening's own panel carries the grid too (the phone shows mostly the panel); behind the content (z-index 0; the content column is z-index 20) */
html[data-theme="day"] #heroStageSurface { position: relative; }
html[data-theme="day"] #heroStageSurface::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit;
  background-image:
    linear-gradient(rgba(2, 132, 199, 0.17) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 132, 199, 0.17) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 25%, transparent 92%);
  mask-image: linear-gradient(180deg, #000 0%, #000 25%, transparent 92%);
}

/* Brand Studio, Industries, Questions: Architectural Linen on Warm Ivory */
html[data-theme="day"] :is(#sec-cocreation, #sec-industries, #sec-faq)::after {
  background-image:
    repeating-linear-gradient(0deg, rgba(60, 40, 10, 0.05) 0, rgba(60, 40, 10, 0.05) 1px, transparent 1px, transparent 4px),
    repeating-linear-gradient(90deg, rgba(60, 40, 10, 0.05) 0, rgba(60, 40, 10, 0.05) 1px, transparent 1px, transparent 4px),
    linear-gradient(180deg, rgba(2, 132, 199, 0.07), rgba(255, 253, 248, 0.75) 35%, rgba(255, 253, 248, 0.65));
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}

/* AKA Grade: a blue dot-grid "map" */
html[data-theme="day"] #sec-grade::after {
  background-image:
    radial-gradient(rgba(2, 132, 199, 0.5) 1.4px, transparent 1.9px),
    radial-gradient(ellipse 70% 50% at 50% 45%, rgba(2, 132, 199, 0.14), transparent 82%);
  background-size: 20px 20px, auto;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

/* What you get (ownership): Blueprint band, a fine grid plus a heavier line every fifth square */
html[data-theme="day"] #sec-ownership::after {
  background-image:
    linear-gradient(rgba(3, 105, 161, 0.17) 1px, transparent 1px),
    linear-gradient(90deg, rgba(3, 105, 161, 0.17) 1px, transparent 1px),
    linear-gradient(rgba(3, 105, 161, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(3, 105, 161, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(240, 249, 255, 0.85), rgba(240, 249, 255, 0.65));
  background-size: 140px 140px, 140px 140px, 28px 28px, 28px 28px, 100% 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

/* Prices: Linen with blue blueprint hairlines at the top and the bottom */
html[data-theme="day"] #sec-pricing::after {
  background-image:
    linear-gradient(90deg, transparent, rgba(2, 132, 199, 0.8) 15%, rgba(2, 132, 199, 0.8) 85%, transparent),
    linear-gradient(90deg, transparent, rgba(2, 132, 199, 0.8) 15%, rgba(2, 132, 199, 0.8) 85%, transparent),
    repeating-linear-gradient(0deg, rgba(60, 40, 10, 0.05) 0, rgba(60, 40, 10, 0.05) 1px, transparent 1px, transparent 4px),
    repeating-linear-gradient(90deg, rgba(60, 40, 10, 0.05) 0, rgba(60, 40, 10, 0.05) 1px, transparent 1px, transparent 4px),
    linear-gradient(180deg, rgba(255, 253, 248, 0.5), rgba(255, 253, 248, 0.6));
  background-size: 100% 2px, 100% 2px, auto, auto, 100% 100%;
  background-position: 0 14px, 0 calc(100% - 14px), 0 0, 0 0, 0 0;
  background-repeat: no-repeat, no-repeat, repeat, repeat, no-repeat;
}

/* The big white panels let the pattern show through (60% white); the small cards stay solid white */
html[data-theme="day"] :is(#sec-cocreation .ak-grid-2 > .ak-card, #sec-grade > .ak-container > .ak-card, #sec-grade #seoOptionsLadder > div, #sec-industries .ind-tool-card, #sec-industries #industryPocketCard) {
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important; /* the 12px blur would smear the pattern */
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.66) 0%, rgba(255, 255, 255, 0.58) 60%, color-mix(in srgb, var(--mx-sec, var(--p-sky)) 7%, rgba(255, 255, 255, 0.58)) 100%) !important; /* same tint as the card's own Day wash, but see-through */
}
/* a shade deeper link in the price notes so it stays above 4.5:1 on the Linen */
html[data-theme="day"] #sec-pricing .ak-textlink { color: #075985; }


/* CL-220 (home card 4): Prices on three shelves. Each shelf is a row of cards: a grid on a desktop, a swipe row on a phone
   (scroll-snap, the next card peeks in so it reads as swipeable). Every card keeps its button inside the card. */
#sec-pricing .ak-shelves__head { margin-bottom: 2rem; }
#sec-pricing .ak-shelves__head h2 { font-size: clamp(2.1rem, 3.8vw, 3.25rem); text-transform: uppercase; }
#sec-pricing .ak-shelves__pill { display: inline-block; margin-top: 1rem; border-color: var(--ak-amber); color: var(--ak-citron); }
html[data-theme="day"] #sec-pricing .ak-shelves__pill { color: #92400e; }
#sec-pricing .ak-shelf { margin: 0 0 2.75rem; }
#sec-pricing .ak-shelf__head { margin-bottom: 1.1rem; }
#sec-pricing .ak-shelf__head h3 { font-size: 1.35rem; text-transform: uppercase; margin: 0 0 0.3rem; }
#sec-pricing .ak-shelf__head p { margin: 0; max-width: 70ch; font-size: 0.95rem; color: var(--ak-text-muted); }
#sec-pricing .ak-shelf__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; padding-top: 0.9rem; }
#sec-pricing .ak-shelf--two .ak-shelf__row { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; }
#sec-pricing .ak-pcard { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; margin: 0; }
#sec-pricing .ak-pcard__body { display: flex; flex-direction: column; flex: 1 1 auto; }
#sec-pricing .ak-pcard__meta { font-size: 0.7rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ak-text-muted); margin-bottom: 0.45rem; }
#sec-pricing .ak-pcard h4 { font-size: 1.3rem; margin: 0 0 0.35rem; }
#sec-pricing .ak-pcard__price { margin-bottom: 0.65rem; }
#sec-pricing .ak-pcard__amt { font-family: var(--f-head); font-weight: 800; font-size: 1.95rem; line-height: 1.1; color: var(--ak-amber); }
html[data-theme="day"] #sec-pricing .ak-pcard__amt { color: #92400e; }
#sec-pricing .ak-pcard__amt small { font-size: 0.95rem; font-weight: 700; margin-left: 0.15rem; }
#sec-pricing .ak-pcard .ak-std-after { display: block; font-size: 0.78rem; color: var(--ak-text-muted); margin-top: 0.25rem; }
#sec-pricing .ak-pcard .ak-plain-line, #sec-pricing .ak-pcard .ak-incl-toggle { font-size: 0.92rem; }
#sec-pricing .ak-pcard .ak-reserve { width: 100%; }
#sec-pricing .ak-reserve__go { margin-left: auto; font-size: 1.2rem; }
#sec-pricing .ak-shelves__all { margin: 0.5rem 0 0; text-align: center; }
#sec-pricing .ak-shelves__all .ak-button { min-width: 15rem; justify-content: center; }
#sec-pricing .ak-shelf__row:focus-visible { outline: 2px solid var(--ak-amber); outline-offset: 4px; }
@media (max-width: 980px) {
  #sec-pricing .ak-shelf__row, #sec-pricing .ak-shelf--two .ak-shelf__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  #sec-pricing .ak-shelves__head { margin-bottom: 1.25rem; }
  #sec-pricing .ak-shelf { margin-bottom: 1.5rem; }
  #sec-pricing .ak-shelf__head h3 { font-size: 1.1rem; }
  #sec-pricing .ak-shelf__head p { font-size: 0.88rem; }
  #sec-pricing .ak-shelf__row, #sec-pricing .ak-shelf--two .ak-shelf__row {
    display: flex; gap: 0.85rem; max-width: none; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    margin: 0 calc(var(--ak-gutter, 1rem) * -1); padding: 1rem var(--ak-gutter, 1rem) 0.5rem;
    scroll-padding-inline: var(--ak-gutter, 1rem);
  }
  #sec-pricing .ak-shelf__row::-webkit-scrollbar { display: none; }
  #sec-pricing .ak-pcard { flex: 0 0 84%; scroll-snap-align: start; }
  #sec-pricing .ak-pcard__amt { font-size: 1.75rem; }
}
/* the blueprint build-up (motion script) draws a card when it scrolls in; on a phone the peeking next card would show empty, so cards just show */
@media (max-width: 760px) {
  html.akm #sec-pricing .ak-pcard.akm-build { outline: 0; }
  html.akm #sec-pricing .ak-pcard.akm-build > * { opacity: 1; transform: none; }
}
@media (max-width: 760px) {
  #sec-pricing .ak-shelf__row, #sec-pricing .ak-shelf--two .ak-shelf__row { align-items: flex-start; }
  #sec-pricing .ak-pcard { gap: 0.75rem; }
  #sec-pricing .ak-pcard .ak-reserve { padding-inline: 0.7rem; gap: 0.55rem; }
  #sec-pricing .ak-pcard .ak-reserve__icon { display: none; }
  #sec-pricing .ak-pcard .ak-reserve__txt small { font-size: 0.7rem; line-height: 1.25; }
}


/* CL-221 (home card 5): Brand Studio as ONE stage with three tabs (Your card · Logo ideas · 3D Forge) and its offers beside it.
   Desktop: the card stage on the left, its controls on the right. Phone: the stage on top, its controls under it, so what you type
   shows on the card in the same view; the color mixes are one swipe row; layout, finish and raised lettering sit behind "More options". */
#sec-cocreation .bs-head { margin-bottom: 1.6rem; }
#sec-cocreation .bs-head h2 { margin: 0.35rem 0 0.7rem; }
#sec-cocreation .bs-head .ak-plain-line { max-width: 62ch; margin: 0; }

/* the three tabs */
/* CL-243 (Frank 2026-11-26): three equal tabs, each with its name and, under it, what it is today: "Live" (green dot) or "Coming soon" */
#sec-cocreation .bs-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.4rem; margin: 0 0 1.5rem; padding: 0.4rem; border: 1px solid var(--ak-border-subtle, rgba(255,255,255,.12)); border-radius: 20px; width: min(100%, 660px); background: color-mix(in srgb, var(--ak-surface, #0B1220) 70%, transparent); }
#sec-cocreation .bs-tab { appearance: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.34rem; min-height: 60px; padding: 0.55rem 0.9rem; border: 1px solid transparent; border-radius: 15px; background: transparent; color: var(--ak-text-main, #fff); font: 700 0.98rem/1.15 'Inter', sans-serif; letter-spacing: 0.01em; text-align: center; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease; }
#sec-cocreation .bs-tab:hover { border-color: color-mix(in srgb, var(--mx-pri, #F59E0B) 55%, transparent); }
#sec-cocreation .bs-tab[aria-selected="true"] { background: var(--mx-pri, #F59E0B); color: #0B1220; border-color: var(--mx-pri, #F59E0B); box-shadow: 0 10px 22px -14px var(--mx-pri, #F59E0B), inset 0 1px 0 rgba(255,255,255,.35); }
#sec-cocreation .bs-tab:focus-visible { outline: 2px solid var(--mx-hi, #FDE047); outline-offset: 2px; }
#sec-cocreation .bs-tab-tag { display: inline-flex; align-items: center; gap: 0.36rem; font: 700 0.64rem/1 'JetBrains Mono', 'JetBrains Mono AKfb', monospace; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.78; }
#sec-cocreation .bs-tab-tag--live { opacity: 1; color: var(--p-emerald, #10B981); }
#sec-cocreation .bs-tab-tag--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
#sec-cocreation .bs-tab[aria-selected="true"] .bs-tab-tag { opacity: 1; color: #0B1220; }
#sec-cocreation .bs-tab[aria-selected="true"] .bs-tab-tag--live::before { background: #065F46; box-shadow: 0 0 0 2px rgba(255,255,255,.55); }
html[data-theme="day"] #sec-cocreation .bs-tabs { background: rgba(255,255,255,.75); border-color: rgba(11,18,32,.18); }
html[data-theme="day"] #sec-cocreation .bs-tab { color: #0B1220; }
html[data-theme="day"] #sec-cocreation .bs-tab[aria-selected="true"] { background: var(--mx-pri, #F59E0B); color: #0B1220; }
html[data-theme="day"] #sec-cocreation .bs-tab:not([aria-selected="true"]) .bs-tab-tag--live { color: #047857; }
html[data-theme="day"] #sec-cocreation .bs-tab:not([aria-selected="true"]) .bs-tab-tag--live::before { box-shadow: none; }

/* which panel shows (CL-240: forge | nfc | card; the logo maker lives in the card tab, under the card) */
#sec-cocreation:not([data-bs-tab="card"]) #bsPanel-card { display: none; }
#sec-cocreation:not([data-bs-tab="nfc"]) #bsPanel-nfc { display: none; }
#sec-cocreation:not([data-bs-tab="card"]) .akl-host { display: none; }
#sec-cocreation:not([data-bs-tab="forge"]) .akm-forge-host { display: none; }
#sec-cocreation:not([data-bs-tab="forge"]) [data-bs-for="forge"],
#sec-cocreation:not([data-bs-tab="card"]) [data-bs-for="card"] { display: none; }
#sec-cocreation .akl-host, #sec-cocreation .akm-forge-host { margin-top: 0 !important; }
#sec-cocreation .lfg-next { display: none; }      /* the one Logo Forge button below the stage replaces the forge's own price line */

/* card tab: stage left, controls right */
#sec-cocreation .bs-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; gap: 2rem; }
#sec-cocreation .bs-controls { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.15rem; min-width: 0; }
#sec-cocreation .bs-names { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem; }
#sec-cocreation .bs-label { display: flex; justify-content: space-between; gap: 0.6rem; font-family: 'JetBrains Mono', 'JetBrains Mono AKfb', monospace; font-size: 0.72rem; margin-bottom: 0.5rem; }
#sec-cocreation .bs-mixes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
#sec-cocreation .bs-more { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.15rem; }
#sec-cocreation .bs-more-btn { display: none; justify-self: start; }
#sec-cocreation .bs-layouts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.45rem; }
#sec-cocreation .bs-textures { display: flex; flex-wrap: wrap; gap: 0.4rem; }
#sec-cocreation .bs-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
#sec-cocreation .bs-names .ak-input { min-width: 0; width: 100%; box-sizing: border-box; }

/* its offers (CL-240: one buy block per tab) */
#sec-cocreation .bs-offers { display: block; margin-top: 1.75rem; }
#sec-cocreation .bs-offers .ak-button { flex: 0 1 auto; }

@media (max-width: 860px) {
  #sec-cocreation .bs-grid { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 640px) {
  #sec-cocreation .bs-head { margin-bottom: 1rem; }
  #sec-cocreation .bs-head h2 { font-size: 1.85rem !important; }
  #sec-cocreation .bs-tabs { width: 100%; margin-bottom: 1rem; }
  #sec-cocreation .bs-grid { gap: 0.9rem; }
  #sec-cocreation .bs-stage { gap: 0.6rem !important; }
  #sec-cocreation .bs-controls { padding: 1rem; gap: 0.9rem; }
  #sec-cocreation .bs-names { gap: 0.6rem; }
  /* color mixes: one swipe row, the next one peeks */
  #sec-cocreation .bs-mixes { display: flex !important; grid-template-columns: none !important; overflow-x: auto; scroll-snap-type: x proximity; gap: 0.5rem; padding-bottom: 0.35rem; margin-right: -0.25rem; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  #sec-cocreation .bs-mixes > button { flex: 0 0 auto; min-width: 168px; scroll-snap-align: start; }
  /* the rest behind "More options" */
  #sec-cocreation .bs-more-btn { display: inline-flex; align-items: center; }
  #sec-cocreation .bs-more { display: none; }
  #sec-cocreation.bs-more-open .bs-more { display: grid; }
  #sec-cocreation .bs-flip { flex: 1 1 auto; justify-content: center; min-height: 44px; padding-block: 0.4rem; }
  #sec-cocreation .bs-offers { margin-top: 1.25rem; }
  #sec-cocreation .bs-offers .ak-button { width: 100%; justify-content: space-between; }
}

/* "Logo Forge: pick yours" pop-up (the one Logo Forge button): three rows, each a plain line and its own button */
.ak-lfsheet .ak-lfsheet__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.ak-lfsheet .ak-lfsheet__list li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--ak-border-subtle, rgba(255,255,255,.12)); }
.ak-lfsheet .ak-lfsheet__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.ak-lfsheet .ak-lfsheet__list strong { display: block; font-size: 1.05rem; }
.ak-lfsheet .ak-lfsheet__list span { color: var(--ak-text-muted); font-size: 0.92rem; line-height: 1.4; }
.ak-lfsheet .ak-lfsheet__list .ak-button span { color: inherit; font-size: inherit; }
.ak-lfsheet .ak-lfsheet__list li > .ak-button { flex: 0 0 auto; }
@media (max-width: 640px) {
  .ak-lfsheet .ak-lfsheet__list li { flex-direction: column; align-items: stretch; gap: 0.6rem; }
  .ak-lfsheet .ak-lfsheet__list li > .ak-button { width: 100%; justify-content: space-between; }
}

/* Logo ideas tab: the Starter Brand Kit is sold once, in the offers under the stage */
#sec-cocreation .akl-host .akl-next { display: none !important; }
/* Logo ideas on a phone: the inputs and the six ideas share one view (no long intro, trade beside the small line, ideas three across) */
@media (max-width: 640px) {
  #sec-cocreation .akl-host { padding: 1rem !important; }
  #sec-cocreation .akl-host .akl-top { gap: 0.6rem; }
  #sec-cocreation .akl-host .akl-top p { display: none; }
  #sec-cocreation .akl-host .akl-top h3 { font-size: 1.15rem; margin: 0.15rem 0 0; }
  #sec-cocreation .akl-host .akl-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem; margin: 0.7rem 0 0.6rem; }
  #sec-cocreation .akl-host .akl-fields label:first-child { grid-column: 1 / -1; }
  #sec-cocreation .akl-host .akl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.45rem; margin: 0.6rem 0; }
  #sec-cocreation .akl-host .akl-tile canvas { aspect-ratio: 3 / 2; }
  #sec-cocreation .akl-host .akl-tile span { display: none; }      /* each tile keeps its aria-label ("Option 2: Stacked") */
  #sec-cocreation .akl-host .akl-styles { flex-wrap: nowrap; gap: 0.35rem; }
  #sec-cocreation .akl-host .akl-styles button { padding: 0.3rem 0.7rem; flex: 1 1 auto; }
}

/* ==== CL-240 (Frank 2026-11-26): Forge first, Metal + NFC (coming soon), Card Studio; a buy block under each tab ==== */
#sec-cocreation :is(.bs-nfc__copy, .bs-card-head, .bs-buy__head) h3 { font-family: 'Montserrat', 'Montserrat AKfb', 'Inter', sans-serif; font-weight: 800; letter-spacing: -0.01em; }
#sec-cocreation .bs-fine { font-size: 0.86rem; line-height: 1.5; color: var(--ak-text-muted); margin: 0.75rem 0 0; }
#sec-cocreation .bs-fine a { color: var(--mx-hi, #FDE047); text-underline-offset: 3px; }
html[data-theme="day"] #sec-cocreation .bs-fine a { color: var(--mx-day-pri, #B45309); }
#sec-cocreation .bs-ticks { list-style: none; margin: 0.9rem 0 0; padding: 0; display: grid; gap: 0.55rem; }
#sec-cocreation .bs-ticks li { position: relative; padding-left: 1.6rem; line-height: 1.5; }
#sec-cocreation .bs-ticks li::before { content: ""; position: absolute; left: 0.1rem; top: 0.42em; width: 0.8rem; height: 0.45rem; border-left: 2.5px solid var(--mx-pri, #F59E0B); border-bottom: 2.5px solid var(--mx-pri, #F59E0B); transform: rotate(-45deg); }
html[data-theme="day"] #sec-cocreation .bs-ticks li::before { border-color: var(--mx-day-pri, #B45309); }

/* Tab 2: metal + NFC, coming soon */
#sec-cocreation .bs-nfc { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 2rem; align-items: center; padding: 1.75rem; border-radius: 18px; border: 1px solid var(--ak-border-subtle, rgba(255,255,255,.12)); background: color-mix(in srgb, var(--ak-surface, #0B1220) 78%, transparent); }
#sec-cocreation .bs-nfc:focus-visible { outline: 2px solid var(--mx-hi, #FDE047); outline-offset: 3px; }
#sec-cocreation .bs-nfc__art { position: relative; min-height: 300px; display: grid; place-items: center; padding-bottom: 1.6rem; }
#sec-cocreation .bs-nfc__card { position: absolute; width: min(280px, 66%); aspect-ratio: 1.75 / 1; border-radius: 14px; padding: 1rem 1.1rem; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 24px 40px -22px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.18); }
#sec-cocreation .bs-nfc__card--metal { transform: translate(-24%, -26%) rotate(-7deg); color: #1A1F29;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 3px), linear-gradient(135deg, #E5E7EB 0%, #9CA3AF 38%, #F3F4F6 55%, #6B7280 100%); }
#sec-cocreation .bs-nfc__card--tap { transform: translate(24%, 18%) rotate(5deg); color: var(--mx-hi, #FDE047);
  background: radial-gradient(circle at 85% 15%, color-mix(in srgb, var(--mx-pri, #F59E0B) 30%, transparent), transparent 55%), linear-gradient(135deg, #111827 0%, #05070C 100%); border: 1px solid color-mix(in srgb, var(--mx-pri, #F59E0B) 45%, transparent); }
#sec-cocreation .bs-nfc__name { font: 800 0.95rem/1.1 'Montserrat', 'Inter', sans-serif; letter-spacing: 0.14em; }
#sec-cocreation .bs-nfc__card--tap .bs-nfc__name { color: #F8FAFC; }
#sec-cocreation .bs-nfc__kind { align-self: flex-end; font: 700 0.66rem/1 'JetBrains Mono', monospace; letter-spacing: 0.2em; opacity: 0.85; }
#sec-cocreation .bs-nfc__waves { align-self: flex-end; }
#sec-cocreation .bs-nfc__note { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; text-align: center; font-size: 0.74rem; color: var(--ak-text-muted); }
#sec-cocreation .bs-nfc__copy h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin: 0.6rem 0 0.5rem; }
#sec-cocreation .bs-nfc__copy .ak-button { margin-top: 1.1rem; }
#sec-cocreation .bs-soon-pill { display: inline-block; padding: 0.3rem 0.7rem; border-radius: 999px; font: 700 0.7rem/1 'JetBrains Mono', monospace; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mx-hi, #FDE047); border: 1px solid color-mix(in srgb, var(--mx-pri, #F59E0B) 60%, transparent); }
html[data-theme="day"] #sec-cocreation .bs-nfc { background: rgba(255,255,255,.82); border-color: rgba(11,25,48,.14); }
html[data-theme="day"] #sec-cocreation .bs-soon-pill { color: var(--mx-day-pri, #B45309); border-color: rgba(180,83,9,.45); }

/* Tab 3: Card Studio head (spans both columns) and the logo spot */
#sec-cocreation .bs-card-head { grid-column: 1 / -1; margin-bottom: 0.25rem; }
#sec-cocreation .bs-card-head h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin: 0.35rem 0 0.4rem; }
#sec-cocreation .bs-card-head .ak-plain-line { max-width: 70ch; margin: 0; }
#sec-cocreation .bs-logo__acts { display: flex; flex-wrap: wrap; gap: 0.5rem; }
#sec-cocreation .bs-upload { position: relative; cursor: pointer; }
#sec-cocreation .bs-upload:focus-within { outline: 2px solid var(--mx-hi, #FDE047); outline-offset: 2px; }
#sec-cocreation .bs-file { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); }
#sec-cocreation .bs-hint { margin: 0.45rem 0 0; font-size: 0.8rem; color: var(--ak-text-muted); }

/* CL-246: the buy block under the forge (.bs-buy and everything in it) is the shared "pillar block": its styles moved to
   site/assets/css/akarec-pillar.css (same rules, same strength, same order on the page). #bsOffers carries the class ak-pillar. */

@media (max-width: 860px) {
  #sec-cocreation .bs-nfc { grid-template-columns: 1fr; gap: 1.25rem; }
}
@media (max-width: 640px) {
  #sec-cocreation .bs-tab { min-height: 56px; font-size: 0.84rem; padding: 0.45rem 0.25rem; gap: 0.3rem; }
  #sec-cocreation .bs-tab-tag { font-size: 0.56rem; letter-spacing: 0.08em; }
  #sec-cocreation .bs-nfc { padding: 1.1rem; }
  #sec-cocreation .bs-nfc__art { min-height: 200px; }
  #sec-cocreation .bs-nfc__card { width: 72%; padding: 0.75rem 0.85rem; }
  #sec-cocreation .bs-nfc__name { font-size: 0.8rem; }
}
/* ==== AKAREC PILLAR BLOCK (CL-246): the offer block that sits under a live tool. Model: the Logo Forge block on home (CL-243..245).
   One block per pillar (Brand Studio, AKA Grade / SEO, Business Automation, ...). Inlined on home; any page can link this file.
   Markup, top to bottom (each pillar's own copy lives in site/_build/home/pillars/<name>.html, one file per block):
     <div class="ak-pillar">                                 scope: the block's styles apply inside it (the class wins like an id)
       <div class="bs-buy [bs-buy--swipe]">                  the panel. --swipe = the phone routine (see the bottom of this file)
         <div class="bs-buy__head">  eyebrow, h3, one plain line
         <dl class="bs-key">          "what the words mean": 2-4 <div><dt>word</dt><dd>meaning</dd></div>
                                      (with --swipe, wrap it in <details class="bs-fold bs-fold--key" open><summary>(i) ...</summary> ... </details>)
         <ul class="bs-tiers [bs-tiers--3]">  the ladder; each <li class="bs-tier ak-tier" data-tier="1..4"> has 8 rows (7 while the ladder is closed), in order:
              .bs-tier__tag · h4 (name + .bs-tier__price) · .bs-tier__for · .bs-specs (dl) or .bs-gets (ul) ·
              (CL-262) button.bs-tier__toggle · div.bs-tier__more (wraps .bs-tier__choose + .bs-tier__also) · .bs-tier__terms · ONE button.ak-tier__go. First card: .bs-tier--first (outline button), top card: .bs-tier--top (gold).
              A last card scoped on a call: .bs-tier--quiet, no data-tier (CL-251). A row of add-on buttons under the ladder: <div class="bs-more bs-addons">.
         <ul class="bs-trust">        3 plain promises
         <div class="bs-after">       h4 "What happens after you pay" + <ol class="bs-steps"> 4 steps
                                      (with --swipe: <details class="bs-fold bs-after" open><summary><h4>...</h4></summary><ol ...></details>)
         <div class="bs-links">       two paths down: <a class="bs-link"> kicker, title, text, go-arrow
   Hover, focus, tap and the tier colors are the shared tier routine (akarec-tier.css). Phone folds and dots: js/akarec-pillar.js. ==== */
/* Buy blocks (CL-243, Frank 2026-11-26: "awesome and clear and professional and premium"). One panel per tab; the forge's panel holds
   the four Logo Forge packages as cards whose rows line up across the row, so the ladder reads left to right. */
:is(.ak-pillar, #ak-pillar) .bs-buy { position: relative; overflow: hidden; padding: clamp(1.15rem, 2.4vw, 2rem); border-radius: 22px; border: 1px solid var(--ak-border, rgba(245,158,11,.28));
  background: linear-gradient(180deg, color-mix(in srgb, var(--mx-pri, #F59E0B) 8%, transparent), transparent 240px), color-mix(in srgb, var(--ak-surface, #0B1220) 86%, transparent); }
:is(.ak-pillar, #ak-pillar) .bs-buy::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--mx-pri, #F59E0B) 25%, var(--mx-hi, #FDE047) 50%, var(--mx-pri, #F59E0B) 75%, transparent); }
:is(.ak-pillar, #ak-pillar) .bs-buy__head h3 { font-size: clamp(1.45rem, 2.5vw, 2.05rem); line-height: 1.15; margin: 0.35rem 0 0.55rem; }
:is(.ak-pillar, #ak-pillar) .bs-buy__head .ak-plain-line { max-width: 74ch; margin: 0; }

/* the finish and material dots (same colors as the forge's own chips) */
:is(.ak-pillar, #ak-pillar) .bs-sws { display: inline-flex; align-items: center; flex: none; }
:is(.ak-pillar, #ak-pillar) .bs-sw { width: 14px; height: 14px; border-radius: 50%; flex: none; display: inline-block; box-shadow: inset 0 0 0 1px rgba(0,0,0,.28), 0 0 0 1.5px rgba(255,255,255,.16); }
:is(.ak-pillar, #ak-pillar) .bs-sw + .bs-sw { margin-left: -3px; }
:is(.ak-pillar, #ak-pillar) .bs-sw--gold { background: linear-gradient(135deg, #FFE7A3, #E8B54A 50%, #8A6420); }
:is(.ak-pillar, #ak-pillar) .bs-sw--chrome { background: linear-gradient(135deg, #fff, #C9CED6 50%, #6B7280); }
:is(.ak-pillar, #ak-pillar) .bs-sw--rose { background: linear-gradient(135deg, #FFD9CC, #E7A28C 50%, #9A5A48); }
:is(.ak-pillar, #ak-pillar) .bs-sw--black { background: linear-gradient(135deg, #6B7280, #2A2D33 55%, #0B0C0F); }
:is(.ak-pillar, #ak-pillar) .bs-sw--plate { background: repeating-linear-gradient(45deg, #E5E7EB 0 3px, #9AA1AB 3px 6px); }
:is(.ak-pillar, #ak-pillar) .bs-sw--molten { background: radial-gradient(circle at 40% 40%, #FFE08A, #FF7A1A 45%, #3A1206 80%); }
:is(.ak-pillar, #ak-pillar) .bs-sw--matter { background: radial-gradient(circle at 35% 35%, #7C5CFF, #05050A 55%); }
:is(.ak-pillar, #ak-pillar) .bs-sw--own { position: relative; background: var(--mx-pri, #F59E0B); }
:is(.ak-pillar, #ak-pillar) .bs-sw--own::after { content: "+"; position: absolute; inset: 0; display: grid; place-items: center; font: 800 12px/1 'Inter', sans-serif; color: #0B1220; }
html[data-theme="day"] :is(.ak-pillar, #ak-pillar) .bs-sw { box-shadow: inset 0 0 0 1px rgba(0,0,0,.28), 0 0 0 1.5px #fff; }

/* what the four words mean, said once */
:is(.ak-pillar, #ak-pillar) .bs-key { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 1.35rem 0 0; padding: 0; border: 1px solid var(--ak-border-subtle, rgba(255,255,255,.12)); border-radius: 18px; background: linear-gradient(180deg, color-mix(in srgb, var(--ak-surface-2, #0F1A2E) 70%, transparent), color-mix(in srgb, var(--ak-surface-2, #0F1A2E) 46%, transparent)); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
:is(.ak-pillar, #ak-pillar) .bs-key > div { padding: 1rem 1.2rem; border-left: 1px solid var(--ak-border-subtle, rgba(255,255,255,.12)); min-width: 0; }
:is(.ak-pillar, #ak-pillar) .bs-key > div:first-child { border-left: 0; }
:is(.ak-pillar, #ak-pillar) .bs-key dt { display: flex; align-items: center; gap: 0.5rem; font: 800 0.92rem/1.2 'Montserrat', 'Montserrat AKfb', 'Inter', sans-serif; }
:is(.ak-pillar, #ak-pillar) .bs-key dt svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--mx-hi, #FDE047); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:is(.ak-pillar, #ak-pillar) .bs-key dd { margin: 0.35rem 0 0; font-size: 0.84rem; line-height: 1.45; color: var(--ak-text-muted); }
html[data-theme="day"] :is(.ak-pillar, #ak-pillar) .bs-key dt svg { stroke: var(--mx-day-pri, #B45309); }

/* the four packages */
/* CL-245: surface, edge, hover / focus / tap lift and glow come from the shared tier routine (assets/css/akarec-tier.css: .ak-tier + data-tier); only layout and type live here */
:is(.ak-pillar, #ak-pillar) .bs-tiers { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 1rem; row-gap: 0; }
:is(.ak-pillar, #ak-pillar) .bs-tier { position: relative; display: flex; flex-direction: column; gap: 0.7rem; min-width: 0; padding: 1.4rem 1.1rem 1.15rem; border-radius: 20px; margin-bottom: 1.1rem; }
@supports (grid-template-rows: subgrid) {
  :is(.ak-pillar, #ak-pillar) .bs-tier { display: grid; grid-template-rows: subgrid; grid-row: span 8; row-gap: 0.8rem; }
}
:is(.ak-pillar, #ak-pillar) .bs-tier__tag { justify-self: start; align-self: start; display: inline-flex; align-items: center; gap: 0.42rem; padding: 0.34rem 0.6rem 0.34rem 0.5rem; border-radius: 999px; font: 700 0.64rem/1 'JetBrains Mono', 'JetBrains Mono AKfb', monospace; letter-spacing: 0.12em; text-transform: uppercase;
  color: color-mix(in srgb, var(--tier, #FDE047) 82%, #fff); background: color-mix(in srgb, var(--tier, #FDE047) 12%, transparent); border: 1px solid color-mix(in srgb, var(--tier, #FDE047) 34%, transparent); }
:is(.ak-pillar, #ak-pillar) .bs-tier__tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--tier, #FDE047); box-shadow: 0 0 8px var(--tier, #FDE047); }
:is(.ak-pillar, #ak-pillar) .bs-tier h4 { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; margin: 0; font: 800 1.2rem/1.15 'Montserrat', 'Montserrat AKfb', 'Inter', sans-serif; letter-spacing: -0.015em; }
:is(.ak-pillar, #ak-pillar) .bs-tier__price { font: 800 1.9rem/1 'Montserrat', 'Montserrat AKfb', 'Inter', sans-serif; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; color: var(--mx-hi, #FDE047); }
:is(.ak-pillar, #ak-pillar) .bs-tier p { margin: 0; font-size: 0.86rem; line-height: 1.5; }
:is(.ak-pillar, #ak-pillar) .bs-tier .bs-tier__for { font-size: 0.92rem; color: var(--ak-text-muted); }
:is(.ak-pillar, #ak-pillar) .bs-specs { margin: 0; padding: 0; border-bottom: 1px solid var(--ak-border-subtle, rgba(255,255,255,.12)); }
:is(.ak-pillar, #ak-pillar) .bs-specs > div { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; min-height: 2.35rem; padding: 0.3rem 0; border-top: 1px solid var(--ak-border-subtle, rgba(255,255,255,.12)); }
:is(.ak-pillar, #ak-pillar) .bs-specs dt { font-size: 0.86rem; font-weight: 600; }
:is(.ak-pillar, #ak-pillar) .bs-specs dd { margin: 0; display: flex; align-items: center; gap: 0.5rem; }
:is(.ak-pillar, #ak-pillar) .bs-specs dd b { font: 800 1rem/1 'Montserrat', 'Montserrat AKfb', 'Inter', sans-serif; white-space: nowrap; }
:is(.ak-pillar, #ak-pillar) .bs-tier :is(.bs-tier__choose, .bs-tier__also) b { display: block; margin-bottom: 0.22rem; font: 700 0.64rem/1 'JetBrains Mono', 'JetBrains Mono AKfb', monospace; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ak-text-muted); }
:is(.ak-pillar, #ak-pillar) .bs-tier .bs-tier__terms { align-self: end; font-size: 0.78rem; color: var(--ak-text-muted); padding-top: 0.65rem; border-top: 1px solid var(--ak-border-subtle, rgba(255,255,255,.12)); }
:is(.ak-pillar, #ak-pillar) .bs-tier .ak-button { margin-top: auto; width: 100%; min-height: 52px; justify-content: space-between; border-radius: 0.7rem; }
html[data-theme="day"] :is(.ak-pillar, #ak-pillar) .bs-tier__price { color: var(--mx-day-pri, #B45309); }
html[data-theme="day"] :is(.ak-pillar, #ak-pillar) .bs-tier__tag { color: var(--tier-deep, #B45309); background: color-mix(in srgb, var(--tier, #F59E0B) 13%, #fff); border-color: color-mix(in srgb, var(--tier-deep, #B45309) 38%, transparent); }
html[data-theme="day"] :is(.ak-pillar, #ak-pillar) .bs-tier__tag::before { background: var(--tier-deep, #B45309); box-shadow: none; }

/* CL-237's rule, kept for four in a row AT REST: first = quiet outline, middle two = solid blue (59-button-tiers.css), last = gold.
   CL-245: hover / focus / tap are the shared tier routine's (akarec-tier.css), so these carry one id fewer than before and no :hover of their own. */
html body:not(#ak-x) :is(.ak-pillar, #ak-pillar) .bs-tier--first .ak-button { background: transparent !important; color: var(--btn-out-ink) !important; border: 2px solid var(--btn-blue) !important; box-shadow: none !important; }
html body:not(#ak-x) :is(.ak-pillar, #ak-pillar) .bs-tier--first .ak-button .ak-button__price { background: color-mix(in srgb, var(--btn-blue) 20%, transparent) !important; }
html[data-theme="day"] body:not(#ak-x) :is(.ak-pillar, #ak-pillar) .bs-tier--first .ak-button { color: var(--btn-out-ink-day) !important; }
html body:not(#ak-x) :is(.ak-pillar, #ak-pillar) :is(.bs-tier--atelier, .bs-tier--top) .ak-button { color: var(--p-obsidian) !important; border: 1.5px solid color-mix(in srgb, var(--ak-citron) 88%, var(--p-white)) !important;
  background: linear-gradient(135deg, color-mix(in srgb, var(--ak-citron) 82%, var(--p-white)) 0%, var(--ak-amber) 50%, color-mix(in srgb, var(--ak-amber) 72%, var(--p-obsidian)) 100%) !important;
  box-shadow: 0 6px 20px -4px color-mix(in srgb, var(--ak-amber) 48%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important; }

/* three plain promises, then what happens after you pay */
:is(.ak-pillar, #ak-pillar) .bs-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; margin: 0.35rem 0 0; padding: 0; font-size: 0.9rem; font-weight: 600; }
:is(.ak-pillar, #ak-pillar) .bs-trust li { position: relative; padding-left: 1.5rem; }
:is(.ak-pillar, #ak-pillar) .bs-trust li::before { content: ""; position: absolute; left: 0.1rem; top: 0.38em; width: 0.8rem; height: 0.45rem; border-left: 2.5px solid var(--p-emerald, #10B981); border-bottom: 2.5px solid var(--p-emerald, #10B981); transform: rotate(-45deg); }
html[data-theme="day"] :is(.ak-pillar, #ak-pillar) .bs-trust li::before { border-color: #047857; }
:is(.ak-pillar, #ak-pillar) .bs-after { margin-top: 1.5rem; padding-top: 1.3rem; border-top: 1px solid var(--ak-border-subtle, rgba(255,255,255,.12)); }
:is(.ak-pillar, #ak-pillar) .bs-after h4 { margin: 0 0 0.9rem; font: 800 1.05rem/1.2 'Montserrat', 'Montserrat AKfb', 'Inter', sans-serif; }
:is(.ak-pillar, #ak-pillar) .bs-steps { list-style: none; counter-reset: bsStep; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
:is(.ak-pillar, #ak-pillar) .bs-steps li { counter-increment: bsStep; position: relative; padding-top: 2.35rem; font-size: 0.88rem; line-height: 1.5; color: var(--ak-text-muted); }
:is(.ak-pillar, #ak-pillar) .bs-steps li::before { content: counter(bsStep); position: absolute; top: 0; left: 0; z-index: 1; width: 1.75rem; height: 1.75rem; border-radius: 50%; display: grid; place-items: center; font: 800 0.82rem/1 'Inter', sans-serif; background: var(--mx-pri, #F59E0B); color: #0B1220; box-shadow: 0 0 0 4px color-mix(in srgb, var(--mx-pri, #F59E0B) 16%, transparent); }
:is(.ak-pillar, #ak-pillar) .bs-steps li:not(:last-child)::after { content: ""; position: absolute; top: 0.85rem; left: 2.2rem; right: -0.65rem; height: 1px; background: linear-gradient(90deg, color-mix(in srgb, var(--mx-pri, #F59E0B) 60%, transparent), transparent); }
:is(.ak-pillar, #ak-pillar) .bs-steps strong { display: block; margin-bottom: 0.2rem; font-size: 0.95rem; color: var(--ak-text-main); }
:is(.ak-pillar, #ak-pillar) .bs-buy__row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.2rem; margin-top: 1.2rem; }
:is(.ak-pillar, #ak-pillar) .bs-buy__row .bs-fine { margin: 0; flex: 1 1 260px; }

/* the two ways on from here: a page link and the Starter Brand Kit's pop-up, drawn as one pair */
:is(.ak-pillar, #ak-pillar) .bs-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
:is(.ak-pillar, #ak-pillar) .bs-link { appearance: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; row-gap: 0.28rem; align-items: center; width: 100%; padding: 1.05rem 1.2rem; text-align: left; text-decoration: none; cursor: pointer;
  border-radius: 16px; border: 1px solid var(--ak-border-subtle, rgba(255,255,255,.12)); background: color-mix(in srgb, var(--ak-surface-2, #0F1A2E) 62%, transparent); color: var(--ak-text-main, #fff); font: 400 1rem/1.4 'Inter', sans-serif; transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .25s ease, box-shadow .3s ease; }
:is(.ak-pillar, #ak-pillar) .bs-link > span { grid-column: 1; }
:is(.ak-pillar, #ak-pillar) .bs-link__kicker { font: 700 0.66rem/1 'JetBrains Mono', 'JetBrains Mono AKfb', monospace; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mx-hi, #FDE047); }
:is(.ak-pillar, #ak-pillar) .bs-link__title { font: 800 1.08rem/1.2 'Montserrat', 'Montserrat AKfb', 'Inter', sans-serif; letter-spacing: -0.01em; }
:is(.ak-pillar, #ak-pillar) .bs-link__text { font-size: 0.86rem; line-height: 1.45; color: var(--ak-text-muted); }
:is(.ak-pillar, #ak-pillar) .bs-link > .bs-link__go { grid-column: 2; grid-row: 1 / span 3; width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; font-size: 1.15rem; border: 1px solid color-mix(in srgb, var(--mx-pri, #F59E0B) 60%, transparent); color: var(--mx-hi, #FDE047); transition: transform .2s ease, background-color .2s ease, color .2s ease; }
:is(.ak-pillar, #ak-pillar) .bs-link:is(:hover, :focus-visible) { transform: translateY(-4px); border-color: color-mix(in srgb, var(--mx-pri, #F59E0B) 80%, transparent); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 0 0 1px color-mix(in srgb, var(--mx-pri, #F59E0B) 40%, transparent), 0 26px 46px -26px color-mix(in srgb, var(--mx-pri, #F59E0B) 75%, transparent), 0 0 38px -14px color-mix(in srgb, var(--mx-pri, #F59E0B) 60%, transparent); }
:is(.ak-pillar, #ak-pillar) .bs-link:active { transform: translateY(-1px); }
:is(.ak-pillar, #ak-pillar) .bs-link:is(:hover, :focus-visible) .bs-link__go { background: var(--mx-pri, #F59E0B); color: #0B1220; transform: translateX(3px); }
:is(.ak-pillar, #ak-pillar) .bs-link:focus-visible { outline: 2px solid var(--mx-hi, #FDE047); outline-offset: 3px; }

html[data-theme="day"] :is(.ak-pillar, #ak-pillar) .bs-buy { background: linear-gradient(180deg, color-mix(in srgb, var(--mx-pri, #F59E0B) 9%, transparent), transparent 240px), rgba(255,255,255,.88); border-color: rgba(180,83,9,.28); }
html[data-theme="day"] :is(.ak-pillar, #ak-pillar) .bs-key { background: rgba(255,255,255,.7); border-color: rgba(11,25,48,.14); }
html[data-theme="day"] :is(.ak-pillar, #ak-pillar) .bs-key > div, html[data-theme="day"] :is(.ak-pillar, #ak-pillar) .bs-specs, html[data-theme="day"] :is(.ak-pillar, #ak-pillar) .bs-specs > div, html[data-theme="day"] :is(.ak-pillar, #ak-pillar) .bs-tier .bs-tier__terms { border-color: rgba(11,25,48,.12); }
html[data-theme="day"] :is(.ak-pillar, #ak-pillar) .bs-after { border-color: rgba(11,25,48,.12); }
html[data-theme="day"] :is(.ak-pillar, #ak-pillar) .bs-link { background: #fff; border-color: rgba(11,25,48,.14); color: #0B1220; }
html[data-theme="day"] :is(.ak-pillar, #ak-pillar) :is(.bs-link__kicker, .bs-link > .bs-link__go) { color: var(--mx-day-pri, #B45309); }
html[data-theme="day"] :is(.ak-pillar, #ak-pillar) .bs-link > .bs-link__go { border-color: rgba(180,83,9,.5); }
html[data-theme="day"] :is(.ak-pillar, #ak-pillar) .bs-link:is(:hover, :focus-visible) .bs-link__go { color: #0B1220; }
@media (prefers-reduced-motion: reduce) { :is(.ak-pillar, #ak-pillar) :is(.bs-link, .bs-link__go) { transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; transform: none !important; } }

@media (max-width: 1180px) {
  :is(.ak-pillar, #ak-pillar) .bs-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :is(.ak-pillar, #ak-pillar) .bs-key { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :is(.ak-pillar, #ak-pillar) .bs-key > div:nth-child(odd) { border-left: 0; }
  :is(.ak-pillar, #ak-pillar) .bs-key > div:nth-child(n+3) { border-top: 1px solid var(--ak-border-subtle, rgba(255,255,255,.12)); }
  :is(.ak-pillar, #ak-pillar) .bs-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :is(.ak-pillar, #ak-pillar) .bs-steps li::after { display: none; }
}
@media (max-width: 700px) {
  :is(.ak-pillar, #ak-pillar) .bs-tiers { grid-template-columns: 1fr; }
  :is(.ak-pillar, #ak-pillar) .bs-links { grid-template-columns: 1fr; gap: 0.75rem; }
}
@media (max-width: 640px) {
  :is(.ak-pillar, #ak-pillar) .bs-buy { padding: 1.1rem 0.9rem; border-radius: 18px; }
  :is(.ak-pillar, #ak-pillar) .bs-key > div { padding: 0.7rem 0.75rem; }
  :is(.ak-pillar, #ak-pillar) .bs-key dt { font-size: 0.84rem; gap: 0.4rem; flex-wrap: wrap; }
  :is(.ak-pillar, #ak-pillar) .bs-key dd { font-size: 0.8rem; }
  :is(.ak-pillar, #ak-pillar) .bs-tier { padding: 1.15rem 1rem 1.05rem; gap: 0.65rem; border-radius: 18px; }
  :is(.ak-pillar, #ak-pillar) .bs-trust { flex-direction: column; gap: 0.45rem; }
  :is(.ak-pillar, #ak-pillar) .bs-steps { grid-template-columns: 1fr; gap: 0.85rem; }
  :is(.ak-pillar, #ak-pillar) .bs-steps li { padding: 0 0 0 2.5rem; min-height: 1.75rem; }
  :is(.ak-pillar, #ak-pillar) .bs-link { padding: 0.95rem 1rem; }
}

/* ---- CL-246: what the other pillars add to the Forge's block ---- */
/* a price that is paid monthly: "$249" + a small "/mo" */
:is(.ak-pillar, #ak-pillar) .bs-tier__price small { font-size: 0.5em; font-weight: 700; letter-spacing: 0; margin-left: 0.12em; color: var(--ak-text-muted); }
/* "what you get" as a short tick list (in place of the Forge's number rows) */
:is(.ak-pillar, #ak-pillar) .bs-gets { list-style: none; margin: 0; padding: 0.15rem 0 0.7rem; display: grid; align-content: start; gap: 0.45rem; border-bottom: 1px solid var(--ak-border-subtle, rgba(255,255,255,.12)); }
:is(.ak-pillar, #ak-pillar) .bs-gets li { position: relative; padding-left: 1.45rem; font-size: 0.88rem; line-height: 1.45; }
:is(.ak-pillar, #ak-pillar) .bs-gets li::before { content: ""; position: absolute; left: 0.12rem; top: 0.42em; width: 0.7rem; height: 0.38rem; border-left: 2.2px solid var(--tier, #10B981); border-bottom: 2.2px solid var(--tier, #10B981); transform: rotate(-45deg); }
html[data-theme="day"] :is(.ak-pillar, #ak-pillar) .bs-gets { border-color: rgba(11,25,48,.12); }
html[data-theme="day"] :is(.ak-pillar, #ak-pillar) .bs-gets li::before { border-color: var(--tier-deep, #047857); }
/* a ladder of three (its first step sits in the tool itself, e.g. the text-back inside the phone block) */
:is(.ak-pillar, #ak-pillar) .bs-tiers--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1180px) { :is(.ak-pillar, #ak-pillar) .bs-tiers--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 980px) { :is(.ak-pillar, #ak-pillar) .bs-tiers--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { :is(.ak-pillar, #ak-pillar) .bs-tiers--3 { grid-template-columns: 1fr; } }
/* one extra line under the ladder with one quiet button (e.g. "More automations") */
:is(.ak-pillar, #ak-pillar) .bs-more { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.2rem; margin: 0.2rem 0 1.1rem; }
:is(.ak-pillar, #ak-pillar) .bs-more p { margin: 0; flex: 1 1 280px; font-size: 0.9rem; color: var(--ak-text-muted); }

/* the folds: on a computer they are simply open (the summary reads as a heading and does nothing); on a phone they open on a tap */
:is(.ak-pillar, #ak-pillar) .bs-fold > summary { list-style: none; }
:is(.ak-pillar, #ak-pillar) .bs-fold > summary::-webkit-details-marker { display: none; }
:is(.ak-pillar, #ak-pillar) .bs-fold--key { margin-top: 1.35rem; }
:is(.ak-pillar, #ak-pillar) .bs-fold--key > .bs-key { margin-top: 0; }
:is(.ak-pillar, #ak-pillar) .bs-fold--key > summary { display: none; }
:is(.ak-pillar, #ak-pillar) .bs-fold.bs-after > summary { display: block; cursor: default; }
:is(.ak-pillar, #ak-pillar) .bs-fold.bs-after > summary h4 { display: inline-block; }
:is(.ak-pillar, #ak-pillar) .bs-dots { display: none; }

/* ---- the phone routine (.bs-buy--swipe, 640 px and under): the ladder is a snap-swipe row, one card and a 24 px peek of the next,
        dots under it, the buy button always on the card; "what the words mean" behind an (i); "after you pay" as an accordion ---- */
@media (max-width: 640px) {
  :is(.ak-pillar, #ak-pillar) .bs-buy--swipe .bs-tiers { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc(100% - 24px - 0.75rem); column-gap: 0.75rem;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 0.9rem; margin: 1rem -0.9rem 0; padding: 0.55rem 0.9rem 0.4rem; scrollbar-width: none; }
  :is(.ak-pillar, #ak-pillar) .bs-buy--swipe .bs-tiers::-webkit-scrollbar { display: none; }
  :is(.ak-pillar, #ak-pillar) .bs-buy--swipe .bs-tier { display: flex; flex-direction: column; grid-row: auto; margin-bottom: 0; scroll-snap-align: start; scroll-snap-stop: always; }
  :is(.ak-pillar, #ak-pillar) .bs-buy--swipe .bs-tier .ak-button { margin-top: auto; }
  :is(.ak-pillar, #ak-pillar) .bs-buy--swipe .bs-dots { display: flex; justify-content: center; gap: 0.2rem; margin: 0.35rem 0 0.9rem; }
  :is(.ak-pillar, #ak-pillar) .bs-dot { appearance: none; width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
  :is(.ak-pillar, #ak-pillar) .bs-dot::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--ak-text-muted, #94A3B8); opacity: 0.45; transition: width .25s ease, opacity .25s ease, background-color .25s ease; }
  :is(.ak-pillar, #ak-pillar) .bs-dot[aria-current="true"]::before { width: 22px; opacity: 1; background: var(--dot, var(--mx-pri, #F59E0B)); }
  :is(.ak-pillar, #ak-pillar) .bs-dot[data-tier="1"] { --dot: var(--ak-tier-1); }
  :is(.ak-pillar, #ak-pillar) .bs-dot[data-tier="2"] { --dot: var(--ak-tier-2); }
  :is(.ak-pillar, #ak-pillar) .bs-dot[data-tier="3"] { --dot: var(--ak-tier-3); }
  :is(.ak-pillar, #ak-pillar) .bs-dot[data-tier="4"] { --dot: var(--ak-tier-4); }
  html[data-theme="day"] :is(.ak-pillar, #ak-pillar) .bs-dot[data-tier="1"] { --dot: var(--ak-tier-1-deep); }
  html[data-theme="day"] :is(.ak-pillar, #ak-pillar) .bs-dot[data-tier="2"] { --dot: var(--ak-tier-2-deep); }
  html[data-theme="day"] :is(.ak-pillar, #ak-pillar) .bs-dot[data-tier="3"] { --dot: var(--ak-tier-3-deep); }
  html[data-theme="day"] :is(.ak-pillar, #ak-pillar) .bs-dot[data-tier="4"] { --dot: var(--ak-tier-4-deep); }
  /* the (i) for "what the words mean", and the "after you pay" accordion: one tappable row each, 48 px high */
  :is(.ak-pillar, #ak-pillar) .bs-fold--key { margin-top: 0.9rem; }
  :is(.ak-pillar, #ak-pillar) .bs-fold > summary { display: flex; align-items: center; gap: 0.6rem; min-height: 48px; padding: 0.5rem 0.85rem; border-radius: 14px; cursor: pointer;
    border: 1px solid var(--ak-border-subtle, rgba(255,255,255,.12)); background: color-mix(in srgb, var(--ak-surface-2, #0F1A2E) 62%, transparent); font: 700 0.92rem/1.25 'Montserrat', 'Montserrat AKfb', 'Inter', sans-serif; }
  :is(.ak-pillar, #ak-pillar) .bs-fold > summary::after { content: ""; margin-left: auto; width: 0.55rem; height: 0.55rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s ease; flex: none; }
  :is(.ak-pillar, #ak-pillar) .bs-fold[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
  :is(.ak-pillar, #ak-pillar) .bs-fold > summary:focus-visible { outline: 2px solid var(--mx-hi, #FDE047); outline-offset: 2px; }
  :is(.ak-pillar, #ak-pillar) .bs-fold__i { flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; display: grid; place-items: center; font: italic 800 0.86rem/1 Georgia, serif;
    border: 1.5px solid var(--mx-hi, #FDE047); color: var(--mx-hi, #FDE047); }
  :is(.ak-pillar, #ak-pillar) .bs-fold--key[open] > summary + .bs-key { margin-top: 0.6rem; }
  :is(.ak-pillar, #ak-pillar) .bs-fold.bs-after { padding-top: 0; border-top: 0; margin-top: 1.1rem; }
  :is(.ak-pillar, #ak-pillar) .bs-fold.bs-after > summary { display: flex; cursor: pointer; }
  :is(.ak-pillar, #ak-pillar) .bs-fold.bs-after > summary h4 { display: inline; margin: 0; font: inherit; }
  :is(.ak-pillar, #ak-pillar) .bs-fold.bs-after[open] > summary + .bs-steps { margin-top: 0.9rem; }
  html[data-theme="day"] :is(.ak-pillar, #ak-pillar) .bs-fold > summary { background: #fff; border-color: rgba(11,25,48,.14); color: #0B1220; }
  html[data-theme="day"] :is(.ak-pillar, #ak-pillar) .bs-fold__i { border-color: var(--mx-day-pri, #B45309); color: var(--mx-day-pri, #B45309); }
}
@media (prefers-reduced-motion: reduce) {
  :is(.ak-pillar, #ak-pillar) .bs-dot::before, :is(.ak-pillar, #ak-pillar) .bs-fold > summary::after { transition: none; }
}

/* ---- CL-251: what the Websites pillar adds ---- */
/* a quiet last card for work that is scoped on a call (.bs-tier--quiet, no data-tier): a dashed edge, a small "from" price, a neutral outline button.
   It is still one target (.ak-tier): a click anywhere presses its button, and hover / focus / tap light it in the visitor's main color. */
:is(.ak-pillar, #ak-pillar) .bs-tier--quiet { cursor: pointer; border: 1px dashed color-mix(in srgb, var(--ak-text-muted, #94A3B8) 55%, transparent); background: color-mix(in srgb, var(--ak-surface-2, #0F1A2E) 34%, transparent); transition: border-color .25s ease, box-shadow .3s ease, background-color .25s ease; -webkit-tap-highlight-color: transparent; }
:is(.ak-pillar, #ak-pillar) .bs-tier--quiet .bs-tier__price { font-size: 1.35rem; color: var(--ak-text-main, #fff); white-space: nowrap; }
:is(.ak-pillar, #ak-pillar) .bs-tier__price small:first-child { margin: 0 0.3em 0 0; font-size: 0.56em; }
:is(.ak-pillar, #ak-pillar) .bs-tier--quiet .bs-specs dt { font-weight: 700; }
:is(.ak-pillar, #ak-pillar) .bs-tier--quiet .bs-specs dd b { font-size: 0.92rem; }
:is(.ak-pillar, #ak-pillar) .bs-tier--quiet:is(:active, :has(.ak-tier__go:focus-visible)) { border-style: solid; border-color: color-mix(in srgb, var(--tier) 80%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--tier) 30%, transparent), 0 24px 44px -30px color-mix(in srgb, var(--tier) 70%, transparent); }
@media (hover: hover) and (pointer: fine) { :is(.ak-pillar, #ak-pillar) .bs-tier--quiet:hover { border-style: solid; border-color: color-mix(in srgb, var(--tier) 80%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--tier) 30%, transparent), 0 24px 44px -30px color-mix(in srgb, var(--tier) 70%, transparent); } }
:is(.ak-pillar, #ak-pillar) .bs-tier--quiet .ak-button { justify-content: center; text-align: center; line-height: 1.25; padding-block: 0.6rem; }
html body:not(#ak-x) :is(.ak-pillar, #ak-pillar) .bs-tier--quiet .ak-button { background: transparent !important; color: var(--ak-text-main) !important; border: 1.5px solid var(--btn-line-night) !important; box-shadow: none !important; }
html[data-theme="day"] body:not(#ak-x) :is(.ak-pillar, #ak-pillar) .bs-tier--quiet .ak-button { border-color: var(--btn-line-day) !important; color: var(--p-ink) !important; }
html[data-theme="day"] :is(.ak-pillar, #ak-pillar) .bs-tier--quiet { background: rgba(255,255,255,.55); border-color: rgba(11,25,48,.3); }
html[data-theme="day"] :is(.ak-pillar, #ak-pillar) .bs-tier--quiet .bs-tier__price { color: #0B1930; }
/* a row of small add-on buttons under the ladder (.bs-more.bs-addons): one line of words, then one button per plan, each with its price */
:is(.ak-pillar, #ak-pillar) .bs-addons { align-items: center; padding: 0.95rem 1.1rem; border-radius: 16px; border: 1px solid var(--ak-border-subtle, rgba(255,255,255,.12)); background: color-mix(in srgb, var(--ak-surface-2, #0F1A2E) 46%, transparent); }
:is(.ak-pillar, #ak-pillar) .bs-addons p strong { color: var(--ak-text-main, #fff); }
:is(.ak-pillar, #ak-pillar) .bs-addons__set { display: flex; flex-wrap: wrap; gap: 0.55rem; }
:is(.ak-pillar, #ak-pillar) .bs-addons__set .ak-button { min-height: 48px; gap: 0.6rem; border-radius: 0.7rem; }
html[data-theme="day"] :is(.ak-pillar, #ak-pillar) .bs-addons { background: rgba(255,255,255,.7); border-color: rgba(11,25,48,.14); }
html[data-theme="day"] :is(.ak-pillar, #ak-pillar) .bs-addons p strong { color: #0B1930; }
@media (max-width: 640px) {
  :is(.ak-pillar, #ak-pillar) .bs-addons { padding: 0.85rem 0.8rem; }
  :is(.ak-pillar, #ak-pillar) .bs-addons p { flex-basis: 100%; }
  :is(.ak-pillar, #ak-pillar) .bs-addons__set { flex: 1 1 100%; }
}
/* a deposit button ("Reserve my spot" + the amount due today): the label never breaks; in a narrow card the amount drops under it, centered */
:is(.ak-pillar, #ak-pillar) .bs-buy--websites .bs-tier[data-tier] .ak-button { flex-wrap: wrap; justify-content: space-between; gap: 0.3rem 0.5rem; padding: 0.6rem 0.85rem; font-size: 0.92rem; }
:is(.ak-pillar, #ak-pillar) .bs-buy--websites .bs-tier[data-tier] .ak-button > span:first-child { white-space: nowrap; flex: 1 1 auto; text-align: center; }
:is(.ak-pillar, #ak-pillar) .bs-buy--websites .bs-tier[data-tier] .ak-button > .ak-button__price { flex: 0 1 auto; margin-inline: auto; }
@media (max-width: 640px) {
  /* a sentence the trust lines repeat is left out of the head on a phone */
  :is(.ak-pillar, #ak-pillar) .bs-head__more { display: none; }
  /* the add-on buttons sit three across: name on top, price under it */
  :is(.ak-pillar, #ak-pillar) .bs-addons__set { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.45rem; }
  :is(.ak-pillar, #ak-pillar) .bs-addons__set .ak-button { flex-direction: column; justify-content: center; gap: 0.35rem; min-height: 72px; padding: 0.55rem 0.3rem; font-size: 0.86rem; line-height: 1.2; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { :is(.ak-pillar, #ak-pillar) .bs-tier--quiet { transition: none; } }

/* the "More automations" sheet (popups/moreautomationssheet.html): its small print under the list */
.ak-lfsheet .ak-lfsheet__note { margin: 1rem 0 0; font-size: 0.82rem; line-height: 1.45; color: var(--ak-text-muted); }

/* ---- CL-262: the expander (Frank 2026-11-27: "much shorter scroll, neater, the same information on demand") ----
   Each card, closed: tag, name + price, the one line, the key counts (.bs-specs, or the first two lines of .bs-gets), the toggle,
   the terms strip and the buy button. Open: the rest of .bs-gets and .bs-tier__more ("You choose" / "Also yours" / "You send" / "Good to know").
   The state is per ladder (.bs-tiers.is-open), so a row of cards always lines up; js/akarec-pillar.js sets it and every toggle's aria-expanded.
   A click on a closed card opens the ladder; on an open card it presses the buy button (akarec-actions.js); the buy button always buys. */
:is(.ak-pillar, #ak-pillar) .bs-tier__more { display: grid; align-content: start; gap: 0.7rem; }
:is(.ak-pillar, #ak-pillar) .bs-tiers:not(.is-open) :is(.bs-tier__more, .bs-gets li:nth-child(n+3)) { display: none; }
@media (min-width: 641px) { @supports (grid-template-rows: subgrid) { :is(.ak-pillar, #ak-pillar) .bs-tiers:not(.is-open) .bs-tier { grid-row: span 7; } } }
:is(.ak-pillar, #ak-pillar) .bs-tier__toggle { appearance: none; justify-self: start; align-self: start; display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; margin: 0; padding: 0.3rem 0.1rem; border: 0; background: none; cursor: pointer;
  font: 700 0.86rem/1.2 'Inter', sans-serif; color: var(--mx-hi, #FDE047); text-align: left; -webkit-tap-highlight-color: transparent; }
:is(.ak-pillar, #ak-pillar) .bs-tier__toggle > span { text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; transition: text-decoration-color .2s ease; }
:is(.ak-pillar, #ak-pillar) .bs-tier__toggle::after { content: ""; flex: none; width: 0.42rem; height: 0.42rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .25s ease; }
:is(.ak-pillar, #ak-pillar) .bs-tier__toggle[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
:is(.ak-pillar, #ak-pillar) .bs-tier__toggle:hover > span { text-decoration-color: currentColor; }
:is(.ak-pillar, #ak-pillar) .bs-tier__toggle:focus-visible { outline: 2px solid var(--mx-hi, #FDE047); outline-offset: 2px; border-radius: 6px; }
:is(.ak-pillar, #ak-pillar) .bs-tier__toggle[aria-expanded="true"] .bs-tier__toggle-more, :is(.ak-pillar, #ak-pillar) .bs-tier__toggle[aria-expanded="false"] .bs-tier__toggle-less { display: none; }
@media (hover: hover) and (pointer: fine) { :is(.ak-pillar, #ak-pillar) .bs-tier__toggle { min-height: 32px; } }
html[data-theme="day"] :is(.ak-pillar, #ak-pillar) .bs-tier__toggle { color: var(--mx-day-pri, #B45309); }
html[data-theme="day"] :is(.ak-pillar, #ak-pillar) .bs-tier__toggle:focus-visible { outline-color: var(--p-ink, #0B1930); }
@media (prefers-reduced-motion: reduce) { :is(.ak-pillar, #ak-pillar) .bs-tier__toggle::after, :is(.ak-pillar, #ak-pillar) .bs-tier__toggle > span { transition: none; } }

/* ---- CL-263: "What happens after you pay" and the two paths, as one small raised strip right under the ladder's trust line ----
   Markup: <div class="bs-next"> wraps .bs-after (or the phone fold) and .bs-links. Step numbers sit beside each step's title, not above it. */
:is(.ak-pillar, #ak-pillar) .bs-next { margin-top: 1.25rem; padding: 1rem 1.2rem 1.1rem; border-radius: 18px; border: 1px solid var(--ak-border-subtle, rgba(255,255,255,.12));
  background: linear-gradient(180deg, color-mix(in srgb, var(--mx-pri, #F59E0B) 7%, transparent), transparent 70%), color-mix(in srgb, var(--ak-surface-2, #0F1A2E) 72%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 22px 40px -30px rgba(0,0,0,.85); }
:is(.ak-pillar, #ak-pillar) .bs-next .bs-after { margin-top: 0; padding-top: 0; border-top: 0; }
:is(.ak-pillar, #ak-pillar) .bs-next .bs-after h4 { margin: 0 0 0.75rem; font-size: 0.95rem; }
:is(.ak-pillar, #ak-pillar) .bs-next .bs-steps { gap: 0.8rem 1.3rem; }
:is(.ak-pillar, #ak-pillar) .bs-next .bs-steps li { padding: 0 0 0 2.05rem; min-height: 1.5rem; font-size: 0.8rem; line-height: 1.45; }
:is(.ak-pillar, #ak-pillar) .bs-next .bs-steps li::before { top: 0; width: 1.5rem; height: 1.5rem; font-size: 0.74rem; box-shadow: 0 0 0 3px color-mix(in srgb, var(--mx-pri, #F59E0B) 16%, transparent); }
:is(.ak-pillar, #ak-pillar) .bs-next .bs-steps li::after { display: none; }
:is(.ak-pillar, #ak-pillar) .bs-next .bs-steps strong { margin-bottom: 0.1rem; font-size: 0.88rem; line-height: 1.5rem; }
:is(.ak-pillar, #ak-pillar) .bs-next .bs-links { margin-top: 0.95rem; padding-top: 0.95rem; gap: 0.7rem; border-top: 1px solid var(--ak-border-subtle, rgba(255,255,255,.12)); }
:is(.ak-pillar, #ak-pillar) .bs-next .bs-link { padding: 0.7rem 0.95rem; row-gap: 0.15rem; border-radius: 12px; }
:is(.ak-pillar, #ak-pillar) .bs-next .bs-link__kicker { font-size: 0.62rem; }
:is(.ak-pillar, #ak-pillar) .bs-next .bs-link__title { font-size: 0.95rem; }
:is(.ak-pillar, #ak-pillar) .bs-next .bs-link__text { font-size: 0.78rem; line-height: 1.4; }
:is(.ak-pillar, #ak-pillar) .bs-next .bs-link > .bs-link__go { width: 2.1rem; height: 2.1rem; font-size: 1rem; }
html[data-theme="day"] :is(.ak-pillar, #ak-pillar) .bs-next { background: linear-gradient(180deg, color-mix(in srgb, var(--mx-pri, #F59E0B) 8%, #fff), #fff 70%); border-color: rgba(11,25,48,.12); box-shadow: inset 0 1px 0 #fff, 0 18px 34px -28px rgba(11,25,48,.45); }
html[data-theme="day"] :is(.ak-pillar, #ak-pillar) .bs-next .bs-links { border-color: rgba(11,25,48,.12); }
@media (max-width: 640px) {
  :is(.ak-pillar, #ak-pillar) .bs-next { margin-top: 1rem; padding: 0.75rem 0.75rem 0.85rem; border-radius: 16px; }
  :is(.ak-pillar, #ak-pillar) .bs-next .bs-fold.bs-after { margin-top: 0; }
  :is(.ak-pillar, #ak-pillar) .bs-next .bs-steps { gap: 0.7rem; }
  :is(.ak-pillar, #ak-pillar) .bs-next .bs-links { margin-top: 0.75rem; padding-top: 0.75rem; gap: 0.55rem; }
}

/* CL-289: the "Signature builds, from $6,500" card is now a diamond tier card (data-tier="5", not quiet): it keeps the quiet card's smaller "from" price so it fits */
:is(.ak-pillar, #ak-pillar) .bs-tier[data-tier="5"]:has(.bs-tier__price small) .bs-tier__price { font-size: 1.35rem; white-space: nowrap; }
/* CL-291: every diamond card fits its column, PC and phone: the price drops under the name when the name and price don't fit side by side,
   and a long button label wraps onto two centred lines instead of running past the card edge */
:is(.ak-pillar, #ak-pillar) .bs-tier[data-tier="5"] h4 { flex-wrap: wrap; row-gap: 0.25rem; }
:is(.ak-pillar, #ak-pillar) .bs-tier[data-tier="5"] { min-width: 0; grid-template-columns: minmax(0, 1fr); }
:is(.ak-pillar, #ak-pillar) .bs-tier[data-tier="5"] .ak-tier__go { white-space: normal; text-align: center; line-height: 1.25; padding-block: 0.6rem; justify-content: center; flex-wrap: wrap; column-gap: 0.6rem; }
html body:not(#ak-x) :is(.ak-pillar, #ak-pillar) .bs-tier[data-tier="5"] .ak-tier__go > span { white-space: normal !important; min-width: 0; }
html body:not(#ak-x) :is(.ak-pillar, #ak-pillar) .bs-tier[data-tier="5"] .ak-tier__go { padding-inline: 0.9rem; }


/* CL-222 (home card 6): Your industry + Any business. Chips on top (sticky), that industry's tool, one line (CL-242), and only its own packages.
   Any business is the last row: Quote Builder (4 quick types) + the missed-call demo, each with its own offer. */
#sec-industries .ind-head, :is(#sec-quote, #sec-automation) .ind-head { margin-bottom: 1.4rem; }
#sec-industries .ind-head h2, :is(#sec-quote, #sec-automation) .ind-head h2 { margin: 0.35rem 0 0.7rem; }
#sec-industries .ind-head .ak-plain-line, :is(#sec-quote, #sec-automation) .ind-head .ak-plain-line { max-width: 64ch; margin: 0; }
#sec-industries .ind-anylink { font-weight: 700; white-space: nowrap; }

/* chips: one sticky bar under the header */
#sec-industries .ind-chipbar { position: sticky; top: var(--ind-sticky, 116px); z-index: 30; margin: 0 -0.6rem 1.25rem; padding: 0.55rem 0.6rem; border-radius: 14px; background: color-mix(in srgb, #060A12 84%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--ak-border-subtle, rgba(255,255,255,.12)); }
html[data-theme="day"] #sec-industries .ind-chipbar { background: rgba(250,247,240,.9); border-color: rgba(11,18,32,.14); }
#sec-industries .ind-chipbar .ind-tabs { display: flex !important; flex-wrap: wrap; gap: 0.5rem; margin: 0; grid-template-columns: none !important; }
#sec-industries .ind-chipbar .ind-tabs .route-pill { flex: 0 0 auto; white-space: nowrap; }

/* the tool + its offer */
#sec-industries .ind-panels:has(#indContractorTools:not([hidden])) .ind-tool-head { display: none; }   /* AKA Roof has its own heading */
#sec-industries .ind-panels { gap: 1.25rem; }
#sec-industries .ind-tool-head h3 { margin: 0.5rem 0 0.4rem; }
#sec-industries .ind-tool-head .ak-plain-line { margin: 0; }
#sec-industries .ind-offer { display: flex; flex-direction: column; gap: 0.95rem; }
#sec-industries .ind-offer .ak-eyebrow { margin: 0; }
#sec-industries .ind-offer h3 { font-size: clamp(1.25rem, 2vw, 1.6rem) !important; line-height: 1.2; margin: 0; }
/* CL-242: one plain line on what the packages get you (the ROI line is gone) */
#sec-industries .ind-gets { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--ak-text-muted); max-width: 62ch; }
#sec-industries .ind-pkgs { display: grid; gap: 0.6rem; }
#sec-industries .ind-pkgs:empty { display: none; }
#sec-industries .ind-pkg { display: flex !important; width: 100%; align-items: center; justify-content: space-between; gap: 0.75rem; text-align: left; }
#sec-industries .ind-pkg__n { flex: 1 1 auto; min-width: 0; }
#sec-industries .ind-pkg .ak-button__price { flex: 0 1 auto; text-align: right; }
#sec-industries .ind-best { display: block; font-weight: 700; padding: 0.7rem 0.95rem; min-height: 44px; border: 1px dashed color-mix(in srgb, var(--mx-hi, #FDE047) 60%, transparent); border-radius: 12px; text-decoration: none; color: var(--ak-citron, #FDE047); }
html[data-theme="day"] #sec-industries .ind-best { color: #92400E; border-color: rgba(146,64,14,.5); }
#sec-industries .ind-best:hover, #sec-industries .ind-best:focus-visible { background: color-mix(in srgb, var(--mx-pri, #F59E0B) 14%, transparent); }
#sec-industries .ind-bigger { margin: 0; font-size: 0.92rem; }
#sec-industries .ind-bigger__btn { appearance: none; background: none; border: 0; padding: 0.35rem 0; min-height: 44px; color: var(--ak-text-muted); font: inherit; text-align: left; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
#sec-industries .ind-bigger__btn strong { color: var(--ak-text-main, inherit); }
#sec-industries .ind-bigger__btn:hover, #sec-industries .ind-bigger__btn:focus-visible { color: var(--ak-text-main, inherit); }
/* contractors: AKA Roof gets the full width, its three packages in a row under it */
#sec-industries .ind-panels:has(#indContractorTools:not([hidden])) .ind-pkgs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#sec-industries .ind-panels:has(#indContractorTools:not([hidden])) .ind-pkg { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0.2rem; }
#sec-industries .ind-panels:has(#indContractorTools:not([hidden])) .ind-pkg .ak-button__price { text-align: left; }
/* CL-242: the industry pages, in view: the "go deeper" step (was a closed dropdown) */
#sec-industries .ind-pages { margin-top: 1.6rem; }
#sec-industries .ind-pages__title { margin: 0 0 0.75rem; font: 700 1rem/1.3 'Montserrat', 'Montserrat AKfb', 'Inter', sans-serif; color: var(--ak-text-main); }
#sec-industries .ind-pages__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.6rem; }
#sec-industries .ind-pages__list a { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; min-height: 48px; padding: 0.6rem 0.95rem; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 0.95rem; color: var(--ak-text-main); border: 1px solid var(--ak-border-subtle, rgba(255,255,255,.12)); background: color-mix(in srgb, var(--ak-surface, #0B1220) 80%, transparent); transition: border-color .2s ease, transform .2s ease, background-color .2s ease; }
#sec-industries .ind-pages__go { color: var(--mx-pri, #F59E0B); transition: transform .2s ease; }
#sec-industries .ind-pages__list a:hover, #sec-industries .ind-pages__list a:focus-visible { border-color: color-mix(in srgb, var(--mx-pri, #F59E0B) 70%, transparent); background: color-mix(in srgb, var(--mx-pri, #F59E0B) 10%, var(--ak-surface, #0B1220)); transform: translateY(-2px); }
#sec-industries .ind-pages__list a:hover .ind-pages__go, #sec-industries .ind-pages__list a:focus-visible .ind-pages__go { transform: translateX(3px); }
#sec-industries .ind-pages__list a:focus-visible { outline: 2px solid var(--mx-hi, #FDE047); outline-offset: 2px; }
html[data-theme="day"] #sec-industries .ind-pages__list a { background: #fff; border-color: rgba(11,25,48,.14); color: #0B1930; }
html[data-theme="day"] #sec-industries .ind-pages__go { color: var(--mx-day-pri, #B45309); }
html[data-theme="day"] #sec-industries .ind-pages__list a:hover, html[data-theme="day"] #sec-industries .ind-pages__list a:focus-visible { background: #FFF8EC; border-color: rgba(180,83,9,.5); }
@media (max-width: 980px) { #sec-industries .ind-pages__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { #sec-industries .ind-pages__list a { padding: 0.55rem 0.7rem; font-size: 0.88rem; } }
@media (prefers-reduced-motion: reduce) { #sec-industries .ind-pages__list a, #sec-industries .ind-pages__go { transition: none; } #sec-industries .ind-pages__list a:hover { transform: none; } }
#price-signature-launch { scroll-margin-top: 110px; }

/* Any business: the Quote Builder, then the missed-call demo; each with its offer */
#sec-quote .any-block { margin-top: 0.4rem; }
#sec-quote .akq-picker { margin: 0 0 1rem; }
:is(#sec-quote, #sec-automation) .any-offer { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem 1rem; margin-top: 1rem; }
#sec-quote .any-block > .akq-local { margin: 1rem 0 0; }
:is(#sec-quote, #sec-automation) .any-offer__note { color: var(--ak-text-muted); font-size: 0.9rem; }
:is(#sec-quote, #sec-automation) .any-card { margin-top: 1.5rem; }
:is(#sec-quote, #sec-automation) .akq-src-wrap { margin-top: 0.8rem; }
/* CL-226: the sources chip is styled in 54-what-you-get.css (home and /automation/) */
:is(#sec-quote, #sec-automation) .akq-src-wrap .akq-src { margin-top: 0.2rem; }

@media (max-width: 980px) {
  #sec-industries .ind-panels:has(#indContractorTools:not([hidden])) .ind-pkgs { grid-template-columns: minmax(0, 1fr); }
  #sec-industries .ind-panels:has(#indContractorTools:not([hidden])) .ind-pkg { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (max-width: 720px) {
  #sec-industries .ind-chipbar { --ind-sticky: 56px; top: 56px; margin: 0 -1rem 1rem; padding: 0.4rem 1rem; border-radius: 0; border-left: 0; border-right: 0; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  #sec-industries .ind-chipbar::-webkit-scrollbar { display: none; }
  #sec-industries .ind-chipbar .ind-tabs { flex-wrap: nowrap; width: max-content; }
  #sec-industries .ind-chipbar .ind-tabs .route-pill { scroll-snap-align: start; }
  #sec-industries .ind-head h2, :is(#sec-quote, #sec-automation) .ind-head h2 { font-size: 1.85rem !important; }
  /* the tool brings its own heading: the outer one goes on phone so the tool starts in the first view */
  #sec-industries .ind-tool-head { display: none; }
  #sec-industries .arp-lede, #sec-industries .arp-pill { display: none; }
  #sec-industries .ind-tool-card { padding: 1rem; }
  #sec-industries .ind-offer { padding: 1rem; }
  #sec-industries .ind-pkg { padding-left: 0.9rem; padding-right: 0.9rem; font-size: 0.95rem; }
  #sec-quote .akq-picker { flex-wrap: nowrap; overflow-x: auto; margin-right: -1rem; padding-bottom: 0.3rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  #sec-quote .akq-picker::-webkit-scrollbar { display: none; }
  #sec-quote .akq-picker > * { flex: 0 0 auto; }
  #sec-quote .akq-picker__lead { display: none; }
  :is(#sec-quote, #sec-automation) .any-offer .ak-button { width: 100%; justify-content: space-between; }
  :is(#sec-quote, #sec-automation) .any-offer__note { display: none; }
}
#sec-industries .ind-anylink { color: var(--ak-citron, #FDE047); text-decoration: underline; text-underline-offset: 3px; }
html[data-theme="day"] #sec-industries .ind-anylink { color: #92400E; }

/* CL-222: missed-call demo as one unit: copy on one side, the Play button directly above the phone on the other (home, /automation/; /contractors/ already has the button above its phone) */
.akp-lift { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center; }
.akp-lift h2, .akp-lift h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.12; margin: 0.45rem 0 0.7rem; }
.akp-lift__line { margin: 0 0 1rem; font-size: 1.05rem; line-height: 1.5; max-width: 44ch; }
.akp-lift__stats { list-style: none; margin: 0 0 1.1rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.7rem; }
.akp-lift__stats li { display: grid; gap: 0.1rem; padding: 0.65rem 0.95rem; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--mx-pri, #F59E0B) 45%, transparent); background: color-mix(in srgb, var(--mx-pri, #F59E0B) 10%, transparent); }
.akp-lift__stats strong { font-size: 1.45rem; line-height: 1.1; color: var(--ak-citron, #FDE047); }
html[data-theme="day"] .akp-lift__stats strong { color: #92400E; }
.akp-lift__stats span { font-size: 0.85rem; color: var(--ak-text-muted); }
.akp-lift__stage { display: grid; justify-items: center; gap: 0.9rem; padding: 1.1rem 1rem 1.25rem; border-radius: 22px; background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--mx-pri, #F59E0B) 18%, transparent), transparent 70%); }
.akp-lift__play { gap: 0.55rem; min-height: 52px; padding-inline: 1.6rem; font-size: 1.05rem; }
.akp-lift__play span[aria-hidden] { font-size: 0.8em; }
.akp-lift .akq-phone { justify-self: center; width: min(272px, 74vw); aspect-ratio: 9 / 18.9; }
@media (max-width: 760px) {
  .akp-lift { grid-template-columns: 1fr; gap: 0.9rem; }
  .akp-lift h2, .akp-lift h3 { font-size: 1.55rem; }
  .akp-lift__line { margin-bottom: 0.7rem; }
  .akp-lift__stats { flex-wrap: nowrap; gap: 0.5rem; margin-bottom: 0.4rem; }
  .akp-lift__stats li { padding: 0.5rem 0.65rem; flex: 1 1 0; }
  .akp-lift__stats strong { font-size: 1.15rem; }
  .akp-lift__stats span { font-size: 0.78rem; }
  .akp-lift__stage { padding: 0.8rem 0.5rem 1rem; gap: 0.7rem; }
  .akp-lift .akq-phone { width: min(236px, 64vw); }
}
:is(#sec-quote, #sec-automation) .akq-missed.akp-lift { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
:is(#sec-quote, #sec-automation) .akq-missed h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
@media (max-width: 760px) {
  :is(#sec-quote, #sec-automation) .akq-missed.akp-lift { grid-template-columns: 1fr; }
  :is(#sec-quote, #sec-automation) .akq-missed h3 { font-size: 1.55rem; }
  :is(#sec-quote, #sec-automation) .akp-lift .akq-phone { width: min(236px, 64vw); }
}


/* CL-225 (home card 7): the AKA Grade unit, lifted. One component on home, /seo/ and /aka-grade/ (the form and result are copied to the
   pages by build-pages.mjs; their styles come from tool-styles/build.mjs). The rules on #gradeForm / #akaGradeOutput are the shared part.
   Phone (under 900 px): the pin is a thin banner above the words, the result is a compact grid (name, score, a thin bar; tap a tile to open
   its line and fix button), the three brand checks are one swipe row, and the offers are compact, so the form and the result share one view. */
#gradeForm .agp-checks { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 0.85rem; font-size: 0.88rem; color: var(--ak-text-muted); }

/* the result tiles (sample and live) */
#akaGradeOutput .akg-pillar { display: flex; flex-direction: column; justify-content: space-between; gap: 0.65rem; padding: 1.15rem; border-radius: 10px; border: 1px solid var(--ak-border-subtle); background: rgba(6, 10, 18, 0.65); min-width: 0; transition: border-color .2s ease; }
#akaGradeOutput .akg-pillar:hover { border-color: color-mix(in srgb, var(--mx-pri, var(--ak-amber)) 55%, transparent); }
#akaGradeOutput .akg-pillar__head { appearance: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: .6rem; row-gap: .5rem; width: 100%; padding: 0; margin: 0; border: 0; background: transparent; color: inherit; text-align: left; font: 400 0.76rem/1.3 var(--f-mono, 'JetBrains Mono', monospace); cursor: default; }
#akaGradeOutput .akg-pillar__head strong { min-width: 0; }
#akaGradeOutput .akg-pillar__score { color: var(--ak-citron); font-weight: 700; white-space: nowrap; }
#akaGradeOutput .akg-pillar__head::after { content: ''; grid-column: 1 / -1; height: 5px; border-radius: 99px; background: linear-gradient(90deg, var(--akg-fill, var(--ak-amber)) var(--akg-pct, 0%), rgba(148, 163, 184, 0.22) var(--akg-pct, 0%)); }
#akaGradeOutput .akg-pillar[data-state="low"] { --akg-fill: var(--ak-lerp-sky, #38BDF8); }
#akaGradeOutput .akg-pillar[data-state="na"] .akg-pillar__head::after { background: rgba(148, 163, 184, 0.22); }
#akaGradeOutput .akg-pillar__body { display: flex; flex-direction: column; gap: 0.65rem; flex: 1 1 auto; justify-content: space-between; }
#akaGradeOutput .akg-pillar__text { font-size: 0.86rem; margin: 0; }
#akaGradeOutput .akg-pillar__list { font-size: 0.84rem; list-style: none; padding: 0; margin: 0; }
#akaGradeOutput .akg-pillar__list li { margin: 0 0 0.35rem; }
#akaGradeOutput .akg-pillar__fix { align-self: flex-start; border-color: var(--ak-amber); color: var(--ak-citron); text-align: left; }
html[data-theme="day"] #akaGradeOutput .akg-pillar { background: rgba(255, 255, 255, 0.92); border-color: rgba(11, 25, 48, 0.2); box-shadow: 0 10px 24px -18px rgba(15, 23, 42, 0.35); }
html[data-theme="day"] #akaGradeOutput .akg-pillar__score { color: #7C2D12; }
html[data-theme="day"] #akaGradeOutput .akg-pillar__head::after { background: linear-gradient(90deg, var(--akg-fill, #B45309) var(--akg-pct, 0%), rgba(11, 25, 48, 0.14) var(--akg-pct, 0%)); }
html[data-theme="day"] #akaGradeOutput .akg-pillar[data-state="low"] { --akg-fill: #0369A1; }
html[data-theme="day"] #akaGradeOutput .akg-pillar__fix { color: #7C2D12; border-color: rgba(180, 83, 9, 0.6); background: rgba(255, 255, 255, 0.9); }

@media (max-width: 899px) {
  /* result: a 2-column grid of one-line tiles; an opened tile spans both columns */
  #akaGradeOutput { margin-top: 0.9rem !important; padding-top: 0.9rem !important; }
  #akaGradeOutput > div:first-child { margin-bottom: 0.7rem !important; }
  #akaGradeOutput h3 { font-size: 1.2rem !important; }
  #gradePillarsContainer { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 0.5rem !important; }
  #akaGradeOutput .akg-pillar { padding: 0.45rem 0.65rem; gap: 0.3rem; justify-content: flex-start; }
  #akaGradeOutput .akg-pillar__head { cursor: pointer; font-size: 0.64rem; min-height: 44px; align-content: center; row-gap: 0.35rem; }
  #akaGradeOutput .akg-pillar__head:focus-visible { outline: 2px solid var(--mx-hi, var(--ak-citron)); outline-offset: 3px; border-radius: 4px; }
  #akaGradeOutput .akg-pillar__body { display: none; }
  #akaGradeOutput .akg-pillar.is-open { grid-column: 1 / -1; }
  #akaGradeOutput .akg-pillar.is-open .akg-pillar__body { display: flex; }
}

/* home, phone: pin banner on top, words and form tight, offers compact */
@media (max-width: 899px) {
  #sec-grade > .ak-container > .ak-card { padding: 0.9rem !important; }
  #sec-grade .agp-split { grid-template-areas: "stage" "copy" "form"; row-gap: 0.75rem; }
  #sec-grade .agp-stage { height: 92px; }
  #sec-grade .agp-still img { object-fit: cover; object-position: 50% 42%; }
  #sec-grade .agp-caption { display: none; }
  #sec-grade.is-graded .agp-copy { display: none; }
  #sec-grade .agp-copy .ak-eyebrow { font-size: 0.66rem; }
  #sec-grade .agp-copy h2 { font-size: 1.3rem !important; line-height: 1.12; margin-bottom: 0.4rem; }
  #sec-grade .agp-copy .ak-plain-line { font-size: 0.9rem; line-height: 1.5; }
  #sec-grade .agp-copy .route-pill { margin-top: 0.5rem; font-size: 0.72rem; }
  #sec-grade .ak-page-teaser { font-size: 0.84rem; margin: 0.5rem 0 0; }
  #sec-grade .agp-fields { gap: 0.45rem; }
  #sec-grade #gradeForm .agp-checks { flex-wrap: wrap; gap: 0.35rem 0.9rem; margin-top: 0.5rem; padding-bottom: 0.2rem; }   /* CL-226: wraps, never runs off the edge */
  #sec-grade #gradeForm .agp-checks label { white-space: normal; flex: 0 1 auto; min-width: 0; max-width: 100%; min-height: 32px !important; }
  #sec-grade #seoOptionsLadder { margin-top: 1rem !important; }
  #sec-grade #seoOptionsLadder > div { padding: 0.95rem !important; }
  #sec-grade #seoOptionsLadder .ak-grid-3 { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  #sec-grade #seoOptionsLadder .ak-plain-line { font-size: 0.84rem !important; margin: 0.25rem 0 0.6rem !important; }
}

/* the consent block opens only after "Send My Full Report" is pressed (scripts/26-contact-forms-to-crm.js) */
#seoOptionsLadder .ak-lead-extra[hidden] { display: none; }

/* CL-230 (phone follow-up): the form + all 6 result tiles share one view again at 360x780 on home, /seo/ and /aka-grade/.
   CL-226 let the three brand checks wrap (about 110 px tall) and the tiles and result header grew; tighten all three. */
@media (max-width: 899px) {
  #sec-grade #gradeForm .agp-checks { gap: 0.1rem 0.9rem; margin-top: 0.4rem; padding-bottom: 0; font-size: 0.74rem; line-height: 1.2; }
  #sec-grade #gradeForm .agp-checks input { width: 16px; height: 16px; margin: 0; }
  #sec-grade .agp-stage { height: 76px; }
  #sec-grade #gradeForm .agp-checks label { min-height: 26px !important; display: inline-flex; align-items: center; gap: 0.4rem; }
  #sec-grade #akaGradeOutput { margin-top: 0.6rem !important; padding-top: 0.6rem !important; }
  #sec-grade #akaGradeOutput > div:first-child { margin-bottom: 0.45rem !important; gap: 0.4rem !important; }
  #sec-grade #akaGradeOutput #gradeNote { font-size: 0.78rem; line-height: 1.3; margin-top: 0.1rem !important; }
  #sec-grade #akaGradeOutput .akg-pillar { padding: 0.35rem 0.55rem; }
  #sec-grade #akaGradeOutput .akg-pillar__head { min-height: 40px; }
  #sec-grade #gradePillarsContainer { gap: 0.4rem !important; }
}

/* CL-347 (Frank on his phone: "the SEO Section AKA GRADE pin is so tiny and silly looking"): on phones the pin was a 76 px
   strip. It is now the section's hero object: a centered square about two thirds of the screen wide, the whole pin in frame
   (the same scene and stills as desktop). After a scan it folds back to the strip, so the form and the six result tiles
   still share one view (CL-230). */
@media (max-width: 899px) {
  #sec-grade .agp-stage { width: min(66vw, 300px); height: auto; aspect-ratio: 1 / 1; justify-self: center; align-self: start; }
  #sec-grade .agp-still img { object-fit: contain; object-position: 50% 50%; }
  #sec-grade.is-graded .agp-stage { width: 100%; aspect-ratio: auto; height: 76px; justify-self: stretch; }
  #sec-grade.is-graded .agp-still img { object-fit: cover; object-position: 50% 42%; }
}
/* CL-226 (home card 8): "What you get", lifted. Order on home: Brand Studio, AKA Grade, Industries (+ Any business), THEN the four service tiles,
   the ownership promise, the finder, then Prices. This file gives the three blocks the AKAREC look:
   Night = brushed obsidian faces with a gold hairline; Day = linen overlay + blueprint band (CL-219 patterns); the visitor's current
   Random Texture lays a faint overlay on the tile faces; gold foil icon tiles; a soft lift on hover.
   The finder rules sit on #akFinder so tool-styles/build.mjs copies them to /pricing/ (assets/css/akarec-finder.css). */

/* ---------- section backgrounds (Day only; Night keeps the page's own dark) ---------- */
html[data-theme="day"] :is(#sec-services, #sec-finder) { isolation: isolate; }
html[data-theme="day"] :is(#sec-services, #sec-finder)::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
html[data-theme="day"] #sec-services::after {
  background-image:
    repeating-linear-gradient(0deg, rgba(60, 40, 10, 0.05) 0, rgba(60, 40, 10, 0.05) 1px, transparent 1px, transparent 4px),
    repeating-linear-gradient(90deg, rgba(60, 40, 10, 0.05) 0, rgba(60, 40, 10, 0.05) 1px, transparent 1px, transparent 4px),
    linear-gradient(180deg, rgba(2, 132, 199, 0.07), rgba(255, 253, 248, 0.75) 35%, rgba(255, 253, 248, 0.65));
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}
html[data-theme="day"] #sec-finder::after {
  background-image:
    radial-gradient(ellipse 60% 70% at 50% 50%, rgba(245, 158, 11, 0.12), transparent 75%),
    linear-gradient(rgba(2, 132, 199, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 132, 199, 0.13) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}
#sec-finder.ak-section { padding-top: 2.5rem; padding-bottom: 2.5rem; }
#sec-services.ak-section { padding-bottom: 3rem; }

/* ---------- the four service tiles ---------- */
#sec-services .ak-container .ak-grid-3 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 1rem; }
@media (max-width: 1080px) { #sec-services .ak-container .ak-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
#sec-services .ak-service-card {
  position: relative; overflow: hidden; isolation: isolate; text-decoration: none; color: inherit;
  background: linear-gradient(145deg, #111a2c 0%, #0a101d 100%);
  border: 1px solid rgba(245, 158, 11, 0.4);
  box-shadow: inset 0 1px 0 rgba(253, 224, 71, 0.2), 0 16px 32px -20px rgba(0, 0, 0, 0.75);
}
#sec-services .ak-service-card > * { position: relative; z-index: 1; }
/* the face: brushed metal in Night, Architectural Linen in Day; the visitor's Random Texture replaces it with a faint copy of that finish */
#sec-services .ak-service-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.032) 0, rgba(255, 255, 255, 0.032) 1px, transparent 1px, transparent 3px),
    linear-gradient(115deg, rgba(255, 255, 255, 0.05) 0%, transparent 38%, transparent 62%, rgba(245, 158, 11, 0.06) 100%);
}
html[data-theme="day"] main #sec-services .ak-service-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 253, 248, 0.9) 100%) !important;
  border: 1px solid rgba(180, 83, 9, 0.35) !important;
  box-shadow: inset 0 1px 0 #fff, 0 14px 30px -18px rgba(11, 25, 48, 0.28) !important;
}
html[data-theme="day"] #sec-services .ak-service-card::before {
  background-image:
    repeating-linear-gradient(0deg, rgba(60, 40, 10, 0.06) 0, rgba(60, 40, 10, 0.06) 1px, transparent 1px, transparent 4px),
    repeating-linear-gradient(90deg, rgba(60, 40, 10, 0.06) 0, rgba(60, 40, 10, 0.06) 1px, transparent 1px, transparent 4px),
    linear-gradient(135deg, rgba(234, 224, 205, 0.5), rgba(245, 241, 233, 0.1));
}
html[data-texture="tex-carbon-weave"] #sec-services .ak-service-card::before {
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 15%, transparent 16%), radial-gradient(rgba(255, 255, 255, 0.09) 15%, transparent 16%), linear-gradient(135deg, rgba(15, 23, 42, 0.4), rgba(5, 7, 12, 0.2));
  background-size: 8px 8px, 8px 8px, 100% 100%; background-position: 0 0, 4px 4px, 0 0;
}
html[data-texture="tex-architectural-linen"] #sec-services .ak-service-card::before {
  background-image: repeating-linear-gradient(0deg, rgba(250, 248, 245, 0.07) 0, rgba(250, 248, 245, 0.07) 1px, transparent 1px, transparent 4px), repeating-linear-gradient(90deg, rgba(250, 248, 245, 0.07) 0, rgba(250, 248, 245, 0.07) 1px, transparent 1px, transparent 4px);
}
html[data-texture="tex-hammered-gold"] #sec-services .ak-service-card::before {
  background-image: radial-gradient(ellipse at 30% 40%, rgba(253, 224, 71, 0.16), transparent 55%), radial-gradient(ellipse at 75% 70%, rgba(217, 119, 6, 0.2), transparent 58%);
}
html[data-texture="tex-blueprint"] #sec-services .ak-service-card::before {
  background-image: linear-gradient(rgba(56, 189, 248, 0.14) 1px, transparent 1px), linear-gradient(90deg, rgba(56, 189, 248, 0.14) 1px, transparent 1px);
  background-size: 22px 22px;
}
html[data-theme="day"][data-texture="tex-carbon-weave"] #sec-services .ak-service-card::before {
  background-image: radial-gradient(rgba(11, 25, 48, 0.1) 15%, transparent 16%), radial-gradient(rgba(11, 25, 48, 0.1) 15%, transparent 16%), linear-gradient(135deg, rgba(203, 213, 225, 0.4), rgba(241, 245, 249, 0.1));
}
html[data-theme="day"][data-texture="tex-hammered-gold"] #sec-services .ak-service-card::before {
  background-image: radial-gradient(ellipse at 30% 40%, rgba(234, 179, 8, 0.22), transparent 55%), radial-gradient(ellipse at 75% 70%, rgba(217, 119, 6, 0.18), transparent 58%);
}
html[data-theme="day"][data-texture="tex-blueprint"] #sec-services .ak-service-card::before {
  background-image: linear-gradient(rgba(3, 105, 161, 0.13) 1px, transparent 1px), linear-gradient(90deg, rgba(3, 105, 161, 0.13) 1px, transparent 1px);
  background-size: 22px 22px;
}
/* gold foil icon tile */
html[data-mix][data-theme][data-tryout-palette] body #sec-services .ak-service-card__icon,
#sec-services .ak-service-card__icon {
  background: linear-gradient(145deg, #FDE047 0%, #F59E0B 55%, #B45309 100%);
  border: 1px solid rgba(253, 224, 71, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 8px 18px -8px rgba(245, 158, 11, 0.7);
}
html[data-mix][data-theme][data-tryout-palette] body #sec-services .ak-service-card__icon svg,
#sec-services .ak-service-card__icon svg { stroke: #1A1203; }
#sec-services .ak-service-card__icon { flex: 0 0 auto; }
#sec-services .ak-service-link { align-self: flex-start; }
#sec-services .ak-service-card:is(:hover, :focus-visible) { transform: translateY(-4px); }
html[data-theme="day"] #sec-services .ak-service-link { color: #7C2D12; }
#sec-services .ak-service-card:focus-visible { outline: 2px solid var(--mx-hi, #FDE047); outline-offset: 3px; }

/* ---------- the ownership promise: five short lines ---------- */
html:not([data-theme="day"]) #sec-ownership .ak-ownership {
  background: linear-gradient(145deg, rgba(17, 26, 44, 0.92), rgba(10, 16, 29, 0.92));
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: inset 0 1px 0 rgba(253, 224, 71, 0.18);
}
@media (max-width: 767px) {
  #sec-services.ak-section { padding-top: 2.2rem; padding-bottom: 1.6rem; }
  #sec-services .ak-container > div:first-child { margin-bottom: 1rem !important; }
  #sec-services .ak-container > div:first-child h2 { font-size: 1.7rem !important; }
  #sec-services .ak-container .ak-grid-3 { gap: 0.65rem; }
  #sec-services .ak-service-card { padding: 0.8rem; gap: 0.55rem; border-radius: 14px; }
  #sec-services .ak-service-card__icon { width: 40px; height: 40px; border-radius: 10px; }
  #sec-services .ak-service-card__icon svg { width: 22px; height: 22px; }
  #sec-services .ak-service-card h3 { font-size: 1rem; margin: 0 0 0.25rem; line-height: 1.2; }
  #sec-services .ak-service-card .ak-plain-line { font-size: 0.78rem !important; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
  #sec-services .ak-service-link { font-size: 0.82rem; }
  #sec-ownership.ak-section { padding-top: 2.2rem; padding-bottom: 2rem; }
  #sec-ownership .ak-ownership { padding: 1.1rem; gap: 1rem; }
  #sec-ownership .ak-ownership h2 { font-size: 1.6rem !important; }
  /* phone: the promise is the heading, the key line and the five lines; the longer words stay in the page for readers and search, and show on a wide screen */
  #sec-ownership .ak-ownership > div:first-child > .ak-plain-line, #sec-ownership .ak-ownership-reassurance { display: none !important; }
  #sec-ownership .ak-ownership__list { gap: 0.4rem; }
  #sec-ownership .ak-ownership__list li { padding: 0.55rem 0.75rem; font-size: 0.92rem; gap: 0.65rem; }
  #sec-ownership .ak-ownership__list li::before { width: 1.6rem; height: 1.6rem; font-size: 0.78rem; }
}

/* ---------- the finder ---------- */
#akFinder { position: relative; border-color: rgba(245, 158, 11, 0.45); }
html:not([data-theme="day"]) #akFinder { background: linear-gradient(145deg, rgba(17, 26, 44, 0.94), rgba(10, 16, 29, 0.94)); box-shadow: inset 0 1px 0 rgba(253, 224, 71, 0.18), 0 18px 36px -22px rgba(0, 0, 0, 0.8); }
html[data-theme="day"] #akFinder { background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 253, 248, 0.9)); border-color: rgba(180, 83, 9, 0.4); box-shadow: inset 0 1px 0 #fff, 0 14px 30px -18px rgba(11, 25, 48, 0.28); }
#akFinder .ak-finder__q > strong span { display: inline-grid; place-items: center; width: 1.45rem; height: 1.45rem; border-radius: 50%; font-size: 0.78rem; font-weight: 800; color: #1A1203; background: linear-gradient(145deg, #FDE047, #F59E0B); margin-right: 0.5rem; }
#akFinder .ak-finder__start, #akFinder .ak-finder__bar { display: none; }
/* the price the finder points at */
.ak-finder-pick { position: relative; outline: 2px solid var(--mx-hi, #FDE047); outline-offset: 3px; box-shadow: 0 0 0 6px color-mix(in srgb, var(--mx-pri, #F59E0B) 22%, transparent), 0 18px 40px -16px color-mix(in srgb, var(--mx-pri, #F59E0B) 70%, transparent) !important; }
article.ak-finder-pick::before { content: "Best fit for most"; position: absolute; top: -0.7rem; left: 1rem; z-index: 3; padding: 0.15rem 0.6rem; border-radius: 99px; font: 700 0.68rem/1.3 var(--f-body, Inter, sans-serif); letter-spacing: 0.05em; text-transform: uppercase; color: #1A1203; background: linear-gradient(145deg, #FDE047, #F59E0B); }
tr.ak-finder-pick { outline-offset: -2px; background: color-mix(in srgb, var(--mx-pri, #F59E0B) 14%, transparent); }

/* phone: the finder is one button in the page; tapping it opens a bottom sheet, one question per view, its answer in the same view */
@media (max-width: 767px) {
  #akFinder:not(.is-sheet) .ak-finder__q, #akFinder:not(.is-sheet) .ak-finder__result { display: none !important; }
  #akFinder { padding: 1.1rem; margin-top: 0; }
  #akFinder h3, #akFinder h2 { font-size: 1.25rem; }
  #akFinder > p { margin-bottom: 0.8rem; font-size: 0.92rem; }
  #akFinder .ak-finder__start { display: inline-flex; width: 100%; justify-content: center; min-height: 48px; }
  #akFinder.is-sheet { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 1800; margin: 0; max-height: 88vh; max-height: 88dvh; overflow-y: auto; overscroll-behavior: contain;
    border-radius: 20px 20px 0 0; padding: 0.7rem 1rem calc(1rem + env(safe-area-inset-bottom)); box-shadow: 0 0 0 100vmax rgba(3, 6, 12, 0.66), 0 -18px 40px -12px rgba(0, 0, 0, 0.6); animation: akFinderUp 0.28s ease; }
  html:not([data-theme="day"]) #akFinder.is-sheet { background: #0b111d; }
  html[data-theme="day"] #akFinder.is-sheet { background: #fffdf8; }
  #akFinder.is-sheet:focus { outline: none; }
  #akFinder.is-sheet .ak-finder__bar { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.4rem; }
  #akFinder.is-sheet .ak-finder__step { font: 700 0.78rem/1 var(--f-body, Inter, sans-serif); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ak-text-muted); }
  #akFinder .ak-finder__back, #akFinder .ak-finder__close { appearance: none; min-width: 44px; min-height: 44px; padding: 0 0.6rem; border: 0; background: transparent; color: var(--ak-text-main); font: 600 0.95rem var(--f-body, Inter, sans-serif); cursor: pointer; }
  #akFinder .ak-finder__close { font-size: 1.7rem; line-height: 1; }
  #akFinder[data-step="1"] .ak-finder__back { visibility: hidden; }
  #akFinder.is-sheet > h3, #akFinder.is-sheet > h2 { font-size: 1.05rem; margin-bottom: 0.2rem; }
  #akFinder.is-sheet > p, #akFinder.is-sheet .ak-finder__start { display: none; }
  #akFinder.is-sheet .ak-finder__q { display: none; margin: 0.3rem 0 0; }
  #akFinder[data-step="1"] .ak-finder__q[data-key="have"], #akFinder[data-step="2"] .ak-finder__q[data-key="want"], #akFinder[data-step="3"] .ak-finder__q[data-key="media"] { display: block !important; }
  #akFinder.is-sheet .ak-finder__q > strong { font-size: 1.05rem; margin-bottom: 0.7rem; }
  #akFinder.is-sheet .ak-finder__opts { flex-direction: column; flex-wrap: nowrap; gap: 0.5rem; }
  #akFinder.is-sheet .ak-finder__opts button { width: 100%; min-height: 48px; text-align: left; border-radius: 12px; padding: 0.6rem 1rem; font-size: 0.98rem; }
  #akFinder.is-sheet .ak-finder__result { display: none !important; margin-top: 0.2rem; padding: 0.7rem; }
  #akFinder[data-step="r"] .ak-finder__result.is-showing { display: block !important; }
  #akFinder[data-step="r"] .ak-finder__q { display: none !important; }
  #akFinder.is-sheet .ak-finder__result .ak-grid-3 { display: grid; grid-template-columns: 1fr !important; gap: 0.45rem !important; margin: 0.4rem 0 !important; }
  #akFinder.is-sheet .ak-finder__result .ak-grid-3 > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 0.6rem; padding: 0.55rem 0.7rem !important; }
  #akFinder.is-sheet .ak-finder__result .ak-grid-3 > div small { grid-column: 1 / -1; }
  #akFinder.is-sheet .ak-finder__result h4 { font-size: 0.98rem !important; margin: 0 !important; }
  #akFinder.is-sheet .ak-finder__result .ak-grid-3 > div p { margin: 0 !important; font-weight: 700; color: var(--mx-hi, var(--p-citron)); white-space: nowrap; }
  #akFinder.is-sheet .ak-finder__result .ak-grid-3 > div .ak-button { grid-column: 1 / -1; margin-top: 0.3rem; min-height: 38px; padding: 0.25rem 0.8rem; font-size: 0.85rem; }
  #akFinder.is-sheet .ak-finder__actions { gap: 0.4rem; }
  #akFinder.is-sheet .ak-finder__actions .ak-button { flex: 1 1 100%; min-height: 44px; }
  #akFinder.is-sheet .ak-finder__note { display: none; }
}
@keyframes akFinderUp { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { #akFinder.is-sheet { animation: none !important; } }

/* CL-226: the missed-call unit (home and /automation/, one component). The play button is always AKAREC gold (never grey, in any state, Day or Night);
   the sources line is a small chip with an info icon that clearly opens. */
.akp-lift__play, .akp-lift__play:hover, .akp-lift__play:focus-visible, .akp-lift__play:active, #akqMissedBtn {
  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 50%, #B45309 100%) !important; color: #0B1220 !important; border-color: rgba(253, 224, 71, 0.7) !important; opacity: 1 !important; filter: none;
  box-shadow: 0 10px 24px -10px rgba(245, 158, 11, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.akp-lift__play:hover { filter: brightness(1.06); }
.akq-src-wrap { margin-top: 0.8rem; }
.akq-src-wrap > summary { list-style: none; display: inline-flex; align-items: center; gap: 0.45rem; min-height: 40px; padding: 0.3rem 0.8rem; border-radius: 999px; cursor: pointer; font: 600 0.85rem var(--f-body, Inter, sans-serif);
  color: var(--ak-amber, #F59E0B); border: 1px solid rgba(245, 158, 11, 0.45); background: rgba(245, 158, 11, 0.08); }
.akq-src-wrap > summary::-webkit-details-marker { display: none; }
.akq-src-wrap > summary:hover { background: rgba(245, 158, 11, 0.16); }
.akq-src-wrap > summary:focus-visible { outline: 2px solid var(--mx-hi, #FDE047); outline-offset: 2px; }
.akq-src__i { flex: 0 0 auto; }
.akq-src__tap { font-weight: 500; font-size: 0.75rem; opacity: 0.75; }
.akq-src-wrap[open] .akq-src__tap { display: none; }
html[data-theme="day"] .akq-src-wrap > summary { color: #7C2D12; border-color: rgba(180, 83, 9, 0.5); background: rgba(180, 83, 9, 0.07); }

/* CL-333 (Frank 2026-11-29): the four "What we do" tiles. No brown edge or beige weave in Day; a slight blue glow at rest (he drew it
   along the right and bottom edges); on hover they rise a little more and the glow grows. Night gets the same blue glow under its amber edge. */
#sec-services .ak-service-card { transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease; }
html[data-theme="night"] #sec-services .ak-service-card { box-shadow: inset 0 1px 0 rgba(253, 224, 71, 0.2), 0 16px 32px -20px rgba(0, 0, 0, 0.75), 7px 9px 26px -12px rgba(2, 132, 199, 0.55); }
html[data-theme="night"] #sec-services .ak-service-card:is(:hover, :focus-visible) { transform: translateY(-7px); box-shadow: inset 0 1px 0 rgba(253, 224, 71, 0.28), 0 26px 44px -22px rgba(0, 0, 0, 0.8), 9px 13px 40px -10px rgba(14, 165, 233, 0.75), 0 0 0 1px rgba(14, 165, 233, 0.45); }
html[data-theme="day"] main #sec-services .ak-service-card {
  background: linear-gradient(160deg, #FFFFFF 0%, #F7FBFF 100%) !important;
  border: 1px solid rgba(2, 132, 199, 0.26) !important;
  box-shadow: inset 0 1px 0 #fff, 0 12px 26px -18px rgba(11, 25, 48, 0.3), 7px 9px 24px -12px rgba(2, 132, 199, 0.5) !important;
}
html[data-theme="day"] main #sec-services .ak-service-card:is(:hover, :focus-visible) {
  transform: translateY(-7px); border-color: rgba(2, 132, 199, 0.6) !important;
  box-shadow: inset 0 1px 0 #fff, 0 24px 40px -22px rgba(11, 25, 48, 0.36), 9px 13px 38px -10px rgba(2, 132, 199, 0.72), 0 0 0 1px rgba(2, 132, 199, 0.3) !important;
}
html[data-theme="day"]:not([data-texture]) #sec-services .ak-service-card::before { background-image: linear-gradient(135deg, rgba(2, 132, 199, 0.05), transparent 45%, rgba(245, 158, 11, 0.06)); }
html[data-theme="day"] #sec-services .ak-service-link { color: #0369A1; }
@media (prefers-reduced-motion: reduce) { #sec-services .ak-service-card { transition: none; } html[data-theme] main #sec-services .ak-service-card:is(:hover, :focus-visible) { transform: none; } }


/* CL-227 (home card 9): "Book a Discovery Call" in the AKAREC look. Frank: "needs to be designed AKAREC style please".
   Button (header, desktop + phone): the one gold button, soft glow in the visitor's mix, a thin light sweep on hover.
   Sheet (#discoveryModal): Night = brushed obsidian panel + gold hairline; Day = ivory/linen panel + blueprint hairline header.
   Phone (under 640 px) = a bottom sheet: header stays on top, every field scrolls, the gold send button stays pinned at the bottom.
   The same button rules are copied in assets/css/akarec-pages.css (the built pages' header). No field, option or handler changed. */

/* ---------- the button ---------- */
header.site-header .nav-cta, .akp-actions .nav-cta {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 10px;
  letter-spacing: 0.01em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -2px 0 rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(245, 158, 11, 0.35),
    0 10px 28px -8px color-mix(in srgb, var(--mx-pri, var(--ak-amber, #F59E0B)) 78%, transparent);
}
header.site-header .nav-cta::before, .akp-actions .nav-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.5) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform 0.6s ease;
}
header.site-header .nav-cta:hover::before, .akp-actions .nav-cta:hover::before { transform: translateX(120%); }
@media (prefers-reduced-motion: reduce) { header.site-header .nav-cta::before, .akp-actions .nav-cta::before { display: none; } }

/* ---------- the sheet ---------- */
#discoveryModal .bk-sheet {
  position: relative; padding: 0; max-width: 700px; border-radius: 18px; overflow-x: hidden;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.022) 0, rgba(255, 255, 255, 0.022) 1px, transparent 1px, transparent 3px),
    linear-gradient(160deg, #0f1a2e 0%, var(--p-obsidian, #060A12) 100%);
  border: 1px solid rgba(245, 158, 11, 0.5);
  box-shadow: inset 0 1px 0 rgba(253, 224, 71, 0.22), 0 30px 80px rgba(0, 0, 0, 0.85), 0 0 60px -20px rgba(245, 158, 11, 0.35);
}
#discoveryModal .bk-head {
  position: sticky; top: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.4rem 1.75rem 1.1rem; margin: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 3px),
    linear-gradient(180deg, #16233b 0%, #0b1424 100%);
  border-bottom: 1px solid rgba(245, 158, 11, 0.55);
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.9);
}
#discoveryModal .bk-head .ak-eyebrow { margin: 0 0 0.25rem; color: var(--p-amber, #F59E0B); }
#discoveryModal .bk-head h3 { margin: 0; font-family: var(--f-head); font-size: 1.5rem; line-height: 1.15; color: var(--p-linen, #FAF8F5); }
#discoveryModal .bk-close { flex: none; }
#discoveryModal .bk-form { padding: 1.4rem 1.75rem 1.5rem; }
#discoveryModal .bk-form .ak-input {
  background: rgba(6, 10, 18, 0.72); border: 1px solid rgba(148, 163, 184, 0.3); border-radius: 10px;
  color: var(--p-linen, #FAF8F5); font-family: var(--f-body);
}
#discoveryModal .bk-form .ak-input:focus { outline: none; border-color: var(--p-amber, #F59E0B); box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25); }
#discoveryModal .bk-form fieldset.ak-consent { border: 1px solid rgba(245, 158, 11, 0.28); border-radius: 12px; background: rgba(6, 10, 18, 0.45); }
#discoveryModal .bk-form fieldset.ak-consent legend { color: var(--p-amber-light, #FCD34D); font-family: var(--f-head); }
#discoveryModal .bk-form button[type="submit"] {
  position: sticky; bottom: 0.75rem; z-index: 2; margin-top: 1rem; min-height: 52px; border-radius: 12px;
  font-family: var(--f-head); font-weight: 800; letter-spacing: 0.01em;
  background: linear-gradient(180deg, var(--p-amber-light, #FCD34D) 0%, var(--p-amber, #F59E0B) 46%, var(--p-amber-deep, #D97706) 100%) !important;
  color: var(--p-navy, #0B1324) !important; border: 1px solid rgba(253, 224, 71, 0.85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 12px 28px -8px rgba(245, 158, 11, 0.7), 0 0 0 6px rgba(6, 10, 18, 0.85);
}
#discoveryModal .bk-trust {
  margin: 0.9rem 0 0.15rem; text-align: center; font-size: 0.9rem; line-height: 1.45; color: var(--p-slate-300, #CBD5E1);
}
#discoveryModal .bk-trust::before { content: "◆"; color: var(--p-amber, #F59E0B); margin-right: 0.5rem; font-size: 0.7em; vertical-align: 0.1em; }
#discoveryModal .refund-micro { display: block; text-align: center; color: var(--p-slate-350, #A3B0C2); }
#discoveryModal .ak-lead-status { text-align: center; }

/* ---------- Day ---------- */
html[data-theme="day"] #discoveryModal .bk-sheet {
  background:
    linear-gradient(rgba(2, 132, 199, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(2, 132, 199, 0.06) 1px, transparent 1px),
    linear-gradient(160deg, #fffdf8 0%, var(--p-ivory, #F5F1E9) 100%);
  background-size: 28px 28px, 28px 28px, auto;
  border: 1px solid rgba(180, 83, 9, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 30px 70px -20px rgba(11, 25, 48, 0.45), 0 0 50px -24px rgba(245, 158, 11, 0.5);
}
html[data-theme="day"] #discoveryModal .bk-head {
  background:
    linear-gradient(rgba(2, 132, 199, 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(2, 132, 199, 0.12) 1px, transparent 1px),
    linear-gradient(180deg, #fffdf8 0%, #f1ebe0 100%);
  background-size: 18px 18px, 18px 18px, auto;
  border-bottom: 1px solid rgba(2, 132, 199, 0.4);
  box-shadow: 0 10px 22px -16px rgba(11, 25, 48, 0.4);
}
html[data-theme="day"] #discoveryModal .bk-head .ak-eyebrow { color: var(--p-blue-deep, #0369A1); }
html[data-theme="day"] #discoveryModal .bk-head h3 { color: var(--p-ink, #0B1930); }
html[data-theme="day"] #discoveryModal .bk-form .ak-input { background: #fffefb; border: 1px solid rgba(11, 25, 48, 0.22); color: var(--p-ink, #0B1930); }
html[data-theme="day"] #discoveryModal .bk-form .ak-input:focus { border-color: var(--p-amber-deep, #D97706); box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.28); }
html[data-theme="day"] #discoveryModal .bk-form fieldset.ak-consent { background: rgba(255, 253, 248, 0.8); border-color: rgba(180, 83, 9, 0.35); }
html[data-theme="day"] #discoveryModal .bk-form fieldset.ak-consent legend { color: var(--p-gold, #B45309); }
html[data-theme="day"] #discoveryModal .bk-form button[type="submit"] { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 12px 26px -8px rgba(217, 119, 6, 0.6), 0 0 0 6px rgba(245, 241, 233, 0.92); }
html[data-theme="day"] #discoveryModal .bk-trust { color: var(--p-slate-600, #46506A); }
html[data-theme="day"] #discoveryModal .bk-trust::before { color: var(--p-gold, #B45309); }
html[data-theme="day"] #discoveryModal .refund-micro { color: var(--p-slate-600, #46506A); }

/* ---------- phone: a bottom sheet ---------- */
@media (max-width: 640px) {
  #discoveryModal.modal-backdrop { padding: 0; align-items: flex-end; }
  #discoveryModal .bk-sheet { max-width: none; width: 100%; max-height: 94dvh; border-radius: 20px 20px 0 0; border-bottom: 0; }
  #discoveryModal .bk-head { padding: 1rem 1.1rem 0.8rem; }
  #discoveryModal .bk-head h3 { font-size: 1.2rem; }
  #discoveryModal .bk-form { padding: 1rem 1.1rem 0.4rem; }
  #discoveryModal .bk-form .ak-grid-2 { grid-template-columns: 1fr !important; gap: 0.55rem !important; }
  #discoveryModal .bk-form .ak-input { min-height: 46px; padding-top: 0.55rem; padding-bottom: 0.55rem; }
  #discoveryModal .bk-form textarea.ak-input { min-height: 72px; }
  #discoveryModal .bk-form button[type="submit"] { bottom: 0.4rem; }
  #discoveryModal .bk-form .refund-micro { padding-bottom: 0.9rem; }
}

/* ---------- FAQ on phone (CL-227): 6 questions, one open at a time (the 5 others stay in the page and show on wide screens) ---------- */
@media (max-width: 767px) {
  #sec-faq .ak-faq__item--more { display: none; }
  #sec-faq .ak-faq { gap: 0.55rem; }
  #sec-faq .ak-faq__item summary { min-height: 52px; padding: 0.85rem 0; align-items: center; font-size: 1rem; }
  #sec-faq .ak-faq__item[open] { border-color: rgba(245, 158, 11, 0.55); }
}
/* CL-346: the booking Close button is at least 44 px (it was 26 px) */
#discoveryModal .bk-close { min-height: 44px; }
@media (max-width: 640px) { #discoveryModal .bk-head { padding: 0.6rem 1rem 0.5rem; } #discoveryModal .bk-head h3 { font-size: 1.05rem; } #discoveryModal .bk-head .ak-eyebrow { display: none; } }
/* CL-229 (home card 10): even uplift. One scale, one rhythm, one primary button (gold), one card shape, Day + Night finished on every section.
   Nothing here changes a word, price or offer. It only evens out values that earlier cards set one section at a time.
   Opening (#sec-hero) keeps its own larger heading. AKA Grade's phone heading stays a thin banner (card 7). */

/* ---------- heading scale: every section H2 below the opening ---------- */
@media (min-width: 768px) {
  :is(#sec-cocreation, #sec-grade, #sec-automation, #sec-websites, #sec-industries, #sec-quote, #sec-services, #sec-ownership, #sec-pricing, #sec-faq) h2:not(.fcar-win-headline) {
    font-size: clamp(2rem, 3.6vw, 3rem) !important;
    font-weight: 800;
    line-height: 1.15;
    margin: 0.35rem 0 0.7rem;
  }
  #sec-grade .agp-copy h2 { font-size: clamp(1.8rem, 3vw, 2.5rem) !important; } /* shares its row with the pin, one step down so it never wraps to 4 lines */
}
/* the support line under it sits 0.7 rem below (some sections had their own top margin on top of that) */
:is(#sec-services, #sec-ownership, #sec-faq, #sec-pricing, #sec-grade) h2 + .ak-plain-line,
#sec-services .ak-container > div:first-child > .ak-plain-line,
#sec-ownership .ak-ownership > .ak-plain-line { margin-top: 0 !important; }
/* the eyebrow above it: one size, one gap */
main section.ak-section :is(.ak-container, .agp-copy) > .ak-eyebrow,
main section.ak-section :is(.ak-container, .agp-copy) > div > .ak-eyebrow { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; margin-bottom: 0.4rem; }

/* ---------- one primary button: gold ---------- */
/* AKA Grade and the AKA Roof offer used the sky-blue variant; the primary is gold everywhere (Frank 2026-11-24) */
:is(#sec-grade, #sec-industries) .ak-button--lerp {
  background: linear-gradient(135deg, #F9C163 0%, #F59E0B 48%, #D97706 100%) !important;
  color: #060A12 !important; border-color: #F9C163 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -2px 0 rgba(0, 0, 0, 0.16), 0 8px 22px -8px rgba(245, 158, 11, 0.55);
}
:is(#sec-grade, #sec-industries) .ak-button--lerp:hover { filter: brightness(1.06); }
/* the price buttons keep their two-line shape but share the same corner radius as every other button */
#sec-pricing .ak-button.ak-reserve { border-radius: 10px; }

/* ---------- one card shape: 14 px corners ---------- */
#sec-services .ak-service-card, #sec-quote .akq-missed, #sec-automation .akq-missed, #sec-ownership .ak-ownership-card { border-radius: 14px; }

/* ---------- Night: every section below the opening gets the same brushed-obsidian grain and a gold hairline on top ---------- */
html[data-theme="night"] :is(#sec-cocreation, #sec-grade, #sec-automation, #sec-websites, #sec-industries, #sec-services, #sec-ownership, #sec-finder, #sec-faq) {
  background-image:
    linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.38) 50%, transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0, rgba(255, 255, 255, 0.018) 1px, transparent 1px, transparent 4px);
  background-size: 100% 1px, auto;
  background-repeat: no-repeat, repeat;
  background-position: top center, 0 0;
}
html[data-theme="night"] #sec-pricing { box-shadow: inset 0 1px 0 rgba(245, 158, 11, 0.3); }

/* ---------- Day: the quote section was the one without a pattern; same Architectural Linen as its neighbor, Industries ---------- */
html[data-theme="day"] :is(#sec-automation, #sec-websites) { isolation: isolate; }
html[data-theme="day"] :is(#sec-automation, #sec-websites)::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(60, 40, 10, 0.05) 0, rgba(60, 40, 10, 0.05) 1px, transparent 1px, transparent 4px),
    repeating-linear-gradient(90deg, rgba(60, 40, 10, 0.05) 0, rgba(60, 40, 10, 0.05) 1px, transparent 1px, transparent 4px),
    linear-gradient(180deg, rgba(2, 132, 199, 0.07), rgba(255, 253, 248, 0.75) 35%, rgba(255, 253, 248, 0.65));
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}

/* ---------- phone (under 768 px): one heading size, one section rhythm ---------- */
@media (max-width: 767px) {
  :is(#sec-cocreation, #sec-automation, #sec-websites, #sec-industries, #sec-quote, #sec-services, #sec-ownership, #sec-pricing, #sec-faq) :is(.ak-container) h2:not(.fcar-win-headline),
  #sec-pricing .ak-shelves__head h2 { font-size: 1.85rem !important; line-height: 1.15; margin: 0.35rem 0 0.7rem; }
  #sec-services .ak-container > div:first-child h2, #sec-ownership .ak-ownership h2 { font-size: 1.85rem !important; }
  :is(#sec-cocreation, #sec-automation, #sec-websites, #sec-industries, #sec-faq, #sec-pricing).ak-section { padding-top: 3rem; padding-bottom: 3rem; }
  /* the first Reserve buttons used to rest under the dock when someone lands on Pricing: the gaps between the heading, the founding-client pill and the first shelf are tighter */
  #sec-pricing .ak-shelves__head h2 { margin-bottom: 0.3rem; }
  #sec-pricing .ak-shelves__pill { margin-top: 0.2rem; }
  #sec-pricing .ak-shelves__head { margin-bottom: 0.7rem; }
}

/* ---------- desktop nav: "Pricing" sits on the same line as the items next to it (the ones with sub-labels) ---------- */
@media (min-width: 1100px) {
  header.site-header .header-nav > a.nav-link:not(.nav-entry) { min-height: 0 !important; height: 39px; align-self: center; display: inline-flex; align-items: center; }
}

/* the eyebrow over the grade form was sky blue in Night; every other eyebrow is gold */
html[data-theme="night"] #sec-grade .agp-copy .ak-eyebrow { color: var(--ak-amber) !important; }

/* phone: a field that takes focus (or is scrolled to) stops above the bottom dock, never under it */
@media (max-width: 767px) {
  main :is(input, select, textarea) { scroll-margin-bottom: 110px; }
}

/* CL-230: at a section's landing on phone, no control starts inside the 64 px bottom dock zone. A few sections land a little lower or higher
   (--land-extra, read by scripts/19 and 35) so the first control under the fold (grade checkboxes, quote ZIP, the logo tiles) sits clear of the dock;
   values picked by scanning the landing at 390x844 and 360x780. */
@media (max-width: 767px) {
  #sec-quote { --land-extra: 33px; }   /* CL-252: the Any industry tab panel inside #sec-industries */
  #sec-cocreation { --land-extra: 18px; }
}
@media (max-width: 374px) {
  #sec-grade { --land-extra: 30px; }
  #sec-cocreation { --land-extra: 6px; }
}
/* CL-234: the opening's DEFAULT look (no visitor mix) is AKAREC's own: Gallery White panel in Day, Obsidian in Night, gold only as an accent.
   Cause of the "yellow hero" Frank saw on his iPhone: the Day panel (22-akarec-v3-launch) and the Day section glow (49-day-backgrounds)
   washed the opening with --mx-hi, which is Citron (#FDE047) in the default mix, plus a 26% amber corner glow. A visitor's own mix
   (any data-mix other than the default) keeps the tint exactly as before. */
html[data-theme="day"][data-mix="AKAREC Signature"] #heroStageSurface,
html[data-theme="day"][data-tryout-palette][data-mix="AKAREC Signature"] #heroStageSurface {
  background-color: var(--p-linen) !important;
  background-image:
    radial-gradient(circle at 16% 82%, rgba(2, 132, 199, 0.07) 0%, transparent 58%),
    linear-gradient(180deg, var(--p-white) 0%, var(--p-linen) 100%) !important;
  border: 1.5px solid rgba(11, 25, 48, 0.14) !important;
  box-shadow: 0 22px 52px -20px rgba(11, 25, 48, 0.16), inset 0 1px 0 var(--p-white) !important;
}
/* the section's corner glow: blue only, no amber, in the default mix */
html[data-theme="day"][data-mix="AKAREC Signature"] #sec-hero::before {
  background-image:
    radial-gradient(ellipse 55% 38% at 0% 0%, rgba(2, 132, 199, 0.14), transparent 74%),
    linear-gradient(rgba(2, 132, 199, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 132, 199, 0.2) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
}
/* the page wash behind the opening: Citron and amber glows become a quiet blue-white pearl in the default mix (a chosen mix still tints) */
html[data-theme="day"][data-mix="AKAREC Signature"] body,
html[data-theme="day"][data-tryout-palette][data-mix="AKAREC Signature"] body {
  background-image:
    radial-gradient(ellipse 65% 42% at 88% 8%, rgba(2, 132, 199, 0.07) 0%, transparent 68%),
    radial-gradient(ellipse 60% 48% at 10% 26%, rgba(2, 132, 199, 0.10) 0%, transparent 68%),
    radial-gradient(ellipse 58% 46% at 86% 58%, rgba(16, 185, 129, 0.08) 0%, transparent 66%),
    radial-gradient(ellipse 64% 48% at 18% 88%, rgba(2, 132, 199, 0.07) 0%, transparent 70%),
    linear-gradient(180deg, var(--p-white) 0%, #F4F8FC 34%, #FAF8F5 68%, #F4F8FA 100%) !important;
}
/* CL-235: the "Not sure where to start?" finder in the site's own language (Frank: "ive never liked how the uploaded section has looked... make it more like the rest of the site").
   Same words, same logic (js/tools/akarec-finder.js untouched). Look = the CL-226 tiles: textured panel (brushed obsidian in Night, linen in Day) + a gold hairline;
   desktop = the three questions as three cards side by side, each answer a selectable card (radio dot, a gold edge + tint when chosen) instead of an outlined pill;
   the answer = three price cards with the middle one highlighted like a price card. Phone keeps the bottom sheet, one question per view; its answers are the same selectable cards.
   Every rule starts at #akFinder, so tool-styles/build.mjs copies them to /pricing/. */

/* ---------- the panel ---------- */
#akFinder { position: relative; isolation: isolate; border-radius: 18px; border: 1px solid rgba(245, 158, 11, 0.4); overflow: hidden; }
#akFinder > * { position: relative; z-index: 1; }
#akFinder::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.032) 0, rgba(255, 255, 255, 0.032) 1px, transparent 1px, transparent 3px),
    linear-gradient(115deg, rgba(255, 255, 255, 0.05) 0%, transparent 38%, transparent 62%, rgba(245, 158, 11, 0.06) 100%); }
html[data-theme="day"] #akFinder::before { background-image:
    repeating-linear-gradient(0deg, rgba(60, 40, 10, 0.05) 0, rgba(60, 40, 10, 0.05) 1px, transparent 1px, transparent 4px),
    repeating-linear-gradient(90deg, rgba(60, 40, 10, 0.05) 0, rgba(60, 40, 10, 0.05) 1px, transparent 1px, transparent 4px),
    linear-gradient(135deg, rgba(234, 224, 205, 0.45), rgba(245, 241, 233, 0.08)); }
#akFinder > h3, #akFinder > h2 { font-weight: 800; letter-spacing: -0.01em; }

/* ---------- the answers: selectable cards ---------- */
#akFinder .ak-finder__opts { display: flex; flex-direction: column; flex-wrap: nowrap; gap: 0.5rem; }
#akFinder .ak-finder__opts button {
  position: relative; width: 100%; min-height: 46px; text-align: left; border-radius: 12px; padding: 0.6rem 0.9rem 0.6rem 2.55rem;
  font: 600 0.93rem/1.3 var(--f-body, Inter, sans-serif); color: var(--ak-text-main);
  background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
html[data-theme="day"] #akFinder .ak-finder__opts button { background: rgba(255, 255, 255, 0.92); border-color: rgba(11, 25, 48, 0.16); color: var(--p-ink); }
#akFinder .ak-finder__opts button::before { content: ""; position: absolute; left: 0.9rem; top: 50%; width: 1.05rem; height: 1.05rem; margin-top: -0.525rem; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.4); background: transparent; box-sizing: border-box; transition: all 0.18s ease; }
html[data-theme="day"] #akFinder .ak-finder__opts button::before { border-color: rgba(11, 25, 48, 0.4); }
#akFinder .ak-finder__opts button:hover { transform: translateY(-1px); border-color: rgba(245, 158, 11, 0.7); }
html #akFinder .ak-finder__opts button[aria-pressed="true"] {
  background: color-mix(in srgb, var(--mx-pri, var(--p-amber)) 16%, transparent) !important; color: var(--ak-text-main) !important;
  border-color: var(--mx-pri, var(--p-amber)) !important; box-shadow: inset 0 0 0 1px var(--mx-pri, var(--p-amber)), 0 8px 18px -12px var(--mx-pri, var(--p-amber)) !important; }
html[data-theme="day"] #akFinder .ak-finder__opts button[aria-pressed="true"] { color: var(--p-ink) !important; background: color-mix(in srgb, var(--mx-pri, var(--p-amber)) 14%, var(--p-white)) !important; border-color: var(--p-gold) !important; box-shadow: inset 0 0 0 1px var(--p-gold), 0 8px 18px -12px var(--p-gold) !important; }
#akFinder .ak-finder__opts button[aria-pressed="true"]::before { border-color: var(--mx-pri, var(--p-amber)); background: radial-gradient(circle, var(--mx-pri, var(--p-amber)) 0 38%, transparent 42%); }
html[data-theme="day"] #akFinder .ak-finder__opts button[aria-pressed="true"]::before { border-color: var(--p-gold); background: radial-gradient(circle, var(--p-gold) 0 38%, transparent 42%); }
#akFinder .ak-finder__opts button:focus-visible { outline: 2px solid var(--p-citron); outline-offset: 2px; }

/* ---------- desktop: three question cards in a row, the answer under them ---------- */
@media (min-width: 768px) {
  #akFinder { padding: 1.7rem 1.7rem 1.5rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: start; }
  #akFinder > h3, #akFinder > h2, #akFinder > p, #akFinder > .ak-finder__result { grid-column: 1 / -1; }
  #akFinder > h3, #akFinder > h2 { margin: 0; font-size: 1.6rem; }
  #akFinder > p { margin: -0.4rem 0 0.2rem; max-width: 46rem; }
  #akFinder .ak-finder__q { margin: 0; padding: 1rem 1rem 1.05rem; border-radius: 14px; border: 1px solid rgba(245, 158, 11, 0.28);
    background: linear-gradient(145deg, rgba(17, 26, 44, 0.7), rgba(10, 16, 29, 0.7)); box-shadow: inset 0 1px 0 rgba(253, 224, 71, 0.12); }
  html[data-theme="day"] #akFinder .ak-finder__q { background: linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 253, 248, 0.6)); border-color: rgba(180, 83, 9, 0.28); box-shadow: inset 0 1px 0 #fff; }
  #akFinder .ak-finder__q > strong { display: flex; align-items: flex-start; gap: 0.1rem; margin-bottom: 0.8rem; font-size: 1rem; line-height: 1.3; min-height: 2.6em; }
  #akFinder .ak-finder__q > strong span { flex: none; margin-top: 0.05rem; }
}

/* ---------- the answer: three price cards, the middle one highlighted ---------- */
#akFinder .ak-finder__result { border: 1px solid rgba(245, 158, 11, 0.4); background: rgba(245, 158, 11, 0.05); border-radius: 14px; padding: 1.1rem 1.1rem 1rem; }
html[data-theme="day"] #akFinder .ak-finder__result { background: rgba(255, 255, 255, 0.6); border-color: rgba(180, 83, 9, 0.35); }
#akFinder .ak-finder__result > small { color: var(--mx-pri, var(--p-amber)); letter-spacing: 0.08em; }
html[data-theme="day"] #akFinder .ak-finder__result > small { color: var(--p-gold); }
#akFinder .ak-finder__result .ak-grid-3 > div { position: relative; border-radius: 14px !important; padding: 1rem !important; display: flex; flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.16) !important; background: linear-gradient(145deg, #111a2c 0%, #0a101d 100%); box-shadow: inset 0 1px 0 rgba(253, 224, 71, 0.12); }
html[data-theme="day"] #akFinder .ak-finder__result .ak-grid-3 > div { background: linear-gradient(145deg, #fff 0%, #FFFDF8 100%); border-color: rgba(11, 25, 48, 0.16) !important; box-shadow: inset 0 1px 0 #fff, 0 10px 22px -16px rgba(11, 25, 48, 0.3); }
#akFinder .ak-finder__result .ak-grid-3 > div > small { color: var(--ak-text-muted); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
#akFinder .ak-finder__result .ak-grid-3 > div > p { font-weight: 800; font-size: 1.15rem; color: var(--mx-hi, var(--p-citron)); margin: 0 0 0.7rem !important; }
html[data-theme="day"] #akFinder .ak-finder__result .ak-grid-3 > div > p { color: var(--p-gold); }
#akFinder .ak-finder__result .ak-grid-3 > div > .ak-button { margin-top: auto; }
/* the best-fit card, like the price cards' "Best fit for most" */
#akFinder .ak-finder__result .ak-grid-3 > div:nth-child(2) { border: 2px solid var(--mx-pri, var(--p-amber)) !important; box-shadow: 0 0 0 5px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 18%, transparent), 0 16px 34px -18px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 70%, transparent); }
html[data-theme="day"] #akFinder .ak-finder__result .ak-grid-3 > div:nth-child(2) { border-color: var(--p-gold) !important; }
#akFinder .ak-finder__result .ak-grid-3 > div:nth-child(2) > small { align-self: flex-start; padding: 0.12rem 0.6rem; border-radius: 99px; color: #1A1203; background: linear-gradient(145deg, var(--p-citron), var(--p-amber)); margin-bottom: 0.15rem; }
/* phone sheet: the sheet's own button rule is more specific, so the radio room and the badge width are restated here */
#akFinder.is-sheet .ak-finder__opts button { padding: 0.6rem 1rem 0.6rem 2.55rem; }
#akFinder .ak-finder__result .ak-grid-3 > div:nth-child(2) > small { justify-self: start; width: fit-content; }
/* Day phone: the section's pattern layer made the section its own stacking context, which trapped the open sheet BEHIND the Prices section (the sheet never showed in Day).
   While the sheet is open the section stops isolating, so the sheet sits over the page as it does in Night. */
@media (max-width: 767px) {
  html[data-theme="day"] #sec-finder:has(#akFinder.is-sheet) { isolation: auto; }
}
/* ==== CL-237 button tiers (first try; tokens in tokens.css "BUTTON HIERARCHY"; source: home/styles/59-button-tiers.css, copied into assets/css/akarec-pages.css) ====
   GOLD (unchanged .ak-button): hero main button, header + page "Book a call", top-tier (Signature / Large) package. Everything below steps down:
   Small = outline with the brand-blue edge; Medium = solid brand blue; secondary = neutral outline. Position in a price row decides the tier (first = Small, last = Large). */

/* Medium: solid brand blue, white text (CL-246: every pillar ladder, .ak-pillar .bs-tiers, the same as #bsOffers; its first and top cards override this in akarec-pillar.css) */
html body:not(#ak-x) .ak-shelf__row > .ak-pcard:not(:first-of-type):not(:last-of-type) .ak-reserve:not(.is-quiet),
html body:not(#ak-x) #bsOffers .ak-button,
html body:not(#ak-x) .ak-pillar .bs-tiers .ak-button,
html body:not(#ak-x) :is(#sec-grade, #sec-industries, #sec-quote) .ak-button--lerp,
html body:not(#ak-x) .ak-grade-host .ak-button--lerp,
html body:not(#ak-x) #indPocketActions .ind-pkg:not(:first-child),
html body:not(#ak-x) #anyQuoteCard .any-offer .ak-button,
html body:not(#ak-x) #indPanelContainer .ak-button:not(.ind-pkg),
html body:not(#ak-x) .akq-actions .ak-button,
html body:not(#ak-x) .ak-ind-host .ak-button,
html body:not(#ak-x) .lfg-tier:nth-child(2) .lfg-btn,
html body:not(#ak-x) .lfg-tier:nth-child(3) .lfg-btn,
html body:not(#ak-x) .arp-cta,
html body:not(#ak-x) #akFinder .ak-finder__result .ak-grid-3 > div:nth-child(2) .ak-button,
html body:not(#ak-x) #akFinder .ak-finder__result .ak-finder__actions [data-pick] {
  background: var(--btn-blue-fill) !important; color: var(--btn-blue-ink) !important; border: 1.5px solid var(--btn-blue) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 20px -10px color-mix(in srgb, var(--btn-blue) 80%, transparent) !important;
}
html body:not(#ak-x) .ak-shelf__row > .ak-pcard:not(:first-of-type):not(:last-of-type) .ak-reserve:not(.is-quiet):hover,
html body:not(#ak-x) #bsOffers .ak-button:hover,
html body:not(#ak-x) .ak-pillar .bs-tiers .ak-button:hover,
html body:not(#ak-x) :is(#sec-grade, #sec-industries, #sec-quote) .ak-button--lerp:hover,
html body:not(#ak-x) .ak-grade-host .ak-button--lerp:hover,
html body:not(#ak-x) #indPocketActions .ind-pkg:not(:first-child):hover,
html body:not(#ak-x) #anyQuoteCard .any-offer .ak-button:hover,
html body:not(#ak-x) #indPanelContainer .ak-button:not(.ind-pkg):hover,
html body:not(#ak-x) .akq-actions .ak-button:hover,
html body:not(#ak-x) .ak-ind-host .ak-button:hover,
html body:not(#ak-x) .lfg-tier:nth-child(2) .lfg-btn:hover,
html body:not(#ak-x) .lfg-tier:nth-child(3) .lfg-btn:hover,
html body:not(#ak-x) .arp-cta:hover,
html body:not(#ak-x) #akFinder .ak-finder__result .ak-grid-3 > div:nth-child(2) .ak-button:hover,
html body:not(#ak-x) #akFinder .ak-finder__result .ak-finder__actions [data-pick]:hover { filter: brightness(1.12); }
html body:not(#ak-x) .ak-shelf__row > .ak-pcard:not(:first-of-type):not(:last-of-type) .ak-reserve:not(.is-quiet) :is(small, b, span),
html body:not(#ak-x) #bsOffers .ak-button :is(small, b, span),
html body:not(#ak-x) .ak-pillar .bs-tiers .ak-button :is(small, b, span),
html body:not(#ak-x) :is(#sec-grade, #sec-industries, #sec-quote) .ak-button--lerp :is(small, b, span),
html body:not(#ak-x) .ak-grade-host .ak-button--lerp :is(small, b, span),
html body:not(#ak-x) #indPocketActions .ind-pkg:not(:first-child) :is(small, b, span),
html body:not(#ak-x) #anyQuoteCard .any-offer .ak-button :is(small, b, span),
html body:not(#ak-x) #indPanelContainer .ak-button:not(.ind-pkg) :is(small, b, span),
html body:not(#ak-x) .akq-actions .ak-button :is(small, b, span),
html body:not(#ak-x) .ak-ind-host .ak-button :is(small, b, span),
html body:not(#ak-x) .lfg-tier:nth-child(2) .lfg-btn :is(small, b, span),
html body:not(#ak-x) .lfg-tier:nth-child(3) .lfg-btn :is(small, b, span),
html body:not(#ak-x) .arp-cta :is(small, b, span),
html body:not(#ak-x) #akFinder .ak-finder__result .ak-grid-3 > div:nth-child(2) .ak-button :is(small, b, span),
html body:not(#ak-x) #akFinder .ak-finder__result .ak-finder__actions [data-pick] :is(small, b, span) { color: inherit !important; opacity: 1 !important; }
html body:not(#ak-x) .ak-shelf__row > .ak-pcard:not(:first-of-type):not(:last-of-type) .ak-reserve:not(.is-quiet) .ak-reserve__price,
html body:not(#ak-x) #bsOffers .ak-button .ak-reserve__price,
html body:not(#ak-x) .ak-pillar .bs-tiers .ak-button .ak-reserve__price,
html body:not(#ak-x) :is(#sec-grade, #sec-industries, #sec-quote) .ak-button--lerp .ak-reserve__price,
html body:not(#ak-x) .ak-grade-host .ak-button--lerp .ak-reserve__price,
html body:not(#ak-x) #indPocketActions .ind-pkg:not(:first-child) .ak-reserve__price,
html body:not(#ak-x) #anyQuoteCard .any-offer .ak-button .ak-reserve__price,
html body:not(#ak-x) #indPanelContainer .ak-button:not(.ind-pkg) .ak-reserve__price,
html body:not(#ak-x) .akq-actions .ak-button .ak-reserve__price,
html body:not(#ak-x) .ak-ind-host .ak-button .ak-reserve__price,
html body:not(#ak-x) .lfg-tier:nth-child(2) .lfg-btn .ak-reserve__price,
html body:not(#ak-x) .lfg-tier:nth-child(3) .lfg-btn .ak-reserve__price,
html body:not(#ak-x) .arp-cta .ak-reserve__price,
html body:not(#ak-x) #akFinder .ak-finder__result .ak-grid-3 > div:nth-child(2) .ak-button .ak-reserve__price,
html body:not(#ak-x) #akFinder .ak-finder__result .ak-finder__actions [data-pick] .ak-reserve__price { background: rgba(2, 20, 40, 0.38) !important; }
html body:not(#ak-x) .ak-shelf__row > .ak-pcard:not(:first-of-type):not(:last-of-type) .ak-reserve:not(.is-quiet) .ak-reserve__sheen,
html body:not(#ak-x) #bsOffers .ak-button .ak-reserve__sheen,
html body:not(#ak-x) .ak-pillar .bs-tiers .ak-button .ak-reserve__sheen,
html body:not(#ak-x) :is(#sec-grade, #sec-industries, #sec-quote) .ak-button--lerp .ak-reserve__sheen,
html body:not(#ak-x) .ak-grade-host .ak-button--lerp .ak-reserve__sheen,
html body:not(#ak-x) #indPocketActions .ind-pkg:not(:first-child) .ak-reserve__sheen,
html body:not(#ak-x) #anyQuoteCard .any-offer .ak-button .ak-reserve__sheen,
html body:not(#ak-x) #indPanelContainer .ak-button:not(.ind-pkg) .ak-reserve__sheen,
html body:not(#ak-x) .akq-actions .ak-button .ak-reserve__sheen,
html body:not(#ak-x) .ak-ind-host .ak-button .ak-reserve__sheen,
html body:not(#ak-x) .lfg-tier:nth-child(2) .lfg-btn .ak-reserve__sheen,
html body:not(#ak-x) .lfg-tier:nth-child(3) .lfg-btn .ak-reserve__sheen,
html body:not(#ak-x) .arp-cta .ak-reserve__sheen,
html body:not(#ak-x) #akFinder .ak-finder__result .ak-grid-3 > div:nth-child(2) .ak-button .ak-reserve__sheen,
html body:not(#ak-x) #akFinder .ak-finder__result .ak-finder__actions [data-pick] .ak-reserve__sheen { opacity: 0.35; }

/* Small: quiet outline, brand-blue edge */
html body:not(#ak-x) .ak-shelf__row > .ak-pcard:first-of-type:not(:last-of-type) .ak-reserve:not(.is-quiet),
html body:not(#ak-x) #seoOptionsLadder .ak-button,
html body:not(#ak-x) #qw-list .ak-button,
html body:not(#ak-x) #quickWinsDrawerGrid .ak-button,
html body:not(#ak-x) #quickWinsStandaloneGrid .ak-button,
html body:not(#ak-x) .lfg-tier:first-child .lfg-btn,
html body:not(#ak-x) #akFinder .ak-finder__result .ak-grid-3 > div:first-child .ak-button {
  background: transparent !important; color: var(--btn-out-ink) !important; border: 2px solid var(--btn-blue) !important; box-shadow: none !important;
}
html[data-theme="day"] body:not(#ak-x) :is(.ak-shelf__row > .ak-pcard:first-of-type:not(:last-of-type) .ak-reserve:not(.is-quiet), #seoOptionsLadder .ak-button, #qw-list .ak-button, #quickWinsDrawerGrid .ak-button, #quickWinsStandaloneGrid .ak-button, .lfg-tier:first-child .lfg-btn, #akFinder .ak-finder__result .ak-grid-3 > div:first-child .ak-button) { color: var(--btn-out-ink-day) !important; }
html body:not(#ak-x) .ak-shelf__row > .ak-pcard:first-of-type:not(:last-of-type) .ak-reserve:not(.is-quiet):hover,
html body:not(#ak-x) #seoOptionsLadder .ak-button:hover,
html body:not(#ak-x) #qw-list .ak-button:hover,
html body:not(#ak-x) #quickWinsDrawerGrid .ak-button:hover,
html body:not(#ak-x) #quickWinsStandaloneGrid .ak-button:hover,
html body:not(#ak-x) .lfg-tier:first-child .lfg-btn:hover,
html body:not(#ak-x) #akFinder .ak-finder__result .ak-grid-3 > div:first-child .ak-button:hover { background: color-mix(in srgb, var(--btn-blue) 14%, transparent) !important; filter: none; }
html body:not(#ak-x) .ak-shelf__row > .ak-pcard:first-of-type:not(:last-of-type) .ak-reserve:not(.is-quiet) :is(small, b, span),
html body:not(#ak-x) #seoOptionsLadder .ak-button :is(small, b, span),
html body:not(#ak-x) #qw-list .ak-button :is(small, b, span),
html body:not(#ak-x) #quickWinsDrawerGrid .ak-button :is(small, b, span),
html body:not(#ak-x) #quickWinsStandaloneGrid .ak-button :is(small, b, span),
html body:not(#ak-x) .lfg-tier:first-child .lfg-btn :is(small, b, span),
html body:not(#ak-x) #akFinder .ak-finder__result .ak-grid-3 > div:first-child .ak-button :is(small, b, span) { color: inherit !important; opacity: 1 !important; }
html body:not(#ak-x) .ak-shelf__row > .ak-pcard:first-of-type:not(:last-of-type) .ak-reserve:not(.is-quiet) .ak-reserve__price,
html body:not(#ak-x) #seoOptionsLadder .ak-button .ak-reserve__price,
html body:not(#ak-x) #qw-list .ak-button .ak-reserve__price,
html body:not(#ak-x) #quickWinsDrawerGrid .ak-button .ak-reserve__price,
html body:not(#ak-x) #quickWinsStandaloneGrid .ak-button .ak-reserve__price,
html body:not(#ak-x) .lfg-tier:first-child .lfg-btn .ak-reserve__price,
html body:not(#ak-x) #akFinder .ak-finder__result .ak-grid-3 > div:first-child .ak-button .ak-reserve__price { background: color-mix(in srgb, var(--btn-blue) 20%, transparent) !important; }
html body:not(#ak-x) .ak-shelf__row > .ak-pcard:first-of-type:not(:last-of-type) .ak-reserve:not(.is-quiet) .ak-reserve__sheen,
html body:not(#ak-x) #seoOptionsLadder .ak-button .ak-reserve__sheen,
html body:not(#ak-x) #qw-list .ak-button .ak-reserve__sheen,
html body:not(#ak-x) #quickWinsDrawerGrid .ak-button .ak-reserve__sheen,
html body:not(#ak-x) #quickWinsStandaloneGrid .ak-button .ak-reserve__sheen,
html body:not(#ak-x) .lfg-tier:first-child .lfg-btn .ak-reserve__sheen,
html body:not(#ak-x) #akFinder .ak-finder__result .ak-grid-3 > div:first-child .ak-button .ak-reserve__sheen { display: none; }

/* Secondary actions: neutral outline */
html body:not(#ak-x) .ak-incl-toggle,
html body:not(#ak-x) .akl-dl,
html body:not(#ak-x) #akFinder .ak-finder__result .ak-finder__actions [data-call] {
  background: transparent !important; color: var(--ak-text-main) !important; border: 1.5px solid var(--btn-line-night) !important; box-shadow: none !important;
}
html[data-theme="day"] body:not(#ak-x) :is(.ak-incl-toggle, .akl-dl, #akFinder .ak-finder__result .ak-finder__actions [data-call]) { border-color: var(--btn-line-day) !important; color: var(--p-ink) !important; }
html body:not(#ak-x) .ak-incl-toggle:hover,
html body:not(#ak-x) .akl-dl:hover,
html body:not(#ak-x) #akFinder .ak-finder__result .ak-finder__actions [data-call]:hover { border-color: var(--btn-blue) !important; filter: none; }
/* the "What's included" toggle is a text link, not a boxed button: keep it borderless, blue-ish ink */
html body:not(#ak-x) .ak-incl-toggle { border: 0 !important; color: var(--btn-out-ink) !important; }
html[data-theme="day"] body:not(#ak-x) .ak-incl-toggle { color: var(--btn-out-ink-day) !important; }
/* ==== end CL-237 button tiers ==== */
/* CL-247..250 (home funnel v3): where the pillar blocks sit on home, and the slim "Compare every price" band.
   The blocks themselves are assets/css/akarec-pillar.css. */

/* AKA Grade / SEO: the pillar block runs full width under the pin + form card (the card itself is unchanged) */
#sec-grade > .ak-container > .ak-pillar { margin-top: 1.5rem; }
/* Business Automation: under the phone block */
#sec-automation .akq-missed { margin-top: 0; }
#sec-automation > .ak-container > .ak-pillar { margin-top: 1.5rem; }
@media (max-width: 640px) {
  #sec-grade > .ak-container > .ak-pillar, #sec-automation > .ak-container > .ak-pillar { margin-top: 1rem; }
}


/* CL-283 (home = router, not catalog): home shows 3 cards per ladder; the rest is one quiet text line under it
   ("Forge Atelier, $499" / "See every … price"). The pages keep every card (build:  markers). */
:is(.ak-pillar, #ak-pillar) .bs-line { margin: 0.35rem 0 1.1rem; font-size: 0.92rem; line-height: 1.6; color: var(--ak-text-muted); }
:is(.ak-pillar, #ak-pillar) .bs-line .bs-line__go { display: inline; margin: 0 0 0 0.3em; padding: 0; border: 0; background: none; box-shadow: none; font: inherit; font-weight: 700; color: var(--mx-hi, #FDE047); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; cursor: pointer; }
:is(.ak-pillar, #ak-pillar) .bs-line .bs-line__go:is(:hover, :focus-visible) { text-decoration-thickness: 2px; }
:is(.ak-pillar, #ak-pillar) .bs-line__sep { margin: 0 0.55em; opacity: 0.6; }
html[data-theme="day"] :is(.ak-pillar, #ak-pillar) .bs-line .bs-line__go { color: var(--mx-day-pri, #B45309); }
.ind-ladder .bs-line { margin-top: 0.9rem; }

/* CL-348 (Frank, phone screenshots 3 + 5): on phones the "Bigger builds ..." / "Want a custom tool ..." lines are centered, each link sits whole on its own
   centered line (never split, "See ..." never stranded) and the "·" separator is hidden so no dot ever starts or ends a line. Desktop unchanged. */
@media (max-width: 600px) {
  :is(.ak-pillar, #ak-pillar) .bs-line { text-align: center; text-wrap: balance; }
  :is(.ak-pillar, #ak-pillar) .bs-line .bs-line__go { display: block; width: fit-content; max-width: 100%; margin: 0.1rem auto 0; padding: 0.3rem 0; min-height: 44px; display: flex; align-items: center; justify-content: center; white-space: nowrap; text-align: center; }
  :is(.ak-pillar, #ak-pillar) .bs-line .bs-line__sep { display: none; }
}
/* CL-251 (home funnel v3, step 6): the Websites section. The "tool" is this site itself, so the stage is words on the left and a proof plate on the right
   that names the four live controls already on screen and points toward each one. The plate adds no controls: it is a list.
   Everything follows the visitor's color mix (--mx-*), so the plate recolors when they use the real bar. The offer block under it is assets/css/akarec-pillar.css. */
#sec-websites .web-stage { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
#sec-websites .web-stage__copy h2 { margin: 0.35rem 0 0.7rem; text-wrap: balance; }
#sec-websites .web-stage__copy .ak-plain-line { max-width: 46ch; margin: 0; font-size: 1.08rem; }
#sec-websites > .ak-container > .ak-pillar { margin-top: clamp(1.5rem, 3vw, 2.25rem); }

/* the Ownership seal: one line, links to the full promise further down */
#sec-websites .web-seal { display: inline-flex; align-items: center; gap: 0.75rem; max-width: 100%; min-height: 52px; margin-top: 1.5rem; padding: 0.55rem 1.2rem 0.55rem 0.6rem; border-radius: 1.65rem; text-decoration: none; color: var(--ak-text-main, #fff);
  border: 1px solid color-mix(in srgb, var(--ak-tier-4, #FACC15) 46%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--ak-tier-4, #FACC15) 12%, transparent), color-mix(in srgb, var(--ak-tier-4, #FACC15) 4%, transparent));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 34px -26px color-mix(in srgb, var(--ak-tier-4, #FACC15) 70%, transparent); transition: transform .3s cubic-bezier(.2, .8, .2, 1), border-color .25s ease, box-shadow .3s ease; }
#sec-websites .web-seal__mark { flex: none; width: 2.3rem; height: 2.3rem; border-radius: 50%; display: grid; place-items: center; background: var(--ak-tier-gold, linear-gradient(135deg, #FFF1A8, #FDE047 22%, #F59E0B 58%, #D97706)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 4px 12px -4px rgba(217, 119, 6, .7); }
#sec-websites .web-seal__mark svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: #060A12; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#sec-websites .web-seal__text { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.85rem; min-width: 0; }
#sec-websites .web-seal__line { font: 800 1rem/1.25 'Montserrat', 'Montserrat AKfb', 'Inter', sans-serif; letter-spacing: -0.01em; }
#sec-websites .web-seal__go { font: 700 0.72rem/1.2 'JetBrains Mono', 'JetBrains Mono AKfb', monospace; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mx-hi, #FDE047); white-space: nowrap; }
#sec-websites .web-seal:is(:hover, :focus-visible) { transform: translateY(-3px); border-color: color-mix(in srgb, var(--ak-tier-4, #FACC15) 85%, transparent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 22px 40px -22px color-mix(in srgb, var(--ak-tier-4, #FACC15) 80%, transparent), 0 0 34px -12px color-mix(in srgb, var(--ak-tier-4, #FACC15) 60%, transparent); }
#sec-websites .web-seal:focus-visible { outline: 2px solid var(--p-citron, #FDE047); outline-offset: 3px; }
html[data-theme="day"] #sec-websites .web-seal { color: #0B1930; border-color: color-mix(in srgb, var(--ak-tier-4-deep, #A16207) 55%, transparent); background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--ak-tier-4, #FACC15) 14%, #fff)); box-shadow: inset 0 1px 0 #fff, 0 16px 30px -24px rgba(161, 98, 7, .7); }
html[data-theme="day"] #sec-websites .web-seal__go { color: var(--mx-day-pri, #B45309); }
html[data-theme="day"] #sec-websites .web-seal:focus-visible { outline-color: #0B1930; }

/* the proof plate: drawn as this site's own window */
#sec-websites .web-proof { position: relative; min-width: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--ak-border, rgba(245, 158, 11, .28));
  background: linear-gradient(180deg, color-mix(in srgb, var(--mx-pri, #F59E0B) 10%, transparent), transparent 210px), color-mix(in srgb, var(--ak-surface, #0B1220) 90%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 40px 70px -46px color-mix(in srgb, var(--mx-pri, #F59E0B) 70%, transparent), 0 26px 50px -34px rgba(0, 0, 0, .9); }
#sec-websites .web-proof::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--mx-pri, #F59E0B) 25%, var(--mx-hi, #FDE047) 50%, var(--mx-pri, #F59E0B) 75%, transparent); }
#sec-websites .web-proof__bar { display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 1rem; border-bottom: 1px solid var(--ak-border-subtle, rgba(255, 255, 255, .12)); background: color-mix(in srgb, var(--ak-surface-2, #0F1A2E) 70%, transparent); }
#sec-websites .web-proof__lights { display: inline-flex; gap: 0.35rem; flex: none; }
#sec-websites .web-proof__lights i { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--mx-pri, #F59E0B); }
#sec-websites .web-proof__lights i:nth-child(2) { background: var(--mx-hi, #FDE047); }
#sec-websites .web-proof__lights i:nth-child(3) { background: var(--mx-sec, #0284C7); }
#sec-websites .web-proof__url { display: inline-flex; align-items: center; gap: 0.4rem; min-width: 0; padding: 0.3rem 0.75rem; border-radius: 999px; border: 1px solid var(--ak-border-subtle, rgba(255, 255, 255, .12)); font: 500 0.78rem/1 'JetBrains Mono', 'JetBrains Mono AKfb', monospace; color: var(--ak-text-main, #fff); }
#sec-websites .web-proof__url svg { width: 0.85rem; height: 0.85rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; opacity: .7; }
#sec-websites .web-proof__live { margin-left: auto; display: inline-flex; align-items: center; gap: 0.45rem; font: 700 0.66rem/1 'JetBrains Mono', 'JetBrains Mono AKfb', monospace; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ak-text-muted); white-space: nowrap; }
#sec-websites .web-proof__live i { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--p-emerald, #10B981); box-shadow: 0 0 0 3px color-mix(in srgb, var(--p-emerald, #10B981) 22%, transparent); }
#sec-websites .web-proof__body { padding: clamp(1.1rem, 2.2vw, 1.6rem) clamp(1rem, 2.2vw, 1.6rem) clamp(0.6rem, 1.4vw, 0.9rem); }
#sec-websites .web-proof__body h3 { margin: 0 0 0.45rem; font-size: clamp(1.3rem, 2.1vw, 1.7rem); line-height: 1.15; text-wrap: balance; }
#sec-websites .web-proof__lead { margin: 0 0 0.6rem; font-size: 0.95rem; line-height: 1.5; color: var(--ak-text-muted); }
#sec-websites .web-proof__list { list-style: none; margin: 0; padding: 0; }
#sec-websites .web-proof__item { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) auto; grid-template-areas: "icon name at" "icon what at"; column-gap: 0.85rem; row-gap: 0.12rem; align-items: center; padding: 0.8rem 0; border-top: 1px solid var(--ak-border-subtle, rgba(255, 255, 255, .12)); }
#sec-websites .web-proof__icon { grid-area: icon; width: 2.6rem; height: 2.6rem; border-radius: 0.8rem; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--mx-pri, #F59E0B) 34%, transparent); background: color-mix(in srgb, var(--mx-pri, #F59E0B) 12%, transparent); }
#sec-websites .web-proof__icon svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: var(--mx-hi, #FDE047); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#sec-websites .web-proof__icon .web-fill { fill: var(--mx-hi, #FDE047); stroke: none; }
/* the color bar's own three dots, in the visitor's live mix */
#sec-websites .web-proof__icon--mix { grid-auto-flow: column; justify-content: center; }
#sec-websites .web-proof__icon--mix i { width: 0.82rem; height: 0.82rem; border-radius: 50%; background: var(--mx-pri, #F59E0B); box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--ak-surface, #0B1220) 80%, transparent); }
#sec-websites .web-proof__icon--mix i + i { margin-left: -0.3rem; background: var(--mx-hi, #FDE047); }
#sec-websites .web-proof__icon--mix i + i + i { background: var(--mx-sec, #0284C7); }
#sec-websites .web-proof__name { grid-area: name; align-self: end; font: 800 1rem/1.25 'Montserrat', 'Montserrat AKfb', 'Inter', sans-serif; letter-spacing: -0.01em; }
#sec-websites .web-proof__what { grid-area: what; align-self: start; font-size: 0.9rem; line-height: 1.45; color: var(--ak-text-muted); }
/* the pointer: where the real control sits, with an arrow that leans toward it */
#sec-websites .web-proof__at { grid-area: at; display: inline-flex; align-items: center; gap: 0.45rem; font: 700 0.7rem/1.2 'JetBrains Mono', 'JetBrains Mono AKfb', monospace; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mx-hi, #FDE047); white-space: nowrap; }
#sec-websites .web-proof__at svg { flex: none; box-sizing: border-box; width: 1.75rem; height: 1.75rem; padding: 0.38rem; border-radius: 50%; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; border: 1px solid color-mix(in srgb, var(--mx-pri, #F59E0B) 60%, transparent); animation: webLean 2.6s ease-in-out infinite; }
#sec-websites .web-proof__item[data-at="br"] { --lean-x: 3px; --lean-y: 3px; }
#sec-websites .web-proof__item[data-at="bl"] { --lean-x: -3px; --lean-y: 3px; }
#sec-websites .web-proof__item[data-at="tr"] { --lean-x: 3px; --lean-y: -3px; }
@keyframes webLean { 0%, 55%, 100% { transform: none; } 75% { transform: translate(var(--lean-x, 0), var(--lean-y, 0)); } }
/* the cursor only exists with a mouse: say so on a touch screen */
#sec-websites :is(.web-on-touch, .web-on-narrow) { display: none; }
@media (hover: none), (pointer: coarse) {
  #sec-websites .web-on-mouse { display: none; }
  #sec-websites .web-on-touch { display: inline; }
}

html[data-theme="day"] #sec-websites .web-proof { border-color: rgba(180, 83, 9, .28); background: linear-gradient(180deg, color-mix(in srgb, var(--mx-pri, #F59E0B) 10%, transparent), transparent 210px), rgba(255, 255, 255, .92); box-shadow: inset 0 1px 0 #fff, 0 36px 60px -44px color-mix(in srgb, var(--mx-day-pri, #B45309) 75%, transparent), 0 20px 40px -32px rgba(11, 25, 48, .45); }
html[data-theme="day"] #sec-websites .web-proof__bar { background: rgba(255, 255, 255, .75); border-color: rgba(11, 25, 48, .12); }
html[data-theme="day"] #sec-websites .web-proof__url { border-color: rgba(11, 25, 48, .16); color: #0B1930; }
html[data-theme="day"] #sec-websites .web-proof__item { border-color: rgba(11, 25, 48, .12); }
html[data-theme="day"] #sec-websites .web-proof__icon { background: color-mix(in srgb, var(--mx-pri, #F59E0B) 12%, #fff); border-color: color-mix(in srgb, var(--mx-day-pri, #B45309) 34%, transparent); }
html[data-theme="day"] #sec-websites .web-proof__icon svg { stroke: var(--mx-day-pri, #B45309); }
html[data-theme="day"] #sec-websites .web-proof__icon .web-fill { fill: var(--mx-day-pri, #B45309); }
html[data-theme="day"] #sec-websites .web-proof__icon--mix i { box-shadow: 0 0 0 1.5px #fff; }
html[data-theme="day"] #sec-websites .web-proof__at { color: var(--mx-day-pri, #B45309); }
html[data-theme="day"] #sec-websites .web-proof__at svg { border-color: color-mix(in srgb, var(--mx-day-pri, #B45309) 55%, transparent); }
html[data-theme="day"] #sec-websites .web-proof__live i { background: #047857; box-shadow: 0 0 0 3px rgba(4, 120, 87, .18); }

@media (max-width: 980px) {
  #sec-websites .web-stage { grid-template-columns: 1fr; gap: 1.5rem; }
  #sec-websites .web-stage__copy .ak-plain-line { max-width: 60ch; }
}
/* phone: the plate is a compact list (name and pointer on one line, the plain line under them); the seal is one full-width row */
@media (max-width: 640px) {
  #sec-websites .web-stage { gap: 1.15rem; }
  #sec-websites .web-seal { display: flex; margin-top: 1.1rem; border-radius: 18px; padding: 0.6rem 0.85rem 0.6rem 0.6rem; }
  #sec-websites .web-seal__line { font-size: 0.98rem; }
  #sec-websites .web-proof { border-radius: 18px; }
  #sec-websites .web-proof__bar { padding: 0.6rem 0.85rem; gap: 0.6rem; }
  #sec-websites .web-proof__body { padding: 1rem 0.9rem 0.35rem; }
  #sec-websites .web-proof__lead { font-size: 1rem; }
  #sec-websites .web-proof__item { grid-template-columns: 2.25rem minmax(0, 1fr) auto; grid-template-areas: "icon name at" "icon what what"; column-gap: 0.7rem; padding: 0.7rem 0; }
  #sec-websites .web-proof__icon { width: 2.25rem; height: 2.25rem; border-radius: 0.7rem; align-self: start; }
  #sec-websites .web-proof__name { font-size: 0.98rem; align-self: center; }
  #sec-websites .web-proof__what { font-size: 0.92rem; }
  #sec-websites .web-proof__at { font-size: 0.75rem; letter-spacing: 0.06em; gap: 0.35rem; }
  #sec-websites .web-proof__at svg { width: 1.5rem; height: 1.5rem; padding: 0.32rem; }
  #sec-websites > .ak-container > .ak-pillar { margin-top: 1.15rem; }
  /* on a phone the Day/Night switch sits in the middle of the top bar: say so, and the arrow points straight up */
  #sec-websites .web-on-wide { display: none; }
  #sec-websites .web-on-narrow { display: inline; }
  #sec-websites .web-proof__item[data-at="tr"] { --lean-x: 0px; --lean-y: -3px; }
  #sec-websites .web-proof__item[data-at="tr"] .web-proof__at svg { rotate: -45deg; }
}
@media (max-width: 400px) {
  #sec-websites .web-proof__live { font-size: 0; gap: 0; } /* the green dot alone: the row is too narrow for the words */
}
@media (prefers-reduced-motion: reduce) {
  #sec-websites .web-proof__at svg { animation: none; }
  #sec-websites .web-seal { transition: border-color .2s ease, box-shadow .2s ease; transform: none !important; }
}

/* CL-311 (Frank: "the section is a mess"): one clear order. The words, centered, introduce the Showroom right under them;
   the four-live-controls plate follows the Showroom as a slim strip; then the offer. */
#sec-websites .web-stage { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
#sec-websites .web-stage__copy { max-width: 52rem; }
#sec-websites .web-stage__copy .ak-plain-line { margin-inline: auto; }
#sec-websites .web-proofrow { margin-top: clamp(1.75rem, 3.5vw, 2.75rem); }
@media (min-width: 981px) {
  #sec-websites .web-proof__body { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 3fr); gap: 0.5rem 2rem; align-items: center; padding-bottom: clamp(1.1rem, 2.2vw, 1.6rem); }
  #sec-websites .web-proof__body h3 { grid-column: 1; }
  #sec-websites .web-proof__lead { grid-column: 1; margin: 0; }
  #sec-websites .web-proof__list { grid-column: 2; grid-row: 1 / span 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.9rem; }
  #sec-websites .web-proof__item { grid-template-columns: 2.4rem minmax(0, 1fr); grid-template-areas: "icon at" "name name" "what what"; row-gap: 0.35rem; align-items: start; padding: 0; border: 0; }
  #sec-websites .web-proof__at { justify-self: end; align-self: center; font-size: 0.62rem; }
}
@media (max-width: 640px) {
  #sec-websites .web-stage { justify-items: start; text-align: left; }
  #sec-websites .web-stage__copy .ak-plain-line { margin-inline: 0; }
}

/* ===== CL-327 (Frank 2026-11-29: "this looks so cluttered ... WAY simplified ... keep the premium look") =====
   The proof panel is one calm row: the title, four lifted tiles (icon + name, nothing else), and one orange line along the bottom.
   No arrows, no "where it is" labels, no second lines. These rules come last, so they win over the CL-311 layout above. */
#sec-websites .web-proof__body { display: grid; grid-template-columns: 1fr; gap: 1rem; align-items: center; padding: clamp(1.1rem, 2.2vw, 1.5rem) clamp(1rem, 2.2vw, 1.6rem) clamp(0.95rem, 1.8vw, 1.2rem); }
#sec-websites .web-proof__body h3 { grid-column: auto; margin: 0; }
#sec-websites .web-proof__list { grid-column: auto; grid-row: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
#sec-websites .web-proof__item {
  display: flex; align-items: center; gap: 0.7rem; min-height: 60px; padding: 0.65rem 0.85rem; border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--mx-pri, #F59E0B) 34%, transparent); border-top-color: color-mix(in srgb, var(--mx-pri, #F59E0B) 50%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--mx-pri, #F59E0B) 9%, transparent), transparent 70%), var(--ak-surface-elevated, var(--ak-surface, #0B1220));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 14px 26px -18px rgba(0, 0, 0, 0.8);
}
html[data-theme="day"] #sec-websites .web-proof__item { border-color: color-mix(in srgb, var(--mx-day-pri, #B45309) 30%, transparent); background: #fff; box-shadow: inset 0 1px 0 #fff, 0 14px 24px -18px rgba(11, 25, 48, 0.4); }
#sec-websites .web-proof__icon { flex: none; width: 2.4rem; height: 2.4rem; border-radius: 0.75rem; align-self: center; }
#sec-websites .web-proof__name { align-self: center; font-size: 0.98rem; line-height: 1.2; text-wrap: balance; }
#sec-websites .web-proof__amp { color: var(--mx-hi, #FDE047); font-weight: 700; }
html[data-theme="day"] #sec-websites .web-proof__amp { color: var(--mx-day-pri, #B45309); }
/* the line along the bottom, in our orange */
html[data-theme] body #sec-websites .web-proof p.web-proof__lead {
  grid-column: 1 / -1; margin: 0; padding-top: 0.85rem; border-top: 1px solid var(--ak-border-subtle, rgba(255, 255, 255, .12));
  font: 600 0.92rem/1.45 'Inter', system-ui, sans-serif !important; color: var(--mx-pri, #F59E0B) !important; text-align: center; text-wrap: balance;
}
html[data-theme="day"] body #sec-websites .web-proof p.web-proof__lead { color: var(--mx-day-pri, #B45309) !important; border-color: rgba(11, 25, 48, .12); }
@media (min-width: 900px) {
  #sec-websites .web-proof__body { grid-template-columns: minmax(0, 0.85fr) minmax(0, 3.15fr); gap: 1.1rem 1.75rem; }
  #sec-websites .web-proof__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; }
}
@media (max-width: 420px) {
  #sec-websites .web-proof__item { gap: 0.5rem; padding: 0.55rem 0.6rem; }
  #sec-websites .web-proof__icon { width: 2rem; height: 2rem; border-radius: 0.6rem; }
  #sec-websites .web-proof__name { font-size: 0.86rem; }
}

/* ===== CL-331 (Frank 2026-11-29: "multiple colors that make sense ... some orange, not all ... simple and premium"; no brown-orange) =====
   Each icon is a small solid chip in fixed AKAREC brand colors, the same in Day and Night (they do not follow the Mix):
   Mix = the bar's own three dots (amber, blue, citron) on Ink; Aura & Texture = a citron star on our blue; Day and Night = emerald on
   Obsidian; Pro Tools = the amber-to-citron gradient with Ink lines. The tiles lose their orange/brown edge; the bottom line is our blue. */
html[data-theme] #sec-websites .web-proof__item { border-color: rgba(255, 255, 255, 0.12); border-top-color: rgba(255, 255, 255, 0.2); background: var(--ak-surface-elevated, var(--ak-surface, #0B1220)); }
html[data-theme="day"] #sec-websites .web-proof__item { border-color: rgba(11, 25, 48, 0.12); border-top-color: rgba(11, 25, 48, 0.08); background: #fff; }
html[data-theme] #sec-websites .web-proof__icon { border: 0; background: #0B1930; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 16px -10px rgba(0, 0, 0, 0.7); }
html[data-theme] #sec-websites .web-proof__icon--mix i { background: #F59E0B; box-shadow: 0 0 0 1.5px #0B1930; }
html[data-theme] #sec-websites .web-proof__icon--mix i + i { background: #0284C7; }
html[data-theme] #sec-websites .web-proof__icon--mix i + i + i { background: #FDE047; }
html[data-theme] #sec-websites .web-proof__icon--aura { background: linear-gradient(145deg, #0EA5E9, #0284C7 55%, #0369A1); }
html[data-theme] #sec-websites .web-proof__icon--aura svg { stroke: #FDE047; fill: #FDE047; stroke-width: 1.2; }
html[data-theme] #sec-websites .web-proof__icon--dn { background: #060A12; box-shadow: inset 0 0 0 1.5px rgba(16, 185, 129, 0.55), 0 8px 16px -10px rgba(0, 0, 0, 0.7); }
html[data-theme] #sec-websites .web-proof__icon--dn svg { stroke: #10B981; }
html[data-theme] #sec-websites .web-proof__icon--dn .web-fill { fill: #10B981; }
html[data-theme] #sec-websites .web-proof__icon--tools { background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 48%, #FDE047 100%); }
html[data-theme] #sec-websites .web-proof__icon--tools svg { stroke: #0B1930; stroke-width: 2; }
html[data-theme] #sec-websites .web-proof__icon--tools circle { fill: #0B1930; }
html[data-theme] #sec-websites .web-proof__amp { color: #0284C7; }
html[data-theme="night"] #sec-websites .web-proof__amp { color: #38BDF8; }
/* the line along the bottom in our blue (#0284C7, the blue dot of the Mix icon); large bold text so the exact blue reads in Day and Night */
html[data-theme] body #sec-websites .web-proof p.web-proof__lead { font: 700 1.18rem/1.4 'Inter', system-ui, sans-serif !important; color: #0284C7 !important; }
/* CL-252 (home funnel v3, step 7): the Industry section's two big tabs (same look as the Brand Studio tabs, styles/51) that stick under the
   header while the section is on screen, the industry chips sticking right under them, the two panels, and one tier ladder per package set. */
#sec-industries { --ind-hdr: 72px; --ind-tabs-h: 76px; }
#sec-industries .ind-bigtabs { position: sticky; top: var(--ind-hdr); z-index: 31; box-sizing: border-box; height: var(--ind-tabs-h); display: grid; gap: 0.4rem; margin: 0 -0.6rem 1.25rem; padding: 0.4rem 0.6rem; grid-template-columns: repeat(2, minmax(0, 274px)); border: 1px solid var(--ak-border-subtle, rgba(255,255,255,.12)); border-radius: 20px; background: color-mix(in srgb, #060A12 86%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
#sec-industries .ind-bigtab { appearance: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.34rem; min-width: 0; padding: 0.45rem 0.9rem; border: 1px solid transparent; border-radius: 15px; background: transparent; color: var(--ak-text-main, #fff); font: 700 0.98rem/1.15 'Inter', sans-serif; letter-spacing: 0.01em; text-align: center; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease; }
#sec-industries .ind-bigtab:hover { border-color: color-mix(in srgb, var(--mx-pri, #F59E0B) 55%, transparent); }
#sec-industries .ind-bigtab[aria-selected="true"] { background: var(--mx-pri, #F59E0B); color: #0B1220; border-color: var(--mx-pri, #F59E0B); box-shadow: 0 10px 22px -14px var(--mx-pri, #F59E0B), inset 0 1px 0 rgba(255,255,255,.35); }
#sec-industries .ind-bigtab:focus-visible { outline: 2px solid var(--mx-hi, #FDE047); outline-offset: 2px; }
#sec-industries .ind-bigtab__tag { display: inline-flex; align-items: center; gap: 0.36rem; font: 700 0.64rem/1 'JetBrains Mono', 'JetBrains Mono AKfb', monospace; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.78; }
#sec-industries .ind-bigtab__tag--live { opacity: 1; color: var(--p-emerald, #10B981); }
#sec-industries .ind-bigtab__tag--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
#sec-industries .ind-bigtab[aria-selected="true"] .ind-bigtab__tag { color: #0B1220; }
#sec-industries .ind-bigtab[aria-selected="true"] .ind-bigtab__tag--live::before { background: #065F46; box-shadow: 0 0 0 2px rgba(255,255,255,.55); }
html[data-theme="day"] #sec-industries .ind-bigtabs { background: rgba(250,247,240,.94); border-color: rgba(11,18,32,.18); }
html[data-theme="day"] #sec-industries .ind-bigtab { color: #0B1220; }
html[data-theme="day"] #sec-industries .ind-bigtab:not([aria-selected="true"]) .ind-bigtab__tag--live { color: #047857; }
html[data-theme="day"] #sec-industries .ind-bigtab:not([aria-selected="true"]) .ind-bigtab__tag--live::before { box-shadow: none; }

/* the two panels: only the chosen one shows */
#sec-industries[data-ind-tab="any"] #indPanel-yours,
#sec-industries:not([data-ind-tab="any"]) #sec-quote { display: none; }
#sec-industries .ind-tabpanel:focus { outline: none; }
/* a /#sec-quote landing (scripts/35) puts the panel's head just under the stuck tabs, not behind them */
#sec-quote { --land-extra: 72px; }
@media (max-width: 767px) { #sec-quote { --land-extra: 90px; } }
/* the industry chips stick right under the big tabs */
#sec-industries .ind-chipbar { top: calc(var(--ind-hdr) + var(--ind-tabs-h) - 1px); }

/* "Any industry": its own small head (the section's H2 sits above the tabs) */
#sec-quote .ind-head--any { margin-bottom: 1rem; }
#sec-quote .ind-any-title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.15; margin: 0.35rem 0 0.6rem; }

/* the pillar blocks: one tier ladder per package set (data-ind-ladder on the section, set by scripts/15) */
#sec-industries .ind-pillar { margin-top: 1.5rem; }
#sec-industries .ind-ladder { display: none; }
#sec-industries[data-ind-ladder="contractors"] .ind-ladder[data-ladder="contractors"],
#sec-industries[data-ind-ladder="law"] .ind-ladder[data-ladder="law"],
#sec-industries[data-ind-ladder="realtors"] .ind-ladder[data-ladder="realtors"],
#sec-industries[data-ind-ladder="sig"] .ind-ladder[data-ladder="sig"] { display: block; }
:is(.ak-pillar, #ak-pillar) .bs-tiers--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; }
@media (max-width: 700px) { :is(.ak-pillar, #ak-pillar) .bs-tiers--2 { grid-template-columns: 1fr; } }

@media (max-width: 720px) {
  /* phone: tabs and chips form one full-width sticky band under the 56 px header */
  #sec-industries { --ind-hdr: 56px; --ind-tabs-h: 64px; }
  #sec-industries .ind-bigtabs { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 -1rem; padding: 0.35rem 1rem; border-radius: 0; border-left: 0; border-right: 0; border-top: 0; }
  #sec-industries .ind-chipbar { top: calc(var(--ind-hdr) + var(--ind-tabs-h)); border-top: 0; }
  #sec-industries .ind-tabpanel > .ind-chipbar { margin-top: 0; }
  #sec-quote .ind-head--any { margin-top: 1rem; }
}
@media (max-width: 640px) {
  #sec-industries .ind-bigtab { padding: 0.35rem 0.25rem; gap: 0.28rem; font-size: 0.9rem; border-radius: 13px; }
  #sec-industries .ind-bigtab__tag { font-size: 0.56rem; letter-spacing: 0.07em; }
  #sec-quote .ind-any-title { font-size: 1.45rem; }
}
@media (prefers-reduced-motion: reduce) { #sec-industries .ind-bigtab { transition: none; } }
/* CL-256 (home funnel v3 step 9, phone speed). On a phone the sections below the first screen skip their layout and paint until
   they come near the screen (content-visibility: auto). Nothing changes in how they look or work: the browser draws each one just
   before it scrolls into view, and find-in-page, links to #anchors and screen readers still reach everything. The heights are each
   section's measured phone height (390 px wide), so the scrollbar does not jump; after a section has been drawn once, its real height is kept. */
@media (max-width: 899px) {
  #sec-cocreation { content-visibility: auto; contain-intrinsic-size: auto 3195px; }
  #sec-grade { content-visibility: auto; contain-intrinsic-size: auto 2445px; }
  #sec-automation { content-visibility: auto; contain-intrinsic-size: auto 3220px; }
  #sec-services { content-visibility: auto; contain-intrinsic-size: auto 710px; }
  #sec-websites { content-visibility: auto; contain-intrinsic-size: auto 3535px; }   /* CL-295: with the Showroom shelf */
  #sec-industries { content-visibility: auto; contain-intrinsic-size: auto 2445px; }
  #sec-finder { content-visibility: auto; contain-intrinsic-size: auto 280px; }
  #sec-faq { content-visibility: auto; contain-intrinsic-size: auto 1000px; }   /* CL-270: holds the price item now (price band removed) */
  /* CL-261: while the finder's question sheet is open, its section drops the skip (containment made the section the sheet's box,
     so the fixed sheet opened trapped inside it). Only while open: the speed saving on first load is unchanged. */
  #sec-finder:has(#akFinder.is-sheet) { content-visibility: visible; }
}
/* CL-314: the footer (about 2,000 px tall on a phone) is drawn the same way, just before it scrolls into view */
@media (max-width: 899px) {
  body > footer { content-visibility: auto; contain-intrinsic-size: auto 1990px; }
}
/* CL-314: the Websites section starts just under the first screen, so the browser draws it at load. Its two big lower blocks
   (the proof plate and the price ladder) now wait until they come near, like the sections below (heights measured at 412 px). */
@media (max-width: 899px) {
  #sec-websites > .ak-container > .web-proofrow { content-visibility: auto; contain-intrinsic-size: auto 554px; }
  #sec-websites > .ak-container > .ak-pillar { content-visibility: auto; contain-intrinsic-size: auto 1590px; }
}
/* CL-260 (Frank 2026-11-27): "AKAREC is here to guide you", a small guiding-light graphic inside the "Not sure where to start?" card.
   Desktop: it sits in the empty corner under the third question (same grid cell, bottom), so the card and the section keep their size.
   Phone: one slim row under the Start button; the card gives the same height back from its outer margins, so the section keeps its size.
   CSS + inline SVG only. It is complete when still: the motion (a light runs the route past the three stops, the compass star takes it,
   the line under the words is drawn from it, then a slow breathing glow) only plays while the card is in view (.is-in, set by
   js/tools/akarec-finder.js) and never with prefers-reduced-motion. Rules sit on #akFinder so /pricing/ gets the same look (build-pages.mjs). */
#akFinder .ak-finder__guide { --akg: var(--mx-pri, #F59E0B); --akg-ink: color-mix(in srgb, var(--mx-pri, #F59E0B) 62%, #FFF7E0); color: var(--akg); pointer-events: none; display: flex; align-items: center; gap: 0.5rem; margin: 0.7rem 0 0; }
html[data-theme="day"] #akFinder .ak-finder__guide { --akg: var(--mx-day-pri, #B45309); --akg-ink: color-mix(in srgb, var(--mx-day-pri, #B45309) 78%, #451A03); }
#akFinder.is-sheet .ak-finder__guide { display: none; }
#akFinder .akg-art { flex: 1 1 0; min-width: 0; height: 32px; overflow: visible; order: 2; }
#akFinder .ak-finder__guide .akg-line { position: relative; flex: none; order: 1; margin: 0; max-width: 7.4rem; padding-bottom: 0.2rem; font-family: 'Montserrat', 'Montserrat AKfb', system-ui, sans-serif !important; font-weight: 700 !important; /* home's Day text rules set every paragraph to Inter 400 */ font-size: 0.8rem; line-height: 1.25; letter-spacing: 0.01em; color: var(--akg-ink); }
#akFinder .akg-line::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; border-radius: 2px; transform-origin: 100% 50%; background: linear-gradient(90deg, transparent, var(--akg) 30%, var(--akg)); opacity: 0.75; }
#akFinder .akg-route { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-dasharray: 0.1 5.5; opacity: 0.8; }
#akFinder .akg-lit { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; opacity: 0.5; }
#akFinder .akg-stop { fill: currentColor; opacity: 0.85; transform-box: fill-box; transform-origin: center; }
#akFinder .akg-glow { opacity: 0.6; transform-box: fill-box; transform-origin: center; }
#akFinder .akg-star { transform-box: fill-box; transform-origin: center; }
#akFinder .akg-star path { fill: currentColor; }
#akFinder .akg-star .akg-star__minor { opacity: 0.55; }
#akFinder .akg-star circle { fill: none; stroke: currentColor; stroke-width: 0.9; opacity: 0.5; }
#akFinder .akg-star .akg-star__eye { fill: #FFF8E1; stroke: none; opacity: 1; }
html[data-theme="day"] #akFinder .akg-star .akg-star__eye { fill: #FFFFFF; }
@media (max-width: 767px) {
  /* phone: the row's height comes back from the card's outer margins, so the section is exactly as tall as before */
  #akFinder:not(.is-sheet) { margin-top: -23px; margin-bottom: -23px; }
}
@media (min-width: 768px) {
  #akFinder .ak-finder__q[data-key="media"] { grid-column: 3; grid-row: 3; }
  #akFinder .ak-finder__guide { grid-column: 3; grid-row: 3; align-self: end; flex-direction: column; align-items: flex-end; gap: 0.3rem; margin: 0; padding: 0 0.3rem 0.1rem; }
  #akFinder .akg-art { flex: none; order: 1; width: 100%; height: 52px; }
  #akFinder .ak-finder__guide .akg-line { order: 2; max-width: none; font-size: clamp(0.92rem, 0.55rem + 0.5vw, 1.04rem); text-align: right; }
}
@media (prefers-reduced-motion: no-preference) {
  /* CL-285 (Frank round 3, item 5): half the speed along the path; every step of the sequence takes twice as long */
  #akFinder .ak-finder__guide.is-in .akg-lit { animation: akgDraw 4.2s cubic-bezier(0.45, 0, 0.2, 1) 0.5s both; }
  #akFinder .ak-finder__guide.is-in .akg-stop { animation: akgStop 1.8s ease-out both; }
  #akFinder .ak-finder__guide.is-in .akg-stop:nth-of-type(1) { animation-delay: 0.6s; }
  #akFinder .ak-finder__guide.is-in .akg-stop:nth-of-type(2) { animation-delay: 1.9s; }
  #akFinder .ak-finder__guide.is-in .akg-stop:nth-of-type(3) { animation-delay: 3.2s; }
  #akFinder .ak-finder__guide.is-in .akg-star { animation: akgSettle 2.6s cubic-bezier(0.2, 0.8, 0.2, 1) 4.2s both; }
  #akFinder .ak-finder__guide.is-in .akg-glow { animation: akgBloom 2.6s ease-out 4.2s both, akgBreathe 11.2s ease-in-out 6.8s infinite; }
  #akFinder .ak-finder__guide.is-in .akg-line::after { animation: akgLine 2.2s cubic-bezier(0.3, 0, 0.2, 1) 5s both; }
}
@keyframes akgDraw { 0% { stroke-dashoffset: 100; opacity: 0.95; } 80% { stroke-dashoffset: 0; opacity: 0.95; } 100% { stroke-dashoffset: 0; opacity: 0.5; } }
@keyframes akgStop { 0% { transform: scale(1); opacity: 0.85; } 40% { transform: scale(1.9); opacity: 1; } 100% { transform: scale(1); opacity: 0.85; } }
@keyframes akgSettle { 0% { transform: scale(1) rotate(0deg); } 45% { transform: scale(1.16) rotate(45deg); } 100% { transform: scale(1) rotate(90deg); } }
@keyframes akgBloom { 0% { opacity: 0.6; transform: scale(1); } 45% { opacity: 1; transform: scale(1.25); } 100% { opacity: 0.6; transform: scale(1); } }
@keyframes akgBreathe { 0%, 100% { opacity: 0.6; transform: scale(1); } 50% { opacity: 0.95; transform: scale(1.12); } }
@keyframes akgLine { 0% { transform: scaleX(0); opacity: 0.2; } 100% { transform: scaleX(1); opacity: 0.75; } }

/* CL-285 (Frank round 3, item 5): the brand blues blend into the path and the centre of the star; the brand green blends into the words
   and the line under them. The outer star, the stops and the glow keep the visitor's main color. Day + Night (deeper shades in Day for AA). */
#akFinder .ak-finder__guide { --akg-blue: #38BDF8; --akg-blue2: #0284C7; --akg-green: #34D399; }
html[data-theme="day"] #akFinder .ak-finder__guide { --akg-blue: #0284C7; --akg-blue2: #075985; --akg-green: #047857; }
#akFinder .akg-p1 { stop-color: var(--akg); }
#akFinder .akg-p2 { stop-color: var(--akg-blue); }
#akFinder .akg-p3 { stop-color: var(--akg-blue2); }
#akFinder .akg-e1 { stop-color: #FFFFFF; }
#akFinder .akg-e2 { stop-color: var(--akg-blue); }
#akFinder :is(.akg-route, .akg-lit) { stroke: url(#akgPath); }
#akFinder .akg-star .akg-star__minor { fill: var(--akg-blue); opacity: 0.85; }
#akFinder .akg-star .akg-star__eye { fill: url(#akgEye); r: 2.6px; }
html[data-theme="day"] #akFinder .akg-star .akg-star__eye { fill: url(#akgEye); }
#akFinder .ak-finder__guide .akg-line {
  background: linear-gradient(in oklch 90deg, var(--akg-ink) 0%, color-mix(in oklch, var(--akg-ink) 45%, var(--akg-green)) 55%, var(--akg-green) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
#akFinder .akg-line::after { background: linear-gradient(in oklch 90deg, transparent, var(--akg-green) 30%, color-mix(in oklch, var(--akg-green) 55%, var(--akg)) 70%, var(--akg)); }
/* CL-264 (Frank 2026-11-27, item 4): the slim strip at the end of Brand Studio, AKA Grade, Automation, Websites and Industries (pillars/jump.html).
   One line of words, then the four pillar buttons (the "What we do" tiles' pages). Computer: one row. Phone: words, then a 2 x 2 grid. */
.ak-jump { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.4rem; margin-top: clamp(1.5rem, 3vw, 2.25rem); padding: 0.85rem 0.95rem 0.85rem 1.3rem;
  border-radius: 18px; border: 1px solid var(--ak-border-subtle, rgba(255,255,255,.12));
  background: linear-gradient(90deg, color-mix(in srgb, var(--mx-pri, #F59E0B) 9%, transparent), transparent 55%), color-mix(in srgb, var(--ak-surface-2, #0F1A2E) 78%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 22px 40px -30px rgba(0,0,0,.85); }
.ak-jump__q { flex: 1 1 280px; margin: 0; font-size: 0.92rem; line-height: 1.45; color: var(--ak-text-muted); }
.ak-jump__q strong { color: var(--ak-text-main, #fff); font-weight: 700; }
.ak-jump__set { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ak-jump__go { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.45rem 0.95rem; border-radius: 999px; text-decoration: none; white-space: nowrap;
  font: 700 0.86rem/1.2 'Inter', sans-serif; color: var(--ak-text-main, #fff); border: 1px solid color-mix(in srgb, var(--mx-pri, #F59E0B) 38%, transparent);
  background: color-mix(in srgb, var(--ak-surface, #0B1220) 70%, transparent); transition: transform .25s cubic-bezier(.2,.8,.2,1), border-color .2s ease, box-shadow .25s ease, background-color .2s ease; }
.ak-jump__go svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--mx-hi, #FDE047); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ak-jump__go:is(:hover, :focus-visible) { transform: translateY(-2px); border-color: var(--mx-pri, #F59E0B); box-shadow: 0 0 0 1px color-mix(in srgb, var(--mx-pri, #F59E0B) 35%, transparent), 0 12px 26px -14px color-mix(in srgb, var(--mx-pri, #F59E0B) 80%, transparent); }
.ak-jump__go:focus-visible { outline: 2px solid var(--mx-hi, #FDE047); outline-offset: 3px; }
html[data-theme="day"] .ak-jump { background: linear-gradient(90deg, color-mix(in srgb, var(--mx-pri, #F59E0B) 10%, #fff), #fff 55%); border-color: rgba(11,25,48,.12); box-shadow: inset 0 1px 0 #fff, 0 18px 34px -28px rgba(11,25,48,.45); }
html[data-theme="day"] .ak-jump__q strong { color: #0B1930; }
html[data-theme="day"] .ak-jump__go { color: #0B1930; background: #fff; border-color: rgba(180,83,9,.4); }
html[data-theme="day"] .ak-jump__go svg { stroke: var(--mx-day-pri, #B45309); }
html[data-theme="day"] .ak-jump__go:is(:hover, :focus-visible) { border-color: var(--mx-day-pri, #B45309); }
html[data-theme="day"] .ak-jump__go:focus-visible { outline-color: var(--p-ink, #0B1930); }
@media (max-width: 640px) {
  .ak-jump { padding: 0.85rem 0.8rem; gap: 0.65rem; }
  .ak-jump__q { flex-basis: 100%; font-size: 0.88rem; }
  .ak-jump__set { flex: 1 1 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.45rem; }
  .ak-jump__go { width: 100%; justify-content: flex-start; padding: 0.45rem 0.7rem; white-space: normal; font-size: 0.82rem; border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) { .ak-jump__go { transition: border-color .2s ease, box-shadow .2s ease; transform: none !important; } }

/* CL-265: the Ownership Promise pop-up (popups/promisesheet.html): the section's words, in a sheet */
.ak-promise .modal-box { max-width: 560px; }
.ak-promise h3 { margin: 0.2rem 0 0.7rem; font: 800 clamp(1.45rem, 3vw, 1.9rem)/1.15 'Montserrat', 'Montserrat AKfb', 'Inter', sans-serif; letter-spacing: -0.015em; }
.ak-promise .ak-plain-line { margin: 0 0 0.85rem; }
.ak-promise__list { list-style: none; counter-reset: akPromise; margin: 0 0 0.95rem; padding: 0; display: grid; gap: 0.45rem; }
.ak-promise__list li { counter-increment: akPromise; position: relative; padding: 0.5rem 0.75rem 0.5rem 2.6rem; border-radius: 12px; font-weight: 600; line-height: 1.4;
  border: 1px solid color-mix(in srgb, var(--p-emerald, #10B981) 40%, transparent); background: color-mix(in srgb, var(--p-emerald, #10B981) 8%, transparent); }
.ak-promise__list li::before { content: counter(akPromise); position: absolute; left: 0.65rem; top: 50%; transform: translateY(-50%); width: 1.45rem; height: 1.45rem; border-radius: 50%; display: grid; place-items: center;
  font: 800 0.74rem/1 'Inter', sans-serif; background: var(--p-emerald, #10B981); color: #062016; }
.ak-promise__theme { margin: 0; padding-top: 0.85rem; border-top: 1px solid var(--ak-border-subtle, rgba(255,255,255,.12)); font-size: 0.92rem; line-height: 1.5; color: var(--ak-text-muted); }
.ak-promise__theme strong { color: var(--ak-text-main, #fff); }
html[data-theme="day"] .ak-promise__list li { border-color: rgba(4,120,87,.35); background: rgba(16,185,129,.07); color: #0B1930; }
html[data-theme="day"] .ak-promise__list li::before { background: #047857; color: #fff; }
html[data-theme="day"] .ak-promise__theme { border-color: rgba(11,25,48,.12); }
html[data-theme="day"] .ak-promise__theme strong { color: #0B1930; }
/* CL-275 (Frank, hero card "Test-drive yours"): a tidy 2x2 of four buttons that share one shape and type, taken from the
   "Drag to compare" tab at the top of the hero (dark blue body, Montserrat caps, arrows, mix-coloured border and glow).
   Mix my colors     = the swatch chip of the mix that is on now (--mx-chip, set by the mixer: the same gradient as the bar's chips).
   Match my logo     = the compare tab's look: mix highlight letters (--mx-hi), mix border and glow (--mx-pri).
   Build My Brand    = the same, in the brand blue of the mix (--mx-sec), with one slow light sweep; it flies through the 3D portal into Brand Studio.
   Day/Night switch  = the same body; Day reads "Switch to Night" in brand emerald, Night reads "Switch to Day" in warm gold.
   Everything follows the visitor's color mix live. Reduced motion: no lift, no sweep. (Replaces CL-268's look.) */
.ak-why .ak-why__chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; max-width: 30rem; }
.ak-why .ak-why__chips .ak-why__chip {
  --chip-ink: var(--mx-hi, var(--p-citron));
  --chip-line: var(--mx-pri, var(--p-amber));
  --chip-glow: var(--mx-pri, var(--p-amber));
  --chip-arw: var(--p-white);
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  min-height: 48px; padding: 0.55rem 0.5rem; border-radius: 10px;
  background: linear-gradient(180deg, #0F1A2E 0%, var(--p-obsidian, #060A12) 100%);
  background-color: var(--p-obsidian, #060A12);
  border: 2px solid var(--chip-line); color: var(--chip-ink);
  font-family: var(--f-alt); font-size: 0.8rem; font-weight: 700; line-height: 1.15;
  letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--chip-glow) 14%, transparent), 0 0 18px color-mix(in srgb, var(--chip-glow) 45%, transparent), 0 10px 22px -10px rgba(0, 0, 0, 0.8);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.ak-why .ak-why__chips .ak-why__chip .ak-chip-arw { color: var(--chip-arw); font-size: 0.85rem; letter-spacing: 0; flex-shrink: 0; }
.ak-why .ak-why__chips .ak-why__chip .ak-chip-txt { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ak-why .ak-why__chips .ak-why__chip:is(:hover, :focus-visible) {
  background: linear-gradient(180deg, #0F1A2E 0%, var(--p-obsidian, #060A12) 100%);
  transform: translateY(-3px); filter: brightness(1.15);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--chip-ink) 35%, transparent), 0 0 30px color-mix(in srgb, var(--chip-glow) 90%, transparent), 0 16px 28px -10px rgba(0, 0, 0, 0.85);
}
.ak-why .ak-why__chips .ak-why__chip:focus-visible { outline: 2px solid var(--p-citron); outline-offset: 3px; }
html[data-theme="day"] .ak-why .ak-why__chips .ak-why__chip:focus-visible { outline-color: var(--p-ink); }
.ak-why .ak-why__chips .ak-why__chip:active { transform: translateY(0) scale(0.985); }

/* CL-277 (Frank: the striped Mix button was "crazy"): one calm family. Same dark body and white letters on all four;
   each pair shares one accent. Top row (the two color tools) = the mix's blue. Build My Brand = the mix's gold (the main
   step, with its sweep). Day/Night = emerald in both modes. Mix my colors shows the live mix as three small dots. */
.ak-why .ak-why__chips .ak-why__chip { --chip-ink: var(--p-white, #fff); }
.ak-why .ak-why__chips .ak-why__chip--mix,
.ak-why .ak-why__chips .ak-why__chip--logo { --chip-line: var(--mx-sec, var(--p-blue)); --chip-glow: var(--mx-sec, var(--p-blue)); --chip-arw: var(--mx-sec, var(--p-sky, #38BDF8)); }
.ak-why .ak-why__chips .ak-why__chip--mix::before {
  content: ""; flex-shrink: 0; width: 30px; height: 10px; order: -1;
  background:
    radial-gradient(circle at 5px 5px, var(--mx-pri, #F59E0B) 4.5px, transparent 5px),
    radial-gradient(circle at 15px 5px, var(--mx-hi, #FDE047) 4.5px, transparent 5px),
    radial-gradient(circle at 25px 5px, var(--mx-sec, #0284C7) 4.5px, transparent 5px);
}

/* Build My Brand: the mix's gold for border, glow and arrows, one slow sweep of light */
.ak-why .ak-why__chips .ak-why__chip--build { --chip-line: var(--mx-pri, var(--p-amber)); --chip-glow: var(--mx-pri, var(--p-amber)); --chip-arw: var(--mx-hi, var(--p-citron)); }
.ak-why .ak-why__chip--build::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 60%; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.16) 50%, transparent 100%);
  transform: translateX(-120%); will-change: transform;
  animation: akChipSweep 5.5s ease-in-out 1.2s infinite;   /* transform only: runs on the compositor, no repaint */
}
@keyframes akChipSweep { 0%, 62% { transform: translateX(-120%); } 100% { transform: translateX(220%); } }

/* Day/Night switch: emerald in Day ("Switch to Night"), warm gold in Night ("Switch to Day") */
.ak-why .ak-why__chips .ak-why__chip--theme { --chip-line: var(--p-emerald, #10B981); --chip-glow: var(--p-emerald, #10B981); --chip-arw: var(--p-emerald, #10B981); }
html[data-theme="day"] .ak-why .ak-why__chips .ak-why__chip--theme { --chip-ink: var(--p-emerald, #10B981); }

@media (max-width: 640px) {
  .ak-why .ak-why__chips { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.45rem; max-width: none; }
  .ak-why .ak-why__chips .ak-why__chip { min-height: 44px; padding: 0.4rem 0.2rem; gap: 0.2rem; font-size: 0.68rem; letter-spacing: 0.03em; }
  .ak-why .ak-why__chips .ak-why__chip .ak-chip-arw { font-size: 0.55rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ak-why .ak-why__chips .ak-why__chip { transition: box-shadow 0.2s ease; transform: none !important; }
  .ak-why .ak-why__chip--build::after { animation: none; display: none; }
}

/* CL-314 (Frank: "MIX MY COL..." was cut off on a phone): on narrow phones (400 px and under) the Mix chip drops its two small
   arrows and its three color dots sit a little closer, so "MIX MY COLORS" fits in full at 390 and 360 px. The other chips are unchanged. */
@media (max-width: 400px) {
  .ak-why .ak-why__chips .ak-why__chip--mix .ak-chip-arw { display: none; }
  .ak-why .ak-why__chips .ak-why__chip--mix::before {
    width: 26px; margin-right: 0.15rem;
    background:
      radial-gradient(circle at 4.5px 5px, var(--mx-pri, #F59E0B) 4px, transparent 4.5px),
      radial-gradient(circle at 13px 5px, var(--mx-hi, #FDE047) 4px, transparent 4.5px),
      radial-gradient(circle at 21.5px 5px, var(--mx-sec, #0284C7) 4px, transparent 4.5px);
  }
}
/* CL-270 (Frank round 3, item 10): "Not sure which service is right for you?" is the FAQ's last item (sections/11-sec-faq.html, #faq-pricing),
   about three question rows tall. Words on the left, two buttons on the right (stacked under the words on a phone).
   "Go to the pricing page" keeps its gold (.ak-pay, the visitor's main color); "Book a call" is the lifted blue (.ak-pay data-tier="1"). */
#sec-faq .ak-faq__price {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0.75rem 1.5rem;
  padding: 0.95rem 1.1rem; border-radius: 12px; scroll-margin-top: 110px;
  border: 1px solid color-mix(in srgb, var(--mx-pri, #F59E0B) 38%, var(--ak-border-subtle, rgba(255, 255, 255, .12)));
  background: linear-gradient(180deg, color-mix(in srgb, var(--mx-pri, #F59E0B) 9%, transparent), transparent 140px), var(--ak-surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 18px 32px -26px rgba(0, 0, 0, .85);
}
#sec-faq .ak-faq__price::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--mx-pri, #F59E0B) 25%, var(--mx-hi, #FDE047) 50%, var(--mx-pri, #F59E0B) 75%, transparent); }
#sec-faq .ak-faq__price h3 { margin: 0 0 0.3rem; font: 800 1.08rem/1.25 'Montserrat', 'Montserrat AKfb', 'Inter', sans-serif; letter-spacing: -0.01em; color: var(--ak-text-main); }
#sec-faq .ak-faq__price-copy p { margin: 0; font-size: 0.9rem; line-height: 1.45; color: var(--ak-text-muted); max-width: 58ch; }
#sec-faq .ak-faq__price-copy .ak-faq__price-note { margin-top: 0.35rem; font-size: 0.78rem; }
#sec-faq .ak-faq__price-acts { display: grid; gap: 0.5rem; min-width: 232px; }
#sec-faq .ak-faq__price-acts .ak-button { width: 100%; min-height: 46px; padding: 0.55rem 1rem; border-radius: 0.7rem; justify-content: space-between; }
#sec-faq .ak-faq__price-acts .ak-faq__price-call { justify-content: center; }
/* the lifted blue at rest (the CL-237 "Medium" look); hover, focus and tap fill it with the tier blue (akarec-tier.css) */
html body:not(#ak-x) #sec-faq .ak-faq__price-call {
  background: var(--btn-blue-fill) !important; color: var(--btn-blue-ink) !important; border: 1.5px solid var(--btn-blue) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 20px -10px color-mix(in srgb, var(--btn-blue) 80%, transparent) !important;
}
html[data-theme="day"] #sec-faq .ak-faq__price {
  border-color: rgba(180, 83, 9, .3);
  background: linear-gradient(180deg, color-mix(in srgb, var(--mx-pri, #F59E0B) 10%, #fff), #fff 120px);
  box-shadow: inset 0 1px 0 #fff, 0 16px 30px -24px rgba(11, 25, 48, .45);
}
html[data-theme="day"] #sec-faq .ak-faq__price h3 { color: var(--p-ink); }
@media (max-width: 760px) {
  #sec-faq .ak-faq__price { grid-template-columns: 1fr; gap: 0.65rem; padding: 0.85rem 0.9rem; }
  #sec-faq .ak-faq__price h3 { font-size: 1rem; margin-bottom: 0.2rem; }
  #sec-faq .ak-faq__price-copy p { font-size: 0.86rem; line-height: 1.4; }
  #sec-faq .ak-faq__price-copy .ak-faq__price-note { font-size: 0.74rem; }
  /* phone: the two buttons side by side, so the item stays about three rows tall */
  #sec-faq .ak-faq__price-acts { min-width: 0; grid-template-columns: 1fr 1fr; }
  #sec-faq .ak-faq__price-acts .ak-button { justify-content: center; text-align: center; padding: 0.45rem 0.6rem; font-size: 0.86rem; line-height: 1.2; }
  #sec-faq .ak-faq__price-acts .ak-button > span[aria-hidden="true"] { display: none; }
}
/* CL-272 (Frank round 3, item 9): Industry tab 1, the two buttons added to the sample tool's action row, and the "Purchase tool now" sheet
   (popups/toolbuysheet.html, scripts/40-industry-buy.js). The row's own Book / Text me buttons stay blue (CL-237); "Go to the <Industry> page"
   is the quiet outline (CL-237 secondary), "Purchase tool now" the gold buy button. Hover, focus and tap lift them (akarec-tier.css .ak-pay). */
html:root body:not(#ak-x):not(#ak-y) #indPanelContainer .ak-tool-actions .ak-tool-actions__page {
  background: transparent !important; color: var(--ak-text-main) !important; border: 1.5px solid var(--btn-line-night) !important; box-shadow: none !important;
  gap: 0.5rem; text-decoration: none;
}
html:root body:not(#ak-x):not(#ak-y) #indPanelContainer .ak-tool-actions .ak-tool-actions__page:is(:hover, :focus-visible) { border-color: var(--btn-blue) !important; transform: translateY(-2px); }
html[data-theme="day"]:root body:not(#ak-x):not(#ak-y) #indPanelContainer .ak-tool-actions .ak-tool-actions__page { border-color: var(--btn-line-day) !important; color: var(--p-ink) !important; }
html:root body:not(#ak-x):not(#ak-y) #indPanelContainer .ak-tool-actions .ak-tool-actions__buy {
  background: linear-gradient(180deg, color-mix(in srgb, var(--mx-pri, #F59E0B) 78%, #fff), var(--mx-pri, #F59E0B)) !important; color: var(--ak-tier-ink, #060A12) !important;
  border: 1.5px solid color-mix(in srgb, var(--mx-pri, #F59E0B) 70%, #fff) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 8px 20px -10px color-mix(in srgb, var(--mx-pri, #F59E0B) 85%, transparent) !important;
}
html:root body:not(#ak-x):not(#ak-y) #indPanelContainer .ak-tool-actions .ak-tool-actions__buy:is(:hover, :focus-visible) {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 10px 26px -10px color-mix(in srgb, var(--mx-pri, #F59E0B) 85%, transparent), 0 0 24px -6px color-mix(in srgb, var(--mx-pri, #F59E0B) 70%, transparent) !important;
}
/* the contractors row hides Book (29-ak-roof-critical); the two new buttons show there too */
@media (prefers-reduced-motion: reduce) { html:root body:not(#ak-x):not(#ak-y) #indPanelContainer .ak-tool-actions :is(.ak-tool-actions__page, .ak-tool-actions__buy) { transform: none !important; } }

/* the sheet */
.ak-toolbuy .modal-box { max-width: 640px; max-height: 88vh; overflow-y: auto; overscroll-behavior: contain; }
.ak-toolbuy h3 { margin: 0.2rem 0 0.5rem; font: 800 clamp(1.35rem, 3vw, 1.75rem)/1.15 'Montserrat', 'Montserrat AKfb', 'Inter', sans-serif; letter-spacing: -0.015em; }
.ak-toolbuy .ak-plain-line { margin: 0 0 0.9rem; }
.ak-toolbuy__opts { display: grid; gap: 0.75rem; }
.ak-toolbuy__opt { padding: 0.85rem 0.95rem; border-radius: 14px; border: 1px solid var(--ak-border-subtle, rgba(255, 255, 255, .12)); background: color-mix(in srgb, var(--ak-surface-2, #0F1A2E) 70%, transparent); }
.ak-toolbuy__opt h4 { display: flex; align-items: center; gap: 0.55rem; margin: 0 0 0.2rem; font: 800 1.02rem/1.2 'Montserrat', 'Montserrat AKfb', 'Inter', sans-serif; }
.ak-toolbuy__n { display: inline-grid; place-items: center; width: 1.45rem; height: 1.45rem; border-radius: 50%; font: 800 0.74rem/1 'Inter', sans-serif; background: var(--mx-pri, #F59E0B); color: #060A12; }
.ak-toolbuy__opt > p { margin: 0 0 0.55rem; font-size: 0.88rem; color: var(--ak-text-muted); }
.ak-toolbuy__sub { margin: 0.7rem 0 0.4rem; padding-top: 0.6rem; border-top: 1px solid var(--ak-border-subtle, rgba(255, 255, 255, .12)); font-size: 0.85rem; color: var(--ak-text-muted); }
.ak-toolbuy__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.ak-toolbuy__row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 0.4rem 0.8rem; padding: 0.45rem 0.55rem 0.45rem 0.75rem; border-radius: 10px; background: color-mix(in srgb, var(--ak-surface, #0B1220) 80%, transparent); border: 1px solid var(--ak-border-subtle, rgba(255, 255, 255, .1)); }
.ak-toolbuy__name { font-weight: 700; font-size: 0.92rem; line-height: 1.3; }
.ak-toolbuy__name small { display: block; font-weight: 500; font-size: 0.78rem; color: var(--ak-text-muted); }
.ak-toolbuy__price { font-weight: 800; font-size: 0.92rem; white-space: nowrap; color: var(--mx-hi, #FDE047); }
.ak-toolbuy__go.ak-button { min-height: 44px; padding: 0.45rem 0.9rem; font-size: 0.86rem; border-radius: 0.65rem; white-space: nowrap; }
html[data-theme="day"] .ak-toolbuy__opt { background: #fff; border-color: rgba(11, 25, 48, .12); }
html[data-theme="day"] .ak-toolbuy__row { background: color-mix(in srgb, var(--mx-pri, #F59E0B) 5%, #fff); border-color: rgba(11, 25, 48, .1); }
html[data-theme="day"] .ak-toolbuy__price { color: var(--mx-day-pri, #B45309); }
html[data-theme="day"] .ak-toolbuy__sub { border-color: rgba(11, 25, 48, .12); }
@media (max-width: 640px) {
  .ak-toolbuy__row { grid-template-columns: minmax(0, 1fr) auto; }
  .ak-toolbuy__go.ak-button { grid-column: 1 / -1; width: 100%; justify-content: center; }
}
/* CL-276 (Frank: "the hero quote is too small"; the Test-drive card "sits awkwardly ... maybe have it float"): hero balance.
   1. Headline and support line: larger, lines balanced (no stray short line).
   2. The Test-drive card is a floating glass card: centred and symmetrical, as wide as the words above it, soft depth,
      a mix-coloured light on its top edge and a gentle lift on hover. "Test-drive yours." is the big line of the card.
   3. The 2x2 (CL-275) keeps its colors and functions; it only fills the card now.
   Roles only (--mx-*, --ak-*), so the card follows the visitor's color mix. Day + Night. Reduced motion: no lift. */
#sec-hero h2.ak-open__h, #sec-hero .ak-open__support { text-wrap: balance; }
@media (min-width: 1024px) {
  #sec-hero h2.ak-open__h { font-size: clamp(2.2rem, 3.4vw, 3.05rem) !important; line-height: 1.04; letter-spacing: -0.012em; margin-bottom: 0.9rem !important; }
  #sec-hero .ak-open__support { font-size: 1.2rem; margin-bottom: 1.2rem; }
}

#sec-hero .ak-why {
  position: relative; max-width: none; margin-top: 1.4rem; padding: 1.1rem 1.4rem 0.75rem; text-align: center; border-radius: 22px;
  border: 1px solid color-mix(in srgb, var(--mx-pri, var(--p-amber)) 28%, rgba(255, 255, 255, 0.14));
  background:
    radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--mx-pri, var(--p-amber)) 13%, transparent) 0%, transparent 60%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.025) 55%, rgba(255, 255, 255, 0.05) 100%),
    color-mix(in srgb, var(--ak-surface-elevated) 62%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.25); backdrop-filter: blur(16px) saturate(1.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -1px 0 rgba(0, 0, 0, 0.35), 0 2px 4px rgba(0, 0, 0, 0.3),
    0 26px 44px -18px rgba(0, 0, 0, 0.7), 0 46px 40px -36px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 55%, transparent);
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.45s ease;
}
/* the light on the top edge, in the mix's three colors */
#sec-hero .ak-why::before {
  content: ""; position: absolute; top: -1px; left: 14%; right: 14%; height: 2px; border-radius: 2px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--mx-pri, var(--p-amber)) 22%, var(--mx-hi, var(--p-citron)) 50%, var(--mx-sec, var(--p-blue)) 78%, transparent);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  #sec-hero .ak-why:hover, #sec-hero .ak-why:focus-within {
    transform: translateY(-5px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.35), 0 2px 4px rgba(0, 0, 0, 0.3),
      0 38px 56px -20px rgba(0, 0, 0, 0.78), 0 58px 46px -38px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 70%, transparent);
  }
}

/* eyebrow: centred between two hairlines */
#sec-hero .ak-why > .ak-eyebrow { display: flex; align-items: center; justify-content: center; gap: 0.8rem; margin: 0; }
#sec-hero .ak-why > .ak-eyebrow::before, #sec-hero .ak-why > .ak-eyebrow::after {
  content: ""; position: static; flex: 1 1 0; width: auto; max-width: 5.5rem; height: 1px; border: 0; border-radius: 0; transform: none; opacity: 0.6;
  background: linear-gradient(90deg, transparent, currentColor);
}
#sec-hero .ak-why > .ak-eyebrow::after { background: linear-gradient(270deg, transparent, currentColor); }

/* the quote: a quiet first line, then the big one */
#sec-hero .ak-why__title { margin: 0.45rem 0 0.9rem; font-size: 1.05rem; line-height: 1.2; color: color-mix(in srgb, var(--ak-text-main) 82%, transparent); }
#sec-hero .ak-why__title > span { display: block; margin-top: 0.15rem; font-size: clamp(1.7rem, 2.3vw, 2.05rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.015em; }

#sec-hero .ak-why .ak-why__chips { max-width: none; gap: 0.7rem; }
#sec-hero .ak-why__more { display: inline-block; margin: 0.55rem auto 0; }

/* Day: white glass on the blueprint panel (CL-258 look kept) */
html[data-theme="day"] #sec-hero .ak-why {
  border-color: color-mix(in srgb, var(--mx-pri, var(--p-amber)) 32%, rgba(15, 23, 42, 0.1));
  background:
    radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--mx-pri, var(--p-amber)) 11%, transparent) 0%, transparent 60%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.64) 100%);
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(15, 23, 42, 0.08), 0 26px 44px -20px rgba(15, 23, 42, 0.32),
    0 44px 38px -36px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 60%, transparent);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  html[data-theme="day"] #sec-hero .ak-why:hover, html[data-theme="day"] #sec-hero .ak-why:focus-within {
    box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(15, 23, 42, 0.08), 0 38px 56px -22px rgba(15, 23, 42, 0.4),
      0 56px 44px -38px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 72%, transparent);
  }
}

/* phone 390: designed, not inherited */
@media (max-width: 640px) {
  #sec-hero h2.ak-open__h { font-size: clamp(1.55rem, 6.8vw, 1.95rem) !important; line-height: 1.06; }
  #sec-hero .ak-why { margin-top: 1.15rem; padding: 0.95rem 0.8rem 0.45rem; border-radius: 18px; }
  #sec-hero .ak-why > .ak-eyebrow { gap: 0.55rem; }
  #sec-hero .ak-why__title { margin: 0.45rem 0 0.75rem; font-size: 0.98rem; }
  #sec-hero .ak-why__title > span { font-size: 1.6rem; }
  #sec-hero .ak-why .ak-why__chips { gap: 0.5rem; }
  #sec-hero .ak-why__more { margin-top: 0.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  #sec-hero .ak-why { transition: none; }
}

/* CL-281: proof points under the support line: one slim line, dots in the visitor's mix color. Day + Night, wraps on phone. */
#sec-hero .ak-open__proof { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0; margin: -0.35rem 0 1.15rem; font: 600 0.78rem/1.5 'Inter', sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: #94A3B8; }
#sec-hero .ak-open__proof > span + span::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 0.7rem; border-radius: 50%; vertical-align: 0.15em; background: var(--mx-pri, var(--p-amber)); }
html[data-theme="day"] #sec-hero .ak-open__proof { color: var(--p-slate-600, #475569); }
@media (max-width: 600px) { #sec-hero .ak-open__proof { flex-wrap: nowrap; white-space: nowrap; font-size: clamp(0.6rem, 2.9vw, 0.8rem); letter-spacing: 0; text-transform: none; margin-top: -0.2rem; } #sec-hero .ak-open__proof > span + span::before { width: 4px; height: 4px; margin: 0 0.35rem; } }

/* CL-313 hero v4 (Page Architect HERO-v4.md, Frank option C): no button row, no carousel. Words left, Test-drive panel right,
   vertically centred; one screen on desktop and phone. Roles only; Day + Night. */
#sec-hero .ak-open__eyebrow { margin: 0 0 0.85rem; font: 700 0.82rem/1.35 'Inter', sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mx-sec-soft, #7DD3FC); }
html[data-theme="day"] #sec-hero .ak-open__eyebrow { color: var(--mx-day-sec, #0369A1); }
#sec-hero #heroDemoColumn { width: 100%; max-width: 520px; justify-self: center; }
#sec-hero #heroDemoColumn .ak-why { margin-top: 0; }
#sec-hero .ak-why__info { display: none; }
@media (min-width: 1024px) {
  #sec-hero .hero-reality-stage > div[style*="padding"] { padding-top: 2.25rem !important; padding-bottom: 2.25rem !important; }
  #sec-hero .ak-grid-2 { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
}
@media (max-width: 1023px) {
  #sec-hero #heroDemoColumn { max-width: 560px; margin: 0 auto; }
}
@media (max-width: 640px) {
  #sec-hero .hero-reality-stage > div[style*="padding"] { padding: 4.6rem 1.1rem 1.4rem !important; }
  #sec-hero .ak-grid-2 { gap: 0.4rem; }
  #sec-hero .ak-open__eyebrow { font-size: 0.7rem; letter-spacing: 0.1em; margin-bottom: 0.6rem; }
  #sec-hero #heroDemoColumn { margin-top: 0.5rem; }
  /* the Why link becomes a small (i) beside the panel eyebrow, saving a row */
  #sec-hero .ak-why { position: relative; }
  #sec-hero .ak-why__more { position: absolute; top: 0.55rem; right: 0.6rem; width: 1.7rem; height: 1.7rem; margin: 0; padding: 0; overflow: hidden; border-radius: 50%; font-size: 0; display: grid; place-items: center; border: 1px solid currentColor; }
  #sec-hero .ak-why__more::before { content: "i"; font: 700 0.95rem/1 'Inter', sans-serif; text-transform: none; }
}
/* CL-315 (Frank 2026-11-29: "Prices published · You own everything · Philadelphia, PA ... YES etch it"):
   the hero's three proof points become an etched brushed-metal plate. Real HTML text (Google still reads "Philadelphia, PA").
   No new layers or glows: one plate, a 1px brushing pattern, inset bevel, engraved letters (two thin text shadows).
   Dots follow the visitor's color mix. Day + Night; one line on phone. Overrides the CL-281 rules in 70-hero-balance.css. */
#sec-hero .ak-open__proof {
  --plate-a: #2A3344; --plate-b: #161D2A; --plate-ink: #B9C3D2; --etch-hi: rgba(255, 255, 255, 0.10); --etch-lo: rgba(0, 0, 0, 0.7);
  display: inline-flex; flex-wrap: nowrap; align-items: center; width: max-content; max-width: 100%;
  margin: 0.1rem 0 1.15rem; padding: 0.5rem 1.1rem 0.52rem; border-radius: 9px;
  font: 600 0.74rem/1.3 'JetBrains Mono', 'JetBrains Mono AKfb', ui-monospace, monospace; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--plate-ink); text-shadow: 0 1px 0 var(--etch-hi), 0 -1px 0 var(--etch-lo);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, var(--plate-a), var(--plate-b));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -1px 0 rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.45), 0 10px 22px -14px rgba(0, 0, 0, 0.8);
}
/* the plate's lettering is fixed: the Day "try a font" rule (03-style-tryout.css) restyles every paragraph and would turn it into body text */
#sec-hero .ak-open__proof { font-family: 'JetBrains Mono', 'JetBrains Mono AKfb', ui-monospace, monospace !important; }
#sec-hero .ak-open__proof > span { white-space: nowrap; }
#sec-hero .ak-open__proof > span + span::before {
  width: 4px; height: 4px; margin: 0 0.85rem; vertical-align: 0.18em;
  background: var(--mx-pri, var(--p-amber)); box-shadow: 0 1px 0 var(--etch-hi), 0 -1px 0 rgba(0, 0, 0, 0.5);
}
html[data-theme="day"] #sec-hero .ak-open__proof {
  --plate-a: #EEEAE3; --plate-b: #D9D3C9; --plate-ink: #3B4457; --etch-hi: rgba(255, 255, 255, 0.9); --etch-lo: rgba(0, 0, 0, 0.16);
  color: var(--plate-ink);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.35) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, var(--plate-a), var(--plate-b));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(11, 25, 48, 0.14), 0 10px 20px -14px rgba(11, 25, 48, 0.45);
}
html[data-theme="day"] #sec-hero .ak-open__proof > span + span::before { background: var(--mx-day-pri, var(--p-gold)); }
@media (max-width: 600px) {
  #sec-hero .ak-open__proof { padding: 0.42rem 0.55rem 0.44rem; margin-top: 0; font-size: clamp(0.5rem, 2.3vw, 0.66rem); letter-spacing: 0; text-transform: uppercase; }
  #sec-hero .ak-open__proof > span + span::before { width: 3px; height: 3px; margin: 0 0.32rem; }
}
/* the smallest phones (under 345px): the plate may take two lines rather than cut a word */
@media (max-width: 344px) {
  #sec-hero .ak-open__proof { flex-wrap: wrap; justify-content: center; row-gap: 0.1rem; width: auto; }
}
/* CL-316 (Frank 2026-11-29: "im happy with this hero ... add our copy and lets go"): the home hero is the
   "color field". One idea: the H1, one line, four links, one blue Action button, the etched plate, and a field of
   gold / emerald / blue dashes (js/akarec-hero-field.js) that gathers into what we build. The hero is the darker
   obsidian-blue stage in Day AND Night (Frank), so its words are always light. No gold fill (BUTTON-SYSTEM: hero = none).
   Drag to compare and the Test-drive panel are out of view (the Drag to compare markup is kept, hidden, in the section).
   Funnel step 1 "Open": each link hands off to its tool further down the page. */
#sec-hero.hf-on {
  --hf-ink: #FAF8F5; --hf-muted: #B9C5D8; --hf-tab: #C9D3E2; --hf-deep: #0C2244; --hf-mid: #08152B;
  position: relative; overflow: hidden; padding: 0 !important; margin: 0 !important; color: var(--hf-ink);
  background: radial-gradient(120% 110% at 72% 42%, var(--hf-deep) 0%, var(--hf-mid) 55%, var(--p-obsidian) 100%) !important;
}
#sec-hero.hf-on::before, #sec-hero.hf-on::after,
html[data-theme] #sec-hero.hf-on #heroStageSurface#heroStageSurface::before, html[data-theme] #sec-hero.hf-on #heroStageSurface#heroStageSurface::after,
#sec-hero.hf-on .hero-reality-stage::before, #sec-hero.hf-on .hero-reality-stage::after { display: none !important; }
#sec-hero.hf-on > .akp-bg { display: none !important; }
#sec-hero.hf-on #hfCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
/* CL-318: the stage runs edge to edge again as the positioned box, so Drag to compare (the old-site wipe and its
   landing "glitch") covers the whole hero; the words sit in .hf-in at the page's normal width */
#sec-hero.hf-on .ak-container { position: static; max-width: none !important; width: 100% !important; padding: 0 !important; margin: 0 !important; }
/* (the id twice + html[data-theme]: the Day stage rules use up to three attribute selectors and !important) */
html[data-theme] #sec-hero.hf-on #heroStageSurface#heroStageSurface.hero-reality-stage,
#sec-hero.hf-on #heroStageSurface#heroStageSurface.hero-reality-stage {
  position: relative !important; display: block !important; background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important;
  overflow: hidden !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important; transform: none !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
#sec-hero.hf-on .hf-in {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: center;
  width: min(1212px, calc(100% - 2rem)); margin: 0 auto;
  height: calc(100vh - 136px); min-height: 600px; max-height: 720px;
}
#sec-hero.hf-on .hf-copy { max-width: 580px; }
#sec-hero.hf-on .hf-h1 {
  margin: 0 0 1rem; font: 800 clamp(1.9rem, 3.1vw, 2.75rem)/1.1 'Montserrat', 'Inter', system-ui, sans-serif !important;
  letter-spacing: -0.02em; text-transform: none; text-wrap: balance; color: var(--hf-ink) !important;
  background: none !important; -webkit-text-fill-color: currentColor;
}
html[data-theme] body #sec-hero#sec-hero.hf-on .hf-copy p.ak-open__support, #sec-hero.hf-on .ak-open__support {
  margin: 0 0 1.2rem; max-width: 44ch; font: 400 1.08rem/1.5 'Inter', system-ui, sans-serif !important; color: var(--hf-muted) !important;
}
/* CL-318: the signature line is back under the new H1. Solid color, no gradient: Linen, then gold for the turn */
html[data-theme] body #sec-hero#sec-hero.hf-on .hf-copy p.hf-sig, #sec-hero.hf-on .hf-sig {
  --hf-gold: var(--p-citron, #FDE047);   /* CL-349: brand yellow (Frank: "one line being white and the other yellow") */
  margin: 0 0 0.7rem; max-width: 30ch; font: 700 clamp(1.15rem, 1.55vw, 1.4rem)/1.3 'Montserrat', 'Inter', system-ui, sans-serif !important;
  letter-spacing: -0.01em; text-transform: none; color: var(--hf-ink) !important;
}
html[data-theme] body #sec-hero#sec-hero.hf-on .hf-sig > span, #sec-hero.hf-on .hf-sig > span {
  display: block; color: var(--hf-gold) !important; background: none !important; -webkit-text-fill-color: currentColor;
}
#sec-hero.hf-on .hf-tabs { display: flex; flex-wrap: wrap; gap: 0.3rem 1.4rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
#sec-hero.hf-on .hf-tabs li { margin: 0; padding: 0; }
#sec-hero.hf-on .hf-tabs a {
  display: inline-block; padding: 0.5rem 0 0.42rem; font: 700 0.95rem/1.3 'Inter', system-ui, sans-serif; color: var(--hf-tab) !important;
  text-decoration: none; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s;
}
#sec-hero.hf-on .hf-tabs a[aria-current="true"], #sec-hero.hf-on .hf-tabs a:hover { color: var(--p-white) !important; border-bottom-color: var(--mx-sec-soft, var(--p-sky-pale)); }
#sec-hero.hf-on .hf-tabs a:focus-visible, #sec-hero.hf-on .hf-btn:focus-visible { outline: 3px solid var(--mx-sec-soft, var(--p-sky-pale)); outline-offset: 3px; }
/* Action (blue) button: the mix's secondary, white text (BUTTON-SYSTEM tier "Action") */
#sec-hero.hf-on .hf-btn {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 48px; padding: 0.8rem 1.4rem; border-radius: 10px;
  font: 700 1rem/1.2 'Inter', system-ui, sans-serif; color: var(--p-white) !important; text-decoration: none;
  background: var(--mx-sec-deep, var(--p-blue-deep)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--mx-sec-soft, var(--p-sky-pale)) 55%, transparent);
}
#sec-hero.hf-on .hf-btn:hover { filter: brightness(1.12); }
#sec-hero.hf-on .ak-open__proof { display: flex; margin: 1.2rem 0 0; }
/* the hero stays dark in Day, so the plate keeps its dark (Night) metal there too */
html[data-theme="day"] #sec-hero.hf-on .ak-open__proof {
  --plate-a: #2A3344; --plate-b: #161D2A; --plate-ink: #B9C3D2; --etch-hi: rgba(255, 255, 255, 0.10); --etch-lo: rgba(0, 0, 0, 0.7);
  color: var(--plate-ink);
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 3px), linear-gradient(180deg, var(--plate-a), var(--plate-b));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -1px 0 rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.45), 0 10px 22px -14px rgba(0, 0, 0, 0.8);
}
html[data-theme="day"] #sec-hero.hf-on .ak-open__proof > span + span::before { background: var(--mx-pri, var(--p-amber)); }
#sec-hero.hf-on #heroDemoColumn { width: 100%; max-width: none; height: min(78%, 520px); margin: 0; justify-self: stretch; }

/* CL-319 + CL-320 (Frank 2026-11-29: "make the text in the hero larger and fill out the rest of the hero"; then, on his own
   marked-up screenshot: "everything should fit inside the red box ... that grey oval should fit comfortably in between where
   the rest of the text ends and the button underneath. none of the buttons should be running off of the page").
   Desktop and tablet. The words are sized from the hero itself (its height, cqh) and from their own column (its width, cqw),
   so at any window size: the headline is 4 lines or fewer, every other line is ONE line, the four links stay on one row,
   and the whole stack (words, plate, button) fits between the Drag to compare tab and the Random Aura / Texture toolbar. */
@media (min-width: 721px) {
  #sec-hero.hf-on .hf-in { container-type: size; grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr); gap: 2rem; align-items: stretch; max-height: 880px; }
  #sec-hero.hf-on .hf-copy {
    max-width: none; container-type: inline-size; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 1.5rem 0 1.4rem;
  }
  #sec-hero.hf-on .hf-h1 { font-size: clamp(1.7rem, min(9.4cqh, 9.2cqw), 4.5rem) !important; margin: 0 0 2.4cqh; text-wrap: balance; }
  html[data-theme] body #sec-hero#sec-hero.hf-on .hf-copy p.hf-sig, #sec-hero.hf-on .hf-sig {
    max-width: none; font-size: clamp(1.05rem, min(3.9cqh, 4.4cqw), 2rem) !important; margin: 0 0 2.2cqh;
  }
  #sec-hero.hf-on .hf-sig, #sec-hero.hf-on .hf-sig > span, #sec-hero.hf-on .ak-open__support { white-space: nowrap; }
  html[data-theme] body #sec-hero#sec-hero.hf-on .hf-copy p.ak-open__support, #sec-hero.hf-on .ak-open__support {
    max-width: none; font-size: clamp(0.92rem, min(2.7cqh, 3.4cqw), 1.4rem) !important; margin: 0 0 1.7cqh;
  }
  #sec-hero.hf-on .hf-tabs { flex-wrap: nowrap; white-space: nowrap; gap: 0 1.4em; margin: 0 0 1.8cqh; font-size: clamp(0.82rem, min(2.3cqh, 2.5cqw), 1.15rem); }
  #sec-hero.hf-on .hf-tabs a { font-size: 1em; }
  /* the plate sits between the words and the button (Frank); its letters size from the column (about 46 em of text) */
  #sec-hero.hf-on .ak-open__proof {
    order: 1; margin: 0 0 2cqh; padding: 0.62em 1.4em 0.64em; font-size: min(0.92rem, calc(100cqw / 46.5)); border-radius: 0.8em;
  }
  #sec-hero.hf-on .ak-open__proof > span + span::before { margin: 0 1.1em; }
  #sec-hero.hf-on .hf-btn { order: 2; font-size: clamp(1rem, 2.5cqh, 1.2rem); min-height: 50px; padding: 0.85em 1.6em; margin: 0; }
  #sec-hero.hf-on #heroDemoColumn { align-self: center; }
}
/* the words start below the Drag to compare tab (top left) wherever the two would meet */
@media (min-width: 721px) and (max-width: 1840px) { #sec-hero.hf-on .hf-copy { padding-top: 5.1rem; } }
/* where the hero reaches the bottom of the screen, the button stops above the Random Aura / Texture toolbar */
@media (min-width: 1281px) and (max-height: 1060px) { #sec-hero.hf-on .hf-copy { padding-bottom: 4.7rem; } }

/* CL-320 (Frank: "the glitch is supposed to happen upon entry"): the landing glitch itself, as the first hero had it.
   A half-second jolt with a color shift on the hero, once, while the old site flashes in from the left. Not with reduced motion. */
@keyframes hfGlitch {
  0%, 100% { transform: translate(0, 0); filter: none; }
  18% { transform: translate(-7px, 2px); filter: hue-rotate(45deg) contrast(1.3); }
  36% { transform: translate(6px, -3px); filter: invert(0.15); }
  54% { transform: translate(-4px, -1px); filter: saturate(1.8); }
  72% { transform: translate(3px, 1px); filter: hue-rotate(-30deg) contrast(1.15); }
}
#sec-hero.hf-on.hf-glitch .hf-in, #sec-hero.hf-on.hf-glitch #hfCanvas { animation: hfGlitch 0.8s cubic-bezier(0.25, 1, 0.5, 1) 1; }
@media (prefers-reduced-motion: reduce) { #sec-hero.hf-on.hf-glitch .hf-in, #sec-hero.hf-on.hf-glitch #hfCanvas { animation: none; } }

@media (max-width: 1024px) and (min-width: 721px) {
  #sec-hero.hf-on .hf-in { gap: 1.25rem; }
}
@media (max-width: 720px) {
  #sec-hero.hf-on .hf-in { grid-template-columns: 1fr; gap: 0; height: auto; min-height: 0; max-height: none; padding: 4.9rem 0 1.1rem; }
  #sec-hero.hf-on .hf-sig { font-size: 1.05rem !important; margin-bottom: 0.5rem; max-width: none; }
  #sec-hero.hf-on .hf-copy { display: contents; }
  #sec-hero.hf-on .hf-h1 { font-size: clamp(1.5rem, 7.1vw, 1.9rem) !important; margin-bottom: 0.7rem; }
  #sec-hero.hf-on .ak-open__support { font-size: 0.98rem !important; margin-bottom: 0.5rem; }
  #sec-hero.hf-on .hf-tabs { gap: 0.1rem 1.1rem; margin-bottom: 0.3rem; }
  #sec-hero.hf-on .hf-tabs a { font-size: 0.9rem; padding: 0.6rem 0 0.5rem; }
  /* CL-347 (Frank on his phone: "the box is too small and cutting off graphic ... make it look amazing"): the picture's box
     was 168 px tall, too small for the dashes to draw anything, and its top was rubbed out by the fade behind the words.
     Now a square about three quarters of the screen wide, after the button, so the words and the action share the first screen. */
  #sec-hero.hf-on .hf-btn { order: 2; width: 100%; justify-content: center; margin-top: 0.35rem; }
  #sec-hero.hf-on #heroDemoColumn { order: 3; height: min(88vw, 360px); margin-top: 0.7rem; }   /* CL-349: bigger, in the room the removed line freed */
  html[data-theme] body #sec-hero#sec-hero.hf-on .hf-copy p.hf-sig, #sec-hero.hf-on .hf-sig { font-size: clamp(1.02rem, 4.9vw, 1.3rem) !important; margin-bottom: 0.6rem; }
  #sec-hero.hf-on .ak-open__proof { order: 4; margin: 0.9rem auto 0; }
}

/* CL-321 (Frank 2026-11-29: "lets put my day and night button back"): the hero's Day / Night switch, top right of the hero,
   the twin of the Drag to compare tab on the left (same tab look, emerald line as it had in the Test-drive panel). */
#sec-hero.hf-on .hf-theme {
  position: absolute; top: 21px; right: 16px; z-index: 26; appearance: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 48px; padding: 0.6rem 1rem; border-radius: 12px;
  font: 700 0.86rem/1 'JetBrains Mono', 'JetBrains Mono AKfb', ui-monospace, monospace; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap;
  color: var(--p-white) !important; background: rgba(6, 12, 24, 0.86); border: 2px solid var(--p-emerald, #10B981);
  box-shadow: 0 0 18px -6px var(--p-emerald, #10B981); transition: box-shadow 0.2s ease, transform 0.2s ease;
}
#sec-hero.hf-on .hf-theme__arw { color: var(--p-emerald, #10B981); font-size: 0.8rem; letter-spacing: 0; }
#sec-hero.hf-on .hf-theme:is(:hover, :focus-visible) { box-shadow: 0 0 26px -4px var(--p-emerald, #10B981); transform: translateY(-1px); }
#sec-hero.hf-on .hf-theme:focus-visible { outline: 3px solid var(--p-emerald, #10B981); outline-offset: 3px; }
@media (max-width: 720px) {
  #sec-hero.hf-on .hf-theme { top: 12px; right: 10px; min-height: 44px; padding: 0.45rem 0.6rem; gap: 0.35rem; font-size: 0.66rem; letter-spacing: 0.06em; border-width: 1.5px; }
  #sec-hero.hf-on .hf-theme__arw { display: none; }
}
@media (prefers-reduced-motion: reduce) { #sec-hero.hf-on .hf-theme { transition: none; transform: none !important; } }
/* CL-322 (Frank 2026-11-29: "Yes, build it"): home "How we work + proof" (sections/07a-sec-how.html).
   Compact: a "Try it before you pay" row (4 tool links), 4 numbered steps joined by a line, 3 quiet proof facts, one blue
   Action button. No gold fill, no script, no images. Colors come from the page tokens, so it follows Day / Night and the mix. */
#sec-how { padding: 4.25rem 0; }
#sec-how .akhow__head { max-width: 62ch; margin-bottom: 1.6rem; }
#sec-how .akhow__try {
  padding: 1.15rem 1.25rem 1.05rem; margin-bottom: 2rem; border-radius: 16px;
  border: 1px solid var(--ak-border-subtle); background: var(--ak-surface);
}
#sec-how .akhow__try-title { margin: 0 0 0.8rem; font: 800 1.25rem/1.2 'Montserrat', 'Inter', system-ui, sans-serif; color: var(--ak-text-main); }
#sec-how .akhow__tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.7rem; margin: 0; padding: 0; list-style: none; }
#sec-how .akhow__tools a {
  display: flex; flex-direction: column; gap: 0.2rem; height: 100%; min-height: 64px; padding: 0.75rem 0.9rem; border-radius: 12px; text-decoration: none;
  border: 1.5px solid color-mix(in srgb, var(--mx-sec, var(--p-blue)) 55%, transparent); background: color-mix(in srgb, var(--mx-sec, var(--p-blue)) 9%, transparent);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
#sec-how .akhow__tools a:is(:hover, :focus-visible) { background: color-mix(in srgb, var(--mx-sec, var(--p-blue)) 18%, transparent); border-color: var(--mx-sec, var(--p-blue)); transform: translateY(-2px); }
#sec-how .akhow__tools a:focus-visible, #sec-how .akhow__prices:focus-visible { outline: 3px solid var(--mx-sec-soft, var(--p-sky-pale)); outline-offset: 3px; }
#sec-how .akhow__tools b { font: 700 1rem/1.25 'Inter', system-ui, sans-serif; color: var(--ak-text-main); }
#sec-how .akhow__tools b::after { content: " \203A"; color: var(--mx-sec-soft, var(--p-sky)); }
html[data-theme="day"] #sec-how .akhow__tools b::after { color: var(--mx-day-sec, var(--p-blue-deep)); }
#sec-how .akhow__tools span { font: 400 0.9rem/1.35 'Inter', system-ui, sans-serif; color: var(--ak-text-muted); }
#sec-how .akhow__try-note { margin: 0.8rem 0 0; font: 400 0.95rem/1.45 'Inter', system-ui, sans-serif; color: var(--ak-text-muted); }

#sec-how .akhow__steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; margin: 0 0 1.8rem; padding: 0; list-style: none; }
/* the line that joins step 1 to step 4 */
#sec-how .akhow__steps::before {
  content: ""; position: absolute; left: 22px; right: calc(25% - 1.125rem - 22px); top: 21px; height: 2px;
  background: linear-gradient(90deg, var(--p-emerald, #10B981), color-mix(in srgb, var(--mx-sec, var(--p-blue)) 70%, transparent));
  opacity: 0.55;
}
#sec-how .akhow__steps li { position: relative; margin: 0; padding: 0; }
#sec-how .akhow__n {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 0.8rem; border-radius: 50%;
  font: 800 1.05rem/1 'Montserrat', 'Inter', system-ui, sans-serif; color: var(--p-emerald, #10B981);
  border: 2px solid var(--p-emerald, #10B981); background: var(--ak-surface-elevated, var(--ak-surface));
}
#sec-how .akhow__steps h3 { margin: 0 0 0.35rem; font: 800 1.15rem/1.25 'Montserrat', 'Inter', system-ui, sans-serif; text-transform: none; letter-spacing: -0.01em; color: var(--ak-text-main); }
#sec-how .akhow__steps p { margin: 0; font: 400 0.97rem/1.5 'Inter', system-ui, sans-serif; color: var(--ak-text-muted); }

#sec-how .akhow__proof {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin: 0 0 1.8rem; padding: 1.2rem 0 0; list-style: none;
  border-top: 1px solid var(--ak-border-subtle);
}
#sec-how .akhow__proof li { margin: 0; font: 400 0.95rem/1.5 'Inter', system-ui, sans-serif; color: var(--ak-text-muted); }
#sec-how .akhow__proof b { display: block; margin-bottom: 0.15rem; font-weight: 700; color: var(--ak-text-main); }
#sec-how .akhow__go { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.9rem 1.5rem; }
#sec-how .akhow__go .ak-button { min-height: 52px; padding-inline: 1.6rem; }
#sec-how .akhow__prices { display: inline-flex; align-items: center; min-height: 44px; font: 700 0.98rem/1.2 'Inter', system-ui, sans-serif; color: var(--ak-text-main); text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 900px) {
  #sec-how .akhow__tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #sec-how .akhow__steps { grid-template-columns: 1fr; gap: 1.1rem; }
  #sec-how .akhow__steps::before { left: 21px; right: auto; top: 22px; bottom: 3.5rem; width: 2px; height: auto; background: linear-gradient(180deg, var(--p-emerald, #10B981), color-mix(in srgb, var(--mx-sec, var(--p-blue)) 70%, transparent)); }
  #sec-how .akhow__steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 0.9rem; align-items: start; }
  #sec-how .akhow__n { grid-row: 1 / span 2; margin: 0; }
  #sec-how .akhow__steps h3 { align-self: center; min-height: 0; margin: 0.55rem 0 0.2rem; }
  #sec-how .akhow__steps p { grid-column: 2; }
  #sec-how .akhow__proof { grid-template-columns: 1fr; gap: 0.9rem; }
}
@media (max-width: 600px) {
  #sec-how { padding: 3rem 0; }
  #sec-how .akhow__try { padding: 1rem 0.85rem; }
  #sec-how .akhow__tools { gap: 0.5rem; }
  #sec-how .akhow__tools a { padding: 0.65rem 0.7rem; }
  #sec-how .akhow__tools b { font-size: 0.93rem; }
  #sec-how .akhow__tools span { font-size: 0.82rem; }
  #sec-how .akhow__go .ak-button { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { #sec-how .akhow__tools a { transition: none; transform: none !important; } }
/* the booking button here is the blue Action button (BUTTON-SYSTEM): an older rule paints every button in <main> gold */
html[data-theme] body main #sec-how .akhow__go .ak-button {
  background: var(--bt-act) !important; background-image: none !important; color: var(--p-white) !important;
  border: 1.5px solid var(--bt-act-line) !important; filter: none !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 20px -10px color-mix(in srgb, var(--bt-act-line) 80%, transparent) !important;
}
html[data-theme] body main #sec-how .akhow__go .ak-button * { color: inherit !important; }
html[data-theme] body main #sec-how .akhow__go .ak-button:is(:hover, :focus-visible) { filter: brightness(1.14) !important; }
/* Day: the "try a font" rule restyles every paragraph; this title keeps its weight */
html[data-theme] body main #sec-how p.akhow__try-title { font: 800 1.25rem/1.2 'Montserrat', 'Inter', system-ui, sans-serif !important; color: var(--ak-text-main) !important; }

/* ===== CL-323 (Frank 2026-11-29) ===== */
/* the three proof facts sit in lifted boxes, like the tool tiles above */
#sec-how .akhow__proof { gap: 0.9rem; padding: 0; border-top: 0; }
#sec-how .akhow__proof li {
  padding: 1rem 1.1rem; border-radius: 14px; border: 1.5px solid color-mix(in srgb, var(--p-emerald, #10B981) 45%, transparent);
  background: var(--ak-surface); box-shadow: 0 14px 28px -20px rgba(0, 0, 0, 0.55);
}
#sec-how .akhow__proof b { margin-bottom: 0.3rem; font: 800 1.05rem/1.25 'Montserrat', 'Inter', system-ui, sans-serif; }

/* 1-2-3-4 light up in order when the steps come on screen (scripts/39-how-we-work.js adds .is-in), the line draws
   itself, and a rocket lifts off out of step 4. Without motion (or without the script) everything is simply shown lit. */
#sec-how .akhow__n { box-shadow: 0 0 16px -4px var(--p-emerald, #10B981); }
#sec-how .akhow__steps li:last-child::after {   /* the line carries on out of 4, to the rocket */
  content: ""; position: absolute; left: 44px; top: 21px; width: calc(100% - 96px); height: 2px; opacity: 0.55;
  background: linear-gradient(90deg, color-mix(in srgb, var(--mx-sec, var(--p-blue)) 70%, transparent), var(--p-emerald, #10B981));
}
#sec-how .akhow__rocket { position: absolute; right: 0; top: -12px; width: 40px; height: 40px; display: block; filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.55)); }
#sec-how .akhow__rocket svg { display: block; }
html[data-theme="day"] #sec-how .akhow__rocket path:nth-child(2) { fill: #0B1930; }
@media (prefers-reduced-motion: no-preference) {
  #sec-how .akhow__steps:not(.is-in) .akhow__n { box-shadow: none; opacity: 0.45; }
  #sec-how .akhow__steps:not(.is-in)::before, #sec-how .akhow__steps:not(.is-in) li:last-child::after { transform: scaleX(0); }
  #sec-how .akhow__steps:not(.is-in) .akhow__rocket { opacity: 0; }
  #sec-how .akhow__steps::before, #sec-how .akhow__steps li:last-child::after { transform-origin: left center; }
  #sec-how .akhow__steps.is-in::before { animation: akhowLine 1.5s ease-out both; }
  #sec-how .akhow__steps.is-in li:last-child::after { animation: akhowLine 0.5s ease-out 1.75s both; }
  #sec-how .akhow__steps.is-in .akhow__n { animation: akhowGlow 1.1s ease-out both; }
  #sec-how .akhow__steps.is-in li:nth-child(2) .akhow__n { animation-delay: 0.45s; }
  #sec-how .akhow__steps.is-in li:nth-child(3) .akhow__n { animation-delay: 0.9s; }
  #sec-how .akhow__steps.is-in li:nth-child(4) .akhow__n { animation-delay: 1.35s; }
  #sec-how .akhow__steps.is-in .akhow__rocket { animation: akhowLift 1.3s cubic-bezier(0.2, 0.8, 0.2, 1) 2.2s both; }
  #sec-how .akhow__steps.is-in .akhow__flame { transform-origin: 17px 31px; animation: akhowFlame 0.22s ease-in-out 2.2s 8 alternate; }
}
@keyframes akhowGlow {
  0% { opacity: 0.45; box-shadow: none; transform: scale(1); }
  45% { opacity: 1; box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.22), 0 0 34px 4px var(--p-emerald, #10B981); transform: scale(1.12); }
  100% { opacity: 1; box-shadow: 0 0 16px -4px var(--p-emerald, #10B981); transform: scale(1); }
}
@keyframes akhowLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes akhowLift {
  0% { opacity: 0; transform: translate(-46px, 28px) scale(0.8); }
  25% { opacity: 1; transform: translate(-46px, 28px) scale(1); }
  100% { opacity: 1; transform: translate(0, 0) scale(1); }
}
@keyframes akhowFlame { from { transform: scale(0.75); } to { transform: scale(1.25); } }
@media (max-width: 900px) {
  /* phone: the line runs down the side, so the rocket lifts off beside step 4's title */
  #sec-how .akhow__steps li:last-child::after { display: none; }
  #sec-how .akhow__rocket { top: 2px; right: 4px; width: 34px; height: 34px; }
  #sec-how .akhow__rocket svg { width: 34px; height: 34px; }
  #sec-how .akhow__steps li:last-child h3 { padding-right: 44px; }
  #sec-how .akhow__steps:not(.is-in)::before { transform: scaleY(0); }
  #sec-how .akhow__steps::before { transform-origin: center top; }
  #sec-how .akhow__steps.is-in::before { animation-name: akhowLineY; }
}
@keyframes akhowLineY { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* CL-324 (Frank: "right next to Try it before you pay. Put in yellow - No charge."): yellow words, not a yellow fill */
html[data-theme] body main #sec-how p.akhow__try-title .akhow__nocharge { color: var(--mx-hi, var(--p-citron)) !important; white-space: nowrap; }
html[data-theme="day"] body main #sec-how p.akhow__try-title .akhow__nocharge { color: var(--mx-day-pri, var(--p-gold)) !important; }
/* CL-325 (Frank 2026-11-29): "We make it. You own it. No exit fees." in the hero's gold.
   1) .ak-own: under the "What we do" intro. Hover, focus or tap shows a smooth box with the ownership promise in short.
   2) .ak-ownline: one small quiet line under every "Know what you're looking for?" strip; it opens the Ownership Promise pop-up.
   Gold WORDS only (no gold fill). Day uses the darker gold so it stays readable on the light page. No script. */
.ak-own, .ak-ownline { --own-gold: #E3C15A; }
html[data-theme="day"] .ak-own, html[data-theme="day"] .ak-ownline { --own-gold: var(--mx-day-pri, var(--p-gold)); }

.ak-own { position: relative; display: inline-block; margin-top: 1rem; }
html[data-theme] body main .ak-own .ak-own__line {
  appearance: none; cursor: help; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0; min-height: 44px; padding: 0.35rem 0; margin: 0;
  background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 6px;
  font: 800 clamp(1.02rem, 1.35vw, 1.25rem)/1.3 'Montserrat', 'Inter', system-ui, sans-serif !important; letter-spacing: 0.005em; text-transform: none;
  color: var(--own-gold) !important; text-align: left;
}
.ak-own__line > span { position: relative; white-space: nowrap; padding-bottom: 0.3rem; }
.ak-own__line > span + span { margin-left: 0.85em; padding-left: 0.85em; }
.ak-own__line > span + span::before { content: ""; position: absolute; left: -2px; top: 50%; width: 4px; height: 4px; margin-top: -4px; border-radius: 50%; background: var(--own-gold); opacity: 0.8; }
/* a hairline under the words that fills with light on hover: the invitation */
.ak-own__line::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--own-gold), color-mix(in srgb, var(--own-gold) 25%, transparent)); opacity: 0.45;
  transform-origin: left center; transition: opacity 0.3s ease, box-shadow 0.3s ease;
}
.ak-own:is(:hover, :focus-within) .ak-own__line::after { opacity: 1; box-shadow: 0 0 14px 0 color-mix(in srgb, var(--own-gold) 70%, transparent); }
.ak-own__line:focus-visible { outline: 3px solid var(--own-gold); outline-offset: 4px; }
.ak-own__hint { display: inline-grid; place-items: center; width: 1.35em; height: 1.35em; margin-left: 0.7em; border-radius: 50%; border: 1.5px solid var(--own-gold); font: 700 0.72em/1 'Inter', system-ui, sans-serif; padding: 0 !important; }
.ak-own__hint::before { display: none !important; }

.ak-own__card {
  position: absolute; left: 0; top: calc(100% + 0.5rem); z-index: 40; width: min(34rem, calc(100vw - 2.5rem)); padding: 1.15rem 1.25rem 1.1rem; border-radius: 16px;
  background: color-mix(in srgb, var(--p-obsidian, #060C18) 94%, var(--own-gold)); border: 1.5px solid color-mix(in srgb, var(--own-gold) 55%, transparent);
  box-shadow: 0 24px 50px -22px rgba(0, 0, 0, 0.75), 0 0 30px -14px var(--own-gold);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.28s ease, transform 0.28s ease, visibility 0s linear 0.28s;
}
html[data-theme="day"] .ak-own__card { background: #FFFDF8; box-shadow: 0 24px 50px -24px rgba(11, 25, 48, 0.45); }
.ak-own:is(:hover, :focus-within) .ak-own__card { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.ak-own__card::before { content: ""; position: absolute; left: 0; right: 0; top: -0.6rem; height: 0.6rem; }   /* keeps the hover alive across the gap */
html[data-theme] body main .ak-own__card :is(strong, p, li, a) { font-family: 'Inter', system-ui, sans-serif !important; }
html[data-theme] body main .ak-own__card .ak-own__title { display: block; margin: 0 0 0.45rem; font: 800 1.1rem/1.25 'Montserrat', 'Inter', system-ui, sans-serif !important; color: var(--own-gold) !important; }
html[data-theme] body main .ak-own__card p { margin: 0 0 0.6rem; font-size: 0.95rem !important; line-height: 1.5 !important; color: #C9D3E2 !important; }
html[data-theme] body main .ak-own__card ul { margin: 0 0 0.7rem; padding: 0; list-style: none; }
html[data-theme] body main .ak-own__card li { position: relative; margin: 0 0 0.3rem; padding-left: 1.3rem; font-size: 0.95rem; line-height: 1.45; color: #FAF8F5; }
.ak-own__card li::before { content: ""; position: absolute; left: 0.1rem; top: 0.5em; width: 0.5rem; height: 0.28rem; border-left: 2px solid var(--p-emerald, #10B981); border-bottom: 2px solid var(--p-emerald, #10B981); transform: rotate(-45deg); }
html[data-theme="day"] body main .ak-own__card p { color: #3B4457 !important; }
html[data-theme="day"] body main .ak-own__card li { color: #0B1930; }
html[data-theme] body main .ak-own__card a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 0.95rem; color: var(--own-gold) !important; text-decoration: underline; text-underline-offset: 4px; }

/* the small line under each "Know what you're looking for?" strip */
.ak-ownline { display: flex; align-items: center; justify-content: center; gap: 0.9rem; margin: 1.1rem 0 0; padding: 0; }
.ak-ownline::before, .ak-ownline::after { content: ""; flex: 0 1 4.5rem; height: 1px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--own-gold) 60%, transparent)); }
.ak-ownline::after { transform: scaleX(-1); }
html[data-theme] body main .ak-ownline a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.3rem; text-decoration: none; white-space: nowrap;
  font: 700 0.8rem/1.3 'Montserrat', 'Inter', system-ui, sans-serif !important; letter-spacing: 0.06em; color: var(--own-gold) !important; opacity: 0.9;
  transition: opacity 0.2s ease, text-shadow 0.25s ease;
}
html[data-theme] body main .ak-ownline a:is(:hover, :focus-visible) { opacity: 1; text-shadow: 0 0 14px color-mix(in srgb, var(--own-gold) 65%, transparent); }
.ak-ownline a:focus-visible { outline: 2px solid var(--own-gold); outline-offset: 2px; border-radius: 4px; }
@media (max-width: 600px) {
  html[data-theme] body main .ak-own .ak-own__line { font-size: 1rem !important; }
  .ak-own__line > span + span { margin-left: 0.6em; padding-left: 0.6em; }
  .ak-own__hint { display: none; }
  html[data-theme] body main .ak-ownline a { font-size: 0.72rem !important; letter-spacing: 0.03em; }
  .ak-ownline { gap: 0.5rem; }
  .ak-ownline::before, .ak-ownline::after { flex-basis: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { .ak-own__card, .ak-own__line::after, .ak-ownline a { transition: none !important; } }

/* CL-326 (Frank 2026-11-29: "i like everything about the ownership line except the underline. remove the underline, make the
   line look more premium overall"): no underline. The line is a fine gold-edged capsule that lifts and warms on hover. */
.ak-own__line::after { display: none !important; }
html[data-theme] body main .ak-own .ak-own__line {
  gap: 0.2rem 0; min-height: 48px; padding: 0.55rem 1.25rem 0.55rem 1.3rem; border-radius: 999px; letter-spacing: 0.012em;
  border: 1px solid color-mix(in srgb, var(--own-gold) 46%, transparent) !important;
  background: linear-gradient(180deg, color-mix(in srgb, var(--own-gold) 11%, transparent), color-mix(in srgb, var(--own-gold) 4%, transparent)) !important;
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--own-gold) 28%, transparent), 0 12px 26px -18px rgba(0, 0, 0, 0.7) !important;
  transition: transform 0.25s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
html[data-theme] body main .ak-own:is(:hover, :focus-within) .ak-own__line {
  transform: translateY(-2px); border-color: color-mix(in srgb, var(--own-gold) 85%, transparent) !important;
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--own-gold) 40%, transparent), 0 16px 30px -18px rgba(0, 0, 0, 0.75), 0 0 26px -8px var(--own-gold) !important;
}
.ak-own__line > span { padding-bottom: 0; }
.ak-own__line > span + span::before { margin-top: -2px; width: 3px; height: 3px; opacity: 0.65; }
.ak-own__hint { border-width: 1px; opacity: 0.85; }
@media (max-width: 600px) {
  html[data-theme] body main .ak-own .ak-own__line { padding: 0.5rem 0.9rem; font-size: 0.92rem !important; }
  .ak-own__line > span + span { margin-left: 0.5em; padding-left: 0.5em; }
}
@media (prefers-reduced-motion: reduce) { html[data-theme] body main .ak-own .ak-own__line { transition: none; transform: none !important; } }

/* CL-333 (Frank 2026-11-29, with a screenshot: the brown-orange #B45309 Day shade is not his orange, "take out the color i never asked
   for. replace with my orange"). Day: the words are his Solar Amber on a deep Ink capsule (amber on the light page cannot be read, so the
   capsule carries it); the hover box is the same dark box as Night; the small lines under the strips are Ink words between amber rules. */
html[data-theme="day"] .ak-own, html[data-theme="day"] .ak-ownline { --own-gold: #F59E0B; }
html[data-theme="day"] body main .ak-own .ak-own__line {
  background: linear-gradient(180deg, #12233F, #0B1930) !important; border: 1px solid rgba(245, 158, 11, 0.55) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 14px 28px -16px rgba(11, 25, 48, 0.55), 0 0 22px -10px rgba(2, 132, 199, 0.55) !important;
}
html[data-theme="day"] body main .ak-own:is(:hover, :focus-within) .ak-own__line {
  border-color: #F59E0B !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 18px 32px -16px rgba(11, 25, 48, 0.6), 0 0 26px -6px rgba(245, 158, 11, 0.7) !important;
}
html[data-theme="day"] .ak-own__card { background: color-mix(in srgb, #060C18 94%, #F59E0B); box-shadow: 0 24px 50px -22px rgba(11, 25, 48, 0.6), 0 0 30px -14px #F59E0B; }
html[data-theme="day"] body main .ak-own__card p { color: #C9D3E2 !important; }
html[data-theme="day"] body main .ak-own__card li { color: #FAF8F5; }
html[data-theme="day"] body main .ak-ownline a { color: #0B1930 !important; opacity: 1; }
html[data-theme="day"] body main .ak-ownline a:is(:hover, :focus-visible) { text-shadow: none; text-decoration: underline; text-decoration-color: #F59E0B; text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* CL-348 (Frank, phone screenshot 1): on phones the promise capsule is a deliberate centered stack, one phrase per line, no separator dots,
   centered under the intro (was two lines with a dot starting line 2). Desktop unchanged. */
@media (max-width: 600px) {
  .ak-own { display: block; text-align: center; }
  html[data-theme] body main .ak-own .ak-own__line { display: inline-flex; flex-direction: column; align-items: center; flex-wrap: nowrap; gap: 0.05rem; padding: 0.6rem 1.6rem; border-radius: 26px; text-align: center; }
  .ak-own__line > span { padding-bottom: 0; }
  .ak-own__line > span + span { margin-left: 0; padding-left: 0; }
  .ak-own__line > span + span::before { display: none; }
  .ak-own__card { left: 50%; transform: translate(-50%, 8px); }
  .ak-own:is(:hover, :focus-within) .ak-own__card { transform: translateX(-50%); }
}
/* CL-341 (Frank 2026-11-30: "gold means like 24k gold or gold from my logo 3d forge gold"; "change this line to gold in each section ... and when hovered
   over the owners promise appears"). The ownership line is real gold: the Logo Forge gold (forge-service.js: face 0xE8B54A, its side 0xA27E33,
   the render's highlight #F6E3A1) as a restrained metallic gradient on the WORDS only. Night and the dark capsule use the light-to-rich gold;
   Day's light page uses the deep end (4.5:1+ on ivory and white). A solid gold is the fallback. The line under each strip now shows the same promise card. */
.ak-own, .ak-ownline__wrap, .ak-own__card { --own-gold: #E8B54A; --own-gold-text: linear-gradient(100deg, #F6E3A1 0%, #E8B54A 48%, #C99A35 100%); }
html[data-theme="day"] .ak-own, html[data-theme="day"] .ak-own__card { --own-gold: #E8B54A; }
html[data-theme="day"] .ak-ownline__wrap { --own-gold: #8A6516; --own-gold-text: linear-gradient(100deg, #8A6516 0%, #7A5A12 55%, #6B4C0E 100%); }
html[data-theme="day"] .ak-ownline__wrap .ak-own__card { --own-gold: #E8B54A; --own-gold-text: linear-gradient(100deg, #F6E3A1 0%, #E8B54A 48%, #C99A35 100%); }

/* the words: gradient gold (solid gold first, for any browser that cannot clip a gradient to text) */
html[data-theme] body main .ak-own .ak-own__line > span:not(.ak-own__hint),
html[data-theme] body main .ak-ownline__line > span,
html[data-theme] body main .ak-own__card .ak-own__title { color: #E8B54A !important; }
html[data-theme="day"] body main .ak-ownline__line > span { color: #7A5A12 !important; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  html[data-theme] body main .ak-own .ak-own__line > span:not(.ak-own__hint),
  html[data-theme] body main .ak-ownline__line > span,
  html[data-theme] body main .ak-own__card .ak-own__title {
    background-image: var(--own-gold-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent !important;
  }
}
html[data-theme] body main .ak-own .ak-own__hint { color: #E8B54A !important; border-color: #E8B54A; }
.ak-own__line > span + span::before { background: #E8B54A; }
html[data-theme] body main .ak-own__card a { color: #E8B54A !important; }

/* the small line under every strip: a quiet gold line that shows the promise card */
.ak-ownline { position: relative; z-index: 60; }
.ak-ownline__wrap { position: relative; display: inline-flex; justify-content: center; }
html[data-theme] body main .ak-ownline .ak-ownline__line {
  appearance: none; cursor: help; display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.4rem; margin: 0; background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 6px;
  white-space: nowrap; font: 700 0.84rem/1.3 'Montserrat', 'Inter', system-ui, sans-serif !important; letter-spacing: 0.06em; text-transform: none; transition: filter 0.25s ease;
}
html[data-theme] body main .ak-ownline__wrap:is(:hover, :focus-within) .ak-ownline__line { filter: brightness(1.12) drop-shadow(0 0 8px rgba(232, 181, 74, 0.45)); }
html[data-theme="day"] body main .ak-ownline__wrap:is(:hover, :focus-within) .ak-ownline__line { filter: none; }
.ak-ownline__line:focus-visible { outline: 2px solid #E8B54A; outline-offset: 3px; }
html[data-theme="day"] .ak-ownline__line:focus-visible { outline-color: #7A5A12; }
.ak-ownline .ak-own__card { left: 50%; right: auto; top: calc(100% + 0.4rem); width: min(34rem, calc(100vw - 2.5rem)); margin-left: 0; text-align: left; white-space: normal; transform: translate(-50%, 8px); }
.ak-ownline__wrap:is(:hover, :focus-within) .ak-own__card { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
html[data-theme] body main .ak-ownline .ak-own__card a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; white-space: normal; font: 700 0.95rem/1.3 'Inter', system-ui, sans-serif !important; letter-spacing: 0; opacity: 1; text-decoration: underline; text-underline-offset: 4px; text-shadow: none; }
html[data-theme="day"] body main .ak-ownline .ak-own__card a { color: #E8B54A !important; text-decoration-color: #E8B54A; }
@media (max-width: 600px) { html[data-theme] body main .ak-ownline .ak-ownline__line { font-size: 0.74rem !important; letter-spacing: 0.03em; white-space: normal; text-align: center; } }
@media (prefers-reduced-motion: reduce) { .ak-ownline__line { transition: none !important; } .ak-ownline .ak-own__card { transition: none !important; } }

/* CL-342: the card is a top-layer popover (scripts/41-own-card-top-layer.js): fixed to the window, placed by the script (below its line, or above when
   there is no room), never cut or covered by a section. The :popover-open state is the only visible state; the old :hover rules stay for browsers without popover. */
html[data-theme] body main .ak-own__card.is-pop, html[data-theme] .ak-own__card.is-pop {
  position: fixed; inset: auto; margin: 0; transform: none; opacity: 1; visibility: visible; z-index: auto;
  max-height: calc(100vh - 20px); overflow: auto; color: inherit; text-align: left; white-space: normal;
}
html[data-theme] .ak-own__card.is-pop:popover-open { animation: akOwnPop 0.22s ease; }
@keyframes akOwnPop { from { opacity: 0; } to { opacity: 1; } }
.ak-own__card.is-pop::before { display: none; }
@media (prefers-reduced-motion: reduce) { html[data-theme] .ak-own__card.is-pop:popover-open { animation: none; } }
/* CL-345 (Frank 2026-11-30): "Who you'll work with" founder section (sections/10-sec-founder.html), in the "Yours to keep." card language:
   dark obsidian card, fine gold edge, gold words, emerald ticks, lifted shadow. The "How I work" popover is the .ak-own__card (top layer, scripts/41). */
#sec-founder { padding-block: clamp(2rem, 4vw, 3.2rem); }
.ak-founder {
  --fd-gold: #E8B54A; --fd-gold-text: linear-gradient(100deg, #F6E3A1 0%, #E8B54A 48%, #C99A35 100%);
  position: relative; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(1.4rem, 3vw, 2.6rem); align-items: center;
  max-width: 980px; margin: 0 auto; padding: clamp(1.2rem, 2.4vw, 1.9rem);
  border-radius: 20px; border: 1.5px solid color-mix(in srgb, var(--fd-gold) 50%, transparent);
  background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--fd-gold) 9%, transparent), transparent 55%), color-mix(in srgb, var(--p-obsidian, #060C18) 94%, var(--fd-gold));
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--fd-gold) 30%, transparent), 0 28px 56px -26px rgba(0, 0, 0, 0.8), 0 0 36px -18px var(--fd-gold);
}
.ak-founder__photo { position: relative; margin: 0; width: 260px; justify-self: center; }
.ak-founder__frame { display: block; padding: 5px; border-radius: 16px; background: linear-gradient(150deg, #F6E3A1, #C99A35 45%, #E8B54A); box-shadow: 0 18px 34px -16px rgba(0, 0, 0, 0.7); }
.ak-founder__frame img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; }
.ak-founder__seal {
  position: absolute; right: -14px; bottom: -14px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #12233F, #060A12 75%); border: 2px solid var(--fd-gold);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--p-obsidian, #060C18) 90%, transparent), 0 0 22px -2px color-mix(in srgb, var(--fd-gold) 80%, transparent);
}
.ak-founder__seal img { width: 30px; height: auto; }
.ak-founder__body { min-width: 0; }
html[data-theme] body main .ak-founder .ak-eyebrow { display: block; margin: 0 0 0.4rem; color: #8FD0F3 !important; }
html[data-theme] body main .ak-founder h2 { margin: 0 0 0.6rem; font: 800 clamp(1.5rem, 2.5vw, 2.15rem)/1.15 'Montserrat', 'Inter', system-ui, sans-serif !important; color: #FAF8F5 !important; text-wrap: balance; }
html[data-theme] body main .ak-founder p { margin: 0; font-family: 'Inter', system-ui, sans-serif !important; }
html[data-theme] body main .ak-founder__name { font-size: 0.95rem !important; color: #C9D3E2 !important; }
html[data-theme] body main .ak-founder__name strong { font: 800 1.15rem/1.2 'Montserrat', 'Inter', system-ui, sans-serif !important; color: #FAF8F5; margin-right: 0.15rem; }
html[data-theme] body main .ak-founder__creed {
  margin: 0.55rem 0 0.35rem !important; font: 800 clamp(1.05rem, 1.5vw, 1.3rem)/1.3 'Montserrat', 'Inter', system-ui, sans-serif !important; color: var(--fd-gold) !important;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  html[data-theme] body main .ak-founder__creed { background-image: var(--fd-gold-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent !important; }
}
html[data-theme] body main .ak-founder__line { font-size: 1rem !important; line-height: 1.5 !important; color: #DCE3EE !important; max-width: 56ch; }
.ak-founder__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.9rem 0 0; padding: 0; list-style: none; }
html[data-theme] body main .ak-founder__chips li {
  display: inline-flex; align-items: center; gap: 0.45rem; margin: 0; padding: 0.4rem 0.8rem 0.4rem 0.6rem; border-radius: 999px; white-space: nowrap;
  font: 600 0.8rem/1.2 'Inter', system-ui, sans-serif; color: #FAF8F5;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)); border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 8px 16px -10px rgba(0, 0, 0, 0.7);
}
.ak-founder__chips svg { flex: none; width: 16px; height: 16px; fill: none; stroke: #10B981; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ak-founder__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.4rem; margin-top: 1rem; }
.ak-founder__more { position: relative; }
html[data-theme] body main .ak-founder__trigger {
  appearance: none; cursor: help; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.3rem 0.2rem; margin: 0; background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 8px;
  font: 800 0.98rem/1.3 'Montserrat', 'Inter', system-ui, sans-serif !important; color: var(--fd-gold) !important; transition: filter 0.25s ease;
}
html[data-theme] body main .ak-founder__trigger > span:first-child { color: var(--fd-gold) !important; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  html[data-theme] body main .ak-founder__trigger > span:first-child { background-image: var(--fd-gold-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent !important; }
}
html[data-theme] body main .ak-founder__trigger .ak-own__hint { margin: 0; color: var(--fd-gold) !important; border-color: var(--fd-gold); width: 1.4em; height: 1.4em; -webkit-text-fill-color: currentColor; }
.ak-founder__more:is(:hover, :focus-within) .ak-founder__trigger { filter: brightness(1.12) drop-shadow(0 0 8px rgba(232, 181, 74, 0.45)); }
.ak-founder__trigger:focus-visible { outline: 3px solid var(--fd-gold); outline-offset: 3px; }
/* Action tier (button system): solid blue, white text; the gold fill is kept for the one hero action of a view */
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) main .ak-founder .ak-founder__book {
  min-height: 48px; padding-inline: 1.6rem; color: #fff !important; background: var(--mx-sec-deep, #0369A1) !important; background-image: none !important;
  border: 1.5px solid color-mix(in srgb, var(--mx-sec, #0284C7) 70%, #fff) !important; box-shadow: 0 10px 22px -12px rgba(2, 132, 199, 0.8) !important;
}
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) main .ak-founder .ak-founder__book:is(:hover, :focus-visible) { filter: brightness(1.12); transform: translateY(-1px); }
html[data-theme] body main .ak-own__card a.ak-founder__inl { display: inline; min-height: 0; font-size: inherit; }

/* Day: the card turns warm ivory and lifted; the gold words use the deep end so they read; the popover stays the dark promise card */
html[data-theme="day"] .ak-founder {
  --fd-gold: #8A6516; --fd-gold-text: linear-gradient(100deg, #8A6516 0%, #7A5A12 55%, #6B4C0E 100%);
  border-color: rgba(201, 154, 53, 0.65);
  background: radial-gradient(120% 90% at 0% 0%, rgba(232, 181, 74, 0.16), transparent 55%), #FFFDF8;
  box-shadow: inset 0 1px 0 #fff, 0 26px 50px -28px rgba(11, 25, 48, 0.45), 0 0 30px -18px #E8B54A;
}
html[data-theme="day"] body main .ak-founder .ak-eyebrow { color: #0369A1 !important; }
html[data-theme="day"] body main .ak-founder h2 { color: #0B1930 !important; }
html[data-theme="day"] body main .ak-founder__name { color: #3B4457 !important; }
html[data-theme="day"] body main .ak-founder__name strong { color: #0B1930; }
html[data-theme="day"] body main .ak-founder__line { color: #1F2A3D !important; }
html[data-theme="day"] body main .ak-founder__chips li { color: #0B1930; background: #fff; border-color: rgba(5, 150, 105, 0.45); box-shadow: 0 8px 16px -12px rgba(11, 25, 48, 0.4); }
html[data-theme="day"] .ak-founder__chips svg { stroke: #059669; }
html[data-theme="day"] .ak-founder__more .ak-own__card { --own-gold: #E8B54A; --own-gold-text: linear-gradient(100deg, #F6E3A1 0%, #E8B54A 48%, #C99A35 100%); }

@media (max-width: 700px) {
  .ak-founder { grid-template-columns: 104px minmax(0, 1fr); grid-template-areas: "photo eyebrow" "photo name" "h2 h2" "creed creed" "line line" "chips chips" "acts acts"; gap: 0.15rem 0.9rem; align-items: center; padding: 1rem 1rem 1.05rem; text-align: left; }
  .ak-founder__body { display: contents; }
  .ak-founder__photo { grid-area: photo; width: 104px; margin: 0; align-self: start; }
  .ak-founder .ak-eyebrow { grid-area: eyebrow; align-self: end; }
  .ak-founder__name { grid-area: name; align-self: start; }
  .ak-founder h2 { grid-area: h2; margin-top: 0.7rem !important; }
  .ak-founder__creed { grid-area: creed; }
  .ak-founder__line { grid-area: line; }
  .ak-founder__chips { grid-area: chips; flex-wrap: nowrap; overflow-x: auto; margin: 0.7rem -1rem 0; padding: 0.2rem 1rem 0.4rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .ak-founder__chips::-webkit-scrollbar { display: none; }
  .ak-founder__acts { grid-area: acts; flex-wrap: nowrap; gap: 0.5rem; margin-top: 0.2rem; }
  .ak-founder__seal { width: 38px; height: 38px; right: -8px; bottom: -8px; border-width: 1.5px; }
  .ak-founder__seal img { width: 20px; }
  .ak-founder__frame { padding: 3px; border-radius: 12px; }
  .ak-founder__frame img { border-radius: 9px; }
  html[data-theme] body main .ak-founder h2 { font-size: 1.4rem !important; }
  html[data-theme] body main .ak-founder__name { font-size: 0.82rem !important; line-height: 1.35; }
  html[data-theme] body main .ak-founder__name strong { display: block; font-size: 1.05rem !important; }
  html[data-theme] body main .ak-founder__trigger { font-size: 0.86rem !important; flex: 1 1 auto; min-width: 0; }
  html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) main .ak-founder .ak-founder__book { flex: none; padding-inline: 1.2rem; }
  .ak-founder__more { flex: 1 1 auto; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) { html[data-theme] body main .ak-founder__trigger { transition: none; } }
/* CL-350 (phone speed): the Night "nearer stars" (CL-339) are now an inline SVG (parts/stars-near.html, first thing inside <main>'s last line)
   instead of a tiled background picture on main::before. Same 100 stars, same tile size (1100 px), same place, same layer (behind the sections).
   Why: Lighthouse counted that 20,000 px tall background picture as the Largest Contentful Paint and dated it about 2 s after the first paint. */
html:not([data-theme="day"]) body main::before { background-image: none; }
.ak-stars-near { display: none; position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
html:not([data-theme="day"]) .ak-stars-near { display: block; }


/* =============================================================================
   CL-241 (Frank 2026-11-26): the Night look, every page. Shared by site/index.html (inlined by the home build) and every page
   built from site/_build/template.html (linked). Day mode is not touched: every rule here is Night only.

   1. Base color: the deep teal-blue Frank picked from mid-home (around the Instant Quote Builder, sampled at #072B43),
      only slightly darker at the top of each page. Down the page it shifts through cooler and warmer tones, a little
      emerald and the visitor's own brand colors (--mx-*), so Random Aura and the color mix still recolor it.
      The golden glows stay (top right, then down the page). All of it is one painted background that scrolls with the
      page: no scroll handler, no fixed layer (fixed backgrounds stutter on phones).
   2. Textures that change as you scroll: a fine grain everywhere, a dot grid in some bands and fine gold hatching in
      others (main::before / main::after, faded in and out with a mask).
   3. Hero: the raised panel keeps its color; its flat brushed lines become a richer finish (grain, an engraved
      guilloche ring pattern from the corner, a soft satin sheen). Random Texture still swaps the finish as before.
   Text contrast: the lightest tone (#053051) still gives muted text (#94A3B8) about 5:1, main text far more (AA).
   ============================================================================= */

html:not([data-theme="day"]) body {
  --nb-top: #052131;
  --nb-base: #072B43;
  --nb-cool: color-mix(in srgb, var(--mx-sec, #0284C7) 16%, #06203A);
  --nb-warm: color-mix(in srgb, var(--mx-pri, #F59E0B) 9%, #082636);
  --nb-green: color-mix(in srgb, #10B981 10%, #062638);
  --nb-deep: color-mix(in srgb, var(--mx-sec-deep, #0369A1) 22%, #061C30);
  --nb-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 .11 0 0 0 -.035'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-color: var(--nb-base) !important;
  background-image:
    var(--nb-grain),
    radial-gradient(1100px 760px at 84% 1.5%, color-mix(in srgb, var(--mx-pri, #F59E0B) 21%, transparent) 0%, transparent 70%),
    radial-gradient(900px 900px at 6% 29%, color-mix(in srgb, var(--mx-pri, #F59E0B) 10%, transparent) 0%, transparent 70%),
    radial-gradient(1000px 900px at 14% 47%, color-mix(in srgb, var(--mx-sec, #0284C7) 17%, transparent) 0%, transparent 68%),
    radial-gradient(900px 820px at 88% 62%, rgba(16, 185, 129, 0.10) 0%, transparent 70%),
    radial-gradient(1000px 820px at 18% 82%, color-mix(in srgb, var(--mx-pri, #F59E0B) 11%, transparent) 0%, transparent 70%),
    linear-gradient(180deg, var(--nb-top) 0%, #062639 6%, var(--nb-base) 14%, var(--nb-cool) 26%, var(--nb-warm) 38%, var(--nb-base) 50%, var(--nb-green) 62%, var(--nb-deep) 74%, var(--nb-warm) 86%, var(--nb-base) 94%, var(--nb-top) 100%) !important;
  background-size: 180px 180px, auto, auto, auto, auto, auto, auto !important;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat !important;
  background-attachment: scroll !important;
}

/* textures that come and go as you scroll (behind every section's own content; sections with their own panel cover them) */
html:not([data-theme="day"]) main { position: relative; }
html:not([data-theme="day"]) main::before,
html:not([data-theme="day"]) main::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
}
html:not([data-theme="day"]) main::before {
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.07) 1px, transparent 1.6px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 16%, #000 24%, #000 33%, transparent 42%, transparent 63%, #000 71%, #000 79%, transparent 88%);
          mask-image: linear-gradient(180deg, transparent 0%, transparent 16%, #000 24%, #000 33%, transparent 42%, transparent 63%, #000 71%, #000 79%, transparent 88%);
}
html:not([data-theme="day"]) main::after {
  background-image: repeating-linear-gradient(135deg, color-mix(in srgb, var(--mx-hi, #FDE047) 5%, transparent) 0 1px, transparent 1px 15px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 3%, transparent 12%, transparent 40%, #000 48%, #000 57%, transparent 65%, transparent 86%, #000 94%, #000 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 3%, transparent 12%, transparent 40%, #000 48%, #000 57%, transparent 65%, transparent 86%, #000 94%, #000 100%);
}

/* the hero's raised panel (home): same color, richer finish */
html:not([data-theme="day"]) #heroStageSurface.tex-brushed-obsidian {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 .13 0 0 0 -.04'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"),
    linear-gradient(115deg, transparent 28%, rgba(255, 255, 255, 0.035) 44%, rgba(255, 255, 255, 0.012) 52%, transparent 64%),
    radial-gradient(circle at 80% 20%, rgba(2, 132, 199, 0.16), transparent 60%),
    radial-gradient(ellipse 60% 55% at 6% 100%, color-mix(in srgb, var(--mx-pri, #F59E0B) 9%, transparent), transparent 70%),
    linear-gradient(135deg, var(--p-navy, #0B1324) 0%, #050811 65%, #090E1A 100%);
  background-size: 160px 160px, auto, auto, auto, auto;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat, no-repeat;
}
html:not([data-theme="day"]) #heroStageSurface.tex-brushed-obsidian::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit;
  background-image:
    repeating-radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--mx-pri, #F59E0B) 11%, transparent) 0 1px, transparent 1px 9px),
    repeating-radial-gradient(circle at 0% 100%, rgba(125, 211, 252, 0.07) 0 1px, transparent 1px 11px);
  -webkit-mask-image: radial-gradient(ellipse 70% 75% at 100% 0%, #000 0%, rgba(0, 0, 0, 0.35) 45%, transparent 75%), radial-gradient(ellipse 55% 60% at 0% 100%, rgba(0, 0, 0, 0.7) 0%, transparent 70%);
          mask-image: radial-gradient(ellipse 70% 75% at 100% 0%, #000 0%, rgba(0, 0, 0, 0.35) 45%, transparent 75%), radial-gradient(ellipse 55% 60% at 0% 100%, rgba(0, 0, 0, 0.7) 0%, transparent 70%);
}

/* =============================================================================
   CL-335 (Frank 2026-11-29: the Night background "is not premium looking ... i want it back now ... the deep space obsidean
   with the stars it was beautiful"). The teal page with warm and green bands (CL-241) made muddy olive patches under the
   amber glows. Night is deep-space Obsidian again, as in Gemini's first version (Obsidian to navy and back, one blue glow and
   one amber glow near the top), with a quiet field of stars over the whole page. No green, no teal, no hatching, no weave.
   One painted background that scrolls with the page; no motion. Every page (home + the pages built from the template).
   ============================================================================= */
html:not([data-theme="day"]) body {
  --nb-top: #04070D;
  --nb-base: #060A12;
  --nb-cool: color-mix(in srgb, var(--mx-sec, #0284C7) 9%, #070C18);
  --nb-warm: #080D1A;
  --nb-green: #060B15;
  --nb-deep: color-mix(in srgb, var(--mx-sec-deep, #0369A1) 12%, #050914);
  background-color: #060A12 !important;
  background-image:
    radial-gradient(1100px 760px at 86% 1.5%, color-mix(in srgb, var(--mx-pri, #F59E0B) 13%, transparent) 0%, transparent 68%),
    radial-gradient(1000px 820px at 8% 3%, color-mix(in srgb, var(--mx-sec, #0284C7) 17%, transparent) 0%, transparent 68%),
    radial-gradient(1200px 900px at 12% 46%, color-mix(in srgb, var(--mx-sec, #0284C7) 11%, transparent) 0%, transparent 70%),
    radial-gradient(1200px 900px at 90% 72%, color-mix(in srgb, var(--mx-sec-deep, #0369A1) 12%, transparent) 0%, transparent 70%),
    linear-gradient(180deg, var(--nb-top) 0%, var(--nb-base) 8%, #0A1220 26%, var(--nb-base) 44%, var(--nb-cool) 60%, var(--nb-base) 76%, #0A1220 90%, var(--nb-top) 100%) !important;
  background-size: auto !important;
  background-repeat: no-repeat !important;
  background-attachment: scroll !important;
}
/* the stars: two tiled fields of different sizes so the repeat never shows; small faint ones, a few brighter ones in white, sky and citron */
html:not([data-theme="day"]) main::before {
  background-image:
    radial-gradient(1.2px 1.2px at 169px 81px, rgba(186,230,253,0.6), transparent),
    radial-gradient(1px 1px at 28px 41px, rgba(255,255,255,0.75), transparent),
    radial-gradient(1px 1px at 302px 33px, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 48px 226px, rgba(186,230,253,0.6), transparent),
    radial-gradient(1px 1px at 127px 50px, rgba(186,230,253,0.6), transparent),
    radial-gradient(1.2px 1.2px at 293px 67px, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.2px 1.2px at 325px 302px, rgba(255,255,255,0.75), transparent),
    radial-gradient(1px 1px at 303px 207px, rgba(255,255,255,0.75), transparent),
    radial-gradient(1px 1px at 27px 289px, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.2px 1.2px at 218px 77px, rgba(255,255,255,0.75), transparent),
    radial-gradient(1px 1px at 161px 290px, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 301px 296px, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.2px 1.2px at 53px 284px, rgba(255,255,255,0.75), transparent),
    radial-gradient(1px 1px at 34px 320px, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 352px 276px, rgba(186,230,253,0.6), transparent),
    radial-gradient(1px 1px at 242px 303px, rgba(186,230,253,0.6), transparent),
    radial-gradient(1.2px 1.2px at 157px 131px, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.2px 1.2px at 403px 128px, rgba(255,255,255,0.75), transparent),
    radial-gradient(1px 1px at 157px 272px, rgba(186,230,253,0.6), transparent),
    radial-gradient(1.2px 1.2px at 377px 233px, rgba(255,255,255,0.32), transparent),
    radial-gradient(1px 1px at 41px 64px, rgba(186,230,253,0.6), transparent),
    radial-gradient(1px 1px at 391px 179px, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.2px 1.2px at 219px 24px, rgba(255,255,255,0.75), transparent),
    radial-gradient(1px 1px at 297px 408px, rgba(255,255,255,0.32), transparent),
    radial-gradient(1.2px 1.2px at 359px 183px, rgba(186,230,253,0.6), transparent),
    radial-gradient(1px 1px at 412px 237px, rgba(255,255,255,0.75), transparent);
  background-size: 420px 420px;
  background-repeat: repeat;
  -webkit-mask-image: none; mask-image: none;
}
html:not([data-theme="day"]) main::after {
  background-image:
    radial-gradient(2.2px 2.2px at 280px 489px, rgba(253,224,71,0.7), transparent),
    radial-gradient(2.2px 2.2px at 70px 66px, rgba(253,224,71,0.7), transparent),
    radial-gradient(1.8px 1.8px at 321px 595px, rgba(253,224,71,0.7), transparent),
    radial-gradient(1.8px 1.8px at 295px 399px, rgba(253,224,71,0.7), transparent),
    radial-gradient(1.5px 1.5px at 27px 476px, rgba(186,230,253,0.85), transparent),
    radial-gradient(1.5px 1.5px at 629px 123px, rgba(186,230,253,0.85), transparent),
    radial-gradient(2.2px 2.2px at 227px 298px, rgba(255,255,255,0.95), transparent),
    radial-gradient(1.8px 1.8px at 257px 411px, rgba(186,230,253,0.85), transparent),
    radial-gradient(1.8px 1.8px at 86px 174px, rgba(186,230,253,0.85), transparent);
  background-size: 640px 640px;
  background-repeat: repeat;
  -webkit-mask-image: none; mask-image: none;
}

/* =============================================================================
   CL-339 (Frank 2026-11-30: "i like the color but i dont like the stars at all. i wanted realistic looking stars and space. not icons").
   The Night sky, every page. The colors are CL-336's (deep black, Obsidian blue, purple and deep blue). The stars are real-looking
   points of light now, never shapes:
     1. the page: the color and nebula light;
     2. the depths: hundreds of very faint stars, denser along a soft band, FIXED behind the page (the page slides over them);
     3. nearer stars: fewer and brighter, scrolling with the page;
     4. the brightest few, each with a soft halo, in two fields that twinkle gently and out of step, as stars do;
     5. now and then, one faint shooting star high on the right.
   Each field is one small picture (SVG), so it is light to draw. Only opacity moves, on screen-sized layers. A phone gets one twinkling
   field. Reduced motion: everything holds still.
   ============================================================================= */
html:not([data-theme="day"]) body {
  /* Frank, same day: "deep black to deep obsidean blue to our deep space blacks and purple and deep blue gradients" */
  background-color: #03040A !important;
  background-image:
    radial-gradient(1100px 820px at 4% 3%, color-mix(in srgb, var(--mx-sec, #0284C7) 20%, transparent) 0%, transparent 68%),
    radial-gradient(900px 640px at 90% 1%, color-mix(in srgb, var(--mx-pri, #F59E0B) 11%, transparent) 0%, transparent 64%),
    radial-gradient(1200px 900px at 96% 18%, rgba(109, 40, 217, 0.22) 0%, transparent 68%),
    radial-gradient(1300px 950px at 2% 33%, rgba(30, 64, 175, 0.30) 0%, transparent 70%),
    radial-gradient(1000px 760px at 70% 44%, rgba(76, 29, 149, 0.20) 0%, transparent 68%),
    radial-gradient(700px 520px at 96% 50%, rgba(16, 185, 129, 0.07) 0%, transparent 66%),
    radial-gradient(1300px 950px at 98% 63%, rgba(29, 78, 216, 0.26) 0%, transparent 70%),
    radial-gradient(1100px 820px at 6% 74%, rgba(124, 58, 237, 0.20) 0%, transparent 68%),
    radial-gradient(1200px 900px at 60% 88%, rgba(30, 58, 138, 0.30) 0%, transparent 70%),
    radial-gradient(700px 520px at 8% 97%, color-mix(in srgb, var(--mx-pri, #F59E0B) 7%, transparent) 0%, transparent 66%),
    linear-gradient(180deg, #020308 0%, #060A12 7%, #0A1128 20%, #05060E 34%, #0E0A26 48%, #04050C 60%, #0A1436 74%, #0C0822 87%, #020308 100%) !important;
  background-size: auto !important;
  background-repeat: no-repeat !important;
  background-attachment: scroll !important;
}
/* 2. the depths */
html:not([data-theme="day"]) body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='900'%3E%3Cg fill='%23DCE9FF'%3E%3Ccircle cx='832' cy='803' r='.3' opacity='.4'/%3E%3Ccircle cx='185' cy='283' r='.3' opacity='.4'/%3E%3Ccircle cx='331' cy='594' r='.3' opacity='.3'/%3E%3Ccircle cx='434' cy='608' r='.3' opacity='.4'/%3E%3Ccircle cx='443' cy='530' r='.3' opacity='.3'/%3E%3Ccircle cx='214' cy='414' r='.3' opacity='.4'/%3E%3Ccircle cx='46' cy='291' r='.7' opacity='.7'/%3E%3Ccircle cx='127' cy='183' r='.5' opacity='.4'/%3E%3Ccircle cx='268' cy='77' r='.6' opacity='.6'/%3E%3Ccircle cx='767' cy='99' r='.3' opacity='.4'/%3E%3Ccircle cx='6' cy='236' r='.5' opacity='.5'/%3E%3Ccircle cx='162' cy='549' r='.3' opacity='.4'/%3E%3Ccircle cx='589' cy='696' r='.3' opacity='.3'/%3E%3Ccircle cx='192' cy='892' r='.5' opacity='.5'/%3E%3Ccircle cx='355' cy='682' r='.4' opacity='.4'/%3E%3Ccircle cx='283' cy='400' r='.3' opacity='.4'/%3E%3Ccircle cx='14' cy='568' r='.6' opacity='.5'/%3E%3Ccircle cx='594' cy='413' r='.3' opacity='.4'/%3E%3Ccircle cx='601' cy='579' r='.3' opacity='.4'/%3E%3Ccircle cx='280' cy='387' r='.7' opacity='.7'/%3E%3Ccircle cx='439' cy='807' r='.3' opacity='.4'/%3E%3Ccircle cx='552' cy='353' r='.4' opacity='.4'/%3E%3Ccircle cx='559' cy='360' r='.5' opacity='.5'/%3E%3Ccircle cx='333' cy='271' r='.5' opacity='.5'/%3E%3Ccircle cx='104' cy='337' r='.3' opacity='.3'/%3E%3Ccircle cx='33' cy='519' r='.3' opacity='.4'/%3E%3Ccircle cx='2' cy='134' r='.6' opacity='.6'/%3E%3Ccircle cx='104' cy='285' r='.3' opacity='.3'/%3E%3Ccircle cx='41' cy='328' r='.4' opacity='.4'/%3E%3Ccircle cx='466' cy='183' r='.3' opacity='.3'/%3E%3Ccircle cx='104' cy='258' r='.3' opacity='.3'/%3E%3Ccircle cx='368' cy='826' r='.3' opacity='.4'/%3E%3Ccircle cx='855' cy='15' r='.5' opacity='.5'/%3E%3Ccircle cx='401' cy='588' r='.4' opacity='.5'/%3E%3Ccircle cx='844' cy='370' r='.6' opacity='.5'/%3E%3Ccircle cx='371' cy='438' r='.3' opacity='.4'/%3E%3Ccircle cx='819' cy='407' r='.5' opacity='.5'/%3E%3Ccircle cx='784' cy='605' r='.4' opacity='.4'/%3E%3Ccircle cx='586' cy='361' r='.4' opacity='.4'/%3E%3Ccircle cx='530' cy='72' r='.3' opacity='.4'/%3E%3Ccircle cx='131' cy='335' r='.3' opacity='.4'/%3E%3Ccircle cx='446' cy='424' r='.3' opacity='.4'/%3E%3Ccircle cx='838' cy='639' r='.7' opacity='.7'/%3E%3Ccircle cx='225' cy='62' r='.5' opacity='.5'/%3E%3Ccircle cx='270' cy='491' r='.5' opacity='.5'/%3E%3Ccircle cx='382' cy='465' r='.3' opacity='.3'/%3E%3Ccircle cx='889' cy='736' r='.3' opacity='.4'/%3E%3Ccircle cx='290' cy='44' r='.3' opacity='.4'/%3E%3Ccircle cx='270' cy='2' r='.7' opacity='.7'/%3E%3Ccircle cx='809' cy='518' r='.4' opacity='.4'/%3E%3Ccircle cx='191' cy='407' r='.3' opacity='.3'/%3E%3Ccircle cx='24' cy='271' r='.4' opacity='.4'/%3E%3Ccircle cx='832' cy='689' r='.7' opacity='.6'/%3E%3Ccircle cx='576' cy='551' r='.3' opacity='.4'/%3E%3Ccircle cx='543' cy='424' r='.3' opacity='.3'/%3E%3Ccircle cx='516' cy='470' r='.3' opacity='.4'/%3E%3Ccircle cx='437' cy='427' r='.3' opacity='.4'/%3E%3Ccircle cx='218' cy='77' r='.4' opacity='.5'/%3E%3Ccircle cx='723' cy='654' r='.4' opacity='.5'/%3E%3Ccircle cx='51' cy='170' r='.6' opacity='.5'/%3E%3Ccircle cx='809' cy='663' r='.3' opacity='.3'/%3E%3Ccircle cx='157' cy='830' r='.4' opacity='.4'/%3E%3Ccircle cx='289' cy='421' r='.5' opacity='.5'/%3E%3Ccircle cx='396' cy='784' r='.7' opacity='.7'/%3E%3Ccircle cx='286' cy='555' r='.3' opacity='.4'/%3E%3Ccircle cx='71' cy='154' r='.3' opacity='.4'/%3E%3Ccircle cx='399' cy='449' r='.5' opacity='.5'/%3E%3Ccircle cx='131' cy='833' r='.4' opacity='.4'/%3E%3Ccircle cx='605' cy='575' r='.3' opacity='.4'/%3E%3Ccircle cx='277' cy='281' r='.3' opacity='.4'/%3E%3Ccircle cx='741' cy='538' r='.4' opacity='.4'/%3E%3Ccircle cx='83' cy='417' r='.3' opacity='.3'/%3E%3Ccircle cx='362' cy='777' r='.3' opacity='.4'/%3E%3Ccircle cx='194' cy='153' r='.3' opacity='.4'/%3E%3Ccircle cx='814' cy='218' r='.3' opacity='.4'/%3E%3Ccircle cx='597' cy='458' r='.4' opacity='.4'/%3E%3C/g%3E%3Cg fill='%23FBBF24'%3E%3Ccircle cx='322' cy='240' r='.5' opacity='.8'/%3E%3Ccircle cx='50' cy='354' r='.5' opacity='.8'/%3E%3Ccircle cx='710' cy='336' r='.5' opacity='.8'/%3E%3Ccircle cx='104' cy='230' r='.5' opacity='.8'/%3E%3Ccircle cx='542' cy='336' r='.7' opacity='.8'/%3E%3C/g%3E%3Cg fill='%23FFFFFF'%3E%3Ccircle cx='77' cy='379' r='.4' opacity='.4'/%3E%3Ccircle cx='734' cy='628' r='.3' opacity='.3'/%3E%3Ccircle cx='199' cy='51' r='.7' opacity='.6'/%3E%3Ccircle cx='856' cy='660' r='.4' opacity='.4'/%3E%3Ccircle cx='861' cy='889' r='.3' opacity='.3'/%3E%3Ccircle cx='859' cy='635' r='.7' opacity='.7'/%3E%3Ccircle cx='739' cy='532' r='.3' opacity='.3'/%3E%3Ccircle cx='36' cy='425' r='.3' opacity='.4'/%3E%3Ccircle cx='558' cy='545' r='.4' opacity='.4'/%3E%3Ccircle cx='56' cy='125' r='.7' opacity='.6'/%3E%3Ccircle cx='842' cy='637' r='.3' opacity='.4'/%3E%3Ccircle cx='177' cy='658' r='.3' opacity='.4'/%3E%3Ccircle cx='683' cy='514' r='.5' opacity='.5'/%3E%3Ccircle cx='12' cy='846' r='.4' opacity='.5'/%3E%3Ccircle cx='802' cy='620' r='.3' opacity='.4'/%3E%3Ccircle cx='646' cy='823' r='.3' opacity='.4'/%3E%3Ccircle cx='413' cy='559' r='.4' opacity='.4'/%3E%3Ccircle cx='875' cy='773' r='.3' opacity='.3'/%3E%3Ccircle cx='563' cy='852' r='.4' opacity='.5'/%3E%3Ccircle cx='315' cy='702' r='.4' opacity='.5'/%3E%3Ccircle cx='84' cy='623' r='.3' opacity='.4'/%3E%3Ccircle cx='724' cy='64' r='.3' opacity='.3'/%3E%3Ccircle cx='54' cy='3' r='.3' opacity='.3'/%3E%3Ccircle cx='560' cy='569' r='.5' opacity='.5'/%3E%3Ccircle cx='83' cy='201' r='.3' opacity='.4'/%3E%3Ccircle cx='40' cy='385' r='.4' opacity='.5'/%3E%3Ccircle cx='491' cy='687' r='.3' opacity='.4'/%3E%3Ccircle cx='854' cy='305' r='.5' opacity='.5'/%3E%3Ccircle cx='218' cy='435' r='.4' opacity='.5'/%3E%3Ccircle cx='336' cy='343' r='.4' opacity='.4'/%3E%3Ccircle cx='361' cy='536' r='.3' opacity='.4'/%3E%3Ccircle cx='426' cy='722' r='.4' opacity='.5'/%3E%3Ccircle cx='676' cy='693' r='.3' opacity='.3'/%3E%3Ccircle cx='135' cy='419' r='.3' opacity='.3'/%3E%3Ccircle cx='855' cy='675' r='.5' opacity='.6'/%3E%3Ccircle cx='73' cy='133' r='.4' opacity='.4'/%3E%3Ccircle cx='323' cy='334' r='.3' opacity='.4'/%3E%3Ccircle cx='239' cy='722' r='.3' opacity='.4'/%3E%3Ccircle cx='510' cy='639' r='.3' opacity='.4'/%3E%3Ccircle cx='39' cy='312' r='.3' opacity='.3'/%3E%3Ccircle cx='806' cy='64' r='.5' opacity='.4'/%3E%3Ccircle cx='593' cy='223' r='.4' opacity='.4'/%3E%3Ccircle cx='414' cy='467' r='.3' opacity='.4'/%3E%3Ccircle cx='551' cy='523' r='.7' opacity='.6'/%3E%3Ccircle cx='450' cy='356' r='.5' opacity='.5'/%3E%3Ccircle cx='729' cy='580' r='.7' opacity='.7'/%3E%3Ccircle cx='230' cy='239' r='.3' opacity='.3'/%3E%3Ccircle cx='287' cy='230' r='.3' opacity='.4'/%3E%3Ccircle cx='29' cy='655' r='.3' opacity='.4'/%3E%3Ccircle cx='197' cy='60' r='.6' opacity='.5'/%3E%3Ccircle cx='714' cy='777' r='.3' opacity='.3'/%3E%3Ccircle cx='444' cy='425' r='.4' opacity='.4'/%3E%3Ccircle cx='484' cy='376' r='.3' opacity='.3'/%3E%3Ccircle cx='263' cy='450' r='.3' opacity='.4'/%3E%3Ccircle cx='143' cy='277' r='.6' opacity='.6'/%3E%3Ccircle cx='245' cy='202' r='.5' opacity='.5'/%3E%3Ccircle cx='404' cy='308' r='.7' opacity='.6'/%3E%3Ccircle cx='405' cy='416' r='.3' opacity='.4'/%3E%3Ccircle cx='59' cy='113' r='.3' opacity='.3'/%3E%3Ccircle cx='533' cy='567' r='.3' opacity='.4'/%3E%3Ccircle cx='200' cy='257' r='.4' opacity='.4'/%3E%3Ccircle cx='139' cy='354' r='.3' opacity='.4'/%3E%3Ccircle cx='503' cy='839' r='.4' opacity='.4'/%3E%3Ccircle cx='276' cy='304' r='.5' opacity='.4'/%3E%3Ccircle cx='104' cy='167' r='.5' opacity='.5'/%3E%3Ccircle cx='852' cy='374' r='.6' opacity='.5'/%3E%3Ccircle cx='719' cy='608' r='.3' opacity='.4'/%3E%3Ccircle cx='260' cy='453' r='.5' opacity='.5'/%3E%3Ccircle cx='516' cy='229' r='.3' opacity='.4'/%3E%3Ccircle cx='527' cy='452' r='.3' opacity='.4'/%3E%3Ccircle cx='540' cy='159' r='.3' opacity='.4'/%3E%3Ccircle cx='332' cy='318' r='.4' opacity='.4'/%3E%3Ccircle cx='165' cy='137' r='.5' opacity='.4'/%3E%3Ccircle cx='575' cy='118' r='.4' opacity='.4'/%3E%3Ccircle cx='744' cy='707' r='.3' opacity='.4'/%3E%3Ccircle cx='767' cy='15' r='.3' opacity='.4'/%3E%3Ccircle cx='23' cy='222' r='.7' opacity='.6'/%3E%3Ccircle cx='366' cy='373' r='.6' opacity='.6'/%3E%3Ccircle cx='164' cy='686' r='.3' opacity='.4'/%3E%3Ccircle cx='251' cy='507' r='.3' opacity='.3'/%3E%3Ccircle cx='850' cy='644' r='.7' opacity='.7'/%3E%3Ccircle cx='370' cy='523' r='.4' opacity='.4'/%3E%3Ccircle cx='621' cy='223' r='.3' opacity='.4'/%3E%3Ccircle cx='469' cy='21' r='.3' opacity='.3'/%3E%3Ccircle cx='736' cy='589' r='.5' opacity='.5'/%3E%3Ccircle cx='636' cy='313' r='.4' opacity='.4'/%3E%3Ccircle cx='355' cy='334' r='.3' opacity='.4'/%3E%3Ccircle cx='654' cy='521' r='.4' opacity='.4'/%3E%3Ccircle cx='813' cy='509' r='.6' opacity='.6'/%3E%3Ccircle cx='0' cy='211' r='.4' opacity='.5'/%3E%3Ccircle cx='70' cy='284' r='.3' opacity='.3'/%3E%3Ccircle cx='817' cy='235' r='.3' opacity='.4'/%3E%3Ccircle cx='4' cy='338' r='.3' opacity='.3'/%3E%3Ccircle cx='357' cy='311' r='.4' opacity='.5'/%3E%3Ccircle cx='634' cy='497' r='.5' opacity='.5'/%3E%3C/g%3E%3Cg fill='%23FFD9B0'%3E%3Ccircle cx='846' cy='615' r='.6' opacity='.6'/%3E%3Ccircle cx='876' cy='674' r='.3' opacity='.4'/%3E%3Ccircle cx='731' cy='437' r='.3' opacity='.4'/%3E%3Ccircle cx='148' cy='729' r='.3' opacity='.4'/%3E%3Ccircle cx='680' cy='484' r='.5' opacity='.5'/%3E%3Ccircle cx='392' cy='343' r='.7' opacity='.6'/%3E%3Ccircle cx='860' cy='320' r='.7' opacity='.6'/%3E%3Ccircle cx='866' cy='754' r='.5' opacity='.5'/%3E%3Ccircle cx='363' cy='338' r='.5' opacity='.5'/%3E%3Ccircle cx='654' cy='802' r='.5' opacity='.5'/%3E%3Ccircle cx='181' cy='463' r='.3' opacity='.3'/%3E%3Ccircle cx='30' cy='187' r='.3' opacity='.4'/%3E%3Ccircle cx='296' cy='14' r='.4' opacity='.4'/%3E%3Ccircle cx='560' cy='222' r='.5' opacity='.5'/%3E%3Ccircle cx='188' cy='176' r='.4' opacity='.4'/%3E%3Ccircle cx='155' cy='324' r='.3' opacity='.4'/%3E%3Ccircle cx='493' cy='562' r='.3' opacity='.4'/%3E%3Ccircle cx='742' cy='809' r='.5' opacity='.5'/%3E%3Ccircle cx='107' cy='447' r='.3' opacity='.4'/%3E%3Ccircle cx='265' cy='701' r='.3' opacity='.4'/%3E%3Ccircle cx='356' cy='426' r='.3' opacity='.3'/%3E%3Ccircle cx='461' cy='373' r='.4' opacity='.5'/%3E%3Ccircle cx='123' cy='7' r='.3' opacity='.4'/%3E%3Ccircle cx='891' cy='325' r='.3' opacity='.3'/%3E%3Ccircle cx='505' cy='151' r='.3' opacity='.4'/%3E%3Ccircle cx='334' cy='410' r='.3' opacity='.3'/%3E%3C/g%3E%3Cg fill='%23BFD6FF'%3E%3Ccircle cx='494' cy='451' r='.3' opacity='.4'/%3E%3Ccircle cx='266' cy='388' r='.4' opacity='.4'/%3E%3Ccircle cx='229' cy='379' r='.3' opacity='.4'/%3E%3Ccircle cx='99' cy='71' r='.3' opacity='.4'/%3E%3Ccircle cx='276' cy='103' r='.3' opacity='.4'/%3E%3Ccircle cx='609' cy='454' r='.5' opacity='.4'/%3E%3Ccircle cx='402' cy='544' r='.7' opacity='.6'/%3E%3Ccircle cx='61' cy='320' r='.3' opacity='.4'/%3E%3Ccircle cx='883' cy='133' r='.5' opacity='.5'/%3E%3Ccircle cx='659' cy='766' r='.5' opacity='.6'/%3E%3Ccircle cx='891' cy='628' r='.4' opacity='.4'/%3E%3Ccircle cx='742' cy='576' r='.3' opacity='.3'/%3E%3Ccircle cx='703' cy='701' r='.4' opacity='.4'/%3E%3Ccircle cx='662' cy='541' r='.3' opacity='.3'/%3E%3Ccircle cx='764' cy='396' r='.3' opacity='.4'/%3E%3Ccircle cx='427' cy='513' r='.3' opacity='.4'/%3E%3Ccircle cx='160' cy='324' r='.7' opacity='.7'/%3E%3Ccircle cx='28' cy='158' r='.5' opacity='.4'/%3E%3Ccircle cx='811' cy='861' r='.7' opacity='.6'/%3E%3Ccircle cx='275' cy='325' r='.6' opacity='.5'/%3E%3Ccircle cx='481' cy='551' r='.3' opacity='.4'/%3E%3Ccircle cx='171' cy='449' r='.3' opacity='.3'/%3E%3Ccircle cx='613' cy='571' r='.6' opacity='.6'/%3E%3Ccircle cx='265' cy='746' r='.3' opacity='.4'/%3E%3Ccircle cx='865' cy='682' r='.4' opacity='.4'/%3E%3Ccircle cx='833' cy='795' r='.6' opacity='.5'/%3E%3Ccircle cx='52' cy='320' r='.3' opacity='.4'/%3E%3Ccircle cx='404' cy='526' r='.4' opacity='.4'/%3E%3Ccircle cx='575' cy='519' r='.6' opacity='.5'/%3E%3Ccircle cx='379' cy='412' r='.3' opacity='.3'/%3E%3Ccircle cx='218' cy='69' r='.3' opacity='.4'/%3E%3Ccircle cx='731' cy='558' r='.4' opacity='.5'/%3E%3Ccircle cx='427' cy='288' r='.3' opacity='.3'/%3E%3Ccircle cx='266' cy='410' r='.5' opacity='.5'/%3E%3Ccircle cx='517' cy='349' r='.7' opacity='.5'/%3E%3Ccircle cx='641' cy='816' r='.5' opacity='.6'/%3E%3Ccircle cx='845' cy='658' r='.5' opacity='.4'/%3E%3Ccircle cx='131' cy='625' r='.3' opacity='.4'/%3E%3Ccircle cx='863' cy='115' r='.3' opacity='.4'/%3E%3Ccircle cx='647' cy='351' r='.3' opacity='.4'/%3E%3Ccircle cx='360' cy='363' r='.3' opacity='.3'/%3E%3Ccircle cx='103' cy='804' r='.4' opacity='.4'/%3E%3Ccircle cx='542' cy='478' r='.4' opacity='.4'/%3E%3Ccircle cx='736' cy='273' r='.3' opacity='.3'/%3E%3Ccircle cx='799' cy='575' r='.4' opacity='.4'/%3E%3Ccircle cx='695' cy='607' r='.3' opacity='.4'/%3E%3Ccircle cx='556' cy='135' r='.4' opacity='.4'/%3E%3Ccircle cx='571' cy='388' r='.4' opacity='.4'/%3E%3Ccircle cx='151' cy='251' r='.7' opacity='.6'/%3E%3Ccircle cx='766' cy='767' r='.3' opacity='.3'/%3E%3Ccircle cx='41' cy='678' r='.3' opacity='.3'/%3E%3C/g%3E%3Cg fill='%23FFF1DC'%3E%3Ccircle cx='16' cy='370' r='.5' opacity='.5'/%3E%3Ccircle cx='863' cy='764' r='.3' opacity='.4'/%3E%3Ccircle cx='726' cy='549' r='.3' opacity='.3'/%3E%3Ccircle cx='838' cy='617' r='.6' opacity='.6'/%3E%3Ccircle cx='675' cy='381' r='.5' opacity='.5'/%3E%3Ccircle cx='73' cy='362' r='.4' opacity='.5'/%3E%3Ccircle cx='635' cy='270' r='.5' opacity='.6'/%3E%3Ccircle cx='114' cy='250' r='.4' opacity='.4'/%3E%3Ccircle cx='17' cy='812' r='.3' opacity='.4'/%3E%3Ccircle cx='113' cy='345' r='.3' opacity='.4'/%3E%3Ccircle cx='23' cy='193' r='.4' opacity='.4'/%3E%3Ccircle cx='678' cy='493' r='.4' opacity='.5'/%3E%3Ccircle cx='597' cy='68' r='.6' opacity='.5'/%3E%3Ccircle cx='826' cy='500' r='.5' opacity='.4'/%3E%3Ccircle cx='864' cy='200' r='.3' opacity='.3'/%3E%3Ccircle cx='568' cy='524' r='.7' opacity='.7'/%3E%3Ccircle cx='766' cy='593' r='.6' opacity='.6'/%3E%3Ccircle cx='795' cy='647' r='.4' opacity='.4'/%3E%3Ccircle cx='17' cy='257' r='.4' opacity='.4'/%3E%3Ccircle cx='536' cy='622' r='.5' opacity='.5'/%3E%3Ccircle cx='441' cy='75' r='.5' opacity='.5'/%3E%3Ccircle cx='341' cy='542' r='.4' opacity='.4'/%3E%3Ccircle cx='88' cy='260' r='.4' opacity='.4'/%3E%3Ccircle cx='297' cy='291' r='.3' opacity='.3'/%3E%3Ccircle cx='853' cy='628' r='.3' opacity='.4'/%3E%3Ccircle cx='518' cy='385' r='.6' opacity='.6'/%3E%3Ccircle cx='821' cy='837' r='.4' opacity='.5'/%3E%3Ccircle cx='606' cy='693' r='.3' opacity='.3'/%3E%3Ccircle cx='299' cy='685' r='.3' opacity='.4'/%3E%3Ccircle cx='596' cy='50' r='.3' opacity='.4'/%3E%3Ccircle cx='183' cy='549' r='.3' opacity='.3'/%3E%3Ccircle cx='405' cy='598' r='.4' opacity='.4'/%3E%3Ccircle cx='506' cy='423' r='.3' opacity='.4'/%3E%3Ccircle cx='570' cy='470' r='.5' opacity='.5'/%3E%3Ccircle cx='108' cy='580' r='.5' opacity='.5'/%3E%3Ccircle cx='835' cy='607' r='.5' opacity='.5'/%3E%3Ccircle cx='657' cy='872' r='.4' opacity='.5'/%3E%3Ccircle cx='64' cy='571' r='.5' opacity='.6'/%3E%3Ccircle cx='293' cy='466' r='.7' opacity='.6'/%3E%3C/g%3E%3Cg fill='%2338BDF8'%3E%3Ccircle cx='210' cy='374' r='.6' opacity='.8'/%3E%3Ccircle cx='774' cy='706' r='.5' opacity='.8'/%3E%3C/g%3E%3Cg fill='%2334D399'%3E%3Ccircle cx='148' cy='809' r='.5' opacity='.8'/%3E%3Ccircle cx='348' cy='480' r='.5' opacity='.8'/%3E%3Ccircle cx='472' cy='355' r='.5' opacity='.8'/%3E%3Ccircle cx='195' cy='530' r='.5' opacity='.8'/%3E%3Ccircle cx='708' cy='514' r='.5' opacity='.8'/%3E%3Ccircle cx='874' cy='550' r='.5' opacity='.8'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 900px 900px; background-repeat: repeat;
}
/* 3. nearer stars: they scroll with the page */
html:not([data-theme="day"]) main::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1100' height='1100'%3E%3Cg fill='%23BFD6FF'%3E%3Ccircle cx='398' cy='745' r='1.1' opacity='.8'/%3E%3Ccircle cx='11' cy='465' r='.5' opacity='.6'/%3E%3Ccircle cx='738' cy='1096' r='.6' opacity='.7'/%3E%3Ccircle cx='449' cy='959' r='.5' opacity='.6'/%3E%3Ccircle cx='533' cy='697' r='.5' opacity='.6'/%3E%3Ccircle cx='57' cy='157' r='.5' opacity='.6'/%3E%3Ccircle cx='1085' cy='852' r='.8' opacity='.7'/%3E%3Ccircle cx='349' cy='566' r='.5' opacity='.6'/%3E%3Ccircle cx='234' cy='642' r='.5' opacity='.6'/%3E%3Ccircle cx='129' cy='493' r='.5' opacity='.6'/%3E%3Ccircle cx='908' cy='475' r='.7' opacity='.7'/%3E%3Ccircle cx='984' cy='759' r='1.1' opacity='.9'/%3E%3C/g%3E%3Cg fill='%23DCE9FF'%3E%3Ccircle cx='96' cy='802' r='.5' opacity='.6'/%3E%3Ccircle cx='622' cy='529' r='.5' opacity='.6'/%3E%3Ccircle cx='887' cy='814' r='.9' opacity='.8'/%3E%3Ccircle cx='952' cy='748' r='.6' opacity='.7'/%3E%3Ccircle cx='826' cy='689' r='.7' opacity='.8'/%3E%3Ccircle cx='523' cy='481' r='.5' opacity='.6'/%3E%3Ccircle cx='303' cy='340' r='.5' opacity='.7'/%3E%3Ccircle cx='381' cy='21' r='.7' opacity='.7'/%3E%3Ccircle cx='671' cy='509' r='.5' opacity='.6'/%3E%3Ccircle cx='544' cy='902' r='1' opacity='.8'/%3E%3Ccircle cx='465' cy='216' r='.8' opacity='.8'/%3E%3Ccircle cx='914' cy='571' r='.6' opacity='.7'/%3E%3Ccircle cx='320' cy='442' r='.6' opacity='.7'/%3E%3Ccircle cx='984' cy='699' r='.5' opacity='.6'/%3E%3Ccircle cx='454' cy='1060' r='1' opacity='.9'/%3E%3Ccircle cx='164' cy='560' r='.5' opacity='.6'/%3E%3Ccircle cx='771' cy='445' r='.5' opacity='.6'/%3E%3Ccircle cx='313' cy='463' r='.7' opacity='.7'/%3E%3Ccircle cx='823' cy='559' r='.6' opacity='.7'/%3E%3Ccircle cx='636' cy='102' r='.8' opacity='.8'/%3E%3Ccircle cx='432' cy='914' r='1' opacity='.9'/%3E%3Ccircle cx='615' cy='806' r='.5' opacity='.6'/%3E%3Ccircle cx='874' cy='315' r='.5' opacity='.6'/%3E%3Ccircle cx='296' cy='342' r='.5' opacity='.7'/%3E%3C/g%3E%3Cg fill='%23FFFFFF'%3E%3Ccircle cx='654' cy='692' r='.5' opacity='.7'/%3E%3Ccircle cx='218' cy='349' r='.7' opacity='.7'/%3E%3Ccircle cx='4' cy='382' r='.6' opacity='.7'/%3E%3Ccircle cx='196' cy='198' r='.8' opacity='.7'/%3E%3Ccircle cx='662' cy='788' r='.6' opacity='.7'/%3E%3Ccircle cx='203' cy='676' r='.5' opacity='.6'/%3E%3Ccircle cx='968' cy='434' r='.6' opacity='.6'/%3E%3Ccircle cx='822' cy='8' r='.7' opacity='.7'/%3E%3Ccircle cx='18' cy='749' r='.5' opacity='.6'/%3E%3Ccircle cx='1080' cy='939' r='.5' opacity='.6'/%3E%3Ccircle cx='94' cy='187' r='.5' opacity='.6'/%3E%3Ccircle cx='759' cy='612' r='.5' opacity='.6'/%3E%3Ccircle cx='1047' cy='822' r='.5' opacity='.6'/%3E%3Ccircle cx='643' cy='1049' r='.9' opacity='.8'/%3E%3Ccircle cx='1040' cy='623' r='.5' opacity='.6'/%3E%3Ccircle cx='594' cy='602' r='.5' opacity='.6'/%3E%3Ccircle cx='925' cy='32' r='.5' opacity='.6'/%3E%3Ccircle cx='198' cy='554' r='.8' opacity='.7'/%3E%3Ccircle cx='921' cy='767' r='1.1' opacity='.8'/%3E%3Ccircle cx='742' cy='715' r='1' opacity='.8'/%3E%3Ccircle cx='1045' cy='772' r='.5' opacity='.6'/%3E%3Ccircle cx='281' cy='1044' r='.5' opacity='.6'/%3E%3Ccircle cx='214' cy='17' r='.5' opacity='.6'/%3E%3Ccircle cx='574' cy='436' r='.5' opacity='.6'/%3E%3Ccircle cx='566' cy='138' r='.5' opacity='.7'/%3E%3Ccircle cx='224' cy='447' r='.6' opacity='.7'/%3E%3Ccircle cx='895' cy='672' r='.7' opacity='.7'/%3E%3Ccircle cx='608' cy='649' r='.5' opacity='.6'/%3E%3Ccircle cx='418' cy='707' r='1' opacity='.8'/%3E%3Ccircle cx='449' cy='592' r='1' opacity='.8'/%3E%3Ccircle cx='715' cy='1061' r='.7' opacity='.7'/%3E%3Ccircle cx='979' cy='87' r='.5' opacity='.6'/%3E%3Ccircle cx='27' cy='756' r='.6' opacity='.7'/%3E%3C/g%3E%3Cg fill='%2338BDF8'%3E%3Ccircle cx='548' cy='961' r='.8' opacity='.8'/%3E%3Ccircle cx='298' cy='729' r='.8' opacity='.8'/%3E%3Ccircle cx='88' cy='333' r='1.1' opacity='.9'/%3E%3Ccircle cx='968' cy='512' r='1.1' opacity='.8'/%3E%3C/g%3E%3Cg fill='%2334D399'%3E%3Ccircle cx='656' cy='487' r='.8' opacity='.8'/%3E%3Ccircle cx='898' cy='600' r='.8' opacity='.8'/%3E%3Ccircle cx='985' cy='1045' r='.8' opacity='.8'/%3E%3Ccircle cx='692' cy='929' r='.9' opacity='.8'/%3E%3C/g%3E%3Cg fill='%23FFF1DC'%3E%3Ccircle cx='908' cy='739' r='.8' opacity='.7'/%3E%3Ccircle cx='646' cy='779' r='.6' opacity='.7'/%3E%3Ccircle cx='515' cy='1076' r='.6' opacity='.7'/%3E%3Ccircle cx='412' cy='126' r='.6' opacity='.7'/%3E%3Ccircle cx='1092' cy='792' r='.5' opacity='.6'/%3E%3Ccircle cx='966' cy='985' r='.5' opacity='.6'/%3E%3Ccircle cx='818' cy='916' r='.6' opacity='.7'/%3E%3Ccircle cx='95' cy='500' r='.5' opacity='.6'/%3E%3Ccircle cx='539' cy='409' r='.5' opacity='.6'/%3E%3Ccircle cx='612' cy='446' r='.8' opacity='.8'/%3E%3Ccircle cx='1071' cy='855' r='.5' opacity='.6'/%3E%3C/g%3E%3Cg fill='%23FBBF24'%3E%3Ccircle cx='1023' cy='539' r='.8' opacity='.8'/%3E%3Ccircle cx='829' cy='1061' r='.8' opacity='.8'/%3E%3C/g%3E%3Cg fill='%23FFD9B0'%3E%3Ccircle cx='530' cy='1040' r='.5' opacity='.6'/%3E%3Ccircle cx='804' cy='731' r='.5' opacity='.7'/%3E%3Ccircle cx='292' cy='269' r='1' opacity='.8'/%3E%3Ccircle cx='342' cy='1085' r='.7' opacity='.8'/%3E%3Ccircle cx='274' cy='223' r='.9' opacity='.8'/%3E%3Ccircle cx='708' cy='408' r='.5' opacity='.6'/%3E%3Ccircle cx='299' cy='742' r='.8' opacity='.8'/%3E%3Ccircle cx='1087' cy='703' r='.6' opacity='.6'/%3E%3Ccircle cx='729' cy='640' r='.5' opacity='.7'/%3E%3Ccircle cx='86' cy='244' r='.8' opacity='.7'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 1100px 1100px; background-repeat: repeat;
  -webkit-mask-image: none; mask-image: none;
}
html:not([data-theme="day"]) main::after { background-image: none; -webkit-mask-image: none; mask-image: none; }
/* 4. the brightest few: a slow, uneven twinkle */
html:not([data-theme="day"]) body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1000' height='1000'%3E%3Cg fill='%2334D399'%3E%3Ccircle cx='794' cy='209' r='4.1' opacity='.05'/%3E%3Ccircle cx='794' cy='209' r='2.3' opacity='.14'/%3E%3Ccircle cx='794' cy='209' r='1.4' opacity='1'/%3E%3C/g%3E%3Cg fill='%23FBBF24'%3E%3Ccircle cx='599' cy='981' r='4.7' opacity='.05'/%3E%3Ccircle cx='599' cy='981' r='2.6' opacity='.14'/%3E%3Ccircle cx='599' cy='981' r='1.6' opacity='1'/%3E%3C/g%3E%3Cg fill='%2338BDF8'%3E%3Ccircle cx='871' cy='56' r='5.4' opacity='.05'/%3E%3Ccircle cx='871' cy='56' r='3.1' opacity='.14'/%3E%3Ccircle cx='871' cy='56' r='1.8' opacity='1'/%3E%3C/g%3E%3Cg fill='%23FFF1DC'%3E%3Ccircle cx='910' cy='106' r='5.4' opacity='.05'/%3E%3Ccircle cx='910' cy='106' r='3.1' opacity='.14'/%3E%3Ccircle cx='910' cy='106' r='1.8' opacity='1'/%3E%3Ccircle cx='425' cy='876' r='1' opacity='.9'/%3E%3Ccircle cx='457' cy='472' r='1' opacity='.9'/%3E%3Ccircle cx='161' cy='827' r='1.2' opacity='.9'/%3E%3C/g%3E%3Cg fill='%23DCE9FF'%3E%3Ccircle cx='119' cy='819' r='5' opacity='.05'/%3E%3Ccircle cx='119' cy='819' r='2.8' opacity='.14'/%3E%3Ccircle cx='119' cy='819' r='1.7' opacity='1'/%3E%3Ccircle cx='580' cy='476' r='5.3' opacity='.05'/%3E%3Ccircle cx='580' cy='476' r='3' opacity='.14'/%3E%3Ccircle cx='580' cy='476' r='1.8' opacity='1'/%3E%3Ccircle cx='8' cy='136' r='4.9' opacity='.05'/%3E%3Ccircle cx='8' cy='136' r='2.8' opacity='.14'/%3E%3Ccircle cx='8' cy='136' r='1.6' opacity='1'/%3E%3Ccircle cx='684' cy='593' r='.7' opacity='.9'/%3E%3Ccircle cx='578' cy='1' r='.7' opacity='.9'/%3E%3Ccircle cx='290' cy='90' r='.8' opacity='.9'/%3E%3Ccircle cx='89' cy='705' r='1' opacity='.9'/%3E%3Ccircle cx='508' cy='626' r='1.3' opacity='.9'/%3E%3C/g%3E%3Cg fill='%23FFFFFF'%3E%3Ccircle cx='145' cy='634' r='.8' opacity='.9'/%3E%3Ccircle cx='352' cy='202' r='.7' opacity='.9'/%3E%3Ccircle cx='389' cy='779' r='.8' opacity='.9'/%3E%3Ccircle cx='946' cy='668' r='.7' opacity='.9'/%3E%3Ccircle cx='798' cy='76' r='1.1' opacity='.9'/%3E%3Ccircle cx='141' cy='969' r='1.3' opacity='1'/%3E%3Ccircle cx='894' cy='371' r='.7' opacity='.9'/%3E%3Ccircle cx='219' cy='597' r='1.2' opacity='.9'/%3E%3C/g%3E%3Cg fill='%23BFD6FF'%3E%3Ccircle cx='316' cy='146' r='.8' opacity='.9'/%3E%3Ccircle cx='375' cy='391' r='.8' opacity='.9'/%3E%3C/g%3E%3Cg fill='%23FFD9B0'%3E%3Ccircle cx='100' cy='811' r='.7' opacity='.9'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 1000px 1000px; background-repeat: repeat;
  animation: akSkyTwinkleA 7s ease-in-out infinite;
}
html:not([data-theme="day"])::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1300' height='1300'%3E%3Cg fill='%2334D399'%3E%3Ccircle cx='984' cy='613' r='4.7' opacity='.05'/%3E%3Ccircle cx='984' cy='613' r='2.7' opacity='.14'/%3E%3Ccircle cx='984' cy='613' r='1.6' opacity='1'/%3E%3C/g%3E%3Cg fill='%23FBBF24'%3E%3Ccircle cx='299' cy='980' r='5.8' opacity='.05'/%3E%3Ccircle cx='299' cy='980' r='3.3' opacity='.14'/%3E%3Ccircle cx='299' cy='980' r='1.9' opacity='1'/%3E%3C/g%3E%3Cg fill='%2338BDF8'%3E%3Ccircle cx='573' cy='459' r='4.8' opacity='.05'/%3E%3Ccircle cx='573' cy='459' r='2.7' opacity='.14'/%3E%3Ccircle cx='573' cy='459' r='1.6' opacity='1'/%3E%3C/g%3E%3Cg fill='%23DCE9FF'%3E%3Ccircle cx='48' cy='1236' r='4.7' opacity='.05'/%3E%3Ccircle cx='48' cy='1236' r='2.7' opacity='.14'/%3E%3Ccircle cx='48' cy='1236' r='1.6' opacity='1'/%3E%3Ccircle cx='846' cy='493' r='.8' opacity='.9'/%3E%3Ccircle cx='668' cy='409' r='.7' opacity='.9'/%3E%3Ccircle cx='695' cy='150' r='.7' opacity='.9'/%3E%3Ccircle cx='1052' cy='531' r='.8' opacity='.9'/%3E%3Ccircle cx='548' cy='473' r='.7' opacity='.9'/%3E%3C/g%3E%3Cg fill='%23FFFFFF'%3E%3Ccircle cx='341' cy='41' r='4.6' opacity='.05'/%3E%3Ccircle cx='341' cy='41' r='2.6' opacity='.14'/%3E%3Ccircle cx='341' cy='41' r='1.5' opacity='1'/%3E%3Ccircle cx='391' cy='1135' r='5.7' opacity='.05'/%3E%3Ccircle cx='391' cy='1135' r='3.3' opacity='.14'/%3E%3Ccircle cx='391' cy='1135' r='1.9' opacity='1'/%3E%3Ccircle cx='769' cy='998' r='.9' opacity='.9'/%3E%3Ccircle cx='12' cy='373' r='.7' opacity='.9'/%3E%3Ccircle cx='137' cy='832' r='.7' opacity='.9'/%3E%3Ccircle cx='450' cy='219' r='.7' opacity='.9'/%3E%3C/g%3E%3Cg fill='%23BFD6FF'%3E%3Ccircle cx='1005' cy='357' r='.8' opacity='.9'/%3E%3Ccircle cx='263' cy='1036' r='.7' opacity='.9'/%3E%3Ccircle cx='1205' cy='251' r='1.3' opacity='.9'/%3E%3C/g%3E%3Cg fill='%23FFF1DC'%3E%3Ccircle cx='896' cy='1217' r='.8' opacity='.9'/%3E%3Ccircle cx='610' cy='265' r='.9' opacity='.9'/%3E%3Ccircle cx='864' cy='526' r='.9' opacity='.9'/%3E%3C/g%3E%3Cg fill='%23FFD9B0'%3E%3Ccircle cx='123' cy='535' r='1.3' opacity='1'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 1300px 1300px; background-position: 340px 180px; background-repeat: repeat;
  animation: akSkyTwinkleB 11s ease-in-out infinite;
}
/* 5. a shooting star, now and then: thin and faint */
html:not([data-theme="day"])::after {
  content: ""; position: fixed; top: 14vh; right: 8vw; width: 120px; height: 1px; z-index: -1; pointer-events: none; border-radius: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.85), rgba(200, 220, 255, 0.35) 35%, transparent);
  opacity: 0; transform: rotate(-22deg) translate3d(240px, 0, 0);
  animation: akSkyShoot 27s ease-in 6s infinite;
}
@keyframes akSkyTwinkleA { 0%, 100% { opacity: 0.55; } 30% { opacity: 1; } 55% { opacity: 0.7; } 80% { opacity: 0.95; } }
@keyframes akSkyTwinkleB { 0%, 100% { opacity: 1; } 25% { opacity: 0.6; } 50% { opacity: 0.9; } 75% { opacity: 0.5; } }
@keyframes akSkyShoot { 0% { opacity: 0; transform: rotate(-22deg) translate3d(240px, 0, 0); } 1.2% { opacity: 0.9; } 4.5% { opacity: 0; transform: rotate(-22deg) translate3d(-480px, 0, 0); } 100% { opacity: 0; transform: rotate(-22deg) translate3d(-480px, 0, 0); } }
/* the sections lose their faint vertical hatch at Night (it read as worn carpet over the sky); the fine amber line on top of each stays */
html:not([data-theme="day"]) main > :is(#sec-services, #sec-websites, #sec-cocreation, #sec-grade, #sec-automation, #sec-industries, #sec-finder, #sec-faq) {
  background-image: linear-gradient(90deg, transparent, color-mix(in srgb, var(--mx-pri, #F59E0B) 38%, transparent) 50%, transparent) !important;
  background-size: 100% 1px !important; background-position: 50% 0 !important; background-repeat: no-repeat !important;
}
@media (max-width: 767px) {
  /* a phone: one twinkling field, a shorter shooting star */
  html:not([data-theme="day"])::before { display: none; }
  html:not([data-theme="day"])::after { width: 80px; top: 11vh; }
}
@media (prefers-reduced-motion: reduce) {
  html:not([data-theme="day"]) body::after, html:not([data-theme="day"])::before { animation: none; }
  html:not([data-theme="day"])::after { display: none; }
}


/* =============================================================================
   The Day look, every page (Frank 2026-11-27: Day must reach the level of the Night look, CL-241).
   Shared by site/index.html (inlined by the home build) and every page built from site/_build/template.html (linked).
   Night is not touched: every rule here starts with html[data-theme="day"].
   No images, no motion, no fixed layers: painted gradients and CSS dot patterns that scroll with the page.

   1. CL-258, the opening (home): the raised panel keeps its blueprint grid and gets a soft light gradient behind it
      (warm ivory into pale gold and pale sky). The page behind the panel no longer repeats the bright white
      blueprint: it is a calm, slightly deeper sky-to-sand gradient, so the panel reads as raised.
      A visitor's own color mix still tints the panel as before (22-akarec-v3-launch.css); the default mix gets this look.
   2. CL-259, every page: one calm page gradient (ivory, pale sky, pale sand, never flat white) that shifts down the page,
      and Frank's favourite pairing as the system: a light gold/brown dotted section, then a light blue dotted section,
      alternating. Same dot size and spacing everywhere (1.1 px dots on a 20 px grid), smooth gradients under the dots,
      soft edges so sections melt into the page. Everything follows the visitor's color mix (--mx-*).
      Text contrast: the deepest tone used behind text is about #E2EEF6 / #F4EADB; ink, muted text (#475569) and the
      Day eyebrow gold (CL-164) all stay above 4.5:1 on it.
   3. CL-285 (Frank round 3, items 1-3): richer light tones built in OKLCH (gradients interpolate `in oklch`, so blends stay clean
      without grey middles; on wide-gamut screens the glows reach into display-p3). The hero panel goes white, then light yellow, then
      light blue, and stays whiter than the page; its blueprint gets a few deeper brand blues. The dots are deeper (gold or blue) at
      the top right and fade through the whole section to the same very light dots as before (lighter to the left, lighter going down):
      two see-through "veils" in the section's own tones sit over the dots, so the tones and glows are untouched.
      Browsers without `in oklch` keep the CL-259 painting (the @supports blocks below hold the new one). AA re-measured.
   ============================================================================= */

/* ---------- 1. the opening ---------- */
/* behind the panel: calm sky-to-sand, no grid lines; soft gold and blue light in the top corners */
html[data-theme="day"] #sec-hero::before,
html[data-theme="day"][data-mix="AKAREC Signature"] #sec-hero::before {
  background-image:
    radial-gradient(ellipse 52% 64% at 98% 0%, color-mix(in srgb, var(--mx-day-pri, #D97706) 13%, transparent), transparent 72%),
    radial-gradient(ellipse 46% 58% at 0% 14%, color-mix(in srgb, var(--mx-sec, #0284C7) 13%, transparent), transparent 72%),
    linear-gradient(180deg, #DCE7F0 0%, #E6ECEE 36%, #EEE8DA 74%, #F2EDE2 100%);
  background-image:
    radial-gradient(ellipse 52% 64% at 98% 0%, color-mix(in oklch, var(--mx-day-pri, #D97706) 15%, transparent), transparent 72%),
    radial-gradient(ellipse 46% 58% at 0% 14%, color-mix(in oklch, var(--mx-sec, #0284C7) 15%, transparent), transparent 72%),
    linear-gradient(in oklch 180deg, oklch(91.8% 0.026 238) 0%, oklch(93.4% 0.016 220) 36%, oklch(93.6% 0.026 84) 74%, oklch(95.2% 0.02 82) 100%);
  background-size: auto;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
}
/* the raised panel (default mix): warm ivory on the reading side, pale gold and pale sky toward the sample site */
html[data-theme="day"][data-mix="AKAREC Signature"] #heroStageSurface,
html[data-theme="day"][data-tryout-palette][data-mix="AKAREC Signature"] #heroStageSurface {
  background-color: #FCF8EF !important;
  background-image:
    radial-gradient(ellipse 58% 62% at 100% 0%, rgba(245, 158, 11, 0.10), transparent 70%),
    radial-gradient(ellipse 62% 70% at 100% 100%, rgba(2, 132, 199, 0.15), transparent 72%),
    radial-gradient(ellipse 50% 46% at 0% 0%, rgba(2, 132, 199, 0.06), transparent 70%),
    radial-gradient(ellipse 44% 48% at 0% 100%, rgba(2, 132, 199, 0.08), transparent 70%),
    linear-gradient(118deg, #FFFEFC 0%, #FDFAF3 50%, #F9F2E2 100%) !important;
  /* CL-285: white, then light yellow, then light blue, each fading into the next; whiter than the page around it */
  background-color: #FFFEFB !important;
  background-image:
    radial-gradient(ellipse 52% 56% at 100% 0%, color-mix(in oklch, #FDE047 13%, transparent), transparent 72%),
    radial-gradient(ellipse 62% 70% at 100% 100%, color-mix(in oklch, #38BDF8 13%, transparent), transparent 74%),
    radial-gradient(ellipse 44% 48% at 0% 100%, color-mix(in oklch, #0284C7 5%, transparent), transparent 70%),
    linear-gradient(in oklch 118deg, oklch(100% 0 0) 0%, oklch(99.6% 0.004 95) 30%, oklch(98.9% 0.03 96) 60%, oklch(98.4% 0.012 220) 82%, oklch(97.8% 0.017 235) 100%) !important;
  border: 1px solid rgba(11, 25, 48, 0.12) !important;
  box-shadow:
    inset 0 1px 0 #FFFFFF,
    0 2px 4px rgba(11, 25, 48, 0.05),
    0 16px 32px -20px rgba(146, 64, 14, 0.18),
    0 38px 76px -32px rgba(11, 25, 48, 0.36) !important;
}
/* the panel's blueprint: the fine grid plus a heavier line every fifth square, so it reads as a drawing, not graph paper */
html[data-theme="day"] #heroStageSurface::before {
  /* CL-285: the heavier lines in a deeper brand blue (#075985), the fine grid unchanged */
  background-image:
    linear-gradient(rgba(7, 89, 133, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 89, 133, 0.22) 1px, transparent 1px),
    linear-gradient(rgba(2, 132, 199, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 132, 199, 0.16) 1px, transparent 1px);
  background-size: 140px 140px, 140px 140px, 28px 28px, 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 30%, rgba(0, 0, 0, 0.35) 78%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 30%, rgba(0, 0, 0, 0.35) 78%, transparent 100%);
}

/* ---------- 2. every page: the page gradient ---------- */
html[data-theme="day"] body,
html[data-theme="day"][data-mix="AKAREC Signature"] body,
html[data-theme="day"][data-tryout-palette] body,
html[data-theme="day"][data-tryout-palette][data-mix="AKAREC Signature"] body {
  background-color: #F6F2E9 !important;
  background-image:
    radial-gradient(1100px 760px at 86% 1.5%, color-mix(in srgb, var(--mx-day-pri, #D97706) 9%, transparent) 0%, transparent 70%),
    radial-gradient(1000px 900px at 6% 30%, color-mix(in srgb, var(--mx-sec, #0284C7) 8%, transparent) 0%, transparent 70%),
    radial-gradient(900px 820px at 92% 60%, color-mix(in srgb, var(--mx-day-pri, #D97706) 7%, transparent) 0%, transparent 70%),
    radial-gradient(1000px 820px at 12% 86%, color-mix(in srgb, var(--mx-sec, #0284C7) 8%, transparent) 0%, transparent 70%),
    linear-gradient(180deg, #E4ECF1 0%, #EFEEE8 5%, #F7F3EA 16%, #EEF3F6 32%, #F8F3E9 48%, #EDF3F6 64%, #F7F2E8 80%, #EEF2F3 93%, #E6ECEF 100%) !important;
  /* CL-285: the same journey (sky, sand, sky ...) in richer OKLCH tones that blend without grey middles */
  background-image:
    radial-gradient(1100px 760px at 86% 1.5%, color-mix(in oklch, var(--mx-day-pri, #D97706) 11%, transparent) 0%, transparent 70%),
    radial-gradient(1000px 900px at 6% 30%, color-mix(in oklch, var(--mx-sec, #0284C7) 10%, transparent) 0%, transparent 70%),
    radial-gradient(900px 820px at 92% 60%, color-mix(in oklch, var(--mx-day-pri, #D97706) 9%, transparent) 0%, transparent 70%),
    radial-gradient(1000px 820px at 12% 86%, color-mix(in oklch, var(--mx-sec, #0284C7) 10%, transparent) 0%, transparent 70%),
    linear-gradient(in oklch 180deg, oklch(93.4% 0.02 236) 0%, oklch(95% 0.012 160) 5%, oklch(96.6% 0.02 84) 16%, oklch(95.6% 0.016 232) 32%, oklch(96.8% 0.022 82) 48%, oklch(95.5% 0.017 230) 64%, oklch(96.6% 0.022 80) 80%, oklch(95.4% 0.012 210) 93%, oklch(93.6% 0.018 230) 100%) !important;
  background-size: auto !important;
  background-repeat: no-repeat !important;
  background-attachment: scroll !important;
}

/* ---------- 2. the two section looks (set as variables, painted by one rule) ---------- */
/* gold/brown dots on warm ivory-to-sand */
/* CL-295: home order is hero, What we do, Websites, Brand Studio, AKA Grade, Automation, Industry, finder, FAQ: gold, blue, gold, blue, gold, blue, gold, blue */
html[data-theme="day"] :is(#sec-services, #sec-cocreation, #sec-automation, #sec-ownership, #sec-pricing, #sec-industries + #sec-finder),
html[data-theme="day"] #sec-industries + #sec-finder ~ #sec-faq,
html[data-theme="day"] body.akp main > .akp-section:nth-of-type(even):not(.akp-hero) {
  --dk-a: color-mix(in oklch, var(--mx-day-pri, #B45309) 3%, oklch(98.6% 0.012 85));
  --dk-b: color-mix(in oklch, var(--mx-day-pri, #B45309) 6%, oklch(96.6% 0.03 82));
  --dk-dot: color-mix(in srgb, var(--mx-day-pri, #B45309) 28%, transparent);
  --dk-dot-rich: color-mix(in srgb, color-mix(in oklch, var(--mx-day-pri, #B45309) 82%, var(--mx-pri, #F59E0B)) 50%, transparent);
  --dk-glow: color-mix(in oklch, var(--mx-pri, #F59E0B) 13%, transparent);
  --dk-glow2: color-mix(in oklch, var(--mx-sec, #0284C7) 8%, transparent);
}
/* blue dots on pale sky */
html[data-theme="day"] :is(#sec-websites, #sec-grade, #sec-industries, #sec-finder, #sec-faq),
html[data-theme="day"] #sec-industries + #sec-finder ~ #sec-pricing,
html[data-theme="day"] body.akp main > .akp-section:nth-of-type(odd):not(.akp-hero) {
  --dk-a: color-mix(in oklch, var(--mx-sec, #0284C7) 3%, oklch(98.6% 0.008 235));
  --dk-b: color-mix(in oklch, var(--mx-sec, #0284C7) 7%, oklch(96.2% 0.022 235));
  --dk-dot: color-mix(in srgb, var(--mx-day-sec, #0369A1) 30%, transparent);
  --dk-dot-rich: color-mix(in srgb, color-mix(in oklch, var(--mx-day-sec, #0369A1) 80%, var(--mx-sec, #0284C7)) 52%, transparent);
  --dk-glow: color-mix(in oklch, var(--mx-sec, #0284C7) 12%, transparent);
  --dk-glow2: color-mix(in oklch, var(--mx-pri, #F59E0B) 9%, transparent);
}

/* home: each section paints its look on its own layer behind the content; the old flat white section fills go */
html[data-theme="day"][data-theme][data-theme] main > .ak-section:not(#sec-hero) { background: transparent !important; }
html[data-theme="day"] :is(#sec-cocreation, #sec-grade, #sec-automation, #sec-services, #sec-websites, #sec-industries, #sec-ownership, #sec-finder, #sec-pricing, #sec-faq)::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(var(--dk-dot) 1.1px, transparent 1.7px),
    radial-gradient(ellipse 62% 46% at 88% 10%, var(--dk-glow), transparent 72%),
    radial-gradient(ellipse 56% 42% at 6% 92%, var(--dk-glow2), transparent 72%),
    linear-gradient(180deg, var(--dk-a) 0%, var(--dk-b) 46%, var(--dk-a) 100%);
  background-size: 20px 20px, auto, auto, auto;
  background-position: 0 0;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 84px, #000 calc(100% - 84px), transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 84px, #000 calc(100% - 84px), transparent 100%);
}

/* built pages: the same two looks on every section after the hero (sections with a background picture keep it on top) */
html[data-theme="day"] body.akp main > .akp-section:not(.akp-hero) {
  background-image:
    radial-gradient(var(--dk-dot) 1.1px, transparent 1.7px),
    radial-gradient(ellipse 62% 46% at 88% 10%, var(--dk-glow), transparent 72%),
    radial-gradient(ellipse 56% 42% at 6% 92%, var(--dk-glow2), transparent 72%),
    linear-gradient(180deg, transparent 0, var(--dk-a) 84px, var(--dk-b) 50%, var(--dk-a) calc(100% - 84px), transparent 100%);
  background-size: 20px 20px, auto, auto, auto;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat;
  border-bottom-color: transparent;
}
/* built pages carry far more plain text straight on the section: quieter dots there */
html[data-theme="day"] body.akp main > .akp-section:nth-of-type(even):not(.akp-hero) { --dk-dot: color-mix(in srgb, var(--mx-day-pri, #B45309) 21%, transparent); --dk-dot-rich: color-mix(in srgb, var(--mx-day-pri, #B45309) 40%, transparent); }
html[data-theme="day"] body.akp main > .akp-section:nth-of-type(odd):not(.akp-hero) { --dk-dot: color-mix(in srgb, var(--mx-day-sec, #0369A1) 23%, transparent); --dk-dot-rich: color-mix(in srgb, var(--mx-day-sec, #0369A1) 42%, transparent); }
/* the SEO pages draw their own node pattern per section (CL-203): they take the tones, not the dots */
html[data-theme="day"] body.akp--seo main > .akp-section:not(.akp-hero) { --dk-dot: transparent; --dk-dot-rich: transparent; }
html[data-theme="day"] body.akp--seo main > .akp-section:not(.akp-hero):nth-of-type(even) { background-color: transparent; }

/* ---------- 3. CL-285: dots that fade through the section (darker right, lighter left, lighter going down), OKLCH blends ----------
   Layers, top first: the two glows, a sideways veil (the section's edge tone, strong on the left, gone on the right), a downward veil
   (the section's own tone stops, so the tone underneath never shifts: clear near the top, close to solid at the bottom), the deep dots,
   the section's tone gradient. Where the veils are clear the dots show at their deepest; at the bottom left they end as light as before. */
@supports (background-image: linear-gradient(in oklch, red, blue)) {
  html[data-theme="day"] :is(#sec-cocreation, #sec-grade, #sec-automation, #sec-services, #sec-websites, #sec-industries, #sec-ownership, #sec-finder, #sec-pricing, #sec-faq)::after {
    background-image:
      radial-gradient(ellipse 62% 46% at 88% 10%, var(--dk-glow-p3, var(--dk-glow)), transparent 72%),
      radial-gradient(ellipse 56% 42% at 6% 92%, var(--dk-glow2), transparent 72%),
      linear-gradient(in oklch 90deg, color-mix(in srgb, var(--dk-a) 72%, transparent) 0%, color-mix(in srgb, var(--dk-a) 38%, transparent) 42%, color-mix(in srgb, var(--dk-a) 0%, transparent) 88%),
      linear-gradient(in oklch 180deg, color-mix(in srgb, var(--dk-a) 55%, transparent) 0%, color-mix(in srgb, var(--dk-a) 0%, transparent) 14%, color-mix(in srgb, color-mix(in oklch, var(--dk-a) 50%, var(--dk-b)) 30%, transparent) 30%, color-mix(in srgb, var(--dk-b) 55%, transparent) 46%, color-mix(in srgb, color-mix(in oklch, var(--dk-a) 50%, var(--dk-b)) 74%, transparent) 74%, color-mix(in srgb, var(--dk-a) 86%, transparent) 100%),
      radial-gradient(var(--dk-dot-rich) 1.1px, transparent 1.7px),
      linear-gradient(in oklch 180deg, var(--dk-a) 0%, color-mix(in oklch, var(--dk-a) 50%, var(--dk-b)) 30%, var(--dk-b) 46%, color-mix(in oklch, var(--dk-a) 50%, var(--dk-b)) 74%, var(--dk-a) 100%);
    background-size: auto, auto, 100% 100%, 100% 100%, 20px 20px, auto;
    background-position: 0 0;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat, no-repeat;
  }
  /* built pages: the same layers; the dots and veils stay inside the section's padding (content box), where the tone is solid,
     so they start and end softly; the soft see-through edges of the tone are unchanged */
  html[data-theme="day"] body.akp main > .akp-section:not(.akp-hero) {
    background-image:
      radial-gradient(ellipse 62% 46% at 88% 10%, var(--dk-glow-p3, var(--dk-glow)), transparent 72%),
      radial-gradient(ellipse 56% 42% at 6% 92%, var(--dk-glow2), transparent 72%),
      linear-gradient(in oklch 90deg, color-mix(in srgb, var(--dk-a) 72%, transparent) 0%, color-mix(in srgb, var(--dk-a) 38%, transparent) 42%, color-mix(in srgb, var(--dk-a) 0%, transparent) 88%),
      linear-gradient(in oklch 180deg, color-mix(in srgb, var(--dk-a) 92%, transparent) 0%, color-mix(in srgb, var(--dk-a) 0%, transparent) 12%, color-mix(in srgb, var(--dk-b) 50%, transparent) 50%, color-mix(in srgb, var(--dk-a) 92%, transparent) 100%),
      radial-gradient(var(--dk-dot-rich) 1.1px, transparent 1.7px),
      linear-gradient(in oklch 180deg, transparent 0, var(--dk-a) 3rem, var(--dk-b) 50%, var(--dk-a) calc(100% - 3rem), transparent 100%);
    background-size: auto, auto, 100% 100%, 100% 100%, 20px 20px, auto;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat, no-repeat;
    background-origin: padding-box, padding-box, content-box, content-box, content-box, padding-box;
    background-clip: border-box, border-box, content-box, content-box, content-box, border-box;
  }
}
/* wide-gamut screens (display-p3): the glows reach a little richer than sRGB allows */
@supports (color: oklch(from red l c h)) {
  @media (color-gamut: p3) {
    html[data-theme="day"] :is(#sec-cocreation, #sec-grade, #sec-automation, #sec-services, #sec-websites, #sec-industries, #sec-ownership, #sec-finder, #sec-pricing, #sec-faq),
    html[data-theme="day"] body.akp main > .akp-section:not(.akp-hero) {
      --dk-glow-p3: oklch(from var(--dk-glow) l calc(c * 1.25) h / alpha);
    }
  }
}
/* AA on the new tones: gold and blue text that sits straight on a section (table prices, table links) goes a shade deeper, as the eyebrows did in CL-164 */
html[data-theme="day"] body.akp main > .akp-section:not(.akp-hero) :is(.akp-table td:nth-child(2), .akp-all__h, .ak-all-prices h3) { color: color-mix(in srgb, var(--mx-day-pri, var(--p-gold, #B45309)) 70%, #451A03); }
html[data-theme="day"] body.akp main > .akp-section:not(.akp-hero) :is(.akp-table a, p > a:not([class]), li > a:not([class])) { color: color-mix(in srgb, var(--ak-sky, #0369A1) 75%, #0B1930); }

/* ---------- CL-333 (Frank 2026-11-29, a test he asked for on the HOME page): the dots trade places and the brown goes ----------
   "in the blue sections ... the background dots to be the yellow/orange ... and for the yellow/orange background colored sections
   the dots to be blue." So: pale-sky sections carry Solar Amber dots, warm sections carry AKAREC Blue dots. The warm sections also
   lose the brown-orange (#B45309) cast: they are clean ivory with an amber glow. Home only (#sec-* ids); the built pages are unchanged.
   Follows the visitor's color mix as before. */
html[data-theme="day"] :is(#sec-services, #sec-cocreation, #sec-automation, #sec-ownership, #sec-pricing, #sec-industries + #sec-finder),
html[data-theme="day"] #sec-industries + #sec-finder ~ #sec-faq {
  --dk-a: oklch(99% 0.008 92);
  --dk-b: color-mix(in oklch, var(--mx-pri, #F59E0B) 9%, oklch(98% 0.016 92));
  --dk-dot: color-mix(in srgb, var(--mx-sec, #0284C7) 34%, transparent);
  --dk-dot-rich: color-mix(in srgb, var(--mx-sec, #0284C7) 60%, transparent);
  --dk-glow: color-mix(in oklch, var(--mx-pri, #F59E0B) 20%, transparent);
  --dk-glow2: color-mix(in oklch, var(--mx-sec, #0284C7) 9%, transparent);
}
html[data-theme="day"] :is(#sec-websites, #sec-grade, #sec-industries, #sec-finder, #sec-faq),
html[data-theme="day"] #sec-industries + #sec-finder ~ #sec-pricing {
  --dk-dot: color-mix(in srgb, var(--mx-pri, #F59E0B) 50%, transparent);
  --dk-dot-rich: color-mix(in srgb, var(--mx-pri, #F59E0B) 88%, transparent);
  --dk-glow2: color-mix(in oklch, var(--mx-pri, #F59E0B) 13%, transparent);
}
/* the same order of exceptions as above (finder after industries is warm, FAQ after it is warm, pricing after it is sky) */
html[data-theme="day"] #sec-industries + #sec-finder,
html[data-theme="day"] #sec-industries + #sec-finder ~ #sec-faq {
  --dk-a: oklch(99% 0.008 92);
  --dk-b: color-mix(in oklch, var(--mx-pri, #F59E0B) 9%, oklch(98% 0.016 92));
  --dk-dot: color-mix(in srgb, var(--mx-sec, #0284C7) 34%, transparent);
  --dk-dot-rich: color-mix(in srgb, var(--mx-sec, #0284C7) 60%, transparent);
  --dk-glow: color-mix(in oklch, var(--mx-pri, #F59E0B) 20%, transparent);
  --dk-glow2: color-mix(in oklch, var(--mx-sec, #0284C7) 9%, transparent);
}

/* ---------- CL-334 (Frank 2026-11-29: the brown-orange #B45309 Day shade "is not the color i want here or any other section") ----------
   Day, every page. One rule of thumb replaces the old "Day gold": edges, dots, lines and fills are Frank's Solar Amber (the visitor's
   own main color when they mix); small accent WORDS are AKAREC Blue, because amber words cannot be read on a light page.
   Found with outbox/LAUNCH/showroom-polish/brownscan.mjs, which must list nothing brown on a Day page. Night is not touched. */
html[data-theme="day"] { --dayfix-amber: var(--mx-pri, #F59E0B); --dayfix-edge: color-mix(in srgb, var(--mx-pri, #F59E0B) 62%, transparent); --dayfix-word: var(--mx-day-sec, #0369A1); }
/* edges */
html[data-theme="day"] body :is(.web-seal, .web-proof, .bs-buy, .bs-tier, .bs-tier__tag, .bs-link, .bs-link__go, .ak-jump__go, .ak-finder, .ak-finder__q, .ak-faq__price, .ak-sky__go, .akq-src-wrap summary) { border-color: var(--dayfix-edge) !important; }
html[data-theme="day"] body :is(.ak-button.ak-tier__go, .ak-button.ak-button--hero) { border-color: var(--dayfix-amber) !important; }
/* dots, lines, drawn art */
html[data-theme="day"] body .nav-link::after { background: var(--dayfix-amber) !important; }
html[data-theme="day"] body .bs-tier__tag::before { background: var(--dayfix-amber) !important; }
html[data-theme="day"] .bm-toggle__dots i:first-child { background: var(--dayfix-amber); }
html[data-theme="day"] #akFinder .ak-finder__guide { --akg: var(--dayfix-amber); --akg-ink: var(--dayfix-word); }
/* accent words */
html[data-theme="day"] body main :is(.bs-tier__tag, .akg-line, .akq-src-wrap summary span) { color: var(--dayfix-word) !important; }
html[data-theme="day"] body main #sec-automation strong { color: var(--dayfix-word) !important; }
html[data-theme="day"] body .ak-faq__item summary::after { color: var(--dayfix-word) !important; }
html[data-theme="day"] .ak-sky__go b { color: var(--dayfix-word); }
/* "No charge." (Frank asked for it in yellow, CL-324): in Day it is Ink on the amber-to-citron gradient, as a small chip */
html[data-theme="day"] body main #sec-how p.akhow__try-title .akhow__nocharge { color: #0B1930 !important; display: inline-block; margin-top: 0.3em; line-height: 1.15; padding: 0.06em 0.5em 0.12em; border-radius: 999px; background: linear-gradient(135deg, #F59E0B, #FBBF24 50%, #FDE047); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5); }
/* the built pages (same rule of thumb) */
html[data-theme="day"] body :is(.akp-card.ak-tier, svg.aki) { border-color: var(--dayfix-edge) !important; }
html[data-theme="day"] body .akp-steps li::before { background: var(--dayfix-amber) !important; color: #0B1930 !important; }
html[data-theme="day"] body main :is(.akp-tag, a[data-why-open]) { color: var(--dayfix-word) !important; }
html[data-theme="day"] body a.akp-go::before { color: var(--dayfix-word) !important; }
html[data-theme="day"] body .ak-sky__go b { color: var(--dayfix-word) !important; }
html[data-theme="day"] body .ak-finder__guide { --akg: var(--dayfix-amber) !important; --akg-ink: var(--dayfix-word) !important; }

/* CL-334: Frank could not see the traded dots (CL-333): they are bolder now. Amber dots on the sky sections, blue dots on the warm ones. */
html[data-theme="day"] :is(#sec-services, #sec-cocreation, #sec-automation, #sec-ownership, #sec-pricing, #sec-industries + #sec-finder),
html[data-theme="day"] #sec-industries + #sec-finder ~ #sec-faq {
  --dk-dot: color-mix(in srgb, var(--mx-sec, #0284C7) 62%, transparent);
  --dk-dot-rich: color-mix(in srgb, var(--mx-sec, #0284C7) 92%, transparent);
}
html[data-theme="day"] :is(#sec-websites, #sec-grade, #sec-industries, #sec-finder:not(#sec-industries + #sec-finder), #sec-faq:not(#sec-industries + #sec-finder ~ #sec-faq)),
html[data-theme="day"] #sec-industries + #sec-finder ~ #sec-pricing {
  --dk-dot: color-mix(in srgb, var(--mx-pri, #F59E0B) 85%, transparent);
  --dk-dot-rich: var(--mx-pri, #F59E0B);
}

/* ---------- CL-337 (one fix, every page): the built pages get the home page's Day treatment from CL-333 / CL-334 ----------
   Warm sections are clean ivory with an amber glow and AKAREC Blue dots; sky sections carry Solar Amber dots. No brown cast, no
   brown dots. (The SEO pages keep their own node pattern, so they take the tones only.) */
html[data-theme="day"] body.akp main > .akp-section:nth-of-type(even):not(.akp-hero) {
  --dk-a: oklch(99% 0.008 92);
  --dk-b: color-mix(in oklch, var(--mx-pri, #F59E0B) 9%, oklch(98% 0.016 92));
  --dk-glow: color-mix(in oklch, var(--mx-pri, #F59E0B) 18%, transparent);
  --dk-glow2: color-mix(in oklch, var(--mx-sec, #0284C7) 9%, transparent);
}
html[data-theme="day"] body.akp:not(.akp--seo) main > .akp-section:nth-of-type(even):not(.akp-hero) {
  --dk-dot: color-mix(in srgb, var(--mx-sec, #0284C7) 42%, transparent);
  --dk-dot-rich: color-mix(in srgb, var(--mx-sec, #0284C7) 66%, transparent);
}
html[data-theme="day"] body.akp:not(.akp--seo) main > .akp-section:nth-of-type(odd):not(.akp-hero) {
  --dk-dot: color-mix(in srgb, var(--mx-pri, #F59E0B) 60%, transparent);
  --dk-dot-rich: color-mix(in srgb, var(--mx-pri, #F59E0B) 90%, transparent);
  --dk-glow2: color-mix(in oklch, var(--mx-pri, #F59E0B) 12%, transparent);
}

/* ---------- CL-338: the old "Day gold" token itself is retired inside the page (Frank: not "here or any other section") ----------
   Tools that load while scrolling (AKA Roof, the AKA Grade pin, quote tools) read the Day gold from tokens, so single rules could
   not reach them all. Inside <main>, in Day, every token that used to give the brown-orange now gives AKAREC Blue (the visitor's
   second color when they mix): accent words, small marks and fine edges. Amber fills, gold buttons and the amber edges set in
   CL-334 are not touched (they read --mx-pri / --dayfix-amber). */
html[data-theme="day"] body main, html[data-theme="day"] body .modal-backdrop {
  --mx-day-pri: var(--mx-day-sec, #0369A1);
  --p-gold: var(--mx-day-sec, #0369A1);
  --ak-amber: var(--mx-day-sec, #0369A1);
  --ak-gold: var(--mx-day-sec, #0369A1);
  --p-amber-brown: #075985;
}
html[data-theme="day"] body main :is(.akp-quote) { border-left-color: var(--dayfix-amber) !important; }
html[data-theme="day"] body main :is(.akp-talk, .akp-all__go) { color: var(--dayfix-word) !important; }
html[data-theme="day"] body main .akp-facts li::before { color: var(--dayfix-word) !important; }
html[data-theme="day"] body main .arp-count b { color: var(--dayfix-word) !important; }


/* ==== AKAREC TIER ROUTINE (CL-245): the one hover / focus / tap look for every package card and pay button, on every page ====
   1. Package card: class="ak-tier" data-tier="1|2|3|4" (1 blue, 2 emerald, 3 amber, 4 gold, 5 diamond = over $5,000 (CL-285)). The colors are the six :root lines below.
   2. Its ONE real button or link gets class="ak-tier__go" (label span + price span); js/akarec-actions.js makes a click anywhere on the card press it.
   3. A pay button on its own: class="ak-pay" (add data-tier="n" for a ladder). No data-tier = the visitor's main color. A card that IS the link: .ak-tier on the <a>.
   4. Hover, keyboard focus (anywhere in the card) and tap (.is-lit, js/akarec-actions.js) do the same thing: the card lifts, its edge and glow turn the tier color, and its button fills with that color.
   5. At rest the buttons keep the CL-237 hierarchy (outline, blue, blue, gold). Nothing is shown on hover only; reduced motion keeps the color, drops the lift.
   6. Not a price (a path link, a pillar button): the QUIET variant, see CL-269 below.
   CL-289: priced .akp-card cards on the built pages get .ak-tier + data-tier from build-pages.mjs (tierCards). 4 gold sweeps a band of light across
   the card each time it lights up; 5 diamond glints at rest and blazes brighter than gold when lit.
   7. To reuse: add the classes, nothing else. Tokens for your own details: --tier (bright), --tier-deep (text on white), --tier-reach (how far the top line climbs). */
:root {
  --ak-tier-1: #38BDF8; --ak-tier-1-deep: #0369A1;
  --ak-tier-2: #10B981; --ak-tier-2-deep: #047857;
  --ak-tier-3: #F59E0B; --ak-tier-3-deep: #B45309;
  --ak-tier-4: #FACC15; --ak-tier-4-deep: #A16207;
  --ak-tier-gold: linear-gradient(135deg, #FFF1A8 0%, #FDE047 22%, #F59E0B 58%, #D97706 100%);
  --ak-tier-ink: #060A12;
}
.ak-tier, .ak-pay { --tier: var(--mx-pri, #F59E0B); --tier-deep: var(--mx-day-pri, #B45309); --tier-reach: .34; --tier-fill: linear-gradient(180deg, color-mix(in srgb, var(--tier) 78%, #fff), var(--tier)); }
[data-tier="1"]:is(.ak-tier, .ak-pay) { --tier: var(--ak-tier-1); --tier-deep: var(--ak-tier-1-deep); --tier-reach: .22; }
[data-tier="2"]:is(.ak-tier, .ak-pay) { --tier: var(--ak-tier-2); --tier-deep: var(--ak-tier-2-deep); --tier-reach: .44; }
[data-tier="3"]:is(.ak-tier, .ak-pay) { --tier: var(--ak-tier-3); --tier-deep: var(--ak-tier-3-deep); --tier-reach: .68; }
[data-tier="4"]:is(.ak-tier, .ak-pay) { --tier: var(--ak-tier-4); --tier-deep: var(--ak-tier-4-deep); --tier-reach: 1; --tier-fill: var(--ak-tier-gold); }

/* ---- the card at rest: a quiet surface with the tier's color in its top line and its edge ---- */
.ak-tier[data-tier] {
  position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent;
  --tier-edge: color-mix(in srgb, var(--tier) 24%, var(--ak-border-subtle, rgba(255, 255, 255, .12)));
  --tier-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 20px 36px -30px rgba(0, 0, 0, .85);
  border: 1px solid var(--tier-edge);
  background:
    radial-gradient(130% 55% at 50% -12%, color-mix(in srgb, var(--tier) 15%, transparent), transparent 64%),
    linear-gradient(180deg, color-mix(in srgb, var(--ak-surface-2, #0F1A2E) 94%, transparent), color-mix(in srgb, var(--ak-surface-2, #0F1A2E) 66%, transparent));
  box-shadow: var(--tier-shadow);
  transition: transform .32s cubic-bezier(.2, .8, .2, 1), border-color .25s ease, box-shadow .32s ease;
}
.ak-tier[data-tier]::before {
  content: ""; position: absolute; top: -1px; left: 1.1rem; height: 2px; border-radius: 2px; pointer-events: none;
  width: calc((100% - 2.2rem) * var(--tier-reach));
  background: linear-gradient(90deg, var(--tier), color-mix(in srgb, var(--tier) 35%, transparent));
  box-shadow: 0 0 12px color-mix(in srgb, var(--tier) 70%, transparent);
  transition: width .45s cubic-bezier(.2, .8, .2, 1);
}
.ak-tier[data-tier="4"] { --tier-edge: color-mix(in srgb, var(--tier) 55%, transparent); --tier-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 0 1px color-mix(in srgb, var(--tier) 14%, transparent), 0 24px 44px -30px color-mix(in srgb, var(--tier) 60%, transparent); }
.ak-tier[data-tier="4"]::before { background: var(--ak-tier-gold); }
/* gold only (CL-289, Frank: "bring back the old top-tier feel"): a clear band of gold light sweeps across the card every time it lights up */
.ak-tier[data-tier="4"]::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, transparent 22%, rgba(253, 224, 71, .10) 38%, rgba(255, 246, 196, .42) 50%, rgba(253, 224, 71, .10) 62%, transparent 78%) no-repeat -160% 0 / 65% 100%;
  mix-blend-mode: screen;
}
html[data-theme="day"] .ak-tier[data-tier="4"]::after {
  background-image: linear-gradient(105deg, transparent 22%, rgba(250, 204, 21, .16) 38%, rgba(253, 224, 71, .5) 47%, rgba(255, 255, 255, .7) 50%, rgba(253, 224, 71, .5) 53%, rgba(250, 204, 21, .16) 62%, transparent 78%);
  mix-blend-mode: normal;
}
@keyframes akGoldSweep { 0% { opacity: 1; background-position: -160% 0; } 85% { opacity: 1; } 100% { opacity: 0; background-position: 260% 0; } }
html[data-theme="day"] .ak-tier[data-tier] {
  --tier-edge: color-mix(in srgb, var(--tier-deep) 30%, rgba(11, 25, 48, .14));
  --tier-shadow: inset 0 1px 0 #fff, 0 18px 32px -28px rgba(11, 25, 48, .5);
  background: radial-gradient(130% 55% at 50% -12%, color-mix(in srgb, var(--tier) 12%, transparent), transparent 64%), #fff;
}
html[data-theme="day"] .ak-tier[data-tier="4"] { --tier-edge: color-mix(in srgb, var(--tier-deep) 62%, transparent); --tier-shadow: inset 0 1px 0 #fff, 0 22px 40px -28px color-mix(in srgb, var(--tier-deep) 65%, transparent); }
html[data-theme="day"] .ak-tier[data-tier]::before { background: linear-gradient(90deg, var(--tier-deep), color-mix(in srgb, var(--tier) 60%, transparent)); box-shadow: none; }
html[data-theme="day"] .ak-tier[data-tier="4"]::before { background: var(--ak-tier-gold); }

/* ---- lit: hover (mouse), keyboard focus on the card's button, and tap ---- */
@media (hover: hover) and (pointer: fine) {
  .ak-tier[data-tier]:hover { transform: translateY(-6px); border-color: var(--tier-edge-lit); box-shadow: var(--tier-glow); }
  .ak-tier[data-tier]:hover::before { width: calc(100% - 2.2rem); }
  .ak-tier[data-tier="4"]:hover::after { animation: akGoldSweep 1.15s cubic-bezier(.45, .05, .35, 1) .05s 1 both; }
}
.ak-tier[data-tier] {
  --tier-edge-lit: color-mix(in srgb, var(--tier) 88%, transparent);
  --tier-glow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 0 0 1px color-mix(in srgb, var(--tier) 50%, transparent), 0 30px 54px -26px color-mix(in srgb, var(--tier) 78%, transparent), 0 0 46px -12px color-mix(in srgb, var(--tier) 62%, transparent);
}
html[data-theme="day"] .ak-tier[data-tier] {
  --tier-edge-lit: var(--tier-deep);
  --tier-glow: inset 0 1px 0 #fff, 0 0 0 1px color-mix(in srgb, var(--tier-deep) 55%, transparent), 0 28px 48px -24px color-mix(in srgb, var(--tier-deep) 70%, transparent), 0 0 40px -12px color-mix(in srgb, var(--tier) 75%, transparent);
}
.ak-tier[data-tier]:is(:focus-visible, :active, .is-lit, :has(:focus-visible)) { transform: translateY(-6px); border-color: var(--tier-edge-lit); box-shadow: var(--tier-glow); }
.ak-tier[data-tier]:is(:focus-visible, :active, .is-lit, :has(:focus-visible))::before { width: calc(100% - 2.2rem); }
.ak-tier[data-tier]:active { transform: translateY(-2px); transition-duration: .12s; }
.ak-tier[data-tier="4"]:is(:focus-visible, .is-lit, :has(:focus-visible))::after { animation: akGoldSweep 1.15s cubic-bezier(.45, .05, .35, 1) .05s 1 both; }
/* a card that is not itself a link or button and has nothing to press keeps the normal arrow */
.ak-tier[data-tier]:not(a, button):not(:has(a, button)) { cursor: default; }

/* ---- the pay button: lifts and fills with the tier color (html:root + two ids on purpose: this has to win over the CL-237 resting looks) ---- */
.ak-tier__go, .ak-pay { transition: transform .22s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease, border-color .2s ease, background-color .2s ease, color .2s ease, filter .2s ease; -webkit-tap-highlight-color: transparent; }
@media (hover: hover) and (pointer: fine) {
  html:root body:not(#ak-x):not(#ak-y) .ak-tier:hover .ak-tier__go,
  html:root body:not(#ak-x):not(#ak-y) .ak-pay:hover:not(:disabled) {
    background: var(--tier-fill) !important; color: var(--ak-tier-ink) !important; border-color: color-mix(in srgb, var(--tier) 70%, #fff) !important; filter: none !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 10px 26px -10px color-mix(in srgb, var(--tier) 85%, transparent), 0 0 24px -6px color-mix(in srgb, var(--tier) 70%, transparent) !important;
  }
  html:root body:not(#ak-x):not(#ak-y) .ak-tier .ak-tier__go:hover,
  html:root body:not(#ak-x):not(#ak-y) .ak-pay:hover:not(:disabled) { transform: translateY(-2px); }
}
html:root body:not(#ak-x):not(#ak-y) .ak-tier:active .ak-tier__go,
html:root body:not(#ak-x):not(#ak-y) .ak-tier .ak-tier__go:is(:focus-visible, :active),
html:root body:not(#ak-x):not(#ak-y) .ak-pay:is(:focus-visible, :active):not(:disabled) {
  background: var(--tier-fill) !important; color: var(--ak-tier-ink) !important; border-color: color-mix(in srgb, var(--tier) 70%, #fff) !important; filter: none !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 10px 26px -10px color-mix(in srgb, var(--tier) 85%, transparent), 0 0 24px -6px color-mix(in srgb, var(--tier) 70%, transparent) !important;
}
html:root body:not(#ak-x):not(#ak-y) :is(.ak-tier__go, .ak-pay):active { transform: translateY(0) scale(.985); }

/* CL-291 (Frank via GM: "every card's button fills with its own tier color"): at rest the button already wears its tier,
   not the visitor's mix color. 1 = blue outline (the start), 2 green, 3 amber, 4 gold fill, 5 diamond (rules further down). Lit: the same fill, brighter (above). */
html:root body:not(#ak-x):not(#ak-y) .ak-tier:is([data-tier="2"], [data-tier="3"], [data-tier="4"]) .ak-tier__go {
  background: var(--tier-fill) !important; color: var(--ak-tier-ink) !important; border-color: color-mix(in srgb, var(--tier) 70%, #fff) !important; filter: none !important;
}
html:root body:not(#ak-x):not(#ak-y) .ak-tier:is([data-tier="2"], [data-tier="3"], [data-tier="4"]) .ak-tier__go .ak-button__price { color: var(--ak-tier-ink) !important; }
html:root body:not(#ak-x) .ak-tier[data-tier="1"] .ak-tier__go { border-color: var(--tier) !important; color: var(--tier) !important; }
html[data-theme="day"]:root body:not(#ak-x) .ak-tier[data-tier="1"] .ak-tier__go { border-color: var(--tier-deep) !important; color: var(--tier-deep) !important; }

/* keyboard: a clear ring on the real button (and on a card that is itself the link) */
:is(.ak-tier__go, .ak-pay, a.ak-tier, button.ak-tier):focus-visible { outline: 2px solid var(--p-citron, #FDE047); outline-offset: 3px; }
html[data-theme="day"] :is(.ak-tier__go, .ak-pay, a.ak-tier, button.ak-tier):focus-visible { outline-color: var(--p-ink, #0B1930); }

/* ---- CL-269: the QUIET variant, for links that are not prices (the two path links under each ladder, the four pillar buttons in "Know what you're looking for?").
   class="ak-tier ak-tier--quiet" on a card that IS the link; class="ak-pay ak-pay--quiet" on a small pill. Always the visitor's main color, no tier number.
   At rest: raised (top highlight, soft drop shadow; the card also gets a short line of the color on its top edge).
   Lit (hover, keyboard focus, tap): the card lifts with the package-card edge and glow; the pill fills like a pay button (rules above). ---- */
html:root body:not(#ak-x):not(#ak-y) .ak-tier--quiet {
  position: relative;
  border-color: color-mix(in srgb, var(--tier) 30%, var(--ak-border-subtle, rgba(255, 255, 255, .12)));
  background: radial-gradient(130% 75% at 50% -22%, color-mix(in srgb, var(--tier) 13%, transparent), transparent 64%), linear-gradient(180deg, color-mix(in srgb, var(--ak-surface-2, #0F1A2E) 94%, #fff), color-mix(in srgb, var(--ak-surface-2, #0F1A2E) 78%, transparent));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 16px 28px -20px rgba(0, 0, 0, .9);
  transition: transform .32s cubic-bezier(.2, .8, .2, 1), border-color .25s ease, box-shadow .32s ease;
}
html:root body:not(#ak-x):not(#ak-y) .ak-tier--quiet::before {
  content: ""; position: absolute; top: -1px; left: 1.1rem; height: 2px; border-radius: 2px; pointer-events: none;
  width: calc((100% - 2.2rem) * .22);
  background: linear-gradient(90deg, var(--tier), color-mix(in srgb, var(--tier) 35%, transparent));
  box-shadow: 0 0 12px color-mix(in srgb, var(--tier) 70%, transparent);
  transition: width .45s cubic-bezier(.2, .8, .2, 1);
}
html[data-theme="day"]:root body:not(#ak-x):not(#ak-y) .ak-tier--quiet {
  border-color: color-mix(in srgb, var(--tier-deep) 28%, rgba(11, 25, 48, .14));
  background: radial-gradient(130% 75% at 50% -22%, color-mix(in srgb, var(--tier) 11%, transparent), transparent 64%), #fff;
  box-shadow: inset 0 1px 0 #fff, 0 14px 26px -20px rgba(11, 25, 48, .55);
}
html[data-theme="day"]:root body:not(#ak-x):not(#ak-y) .ak-tier--quiet::before { background: linear-gradient(90deg, var(--tier-deep), color-mix(in srgb, var(--tier) 60%, transparent)); box-shadow: none; }
@media (hover: hover) and (pointer: fine) {
  html:root body:not(#ak-x):not(#ak-y) .ak-tier--quiet:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--tier) 88%, transparent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 0 0 1px color-mix(in srgb, var(--tier) 50%, transparent), 0 30px 54px -26px color-mix(in srgb, var(--tier) 78%, transparent), 0 0 46px -12px color-mix(in srgb, var(--tier) 62%, transparent); }
  html[data-theme="day"]:root body:not(#ak-x):not(#ak-y) .ak-tier--quiet:hover { border-color: var(--tier-deep); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px color-mix(in srgb, var(--tier-deep) 55%, transparent), 0 28px 48px -24px color-mix(in srgb, var(--tier-deep) 70%, transparent), 0 0 40px -12px color-mix(in srgb, var(--tier) 75%, transparent); }
  html:root body:not(#ak-x):not(#ak-y) .ak-tier--quiet:hover::before { width: calc(100% - 2.2rem); }
}
html:root body:not(#ak-x):not(#ak-y) .ak-tier--quiet:is(:focus-visible, :active) { transform: translateY(-5px); border-color: color-mix(in srgb, var(--tier) 88%, transparent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 0 0 1px color-mix(in srgb, var(--tier) 50%, transparent), 0 30px 54px -26px color-mix(in srgb, var(--tier) 78%, transparent), 0 0 46px -12px color-mix(in srgb, var(--tier) 62%, transparent); }
html[data-theme="day"]:root body:not(#ak-x):not(#ak-y) .ak-tier--quiet:is(:focus-visible, :active) { border-color: var(--tier-deep); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px color-mix(in srgb, var(--tier-deep) 55%, transparent), 0 28px 48px -24px color-mix(in srgb, var(--tier-deep) 70%, transparent), 0 0 40px -12px color-mix(in srgb, var(--tier) 75%, transparent); }
html:root body:not(#ak-x):not(#ak-y) .ak-tier--quiet:is(:focus-visible, :active)::before { width: calc(100% - 2.2rem); }
html:root body:not(#ak-x):not(#ak-y) .ak-tier--quiet:active { transform: translateY(-2px); transition-duration: .12s; }
/* the quiet pill at rest: raised, not filled */
html:root body:not(#ak-x):not(#ak-y) .ak-pay--quiet { background: linear-gradient(180deg, color-mix(in srgb, var(--ak-surface-2, #0F1A2E) 88%, #fff), color-mix(in srgb, var(--ak-surface, #0B1220) 92%, transparent)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 10px 18px -12px rgba(0, 0, 0, .85); }
html[data-theme="day"]:root body:not(#ak-x):not(#ak-y) .ak-pay--quiet { background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--tier) 6%, #fff)); box-shadow: inset 0 1px 0 #fff, 0 10px 18px -12px rgba(11, 25, 48, .45); }
html:root body:not(#ak-x):not(#ak-y) .ak-pay--quiet:is(:hover, :focus-visible, :active) svg { stroke: currentColor; }

/* ---- CL-285 (Frank round 3, item 4): DIAMOND, data-tier="5", for prices over $5,000. One step above gold + shimmer, tactful, not dramatic.
   Ice white with a faint prism (pale sky, lilac, champagne) instead of a color. At rest: a prism line along the top edge, a cool edge
   and a slow, very faint glint every few seconds. Lit: the same lift as every tier (a little higher), a cool glow and one bright sweep.
   Its button: ice-prism fill with dark ink at rest (the top of the hierarchy), the same fill when lit. Reduced motion: no glint, no lift. ---- */
:root {
  --ak-tier-5: #9AD8F5; --ak-tier-5-deep: #0C4A6E;
  --ak-tier-diamond: linear-gradient(in oklch 125deg, #FFFFFF 0%, #E0F2FE 22%, #C7E7FB 40%, #EDE9FE 56%, #FEF3C7 72%, #E0F2FE 88%, #FFFFFF 100%);
  --ak-tier-diamond-line: linear-gradient(in oklch 90deg, #7DD3FC, #C4B5FD 35%, #FDE68A 65%, #7DD3FC);
}
[data-tier="5"]:is(.ak-tier, .ak-pay) { --tier: var(--ak-tier-5); --tier-deep: var(--ak-tier-5-deep); --tier-reach: 1; --tier-fill: var(--ak-tier-diamond); }
.ak-tier[data-tier="5"] {
  --tier-edge: color-mix(in oklch, var(--tier) 62%, transparent);
  --tier-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 0 0 1px color-mix(in srgb, var(--tier) 16%, transparent), 0 24px 46px -30px color-mix(in srgb, var(--tier) 70%, transparent);
  --tier-glow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 0 0 1px color-mix(in srgb, var(--tier) 60%, transparent), 0 34px 60px -26px color-mix(in srgb, var(--tier) 80%, transparent), 0 0 54px -10px color-mix(in srgb, #C4B5FD 45%, transparent);
  background:
    radial-gradient(130% 55% at 50% -12%, color-mix(in srgb, var(--tier) 17%, transparent), transparent 64%),
    linear-gradient(in oklch 150deg, color-mix(in srgb, #E0F2FE 5%, transparent), transparent 45%, color-mix(in srgb, #EDE9FE 5%, transparent)),
    linear-gradient(180deg, color-mix(in srgb, var(--ak-surface-2, #0F1A2E) 94%, transparent), color-mix(in srgb, var(--ak-surface-2, #0F1A2E) 66%, transparent));
}
.ak-tier[data-tier="5"]::before { background: var(--ak-tier-diamond-line); box-shadow: 0 0 10px color-mix(in srgb, var(--tier) 75%, transparent); }
.ak-tier[data-tier="5"]::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: .55;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .13) 46%, rgba(224, 242, 254, .2) 50%, rgba(237, 233, 254, .12) 54%, transparent 70%) no-repeat -160% 0 / 55% 100%;
}
html[data-theme="day"] .ak-tier[data-tier="5"] {
  --tier-edge: color-mix(in oklch, var(--tier-deep) 46%, #C7E7FB);
  --tier-shadow: inset 0 1px 0 #fff, 0 0 0 1px color-mix(in srgb, var(--tier) 22%, transparent), 0 22px 42px -28px color-mix(in srgb, var(--tier-deep) 55%, transparent);
  --tier-glow: inset 0 1px 0 #fff, 0 0 0 1px color-mix(in srgb, var(--tier-deep) 45%, transparent), 0 30px 52px -24px color-mix(in srgb, var(--tier-deep) 60%, transparent), 0 0 46px -10px color-mix(in srgb, #A78BFA 40%, transparent);
  background:
    radial-gradient(130% 55% at 50% -12%, color-mix(in srgb, var(--tier) 16%, transparent), transparent 64%),
    linear-gradient(in oklch 150deg, #FFFFFF 0%, #F7FBFF 50%, #FBF9FF 100%);
}
html[data-theme="day"] .ak-tier[data-tier="5"]::before { background: var(--ak-tier-diamond-line); box-shadow: 0 0 8px color-mix(in srgb, var(--tier) 60%, transparent); }
html[data-theme="day"] .ak-tier[data-tier="5"]::after { background-image: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .7) 46%, rgba(186, 230, 253, .35) 50%, rgba(221, 214, 254, .3) 54%, transparent 70%); }
/* lit (CL-289, Frank: "a stronger illumination so it reads as the top"): a brighter ice edge, a wide prism glow and one bright sweep */
.ak-tier[data-tier="5"] {
  --tier-edge-lit: #E0F2FE;
  --tier-glow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 0 26px -8px rgba(224, 242, 254, .45), 0 0 0 1.5px color-mix(in srgb, #BAE6FD 85%, transparent), 0 36px 64px -24px color-mix(in srgb, var(--tier) 90%, transparent), 0 0 70px -6px color-mix(in srgb, #C4B5FD 60%, transparent), 0 0 110px 4px color-mix(in srgb, var(--tier) 38%, transparent);
}
html[data-theme="day"] .ak-tier[data-tier="5"] {
  --tier-edge-lit: #0EA5E9;
  --tier-glow: inset 0 1px 0 #fff, 0 0 0 1.5px color-mix(in srgb, #0EA5E9 70%, transparent), 0 32px 56px -22px color-mix(in srgb, var(--tier-deep) 65%, transparent), 0 0 60px -6px color-mix(in srgb, #A78BFA 55%, transparent), 0 0 90px 2px color-mix(in srgb, #7DD3FC 55%, transparent);
}
@keyframes akDiamondBlaze { 0% { opacity: 1; background-position: -160% 0; } 100% { opacity: 1; background-position: 260% 0; } }
@media (hover: hover) and (pointer: fine) {
  .ak-tier[data-tier="5"]:hover { transform: translateY(-8px); }
  .ak-tier[data-tier="5"]:hover::after { opacity: 1; animation: akDiamondBlaze 1.1s cubic-bezier(.45, .05, .35, 1) .05s 1 both; }
  .ak-tier[data-tier="5"]:hover::before { box-shadow: 0 0 16px 1px color-mix(in srgb, var(--tier) 90%, transparent), 0 0 4px #fff; }
}
.ak-tier[data-tier="5"]:is(:focus-visible, :active, .is-lit, :has(:focus-visible)) { transform: translateY(-8px); }
.ak-tier[data-tier="5"]:is(:focus-visible, .is-lit, :has(:focus-visible))::after { opacity: 1; animation: akDiamondBlaze 1.1s cubic-bezier(.45, .05, .35, 1) .05s 1 both; }
.ak-tier[data-tier="5"]:is(:focus-visible, .is-lit, :has(:focus-visible))::before { box-shadow: 0 0 16px 1px color-mix(in srgb, var(--tier) 90%, transparent), 0 0 4px #fff; }
.ak-tier[data-tier="5"]::after { background-image: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .16) 44%, rgba(224, 242, 254, .34) 50%, rgba(237, 233, 254, .18) 56%, transparent 70%); }
/* the button: ice prism at rest (wins over the pillar's gold top-card button), dark ink */
html:root body:not(#ak-x):not(#ak-y) .ak-tier[data-tier="5"] .ak-tier__go,
html:root body:not(#ak-x):not(#ak-y) .ak-pay[data-tier="5"] {
  background: var(--ak-tier-diamond) !important; color: var(--ak-tier-ink) !important; border: 1.5px solid color-mix(in srgb, var(--tier) 70%, #fff) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 8px 22px -8px color-mix(in srgb, var(--tier) 75%, transparent) !important;
}
html:root body:not(#ak-x):not(#ak-y) .ak-tier[data-tier="5"] .ak-tier__go .ak-button__price { background: transparent !important; color: var(--ak-tier-ink) !important; box-shadow: inset 1px 0 0 rgba(12, 74, 110, .22) !important; border-radius: 0 !important; }
@media (prefers-reduced-motion: no-preference) {
  .ak-tier[data-tier="5"]::after { animation: akDiamondGlint 7s ease-in-out 1.5s infinite; }
}
@keyframes akDiamondGlint { 0%, 70% { background-position: -160% 0; } 88%, 100% { background-position: 260% 0; } }

@media (prefers-reduced-motion: reduce) {
  .ak-tier[data-tier], .ak-tier[data-tier]::before, .ak-tier[data-tier]::after, .ak-tier__go, .ak-pay, .ak-tier--quiet, .ak-tier--quiet::before { transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease !important; }
  .ak-tier[data-tier], .ak-tier[data-tier]:is(:hover, :active, :focus-visible, .is-lit, :has(:focus-visible)), html:root body:not(#ak-x):not(#ak-y) :is(.ak-tier__go, .ak-pay, .ak-tier--quiet), html:root body:not(#ak-x):not(#ak-y) .ak-tier--quiet:is(:hover, :focus-visible, :active) { transform: none !important; }
  .ak-tier[data-tier="4"]::after, .ak-tier[data-tier="5"]::after { display: none; animation: none !important; }
}


/* ==== CL-312 AKAREC button system (outbox/BRAND-LEAD/buttons/BUTTON-SYSTEM.md; Frank OK 2026-11-29, all 3 picks) ====
   One gold per screen: the one thing we most want clicked. Everything else is Ink, blue (Action) or an Outline.
   - Gold (hero)  .ak-button--hero, each ladder's top card (the last card in its row that is not tier 1 or diamond),
                  a pop-up's single pay button, each page's hero button and its closing "Tell Us About Your Next Project" band. Reads the mix's main color.
   - Action       the default .ak-button (set at the source: home styles/02, akarec-pages.css). Reads the mix's second color.
   - Outline      .ak-button--outline: first / cheapest package, "Open the Showroom", see-more buttons.
   - Ink          .ak-button--ink: always-visible utility (header "Book a Discovery Call"). Fixed on purpose.
   Not buttons, never yellow fills: tabs, pills, step numbers, eyebrows, prices, links, icons.
   Shared file: inlined on home (site/_build/home/index.html), linked on every built page (site/_build/template.html), last, so it wins.
   The custom cursor, the Mix the brand colors bar and the Random Aura / Texture toolbar keep their own look: nothing here touches them.
   A new button is Action by default. Never add gold anywhere else. */

:root {
  --bt-gold: linear-gradient(135deg, var(--mx-pri-soft, var(--p-amber-light)) 0%, var(--mx-pri, var(--p-amber)) 52%, var(--mx-pri-deep, var(--p-amber-deep)) 100%);
  --bt-gold-ink: var(--p-ink);
  --bt-act: var(--mx-sec-deep, var(--p-blue-deep));
  --bt-act-line: var(--mx-sec, var(--p-blue));
  --bt-out: var(--mx-sec-soft, var(--p-sky));
  --bt-titan: var(--p-slate-400);
}
html[data-theme="day"] { --bt-out: var(--mx-day-sec, var(--p-blue-deep)); }

/* ---------- Gold (hero) ---------- */
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-button--hero, .ak-tier[data-tier]:not([data-tier="1"], [data-tier="5"]):not(:has(~ .ak-tier[data-tier]:not([data-tier="5"]))) .ak-tier__go, .ak-pay[data-tier="4"], .modal-backdrop .ak-reserve:not(.is-quiet), #akBuyInvoice, #discoveryModal button[type="submit"], .akp-hero .akp-btns > .ak-button:first-child:not(.ak-button--ghost), .akp-cta .akp-btns > .ak-button:first-child) {
  --tier: var(--mx-pri, var(--p-amber)); --tier-fill: var(--bt-gold);
  background-image: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.38) 50%, transparent 62%), var(--bt-gold) !important;
  background-size: 260% 100%, 100% 100% !important; background-position: 140% 0, 0 0 !important; background-repeat: no-repeat !important;
  background-color: var(--mx-pri, var(--p-amber)) !important;
  color: var(--bt-gold-ink) !important; filter: none !important;
  border: 1.5px solid color-mix(in srgb, var(--mx-pri-soft, var(--p-amber-light)) 75%, var(--p-white)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 10px 24px -10px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 80%, transparent) !important;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background-position 0.7s ease, filter 0.2s ease !important;
}
html[data-theme="day"]:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-button--hero, .ak-tier[data-tier]:not([data-tier="1"], [data-tier="5"]):not(:has(~ .ak-tier[data-tier]:not([data-tier="5"]))) .ak-tier__go, .ak-pay[data-tier="4"], .modal-backdrop .ak-reserve:not(.is-quiet), #akBuyInvoice, #discoveryModal button[type="submit"], .akp-hero .akp-btns > .ak-button:first-child:not(.ak-button--ghost), .akp-cta .akp-btns > .ak-button:first-child) {
  border-color: var(--mx-pri-deep, var(--p-amber-deep)) !important;   /* CL-334: a true amber edge in Day, never the brown-orange */
}
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-button--hero, .ak-tier[data-tier]:not([data-tier="1"], [data-tier="5"]):not(:has(~ .ak-tier[data-tier]:not([data-tier="5"]))) .ak-tier__go, .ak-pay[data-tier="4"], .modal-backdrop .ak-reserve:not(.is-quiet), #akBuyInvoice, #discoveryModal button[type="submit"], .akp-hero .akp-btns > .ak-button:first-child:not(.ak-button--ghost), .akp-cta .akp-btns > .ak-button:first-child):is(:hover, :focus-visible),
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) .ak-tier[data-tier]:not([data-tier="1"], [data-tier="5"]):not(:has(~ .ak-tier[data-tier]:not([data-tier="5"]))):is(:hover, .is-lit, :has(:focus-visible)) .ak-tier__go {
  background-position: -40% 0, 0 0 !important; filter: brightness(1.06) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 14px 30px -10px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 90%, transparent), 0 0 24px -6px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 70%, transparent) !important;
}
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-button--hero, .ak-tier[data-tier]:not([data-tier="1"], [data-tier="5"]):not(:has(~ .ak-tier[data-tier]:not([data-tier="5"]))) .ak-tier__go, .ak-pay[data-tier="4"], .modal-backdrop .ak-reserve:not(.is-quiet), #akBuyInvoice, #discoveryModal button[type="submit"], .akp-hero .akp-btns > .ak-button:first-child:not(.ak-button--ghost), .akp-cta .akp-btns > .ak-button:first-child) :is(small, b, span, .ak-button__price, .ak-reserve__price) { color: inherit !important; opacity: 1; }
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-button--hero, .ak-tier[data-tier]:not([data-tier="1"], [data-tier="5"]):not(:has(~ .ak-tier[data-tier]:not([data-tier="5"]))) .ak-tier__go, .ak-pay[data-tier="4"], .modal-backdrop .ak-reserve:not(.is-quiet)) :is(.ak-button__price, .ak-reserve__price) { background: rgba(11, 25, 48, 0.12) !important; }
/* CL-356: the round lock badge on a gold Reserve button is a dark disc, so its icon is light (the line above made every span inherit the dark ink) */
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3):not(#ak-b4) .ak-reserve:not(.is-quiet) span.ak-reserve__icon { color: var(--mx-hi, var(--p-citron)) !important; }

/* ---------- Action (blue): the other card buttons (tier 2-4 below the top), tool actions, and every button the old rules still painted gold ---------- */
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-tier:is([data-tier="2"], [data-tier="3"], [data-tier="4"]) .ak-tier__go, .ak-pay:is([data-tier="2"], [data-tier="3"]), .ak-tool-actions__buy, .ak-toolbuy__go, .akp-lift__play, .ak-finder__start, label.lfg-btn--gold, .lfg-btn--gold) {
  --tier-fill: var(--bt-act);
  background: var(--bt-act) !important; color: var(--p-white) !important; border: 1.5px solid var(--bt-act-line) !important; filter: none !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 20px -10px color-mix(in srgb, var(--bt-act-line) 80%, transparent) !important;
}
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-tier:is([data-tier="2"], [data-tier="3"], [data-tier="4"]) .ak-tier__go, .ak-pay:is([data-tier="2"], [data-tier="3"]), .ak-tool-actions__buy, .ak-toolbuy__go, .akp-lift__play, .ak-finder__start, .lfg-btn--gold):is(:hover, :focus-visible),
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) .ak-tier:is([data-tier="2"], [data-tier="3"], [data-tier="4"]):is(:hover, .is-lit, :has(:focus-visible)) .ak-tier__go { filter: brightness(1.14) !important; }
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-tier:is([data-tier="2"], [data-tier="3"], [data-tier="4"]) .ak-tier__go, .ak-pay:is([data-tier="2"], [data-tier="3"]), .ak-tool-actions__buy, .ak-toolbuy__go, .akp-lift__play, .ak-finder__start, .lfg-btn--gold) :is(small, b, span, .ak-button__price, .ak-reserve__price) { color: inherit !important; }
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-tier:is([data-tier="2"], [data-tier="3"], [data-tier="4"]) .ak-tier__go, .ak-pay:is([data-tier="2"], [data-tier="3"])) :is(.ak-button__price, .ak-reserve__price) { background: rgba(2, 20, 40, 0.38) !important; }

/* ---------- Outline: tier 1 (the start of a ladder), "Open the Showroom", "Go to the pricing page" ---------- */
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-button--outline, .ak-tier[data-tier="1"] .ak-tier__go, .fcar-showroom-link, #sec-faq a.ak-pay[href="/pricing/"]) {
  --tier: var(--bt-act-line); --tier-deep: var(--bt-out); --tier-fill: color-mix(in srgb, var(--bt-act-line) 18%, transparent);
  background: transparent !important; color: var(--bt-out) !important; border: 2px solid var(--bt-act-line) !important; box-shadow: none !important; filter: none !important;
}
html[data-theme="day"]:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-button--outline, .ak-tier[data-tier="1"] .ak-tier__go, .fcar-showroom-link, #sec-faq a.ak-pay[href="/pricing/"]) { border-color: var(--mx-day-sec, var(--p-blue-deep)) !important; }
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-button--outline, .ak-tier[data-tier="1"] .ak-tier__go, .fcar-showroom-link, #sec-faq a.ak-pay[href="/pricing/"]):is(:hover, :focus-visible),
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) .ak-tier[data-tier="1"]:is(:hover, .is-lit, :has(:focus-visible)) .ak-tier__go { background: color-mix(in srgb, var(--bt-act-line) 16%, transparent) !important; }
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-button--outline, .ak-tier[data-tier="1"] .ak-tier__go, .fcar-showroom-link, #sec-faq a.ak-pay[href="/pricing/"]) :is(small, b, span, .ak-button__price, .ak-reserve__price) { color: inherit !important; }
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-button--outline, .ak-tier[data-tier="1"] .ak-tier__go) :is(.ak-button__price, .ak-reserve__price) { background: color-mix(in srgb, var(--bt-act-line) 18%, transparent) !important; }

/* ---------- Ink: the header "Book a Discovery Call" (sticky, so it shares every screen: never gold).
   The header bar is dark in Day and Night, so its Ink button is the Linen pill in both. ---------- */
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-button--ink, header .nav-cta, .nav-cta) {
  background: var(--p-linen) !important; color: var(--p-ink) !important; border: 1px solid var(--p-linen) !important; filter: none !important;
  box-shadow: 0 8px 20px -12px rgba(0, 0, 0, 0.7) !important;
}
html[data-theme="day"]:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) .ak-button--ink:not(.nav-cta) { background: var(--p-ink) !important; color: var(--p-linen) !important; border-color: var(--p-ink) !important; }
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-button--ink, header .nav-cta, .nav-cta):is(:hover, :focus-visible) {
  box-shadow: 0 2px 0 0 var(--mx-pri, var(--p-amber)), 0 6px 18px -6px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 70%, transparent) !important;
}
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-button--ink, header .nav-cta, .nav-cta) * { color: inherit !important; }

/* ---------- CL-320 (Frank 2026-11-29: "our cta at the top should be our golden yellow"): the header
   "Book a Discovery Call" is gold again, on every page, Day and Night. This replaces its Ink look above. ---------- */
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(header .nav-cta, .nav-cta) {
  background: var(--bt-gold) !important; background-color: var(--mx-pri, var(--p-amber)) !important; color: var(--bt-gold-ink) !important;
  border: 1.5px solid color-mix(in srgb, var(--mx-pri-soft, var(--p-amber-light)) 75%, var(--p-white)) !important; filter: none !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 10px 24px -12px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 80%, transparent) !important;
}
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(header .nav-cta, .nav-cta):is(:hover, :focus-visible) {
  filter: brightness(1.07) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 12px 26px -10px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 90%, transparent) !important;
}

/* ---------- Tabs and pills: clear with a Titanium hairline; the active one = Ink fill. "LIVE" badges stay emerald. ---------- */
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.fcar-win-pill, .fcar-ind-pill, .bs-tab, .ind-bigtab, button.route-pill, .akq-chip, #sec-quote button[data-tool]) {
  background: transparent !important; color: var(--ak-text-main, var(--p-linen)) !important; border: 1px solid var(--bt-titan) !important; box-shadow: none !important;
}
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.fcar-ind-pill.is-active, .fcar-ind-pill[aria-pressed="true"], .bs-tab[aria-selected="true"], .ind-bigtab[aria-selected="true"], button.route-pill.active, .akq-chip[aria-pressed="true"], #sec-quote button[data-tool][aria-pressed="true"]) {
  background: var(--p-linen) !important; color: var(--p-ink) !important; border-color: var(--p-linen) !important;
}
html[data-theme="day"]:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.bs-tab, .ind-bigtab, button.route-pill, .akq-chip, #sec-quote button[data-tool]) { color: var(--p-ink) !important; }
html[data-theme="day"]:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.bs-tab[aria-selected="true"], .ind-bigtab[aria-selected="true"], button.route-pill.active, .akq-chip[aria-pressed="true"], #sec-quote button[data-tool][aria-pressed="true"]) {
  background: var(--p-ink) !important; color: var(--p-linen) !important; border-color: var(--p-ink) !important;
}
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.fcar-ind-pill, .bs-tab, .ind-bigtab, button.route-pill) :is(span, small, b, strong):not([class*="live" i]):not([class*="badge" i]) { color: inherit !important; }
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.fcar-ind-pill, .bs-tab, .ind-bigtab, button.route-pill):is(:hover, :focus-visible):not(.is-active):not(.active):not([aria-selected="true"]) { border-color: var(--bt-act-line) !important; }
/* "LIVE" badges stay emerald: deep emerald on the Linen active tab (Night), bright emerald on the Ink active tab (Day) */
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.bs-tab, .ind-bigtab)[aria-selected="true"] [class*="--live"] { color: var(--p-emerald-deep) !important; }
html[data-theme="day"]:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.bs-tab, .ind-bigtab)[aria-selected="true"] [class*="--live"] { color: var(--p-emerald) !important; }
/* the hero carousel sits on a dark panel in Day and Night: its pills keep the Night look (Linen text; active = Linen fill) */
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) #heroDemoColumn .fcar-ind-pill:not(.is-active):not([aria-pressed="true"]) { color: var(--p-linen) !important; }
/* the window label on each sample site in the hero carousel is a pill too (always light text: the window bar is dark in both modes) */
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) #heroDemoColumn .fcar-win-pill { color: var(--p-linen) !important; border-color: color-mix(in srgb, var(--bt-titan) 70%, transparent) !important; }

/* ---------- Step numbers: Ink / Linen numeral in a 1px Titanium ring ---------- */
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) #akFinder .ak-finder__q strong > span:first-child,
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) #akFinder strong > span:only-of-type {
  background: transparent !important; color: var(--p-linen) !important; box-shadow: inset 0 0 0 1px var(--bt-titan) !important; border-color: var(--bt-titan) !important;
}
html[data-theme="day"]:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) #akFinder .ak-finder__q strong > span:first-child,
html[data-theme="day"]:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) #akFinder strong > span:only-of-type { color: var(--p-ink) !important; }

html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(:is(.ak-pillar, #ak-pillar) .bs-steps, .ak-pkg-guide__steps) li::before {
  background: transparent !important; color: var(--p-linen) !important; box-shadow: inset 0 0 0 1px var(--bt-titan) !important;
}
html[data-theme="day"]:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(:is(.ak-pillar, #ak-pillar) .bs-steps, .ak-pkg-guide__steps) li::before { color: var(--p-ink) !important; }
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-pillar, #ak-pillar) .bs-steps li:not(:last-child)::after { background: linear-gradient(90deg, var(--bt-titan), transparent) !important; }

/* ---------- Eyebrows and small labels: blue text ---------- */
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-eyebrow, .arp-eyebrow, .detail-table th, .ak-all-prices h3, .akp-all__h, .web-on-wide, .web-on-mouse, .web-proof__at > span, .lfg-group > span, .ak-why__title > span, .fcar-bar__left) {
  color: var(--bt-out) !important; -webkit-text-fill-color: currentColor; background-image: none;
}

/* ---------- Prices: Linen (Night) / Ink (Day), same font and size ---------- */
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.bs-tier__price, .akp-price, .ak-price, .akp-card__price, .akp-table td:nth-child(2)) { color: var(--p-linen) !important; -webkit-text-fill-color: currentColor; background-image: none; }
html[data-theme="day"]:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.bs-tier__price, .akp-price, .ak-price, .akp-card__price, .akp-table td:nth-child(2)) { color: var(--p-ink) !important; }

/* ---------- Links, "See everything you get", arrows: blue link ---------- */
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-service-link, .ak-service-link > span, .bs-tier__toggle-more, .bs-line__go, .bs-link__kicker, .bs-link__go, .ind-pages__go, .web-seal__go, .web-seal__go > span, .ak-why__more, .akq-src__tap) {
  color: var(--bt-out) !important; -webkit-text-fill-color: currentColor;
}

/* small arrows in the "jump" links and the icons in the "what each word means" lists: the mix's blue */
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-jump__go svg, .bs-key dt svg, .akq-src-wrap summary svg, .akq-src__i, .web-proof__at svg) { stroke: var(--bt-act-line) !important; color: var(--bt-act-line) !important; }
/* dark utility buttons (care plans, "Ask about it"): blue edge, not a gold one */
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) .ak-button--obsidian:not(.ak-button--hero) { border-color: color-mix(in srgb, var(--bt-act-line) 70%, transparent) !important; }

/* ---------- Icons: neutral tile, icon stroke in the mix's blue ---------- */
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) #sec-services .ak-service-card__icon {
  background: color-mix(in srgb, var(--ak-text-main, var(--p-linen)) 8%, transparent) !important; border: 1px solid var(--bt-titan) !important; box-shadow: none !important;
}
html[data-theme="day"]:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) #sec-services .ak-service-card__icon { background: var(--p-white) !important; border-color: var(--p-slate-300) !important; }
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) #sec-services .ak-service-card__icon svg { stroke: var(--bt-act-line) !important; }
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) .akq-phone__avatar { background: var(--bt-act) !important; color: var(--p-white) !important; }

/* ---------- Header Day/Night switch: no gold fill in the header ---------- */
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) .ak-studio-light__track { border-color: var(--bt-act-line) !important; box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.55) !important; }
html[data-theme="day"]:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) .ak-studio-light__track { background: linear-gradient(90deg, var(--p-slate-50) 0%, var(--p-slate-200) 100%) !important; box-shadow: inset 0 1px 3px rgba(11, 25, 48, 0.25) !important; }
html[data-theme="day"]:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) .ak-studio-light__knob { background: var(--p-white) !important; color: var(--p-ink) !important; box-shadow: 0 0 0 1.5px var(--bt-act-line), 0 2px 6px rgba(11, 25, 48, 0.3) !important; }
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) .ak-studio-light__label { color: var(--bt-out) !important; text-shadow: none !important; }

/* ---------- Hero test-drive card: Build My Brand = Action (the mix's blue), like Mix my colors and Match my logo ---------- */
.ak-why .ak-why__chips .ak-why__chip--build { --chip-line: var(--mx-sec, var(--p-blue)); --chip-glow: var(--mx-sec, var(--p-blue)); --chip-arw: var(--mx-sec, var(--p-sky)); }
/* ==== end CL-312 button system ==== */

/* ==== CL-336 (Frank 2026-11-30: "make sure the buttons in place pop off of the screen and not blend in on every scroll. make sure
   the buttons raise and glow and are not see through"). Every page, Day and Night.
   - No see-through buttons: the Outline tier is a solid plate now (deep Ink at Night, white in Day) with its blue edge.
   - Every button has a glow at rest and rises with a stronger glow on hover or keyboard focus.
   - The jump chips ("Websites", "Branding & Marketing" ...) are solid too. Colors and tiers are unchanged (one gold per screen). ==== */
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3):not(#ak-b4) :is(.ak-button, .ak-tier__go, a.ak-pay, .ak-reserve, .ak-finder__start, .ak-toolbuy__go, .ak-tool-actions__buy) { transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease, filter 0.2s ease, background-position 0.7s ease !important; }
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3):not(#ak-b4) :is(.ak-button, .ak-tier__go, a.ak-pay, .ak-reserve, .ak-finder__start, .ak-toolbuy__go, .ak-tool-actions__buy):is(:hover, :focus-visible):not(:disabled) { transform: translateY(-3px) !important; }
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3):not(#ak-b4) :is(.ak-button, .ak-tier__go, a.ak-pay, .ak-reserve, .ak-finder__start, .ak-toolbuy__go, .ak-tool-actions__buy):active:not(:disabled) { transform: translateY(-1px) scale(0.985) !important; }
/* Outline: a solid plate */
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3):not(#ak-b4) :is(.ak-button--outline, .ak-button--ghost, .ak-tier[data-tier="1"] .ak-tier__go, .fcar-showroom-link, #sec-faq a.ak-pay[href="/pricing/"]) {
  background: linear-gradient(180deg, #13264A 0%, #0B1930 100%) !important; border: 2px solid var(--bt-act-line) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 12px 24px -12px rgba(0, 0, 0, 0.85), 0 0 22px -8px color-mix(in srgb, var(--bt-act-line) 85%, transparent) !important;
}
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3):not(#ak-b4) :is(.ak-button--outline, .ak-button--ghost, .ak-tier[data-tier="1"] .ak-tier__go, .fcar-showroom-link, #sec-faq a.ak-pay[href="/pricing/"]):is(:hover, :focus-visible),
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3):not(#ak-b4) .ak-tier[data-tier="1"]:is(:hover, .is-lit, :has(:focus-visible)) .ak-tier__go {
  background: linear-gradient(180deg, #1A3566 0%, #10244A 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 18px 30px -12px rgba(0, 0, 0, 0.85), 0 0 30px -4px color-mix(in srgb, var(--bt-act-line) 95%, transparent) !important;
}
html[data-theme="day"]:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3):not(#ak-b4) :is(.ak-button--outline, .ak-button--ghost, .ak-tier[data-tier="1"] .ak-tier__go, .fcar-showroom-link, #sec-faq a.ak-pay[href="/pricing/"]) {
  background: linear-gradient(180deg, #FFFFFF 0%, #F3F9FF 100%) !important;
  box-shadow: inset 0 1px 0 #fff, 0 12px 22px -12px rgba(11, 25, 48, 0.4), 0 0 20px -8px color-mix(in srgb, var(--mx-sec, #0284C7) 75%, transparent) !important;
}
html[data-theme="day"]:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3):not(#ak-b4) :is(.ak-button--outline, .ak-button--ghost, .ak-tier[data-tier="1"] .ak-tier__go, .fcar-showroom-link, #sec-faq a.ak-pay[href="/pricing/"]):is(:hover, :focus-visible),
html[data-theme="day"]:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3):not(#ak-b4) .ak-tier[data-tier="1"]:is(:hover, .is-lit, :has(:focus-visible)) .ak-tier__go {
  background: linear-gradient(180deg, #FFFFFF 0%, #E6F3FF 100%) !important;
  box-shadow: inset 0 1px 0 #fff, 0 18px 28px -12px rgba(11, 25, 48, 0.45), 0 0 28px -4px color-mix(in srgb, var(--mx-sec, #0284C7) 90%, transparent) !important;
}
/* Action (blue): a clearer glow at rest, more on hover */
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3):not(#ak-b4) :is(.ak-tier:is([data-tier="2"], [data-tier="3"], [data-tier="4"]) .ak-tier__go, .ak-pay:is([data-tier="2"], [data-tier="3"]), .ak-tool-actions__buy, .ak-toolbuy__go, .akp-lift__play, .ak-finder__start) { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 12px 24px -10px color-mix(in srgb, var(--bt-act-line) 90%, transparent), 0 0 20px -8px color-mix(in srgb, var(--bt-act-line) 70%, transparent) !important; }
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3):not(#ak-b4) :is(.ak-tier:is([data-tier="2"], [data-tier="3"], [data-tier="4"]) .ak-tier__go, .ak-pay:is([data-tier="2"], [data-tier="3"]), .ak-tool-actions__buy, .ak-toolbuy__go, .akp-lift__play, .ak-finder__start):is(:hover, :focus-visible),
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3):not(#ak-b4) .ak-tier:is([data-tier="2"], [data-tier="3"], [data-tier="4"]):is(:hover, .is-lit, :has(:focus-visible)) .ak-tier__go { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 18px 30px -10px color-mix(in srgb, var(--bt-act-line) 95%, transparent), 0 0 30px -4px color-mix(in srgb, var(--bt-act-line) 90%, transparent) !important; }
/* jump chips: solid, lit, rising */
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3):not(#ak-b4) .ak-jump__go { background: linear-gradient(180deg, #13223F, #0C1830) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 20px -12px rgba(0, 0, 0, 0.85), 0 0 16px -8px color-mix(in srgb, var(--mx-sec, #0284C7) 80%, transparent) !important; transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease !important; }
html[data-theme="day"]:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3):not(#ak-b4) .ak-jump__go { background: #FFFFFF !important; box-shadow: inset 0 1px 0 #fff, 0 10px 20px -12px rgba(11, 25, 48, 0.4), 0 0 16px -8px color-mix(in srgb, var(--mx-sec, #0284C7) 70%, transparent) !important; }
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3):not(#ak-b4) .ak-jump__go:is(:hover, :focus-visible) { transform: translateY(-3px) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 16px 26px -12px rgba(0, 0, 0, 0.6), 0 0 26px -4px color-mix(in srgb, var(--mx-sec, #0284C7) 95%, transparent) !important; }
@media (prefers-reduced-motion: reduce) { html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3):not(#ak-b4) :is(.ak-button, .ak-tier__go, a.ak-pay, .ak-reserve, .ak-finder__start, .ak-toolbuy__go, .ak-tool-actions__buy, .ak-jump__go) { transition: none !important; transform: none !important; } }
/* CL-336: the Obsidian buttons (care plans) no longer sink into the Night page: a solid plate, a blue edge and a glow */
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3):not(#ak-b4) .ak-button--obsidian { background: linear-gradient(180deg, #14264A 0%, #0A1730 100%) !important; border: 1.5px solid color-mix(in srgb, var(--mx-sec, #0284C7) 75%, transparent) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 12px 24px -12px rgba(0, 0, 0, 0.85), 0 0 20px -8px color-mix(in srgb, var(--mx-sec, #0284C7) 85%, transparent) !important; }
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3):not(#ak-b4) .ak-button--obsidian:is(:hover, :focus-visible) { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 18px 30px -12px rgba(0, 0, 0, 0.8), 0 0 30px -4px color-mix(in srgb, var(--mx-sec, #0284C7) 95%, transparent) !important; }

/* CL-346: one pattern for every pop-up that has a Close button.
   The heading row (title + Close) is pinned to the top of the pop-up while its body scrolls, so a visitor can always read what it is
   and close it without scrolling back up. Put class "ak-pophead" on the row (it must be a direct child of the scrolling box, or of the form in it).
   The box sets --ak-pop-pt / --ak-pop-px (its own top and side padding) so the row reaches the box edges and nothing shows through;
   --ak-pop-bg is the box's solid colour. js/akarec-pophead.js adds .is-scrolled to the box once it has scrolled: a hairline and a soft shadow appear. */
.modal-box { --ak-pop-pt: 2.25rem; --ak-pop-px: 2.25rem; scroll-padding-top: 5rem; }
.ak-pophead {
  position: sticky; top: calc(var(--ak-pop-pt, 0px) * -1); z-index: 6; box-sizing: border-box;
  margin-top: calc(var(--ak-pop-pt, 0px) * -1); margin-left: calc(var(--ak-pop-px, 0px) * -1); margin-right: calc(var(--ak-pop-px, 0px) * -1);
  padding: var(--ak-pop-pt, 0px) var(--ak-pop-px, 0px) 0.6rem;
  background: var(--ak-pop-bg, var(--ak-surface-elevated, #0E1626));
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ak-pophead--row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 0.75rem; }
.ak-pophead button, .ak-pophead .route-pill { min-height: 44px; flex: none; }
.is-scrolled .ak-pophead { border-bottom-color: var(--ak-border-subtle, rgba(127, 127, 127, 0.3)); box-shadow: 0 10px 18px -12px rgba(0, 0, 0, 0.6); }
html[data-theme="day"] .is-scrolled .ak-pophead { box-shadow: 0 10px 18px -12px rgba(11, 25, 48, 0.28); }
@media (prefers-reduced-motion: reduce) { .ak-pophead { transition: none; } }
/* phones: the pinned row stays slim (about 62 px: 10 px, a 44 px Close, 8 px); the box gets 1.1rem sides so the title and Close share one line */
@media (max-width: 640px) {
  .modal-box:not(.bk-sheet) { --ak-pop-pt: 0.6rem; --ak-pop-px: 1.1rem; padding: 0.6rem 1.1rem 1.5rem; }
  .ak-whysheet .modal-box { padding-bottom: 1.75rem; }
  .ak-pophead { padding-bottom: 0.5rem; }
  .modal-box .ak-pophead h3 { font-size: 1.05rem !important; line-height: 1.15; margin: 0; }
  .modal-box .ak-pophead .ak-eyebrow, .modal-box .ak-pophead .ak-buy__eyebrow { margin: 0 0 0.15rem !important; font-size: 0.62rem !important; letter-spacing: 0.04em !important; }
}


/* ==== CL-341 (Frank 2026-11-30): "What happens after you pay" = four lifted step tiles; each tile's detail tucks behind an emerald
   "More details" that pops out smoothly (hover, keyboard focus or tap). Shared: inlined on home, linked on every page with a pillar block.
   Markup (home/pillars/{websites,forge,seo,automation,industry-any}.html): <li class="bs-step"><span class="bs-step__t">title</span>
   <button class="bs-step__more" aria-expanded aria-controls>More details</button><span class="bs-step__d" id role="note">detail</span></li>
   The detail stays in the HTML. Script: js/akarec-pillar.js (CL-341 block). Emerald = the check-mark emerald (Day: the deep shade, 4.5:1+). ==== */
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-pillar, #ak-pillar, .ak-pkg-guide) .bs-after .bs-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.8rem; }
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-pillar, #ak-pillar, .ak-pkg-guide) .bs-steps .bs-step {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 0.65rem; row-gap: 0.1rem; align-items: start; align-content: start;
  min-height: 0; padding: 0.8rem 0.85rem 0.55rem; border-radius: 14px; color: var(--ak-text-main, #fff);
  border: 1px solid rgba(255, 255, 255, 0.12); background: linear-gradient(180deg, #13223F 0%, #0C1830 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13), 0 12px 22px -14px rgba(0, 0, 0, 0.9), 0 0 16px -9px color-mix(in srgb, var(--mx-sec, #0284C7) 80%, transparent);
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease;
}
html[data-theme="day"]:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-pillar, #ak-pillar, .ak-pkg-guide) .bs-steps .bs-step {
  color: #0B1930; background: #FFFFFF; border-color: rgba(11, 25, 48, 0.14);
  box-shadow: inset 0 1px 0 #fff, 0 12px 20px -14px rgba(11, 25, 48, 0.4), 0 0 16px -9px color-mix(in srgb, var(--mx-sec, #0284C7) 70%, transparent);
}
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-pillar, #ak-pillar, .ak-pkg-guide) .bs-steps .bs-step:is(:hover, :focus-within, .is-open) { transform: translateY(-3px); z-index: 6;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 18px 28px -14px rgba(0, 0, 0, 0.8), 0 0 26px -5px color-mix(in srgb, var(--mx-sec, #0284C7) 95%, transparent); }
html[data-theme="day"]:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-pillar, #ak-pillar, .ak-pkg-guide) .bs-steps .bs-step:is(:hover, :focus-within, .is-open) {
  box-shadow: inset 0 1px 0 #fff, 0 18px 26px -14px rgba(11, 25, 48, 0.45), 0 0 26px -5px color-mix(in srgb, var(--mx-sec, #0284C7) 90%, transparent); }
/* the number circle sits in the tile, beside the title */
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-pillar, #ak-pillar, .ak-pkg-guide) .bs-steps .bs-step::before { position: static; grid-row: 1 / span 2; width: 1.55rem; height: 1.55rem; font-size: 0.76rem; }
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-pillar, #ak-pillar, .ak-pkg-guide) .bs-steps .bs-step::after { display: none !important; }
:is(.ak-pillar, #ak-pillar, .ak-pkg-guide) .bs-step .bs-step__t { grid-column: 2; align-self: center; font: 700 0.88rem/1.3 'Montserrat', 'Montserrat AKfb', 'Inter', sans-serif; color: inherit; }
/* "More details": emerald, same as the check marks */
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-pillar, #ak-pillar, .ak-pkg-guide) .bs-step__more {
  appearance: none; grid-column: 2; justify-self: start; position: relative; display: inline-flex; align-items: center; gap: 0.35rem; margin: 0; padding: 0.25rem 0; min-height: 1.7rem;
  background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 6px; cursor: pointer;
  font: 700 0.76rem/1.2 'Inter', system-ui, sans-serif; letter-spacing: 0.02em; color: var(--p-emerald, #10B981) !important;
}
html[data-theme="day"]:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-pillar, #ak-pillar, .ak-pkg-guide) .bs-step__more { color: var(--p-emerald-deep, #047857) !important; }
.bs-step__more::before { content: ""; position: absolute; inset: -0.55rem -0.5rem -0.35rem -0.2rem; }   /* a 44 px tap target without a taller tile */
.bs-step__more::after { content: ""; width: 0.38rem; height: 0.38rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-1px); transition: transform 0.25s ease; }
.bs-step.is-open .bs-step__more::after { transform: rotate(-135deg) translate(-1px, -1px); }
.bs-step__more:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: 3px; }
.bs-step__more:focus-visible { outline: 2px solid var(--p-emerald, #10B981); outline-offset: 2px; }
html[data-theme="day"] .bs-step__more:focus-visible { outline-color: var(--p-emerald-deep, #047857); }
/* the detail: an overlay anchored under its tile (never pushes the page), fades and rises in */
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-pillar, #ak-pillar, .ak-pkg-guide) .bs-step__d {
  position: absolute; left: 0; top: calc(100% + 0.5rem); z-index: 30; display: block; box-sizing: border-box; width: min(19rem, calc(100vw - 2.5rem)); padding: 0.85rem 1rem; border-radius: 14px;
  font: 400 0.84rem/1.5 'Inter', system-ui, sans-serif; text-align: left; color: #E7EDF7; background: #0A1424; border: 1px solid color-mix(in srgb, var(--p-emerald, #10B981) 55%, transparent);
  box-shadow: 0 22px 40px -18px rgba(0, 0, 0, 0.85), 0 0 24px -12px var(--p-emerald, #10B981);
  opacity: 0; visibility: hidden; transform: translateY(8px); pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}
html[data-theme="day"]:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-pillar, #ak-pillar, .ak-pkg-guide) .bs-step__d { color: #243049; background: #FFFFFF; border-color: color-mix(in srgb, var(--p-emerald-deep, #047857) 55%, transparent); box-shadow: 0 22px 36px -18px rgba(11, 25, 48, 0.5); }
.bs-step__d::before { content: ""; position: absolute; left: 0; right: 0; top: -0.55rem; height: 0.55rem; }   /* keeps hover alive across the gap */
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-pillar, #ak-pillar, .ak-pkg-guide) .bs-step:nth-child(n+3) > .bs-step__d { left: auto; right: 0; }
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-pillar, #ak-pillar, .ak-pkg-guide) .bs-step.is-up > .bs-step__d { top: auto; bottom: calc(100% + 0.5rem); transform: translateY(-8px); }
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-pillar, #ak-pillar, .ak-pkg-guide) .bs-step.is-up > .bs-step__d::before { top: auto; bottom: -0.55rem; }
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-pillar, #ak-pillar, .ak-pkg-guide) .bs-step.is-open > .bs-step__d,
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-pillar, #ak-pillar, .ak-pkg-guide) .bs-step__more:hover ~ .bs-step__d { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
/* the block is shorter: tighter heading, padding and gaps (the two link tiles below are unchanged) */
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-pillar, #ak-pillar, .ak-pkg-guide) .bs-next .bs-after h4 { margin-bottom: 0.6rem; }
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-pillar, #ak-pillar, .ak-pkg-guide) .bs-next .bs-links { margin-top: 0.8rem; padding-top: 0.8rem; }
@media (max-width: 760px) {
  html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-pillar, #ak-pillar, .ak-pkg-guide) .bs-after .bs-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; }
  html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-pillar, #ak-pillar, .ak-pkg-guide) .bs-steps .bs-step { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; row-gap: 0.4rem; padding: 0.7rem 0.75rem 0.5rem; min-height: 6.2rem; }
  html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-pillar, #ak-pillar, .ak-pkg-guide) .bs-steps .bs-step::before { grid-row: auto; }
  html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-pillar, #ak-pillar, .ak-pkg-guide) .bs-step :is(.bs-step__t, .bs-step__more) { grid-column: 1; }
  html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-pillar, #ak-pillar, .ak-pkg-guide) .bs-step:nth-child(n+3) > .bs-step__d { left: 0; right: auto; }
  html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-pillar, #ak-pillar, .ak-pkg-guide) .bs-step:nth-child(even) > .bs-step__d { left: auto; right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-pillar, #ak-pillar, .ak-pkg-guide) .bs-steps .bs-step, .bs-step__more::after,
  html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(.ak-pillar, #ak-pillar, .ak-pkg-guide) .bs-step__d { transition: none !important; transform: none !important; }
}

/* CL-355: the package pop-up's "What happens next" uses the same tiles, one per row (details open under their tile inside the pop-up) */
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(#ak-pkg-guide, .ak-pkg-guide) .bs-steps { grid-template-columns: minmax(0, 1fr); gap: 0.6rem; }
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(#ak-pkg-guide, .ak-pkg-guide) .bs-steps .bs-step { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; min-height: 0; padding: 0.7rem 0.85rem 0.45rem; font-size: 0.88rem; }
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(#ak-pkg-guide, .ak-pkg-guide) .bs-steps .bs-step::before { grid-row: 1 / span 2; }
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(#ak-pkg-guide, .ak-pkg-guide) .bs-step :is(.bs-step__t, .bs-step__more) { grid-column: 2; }
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3) :is(#ak-pkg-guide, .ak-pkg-guide) .bs-step > .bs-step__d { left: 0 !important; right: auto !important; width: min(24rem, calc(100% - 0.5rem)); }


/* ==== CL-342 (Frank 2026-11-30): the "care after launch" strip (Websites, and Tool care on the industry block) is its own raised panel, one more
   step of lift than the box around it (edge, soft shadow, lit top). Website Watch / Care / Command are the blue - green - gold trio, small as before,
   lifted off the panel, with a stronger glow on hover. Gold = the Logo Forge gold (forge-service.js face 0xE8B54A), not brand yellow.
   Label and price: white on the deep blue (5.9:1), dark ink on emerald (5.5:1+) and on gold (7:1+). Behaviour, ids and prices are untouched. ==== */
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3):not(#ak-b4) :is(.ak-pillar, #ak-pillar) .bs-addons--care {
  position: relative; padding: 1.05rem 1.25rem; border-radius: 18px; z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.2); border-top-color: rgba(255, 255, 255, 0.42);
  background: linear-gradient(180deg, #1B3156 0%, #112140 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), inset 0 -1px 0 rgba(0, 0, 0, 0.35), 0 20px 34px -18px rgba(0, 0, 0, 0.9), 0 6px 14px -8px rgba(0, 0, 0, 0.6);
}
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3):not(#ak-b4) :is(.ak-pillar, #ak-pillar) .bs-addons--care p { color: #D6DFEC; }
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3):not(#ak-b4) :is(.ak-pillar, #ak-pillar) .bs-addons--care p strong { color: #FFFFFF; }
html[data-theme="day"]:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3):not(#ak-b4) :is(.ak-pillar, #ak-pillar) .bs-addons--care {
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F7FB 100%); border: 1px solid rgba(11, 25, 48, 0.16); border-top-color: #FFFFFF;
  box-shadow: inset 0 1px 0 #FFFFFF, 0 20px 32px -18px rgba(11, 25, 48, 0.42), 0 6px 12px -8px rgba(11, 25, 48, 0.28);
}
html[data-theme="day"]:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3):not(#ak-b4) :is(.ak-pillar, #ak-pillar) .bs-addons--care p { color: #3B4457; }
html[data-theme="day"]:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3):not(#ak-b4) :is(.ak-pillar, #ak-pillar) .bs-addons--care p strong { color: #0B1930; }

/* the three trio buttons */
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3):not(#ak-b4) :is(.ak-pillar, #ak-pillar) .bs-care {
  border: 1px solid transparent !important; transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease, filter 0.25s ease;
  transform: translateY(-2px);
}
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3):not(#ak-b4) :is(.ak-pillar, #ak-pillar) .bs-care :is(span, .ak-button__price) { color: inherit !important; }
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3):not(#ak-b4) :is(.ak-pillar, #ak-pillar) .bs-care--blue {
  background: linear-gradient(180deg, #0A86C9 0%, #0369A1 100%) !important; color: #FFFFFF !important; border-color: #38B6F0 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 18px -8px rgba(0, 0, 0, 0.75), 0 0 14px -6px rgba(2, 132, 199, 0.8) !important;
}
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3):not(#ak-b4) :is(.ak-pillar, #ak-pillar) .bs-care--green {
  background: linear-gradient(180deg, #2FD39A 0%, #0E9F6E 100%) !important; color: #04130C !important; border-color: #6EE7B7 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 10px 18px -8px rgba(0, 0, 0, 0.75), 0 0 14px -6px rgba(16, 185, 129, 0.8) !important;
}
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3):not(#ak-b4) :is(.ak-pillar, #ak-pillar) .bs-care--gold {
  background: linear-gradient(180deg, #F6E3A1 0%, #E8B54A 52%, #C99A35 100%) !important; color: #1A1204 !important; border-color: #F6E3A1 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 10px 18px -8px rgba(0, 0, 0, 0.75), 0 0 14px -6px rgba(232, 181, 74, 0.85) !important;
}
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3):not(#ak-b4) :is(.ak-pillar, #ak-pillar) .bs-care .ak-button__price { background: rgba(0, 0, 0, 0.14) !important; }
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3):not(#ak-b4) :is(.ak-pillar, #ak-pillar) .bs-care--blue .ak-button__price { background: rgba(2, 20, 40, 0.38) !important; }
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3):not(#ak-b4) :is(.ak-pillar, #ak-pillar) .bs-care:is(:hover, :focus-visible) { transform: translateY(-4px); filter: brightness(1.08); }
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3):not(#ak-b4) :is(.ak-pillar, #ak-pillar) .bs-care--blue:is(:hover, :focus-visible) {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 16px 24px -10px rgba(0, 0, 0, 0.8), 0 0 28px -2px rgba(2, 132, 199, 0.95) !important; }
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3):not(#ak-b4) :is(.ak-pillar, #ak-pillar) .bs-care--green:is(:hover, :focus-visible) {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 16px 24px -10px rgba(0, 0, 0, 0.8), 0 0 28px -2px rgba(16, 185, 129, 0.95) !important; }
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3):not(#ak-b4) :is(.ak-pillar, #ak-pillar) .bs-care--gold:is(:hover, :focus-visible) {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 16px 24px -10px rgba(0, 0, 0, 0.8), 0 0 28px -2px rgba(232, 181, 74, 1) !important; }
html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3):not(#ak-b4) :is(.ak-pillar, #ak-pillar) .bs-care:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; }
html[data-theme="day"]:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3):not(#ak-b4) :is(.ak-pillar, #ak-pillar) .bs-care:focus-visible { outline-color: #0B1930; }
@media (prefers-reduced-motion: reduce) { :is(.ak-pillar, #ak-pillar) .bs-care { transition: none !important; } }
@media (max-width: 640px) { html:root body:not(#ak-b1):not(#ak-b2):not(#ak-b3):not(#ak-b4) :is(.ak-pillar, #ak-pillar) .bs-addons--care { padding: 0.9rem 0.8rem; } }


/* ==== CL-344 (Frank 2026-11-30): two small trigger lines on the Logo Forge, each with a hover / focus / tap pop-up (top layer, never clipped).
   Trigger 1 sits beside "Try it on your logo" (parts/forge.html); trigger 2 ends the "Get your real logo made like this." line (home/pillars/forge.html).
   Gold words = the Logo Forge gold (CL-341), Day uses the deep end on light grounds. The card matches the ownership promise card (CL-342). Script: js/akarec-forge-pops.js ==== */
.akpop__t {
  appearance: none; display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; margin: 0; padding: 0 0.15rem; cursor: help; border: 0; border-radius: 6px; background: none;
  font: 700 0.9rem/1.3 'Montserrat', 'Inter', system-ui, sans-serif; letter-spacing: 0.01em; text-align: left; color: #E8B54A;
  transition: filter 0.25s ease;
}
.akpop__t .akpop__w { text-decoration: underline dotted; text-decoration-thickness: 1.5px; text-underline-offset: 5px; text-decoration-color: color-mix(in srgb, #E8B54A 70%, transparent); }
.akpop__t::after { content: "?"; display: inline-grid; place-items: center; flex: none; width: 1.3em; height: 1.3em; border: 1px solid currentColor; border-radius: 50%; font: 700 0.72em/1 'Inter', system-ui, sans-serif; opacity: 0.85; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .akpop__t .akpop__w { background-image: linear-gradient(100deg, #F6E3A1 0%, #E8B54A 48%, #C99A35 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
}
.akpop__t:is(:hover, :focus-visible, [aria-expanded="true"]) { filter: brightness(1.12) drop-shadow(0 0 8px rgba(232, 181, 74, 0.45)); }
.akpop__t:is(:hover, :focus-visible, [aria-expanded="true"]) .akpop__w { text-decoration-color: #E8B54A; }
.akpop__t:focus-visible { outline: 2px solid #E8B54A; outline-offset: 3px; }
.akpop__t--inline { display: inline-flex; vertical-align: middle; margin-left: 0.25rem; }
/* on light grounds (Day) the deep end of the gold, so the words stay readable */
html[data-theme="day"] .akpop__t--light { color: #7A5A12; }
html[data-theme="day"] .akpop__t--light .akpop__w { background-image: linear-gradient(100deg, #8A6516 0%, #7A5A12 55%, #6B4C0E 100%); text-decoration-color: color-mix(in srgb, #7A5A12 60%, transparent); }
html[data-theme="day"] .akpop__t--light:is(:hover, :focus-visible, [aria-expanded="true"]) { filter: none; }
html[data-theme="day"] .akpop__t--light:focus-visible { outline-color: #7A5A12; }

/* the tool header: eyebrow, then h2 and trigger 1 on one row */
.lfg-forge .lfg-head__row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.1rem 1rem; }
.lfg-forge .lfg-head__row h2 { margin: 0.3rem 0 0; }
/* the narrow tool column made the heading wrap to two lines; one line keeps this header the same height or shorter with the trigger added */
html[data-theme] body .lfg-forge .lfg-head__row h2 { font-size: clamp(1.7rem, 2.9vw, 1.95rem) !important; line-height: 1.12 !important; white-space: nowrap; }
.lfg-forge .lfg-head__row .akpop__t { margin-top: -0.2rem; margin-left: -0.15rem; }
@media (max-width: 600px) {
  /* phone: the compact tool hides its heading; the trigger stays as one short line */
  .lfg-forge .lfg-head { display: block; order: 3; margin: 0; }
  .lfg-forge .lfg-head .ak-eyebrow, .lfg-forge .lfg-head h2 { display: none; }
  .lfg-forge .lfg-head .akpop__t { font-size: 0.84rem; }
}

/* the pop-up card: top layer, placed by the script */
.akpop__card[popover] {
  position: fixed; inset: auto; margin: 0; width: min(27rem, calc(100vw - 2.5rem)); max-height: calc(100vh - 20px); overflow: auto; padding: 1.1rem 1.25rem 1.15rem; border-radius: 16px; text-align: left; white-space: normal;
  background: color-mix(in srgb, #060C18 94%, #E8B54A); border: 1.5px solid color-mix(in srgb, #E8B54A 55%, transparent); color: #FAF8F5;
  box-shadow: 0 24px 50px -22px rgba(0, 0, 0, 0.75), 0 0 30px -14px #E8B54A;
}
.akpop__card[popover]:popover-open { animation: akPopIn 0.25s ease; }
@keyframes akPopIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
html[data-theme] .akpop__card :is(span, p, ul, li, strong, b) { font-family: 'Inter', system-ui, sans-serif; }
html[data-theme] .akpop__card .akpop__title { display: block; margin: 0 0 0.45rem; font: 800 1.1rem/1.25 'Montserrat', 'Inter', system-ui, sans-serif; color: #E8B54A; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  html[data-theme] .akpop__card .akpop__title { background-image: linear-gradient(100deg, #F6E3A1 0%, #E8B54A 48%, #C99A35 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
}
html[data-theme] .akpop__card p { margin: 0 0 0.6rem; font-size: 0.95rem; line-height: 1.5; color: #C9D3E2; }
html[data-theme] .akpop__card ul { margin: 0 0 0.3rem; padding: 0; list-style: none; }
html[data-theme] .akpop__card li { position: relative; margin: 0 0 0.35rem; padding-left: 1.3rem; font-size: 0.95rem; line-height: 1.45; color: #FAF8F5; }
html[data-theme] .akpop__card li b { color: #FFFFFF; }
.akpop__card li::before { content: ""; position: absolute; left: 0.1rem; top: 0.5em; width: 0.5rem; height: 0.28rem; border-left: 2px solid #10B981; border-bottom: 2px solid #10B981; transform: rotate(-45deg); }
html[data-theme] .akpop__card p.akpop__fine { margin: 0.5rem 0 0; font-size: 0.85rem; color: #AEBBD0; }
@media (prefers-reduced-motion: reduce) { .akpop__t { transition: none; } .akpop__card[popover]:popover-open { animation: none; } }


  .ak-sky { position: relative; height: clamp(200px, 23vw, 360px); margin-top: 2rem; overflow: hidden; contain: layout paint; }
  .ak-sky::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 24%; background: linear-gradient(to bottom, rgba(3,6,12,0), var(--p-void)); pointer-events: none; }   /* the river runs into the footer */
  .ak-sky__still, .ak-sky__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, var(--p-black) 15%); mask-image: linear-gradient(to bottom, transparent 0, var(--p-black) 15%); }
  .ak-sky__still img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; display: block; }
  html[data-theme="day"] .ak-sky__still--night, html:not([data-theme="day"]) .ak-sky__still--day { display: none; }
  .ak-sky__canvas { opacity: 0; transition: opacity .5s ease; }
  .ak-sky.is-live .ak-sky__canvas { opacity: 1; }
  .ak-sky.is-live .ak-sky__still { opacity: 0; transition: opacity .5s ease; }
  /* CL-160: Philadelphia's time and today's forecast, just above the "Built here" line (real text, top right of the band) */
  .ak-sky__info { position: absolute; z-index: 2; right: 1rem; top: 9%; display: grid; justify-items: end; gap: .32rem; text-align: right; color: var(--p-slate-100); text-shadow: 0 1px 8px rgba(3,6,12,.85); left: 1rem; bottom: 12px; align-content: start; pointer-events: none; }
  html[data-theme="day"] .ak-sky__info { color: var(--p-ink); text-shadow: 0 1px 8px rgba(255,255,255,.75); }
  .ak-sky__now { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: .1rem .4rem; position: absolute; right: 0; bottom: 0; width: max-content; max-width: calc(100% - 56px); gap: .15rem .55rem; color: var(--p-slate-100); text-shadow: 0 1px 8px rgba(3,6,12,.9), 0 0 2px rgba(3,6,12,.8); }   /* CL-168: one quiet line */
  .ak-sky__now[hidden], .ak-sky__wx[hidden], .ak-sky__credit[hidden] { display: none; }
  .ak-sky__time { margin: 0; font: 600 .72rem/1.2 'Montserrat', 'Montserrat AKfb', 'Inter', system-ui, sans-serif; letter-spacing: .01em; opacity: .9; }
  .ak-sky__wx { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .1rem .4rem; font: 500 .72rem/1.2 'Inter', 'Inter AKfb', system-ui, sans-serif; }
  .ak-sky__wx li { display: inline-flex; align-items: center; gap: .2rem; white-space: nowrap; opacity: .9; }
  .ak-sky__wx li::before { content: "\b7"; opacity: .6; margin-right: .2rem; }   /* the dots between the pieces */
  .ak-sky__w { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }   /* the weather word stays for screen readers */
  .ak-sky__wx b { font-weight: 700; }
  .ak-sky__wx svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .ak-sky__wx svg .k { stroke: var(--mx-hi, var(--p-citron)); } .ak-sky__wx svg .b { stroke: var(--p-sky-pale); } .ak-sky__wx svg .w { stroke: #FCA5A5; } .ak-sky__wx svg .f { fill: currentColor; stroke: none; }
  .ak-sky__wx svg .k.f { fill: var(--mx-hi, var(--p-citron)); } .ak-sky__wx svg .b.f, .ak-sky__wx svg .b .f, .ak-sky__wx svg g.b.f circle { fill: var(--p-sky-pale); }
  .ak-sky__credit { margin: 0; font: 500 .58rem/1 'JetBrains Mono', 'JetBrains Mono AKfb', monospace; letter-spacing: .04em; opacity: .78; }
  .ak-sky__info .ak-sky__label { position: static; opacity: .85; }
  /* CL-180 (Frank): the time AND the weather sit together on one line at the bottom right of the band, just above the footer;
     "Philadelphia · Built here" stays top right. Light text and night icon colours in both themes: the band's foot runs dark
     into the footer. On phones the line breaks in two (weather, then time + credit), clear of the pause button. */
     /* spans the band, so the bottom line has the full width to sit in */
  html[data-theme="day"] .ak-sky__wx svg .k { stroke: var(--mx-hi, var(--p-citron)); } html[data-theme="day"] .ak-sky__wx svg .k.f { fill: var(--mx-hi, var(--p-citron)); }
  html[data-theme="day"] .ak-sky__wx svg .b { stroke: var(--p-sky-pale); } html[data-theme="day"] .ak-sky__wx svg .b.f, html[data-theme="day"] .ak-sky__wx svg g.b.f circle { fill: var(--p-sky-pale); } html[data-theme="day"] .ak-sky__wx svg .w { stroke: #FCA5A5; }
  @media (max-width: 640px) {
    .ak-sky__wx { order: 1; flex: 1 0 100%; font-size: .7rem; gap: .1rem .3rem; } .ak-sky__time { order: 2; font-size: .7rem; } .ak-sky__credit { order: 3; }
  }
  @media (max-width: 640px) {
    .ak-sky { height: 272px; }                                       /* a little taller on phones, so the lines sit in clear sky above the towers */
    .ak-sky__info { top: 6px; right: .75rem; left: .75rem; gap: .2rem; }
    .ak-sky .ak-sky__link .ak-sky__go { bottom: 78px; }   /* CL-356: the AKAREC ENTRY pill sits above the weather + time lines on phones, never on top of them */
      .ak-sky__wx svg { width: 13px; height: 13px; }
  }
  .ak-sky__label { position: absolute; z-index: 2; right: 1rem; top: 22%; font: 600 .68rem/1 'JetBrains Mono', 'JetBrains Mono AKfb', monospace; letter-spacing: .14em; color: var(--p-amber-pale); opacity: .85; text-shadow: 0 1px 8px rgba(3,6,12,.8); }
  html[data-theme="day"] .ak-sky__label { color: var(--p-ink); text-shadow: 0 1px 8px rgba(255,255,255,.7); }
  .ak-sky__pause { position: absolute; z-index: 2; left: 12px; bottom: 14px; width: 32px; height: 32px; display: none; place-items: center; padding: 0; border-radius: 6px; cursor: pointer; background: rgba(6,10,18,.72); color: var(--p-slate-300); border: 1px solid rgba(255,255,255,.22); }
  html[data-theme="day"] .ak-sky__pause { background: rgba(255,255,255,.85); color: var(--p-ink); border-color: rgba(11,25,48,.25); }
  .ak-sky.is-live .ak-sky__pause { display: grid; }
  .ak-sky__pause:focus-visible { outline: 2px solid var(--p-citron); outline-offset: 2px; }
  html[data-theme="day"] .ak-sky__pause:focus-visible { outline-color: var(--p-ink); }
  .ak-sky__pause svg { width: 12px; height: 12px; fill: currentColor; }
  .ak-sky__pause[aria-pressed="true"] .i-pause, .ak-sky__pause[aria-pressed="false"] .i-play { display: none; }
  @media (max-width: 899px), (pointer: coarse) { .ak-sky__pause { width: 44px; height: 44px; } }
  @media (max-width: 640px) { .ak-sky__label { font-size: 0.6rem; letter-spacing: 0.12em; } }
  @media (prefers-reduced-motion: reduce) { .ak-sky__canvas, .ak-sky__still { transition: none; } }
  /* CL-236: the whole city band is a link to the TOP of AKA ENTRY (/journal.html). It sits over the picture and the 3D scene (z 1), under the pause button and the text (z 2, text lets taps through). */
  .ak-sky__link { position: absolute; inset: 0; z-index: 1; display: block; cursor: pointer; -webkit-tap-highlight-color: rgba(245,158,11,.25); }
  .ak-sky__info { pointer-events: none; }
  .ak-sky__go { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); padding: .42rem .95rem; border-radius: 99px; font: 700 .72rem/1 'JetBrains Mono', 'JetBrains Mono AKfb', monospace; letter-spacing: .14em; white-space: nowrap; color: var(--p-amber-pale); background: rgba(6,10,18,.72); border: 1px solid rgba(245,158,11,.5); opacity: .88; transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease, background .2s ease; }
  html[data-theme="day"] .ak-sky__go { color: var(--p-ink); background: rgba(255,255,255,.88); border-color: rgba(180,83,9,.55); }
  .ak-sky__go b { color: var(--p-amber); margin-left: .25rem; }
  html[data-theme="day"] .ak-sky__go b { color: var(--mx-day-sec, #0369A1); }   /* CL-334 */
  .ak-sky__link:hover .ak-sky__go, .ak-sky__link:focus-visible .ak-sky__go { opacity: 1; transform: translateX(-50%) translateY(-2px); box-shadow: 0 8px 22px -8px rgba(245,158,11,.7); }
  .ak-sky__link:active .ak-sky__go { transform: translateX(-50%) scale(.96); }
  .ak-sky__link:hover ~ .ak-sky__still, .ak-sky__link:hover ~ .ak-sky__canvas { filter: brightness(1.12); }
  .ak-sky__link:focus-visible { outline: 3px solid var(--p-citron); outline-offset: -3px; }
  @media (prefers-reduced-motion: reduce) { .ak-sky__go { transition: none; } }
  

  /* ==========================================================================================
     CL-155 (Fable): phone layout for the home page. Checked at 375, 390, 414 and 768 px.
     Body text 16 px, tap targets 44 px, nothing pushes the page sideways. The small sample
     websites, the 3D card, the roof drawing and the phone mock-up are pictures of other things,
     so their own small type is left alone. Signature features stay as they are (CLAUDE.md).
     Rules here name classes and sections directly on purpose: on a page this large, "everything
     except what is inside X" selectors cost a phone several hundred milliseconds at load.
     ========================================================================================== */

  /* ---------- tap targets: 44 px on phones, tablets and any touch screen ---------- */
  @media (max-width: 899px), (pointer: coarse) {
    header.site-header > a, header.site-header .nav-link, header.site-header .nav-cta, header.site-header .ak-studio-light { min-height: 46px !important; }
    header.site-header .ak-studio-light { min-width: 44px; justify-content: center; }
    header.site-header .nav-menu__panel a, header.site-header .nav-menu__panel button { min-height: 44px; display: flex; align-items: center; }
    main button, main summary, main select, main a.ak-button, main a.route-pill, main .ak-input, main textarea { min-height: 44px !important; }
    main .fcar-win-pill, main .ak-textlink, main .ak-vel-replay-btn, #heroDemoColumn .fcar-arrow { min-height: 0 !important; }
    main input[type="range"] { height: 44px !important; }
    #sec-grade label { min-height: 44px !important; }
    #sec-grade .agp-pause { width: 44px; height: 44px; }
    body > footer a, body > footer button { display: inline-flex !important; align-items: center; min-height: 44px !important; }
    main p > a:only-child, #sec-pricing > .ak-container > a { display: inline-flex; align-items: center; min-height: 44px; }
    /* small controls that should stay small to the eye get a bigger invisible touch area */
    .fcar-win-pill, .ak-textlink, .ak-vel-replay-btn, .ak-keep-word { position: relative; }
    .fcar-win-pill::after, .ak-textlink::after, .ak-vel-replay-btn::after { content: ""; position: absolute; inset: -15px -10px; }
    /* CL-231: the keep. word's ::after is its underline; its touch area uses ::before so the line is not thrown off the word */
    .ak-keep-word::before { content: ""; position: absolute; inset: -15px -10px; }
    #heroDemoColumn .fcar-arrow::after { content: ""; position: absolute; inset: -6px; }
    .modal-box button, .modal-box summary, .modal-box a.ak-button { min-height: 44px; }
  }

  /* tablets (641 to 899 px): the header row has to fit, so the light switch loses its label and the call button its arrow */
  @media (min-width: 641px) and (max-width: 899px) {
    header.site-header { column-gap: 0.75rem; }
    header.site-header .ak-studio-light__label, header.site-header .nav-cta__arrow { display: none; }
    header.site-header .nav-cta { padding: 0.6rem 1rem; }
    header.site-header > a { min-width: 0; }
  }

  @media (max-width: 899px) {
    /* ---------- body copy: 16 px ---------- */
    main .ak-plain-line, main .ak-plain-words, main .ak-ownership-reassurance, main .ak-onestop-note, main .ak-tabs-cue, main .ak-page-teaser { font-size: 1rem !important; }
    #sec-services p, #sec-services li, #sec-services strong, #sec-more-services p, #sec-more-services li,
    #sec-ownership li, #sec-faq p, #sec-faq li, #sec-quote > .ak-container > p, #sec-quote details p, #sec-quote details li, #sec-quote details strong, #sec-quote .akq-missed p, #sec-automation .ind-head p, #sec-automation details p, #sec-automation .akq-missed p, #sec-quote .akq-stage p,
    #sec-pricing li, #sec-pricing .ak-psych-step div, #sec-pricing .ak-plain-guide p, #sec-pricing .ak-plain-guide strong, #sec-pricing > .ak-container > p,
    #sec-pricing .ak-psych-step strong, #sec-more-services .aks-promise div, #sec-more-services .aks-promise strong, #sec-industries .ak-aha-nudge span, #sec-industries .ak-aha-nudge strong,
    main .ak-service-link, #sec-quote .akq-picker__also { font-size: 1rem !important; }

    /* ---------- buttons, chips and fields: 16 px (fields at 16 px also stop the iPhone zoom-in) ---------- */
    main .ak-button, main .ak-incl-toggle, main .akq-chip, main .aks-ask, main .ak-input, main select, main textarea,
    #sec-more-services .aks-tabs button, #sec-services button{ font-size: 1rem !important; }
    main button.route-pill, main a.route-pill, #sec-hero .fcar-shuffle-btn, #sec-hero .fcar-estimator-btn, #sec-industries .cdemo-shuffle-btn, #sec-cocreation button { font-size: 0.94rem !important; }
    main .ak-button .ak-button__price, main .ak-reserve__price, #sec-all-prices .ak-ap-row > * { font-size: 1rem !important; }
    #sec-hero .fcar-ind-pill { font-size: 0.875rem !important; white-space: nowrap; padding-inline: 0.5rem !important; }
    main button, main .ak-button, main .route-pill { overflow-wrap: normal; word-break: normal; }      /* button labels never break inside a word */

    /* ---------- supporting lines and fine print: 14 px ---------- */
    main .refund-micro, main .akq-src, main .ak-std-after, main .ak-ap__note, main .ak-keep-tag,
    #sec-pricing small, #sec-more-services small, #sec-all-prices small, #sec-grade small{ font-size: 0.875rem !important; line-height: 1.5; }
    main .ak-reserve small, main .ak-button small { font-size: 0.8rem !important; }
    #sec-grade label, #sec-grade legend, #sec-grade label span { font-size: 0.9rem !important; line-height: 1.5; }   /* consent wording stays easy to read */
    #sec-industries label, #sec-cocreation label { font-size: 0.875rem !important; }

    /* ---------- small-caps labels, tags and timers: never under 12.5 px ---------- */
    main .ak-eyebrow, main span.route-pill, main .ind-tool-badge, main .aks-flag, main .ak-plain-guide__tag { font-size: 0.82rem !important; }
    main .akm-3d__cap, main .fcar-bar__left, main .fcar-bar__right, main .cdemo-bar__left, main .cdemo-mixer-meta, #sec-pricing .ak-feat-flag, #sec-pricing .ak-vel-replay-btn { font-size: 0.8rem !important; }
    #sec-pricing .font-mono-tech, #sec-cocreation label.font-mono-tech, #sec-cocreation .akm-forge__msg { font-size: 0.84rem !important; }
    #sec-pricing .ak-plain-words b { font-size: 0.78rem !important; }

    /* CL-158 (AKA Roof text sizes on phones) moved into js/tools/aka-roof.js with the tool (CL-181) */

    /* ---------- header menu panels and footer ---------- */
    header.site-header .nav-menu__panel a, header.site-header .nav-menu__panel button { font-size: 1rem !important; }
    body > footer { font-size: 0.94rem !important; padding-bottom: 7rem !important; }      /* room for the toolbars under the last links (more on narrow phones, where they stack: akarec-brand-mixer.css) */
    body > footer a, body > footer button, body > footer span, body > footer div { font-size: 0.94rem !important; }
    body > footer strong { font-size: 0.82rem !important; }

    /* ---------- pop-ups (checkout, contact): fields 16 px, the details table stacks ---------- */
    .modal-box input:not([type="checkbox"]):not([type="radio"]), .modal-box select, .modal-box textarea { font-size: 1rem !important; min-height: 44px; }
    .modal-box { overflow-wrap: break-word; }
    .modal-box .detail-table, .modal-box .detail-table tbody, .modal-box .detail-table tr, .modal-box .detail-table td, .modal-box .detail-table th { display: block; width: auto !important; }
    .modal-box .detail-table tr { padding: 0.5rem 0; }
    .modal-box .detail-table td, .modal-box .detail-table th { padding: 0.1rem 0 !important; border: 0 !important; white-space: normal !important; }

    /* ---------- nothing sideways ---------- */
    main img, main video, main canvas { max-width: 100%; }
  }

