/* ============================================================
   INFOESEARCH — Enterprise AI Authority
   Design system v1
   ============================================================ */

@import url("fonts.css");
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&display=swap");

:root {
  /* Brand neutrals — slightly cool, near-black navy */
  --ink-1000: #05080F;     /* deepest */
  --ink-900:  #0A0E1B;     /* canvas dark */
  --ink-850:  #0E1322;
  --ink-800:  #131829;
  --ink-700:  #1B2236;
  --ink-600:  #28324E;
  --ink-500:  #3D4869;
  --ink-400:  #6B7798;
  --ink-300:  #98A1BD;
  --ink-200:  #C4CAD9;
  --ink-100:  #E4E7EF;
  --ink-50:   #F2F4F8;
  --ink-0:    #FAFBFC;

  /* Parent brand accent (green from logo) */
  --green:    #2BD668;
  --green-dim:#1FA84D;
  --green-glow: rgba(43, 214, 104, 0.18);

  /* Product accents */
  --tracker:  #3D5BF4;
  --tracker-glow: rgba(61, 91, 244, 0.22);
  --subs:     #1AAFE0;
  --subs-glow: rgba(26, 175, 224, 0.22);
  --dubs:     #B340D8;
  --dubs-glow: rgba(179, 64, 216, 0.22);
  --shield:   #ED5252;
  --shield-glow: rgba(237, 82, 82, 0.22);

  /* Accent — set per-page; default = green (parent) */
  --accent: var(--green);
  --accent-glow: var(--green-glow);
  --accent-ink: #04140A;

  /* Surfaces */
  --bg: var(--ink-900);
  --fg: var(--ink-50);
  --muted: var(--ink-300);
  --hairline: rgba(255,255,255,0.08);
  --hairline-strong: rgba(255,255,255,0.16);

  /* Type */
  --font-display: "Carnac", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body:    "Carnac", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --container: 1320px;
  --gutter: 32px;

  /* Octagonal clip — used for cards, buttons, frames */
  --oct: polygon(
    14px 0, calc(100% - 14px) 0,
    100% 14px, 100% calc(100% - 14px),
    calc(100% - 14px) 100%, 14px 100%,
    0 calc(100% - 14px), 0 14px
  );
  --oct-sm: polygon(
    8px 0, calc(100% - 8px) 0,
    100% 8px, 100% calc(100% - 8px),
    calc(100% - 8px) 100%, 8px 100%,
    0 calc(100% - 8px), 0 8px
  );
  --oct-lg: polygon(
    28px 0, calc(100% - 28px) 0,
    100% 28px, 100% calc(100% - 28px),
    calc(100% - 28px) 100%, 28px 100%,
    0 calc(100% - 28px), 0 28px
  );
}

/* Light surfaces — used in inverted sections */
.section--light {
  --bg: var(--ink-50);
  --fg: var(--ink-900);
  --muted: var(--ink-500);
  --hairline: rgba(10,14,27,0.08);
  --hairline-strong: rgba(10,14,27,0.16);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "ss02";
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font-family: inherit; }

/* Container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============================================================
   TYPE
   ============================================================ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  display: inline-block;
  clip-path: var(--oct-sm);
  flex-shrink: 0;
}
.eyebrow--bare::before { display: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
  line-height: 1.02;
}
h1 { font-size: clamp(48px, 6.4vw, 104px); font-weight: 500; letter-spacing: -0.035em; }
h2 { font-size: clamp(40px, 4.6vw, 72px); letter-spacing: -0.03em; }
h3 { font-size: clamp(24px, 2.2vw, 34px); letter-spacing: -0.02em; font-weight: 500; }
h4 { font-size: 20px; font-weight: 500; }

.h-display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(56px, 8.4vw, 140px);
  letter-spacing: -0.045em;
  line-height: 0.92;
}
.h-editorial {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
}

p { margin: 0 0 1em; text-wrap: pretty; }
.lede {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.45;
  color: var(--muted);
  font-weight: 300;
  max-width: 640px;
}

.mono { font-family: var(--font-mono); }
.tabular { font-variant-numeric: tabular-nums; }

/* ============================================================
   LOGO — INFOESEARCH MARK (octagonal e)
   ============================================================ */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  color: var(--fg);
}
.brand__mark {
  width: 28px;
  height: 28px;
  position: relative;
  flex-shrink: 0;
}
.brand__mark svg { width: 100%; height: 100%; }
.brand__word {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
}
.brand__word b { font-weight: 700; }
.brand__word span { font-weight: 300; opacity: 0.85; }

/* ============================================================
   BUTTONS (octagonal)
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
  background: var(--fg);
  color: var(--bg);
  clip-path: var(--oct);
  transition: transform 180ms ease, background 180ms ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--ghost {
  background: transparent;
  color: var(--fg);
  box-shadow: inset 0 0 0 1px var(--hairline-strong);
  /* ghost btn — use border-radius instead of clip-path so the stroke remains visible */
  clip-path: none;
  border-radius: 0;
  position: relative;
}
.btn--ghost::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: var(--oct);
  box-shadow: inset 0 0 0 1px var(--hairline-strong);
  pointer-events: none;
}
.btn--ghost { clip-path: var(--oct); }
.btn--ghost:hover { background: rgba(255,255,255,0.04); }

.btn .arrow {
  display: inline-block;
  transition: transform 180ms ease;
}
.btn:hover .arrow { transform: translateX(3px); }

.btn--lg { padding: 18px 28px; font-size: 15px; }
.btn--sm { padding: 10px 16px; font-size: 13px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  border-bottom: 1px solid var(--hairline);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__brand { margin-right: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  position: relative;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  transition: color 160ms ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav__link:hover { color: var(--fg); }
.nav__link.is-active { color: var(--fg); }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 1px;
  background: var(--accent);
}

.nav__cta {
  margin-left: 12px;
  display: flex;
  gap: 8px;
}

/* Mega-menu dropdown */
.nav__dropdown {
  position: relative;
}
.nav__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: -16px;
  width: 480px;
  background: var(--ink-850);
  border: 1px solid var(--hairline);
  padding: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 180ms ease, transform 180ms ease;
  clip-path: var(--oct);
}
.nav__dropdown:hover .nav__menu,
.nav__dropdown:focus-within .nav__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav__menu-item {
  display: flex;
  gap: 14px;
  padding: 14px;
  align-items: flex-start;
  transition: background 160ms ease;
}
.nav__menu-item:hover { background: rgba(255,255,255,0.04); }
.nav__menu-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--ink-800);
  clip-path: var(--oct-sm);
  flex-shrink: 0;
}
.nav__menu-icon b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--pcolor, var(--accent));
}
.nav__menu-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 2px;
}
.nav__menu-desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.4;
}

/* ============================================================
   HERO (shared)
   ============================================================ */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: end;
}
.hero__title {
  font-size: clamp(56px, 8vw, 132px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  font-weight: 500;
  max-width: 16ch;
  text-wrap: balance;
}
.hero__title .accent {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}
.hero__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--muted);
}
.hero__sub {
  max-width: 560px;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--muted);
  font-weight: 300;
}
.hero__meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 32px;
}
.hero__row-bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  padding-top: 80px;
  margin-top: 80px;
  border-top: 1px solid var(--hairline);
  flex-wrap: wrap;
}

/* ============================================================
   SECTIONS
   ============================================================ */
section { position: relative; }
.section {
  padding: 120px 0;
  background: var(--bg);
  color: var(--fg);
  position: relative;
}
.section--tight { padding: 80px 0; }
.section--light { background: var(--ink-50); color: var(--ink-900); }
.section--accent {
  background: var(--accent);
  color: var(--accent-ink);
  --muted: rgba(0,0,0,0.65);
  --hairline: rgba(0,0,0,0.12);
  --hairline-strong: rgba(0,0,0,0.25);
}

/* Section header */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
  align-items: end;
}
.section-head__title { max-width: 14ch; }
.section-head__sub { max-width: 520px; }
@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================================
   CARDS (octagonal frames)
   ============================================================ */
.card {
  background: var(--ink-850);
  clip-path: var(--oct);
  padding: 32px;
  position: relative;
  transition: transform 220ms ease;
}
.card--bordered {
  background: transparent;
  /* visual stroke via SVG overlay since clip-path doesn't allow border */
}
.card:hover { transform: translateY(-2px); }

/* Hairline-stroked frame helper using ::before */
.frame {
  position: relative;
  isolation: isolate;
}
.frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--hairline);
  clip-path: var(--oct);
  z-index: -1;
}

/* ============================================================
   PRODUCT TILE (used in homepage)
   ============================================================ */
.product-tile {
  position: relative;
  background: var(--ink-900);
  padding: 40px 36px;
  clip-path: var(--oct);
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 360px;
  overflow: hidden;
  transition: transform 320ms ease, background 320ms ease;
  border: 1px solid transparent;
  isolation: isolate;
}
.product-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 110% -10%, var(--pglow, transparent), transparent 60%);
  z-index: -1;
  opacity: 0.9;
}
.product-tile:hover {
  background: var(--ink-850);
  transform: translateY(-4px);
}
.product-tile__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.product-tile__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.product-tile__chip {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--pcolor);
  clip-path: var(--oct-sm);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
}
.product-tile__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.product-tile__name b { font-weight: 700; color: var(--pcolor); }
.product-tile__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.16em;
}
.product-tile__title {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin: 0;
  flex: 1;
}
.product-tile__sub {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.product-tile__cta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pcolor);
}

/* ============================================================
   DATA / STAT BLOCK
   ============================================================ */
.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 0;
}
.stat__num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 4vw, 64px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   MARQUEE / LOGO STRIP
   ============================================================ */
.marquee {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
  padding: 32px 0;
  display: flex;
  gap: 64px;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  gap: 80px;
  animation: marquee 48s linear infinite;
  flex-shrink: 0;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.marquee__item {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -0.01em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.85;
}
.marquee__item::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--hairline-strong);
  clip-path: var(--oct-sm);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink-1000);
  color: var(--ink-200);
  padding: 80px 0 32px;
  border-top: 1px solid var(--hairline);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
.footer__col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin: 0 0 20px;
  font-weight: 500;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer__col a { color: var(--ink-200); font-size: 14px; }
.footer__col a:hover { color: var(--green); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--ink-400);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 16px;
}

/* ============================================================
   CHAT WIDGET — mock floating Infoesearch IQ assistant
   ============================================================ */
.iq-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--ink-1000);
  clip-path: var(--oct);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.06);
  cursor: pointer;
  transition: transform 200ms ease;
  font-family: var(--font-display);
  font-weight: 700;
}
.iq-fab:hover { transform: scale(1.05); }
.iq-fab svg { width: 24px; height: 24px; }

.iq-panel {
  position: fixed;
  right: 24px;
  bottom: 92px;
  width: 380px;
  max-width: calc(100vw - 48px);
  height: 540px;
  max-height: calc(100vh - 120px);
  background: var(--ink-850);
  border: 1px solid var(--hairline-strong);
  clip-path: var(--oct);
  z-index: 89;
  display: none;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.iq-panel.is-open { display: flex; }
.iq-panel__head {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--hairline);
}
.iq-panel__avatar {
  width: 32px; height: 32px;
  background: var(--green);
  clip-path: var(--oct-sm);
  display: grid; place-items: center;
  color: var(--ink-1000);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
}
.iq-panel__title { font-weight: 500; font-size: 15px; }
.iq-panel__sub { font-size: 11px; color: var(--muted); font-family: var(--font-mono); letter-spacing: 0.08em; }
.iq-panel__close {
  margin-left: auto;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  color: var(--muted);
  border-radius: 4px;
}
.iq-panel__close:hover { background: var(--hairline); color: var(--fg); }
.iq-panel__body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.iq-msg {
  max-width: 85%;
  padding: 12px 14px;
  font-size: 13.5px;
  line-height: 1.45;
  background: var(--ink-800);
  clip-path: var(--oct-sm);
}
.iq-msg--user {
  align-self: flex-end;
  background: var(--green);
  color: var(--ink-1000);
}
.iq-msg--bot { align-self: flex-start; }
.iq-msg--typing { display: flex; gap: 4px; padding: 14px 16px; }
.iq-msg--typing span {
  width: 6px; height: 6px;
  background: var(--ink-400);
  border-radius: 50%;
  animation: blink 1.2s infinite ease-in-out;
}
.iq-msg--typing span:nth-child(2) { animation-delay: 0.15s; }
.iq-msg--typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}
.iq-panel__suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 20px 12px;
}
.iq-chip {
  font-size: 12px;
  padding: 8px 12px;
  background: var(--ink-800);
  color: var(--ink-200);
  clip-path: var(--oct-sm);
  cursor: pointer;
  transition: background 160ms ease;
}
.iq-chip:hover { background: var(--ink-700); }
.iq-panel__input {
  padding: 12px 16px;
  border-top: 1px solid var(--hairline);
  display: flex;
  gap: 8px;
  align-items: center;
}
.iq-panel__input input {
  flex: 1;
  background: var(--ink-800);
  border: none;
  padding: 12px 14px;
  color: var(--fg);
  font-size: 13.5px;
  clip-path: var(--oct-sm);
  outline: none;
}
.iq-panel__input input::placeholder { color: var(--ink-400); }
.iq-panel__send {
  width: 38px; height: 38px;
  background: var(--green);
  color: var(--ink-1000);
  display: grid; place-items: center;
  clip-path: var(--oct-sm);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.divider {
  height: 1px;
  background: var(--hairline);
  margin: 0;
  border: 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px;
  background: var(--hairline);
  color: var(--ink-200);
  clip-path: var(--oct-sm);
  white-space: nowrap;
}
.tag--accent { background: var(--accent-glow); color: var(--accent); }

/* small grid bg helper (subtle) */
.bg-grid {
  background-image:
    linear-gradient(to right, var(--hairline) 1px, transparent 1px),
    linear-gradient(to bottom, var(--hairline) 1px, transparent 1px);
  background-size: 48px 48px;
}
.bg-grid--fade {
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

/* Scroll fade-in helper */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Pinned audience switcher */
.audience-switch {
  display: inline-flex;
  background: var(--ink-800);
  padding: 4px;
  clip-path: var(--oct-sm);
  gap: 2px;
}
.audience-switch button {
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  clip-path: var(--oct-sm);
  transition: background 160ms ease, color 160ms ease;
}
.audience-switch button.is-active {
  background: var(--accent);
  color: var(--accent-ink);
}

/* small chevron */
.chev {
  display: inline-block;
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
}
.chev--down { transform: rotate(45deg); }

@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__cta .btn:first-child { display: none; }
}
@media (max-width: 820px) {
  :root { --gutter: 20px; }
  .hero__row-bottom { flex-direction: column; align-items: flex-start; padding-top: 40px; margin-top: 40px; }
  .section { padding: 72px 0; }
  .section-head { gap: 16px; margin-bottom: 32px; }
  .footer__grid { gap: 32px; }
}
