/* =========================================================
   Greenlight Rent Help Center — design system
   Inter + Roboto Mono. Greenlight Rent green on warm off-white.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Roboto+Mono:wght@400;500&display=swap');

:root {
  /* === Greenlight Rent brand palette === */
  --green:         #2FBF6F;   /* top bar + "Send us an email" bar */
  --green-dark:    #27A75F;
  --green-soft:    rgba(47, 191, 111, 0.14);

  --deep:          #014747;   /* buttons, and highlight text on green */
  --deep-hover:    #013636;

  --accent:        #078850;   /* green highlight text on cream / white */
  --accent-deep:   #056B3F;
  --accent-darker: #044F2F;
  --accent-mid:    #3AA76B;
  --accent-soft:   #D6EFE1;
  --accent-tint:   #EDF8F2;

  --ink:           #002626;   /* body text — replaces black */
  --cream:         #FAF9F5;   /* page background */
  --cream-2:       #F1EFE8;
  --paper:         #ffffff;

  /* Grayscale, tinted toward the ink */
  --text:          #002626;
  --muted:         #4F6767;
  --faint:         #637A7A;
  --hair:          #DCE2E0;
  --hair-2:        #E9EDEB;
  --hair-paper:    #E9EDEB;
  --gs-100:        #F5F7F6;
  --gs-300:        #DCE2E0;
  --gs-500:        #A6B4B4;

  /* AI module */
  --ai-bg:         #EDF8F2;
  --ai-bg-2:       #D6EFE1;
  --ai-border:     #B7E2CB;
  --ai-dot:        #078850;

  /* Status */
  --pos:           #12873D;
  --pos-bg:        #E8FCEF;
  --neg:           #DB3700;
  --neg-bg:        #FFECE5;
  --warn:          #A67606;
  --warn-bg:       #FCF4D6;

  /* === Type system ===
     Eyebrow → Roboto Mono Medium (500)
     Header  → Inter Semi-Bold (600)
     Body    → Inter Regular (400)
     Button  → Inter Semi-Bold (600)                          */
  --display:       'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sans:          'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif:         'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono:          'Roboto Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --w-head:        600;
  --w-body:        400;
  --w-btn:         600;
  --w-eyebrow:     500;

  /* metrics */
  --container:     1180px;
  --container-w:   1280px;
  --radius-sm:     6px;
  --radius:        12px;
  --radius-lg:     20px;
  --radius-pill:   999px;

  --shadow-card:   0 1px 0 rgba(0, 38, 38, 0.04),
                   0 18px 38px -22px rgba(0, 38, 38, 0.16);
  --shadow-card-hover: 0 1px 0 rgba(0, 38, 38, 0.06),
                       0 30px 60px -28px rgba(0, 38, 38, 0.26);
  --shadow-ai:     0 1px 0 rgba(7, 136, 80, 0.05),
                   0 16px 40px -24px rgba(7, 136, 80, 0.32);

  --ease-out:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =========================================================
   reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--cream);
  font-feature-settings: 'ss01', 'ss02', 'cv11';
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
::selection { background: #014747; color: #fff; }

/* warm grain background — only renders where intended */
.grain {
  position: relative;
  isolation: isolate;
}
.grain::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.045 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.7;
  mix-blend-mode: multiply;
}
.grain > * { position: relative; z-index: 1; }

/* =========================================================
   header
   ========================================================= */
.site-header {
  background: var(--green);
  color: var(--deep);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(1, 71, 71, 0.14);
}
.site-header__inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 14px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
.site-header__inner--no-signin {
  grid-template-columns: auto 1fr;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--deep);
}
.brand__mark { font-weight: 600; }
.brand__divider {
  width: 1px; height: 18px;
  background: rgba(1, 71, 71, 0.28);
  display: inline-block;
  align-self: center;
}
.brand__sub {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--deep);
  text-transform: none;
}
/* Header search — pill-shaped, navy, functional icon submit */
.header-search {
  justify-self: end;
  width: min(520px, 100%);
  display: flex;
  align-items: center;
  height: 42px;
  background: rgba(255,255,255,0.28);
  border: 1px solid rgba(1, 71, 71, 0.16);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin: 0;
  transition: background .25s var(--ease-out), border-color .25s var(--ease-out);
}
.header-search:focus-within {
  background: rgba(255,255,255,0.55);
  border-color: rgba(1, 71, 71, 0.38);
}
.header-search input,
.header-search input[type="search"] {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 8px 0 22px;
  background: transparent;
  border: none;
  color: var(--deep);
  font: 14px var(--sans);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.header-search input::placeholder { color: rgba(1, 71, 71, 0.62); }
.header-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.header-search button,
.header-search button[type="submit"] {
  flex: 0 0 auto;
  height: 100%;
  width: 44px;
  background: transparent;
  border: none;
  color: var(--deep);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: color .2s var(--ease-out), background .2s var(--ease-out);
  padding: 0;
}
.header-search button:hover {
  color: var(--deep-hover);
  background: rgba(255,255,255,0.35);
}
.header-search button svg {
  width: 16px;
  height: 16px;
}
.signin {
  font-size: 14px;
  color: var(--deep);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s var(--ease-out);
}
.signin:hover { color: var(--deep-hover); }
.signin .arrow { transition: transform .25s var(--ease-out); }
.signin:hover .arrow { transform: translateX(3px); }

/* =========================================================
   container
   ========================================================= */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.container--wide { max-width: var(--container-w); }

/* =========================================================
   HOME — hero / audience selector
   ========================================================= */
.hero {
  padding: 72px 0 40px;
}

.hero__eyebrow-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
}
.hero__eyebrow-row .eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: var(--w-eyebrow);
}
.hero__eyebrow-row .dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.hero__title {
  font-family: var(--display);
  font-weight: var(--w-head);
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.03;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 22px;
  max-width: 900px;
}
.hero__title em {
  font-style: italic;
  color: var(--accent);
}

.hero__sub {
  font-size: 18px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 620px;
  margin: 0 0 56px;
}

/* audience selector */
.audience {
  display: grid;
  grid-template-columns: 1fr 1fr 280px;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 64px;
}
/* New stacked variant — bigger cards, helper text underneath */
.audience--stacked {
  display: block;
  margin-bottom: 96px;
}
.audience--stacked .audience__label {
  position: static;
  display: block;
  transform: none;
  margin: 0 0 14px;
}
.audience--stacked .audience__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.audience--stacked .audience__helper {
  margin: 28px 0 0;
  padding: 18px 22px;
  background: rgba(255,255,255,0.5);
  border: 1px solid var(--hair);
  border-radius: 12px;
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 760px;
  border-left: none;
  align-self: auto;
}
.audience--stacked .audience__helper strong {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  margin-right: 6px;
  display: inline-block;
  margin-bottom: 0;
}

.audience__label {
  position: absolute;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transform: translateY(-26px);
}

.audience-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--hair-paper);
  border-radius: var(--radius);
  padding: 96px 36px 40px;   /* top room for absolutely-positioned icon */
  cursor: pointer;
  transition: transform .35s var(--ease-out),
              border-color .25s var(--ease-out),
              box-shadow .35s var(--ease-out);
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;   /* cluster content vertically in the middle */
  text-align: center;
}
.audience-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--accent) 0%, transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s var(--ease-out);
  pointer-events: none;
}
.audience-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}
.audience-card.is-active::before,
.audience-card:hover::before { opacity: 1; }
.audience-card.is-active {
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}

.audience-card__icon {
  position: absolute;
  top: 28px;
  left: 28px;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--accent-tint);
  display: grid; place-items: center;
  color: var(--accent);
  transition: background .3s var(--ease-out);
}
.audience-card.is-active .audience-card__icon,
.audience-card:hover .audience-card__icon {
  background: var(--accent-soft);
}
.audience-card__icon svg { width: 22px; height: 22px; }

.audience-card__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 36px;
  letter-spacing: -0.022em;
  line-height: 1.05;
  margin: 0 0 8px;
  color: var(--ink);
}
.audience-card__desc {
  font-size: 15px;
  color: var(--muted);
  margin: 0 auto 28px;       /* center the constrained block within the card */
  line-height: 1.55;
  max-width: 36ch;
  text-align: center;
}
/* old text-link — kept for legacy --}}
.audience-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.audience-card__link .arrow { transition: transform .25s var(--ease-out); }
.audience-card:hover .audience-card__link .arrow { transform: translateX(4px); }

/* New purple pill CTA */
.audience-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--deep);
  color: #FFFFFF;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin-top: 8px;
  align-self: center;
  font-weight: var(--w-btn);
  transition: background .2s var(--ease-out), transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
  box-shadow: 0 6px 14px -6px rgba(1, 71, 71, 0.45);
}
.audience-card__cta:hover {
  background: var(--deep-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px -8px rgba(1, 71, 71, 0.55);
}
.audience-card__cta .arrow {
  transition: transform .25s var(--ease-out);
}
.audience-card:hover .audience-card__cta .arrow,
.audience-card__cta:hover .arrow {
  transform: translateX(4px);
}

.audience-card .radio-pill {
  position: absolute;
  top: 22px; right: 22px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  border: 1px solid var(--hair-paper);
  padding: 5px 9px;
  border-radius: 999px;
  transition: all .25s var(--ease-out);
}
.audience-card.is-active .radio-pill {
  background: var(--deep);
  color: #FFFFFF;
  border-color: var(--deep);
}
.audience-card.is-active .radio-pill::before {
  content: "✓ ";
}

.audience__helper {
  padding: 28px 24px;
  border-left: 1px solid var(--hair);
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  align-self: center;
}
.audience__helper strong {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 10px;
  font-weight: var(--w-eyebrow);
}

/* =========================================================
   AI SEARCH module
   ========================================================= */
.ai-block { padding: 0 0 96px; }

.ai-header {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.ai-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--deep);
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  position: relative;
}
.ai-pill::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #7FE3A8;
  box-shadow: 0 0 0 3px rgba(127, 227, 168, 0.25);
  animation: aiPulse 2.4s ease-in-out infinite;
}
@keyframes aiPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(127, 227, 168, 0.25); }
  50%      { box-shadow: 0 0 0 6px rgba(127, 227, 168, 0.05); }
}

.ai-scope-text {
  font-size: 13.5px;
  color: var(--muted);
}
.ai-scope-text strong { color: var(--ink); font-weight: 500; }
.ai-scope-text a {
  color: var(--accent);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease-out);
  margin-left: 4px;
}
.ai-scope-text a:hover { border-color: currentColor; }

.ai-title {
  font-family: var(--display);
  font-weight: var(--w-head);
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.022em;
  margin: 12px 0 14px;
  color: var(--ink);
  max-width: 780px;
}
.ai-sub {
  font-size: 16.5px;
  color: var(--muted);
  margin: 0 0 36px;
  max-width: 680px;
  line-height: 1.55;
}

.ai-input {
  background: var(--paper);
  border: 1px solid var(--hair-paper);
  border-radius: 18px;
  padding: 22px 22px 14px;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: box-shadow .35s var(--ease-out), border-color .35s var(--ease-out);
}
.ai-input:focus-within {
  border-color: rgba(7, 136, 80, 0.35);
  box-shadow: var(--shadow-ai);
}
.ai-input__row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 14px;
}
.ai-input__icon {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  background: var(--ai-bg);
  border-radius: 8px;
  color: var(--ai-dot);
}
.ai-input__icon svg { width: 16px; height: 16px; }
.ai-input__field {
  border: none;
  background: transparent;
  outline: none;
  font: 18px/1.5 var(--sans);
  color: var(--ink);
  padding: 10px 0;
}
.ai-input__field::placeholder { color: var(--faint); }

.ai-ask-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--deep);
  color: #FFFFFF;
  border: none;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: background .2s var(--ease-out), transform .2s var(--ease-spring);
}
.ai-ask-btn:hover { background: var(--deep-hover); }
.ai-ask-btn:active { transform: scale(0.97); }
.ai-ask-btn .arrow { transition: transform .25s var(--ease-out); }
.ai-ask-btn:hover .arrow { transform: translateX(3px); }

.ai-input__footer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--hair-paper);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--faint);
  text-transform: uppercase;
}
.ai-input__footer .sep { opacity: 0.4; }

/* try asking */
.try-asking {
  margin-top: 32px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.try-asking__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--paper);
  border: 1px solid var(--hair-paper);
  color: var(--ink);
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: all .2s var(--ease-out);
}
.chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}
.chip svg { width: 12px; height: 12px; opacity: 0.6; }

/* =========================================================
   tag pill
   ========================================================= */
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 11px;
  border-radius: var(--radius-pill);
}
.tag-pill--ink {
  background: var(--deep);
  color: #FFFFFF;
}
.tag-pill--quiet {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--hair-paper);
}

/* =========================================================
   CATEGORY landing page
   ========================================================= */
.page-header {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--hair);
}
.page-header__meta {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}
.page-header__title {
  font-family: var(--display);
  font-weight: var(--w-head);
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -0.028em;
  margin: 24px 0 18px;
  color: var(--ink);
}
.page-header__title em {
  font-style: italic;
}
.page-header__desc {
  font-size: 18px;
  color: var(--muted);
  max-width: 640px;
  margin: 0;
  line-height: 1.5;
}

.category-grid {
  padding: 64px 0 96px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px 80px;
}
.cat-block__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hair);
}
.cat-block__title {
  font-family: var(--display);
  font-weight: var(--w-head);
  font-size: 22px;
  letter-spacing: -0.012em;
  margin: 0;
  color: var(--ink);
}
.cat-block__count {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--faint);
  text-transform: uppercase;
}
.cat-list {
  list-style: none;
  margin: 0; padding: 0;
}
.cat-list li {
  border-bottom: 1px solid var(--hair-2);
}
.cat-list li:last-child { border-bottom: none; }
.cat-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  font-size: 15.5px;
  color: var(--ink);
  letter-spacing: -0.005em;
  transition: color .2s var(--ease-out), padding-left .2s var(--ease-out);
}
.cat-list a:hover {
  color: var(--accent);
  padding-left: 4px;
}
.cat-list a .arrow {
  color: var(--faint);
  transition: transform .25s var(--ease-out), color .25s var(--ease-out);
}
.cat-list a:hover .arrow {
  color: var(--accent);
  transform: translateX(3px);
}
.cat-block__see-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 500;
}
.cat-block__see-all .arrow { transition: transform .25s var(--ease-out); }
.cat-block__see-all:hover .arrow { transform: translateX(3px); }

/* =========================================================
   ARTICLE page
   ========================================================= */
.article-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 64px;
  padding: 56px 0 96px;
  align-items: start;
}

.article-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.sidebar-section__title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
  font-weight: 500;
}
.toc {
  list-style: none;
  margin: 0; padding: 0;
  border-left: 1px solid var(--hair);
}
.toc li { position: relative; }
.toc a {
  display: block;
  padding: 8px 0 8px 18px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.45;
  letter-spacing: -0.005em;
  transition: color .2s var(--ease-out);
}
.toc a:hover { color: var(--ink); }
.toc li.is-active::before {
  content: "";
  position: absolute;
  left: -1px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.toc li.is-active a { color: var(--ink); font-weight: 500; }

.sidebar-list {
  list-style: none;
  margin: 0; padding: 0;
}
.sidebar-list li {
  border-top: 1px solid var(--hair);
  padding: 12px 0;
}
.sidebar-list li:first-child { border-top: none; padding-top: 0; }
.sidebar-list a {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.45;
  display: block;
  transition: color .2s var(--ease-out);
}
.sidebar-list a:hover { color: var(--ink); }
.sidebar-list li.is-current a {
  color: var(--ink);
  font-weight: 500;
}

/* article body */
.article-main { min-width: 0; }
.article-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }

.article-title {
  font-family: var(--display);
  font-weight: var(--w-head);
  font-size: clamp(40px, 4.6vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 0 0 18px;
}
.article-subtitle {
  font-size: 19px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 28px;
  max-width: 64ch;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--hair);
}
.article-meta .dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--faint);
}
.article-meta a {
  color: var(--accent);
  font-weight: 500;
}

/* AI summary box */
.ai-summary {
  margin: 36px 0;
  background: linear-gradient(180deg, var(--ai-bg) 0%, #F7FCF9 100%);
  border: 1px solid var(--ai-border);
  border-radius: 16px;
  padding: 22px 24px;
  position: relative;
  overflow: hidden;
}
.ai-summary::before {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--ai-dot) 0%, var(--accent) 100%);
}
.ai-summary__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 12px;
}
.ai-summary__label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ai-dot);
  font-weight: 500;
}
.ai-summary__label::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ai-dot);
  box-shadow: 0 0 0 3px rgba(7, 136, 80, 0.12);
  animation: aiPulse 2.4s ease-in-out infinite;
}
.ai-summary__source {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.ai-summary ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ai-summary li {
  position: relative;
  padding: 9px 0 9px 24px;
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.55;
  border-top: 1px solid rgba(7, 136, 80, 0.1);
}
.ai-summary li:first-child { border-top: none; }
.ai-summary li::before {
  content: "";
  position: absolute;
  top: 18px; left: 0;
  width: 14px; height: 1px;
  background: var(--ai-dot);
  opacity: 0.6;
}
.ai-summary__foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(7, 136, 80, 0.18);
}
.ai-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  background: transparent;
  border: 1px solid var(--ai-border);
  color: var(--ai-dot);
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  transition: all .2s var(--ease-out);
}
.ai-btn:hover { background: rgba(7, 136, 80, 0.06); }
.ai-btn--primary {
  background: var(--ai-dot);
  color: #fff;
  border-color: var(--ai-dot);
}
.ai-btn--primary:hover { background: var(--accent-deep); }

/* article prose */
.prose {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  max-width: 68ch;
}
.prose h2 {
  font-family: var(--display);
  font-weight: var(--w-head);
  font-size: 28px;
  letter-spacing: -0.014em;
  line-height: 1.2;
  color: var(--ink);
  margin: 56px 0 18px;
  scroll-margin-top: 96px;
}
.prose h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 32px 0 12px;
}
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose a {
  color: var(--accent);
  border-bottom: 1px solid rgba(5, 107, 63, 0.28);
  transition: border-color .2s var(--ease-out);
}
.prose a:hover { border-color: var(--accent); }
.prose blockquote {
  margin: 24px 0;
  padding: 6px 0 6px 20px;
  border-left: 2px solid var(--accent);
  color: var(--muted);
  font-style: italic;
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.5;
}
.prose .callout {
  margin: 24px 0;
  padding: 18px 20px;
  background: var(--cream-2);
  border-radius: 12px;
  border-left: 3px solid var(--ink);
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink);
}
.prose code {
  font-family: var(--mono);
  font-size: 14px;
  background: var(--cream-2);
  padding: 2px 6px;
  border-radius: 4px;
}

/* article voting */
.vote-block {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--hair);
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.vote-block__label {
  font-family: var(--display);
  font-size: 18px;
  color: var(--ink);
}
.vote-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  border: 1px solid var(--hair-paper);
  color: var(--ink);
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 500;
  transition: all .2s var(--ease-out);
}
.vote-btn:hover { border-color: var(--ink); transform: translateY(-1px); }
.vote-btn.is-selected.up { border-color: var(--pos); color: var(--pos); background: rgba(7, 136, 80, 0.06); }
.vote-btn.is-selected.down { border-color: var(--neg); color: var(--neg); background: rgba(192, 86, 58, 0.06); }
.vote-btn svg { width: 16px; height: 16px; }

/* {{vote}} helper renders a <button> with no inline SVG — paint the icon
   via ::before background-image so we don't depend on a label-with-HTML. */
.vote-btn::before {
  content: "";
  width: 16px; height: 16px;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
}
.vote-btn.up::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002626' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M7 10v12'/><path d='M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H7'/><path d='M7 10H4a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h3'/></svg>");
}
.vote-btn.down::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002626' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M17 14V2'/><path d='M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H17'/><path d='M17 14h3a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2h-3'/></svg>");
}
/* If inline SVG is present (static preview), suppress duplicate icon */
.vote-btn:has(svg)::before { display: none; }
/* Always hide Zendesk's vote sum counter */
.article-votes-sum, .article-vote-sum,
[class*="article-vote"][class*="count"] { display: none !important; }

/* =========================================================
   "Still need help?" CTA
   ========================================================= */
.cta-block {
  background: var(--green);
  color: var(--deep);
  border-top: 1px solid rgba(1, 71, 71, 0.10);
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(1, 71, 71, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
.cta-block__inner {
  position: relative;
  padding: 88px 0;
}
.cta-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(1, 71, 71, 0.82);
  font-weight: var(--w-eyebrow);
  margin-bottom: 18px;
}
.cta-headline {
  font-family: var(--display);
  font-weight: var(--w-head);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.022em;
  margin: 0 0 22px;
  color: #fff;
  max-width: 720px;
}
.cta-headline em {
  font-style: italic;
}
.cta-sub {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(1, 71, 71, 0.88);
  max-width: 620px;
  margin: 0 0 36px;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--deep);
  color: #FFFFFF;
  padding: 16px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0.01em;
  text-transform: none;
  font-weight: var(--w-btn);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.cta-button:hover {
  transform: translateY(-2px);
  background: var(--deep-hover);
  box-shadow: 0 18px 36px -14px rgba(1, 71, 71, 0.5);
}
.cta-button .arrow { transition: transform .25s var(--ease-out); }
.cta-button:hover .arrow { transform: translateX(4px); }
.cta-hours {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: rgba(1, 71, 71, 0.8);
  font-family: var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cta-hours .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--deep);
  box-shadow: 0 0 0 3px rgba(1, 71, 71, 0.18);
  animation: aiPulse 2.4s ease-in-out infinite;
}

/* =========================================================
   Footer bar
   ========================================================= */
.site-footer {
  background: var(--cream);
  border-top: 1px solid var(--hair);
  padding: 28px 0;
}
.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: var(--muted);
}
.site-footer__links {
  display: flex;
  gap: 28px;
}
.site-footer__links a {
  color: var(--muted);
  transition: color .2s var(--ease-out);
}
.site-footer__links a:hover { color: var(--ink); }

/* =========================================================
   reveal animations
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: revealUp .7s var(--ease-out) forwards;
}
@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}
.reveal[data-delay="1"] { animation-delay: 0.04s; }
.reveal[data-delay="2"] { animation-delay: 0.10s; }
.reveal[data-delay="3"] { animation-delay: 0.18s; }
.reveal[data-delay="4"] { animation-delay: 0.28s; }
.reveal[data-delay="5"] { animation-delay: 0.38s; }
.reveal[data-delay="6"] { animation-delay: 0.50s; }

/* =========================================================
   responsive
   ========================================================= */
@media (max-width: 980px) {
  .audience { grid-template-columns: 1fr 1fr; }
  .audience__helper {
    grid-column: 1 / -1;
    border-left: none;
    border-top: 1px solid var(--hair);
    padding: 22px 0 0;
  }
  .category-grid { grid-template-columns: 1fr; gap: 48px; }
  .article-layout { grid-template-columns: 1fr; gap: 32px; }
  .article-sidebar { position: static; }
  .site-header__inner { grid-template-columns: auto auto; }
  .header-search { grid-column: 1 / -1; order: 3; justify-self: stretch; width: 100%; }
}
@media (max-width: 640px) {
  .container { padding: 0 22px; }
  .audience { grid-template-columns: 1fr; }
  /* The stacked variant has its own inner grid — it also has to collapse,
     otherwise the two cards force the whole page to scroll sideways. */
  .audience--stacked .audience__cards { grid-template-columns: 1fr; gap: 18px; }
  .audience--stacked { margin-bottom: 56px; }
  .audience-card { min-height: 0; padding: 88px 24px 32px; }
  .hero { padding: 56px 0 36px; }
  .hero__title { font-size: 44px; }
  .ai-input__row { grid-template-columns: 28px 1fr; }
  .ai-input__row .ai-ask-btn { grid-column: 1 / -1; justify-content: center; margin-top: 10px; }
  .cta-block__inner { padding: 64px 0; }
  /* Keep the logo lockup on one line on small screens */
  .site-header__inner { padding: 12px 22px; gap: 14px; }
  .brand img, .brand__logo { height: 22px; }
  .brand__sub { white-space: nowrap; }
}

/* =========================================================
   Brand consistency overrides — Greenlight Rent type system
   ========================================================= */

/* All headings use Inter Semi-Bold */
.hero__title,
.ai-title,
.page-header__title,
.cta-headline,
.article-title,
.greenlight-requestform__title,
.onboarding > h1,
.audience-card__title,
.cat-block__title {
  font-family: var(--display);
  font-weight: var(--w-head);
  letter-spacing: -0.005em;
}

/* Em emphasis: Greenlight Rent highlight green, semi-bold, no italic */
.hero__title em,
.ai-title em,
.page-header__title em,
.cta-headline em,
.article-title em,
.greenlight-requestform__title em,
.onboarding > h1 em,
.audience-card__title em {
  font-family: var(--display);
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
}

/* ...except inside the green "Send us an email" bar, where the highlighted
   word sits on green and takes the deep teal instead. */
.cta-headline { color: #FFFFFF; }
.cta-headline em { color: var(--deep); }

/* Logo image inside .brand */
.brand img,
.brand__logo {
  height: 28px;
  width: auto;
  display: block;
}
.brand--with-image {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.brand--with-image .brand__divider {
  width: 1px; height: 18px;
  background: rgba(1, 71, 71, 0.28);
  display: inline-block;
}

/* Body uses Inter Regular by default */
body {
  font-family: var(--sans);
  font-weight: var(--w-body);
}

/* Buttons + button-like links use Inter Semi-Bold */
button,
.cta-button,
.ai-ask-btn,
.audience-card__cta,
.vote-btn,
.chip,
.ai-btn,
.onboarding a.showform,
.new-request-form-wrap input[type="submit"],
.new-request-form-wrap button[type="submit"] {
  font-family: var(--sans);
  font-weight: var(--w-btn);
}

/* Eyebrows / labels use Roboto Mono Medium */
.eyebrow,
.cta-eyebrow,
.audience__label,
.try-asking__label,
.sidebar-section__title,
.article-attachments__title,
.tag-pill,
.radio-pill,
.ai-pill,
.cat-block__count,
.page-header__meta,
.article-meta,
.ai-summary__label,
.ai-summary__source,
.ai-input__footer,
.new-request-form-wrap label,
.new-request-form-wrap .form-field-label {
  font-family: var(--mono);
  font-weight: var(--w-eyebrow);
}
.audience-card__desc,
.hero__sub,
.ai-sub,
.page-header__desc,
.article-subtitle,
.cta-sub {
  font-family: var(--sans);
  font-weight: var(--w-body);
}
strong,
.audience__helper strong,
.ai-scope-text strong {
  font-weight: 500;
}

/* Heading line-heights tuned for Inter */
.audience-card__title { line-height: 1.1; }
.page-header__title  { line-height: 1.05; }
.hero__title         { line-height: 1.05; }

/* Vote label — locked mode hides Zendesk's text and renders our message
   via ::before. Eliminates the flicker between Zendesk's "Thanks for
   your feedback" and our custom message. */
.vote-block__label--locked {
  font-size: 0 !important;
  letter-spacing: 0 !important;
  color: transparent !important;
}
.vote-block__label--locked::before {
  content: attr(data-locked-text);
  font-family: var(--display);
  font-size: 18px;
  font-weight: var(--w-head);
  color: var(--ink);
  letter-spacing: -0.005em;
}

/* =========================================================
   Article attachments
   ========================================================= */
.article-attachments {
  margin: 48px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--hair);
}
.article-attachments__title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 16px;
}
.article-attachments__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.attachment-item {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 14px;
  background: var(--paper);
  border: 1px solid var(--hair-paper);
  border-radius: 10px;
  padding: 14px 18px;
  transition: border-color .2s var(--ease-out), transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.attachment-item:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -10px rgba(7, 136, 80, 0.35);
}
.attachment-item__icon {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  background: var(--accent-tint);
  border-radius: 8px;
  color: var(--accent);
}
.attachment-item__icon svg { width: 14px; height: 14px; }
.attachment-item__name {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
  word-break: break-word;
  border-bottom: none;
}
.attachment-item:hover .attachment-item__name { color: var(--accent); }
.attachment-item__meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--faint);
  text-transform: uppercase;
}
.attachment-item__download {
  color: var(--accent);
  font-weight: 500;
  border-bottom: none;
}
.attachment-item__download:hover { color: var(--accent-deep); }

@media (max-width: 640px) {
  .attachment-item { grid-template-columns: 28px 1fr; }
  .attachment-item__meta { grid-column: 1 / -1; padding-left: 42px; }
}

/* =========================================================
   Article body — enforce brand fonts.
   Authors paste WYSIWYG content from various sources which
   often carries inline font-family / color styles. Override
   them so every heading + paragraph uses Inter.
   ========================================================= */
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
  font-family: var(--display) !important;
  color: var(--ink) !important;
  letter-spacing: -0.012em;
}
.prose h1 { font-size: 32px; font-weight: 500; line-height: 1.15; margin: 56px 0 18px; }
.prose h2 { font-size: 26px; font-weight: 500; line-height: 1.2;  margin: 48px 0 16px; }
.prose h3 { font-size: 20px; font-weight: 500; line-height: 1.3;  margin: 36px 0 12px; letter-spacing: -0.005em; }
.prose h4 { font-size: 17px; font-weight: 500; line-height: 1.35; margin: 28px 0 10px; letter-spacing: 0; }
.prose h5 { font-size: 15px; font-weight: 600; line-height: 1.4;  margin: 24px 0 8px;  letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted) !important; }
.prose h6 { font-size: 13px; font-weight: 600; line-height: 1.4;  margin: 20px 0 6px;  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted) !important; }

/* Body text + lists — force brand body font, override inline styles */
.prose p, .prose li, .prose td, .prose th, .prose blockquote, .prose dt, .prose dd {
  font-family: var(--sans) !important;
}

/* Strong / em should keep brand typography, just adjust weight */
.prose strong, .prose b { font-family: inherit; font-weight: 600; color: inherit; }
.prose em, .prose i { font-family: inherit; font-style: italic; }

/* Inline <span> with author-set inline font — nuke the font-family
   override but allow color/size to pass through (some authors use
   inline color for highlights, which is fine). */
.prose span[style] { font-family: inherit !important; }

/* Override author-set font-family on any nested element inside prose */
.prose [style*="font-family"] { font-family: inherit !important; }
