/* AKAREC subpages (/contractors/, /websites/, /pricing/ ...). CL-122.
   CL-143: brand colours are written as var(--mx-*, <AKAREC default>) so the "Mix the brand colors" bar and
   Random Aura recolour these pages (akarec-brand-mixer.css / .js). With no mix chosen the defaults show, unchanged.
   Shared by every page made with site/_build/build-pages.mjs.
   Tokens and look follow site/index.html: Brand Kit v2.1, Night (default) and Day modes, dark header in both. */

: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-2: var(--p-surface);
  --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-sky: var(--p-sky);
  --ak-emerald: var(--p-emerald);
  --ak-border: rgba(245, 158, 11, 0.28);
  --ak-border-subtle: rgba(255, 255, 255, 0.1);
  --ak-glow: 0.16;
  --akp-head: 'Montserrat', 'Inter', system-ui, sans-serif;
  --akp-body: 'Inter', system-ui, -apple-system, sans-serif;
}
html[data-theme="day"] {
  --ak-obsidian: var(--p-ivory);
  --ak-midnight: #ECE6DA;
  --ak-surface: rgba(255, 255, 255, 0.92);
  --ak-surface-2: 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-sky: var(--p-blue-deep);
  --ak-emerald: var(--p-emerald-deep);
  --ak-border: rgba(11, 25, 48, 0.2);
  --ak-border-subtle: rgba(11, 25, 48, 0.12);
  --ak-glow: 0.08;
  --akp-head: 'Montserrat', system-ui, sans-serif;
  --akp-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--ak-obsidian);
  background-image:
    radial-gradient(ellipse at 78% 8%, color-mix(in srgb, var(--mx-pri, var(--p-amber)) calc(var(--ak-glow) * 100%), transparent) 0%, transparent 45%),
    radial-gradient(ellipse at 15% 40%, color-mix(in srgb, var(--mx-sec, var(--p-blue)) 9%, transparent) 0%, transparent 50%),
    linear-gradient(165deg, var(--ak-obsidian) 0%, var(--ak-midnight) 65%, var(--ak-obsidian) 100%);
  background-attachment: fixed;
  color: var(--ak-text-main);
  font-family: var(--akp-body);
  font-size: 1.05rem;
  line-height: 1.68;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}
h1, h2, h3, h4 { font-family: var(--akp-head); font-weight: 800; letter-spacing: 0.01em; line-height: 1.15; }
a { color: var(--ak-sky); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--ak-citron); outline-offset: 3px; border-radius: 6px; }
img, svg { max-width: 100%; }

.akp-skip { position: absolute; left: -9999px; top: 0; background: var(--mx-hi, var(--p-citron)); color: var(--p-navy); padding: 0.5rem 1rem; z-index: 100; }
.akp-skip:focus { left: 1rem; top: 1rem; }

/* ---------- Header (dark in both modes, like the home page) ---------- */
header.site-header {
  position: sticky; top: 0; z-index: 50;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem;
  padding: 0.9rem 2rem;
  background: rgba(6, 10, 18, 0.94);
  color: var(--p-linen);
  border-bottom: 1px solid color-mix(in srgb, var(--mx-pri, var(--p-amber)) 24%, transparent);
  backdrop-filter: blur(14px);
  font-family: 'Inter', sans-serif;
}
.akp-brand { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; color: inherit; }
.akp-brand > span { display: block; }
.akp-wordmark { display: flex; align-items: center; gap: 0.5rem; font: 800 1.75rem/1 'Syne', sans-serif; letter-spacing: 0.16em; color: var(--p-linen); }
.akp-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--p-emerald); box-shadow: 0 0 8px var(--p-emerald); display: inline-block; }
.header-tagline { display: block; margin-top: 0.35rem; font: 600 0.68rem/1.3 'JetBrains Mono', monospace; letter-spacing: 0.18em; }
.header-tagline__lead { color: #D9DEE7; white-space: nowrap; }
.header-tagline__gold { color: var(--mx-pri, var(--p-amber)); white-space: nowrap; }

.header-nav { display: flex; justify-content: center; align-items: center; gap: 0.25rem; flex-wrap: wrap; }
.nav-link {
  position: relative; display: inline-flex; flex-direction: column; align-items: center;
  padding: 0.6rem 0.95rem; border-radius: 8px; cursor: pointer;
  color: var(--p-slate-200); text-decoration: none; font: 600 0.98rem/1.2 'Space Grotesk', sans-serif; white-space: nowrap;
  list-style: none; background: transparent; border: 0;
}
.nav-link::-webkit-details-marker { display: none; }
.nav-link:hover { color: var(--p-white); background: rgba(255, 255, 255, 0.06); }
.nav-link--stack small { font: italic 500 0.7rem/1.1 'JetBrains Mono', monospace; color: var(--mx-pri, var(--p-amber)); margin-top: 0.2rem; letter-spacing: 0.02em; }
.nav-menu { position: relative; }
.nav-menu > summary { flex-direction: row; gap: 0.35rem; }
.nav-menu__caret { font-size: 0.7rem; }
.nav-menu__panel {
  position: absolute; top: calc(100% + 0.4rem); left: 50%; transform: translateX(-50%);
  min-width: 260px; padding: 0.5rem; display: grid; gap: 0.15rem;
  background: var(--p-navy); border: 1px solid color-mix(in srgb, var(--mx-pri, var(--p-amber)) 35%, transparent); border-radius: 12px;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.7);
}
.nav-menu__panel a { color: var(--p-slate-200); text-decoration: none; padding: 0.55rem 0.8rem; border-radius: 8px; font-weight: 600; font-size: 0.95rem; }
.nav-menu__panel a:hover { background: color-mix(in srgb, var(--mx-pri, var(--p-amber)) 12%, transparent); color: var(--p-white); }
.nav-menu__panel .nav-menu__all { color: var(--mx-hi, var(--p-citron)); border-top: 1px solid rgba(255,255,255,0.08); margin-top: 0.2rem; }

.akp-actions { display: flex; align-items: center; gap: 0.5rem; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 48px; padding: 0.7rem 1.4rem;
  border-radius: 10px; text-decoration: none; white-space: nowrap;
  background: linear-gradient(180deg, var(--mx-pri-soft, var(--p-amber-light)) 0%, var(--mx-pri, var(--p-amber)) 46%, var(--mx-pri-deep, var(--p-amber-deep)) 100%); color: var(--mx-on-pri, var(--p-navy));
  font: 700 1rem/1.2 'Inter', sans-serif; border: 1px solid var(--mx-hi, var(--p-citron));
  box-shadow: 0 0 22px -4px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 70%, transparent);
  transition: transform 0.16s ease, filter 0.2s ease;
}
.nav-cta:hover { transform: translateY(-1px); filter: brightness(1.06); }

/* Studio lighting switch (same look as the home page, CL-065) */
.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', 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);
}
.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;
}
.ak-studio-light__label { white-space: nowrap; color: var(--mx-hi, var(--p-citron)); }
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__knob { left: 4px; background: radial-gradient(circle at 40% 40%, #FFFBEB 0%, var(--p-citron) 45%, var(--p-amber) 100%); box-shadow: 0 0 16px 4px color-mix(in srgb, var(--mx-hi, var(--p-citron)) 75%, transparent); }
html[data-theme="day"] .ak-studio-light__label { color: var(--mx-pri, var(--p-amber)); }
@media (prefers-reduced-motion: reduce) { .ak-studio-light__knob { transition: none; } html { scroll-behavior: auto; } }

@media (max-width: 1359px) {
  header.site-header { grid-template-columns: 1fr auto; row-gap: 0.6rem; padding: 0.8rem 1.25rem; }
  .header-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
  .nav-link { font-size: 0.88rem; padding: 0.5rem 0.6rem; }
  .nav-menu__panel { left: 0; transform: none; }
}
@media (max-width: 640px) {
  .akp-brand svg { width: 40px; height: 34px; }
  .akp-wordmark { font-size: 1.25rem; letter-spacing: 0.1em; }
  .header-tagline { font-size: 0.56rem; letter-spacing: 0.1em; }
  .header-tagline__lead, .ak-studio-light__label { display: none; }
  .nav-cta { white-space: normal; max-width: 128px; min-height: 40px; padding: 0.45rem 0.7rem; font-size: 0.8rem; text-align: center; }
  .nav-cta__arrow { display: none; }
}

/* ---------- Page body ---------- */
.akp-container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.akp-crumbs { max-width: 1180px; margin: 0 auto; padding: 1.25rem 1.5rem 0; font: 500 0.8rem/1.4 'JetBrains Mono', monospace; color: var(--ak-text-muted); }
.akp-crumbs a { color: var(--ak-text-muted); }
.akp-section { padding: 4rem 0; border-bottom: 1px solid var(--ak-border-subtle); }
.akp-hero { padding: 2.5rem 0 3.5rem; }
.akp-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.7rem); max-width: 22ch; margin-bottom: 1.1rem; }
.akp-lead { font-size: 1.2rem; line-height: 1.6; max-width: 62ch; color: var(--ak-text-main); }
.akp-section h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 0.9rem; max-width: 28ch; }
.akp-h3, .akp-section h3 { font-size: 1.3rem; margin-bottom: 0.45rem; }
.akp-section p + p { margin-top: 0.8rem; }
.ak-eyebrow { display: inline-block; font: 700 0.78rem/1.3 'JetBrains Mono', monospace; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ak-amber); margin-bottom: 0.75rem; }
.ak-plain-line { color: var(--ak-text-muted); max-width: 66ch; }
.akp-quote { font: 700 1.25rem/1.45 var(--akp-head); max-width: 40ch; margin: 1.5rem 0 0; padding-left: 1rem; border-left: 3px solid var(--ak-amber); }

.akp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 1.25rem; margin-top: 1.75rem; }
.akp-grid--2 { grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); }
.akp-card {
  background: var(--ak-surface); border: 1px solid var(--ak-border-subtle); border-radius: 14px; padding: 1.6rem;
  display: flex; flex-direction: column; gap: 0.6rem;
}
.akp-card--feature { border-color: var(--ak-border); box-shadow: 0 18px 40px -22px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 55%, transparent); }
html[data-theme="day"] .akp-card { box-shadow: 0 10px 26px -18px rgba(60, 40, 10, 0.35); }
.akp-price { font: 800 1.9rem/1.1 'Montserrat', 'Inter', sans-serif; color: var(--ak-amber); }
.akp-price small { font-size: 0.9rem; font-weight: 600; color: var(--ak-text-muted); margin-left: 0.25rem; }
.akp-meta { font: 500 0.82rem/1.5 'JetBrains Mono', monospace; color: var(--ak-text-muted); }
.akp-card ul, .akp-list { padding-left: 1.15rem; display: grid; gap: 0.35rem; }
.akp-card .akp-card__link { margin-top: auto; padding-top: 0.4rem; font-weight: 700; }
.akp-tag { align-self: flex-start; font: 700 0.7rem/1 'JetBrains Mono', monospace; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.35rem 0.6rem; border-radius: 999px; border: 1px solid var(--ak-border); color: var(--ak-amber); }
.akp-note { margin-top: 1.25rem; padding: 1rem 1.2rem; border-left: 3px solid var(--ak-emerald); border-radius: 10px; background: rgba(16, 185, 129, 0.08); max-width: 80ch; }

.akp-steps { counter-reset: s; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.akp-steps li { counter-increment: s; padding: 1.2rem 1.2rem 1.2rem 3.4rem; position: relative; border: 1px solid var(--ak-border-subtle); border-radius: 12px; background: var(--ak-surface); }
.akp-steps li::before { content: counter(s); position: absolute; left: 1rem; top: 1.1rem; width: 1.75rem; height: 1.75rem; border-radius: 50%; display: grid; place-items: center; font: 800 0.9rem/1 'Montserrat', sans-serif; background: var(--ak-amber); color: var(--mx-on-pri, var(--p-navy)); }
html[data-theme="day"] .akp-steps li::before { color: var(--p-white); }

.akp-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; font-size: 0.97rem; }
.akp-table th, .akp-table td { text-align: left; padding: 0.75rem 0.8rem; border-bottom: 1px solid var(--ak-border-subtle); vertical-align: top; }
.akp-table th { font: 700 0.75rem/1.3 'JetBrains Mono', monospace; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ak-text-muted); }
.akp-table td:nth-child(2) { font-weight: 700; color: var(--ak-amber); white-space: nowrap; }
.akp-table-wrap { overflow-x: auto; }

/* full price list copied from the home page at build time */
.ak-all-prices { columns: 2 320px; column-gap: 2.5rem; margin-top: 1.5rem; }
.ak-all-prices h3 { font-size: 1.05rem; margin: 0 0 0.4rem; color: var(--ak-amber); break-after: avoid; }
.ak-all-prices ul { list-style: none; margin: 0 0 1.5rem; break-inside: avoid-column; }
.ak-all-prices li { padding: 0.35rem 0; border-bottom: 1px dashed var(--ak-border-subtle); font-size: 0.95rem; }
.ak-all-prices > p { column-span: all; color: var(--ak-text-muted); font-size: 0.92rem; }

/* buttons */
.akp-btns { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.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: the default button is Action = the mix's blue; gold only with .ak-button--hero (akarec-buttons.css) */
  background: var(--mx-sec-deep, var(--p-blue-deep)); color: var(--p-white);
  border: 1.5px solid var(--mx-sec, var(--p-blue)); border-radius: 0.5rem; text-decoration: none; cursor: pointer;
  font: 700 0.96rem/1.25 'Inter', sans-serif;
  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, filter 0.2s ease;
}
.ak-button:hover { transform: translateY(-1px); filter: brightness(1.08); }
.ak-button--ghost { background: transparent; color: var(--ak-text-main); border-color: var(--ak-border); box-shadow: none; }
.ak-button--ghost:hover { border-color: var(--ak-amber); }

/* FAQ */
.ak-faq { display: grid; gap: 0.75rem; margin-top: 1.5rem; max-width: 900px; }
.ak-faq__item { border: 1px solid var(--ak-border-subtle); border-radius: 12px; background: var(--ak-surface); padding: 0 1.2rem; }
.ak-faq__item summary { cursor: pointer; padding: 1rem 0; font-weight: 700; list-style: none; position: relative; padding-right: 2rem; }
.ak-faq__item summary::-webkit-details-marker { display: none; }
.ak-faq__item summary::after { content: "+"; position: absolute; right: 0; top: 0.85rem; font-size: 1.3rem; color: var(--ak-amber); }
.ak-faq__item[open] summary::after { content: "\2212"; }
.ak-faq__item p { padding: 0 0 1.1rem; color: var(--ak-text-muted); }

.akp-cta { text-align: left; }
.akp-cta .akp-container { border: 1px solid var(--ak-border); border-radius: 18px; padding: 2.5rem; background: var(--ak-surface); max-width: 1132px; }
.akp-small { margin-top: 1rem; font-size: 0.92rem; color: var(--ak-text-muted); }
.akp-related { border-bottom: 0; padding-top: 2rem; }
.akp-related__list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.75rem; margin-top: 1rem; }
.akp-related__list a { display: block; height: 100%; padding: 1rem 1.1rem; border-radius: 12px; border: 1px solid var(--ak-border-subtle); background: var(--ak-surface); text-decoration: none; color: var(--ak-text-main); font-weight: 700; }
.akp-related__list a span { display: block; font-weight: 400; font-size: 0.9rem; color: var(--ak-text-muted); margin-top: 0.2rem; }
.akp-related__list a:hover { border-color: var(--ak-amber); }

/* ---------- Footer (same as the home page) ---------- */
.akp-footer { padding: 4rem 1.5rem 5rem; border-top: 1px solid var(--ak-border-subtle); background: var(--p-void); font: 0.8rem/1.6 'JetBrains Mono', monospace; color: var(--p-slate-400); }
.akp-footer .akp-container { padding: 0; }
.akp-footer__row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.akp-footer__brand { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.akp-footer__brand strong { color: var(--p-linen); font-family: 'Montserrat', 'Inter', sans-serif; letter-spacing: 0.18em; }
.akp-footer__links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.akp-footer a { color: var(--p-slate-300); text-decoration: none; }
.akp-footer a:hover { color: var(--mx-hi, var(--p-citron)); }
.ak-footer-line { color: var(--mx-pri, var(--p-amber)); font-weight: 700; }
.ak-footer-details { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 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; }
.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; }

@media (max-width: 640px) {
  .akp-grid--2 { grid-template-columns: 1fr; }
  .akp-cta .akp-container { padding: 1.5rem; }
  .akp-section { padding: 3rem 0; }
}

/* CL-123 (GM): no lone card on its own row. 4 cards = 4 across (2x2 on mid screens); 5 related links = 5 across. */
@media (min-width: 1101px) {
  .akp-grid:not(.akp-grid--2):has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .akp-related__list:has(> :nth-child(5):last-child) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 640px) and (max-width: 1100px) {
  .akp-grid:not(.akp-grid--2):has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- CL-125: two header menus, footer page links, anchors under the sticky header ---------- */
.nav-menu__panel a[aria-current="page"], .nav-link[aria-current="page"] { color: var(--mx-hi, var(--p-citron)); }
.nav-menu[open] > summary { color: var(--p-white); background: rgba(255, 255, 255, 0.06); }
.nav-menu[open] .nav-menu__caret { transform: rotate(180deg); display: inline-block; }
main [id] { scroll-margin-top: 120px; }
.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; }
.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; }
.ak-footer-nav ul { list-style: none; display: grid; gap: 0.15rem; }
.ak-footer-nav a[aria-current="page"] { color: var(--mx-hi, var(--p-citron)); }
@media (max-width: 760px) { .ak-footer-nav { grid-template-columns: 1fr; } }

/* ---------- CL-126: plain-English legal pages and the thank-you page, in the shared look ---------- */
.akp-legal { padding: 2rem 0 4rem; }
.akp-legal .akp-container { max-width: 880px; }
.akp-legal__card { background: var(--ak-surface); border: 1px solid var(--ak-border); border-radius: 18px; padding: 2.5rem 2.5rem 2.25rem; }
.akp-legal h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 0.6rem; }
.akp-legal h2 { font-size: 1.3rem; margin: 2rem 0 0.6rem; padding-top: 1.1rem; border-top: 1px solid var(--ak-border-subtle); }
.akp-legal h3 { font-size: 1.1rem; margin: 1.4rem 0 0.5rem; }
.akp-legal p, .akp-legal li { color: var(--ak-text-muted); }
.akp-legal p + p { margin-top: 0.8rem; }
.akp-legal strong { color: var(--ak-text-main); }
.akp-legal ul, .akp-legal ol { padding-left: 1.25rem; margin: 0.6rem 0 0.8rem; }
.akp-legal li { margin-bottom: 0.4rem; }
.akp-legal .akp-legal__date { font: 500 0.85rem/1.5 'JetBrains Mono', monospace; }
.akp-legal .summary { border: 1px solid var(--ak-border); background: color-mix(in srgb, var(--mx-pri, var(--p-amber)) 7%, transparent); border-radius: 12px; padding: 1rem 1.25rem; margin: 1.4rem 0; }
.akp-legal .summary ul { margin-bottom: 0; }
.akp-legal nav.toc { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; margin: 0.5rem 0; font-size: 0.92rem; }
.akp-legal table { width: 100%; border-collapse: collapse; margin: 0.8rem 0; font-size: 0.95rem; }
.akp-legal th, .akp-legal td { text-align: left; padding: 0.6rem 0.7rem; border-bottom: 1px solid var(--ak-border-subtle); vertical-align: top; color: var(--ak-text-muted); }
.akp-legal th { color: var(--ak-text-main); }
.akp-legal__foot { margin-top: 2rem; font-size: 0.9rem; }
.akp-thanks .akp-container { max-width: 760px; }
.akp-thanks .ak-eyebrow { color: var(--ak-emerald); }
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 */
.akp-receipt { border: 1px solid var(--ak-border-subtle); border-radius: 12px; padding: 0.9rem 1rem; margin: 1.2rem 0 1.5rem; font-size: 0.95rem; }
.akp-receipt div { display: flex; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; }
.akp-receipt div + div { margin-top: 0.4rem; }
.akp-receipt span:first-child { color: var(--ak-text-muted); }
.akp-receipt span:last-child { font-weight: 600; overflow-wrap: anywhere; }
.akp-receipt[hidden], .akp-receipt div[hidden] { display: none; }
@media (max-width: 640px) { .akp-legal__card { padding: 1.5rem 1.25rem; } }
a.akp-card { text-decoration: none; color: inherit; transition: border-color 0.2s ease; }
a.akp-card:hover { border-color: var(--ak-amber); }
a.akp-card .akp-card__link, .akp-card a.akp-card__link { color: var(--ak-sky); }
/* CL-127: the skip link lands below the sticky header; 5 steps sit 5 across on desktop (no lone step) */
#main { scroll-margin-top: 100px; }
@media (min-width: 1101px) { .akp-steps:has(> :nth-child(5):last-child) { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------- CL-128: page images behind a section (a real <img>, faded; see site/_build/images.json) ---------- */
.akp-has-bg { position: relative; isolation: isolate; overflow: hidden; }
.akp-bg { opacity: 0; transition: opacity .9s ease; } .akp-bg.is-in { opacity: 1; } @media (prefers-reduced-motion: reduce) { .akp-bg { transition: none; } } /* CL-208 (C2): in the page from the first paint, never display:none; fades in when its picture has loaded (the loader script adds .is-in) */
.akp-bg { position: absolute; inset: 0; z-index: -1; margin: 0; pointer-events: none; }
.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 (images.json "night" / "day"), default here */
.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"] .akp-bg img { opacity: var(--akp-bg-od, 0.5); }
@media (max-width: 720px) { .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"] .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%); } } /* CL-162: on phones the text spans the full width, so the fade is even */
.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) */
html[data-theme="day"] .akp-bg__label { background: rgba(255, 255, 255, 0.93); color: var(--p-slate-600); }
@media (max-width: 720px) { .akp-bg img { object-position: var(--akp-bg-x, 50%) 50%; } } /* CL-207 (C2 step 3): per-image phone crop from images.json "phone" */
/* CL-128: on wide screens the four nav items stay on one line (the Night label is wider than Day) */
@media (min-width: 1360px) { .header-nav { flex-wrap: nowrap; gap: 0.1rem; } .header-nav .nav-link { padding: 0.6rem 0.75rem; } }
/* long legal pages: the image covers the top of the page only, then fades out */
.akp-legal.akp-has-bg > .akp-bg { bottom: auto; height: min(100vh, 900px); }
.akp-legal.akp-has-bg > .akp-bg::after { background: linear-gradient(90deg, color-mix(in srgb, var(--ak-obsidian) 55%, transparent) 0%, transparent 60%), linear-gradient(180deg, transparent 50%, var(--ak-obsidian) 100%); }

/* CL-140 (GM, Frank): every button lifts and glows on hover, same as the home pricing buttons */
.ak-button { transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, border-color 0.2s ease; }
.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 color-mix(in srgb, var(--mx-sec-soft, var(--p-sky)) 60%, transparent), 0 0 30px color-mix(in srgb, var(--mx-sec, var(--p-blue)) 70%, transparent);
}
.ak-button--ghost:is(:hover, :focus-visible) {
  filter: none; border-color: var(--ak-amber); color: var(--ak-text-main);
  box-shadow: 0 14px 26px -12px rgba(0,0,0,0.5), 0 0 0 1px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 55%, transparent), 0 0 26px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 45%, transparent);
}
html[data-theme="day"] .ak-button:is(:hover, :focus-visible) { box-shadow: 0 14px 26px -12px rgba(11,25,48,0.45), 0 0 0 1px color-mix(in srgb, var(--mx-day-sec, var(--p-blue)) 55%, transparent), 0 0 24px color-mix(in srgb, var(--mx-sec, var(--p-blue)) 45%, transparent); }
/* link cards lift too */
.akp-related__list a, a.akp-card { transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.akp-related__list a:is(:hover, :focus-visible), a.akp-card:is(:hover, :focus-visible) { transform: translateY(-3px); box-shadow: 0 14px 28px -16px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 55%, transparent); }
@media (prefers-reduced-motion: reduce) {
  .ak-button:is(:hover, :focus-visible), .akp-related__list a:is(:hover, :focus-visible), a.akp-card:is(:hover, :focus-visible) { transform: none; }
}

/* CL-289: priced cards carry .ak-tier (added by build-pages.mjs) and take the one tier look from akarec-tier.css; the rules below are for the rest */
/* CL-292: the AKA Showroom band on an industry page (after the tool): screenshot, one line, one button. Phone: screenshot full width, button under it. */
.akp-showroom__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.25rem); align-items: center; }
.akp-showroom__shot { margin: 0; }
.akp-showroom__shot img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--ak-border); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(0, 0, 0, 0.2); }
html[data-theme="day"] .akp-showroom__shot img { box-shadow: 0 30px 56px -30px rgba(11, 25, 48, 0.55), 0 0 0 1px rgba(11, 25, 48, 0.08); }
.akp-showroom__shot figcaption { margin-top: 0.6rem; font: 500 0.78rem/1.4 'Inter', sans-serif; color: var(--ak-text-muted); }
.akp-showroom__copy h2 { margin-bottom: 0.4rem; }
@media (max-width: 900px) { .akp-showroom__in { grid-template-columns: minmax(0, 1fr); } .akp-showroom__copy .ak-button { width: 100%; justify-content: center; } }

/* CL-141 (GM, Frank): cards, packages and price lists react exactly like the home page */
@keyframes akpFlagBreath { 0%, 100% { opacity: 0.55; } 50% { opacity: 0.95; } }
.akp-card:not(.ak-tier) { position: relative; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
/* content cards: like the home service cards */
.akp-card:not(.ak-tier):is(:hover, :focus-within) {
  transform: translateY(-6px); border-color: var(--ak-amber);
  box-shadow: 0 22px 40px -18px rgba(0,0,0,0.55), 0 0 30px -6px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 55%, transparent);
}
/* package cards (anything with a price): like the home pricing cards */
.akp-card:not(.ak-tier):has(.akp-price):is(:hover, :focus-within) {
  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 color-mix(in srgb, var(--mx-pri, var(--p-amber)) 55%, transparent), 0 0 58px -4px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 75%, transparent);
}
/* the featured package: like Signature Launch on home (citron flagship, breathing halo, blazes on hover) */
.akp-card--feature:not(.ak-tier) { isolation: isolate; border: 2px solid var(--mx-hi, var(--p-citron)); transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease; }
.akp-card--feature:not(.ak-tier)::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: akpFlagBreath 6s ease-in-out infinite;
}
.akp-card--feature:not(.ak-tier):is(:hover, :focus-within) {
  transform: translateY(-14px) scale(1.015); border-color: var(--mx-hi, var(--p-citron));
  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);
  background-image: radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--mx-hi, var(--p-citron)) 12%, transparent), transparent 60%);
}
.akp-card--feature:not(.ak-tier):is(:hover, :focus-within)::before { opacity: 1; inset: -26px; animation: none; }
/* Day mode, as on home */
html[data-theme="day"] .akp-card:not(.ak-tier):is(:hover, :focus-within) { box-shadow: 0 22px 40px -20px rgba(15,23,42,0.35), 0 0 26px -8px color-mix(in srgb, var(--mx-day-pri, var(--p-gold)) 45%, transparent); }
html[data-theme="day"] .akp-card:not(.ak-tier):has(.akp-price):is(:hover, :focus-within) { box-shadow: 0 30px 52px -22px rgba(11,25,48,0.4), 0 0 0 1px color-mix(in srgb, var(--mx-day-pri, var(--p-gold)) 50%, transparent), 0 0 40px -8px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 55%, transparent); }
html[data-theme="day"] .akp-card--feature:not(.ak-tier) { border-color: var(--mx-pri, #EAB308); }
html[data-theme="day"] .akp-card--feature:not(.ak-tier)::before { display: none; }
html[data-theme="day"] .akp-card--feature:not(.ak-tier):is(:hover, :focus-within) { border-color: var(--mx-day-pri, #CA8A04); box-shadow: 0 0 0 2px var(--mx-pri, #EAB308), 0 26px 46px -18px rgba(11,25,48,0.38); background-image: none; }
/* price tables and the full price list: rows highlight like the home "All prices" list */
.akp-table tbody tr { transition: background 0.2s ease; }
.akp-table tbody tr:hover { background: color-mix(in srgb, var(--mx-pri, var(--p-amber)) 13%, transparent); }
#all-prices ~ * li, #prAll ~ * li, #prAll ~ ul li { padding: 0.55rem 0.7rem; border-bottom: 1px solid var(--ak-border-subtle); border-radius: 8px; list-style: none; transition: background 0.2s ease; }
#prAll ~ * li:hover, #prAll ~ ul li:hover { background: color-mix(in srgb, var(--mx-pri, var(--p-amber)) 13%, transparent); }
@media (prefers-reduced-motion: reduce) {
  .akp-card:is(:hover, :focus-within), .akp-card:has(.akp-price):is(:hover, :focus-within), .akp-card--feature:is(:hover, :focus-within) { transform: none; }
  .akp-card--feature::before { animation: none; }
}

/* ---------- CL-147: the AKA Grade pin scene on /aka-grade/ and /seo/ (same scene and stills as home #sec-grade; js/aka-grade-pin-page.js) ---------- */
.akp-pin-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 2rem; align-items: center; }
.akp-pin-hero > .akp-pin { min-width: 0; }
@media (max-width: 899px) { .akp-pin-hero { grid-template-columns: minmax(0, 1fr); } .akp-pin-hero > .akp-pin { order: -1; } .akp-pin .agp-stage { height: 92px; } .akp-pin .agp-still img { object-fit: cover; object-position: 50% 42%; } .akp-pin .agp-caption { display: none; } } /* CL-225: the pin is a thin banner on a phone */
.akp-pin .agp-stage { position: relative; height: 420px; overflow: hidden; border-radius: 12px; touch-action: pan-y; contain: layout paint; }
.akp-pin .agp-canvas, .akp-pin .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; }
.akp-pin .agp-still { transition: opacity 0.3s ease; pointer-events: none; }
.akp-pin .agp-still img { width: 100%; height: 100%; object-fit: contain; display: block; }
html[data-theme="day"] .akp-pin .agp-still--night, html:not([data-theme="day"]) .akp-pin .agp-still--day { display: none; }
.akp-pin .agp-canvas { opacity: 0; transition: opacity 0.3s ease; touch-action: pan-y; }
.akp-pin .agp-stage.is-live .agp-canvas { opacity: 1; }
.akp-pin .agp-stage.is-live .agp-still { opacity: 0; }
.akp-pin .agp-stage.is-live.is-calm:not(.is-scanning) .agp-canvas { opacity: 0.74; }
/* CL-201: the one-line "where this leads" notes under the tools. Wording: site/_build/nudges.json. The same rules
   sit in the home page's styles/48-nudges.css. */
.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; }
.ak-nudge[hidden] { display: none; }
/* Day: a shade darker than the accent, so the link passes on tinted backgrounds too; it still follows the visitor's mix */
html[data-theme="day"] .ak-nudge a, html[data-theme="day"] .akp-why a { color: color-mix(in srgb, var(--mx-text-pri, var(--ak-amber)) 72%, var(--p-ink)); }
/* Day: the AKA Grade result cards are written with a dark background of their own (js/tools/akarec-grade.js). On a
   light page they take the page's own surface and readable text, as they do on the home page. (CL-201: found while
   checking the note under the report; the cards were dark with dark text on /seo/ and /aka-grade/ in Day.) */
html[data-theme="day"] .ak-grade-host #akaGradeOutput div[style*="background:rgba(6,10,18"] { background: var(--ak-surface-2) !important; color: var(--p-ink) !important; border-color: var(--ak-border) !important; }
html[data-theme="day"] .ak-grade-host #akaGradeOutput span[style*="color:var(--ak-citron)"] { color: var(--p-amber-brown) !important; }
html[data-theme="day"] .ak-grade-host #akaGradeOutput .route-pill { color: var(--p-ink) !important; background: var(--p-white); }
/* CL-200: the slim "why can I change this site?" line under a page's hero (written by the builder) */
.akp-why p { margin: 0.9rem 0 0; padding: 0.7rem 1rem; border: 1px dashed var(--ak-border); border-radius: 10px; font-size: 0.95rem; line-height: 1.5; color: var(--ak-text-muted); }
.akp-why a { color: var(--mx-text-pri, var(--ak-amber)); font-weight: 700; white-space: nowrap; }
/* CL-197: the "sample preview / live scan" tag above the AKA Grade form on a page */
.ak-grade-host .ak-grade-mode { margin: 0 0 0.9rem; }
/* in Day the tag is dark text on white, as on the home page (amber text on white is too faint to read) */
html[data-theme="day"] .ak-grade-host .ak-grade-mode .route-pill { color: var(--p-ink) !important; background: var(--p-white); }
.akp-pin .agp-searches { position: absolute; inset: 0; pointer-events: none; }
.akp-pin .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"] .akp-pin .agp-searches span { color: var(--p-slate-600); }
.akp-pin .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; }
.akp-pin .agp-label i { width: 6px; height: 6px; border-radius: 50%; background: var(--p-amber); }
.akp-pin .agp-label[data-state="gap"] i, .akp-pin .agp-label[data-state="weak"] i { background: transparent; box-shadow: inset 0 0 0 1px var(--p-slate-400); }
html[data-theme="day"] .akp-pin .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"] .akp-pin .agp-label i { background: var(--p-gold); }
html[data-theme="day"] .akp-pin .agp-label[data-state="gap"] i, html[data-theme="day"] .akp-pin .agp-label[data-state="weak"] i { background: transparent; box-shadow: inset 0 0 0 1px var(--p-slate-600); }
.akp-pin .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); }
.akp-pin .agp-pause:hover { color: var(--ak-text-main); border-color: var(--ak-border); }
.akp-pin .agp-pause svg { width: 12px; height: 12px; fill: currentColor; }
.akp-pin .agp-pause[aria-pressed="true"] .i-pause, .akp-pin .agp-pause[aria-pressed="false"] .i-play { display: none; }
.akp-pin .agp-stage:not(.is-live) .agp-pause { display: none; }
.akp-pin .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); }
.akp-pin .agp-caption b { color: var(--ak-text-main); font-weight: 700; }
.akp-pin .agp-stage.has-result .agp-caption { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .akp-pin .agp-still, .akp-pin .agp-canvas, .akp-pin .agp-caption { transition: none; } }
/* CL-146: a buy button at the end of a card sits at the bottom, so a row of cards lines up */
.akp-card > .ak-button:last-child { margin-top: auto; }

/* ==========================================================================================
   CL-154 (Fable): phone layout for every built page. Checked at 375, 390, 414 and 768 px.
   No sideways scroll, body text 16 px, tap targets 44 px, the menu fits and stays on top.
   ========================================================================================== */
/* tap targets: anything a finger presses is at least 44 px tall on phones and tablets */
@media (max-width: 899px), (pointer: coarse) {
  .nav-link { min-height: 44px; justify-content: center; }
  .akp-brand, .ak-studio-light, .nav-cta { min-height: 44px; }
  .ak-studio-light { min-width: 44px; justify-content: center; }
  .nav-menu__panel { z-index: 60; }
  .nav-menu__panel a { min-height: 44px; display: flex; align-items: center; }
  .akp-crumbs a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
  .akp-legal .toc a { display: flex; align-items: center; min-height: 44px; }
  .akp-footer a { display: inline-flex; align-items: center; min-height: 44px; }
  .akp-footer .ak-footer-nav li { margin: 0; }
  .akp-footer .ak-footer-details a { min-height: 44px; }
  .akp-footer .ak-footer-details br { display: none; }
  .akp-footer .ak-footer-details a { display: flex; }
  .ak-button { min-height: 48px; }
  .akp main a:not(.ak-button):not([class]) { padding-block: 0.15rem; }
  .akp summary { min-height: 44px; }
  .akp-table td a, .akp-card__link { display: inline-flex; align-items: center; min-height: 44px; }
  .akp-pin .agp-pause { width: 44px; height: 44px; }
}
@media (max-width: 640px) {
  /* header: brand, light switch and a short call button on one row; the four menu items on the next */
  header.site-header { padding: 0.5rem 0.75rem 0.35rem; column-gap: 0.5rem; row-gap: 0.15rem; }
  .akp-brand { gap: 0.5rem; min-width: 0; }
  .akp-brand svg { width: 38px; height: 33px; flex: none; }
  .akp-wordmark { font-size: 15px; letter-spacing: 1px; gap: 0.3rem; }
  .header-tagline { display: none; }
  .akp-actions { gap: 0.4rem; }
  .nav-cta { max-width: none; padding: 0.5rem 0.75rem; white-space: nowrap; }
  .nav-cta > span:first-child { font-size: 0; }
  .nav-cta > span:first-child::after { content: "Book a call"; font-size: 0.875rem; white-space: nowrap; }   /* same short label as the home page */
  .header-nav { flex-wrap: nowrap; justify-content: space-between; gap: 0; overflow-x: auto; scrollbar-width: none; }   /* fits at 375; scrolls rather than pushing the page if a label ever grows */
  .header-nav::-webkit-scrollbar { display: none; }
  .nav-link { font-size: 0.78rem; padding: 0.25rem 0.2rem; flex: none; }
  .nav-menu > summary { gap: 0.2rem; }
  .nav-menu__caret { font-size: 0.56rem; }
  .nav-link--stack small { font-size: 0.64rem; margin-top: 0.1rem; letter-spacing: 0; }
  .nav-menu { position: static; }                       /* the menu panel spans the header, not its own button */
  .nav-menu__panel { left: 0.75rem; right: 0.75rem; top: calc(100% + 2px); min-width: 0; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); overflow-y: auto; overscroll-behavior: contain; }
  .nav-menu__panel a { font-size: 1rem; }
  /* tables become a list of small cards: name, price, then the details (a table this narrow cannot be read) */
  .akp-table, .akp-table tbody, .akp-table tr, .akp-table td { display: block; }
  .akp-table { font-size: 1rem; }
  .akp-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .akp-table tr { padding: 0.9rem 0; border-bottom: 1px solid var(--ak-border-subtle); }
  .akp-table th, .akp-table td { padding: 0.12rem 0; border: 0; }
  .akp-table td:first-child { font-weight: 700; font-size: 1.05rem; }
  .akp-table td:nth-child(2) { white-space: normal; font-size: 1.1rem; }
  .akp-table td:nth-child(n+3) { color: var(--ak-text-muted); }
  /* the pricing table has five columns, so each value says what it is (keep in step with its header row) */
  .akp--pricing .akp-table td:nth-child(2)::before { content: "Founding price: "; font-weight: 500; color: var(--ak-text-muted); font-size: 0.9rem; }
  .akp--pricing .akp-table td:nth-child(3)::before { content: "Deposit: "; }
  .akp--pricing .akp-table td:nth-child(4)::before { content: "Standard price: "; }
  .akp--pricing .akp-table td:nth-child(5)::before { content: "Timeline: "; }
  /* nothing may push the page sideways */
  .akp main { overflow-wrap: break-word; }
  .akp main img, .akp main svg, .akp main video, .akp main canvas { max-width: 100%; }
}
@media (max-width: 899px) {
  /* body copy 16 px; supporting lines 14 to 15 px; small caps labels 12.5 px and up */
  .akp-meta { font-size: 0.9rem; }
  .akp-small { font-size: 1rem; }
  .akp-tag { font-size: 0.78rem; }
  .akp-crumbs { font-size: 0.85rem; padding: 0.4rem 1.25rem 0; }
  .ak-button { font-size: 1rem; }
  .akp-card span:not([class]) { font-size: 1rem; }
  .akp-related__list a span { font-size: 1rem; }
  #all-prices li, #all-prices ~ * li, #prAll ~ * li, #prAll ~ ul li, #all-prices p { font-size: 1rem; }
  .akp-legal .akp-legal__date { font-size: 0.9rem; }
  .akp-legal__foot { font-size: 1rem; }
  .ak-footer-nav a { font-size: 0.95rem; }
  .akp main small { font-size: 0.9rem; }
  .akp-footer { font-size: 0.9rem; padding-bottom: 6.5rem; }   /* room at the bottom for the two toolbars */
  .akp-footer__brand strong { font-size: 0.85rem; }
  .ak-footer-details { font-size: 0.95rem; }
  .ak-footer-details strong, .ak-footer-nav strong { font-size: 0.82rem; }
  .akp-footer__links { gap: 0 1.25rem; }
  .akp-table { font-size: 1rem; }
}

/* ---------- CL-167: /seo/ section backgrounds, a quiet hex-cluster pattern (sections below the hero only; scoped to /seo/) ---------- */
.akp--seo main .akp-section:not(.akp-hero) { position: relative; isolation: isolate; overflow: hidden; }
.akp--seo main .akp-section:not(.akp-hero) > .akp-container { position: relative; z-index: 1; }
.akp--seo main .akp-section:not(.akp-hero)::before, .akp--seo main .akp-section:not(.akp-hero)::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.akp--seo main .akp-section:not(.akp-hero)::before { background: radial-gradient(ellipse 52% 62% at 86% 42%, var(--akp-amb-1) 0%, transparent 72%), radial-gradient(ellipse 42% 52% at 70% 85%, var(--akp-amb-2) 0%, transparent 70%); }
.akp--seo main .akp-section:not(.akp-hero)::after { opacity: var(--akp-pat-o); background-image: var(--akp-node-pattern); background-size: 360px 360px; -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 30%, rgba(0,0,0,0.14) 46%, rgba(0,0,0,0.5) 68%, rgba(0,0,0,0.85) 88%, var(--p-black) 100%); mask-image: linear-gradient(90deg, transparent 0%, transparent 30%, rgba(0,0,0,0.14) 46%, rgba(0,0,0,0.5) 68%, rgba(0,0,0,0.85) 88%, var(--p-black) 100%); }
.akp--seo main .akp-section:not(.akp-hero):nth-of-type(even) { background-color: var(--akp-surf-b); }
.akp--seo main .akp-section:not(.akp-hero):nth-of-type(odd)::after { -webkit-mask-image: radial-gradient(ellipse 68% 72% at 50% 50%, rgba(0,0,0,0.03) 0%, rgba(0,0,0,0.2) 48%, rgba(0,0,0,0.85) 100%); mask-image: radial-gradient(ellipse 68% 72% at 50% 50%, rgba(0,0,0,0.03) 0%, rgba(0,0,0,0.2) 48%, rgba(0,0,0,0.85) 100%); }
html[data-theme="day"] .akp--seo { --akp-amb-1: rgba(245,158,11,0.07); --akp-amb-2: rgba(2,132,199,0.05); --akp-pat-o: 0.6; --akp-surf-b: rgba(234,228,215,0.55); --akp-node-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360' viewBox='0 0 360 360' fill='none'%3E%3Cdefs%3E%3Cpattern id='gd' width='45' height='45' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 45 0 L 0 0 0 45' stroke='%230B1930' stroke-opacity='0.045' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='360' height='360' fill='url(%23gd)'/%3E%3Cg stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M0 90 L90 90 L135 45 L245 45 L270 72 L315 90 L360 90' stroke='%230284C7' stroke-opacity='0.14' stroke-width='1.15'/%3E%3Cpath d='M45 0 L45 135 L90 180 L90 254' stroke='%23B45309' stroke-opacity='0.22' stroke-width='1' stroke-dasharray='4 4'/%3E%3Cpath d='M90 286 L90 315 L45 360' stroke='%23B45309' stroke-opacity='0.22' stroke-width='1' stroke-dasharray='4 4'/%3E%3Cpath d='M0 270 L76.1 270' stroke='%23D97706' stroke-opacity='0.16' stroke-width='1.1'/%3E%3Cpath d='M103.9 270 L135 225 L157.5 193' stroke='%23D97706' stroke-opacity='0.15' stroke-width='1.1'/%3E%3Cpath d='M202.5 167 L254.4 99' stroke='%230284C7' stroke-opacity='0.15' stroke-width='1.1'/%3E%3Cpath d='M202.5 193 L270 225 L315 270 L360 270' stroke='%23D97706' stroke-opacity='0.16' stroke-width='1.1'/%3E%3Cpath d='M270 108 L270 276' stroke='%23B45309' stroke-opacity='0.18' stroke-width='1' stroke-dasharray='3 4'/%3E%3C/g%3E%3Cpolygon points='180,154 202.5,167 202.5,193 180,206 157.5,193 157.5,167' stroke='%230284C7' stroke-opacity='0.22' stroke-width='1.2' fill='%230284C7' fill-opacity='0.03'/%3E%3Cpolygon points='180,168 190.4,174 190.4,186 180,192 169.6,186 169.6,174' stroke='%23D97706' stroke-opacity='0.28' stroke-width='1'/%3E%3Cpolygon points='270,72 285.6,81 285.6,99 270,108 254.4,99 254.4,81' stroke='%23D97706' stroke-opacity='0.24' stroke-width='1.1' fill='%23D97706' fill-opacity='0.03'/%3E%3Cpolygon points='90,254 103.9,262 103.9,278 90,286 76.1,278 76.1,262' stroke='%23D97706' stroke-opacity='0.24' stroke-width='1.1'/%3E%3Cpolygon points='270,276 282.1,283 282.1,297 270,304 257.9,297 257.9,283' stroke='%230B1930' stroke-opacity='0.14' stroke-width='1'/%3E%3Ccircle cx='135' cy='45' r='2.5' fill='%230284C7' fill-opacity='0.38'/%3E%3Ccircle cx='202.5' cy='167' r='2.5' fill='%230284C7' fill-opacity='0.4'/%3E%3Ccircle cx='157.5' cy='193' r='2.5' fill='%23D97706' fill-opacity='0.4'/%3E%3Ccircle cx='270' cy='290' r='2.5' fill='%230B1930' fill-opacity='0.22'/%3E%3Ccircle cx='180' cy='180' r='3.2' fill='%23F59E0B' fill-opacity='0.55'/%3E%3Ccircle cx='180' cy='180' r='6' stroke='%23D97706' stroke-width='1' stroke-opacity='0.38'%3E%3Canimate attributeName='r' values='5;19;5' dur='5.5s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-opacity' values='0.4;0;0.4' dur='5.5s' repeatCount='indefinite'/%3E%3C/circle%3E%3Ccircle cx='270' cy='90' r='3' fill='%23D97706' fill-opacity='0.55'/%3E%3Ccircle cx='270' cy='90' r='5' stroke='%23D97706' stroke-width='1' stroke-opacity='0.38'%3E%3Canimate attributeName='r' values='4;16;4' dur='6.8s' begin='1.8s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-opacity' values='0.42;0;0.42' dur='6.8s' begin='1.8s' repeatCount='indefinite'/%3E%3C/circle%3E%3Ccircle cx='90' cy='270' r='2.8' fill='%230284C7' fill-opacity='0.45'/%3E%3C/svg%3E"); }
html:not([data-theme="day"]) .akp--seo { --akp-amb-1: rgba(245,158,11,0.08); --akp-amb-2: rgba(2,132,199,0.07); --akp-pat-o: 0.7; --akp-surf-b: rgba(8,16,28,0.6); --akp-node-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360' viewBox='0 0 360 360' fill='none'%3E%3Cdefs%3E%3Cpattern id='gn' width='45' height='45' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 45 0 L 0 0 0 45' stroke='%23F59E0B' stroke-opacity='0.05' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='360' height='360' fill='url(%23gn)'/%3E%3Cg stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M0 90 L90 90 L135 45 L245 45 L270 72 L315 90 L360 90' stroke='%2338BDF8' stroke-opacity='0.16' stroke-width='1.15'/%3E%3Cpath d='M45 0 L45 135 L90 180 L90 254' stroke='%23F59E0B' stroke-opacity='0.13' stroke-width='1' stroke-dasharray='4 4'/%3E%3Cpath d='M90 286 L90 315 L45 360' stroke='%23F59E0B' stroke-opacity='0.13' stroke-width='1' stroke-dasharray='4 4'/%3E%3Cpath d='M0 270 L76.1 270' stroke='%23F59E0B' stroke-opacity='0.18' stroke-width='1.1'/%3E%3Cpath d='M103.9 270 L135 225 L157.5 193' stroke='%23F59E0B' stroke-opacity='0.17' stroke-width='1.1'/%3E%3Cpath d='M202.5 167 L254.4 99' stroke='%230284C7' stroke-opacity='0.2' stroke-width='1.1'/%3E%3Cpath d='M202.5 193 L270 225 L315 270 L360 270' stroke='%23FDE047' stroke-opacity='0.18' stroke-width='1.1'/%3E%3Cpath d='M270 108 L270 276' stroke='%23F59E0B' stroke-opacity='0.12' stroke-width='1' stroke-dasharray='3 4'/%3E%3C/g%3E%3Cpolygon points='180,154 202.5,167 202.5,193 180,206 157.5,193 157.5,167' stroke='%2338BDF8' stroke-opacity='0.22' stroke-width='1.2' fill='%230284C7' fill-opacity='0.05'/%3E%3Cpolygon points='180,168 190.4,174 190.4,186 180,192 169.6,186 169.6,174' stroke='%23F59E0B' stroke-opacity='0.32' stroke-width='1'/%3E%3Cpolygon points='270,72 285.6,81 285.6,99 270,108 254.4,99 254.4,81' stroke='%23FDE047' stroke-opacity='0.26' stroke-width='1.1' fill='%23FDE047' fill-opacity='0.04'/%3E%3Cpolygon points='90,254 103.9,262 103.9,278 90,286 76.1,278 76.1,262' stroke='%23F59E0B' stroke-opacity='0.24' stroke-width='1.1'/%3E%3Cpolygon points='270,276 282.1,283 282.1,297 270,304 257.9,297 257.9,283' stroke='%23F59E0B' stroke-opacity='0.18' stroke-width='1'/%3E%3Ccircle cx='135' cy='45' r='2.5' fill='%2338BDF8' fill-opacity='0.55'/%3E%3Ccircle cx='202.5' cy='167' r='2.5' fill='%2338BDF8' fill-opacity='0.6'/%3E%3Ccircle cx='157.5' cy='193' r='2.5' fill='%23F59E0B' fill-opacity='0.6'/%3E%3Ccircle cx='270' cy='290' r='2.5' fill='%23FAF8F5' fill-opacity='0.3'/%3E%3Ccircle cx='180' cy='180' r='3.2' fill='%23FDE047' fill-opacity='0.75'/%3E%3Ccircle cx='180' cy='180' r='6' stroke='%23F59E0B' stroke-width='1' stroke-opacity='0.45'%3E%3Canimate attributeName='r' values='5;19;5' dur='5.5s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-opacity' values='0.5;0;0.5' dur='5.5s' repeatCount='indefinite'/%3E%3C/circle%3E%3Ccircle cx='270' cy='90' r='3' fill='%23FDE047' fill-opacity='0.8'/%3E%3Ccircle cx='270' cy='90' r='5' stroke='%23FDE047' stroke-width='1' stroke-opacity='0.48'%3E%3Canimate attributeName='r' values='4;16;4' dur='6.8s' begin='1.8s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-opacity' values='0.55;0;0.55' dur='6.8s' begin='1.8s' repeatCount='indefinite'/%3E%3C/circle%3E%3Ccircle cx='90' cy='270' r='2.8' fill='%2338BDF8' fill-opacity='0.65'/%3E%3C/svg%3E"); }
@media (prefers-reduced-motion: reduce) {
  html[data-theme="day"] .akp--seo { --akp-node-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360' viewBox='0 0 360 360' fill='none'%3E%3Cdefs%3E%3Cpattern id='gd' width='45' height='45' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 45 0 L 0 0 0 45' stroke='%230B1930' stroke-opacity='0.045' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='360' height='360' fill='url(%23gd)'/%3E%3Cg stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M0 90 L90 90 L135 45 L245 45 L270 72 L315 90 L360 90' stroke='%230284C7' stroke-opacity='0.14' stroke-width='1.15'/%3E%3Cpath d='M45 0 L45 135 L90 180 L90 254' stroke='%23B45309' stroke-opacity='0.22' stroke-width='1' stroke-dasharray='4 4'/%3E%3Cpath d='M90 286 L90 315 L45 360' stroke='%23B45309' stroke-opacity='0.22' stroke-width='1' stroke-dasharray='4 4'/%3E%3Cpath d='M0 270 L76.1 270' stroke='%23D97706' stroke-opacity='0.16' stroke-width='1.1'/%3E%3Cpath d='M103.9 270 L135 225 L157.5 193' stroke='%23D97706' stroke-opacity='0.15' stroke-width='1.1'/%3E%3Cpath d='M202.5 167 L254.4 99' stroke='%230284C7' stroke-opacity='0.15' stroke-width='1.1'/%3E%3Cpath d='M202.5 193 L270 225 L315 270 L360 270' stroke='%23D97706' stroke-opacity='0.16' stroke-width='1.1'/%3E%3Cpath d='M270 108 L270 276' stroke='%23B45309' stroke-opacity='0.18' stroke-width='1' stroke-dasharray='3 4'/%3E%3C/g%3E%3Cpolygon points='180,154 202.5,167 202.5,193 180,206 157.5,193 157.5,167' stroke='%230284C7' stroke-opacity='0.22' stroke-width='1.2' fill='%230284C7' fill-opacity='0.03'/%3E%3Cpolygon points='180,168 190.4,174 190.4,186 180,192 169.6,186 169.6,174' stroke='%23D97706' stroke-opacity='0.28' stroke-width='1'/%3E%3Cpolygon points='270,72 285.6,81 285.6,99 270,108 254.4,99 254.4,81' stroke='%23D97706' stroke-opacity='0.24' stroke-width='1.1' fill='%23D97706' fill-opacity='0.03'/%3E%3Cpolygon points='90,254 103.9,262 103.9,278 90,286 76.1,278 76.1,262' stroke='%23D97706' stroke-opacity='0.24' stroke-width='1.1'/%3E%3Cpolygon points='270,276 282.1,283 282.1,297 270,304 257.9,297 257.9,283' stroke='%230B1930' stroke-opacity='0.14' stroke-width='1'/%3E%3Ccircle cx='135' cy='45' r='2.5' fill='%230284C7' fill-opacity='0.38'/%3E%3Ccircle cx='202.5' cy='167' r='2.5' fill='%230284C7' fill-opacity='0.4'/%3E%3Ccircle cx='157.5' cy='193' r='2.5' fill='%23D97706' fill-opacity='0.4'/%3E%3Ccircle cx='270' cy='290' r='2.5' fill='%230B1930' fill-opacity='0.22'/%3E%3Ccircle cx='180' cy='180' r='3.2' fill='%23F59E0B' fill-opacity='0.55'/%3E%3Ccircle cx='180' cy='180' r='6' stroke='%23D97706' stroke-width='1' stroke-opacity='0.38'%3E%3C/circle%3E%3Ccircle cx='270' cy='90' r='3' fill='%23D97706' fill-opacity='0.55'/%3E%3Ccircle cx='270' cy='90' r='5' stroke='%23D97706' stroke-width='1' stroke-opacity='0.38'%3E%3C/circle%3E%3Ccircle cx='90' cy='270' r='2.8' fill='%230284C7' fill-opacity='0.45'/%3E%3C/svg%3E"); }
  html:not([data-theme="day"]) .akp--seo { --akp-node-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360' viewBox='0 0 360 360' fill='none'%3E%3Cdefs%3E%3Cpattern id='gn' width='45' height='45' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 45 0 L 0 0 0 45' stroke='%23F59E0B' stroke-opacity='0.05' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='360' height='360' fill='url(%23gn)'/%3E%3Cg stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M0 90 L90 90 L135 45 L245 45 L270 72 L315 90 L360 90' stroke='%2338BDF8' stroke-opacity='0.16' stroke-width='1.15'/%3E%3Cpath d='M45 0 L45 135 L90 180 L90 254' stroke='%23F59E0B' stroke-opacity='0.13' stroke-width='1' stroke-dasharray='4 4'/%3E%3Cpath d='M90 286 L90 315 L45 360' stroke='%23F59E0B' stroke-opacity='0.13' stroke-width='1' stroke-dasharray='4 4'/%3E%3Cpath d='M0 270 L76.1 270' stroke='%23F59E0B' stroke-opacity='0.18' stroke-width='1.1'/%3E%3Cpath d='M103.9 270 L135 225 L157.5 193' stroke='%23F59E0B' stroke-opacity='0.17' stroke-width='1.1'/%3E%3Cpath d='M202.5 167 L254.4 99' stroke='%230284C7' stroke-opacity='0.2' stroke-width='1.1'/%3E%3Cpath d='M202.5 193 L270 225 L315 270 L360 270' stroke='%23FDE047' stroke-opacity='0.18' stroke-width='1.1'/%3E%3Cpath d='M270 108 L270 276' stroke='%23F59E0B' stroke-opacity='0.12' stroke-width='1' stroke-dasharray='3 4'/%3E%3C/g%3E%3Cpolygon points='180,154 202.5,167 202.5,193 180,206 157.5,193 157.5,167' stroke='%2338BDF8' stroke-opacity='0.22' stroke-width='1.2' fill='%230284C7' fill-opacity='0.05'/%3E%3Cpolygon points='180,168 190.4,174 190.4,186 180,192 169.6,186 169.6,174' stroke='%23F59E0B' stroke-opacity='0.32' stroke-width='1'/%3E%3Cpolygon points='270,72 285.6,81 285.6,99 270,108 254.4,99 254.4,81' stroke='%23FDE047' stroke-opacity='0.26' stroke-width='1.1' fill='%23FDE047' fill-opacity='0.04'/%3E%3Cpolygon points='90,254 103.9,262 103.9,278 90,286 76.1,278 76.1,262' stroke='%23F59E0B' stroke-opacity='0.24' stroke-width='1.1'/%3E%3Cpolygon points='270,276 282.1,283 282.1,297 270,304 257.9,297 257.9,283' stroke='%23F59E0B' stroke-opacity='0.18' stroke-width='1'/%3E%3Ccircle cx='135' cy='45' r='2.5' fill='%2338BDF8' fill-opacity='0.55'/%3E%3Ccircle cx='202.5' cy='167' r='2.5' fill='%2338BDF8' fill-opacity='0.6'/%3E%3Ccircle cx='157.5' cy='193' r='2.5' fill='%23F59E0B' fill-opacity='0.6'/%3E%3Ccircle cx='270' cy='290' r='2.5' fill='%23FAF8F5' fill-opacity='0.3'/%3E%3Ccircle cx='180' cy='180' r='3.2' fill='%23FDE047' fill-opacity='0.75'/%3E%3Ccircle cx='180' cy='180' r='6' stroke='%23F59E0B' stroke-width='1' stroke-opacity='0.45'%3E%3C/circle%3E%3Ccircle cx='270' cy='90' r='3' fill='%23FDE047' fill-opacity='0.8'/%3E%3Ccircle cx='270' cy='90' r='5' stroke='%23FDE047' stroke-width='1' stroke-opacity='0.48'%3E%3C/circle%3E%3Ccircle cx='90' cy='270' r='2.8' fill='%2338BDF8' fill-opacity='0.65'/%3E%3C/svg%3E"); }
}
@media (max-width: 720px) { .akp--seo main .akp-section:not(.akp-hero)::after { background-size: 260px 260px; opacity: calc(var(--akp-pat-o) * 0.7); } }

/* 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); }
/* on a service card: the icon sits in a small tile above the name */
.akp-card h3 > .aki:first-child { display: block; width: 46px; height: 46px; padding: 10px; margin: 0 0 0.75rem; border-radius: 13px; box-sizing: border-box; color: var(--ak-text-main);
  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); box-shadow: 0 8px 20px -12px color-mix(in srgb, var(--mx-pri, var(--p-amber)) 60%, transparent); }
html[data-theme="day"] .akp-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); }
/* the light uplift: service cards with an icon get a thin top accent, and the icon tips on hover */
.akp-card:has(> h3 > .aki)::after { content: ""; position: absolute; left: 1.2rem; right: 1.2rem; top: -1px; height: 2px; border-radius: 2px; pointer-events: none;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--mx-pri, var(--p-amber)) 70%, transparent), transparent); opacity: 0.55; transition: opacity 0.3s ease; }
.akp-card:has(> h3 > .aki):is(:hover, :focus-within)::after { opacity: 1; }
.akp-card:is(:hover, :focus-within) h3 > .aki:first-child { transform: rotate(-5deg) scale(1.06); }
/* one-time tables: a small icon chip beside the name, and the row lights up on hover */
.akp-table td:first-child > .aki { width: 1.6em; height: 1.6em; padding: 0.26em; margin-right: 0.6em; border-radius: 0.5em; vertical-align: -0.5em; box-sizing: border-box; background: color-mix(in srgb, var(--mx-pri, var(--p-amber)) 12%, transparent); }
.akp-table td:first-child:has(> .aki) { font-weight: 600; white-space: nowrap; }
@media (max-width: 640px) { .akp-table td:first-child:has(> .aki) { white-space: normal; } }
.akp-table tr:has(> td:first-child > .aki) { transition: background-color 0.2s ease; }
.akp-table tr:has(> td:first-child > .aki):hover { background: color-mix(in srgb, var(--mx-pri, var(--p-amber)) 6%, transparent); }
.akp-table tr:hover td:first-child > .aki { transform: scale(1.08); }
@media (prefers-reduced-motion: reduce) { .aki { transition: none; } .akp-card:is(:hover, :focus-within) h3 > .aki:first-child, .akp-table tr:hover td:first-child > .aki { transform: none; } }

/* CL-177: icon family extended to monthly plans, the free tools and page-link cards. Monthly icons carry their own marker
   (the spark inside a circling arrow), drawn in the same accent colour. Page-link cards (e.g. 404 "Popular pages") get an icon tile. */
.akp-related__list a > .aki:first-child { display: block; width: 40px; height: 40px; padding: 8px; margin: 0 0 0.6rem; border-radius: 11px; 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"] .akp-related__list a > .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); }
.akp-related__list a:is(:hover, :focus-visible) > .aki:first-child { transform: rotate(-5deg) scale(1.06); }
@media (prefers-reduced-motion: reduce) { .akp-related__list a:is(:hover, :focus-visible) > .aki:first-child { transform: none; } }

/* CL-178 (Frank): service cards, icon rows and page links light up in the hero's own blend on hover: the light blue that
   glows behind every hero (the visitor's second colour, --mx-sec) over a soft wash, with the main colour only as a hint.
   The featured package keeps its citron flagship look. Click/tap glow: js/akarec-icons.js. */
.akp-card:has(> h3 > .aki):not(.akp-card--feature):is(:hover, :focus-within) {
  border-color: color-mix(in srgb, var(--mx-sec, var(--p-blue)) 55%, #BAE6FD);
  background-image: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--mx-sec, var(--p-blue)) 16%, transparent) 0%, transparent 62%), radial-gradient(90% 70% at 100% 0%, color-mix(in srgb, var(--mx-pri, var(--p-amber)) 7%, transparent) 0%, transparent 60%);
  box-shadow: 0 22px 40px -18px rgba(0,0,0,0.55), 0 0 32px -6px color-mix(in srgb, var(--mx-sec, var(--p-blue)) 60%, transparent);
}
.akp-card:has(> h3 > .aki):not(.akp-card--feature)::after { background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--mx-sec, var(--p-blue)) 45%, var(--p-sky-pale)), color-mix(in srgb, var(--mx-pri, var(--p-amber)) 60%, transparent), transparent); }
.akp-card:has(> h3 > .aki):not(.akp-card--feature):is(:hover, :focus-within) h3 > .aki:first-child { border-color: color-mix(in srgb, var(--mx-sec, var(--p-blue)) 50%, #BAE6FD); background: linear-gradient(145deg, color-mix(in srgb, var(--mx-sec, var(--p-blue)) 22%, transparent), color-mix(in srgb, var(--mx-pri, var(--p-amber)) 10%, transparent)); }
.akp-table tr:has(> td:first-child > .aki):hover { background: linear-gradient(90deg, color-mix(in srgb, var(--mx-sec, var(--p-blue)) 14%, transparent), color-mix(in srgb, var(--mx-sec, var(--p-blue)) 4%, transparent) 70%); }
.akp-related__list a:has(> .aki):is(:hover, :focus-visible) { border-color: color-mix(in srgb, var(--mx-sec, var(--p-blue)) 55%, #BAE6FD); background-image: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--mx-sec, var(--p-blue)) 16%, transparent), transparent 65%); box-shadow: 0 14px 28px -16px color-mix(in srgb, var(--mx-sec, var(--p-blue)) 65%, transparent); }
html[data-theme="day"] .akp-card:has(> h3 > .aki):not(.akp-card--feature):is(:hover, :focus-within) {
  border-color: color-mix(in srgb, var(--mx-day-sec, var(--p-blue-deep)) 45%, transparent);
  background-image: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--mx-day-sec, var(--p-blue-deep)) 9%, transparent) 0%, transparent 62%), radial-gradient(90% 70% at 100% 0%, color-mix(in srgb, var(--mx-pri, var(--p-amber)) 6%, transparent) 0%, transparent 60%);
  box-shadow: 0 22px 40px -20px rgba(15,23,42,0.32), 0 0 26px -8px color-mix(in srgb, var(--mx-day-sec, var(--p-blue-deep)) 45%, transparent);
}
html[data-theme="day"] .akp-card:has(> h3 > .aki):not(.akp-card--feature)::after { background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--mx-day-sec, var(--p-blue-deep)) 70%, transparent), color-mix(in srgb, var(--mx-day-pri, var(--p-gold)) 60%, transparent), transparent); }
html[data-theme="day"] .akp-card:has(> h3 > .aki):not(.akp-card--feature):is(:hover, :focus-within) h3 > .aki:first-child { border-color: color-mix(in srgb, var(--mx-day-sec, var(--p-blue-deep)) 40%, transparent); background: linear-gradient(145deg, color-mix(in srgb, var(--mx-day-sec, var(--p-blue-deep)) 12%, var(--p-white)), var(--p-white)); }
html[data-theme="day"] .akp-table tr:has(> td:first-child > .aki):hover { background: linear-gradient(90deg, color-mix(in srgb, var(--mx-day-sec, var(--p-blue-deep)) 9%, transparent), color-mix(in srgb, var(--mx-day-sec, var(--p-blue-deep)) 2%, transparent) 70%); }
html[data-theme="day"] .akp-related__list a:has(> .aki):is(:hover, :focus-visible) { border-color: color-mix(in srgb, var(--mx-day-sec, var(--p-blue-deep)) 45%, transparent); background-image: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--mx-day-sec, var(--p-blue-deep)) 9%, transparent), transparent 65%); box-shadow: 0 14px 28px -16px color-mix(in srgb, var(--mx-day-sec, var(--p-blue-deep)) 45%, transparent); }

/* CL-179: the missed-call phone demo on a page (text left, phone right). Room is kept for the phone so nothing moves when it loads. */
.akp-phone-demo { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; padding: clamp(1rem, 2.5vw, 1.75rem); border-radius: 18px; border: 1px solid var(--ak-border-subtle); background: var(--ak-surface); }
.akp-phone-demo h2 { margin: 0.4rem 0 0.8rem; }
.akp-phone-demo p + p { margin-top: 0.9rem; }
.akp-phone-demo .akq-phone { justify-self: center; width: min(272px, 74vw); aspect-ratio: 9 / 18.9; }
@media (max-width: 760px) { .akp-phone-demo { grid-template-columns: 1fr; } }

/* CL-180 (Frank: "some buttons on the new pages go nowhere"): priced cards, price-table rows and price-list lines react like
   buttons, so now each one is a link. The service name is the link (.akp-go, added by the page builder); on a card it
   stretches over the whole card, on a list line over the whole line, and a table row follows it on click (js/akarec-icons.js). */
.akp-go { color: inherit; text-decoration: none; }
.akp-card .akp-go::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.akp-card .akp-go:focus-visible { outline: none; }
.akp-card:has(.akp-go:focus-visible) { outline: 2px solid var(--mx-hi, var(--p-citron)); outline-offset: 3px; }
html[data-theme="day"] .akp-card:has(.akp-go:focus-visible) { outline-color: var(--p-ink); }
/* the cue: a small arrow in the card's top corner that steps forward on hover */
.akp-card:has(.akp-go)::before { content: "\2192"; position: absolute; right: 1.1rem; top: 1rem; z-index: 0; font: 700 1.05rem/1 'Inter', system-ui, sans-serif; color: color-mix(in srgb, var(--mx-sec, var(--p-blue)) 45%, #BAE6FD); opacity: 0.55; transition: transform 0.25s ease, opacity 0.25s ease; pointer-events: none; }
html[data-theme="day"] .akp-card:has(.akp-go)::before { color: var(--mx-day-sec, var(--p-blue-deep)); }
.akp-card:has(.akp-go):is(:hover, :focus-within)::before { opacity: 1; transform: translateX(4px); }
.akp-card--feature:has(.akp-go)::before { content: none; }   /* the featured card's ::before is its halo; its arrow sits on the name instead */
.akp-card--feature .akp-go::before { content: "\2192"; position: absolute; right: 1.1rem; top: 1rem; font: 700 1.05rem/1 'Inter', system-ui, sans-serif; color: var(--mx-hi, var(--p-citron)); opacity: 0.7; transition: transform 0.25s ease, opacity 0.25s ease; pointer-events: none; }
html[data-theme="day"] .akp-card--feature .akp-go::before { color: var(--mx-day-pri, var(--p-gold)); }
.akp-card--feature:is(:hover, :focus-within) .akp-go::before { opacity: 1; transform: translateX(4px); }
/* table rows and price-list lines */
.akp-table tr:has(.akp-go) { cursor: pointer; }
.akp-table tr:has(.akp-go):hover .akp-go, .akp-table .akp-go:focus-visible { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--mx-sec, var(--p-blue)) 60%, #BAE6FD); text-underline-offset: 3px; }
.ak-all-prices li:has(.akp-go) { position: relative; }
.ak-all-prices .akp-go { font-weight: 600; }
.ak-all-prices .akp-go::after { content: ""; position: absolute; inset: 0; }
.ak-all-prices li:has(.akp-go):hover .akp-go, .ak-all-prices .akp-go:focus-visible { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--mx-sec, var(--p-blue)) 60%, #BAE6FD); text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .akp-card:has(.akp-go)::before, .akp-card--feature .akp-go::before { transition: none; transform: none !important; } }

/* CL-181: slots for the home-page tools on the built pages (js/tools/akarec-tool-slots.js fills them when they scroll near).
   Room is kept while a slot is empty, so the page does not jump when its tool arrives. */
.ak-ind-host { margin-top: 1.5rem; max-width: 760px; }
.ak-ind-host:empty { min-height: 440px; border-radius: 14px; border: 1px dashed var(--ak-border-subtle); }

/* CL-181: /contractors/ slots. AKA Roof styles itself (js/tools/aka-roof.js); room is kept until each tool arrives. */
.ak-roof-slot { margin-top: 2rem; padding: clamp(0.9rem, 2.2vw, 1.5rem); border-radius: 16px; border: 1px solid var(--ak-border-subtle); }
.ak-roof-slot #akaRoofMount:empty { min-height: 620px; }
.ak-compare-slot { margin: 1.75rem 0 0.5rem; }
.ak-compare-slot:empty { min-height: 470px; max-width: 640px; margin-left: auto; margin-right: auto; border-radius: 14px; border: 1px dashed var(--ak-border-subtle); }
.akp-phone-solo { display: grid; justify-items: center; gap: 1rem; margin: 2rem 0 0.5rem; }
.akp-phone-solo .akq-phone { width: min(272px, 74vw); aspect-ratio: 9 / 18.9; }

/* CL-184: /branding/ slots for the logo maker and the 3D Logo Forge. Room is kept until each one arrives. */
.ak-brand-tools { display: grid; gap: 2rem; margin-top: 2rem; }
.ak-brand-tools > .akl-host:empty { min-height: 520px; border-radius: 16px; border: 1px dashed var(--ak-border-subtle); }
.ak-brand-tools > .ak-forge-slot:empty { min-height: 560px; border-radius: 16px; border: 1px dashed var(--ak-border-subtle); }

/* CL-185: /pricing/ holds the "Not sure where to start?" finder as plain HTML (styles inline with it); nothing to reserve */
.ak-finder-host { scroll-margin-top: 110px; }

/* CL-185: /websites/ slot for the sample-site carousel (same width as in the home hero); room is kept until it arrives */
.ak-carousel-slot { max-width: 620px; margin: 1.75rem auto 2rem; }
.ak-carousel-slot:empty { min-height: 560px; border-radius: 16px; border: 1px dashed var(--ak-border-subtle); }

/* 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); }
}

/* CL-226: the finder ("Not sure where to start?") highlights the price it points at; on /pricing/ that is a row of the price table (home has its own rule) */
tr.ak-finder-pick { outline: 2px solid var(--mx-hi, #FDE047); outline-offset: -2px; background: color-mix(in srgb, var(--mx-pri, #F59E0B) 14%, transparent); }

/* 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-227: "Book a Discovery Call" button, the AKAREC look (same rules as home's styles/55-booking-look.css): soft glow in the visitor's mix, light sweep on hover */
.akp-actions .nav-cta { position: relative; overflow: hidden; isolation: isolate; border-radius: 10px; 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(--p-amber)) 78%, transparent); }
.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; }
.akp-actions .nav-cta:hover::before { transform: translateX(120%); }
@media (prefers-reduced-motion: reduce) { .akp-actions .nav-cta::before { display: none; } }

/* CL-232 (/seo/ card S1): hero and tool together. One gold Run button on /seo/ and /aka-grade/ (it was blue there, gold on home), a calm hero
   (one sentence, one gold button, one text link, three short facts), a thin pin band on phone (the 420 px desktop height was winning over the
   92 px phone rule because it came later), and the two next steps (Orbit Audit, Orbit Watch) under the grade. */
html[data-theme] body .ak-grade-host .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);
}
html[data-theme] body .ak-grade-host .ak-button--lerp:hover { filter: brightness(1.06); }
.akp-btns--hero { align-items: center; gap: 0.5rem 1.4rem; }
.akp-talk { font-weight: 700; color: var(--mx-text-pri, var(--ak-amber)); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.akp-talk:hover { text-decoration: underline; }
html[data-theme="day"] .akp-talk { color: color-mix(in srgb, var(--mx-text-pri, var(--ak-amber)) 72%, var(--p-ink)); }
.akp-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 0.2rem 1.1rem; margin: 0.6rem 0 0; padding: 0; font-size: 0.9rem; color: var(--ak-text-muted); }
.akp-facts li::before { content: "\2713"; color: var(--ak-amber); margin-right: 0.4rem; font-weight: 700; }
html[data-theme="day"] .akp-facts li::before { color: var(--p-amber-brown, #92400E); }
.akp-next { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.akp-next .akp-card { padding: 1.1rem 1.2rem; }
.akp-next .akp-card h3 { margin-bottom: 0.2rem; }
.akp-next .akp-price { margin: 0.1rem 0 0.4rem; }
.akp-more { margin-top: 0.5rem; font-size: 0.88rem; }
.akp-more > summary { cursor: pointer; color: var(--ak-text-muted); min-height: 32px; display: inline-flex; align-items: center; }
.akp-more > p { margin-top: 0.3rem; color: var(--ak-text-muted); }
.akp--seo .akp-hero { padding: 1rem 0 1.5rem; }
.akp--seo .akp-hero .akp-btns { margin-top: 1rem; }
.akp--seo .akp-why p { margin-top: 0.6rem; }
.akp--seo .akp-hero h1 { font-size: clamp(2rem, 2.9vw, 2.6rem); max-width: none; margin-bottom: 0.7rem; }
@media (min-width: 900px) { .akp--seo .akp-pin-hero { grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr); } }
.akp--seo .akp-hero .akp-lead { font-size: 1.1rem; max-width: 48ch; }
.akp--seo .akp-pin .agp-stage { height: 250px; }
.akp--seo .akp-grade-sec { padding-top: 2rem; }
.akp--seo .akp-grade-sec h2 { max-width: none; margin-bottom: 0.6rem; }
@media (max-width: 899px) {
  .akp--seo .akp-pin .agp-stage { height: 104px; }
  .akp--seo .akp-hero { padding: 0.5rem 0 2.4rem; }
  .akp--seo .akp-hero .ak-eyebrow { display: none; }
  .akp--seo .akp-hero h1 { font-size: clamp(1.7rem, 7.4vw, 2.1rem); margin-bottom: 0.6rem; }
  .akp--seo .akp-hero .akp-lead { font-size: 1rem; line-height: 1.5; }
  .akp--seo .akp-pin-hero { gap: 0.8rem; }
  .akp-next { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
  .akp--seo .akp-grade-sec { padding-top: 1.25rem; }
}
@media (max-width: 899px) { .akp-btns--hero { margin-top: 1rem; } .akp-facts { font-size: 0.85rem; } }
@media (max-width: 899px) {
  .akp-next .akp-card { padding: 0.85rem 1rem; }
  .akp-next .akp-card h3 .aki { display: none; }
  .akp-next .akp-card h3 { font-size: 1.1rem; }
  .akp-next .akp-price { font-size: 1.5rem; margin: 0 0 0.25rem; }
  .akp-next .akp-card p { font-size: 0.95rem; line-height: 1.45; }
}

/* CL-233 (/seo/ card S2): calm prices. 3 offers open, the other 13 behind one tap (a <details>: the text stays in the page for Google), keep-looking as a chip row. */
.akp-calm { margin-top: 1.25rem; }
.akp-calm .akp-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 0.8rem; align-items: start; align-content: start; padding: 1.1rem 1.2rem; }
.akp-calm .akp-card h3 { margin: 0; grid-column: 1; }
.akp-calm .akp-card .akp-price { grid-column: 2; margin: 0; white-space: nowrap; text-align: right; }
.akp-calm .akp-card p { grid-column: 1 / -1; margin-top: 0.5rem; }
.akp-calm .akp-card p.akp-meta { margin-top: 0.3rem; }
.akp-all { margin-top: 1.25rem; border: 1px solid var(--ak-border); border-radius: 14px; background: var(--ak-surface); }
.akp-all > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; padding: 0.7rem 1.2rem; font-weight: 700; font-size: 1.05rem; color: var(--ak-text-main); }
.akp-all > summary::-webkit-details-marker { display: none; }
.akp-all__go { font-size: 1.6rem; line-height: 1; color: var(--ak-amber); transition: transform 0.2s ease; }
.akp-all[open] > summary .akp-all__go { transform: rotate(90deg); }
.akp-all > summary:focus-visible { outline: 2px solid var(--mx-hi, #FDE047); outline-offset: 2px; border-radius: 14px; }
html[data-theme="day"] .akp-all__go { color: var(--p-amber-brown, #92400E); }
.akp-all[open] { padding-bottom: 0.6rem; }
.akp-all > .akp-all__h, .akp-all > .akp-table-wrap { margin-left: 1.2rem; margin-right: 1.2rem; }
.akp-all__h { margin-top: 1.1rem; font-size: 0.8rem !important; letter-spacing: 0.14em; text-transform: uppercase; font-family: 'JetBrains Mono', monospace; color: var(--ak-amber); }
html[data-theme="day"] .akp-all__h { color: var(--p-amber-brown, #92400E); }
.akp-all .akp-table { margin-top: 0.4rem; }
.akp--seo .akp-related__list { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.akp--seo .akp-related__list li { flex: 0 0 auto; }
.akp--seo .akp-related__list a { display: inline-flex; align-items: center; height: auto; min-height: 44px; padding: 0.5rem 1rem; border-radius: 999px; }
.akp--seo .akp-related__list a > .aki:first-child { display: none; }
.akp--seo .akp-related__list a span { display: none; }
@media (max-width: 899px) {
  .akp-calm { gap: 0.75rem; }
  .akp-calm .akp-card { padding: 0.9rem 1rem; }
  .akp-calm .akp-card h3 .aki { display: none; }
  .akp-calm .akp-card h3 { font-size: 1.05rem; }
  .akp-calm .akp-card .akp-price { font-size: 1.25rem; }
  .akp-calm .akp-card p { font-size: 0.95rem; line-height: 1.45; margin-top: 0.35rem; }
  .akp-calm .akp-card p.akp-meta { font-size: 0.82rem; }
  .akp-all > summary { padding: 0.6rem 1rem; font-size: 1rem; }
  .akp-all > .akp-all__h, .akp-all > .akp-table-wrap { margin-left: 1rem; margin-right: 1rem; }
}

/* ==== 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 */
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) :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) :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) :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) :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) :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-282 (Frank approved 2026-11-28): calm start on /law-firms/, /medical/, /finance/ ----------
   The signature features stay and work as everywhere (cursor, Mix the brand colors, Random Aura / Random Texture);
   these pages only START quieter: softer Night glows and textures, no breathing halo or pulsing chevron, gentler hover
   lifts. The visitor's own mix still colors everything. No nudges here either (js/akarec-nudges.js). */
html:not([data-theme="day"]) body:is(.akp--law-firms, .akp--medical, .akp--finance) {
  background-image:
    var(--nb-grain),
    radial-gradient(1100px 760px at 84% 1.5%, color-mix(in srgb, var(--mx-pri, #F59E0B) 11%, transparent) 0%, transparent 70%),
    radial-gradient(900px 900px at 6% 29%, color-mix(in srgb, var(--mx-pri, #F59E0B) 5%, transparent) 0%, transparent 70%),
    radial-gradient(1000px 900px at 14% 47%, color-mix(in srgb, var(--mx-sec, #0284C7) 9%, transparent) 0%, transparent 68%),
    radial-gradient(900px 820px at 88% 62%, rgba(16, 185, 129, 0.05) 0%, transparent 70%),
    radial-gradient(1000px 820px at 18% 82%, color-mix(in srgb, var(--mx-pri, #F59E0B) 6%, 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;
}
html:not([data-theme="day"]) body:is(.akp--law-firms, .akp--medical, .akp--finance) main::before,
html:not([data-theme="day"]) body:is(.akp--law-firms, .akp--medical, .akp--finance) main::after { opacity: 0.5; }
:is(.akp--law-firms, .akp--medical, .akp--finance) .akp-card--feature:not(.ak-tier)::before { animation: none; opacity: 0.35; }
:is(.akp--law-firms, .akp--medical, .akp--finance) .brand-mixer:not(.is-collapsed) .bm-toggle__chev { animation: none; }
:is(.akp--law-firms, .akp--medical, .akp--finance) .akp-card:not(.ak-tier):is(:hover, :focus-within) { transform: translateY(-3px); }
:is(.akp--law-firms, .akp--medical, .akp--finance) .akp-card:not(.ak-tier):has(.akp-price):is(:hover, :focus-within),
:is(.akp--law-firms, .akp--medical, .akp--finance) .akp-card--feature:not(.ak-tier):is(:hover, :focus-within) { transform: translateY(-5px); }
@media (prefers-reduced-motion: reduce) {
  :is(.akp--law-firms, .akp--medical, .akp--finance) .akp-card:is(:hover, :focus-within) { transform: none !important; }
}

/* CL-347 (Frank on his phone: the AKA Grade pin "is so tiny and silly looking"): on phones the pin on /seo/ and /aka-grade/
   is a centered square about two thirds of the screen wide with the whole pin in frame, as on home, not a thin strip. */
@media (max-width: 899px) {
  .akp-pin .agp-stage, .akp--seo .akp-pin .agp-stage { width: min(66vw, 300px); height: auto; aspect-ratio: 1 / 1; margin: 0 auto; }
  .akp-pin .agp-still img { object-fit: contain; object-position: 50% 50%; }
}

/* CL-351: the scrolling price-table wrapper is keyboard-reachable; same focus ring as links/buttons */
.akp-table-wrap:focus-visible { outline: 2px solid var(--ak-citron); outline-offset: 3px; border-radius: 6px; }
