:root {
  --ink: #10221f;
  --muted: #4a5f5a;
  --paper: #f3f6f4;
  --surface: #ffffff;
  --brand: #0b3d36;
  --brand-2: #147a6a;
  --accent: #d4a017;
  --flag: #c45c26;
  --line: rgba(16, 34, 31, 0.12);
  --shadow: 0 24px 60px rgba(11, 61, 54, 0.18);
  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --radius: 18px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.kk-body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(20, 122, 106, 0.16), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(212, 160, 23, 0.12), transparent 50%),
    linear-gradient(180deg, #e7eeeb 0%, var(--paper) 28%, #eef2f0 100%);
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand); }

.kk-skip {
  position: absolute; left: -999px; top: 0;
  background: var(--brand); color: #fff; padding: .5rem 1rem; z-index: 100;
  border-radius: .5rem;
}
.kk-skip:focus { left: 1rem; top: 1rem; }
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.kk-btn:focus-visible, .kk-nav__links a:focus-visible { outline-offset: 4px; }

.kk-crumbs {
  max-width: var(--max); margin: 0 auto; padding: .75rem 1.25rem 0;
  font-size: .85rem; color: var(--muted);
}
.kk-crumbs ol {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .35rem .55rem; align-items: center;
}
.kk-crumbs li:not(:last-child)::after {
  content: "›"; margin-left: .55rem; color: #94a3b8;
}
.kk-crumbs a { color: var(--brand-2); text-decoration: none; font-weight: 600; }
.kk-crumbs [aria-current="page"] { color: var(--ink); font-weight: 600; max-width: 42ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.kk-fab {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 60;
  display: inline-flex; align-items: center; gap: .45rem;
  background: #128C7E; color: #fff !important; text-decoration: none;
  font-weight: 700; font-size: .92rem; padding: .85rem 1.1rem;
  border-radius: 999px; box-shadow: 0 12px 28px rgba(18, 140, 126, .35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.kk-fab span {
  display: grid; place-items: center; width: 1.5rem; height: 1.5rem;
  border-radius: 999px; background: rgba(255,255,255,.2); font-size: .7rem;
}
.kk-fab:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(18, 140, 126, .42); color: #fff !important; }
@media (min-width: 921px) {
  .kk-fab { bottom: 1.4rem; right: 1.4rem; }
}

.kk-nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(243, 246, 244, 0.86);
  border-bottom: 1px solid var(--line);
}
.kk-nav__inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .85rem 1.25rem; flex-wrap: wrap;
}
.kk-lang {
  display: inline-flex; align-items: center; gap: .35rem;
  font-weight: 800; font-size: .82rem; letter-spacing: .04em;
  padding: .35rem .55rem; border-radius: 999px;
  background: rgba(255,255,255,.7); border: 1px solid var(--line);
}
.kk-lang a { color: var(--muted); text-decoration: none; }
.kk-lang a.is-active { color: var(--brand); }
.kk-lang a:hover { color: var(--brand-2); }
.kk-footer .kk-lang { margin-top: .75rem; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.kk-footer .kk-lang a { color: rgba(255,255,255,.7); }
.kk-footer .kk-lang a.is-active { color: #fff; }
.kk-logo { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; font-weight: 800; }
.kk-logo__mark {
  width: 2rem; height: 2rem; border-radius: .65rem;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
  color: #fff; font-family: var(--font-display); font-size: 1.05rem;
}
.kk-logo__mark-img {
  width: 2.35rem; height: 2.35rem; border-radius: .55rem;
  box-shadow: 0 6px 14px rgba(11, 61, 54, 0.18);
  background: #fff;
}
.kk-logo__text { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: -0.02em; }
.kk-nav__links { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.kk-nav__links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.kk-nav__links a:not(.kk-btn):hover { color: var(--brand-2); }
.kk-nav__links a.is-current:not(.kk-btn) {
  color: var(--brand);
  box-shadow: inset 0 -2px 0 var(--accent);
}
.kk-nav__toggle {
  display: none; width: 2.5rem; height: 2.5rem; border: 1px solid var(--line);
  border-radius: .75rem; background: var(--surface); cursor: pointer;
}
.kk-nav__toggle span {
  display: block; height: 2px; margin: 5px 6px; background: var(--ink); transition: .2s;
}

.kk-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .4rem; border-radius: 999px; padding: .85rem 1.35rem;
  font-weight: 700; text-decoration: none; border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.kk-btn:hover { transform: translateY(-1px); }
.kk-btn--sm { padding: .55rem 1rem; font-size: .9rem; }
.kk-btn--solid {
  background: var(--brand); color: #fff !important;
  box-shadow: 0 10px 24px rgba(11, 61, 54, 0.28);
}
.kk-btn--solid:hover { background: #09332d; }
.kk-btn--ghost {
  background: rgba(255,255,255,.55); color: var(--ink) !important;
  border-color: var(--line);
}

.kk-hero {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 2rem;
  padding: 2.5rem 1.25rem 1.5rem; min-height: min(88vh, 820px);
  align-items: center; position: relative;
}
.kk-hero__bg {
  position: absolute; inset: 8% 4% auto auto; width: 42%; height: 70%;
  background:
    linear-gradient(135deg, rgba(11,61,54,.08), transparent 60%),
    repeating-linear-gradient(-18deg, rgba(16,34,31,.04) 0 2px, transparent 2px 14px);
  border-radius: 40% 60% 55% 45%;
  filter: blur(0.5px); pointer-events: none;
}
.kk-brand-line {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.04em; margin: 0 0 .35rem; color: var(--brand);
  line-height: 1;
}
.kk-hero h1, .kk-page-hero h1, .kk-section__head h1, .kk-section__head h2, .kk-cta-band h2 {
  font-family: var(--font-display); letter-spacing: -0.03em; line-height: 1.08; margin: 0 0 .85rem;
}
.kk-hero h1 { font-size: clamp(1.85rem, 4.2vw, 3rem); max-width: 14ch; }
.kk-hero h1 em { font-style: normal; color: var(--brand-2); position: relative; }
.kk-hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .08em;
  height: .18em; background: rgba(212, 160, 23, .45); z-index: -1;
}
.kk-lede { font-size: 1.08rem; color: var(--muted); max-width: 38rem; margin: 0 0 1.4rem; }
.kk-hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; }

.kk-hero__visual { position: relative; min-height: 420px; }
.kk-hero-card {
  position: absolute; border-radius: 1rem; background-size: cover; background-position: center top;
  box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.5);
  animation: kk-float 7s ease-in-out infinite;
}
.kk-hero-card--a { width: 58%; aspect-ratio: 9/16; left: 6%; top: 4%; transform: rotate(-6deg); }
.kk-hero-card--b { width: 52%; aspect-ratio: 9/16; right: 2%; bottom: 0; transform: rotate(7deg); animation-delay: -2.5s; opacity: .95; }
.kk-scan {
  position: absolute; left: 10%; right: 18%; top: 12%; height: 3px;
  background: linear-gradient(90deg, transparent, #7dffd4, transparent);
  box-shadow: 0 0 18px rgba(125, 255, 212, .8);
  animation: kk-scan 3.2s ease-in-out infinite;
  opacity: .85; pointer-events: none;
}
@keyframes kk-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}
@keyframes kk-scan {
  0% { top: 12%; opacity: 0; }
  15% { opacity: .9; }
  85% { opacity: .9; }
  100% { top: 78%; opacity: 0; }
}

.kk-strip {
  max-width: var(--max); margin: 0 auto 1rem; padding: 0 1.25rem;
}
.kk-strip p {
  margin: 0; padding: 1rem 1.2rem; border-radius: var(--radius);
  background: rgba(11, 61, 54, 0.92); color: #e8f5f1;
  font-size: 1.02rem;
}
.kk-strip strong { color: #fff; }

.kk-section { max-width: var(--max); margin: 0 auto; padding: 3rem 1.25rem; }
.kk-section__head { margin-bottom: 1.75rem; max-width: 40rem; }
.kk-section__head h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
.kk-section__head p { color: var(--muted); margin: 0; }

.kk-pipeline__stage {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; margin-bottom: 1.5rem;
}
.kk-pipe-step {
  padding: 1rem; border-radius: 1rem; background: rgba(255,255,255,.7);
  border: 1px solid var(--line); opacity: .55; transition: .35s ease;
}
.kk-pipe-step.is-active {
  opacity: 1; border-color: rgba(20,122,106,.45);
  box-shadow: 0 12px 30px rgba(11,61,54,.12);
  background: #fff;
}
.kk-pipe-num {
  font-family: var(--font-display); font-weight: 800; color: var(--brand-2); display: block; margin-bottom: .35rem;
}
.kk-pipe-step h3 { margin: 0 0 .35rem; font-size: 1.05rem; }
.kk-pipe-step p { margin: 0; color: var(--muted); font-size: .92rem; }

.kk-demo-canvas {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: 1.25rem; align-items: stretch;
}
.kk-demo-canvas__card {
  position: relative; border-radius: 1.1rem; overflow: hidden;
  background: #111; box-shadow: var(--shadow); max-height: 560px;
}
.kk-demo-canvas__card img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.kk-laser {
  position: absolute; left: 0; right: 0; height: 4px; top: 0;
  background: linear-gradient(90deg, transparent, #9ef7d8, transparent);
  box-shadow: 0 0 20px #9ef7d8; animation: kk-laser 2.8s linear infinite; opacity: 0;
}
.kk-demo-canvas.is-running .kk-laser,
.kk-laser--run:not([hidden]) { opacity: 1; }
@keyframes kk-laser {
  from { top: 0; } to { top: 100%; }
}
.kk-demo-canvas__panel {
  border-radius: 1.1rem; background: #fff; border: 1px solid var(--line);
  padding: 1.1rem 1.2rem; box-shadow: 0 10px 28px rgba(16,34,31,.06);
}
.kk-readout__title {
  font-family: var(--font-display); font-weight: 700; margin-bottom: .75rem;
}
.kk-readout__rows { list-style: none; margin: 0; padding: 0; }
.kk-readout__rows li {
  display: grid; grid-template-columns: .8fr 1.4fr .7fr; gap: .5rem;
  padding: .55rem 0; border-bottom: 1px dashed var(--line); font-size: .92rem;
  opacity: 0; transform: translateY(6px);
}
.kk-demo-canvas.is-running .kk-readout__rows li,
.kk-readout.is-live .kk-readout__rows li {
  animation: kk-row-in .45s ease forwards;
}
.kk-readout__rows li:nth-child(1) { animation-delay: .2s; }
.kk-readout__rows li:nth-child(2) { animation-delay: .45s; }
.kk-readout__rows li:nth-child(3) { animation-delay: .7s; }
.kk-readout__rows li:nth-child(4) { animation-delay: .95s; }
.kk-readout__rows li:nth-child(5) { animation-delay: 1.2s; }
.kk-readout__rows li.is-flag { background: rgba(196, 92, 38, 0.08); color: var(--flag); font-weight: 600; }
.kk-readout__total {
  margin-top: 1rem; padding: .85rem 1rem; border-radius: .9rem;
  background: linear-gradient(120deg, #ecf8f4, #fff8e8); font-weight: 600;
  opacity: 0;
}
.kk-demo-canvas.is-running .kk-readout__total,
.kk-readout.is-live .kk-readout__total { animation: kk-row-in .5s ease 1.45s forwards; }
@keyframes kk-row-in {
  to { opacity: 1; transform: none; }
}

.kk-proof__grid, .kk-pricing__grid, .kk-contact__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.kk-proof__grid article, .kk-pricing__grid article, .kk-contact__card {
  background: rgba(255,255,255,.82); border: 1px solid var(--line);
  border-radius: 1.1rem; padding: 1.25rem;
}
.kk-proof__grid h3, .kk-pricing__grid h2, .kk-contact__card h2 {
  font-family: var(--font-display); margin: 0 0 .5rem; letter-spacing: -0.02em;
}
.kk-proof__grid p { margin: 0; color: var(--muted); }

.kk-cta-band {
  max-width: var(--max); margin: 1rem auto 2rem; padding: 2.2rem 1.5rem;
  border-radius: 1.4rem; text-align: center;
  background:
    linear-gradient(135deg, rgba(11,61,54,.96), rgba(20,122,106,.88)),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  color: #fff;
}
.kk-cta-band p { color: rgba(255,255,255,.82); max-width: 34rem; margin: 0 auto 1.2rem; }
.kk-cta-band .kk-btn--solid { background: #fff; color: var(--brand) !important; }

.kk-faq details {
  max-width: 720px; background: #fff; border: 1px solid var(--line);
  border-radius: .9rem; padding: .9rem 1rem; margin-bottom: .65rem;
}
.kk-faq summary { cursor: pointer; font-weight: 700; }
.kk-faq p { color: var(--muted); margin: .6rem 0 0; }

.kk-page-hero { max-width: var(--max); margin: 0 auto; padding: 2.5rem 1.25rem 1rem; }
.kk-page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); max-width: 18ch; }
.kk-kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; color: var(--brand-2); font-weight: 700; }

.kk-how__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 1rem; }
.kk-how__list li {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
  background: #fff; border-radius: 1rem; padding: 1.2rem; border: 1px solid var(--line);
  counter-increment: how;
}
.kk-how__list { counter-reset: how; }
.kk-how__list li::before {
  content: counter(how, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: var(--brand-2);
}
.kk-how__list h2 { margin: 0 0 .35rem; font-size: 1.25rem; font-family: var(--font-display); }
.kk-how__list p { margin: 0; color: var(--muted); }

.kk-price { font-family: var(--font-display); font-size: 2rem; font-weight: 800; margin: .2rem 0 1rem; }
.kk-price span { font-size: .95rem; font-weight: 600; color: var(--muted); margin-left: .25rem; }
.kk-pricing__grid ul { margin: 0 0 1.2rem; padding-left: 1.1rem; color: var(--muted); }
.kk-pricing__grid article.is-featured {
  border-color: rgba(20,122,106,.45);
  box-shadow: 0 16px 40px rgba(11,61,54,.14);
  background: linear-gradient(180deg, #fff, #f3fbf8);
}

.kk-contact__card { text-decoration: none; color: inherit; transition: .2s; }
.kk-contact__card:hover { transform: translateY(-2px); border-color: rgba(20,122,106,.4); }

.kk-demo-lab__controls {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: end; margin-bottom: 1.25rem;
}
.kk-demo-lab__controls label { display: grid; gap: .35rem; font-weight: 600; font-size: .9rem; }
.kk-demo-lab__controls select {
  min-width: 12rem; padding: .65rem .8rem; border-radius: .7rem; border: 1px solid var(--line);
  background: #fff; font: inherit;
}
.kk-demo-lab__stage {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 1.25rem;
}
.kk-demo-lab__photo {
  position: relative; border-radius: 1.1rem; overflow: hidden; background: #0f1715;
  box-shadow: var(--shadow); min-height: 520px;
}
.kk-demo-lab__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; min-height: 520px; }
.kk-status {
  position: absolute; left: .8rem; bottom: .8rem;
  background: rgba(11,61,54,.88); color: #fff; padding: .4rem .7rem;
  border-radius: 999px; font-size: .82rem; font-weight: 600;
}
.kk-demo-lab__out {
  background: #fff; border: 1px solid var(--line); border-radius: 1.1rem; padding: 1.1rem;
}
.kk-timeline { margin: 0 0 1rem; padding-left: 1.2rem; }
.kk-timeline li { margin: .35rem 0; color: var(--muted); font-weight: 600; }
.kk-timeline li.is-done { color: var(--brand-2); }
.kk-timeline li.is-active { color: var(--ink); }
.kk-hours { width: 100%; border-collapse: collapse; font-size: .9rem; }
.kk-hours th, .kk-hours td { border-bottom: 1px solid var(--line); padding: .45rem .3rem; text-align: left; }
.kk-hours .muted { color: var(--muted); font-style: italic; }
.kk-hours tr.is-flag td { background: rgba(196,92,38,.08); color: var(--flag); font-weight: 600; }
.kk-demo-lab__total { margin-top: 1rem; font-weight: 700; font-family: var(--font-display); font-size: 1.15rem; }

.kk-prose { max-width: 760px; }
.kk-prose__body p, .kk-prose p { color: var(--muted); }
.kk-blog__list { display: grid; gap: 1rem; }
.kk-blog__item {
  background: #fff; border: 1px solid var(--line); border-radius: 1rem; padding: 1.1rem 1.2rem;
}
.kk-blog__item h2 { margin: 0 0 .4rem; font-size: 1.25rem; font-family: var(--font-display); }
.kk-blog__item a { color: inherit; text-decoration: none; }
.kk-blog__item p { margin: 0; color: var(--muted); }

.kk-footer {
  margin-top: 2rem; padding: 2.5rem 1.25rem 1.5rem;
  background: #0b3d36; color: rgba(255,255,255,.82);
}
.kk-footer a { color: #fff; text-decoration: none; }
.kk-footer__grid {
  max-width: var(--max); margin: 0 auto 1.5rem;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 1.5rem;
}
.kk-footer h3 {
  margin: 0 0 .7rem; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55);
}
.kk-footer__grid > div { display: grid; gap: .45rem; align-content: start; }
.kk-footer__tag { margin: .7rem 0; max-width: 28ch; }
.kk-footer__meta, .kk-footer__note { font-size: .88rem; color: rgba(255,255,255,.6); }
.kk-footer__base {
  max-width: var(--max); margin: 0 auto; padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem;
}
.kk-logo--foot .kk-logo__text { color: #fff; }

@media (max-width: 920px) {
  .kk-hero, .kk-demo-canvas, .kk-demo-lab__stage, .kk-pipeline__stage,
  .kk-proof__grid, .kk-pricing__grid, .kk-footer__grid, .kk-contact__grid {
    grid-template-columns: 1fr;
  }
  .kk-hero { min-height: auto; padding-top: 1.25rem; }
  .kk-hero__visual { min-height: 360px; order: -1; }
  .kk-hero-card--a { width: 48%; }
  .kk-hero-card--b { width: 44%; }
  .kk-hero h1 { max-width: none; }
  .kk-brand-line { font-size: clamp(1.6rem, 8vw, 2.4rem); }
  .kk-nav__toggle { display: inline-block; }
  .kk-nav__links {
    display: none; width: 100%; flex-direction: column; align-items: stretch;
    padding: .5rem 0 1rem;
  }
  .kk-nav__inner { flex-wrap: wrap; }
  .kk-nav.is-open .kk-nav__links { display: flex; }
  .kk-pipeline__stage { grid-template-columns: 1fr 1fr; }
  .kk-cta-band { margin-left: 1rem; margin-right: 1rem; border-radius: 1.1rem; }
  body.kk-body { padding-bottom: 4.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .kk-scan, .kk-laser, .kk-hero-card { animation: none !important; }
}
