/* Kilogain's editorial product layer. The campaign font, wordmark and cover artwork come from the original site. */
.kg-section,.studio-section{padding-block:clamp(48px,7vw,104px);scroll-margin-top:78px}
.kg-section h2,.studio-section h2{max-width:19ch;font-size:clamp(2rem,4.1vw,4.45rem);line-height:1.01;letter-spacing:-.045em;margin:10px 0 20px;text-wrap:balance}
.kg-intro{max-width:67ch;font-size:clamp(1rem,1.5vw,1.19rem);color:var(--prose,var(--muted));line-height:1.65}
.kg-section h3,.kg-run h3{letter-spacing:-.025em;line-height:1.16}
.kg-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(24px,6vw,95px)}
.kg-reverse .kg-copy{order:2}.kg-copy{min-width:0}.kg-copy p{max-width:54ch}.kg-copy .eyebrow,.kg-section .eyebrow{font-size:.74rem;letter-spacing:.14em}
.kg-proof{display:grid;margin:22px 0 28px;padding:0;list-style:none}.kg-proof li{padding:12px 0;border-bottom:1px solid var(--line);max-width:54ch}.kg-proof b{display:block;margin:0 0 4px;font-size:1rem;color:var(--text-hi,var(--text))}.kg-proof span{font-size:.95rem;color:var(--muted)}
.kg-stage{position:relative;min-height:430px;display:grid;place-items:center;isolation:isolate;overflow:hidden;border-radius:24px;background:linear-gradient(145deg,#1a172a,#10121e 63%,#18323a);padding:32px 20px}
.kg-stage::before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(115deg,rgba(9,12,20,.69),rgba(9,12,20,.32)),var(--shot,none) center/cover;opacity:.82}
.kg-stage::after{content:"";position:absolute;z-index:-1;left:15%;right:15%;bottom:5%;height:12%;border-radius:100%;background:#090a1080;filter:blur(30px)}
.kg-device,.kg-gallery .kg-device{display:block;position:relative;width:min(100%,226px);line-height:0;border:3px solid #454955;border-radius:clamp(19px,2vw,29px);overflow:hidden;box-shadow:0 13px 30px #07091066,0 0 0 1px #0b0b14;transition:transform .2s;cursor:zoom-in}
.kg-device img,.kg-watch img{display:block;width:100%;height:auto;max-width:100%}.kg-device:hover{transform:translateY(-3px)}
.kg-editorial{background:var(--bg-soft);border-block:1px solid var(--line)}.kg-stage.kg-gold{background:linear-gradient(125deg,#423325,#161311 63%,#332a1a)}
.kg-photo-training{--shot:url('/img/features-training.webp')}.kg-photo-plan{--shot:url('/img/features-plan.webp')}.kg-photo-progress{--shot:url('/img/features-progress.webp')}.kg-photo-focus{--shot:url('/img/home-focus-african-800.webp')}
.kg-themes{margin-block:0;background:linear-gradient(112deg,#12101d 0%,#141c26 55%,#201b13 100%);color:#f6f3ff}
.kg-themes .kg-intro,.kg-themes .kg-tile p{color:#c4c7d1}.kg-themes h2,.kg-themes h3{color:#f8f7fb}
.kg-gallery,.kg-triptych{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,2vw,30px);margin-top:30px}
.kg-tile{margin:0;min-width:0}.kg-tile h3{font-size:clamp(1.06rem,1.7vw,1.48rem);margin:16px 0 5px}.kg-tile p{color:var(--muted);line-height:1.55;margin:0}
.kg-tile .kg-stage{min-height:0;padding:24px 12px;border-radius:20px}.kg-tile .kg-device{width:clamp(130px,13.8vw,208px)}
.kg-tile:nth-child(3n+2) .kg-stage{background:linear-gradient(145deg,#1c2c30,#11171a 61%,#21313a)}.kg-tile:nth-child(3n) .kg-stage,.kg-triptych .kg-tile:last-child .kg-stage{background:linear-gradient(145deg,#292336,#16131b 61%,#302b37)}
.kg-triptych .kg-tile:nth-child(2) .kg-stage{background:linear-gradient(135deg,#41505b,#273841)}.kg-triptych .kg-tile:last-child .kg-stage{background:linear-gradient(145deg,#413525,#1d1915 70%)}
.kg-controls{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;margin-top:22px}.kg-switch{display:inline-flex;flex-wrap:wrap;gap:4px;padding:4px;border-radius:14px;border:1px solid var(--line);background:var(--bg-soft)}
.kg-switch button{border:0;background:transparent;color:var(--text);font:inherit;font-weight:650;line-height:1.2;padding:10px 15px;border-radius:10px;cursor:pointer;min-height:42px}.kg-switch button[aria-pressed=true]{background:#c6adff;color:#21152f}.kg-switch button[data-opt=gold][aria-pressed=true]{background:#e0bd72;color:#20190d}
.kg-watch{width:min(82%,200px);display:block;line-height:0;cursor:zoom-in;filter:drop-shadow(0 12px 9px #08090e65)}.kg-watch img{border-radius:20%}.kg-watch[data-platform=wear] img{border-radius:50%}.kg-watch-stage{min-height:0;aspect-ratio:1.24}
.kg-wear-banner{padding-block:clamp(75px,10vw,145px);background:#0a0d17 url('/img/covers/wear-dark-800.webp') center 43%/cover;color:white;position:relative;isolation:isolate}.kg-wear-banner::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#090c16f5,#0b101ac2 51%,#13172526)}.kg-wear-banner h2{color:white}.kg-wear-banner p{max-width:min(51ch,90%);color:#e3e1e9}
.kg-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.kg-bank{display:flex;gap:10px;flex-wrap:wrap}.kg-bank span{border-radius:30px;padding:5px 12px;border:1px solid var(--line);font-size:.87rem}
dialog.kg-zoom{width:min(96vw,1400px);height:94dvh;max-height:96dvh;max-width:98vw;background:#0c0d14;color:#f4f2ff;border:1px solid #393b47;border-radius:18px;padding:0;overflow:hidden}dialog.kg-zoom::backdrop{background:#080911d9}.kg-zoom[open]{display:flex;flex-direction:column}
.kg-zoom-head{padding:8px 14px;background:#181823;display:flex;align-items:center;gap:12px;min-height:52px}.kg-zoom-head strong{margin-right:auto}.kg-zoom-head a,.kg-zoom-head button{font:inherit;font-weight:bold;color:#f4f2ff;background:#302c40;border:0;border-radius:9px;padding:8px 12px;text-decoration:none;cursor:pointer}.kg-zoom-view{flex:1;min-height:0;overflow:auto;text-align:center}.kg-zoom-view img{height:100%;width:auto;max-width:100%;object-fit:contain;cursor:zoom-in}.kg-zoom-view.is-full img{height:auto;width:auto;max-width:none;cursor:zoom-out}
.kg-photo-band img{width:100%;height:clamp(180px,30vw,400px);object-fit:cover;display:block}.kg-muted-panel{background:var(--bg-soft)}
.kg-compare .comparison{width:100%;border-collapse:collapse}.comparison :is(td,th){text-align:start;border-bottom:1px solid var(--line);padding:12px 10px}.comparison :is(td,th):not(:first-child){text-align:center}.comparison tbody th[colspan]{background:var(--bg-soft);color:var(--text-hi);font-size:1.05em}.kg-compare .studio-lead{max-width:72ch}
.studio-faq details{border-bottom:1px solid var(--line);padding:16px 0}.studio-faq summary{cursor:pointer;font-weight:bold}.studio-faq details p{max-width:75ch}
.press-facts{display:grid;grid-template-columns:minmax(75px,140px) 1fr;gap:12px 18px}.press-facts dt{font-weight:750}.press-facts dd{margin:0}
.pm-gold{background:linear-gradient(140deg,#332a20,#1d1a18)!important;color:#f4eddf}.pm-gold .pm-sub,.pm-gold .pm-note{color:#e2d2b4}.pm-gold h2,.pm-gold li{color:#f6edda}.pm-gold li::marker{color:#e7bd68}
.kg-feature .kg-section:nth-of-type(even){background:var(--bg-soft)}.kg-feature .kg-proof{margin-bottom:0}.kg-anchor{display:block;scroll-margin-top:85px}
body :focus-visible{outline:3px solid #986bf3;outline-offset:3px}.kg-section,.kg-section *,.studio-section,.studio-section *{box-sizing:border-box}
@media(max-width:760px){.kg-split{grid-template-columns:minmax(0,1fr);gap:22px}.kg-reverse .kg-copy{order:0}.kg-stage{min-height:0;padding:24px 14px}.kg-stage>.kg-device{width:min(54%,205px)}.kg-gallery,.kg-triptych{gap:22px 12px;grid-template-columns:repeat(2,minmax(0,1fr))}.kg-tile .kg-device{width:min(100%,175px);border-radius:15px;border-width:2px}.kg-tile .kg-stage{padding:18px 12px;border-radius:14px}.kg-triptych .kg-tile:last-child{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:16px}.kg-controls{gap:10px}.kg-switch button{padding:9px 11px}.kg-watch-stage{aspect-ratio:1}.kg-stage .kg-watch{width:90%}.kg-section h2,.studio-section h2{font-size:clamp(1.85rem,8vw,3.1rem)}.kg-tile p{font-size:.92rem}.kg-compare td,.kg-compare th{padding:9px 5px;overflow-wrap:anywhere}.kg-zoom-head{gap:6px}.kg-device:hover{transform:none}}
@media(max-width:370px){.kg-gallery{grid-template-columns:1fr}.kg-triptych .kg-tile .kg-stage{padding-inline:5px}}
@media(prefers-reduced-motion:reduce){.kg-device{transition:none}}


.kg-volume{max-width:420px;margin:25px 0 0}.kg-volume figcaption{font-weight:700;font-size:.86rem;color:var(--text)}.kg-volume-gradient{height:10px;border-radius:9px;margin:9px 0;background:linear-gradient(90deg,#424853 0%,#7347af 5%,#ae3ea8 25%,#de4181 50%,#f66754 75%,#fe973b 100%)}.kg-volume-counts{display:flex;justify-content:space-between;font-size:.85rem;font-variant-numeric:tabular-nums;color:var(--muted)}
#prices .plan.is-best{border-color:#ae8c54;background:linear-gradient(145deg,#332a20,#1e1a18 75%);color:#f5e9d7}#prices .is-best .plan-tag{background:#e8c888;color:#281c0c}#prices .is-best :is(h3,.price,.price small){color:#ffe8b8}#prices .is-best :is(p,.per-month){color:#dfcba8}

/* The three theme previews share the same page background. */
#themes .kg-triptych .kg-tile:nth-child(2) .kg-stage {background:transparent}
[data-kg-lb-source] {visibility:hidden}

dialog.kg-lightbox {
  --gap:clamp(12px,2.2vmin,26px);
  box-sizing:border-box;position:fixed;inset:0;margin:auto;
  width:100%;height:100%;height:100dvh;max-width:none;max-height:none;
  padding:max(env(safe-area-inset-top,0px),var(--gap)) max(env(safe-area-inset-right,0px),var(--gap))
          max(env(safe-area-inset-bottom,0px),var(--gap)) max(env(safe-area-inset-left,0px),var(--gap));
  border:0;border-radius:0;background:transparent;box-shadow:none;
  overflow:hidden;overscroll-behavior:contain;cursor:zoom-out;
}
dialog.kg-lightbox[open] {display:grid;grid-template:minmax(0,1fr)/minmax(0,1fr)}
dialog.kg-lightbox::backdrop {
  background:rgba(10,13,20,.45);-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);
}
:root[data-theme=light] dialog.kg-lightbox::backdrop {background:rgba(27,30,39,.27)}
:root:has(dialog.kg-lightbox[open]) {overflow:hidden}
dialog.kg-lightbox[data-leaving]::backdrop {animation:kg-lb-out .17s ease-in both}
@keyframes kg-lb-out {from{opacity:1}to{opacity:0}}
.kg-lb-stage {min-width:0;min-height:0;display:grid;place-items:center;container-type:size;touch-action:pan-y pinch-zoom}
.kg-lightbox .kg-lb-object {
  position:relative;box-sizing:border-box;min-width:0;min-height:0;max-width:100%;max-height:100%;
  width:min(calc(100vw - 2 * var(--gap)),calc((100dvh - 2 * var(--gap)) * var(--ratio,1)),var(--cap,2200px));
  height:auto;aspect-ratio:var(--ratio,1);margin:0;padding:0;display:block;line-height:0;
  cursor:zoom-out;transform:none;transition:none;text-decoration:none;-webkit-tap-highlight-color:transparent;
}
@supports (width:1cqw) {
  .kg-lightbox .kg-lb-object {width:min(100cqw,calc(100cqh * var(--ratio,1)),var(--cap,2200px))}
}
.kg-lightbox .kg-lb-object.kg-device {display:grid;place-items:center}
.kg-lightbox .kg-lb-object:is(:hover,:focus,:active) {transform:none}
.kg-lightbox .kg-device img {width:97%;height:auto}
.kg-lightbox .kg-watch {background-position:center;background-size:100% 100%;background-repeat:no-repeat}
.kg-lightbox .kg-watch[data-platform=apple] {background-image:url('/img/watch/apple-housing-840.webp')}
.kg-lightbox .kg-watch[data-platform=wear] {background-image:url('/img/watch/wear-housing-840.webp')}
.kg-lb-object:not(.kg-device,.kg-watch) img {display:block;width:100%;height:auto;object-fit:contain}
.kg-lb-asset {display:grid;place-items:center;width:100%;height:100%;cursor:zoom-in}
.kg-lb-asset:focus-visible,.kg-lightbox .kg-lb-object:focus-visible {outline:3px solid #c9aaff;outline-offset:3px}
@media(prefers-reduced-motion:reduce) {dialog.kg-lightbox::backdrop,dialog.kg-lightbox[data-leaving]::backdrop {animation:none}}

@media (width > 760px) {
  /* Keep the training photograph behind the phone after swapping columns. */
  body[data-page="home"] #features.kg-reverse::before {left:0;right:auto;transform:scaleX(-1)}
}
