/* AI Tradie HQ: A1 Fleet alive hero, clean 4-step AI readiness ladder,
   and Talk to Legend Gemini-style multi-turn chat band.
   Uses only the approved brand lime (#a3e635 / #96d72e) and dark ink on lime. */

@keyframes athqSlowBreathe {
  0%   { transform: scale(1) translate3d(0, 0, 0); }
  50%  { transform: scale(1.04) translate3d(-0.5%, -0.35%, 0); }
  100% { transform: scale(1) translate3d(0, 0, 0); }
}

@keyframes athqPulseLime {
  0%   { transform: scale(1); opacity: 0.65; }
  70%  { transform: scale(2.3); opacity: 0; }
  100% { transform: scale(2.3); opacity: 0; }
}

@keyframes athqFloatCard {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(0, -5px, 0); }
}

@keyframes athqAmbientGlow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.9; }
  50%      { transform: translate(-50%, -50%) scale(1.06); opacity: 1; }
}

@keyframes athqSvgPulse {
  0%, 100% { opacity: 0.25; transform: scale(1); }
  50%      { opacity: 0.65; transform: scale(1.55); }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .site-portrait .portrait-image img,
  .home-page .hero-live-card,
  .home-page .athq-dot::after,
  .home-page .legend-aura,
  .home-page .ladder-svg .pulse-apex,
  .home-page .msg-thinking span {
    animation: none !important;
  }
}

/* Shared live pulse dot (transform + opacity only) */
body .skip:not(:focus-visible) {
  position: fixed;
  top: -200px;
  left: -9999px;
  width: 1px;
  height: 1px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
  opacity: 0;
  pointer-events: none;
}

body .skip:focus-visible {
  position: fixed;
  top: 10px;
  left: 20px;
  width: auto;
  height: auto;
  min-width: 44px;
  min-height: 44px;
  padding: 12px 16px;
  overflow: visible;
  clip-path: none;
  opacity: 1;
  pointer-events: auto;
  z-index: 120;
}

.home-page .athq-dot,
.ask-page .athq-dot {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #a3e635;
  flex-shrink: 0;
}

.home-page .athq-dot::after,
.ask-page .athq-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #a3e635;
  animation: athqPulseLime 2.5s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

/* =========================================================
   1. A1 FLEET ALIVE HERO ENHANCEMENTS
   ========================================================= */
.home-page .site-portrait {
  overflow: clip;
  padding-bottom: clamp(48px, 6.5vh, 72px);
}

@media (max-width: 1059px) {
  .home-page .site-portrait {
    padding-bottom: 36px;
  }
}

.home-page .site-portrait .portrait-image img {
  object-position: center 22%;
  will-change: transform;
  animation: athqSlowBreathe 22s ease-in-out infinite;
}

.home-page .site-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgb(12 14 11 / 0.88) 0%, rgb(12 14 11 / 0.68) 44%, rgb(12 14 11 / 0.12) 72%, rgb(12 14 11 / 0.06) 100%),
    linear-gradient(180deg, rgb(12 14 11 / 0.14) 0%, rgb(12 14 11 / 0) 56%, rgb(12 14 11 / 0.56) 100%);
  z-index: 1;
}

.home-page .portrait-grid {
  position: relative;
  z-index: 2;
}

@media (min-width: 1060px) {
  .home-page .portrait-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 370px);
  }
  .home-page .hero-live-card {
    max-width: 370px;
  }
}

.home-page .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--font-mono, "Geist Mono", ui-monospace, monospace);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(246 247 242 / 0.84);
}

.home-page #hero-title {
  font-size: clamp(2.9rem, 6.2vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin: 0;
}

.home-page .portrait-actions-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}

.home-page .portrait-actions-row .btn-lime-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: 999px;
  background: #a3e635;
  color: #191b16;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.015em;
  transition: background-color 180ms cubic-bezier(0.22, 1, 0.36, 1), transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-page .portrait-actions-row .btn-lime-hero:hover,
.home-page .portrait-actions-row .btn-lime-hero:focus-visible {
  background: #96d72e;
  color: #191b16;
  transform: translateY(-1px);
}

.home-page .hero-sublink {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgb(246 247 242 / 0.92);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: rgb(246 247 242 / 0.42);
}

.home-page .hero-sublink:hover {
  color: #ffffff;
  text-decoration-color: #ffffff;
}

.home-page .hero-reassure {
  margin: 22px 0 0;
  font-family: var(--font-mono, "Geist Mono", ui-monospace, monospace);
  font-size: 0.76rem;
  color: rgb(246 247 242 / 0.76);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}

/* Clean 3-beat floating ops card */
.home-page .hero-live-card {
  gap: 14px;
  padding: 20px 22px;
  border-radius: 20px;
  background: rgb(16 19 15 / 0.86);
  border: 1px solid rgb(255 255 255 / 0.16);
  box-shadow: 0 28px 68px rgb(0 0 0 / 0.45);
  will-change: transform;
}

.home-page .hlc-head {
  align-items: center;
  padding-bottom: 12px;
}

.home-page .hlc-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f6f7f2;
}

.home-page .hlc-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.home-page .hlc-stat {
  background: rgb(255 255 255 / 0.06);
  border: 1px solid rgb(255 255 255 / 0.09);
  border-radius: 12px;
  padding: 12px 13px;
}

.home-page .hlc-stat strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 4px;
}

.home-page .hlc-stat span {
  display: block;
  font-size: 0.76rem;
  line-height: 1.32;
  color: rgb(246 247 242 / 0.74);
}

.home-page .hlc-approve {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: rgb(163 230 53 / 0.11);
  border: 1px solid rgb(163 230 53 / 0.36);
  border-radius: 14px;
  padding: 12px 14px;
}

.home-page .hlc-approve-kicker {
  display: block;
  font-family: var(--font-mono, "Geist Mono", ui-monospace, monospace);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgb(246 247 242 / 0.86);
  margin-bottom: 2px;
}

.home-page .hlc-approve-title {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
}

.home-page .hlc-ok-pill {
  background: #a3e635;
  color: #191b16;
  font-family: var(--font-mono, "Geist Mono", ui-monospace, monospace);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.home-page .hlc-jump {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 0.84rem;
  font-weight: 500;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgb(255 255 255 / 0.42);
}

/* =========================================================
   2. CLEAN "WHO WE LOVE WORKING WITH." SECTION + SVG LADDER
   ========================================================= */
.home-ideal-fit {
  background: #f3f4ee;
  color: #191b16;
  border-top: 1px solid #d3d6cc;
  padding: clamp(72px, 8.5vw, 120px) 0;
}

.home-ideal-fit .ideal-inner {
  width: min(1200px, calc(100% - clamp(40px, 6vw, 96px)));
  margin: 0 auto;
}

.home-ideal-fit .ideal-header {
  max-width: 660px;
  margin-bottom: clamp(40px, 5vw, 60px);
}

.home-ideal-fit h2 {
  font-size: clamp(2.15rem, 4.2vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: #191b16;
  margin: 0 0 14px;
}

.home-ideal-fit .ideal-sub {
  font-size: clamp(1.08rem, 1.45vw, 1.25rem);
  line-height: 1.5;
  color: #4b5247;
  margin: 0;
}

.home-ideal-fit .ideal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}

@media (min-width: 960px) {
  .home-ideal-fit .ideal-layout {
    grid-template-columns: minmax(0, 540px) minmax(0, 1fr);
  }
}

.home-ideal-fit .ladder-svg {
  width: 100%;
  height: auto;
  display: block;
}

.home-ideal-fit .ladder-svg .pulse-apex {
  transform-box: fill-box;
  transform-origin: center;
  animation: athqSvgPulse 2.6s ease-in-out infinite;
}

.home-ideal-fit .fit-stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.home-ideal-fit .fit-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono, "Geist Mono", ui-monospace, monospace);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.home-ideal-fit .fit-kicker.yes { color: #365314; }
.home-ideal-fit .fit-kicker.no  { color: #9b3d3d; }

.home-ideal-fit .fit-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.home-ideal-fit .fit-items li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 14px;
  align-items: start;
}

.home-ideal-fit .fit-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  margin-top: 8px;
  background: #365314;
  box-shadow: 0 0 0 3px rgb(163 230 53 / 0.42);
}

.home-ideal-fit .fit-title {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #191b16;
  margin-bottom: 3px;
}

.home-ideal-fit .fit-desc {
  font-size: 0.96rem;
  line-height: 1.48;
  color: #4b5247;
}

.home-ideal-fit .not-yet-strip {
  background: rgb(155 61 61 / 0.065);
  border-left: 3px solid #9b3d3d;
  border-radius: 0 12px 12px 0;
  padding: 20px 22px;
}

.home-ideal-fit .not-yet-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.home-ideal-fit .not-yet-list li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 0.96rem;
  line-height: 1.48;
  color: #4b2424;
}

.home-ideal-fit .red-x {
  font-family: var(--font-mono, "Geist Mono", ui-monospace, monospace);
  font-size: 0.95rem;
  font-weight: 700;
  color: #9b3d3d;
}

/* =========================================================
   3. TALK TO LEGEND: GEMINI-STYLE MULTI-TURN CHAT BAND
   ========================================================= */
.home-legend {
  position: relative;
  overflow: hidden;
  background: #0a0c09;
  color: #f4f5f7;
  padding: clamp(80px, 9.5vw, 128px) clamp(20px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.home-legend .legend-aura {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  width: min(1140px, 130vw);
  height: 540px;
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
  filter: blur(44px);
  background: radial-gradient(ellipse at center, rgb(163 230 53 / 0.30) 0%, rgb(63 98 18 / 0.22) 40%, rgb(20 36 12 / 0.08) 68%, transparent 80%);
  animation: athqAmbientGlow 10s ease-in-out infinite;
}

.home-legend .msg-thinking {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
}

.home-legend .msg-thinking span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #a3e635;
  opacity: 0.4;
  animation: athqThinkDot 1.2s ease-in-out infinite;
}

.home-legend .msg-thinking span:nth-child(2) { animation-delay: 0.18s; }
.home-legend .msg-thinking span:nth-child(3) { animation-delay: 0.36s; }

@keyframes athqThinkDot {
  0%, 100% { opacity: 0.32; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-2px); }
}

.home-legend .legend-inner {
  width: 100%;
  max-width: 780px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.home-legend .legend-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono, "Geist Mono", ui-monospace, monospace);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgb(244 245 247 / 0.68);
  margin: 0 0 14px;
}

.home-legend h2 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 450;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #f6f7f9;
  margin: 0 0 28px;
}

.home-legend .legend-thread-wrap {
  display: none;
  margin-bottom: 18px;
  background: rgb(17 20 16 / 0.90);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgb(255 255 255 / 0.13);
  border-radius: 22px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 24px 64px rgb(0 0 0 / 0.52);
}

.home-legend .legend-thread-wrap.has-messages {
  display: block;
}

.home-legend .lt-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid rgb(255 255 255 / 0.09);
  font-family: var(--font-mono, "Geist Mono", ui-monospace, monospace);
  font-size: 0.72rem;
  color: rgb(244 245 247 / 0.62);
}

.home-legend .lt-bar-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.home-legend .lt-expand {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.14);
  color: rgb(244 245 247 / 0.82);
  font-family: var(--font-mono, "Geist Mono", ui-monospace, monospace);
  font-size: 0.7rem;
  text-decoration: none;
}

.home-legend .lt-expand:hover {
  background: rgb(255 255 255 / 0.12);
  color: #ffffff;
}

.home-legend .lt-reset {
  appearance: none;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.16);
  background: rgb(255 255 255 / 0.07);
  color: #f4f5f7;
  font-family: var(--font-mono, "Geist Mono", ui-monospace, monospace);
  font-size: 0.7rem;
  cursor: pointer;
}

.home-legend .lt-reset:hover {
  background: rgb(255 255 255 / 0.15);
}

.home-legend .lt-messages {
  max-height: 380px;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.home-legend .msg-user {
  align-self: flex-end;
  max-width: 84%;
  background: rgb(255 255 255 / 0.12);
  color: #ffffff;
  padding: 11px 16px;
  border-radius: 18px 18px 4px 18px;
  font-size: 0.94rem;
  line-height: 1.5;
}

.home-legend .msg-bot {
  align-self: flex-start;
  max-width: 94%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-legend .msg-bot-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono, "Geist Mono", ui-monospace, monospace);
  font-size: 0.72rem;
  color: rgb(244 245 247 / 0.66);
}

.home-legend .msg-bot-text {
  font-size: 0.96rem;
  line-height: 1.6;
  color: rgb(244 245 247 / 0.94);
  margin: 0;
}

.home-legend .msg-routes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-legend .legend-route {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 150ms ease, background-color 150ms ease;
}

.home-legend .legend-route:hover {
  transform: translateY(-1px);
}

.home-legend .legend-route.primary {
  background: #a3e635;
  color: #191b16;
}

.home-legend .legend-route.primary:hover {
  background: #96d72e;
  color: #191b16;
}

.home-legend .legend-route.secondary {
  background: rgb(255 255 255 / 0.08);
  color: #f4f5f7;
  border: 1px solid rgb(255 255 255 / 0.16);
  font-weight: 500;
}

.home-legend .legend-bar {
  width: 100%;
  background: rgb(22 25 20 / 0.92);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgb(255 255 255 / 0.15);
  border-radius: 999px;
  padding: 8px 10px 8px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 24px 70px rgb(0 0 0 / 0.56);
}

.home-legend .legend-bar:focus-within {
  border-color: rgb(163 230 53 / 0.55);
  box-shadow: 0 24px 70px rgb(0 0 0 / 0.6), 0 0 0 3px rgb(163 230 53 / 0.14);
}

.home-legend .lb-plus {
  width: 20px;
  height: 20px;
  color: rgb(244 245 247 / 0.58);
  flex-shrink: 0;
}

.home-legend .lb-input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  background: transparent;
  border: 0;
  outline: none;
  color: #ffffff;
  font-family: inherit;
  font-size: 1rem;
}

.home-legend .lb-input::placeholder {
  color: rgb(244 245 247 / 0.5);
}

.home-legend .lb-tag {
  font-family: var(--font-mono, "Geist Mono", ui-monospace, monospace);
  font-size: 0.72rem;
  color: rgb(244 245 247 / 0.72);
  padding: 5px 11px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.07);
  white-space: nowrap;
}

.home-legend .lb-send {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: #a3e635;
  color: #191b16;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 150ms ease, background-color 150ms ease;
}

.home-legend .lb-send:hover,
.home-legend .lb-send:focus-visible {
  background: #96d72e;
  color: #191b16;
  transform: scale(1.04);
}

.home-legend .legend-prompts {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.home-legend .legend-chip {
  appearance: none;
  min-height: 44px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.13);
  background: rgb(255 255 255 / 0.05);
  color: rgb(244 245 247 / 0.82);
  font-family: inherit;
  font-size: 0.86rem;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}

.home-legend .legend-chip:hover {
  background: rgb(255 255 255 / 0.12);
  color: #ffffff;
}

@media (prefers-reduced-motion: no-preference) {
  .home-page .site-portrait .portrait-image img { animation: athqSlowBreathe 22s ease-in-out infinite !important; }
  .home-page .athq-dot::after { animation: athqPulseLime 2.5s cubic-bezier(0.22, 1, 0.36, 1) infinite !important; }
  .home-page .legend-aura { animation: athqAmbientGlow 10s ease-in-out infinite !important; }
  .home-page .ladder-svg .pulse-apex { animation: athqSvgPulse 2.6s ease-in-out infinite !important; }
  .home-page .msg-thinking span { animation: athqThinkDot 1.2s ease-in-out infinite !important; }
  .home-page .msg-thinking span:nth-child(2) { animation-delay: 0.18s !important; }
  .home-page .msg-thinking span:nth-child(3) { animation-delay: 0.36s !important; }
  .home-page .btn-lime-hero,
  .home-page .legend-route,
  .home-page .lb-send,
  .home-page .legend-chip { transition: transform 150ms ease, background-color 150ms ease, color 150ms ease !important; }
}

/* Dedicated full-screen /ask/ page mode */
.ask-page .ask-fullscreen {
  min-height: calc(100svh - 72px);
  padding: clamp(48px, 7vw, 88px) clamp(20px, 4vw, 48px) clamp(64px, 8vw, 108px);
}

.ask-page .ask-h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.06;
  color: #f6f7f9;
  margin: 0 0 12px;
}

.ask-page .ask-sub {
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgb(244 245 247 / 0.72);
  margin: 0 0 24px;
}

.ask-page .ask-context-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgb(163 230 53 / 0.14);
  border: 1px solid rgb(163 230 53 / 0.34);
  color: #e4f7c2;
  font-family: var(--font-mono, "Geist Mono", ui-monospace, monospace);
  font-size: 0.75rem;
  margin: 0 0 20px;
}

.home-legend .legend-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.home-legend .legend-site-card {
  background: #151914;
  border: 1px solid rgb(163 230 53 / 0.34);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.home-legend .legend-card-eyebrow {
  align-self: flex-start;
  font-family: var(--font-mono, "Geist Mono", ui-monospace, monospace);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #a3e635;
  color: #151613;
  padding: 3px 10px;
  border-radius: 999px;
  margin: 0;
}

.home-legend .legend-card-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 16px;
}

.home-legend .legend-card-title {
  font-size: 1.1rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: #f6f7f2;
  margin: 0;
}

.home-legend .legend-card-price {
  font-family: var(--font-mono, "Geist Mono", ui-monospace, monospace);
  font-size: 0.8rem;
  font-weight: 600;
  color: #d7e2c8;
}

.home-legend .legend-card-summary {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgb(246 247 242 / 0.84);
  margin: 0;
}

.home-legend .legend-card-bullets {
  margin: 2px 0 4px;
  padding-left: 18px;
  display: grid;
  gap: 4px;
  font-size: 0.84rem;
  line-height: 1.45;
  color: rgb(246 247 242 / 0.78);
}

.home-legend .legend-card-meta {
  font-family: var(--font-mono, "Geist Mono", ui-monospace, monospace);
  font-size: 0.76rem;
  color: rgb(246 247 242 / 0.64);
  margin: 0;
}

.home-legend .legend-card-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: #a3e635;
  color: #151613;
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
  margin-top: 2px;
}

.home-legend .legend-card-cta:hover {
  background: #96d72e;
  color: #151613;
}

.ask-page .ask-messages {
  max-height: 52vh;
}

@media (prefers-reduced-motion: no-preference) {
  .ask-page .athq-dot::after { animation: athqPulseLime 2.5s cubic-bezier(0.22, 1, 0.36, 1) infinite !important; }
  .ask-page .legend-aura { animation: athqAmbientGlow 10s ease-in-out infinite !important; }
  .ask-page .msg-thinking span { animation: athqThinkDot 1.2s ease-in-out infinite !important; }
  .ask-page .msg-thinking span:nth-child(2) { animation-delay: 0.18s !important; }
  .ask-page .msg-thinking span:nth-child(3) { animation-delay: 0.36s !important; }
}

@media (max-width: 720px) {
  .home-legend .lb-tag { display: none; }
}

/* =========================================================
   TRADE VISUAL OVERHAUL — HIGH-CONTRAST INDUSTRIAL CRAFT
   (Kills "white-and-black book" walls; grounded charcoal + warm stone + #a3e635 lime)
   ========================================================= */

/* 1. Consequences Board: Industrial dark-charcoal visual tiles on warm stone */
.home-page .home-cost {
  padding: clamp(68px, 8vw, 112px) 0;
  background: #e9ece2;
  border-bottom: 1px solid #d3d6cc;
}

.home-page .cost-header {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px 48px;
  align-items: end;
  margin-bottom: clamp(32px, 4.5vw, 48px);
}

.home-page .cost-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono, "Geist Mono", ui-monospace, monospace);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #161914;
  background: #ffffff;
  border: 1px solid rgb(21 22 19 / 0.12);
  padding: 6px 13px;
  border-radius: 999px;
  margin: 0 0 16px;
}

.home-page .cost-header h2 {
  font-size: clamp(2.25rem, 4.4vw, 3.625rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.03;
  color: #111311;
  margin: 0;
}

.home-page .cost-lead {
  font-size: 1.08rem;
  line-height: 1.52;
  color: #3a4036;
  margin: 0;
  max-width: 40ch;
}

.home-page .cost-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-page .cost-tile {
  background: #161914;
  color: #f6f7f2;
  border: 1px solid rgb(255 255 255 / 0.09);
  border-radius: 20px;
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 18px 42px rgb(17 19 17 / 0.12);
}

.home-page .cost-tile-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.home-page .cost-tile-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #a3e635;
  color: #161914;
  display: grid;
  place-items: center;
}

.home-page .cost-tile-tag {
  font-family: var(--font-mono, "Geist Mono", ui-monospace, monospace);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgb(246 247 242 / 0.58);
}

.home-page .cost-tile-stat {
  font-size: clamp(1.65rem, 2.5vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #f6f7f2;
  margin: 2px 0 0;
  font-variant-numeric: tabular-nums;
}

.home-page .cost-tile h3 {
  font-size: 1.18rem;
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.24;
  color: #ffffff;
  margin: 0;
}

.home-page .cost-tile p:last-child {
  font-size: 0.94rem;
  line-height: 1.52;
  color: rgb(246 247 242 / 0.74);
  margin: 0;
}

/* 2. Bespoke dark architectural Proof Ledger band + elevated review card inside .home-film */
.home-page .home-ledger-band {
  margin: clamp(40px, 5vw, 60px) 0 0;
  background: #161914;
  color: #f6f7f2;
  border-radius: 20px;
  border: 1px solid rgb(255 255 255 / 0.1);
  overflow: hidden;
  box-shadow: 0 20px 48px rgb(17 19 17 / 0.14);
}

.home-page .ledger-band-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 16px;
  padding: 15px 28px;
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(255 255 255 / 0.025);
}

.home-page .ledger-band-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono, "Geist Mono", ui-monospace, monospace);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #f6f7f2;
}

.home-page .ledger-band-note {
  font-family: var(--font-mono, "Geist Mono", ui-monospace, monospace);
  font-size: 0.72rem;
  color: rgb(246 247 242 / 0.56);
}

.home-page .ledger-band-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-page .ledger-col {
  padding: 28px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-page .ledger-col + .ledger-col {
  border-left: 1px solid rgb(255 255 255 / 0.1);
}

.visually-hidden:where(:not(:focus-within, :active)) {
  position: absolute !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.home-page .ledger-metric {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  font-variant-numeric: tabular-nums;
}

.home-page .ledger-before {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 450;
  color: rgb(246 247 242 / 0.48);
  text-decoration: line-through;
  text-decoration-color: rgb(246 247 242 / 0.32);
}

.home-page .ledger-arrow {
  color: rgb(246 247 242 / 0.72);
  flex-shrink: 0;
  align-self: center;
}

.home-page .ledger-after {
  font-size: clamp(2rem, 3vw, 2.55rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
  color: #ffffff;
}

.home-page .ledger-unit {
  font-family: var(--font-mono, "Geist Mono", ui-monospace, monospace);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #a3e635;
  color: #161914;
  padding: 3px 8px;
  border-radius: 999px;
}

.home-page .ledger-desc {
  font-size: 0.94rem;
  line-height: 1.5;
  color: rgb(246 247 242 / 0.78);
  margin: 0;
}

.home-page .ledger-source {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--font-mono, "Geist Mono", ui-monospace, monospace);
  font-size: 0.69rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgb(246 247 242 / 0.68);
}

.home-page .home-proof-strip {
  margin-top: 22px;
  padding: 28px 32px;
  border-top: 0;
  background: #ffffff;
  border: 1px solid rgb(21 22 19 / 0.1);
  border-radius: 20px;
  box-shadow: 0 12px 32px rgb(17 19 17 / 0.05);
}

.home-page .home-proof-strip .proof-stat {
  border-left: 1px solid #d3d6cc;
  padding-left: 28px;
}

.home-page .home-proof-strip .proof-stat strong {
  color: #161914;
}

/* 3. Pricing Band: Warm stone surface + hairline process rail + high-contrast offer hierarchy */
.home-page .home-paid {
  background: #e9ece2;
  border-top: 1px solid #d3d6cc;
}

.home-page .home-next-steps {
  list-style: none;
  padding: 20px 0;
  margin: 0 0 32px;
  border-top: 1px solid rgb(21 22 19 / 0.16);
  border-bottom: 1px solid rgb(21 22 19 / 0.16);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.home-page .home-next-steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 4px 24px 4px 0;
}

.home-page .home-next-steps li + li {
  padding-left: 24px;
  border-left: 1px solid rgb(21 22 19 / 0.14);
}

.home-page .home-next-steps .step-num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #a3e635;
  color: #161914;
  font-family: var(--font-mono, "Geist Mono", ui-monospace, monospace);
  font-size: 0.74rem;
  font-weight: 600;
  display: grid;
  place-items: center;
  margin-top: 2px;
}

.home-page .home-next-steps .step-label {
  display: block;
  font-family: var(--font-mono, "Geist Mono", ui-monospace, monospace);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3a4036;
  margin-bottom: 3px;
}

.home-page .home-next-steps strong {
  display: block;
  font-size: 0.96rem;
  font-weight: 560;
  line-height: 1.38;
  color: #111311;
}

.home-page .paid-offers .choice-line {
  background: #ffffff;
  border: 1px solid rgb(21 22 19 / 0.12);
  border-top: 4px solid #161914;
  box-shadow: 0 14px 36px rgb(17 19 17 / 0.06);
}

.home-page .paid-offers .choice-line:nth-child(2) .offer-action {
  background: #161914;
  border-color: #161914;
  color: #ffffff;
}

.home-page .paid-offers .choice-line:nth-child(2) .offer-action:hover {
  background: #2b3127;
  border-color: #2b3127;
  color: #ffffff;
}

/* Flagship dark-charcoal card for Fractional AI Team */
.home-page .paid-offers .choice-line:nth-child(3) {
  background: #161914;
  border: 1px solid rgb(163 230 53 / 0.36);
  border-top: 4px solid #a3e635;
  color: #f6f7f2;
  box-shadow: 0 24px 56px rgb(17 19 17 / 0.22);
}

.home-page .paid-offers .choice-line:nth-child(3) h3 a {
  color: #ffffff;
}

.home-page .paid-offers .choice-line:nth-child(3) p,
.home-page .paid-offers .choice-line:nth-child(3) .offer-bullets li {
  color: rgb(246 247 242 / 0.8);
}

.home-page .paid-offers .choice-line:nth-child(3) .offer-bullets li::before {
  background: #a3e635;
}

.home-page .paid-offers .choice-line:nth-child(3) .offer-decision {
  border-top-color: rgb(255 255 255 / 0.14);
}

.home-page .paid-offers .choice-line:nth-child(3) .offer-decision strong {
  color: #ffffff;
}

.home-page .paid-offers .choice-line:nth-child(3) .offer-action {
  background: #a3e635;
  border-color: #a3e635;
  color: #151613;
}

.home-page .paid-offers .choice-line:nth-child(3) .offer-action:hover {
  background: #96d72e;
  border-color: #96d72e;
  color: #151613;
}

/* 4. Elevated FAQ cards (kills plain black-on-paper text wall) */
.home-page .home-faq {
  background: #f3f4ee;
}

.home-page .home-faq-list {
  display: grid;
  gap: 12px;
  border-top: 0;
}

.home-page .home-faq-list details {
  background: #ffffff;
  border: 1px solid rgb(21 22 19 / 0.1);
  border-radius: 16px;
  padding: 4px 22px;
  box-shadow: 0 6px 18px rgb(17 19 17 / 0.04);
}

.home-page .home-faq-list details[open] {
  border-color: #161914;
}

/* 5. Trade pills + High-impact dark charcoal Closing CTA banner */
.home-page .home-trades {
  background: #f3f4ee;
  padding: 20px 0 36px;
}

.home-page .home-trades-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}

.home-page .home-trades-bar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-page .home-trades-bar nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgb(21 22 19 / 0.14);
  color: #161914;
  font-weight: 550;
  text-decoration: none;
}

.home-page .home-trades-bar nav a:hover {
  background: #161914;
  border-color: #161914;
  color: #f6f7f2;
}

@media (prefers-reduced-motion: no-preference) {
  .home-page .home-trades-bar nav a {
    transition: transform 150ms ease;
  }

  .home-page .home-trades-bar nav a:hover {
    transform: translateY(-1px);
  }
}

.home-page .closing-cta {
  background: #f3f4ee;
  padding: 12px 0 clamp(56px, 7vw, 88px);
}

.home-page .closing-cta-bar {
  background: radial-gradient(640px 260px at 88% 50%, rgb(163 230 53 / 0.14), transparent 70%), #161914;
  color: #f6f7f2;
  border: 1px solid rgb(163 230 53 / 0.28);
  border-radius: 24px;
  padding: clamp(36px, 4.5vw, 56px) clamp(28px, 4.5vw, 56px) !important;
  box-sizing: border-box;
  box-shadow: 0 24px 60px rgb(17 19 17 / 0.18);
}

.home-page .closing-cta-bar h2 {
  color: #ffffff;
}

.home-page .closing-cta-bar p {
  color: rgb(246 247 242 / 0.74);
}

.home-page .closing-cta-btn {
  background: #a3e635;
  color: #151613;
  border-color: #a3e635;
}

.home-page .closing-cta-btn:hover {
  background: #96d72e;
  color: #151613;
  border-color: #96d72e;
}

@media (max-width: 900px) {
  .home-page .cost-header,
  .home-page .cost-board,
  .home-page .ledger-band-grid,
  .home-page .home-next-steps {
    grid-template-columns: 1fr;
  }

  .home-page .home-proof-strip {
    padding: 22px 20px;
  }

  .home-page .home-proof-strip .proof-stat {
    border-left: 0;
    border-top: 1px solid #d3d6cc;
    padding-left: 0;
    padding-top: 18px;
  }

  .home-page .ledger-band-head {
    padding: 14px 20px;
  }

  .home-page .ledger-col {
    padding: 22px 20px;
  }

  .home-page .ledger-col + .ledger-col {
    border-left: 0;
    border-top: 1px solid rgb(255 255 255 / 0.1);
  }

  .home-page .home-next-steps {
    padding: 12px 0;
  }

  .home-page .home-next-steps li {
    padding: 14px 0;
  }

  .home-page .home-next-steps li + li {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgb(21 22 19 / 0.14);
  }
}
