/* AI K9 public conversion layer · 2026-08-05 */
:root {
  --aik9-gold: #d3ae61;
  --aik9-cream: #f5f0e5;
  --aik9-green: #14291a;
  /* The shared launch layer uses --aik9-ink as its foreground color. */
  --aik9-ink: #f5f0e5;
  --aik9-dark: #050a06;
}

.aik9-topbar .hq-topbar-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.aik9-topbar-start {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(211, 174, 97, .5);
  border-radius: 999px;
  padding: 0 20px;
  color: #10130d;
  background: var(--aik9-gold);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 950;
}

.aik9-topbar .hq-audit-toggle--top {
  width: auto;
  min-width: 82px;
  height: 44px;
  gap: 8px;
  padding: 0 12px;
  border-radius: 12px;
}

.aik9-topbar .hq-audit-toggle--top .aik9-menu-label {
  display: inline;
  color: var(--aik9-cream);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.aik9-topbar .hq-audit-toggle-lines {
  display: grid;
  width: 20px;
  gap: 4px;
}

.aik9-topbar .hq-audit-toggle-lines > span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--aik9-cream);
  box-shadow: 0 0 12px rgba(245, 240, 229, .2);
}

.aik9-topbar .hq-audit-toggle--top[aria-expanded="true"] .hq-audit-toggle-lines > span {
  background: var(--aik9-gold);
}

.aik9-service-home :where(
  .aik9-band,
  .aik9-service-card,
  .aik9-proof-card,
  .aik9-commerce-strip,
  .aik9-proof-strip,
  .aik9-quick-card,
  .aik9-intent-split,
  .aik9-affiliate-band
) :where(h1, h2, h3, h4, strong) {
  color: var(--aik9-cream);
}

.aik9-hero-inner {
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, .58fr);
  gap: clamp(22px, 4vw, 58px);
}

.aik9-hero h1 { max-width: 10ch; color: var(--aik9-cream) !important; text-shadow: 0 8px 32px rgba(0, 0, 0, .5); }
.aik9-hero-lead { max-width: 720px; }

.aik9-hero-tool-actions { gap: 9px; }
.aik9-hero-tool-actions .aik9-btn { min-width: 142px; }
.aik9-hero-tool-actions .aik9-btn span {
  margin-left: 6px;
  color: var(--aik9-gold);
}
.aik9-hero-tool-actions .aik9-btn:first-child span { color: inherit; }

.aik9-client-proof-card {
  display: grid;
  grid-template-columns: minmax(92px, 122px) 1fr;
  align-items: center;
  gap: 14px;
  padding: 18px;
}
.aik9-client-proof-card > .aik9-card-kicker,
.aik9-client-proof-card > .aik9-proof-link { grid-column: 1 / -1; }
.aik9-client-proof-card p { margin: 5px 0 0; color: #d6cfbf; line-height: 1.45; }
.aik9-client-proof-card strong { color: var(--aik9-cream) !important; font-size: 1.2rem; }
.aik9-client-proof-media {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(211, 174, 97, .32);
  border-radius: 7px;
  aspect-ratio: 8.5 / 11;
  background: #f7f5ee;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .34);
}
.aik9-client-proof-media img { width: 100%; height: 100%; object-fit: contain; }
.aik9-proof-link { color: #c9e8b8; font-weight: 900; }

.aik9-trust-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 14px 0;
  border: 1px solid rgba(211, 174, 97, .2);
  border-radius: 16px;
  background: rgba(211, 174, 97, .2);
}
.aik9-trust-strip span {
  display: grid;
  min-height: 62px;
  place-items: center;
  padding: 11px;
  color: #e8ddc5;
  background: rgba(8, 16, 10, .96);
  text-align: center;
  font-size: .78rem;
  font-weight: 900;
}
.aik9-trust-strip span::before { content: "✓"; margin-right: 6px; color: var(--aik9-gold); }

.aik9-intent-split {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  margin: 14px 0;
  padding: 24px;
  border: 1px solid rgba(211, 174, 97, .2);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(18, 35, 22, .94), rgba(8, 16, 10, .96));
}
.aik9-intent-split h2 { margin: 4px 0 0; font-size: clamp(1.6rem, 2.5vw, 2.6rem); line-height: 1; }
.aik9-intent-split > a {
  display: grid;
  align-content: center;
  gap: 7px;
  min-height: 118px;
  border: 1px solid rgba(232, 221, 197, .18);
  border-radius: 14px;
  padding: 18px;
  color: var(--aik9-cream);
  background: rgba(232, 221, 197, .055);
  text-decoration: none;
}
.aik9-intent-split > a:hover { border-color: rgba(211, 174, 97, .58); background: rgba(211, 174, 97, .1); }
.aik9-intent-split > a strong { font-size: 1.08rem; }
.aik9-intent-split > a span { color: #d6cfbf; line-height: 1.45; }

.aik9-service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.aik9-service-card {
  grid-template-rows: auto auto auto auto 1fr auto;
  min-height: 0;
}
.aik9-service-card--site {
  grid-column: 1 / -1;
  grid-template-columns: minmax(260px, .82fr) minmax(0, 1fr);
  grid-template-rows: auto auto auto auto;
  column-gap: clamp(20px, 4vw, 46px);
}
.aik9-service-card--site .aik9-service-topline,
.aik9-service-card--site h3,
.aik9-service-card--site > p,
.aik9-service-card--site .aik9-product-facts,
.aik9-service-card--site .aik9-service-actions { grid-column: 2; }
.aik9-service-card--site .aik9-site-preview { grid-column: 1; grid-row: 1 / span 5; align-self: center; }

.aik9-product-facts {
  display: grid;
  gap: 7px;
  margin: 0;
}
.aik9-product-facts > div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 9px;
  padding-top: 8px;
  border-top: 1px solid rgba(232, 221, 197, .12);
}
.aik9-product-facts dt {
  color: var(--aik9-gold);
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.aik9-product-facts dd { margin: 0; color: #e1d9c9; font-size: .84rem; line-height: 1.4; }

.aik9-affiliate-band {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, .62fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
}
.aik9-affiliate-copy h2 { max-width: 15ch; margin: 5px 0 14px; font-size: clamp(2rem, 4vw, 3.8rem); line-height: .98; }
.aik9-affiliate-copy > p:not(.aik9-kicker) { max-width: 700px; color: #d6cfbf; line-height: 1.6; }
.aik9-affiliate-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 18px 0; }
.aik9-affiliate-steps span { padding: 12px; border: 1px solid rgba(211, 174, 97, .18); border-radius: 12px; color: #e8ddc5; background: rgba(232, 221, 197, .05); font-size: .82rem; font-weight: 850; }
.aik9-affiliate-steps b { display: grid; width: 25px; height: 25px; place-items: center; margin-bottom: 8px; border-radius: 50%; color: #10130d; background: var(--aik9-gold); }
.aik9-affiliate-band .aik9-affiliate-preview { min-height: 300px; }
.aik9-affiliate-preview small { display: block; margin-top: 14px; color: #d6cfbf; line-height: 1.45; }

.aik9-proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.aik9-proof-card {
  display: grid;
  grid-template-columns: 126px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 212px;
}
.aik9-proof-card figure { display: grid; min-height: 170px; margin: 0; place-items: center; overflow: hidden; border-radius: 10px; background: #0a130c; }
.aik9-proof-card figure img { width: 100%; height: 170px; object-fit: contain; }
.aik9-proof-card div > span { display: block; margin-bottom: 7px; color: var(--aik9-gold); font-size: .7rem; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.aik9-proof-card div > strong { font-size: 1.14rem; }
.aik9-commerce-labels { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.aik9-commerce-labels span { border: 1px solid rgba(211, 174, 97, .2); border-radius: 999px; padding: 7px 10px; color: #e8ddc5; background: rgba(211, 174, 97, .07); font-size: .72rem; font-weight: 850; }

@media (max-width: 1040px) {
  .aik9-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aik9-service-card--site { grid-column: 1 / -1; }
  .aik9-intent-split { grid-template-columns: 1fr 1fr; }
  .aik9-intent-split > div { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .aik9-topbar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
  }
  .aik9-topbar .hq-topbar-copy strong { display: block !important; font-size: .76rem; white-space: nowrap; }
  .aik9-topbar .hq-topbar-copy span { display: none !important; }
  .aik9-topbar .hq-topbar-brand { gap: 5px; min-width: 0; }
  .aik9-topbar .hq-topbar-nav { display: none !important; }
  .aik9-topbar .hq-topbar-actions { display: flex !important; }
  .aik9-topbar-start { display: none; }
  .aik9-topbar .hq-audit-toggle--top { display: inline-flex; }
  .aik9-hero h1 { max-width: 9ch; font-size: clamp(2.55rem, 12.7vw, 3.9rem); }
  .aik9-hero-tool-actions { display: grid; grid-template-columns: 1fr; }
  .aik9-hero-tool-actions .aik9-btn { min-width: 0; width: 100%; }
  .aik9-hero-tool-actions .aik9-btn:first-child { grid-column: auto; }
  .aik9-client-proof-card { display: none; }
  .aik9-trust-strip { grid-template-columns: 1fr 1fr; }
  .aik9-trust-strip span:last-child { grid-column: 1 / -1; }
  .aik9-trust-strip span { min-height: 48px; padding: 8px; font-size: .7rem; }
  .aik9-intent-split { grid-template-columns: 1fr; padding: 18px; }
  .aik9-intent-split > div { grid-column: auto; }
  .aik9-intent-split > a { min-height: 92px; }
  .aik9-service-grid { grid-template-columns: 1fr; }
  .aik9-service-card--site { display: grid; grid-template-columns: 1fr; grid-template-rows: auto; }
  .aik9-service-card--site .aik9-service-topline,
  .aik9-service-card--site h3,
  .aik9-service-card--site > p,
  .aik9-service-card--site .aik9-product-facts,
  .aik9-service-card--site .aik9-service-actions,
  .aik9-service-card--site .aik9-site-preview { grid-column: 1; grid-row: auto; }
  .aik9-product-facts > div { grid-template-columns: 82px 1fr; }
  .aik9-affiliate-band { grid-template-columns: 1fr; }
  .aik9-affiliate-steps { grid-template-columns: 1fr; }
  .aik9-affiliate-band .aik9-affiliate-preview { min-height: 190px; }
  .aik9-proof-grid { grid-template-columns: 1fr; }
  .aik9-proof-card { grid-template-columns: 88px 1fr; min-height: 150px; padding: 12px; }
  .aik9-proof-card figure { min-height: 124px; }
  .aik9-proof-card figure img { height: 124px; }
  .aik9-commerce-strip .aik9-proof-actions { display: grid; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .aik9-client-proof-media img,
  .aik9-intent-split > a,
  .aik9-proof-card { transform: none !important; transition: none !important; }
}
