/* Homepage service order and Business Suite device showcase. */
body.aik9-service-home #services .aik9-core-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
body.aik9-service-home #services .aik9-core-tools>.aik9-service-card{grid-column:auto;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto 355px 1fr auto auto;gap:15px;min-width:0;padding:24px}
#services .aik9-service-example{font-size:12px;color:#102a43;white-space:nowrap}
body.aik9-service-home #services .aik9-core-tools h3{margin:0;min-height:54px;align-self:start}
#services .codee-product-stage{display:grid;place-items:center;width:100%;height:355px;min-width:0;margin:0;text-decoration:none}
body.aik9-service-home #services .codee-product-stage .aik9-phone-preview{display:block;width:min(232px,90%);margin:0;height:auto}
body.aik9-service-home #services .aik9-service-card--qr .codee-product-stage .aik9-phone-preview{aspect-ratio:1}
body.aik9-service-home #services .aik9-service-card--flyer .codee-product-stage .aik9-phone-preview{width:min(218px,90%);aspect-ratio:8.5/11}
#services .codee-preview-device{position:relative;min-width:0;width:min(240px,90%);padding:7px;border:1px solid #aebcc6;border-radius:27px;background:linear-gradient(145deg,#7b8794,#101b29 45%,#455467);box-shadow:0 18px 35px #07132136,inset 0 1px 2px #ffffff99}
#services .codee-preview-device::before{content:"";position:absolute;z-index:3;top:11px;left:calc(50% - 23px);width:46px;height:9px;border-radius:7px;background:#0d1420;pointer-events:none}
#services .codee-preview-screen{position:relative;overflow:hidden;aspect-ratio:390/760;border-radius:20px;background:#f7f4ec}
#services .codee-preview-screen iframe{position:absolute;inset:0 auto auto 0;display:block;width:390px;height:760px;border:0;transform:scale(var(--codee-preview-scale,1));transform-origin:0 0;pointer-events:none;visibility:hidden;background:#f7f4ec}
#services .codee-preview-screen iframe[data-loaded="true"]{visibility:visible}
#services .codee-preview-placeholder{position:absolute;inset:0;display:grid;place-content:center;gap:6px;padding:18px;text-align:center;color:#102a43;font-size:13px;line-height:1.6;background:#e8edf1}
#services .codee-preview-screen:has(iframe[data-loaded="true"]) .codee-preview-placeholder{display:none}
#services .codee-portfolio-preview .codee-preview-device{width:min(220px,88%)}
#services .codee-portfolio-preview .codee-preview-screen{aspect-ratio:390/580}
#services .codee-portfolio-preview iframe{height:580px}
body.aik9-service-home #services .aik9-core-tools>.aik9-service-card>p{display:block;overflow:visible;-webkit-line-clamp:unset;color:#42586a;font-size:14px;line-height:1.75;margin:0}
body.aik9-service-home #services .aik9-service-actions .aik9-btn-demo{display:inline-flex}
body.aik9-service-home #services .codee-suite-showcase{display:block;grid-template-columns:none;grid-template-rows:none;min-height:0;margin-top:22px;padding:30px;overflow:hidden}
#services .codee-suite-showcase>.aik9-service-topline{margin-bottom:16px}
#services .codee-suite-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}
body.aik9-service-home #services .codee-suite-heading h3{margin:0;color:#102a43;font-size:clamp(26px,3vw,36px);line-height:1.2;letter-spacing:-.035em}
body.aik9-service-home #services .codee-suite-heading p{margin:10px 0 0;color:#42586a;font-size:14px;line-height:1.6}
#services .codee-suite-demo-count{flex-shrink:0;padding:9px 13px;border:1px solid #b4c9d6;border-radius:999px;background:#e5edf1;color:#24566d;font-size:11px;font-weight:750}
#services .codee-suite-toolbar{display:flex;align-items:end;justify-content:space-between;gap:20px;padding:25px 0 0}
#services .codee-suite-picker{width:min(580px,100%);min-width:0}
#services .codee-suite-picker label{display:block;margin-bottom:9px;color:#24566d;font-size:11px;font-weight:750}
#services .codee-suite-selection{display:flex;gap:7px;align-items:center;min-width:0}
#services .codee-suite-selection select{width:100%;min-width:0;height:45px;padding:8px 12px;border:1px solid #bccbd3;border-radius:9px;color:#102a43;background:#fffdf7;font:650 13px/1.5 Inter,system-ui,sans-serif;cursor:pointer}
#services .codee-suite-selection button{flex:0 0 43px;width:43px;height:45px;border:1px solid #bccbd3;border-radius:9px;background:#fffdf7;color:#102a43;font-size:19px;cursor:pointer}
#services .codee-suite-views{display:flex;gap:4px;padding:4px;border:1px solid #bccbd3;border-radius:12px;background:#e4ecef}
#services .codee-suite-views button{min-height:36px;padding:8px 17px;border:1px solid transparent;border-radius:8px;background:transparent;color:#42586a;font:750 12px/1.5 Inter,system-ui,sans-serif;cursor:pointer}
#services .codee-suite-views button[aria-pressed="true"]{color:#f7fbff;background:#102a43;border-color:#102a43;box-shadow:0 3px 8px #07132124}
#services .codee-suite-stage{display:grid;place-items:center;height:clamp(410px,48vw,650px);width:100%;margin:20px 0 22px;padding:24px 28px;border:1px solid #91acbd55;border-radius:20px;text-decoration:none;overflow:hidden;background:radial-gradient(ellipse at 50% 80%,#4a779426,transparent 65%),linear-gradient(145deg,#d9e4e9,#eef2f3 53%,#dce8eb)}
#services .codee-preview-device[data-view="desktop"]{width:min(100%,960px);padding:8px 8px 12px;border-radius:12px}
#services .codee-preview-device[data-view="desktop"]::before{top:3px;left:calc(50% - 2px);width:4px;height:4px;border-radius:50%}
#services .codee-preview-device[data-view="desktop"]::after{content:"";position:absolute;bottom:-9px;left:-3%;width:106%;height:9px;border-radius:1px 1px 45% 45%;background:linear-gradient(180deg,#c6d0d8,#718193);box-shadow:0 8px 13px #07132130}
#services .codee-preview-device[data-view="desktop"] .codee-preview-screen{aspect-ratio:1440/860;border-radius:4px}
#services .codee-preview-device[data-view="desktop"] iframe{width:1440px;height:860px}
#services .codee-suite-caption{display:flex;justify-content:space-between;align-items:start;gap:18px}
#services .codee-suite-caption strong{display:block;color:#102a43;font-size:18px;line-height:1.5}
body.aik9-service-home #services .codee-suite-caption p{color:#42586a;font-size:13px;line-height:1.7;margin:5px 0 0}
#services [data-suite-position]{flex-shrink:0;color:#52697a;font-size:11px;line-height:1.7;padding-top:4px}
#services .codee-suite-links{display:flex;flex-wrap:wrap;gap:16px 26px;margin:18px 0 26px}
#services .codee-suite-links a{color:#174c6a;font-size:12px;line-height:1.7;font-weight:750;text-underline-offset:5px}
body.aik9-service-home #services .codee-suite-showcase>.codee-suite-intro{display:block;-webkit-line-clamp:unset;overflow:visible;grid-column:auto;color:#42586a;font-size:14px;line-height:1.8;margin:0 0 20px}
#services .codee-suite-showcase>.aik9-product-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;padding:20px 0;border-top:1px solid #c2cfd5;border-bottom:1px solid #c2cfd5}
#services .codee-suite-showcase>.aik9-product-facts>div{display:block;border:0;padding:0}
#services .codee-suite-showcase>.aik9-product-facts dt{margin-bottom:8px}
#services .codee-suite-showcase>.aik9-product-facts dd{margin:0}
#services .codee-suite-showcase>.codee-coming-teaser{margin:18px 0}
#services .codee-suite-showcase>.aik9-service-actions{margin-top:20px}
#services .codee-free-audit{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 8px 0}
#services .codee-free-audit strong{color:#102a43;font-size:15px}
body.aik9-service-home #services .codee-free-audit p{margin:5px 0 0;color:#42586a;font-size:12px;line-height:1.7}
#services .codee-free-audit .aik9-btn{flex-shrink:0}
#services .codee-suite-selection :focus-visible,#services .codee-suite-views button:focus-visible,#services .codee-suite-stage:focus-visible,#services .codee-portfolio-preview:focus-visible{outline:3px solid #187ec1;outline-offset:4px}
@media(max-width:920px){body.aik9-service-home #services .aik9-core-tools>.aik9-service-card{padding:18px;grid-template-rows:auto auto 315px 1fr auto auto}.codee-product-stage{max-height:315px}#services .codee-portfolio-preview .codee-preview-device{width:195px}#services .codee-suite-toolbar{gap:12px}#services .codee-suite-selection select{font-size:12px}}
@media(max-width:720px){body.aik9-service-home #services .aik9-core-tools{grid-template-columns:minmax(0,1fr);gap:16px}body.aik9-service-home #services .aik9-core-tools>.aik9-service-card{padding:22px;grid-template-rows:auto auto 330px auto auto auto}body.aik9-service-home #services .aik9-core-tools h3{min-height:0;font-size:24px}#services .codee-product-stage{height:330px;max-height:none}#services .codee-portfolio-preview .codee-preview-device{width:214px}body.aik9-service-home #services .codee-suite-showcase{padding:22px;margin-top:16px}#services .codee-suite-heading{display:block}#services .codee-suite-demo-count{display:inline-block;margin-top:14px}#services .codee-suite-toolbar{align-items:start;flex-direction:column;gap:16px;padding-top:22px}#services .codee-suite-picker{width:100%}#services .codee-suite-views{align-self:start}#services .codee-suite-stage{height:520px;padding:22px 14px;border-radius:15px}#services .codee-suite-stage .codee-preview-device:not([data-view="desktop"]){width:min(235px,92%)}#services .codee-suite-caption{display:block}#services [data-suite-position]{display:block;margin-top:9px}#services .codee-suite-showcase>.aik9-product-facts{grid-template-columns:minmax(0,1fr);gap:18px}#services .codee-free-audit{align-items:start;flex-direction:column;gap:14px}#services .codee-suite-selection button{flex-basis:38px;width:38px}#services .codee-suite-heading h3{font-size:28px}#services .codee-suite-caption strong{font-size:16px}}
@media(prefers-reduced-motion:reduce){#services .codee-preview-device{scroll-behavior:auto}}
@media(forced-colors:active){#services .codee-preview-device,#services .codee-suite-stage,#services .codee-suite-views{border:1px solid CanvasText}}

/* 2026-10-09: restore previews hidden by the legacy mobile launch layer. */
body.aik9-service-home #services .aik9-core-tools .codee-product-stage .aik9-phone-preview {
  display:block !important;
  visibility:visible;
}
body.aik9-service-home #services .aik9-core-tools .aik9-phone-preview img.aik9-live-demo-image {
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
}
body.aik9-service-home #services .aik9-service-card--qr .aik9-phone-preview img.aik9-live-demo-image {
  aspect-ratio:1;
}
body.aik9-service-home #services .aik9-service-card--flyer .aik9-phone-preview img.aik9-live-demo-image {
  aspect-ratio:8.5 / 11;
}
/* Explicit color pairs prevent legacy pale text leaking onto light surfaces. */
body.aik9-service-home .aik9-intent-split h2,
body.aik9-service-home .aik9-intent-split > a strong {
  color:#102a43 !important;
}
body.aik9-service-home .aik9-intent-split > a span {
  color:#42586a;
}
body.aik9-service-home #services .aik9-product-facts dt {
  color:#24566d;
}
body.aik9-service-home #services [data-suite-position] {
  color:#42586a;
}
body.aik9-service-home #affiliate .aik9-affiliate-preview {
  min-width:0;
  padding:clamp(22px,3vw,32px);
  border:1px solid #9db7c6;
  border-radius:18px;
  background:#e6eef2;
  color:#102a43;
  box-shadow:inset 0 1px 0 #ffffff,0 12px 30px #102a4310;
}
body.aik9-service-home #affiliate .aik9-affiliate-preview > span {
  color:#24566d;
  letter-spacing:.06em;
}
body.aik9-service-home #affiliate .aik9-affiliate-preview strong {
  color:#102a43 !important;
  font-size:clamp(22px,2vw,28px);
  line-height:1.3;
}
body.aik9-service-home #affiliate .aik9-affiliate-link-example {
  padding:14px 16px;
  border:1px solid #bdccd4;
  border-radius:10px;
  background:#fffdf7;
  color:#174c6a;
  font-size:13px;
  line-height:1.7;
  overflow-wrap:anywhere;
}
body.aik9-service-home #affiliate .aik9-affiliate-preview small {
  color:#42586a;
  font-size:13px;
  line-height:1.65;
}
body.aik9-service-home #affiliate .aik9-affiliate-steps > span {
  border-color:#bac9d0;
  background:#f7f4ec;
  color:#102a43 !important;
  line-height:1.6;
}
body.aik9-service-home #affiliate .aik9-affiliate-steps b {
  background:#dce9ef;
  color:#102a43;
}
@media(max-width:720px) {
  body.aik9-service-home #affiliate .aik9-affiliate-preview {
    min-height:0;
    gap:14px;
    padding:22px;
  }
}


/* Phone proportions for the hosted CodeeFlyer preview. */
body.aik9-service-home #services .aik9-service-card--flyer .codee-product-stage .aik9-phone-preview.codee-flyer-phone{
 width:min(176px,90%);height:auto;aspect-ratio:auto;padding:7px;
 border:1px solid #aebcc6;border-radius:27px;
 background:linear-gradient(145deg,#7b8794,#101b29 45%,#455467);
 box-shadow:0 18px 35px #07132136,inset 0 1px 2px #ffffff99;
}
#services .codee-flyer-screen{display:block;position:relative;width:100%;aspect-ratio:390/780;overflow:hidden;border-radius:20px;background:#fffdf7}
body.aik9-service-home #services .aik9-service-card--flyer .codee-flyer-phone img.aik9-live-demo-image{
 width:100%;height:100%;aspect-ratio:auto;border-radius:0;object-fit:contain;object-position:center;background:#fffdf7;
}
body.aik9-service-home #services .codee-flyer-phone::before{top:11px;width:46px;height:9px;background:#0d1420}
body.aik9-service-home #services .codee-flyer-phone::after{bottom:11px;width:46px;height:4px;background:#102a4399}

/* A clear, blue referral section with readable, specific steps. */
body.aik9-service-home #affiliate.aik9-affiliate-band{
 background:#e6f2fa!important;border:1px solid #a5c3d5;color:#102a43;
 grid-template-columns:minmax(0,1.15fr) minmax(0,.8fr);gap:clamp(24px,3.5vw,44px);
}
body.aik9-service-home #affiliate .aik9-kicker{color:#24566d}
body.aik9-service-home #affiliate .aik9-affiliate-copy h2{
 max-width:20ch;font-size:clamp(30px,3.5vw,48px);line-height:1.08;color:#102a43!important;
}
body.aik9-service-home #affiliate .aik9-affiliate-copy>p:not(.aik9-kicker){color:#42586a;font-size:15px;line-height:1.7}
body.aik9-service-home #affiliate .aik9-affiliate-steps{gap:10px;margin:22px 0}
body.aik9-service-home #affiliate .aik9-affiliate-steps>span{background:#fffdf7;border-color:#b0c9d8;padding:16px;font-weight:400}
body.aik9-service-home #affiliate .aik9-affiliate-steps b{background:#d4e9f6;color:#102a43}
body.aik9-service-home #affiliate .aik9-affiliate-steps strong{display:block;margin-bottom:7px;color:#102a43!important;font-size:15px;line-height:1.35}
body.aik9-service-home #affiliate .aik9-affiliate-steps small{display:block;font-size:13px;line-height:1.6;color:#42586a}
body.aik9-service-home #affiliate .aik9-affiliate-preview{
 background:#fffdf7;border-color:#9bbcd0;min-height:0;gap:16px;box-shadow:0 14px 32px #102a4310;
}
body.aik9-service-home #affiliate .aik9-affiliate-preview strong{font-size:clamp(23px,2.2vw,30px);line-height:1.25}
body.aik9-service-home #affiliate .aik9-affiliate-link-example{background:#edf6fc;border-color:#afc9d9;color:#174c6a}
body.aik9-service-home #affiliate .codee-referral-explainer{margin:0;color:#42586a;font-size:14px;line-height:1.7}
body.aik9-service-home #affiliate .aik9-affiliate-preview small{margin-top:0;color:#42586a}
body.aik9-service-home #affiliate .aik9-btn{background:#102a43!important;border-color:#102a43!important;color:#fffdf7!important}
body.aik9-service-home #affiliate .aik9-btn-demo{background:#fffdf7!important;border-color:#658da6!important;color:#102a43!important}

/* Headquarters: show the full video frame, with playback controls on phones too. */
body.aik9-service-home #mission .aik9-proof-strip{
 grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(22px,3vw,38px);
 align-items:center;padding:clamp(20px,2.5vw,32px);background:#fffdf7;border:1px solid #b8c7cf;border-radius:20px;
}
body.aik9-service-home #mission .aik9-proof-media{
 display:block!important;min-width:0;width:100%;height:auto;min-height:0;margin:0;background:transparent;overflow:visible;
}
body.aik9-service-home #mission .aik9-proof-media video{
 display:block;position:relative;width:100%;height:auto;min-height:0;aspect-ratio:16/9;
 object-fit:contain;object-position:center;opacity:1;background:#08141f;border-radius:14px;
}
body.aik9-service-home #mission .codee-headquarters-caption{margin-top:10px;font-size:13px;line-height:1.6;color:#42586a}
body.aik9-service-home #mission .aik9-proof-copy{min-width:0;padding:0;gap:16px}
body.aik9-service-home #mission .aik9-proof-copy h2{max-width:19ch;font-size:clamp(28px,3vw,42px);line-height:1.08;color:#102a43!important}
body.aik9-service-home #mission .aik9-proof-copy p{font-size:15px;line-height:1.7;color:#42586a}
body.aik9-service-home #mission .aik9-proof-copy .aik9-kicker{font-size:12px;color:#24566d}

@media(max-width:920px){
 body.aik9-service-home #mission .aik9-proof-strip{grid-template-columns:1fr}
}
@media(max-width:720px){
 body.aik9-service-home #affiliate.aik9-affiliate-band{grid-template-columns:1fr;gap:24px}
 body.aik9-service-home #affiliate .aik9-affiliate-steps{grid-template-columns:1fr}
 body.aik9-service-home #mission .aik9-proof-strip{padding:18px;gap:22px}
 body.aik9-service-home #mission .aik9-proof-copy h2{font-size:30px}
 body.aik9-service-home #mission .aik9-proof-actions{display:grid;gap:10px}
}

/* QRCodee uses the same phone silhouette as CodeeFlyer and the live demo's labels. */
body.aik9-service-home #services .aik9-service-card--qr .codee-product-stage .aik9-phone-preview.codee-qr-phone{
 width:min(176px,90%);height:auto;aspect-ratio:auto;padding:7px;
 border:1px solid #aebcc6;border-radius:27px;
 background:linear-gradient(145deg,#7b8794,#101b29 45%,#455467);
 box-shadow:0 18px 35px #07132136,inset 0 1px 2px #ffffff99;text-decoration:none;
}
#services .codee-qr-screen{
 display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;
 width:100%;aspect-ratio:390/780;box-sizing:border-box;padding:23px 8px 17px;
 overflow:hidden;border-radius:20px;background:#dfe8ed;color:#102a43;text-align:center;
}
#services .codee-qr-title{display:block;font-size:13px;line-height:1.2;font-weight:750;color:#102a43}
body.aik9-service-home #services .aik9-service-card--qr .codee-qr-phone img.aik9-live-demo-image{
 display:block;flex:0 0 auto;width:100%;height:auto;aspect-ratio:1;
 padding:0;object-fit:contain;object-position:center;border-radius:3px;background:#dfe8ed;
}
#services .codee-qr-caption{display:block;font-size:11px;line-height:1.3;font-weight:700;color:#102a43}
#services .codee-qr-benefits{display:block;font-size:9px;line-height:1.4;font-weight:400;color:#102a43}
body.aik9-service-home #services .codee-qr-phone::before{top:11px;width:46px;height:9px;background:#0d1420}
body.aik9-service-home #services .codee-qr-phone::after{bottom:11px;width:46px;height:4px;background:#102a4399}

/* Preserve the full portrait footage in a player that remains visible on phones. */
body.aik9-service-home #mission .codee-roots-player{
 position:relative;width:min(100%,260px);aspect-ratio:512/910;margin:0 auto;
 overflow:hidden;border-radius:16px;background:#08141f;
}
body.aik9-service-home #mission .codee-roots-player video,
body.aik9-service-home #mission .codee-roots-player img{
 display:block;width:100%;height:100%;min-height:0;aspect-ratio:auto;
 object-fit:contain;object-position:center;border-radius:0;
}
body.aik9-service-home #mission .codee-roots-player [hidden]{display:none!important}
#mission .codee-roots-toggle{
 position:absolute;left:50%;bottom:12px;transform:translateX(-50%);white-space:nowrap;
 min-height:40px;padding:9px 16px;border:1px solid #8faabe;border-radius:999px;
 background:#102a43;color:#fffdf7;font-family:inherit;font-size:13px;font-weight:700;line-height:1.3;cursor:pointer;
}
#mission .codee-roots-toggle:focus-visible{outline:3px solid #fffdf7;outline-offset:3px}
@media(max-width:720px){body.aik9-service-home #mission .codee-roots-player{width:min(100%,240px)}}
