/* asq-tokens: css/base/tokens.css */
/* Design tokens. theme.json mirrors the palette for the block editor. */
:root {
  --bg: #0B0B0C;
  --fg: #E8E4DC;
  --fg-2: #A8A49C;
  --mute: #8F8A82; /* lightened from #6E6A64 for WCAG AA contrast (2026-09-28) */
  --faint: #4A4844;
  --gold: #C4A574;
  --line: #1C1C1F;
  --line-2: #202024;
  --edge: #26262A;
  --panel: #101012;
  --panel-hi: #131315;
  --gut: 16px;
  --sec-y: 64px;
  --sec-gap: 40px;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --display: Archivo, sans-serif;
  color-scheme: dark;
}
@media (min-width: 640px) {
  :root { --gut: 24px; --sec-y: 80px; }
}
@media (min-width: 900px) {
  :root { --gut: 56px; --sec-y: 96px; --sec-gap: 56px; }
}
@media (min-width: 1181px) {
  :root { --sec-y: 120px; --sec-gap: 90px; }
}

/* asq-fonts: css/base/fonts.css */
/* Self-hosted (SIL OFL 1.1), latin subset. No request leaves asenq.com for fonts. */
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 400 800; font-stretch: 62% 125%; font-display: swap;
  src: url("https://asenq.com/wp-content/themes/asenq/assets/css/base/../../fonts/archivo-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;
}
@font-face {
  font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("https://asenq.com/wp-content/themes/asenq/assets/css/base/../../fonts/plex-mono-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;
}
@font-face {
  font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("https://asenq.com/wp-content/themes/asenq/assets/css/base/../../fonts/plex-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;
}
@font-face {
  font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 700; font-stretch: 100%; font-display: swap;
  src: url("https://asenq.com/wp-content/themes/asenq/assets/css/base/../../fonts/plex-sans-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;
}
@font-face {
  font-family: "IBM Plex Sans"; font-style: italic; font-weight: 400 700; font-stretch: 100%; font-display: swap;
  src: url("https://asenq.com/wp-content/themes/asenq/assets/css/base/../../fonts/plex-sans-italic-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;
}

/* asq-base: css/base/base.css */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  font-family: var(--sans);
}
a { color: var(--fg); text-decoration: none; transition: color .15s; }
@media (hover: hover) {
  a:hover { color: var(--gold); }
}
button { font: inherit; color: inherit; }
::selection { background: rgba(196,165,116,.3); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 2px; }
code { font-family: var(--mono); font-size: 13px; color: var(--fg); }
.gold { color: var(--gold); }
.fg { color: var(--fg); }
.dim { color: var(--mute); }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  position: fixed !important; left: 12px; top: 12px; z-index: 100; width: auto; height: auto; margin: 0;
  padding: 10px 14px; clip: auto; background: var(--panel); border: 1px solid var(--gold); color: var(--fg);
  font-family: var(--mono); font-size: 12px;
}

@keyframes aqUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes aqIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes aqPulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- page chrome ---------- */
#bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='160'%20height='160'%3E%3Cfilter%20id='n'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='0.9'%20numOctaves='4'/%3E%3C/filter%3E%3Crect%20width='160'%20height='160'%20filter='url(https://asenq.com/wp-content/themes/asenq/assets/css/base/%23n)'/%3E%3C/svg%3E");
}
.page { position: relative; min-height: 100vh; min-height: 100svh; overflow-x: clip; }
.page > * { position: relative; z-index: 10; }

/* asq-nav: css/components/nav.css */
.nav {
  z-index: 20; display: flex; align-items: baseline; justify-content: space-between;
  padding: 26px max(var(--gut), env(safe-area-inset-left)) 0;
  padding-right: max(var(--gut), env(safe-area-inset-right));
}
.logo { font-family: var(--display); font-variation-settings: 'wdth' 78, 'wght' 700; font-size: 21px; letter-spacing: -.02em; position: relative; }
/* Tap target overlay for logo */
.logo::after { content: ''; position: absolute; inset: -11px -8px; }
.nav-links { display: flex; gap: 24px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
.nav-links a { color: var(--mute); position: relative; }
/* Tap target overlay for nav links */
.nav-links a::after { content: ''; position: absolute; inset: -14px -8px; }
.nav-links a.hi { color: var(--fg-2); }
@media (hover: hover) {
  .nav-links a:hover { color: var(--gold); }
}
.nav-links a[aria-current="page"] { color: var(--fg); }

.wide-only { display: none; }
@media (min-width: 900px) {
  .wide-only { display: revert; }
  .nav-links { gap: 34px; }
}

/* asq-buttons: css/components/buttons.css */
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; align-items: center; }

.btn-copy {
  padding: 13px 16px; border: 1px solid var(--gold); background: transparent; color: var(--fg);
  font-family: var(--mono); font-size: 13px; cursor: pointer; transition: background .18s; border-radius: 0;
}
@media (hover: hover) {
  .btn-copy:hover { background: rgba(196,165,116,.12); }
}
.btn-copy:active { background: rgba(196,165,116,.22); }
.btn-copy .copy-done { display: none; color: var(--gold); }
.btn-copy.copied .copy-idle { display: none; }
.btn-copy.copied .copy-done { display: inline; }
.btn-ghost {
  display: inline-block; padding: 13px 16px; border: 1px solid var(--edge); color: var(--fg-2); font-size: 14px;
  transition: border-color .18s, color .18s;
}
@media (hover: hover) {
  .btn-ghost:hover { border-color: #3A3A40; color: var(--fg); }
}

@media (min-width: 640px) {
  .cta { margin-top: 44px; }
  .btn-copy, .btn-ghost { padding: 14px 22px; }
}

/* asq-section: css/components/section.css */
/* Two-column "split" section with eyebrow + display h2 (homepage; reusable on pages). */
/* Mobile-first: single column is the default. */
.split {
  border-top: 1px solid var(--line); padding: var(--sec-y) max(var(--gut), env(safe-area-inset-left));
  padding-right: max(var(--gut), env(safe-area-inset-right));
  display: grid; grid-template-columns: 1fr; gap: var(--sec-gap); align-items: start;
}
.split.rev > .split-text { order: 0; }
.split.first { margin-top: 96px; }
.split.noline { border-top: 0; }
.eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: 26px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; color: var(--mute);
}
.eyebrow .rule { width: 26px; height: 1px; background: var(--edge); }
.split h2, .close h2 {
  margin: 0; max-width: 18ch; font-family: var(--display); font-variation-settings: 'wdth' 76, 'wght' 600;
  font-size: clamp(38px, 3.75vw, 54px); line-height: .98; letter-spacing: -.03em; color: var(--fg); text-wrap: balance;
}
.split h2.narrow { max-width: 18ch; }
.split-text p { margin: 24px 0 0; max-width: 38ch; font-size: 15.5px; line-height: 1.65; color: var(--fg-2); text-wrap: pretty; }

@media (min-width: 900px) {
  .split { grid-template-columns: .9fr 1.1fr; }
  .split.rev { grid-template-columns: 1.1fr .9fr; }
  .split.rev > .split-text { order: 2; }
  .split.first { margin-top: 130px; }
  .split h2, .split h2.narrow { max-width: 14ch; }
  .split h2.narrow { max-width: 13ch; }
}

/* asq-prose: css/components/prose.css */
/* Long-form text: readable measure, site typography. Used by single posts and pages. */
.prose {
  max-width: 68ch;
  font-family: var(--sans);
  font-size: clamp(16px, 1.05vw, 17px);
  line-height: 1.7;
  color: var(--fg-2);
}

/* Spacing between blocks */
.prose > * + * { margin-top: 1.5em; }
.prose > *:first-child { margin-top: 0; }

/* Headings */
.prose h2,
.prose h3,
.prose h4 {
  font-family: var(--display);
  font-variation-settings: 'wdth' 78, 'wght' 600;
  letter-spacing: -.02em;
  color: var(--fg);
  line-height: 1.15;
  text-wrap: balance;
}
.prose h2 { font-size: clamp(24px, 2vw, 30px); margin-top: 2.4em; margin-bottom: 0; }
.prose h3 { font-size: clamp(20px, 1.6vw, 24px); margin-top: 2em; margin-bottom: 0; }
.prose h4 { font-size: clamp(17px, 1.2vw, 20px); margin-top: 1.6em; margin-bottom: 0; }
.prose h2 + *,
.prose h3 + *,
.prose h4 + * { margin-top: 0.75em; }

/* Paragraphs */
:where(.prose p) { margin: 0; }

/* Links */
.prose a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color .15s;
}
@media (hover: hover) {
  .prose a:hover { color: var(--fg); }
}

/* Bold / strong */
.prose strong,
.prose b { color: var(--fg); }

/* Inline code */
.prose code {
  font-family: var(--mono);
  font-size: 0.88em;
  padding: 2px 6px;
  background: var(--panel);
  border: 1px solid var(--line-2);
  color: var(--fg);
}
/* Don't double-style code inside pre */
.prose pre code {
  white-space: pre;
  overflow-wrap: normal;
  padding: 0;
  background: none;
  border: none;
  font-size: inherit;
}

/* Code blocks */
.prose pre,
.prose .wp-block-code,
.prose .wp-block-preformatted {
  background: var(--panel);
  border: 1px solid var(--line-2);
  padding: 20px 24px;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--fg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Blockquote */
.prose blockquote,
.prose .wp-block-quote {
  margin: 1.5em 0;
  padding: 0 0 0 24px;
  border-left: 2px solid var(--gold);
  font-style: italic;
  color: var(--fg-2);
}
.prose blockquote p,
.prose .wp-block-quote p { margin: 0; }
.prose blockquote cite,
.prose .wp-block-quote cite {
  display: block;
  margin-top: 0.75em;
  font-style: normal;
  font-size: 0.88em;
  color: var(--mute);
}

/* Lists */
.prose ul,
.prose ol {
  margin: 1.5em 0;
  padding-left: 1.5em;
}
.prose li { margin-top: 0.4em; }
.prose li::marker { color: var(--mute); }

/* Tables */
/* Core table blocks already sit in <figure class="wp-block-table">: that figure scrolls. */
.prose .table-scroll,
.prose .wp-block-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.prose table,
.prose .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92em;
}
.prose table th,
.prose table td {
  padding: 10px 14px;
  border: 1px solid var(--line-2);
  text-align: left;
}
.prose table th {
  background: var(--panel);
  color: var(--fg);
  font-family: var(--mono);
  font-size: 0.88em;
  letter-spacing: 0.04em;
}
.prose table td { color: var(--fg-2); }

/* Images, figures, captions */
.prose img {
  max-width: 100%;
  height: auto;
  display: block;
}
.prose figure {
  margin: 1.5em 0;
}
.prose figcaption,
.prose .wp-element-caption {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mute);
  text-align: center;
}

/* Separator / hr */
.prose hr,
.prose .wp-block-separator {
  border: none;
  border-top: 1px solid var(--line);
  margin: 2.5em 0;
}

/* Embeds */
.prose .wp-block-embed {
  margin: 1.5em 0;
}
.prose .wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.prose .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* WP gallery */
.prose .wp-block-gallery {
  margin: 1.5em 0;
}

@media (max-width: 639px) {
  .prose pre,
  .prose .wp-block-code,
  .prose .wp-block-preformatted {
    padding: 16px;
    font-size: 13px;
  }
  .prose table th,
  .prose table td {
    padding: 8px 10px;
  }
}

/* asq-consent: css/components/consent.css */
/* Consent banner: fixed bottom panel, site style. */
.consent-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 50;
  padding: 0 var(--gut);
  pointer-events: none;
}

.consent-banner[hidden] {
  display: none;
}

.consent-inner {
  max-width: 640px;
  margin: 0 auto 24px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  pointer-events: auto;
}

.consent-title {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  color: var(--mute);
  text-transform: uppercase;
}

.consent-text {
  margin: 0 0 20px;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-2);
}

.consent-text a {
  color: var(--fg-2);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .15s;
}

@media (hover: hover) {
  .consent-text a:hover {
    color: var(--gold);
  }
}

.consent-actions {
  display: flex;
  gap: 10px;
}

.consent-btn {
  flex: 1 1 0;
  min-height: 44px;
  min-width: 44px;
  padding: 12px 20px;
  border: 1px solid var(--edge);
  background: transparent;
  color: var(--fg-2);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}

@media (hover: hover) {
  .consent-btn:hover {
    border-color: var(--gold);
    color: var(--fg);
  }
}

.consent-btn:active {
  background: rgba(196, 165, 116, .08);
}

/* Footer "Cookie settings" button: inherits footer mono style, meets 44x44 tap target. */
.footer-links [data-asq-consent-open] {
  padding: 5px 0;
  min-height: 44px;
  min-width: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--mute);
  font: inherit;
  letter-spacing: inherit;
  transition: color .15s;
}

@media (hover: hover) {
  .footer-links [data-asq-consent-open]:hover {
    color: var(--gold);
  }
}

@media (max-width: 639px) {
  .consent-inner {
    margin-bottom: 16px;
    padding: 18px 16px;
  }

  .consent-text {
    font-size: 13px;
  }

  .consent-btn {
    padding: 12px 12px;
    font-size: 11px;
  }
}

/* asq-footer: css/components/footer.css */
.footer {
  border-top: 1px solid var(--line); padding: 22px max(var(--gut), env(safe-area-inset-left)) 34px;
  padding-right: max(var(--gut), env(safe-area-inset-right));
  display: flex; flex-direction: column; gap: 14px 26px;
  justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--mute);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer-links a, .footer-links button { color: var(--mute); text-transform: uppercase; position: relative; }
/* Tap target overlay for footer links */
.footer-links a::after, .footer-links button::after { content: ''; position: absolute; inset: -14px -8px; }
.footer-links button {
  padding: 0; background: none; border: 0; cursor: pointer; font: inherit; letter-spacing: inherit; transition: color .15s;
}
@media (hover: hover) {
  .footer-links a:hover, .footer-links button:hover { color: var(--gold); }
}

@media (min-width: 640px) {
  .footer { flex-direction: row; flex-wrap: wrap; }
}

/* asq-hero: css/home/hero.css */
.hero { padding: 56px max(var(--gut), env(safe-area-inset-left)) 0; padding-right: max(var(--gut), env(safe-area-inset-right)); }
.hero-copy { max-width: 600px; animation: aqUp .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-meta { font-family: var(--mono); font-size: 11px; letter-spacing: .22em; color: var(--mute); margin-bottom: 28px; }
.hero h1 {
  margin: 0; font-family: var(--display); font-variation-settings: 'wdth' 74, 'wght' 700;
  font-size: clamp(56px, 7vw, 100px); line-height: .9; letter-spacing: -.035em; color: var(--fg);
}
.lede { margin: 34px 0 0; max-width: 410px; font-size: 15.5px; line-height: 1.6; color: var(--fg-2); text-wrap: pretty; }

@media (min-width: 640px) {
  .hero { padding-top: 72px; }
  .lede { font-size: 16px; }
}
@media (min-width: 900px) {
  .hero { padding-top: 96px; }
  .hero-meta { margin-bottom: 38px; }
}
/* Wide: the design's layout — window floats right of the hero copy */
@media (min-width: 1360px) {
  .hero { position: relative; min-height: 780px; }
}

/* asq-tui: css/home/tui.css */
.tui-stage {
  position: relative; width: 100%; max-width: 880px; margin-top: 56px; perspective: none; z-index: 5;
  animation: aqUp 1.1s .15s cubic-bezier(.2,.7,.2,1) both;
}
.tui-glow {
  position: absolute; inset: 6% -4% -12% 2%; pointer-events: none; filter: blur(40px);
  background: radial-gradient(60% 55% at 50% 45%, rgba(196,165,116,.10), rgba(196,165,116,0) 70%);
}
.tui-restore {
  position: absolute; left: 16px; top: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 16px; border: 1px solid var(--edge); background: #121215; border-radius: 10px; cursor: pointer;
  font-family: var(--mono); font-size: 11.5px; color: var(--mute); transition: color .15s, border-color .15s;
}
.tui-restore[hidden] { display: none; }
@media (hover: hover) {
  .tui-restore:hover { border-color: #3A342C; color: var(--gold); }
}
.restore-dot { width: 9px; height: 9px; border-radius: 50%; background: #8C4A44; }

.tui {
  --tilt: -9deg;
  position: relative; border-radius: 11px; overflow: hidden; background: #121215; border: 1px solid var(--edge);
  box-shadow: 0 60px 120px -40px rgba(0,0,0,.9), 0 8px 30px rgba(0,0,0,.6);
  transform-origin: left center; transition: transform .45s cubic-bezier(.2,.7,.2,1);
  transform: none;
}
.tui.max { --tilt: 0deg; }
.tui.closed { visibility: hidden; }
.tui.min .tui-body { visibility: hidden; }

.tui-bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; background: #171719; border-bottom: 1px solid #232327; }
.wbtn {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: #2E2E33; cursor: pointer;
  transition: background .15s; position: relative;
}
/* Extend tap target for tiny dots (9px visible, >=44px tall hit area via ::before overlay).
   Horizontal extent limited to half the gap (4px) to avoid intercepting adjacent buttons. */
.wbtn::before {
  content: ''; position: absolute; top: -18px; bottom: -18px; left: -4px; right: -4px;
}
@media (hover: hover) {
  .wclose:hover { background: #8C4A44; }
  .wmin:hover { background: #8A7644; }
  .wmax:hover { background: #4A7A55; }
}
.tui-title { margin-left: 14px; font-family: var(--mono); font-size: 10.5px; color: var(--mute); }

.tui-body { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.tui-tabs {
  display: flex; gap: 2px; padding: 10px 14px 0; border-bottom: 1px solid var(--line-2); background: #0F0F11;
  overflow-x: auto; scrollbar-width: none;
}
.tui-tabs::-webkit-scrollbar { display: none; }
.tab {
  display: flex; gap: 8px; align-items: center; padding: 8px 10px 9px; font-size: 11.5px; cursor: pointer; white-space: nowrap;
  color: var(--mute); background: none; border: 0; border-bottom: 2px solid transparent; transition: color .15s;
  position: relative;
}
/* Tap target overlay for tabs */
.tab::after { content: ''; position: absolute; inset: -7px -4px; }
@media (hover: hover) {
  .tab:hover { color: var(--fg); }
}
.tab.on { color: var(--fg); border-bottom-color: var(--gold); }
.tab .key { color: var(--mute); }
.tab .badge { color: var(--gold); }

.tui-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: auto 380px; height: auto; }
.tui-side {
  padding: 10px 8px; background: #0F0F11; border-right: 0; border-bottom: 1px solid var(--line-2);
  font-size: 12px; overflow: hidden;
}
.tui-list-title { padding: 0 6px 8px; font-size: 9.5px; letter-spacing: .16em; color: var(--mute); }
.row {
  display: grid; grid-template-columns: 10px 1fr auto; gap: 10px; align-items: center; width: auto; min-width: 148px; padding: 8px;
  text-align: left; cursor: pointer; background: transparent; border: 0; border-left: 2px solid transparent;
  font-family: var(--mono); font-size: 12px; transition: background .15s;
  flex: 0 0 auto; position: relative;
}
/* Tap target overlay for rows */
.row::after { content: ''; position: absolute; inset: -7px -4px; }
@media (hover: hover) {
  .row:hover { background: rgba(232,228,220,.04); }
}
.row.on { background: rgba(196,165,116,.07); border-left-color: var(--gold); }
.row .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); }
.row .dot.live { background: #7FA37F; }
.row .dot.busy { background: var(--gold); animation: aqPulse 1.4s infinite; }
.row .name { display: block; min-width: 0; color: var(--fg-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row.on .name { color: var(--fg); }
.row .sub { display: block; margin-top: 2px; font-size: 10.5px; color: var(--mute); }
.row .unread { font-size: 10.5px; color: var(--gold); }

.tui-rows { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tui-rows::-webkit-scrollbar { display: none; }

.tui-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: linear-gradient(180deg, #141417 0%, #101013 100%); }
.tui-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 14px; border-bottom: 1px solid #1E1E22; font-size: 12.5px; }
.tui-meta { font-size: 10.5px; color: var(--mute); white-space: nowrap; }
.tui-msgs { flex: 1; min-height: 0; overflow-y: auto; padding: 12px 14px; display: flex; flex-direction: column; gap: 14px; }
.msg { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.msg.me { align-items: flex-end; }
.msg-meta { display: flex; gap: 10px; font-size: 10.5px; color: var(--mute); }
.msg-meta .from { color: var(--fg-2); }
.msg.me .msg-meta .from { color: var(--gold); }
.msg-text {
  max-width: 88%; padding: 9px 12px; font-family: var(--sans); font-size: 13px; line-height: 1.5; color: var(--fg);
  background: #18181C; border: 1px solid #24242A; overflow-wrap: anywhere;
}
.msg.me .msg-text { background: rgba(196,165,116,.08); border-color: rgba(196,165,116,.28); }
.typing { font-size: 10.5px; color: var(--mute); animation: aqPulse 1.2s infinite; }
.tui-compose { display: flex; align-items: center; gap: 10px; padding: 12px; border-top: 1px solid var(--line-2); background: #121215; font-size: 11px; }
#tui-input {
  flex: 1; min-width: 0; background: transparent; border: 0; outline: none; padding: 0;
  font-family: var(--sans); font-size: 13.5px; color: var(--fg);
}
/* Touch screens (phones and tablets): 16px stops iOS zooming into the field on focus. */
@media (pointer: coarse) {
  #tui-input { font-size: 16px; }
}
#tui-input::placeholder { color: var(--mute); }
.tui-send {
  font-family: var(--mono); font-size: 10.5px; color: var(--mute); cursor: pointer; padding: 3px 7px; background: none;
  border: 1px solid var(--edge); border-radius: 4px; transition: color .15s, border-color .15s; white-space: nowrap;
  position: relative;
}
/* Tap target overlay for send button */
.tui-send::after { content: ''; position: absolute; inset: -12px -10px; }
@media (hover: hover) {
  .tui-send:hover { color: var(--gold); border-color: #3A342C; }
}

@media (min-width: 640px) {
  .tui-stage { margin-top: 72px; perspective: 1800px; }
  .tui, .tui.max { transform: rotateY(calc(var(--tilt) * .45)) rotateX(1.2deg); }
  .tui.max { --tilt: 0deg; }
  .tui-restore { left: 40px; top: 40px; }
  .tab { padding: 8px 14px 9px; }
  .tui-grid { grid-template-columns: 240px 1fr; grid-template-rows: auto; height: 420px; }
  .tui-side { padding: 14px 10px; border-right: 1px solid var(--line-2); border-bottom: 0; }
  .tui-list-title { padding: 0 8px 10px; }
  .tui-rows { display: block; overflow-x: visible; }
  .row { width: 100%; min-width: 0; flex: none; }
  .tui-head { padding: 14px 20px; }
  .tui-msgs { padding: 14px 20px; }
  .msg-text { max-width: 78%; }
  .tui-compose { padding: 12px 16px; }
}
@media (min-width: 1360px) {
  .tui-stage { position: absolute; right: -60px; top: 190px; width: clamp(720px, calc(100vw - 560px), 880px); margin: 0; }
  .tui { transform: rotateY(var(--tilt)) rotateX(2.4deg) rotate(-.6deg); }
}

/* asq-sections: css/home/sections.css */
/* 01 harness grid */
.harness-grid {
  display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2);
  font-family: var(--mono); font-variant-numeric: tabular-nums;
}
.harness-grid .cell { background: var(--panel); padding: 22px; min-width: 0; transition: background .25s; }
@media (hover: hover) {
  .harness-grid .cell:hover { background: var(--panel-hi); }
}
.harness-grid .label { font-size: 10.5px; letter-spacing: .16em; color: var(--mute); }
.harness-grid .cmd { margin-top: 18px; font-size: 12.5px; color: var(--fg); overflow-wrap: anywhere; }
.harness-grid .note { margin-top: 26px; font-size: 11px; line-height: 1.7; color: var(--mute); }
.cell-foot {
  grid-column: 1 / -1; background: #0E0E10; padding: 18px 22px; display: flex; flex-wrap: wrap; gap: 8px 24px;
  justify-content: space-between; font-size: 11.5px; color: var(--mute);
}

/* 02 install steps */
.steps { border: 1px solid var(--line-2); background: var(--panel); font-family: var(--mono); font-size: 13px; }
.step {
  display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; width: 100%; padding: 18px 16px;
  text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer;
  font-family: var(--mono); font-size: 13px; transition: background .18s;
  position: relative;
}
/* Tap target overlay (visible size unchanged, hit area >= 44px tall) */
.step::after { content: ''; position: absolute; inset: -2px 0; }
@media (hover: hover) {
  .step:hover { background: var(--panel-hi); }
}
.step .n { color: var(--mute); }
.step-cmd { color: var(--fg); overflow-wrap: anywhere; }
.step-note { display: block; margin-top: 6px; font-size: 11px; color: var(--mute); }
.step-state { font-size: 10.5px; letter-spacing: .1em; color: var(--mute); }
.step.copied .step-state { color: var(--gold); }
.steps-foot { padding: 14px 16px; font-size: 11px; color: var(--mute); }

/* 03 delivery accordion */
.accordion { font-family: var(--mono); font-size: 12.5px; }
.acc-item { padding: 18px 2px; border-top: 1px solid var(--line-2); }
.acc-head {
  display: flex; justify-content: space-between; align-items: baseline; width: 100%; padding: 0;
  background: none; border: 0; cursor: pointer; font-family: var(--mono); font-size: 12.5px; text-align: left;
  position: relative;
}
/* Tap target overlay: extends hit area to >= 44px without moving content */
.acc-head::after { content: ''; position: absolute; inset: -13px -4px; }
.acc-name { color: var(--fg); transition: color .15s; }
@media (hover: hover) {
  .acc-head:hover .acc-name { color: var(--gold); }
}
.acc-item.open .acc-name { color: var(--gold); }
.acc-sign { color: var(--mute); }
.acc-body {
  display: grid; grid-template-columns: 1fr; gap: 2px; margin-top: 16px;
  font-size: 11.5px; line-height: 1.6; animation: aqIn .3s both;
}
.acc-body[hidden] { display: none; }
.acc-body .k { color: var(--mute); }
.acc-body .v { color: var(--fg-2); overflow-wrap: anywhere; margin-bottom: 8px; }
.acc-body .v.gold { color: var(--gold); }
.acc-foot { padding: 16px 2px; border-top: 1px solid var(--line-2); color: var(--mute); font-size: 11px; }

/* 04 incoming */
.incoming {
  border: 1px solid var(--line-2); background: var(--panel); padding: 18px 16px; min-width: 0;
  font-family: var(--mono); font-size: 12.5px; line-height: 1.9; overflow-wrap: anywhere; transition: border-color .25s;
}
@media (hover: hover) {
  .incoming:hover { border-color: #2E2A24; }
}
.incoming-label { color: var(--mute); font-size: 11px; letter-spacing: .14em; margin-bottom: 14px; }
.incoming-note { color: var(--mute); font-size: 11.5px; line-height: 1.7; margin-top: 4px; }
.toolset {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr; gap: 0; font-size: 12px; color: var(--mute);
}
.toolset .fg:not(:first-child) { margin-top: 8px; }

/* guardrails */
.guards {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(2, 1fr); overflow: hidden;
}
.guard { padding: 24px var(--gut); box-shadow: 1px 1px 0 var(--line); }
.guard:first-child { padding-left: var(--gut); }
.guard:last-child { padding-right: var(--gut); }
.gnum {
  font-family: var(--display); font-variation-settings: 'wdth' 78, 'wght' 600; font-variant-numeric: tabular-nums;
  font-size: 34px; letter-spacing: -.02em; color: var(--fg);
}
.gnum.gold { color: var(--gold); }
.gnum .unit { font-size: 20px; color: var(--mute); }
.glabel { margin-top: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; color: var(--mute); }

/* 05 scope */
.scope-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2);
  font-family: var(--mono); font-size: 12px; line-height: 2.1;
}
.scope { background: var(--panel); padding: 16px; color: var(--fg); }
.scope-label { font-size: 11px; letter-spacing: .14em; color: var(--gold); margin-bottom: 10px; }
.doesnt { color: var(--mute); }
.doesnt .scope-label { color: var(--mute); }

/* close */
.close {
  border-top: 1px solid var(--line);
  padding: 110px max(var(--gut), env(safe-area-inset-left)) 96px;
  padding-right: max(var(--gut), env(safe-area-inset-right));
}
.close h2 {
  max-width: none; font-variation-settings: 'wdth' 74, 'wght' 700; font-size: clamp(40px, 6.4vw, 92px);
  line-height: .9; letter-spacing: -.035em; overflow-wrap: anywhere;
}
.close p { margin: 26px 0 0; max-width: 40ch; font-size: 16px; line-height: 1.65; color: var(--fg-2); text-wrap: pretty; }
.close .cta { margin-top: 40px; }

@media (min-width: 640px) {
  .acc-body { grid-template-columns: 110px 1fr; gap: 10px 16px; }
  .acc-body .v { margin-bottom: 0; }
  .incoming { padding: 22px 24px; }
  .toolset { grid-template-columns: auto 1fr; gap: 6px 22px; }
  .toolset .fg:not(:first-child) { margin-top: 0; }
  .scope { padding: 20px 22px; }
  .step { padding: 20px 22px; gap: 14px; grid-template-columns: 28px 1fr auto; }
  .steps-foot { padding: 16px 22px; }
  .guard, .guard:first-child, .guard:last-child { padding: 28px var(--gut); }
  .guards { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .guards { grid-template-columns: repeat(5, 1fr); }
  .guard, .guard:first-child, .guard:last-child { padding: 34px 28px 32px; }
  .guard:first-child { padding-left: var(--gut); }
  .guard:last-child { padding-right: var(--gut); }
  .close {
    padding: 150px max(var(--gut), env(safe-area-inset-left)) 130px;
    padding-right: max(var(--gut), env(safe-area-inset-right));
  }
}
@media (min-width: 1181px) {
  .harness-grid { grid-template-columns: repeat(3, 1fr); }
}

