/* ===== fonts.css ===== */
/*
 * Self-hosted web fonts. Nothing here calls fonts.googleapis.com or fonts.gstatic.com.
 *
 * Source: Google Fonts CSS2 API, fetched 2026-11-18 with a desktop Chrome User-Agent
 *   https://fonts.googleapis.com/css2?family=Inter+Tight:wght@500;600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@500&family=Homemade+Apple&display=swap
 * The raw response is kept as build/fonts/google-fonts-source.css. From it only the
 * "latin" and "latin-ext" unicode-range subsets were kept. Each woff2 was downloaded
 * once from fonts.gstatic.com and renamed; build/fonts/FONTS.md maps every local file
 * back to its original URL and lists its size.
 *
 * Licence: all four families are published under the SIL Open Font License 1.1 (OFL):
 *   Inter, Inter Tight, JetBrains Mono, Homemade Apple.
 *   OFL text: https://openfontlicense.org/open-font-license-official-text/
 *   Per-family licence files: https://github.com/google/fonts/tree/main/ofl/<family>
 *   The OFL allows bundling and self-hosting the font files with a website.
 *
 * Inter and Inter Tight are served by Google as variable fonts: one woff2 per subset
 * covers every requested weight, so several @font-face rules below point at the same
 * file. The browser downloads a shared file only once.
 *
 * Paths are relative to this stylesheet: deploy it with the fonts/ directory beside it,
 * for example <theme>/assets/fonts.css next to <theme>/assets/fonts/*.woff2.
 */

/* ===== Homemade Apple: weight 400 ===== */
/* latin */
@font-face {
  font-family: 'Homemade Apple';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/homemade-apple-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ===== Inter: weights 400, 500, 600 ===== */
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/inter-400-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/inter-400-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/inter-400-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/inter-400-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/inter-400-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/inter-400-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ===== Inter Tight: weights 500, 600, 700 ===== */
/* latin-ext */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/inter-tight-500-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/inter-tight-500-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/inter-tight-500-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/inter-tight-500-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/inter-tight-500-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/inter-tight-500-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ===== JetBrains Mono: weight 500 ===== */
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/jetbrains-mono-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/jetbrains-mono-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== design.css ===== */
html.naa-html {
  --bg: #050608;
  --ink: #FFFFFF;
  --muted: #8E95A3;
  --body: #B4BAC6;
  --nav: #BFC5D0;
  --accent: #2563EB;
  --accent-soft: #7FA6FF;
  --line: rgba(255,255,255,0.08);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
html.naa-html, .naa-site, .naa-site * { box-sizing: border-box; }
html.naa-html, .naa-site { margin: 0; background: var(--bg); color: var(--ink); }
.naa-site { font-family: Inter, system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; }
.naa-site a { color: inherit; }
.naa-site .sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.naa-site .hero { position: relative; min-height: 100vh; overflow: hidden; isolation: isolate; }

/* Background layers */
.naa-site .bg-gradient {
  position: absolute; inset: 0; z-index: -5;
  background:
    radial-gradient(ellipse 45% 55% at 74% 52%, rgba(37,99,235,0.32), rgba(37,99,235,0) 70%),
    radial-gradient(ellipse 85% 45% at 50% 118%, rgba(37,99,235,0.38), rgba(37,99,235,0) 70%),
    radial-gradient(ellipse 50% 40% at 10% 0%, rgba(80,110,200,0.12), rgba(80,110,200,0) 70%),
    linear-gradient(180deg, #050608 0%, #060912 60%, #08101F 100%);
}
.naa-site .bg-grid {
  position: absolute; inset: 0; z-index: -4;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
}
.naa-site .bg-contours { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -3; }
.naa-site .bg-contours path { fill: none; stroke: #FFFFFF; stroke-width: 1; vector-effect: non-scaling-stroke; }
.naa-site .blob { transform-box: view-box; animation: spin linear infinite; }
.naa-site .breathe { transform-box: view-box; animation: breathe 14s ease-in-out infinite alternate; }
.naa-site .dash { stroke-dasharray: 2 6; animation: flow 5s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { from { transform: scale(0.97); } to { transform: scale(1.04); } }
@keyframes flow { to { stroke-dashoffset: -32; } }
.naa-site .bg-shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(5,6,8,0.66) 0%, rgba(5,6,8,0.42) 36%, rgba(5,6,8,0) 62%),
    linear-gradient(0deg, rgba(5,6,8,0.55) 0%, rgba(5,6,8,0) 18%);
}

/* Frame */
.naa-site .frame {
  position: relative; max-width: 1360px; margin: 0 auto; min-height: 100vh;
  border-left: 1px solid rgba(255,255,255,0.06); border-right: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column;
}
.naa-site .naa-header { border-bottom: 1px solid var(--line); }
.naa-site .naa-nav, .naa-site .naa-footer nav { padding: 18px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.naa-site .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.naa-site .logo span { font-family: 'Inter Tight', Inter, sans-serif; font-weight: 600; font-size: 24px; letter-spacing: -0.03em; }
.naa-site .nav-links { display: flex; gap: 36px; font-size: 16px; font-weight: 500; }
.naa-site .nav-links a { text-decoration: none; color: var(--nav); }
.naa-site .nav-links a:hover { color: #FFFFFF; }
.naa-site .nav-cta { display: flex; align-items: center; gap: 10px; }
.naa-site .btn-ghost { text-decoration: none; font-size: 15px; font-weight: 600; padding: 12px 18px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.18); }
.naa-site .btn-white { text-decoration: none; font-size: 15px; font-weight: 600; color: var(--bg); background: #FFFFFF; padding: 13px 19px; border-radius: 12px; }
.naa-site .btn-ghost:hover { border-color: rgba(255,255,255,0.4); }
.naa-site .btn-white:hover { background: #E8ECF5; }

/* Hero content */
.naa-site .naa-main {
  flex: 1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  align-items: center; gap: 40px; padding: 72px 72px 96px;
}
.naa-site .copy { display: flex; flex-direction: column; align-items: flex-start; gap: 30px; }
.naa-site h1 {
  margin: 0; font-family: 'Inter Tight', Inter, sans-serif; font-weight: 600;
  font-size: clamp(40px, 4.9vw, 76px); line-height: 1.04; letter-spacing: -0.04em;
}
.naa-site h1 .l1 { display: block; color: var(--ink); white-space: nowrap; }
.naa-site h1 .l2 { display: block; color: var(--accent-soft); white-space: nowrap; }
.naa-site h1 .l3 { display: block; color: var(--accent-soft); white-space: nowrap; min-height: 1.05em; }
.naa-site .caret { display: inline-block; width: 0.06em; height: 0.82em; margin-left: 0.06em; vertical-align: -0.06em; background: var(--accent-soft); animation: blink 1s steps(1) infinite; }
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.naa-site .sub { margin: 0; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--body); max-width: 580px; }
.naa-site .ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.naa-site .btn-primary { text-decoration: none; background: var(--accent); color: #FFFFFF; font-size: 17px; font-weight: 600; padding: 18px 26px; border-radius: 12px; }
.naa-site .btn-primary:hover { background: #1D4ED8; }
.naa-site .btn-link { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; padding: 12px 4px; }
.naa-site .btn-link:hover svg { transform: translateX(3px); }
.naa-site .btn-link svg { transition: transform 200ms ease; }

.naa-site .visual { position: relative; display: flex; justify-content: center; align-items: center; }
.naa-site .visual::before {
  content: ""; position: absolute; width: 120%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.35), rgba(37,99,235,0) 62%);
  z-index: -1;
}
.naa-site .phone {
  width: min(100%, 360px); height: auto; display: block;
  transform: rotate(-5deg);
  filter: drop-shadow(0 0 1px rgba(255,255,255,0.35)) drop-shadow(0 40px 70px rgba(0,0,0,0.6));
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: rotate(-5deg) translateY(0); } 50% { transform: rotate(-4deg) translateY(-12px); } }

.naa-site a:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 3px; }

/* Client logo banner */
.naa-site .clients { position: relative; background: var(--bg); }
.naa-site .clients .frame { min-height: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 44px 0 48px; gap: 28px; }
.naa-site .clients-label { margin: 0; text-align: center; font-size: 15px; color: var(--muted); padding: 0 24px; }
.naa-site .clients-label strong { color: #FFFFFF; font-weight: 600; }
.naa-site .marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.naa-site .track { display: flex; width: max-content; animation: scroll 42s linear infinite; }
.naa-site .logo-item {
  flex: none; margin-right: 80px; display: flex; align-items: center; height: 40px;
  font-family: 'Inter Tight', Inter, sans-serif; font-weight: 600; font-size: 24px; letter-spacing: -0.02em;
  color: #8E95A3; white-space: nowrap; transition: color 200ms ease;
}
.naa-site .logo-item:hover { color: #FFFFFF; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Section 3: statement */
.naa-site .statement .frame { min-height: 0; padding: 140px 72px 140px; }
.naa-site .statement-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 64px; align-items: end; }
.naa-site .statement h2 {
  margin: 0; font-family: 'Inter Tight', Inter, sans-serif; font-weight: 600;
  font-size: clamp(36px, 4.2vw, 64px); line-height: 1.06; letter-spacing: -0.035em; color: #FFFFFF;
}
.naa-site .statement h2 .soft { color: var(--accent-soft); }
.naa-site .statement p { margin: 0; font-size: clamp(18px, 1.4vw, 21px); line-height: 1.6; color: var(--body); max-width: 520px; }

/* Section 4: proof in numbers */
.naa-site .numbers { background: linear-gradient(180deg, var(--bg) 0%, #060912 100%); position: relative; }
.naa-site .numbers::before {
  content: ""; position: absolute; left: 0; top: 0; width: 55%; height: 70%; pointer-events: none;
  background: radial-gradient(ellipse at 0% 0%, rgba(37,99,235,0.20), rgba(37,99,235,0) 65%);
}
.naa-site .numbers .frame { min-height: 0; border-top: 1px solid var(--line); padding: 120px 72px 120px; gap: 64px; }
.naa-site .numbers-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: end; }
.naa-site .numbers-head h2 {
  margin: 0; font-family: 'Inter Tight', Inter, sans-serif; font-weight: 600;
  font-size: clamp(34px, 3.6vw, 54px); line-height: 1.08; letter-spacing: -0.035em;
}
.naa-site .numbers-head h2 .soft { color: var(--accent-soft); }
.naa-site .numbers-side { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.naa-site .numbers-side p { margin: 0; font-size: 18px; line-height: 1.65; color: var(--body); max-width: 520px; }
.naa-site .story { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; position: relative; }
.naa-site .card {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px 26px 26px;
  border-radius: 18px; border: 1px solid rgba(255,255,255,0.09); background: rgba(255,255,255,0.025);
}
.naa-site .card.edge { border-color: rgba(127,166,255,0.55); background: linear-gradient(180deg, rgba(37,99,235,0.16), rgba(37,99,235,0.04)); }
.naa-site .step { white-space: nowrap; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.naa-site .step .tag { position: absolute; top: -12px; right: 20px; white-space: nowrap; text-transform: none; letter-spacing: 0; font-size: 12px; color: #FFFFFF; background: var(--accent); padding: 4px 9px; border-radius: 999px; }
.naa-site .card-num { margin-top: 18px; font-family: 'Inter Tight', Inter, sans-serif; font-weight: 600; font-size: clamp(44px, 4vw, 60px); line-height: 1; letter-spacing: -0.04em; }
.naa-site .card.edge .card-num { color: var(--accent-soft); }
.naa-site .card-label { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.4; color: #FFFFFF; }
.naa-site .card-detail { margin: 0; font-size: 15px; line-height: 1.55; color: var(--body); }
.naa-site .card-source { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.07); font-size: 13px; color: var(--muted); text-decoration: none; }
.naa-site .card-source:hover { color: #FFFFFF; text-decoration: underline; }

/* Section 6: layers */
.naa-site .layers { background: var(--bg); position: relative; }
.naa-site .layers .frame { min-height: 0; border-top: 1px solid var(--line); }
.naa-site .layers-title { text-align: center; padding: 120px 24px 24px; }
.naa-site .layers-title h2 { margin: 0; font-family: 'Inter Tight', Inter, sans-serif; font-weight: 600; font-size: clamp(32px, 3.8vw, 56px); line-height: 1.08; letter-spacing: -0.035em; }
.naa-site .layers-title h2 .soft { color: var(--accent-soft); }
.naa-site .layers-track { position: relative; height: 520vh; }
.naa-site .layers-sticky { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: 48px; padding: 0 72px; }
.naa-site .layer-texts { position: relative; min-height: 320px; }
.naa-site .layer-text { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 22px; opacity: 0; transform: translateY(16px); transition: opacity 450ms ease, transform 450ms ease; pointer-events: none; }
.naa-site .layer-text.on { opacity: 1; transform: none; pointer-events: auto; }
.naa-site .layer-eyebrow { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-soft); }
.naa-site .layer-statement { margin: 0; font-family: 'Inter Tight', Inter, sans-serif; font-weight: 600; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.22; letter-spacing: -0.02em; color: #3A3F4A; }
.naa-site .layer-statement .w { transition: color 250ms ease; }
.naa-site .layer-statement .w.lit { color: #FFFFFF; }
.naa-site .layer-dots { display: flex; gap: 8px; margin-top: 8px; }
.naa-site .layer-dots span { width: 28px; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.14); transition: background 300ms ease; }
.naa-site .layer-dots span.on { background: var(--accent-soft); }
.naa-site .stack { position: relative; width: min(100%, 440px); aspect-ratio: 400 / 460; margin: 0 auto; }
.naa-site .stack svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.naa-site .plate { transition: transform 500ms cubic-bezier(.2,.75,.2,1), opacity 400ms ease; opacity: 0.45; }
.naa-site .plate.on { opacity: 1; transform: translateY(-16px); }
.naa-site .plate .top { fill: url(#dots); stroke: rgba(255,255,255,0.28); stroke-width: 1; }
.naa-site .plate.on .top { fill: url(#dots-on); stroke: rgba(127,166,255,0.9); }
.naa-site .plate .side { fill: #0B0D12; stroke: rgba(255,255,255,0.18); stroke-width: 1; }
.naa-site .chip {
  position: absolute; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center;
  opacity: 0; transition: opacity 350ms ease, transform 450ms cubic-bezier(.2,.75,.2,1); pointer-events: none;
}
.naa-site .chip.on { opacity: 1; transform: translate(-50%, calc(-100% - 6px)); }
.naa-site .chip b { font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 500; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: #FFFFFF; background: #0B0D12; border: 1px solid rgba(255,255,255,0.35); border-radius: 4px; padding: 5px 8px; white-space: nowrap; }
.naa-site .chip i { width: 1px; height: 26px; background: rgba(255,255,255,0.5); }
.naa-site .chip i::after { content: ""; display: block; width: 5px; height: 5px; border-radius: 50%; background: #FFFFFF; margin: 24px 0 0 -2px; }
.naa-site .layers-cta { display: flex; justify-content: center; padding: 24px 24px 120px; }

/* Section 7: industries */
.naa-site .industries { background: #060912; }
.naa-site .industries .frame { min-height: 0; border-top: 1px solid var(--line); padding: 120px 72px; gap: 56px; }
.naa-site .industries h2 .accent { color: var(--accent-soft); }
.naa-site .ind-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.naa-site .ind {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 28px 26px; min-height: 150px; box-sizing: border-box;
  border-radius: 18px; border: 1px solid rgba(255,255,255,0.10); background: rgba(255,255,255,0.025); text-decoration: none;
  transition: border-color 200ms ease, background 200ms ease;
}
.naa-site a.ind:hover { border-color: rgba(127,166,255,0.6); background: rgba(37,99,235,0.08); }
.naa-site a.ind:hover .ind-arrow { transform: translateX(4px); color: #FFFFFF; }
.naa-site .ind-grid > li { display: flex; }
.naa-site .ind-grid > li > .ind { flex: 1; }
.naa-site .ind h3 { margin: 0 0 10px; font-family: 'Inter Tight', Inter, sans-serif; font-weight: 600; font-size: 21px; line-height: 1.25; letter-spacing: -0.015em; color: #FFFFFF; }
.naa-site .ind p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--body); }
.naa-site .ind-arrow { flex: none; margin-top: 4px; color: var(--accent-soft); transition: transform 200ms ease, color 200ms ease; }
.naa-site .ind.soon { border-style: dashed; border-color: rgba(255,255,255,0.12); background: transparent; }
.naa-site .ind.soon h3 { color: #C9CED8; }
.naa-site .ind.soon p { color: var(--muted); }

@media (max-width: 1040px) {
  .naa-site .layers-sticky { grid-template-columns: 1fr; grid-template-rows: auto auto; align-content: center; gap: 8px; padding: 0 24px; }
  .naa-site .stack { width: min(70%, 300px); order: -1; }
  .naa-site .layer-texts { min-height: 260px; }
  .naa-site .industries .frame { padding: 88px 24px; }
  .naa-site .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .naa-site .ind-grid { grid-template-columns: 1fr; }
  .naa-site .layer-statement { font-size: 22px; }
  .naa-site .chip b { font-size: 9px; padding: 4px 6px; letter-spacing: 0.03em; }
  .naa-site .chip i { height: 18px; }
  .naa-site .chip i::after { margin-top: 16px; }
  .naa-site .layer-texts { min-height: 240px; }
}


/* Generic scroll reveal */
.js .naa-site .fx { opacity: 0; transform: translateY(22px); transition: opacity 640ms var(--ease-out), transform 760ms var(--ease-out); transition-delay: calc(var(--d, 0) * 70ms); }
.js .naa-site .fx.in { opacity: 1; transform: none; }

/* Section 8: client results */
.naa-site .results { background: var(--bg); position: relative; overflow: hidden; }
.naa-site .results::before { content: ""; position: absolute; left: -10%; top: -20%; width: 60%; height: 80%; background: radial-gradient(ellipse at center, rgba(37,99,235,0.18), rgba(37,99,235,0) 65%); pointer-events: none; }
.naa-site .results .frame { min-height: 0; border-top: 1px solid var(--line); padding: 120px 72px; gap: 56px; }
.naa-site .res-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.naa-site .res {
  position: relative; display: flex; flex-direction: column; height: 100%; box-sizing: border-box; padding: 28px 28px 26px;
  border-radius: 18px; border: 1px solid rgba(255,255,255,0.10); background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
  overflow: hidden; transition: border-color 250ms ease, transform 250ms ease;
}
.naa-site .res::after { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(127,166,255,0.14), transparent 40%); opacity: 0; transition: opacity 250ms ease; pointer-events: none; }
.naa-site .res:hover { border-color: rgba(127,166,255,0.45); transform: translateY(-4px); }
.naa-site .res:hover::after { opacity: 1; }
.naa-site .res-tag { font-size: 13px; font-weight: 500; color: var(--muted); }
.naa-site .res-logo { height: 120px; display: flex; align-items: center; justify-content: center; font-family: 'Inter Tight', Inter, sans-serif; font-weight: 700; font-size: 26px; letter-spacing: -0.03em; color: #FFFFFF; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 26px; }
.naa-site .res-num { font-family: 'Inter Tight', Inter, sans-serif; font-weight: 600; font-size: clamp(40px, 3.6vw, 56px); line-height: 1; letter-spacing: -0.04em; color: var(--accent-soft); font-variant-numeric: tabular-nums; }
.naa-site .res .res-metric { margin: 12px 0 20px; font-size: 15px; font-weight: 600; color: #FFFFFF; }
.naa-site .res h3 { margin: 0 0 8px; font-family: 'Inter Tight', Inter, sans-serif; font-size: 20px; font-weight: 600; }
.naa-site .res p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--body); }
.naa-site .res-site { margin-top: auto; padding-top: 20px; font-size: 14px; font-weight: 600; color: #FFFFFF; text-decoration: none; }
.naa-site .res-site:hover { text-decoration: underline; }

/* Section 9: founder note */
.naa-site .founder { background: #060912; }
.naa-site .founder .frame { min-height: 0; border-top: 1px solid var(--line); padding: 120px 72px; }
.naa-site .note { position: relative; max-width: 920px; margin: 0 auto; padding: 64px 64px 56px; border-radius: 24px; border: 1px solid rgba(255,255,255,0.10); background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(37,99,235,0.18), rgba(37,99,235,0) 60%), rgba(255,255,255,0.02); }
.naa-site .note-mark { position: absolute; top: -34px; left: 56px; font-family: 'Inter Tight', serif; font-size: 120px; line-height: 1; color: var(--accent-soft); }
.naa-site .note-eyebrow { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-soft); margin: 0 0 22px; }
.naa-site .note p.body { margin: 0 0 18px; font-family: 'Inter Tight', Inter, sans-serif; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.5; letter-spacing: -0.01em; color: #E6E9F0; }
.naa-site .note p.body.lead { color: #FFFFFF; font-weight: 600; }
.naa-site .signoff { display: flex; align-items: center; gap: 18px; margin-top: 34px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.08); }
.naa-site .avatar { width: 60px; height: 60px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-family: 'Inter Tight', Inter, sans-serif; font-weight: 600; font-size: 22px; background: linear-gradient(135deg, #2563EB, #0E1528); border: 1px solid rgba(255,255,255,0.2); }
.naa-site .sig { font-family: 'Caveat', cursive; font-size: 40px; line-height: 1; color: #FFFFFF; }
.naa-site .sig-role { font-size: 14px; color: var(--muted); margin-top: 4px; }
.naa-site .sig-draw { stroke-dasharray: 420; stroke-dashoffset: 420; transition: stroke-dashoffset 1.6s ease 0.4s; }
.naa-site .in .sig-draw { stroke-dashoffset: 0; }

/* Section 10: FAQ */
.naa-site .faq { background: var(--bg); }
.naa-site .faq .frame { min-height: 0; border-top: 1px solid var(--line); padding: 120px 72px; }
.naa-site .faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.naa-site .faq-side { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.naa-site .faq-side h2 { margin: 0; font-family: 'Inter Tight', Inter, sans-serif; font-weight: 600; font-size: clamp(32px, 3.4vw, 50px); line-height: 1.08; letter-spacing: -0.035em; }
.naa-site .faq-side h2 .soft { color: var(--accent-soft); }
.naa-site .faq-side p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--body); }
.naa-site .qa { border-bottom: 1px solid var(--line); }
.naa-site .qa:first-child { border-top: 1px solid var(--line); }
.naa-site .qa button { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; font-family: 'Inter Tight', Inter, sans-serif; font-size: 20px; font-weight: 600; color: #FFFFFF; }
.naa-site .qa button:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 4px; border-radius: 6px; }
.naa-site .qa .pm { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); position: relative; transition: background 250ms ease, border-color 250ms ease, transform 300ms ease; }
.naa-site .qa .pm::before, .naa-site .qa .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: #FFFFFF; transform: translate(-50%, -50%); transition: transform 300ms ease; }
.naa-site .qa .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.naa-site .qa.open .pm { background: var(--accent); border-color: var(--accent); transform: rotate(180deg); }
.naa-site .qa.open .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.naa-site .qa .ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 380ms cubic-bezier(.2,.75,.2,1); }
.naa-site .qa.open .ans { grid-template-rows: 1fr; }
.naa-site .qa .ans > div { overflow: hidden; }
.naa-site .qa .ans p { margin: 0; padding: 0 56px 26px 0; font-size: 17px; line-height: 1.65; color: var(--body); }

/* Section 11: final CTAs */
.naa-site .final { background: #060912; position: relative; overflow: hidden; }
.naa-site .final::before { content: ""; position: absolute; left: 50%; bottom: -320px; width: 1400px; height: 700px; transform: translateX(-50%); background: radial-gradient(ellipse at center, rgba(37,99,235,0.35), rgba(37,99,235,0) 65%); pointer-events: none; }
.naa-site .final .frame { min-height: 0; border-top: 1px solid var(--line); padding: 120px 72px 96px; gap: 48px; }
.naa-site .final-head { text-align: center; }
.naa-site .final-head h2 { margin: 0 auto; max-width: 900px; font-family: 'Inter Tight', Inter, sans-serif; font-weight: 600; font-size: clamp(34px, 4vw, 60px); line-height: 1.06; letter-spacing: -0.035em; }
.naa-site .final-head h2 .soft { color: var(--accent-soft); }
.naa-site .final-head p { margin: 18px auto 0; max-width: 620px; font-size: 18px; line-height: 1.6; color: var(--body); }
.naa-site .cta-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.naa-site .cta-card { display: flex; flex-direction: column; gap: 18px; padding: 36px; border-radius: 22px; border: 1px solid rgba(255,255,255,0.10); background: rgba(10,12,18,0.85); }
.naa-site .cta-card.primary { border-color: rgba(127,166,255,0.5); background: linear-gradient(180deg, rgba(37,99,235,0.16), rgba(10,12,18,0.9) 55%); }
.naa-site .cta-kicker { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-soft); }
.naa-site .cta-card h3 { margin: 0; font-family: 'Inter Tight', Inter, sans-serif; font-size: clamp(26px, 2.2vw, 34px); font-weight: 600; letter-spacing: -0.025em; }
.naa-site .cta-card p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--body); }
.naa-site .cta-actions { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: auto; padding-top: 8px; }
.naa-site .cta-fine { font-size: 13px; color: var(--muted); }

.naa-site .mock { border-radius: 14px; border: 1px solid rgba(255,255,255,0.08); background: #0A0D14; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.naa-site .mock-row { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #C9CED8; }
.naa-site .mock-row .lbl { width: 92px; flex: none; color: var(--muted); }
.naa-site .bar { flex: 1; height: 8px; border-radius: 4px; background: rgba(255,255,255,0.07); overflow: hidden; }
.naa-site .bar span { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, #2563EB, #7FA6FF); transition: width 1.4s cubic-bezier(.2,.75,.2,1); }
.naa-site .in .bar span { width: var(--w); }
.naa-site .mock-score { display: flex; align-items: baseline; justify-content: space-between; }
.naa-site .mock-score b { font-family: 'Inter Tight', Inter, sans-serif; font-size: 34px; font-weight: 600; letter-spacing: -0.03em; }
.naa-site .mock-score span { font-size: 12px; color: var(--muted); font-family: 'JetBrains Mono', ui-monospace, monospace; letter-spacing: 0.06em; text-transform: uppercase; }
.naa-site .cal { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.naa-site .cal .d { text-align: center; font-size: 12px; color: var(--muted); padding-bottom: 4px; }
.naa-site .cal .s { text-align: center; font-size: 13px; padding: 9px 0; border-radius: 8px; border: 1px solid rgba(255,255,255,0.08); color: #C9CED8; transition: background 300ms ease, border-color 300ms ease, color 300ms ease; }
.naa-site .cal .s.off { color: #4A505C; border-style: dashed; }
.naa-site .cal .s.pick { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }

.naa-site .naa-footer { border-top: 1px solid var(--line); }
.naa-site .naa-footer .frame { min-height: 0; padding: 36px 72px; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--muted); }
.naa-site .naa-footer a { color: var(--muted); text-decoration: none; margin-left: 24px; }
.naa-site .naa-footer a:hover { color: #FFFFFF; }

@media (max-width: 1040px) {
  .naa-site .results .frame, .naa-site .founder .frame, .naa-site .faq .frame, .naa-site .final .frame { padding: 88px 24px; }
  .naa-site .res-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .naa-site .faq-grid, .naa-site .cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .naa-site .faq-side { position: static; }
  .naa-site .note { padding: 48px 28px 36px; }
  .naa-site .note-mark { left: 24px; }
  .naa-site .naa-footer .frame { padding: 28px 24px; }
}
@media (max-width: 640px) {
  .naa-site .res-grid { grid-template-columns: 1fr; }
  .naa-site .cta-card { padding: 26px 22px; }
  .naa-site .qa button { font-size: 18px; }
  .naa-site .qa .ans p { padding-right: 0; }
  .naa-site .naa-footer a { margin: 0 16px 0 0; }
}

/* Animated grey line */
.naa-site .reveal .w { display: inline-block; opacity: 0; transform: translateY(0.35em); filter: blur(6px); transition: opacity 600ms ease, transform 600ms cubic-bezier(.2,.75,.2,1), filter 600ms ease; transition-delay: calc(var(--i) * 90ms); }
.naa-site .reveal.in .w { opacity: 1; transform: none; filter: none; animation: sweep 6s ease-in-out infinite; animation-delay: calc(1.4s + var(--i) * 140ms); }
@keyframes sweep { 0%, 100% { color: var(--accent-soft); } 8% { color: #DCE4FF; } 18% { color: var(--accent-soft); } }

/* Section 5: what we do */
.naa-site .services { background: #060912; position: relative; }
.naa-site .services .frame { min-height: 0; border-top: 1px solid var(--line); padding: 120px 72px 120px; gap: 56px; }
.naa-site .svc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.naa-site .svc {
  position: relative; display: flex; flex-direction: column; gap: 18px; padding: 32px 30px 28px;
  border-radius: 18px; border: 1px solid rgba(255,255,255,0.09); background: rgba(255,255,255,0.025);
  transition: border-color 200ms ease, background 200ms ease;
}
.naa-site .svc:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.04); }
.naa-site .svc.wide { grid-column: span 2; }
.naa-site .svc.edge { border-color: rgba(127,166,255,0.55); background: linear-gradient(180deg, rgba(37,99,235,0.16), rgba(37,99,235,0.04)); }
.naa-site .svc-top { min-height: 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.naa-site .svc-num { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); }
.naa-site .svc-tag { white-space: nowrap; font-size: 12px; font-weight: 600; color: #FFFFFF; background: var(--accent); padding: 4px 10px; border-radius: 999px; }
.naa-site .svc h3 { margin: 0; font-family: 'Inter Tight', Inter, sans-serif; font-weight: 600; font-size: clamp(24px, 2vw, 30px); line-height: 1.15; letter-spacing: -0.025em; }
.naa-site .svc-line { margin: 0; font-size: 17px; line-height: 1.55; color: var(--body); max-width: 560px; }
.naa-site .svc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.naa-site .svc li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: #D5DAE4; }
.naa-site .svc li svg { flex: none; margin-top: 3px; }
.naa-site .svc.wide ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 24px; }
.naa-site .svc-out { margin: 0; margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.07); font-size: 16px; font-weight: 600; color: #FFFFFF; }
.naa-site .svc-out span { color: var(--muted); font-weight: 500; }
.naa-site .svc-proof { margin: 0; font-size: 14px; color: var(--accent-soft); font-weight: 600; }
.naa-site .svc-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; text-decoration: none; color: #FFFFFF; }
.naa-site .svc-link:hover svg { transform: translateX(3px); }
.naa-site .svc-link svg { transition: transform 200ms ease; }

@media (max-width: 1040px) {
  .naa-site .services .frame { padding: 88px 24px; }
  .naa-site .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .naa-site .svc.wide ul { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .naa-site .svc-grid { grid-template-columns: 1fr; }
  .naa-site .svc.wide { grid-column: span 1; }
}

@media (max-width: 1040px) {
  .naa-site .statement .frame, .naa-site .numbers .frame { padding: 88px 24px; }
  .naa-site .statement-grid, .naa-site .numbers-head { grid-template-columns: 1fr; gap: 28px; }
  .naa-site .story { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .naa-site .story { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .naa-site .statement .frame, .naa-site .numbers .frame { padding: 64px 16px; }
}

@media (max-width: 1040px) {
  .naa-site .naa-main { grid-template-columns: 1fr; padding: 56px 24px 72px; gap: 56px; }
  .naa-site .phone { width: min(70%, 300px); }
  .naa-site .bg-shade { background: linear-gradient(0deg, rgba(5,6,8,0.6) 0%, rgba(5,6,8,0) 25%); }
}
@media (max-width: 860px) {
  .naa-site .nav-links, .naa-site .btn-ghost { display: none; }
  .naa-site .naa-nav, .naa-site .naa-footer nav { padding: 16px; }
  .naa-site h1 .l2, .naa-site h1 .l3 { white-space: normal; }
}
@media (max-width: 480px) {
  .naa-site h1 { font-size: clamp(30px, 9.4vw, 44px); }
  .naa-site .naa-main { padding: 40px 16px 56px; }
  .naa-site .btn-white { padding: 11px 14px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .naa-site .blob, .naa-site .breathe, .naa-site .dash, .naa-site .caret, .naa-site .phone, .naa-site .track { animation: none; }
  .naa-site .reveal .w, .naa-site .reveal.in .w { opacity: 1; transform: none; filter: none; transition: none; animation: none; }
  .naa-site .fx { opacity: 1; transform: none; transition: none; }
  .naa-site .bar span { transition: none; }
  .naa-site .sig-draw { stroke-dashoffset: 0; transition: none; }
  .naa-site .qa .ans { transition: none; }
  .naa-site .layer-statement .w { color: #FFFFFF; }
  .naa-site .plate, .naa-site .chip, .naa-site .layer-text { transition: none; }
  .naa-site .track { width: auto; flex-wrap: wrap; justify-content: center; row-gap: 20px; padding: 0 24px; }
  .naa-site .track .dup { display: none; }
  .naa-site .marquee { -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 860px) {
  .naa-site .logo-item { font-size: 20px; margin-right: 56px; }
}

/* =====================================================================
   Site build-out additions (everything above is the original homepage)
   ===================================================================== */
html.naa-html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html.naa-html { scroll-behavior: auto; } }
.naa-site .skip { position: absolute; left: 16px; top: -64px; z-index: 100; background: #FFFFFF; color: var(--bg); padding: 10px 14px; border-radius: 10px; font-weight: 600; text-decoration: none; transition: top 200ms ease; }
.naa-site .skip:focus { top: 16px; }
.naa-site .nav-links a[aria-current="page"] { color: #FFFFFF; }
.naa-site .nav-links a { position: relative; }
.naa-site .nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--accent-soft); }

/* Mobile menu */
.naa-site .naa-header { position: relative; z-index: 20; }
.naa-site .menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.18); background: transparent; cursor: pointer; position: relative; padding: 0; }
.naa-site .menu-btn span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: #FFFFFF; transition: transform 300ms ease, top 300ms ease; }
.naa-site .menu-btn span:first-child { top: 17px; }
.naa-site .menu-btn span:last-child { top: 25px; }
.naa-site .menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.naa-site .menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.naa-site .menu-btn:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 3px; }
.naa-site .mobile-menu { display: none; position: absolute; left: 12px; right: 12px; top: calc(100% + 8px); flex-direction: column; gap: 4px; padding: 14px; border-radius: 18px; border: 1px solid rgba(255,255,255,0.12); background: rgba(8,10,16,0.96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 30px 60px rgba(0,0,0,0.6); }
.naa-site .mobile-menu.open { display: flex; animation: menu-in 260ms cubic-bezier(.2,.75,.2,1); }
.naa-site .mobile-menu a:not(.btn-primary):not(.btn-ghost) { text-decoration: none; font-family: 'Inter Tight', Inter, sans-serif; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; padding: 12px 10px; border-radius: 10px; color: var(--nav); }
.naa-site .mobile-menu a[aria-current="page"] { color: #FFFFFF; background: rgba(255,255,255,0.05); }
.naa-site .mobile-menu .mm-ctas { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.naa-site .mobile-menu .mm-ctas a { text-align: center; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  .naa-site .menu-btn { display: inline-block; }
}

/* Inner page hero */
.naa-site .hero.inner { min-height: 0; }
.naa-site .hero.inner .frame { min-height: 0; }
.naa-site .hero .naa-main.page-head { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); padding: 88px 72px 112px; gap: 56px; }
.naa-site .hero .naa-main.page-head.solo { grid-template-columns: minmax(0, 1fr); }
.naa-site .page-head h1 { font-size: clamp(38px, 4.4vw, 68px); }
.naa-site .page-head h1 .l1, .naa-site .page-head h1 .l2 { white-space: normal; }
.naa-site .page-head.solo .sub { max-width: 680px; }
.naa-site .crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; padding: 0; list-style: none; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-soft); }
.naa-site .crumbs a { color: var(--muted); text-decoration: none; }
.naa-site .crumbs a:hover { color: #FFFFFF; }
.naa-site .crumbs li + li::before { content: "/"; margin-right: 10px; color: rgba(255,255,255,0.25); }

/* AI answer mock (inner page hero visual) */
.naa-site .answer {
  position: relative; width: min(100%, 420px); display: flex; flex-direction: column; gap: 16px; padding: 22px;
  border-radius: 22px; border: 1px solid rgba(255,255,255,0.14);
  background: linear-gradient(180deg, rgba(18,22,34,0.94), rgba(8,10,16,0.97));
  box-shadow: 0 0 1px rgba(255,255,255,0.35), 0 40px 80px rgba(0,0,0,0.55);
  transform: rotate(-3deg); animation: float-card 7s ease-in-out infinite;
}
@keyframes float-card { 0%, 100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-12px); } }
.naa-site .answer-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.naa-site .answer-engine { display: inline-flex; align-items: center; gap: 8px; color: #FFFFFF; }
.naa-site .answer-engine i { width: 8px; height: 8px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 4px rgba(52,211,153,0.15); }
.naa-site .answer-engine b { font-weight: 500; transition: opacity 250ms ease; }
.naa-site .answer-q { align-self: flex-end; max-width: 88%; padding: 12px 15px; border-radius: 16px 16px 4px 16px; background: rgba(255,255,255,0.08); font-size: 15px; line-height: 1.45; color: #FFFFFF; }
.naa-site .answer-a > p { margin: 0 0 12px; font-size: 14px; line-height: 1.5; color: var(--body); }
.naa-site .answer-a ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.naa-site .answer-a li {
  display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.07); background: rgba(255,255,255,0.025); font-size: 14px; color: #C9CED8;
  opacity: 0; transform: translateY(8px); transition: opacity 500ms ease, transform 500ms cubic-bezier(.2,.75,.2,1), border-color 400ms ease, background 400ms ease;
  transition-delay: calc(var(--i, 0) * 200ms + 300ms);
}
.naa-site .answer.in .answer-a li { opacity: 1; transform: none; }
.naa-site .answer-a li .n { flex: none; min-width: 16px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; color: var(--muted); }
.naa-site .answer-a li .ghost { flex: 1; height: 8px; border-radius: 4px; background: rgba(255,255,255,0.08); }
.naa-site .answer-a li .ghost.short { flex: 0 0 55%; }
.naa-site .answer-a li.you { border-color: rgba(127,166,255,0.6); background: linear-gradient(90deg, rgba(37,99,235,0.28), rgba(37,99,235,0.06)); color: #FFFFFF; font-weight: 600; }
.naa-site .answer-a li.you .badge { margin-left: auto; flex: none; font-size: 11px; font-weight: 600; color: #FFFFFF; background: var(--accent); padding: 3px 8px; border-radius: 999px; }
.naa-site .answer-src { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.07); }
.naa-site .answer-src span { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; color: var(--muted); border: 1px solid rgba(255,255,255,0.1); border-radius: 999px; padding: 4px 9px; }

/* Generic content block (same rhythm as the homepage sections) */
.naa-site .block { background: var(--bg); position: relative; }
.naa-site .block.alt { background: #060912; }
.naa-site .block .frame { min-height: 0; border-top: 1px solid var(--line); padding: 120px 72px; gap: 56px; }
.naa-site .block.glow { overflow: hidden; }
.naa-site .block.glow::before { content: ""; position: absolute; left: -10%; top: -20%; width: 60%; height: 80%; background: radial-gradient(ellipse at center, rgba(37,99,235,0.16), rgba(37,99,235,0) 65%); pointer-events: none; }
.naa-site .block h2.title { margin: 0; font-family: 'Inter Tight', Inter, sans-serif; font-weight: 600; font-size: clamp(32px, 3.6vw, 54px); line-height: 1.08; letter-spacing: -0.035em; }
.naa-site .block h2.title .soft { color: var(--accent-soft); }
.naa-site .block h2.title .accent { color: var(--accent-soft); }
.naa-site .svc-grid.three .svc { grid-column: auto; }
.naa-site .story.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.naa-site .card .card-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(37,99,235,0.14); border: 1px solid rgba(127,166,255,0.3); color: var(--accent-soft); margin-top: 6px; }
.naa-site .card h3 { margin: 0; font-family: 'Inter Tight', Inter, sans-serif; font-weight: 600; font-size: 21px; line-height: 1.25; letter-spacing: -0.015em; }
.js .naa-site .fx-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity 600ms var(--ease-out), transform 720ms var(--ease-out); }
.js .naa-site .fx-stagger.in > * { opacity: 1; transform: none; }
.js .naa-site .fx-stagger.in > :nth-child(2) { transition-delay: 70ms; }
.js .naa-site .fx-stagger.in > :nth-child(3) { transition-delay: 140ms; }
.js .naa-site .fx-stagger.in > :nth-child(4) { transition-delay: 210ms; }
.js .naa-site .fx-stagger.in > :nth-child(5) { transition-delay: 280ms; }
.js .naa-site .fx-stagger.in > :nth-child(6) { transition-delay: 350ms; }
.js .naa-site .fx-stagger.in > :nth-child(n+7) { transition-delay: 420ms; }

/* Prompt list (industry pages) */
.naa-site .prompts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.naa-site .prompt { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.09); background: rgba(255,255,255,0.025); font-size: 16px; line-height: 1.5; color: #E6E9F0; transition: border-color 200ms ease, background 200ms ease; }
.naa-site .prompt:hover { border-color: rgba(127,166,255,0.45); background: rgba(37,99,235,0.06); }
.naa-site .prompt svg { flex: none; margin-top: 3px; color: var(--accent-soft); }

/* Insights cards */
.naa-site a.res { text-decoration: none; color: inherit; }
.naa-site .naa-post .res-logo { height: 150px; position: relative; overflow: hidden; font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 500; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-soft); background: radial-gradient(ellipse 70% 80% at 50% 120%, rgba(37,99,235,0.35), rgba(37,99,235,0) 70%); border-radius: 12px; border: 1px solid rgba(255,255,255,0.06); }
.naa-site .naa-post .res-logo svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.naa-site .naa-post .res-logo span { position: relative; }
.naa-site .naa-post h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.015em; }
.naa-site .post-meta { margin-top: auto; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.naa-site .post-meta b { color: #FFFFFF; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.naa-site .res-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Article */
.naa-site .article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 72px; align-items: start; }
.naa-site .article-aside { position: sticky; top: 32px; }
.naa-site .article-aside .cta-card { padding: 28px; }
.naa-site .prose { max-width: 720px; }
.naa-site .prose > :first-child { margin-top: 0; }
.naa-site .prose h2 { margin: 52px 0 16px; font-family: 'Inter Tight', Inter, sans-serif; font-weight: 600; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; letter-spacing: -0.025em; }
.naa-site .prose h3 { margin: 34px 0 10px; font-family: 'Inter Tight', Inter, sans-serif; font-weight: 600; font-size: 21px; letter-spacing: -0.015em; }
.naa-site .prose p, .naa-site .prose li { font-size: 18px; line-height: 1.75; color: var(--body); }
.naa-site .prose p { margin: 0 0 20px; }
.naa-site .prose ul, .naa-site .prose ol { margin: 0 0 22px; padding-left: 22px; }
.naa-site .prose li { margin-bottom: 8px; }
.naa-site .prose li::marker { color: var(--accent-soft); }
.naa-site .prose a { color: var(--accent-soft); text-underline-offset: 3px; }
.naa-site .prose a:hover { color: #FFFFFF; }
.naa-site .prose strong { color: #FFFFFF; font-weight: 600; }
.naa-site .prose blockquote { margin: 32px 0; padding: 4px 0 4px 24px; border-left: 1px solid var(--accent-soft); font-family: 'Inter Tight', Inter, sans-serif; font-size: 23px; line-height: 1.45; color: #FFFFFF; }
.naa-site .prose .note-box { margin: 32px 0; padding: 22px 24px; border-radius: 16px; border: 1px dashed rgba(127,166,255,0.45); background: rgba(37,99,235,0.06); }
.naa-site .prose .note-box p { margin: 0; font-size: 16px; }
.naa-site .article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--muted); }

/* Forms */
.naa-site .form-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.naa-site .form { display: flex; flex-direction: column; gap: 18px; padding: 36px; border-radius: 22px; border: 1px solid rgba(127,166,255,0.45); background: linear-gradient(180deg, rgba(37,99,235,0.15), rgba(10,12,18,0.92) 55%); }
.naa-site .form h2 { margin: 0; font-family: 'Inter Tight', Inter, sans-serif; font-weight: 600; font-size: 28px; letter-spacing: -0.025em; }
.naa-site .field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.naa-site .field label, .naa-site .field .label { font-size: 14px; font-weight: 600; color: #FFFFFF; }
.naa-site .field label span, .naa-site .field .label span { color: var(--muted); font-weight: 500; }
.naa-site .field input, .naa-site .field textarea, .naa-site .field select {
  font: inherit; font-size: 16px; color: #FFFFFF; width: 100%;
  background: rgba(5,6,8,0.72); border: 1px solid rgba(255,255,255,0.14); border-radius: 12px; padding: 14px 16px;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.naa-site .field textarea { min-height: 110px; resize: vertical; }
.naa-site .field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #8E95A3 50%), linear-gradient(135deg, #8E95A3 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.naa-site .field input::placeholder, .naa-site .field textarea::placeholder { color: #5C6370; }
.naa-site .field input:focus, .naa-site .field textarea:focus, .naa-site .field select:focus { outline: none; border-color: var(--accent-soft); box-shadow: 0 0 0 3px rgba(37,99,235,0.3); }
.naa-site .field input:user-invalid, .naa-site .field textarea:user-invalid { border-color: rgba(248,113,113,0.7); }
.naa-site .field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.naa-site .form button.btn-primary { border: 0; cursor: pointer; font-family: inherit; width: 100%; }
.naa-site .form .cta-fine { text-align: center; }
.naa-site .form-done { display: none; flex-direction: column; align-items: flex-start; gap: 16px; }
.naa-site .form.done > :not(.form-done) { display: none; }
.naa-site .form.done .form-done { display: flex; animation: menu-in 400ms cubic-bezier(.2,.75,.2,1); }
.naa-site .form-done p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--body); }
.naa-site .done-check { width: 64px; height: 64px; }
.naa-site .done-check circle { fill: rgba(37,99,235,0.18); stroke: var(--accent-soft); stroke-width: 1.5; }
.naa-site .done-check path { fill: none; stroke: #FFFFFF; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
.naa-site .form.done .done-check path { animation: draw 600ms ease 250ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.naa-site .checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.naa-site .checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.55; color: #D5DAE4; }
.naa-site .checklist li svg { flex: none; margin-top: 4px; }

/* Interactive slot picker */
.naa-site .cal.pickable .s { font: inherit; font-size: 13px; background: transparent; cursor: pointer; }
.naa-site .cal.pickable button.s:hover:not(.off):not(.pick) { border-color: rgba(127,166,255,0.6); color: #FFFFFF; }
.naa-site .cal.pickable .s.off { cursor: not-allowed; }
.naa-site .cal.pickable .s:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 2px; }
.naa-site .slot-note { font-size: 14px; color: var(--muted); min-height: 1.4em; }
.naa-site .slot-note b { color: #FFFFFF; }

/* Sample report */
.naa-site .report { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 16px; }
.naa-site .report .mock { padding: 26px; gap: 16px; }
.naa-site .report .mock h3 { margin: 0; font-family: 'Inter Tight', Inter, sans-serif; font-size: 18px; font-weight: 600; }
.naa-site .report .mock-score b { font-size: 56px; }
.naa-site .report .mock-row .lbl { width: 110px; }
.naa-site .report .mock-row .val { width: 44px; text-align: right; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; color: var(--muted); }
.naa-site .report > * { min-width: 0; }
.naa-site .report-wide { grid-column: 1 / -1; }
.naa-site .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.naa-site .report-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; }
.naa-site .report-table th { text-align: left; font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 500; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.naa-site .report-table td { padding: 14px 12px; border-bottom: 1px solid rgba(255,255,255,0.05); color: #D5DAE4; vertical-align: top; }
.naa-site .pill { display: inline-flex; white-space: nowrap; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.naa-site .pill.yes { background: rgba(52,211,153,0.14); color: #6EE7B7; }
.naa-site .pill.no { background: rgba(248,113,113,0.12); color: #FCA5A5; }
.naa-site .pill.mid { background: rgba(127,166,255,0.14); color: var(--accent-soft); }
.naa-site .fixes { list-style: none; margin: 0; padding: 0; counter-reset: fix; display: flex; flex-direction: column; gap: 12px; }
.naa-site .fixes li { counter-increment: fix; display: flex; gap: 14px; align-items: flex-start; font-size: 15px; line-height: 1.55; color: #D5DAE4; }
.naa-site .fixes li::before { content: counter(fix); flex: none; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; background: var(--accent); color: #FFFFFF; }
.naa-site .sample-flag { display: inline-flex; align-items: center; gap: 8px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: #FCD34D; border: 1px dashed rgba(252,211,77,0.45); border-radius: 999px; padding: 6px 12px; }

/* 404 */
.naa-site .lost { font-family: 'Inter Tight', Inter, sans-serif; font-weight: 600; font-size: clamp(96px, 16vw, 220px); line-height: 0.9; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1px rgba(127,166,255,0.7); }

/* Footer, expanded */
.naa-site .naa-footer .frame { row-gap: 20px; }
.naa-site .naa-footer .foot-brand { display: flex; align-items: center; gap: 14px; }
.naa-site .naa-footer .foot-brand a { margin: 0; }
.naa-site .naa-footer nav { display: flex; flex-wrap: wrap; row-gap: 10px; }

@media (max-width: 1040px) {
  .naa-site .hero .naa-main.page-head { grid-template-columns: 1fr; padding: 56px 24px 80px; gap: 56px; }
  .naa-site .answer { width: min(100%, 380px); }
  .naa-site .block .frame { padding: 88px 24px; }
  .naa-site .story.three, .naa-site .res-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .naa-site .prompts { grid-template-columns: 1fr; }
  .naa-site .article-grid, .naa-site .form-wrap, .naa-site .report { grid-template-columns: 1fr; gap: 40px; }
  .naa-site .article-aside { position: static; }
}
@media (max-width: 640px) {
  .naa-site .story.three, .naa-site .res-grid.three { grid-template-columns: 1fr; }
  .naa-site .form { padding: 26px 20px; }
  .naa-site .field-row { grid-template-columns: 1fr; }
  .naa-site .prose p, .naa-site .prose li { font-size: 17px; }
}
@media (max-width: 480px) {
  .naa-site .hero .naa-main.page-head { padding: 40px 16px 64px; }
  .naa-site .block .frame { padding: 64px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .naa-site .answer { animation: none; }
  .naa-site .answer-a li, .naa-site .fx-stagger > * { opacity: 1; transform: none; transition: none; }
  .naa-site .mobile-menu.open, .naa-site .form.done .form-done { animation: none; }
  .naa-site .done-check path { stroke-dashoffset: 0; }
}

/* Decorative glows overflow these sections; clip (not just hide) so focus or
   scrollIntoView can never shift them sideways. */
.naa-site .hero, .naa-site .results, .naa-site .final, .naa-site .block.glow { overflow: clip; }
.naa-site .mobile-menu .mm-ctas .btn-ghost { display: block; }

/* Client logos in the marquee: full brand colour. Black and dark-grey parts of
   each file were turned light so they read on the dark strip. */
.naa-site .logo-item img { display: block; height: var(--h, 28px); width: auto; max-width: none; opacity: 0.85; transition: opacity 200ms ease, transform 200ms ease; }
.naa-site .logo-item:hover img { opacity: 1; transform: scale(1.04); }
@media (max-width: 860px) {
  .naa-site .logo-item img { height: calc(var(--h, 28px) * 0.82); }
}

/* =====================================================================
   v2 refinement layer (impeccable + scroll-craft passes)
   Same identity as v1: this block adds depth, browser surfaces, states and
   the motion system. Everything above stays as the v1 baseline.
   ===================================================================== */
html.naa-html {
  --e1: inset 0 1px 0 rgba(255,255,255,0.05), 0 1px 2px rgba(1,3,10,0.45);
  --e2: inset 0 1px 0 rgba(255,255,255,0.07), 0 22px 44px -26px rgba(1,4,16,0.95);
  --e3: inset 0 1px 0 rgba(255,255,255,0.09), 0 40px 80px -36px rgba(1,4,18,1);
}

/* Browser surfaces */
html.naa-html { color-scheme: dark; scrollbar-color: #263048 var(--bg); }
html.naa-html::selection, .naa-site::selection, .naa-site ::selection { background: rgba(37,99,235,0.6); color: #FFFFFF; }
html.naa-html::-webkit-scrollbar, .naa-site::-webkit-scrollbar, .naa-site ::-webkit-scrollbar { width: 12px; height: 12px; }
html.naa-html::-webkit-scrollbar-track, .naa-site::-webkit-scrollbar-track, .naa-site ::-webkit-scrollbar-track { background: var(--bg); }
html.naa-html::-webkit-scrollbar-thumb, .naa-site::-webkit-scrollbar-thumb, .naa-site ::-webkit-scrollbar-thumb { background: #222A3B; border-radius: 8px; border: 3px solid var(--bg); }
html.naa-html::-webkit-scrollbar-thumb:hover, .naa-site::-webkit-scrollbar-thumb:hover, .naa-site ::-webkit-scrollbar-thumb:hover { background: #33405C; }
.naa-site input, .naa-site textarea, .naa-site select { caret-color: var(--accent-soft); accent-color: var(--accent); }
.naa-site button:focus-visible, .naa-site summary:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 3px; }
.naa-site a { text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
.naa-site .card-num, .naa-site .res-num, .naa-site .mock-score b, .naa-site .report-table td, .naa-site .cal .s, .naa-site .mock-row .val { font-variant-numeric: tabular-nums; }

/* Type: balanced headings, no orphan words, dark-ground compensation */
.naa-site h1, .naa-site h2, .naa-site h3, .naa-site .layer-statement, .naa-site .note p.body.lead, .naa-site .cta-card h3 { text-wrap: balance; }
.naa-site p, .naa-site li, .naa-site blockquote { text-wrap: pretty; }
.naa-site .sub, .naa-site .statement p, .naa-site .numbers-side p, .naa-site .card-detail, .naa-site .svc-line, .naa-site .ind p, .naa-site .res p, .naa-site .faq-side p, .naa-site .final-head p { letter-spacing: 0.002em; }

/* Grain: a lit room, not a flat dark page */
/* Grain is drawn into the page background and the hero's shade layer (see the
   site-wide contour block), not a fixed overlay, so it never needs its own layer. */

/* Depth: edge light plus an offset, blurred shadow tinted to the canvas */
.naa-site .card, .naa-site .svc, .naa-site a.ind, .naa-site .res, .naa-site .mock, .naa-site .prompt, .naa-site .answer-a li { box-shadow: var(--e1); }
.naa-site .svc, .naa-site a.ind, .naa-site .res, .naa-site .card.edge, .naa-site .svc.edge { box-shadow: var(--e2); }
.naa-site .note, .naa-site .cta-card, .naa-site .form, .naa-site .answer { box-shadow: var(--e3); }

/* Pointer glow shared by every interactive card (was results-only in v1) */
.naa-site .svc, .naa-site a.ind { position: relative; overflow: hidden; isolation: isolate; }
.naa-site .svc::after, .naa-site a.ind::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(127,166,255,0.12), transparent 42%); opacity: 0; transition: opacity 250ms ease; pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .naa-site .svc:hover::after, .naa-site a.ind:hover::after { opacity: 1; }
}
@media (hover: none) {
  .naa-site .res:hover { transform: none; }
}

/* Controls: transitions, press feedback */
.naa-site .btn-primary, .naa-site .btn-white, .naa-site .btn-ghost { transition: background-color 160ms var(--ease-out), border-color 160ms var(--ease-out), transform 160ms var(--ease-out), box-shadow 220ms var(--ease-out); }
.naa-site .btn-primary { box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 12px 26px -14px rgba(37,99,235,0.85); }
.naa-site .btn-primary:active, .naa-site .btn-white:active, .naa-site .btn-ghost:active, .naa-site .menu-btn:active { transform: translateY(1px) scale(0.98); }
.naa-site .btn-link:active svg { transform: translateX(5px); }
.naa-site .qa button:active .pm { transform: scale(0.94); }
.naa-site .qa.open button:active .pm { transform: rotate(180deg) scale(0.94); }

/* ---------- Hero: depth planes and the opening sequence ---------- */
.naa-site .hero .phone { position: relative; z-index: 1; }
.naa-site .near-arcs { position: absolute; left: -30%; bottom: -12%; width: 90%; height: auto; z-index: 0; pointer-events: none; overflow: visible; opacity: 0.9; }
@keyframes v2-rise { from { opacity: 0; transform: translateY(0.5em); } to { opacity: 1; transform: none; } }
@keyframes v2-arrive { from { opacity: 0; scale: 0.93; } to { opacity: 1; scale: 1; } }
.js .naa-site .hero h1 .l1, .js .naa-site .hero h1 .l2, .js .naa-site .hero h1 .l3 { animation: v2-rise 900ms var(--ease-out) both; }
.js .naa-site .hero h1 .l1 { animation-delay: 60ms; }
.js .naa-site .hero h1 .l2 { animation-delay: 150ms; }
.js .naa-site .hero h1 .l3 { animation-delay: 240ms; }
.js .naa-site .hero .copy > :not(h1) { animation: v2-rise 800ms var(--ease-out) both 380ms; }
.js .naa-site .hero .copy > .crumbs, .js .naa-site .hero .copy > .lost { animation-delay: 0ms; }
.js .naa-site .hero .copy > .ctas { animation-delay: 470ms; }
.js .naa-site .hero .visual { animation: v2-arrive 1300ms var(--ease-out) both 220ms; }
.js .naa-site .hero .near-arcs { animation: v2-arrive 1500ms var(--ease-out) both 520ms; }

/* ---------- Layers: the page's peak ---------- */
@property --lift { syntax: '<length>'; inherits: false; initial-value: 0px; }
.naa-site .layers-track { height: 620vh; }
.naa-site .plate[data-plate="0"] { --k: 2; }
.naa-site .plate[data-plate="1"] { --k: 1; }
.naa-site .plate[data-plate="2"] { --k: 0; }
.naa-site .plate[data-plate="3"] { --k: -1; }
.naa-site .plate[data-plate="4"] { --k: -2; }
.naa-site .plate, .naa-site .plate.on {
  /* --spread pulls the plates apart on entry; --lock (final beat) slides every
     plate onto the middle one, so all five merge into a single plate. */
  --off: calc(var(--k) * 65 * (1 - var(--spread, 1) + var(--lock, 0)));
  transform: translateY(calc(var(--off) * 1px + var(--lift)));
  transition: opacity 420ms ease, --lift 560ms var(--ease-out);
}
.naa-site .plate.on { --lift: -16px; }
.naa-site .plate .top, .naa-site .plate .side { transition: fill 300ms ease, stroke 300ms ease; }
.naa-site .stack svg { transform: scale(calc(0.88 + 0.12 * var(--spread, 1) + 0.1 * var(--lock, 0))); transform-origin: 50% 50%; }
/* The merged plate glows: intensity follows the merge, so it builds as the layers meet */
.naa-site .stack.all svg { filter: drop-shadow(0 0 calc(var(--lock, 0) * 14px) rgba(160, 190, 255, calc(var(--lock, 0) * 0.85))) drop-shadow(0 0 calc(var(--lock, 0) * 44px) rgba(37, 99, 235, calc(var(--lock, 0) * 0.75))); }
.naa-site .stack.all .plate .top { fill: url(#dots-on); }
.naa-site .stack.locked .plate .top { stroke: #DCE7FF; stroke-width: 1.6; }
.naa-site .stack.locked .plate .side { stroke: rgba(170, 195, 255, 0.7); }
.naa-site .stack-glow {
  position: absolute; inset: 6% 0 10%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(37,99,235,0.55), rgba(37,99,235,0.18) 55%, rgba(37,99,235,0) 100%);
  opacity: var(--lock, 0); transform: scale(calc(0.7 + 0.5 * var(--lock, 0)));
}
.naa-site .stack.locked .stack-glow { animation: v2-lock 1100ms var(--ease-out) 1, v2-breathe 3.2s ease-in-out 1.1s infinite alternate; }
@keyframes v2-breathe { from { filter: brightness(1); } to { filter: brightness(1.4); } }
@keyframes v2-lock { 0% { filter: brightness(1); } 25% { filter: brightness(1.8); } 100% { filter: brightness(1); } }
.naa-site .stack:not(.assembled) .chip.on, .naa-site .stack.all .chip.on { opacity: 0; }
.naa-site .layer-final .layer-eyebrow { color: #FFFFFF; }
.naa-site .layer-final .layer-statement { font-size: clamp(28px, 2.9vw, 42px); }

/* Founder note: the quote mark lands with the card */
.js .naa-site .note .note-mark { opacity: 0; transform: translateY(14px) scale(0.7); transform-origin: 20% 80%; transition: opacity 600ms var(--ease-out) 200ms, transform 900ms var(--ease-out) 200ms; }
.js .naa-site .note.in .note-mark { opacity: 1; transform: none; }

/* Closing section: the site-wide contour layer now shows behind it (see below). */
.naa-site .final { isolation: isolate; }
.naa-site .final .frame { z-index: 1; }

/* Ambient loops stop when their section is off screen */
.naa-site .offscreen .blob, .naa-site .offscreen .breathe, .naa-site .offscreen .dash, .naa-site .offscreen .phone, .naa-site .offscreen .track, .naa-site .offscreen .answer, .naa-site .offscreen .caret { animation-play-state: paused; }

@media (max-width: 1040px) {
  .naa-site .near-arcs { left: -8%; bottom: -10%; width: 70%; }
  .naa-site .layers-track { height: 560vh; }
}
@media (prefers-reduced-motion: reduce) {
  .js .naa-site .fx, .js .naa-site .fx-stagger > * { opacity: 1; transform: none; transition: none; }
  .js .naa-site .hero h1 .l1, .js .naa-site .hero h1 .l2, .js .naa-site .hero h1 .l3, .js .naa-site .hero .copy > :not(h1), .js .naa-site .hero .visual, .js .naa-site .hero .near-arcs { animation: none; }
  .naa-site .plate, .naa-site .plate.on { transition: opacity 200ms ease; --lift: 0px; }
  .naa-site .stack svg { transform: none; }
  .naa-site .stack.locked .stack-glow { animation: none; }
  .js .naa-site .note .note-mark { opacity: 1; transform: none; transition: none; }
  .naa-site .btn-primary:active, .naa-site .btn-white:active, .naa-site .btn-ghost:active { transform: none; }
}


/* ---------- Hero phone: a live ChatGPT exchange ----------
   The chat sits inside the real phone image. Positions are percentages of the
   505x975 artwork and text is sized in container units, so it scales with the
   phone at every breakpoint. The screen colours are sampled from the image. */
.naa-site .phone { position: relative; container-type: inline-size; }
.naa-site .phone-img { display: block; width: 100%; height: auto; }
.naa-site .chat { display: none; position: absolute; inset: 0; pointer-events: none; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #ECECEC; -webkit-font-smoothing: antialiased; }
.js .naa-site .chat { display: block; }
.naa-site .chat-screen { position: absolute; left: 6.6%; right: 6.6%; top: 16.9%; bottom: 17.3%; background: #111111; overflow: hidden; }
.naa-site .chat-log { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 4.2cqw; padding: 3.6cqw 3.6cqw 2cqw; font-size: 3.85cqw; line-height: 1.45; transition: opacity 420ms ease; }
.naa-site .chat-log.fade { opacity: 0; }
.naa-site .chat-empty { margin: auto; padding-bottom: 6cqw; font-size: 5.4cqw; font-weight: 600; letter-spacing: -0.01em; color: #ECECEC; transition: opacity 240ms ease, transform 360ms var(--ease-out); }
.naa-site .chat-empty.out { opacity: 0; transform: translateY(-3cqw); }
.naa-site .msg-user { align-self: flex-end; max-width: 76%; padding: 2.5cqw 3.8cqw; border-radius: 4.8cqw; background: #2F2F2F; color: #ECECEC; opacity: 0; transform: translateY(3cqw) scale(0.96); transform-origin: 100% 100%; transition: opacity 260ms var(--ease-out), transform 460ms var(--ease-out); }
.naa-site .msg-user.in { opacity: 1; transform: none; }
.naa-site .msg-ai { display: flex; align-items: flex-start; gap: 2.6cqw; opacity: 0; transition: opacity 300ms ease; }
.naa-site .msg-ai.in { opacity: 1; }
.naa-site .ai-avatar { flex: none; width: 7.2cqw; height: 7.2cqw; border-radius: 50%; border: 1px solid #3A3A3A; display: grid; place-items: center; color: #ECECEC; }
.naa-site .ai-avatar svg { width: 58%; height: 58%; }
.naa-site .ai-body { flex: 1; min-width: 0; padding-top: 0.7cqw; }
.naa-site .think { display: inline-block; font-weight: 500; color: transparent; background: linear-gradient(90deg, #6E6E6E 0%, #6E6E6E 38%, #F4F4F4 50%, #6E6E6E 62%, #6E6E6E 100%); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; animation: chat-shimmer 1.5s linear infinite; }
@keyframes chat-shimmer { from { background-position: 100% 0; } to { background-position: -160% 0; } }
.naa-site .reply p { margin: 0 0 2.2cqw; }
.naa-site .reply ul { margin: 0; padding-left: 4.4cqw; display: flex; flex-direction: column; gap: 1.5cqw; }
.naa-site .reply li::marker { color: #ECECEC; }
.naa-site .reply b { font-weight: 650; color: #FFFFFF; }
.naa-site .reply .w { display: none; }
.naa-site .reply .w.on { display: inline; animation: chat-word 220ms ease both; }
.naa-site .reply li { display: none; }
.naa-site .reply li.on { display: list-item; }
@keyframes chat-word { from { opacity: 0; } to { opacity: 1; } }
.naa-site .stream-dot { display: inline-block; width: 2.3cqw; height: 2.3cqw; margin-left: 1cqw; border-radius: 50%; background: #ECECEC; vertical-align: -0.1em; animation: chat-pulse 900ms ease-in-out infinite; }
@keyframes chat-pulse { 0%, 100% { transform: scale(0.75); opacity: 0.7; } 50% { transform: scale(1); opacity: 1; } }
.naa-site .chat-input { position: absolute; left: 20.4%; width: 60%; top: 84.3%; height: 4.9%; display: flex; align-items: center; background: #2D2D2D; font-size: 3.85cqw; color: #ECECEC; white-space: nowrap; overflow: hidden; opacity: 0; transition: opacity 140ms ease; }
.naa-site .chat-input.typing { opacity: 1; }
.naa-site .chat-field { flex: 1; min-width: 0; height: 100%; display: flex; align-items: center; overflow: hidden; }
.naa-site .chat-typed { flex: none; }
.naa-site .chat-input.scrolled .chat-field { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%); mask-image: linear-gradient(90deg, transparent 0, #000 14%); }
.naa-site .chat-caret { flex: none; width: 1.5px; height: 1.15em; margin-left: 1px; background: #ECECEC; animation: blink 1s steps(1) infinite; }
.naa-site .chat-send { position: absolute; left: 81%; top: 84.6%; width: 8.2%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: #ECECEC; color: #111111; opacity: 0; transform: scale(0.7); transition: opacity 160ms ease, transform 220ms var(--ease-out); }
.naa-site .chat-send svg { width: 56%; height: 56%; }
.naa-site .chat-send.ready { opacity: 1; transform: none; }
.naa-site .chat-send.press { transform: scale(0.86); }
.naa-site .offscreen .think, .naa-site .offscreen .stream-dot, .naa-site .offscreen .chat-caret { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .naa-site .think, .naa-site .stream-dot, .naa-site .chat-caret { animation: none; }
  .naa-site .think { color: #9A9A9A; background: none; }
  .naa-site .msg-user, .naa-site .msg-ai, .naa-site .chat-empty { transition: none; }
  .naa-site .reply .w.on { animation: none; }
}

/* Hero phone stands upright and still (no tilt, no bobbing) */
.naa-site .hero .phone { transform: none; animation: none; }

/* ---------- First screen: hero + logo strip together (homepage, desktop) ----------
   The hero takes the viewport minus the strip, so the client logos are visible
   on load. --strip is measured by site.js; 136px is the fallback. The phone
   sizes from the height left over so the hero never overflows. */
.naa-site .clients .frame { padding: 26px 0 30px; gap: 18px; }
@media (min-width: 1041px) {
  .naa-site .hero.home, .naa-site .hero.home > .frame { min-height: calc(100svh - var(--strip, 136px)); }
  .naa-site .hero.home .naa-main { padding-top: clamp(20px, 3.5vh, 56px); padding-bottom: clamp(24px, 4.5vh, 64px); }
  .naa-site .hero.home .phone { width: min(100%, 360px, max(220px, calc((100svh - var(--strip, 136px) - 190px) * 0.518))); }
}

/* ---------- Homepage: split section, pinned copy left, stat cards right ----------
   The headings and paragraphs pin on the left while the four stat cards scroll
   by, stacked, on the right. Partway down, "Your buyers are asking" lifts away
   and "We make your brand easy to find" rises into the same spot. The sample
   report button never moves. Both states share one grid cell so nothing shifts.
   --swap (0 to 1) comes from site.js. Without JS both pairs simply stack. */
.naa-site .split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.naa-site .split-left { position: sticky; top: max(96px, 16vh); display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.naa-site .split-title { margin: 0; font-family: 'Inter Tight', Inter, sans-serif; font-weight: 600; font-size: clamp(34px, 3.6vw, 54px); line-height: 1.08; letter-spacing: -0.035em; }
.naa-site .split-title .soft { color: var(--accent-soft); }
.naa-site .split-copy { margin: 0; font-size: 18px; line-height: 1.65; color: var(--body); max-width: 520px; }
.naa-site .split-btn { margin-top: 8px; }
.naa-site .story.split-cards { grid-template-columns: 1fr; gap: 20px; }
.js .naa-site .swap-slot { display: grid; }
.js .naa-site .swap-slot > * { grid-area: 1 / 1; }
.js .naa-site .swap-a, .js .naa-site .swap-b { will-change: opacity, transform; }
.js .naa-site .swap-a { opacity: calc(1 - var(--swap, 0)); transform: translateY(calc(var(--swap, 0) * -28px)); }
.js .naa-site .swap-b { opacity: var(--swap, 0); transform: translateY(calc((1 - var(--swap, 0)) * 28px)); }
.js .naa-site .split.swapped .swap-a, .js .naa-site .split:not(.swapped) .swap-b { pointer-events: none; }
html:not(.js) .naa-site .split-title.swap-b { margin-top: 32px; }

/* Phones and small tablets: one column, read top to bottom. The first heading,
   paragraph and button, then the cards, then the "easy to find" statement. */
@media (max-width: 1040px) {
  .naa-site .split { grid-template-columns: 1fr; gap: 20px; }
  .naa-site .split-left, .js .naa-site .split .swap-slot { display: contents; }
  .js .naa-site .split .swap-slot > * { grid-area: auto; }
  .naa-site .split .swap-a, .naa-site .split .swap-b { opacity: 1; transform: none; filter: none; }
  .naa-site .split-title.swap-a { order: 1; }
  .naa-site .split-copy.swap-a { order: 2; }
  .naa-site .split-btn { order: 3; justify-self: start; margin-top: 4px; }
  .naa-site .split-cards { order: 4; margin-top: 28px; }
  .naa-site .split-title.swap-b { order: 5; margin-top: 48px; }
  .naa-site .split-copy.swap-b { order: 6; }
}
@media (prefers-reduced-motion: reduce) {
  .js .naa-site .swap-a, .js .naa-site .swap-b { transform: none; filter: none; }
}



/* ---------- Founder note: real photo and a signature-style name ---------- */
.naa-site .avatar-photo { width: 92px; height: 92px; padding: 0; object-fit: cover; object-position: 50% 18%; background: #0E1528; border: 1px solid rgba(127,166,255,0.45); box-shadow: 0 0 0 4px rgba(37,99,235,0.14), 0 16px 32px -14px rgba(1,4,16,0.9); }
.naa-site .signoff { gap: 22px; }
/* Signature: Homemade Apple reads like a real ballpoint signature (natural,
   legible, unfussy). The hand-drawn underline is sized to the name. */
.naa-site .sig { font-family: 'Homemade Apple', 'Segoe Script', cursive; font-weight: 400; font-size: 27px; line-height: 1.55; letter-spacing: 0.01em; color: #FFFFFF; padding: 0; }
.naa-site .signoff svg { display: block; width: 118px; height: 8px; margin-top: 0; }
.naa-site .sig-role { margin-top: 8px; }
@media (max-width: 640px) {
  .naa-site .avatar-photo { width: 76px; height: 76px; }
  .naa-site .sig { font-size: 24px; }
}


/* ---------- Site-wide contour field ----------
   One fixed layer of the hero's contour lines sits behind every page, slowly
   turning and breathing, and drifting a little with scroll. Section grounds are
   slightly see-through so it shows softly behind everything. The hero keeps its
   own contours and covers this layer; site.js pauses it while the hero fills the
   screen, and on phones it holds still. */
html.naa-html { background: var(--bg); }
.naa-site { background: transparent; }
.naa-site .site-contours { position: fixed; left: 0; right: 0; top: -90px; width: 100%; height: calc(100% + 180px); z-index: -1; pointer-events: none; opacity: 0.72; }
.naa-site .site-contours.paused .blob, .naa-site .site-contours.paused .breathe, .naa-site .site-contours.paused .dash { animation-play-state: paused; }
.naa-site .clients, .naa-site .layers, .naa-site .results, .naa-site .faq, .naa-site .block, .naa-site .statement, .naa-site .naa-footer { background: rgba(5, 6, 8, 0.6); }
.naa-site .services, .naa-site .industries, .naa-site .founder, .naa-site .final, .naa-site .block.alt { background: rgba(6, 9, 18, 0.6); }
.naa-site .numbers { background: linear-gradient(180deg, rgba(5, 6, 8, 0.6) 0%, rgba(6, 9, 18, 0.6) 100%); }
@media (max-width: 760px) {
  .naa-site .site-contours .blob, .naa-site .site-contours .breathe, .naa-site .site-contours .dash { animation: none; }
}


/* ---------- Industry cards: drawn icons, one stroke weight ---------- */
.naa-site .ind-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px; border-radius: 12px; color: var(--accent-soft); background: rgba(37, 99, 235, 0.14); border: 1px solid rgba(127, 166, 255, 0.28); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); transition: color 200ms var(--ease-out), background-color 200ms var(--ease-out), border-color 200ms var(--ease-out), transform 260ms var(--ease-out); }
.naa-site .ind-icon svg { width: 22px; height: 22px; }
.naa-site .ind.soon .ind-icon { color: var(--muted); background: transparent; border-style: dashed; border-color: rgba(255, 255, 255, 0.16); box-shadow: none; }
@media (hover: hover) and (pointer: fine) {
  .naa-site a.ind:hover .ind-icon { color: #FFFFFF; background: rgba(37, 99, 235, 0.32); border-color: rgba(127, 166, 255, 0.6); transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  .naa-site a.ind:hover .ind-icon { transform: none; }
}
/* Six industries as two full rows of three on desktop (was 4 + 2) */
@media (min-width: 1041px) {
  .naa-site .ind-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}


/* ---------- Flicker fixes ----------
   1. The phone's drop shadow lives on the static image, not on the wrapper that
      holds the live chat, so typing and streaming no longer re-render the phone
      and its 70px shadow on every update.
   Background planes move in whole pixels on scroll only (see site.js), so thin
      lines never land between pixels. */
.naa-site .hero .phone { filter: none; }
.naa-site .hero .phone-img { filter: drop-shadow(0 0 1px rgba(255,255,255,0.35)) drop-shadow(0 40px 70px rgba(0,0,0,0.6)); }
.naa-site .hero .chat { contain: layout paint; }
/* No will-change on the full-screen planes: their contours animate internally,
   so a GPU layer would be re-rasterised every frame and Chrome would drop tiles
   (the whole-hero blink). They stay in normal paint. */


/* ---------- Results card: supporting stats row (Waterdrop) ---------- */
.naa-site .res-stats { list-style: none; margin: -6px 0 20px; padding: 12px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 14px; border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 13px; color: var(--muted); }
.naa-site .res-stats li { display: flex; flex-direction: column; gap: 2px; }
.naa-site .res-stats b { font-family: 'Inter Tight', Inter, sans-serif; font-size: 17px; font-weight: 600; color: #FFFFFF; font-variant-numeric: tabular-nums; }
.naa-site .res-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .naa-site .res-grid.two { grid-template-columns: 1fr; } }

/* Header: buttons never wrap; tighten the links on narrow laptops so the longer
   "Free AI visibility report" label fits beside them */
.naa-site .nav-cta a { white-space: nowrap; }
@media (min-width: 861px) and (max-width: 1000px) {
  .naa-site .naa-nav, .naa-site .naa-footer nav { gap: 16px; }
  .naa-site .nav-links { gap: 20px; font-size: 15px; }
}


/* ---------- Grain ----------
   A small pre-rendered noise image (no live SVG filter), only behind the content
   sections. The hero gets no grain: its contour dashes repaint every frame, and
   re-rendering a noise filter over them on each frame made Chrome blink the
   whole hero. */
html.naa-html { background-color: var(--bg); background-image: url("img/grain.png"); background-size: 160px 160px; }



/* Sample report card: mention counts per AI engine */
.naa-site .mock-sum { margin: -4px 0 2px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.naa-site .mock-sum b { color: #FFFFFF; font-weight: 600; }
.naa-site .mock-row .val { flex: none; min-width: 42px; text-align: right; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; color: #C9CED8; font-variant-numeric: tabular-nums; }


/* ---------- Brand: Stack logo ----------
   Header mark is the small solid-plate version (it's under 40px); "revyve" stays
   live text in Inter Tight, tracked like the logo master (-0.04em). */
.naa-site .logo { gap: 9px; }
.naa-site .logo .logo-mark { display: block; flex: none; }
.naa-site .logo span { letter-spacing: -0.04em; }


/* ---------- Header stays painted ----------
   The header gets its own small, permanent GPU layer, so Chrome never folds it
   into the big background layers (and never drops its pixels when you scroll
   back to the top). It never animates, so this layer is drawn once. The
   site-wide contour layer underneath drifts paint-only (see site.js). */
.naa-site .naa-header { will-change: transform; }


/* ---------- Headline colour ----------
   The second voice in every headline is the accent blue (same as "research
   before they buy."), not grey. The home hero is the exception: "showing up in"
   is white like the first line, and the rotating ChatGPT / Perplexity word
   carries the blue. */
.naa-site .hero.home h1 .l2 { color: inherit; }


/* =====================================================================
   Astra neutralisation (CONTRACT section 2). Appended by tools/port-css.mjs.
   Every value here is either the design's own value or the browser default
   the design relies on, so these rules are invisible outside Astra and only
   cancel what the theme adds. No important flags anywhere. Specificities are
   chosen so that every ported component rule (at least two classes) still
   wins; see build/PORT-REPORT.md for the table.
   ===================================================================== */

/* 1. Astra caps every direct child of a block at the content width:
      .ast-page-builder-template .entry-content[data-ast-blocks-layout] > :not(.wp-block-group) > * (0,4,0).
      Section children are unconstrained (background planes, pinned stages); the frame keeps 1360px. */
.naa-site.ast-page-builder-template .entry-content[data-ast-blocks-layout] > .hero > *,
.naa-site .entry-content[data-ast-blocks-layout] > .hero > *,
.naa-site.ast-page-builder-template .entry-content[data-ast-blocks-layout] > .clients > *,
.naa-site .entry-content[data-ast-blocks-layout] > .clients > *,
.naa-site.ast-page-builder-template .entry-content[data-ast-blocks-layout] > .numbers > *,
.naa-site .entry-content[data-ast-blocks-layout] > .numbers > *,
.naa-site.ast-page-builder-template .entry-content[data-ast-blocks-layout] > .services > *,
.naa-site .entry-content[data-ast-blocks-layout] > .services > *,
.naa-site.ast-page-builder-template .entry-content[data-ast-blocks-layout] > .layers > *,
.naa-site .entry-content[data-ast-blocks-layout] > .layers > *,
.naa-site.ast-page-builder-template .entry-content[data-ast-blocks-layout] > .industries > *,
.naa-site .entry-content[data-ast-blocks-layout] > .industries > *,
.naa-site.ast-page-builder-template .entry-content[data-ast-blocks-layout] > .results > *,
.naa-site .entry-content[data-ast-blocks-layout] > .results > *,
.naa-site.ast-page-builder-template .entry-content[data-ast-blocks-layout] > .founder > *,
.naa-site .entry-content[data-ast-blocks-layout] > .founder > *,
.naa-site.ast-page-builder-template .entry-content[data-ast-blocks-layout] > .faq > *,
.naa-site .entry-content[data-ast-blocks-layout] > .faq > *,
.naa-site.ast-page-builder-template .entry-content[data-ast-blocks-layout] > .final > *,
.naa-site .entry-content[data-ast-blocks-layout] > .final > *,
.naa-site.ast-page-builder-template .entry-content[data-ast-blocks-layout] > .statement > *,
.naa-site .entry-content[data-ast-blocks-layout] > .statement > *,
.naa-site.ast-page-builder-template .entry-content[data-ast-blocks-layout] > .block > *,
.naa-site .entry-content[data-ast-blocks-layout] > .block > * { max-width: none; }
.naa-site.ast-page-builder-template .entry-content[data-ast-blocks-layout] > .hero > .frame,
.naa-site .entry-content[data-ast-blocks-layout] > .hero > .frame,
.naa-site.ast-page-builder-template .entry-content[data-ast-blocks-layout] > .clients > .frame,
.naa-site .entry-content[data-ast-blocks-layout] > .clients > .frame,
.naa-site.ast-page-builder-template .entry-content[data-ast-blocks-layout] > .numbers > .frame,
.naa-site .entry-content[data-ast-blocks-layout] > .numbers > .frame,
.naa-site.ast-page-builder-template .entry-content[data-ast-blocks-layout] > .services > .frame,
.naa-site .entry-content[data-ast-blocks-layout] > .services > .frame,
.naa-site.ast-page-builder-template .entry-content[data-ast-blocks-layout] > .layers > .frame,
.naa-site .entry-content[data-ast-blocks-layout] > .layers > .frame,
.naa-site.ast-page-builder-template .entry-content[data-ast-blocks-layout] > .industries > .frame,
.naa-site .entry-content[data-ast-blocks-layout] > .industries > .frame,
.naa-site.ast-page-builder-template .entry-content[data-ast-blocks-layout] > .results > .frame,
.naa-site .entry-content[data-ast-blocks-layout] > .results > .frame,
.naa-site.ast-page-builder-template .entry-content[data-ast-blocks-layout] > .founder > .frame,
.naa-site .entry-content[data-ast-blocks-layout] > .founder > .frame,
.naa-site.ast-page-builder-template .entry-content[data-ast-blocks-layout] > .faq > .frame,
.naa-site .entry-content[data-ast-blocks-layout] > .faq > .frame,
.naa-site.ast-page-builder-template .entry-content[data-ast-blocks-layout] > .final > .frame,
.naa-site .entry-content[data-ast-blocks-layout] > .final > .frame,
.naa-site.ast-page-builder-template .entry-content[data-ast-blocks-layout] > .statement > .frame,
.naa-site .entry-content[data-ast-blocks-layout] > .statement > .frame,
.naa-site.ast-page-builder-template .entry-content[data-ast-blocks-layout] > .block > .frame,
.naa-site .entry-content[data-ast-blocks-layout] > .block > .frame { max-width: 1360px; }

/* 2. Astra wrappers around our blocks: no ground (the fixed contour layer must show through), no spacing. */
.naa-site #page, .naa-site #content, .naa-site .site-content, .naa-site .ast-container, .naa-site #primary, .naa-site main#main,
.naa-site .ast-article-single, .naa-site .entry-content { background: transparent; }
.naa-site .site-content .ast-container { max-width: 100%; padding: 0; }
.naa-site #primary { width: 100%; flex: 1 1 100%; min-width: 0; margin: 0; padding: 0; }
.naa-site main#main, .naa-site .ast-article-single, .naa-site .entry-content, .naa-site .entry-header { margin: 0; padding: 0; max-width: none; }
.naa-site .entry-content > .hero,
.naa-site .entry-content > .clients,
.naa-site .entry-content > .numbers,
.naa-site .entry-content > .services,
.naa-site .entry-content > .layers,
.naa-site .entry-content > .industries,
.naa-site .entry-content > .results,
.naa-site .entry-content > .founder,
.naa-site .entry-content > .faq,
.naa-site .entry-content > .final,
.naa-site .entry-content > .statement,
.naa-site .entry-content > .block { margin-top: 0; margin-bottom: 0; }

/* 3. Body: Astra's line-height 1.6 and the Customizer font size. The design's body has line-height normal and 16px. */
html.naa-html { font-size: 100%; }
.naa-site { line-height: normal; font-size: 1rem; }

/* 4. Elements Astra styles by type. Values are the browser defaults the design inherits; every design rule
      for these elements carries at least two classes and keeps winning. */
.naa-site p { font-size: inherit; line-height: inherit; color: inherit; }
.naa-site h2, .naa-site h3, .naa-site h4, .naa-site h5, .naa-site h6 { line-height: normal; }
.naa-site h1, .naa-site h2, .naa-site h3, .naa-site h4, .naa-site h5, .naa-site h6 { margin: 0; }
.naa-site .entry-content h1, .naa-site .entry-content h2, .naa-site .entry-content h3, .naa-site .entry-content h4,
.naa-site .entry-content h5, .naa-site .entry-content h6 { color: inherit; }
.naa-site .entry-content .qa h3 { line-height: normal; }
.naa-site ul, .naa-site ol { margin: 0; padding: 0; }
.naa-site li { margin: 0; padding: 0; }
.naa-site blockquote { margin: 0; padding: 0; border: 0; background: transparent; font-style: normal; font-size: inherit; color: inherit; quotes: none; }
.naa-site table { margin: 0; border: 0; }
.naa-site th, .naa-site td { border: 0; }
.naa-site a { text-decoration-line: underline; }
.naa-site button { line-height: normal; letter-spacing: normal; text-transform: none; }
.naa-site input, .naa-site textarea, .naa-site select { line-height: normal; }

/* 5. Every margin the design sets, once more with the .entry-content ancestor (one extra class for all of
      them, so the design's own order among margin rules is unchanged) so that no Astra .entry-content p / h2 /
      ul / li margin can outrank a component inside a page. Generated from the port above. */
.naa-site .entry-content .sr {
    margin: -1px
}
.naa-site .entry-content .frame {
    margin: 0 auto
}
.naa-site .entry-content h1 {
    margin: 0
}
.naa-site .entry-content .caret {
    margin-left: 0.06em
}
.naa-site .entry-content .sub {
    margin: 0
}
.naa-site .entry-content .clients-label {
    margin: 0
}
.naa-site .entry-content .logo-item {
    margin-right: 80px
}
.naa-site .entry-content .statement h2 {
    margin: 0
}
.naa-site .entry-content .statement p {
    margin: 0
}
.naa-site .entry-content .numbers-head h2 {
    margin: 0
}
.naa-site .entry-content .numbers-side p {
    margin: 0
}
.naa-site .entry-content .story {
    margin: 0
}
.naa-site .entry-content .card-num {
    margin-top: 18px
}
.naa-site .entry-content .card-label {
    margin: 0
}
.naa-site .entry-content .card-detail {
    margin: 0
}
.naa-site .entry-content .card-source {
    margin-top: auto
}
.naa-site .entry-content .layers-title h2 {
    margin: 0
}
.naa-site .entry-content .layer-statement {
    margin: 0
}
.naa-site .entry-content .layer-dots {
    margin-top: 8px
}
.naa-site .entry-content .stack {
    margin: 0 auto
}
.naa-site .entry-content .chip i::after {
    margin: 24px 0 0 -2px
}
.naa-site .entry-content .ind-grid {
    margin: 0
}
.naa-site .entry-content .ind h3 {
    margin: 0 0 10px
}
.naa-site .entry-content .ind p {
    margin: 0
}
.naa-site .entry-content .ind-arrow {
    margin-top: 4px
}
@media (max-width: 640px) {
    .naa-site .entry-content .chip i::after {
        margin-top: 16px
    }
}
.naa-site .entry-content .res-grid {
    margin: 0
}
.naa-site .entry-content .res-logo {
    margin-bottom: 26px
}
.naa-site .entry-content .res .res-metric {
    margin: 12px 0 20px
}
.naa-site .entry-content .res h3 {
    margin: 0 0 8px
}
.naa-site .entry-content .res p {
    margin: 0
}
.naa-site .entry-content .res-site {
    margin-top: auto
}
.naa-site .entry-content .note {
    margin: 0 auto
}
.naa-site .entry-content .note-eyebrow {
    margin: 0 0 22px
}
.naa-site .entry-content .note p.body {
    margin: 0 0 18px
}
.naa-site .entry-content .signoff {
    margin-top: 34px
}
.naa-site .entry-content .sig-role {
    margin-top: 4px
}
.naa-site .entry-content .faq-side h2 {
    margin: 0
}
.naa-site .entry-content .faq-side p {
    margin: 0
}
.naa-site .entry-content .qa .ans p {
    margin: 0
}
.naa-site .entry-content .final-head h2 {
    margin: 0 auto
}
.naa-site .entry-content .final-head p {
    margin: 18px auto 0
}
.naa-site .entry-content .cta-card h3 {
    margin: 0
}
.naa-site .entry-content .cta-card p {
    margin: 0
}
.naa-site .entry-content .cta-actions {
    margin-top: auto
}
.naa-site .entry-content .svc-grid {
    margin: 0
}
.naa-site .entry-content .svc h3 {
    margin: 0
}
.naa-site .entry-content .svc-line {
    margin: 0
}
.naa-site .entry-content .svc ul {
    margin: 0
}
.naa-site .entry-content .svc li svg {
    margin-top: 3px
}
.naa-site .entry-content .svc-out {
    margin: 0;
    margin-top: auto
}
.naa-site .entry-content .svc-proof {
    margin: 0
}
@media (max-width: 860px) {
    .naa-site .entry-content .logo-item {
        margin-right: 56px
    }
}
.naa-site .entry-content .mobile-menu .mm-ctas {
    margin-top: 10px
}
.naa-site .entry-content .crumbs {
    margin: 0
}
.naa-site .entry-content .crumbs li + li::before {
    margin-right: 10px
}
.naa-site .entry-content .answer-a > p {
    margin: 0 0 12px
}
.naa-site .entry-content .answer-a ol {
    margin: 0
}
.naa-site .entry-content .answer-a li.you .badge {
    margin-left: auto
}
.naa-site .entry-content .block h2.title {
    margin: 0
}
.naa-site .entry-content .card .card-icon {
    margin-top: 6px
}
.naa-site .entry-content .card h3 {
    margin: 0
}
.naa-site .entry-content .prompts {
    margin: 0
}
.naa-site .entry-content .prompt svg {
    margin-top: 3px
}
.naa-site .entry-content .post-meta {
    margin-top: auto
}
.naa-site .entry-content .prose > :first-child {
    margin-top: 0
}
.naa-site .entry-content .prose h2 {
    margin: 52px 0 16px
}
.naa-site .entry-content .prose h3 {
    margin: 34px 0 10px
}
.naa-site .entry-content .prose p {
    margin: 0 0 20px
}
.naa-site .entry-content .prose ul, .naa-site .entry-content .prose ol {
    margin: 0 0 22px
}
.naa-site .entry-content .prose li {
    margin-bottom: 8px
}
.naa-site .entry-content .prose blockquote {
    margin: 32px 0
}
.naa-site .entry-content .prose .note-box {
    margin: 32px 0
}
.naa-site .entry-content .prose .note-box p {
    margin: 0
}
.naa-site .entry-content .form h2 {
    margin: 0
}
.naa-site .entry-content .form-done p {
    margin: 0
}
.naa-site .entry-content .checklist {
    margin: 0
}
.naa-site .entry-content .checklist li svg {
    margin-top: 4px
}
.naa-site .entry-content .report .mock h3 {
    margin: 0
}
.naa-site .entry-content .fixes {
    margin: 0
}
.naa-site .entry-content .chat-empty {
    margin: auto
}
.naa-site .entry-content .reply p {
    margin: 0 0 2.2cqw
}
.naa-site .entry-content .reply ul {
    margin: 0
}
.naa-site .entry-content .stream-dot {
    margin-left: 1cqw
}
.naa-site .entry-content .chat-caret {
    margin-left: 1px
}
.naa-site .entry-content .split-title {
    margin: 0
}
.naa-site .entry-content .split-copy {
    margin: 0
}
.naa-site .entry-content .split-btn {
    margin-top: 8px
}
html:not(.js) .naa-site .entry-content .split-title.swap-b {
    margin-top: 32px
}
@media (max-width: 1040px) {
    .naa-site .entry-content .split-btn {
        margin-top: 4px
    }
    .naa-site .entry-content .split-cards {
        margin-top: 28px
    }
    .naa-site .entry-content .split-title.swap-b {
        margin-top: 48px
    }
}
.naa-site .entry-content .signoff svg {
    margin-top: 0
}
.naa-site .entry-content .sig-role {
    margin-top: 8px
}
.naa-site .entry-content .ind-icon {
    margin-bottom: 20px
}
.naa-site .entry-content .res-stats {
    margin: -6px 0 20px
}
.naa-site .entry-content .mock-sum {
    margin: -4px 0 2px
}


/* =====================================================================
   Chrome rules (header dropdown, brand mark, footer grid, contact form states): build/assets/chrome.css,
   appended by tools/port-css.mjs so design.css alone styles the chrome. Concatenating chrome.css again is
   harmless (identical rules).
   ===================================================================== */
/* chrome.css: the few rules the WordPress chrome needs beyond the ported design (CONTRACT sections 4 and 5).
   Scoped under .naa-site like the port. Loaded after design.css (tools/port-css.mjs appends this file to
   design.css; concatenating it again in global.css is harmless). Plain hyphens only. */

/* ---------- Brand mark (build/assets/brand-mark.svg, inline in the header and the footer) ---------- */
.naa-site .logo-mark { display: block; flex: none; width: 28px; height: 28px; overflow: visible; }
.naa-site .logo-mark .lens-b { mix-blend-mode: screen; }

/* ---------- Header dropdown: .nav-item.has-sub > a + .sub-toggle + .nav-sub ---------- */
.naa-site .nav-links { align-items: center; }
.naa-site .nav-item { position: relative; display: flex; align-items: center; gap: 6px; }
.naa-site .nav-item.has-sub > a { position: relative; }
.naa-site .sub-toggle { width: 22px; height: 22px; padding: 0; margin: 0; border: 0; border-radius: 6px; background: transparent; color: var(--nav); cursor: pointer; display: inline-grid; place-items: center; line-height: normal; }
.naa-site .sub-toggle::before { content: ""; display: block; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 200ms var(--ease-out); }
.naa-site .sub-toggle:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 2px; }
.naa-site .nav-item.has-sub.open > .sub-toggle, .naa-site .nav-item.has-sub:focus-within:not(.closed) > .sub-toggle { color: #FFFFFF; }
.naa-site .nav-item.has-sub.open > .sub-toggle::before, .naa-site .nav-item.has-sub:focus-within:not(.closed) > .sub-toggle::before { transform: translateY(2px) rotate(225deg); }
.naa-site .nav-sub { display: none; position: absolute; left: -12px; top: calc(100% + 12px); z-index: 30; min-width: 268px; flex-direction: column; gap: 2px; padding: 10px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.12); background: rgba(8,10,16,0.96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 30px 60px rgba(0,0,0,0.6); }
.naa-site .nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.naa-site .nav-item.has-sub.open > .nav-sub, .naa-site .nav-item.has-sub:focus-within:not(.closed) > .nav-sub { display: flex; animation: menu-in 220ms cubic-bezier(.2,.75,.2,1); }
@media (hover: hover) {
  .naa-site .nav-item.has-sub:hover > .nav-sub { display: flex; animation: menu-in 220ms cubic-bezier(.2,.75,.2,1); }
  .naa-site .nav-item.has-sub:hover > .sub-toggle { color: #FFFFFF; }
  .naa-site .nav-item.has-sub:hover > .sub-toggle::before { transform: translateY(2px) rotate(225deg); }
}
.naa-site .nav-links .nav-sub a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 15px; font-weight: 500; line-height: normal; color: var(--nav); text-decoration: none; white-space: nowrap; }
.naa-site .nav-links .nav-sub a:hover, .naa-site .nav-links .nav-sub a:focus-visible { color: #FFFFFF; background: rgba(255,255,255,0.05); }
.naa-site .nav-links .nav-sub a[aria-current="page"] { color: #FFFFFF; background: rgba(255,255,255,0.05); }
.naa-site .nav-links .nav-sub a[aria-current="page"]::after { display: none; }
@media (prefers-reduced-motion: reduce) {
  .naa-site .nav-item.has-sub.open > .nav-sub, .naa-site .nav-item.has-sub:focus-within:not(.closed) > .nav-sub, .naa-site .nav-item.has-sub:hover > .nav-sub { animation: none; }
  .naa-site .sub-toggle::before { transition: none; }
}
@media (max-width: 860px) {
  .naa-site .nav-item { display: none; }
}
/* Phones: the live brand name and the long white button do not fit beside the burger under 640px (the design's
   header was sized for "revyve" and "Book a call"). The white button is also in the mobile menu, so it is hidden
   in the bar and the brand name steps down. Keyed to the live header (its logo aria-label from CONTRACT section 4)
   so the design's own pages are not changed. */
@media (max-width: 640px) {
  .naa-site .naa-nav .logo[aria-label="n8n Automation Agency home"] ~ .nav-cta .btn-white { display: none; }
  .naa-site .naa-nav .logo[aria-label="n8n Automation Agency home"] span { font-size: 20px; }
}
@media (max-width: 400px) {
  .naa-site .naa-nav .logo[aria-label="n8n Automation Agency home"] span { font-size: 18px; }
}

/* ---------- Mobile menu: child links indented under their parent ---------- */
.naa-site .naa-header .mobile-menu a.sub { font-size: 18px; font-weight: 500; padding: 9px 10px 9px 28px; color: var(--muted); }
.naa-site .naa-header .mobile-menu a.sub:hover, .naa-site .naa-header .mobile-menu a.sub[aria-current="page"] { color: #FFFFFF; }
/* The live menu (eight links and two buttons) is taller than a short inner hero, and the design clips the hero
   (overflow: clip). While the menu is open the hero stops clipping and rises above the next section, the body
   hides the horizontal overflow the hero's halos may now produce (it propagates to the viewport, so sticky
   elements keep working), and the panel scrolls inside the viewport. Nothing changes while the menu is closed. */
@media (max-width: 860px) {
  .naa-site .naa-header .mobile-menu { max-height: calc(100vh - 100px); max-height: calc(100svh - 100px); overflow-y: auto; }
  .naa-site .hero:has(.mobile-menu.open) { overflow: visible; z-index: 30; }
  .naa-site:has(.mobile-menu.open) { overflow-x: hidden; }
}

/* ---------- Footer: brand column plus three link columns, then the design's old row ----------
   The design's footer .frame (a wrapping row, 36px 72px, 14px muted) is kept as it is; .foot-grid and .foot-row
   are full-width items inside it, so they stack. */
.naa-site .naa-footer .foot-grid { width: 100%; flex: 1 1 100%; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 28px 0 24px; }
.naa-site .naa-footer .foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.naa-site .naa-footer .foot-brand .logo { color: #FFFFFF; margin: 0; }
.naa-site .naa-footer .foot-brand p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 360px; }
.naa-site .naa-footer .foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.naa-site .naa-footer .foot-col h2 { margin: 0 0 6px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 500; font-size: 13px; line-height: normal; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.naa-site .naa-footer .foot-col a { display: block; margin: 0; font-size: 15px; line-height: 1.4; color: var(--nav); text-decoration: none; }
.naa-site .naa-footer .foot-col a:hover { color: #FFFFFF; }
.naa-site .naa-footer .foot-row { width: 100%; flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; row-gap: 20px; padding-top: 28px; border-top: 1px solid var(--line); }
.naa-site .naa-footer .foot-row nav { display: flex; flex-wrap: wrap; row-gap: 10px; }
@media (max-width: 1040px) {
  .naa-site .naa-footer .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px 32px; padding: 20px 0 16px; }
}
@media (max-width: 640px) {
  .naa-site .naa-footer .foot-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Contact form states (CONTRACT section 5): done heading, error line, sending ---------- */
.naa-site .form .form-done h3 { margin: 0; font-family: 'Inter Tight', Inter, sans-serif; font-weight: 600; font-size: 28px; line-height: normal; letter-spacing: -0.025em; color: #FFFFFF; }
.naa-site .form .form-error { margin: 0; font-size: 14px; line-height: 1.5; color: #FCA5A5; }
.naa-site .form .form-error[hidden] { display: none; }
.naa-site .form.sending button.btn-primary { opacity: 0.7; cursor: progress; }
.naa-site .form button.btn-primary:disabled { cursor: progress; }

/* ===== chrome.css ===== */
/* chrome.css: the few rules the WordPress chrome needs beyond the ported design (CONTRACT sections 4 and 5).
   Scoped under .naa-site like the port. Loaded after design.css (tools/port-css.mjs appends this file to
   design.css; concatenating it again in global.css is harmless). Plain hyphens only. */

/* ---------- Brand mark (build/assets/brand-mark.svg, inline in the header and the footer) ---------- */
.naa-site .logo-mark { display: block; flex: none; width: 28px; height: 28px; overflow: visible; }
.naa-site .logo-mark .lens-b { mix-blend-mode: screen; }

/* ---------- Header dropdown: .nav-item.has-sub > a + .sub-toggle + .nav-sub ---------- */
.naa-site .nav-links { align-items: center; }
.naa-site .nav-item { position: relative; display: flex; align-items: center; gap: 6px; }
.naa-site .nav-item.has-sub > a { position: relative; }
.naa-site .sub-toggle { width: 22px; height: 22px; padding: 0; margin: 0; border: 0; border-radius: 6px; background: transparent; color: var(--nav); cursor: pointer; display: inline-grid; place-items: center; line-height: normal; }
.naa-site .sub-toggle::before { content: ""; display: block; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 200ms var(--ease-out); }
.naa-site .sub-toggle:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 2px; }
.naa-site .nav-item.has-sub.open > .sub-toggle, .naa-site .nav-item.has-sub:focus-within:not(.closed) > .sub-toggle { color: #FFFFFF; }
.naa-site .nav-item.has-sub.open > .sub-toggle::before, .naa-site .nav-item.has-sub:focus-within:not(.closed) > .sub-toggle::before { transform: translateY(2px) rotate(225deg); }
.naa-site .nav-sub { display: none; position: absolute; left: -12px; top: calc(100% + 12px); z-index: 30; min-width: 268px; flex-direction: column; gap: 2px; padding: 10px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.12); background: rgba(8,10,16,0.96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 30px 60px rgba(0,0,0,0.6); }
.naa-site .nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.naa-site .nav-item.has-sub.open > .nav-sub, .naa-site .nav-item.has-sub:focus-within:not(.closed) > .nav-sub { display: flex; animation: menu-in 220ms cubic-bezier(.2,.75,.2,1); }
@media (hover: hover) {
  .naa-site .nav-item.has-sub:hover > .nav-sub { display: flex; animation: menu-in 220ms cubic-bezier(.2,.75,.2,1); }
  .naa-site .nav-item.has-sub:hover > .sub-toggle { color: #FFFFFF; }
  .naa-site .nav-item.has-sub:hover > .sub-toggle::before { transform: translateY(2px) rotate(225deg); }
}
.naa-site .nav-links .nav-sub a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 15px; font-weight: 500; line-height: normal; color: var(--nav); text-decoration: none; white-space: nowrap; }
.naa-site .nav-links .nav-sub a:hover, .naa-site .nav-links .nav-sub a:focus-visible { color: #FFFFFF; background: rgba(255,255,255,0.05); }
.naa-site .nav-links .nav-sub a[aria-current="page"] { color: #FFFFFF; background: rgba(255,255,255,0.05); }
.naa-site .nav-links .nav-sub a[aria-current="page"]::after { display: none; }
@media (prefers-reduced-motion: reduce) {
  .naa-site .nav-item.has-sub.open > .nav-sub, .naa-site .nav-item.has-sub:focus-within:not(.closed) > .nav-sub, .naa-site .nav-item.has-sub:hover > .nav-sub { animation: none; }
  .naa-site .sub-toggle::before { transition: none; }
}
@media (max-width: 860px) {
  .naa-site .nav-item { display: none; }
}
/* Phones: the live brand name and the long white button do not fit beside the burger under 640px (the design's
   header was sized for "revyve" and "Book a call"). The white button is also in the mobile menu, so it is hidden
   in the bar and the brand name steps down. Keyed to the live header (its logo aria-label from CONTRACT section 4)
   so the design's own pages are not changed. */
@media (max-width: 640px) {
  .naa-site .naa-nav .logo[aria-label="n8n Automation Agency home"] ~ .nav-cta .btn-white { display: none; }
  .naa-site .naa-nav .logo[aria-label="n8n Automation Agency home"] span { font-size: 20px; }
}
@media (max-width: 400px) {
  .naa-site .naa-nav .logo[aria-label="n8n Automation Agency home"] span { font-size: 18px; }
}

/* ---------- Mobile menu: child links indented under their parent ---------- */
.naa-site .naa-header .mobile-menu a.sub { font-size: 18px; font-weight: 500; padding: 9px 10px 9px 28px; color: var(--muted); }
.naa-site .naa-header .mobile-menu a.sub:hover, .naa-site .naa-header .mobile-menu a.sub[aria-current="page"] { color: #FFFFFF; }
/* The live menu (eight links and two buttons) is taller than a short inner hero, and the design clips the hero
   (overflow: clip). While the menu is open the hero stops clipping and rises above the next section, the body
   hides the horizontal overflow the hero's halos may now produce (it propagates to the viewport, so sticky
   elements keep working), and the panel scrolls inside the viewport. Nothing changes while the menu is closed. */
@media (max-width: 860px) {
  .naa-site .naa-header .mobile-menu { max-height: calc(100vh - 100px); max-height: calc(100svh - 100px); overflow-y: auto; }
  .naa-site .hero:has(.mobile-menu.open) { overflow: visible; z-index: 30; }
  .naa-site:has(.mobile-menu.open) { overflow-x: hidden; }
}

/* ---------- Footer: brand column plus three link columns, then the design's old row ----------
   The design's footer .frame (a wrapping row, 36px 72px, 14px muted) is kept as it is; .foot-grid and .foot-row
   are full-width items inside it, so they stack. */
.naa-site .naa-footer .foot-grid { width: 100%; flex: 1 1 100%; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 28px 0 24px; }
.naa-site .naa-footer .foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.naa-site .naa-footer .foot-brand .logo { color: #FFFFFF; margin: 0; }
.naa-site .naa-footer .foot-brand p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 360px; }
.naa-site .naa-footer .foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.naa-site .naa-footer .foot-col h2 { margin: 0 0 6px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 500; font-size: 13px; line-height: normal; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.naa-site .naa-footer .foot-col a { display: block; margin: 0; font-size: 15px; line-height: 1.4; color: var(--nav); text-decoration: none; }
.naa-site .naa-footer .foot-col a:hover { color: #FFFFFF; }
.naa-site .naa-footer .foot-row { width: 100%; flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; row-gap: 20px; padding-top: 28px; border-top: 1px solid var(--line); }
.naa-site .naa-footer .foot-row nav { display: flex; flex-wrap: wrap; row-gap: 10px; }
@media (max-width: 1040px) {
  .naa-site .naa-footer .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px 32px; padding: 20px 0 16px; }
}
@media (max-width: 640px) {
  .naa-site .naa-footer .foot-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Contact form states (CONTRACT section 5): done heading, error line, sending ---------- */
.naa-site .form .form-done h3 { margin: 0; font-family: 'Inter Tight', Inter, sans-serif; font-weight: 600; font-size: 28px; line-height: normal; letter-spacing: -0.025em; color: #FFFFFF; }
.naa-site .form .form-error { margin: 0; font-size: 14px; line-height: 1.5; color: #FCA5A5; }
.naa-site .form .form-error[hidden] { display: none; }
.naa-site .form.sending button.btn-primary { opacity: 0.7; cursor: progress; }
.naa-site .form button.btn-primary:disabled { cursor: progress; }

/* Laptops: the live header carries a three-word brand name, four links and two buttons, which the design's header
   (sized for "revyve") never had to fit. Below 1200px the ghost button leaves the bar (it is also in the mobile menu);
   at 1040px and below the bar switches to the burger, one design breakpoint earlier than the design's 860px, because
   the links no longer fit beside the brand name. Keyed to the live header so the design's own pages are unchanged. */
@media (max-width: 1200px) {
  .naa-site .naa-nav .logo[aria-label="n8n Automation Agency home"] ~ .nav-cta .btn-ghost { display: none; }
}
@media (max-width: 1040px) {
  .naa-site .naa-nav .logo[aria-label="n8n Automation Agency home"] ~ .nav-links { display: none; }
  .naa-site .naa-nav .logo[aria-label="n8n Automation Agency home"] ~ .nav-cta .menu-btn { display: inline-block; }
  .naa-site .naa-header .mobile-menu { max-height: calc(100vh - 100px); max-height: calc(100svh - 100px); overflow-y: auto; }
  .naa-site .hero:has(.mobile-menu.open) { overflow: visible; z-index: 30; }
  .naa-site:has(.mobile-menu.open) { overflow-x: hidden; }
}

/* ===== ext.css ===== */
/* ext.css: the new patterns N1 to N14 of build/COMPONENTS-NEEDED.md plus the post template classes that
   build/WP-NOTES.md asks for (nav.toc, .naa-pagination, h2.sr, the N13 block classes). Loaded after design.css
   and chrome.css inside global.css (build/builder.py). Conventions (CONTRACT section 2, PORT-REPORT section 7):
   every selector carries at least two classes under .naa-site, no id selectors, no important flags, the design's
   breakpoints only (1040 / 860 / 640 / 480), nothing hidden without the js class, plain hyphens only.
   Tokens: catalog 1.1 (--accent, --accent-soft, --muted, --body, --line, --e1..--e3); radii and borders from 1.5. */

/* =====================================================================
   N1 naa-eyebrow: mono eyebrow line above section headings, pill with a dot in heroes
   ===================================================================== */
.naa-site .naa-eyebrow { margin: 0 0 18px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 500; font-size: 12px; line-height: 1; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-soft); }
.naa-site .numbers-head > .naa-head-copy { min-width: 0; }
.naa-site .naa-head-copy h2 { margin: 0; }
.naa-site .faq-side > .naa-eyebrow { margin: 0 0 -2px; }
.naa-site .naa-eyebrow.pill { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(127,166,255,0.28); background: rgba(37,99,235,0.12); line-height: 1.2; }
.naa-site .naa-eyebrow.pill i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-soft); box-shadow: 0 0 0 4px rgba(127,166,255,0.15); animation: naa-pulse 2s ease-in-out infinite; }
@keyframes naa-pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(127,166,255,0.15); } 50% { box-shadow: 0 0 0 7px rgba(127,166,255,0.05); } }
.naa-site .offscreen .naa-eyebrow.pill i { animation-play-state: paused; }

/* =====================================================================
   N2 naa-trust: the three check points under the hero CTAs
   ===================================================================== */
.naa-site .naa-trust { list-style: none; margin: -6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.naa-site .naa-trust li { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.naa-site .naa-trust li svg { flex: none; width: 16px; height: 16px; margin-top: 2px; }
@media (max-width: 480px) {
  .naa-site .naa-trust { flex-direction: column; gap: 8px; }
}

/* =====================================================================
   N3 naa-feed: activity feed rows inside .mock panels (cards, industries, split panels, run panel)
   ===================================================================== */
.naa-site .mock.naa-feed { gap: 10px; }
.naa-site .naa-feed .mock-row { align-items: center; }
.naa-site .naa-feed .naa-ic { flex: none; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); color: #FFFFFF; }
.naa-site .naa-feed .naa-ic svg { width: 14px; height: 14px; display: block; }
.naa-site .naa-feed .naa-ic.glyph { font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 600; font-size: 12px; line-height: 1; color: var(--accent-soft); }
.naa-site .naa-feed .naa-msg { flex: 1; min-width: 0; line-height: 1.35; color: #D5DAE4; }
.naa-site .naa-feed .naa-msg b { color: #FFFFFF; font-weight: 600; }
.naa-site .naa-feed .naa-msg small { display: block; font-size: 12px; line-height: 1.4; color: var(--muted); }
.naa-site .naa-feed .mock-row .val { color: var(--muted); }
.naa-site .mock.naa-feed.sm { padding: 12px; margin-bottom: 16px; }
.naa-site .cal.naa-toggle { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.naa-site .naa-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.naa-site .naa-tiles > div { min-width: 0; display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.08); }
.naa-site .naa-tiles b { font-family: 'Inter Tight', Inter, sans-serif; font-weight: 600; font-size: 15px; line-height: 1.2; color: #FFFFFF; }
.naa-site .naa-tiles span { font-size: 12px; line-height: 1.35; color: var(--muted); }
.naa-site .naa-feed-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.naa-site .naa-feed-head h3 { margin: 0; font-family: 'Inter Tight', Inter, sans-serif; font-weight: 600; font-size: 18px; line-height: 1.25; letter-spacing: -0.015em; color: #FFFFFF; }
.naa-site .naa-runpanel { padding: 20px; gap: 12px; }
.naa-site .naa-runpanel > .pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }
.naa-site .naa-runpanel > .pill svg { width: 14px; height: 14px; display: block; }
.naa-site .pill.warn { background: rgba(252,211,77,0.14); color: #FCD34D; }
.naa-site .card .naa-feed { width: 100%; }
.naa-site .svc .naa-feed, .naa-site .naa-tabs .svc .naa-feed { margin-top: auto; }
/* Port fix (COMPONENTS-NEEDED N3): without the script the bars show their final width. */
html:not(.js) .naa-site .bar span { width: var(--w); }

/* =====================================================================
   N4 naa-run: the automation-run variants of the hero answer card
   ===================================================================== */
.naa-site .hero .answer.naa-run { z-index: 1; }
.naa-site .answer.naa-run.wide { width: min(100%, 480px); }
.naa-site .naa-run .answer-top { gap: 10px; }
.naa-site .naa-run .answer-top > span:last-child { text-align: right; }
.naa-site .naa-run .answer-top.naa-stack { flex-direction: column; align-items: flex-start; gap: 4px; }
.naa-site .naa-run .answer-top.naa-stack > span { text-align: left; white-space: normal; }
.naa-site .naa-run .answer-engine { white-space: normal; text-align: left; }
.naa-site .naa-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.naa-site .naa-chips > span, .naa-site .naa-chips > li { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; line-height: 1.3; color: var(--muted); border: 1px solid rgba(255,255,255,0.1); border-radius: 999px; padding: 4px 9px; }
.naa-site .naa-chips > span svg, .naa-site .naa-chips > li svg, .naa-site .naa-chips > li .naa-letter { flex: none; width: 12px; height: 12px; display: block; }
.naa-site .naa-chips > li .naa-letter { font-size: 8px; border-radius: 3px; }
.naa-site .naa-chips.tabs > span.on { border-color: rgba(127,166,255,0.6); background: rgba(37,99,235,0.18); color: #FFFFFF; }
.naa-site .naa-chips.path > svg { flex: none; width: 10px; height: 10px; color: var(--muted); }
.naa-site .naa-q-stack { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.naa-site .naa-q-stack .answer-q { max-width: 92%; }
.naa-site .answer-q b { display: block; font-weight: 600; }
.naa-site .answer-q > span:not(.naa-q-tag) { display: block; font-size: 12px; line-height: 1.4; color: var(--body); }
.naa-site .naa-q-tag { display: block; margin: 0 0 4px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 500; font-size: 10px; line-height: 1.2; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.naa-site .naa-run .answer-a li { align-items: center; }
.naa-site .naa-run .answer-a li .n svg { width: 16px; height: 16px; display: block; }
.naa-site .naa-run .answer-a li .naa-msg { flex: 1; min-width: 0; line-height: 1.35; }
.naa-site .naa-run .answer-a li .naa-msg b { display: block; font-size: 14px; font-weight: 600; color: #FFFFFF; }
.naa-site .naa-run .answer-a li .naa-msg small { display: block; font-size: 12px; font-weight: 400; line-height: 1.4; color: var(--muted); }
.naa-site .naa-run .answer-a li.you .naa-msg small { color: rgba(255,255,255,0.72); }
.naa-site .naa-run .answer-a li .naa-tile { flex: none; width: 16px; height: 16px; border-radius: 4px; background: #34D399; box-shadow: 0 0 0 3px rgba(52,211,153,0.18); }
.naa-site .answer-a li.naa-ticket { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; row-gap: 4px; align-items: center; }
.naa-site .answer-a li.naa-ticket > b { color: #FFFFFF; font-size: 13px; font-weight: 600; }
.naa-site .answer-a li.naa-ticket > .n { text-align: right; min-width: 0; }
.naa-site .answer-a li.naa-ticket > .naa-msg { grid-column: 1 / -1; font-size: 13px; line-height: 1.4; color: var(--body); }
.naa-site .answer-a li.naa-ticket .naa-tags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.naa-site .answer-a li.naa-ticket .badge { font-size: 11px; font-weight: 600; line-height: 1.2; color: var(--accent-soft); background: rgba(127,166,255,0.14); padding: 3px 8px; border-radius: 999px; }
.naa-site .naa-ai { align-self: flex-start; max-width: 92%; padding: 12px 14px; border-radius: 16px 16px 16px 4px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); font-size: 14px; line-height: 1.5; color: #D5DAE4; }
.naa-site .naa-ai p { margin: 0; font-size: 14px; line-height: 1.5; color: #D5DAE4; }
.naa-site .naa-ai > .pill { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; }
.naa-site .naa-ai > .pill svg { width: 14px; height: 14px; display: block; }
.naa-site .naa-mini-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.naa-site .naa-mini-btns > .btn-primary, .naa-site .naa-mini-btns > .btn-ghost { display: inline-flex; align-items: center; padding: 7px 11px; font-size: 12px; font-weight: 600; line-height: 1.2; border-radius: 8px; }
.naa-site .naa-run .table-scroll { max-width: 100%; }
.naa-site .naa-mini-table { width: 100%; min-width: 380px; border-collapse: collapse; font-size: 12px; }
.naa-site .naa-mini-table th { text-align: left; font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 500; font-size: 10px; line-height: 1.3; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: bottom; }
.naa-site .naa-mini-table th small { display: block; margin-top: 2px; font-size: 9px; letter-spacing: 0.06em; color: rgba(142,149,163,0.7); }
.naa-site .naa-mini-table td { padding: 6px 8px; border-bottom: 1px solid rgba(255,255,255,0.05); color: #D5DAE4; vertical-align: middle; white-space: nowrap; }
.naa-site .naa-mini-table tr:last-child td { border-bottom: 0; }
.naa-site .naa-mini-table td svg { width: 14px; height: 14px; display: block; }
.naa-site .naa-mini-table .pill { font-size: 11px; padding: 2px 8px; }
.naa-site .naa-run .naa-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.07); font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: 0.04em; color: var(--muted); }
.naa-site .naa-run .naa-foot .pill { display: inline-flex; align-items: center; gap: 6px; letter-spacing: 0; font-family: Inter, system-ui, sans-serif; }
.naa-site .naa-run .naa-foot .pill svg { width: 14px; height: 14px; display: block; }
.naa-site .naa-runlog-mini { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.07); }
.naa-site .naa-runlog-mini .checklist { gap: 6px; }
.naa-site .naa-runlog-mini .checklist li { gap: 8px; font-size: 13px; line-height: 1.4; color: #D5DAE4; }
.naa-site .naa-runlog-mini .checklist li svg { width: 14px; height: 14px; margin-top: 2px; }
.naa-site .naa-runlog-mini p { margin: 6px 0 0; font-size: 12px; line-height: 1.4; color: var(--muted); }
.naa-site .naa-composer { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-radius: 999px; padding: 8px 8px 8px 14px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); color: #5C6370; font-size: 13px; line-height: 1.3; }
.naa-site .naa-composer > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.naa-site .naa-composer i { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; color: #FFFFFF; }
.naa-site .naa-composer i svg { width: 12px; height: 12px; display: block; }
.naa-site .naa-run .answer-src { align-items: center; }
.naa-site .naa-run .answer-src span { display: inline-flex; align-items: center; gap: 6px; }
.naa-site .naa-run .answer-src span svg, .naa-site .naa-run .answer-src span .naa-letter { flex: none; width: 12px; height: 12px; display: block; }
.naa-site .naa-run .answer-src span .naa-letter { font-size: 8px; border-radius: 3px; }
.naa-site .answer-src .naa-src-label { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: #FFFFFF; border: 0; padding: 4px 2px 4px 0; }
.naa-site .naa-toast { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin: 0; white-space: normal; line-height: 1.3; }
.naa-site .naa-toast svg { flex: none; width: 14px; height: 14px; display: block; }
.naa-site .naa-toast.badge { background: var(--accent); color: #FFFFFF; font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; box-shadow: 0 10px 24px -14px rgba(37,99,235,0.9); }
.naa-site .naa-chip-mini { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; line-height: 1.3; color: var(--muted); border: 1px solid rgba(255,255,255,0.1); border-radius: 999px; padding: 4px 9px; }
.naa-site .naa-chip-mini svg { flex: none; width: 12px; height: 12px; display: block; }
/* Grid children must be able to shrink below their content's min-content width (bare 1fr tracks under 640px
   are minmax(auto, 1fr)): the hero columns, result and story cells and the article columns can hold scrolling
   tables and wide run cards. Pixel-neutral wherever nothing overflows. */
.naa-site .hero .naa-main > .copy, .naa-site .hero .naa-main > .visual, .naa-site .res-grid > li, .naa-site .story > .card, .naa-site .article-grid > .prose, .naa-site .article-grid > .article-aside { min-width: 0; }
.naa-site .answer.naa-run { max-width: 100%; }
/* Port fix (COMPONENTS-NEEDED N4): the hidden entrance state of .answer-a li only applies with the script. */
html:not(.js) .naa-site .answer-a li { opacity: 1; transform: none; }
@media (max-width: 1040px) {
  .naa-site .answer.naa-run.wide { width: min(100%, 440px); }
}

/* =====================================================================
   N5 naa-chip: marquee chips, static chip row, small tag chips
   ===================================================================== */
.naa-site .logo-item.naa-chip { gap: 10px; font-size: 20px; color: #C9CED8; margin-right: 56px; }
.naa-site .naa-chip svg, .naa-site .naa-chip .naa-letter { flex: none; width: 22px; height: 22px; display: block; }
.naa-site .logo-item.naa-chip svg { opacity: 0.85; transition: opacity 200ms ease; }
.naa-site .logo-item.naa-chip:hover svg { opacity: 1; }
.naa-site .naa-letter { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font-family: Inter, system-ui, sans-serif; font-style: normal; font-weight: 700; font-size: 12px; line-height: 1; background: rgba(255,255,255,0.1); color: #FFFFFF; }
.naa-site .clients .track { animation-duration: var(--dur, 42s); }
.naa-site .naa-chip-row { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.naa-site .naa-chip-row .naa-chip { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.12); font-family: Inter, system-ui, sans-serif; font-weight: 600; font-size: 15px; line-height: 1.3; color: #FFFFFF; background: rgba(255,255,255,0.03); }
.naa-site .naa-chip-row .naa-chip.dashed { border-style: dashed; color: var(--accent-soft); background: rgba(37,99,235,0.08); }
.naa-site .res .naa-chips { margin-top: 16px; }
@media (max-width: 860px) {
  .naa-site .logo-item.naa-chip { font-size: 17px; margin-right: 40px; }
}

/* =====================================================================
   N6 naa-pricing: price tiers on stat cards
   ===================================================================== */
.naa-site .card-num.naa-price { margin-top: 10px; font-size: clamp(30px, 2.8vw, 44px); line-height: 1.05; white-space: normal; overflow-wrap: anywhere; }
.naa-site .story:not(.three) .card-num.naa-price { font-size: clamp(24px, 2.3vw, 34px); }
.naa-site .naa-pricing .step { white-space: normal; }
.naa-site .naa-pricing .checklist { margin-top: 6px; }
.naa-site .naa-pricing .checklist li { font-size: 15px; line-height: 1.5; }
.naa-site .naa-pricing .checklist li svg { margin-top: 3px; }
.naa-site .naa-pricing-note { margin: 0; max-width: 720px; font-size: 15px; line-height: 1.6; color: var(--body); }

/* =====================================================================
   N7 naa-compare: comparison table (page card and the post table block)
   ===================================================================== */
.naa-site .mock.naa-table { padding: 10px 14px; }
.naa-site .naa-compare th[scope="row"] { font-family: Inter, system-ui, sans-serif; font-weight: 600; font-size: 15px; line-height: 1.5; letter-spacing: 0; text-transform: none; color: #FFFFFF; padding: 14px 12px; border-bottom: 1px solid rgba(255,255,255,0.05); vertical-align: top; width: 24%; }
.naa-site .naa-compare td { line-height: 1.5; }
.naa-site .naa-compare tr:last-child th, .naa-site .naa-compare tr:last-child td { border-bottom: 0; }
.naa-site .naa-compare.naa-us td:last-child { color: #FFFFFF; }

/* =====================================================================
   N8 naa-runlog: run-log table card
   ===================================================================== */
.naa-site .mock.naa-runlog { padding: 26px; gap: 16px; }
.naa-site .naa-runlog .report-table td { vertical-align: middle; }
.naa-site .naa-runlog .report-table tr:last-child td { border-bottom: 0; }
.naa-site .naa-runlog .naa-name { color: #FFFFFF; font-weight: 600; }
.naa-site .naa-runlog .naa-time { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; color: var(--muted); white-space: nowrap; }
@media (max-width: 640px) {
  .naa-site .mock.naa-runlog { padding: 18px; }
}

/* =====================================================================
   N9 naa-split: side-by-side panels and the stacked bands
   ===================================================================== */
.naa-site .naa-panel-title { margin: 0 0 16px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 500; font-size: 11px; line-height: 1; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-soft); }
.naa-site .res.naa-after { border-color: rgba(127,166,255,0.5); background: linear-gradient(180deg, rgba(37,99,235,0.16), rgba(37,99,235,0.04)); }
.naa-site .res.naa-stat p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: #E6E9F0; }
.naa-site .naa-bands { display: flex; flex-direction: column; gap: 16px; }
.naa-site .naa-split .res .fixes { gap: 12px; }

/* =====================================================================
   N10 naa-callout: eyebrow + heading + lead left, stacked cards right
   ===================================================================== */
.naa-site .numbers-head.naa-callout { align-items: start; }
.naa-site .naa-callout .numbers-side { align-items: stretch; }
.naa-site .naa-callout .numbers-side .story { width: 100%; }
.naa-site .naa-callout-lead { margin: 18px 0 0; font-size: 18px; line-height: 1.65; color: var(--body); max-width: 520px; }

/* =====================================================================
   N11 naa-final: the final CTA with the contact form in one card
   ===================================================================== */
.naa-site .cta-grid.naa-solo { grid-template-columns: minmax(0, 760px); justify-content: center; }
.naa-site .cta-card .form { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.naa-site .form .naa-alt { align-self: center; justify-content: center; text-align: center; margin-top: 4px; font-size: 15px; color: #FFFFFF; }
.naa-site .form .naa-alt svg { flex: none; width: 16px; height: 16px; }
.naa-site .form .form-error { margin: 0; font-size: 14px; line-height: 1.5; color: #FCA5A5; }

/* =====================================================================
   N12 naa-toc: the "On this page" card in the article aside, and the in-article nav.toc the plugin prints
   ===================================================================== */
.naa-site .naa-toc ol { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; counter-reset: toc; }
.naa-site .naa-toc li { counter-increment: toc; display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 14px; line-height: 1.45; }
.naa-site .naa-toc li::before { content: counter(toc, decimal-leading-zero); flex: none; padding-top: 3px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 500; font-size: 11px; line-height: 1; color: var(--muted); }
.naa-site .naa-toc a { color: var(--body); text-decoration: none; }
.naa-site .naa-toc a:hover, .naa-site .naa-toc a.on { color: #FFFFFF; }
.naa-site .prose .toc { margin: 0 0 40px; padding: 22px 24px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.1); background: rgba(10,12,18,0.85); box-shadow: var(--e1); }
.naa-site .prose p.toc-title { margin: 0; font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 500; font-size: 12px; line-height: 1.2; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-soft); }
.naa-site .prose .toc ol { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; counter-reset: toc; }
.naa-site .prose .toc li { counter-increment: toc; display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 15px; line-height: 1.5; }
.naa-site .prose .toc li::before { content: counter(toc, decimal-leading-zero); flex: none; padding-top: 3px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 500; font-size: 11px; line-height: 1; color: var(--muted); }
.naa-site .prose .toc a { color: var(--body); text-decoration: none; }
.naa-site .prose .toc a:hover, .naa-site .prose .toc a.on { color: #FFFFFF; }
@media (max-width: 1040px) {
  .naa-site .naa-toc ol, .naa-site .prose .toc ol { flex-direction: row; flex-wrap: wrap; gap: 8px 18px; }
}

/* =====================================================================
   N13 post content classes (native blocks inside .prose) and the post template parts
   ===================================================================== */
.naa-site .prose p.naa-lead { margin: 0 0 28px; font-size: 20px; line-height: 1.65; color: #E6E9F0; }
/* figure panels: the .mock look. The same base serves figure.naa-figure on pages (N14). */
.naa-site .naa-figure { margin: 0; padding: 20px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.08); background: #0A0D14; box-shadow: var(--e1); }
.naa-site .naa-figure img { display: block; width: 100%; height: auto; border-radius: 10px; }
.naa-site .naa-figure figcaption { margin-top: 12px; text-align: center; font-size: 14px; line-height: 1.5; color: var(--muted); }
.naa-site .naa-figure + .ctas { justify-content: center; }
.naa-site .prose .naa-figure { margin: 0 0 32px; }
.naa-site .prose .naa-figure p, .naa-site .prose .naa-figure ul, .naa-site .prose .naa-figure ol, .naa-site .prose .naa-figure figure, .naa-site .prose .naa-figure div { margin: 0; }
.naa-site .prose .naa-figure p + p, .naa-site .prose .naa-figure p + ul, .naa-site .prose .naa-figure p + figure, .naa-site .prose .naa-figure ul + p, .naa-site .prose .naa-figure figure + p { margin-top: 12px; }
.naa-site .prose .naa-figure .wp-block-table { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.naa-site .prose .naa-figure .wp-block-table table { min-width: 0; }
.naa-site .prose p.naa-mono { margin: 0 0 12px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 500; font-size: 12px; line-height: 1.5; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
/* node row: a 40px rounded square per step, the label under it, hairline connectors between the squares */
.naa-site .prose p.naa-nodes { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 14px 8px; margin: 0 0 20px; }
.naa-site .prose .naa-node { --nc: var(--accent-soft); position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 7px; width: 72px; font-size: 11px; line-height: 1.25; text-align: center; color: var(--body); text-wrap: balance; }
.naa-site .prose .naa-node::before { content: ""; display: block; width: 40px; height: 40px; border-radius: 10px; border: 1.5px solid var(--nc); background: linear-gradient(var(--nc), var(--nc)) center / 10px 10px no-repeat; box-shadow: var(--e1); }
.naa-site .prose .naa-node + .naa-node::after { content: ""; position: absolute; left: -24px; top: 20px; width: 40px; height: 1px; background: rgba(255,255,255,0.18); }
.naa-site .prose .naa-node.t-trigger { --nc: #F28C28; }
.naa-site .prose .naa-node.t-trigger::before { border-radius: 20px 10px 10px 20px; }
.naa-site .prose .naa-node.t-app { --nc: var(--accent-soft); }
.naa-site .prose .naa-node.t-ai { --nc: #B8A6FF; }
.naa-site .prose .naa-node.t-logic { --nc: #8A94A6; }
.naa-site .prose .naa-node.t-human { --nc: #6EE7B7; }
.naa-site .prose .naa-node.t-ai.on { color: #FFFFFF; }
.naa-site .prose .naa-node.t-ai.on::before { background: #B8A6FF; box-shadow: 0 0 0 4px rgba(184,166,255,0.18); }
/* pills */
.naa-site .prose p.naa-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.naa-site .prose .naa-pill { display: inline-flex; align-items: center; vertical-align: middle; white-space: nowrap; font-size: 12px; font-weight: 600; line-height: 1.2; padding: 4px 10px; border-radius: 999px; }
.naa-site .prose .naa-pill.ai { background: rgba(127,166,255,0.14); color: var(--accent-soft); }
.naa-site .prose .naa-pill.ok { background: rgba(52,211,153,0.14); color: #6EE7B7; }
/* callout */
.naa-site .prose .naa-callout-box { margin: 32px 0; padding: 22px 24px; border-radius: 16px; border: 1px dashed rgba(127,166,255,0.45); background: rgba(37,99,235,0.06); }
.naa-site .prose .naa-callout-box p { margin: 0; font-size: 18px; line-height: 1.65; }
.naa-site .prose .naa-callout-box p + p { margin-top: 12px; }
/* numbered steps */
.naa-site .prose .naa-steps { counter-reset: step; margin: 0 0 32px; }
.naa-site .prose .naa-step { counter-increment: step; display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 16px; row-gap: 0; margin: 0 0 18px; }
.naa-site .prose .naa-step::before { content: counter(step); grid-column: 1; grid-row: 1 / span 20; align-self: start; margin-top: 3px; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; background: var(--accent); color: #FFFFFF; }
.naa-site .prose .naa-step > * { grid-column: 2; }
.naa-site .prose .naa-step p { margin: 0; }
.naa-site .prose .naa-step p + p { margin-top: 10px; }
.naa-site .prose .naa-step .naa-figure { margin: 12px 0 0; }
/* tables inside figures and the three table flavours */
.naa-site .prose .wp-block-table.naa-settings tbody td:first-child { width: 120px; color: var(--muted); font-weight: 500; }
.naa-site .prose .wp-block-table.naa-examples table { min-width: 680px; }
.naa-site .prose .naa-examples .naa-pill { font-size: 11px; padding: 2px 8px; margin-left: 6px; }
.naa-site .prose .wp-block-table.naa-scoreboard table { min-width: 0; }
.naa-site .prose .naa-scoreboard th:nth-child(2) { color: var(--accent-soft); }
.naa-site .prose .naa-scoreboard th:nth-child(3) { color: #FCD34D; }
/* comparison cards */
.naa-site .prose .naa-cmp-grid { margin: 0 0 32px; }
.naa-site .prose .naa-cmp-card { margin: 0 0 16px; padding: 26px; border-radius: 18px; border: 1px solid rgba(255,255,255,0.09); background: rgba(255,255,255,0.025); box-shadow: var(--e1); }
.naa-site .prose .naa-cmp-card p.naa-mono { margin: 0 0 10px; }
.naa-site .prose .naa-cmp-card h3 { margin: 0 0 10px; }
.naa-site .prose .naa-cmp-card p { margin: 0 0 14px; font-size: 16px; line-height: 1.6; }
.naa-site .prose .naa-cmp-card p:last-child { margin-bottom: 0; }
.naa-site .prose .naa-cmp-card .wp-block-table { margin: 0 0 16px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.naa-site .prose .naa-cmp-card .wp-block-table table { min-width: 0; }
.naa-site .prose .naa-cmp-card .wp-block-table td, .naa-site .prose .naa-cmp-card .wp-block-table th { padding: 10px 12px 10px 0; }
.naa-site .prose .naa-cmp-card strong { color: #FFFFFF; }
/* import steps: 2 x 2 numbered tiles */
.naa-site .prose ol.naa-import { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; counter-reset: imp; }
.naa-site .prose ol.naa-import li { counter-increment: imp; margin: 0; padding: 22px 24px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.09); background: rgba(255,255,255,0.025); box-shadow: var(--e1); font-size: 16px; line-height: 1.6; }
.naa-site .prose ol.naa-import li::before { content: counter(imp); display: block; margin-bottom: 10px; font-family: 'Inter Tight', Inter, sans-serif; font-weight: 600; font-size: 26px; line-height: 1; letter-spacing: -0.03em; color: var(--accent-soft); }
/* template cards */
.naa-site .prose .naa-wf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 20px 0 40px; max-width: none; }
.naa-site .prose .naa-wf-grid:has(> .wp-block-group__inner-container) { display: block; }
.naa-site .prose .naa-wf-grid > .wp-block-group__inner-container { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.naa-site .prose .naa-wf-card { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 20px; border-radius: 18px; border: 1px solid rgba(255,255,255,0.09); background: rgba(255,255,255,0.025); box-shadow: var(--e1); }
.naa-site .prose .naa-wf-card h3 { margin: 0; font-size: 20px; line-height: 1.25; }
.naa-site .prose .naa-wf-card p { margin: 0; font-size: 15px; line-height: 1.55; }
.naa-site .prose .naa-wf-card p.naa-mono { margin: 0; font-size: 11px; line-height: 1.6; letter-spacing: 0.06em; }
.naa-site .prose .naa-wf-diagram { margin: 0; aspect-ratio: 16 / 7; display: flex; align-items: center; justify-content: center; padding: 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.08); background: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px) 0 0 / 14px 14px #0A0D14; overflow: clip; }
.naa-site .prose .naa-wf-diagram p.naa-nodes { justify-content: center; margin: 0; }
.naa-site .prose .naa-wf-card .wp-block-image { margin: 0; aspect-ratio: 16 / 7; overflow: hidden; border-radius: 12px; border: 1px solid rgba(255,255,255,0.08); }
.naa-site .prose .naa-wf-card .wp-block-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.naa-site .prose .naa-wf-card .naa-dl { margin: auto 0 0; padding-top: 6px; }
/* buttons: the design's primary button; .naa-dl = the white button at 14px */
.naa-site .prose .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 24px; }
.naa-site .prose .wp-block-buttons .wp-block-button { margin: 0; }
.naa-site .prose .wp-block-buttons .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-family: Inter, system-ui, sans-serif; font-size: 17px; font-weight: 600; line-height: 1.2; color: #FFFFFF; background: var(--accent); padding: 18px 26px; border: 0; border-radius: 12px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 12px 26px -14px rgba(37,99,235,0.85); transition: background-color 160ms var(--ease-out), transform 160ms var(--ease-out); }
.naa-site .prose .wp-block-buttons .wp-block-button__link:hover { background: #1D4ED8; color: #FFFFFF; }
.naa-site .prose .wp-block-buttons .wp-block-button__link:active { transform: translateY(1px) scale(0.98); }
.naa-site .prose .naa-dl .wp-block-button__link { font-size: 14px; color: var(--bg); background: #FFFFFF; padding: 11px 16px; box-shadow: none; }
.naa-site .prose .naa-dl .wp-block-button__link:hover { background: #E8ECF5; color: var(--bg); }
/* closing CTA panel inside the article */
.naa-site .prose .naa-cta-panel { margin: 48px 0 0; padding: 36px; border-radius: 22px; border: 1px solid rgba(127,166,255,0.5); background: linear-gradient(180deg, rgba(37,99,235,0.16), rgba(10,12,18,0.9) 55%); box-shadow: var(--e3); }
.naa-site .prose .naa-cta-panel h2, .naa-site .prose h2.naa-cta-title { margin: 0 0 12px; font-size: 26px; line-height: 1.2; }
.naa-site .prose .naa-cta-panel p { margin: 0 0 22px; font-size: 17px; line-height: 1.6; }
.naa-site .prose .naa-cta-panel .wp-block-buttons { margin: 0; }
/* footnote and the template list */
.naa-site .prose p.naa-footnote { margin: -8px 0 32px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.naa-site .prose p.naa-footnote a { color: var(--accent-soft); }
.naa-site .prose ul.naa-tpl-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.naa-site .prose ul.naa-tpl-list li { margin: 0; font-size: 15px; line-height: 1.5; }
.naa-site .prose ul.naa-tpl-list code { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; color: var(--muted); background: transparent; padding: 0; border: 0; }
/* native details: the FAQ row look */
.naa-site .prose details { margin: 0; padding: 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; }
.naa-site .prose details:first-of-type { border-top: 1px solid var(--line); }
.naa-site .prose details summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; font-family: 'Inter Tight', Inter, sans-serif; font-size: 20px; font-weight: 600; line-height: 1.3; color: #FFFFFF; }
.naa-site .prose details summary::-webkit-details-marker { display: none; }
.naa-site .prose details summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); background: linear-gradient(#FFFFFF, #FFFFFF) center / 12px 1.5px no-repeat, linear-gradient(#FFFFFF, #FFFFFF) center / 1.5px 12px no-repeat; transition: background-color 250ms ease, border-color 250ms ease, transform 300ms ease; }
.naa-site .prose details[open] summary::after { background: linear-gradient(#FFFFFF, #FFFFFF) center / 12px 1.5px no-repeat, var(--accent); border-color: var(--accent); transform: rotate(180deg); }
.naa-site .prose details summary:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 4px; border-radius: 6px; }
.naa-site .prose details p { margin: 0; padding: 0 56px 26px 0; font-size: 17px; line-height: 1.65; color: var(--body); }
.naa-site .prose details p + p { padding-top: 0; margin-top: -10px; }
/* the post table block (N7 post variant) */
.naa-site .prose .wp-block-table { margin: 0 0 32px; padding: 6px 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 14px; border: 1px solid rgba(255,255,255,0.08); background: #0A0D14; box-shadow: var(--e1); }
.naa-site .prose .wp-block-table table { width: 100%; min-width: 560px; margin: 0; border: 0; border-collapse: collapse; font-size: 15px; }
.naa-site .prose .wp-block-table th { text-align: left; font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 500; font-size: 11px; line-height: 1.4; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 10px 12px; border: 0; border-bottom: 1px solid var(--line); vertical-align: bottom; }
.naa-site .prose .wp-block-table td { padding: 12px; border: 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 15px; line-height: 1.5; color: #D5DAE4; vertical-align: top; }
.naa-site .prose .wp-block-table tbody td:first-child { color: #FFFFFF; font-weight: 600; }
.naa-site .prose .wp-block-table tbody tr:last-child td { border-bottom: 0; }
.naa-site .prose .wp-block-table figcaption { margin: 8px 4px 2px; font-size: 13px; color: var(--muted); }
/* the templates post: both columns, TOC card above the article, text still capped at the prose width */
.naa-site .article-grid.naa-wide { grid-template-columns: minmax(0, 1fr); gap: 40px; }
.naa-site .article-grid.naa-wide .article-aside { position: static; order: -1; }
.naa-site .article-grid.naa-wide .naa-toc ol { flex-direction: row; flex-wrap: wrap; gap: 8px 18px; }
.naa-site .article-grid.naa-wide .prose { max-width: none; }
.naa-site .article-grid.naa-wide .prose > * { max-width: 720px; }
.naa-site .article-grid.naa-wide .prose > .naa-wf-grid { max-width: none; }
/* the posts page: hidden heading and WordPress pagination */
.naa-site h2.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.naa-site .naa-pagination { margin-top: 40px; display: flex; justify-content: center; }
.naa-site .naa-pagination .navigation { display: flex; justify-content: center; width: 100%; margin: 0; padding: 0; border: 0; }
.naa-site .naa-pagination .screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.naa-site .naa-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; font-size: 14px; }
.naa-site .naa-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.12); font-size: 14px; font-weight: 600; line-height: 1; color: var(--nav); text-decoration: none; background: transparent; transition: border-color 160ms var(--ease-out), color 160ms var(--ease-out); }
.naa-site .naa-pagination a.page-numbers:hover { border-color: rgba(255,255,255,0.4); color: #FFFFFF; }
.naa-site .naa-pagination .page-numbers.current { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.naa-site .naa-pagination .page-numbers.dots { border: 0; min-width: 24px; padding: 0; color: var(--muted); }
.naa-site .naa-pagination .page-numbers.prev, .naa-site .naa-pagination .page-numbers.next { padding: 0 16px; }

/* =====================================================================
   N14 small modifiers
   ===================================================================== */
.naa-site .svc-grid.naa-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.naa-site .naa-tabs .svc.wide ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.naa-site .step .naa-when { text-transform: none; letter-spacing: 0; font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 500; font-size: 12px; color: var(--muted); }
.naa-site .step i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--c, var(--accent-soft)); }
.naa-site .naa-diagram { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.naa-site .naa-diagram .story { width: 100%; }
.naa-site .naa-diagram-center { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 22px; border-radius: 999px; background: radial-gradient(circle at 30% 30%, #3D74F2, #1D4ED8 70%); color: #FFFFFF; box-shadow: 0 18px 40px -22px rgba(37,99,235,0.9); }
.naa-site .naa-diagram-center b { font-family: 'Inter Tight', Inter, sans-serif; font-weight: 600; font-size: 16px; line-height: 1.2; }
.naa-site .naa-diagram-center span { font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 500; font-size: 10px; line-height: 1.2; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.85); }
.naa-site .qa .ans a { color: var(--accent-soft); text-underline-offset: 3px; }
.naa-site .qa .ans a:hover { color: #FFFFFF; }
@media (min-width: 1041px) {
  .naa-site .ind-grid.naa-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1040px) {
  .naa-site .naa-tabs .svc.wide ul { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .naa-site .svc-grid.naa-two { grid-template-columns: 1fr; }
  .naa-site .prose ol.naa-import { grid-template-columns: 1fr; }
  .naa-site .prose .naa-wf-grid, .naa-site .prose .naa-wf-grid > .wp-block-group__inner-container { grid-template-columns: 1fr; }
  .naa-site .prose .naa-cta-panel { padding: 26px 22px; }
  .naa-site .prose .naa-cmp-card { padding: 22px 20px; }
  .naa-site .prose details summary { font-size: 18px; }
  .naa-site .prose details p { padding-right: 0; }
  .naa-site .prose .toc, .naa-site .prose .naa-callout-box { padding: 18px 18px; }
}
@media (max-width: 1040px) {
  .naa-site .prose .naa-wf-grid, .naa-site .prose .naa-wf-grid > .wp-block-group__inner-container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .naa-site .prose .naa-wf-grid, .naa-site .prose .naa-wf-grid > .wp-block-group__inner-container { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .naa-site .prose p.naa-nodes { gap: 12px 4px; }
  .naa-site .prose .naa-node { width: 58px; font-size: 10px; }
  .naa-site .prose .naa-node + .naa-node::after { left: -13px; width: 22px; }
}

/* =====================================================================
   Reduced motion: nothing new keeps moving
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  .naa-site .naa-eyebrow.pill i { animation: none; }
  .naa-site .prose details summary::after, .naa-site .naa-pagination .page-numbers, .naa-site .prose .wp-block-buttons .wp-block-button__link { transition: none; }
  .naa-site .prose .wp-block-buttons .wp-block-button__link:active { transform: none; }
}

/* ---------- Specificity fixes reported by the page verifiers (2026-11-18) ----------
   design.css element rules such as ".naa-site .faq-side p" and ".naa-site .res p" (0,2,1), and their
   ".entry-content" margin copies (0,3,1), outrank single-class pattern rules. These selectors restate the
   pattern values with enough weight, without !important. */
.naa-site .faq-side > p.naa-eyebrow, .naa-site .entry-content .faq-side > p.naa-eyebrow { margin: 0 0 -2px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 500; font-size: 12px; line-height: 1; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-soft); }
.naa-site .res p.naa-panel-title, .naa-site .entry-content .res p.naa-panel-title { margin: 0 0 16px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 500; font-size: 11px; line-height: 1; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-soft); }
.naa-site .naa-chip .naa-letter, .naa-site .naa-chips > li .naa-letter, .naa-site .naa-run .answer-src span .naa-letter { display: grid; place-items: center; }
.naa-site .prose .naa-cmp-card p.naa-mono { font-size: 12px; line-height: 1.5; }
/* Without JavaScript the FAQ accordion cannot open (design.css collapses .qa .ans with no .js gate): show every answer. */
html:not(.js) .naa-site .qa .ans { grid-template-rows: 1fr; }
/* Four-column card grids with activity feeds: between 1041 and 1199px a card is 212 to 270px wide and the feed text
   runs into its status tag. Keep the design's 2 x 2 tablet layout up to 1199px. */
@media (min-width: 1041px) and (max-width: 1199px) {
  .naa-site .story:not(.three):has(> .card > .naa-feed) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Comparison tables: tabular figures widen Inter's hyphen ("Per - seat"); text cells use proportional figures. */
.naa-site .naa-compare td { font-variant-numeric: normal; }

/* ===== pages/ai-agent-development.css ===== */
/* pages/ai-agent-development.css: the AI agent development page (/services/ai-agent-development/) only.
   Concatenated into global.css by build/builder.py. Things that the design.css + ext.css classes cannot express:
   1. The hero's agent-builder card (N4) is the tallest run card on the site: five two-line flow rows plus the
      four-line run log (.naa-runlog-mini, which no other hero carries, so it scopes these rules). With the design's
      11px row padding the hero measured 907px at 1440, so the 1440 x 900 first screen showed none of the logo band
      (CONTRACT 6.5). From 1041px up (two-column hero) the card's rows get 8px padding and a 6px gap, and the hero's
      bottom padding goes from 112px to 80px (the value pages/ai-automation.css uses for its tall card): the hero is
      then about 840px and the band's hairline and label show. At 1040px and below (stacked hero) nothing changes.
   2. The run panel in the "How our agents work" head (.naa-runpanel, used on this page only) sits in .numbers-side,
      whose align-items: flex-start shrink-wraps it to about 315px under the 520px lead. It takes the lead's width.
   3. The same head: .numbers-head bottom-aligns its two columns (align-items: end, design.css 145), which suits a
      two or three line lead, but with the run panel under the lead the right column is about 400px tall at 1440 and
      the eyebrow and h2 sank to its foot, leaving an empty block above them. The head copy is top-aligned with the
      lead instead, as the N10 callout head does. Only the two-column layout (1041px up) changes; stacked, the
      columns are rows and the alignment has no effect.
   4. No-JS state (CONTRACT 6.4): design.css 299 collapses every FAQ answer but the .open one, and unlike the .bar and
      .answer-a port fixes that collapse is not gated behind the js class, so without the script six answers stayed
      at 0px with no way to open them (home, n8n-experts and ai-automation measure the same). Scoped to this page,
      the only one with .naa-runpanel, until a shared html:not(.js) port fix lands in ext.css; this rule can go then. */
@media (min-width: 1041px) {
  .naa-site .hero .answer.naa-run:has(> .naa-runlog-mini) .answer-a ol { gap: 6px; }
  .naa-site .hero .answer.naa-run:has(> .naa-runlog-mini) .answer-a li { padding-top: 8px; padding-bottom: 8px; }
  .naa-site .hero .naa-main.page-head:has(.naa-runlog-mini) { padding-bottom: 80px; }
}
.naa-site .numbers-side > .naa-runpanel { align-self: stretch; max-width: 520px; }
.naa-site .numbers-head:has(> .numbers-side > .naa-runpanel) { align-items: start; }
html:not(.js) .naa-site .entry-content:has(.naa-runpanel) .qa .ans { grid-template-rows: 1fr; }

/* ===== pages/ai-automation.css ===== */
/* pages/ai-automation.css: /services/ai-automation/ only. Every rule is keyed to .naa-ticket, which only this page's
   hero card (N4 support inbox) uses. Concatenated into global.css by build/builder.py.
   Why: CONTRACT 6.5 wants the top of the next band on the 1440 x 900 first screen. The support inbox card holds 31
   source strings (4 tickets, the AI draft, the toast) and made the hero 967px tall, so the logos band started below
   the fold. From 1041px up (two-column hero) each ticket puts its tags on the sender line (sender | tags | time, the
   subject below: 20px less per ticket) and the hero's bottom padding goes from 112px to 80px. The hero is then 855px
   and the band's hairline and label show. At 1040px and below (stacked hero) the demo layout is unchanged. */
@media (min-width: 1041px) {
  .naa-site .answer-a li.naa-ticket { grid-template-columns: auto minmax(0, 1fr) auto; }
  .naa-site .answer-a li.naa-ticket > b { grid-column: 1; grid-row: 1; }
  .naa-site .answer-a li.naa-ticket .naa-tags { grid-column: 2; grid-row: 1; }
  .naa-site .answer-a li.naa-ticket > .n { grid-column: 3; grid-row: 1; }
  .naa-site .answer-a li.naa-ticket > .naa-msg { grid-column: 1 / -1; grid-row: 2; }
  .naa-site .hero .naa-main.page-head:has(.naa-ticket) { padding-bottom: 80px; }
}

/* ===== pages/ai-chatbot-development.css ===== */
/* pages/ai-chatbot-development.css: /services/ai-chatbot-development/ only. Every rule is keyed to .naa-composer, which
   only this page's hero card (N4 chat window) uses. Concatenated into global.css by build/builder.py.
   1. CONTRACT 6.5 wants the top of the next band on the 1440 x 900 first screen. The chat window holds 17 source
      strings (two questions, two replies with their chips, the composer, the channel chips and the toast) and made
      the hero 880px tall at 1440, so only the logo band's hairline showed and its label sat at 907px. From 1041px up
      (two-column hero) the hero's bottom padding goes from 112px to 80px, the value pages/ai-automation.css and
      pages/ai-agent-development.css use for their tall cards: the hero is then 848px and the band's label shows.
      At 1040px and below (stacked hero) nothing changes.
   2. Feed rows (N3) in the 4-column .story cards: between 1041px and about 1280px a card is 212 to 270px wide, too
      narrow for icon + message + tag ("handed off", "answered"), so the message column shrank to 2px at 1041 and its
      words ran over the tag. A row now wraps its tag onto a second line (right-aligned) whenever the message would get
      less than 72px. Measured pixel-neutral wherever a row fits (1440, 1024, 700, 641, 390, 360: no row moves).
      The same collapse exists on every page with feeds in 4-column cards; the generic fix belongs in ext.css (N3).
   3. The three 4-card grids with feed mocks (services, how-it-works, process) hold one or two feed rows whose
      messages wrap onto one to three lines, so the h3s of one row of cards sat up to 45px apart at 1440 (how it
      works: the one-row fourth card against three two-row cards; services 13 to 30px; process 13px). From 641px up
      (two or four cards per row) each card's four parts (.step, feed, h3, .card-detail) sit on rows shared across
      the grid (subgrid), as pages/business-process-automation.css and pages/home.css align theirs: the feed panels
      of a row take one height with their rows centred, and the h3s and texts line up. Under 641px (one column)
      nothing changes; browsers without subgrid keep the demo layout. The pricing grid (no feed) is not touched.
   4. "Take the free AI readiness assessment" (.naa-alt, href #c-msg) scrolls the message field to the top of the
      viewport, which left its label above the screen on phones (label top -25px at 390). A scroll margin keeps the
      label in view (the value pages/home.css uses for the same jump).
   5. No-JS state (CONTRACT 6.4): design.css 299 collapses every FAQ answer but the .open one and, unlike the .bar and
      .answer-a port fixes, that collapse is not gated behind the js class, so without the script five of the six
      answers stayed at 0px with no way to open them (measured on the .nojs preview at 1440 and 390). Without the
      script every answer shows: the rule pages/ai-agent-development.css uses, scoped to this page, until a shared
      html:not(.js) port fix lands in ext.css (this rule can go then). */
@media (min-width: 1041px) {
  .naa-site .hero .naa-main.page-head:has(.naa-composer) { padding-bottom: 80px; }
}
.naa-site:has(.naa-composer) .story .naa-feed .mock-row { flex-wrap: wrap; row-gap: 4px; }
.naa-site:has(.naa-composer) .story .naa-feed .mock-row .naa-msg { flex: 1 1 72px; }
.naa-site:has(.naa-composer) .story .naa-feed .mock-row .val { margin-left: auto; }
@supports (grid-template-rows: subgrid) {
  @media (min-width: 641px) {
    .naa-site:has(.naa-composer) .story > .card:has(> .naa-feed) { display: grid; grid-template-rows: subgrid; grid-row: span 4; }
    .naa-site:has(.naa-composer) .story > .card > .naa-feed { justify-content: center; }
  }
}
.naa-site:has(.naa-composer) .final .naa-contact textarea { scroll-margin-top: 72px; }
html:not(.js) .naa-site:has(.naa-composer) .qa .ans { grid-template-rows: 1fr; }

/* ===== pages/business-process-automation.css ===== */
/* pages/business-process-automation.css: /services/business-process-automation/ only. Concatenated into global.css by
   build/builder.py. Rules that the design.css + ext.css classes cannot express:
   1. The hero's finance-sheet card (N4) holds the only .naa-mini-table in a hero, which scopes these rules. The table
      needs about 428px inside the card (supplier cells do not wrap; each stage column carries the AUTOMATION
      sub-label), so the card must be 480px wide (its 1440 width). The two-column hero gives the card's column 0.85fr,
      which is under 480px below about 1400px (the last column was clipped by 16px at 1280 and by 117px at 1041),
      and under 1040px ext.css caps the wide card at 440px (34px clipped at 1024). The column gets a 480px floor
      (changes the layout only below about 1250px) and the stacked card keeps 480px. Below about 528px the table
      (428px at its narrowest) no longer fits the card and N4 lets it scroll inside .table-scroll; on phones that cut
      the card at its edge mid-word ("LOGG", "Fla" at 390) and hid the Approved column, with no visible scroll cue.
      From 540px down each invoice takes two lines instead: its name across the card, then its four stage cells on
      a four-column grid under the four stage headers (the Invoice header heads the name lines). The columns keep
      their min-content width, so at 320px the table scrolls again rather than overlap. The markup carries explicit
      table roles, so the table semantics survive the display change in every browser.
   2. The "Rules, AI And A Person" head (spec section what-it-is) carries its three-row feed panel in .numbers-side,
      whose align-items: flex-start shrink-wraps the panel to about 335px under the 520px lead. The panel takes the
      lead's width, as the agent page's run panel does (pages/ai-agent-development.css). Keyed to a plain feed in the
      side column (:not(.naa-runpanel)), which only this page uses, so the agent page's own rule is never touched.
      The head's align-items: end then put the eyebrow and h2 at the foot of that 290px side column, about 200px
      below the top of the lead, so the band read lead first and heading second with an empty top-left quarter (the
      source puts the heading first). From 1041px up (two columns) this head aligns to the top: eyebrow and h2 start
      level with the lead. At 1040px and below the head is one column and nothing changes.
   3. The two four-card grids with feed mocks (processes and method) carry .naa-bpa-feeds, which no other page uses.
      a) design.css keeps .story at four columns from 1041px up. Between 1041px and about 1180px a card is 212 to
         260px wide and a feed row's message box (.naa-msg: flex 1, min-width 0) shrinks to 32 to 59px, narrower than
         words such as "Onboarding" or "scheduled", which ran up to 29px into the status tag (measured in Chrome at
         1041, 1060, 1100 and 1150px). From 1041px to 1199px these grids keep the two-column layout design.css uses at
         1040px and below (pages/n8n-experts.css does the same for its grids); from 1200px the four columns fit.
      b) The feeds hold one or two rows whose messages wrap onto one or two lines, so the h3s of one row of cards sat
         13 to 63px apart. From 641px up (two or four cards per row) each card's four parts (.step, feed, h3,
         .card-detail) sit on rows shared across the grid (subgrid): the feed panels of a row take one height with
         their rows centred, and the h3s and texts line up. Under 641px (one column) nothing changes.
   4. The case example's panel titles (.naa-bands.naa-bpa-case, this page only) are set in capitals in the source copy
      already, except the brand in "AFTER: n8n DOES IT AT 4 AM". The N9 title's text-transform: uppercase turned it
      into "N8N"; CONTRACT 3 keeps capitalisation as extracted, so these four titles render as written.
      The section's h2 "Our Own Team, Automated" wraps below about 410px, and the design's text-wrap: balance split it
      as "Our Own / Team, Automated" in Chrome (390, 375, 360), breaking the noun phrase. Plain wrapping gives
      "Our Own Team, / Automated", the white words over the soft span, like every other head on the page.
   5. No-JS state (CONTRACT 6.4): design.css 299 collapses every FAQ answer but the .open one and, unlike the .bar and
      .answer-a port fixes, that collapse is not gated behind the js class, so without the script three answers stayed
      at 0px with no way to open them. Scoped to this page (the only hero with a .naa-mini-table) as
      pages/ai-agent-development.css does for its own, until a shared html:not(.js) fix lands in ext.css. */
@media (min-width: 1041px) {
  .naa-site .hero .naa-main.page-head:has(.naa-mini-table) { grid-template-columns: minmax(0, 1.15fr) minmax(480px, 0.85fr); }
}
@media (max-width: 1040px) {
  .naa-site .hero .answer.naa-run.wide:has(.naa-mini-table) { width: min(100%, 480px); }
}
@media (max-width: 540px) {
  .naa-site .hero .naa-mini-table, .naa-site .hero .naa-mini-table thead, .naa-site .hero .naa-mini-table tbody { display: block; min-width: 0; }
  .naa-site .hero .naa-mini-table tr { display: grid; grid-template-columns: repeat(4, minmax(min-content, 1fr)); align-items: center; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .naa-site .hero .naa-mini-table thead tr { align-items: end; border-bottom-color: var(--line); }
  .naa-site .hero .naa-mini-table tbody tr:last-child { border-bottom: 0; }
  .naa-site .hero .naa-mini-table th, .naa-site .hero .naa-mini-table td { display: block; padding: 4px; border-bottom: 0; }
  .naa-site .hero .naa-mini-table tr > :first-child { grid-column: 1 / -1; padding-top: 8px; padding-bottom: 2px; }
  .naa-site .hero .naa-mini-table tbody td:first-child { color: #FFFFFF; font-weight: 600; }
}
.naa-site .numbers-side > .mock.naa-feed:not(.naa-runpanel) { align-self: stretch; max-width: 520px; }
.naa-site .numbers-head:has(> .numbers-side > .mock.naa-feed:not(.naa-runpanel)) { align-items: start; }
@media (min-width: 1041px) and (max-width: 1199px) {
  .naa-site .story.naa-bpa-feeds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@supports (grid-template-rows: subgrid) {
  @media (min-width: 641px) {
    .naa-site .story.naa-bpa-feeds > .card { display: grid; grid-template-rows: subgrid; grid-row: span 4; }
    .naa-site .story.naa-bpa-feeds > .card > .naa-feed { justify-content: center; }
  }
}
.naa-site .naa-bands.naa-bpa-case .res p.naa-panel-title { text-transform: none; }
.naa-site .numbers-head:has(+ .naa-bands.naa-bpa-case) h2 { text-wrap: wrap; }
html:not(.js) .naa-site .entry-content:has(.hero .naa-mini-table) .qa .ans { grid-template-rows: 1fr; }

/* ===== pages/home.css ===== */
/* pages/home.css: the home page (/) only. Concatenated into global.css by build/builder.py. Every selector starts at
   .hero.home (the home hero, used on no other page) and reaches the later home sections through the sibling
   combinator, or at .naa-runlog-table (the run log, home only), so no other page is touched.
   1. Industries cards. The one-row chip above each title wraps differently per card: "Low stock: blue hoodie" takes
      two lines at 1440 and 1366 (256px needed, 238px available), and between 1041 and 1200 the four chips take 2, 3
      or 4 lines. The four titles of the row therefore sat at different heights (13px apart at 1440, up to 35px at
      1100). With subgrid each card's chip, title and caption share the row tracks of the grid, so the chips of one
      row get one height (their row centred) and the titles and captions line up; the card heights do not change.
      Browsers without subgrid keep the demo layout.
   2. Run log on phones. The four-column table (min-width 620px) scrolled inside .table-scroll below about 736px; at
      390 the status pills were cut mid-word ("Succe", "Retrie", "Waitin") and the notes were out of sight. From 760px
      down the table drops its min-width (from 641px it fits, the note wrapping), and from 640px down each row
      becomes two lines: name and time, then note and status pill. The markup carries explicit table roles, so the
      table semantics and its aria-label survive the display change in every browser.
   3. The hero's "Free AI readiness assessment" link jumps to the message field (#c-msg). The final CTA card is still
      translated 22px down by its reveal (.fx) when the smooth scroll starts, so the scroll ended 22px past the field
      and the field's label sat above the viewport on phones. A scroll margin keeps the label in view.
   4. The halo behind the hero card (design.css .visual::before: width 120%, aspect-ratio 1) grows to about 1190px
      square in the stacked hero (1040px and below) and reaches up to 263px above the card. .visual is a stacking
      context (design.js writes `translate` on the [data-depth] planes and the arrive animation leaves `scale`
      filled), so the halo paints and hit-tests above the copy column: from about 800 to 1040px it covered the hero
      CTAs (at 1024 the centre of "Book a free scoping call", the whole "Free AI readiness assessment" link and the
      trust row took no clicks). The halo is decoration, so it no longer takes pointer events.
   5. FAQ without JS (CONTRACT 6.4: nothing may stay hidden without the js class). design.css collapses every answer
      but the first with grid-template-rows: 0fr whether or not JS runs, so without JS five answers could never be
      read. Without the js class every answer shows and the +/- toggles, which do nothing then, are hidden.
   6. FAQ with JS. A collapsed answer is only clipped (0fr, overflow hidden), so its text stayed in the
      accessibility tree and the "n8n vs Zapier" link in the fifth answer stayed in the tab order while invisible.
      A collapsed answer is now visibility: hidden; the switch waits for the 380ms close transition, so the
      collapse animation is unchanged.
   7. The form's secondary link ("Take the free AI readiness assessment") needs about 316px on one line. Below about
      420px it wrapped inside the inline-flex link, the two text lines centred and the arrow pinned to the card's
      right edge, detached from the words. Up to 480px the link is a centred block with balanced lines, so the arrow
      follows the last word instead of wrapping alone. */

/* 1 */
@supports (grid-template-rows: subgrid) {
  .naa-site .hero.home ~ .industries .ind-grid.naa-four > li { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
  .naa-site .hero.home ~ .industries .ind-grid.naa-four > li > .ind { display: grid; grid-row: 1 / -1; grid-template-rows: subgrid; row-gap: 0; }
  .naa-site .hero.home ~ .industries .ind-grid.naa-four > li > .ind > div { display: grid; grid-row: 1 / -1; grid-template-rows: subgrid; row-gap: 0; justify-self: start; min-width: 0; }
  .naa-site .hero.home ~ .industries .ind-grid.naa-four .naa-feed.sm { justify-content: center; }
}

/* 2 */
@media (max-width: 760px) {
  .naa-site .naa-runlog .naa-runlog-table { min-width: 0; }
}
@media (max-width: 640px) {
  .naa-site .naa-runlog .naa-runlog-table,
  .naa-site .naa-runlog .naa-runlog-table tbody { display: block; }
  .naa-site .naa-runlog .naa-runlog-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 12px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .naa-site .naa-runlog .naa-runlog-table tr:last-child { border-bottom: 0; padding-bottom: 0; }
  .naa-site .naa-runlog .naa-runlog-table td { display: block; padding: 0; border-bottom: 0; }
  .naa-site .naa-runlog .naa-runlog-table .naa-time { text-align: right; }
  .naa-site .naa-runlog .naa-runlog-table td:nth-child(3) { grid-column: 2; grid-row: 2; justify-self: end; }
  .naa-site .naa-runlog .naa-runlog-table td:nth-child(4) { grid-column: 1; grid-row: 2; font-size: 14px; line-height: 1.45; }
}

/* 3 */
.naa-site .hero.home ~ .final .naa-contact textarea { scroll-margin-top: 72px; }

/* 4 */
.naa-site .hero.home .visual::before { pointer-events: none; }

/* 5 */
html:not(.js) .naa-site .hero.home ~ .faq .qa .ans { grid-template-rows: 1fr; }
html:not(.js) .naa-site .hero.home ~ .faq .qa .pm { display: none; }

/* 6 */
.js .naa-site .hero.home ~ .faq .qa .ans > div { transition: visibility 0s linear 380ms; }
.js .naa-site .hero.home ~ .faq .qa.open .ans > div { transition-delay: 0s; }
.js .naa-site .hero.home ~ .faq .qa:not(.open) .ans > div { visibility: hidden; }
@media (prefers-reduced-motion: reduce) {
  .js .naa-site .hero.home ~ .faq .qa .ans > div { transition: none; }
}

/* 7 */
@media (max-width: 480px) {
  .naa-site .hero.home ~ .final .form .naa-alt { display: block; width: fit-content; max-width: 100%; text-wrap: balance; }
  .naa-site .hero.home ~ .final .form .naa-alt svg { display: inline-block; margin-left: 8px; vertical-align: -3px; }
}

/* ===== pages/n8n-experts.css ===== */
/* pages/n8n-experts.css: /n8n-experts/ only. Concatenated into global.css by build/builder.py. The rule is keyed to
   .naa-feed4, which only this page's three four-card grids with feed mocks carry (services, real-workflow,
   how-hiring-works); the rates grid has no feeds and does not carry it.
   Why: design.css turns .story into four columns from 1041px up. Between 1041px and about 1150px a card is 212 to
   240px wide, so a feed row's message box (.naa-msg: flex 1, min-width 0) shrinks to 23 to 47px, narrower than single
   words such as "Handover", "execution" or "Summary". Those words overflowed the box and ran up to 16px into the status
   tag (.val), for example "Handover guide" over "sent" (measured in Chrome at 1041, 1060 and 1100px). From 1041px to
   1199px these grids keep the two-column layout that design.css uses at 1040px and below; from 1200px the four columns
   fit (no overlap, at most three lines per message). */
@media (min-width: 1041px) and (max-width: 1199px) {
  .naa-site .story.naa-feed4 { grid-template-columns: repeat(2, 1fr); }
}

/* ===== pages/services.css ===== */
/* pages/services.css: the services overview (/services/) only. Concatenated into global.css by build/builder.py.
   Design 3.10 pins the bottom of a service card with margin-top: auto on .svc-out (home partial: outcome line, then
   the link). The overview's 2 x 2 grid (.svc-grid.naa-two, used on no other page) has a .svc-link but no .svc-out,
   so the links of two cards in one row sat at different heights whenever their .svc-line lengths differed (about
   26px at 1440 between the business process and chatbot cards). This one rule pins the link to the card bottom. */
.naa-site .svc-grid.naa-two .svc-link { margin-top: auto; }
