/* AudienceStrike — Dark audience intelligence · Singapore · V11 */
:root {
  --as-void: #07090E;
  --as-panel: #10141C;
  --as-slate: #171C26;
  --as-muted: #222936;
  --as-text: #F4F6FA;
  --as-muted-t: #9AA4B5;
  --as-coral: #FF5C4D;
  --as-coral-s: #FF8A7A;
  --as-ink: #07090E;
  --as-white: #FFFFFF;
  --as-glass: rgba(16, 20, 28, 0.78);
  --as-border: rgba(255, 92, 77, 0.2);
  --as-rail-w: 280px;
  --as-header-h: 60px;
  --font-head: "Syne", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --radius: 6px;
  --radius-lg: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --section-pad: clamp(64px, 9vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body.site-audiencestrike {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--as-text);
  background: var(--as-void);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; }

.site-audiencestrike img {
  max-width: 280px;
  max-height: 200px;
  width: auto;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.site-audiencestrike .hero img:not(.hero-thumb),
.site-audiencestrike .as-hero img:not(.hero-thumb) {
  display: none;
}

.hero-thumb {
  max-width: 160px !important;
  max-height: 120px !important;
  display: block !important;
}

.img-contact {
  max-width: 220px !important;
  max-height: 150px !important;
}

.img-accent {
  max-width: 200px !important;
  max-height: 160px !important;
}

a {
  color: var(--as-coral);
  text-decoration: none;
  transition: color 0.3s var(--ease), opacity 0.3s var(--ease);
}

a:hover { color: var(--as-coral-s); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--as-text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.12rem, 1.8vw, 1.35rem); }

p { margin-bottom: 1rem; color: var(--as-muted-t); }
p:last-child { margin-bottom: 0; }

ul, ol { color: var(--as-muted-t); padding-left: 1.25rem; margin-bottom: 1rem; }
li { margin-bottom: 0.4rem; }

/* Surfaces */
.surface-as-void { background: var(--as-void); color: var(--as-text); }
.surface-as-panel { background: var(--as-panel); color: var(--as-text); }
.surface-as-slate { background: var(--as-slate); color: var(--as-text); }
.surface-as-accent { background: var(--as-coral); color: var(--as-ink); }
.surface-as-muted { background: var(--as-muted); color: var(--as-text); }

.surface-as-accent p,
.surface-as-accent h2,
.surface-as-accent h3,
.surface-as-accent .eyebrow,
.surface-as-accent a { color: var(--as-ink); }

.surface-as-accent .metric-label,
.surface-as-accent .muted { color: rgba(7, 9, 14, 0.72); }

/* ── Shell · left rail ── */
.as-mini-header {
  position: fixed;
  top: 0;
  left: var(--as-rail-w);
  right: 0;
  height: var(--as-header-h);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 clamp(24px, 4vw, 48px);
  border-bottom: 1px solid rgba(255, 92, 77, 0.12);
  background: rgba(7, 9, 14, 0.88);
  backdrop-filter: blur(16px);
}

.as-wordmark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
  color: var(--as-text) !important;
}

.as-wordmark:hover { color: var(--as-coral) !important; }

.as-header-loc {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--as-muted-t);
  white-space: nowrap;
}

.as-rail {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--as-rail-w);
  height: 100vh;
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 28px 22px 28px;
  border-right: 1px solid rgba(255, 92, 77, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 92, 77, 0.06) 0%, transparent 28%),
    var(--as-panel);
}

.as-rail-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: var(--as-coral);
  color: var(--as-white) !important;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.as-rail-mark:hover {
  background: var(--as-coral-s);
  color: var(--as-white) !important;
}

.as-rail-label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--as-muted-t);
  margin-bottom: 22px;
}

.as-rail nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.as-rail nav a {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius);
  color: var(--as-muted-t);
  font-size: 0.95rem;
  font-weight: 500;
  border-left: 2px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.as-rail nav a:hover,
.as-rail nav a.is-active {
  color: var(--as-text);
  background: rgba(255, 92, 77, 0.1);
  border-left-color: var(--as-coral);
}

.as-rail-cta {
  display: block;
  text-align: center;
  padding: 13px 16px;
  background: var(--as-coral);
  color: var(--as-white) !important;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius);
  margin-top: 18px;
  min-height: 46px;
  line-height: 1.3;
}

.as-rail-cta:hover {
  background: var(--as-coral-s);
  color: var(--as-white) !important;
}

.as-rail-meta {
  margin-top: 18px;
  font-size: 0.74rem;
  color: var(--as-muted-t);
  line-height: 1.5;
}

.as-scrim {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  z-index: 95;
}

.as-shell {
  margin-left: var(--as-rail-w);
  padding-top: var(--as-header-h);
  min-height: 100vh;
}

.as-menu-toggle {
  display: none;
  position: fixed;
  top: 10px;
  left: 14px;
  z-index: 110;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 92, 77, 0.35);
  background: var(--as-panel);
  border-radius: var(--radius);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.as-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--as-coral);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.as-menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.as-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.as-menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.as-rail-close {
  display: none;
  align-self: flex-end;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--as-text);
  font-size: 1.6rem;
  cursor: pointer;
  margin-bottom: 8px;
  line-height: 1;
}

.container {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 40px);
  padding-right: clamp(20px, 4vw, 40px);
}

.container-wide {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 40px);
  padding-right: clamp(20px, 4vw, 40px);
}

.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--as-coral);
  margin-bottom: 14px;
}

.serial {
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--as-muted-t);
  margin-bottom: 12px;
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  max-width: 40rem;
  color: var(--as-muted-t);
  line-height: 1.7;
}

.muted { color: var(--as-muted-t); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn-primary {
  background: var(--as-coral);
  color: var(--as-white) !important;
  border-color: var(--as-coral);
}

.btn-primary:hover {
  background: var(--as-coral-s);
  border-color: var(--as-coral-s);
  color: var(--as-white) !important;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--as-coral) !important;
  border-color: var(--as-coral);
}

.btn-outline:hover {
  background: rgba(255, 92, 77, 0.12);
  color: var(--as-coral-s) !important;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* Glass cards */
.glass-card {
  background: var(--as-glass);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--as-coral);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  padding: 16px 18px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
}

.glass-card h3,
.glass-card .kpi-value { color: var(--as-text); }

.glass-card p,
.glass-card .kpi-label {
  color: var(--as-muted-t);
  font-size: 0.85rem;
  margin: 0;
}

.kpi-value {
  font-family: var(--font-head);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--as-coral);
  line-height: 1.1;
  margin-bottom: 4px;
}

/* ── Hero ── */
.as-hero {
  min-height: calc(100vh - var(--as-header-h));
  display: flex;
  align-items: center;
  padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 7vw, 88px);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 45% at 82% 28%, rgba(255, 92, 77, 0.16), transparent 58%),
    radial-gradient(ellipse 35% 40% at 12% 88%, rgba(34, 41, 54, 0.85), transparent 55%),
    linear-gradient(165deg, #07090E 0%, #10141C 42%, #171C26 100%);
}

.as-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 92, 77, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 92, 77, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.55;
  animation: meshDrift 32s linear infinite;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, black, transparent);
}

@keyframes meshDrift {
  0% { transform: translate(0, 0); }
  50% { transform: translate(-10px, 6px); }
  100% { transform: translate(0, 0); }
}

.as-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.as-hero-copy .eyebrow {
  margin-bottom: 10px;
}

.as-hero-copy h1 {
  margin-bottom: 18px;
  max-width: 16ch;
}

.as-hero-copy .lead {
  max-width: 38rem;
}

.as-hero-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
}

.as-radar-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0 4px;
  position: relative;
}

.as-radar-wrap::after {
  content: "";
  position: absolute;
  width: min(280px, 70%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 92, 77, 0.18), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.as-radar {
  position: relative;
  z-index: 1;
  width: min(280px, 78%);
  height: auto;
  opacity: 0.95;
}

.as-radar-ring {
  fill: none;
  stroke: rgba(255, 92, 77, 0.38);
  stroke-width: 1.5;
}

.as-radar-sweep {
  fill: rgba(255, 92, 77, 0.14);
  transform-origin: 160px 160px;
  animation: radarSweep 6s linear infinite;
}

@keyframes radarSweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.as-signal-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.as-signal-board .glass-card {
  max-width: none;
  min-height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: signalIn 0.7s var(--ease) both;
}

.as-signal-board .glass-card:nth-child(1) { animation-delay: 0.05s; }
.as-signal-board .glass-card:nth-child(2) { animation-delay: 0.12s; }
.as-signal-board .glass-card:nth-child(3) { animation-delay: 0.18s; }
.as-signal-board .glass-card:nth-child(4) { animation-delay: 0.24s; }
.as-signal-board .glass-card:nth-child(5) {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  animation-delay: 0.3s;
}

.as-signal-board .glass-card:nth-child(5) .kpi-pair {
  display: flex;
  gap: 28px;
}

.as-signal-board .glass-card h3 {
  font-size: 0.92rem;
  margin: 0 0 4px;
}

@keyframes signalIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 32px;
  font-size: 0.82rem;
  color: var(--as-muted-t);
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(16, 20, 28, 0.55);
}

.trust-row span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--as-coral);
  flex-shrink: 0;
}

/* Metrics strip */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.metric-block {
  text-align: center;
  padding: 12px 8px;
  position: relative;
}

.metric-block:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 18%;
  height: 64%;
  width: 1px;
  background: rgba(7, 9, 14, 0.18);
}

.metric-value {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
  color: var(--as-ink);
}

.metric-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(7, 9, 14, 0.75);
}

/* Mosaic — equal widths */
.mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.mosaic-card {
  background: var(--as-panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top: 3px solid transparent;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
  min-height: 188px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mosaic-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 92, 77, 0.35);
  border-top-color: var(--as-coral);
  background: #141925;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.mosaic-card .tag {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--as-coral);
  margin-bottom: 10px;
  font-weight: 700;
}

.mosaic-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.mosaic-card p {
  font-size: 0.88rem;
  margin: 0;
  margin-top: auto;
  line-height: 1.55;
}

.mosaic-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 14px;
  color: var(--as-coral);
  opacity: 0.9;
}

/* Proof + funnel */
.proof-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}

.as-funnel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 24px;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255, 92, 77, 0.12), transparent 55%),
    var(--as-panel);
  border: 1px solid rgba(255, 92, 77, 0.18);
  border-radius: var(--radius-lg);
}

.as-funnel-step {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--as-slate);
  border: 1px solid rgba(255, 92, 77, 0.28);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.as-funnel-step:hover {
  transform: scale(1.01);
  border-color: var(--as-coral);
}

.as-funnel-step:nth-child(1) { background: #242B36; }
.as-funnel-step:nth-child(2) { background: #1A1F28; border-color: rgba(255, 92, 77, 0.4); }
.as-funnel-step:nth-child(3) { background: #141925; border-color: rgba(255, 92, 77, 0.5); }
.as-funnel-step:nth-child(4) {
  background: var(--as-void);
  border-color: var(--as-coral);
  border-width: 1.5px;
}

.as-funnel-step .fn-label {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--as-text);
  margin: 0;
}

.as-funnel-step .fn-pct {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--as-coral);
  flex-shrink: 0;
}

.as-funnel-step:nth-child(4) .fn-pct { color: var(--as-coral-s); }

.as-funnel-note {
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--as-muted-t);
  text-align: center;
}

.thumb-rail {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-top: 24px;
}

/* Playbook steps */
.step-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.step-card {
  background: rgba(7, 9, 14, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  position: relative;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.step-card:hover {
  border-color: rgba(255, 92, 77, 0.35);
  transform: translateY(-3px);
}

.step-num {
  font-family: var(--font-head);
  font-size: 0.78rem;
  color: var(--as-coral);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  font-weight: 700;
}

.step-card h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
}

/* FAQ */
.faq-list { max-width: 820px; }

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 0;
  background: none;
  border: none;
  color: var(--as-text);
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  min-height: 44px;
}

.faq-num {
  color: var(--as-coral);
  font-size: 0.9rem;
  flex-shrink: 0;
  min-width: 2rem;
}

.faq-question::after {
  content: "+";
  margin-left: auto;
  color: var(--as-coral);
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
}

.faq-item.is-open .faq-question::after { content: "−"; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.3s;
  padding: 0 0 0 2.5rem;
}

.faq-item.is-open .faq-answer {
  max-height: 600px;
  padding-bottom: 20px;
}

.faq-answer p { font-size: 0.95rem; }

/* CTA band */
.cta-band {
  text-align: center;
  padding: clamp(56px, 8vw, 96px) 0;
}

.cta-band h2 { margin-bottom: 14px; color: var(--as-ink); }
.cta-band p { max-width: 36rem; margin: 0 auto 28px; color: rgba(7, 9, 14, 0.78); }

.cta-band .btn-primary {
  background: var(--as-ink);
  border-color: var(--as-ink);
  color: var(--as-white) !important;
}

.cta-band .btn-primary:hover {
  background: #171C26;
  border-color: #171C26;
  color: var(--as-white) !important;
}

.cta-band .btn-outline {
  border-color: var(--as-ink);
  color: var(--as-ink) !important;
}

.cta-band .btn-outline:hover {
  background: rgba(7, 9, 14, 0.08);
  color: var(--as-ink) !important;
}

/* Page hero (inner) */
.page-hero {
  padding: clamp(52px, 8vw, 96px) 0 48px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 90% 10%, rgba(255, 92, 77, 0.1), transparent 55%);
  pointer-events: none;
}

.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 16px; max-width: 16ch; }
.page-hero .lead { margin-bottom: 0; }

/* Page-specific heroes */
.page-segments .page-hero {
  border-bottom: 1px solid rgba(255, 92, 77, 0.14);
  background:
    linear-gradient(135deg, #07090E 0%, #10141C 55%, #1A1520 100%);
}

.page-strike .page-hero {
  background:
    linear-gradient(180deg, #0C1018 0%, #07090E 100%);
  border-bottom: 3px solid var(--as-coral);
}

.page-analytics .page-hero {
  background:
    radial-gradient(ellipse 40% 50% at 0% 50%, rgba(255, 92, 77, 0.12), transparent 60%),
    var(--as-void);
}

.page-playbook .page-hero {
  background:
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 40px,
      rgba(255, 92, 77, 0.03) 40px,
      rgba(255, 92, 77, 0.03) 41px
    ),
    var(--as-void);
}

.page-contact .page-hero {
  padding-bottom: 32px;
  background: linear-gradient(180deg, #12151C 0%, #07090E 100%);
}

.page-faq .page-hero h1 { max-width: 18ch; }

.page-legal .page-hero {
  padding: 48px 0 32px;
  background: var(--as-panel);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-legal .page-hero h1 { max-width: none; font-size: clamp(1.8rem, 3vw, 2.4rem); }

/* Cards / content grids */
.content-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.card-stack { display: grid; gap: 16px; }

.as-card {
  background: var(--as-panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--as-coral);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.as-card:hover {
  border-color: rgba(255, 92, 77, 0.28);
}

.as-card h3 { margin-bottom: 10px; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* Page layout variants */
.segment-lanes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(255, 92, 77, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.segment-lanes article {
  padding: 28px 24px;
  background: var(--as-panel);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.segment-lanes article:last-child { border-right: none; }

.segment-lanes h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.plan-track {
  display: grid;
  gap: 0;
  position: relative;
  margin-top: 28px;
}

.plan-track::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--as-coral), rgba(255, 92, 77, 0.15));
}

.plan-track article {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 18px;
  padding: 18px 0;
  align-items: start;
}

.plan-track .plan-dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--as-void);
  border: 2px solid var(--as-coral);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--as-coral);
  position: relative;
  z-index: 1;
}

.analytics-bars {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.analytics-bar {
  display: grid;
  grid-template-columns: 120px 1fr 48px;
  gap: 12px;
  align-items: center;
}

.analytics-bar span {
  font-size: 0.82rem;
  color: var(--as-muted-t);
}

.analytics-bar .bar-track {
  height: 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
}

.analytics-bar .bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--as-coral), var(--as-coral-s));
  border-radius: 999px;
  width: var(--bw, 50%);
  animation: barGrow 1.2s var(--ease) both;
}

.analytics-bar strong {
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: var(--as-coral);
  text-align: right;
}

@keyframes barGrow {
  from { width: 0; }
}

.phase-spine {
  display: grid;
  gap: 0;
  margin-top: 28px;
  border-left: 2px solid rgba(255, 92, 77, 0.35);
  padding-left: 28px;
}

.phase-spine .step-card {
  margin-bottom: 14px;
  border-left: none;
}

.contact-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.contact-split .form-grid.as-card {
  background:
    linear-gradient(160deg, rgba(255, 92, 77, 0.05), transparent 40%),
    var(--as-panel);
}

/* Forms */
.form-grid { display: grid; gap: 16px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--as-text);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  background: var(--as-void);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: var(--as-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--as-coral);
  box-shadow: 0 0 0 3px rgba(255, 92, 77, 0.18);
}

textarea { min-height: 140px; resize: vertical; }

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--as-muted-t);
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--as-coral);
}

.form-success {
  padding: 14px 16px;
  background: rgba(255, 92, 77, 0.12);
  border: 1px solid rgba(255, 92, 77, 0.35);
  border-radius: var(--radius);
  color: var(--as-coral-s);
  margin-bottom: 20px;
}

.form-error {
  padding: 14px 16px;
  background: rgba(255, 92, 77, 0.08);
  border: 1px solid rgba(255, 92, 77, 0.45);
  border-radius: var(--radius);
  color: var(--as-text);
  margin-bottom: 20px;
  font-size: 0.92rem;
}

.form-error a { color: var(--as-coral); }

.contact-aside .as-card { margin-bottom: 16px; }

/* Footer */
.as-footer {
  border-top: 1px solid rgba(255, 92, 77, 0.14);
  padding: 64px 0 36px;
  background:
    linear-gradient(180deg, transparent, rgba(255, 92, 77, 0.03));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 44px;
}

.footer-grid h4 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--as-coral);
  margin-bottom: 16px;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li { margin-bottom: 8px; }

.footer-grid a {
  color: var(--as-muted-t);
  font-size: 0.92rem;
}

.footer-grid a:hover { color: var(--as-text); }

.footer-brand p {
  font-size: 0.9rem;
  max-width: 28ch;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  color: var(--as-muted-t);
}

.footer-bottom .disclaimer {
  margin-top: 12px;
  max-width: 70rem;
  line-height: 1.55;
}

/* Legal prose */
.legal-prose { max-width: 46rem; }

.legal-prose h2 {
  margin: 2rem 0 0.85rem;
  font-size: 1.35rem;
}

.legal-prose h3 {
  margin: 1.4rem 0 0.6rem;
  font-size: 1.1rem;
}

.legal-meta {
  color: var(--as-muted-t);
  font-size: 0.9rem;
  margin-top: 8px;
}

/* Cookie banner */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 20px;
  left: calc(var(--as-rail-w) + 20px);
  right: auto;
  z-index: 200;
  background: var(--as-panel);
  border: 1px solid rgba(255, 92, 77, 0.28);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  max-width: 720px;
  width: min(720px, calc(100vw - var(--as-rail-w) - 40px));
}

.cookie-banner p {
  font-size: 0.88rem;
  margin-bottom: 14px;
}

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

.cookie-panel {
  display: none;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-panel.is-open { display: block; }

.cookie-panel label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.88rem;
  color: var(--as-muted-t);
}

/* Reveal */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal-delay-1 { transition-delay: 0.08s; }
.js .reveal-delay-2 { transition-delay: 0.16s; }
.js .reveal-delay-3 { transition-delay: 0.24s; }
.js .reveal-delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .as-radar-sweep,
  .as-hero::before,
  .as-signal-board .glass-card,
  .analytics-bar .bar-fill {
    animation: none !important;
  }
}

/* Responsive */
@media (max-width: 1279px) {
  .mosaic { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
  :root { --as-rail-w: 0px; }

  .as-mini-header {
    left: 0;
    padding-left: 72px;
  }

  .as-menu-toggle { display: flex; }

  .as-menu-toggle.is-open { display: none !important; }

  .as-rail {
    transform: translateX(-100%);
    transition: transform 0.4s var(--ease);
    width: min(300px, 88vw);
    box-shadow: 12px 0 40px rgba(0, 0, 0, 0.4);
  }

  .as-rail.is-open { transform: translateX(0); }

  .as-rail.is-open .as-rail-close { display: block; }

  .as-rail.is-open .as-rail nav a {
    animation: slideInLink 0.45s var(--ease) both;
  }

  .as-rail.is-open .as-rail nav a:nth-child(1) { animation-delay: 0.05s; }
  .as-rail.is-open .as-rail nav a:nth-child(2) { animation-delay: 0.1s; }
  .as-rail.is-open .as-rail nav a:nth-child(3) { animation-delay: 0.15s; }
  .as-rail.is-open .as-rail nav a:nth-child(4) { animation-delay: 0.2s; }
  .as-rail.is-open .as-rail nav a:nth-child(5) { animation-delay: 0.25s; }
  .as-rail.is-open .as-rail nav a:nth-child(6) { animation-delay: 0.3s; }

  @keyframes slideInLink {
    from { opacity: 0; transform: translateX(-18px); }
    to { opacity: 1; transform: translateX(0); }
  }

  .as-scrim.is-visible { display: block; }

  .as-shell { margin-left: 0; }

  .as-hero { min-height: auto; }
  .as-hero-grid { grid-template-columns: 1fr; gap: 40px; }

  .proof-grid,
  .content-grid,
  .footer-grid,
  .contact-split {
    grid-template-columns: 1fr;
  }

  .step-rail { grid-template-columns: 1fr 1fr; }
  .three-col,
  .segment-lanes { grid-template-columns: 1fr; }

  .segment-lanes article {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .segment-lanes article:last-child { border-bottom: none; }

  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
    max-width: none;
  }

  .metric-block:not(:last-child)::after { display: none; }
}

@media (max-width: 767px) {
  .metrics-strip { grid-template-columns: 1fr; gap: 24px; }
  .mosaic { grid-template-columns: 1fr; }
  .step-rail { grid-template-columns: 1fr; }
  .two-col,
  .form-row { grid-template-columns: 1fr; }
  .as-signal-board { grid-template-columns: 1fr; }
  .as-signal-board .glass-card:nth-child(5) {
    flex-direction: column;
    align-items: flex-start;
  }
  .analytics-bar { grid-template-columns: 1fr; gap: 6px; }
  .faq-answer { padding-left: 0; }
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; }
  .as-header-loc { display: none; }
  .as-hero-copy h1 { max-width: none; }
}

@media (min-width: 1024px) {
  .as-menu-toggle { display: none !important; }
  .as-rail-close { display: none !important; }
  .as-scrim { display: none !important; }
}
