/* 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);
}

/* The pages drawer is an explorer, not a hamburger control. */
.aik9-topbar .hq-audit-toggle--top {
  min-width: 102px;
  border: 1px solid rgba(211, 174, 97, .5);
  color: var(--aik9-cream);
  background: rgba(245, 240, 229, .08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 8px 22px rgba(0,0,0,.16);
}
.aik9-topbar .hq-audit-toggle--top:hover,
.aik9-topbar .hq-audit-toggle--top:focus-visible {
  border-color: var(--aik9-gold);
  background: rgba(211, 174, 97, .16);
  outline: none;
}
.aik9-topbar .hq-audit-toggle-lines { display: none; }
.aik9-topbar .aik9-menu-orbit {
  display: inline-grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border: 1px solid rgba(211,174,97,.68);
  border-radius: 50%;
  color: var(--aik9-gold);
  font-size: .7rem;
  line-height: 1;
}
.aik9-topbar .hq-audit-toggle--top[aria-expanded="true"] .aik9-menu-orbit {
  color: var(--aik9-dark);
  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: flex !important;
    align-items: center;
    gap: 8px;
  }
  .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 { flex: 0 0 auto; gap: 5px; min-width: 0; }
  .aik9-topbar .hq-topbar-nav {
    display: flex !important;
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    justify-content: flex-start;
    gap: 3px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .aik9-topbar .hq-topbar-nav::-webkit-scrollbar { display: none; }
  .aik9-topbar .hq-topbar-nav a { flex: 0 0 auto; min-height: 40px; padding: 0 9px; font-size: .69rem; }
  .aik9-topbar .hq-topbar-nav a:nth-child(4) { display: none !important; }
  .aik9-topbar .hq-topbar-actions { display: none !important; }
  .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%; }
}

/* 2026-09-02 editorial home polish: warm, collected, Pottery Barn-inspired neutrals with the AI K9 field green retained for authority. */
body.aik9-service-home {
  background: #eee8dc !important;
  color: #2d342d;
}
body.aik9-service-home .circuit-bg {
  opacity: .10;
  filter: sepia(.34) saturate(.46) brightness(1.22);
}
.aik9-service-home .aik9-topbar {
  border-color: rgba(83, 73, 52, .24);
  background: rgba(246, 241, 232, .96) !important;
  box-shadow: 0 12px 32px rgba(73, 61, 43, .12);
}
.aik9-service-home .aik9-topbar .hq-topbar-nav a,
.aik9-service-home .aik9-topbar .hq-topbar-copy strong { color: #2d382f !important; }
.aik9-service-home .aik9-topbar .hq-topbar-brand img {
  padding: 4px;
  border-radius: 50%;
  background: #234534;
}
.aik9-service-home .aik9-topbar .hq-topbar-nav a:hover,
.aik9-service-home .aik9-topbar .hq-topbar-nav a:focus-visible { background: #d8c7a8; color: #1d2b22 !important; }
.aik9-service-home .aik9-topbar .aik9-topbar-start { background: #234534; color: #f8f1e3; border-color: #234534; }
.aik9-service-home .aik9-band {
  margin-top: 18px;
  padding: clamp(28px, 5vw, 64px) clamp(18px, 3vw, 38px);
  border: 1px solid rgba(119, 99, 65, .22);
  border-radius: 22px;
  background: rgba(247, 243, 235, .83);
  box-shadow: 0 20px 52px rgba(76, 64, 45, .08);
}
.aik9-service-home .aik9-band-header h2,
.aik9-service-home .aik9-band-header p,
.aik9-service-home .aik9-band :where(h1, h2, h3, h4, strong) { color: #26372c !important; }
.aik9-service-home .aik9-band-header > p { color: #59655c !important; }
.aik9-service-home .aik9-trust-strip {
  border-color: rgba(119, 99, 65, .28);
  background: #cbb98f;
}
.aik9-service-home .aik9-trust-strip span { color: #334238; background: #f4eee3; }
.aik9-service-home .aik9-intent-split {
  border-color: rgba(119, 99, 65, .26);
  background: linear-gradient(145deg, #e3dac8, #f7f2e9);
}
.aik9-service-home .aik9-intent-split > a { color: #2d4134; border-color: rgba(74, 83, 66, .2); background: rgba(255,255,255,.42); }
.aik9-service-home .aik9-intent-split > a span { color: #667068; }
.aik9-service-home .aik9-service-card,
.aik9-service-home .aik9-proof-card,
.aik9-service-home .aik9-commerce-strip,
.aik9-service-home .aik9-proof-strip,
.aik9-service-home .aik9-quick-card {
  border-color: rgba(119, 99, 65, .24);
  background: linear-gradient(145deg, #faf7f0, #e9e1d3);
  box-shadow: 0 18px 42px rgba(76, 64, 45, .10);
}
.aik9-service-home .aik9-service-card :where(h3, strong),
.aik9-service-home .aik9-proof-card :where(h3, strong),
.aik9-service-home .aik9-commerce-strip :where(h3, strong) { color: #2b3c31 !important; }
.aik9-service-home .aik9-service-card p,
.aik9-service-home .aik9-service-card li,
.aik9-service-home .aik9-proof-card p,
.aik9-service-home .aik9-commerce-strip p { color: #5d675f; }
.aik9-service-home .aik9-product-facts > div { border-color: rgba(74, 83, 66, .15); }
.aik9-service-home .aik9-product-facts dd { color: #58645b; }
.aik9-service-home .aik9-product-facts dt,
.aik9-service-home .aik9-service-price { color: #8a682f; }
.aik9-service-home .aik9-knowledge-card,
.aik9-service-home .aik9-route-card {
  border-color: rgba(119, 99, 65, .22);
  background: rgba(255,255,255,.46);
}
.aik9-service-home .aik9-knowledge-card p,
.aik9-service-home .aik9-route-card p { color: #5d675f; }
.aik9-service-home .aik9-btn-secondary,
.aik9-service-home .aik9-btn-demo { border-color: rgba(63, 83, 68, .3); color: #2d4134; background: rgba(255,255,255,.5); }
.aik9-service-home .aik9-home-footer {
  border-color: rgba(211,174,97,.3);
  background: linear-gradient(145deg, #254737, #12251a);
}
@media (max-width: 720px) {
  .aik9-service-home .aik9-topbar { padding: 6px 8px; }
  .aik9-service-home .aik9-topbar .hq-topbar-nav a { min-height: 38px; }
  .aik9-service-home .aik9-band { margin-top: 12px; border-radius: 17px; }
  body.aik9-service-home #codee-send-phone-chip { display: none !important; }
}

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

/* 2026-09-03 navy / field-green type system: high-contrast text on the warm editorial surface. */
body.aik9-service-home {
  --aik9-navy: #102a43;
  --aik9-deep-green: #173c30;
  --aik9-neon-blue: #22d3ee;
  --aik9-neon-green: #d7ff45;
  font-family: "Avenir Next", Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--aik9-navy) !important;
}
body.aik9-service-home :where(h1, h2, h3, h4, strong) { letter-spacing: -.035em; }
.aik9-service-home .aik9-hero h1,
.aik9-service-home .aik9-hero h2 { color: #effcff !important; }
.aik9-service-home .aik9-kicker,
.aik9-service-home .aik9-service-topline,
.aik9-service-home .aik9-proof-card div > span { color: #0b7f83 !important; }
.aik9-service-home .aik9-band-header h2,
.aik9-service-home .aik9-band :where(h2, h3, h4, strong),
.aik9-service-home .aik9-knowledge-card h3,
.aik9-service-home .aik9-route-card h3 { color: var(--aik9-navy) !important; }
.aik9-service-home .aik9-band-header > p,
.aik9-service-home .aik9-band :where(p, li),
.aik9-service-home .aik9-knowledge-card p,
.aik9-service-home .aik9-route-card p { color: #40596a !important; }
.aik9-service-home .aik9-btn-primary,
.aik9-service-home .aik9-service-card--site .aik9-service-price { color: var(--aik9-neon-green) !important; }
.aik9-service-home .aik9-btn-primary { background: var(--aik9-navy) !important; border-color: var(--aik9-navy) !important; }
.aik9-service-home .aik9-btn-primary:hover,
.aik9-service-home .aik9-btn-primary:focus-visible { background: var(--aik9-deep-green) !important; border-color: var(--aik9-neon-blue) !important; }
.aik9-service-home .aik9-btn-secondary,
.aik9-service-home .aik9-btn-demo { color: var(--aik9-navy) !important; border-color: rgba(16,42,67,.34) !important; }
.aik9-service-home .aik9-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.aik9-service-home .aik9-blog-card {
  min-height: 230px;
  align-content: start;
  background: #f8f4eb !important;
  color: var(--aik9-navy) !important;
  border-color: rgba(16,42,67,.2) !important;
  box-shadow: 0 16px 34px rgba(16,42,67,.08);
}
.aik9-service-home .aik9-blog-card::after { display: none !important; }
.aik9-service-home .aik9-blog-card span { color: #087f83 !important; background: rgba(34,211,238,.12) !important; border-color: rgba(8,127,131,.26) !important; }
.aik9-service-home .aik9-blog-card h3 { color: var(--aik9-navy) !important; }
.aik9-service-home .aik9-blog-card p { color: #49606d !important; }
.aik9-service-home .aik9-blog-card.is-featured { background: linear-gradient(145deg, var(--aik9-navy), var(--aik9-deep-green)) !important; border-color: rgba(34,211,238,.55) !important; }
.aik9-service-home .aik9-blog-card.is-featured span { color: var(--aik9-neon-green) !important; background: rgba(215,255,69,.1) !important; border-color: rgba(215,255,69,.42) !important; }
.aik9-service-home .aik9-blog-card.is-featured h3 { color: #effcff !important; }
.aik9-service-home .aik9-blog-card.is-featured p { color: #b8f6ee !important; }
.aik9-service-home .aik9-home-footer { color: #e6fbff; }

@media (max-width: 720px) {
  .aik9-service-home .aik9-blog-grid { grid-template-columns: 1fr; }
  .aik9-service-home .aik9-blog-card { min-height: 190px; }
}
