/* ==========================================================================
   Komunidad · site.css  (V3, "Two doors")
   One stylesheet for every page. Tokens first, then base, layout, components,
   page sections, modals, legal pages. No build step.
   ========================================================================== */

:root {
  --canvas: #f6f6f2;
  --surface: #ffffff;
  --tint: #eaf1ee;
  --ink: #0c2a30;
  --ink-2: #3f5559;
  --muted: #4a5f63;
  --muted-2: #5a6c70;
  --line: #e3e8e4;
  --line-2: #d3ddd8;
  --teal: #1d969e;
  --teal-btn: #157a81;
  --mint: #c9e9e2;
  --mint-ink: #8fd6d0;
  --navy: #0b1e2c;
  --navy-2: #13293a;
  --navy-line: #23415a;
  --navy-muted: #b7c8cf;
  --signal: #c9722a;
  --k1: #3fa6ad; --k2: #1f8a92; --k3: #156a71; --k4: #0c4a50;
  --o1: #557690; --o2: #35546c; --o3: #1d3a50; --o4: #0b1e2c;
  --display: "Geist", "Inter", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --r-sm: 12px; --r: 20px; --r-lg: 28px;
  --shadow: 0 16px 40px rgba(12, 42, 48, .08);
  --shadow-lg: 0 30px 60px rgba(12, 42, 48, .18), 0 2px 6px rgba(12, 42, 48, .06);
  --pad-x: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font-family: var(--display); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--teal-btn); }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--teal-btn); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; color: #fff; }
body.modal-lock { overflow: hidden; }

/* ---------- layout ---------- */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--pad-x); }
.wrap-wide { max-width: 1360px; margin: 0 auto; padding: 0 var(--pad-x); }
.section { padding: 88px 0; }
.section-sm { padding: 64px 0; }
.bg-white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bg-tint { background: var(--tint); }
.bg-navy { background: var(--navy); color: #fff; }
.center { text-align: center; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-btn); }
.bg-navy .eyebrow { color: var(--mint-ink); }
.h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.06; letter-spacing: -0.035em; }
.h2 { font-size: clamp(28px, 3.2vw, 36px); }
.lede { font-size: 19px; line-height: 1.55; color: var(--muted); }
.bg-navy .lede { color: var(--navy-muted); }
.sec-head { margin-bottom: 40px; display: flex; flex-direction: column; gap: 12px; }
.sec-head.center { align-items: center; }
.sec-head p { font-size: 17px; color: var(--muted); max-width: 640px; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 500; font-size: 15px; line-height: 1.2;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal-btn); color: #fff; }
.btn-primary:hover { background: #106a70; color: #fff; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: #cfdad5; }
.btn-ghost:hover { color: var(--ink); box-shadow: var(--shadow); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; background: #123940; }
.btn-mint { background: var(--mint); color: var(--navy); font-weight: 600; }
.btn-mint:hover { color: var(--navy); background: #b8e1d8; }
.btn-line-light { background: transparent; color: #fff; border-color: #3c5a60; }
.btn-line-light:hover { color: #fff; border-color: #8fd6d0; }
.btn-line-navy { background: transparent; color: #fff; border-color: var(--o2); }
.btn-line-navy:hover { color: #fff; border-color: var(--mint-ink); }
.btn-sm { padding: 11px 18px; font-size: 15px; }
.btn .ic { width: 16px; height: 16px; flex: 0 0 16px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 40; background: rgba(246, 246, 242, .86);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-head .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 84px; }
.brand { display: block; line-height: 0; }
.brand img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav a { text-decoration: none; }
.nav a[aria-current="page"] { font-weight: 600; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--teal); }
.nav .signin { background: none; border: 0; padding: 0; cursor: pointer; font-size: 15px; font-weight: 500; color: var(--ink); }
.nav .signin:hover { color: var(--teal-btn); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.drawer { display: none; border-top: 1px solid var(--line); padding: 12px var(--pad-x) 20px; }
.drawer a:not(.btn) { display: block; padding: 12px 0; font-size: 17px; text-decoration: none; border-bottom: 1px solid var(--line); }
.drawer .btns { margin-top: 16px; display: flex; gap: 10px; }
.drawer .btns .btn { flex: 1 1 0; justify-content: center; text-align: center; }
.site-head.open .drawer { display: block; }

/* ---------- footer ---------- */
.site-foot { background: var(--tint); padding: 56px 0 28px; font-size: 15px; }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 32px; }
.foot-cols nav { display: flex; flex-direction: column; gap: 10px; }
.foot-cols b { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.foot-cols a { text-decoration: none; }
.foot-brand { display: flex; flex-direction: column; gap: 12px; }
.foot-brand img { height: 44px; width: auto; align-self: flex-start; }
.foot-brand span { color: var(--muted); font-size: 14px; line-height: 1.5; max-width: 260px; }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }

/* ---------- home: hero + doors ---------- */
.home-hero { padding: 80px 0 48px; text-align: center; }
.home-hero h1 { max-width: 900px; margin: 0 auto; }
.home-hero .lede { max-width: 600px; margin: 20px auto 0; }
/* the home page hero and both product doors fit the first screen */
.home-hero.first { padding: clamp(28px, 4.5vh, 48px) 0 clamp(20px, 3.2vh, 32px); }
.home-hero.first h1 { font-size: clamp(34px, 3.7vw, 52px); max-width: 1000px; }
.home-hero.first .lede { font-size: 17px; margin-top: 14px; max-width: 640px; }
.doors { display: flex; flex-wrap: wrap; gap: 20px; }
.door { flex: 1 1 440px; min-width: 0; border-radius: var(--r-lg); padding: clamp(28px, 4vh, 40px) 44px; display: flex; flex-direction: column; gap: clamp(12px, 1.8vh, 16px); }
.door-k { background: var(--tint); }
.door-o { background: var(--navy); color: #fff; }
.door .logo { height: 32px; width: auto; align-self: flex-start; }
.door .who { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-btn); }
.door-o .who { color: var(--mint-ink); }
.door h2 { font-size: clamp(26px, 2.2vw, 32px); }
.door-o h2 { color: #fff; }
.door p { font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 520px; }
.door-o p { color: var(--navy-muted); }
.peek { border-radius: 16px; padding: 14px 18px; display: flex; flex-direction: column; gap: 9px; }
.door-k .peek { background: var(--surface); box-shadow: 0 8px 24px rgba(12, 42, 48, .06); }
.door-o .peek { background: var(--navy-2); border: 1px solid var(--navy-line); }
.peek-top { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.peek-top b { font-weight: 600; }
.peek-top span { font-family: var(--mono); }
.door-k .peek-top span { color: var(--teal-btn); }
.door-o .peek-top span { color: #f0a35e; }
.meter { height: 8px; border-radius: 99px; background: #e3ece8; overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 99px; background: var(--teal); }
.door-o .meter { background: var(--navy-line); }
.door-o .meter i { background: var(--signal); }
.peek-foot { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--muted); }
.door-o .peek-foot { color: var(--navy-muted); }

.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 48px; opacity: .8; }
.logos img { width: auto; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-row { display: flex; align-items: center; gap: 56px; padding-right: 56px; }
.marquee-row img { width: auto; max-width: none; opacity: .85; filter: saturate(.9); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { width: auto; animation: none; }
  .marquee-row { flex-wrap: wrap; justify-content: center; gap: 28px 40px; padding: 0 24px; }
  .marquee-row[aria-hidden] { display: none; }
}
.logos-note { text-align: center; font-size: 14px; color: var(--muted-2); margin-bottom: 44px; }

/* home: three steps (illustrated cards) */
.step-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }
.step-card .art { height: 220px; position: relative; display: flex; align-items: center; justify-content: center; }
.step-card .art.light { background: var(--tint); }
.step-card .art.dark { background: var(--ink); }
.step-card .num { position: absolute; top: 14px; left: 20px; font-size: 64px; font-weight: 600; letter-spacing: -0.04em; color: var(--mint); line-height: 1; }
.step-card .art.dark .num { color: #1d4a52; }
.step-card .body { padding: 24px 28px; display: flex; flex-direction: column; gap: 8px; }
.step-card h3 { font-size: 22px; }
.step-card p { font-size: 15px; line-height: 1.55; color: var(--muted); }

/* dark call-to-action band */
.band { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 48px 52px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.band.navy { background: var(--navy); }
.band h2 { font-size: 30px; color: #fff; }
.band p { margin-top: 10px; font-size: 17px; color: var(--navy-muted); }
.band > div:first-child { flex: 1 1 460px; }

/* ---------- product hero ---------- */
.p-hero { padding: 80px 0 64px; }
.p-hero.k { background: var(--tint); }
.p-hero.o { background: var(--navy); color: #fff; }
.p-hero .row { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.p-hero .copy { flex: 1 1 460px; display: flex; flex-direction: column; gap: 22px; }
.p-hero .copy .logo { height: 40px; width: auto; align-self: flex-start; }
.p-hero h1 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.06; letter-spacing: -0.035em; }
.p-hero.o h1 { color: #fff; }
.p-hero .copy p { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 520px; }
.p-hero.o .copy p { color: var(--navy-muted); }

/* browser frame around the published app cover */
.appframe { flex: 1 1 520px; min-width: 0; position: relative; padding-top: 14px; }
.appframe .live { position: absolute; top: 0; right: 24px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; background: var(--surface); color: var(--ink); font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px; box-shadow: 0 8px 20px rgba(12, 42, 48, .14); }
.p-hero.o .appframe .live { background: var(--mint); }
.appframe .live i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.frame-btn { cursor: pointer; display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-lg); text-align: left; transition: transform .25s ease, box-shadow .25s ease; }
.frame-btn:hover { transform: translateY(-3px); box-shadow: 0 40px 70px rgba(12, 42, 48, .22), 0 2px 6px rgba(12, 42, 48, .06); }
.p-hero.o .frame-btn { background: var(--navy-2); border-color: var(--navy-line); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.frame-bar { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.p-hero.o .frame-bar { border-color: var(--navy-line); }
.frame-dots { display: flex; gap: 6px; }
.frame-dots i { width: 10px; height: 10px; border-radius: 50%; background: #d5dcd8; }
.p-hero.o .frame-dots i { background: var(--o2); }
.frame-url { flex: 1; max-width: 300px; margin: 0 auto; text-align: center; background: #f2f5f3; color: var(--muted-2); font-family: var(--mono); font-size: 12px; padding: 5px 12px; border-radius: 8px; }
.p-hero.o .frame-url { background: var(--navy); color: #8fa6b4; }
.frame-spacer { width: 42px; }
.frame-shot { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--ink); }
.frame-shot img { width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.play b { width: 76px; height: 76px; border-radius: 50%; background: rgba(255, 255, 255, .95); box-shadow: 0 12px 30px rgba(0, 0, 0, .28), 0 0 0 10px rgba(255, 255, 255, .25); display: flex; align-items: center; justify-content: center; transition: transform .2s ease; }
.frame-btn:hover .play b { transform: scale(1.06); }
.play svg { width: 28px; height: 28px; fill: var(--teal-btn); margin-left: 3px; }
.p-hero.o .play svg { fill: var(--navy); }
.frame-label { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; background: rgba(12, 42, 48, .88); color: #fff; font-size: 13px; font-weight: 500; padding: 8px 14px; border-radius: 999px; }
.frame-label svg { width: 12px; height: 12px; fill: #fff; }

/* example build strip under the hero */
.build { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line-2); display: flex; flex-wrap: wrap; gap: 20px 48px; }
.p-hero.o .build { border-color: var(--navy-line); }
.build .intro { flex: 1 1 280px; display: flex; flex-direction: column; gap: 8px; }
.build .intro .eyebrow { font-size: 12px; }
.build .intro p { font-size: 17px; line-height: 1.5; color: var(--muted); }
.p-hero.o .build .intro p { color: var(--navy-muted); }
.build ul { flex: 2 1 560px; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 28px; }
.build li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.4; }
.p-hero.o .build li { color: #e9f1f3; }
.tick { flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--surface); display: flex; align-items: center; justify-content: center; }
.tick svg { width: 12px; height: 12px; stroke: var(--teal-btn); }
.p-hero.o .tick { background: var(--o3); }
.p-hero.o .tick svg { stroke: var(--mint-ink); }

/* cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-size: 22px; }
.card p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.tile b { font-size: 18px; font-weight: 600; }
.tile p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--muted); }

/* how it works: numbered line with a preview per step */
.how { position: relative; }
.how::before { content: ""; position: absolute; top: 15px; left: 15px; right: 15px; height: 2px; background: linear-gradient(90deg, var(--s1), var(--s2) 33%, var(--s3) 66%, var(--s4)); }
.how.k { --s1: var(--k1); --s2: var(--k2); --s3: var(--k3); --s4: var(--k4); }
.how.o { --s1: var(--o1); --s2: var(--o2); --s3: var(--o3); --s4: var(--o4); }
.how ol { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.how li { display: flex; flex-direction: column; gap: 18px; }
.how .dot { width: 32px; height: 32px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 14px; font-weight: 500; }
.how li:nth-child(1) .dot { background: var(--s1); }
.how.k li:nth-child(1) .dot { color: var(--ink); }
.how li:nth-child(2) .dot { background: var(--s2); }
.how li:nth-child(3) .dot { background: var(--s3); }
.how li:nth-child(4) .dot { background: var(--s4); }
.how .pv { height: 200px; border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; background: var(--canvas); border: 1px solid var(--line); overflow: hidden; }
.how .pv.dark { background: var(--ink); border-color: var(--ink); color: #e9f1f3; }
.how.o .pv { background: #f4f6f8; border-color: #e1e7ec; }
.how.o .pv.dark { background: var(--navy); border-color: var(--navy); }
.how h3 { font-size: 19px; }
.how li p { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.pv .row { display: flex; justify-content: space-between; gap: 10px; }
.pv .chip { background: var(--surface); border-radius: 999px; padding: 5px 9px; font-size: 12px; }
.pv .pill { background: var(--surface); border-radius: 10px; padding: 8px 10px; }
.pv .ok { margin-top: auto; align-self: flex-start; background: var(--mint); color: var(--ink); border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 600; }
.pv .muted { color: var(--navy-muted); }
.pv .tog { width: 30px; height: 16px; border-radius: 999px; background: var(--k3); }

/* ---------- pricing ---------- */
.seg { display: inline-flex; gap: 4px; background: #e3ebe7; padding: 5px; border-radius: 999px; }
.seg button { cursor: pointer; border: 0; background: transparent; color: var(--ink); font-size: 15px; font-weight: 500; padding: 11px 22px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; }
.seg button[aria-selected="true"] { background: var(--ink); color: #fff; }
.seg button img { width: 20px; height: 20px; object-fit: contain; }
.seg button .on-dark { display: none; }
.seg button[aria-selected="true"] .on-dark { display: block; }
.seg button[aria-selected="true"] .on-light { display: none; }
.seg.small { background: var(--surface); border: 1px solid var(--line); }
.seg.small button { font-size: 14px; padding: 10px 18px; }
.price-switches { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.plan.pop { border: 2px solid var(--ink); }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan h3 { font-size: 24px; }
.plan .tag { font-size: 12px; font-weight: 600; background: var(--mint); color: var(--ink); padding: 5px 10px; border-radius: 999px; }
.plan .who { font-size: 15px; color: var(--muted); }
.plan .price { margin-top: 8px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan .price b { font-size: 46px; font-weight: 600; letter-spacing: -0.03em; }
.plan .price span { font-size: 15px; color: var(--muted); }
.plan .price b.txt { font-size: 30px; line-height: 1.15; }
.plan ul { list-style: none; margin-top: 8px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: ""; flex: 0 0 16px; height: 16px; margin-top: 3px; background: no-repeat center/16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23157a81' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.plan .btn { margin-top: auto; white-space: nowrap; }
.plan-gap { height: 8px; }
.price-note { text-align: center; font-size: 15px; color: var(--muted); max-width: 720px; margin: 0 auto 28px; }

/* ---------- services ---------- */
.stat { font-size: 44px; font-weight: 600; letter-spacing: -0.03em; }
.bars { display: flex; flex-direction: column; gap: 22px; }
.bar-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.bar-row b { flex: 0 0 200px; font-weight: 600; }
.bar-row .track { flex: 1 1 400px; height: 40px; border-radius: 10px; background: #eef3f1; overflow: hidden; }
.bar-row .track i { display: block; height: 100%; border-radius: 10px; background: var(--teal); width: 0; transition: width 1.2s cubic-bezier(.2, .7, .2, 1); }
.bar-row.slow .track i { background: #9fb0b4; }
.bar-row span { flex: 0 0 170px; font-family: var(--mono); font-size: 15px; }
.bar-row.slow b, .bar-row.slow span { color: var(--muted); }
.step-tile { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.step-tile .eyebrow { font-size: 13px; }
.step-tile h3 { font-size: 21px; }
.step-tile p { font-size: 15px; line-height: 1.55; color: var(--muted); }

/* ---------- about ---------- */
.about-hero .row { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-end; }
.about-hero .row > div { flex: 1 1 560px; }
.about-hero .row > p { flex: 1 1 380px; font-size: 18px; line-height: 1.6; color: var(--muted); }
.story { display: flex; flex-wrap: wrap; gap: 56px; }
.story > div:first-child { flex: 1 1 520px; display: flex; flex-direction: column; gap: 18px; }
.story h2 { color: #fff; font-size: 34px; line-height: 1.15; }
.story p { font-size: 17px; line-height: 1.6; color: var(--navy-muted); }
.story-stats { flex: 1 1 360px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-content: center; }
.story-stats div { background: #13353c; border-radius: 18px; padding: 24px; }
.story-stats b { display: block; font-size: 40px; font-weight: 600; letter-spacing: -0.03em; }
.story-stats span { font-size: 14px; color: var(--navy-muted); }
.backers { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.backers h2 { font-size: 24px; }
.backers .logos { justify-content: flex-end; flex: 1 1 520px; opacity: 1; }

/* ---------- contact ---------- */
.contact-row { display: flex; flex-wrap: wrap; gap: 56px; }
.contact-side { flex: 1 1 340px; display: flex; flex-direction: column; gap: 28px; }
.contact-side .lbl { display: block; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; font-size: 15px; line-height: 1.55; }
.form-card { flex: 1 1 520px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 36px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; }
.field input, .field select, .field textarea { font-family: inherit; font-size: 16px; color: var(--ink); padding: 12px 14px; border: 1px solid #cfdad5; border-radius: 12px; background: var(--surface); width: 100%; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--teal-btn); outline-offset: 1px; border-color: transparent; }
.captcha-row { display: flex; gap: 8px; max-width: 260px; }
.captcha-new { flex: 0 0 46px; height: 46px; border-radius: 12px; border: 1px solid #cfdad5; background: var(--surface); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.form-note { font-size: 14px; color: var(--muted); }
.form-note.bad { color: #a3501b; }
.form-note.ok { color: var(--teal-btn); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-state { text-align: center; padding: 48px 16px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.form-state h2 { font-size: 26px; }
.form-state p { color: var(--muted); max-width: 420px; }
.spinner { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--tint); border-top-color: var(--teal-btn); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.check-big { width: 56px; height: 56px; border-radius: 50%; background: var(--mint); display: flex; align-items: center; justify-content: center; }
.check-big svg { width: 26px; height: 26px; stroke: var(--teal-btn); }

/* ---------- modals ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(12, 42, 48, .72); animation: fade .2s ease; }
.modal-panel { position: relative; width: 100%; max-width: 980px; max-height: calc(100vh - 48px); overflow: auto; background: var(--surface); border-radius: 24px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); animation: rise .25s cubic-bezier(.2, .7, .2, 1); }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(.985); } }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.modal-head h3 { font-size: 18px; letter-spacing: -0.02em; }
.modal-head .eyebrow { font-size: 12px; }
.modal-close { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.modal-close:hover { background: var(--canvas); }
.vstage { position: relative; aspect-ratio: 16 / 10; background: var(--ink); }
.vstage video { width: 100%; height: 100%; object-fit: cover; }
.vtimer { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .15); }
.vtimer i { display: block; height: 100%; width: 0; background: var(--mint); }
.modal-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; }
.modal-foot p { font-size: 16px; line-height: 1.5; color: var(--ink-2); max-width: 620px; }

#vmodal .modal-panel { max-width: 800px; }
#vmodal .modal-head { padding: 14px 20px; }
#vmodal .modal-foot { padding: 16px 20px; }
#vmodal .modal-foot p { font-size: 15px; max-width: 520px; }
.auth .modal-panel { max-width: 860px; }
.auth-head { padding: 32px 32px 8px; display: flex; flex-direction: column; gap: 8px; }
.auth-head h3 { font-size: 28px; }
.auth-head p { color: var(--muted); }
.auth .modal-close { position: absolute; top: 18px; right: 18px; }
.auth-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 24px 32px; }
.auth-card { text-decoration: none; border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; min-height: 220px; transition: transform .2s ease, box-shadow .2s ease; }
.auth-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.auth-card.k { background: var(--tint); color: var(--ink); }
.auth-card.o { background: var(--navy); color: #fff; }
.auth-card img { height: 30px; width: auto; align-self: flex-start; }
.auth-card p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.auth-card.o p { color: var(--navy-muted); }
.auth-card .go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.auth-card.k .go { color: var(--teal-btn); }
.auth-card.o .go { color: var(--mint-ink); }
.auth-card .live-dot { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; }
.auth-card .live-dot i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.auth-card.o .live-dot i { background: var(--mint-ink); }
.auth-foot { margin: 0 32px 32px; padding: 20px 22px; border-radius: 18px; background: var(--canvas); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.auth-foot > div { flex: 0 1 auto; }
@media (min-width: 760px) { .auth-foot p { white-space: nowrap; } }
.auth-foot b { font-size: 15px; }
.auth-foot p { font-size: 14px; color: var(--muted); }
.notify { display: flex; gap: 8px; flex: 1 1 260px; }
.notify input { flex: 1; min-width: 0; font-family: inherit; font-size: 15px; padding: 12px 14px; border: 1px solid #cfdad5; border-radius: 999px; background: var(--surface); }
.notify-note { flex: 1 1 100%; font-size: 14px; color: var(--muted); }
.notify-note.ok { color: var(--teal-btn); }
.notify-note.bad { color: #a3501b; }

/* ---------- legal pages ---------- */
.page-hero { padding: 72px 0 32px; }
.page-hero h1 { margin-top: 14px; }
.page-hero .lede { margin-top: 18px; max-width: 680px; }
.legal-date { margin-top: 14px; font-size: 14px; color: var(--muted); }
.legal-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.legal-toc nav, .legal-also { display: flex; flex-direction: column; gap: 8px; }
.legal-toc a { text-decoration: none; color: var(--muted); }
.legal-toc a:hover, .legal-also a.on { color: var(--ink); }
.legal-also { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.legal-also a.on { font-weight: 600; }
.legal { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 44px 48px; font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.legal section + section { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.legal h2 { font-size: 24px; color: var(--ink); margin-bottom: 14px; }
.legal h3 { font-size: 18px; color: var(--ink); margin: 22px 0 8px; }
.legal p + p, .legal p + ul, .legal ul + p { margin-top: 12px; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li + li { margin-top: 6px; }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--ink); font-weight: 600; }
.legal-note { margin-top: 14px; padding: 14px 18px; border-radius: 14px; background: var(--tint); color: var(--ink); }

/* ---------- 404 ---------- */
.nf { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; padding: 80px 0; }
.nf b { font-family: var(--mono); color: var(--teal-btn); letter-spacing: .08em; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .how ol { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .how::before { display: none; }
}
@media (max-width: 900px) {
  :root { --pad-x: 24px; }
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .section { padding: 64px 0; }
  .door { padding: 28px; }
  .band { padding: 36px 28px; }
  .legal-grid { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .legal { padding: 28px 24px; }
  .auth-split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .how ol { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
  .home-hero { padding: 56px 0 36px; }
  .p-hero { padding: 48px 0; }
  .logos { gap: 28px; }
  .logos img { transform: scale(.85); }
  .bar-row b, .bar-row span { flex: 1 1 100%; }
  .modal { padding: 12px; }
  .auth-head, .auth-split { padding-left: 20px; padding-right: 20px; }
  .auth-foot { margin: 0 20px 20px; }
  .seg button { padding: 10px 14px; font-size: 14px; }
}

/* ===== round 3 sections ===== */
/* Two ways, big numbers */
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.way { background: var(--tint); color: var(--ink); border-radius: var(--r-lg); padding: 44px; display: flex; flex-direction: column; gap: 16px; min-height: 380px; }
.ways.o .way { background: #e9eef3; }
.way.dark { background: var(--teal-btn); color: #fff; }
.ways.o .way.dark { background: var(--o3); }
.way-n { font-size: 120px; line-height: .8; font-weight: 600; letter-spacing: -0.06em; opacity: .25; }
.way.dark .way-n { opacity: .35; }
.way-best { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.way h3 { font-size: 30px; letter-spacing: -0.02em; }
.way p { font-size: 17px; line-height: 1.55; color: var(--muted); }
.way.dark p { color: rgba(255,255,255,.8); }
.way-tags { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.way-tags span { background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 500; }
.way.dark .way-tags span { background: rgba(255,255,255,.14); }

/* Example build as a story */
.xstory { margin-top: 56px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 52px 56px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; }
.p-hero.o .xstory { background: var(--navy-2); border-color: var(--navy-line); color: #fff; }
.xstory-quote { display: flex; flex-direction: column; gap: 24px; }
.xstory-quote .eyebrow { font-size: 12px; }
.qmark { width: 44px; height: 34px; fill: var(--k1); }
.p-hero.o .qmark { fill: var(--mint-ink); }
.p-hero .xstory-quote p { color: var(--ink); }
.p-hero.o .xstory-quote p { color: #fff; }
.xstory-quote p { font-size: 28px; line-height: 1.38; letter-spacing: -0.02em; font-weight: 500; }
.xstory-who { margin-top: auto; display: flex; align-items: center; gap: 14px; }
.p-hero .xstory-av { color: #fff; }
.xstory-av { width: 48px; height: 48px; border-radius: 14px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; flex: none; }
.p-hero.o .xstory-av { background: #fff; color: var(--navy); }
.xstory-who b { display: block; font-size: 16px; font-weight: 600; }
.xstory-who div span { font-size: 14px; color: var(--muted); }
.p-hero.o .xstory-who div span { color: var(--navy-muted); }
.xstory-side { display: flex; flex-direction: column; gap: 16px; }
.xstory-plan { background: var(--teal-btn); color: #fff; border-radius: 18px; padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.p-hero.o .xstory-plan { background: var(--mint-ink); color: var(--navy); }
.xstory-plan span { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.xstory-plan b { display: block; font-size: 22px; font-weight: 600; margin-top: 4px; }
.xstory-price { text-align: right; }
.xstory-price b { font-size: 26px; margin: 0; }
.xstory-price span { font-family: var(--display); font-size: 12px; letter-spacing: 0; text-transform: none; }
.xstory ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.xstory li { display: flex; align-items: center; gap: 12px; background: var(--tint); border-radius: 14px; padding: 14px 16px; font-size: 15px; line-height: 1.35; }
.p-hero.o .xstory li { background: rgba(143,214,208,.12); color: #e9f1f3; }
.xstory .tick { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--teal-btn); display: flex; align-items: center; justify-content: center; }
.xstory .tick svg { width: 14px; height: 14px; stroke: #fff; }
.p-hero.o .xstory .tick { background: var(--mint-ink); }
.p-hero.o .xstory .tick svg { stroke: var(--navy); }

/* Komplee agents as chat modes */
.agents { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.agent { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.agent-tabs { display: flex; gap: 4px; padding: 10px; background: var(--canvas); border-bottom: 1px solid var(--line); }
.agent-tabs span { flex: 1; text-align: center; border-radius: 8px; padding: 6px 0; font-size: 11px; font-weight: 600; color: #7d8f92; }
.agent-tabs span.on { background: #fff; color: var(--teal-btn); box-shadow: 0 1px 3px rgba(12,42,48,.12); }
.agent-chat { height: 210px; padding: 16px; display: flex; flex-direction: column; gap: 10px; justify-content: flex-end; }
.bub { align-self: flex-start; max-width: 90%; background: #f1f4f2; border-radius: 14px 14px 14px 4px; padding: 9px 12px; font-size: 13px; line-height: 1.4; }
.bub.me { align-self: flex-end; background: var(--teal-btn); color: #fff; border-radius: 14px 14px 4px 14px; }
.bub .flag { color: var(--signal); font-weight: 600; }
.bub-act { display: block; margin-top: 8px; background: #fff; border-radius: 8px; padding: 6px 8px; font-size: 12px; color: var(--teal-btn); font-weight: 600; }
.bub-btns { display: flex; gap: 6px; margin-top: 8px; }
.bub-btns i { font-style: normal; background: #fff; border-radius: 6px; padding: 4px 8px; font-size: 11px; }
.bub-btns i:first-child { background: var(--teal-btn); color: #fff; font-weight: 600; }
.file { display: inline-flex; gap: 6px; align-items: center; }
.file i { font-style: normal; background: #fff; color: var(--signal); border-radius: 4px; padding: 1px 4px; font-size: 9px; font-weight: 700; }
.mini-bars { margin-top: 8px; background: #fff; border-radius: 8px; padding: 8px; display: flex; align-items: flex-end; gap: 6px; height: 50px; }
.mini-bars i { flex: 1; border-radius: 3px; background: var(--teal-btn); }
.mini-bars i:nth-child(2) { background: var(--k1); }
.mini-bars i:nth-child(3) { background: var(--mint-ink); }
.agent-body { padding: 16px 20px 22px; border-top: 1px solid #eef1ef; }
.agent-body h3 { font-size: 19px; }
.agent-body p { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--muted); }

/* OpsCon parts assembled into an app */
.assemble { display: flex; gap: 64px; align-items: center; }
.asm-list { flex: 1; list-style: none; display: flex; flex-direction: column; gap: 28px; }
.asm-list li { display: flex; gap: 16px; align-items: flex-start; }
.asm-n { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--o3); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 14px; }
.asm-list li:nth-child(2) .asm-n { background: var(--o2); }
.asm-list li:nth-child(3) .asm-n { background: var(--o1); }
.asm-list li:nth-child(4) .asm-n { background: var(--signal); }
.asm-list h3 { font-size: 20px; }
.asm-list p { margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.asm-app { flex: 1.25; background: #fff; border: 1px solid #d6e1ea; border-radius: 22px; box-shadow: 0 24px 50px rgba(11,30,44,.10); overflow: hidden; }
.asm-bar { height: 40px; background: #f3f6f9; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px; padding: 0 16px; }
.asm-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d6e1ea; }
.asm-bar span { margin-left: 14px; background: #fff; border-radius: 999px; padding: 4px 12px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.asm-slots { padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.asm-slot { border: 1.5px dashed #9fb3c2; border-radius: 14px; background: #f3f6f9; display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.asm-slot svg { width: 60px; height: 36px; flex: none; }
.asm-slot b { display: block; font-size: 15px; font-weight: 600; }
.asm-slot span { display: block; margin-top: 3px; font-family: var(--mono); font-size: 11px; color: #2f8f5b; }
.asm-done { margin: 0 22px 22px; background: var(--navy); color: #fff; border-radius: 14px; padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }
.asm-done b { background: var(--mint-ink); color: var(--navy); border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 600; white-space: nowrap; }

/* Services: stat cards and scope cards */
.stat-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.stat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px; min-height: 260px; display: flex; flex-direction: column; gap: 14px; }
.stat-card .bar { width: 44px; height: 6px; border-radius: 3px; background: var(--teal-btn); }
.stat-card:nth-child(2) .bar { background: var(--k2); }
.stat-card b { margin-top: auto; font-size: 96px; line-height: 1; font-weight: 600; letter-spacing: -0.05em; color: var(--teal-btn); }
.stat-card:nth-child(2) b { color: var(--k2); }
.stat-card > span:last-child { font-size: 18px; line-height: 1.45; color: var(--muted); max-width: 280px; }
.stat-card.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.stat-card.dark .bar { background: var(--mint-ink); }
.stat-card.dark b { color: #fff; }
.stat-card.dark > span:last-child { color: var(--navy-muted); }
.scope-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.scope-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; padding: 36px 36px 40px; display: flex; flex-direction: column; gap: 16px; border-top: 8px solid var(--k1); }
.scope-card.s2 { border-top-color: var(--k2); }
.scope-card.s3 { border-top-color: var(--k4); }
.sc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sc-n { font-size: 72px; line-height: .9; font-weight: 600; letter-spacing: -0.05em; color: var(--k1); }
.s2 .sc-n { color: var(--k2); }
.s3 .sc-n { color: var(--k4); }
.sc-chip { background: var(--tint); color: var(--teal-btn); border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.scope-card .eyebrow { font-size: 12px; color: var(--muted); }
.scope-card h3 { font-size: 26px; letter-spacing: -0.02em; }
.scope-card p { font-size: 16px; line-height: 1.55; color: var(--muted); }

@media (max-width: 1080px) {
  .agents { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .assemble { flex-direction: column; align-items: stretch; gap: 40px; }
  .xstory { grid-template-columns: 1fr; gap: 36px; padding: 40px; }
  .stat-card b { font-size: 72px; }
}
@media (max-width: 900px) {
  .ways, .stat-cards, .scope-cards { grid-template-columns: 1fr; }
  .way { min-height: 0; padding: 32px; }
  .way-n { font-size: 88px; }
  .stat-card { min-height: 0; }
}
@media (max-width: 640px) {
  .p-hero .xstory-quote p { font-size: 22px; }
  .agents { grid-template-columns: 1fr; }
  .asm-slots { grid-template-columns: 1fr; }
  .xstory { padding: 28px 22px; }
  .xstory-quote p { font-size: 22px; }
  .xstory-plan { flex-wrap: wrap; }
  .xstory-price { text-align: left; }
}

.sec-head p.one-line { max-width: none; }
@media (min-width: 900px) { .sec-head p.one-line { white-space: nowrap; } }

/* About: founders and value cards */
.founders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.founder { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; align-items: flex-start; gap: 28px; }
.founder .bio { margin-top: 12px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.founder img { width: 140px; height: 140px; border-radius: 22px; object-fit: cover; flex: none; }
.founder h3 { font-size: 26px; letter-spacing: -0.02em; }
.founder span { display: block; margin-top: 4px; font-size: 16px; color: var(--muted); }
.li-link { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; background: var(--tint); color: var(--teal-btn); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 600; text-decoration: none; }
.li-link:hover { background: var(--mint); }
.li-link svg { width: 16px; height: 16px; fill: currentColor; }
.value-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.value-card { background: var(--surface); border: 1px solid var(--line); border-top: 8px solid var(--k1); border-radius: var(--r-lg); padding: 32px 28px 34px; display: flex; flex-direction: column; gap: 14px; }
.value-card.v2 { border-top-color: var(--k2); }
.value-card.v3 { border-top-color: var(--k3); }
.value-card.v4 { border-top-color: var(--k4); }
.vc-n { font-size: 56px; line-height: .9; font-weight: 600; letter-spacing: -0.05em; color: var(--k1); }
.v2 .vc-n { color: var(--k2); }
.v3 .vc-n { color: var(--k3); }
.v4 .vc-n { color: var(--k4); }
.value-card h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.02em; }
.value-card p { font-size: 15px; line-height: 1.55; color: var(--muted); }
@media (max-width: 1080px) { .value-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .founders, .value-cards { grid-template-columns: 1fr; } .founder { padding: 22px; gap: 20px; } .founder img { width: 104px; height: 104px; } }

/* Demo popup themed header and footer */
#vmodal .modal-head, #vmodal .modal-foot { transition: background .2s; }
#vmodal[data-theme="komplee"] .modal-head, #vmodal[data-theme="komplee"] .modal-foot { background: var(--teal-btn); color: #fff; border-color: transparent; }
#vmodal[data-theme="opscon"] .modal-head, #vmodal[data-theme="opscon"] .modal-foot { background: #46596b; color: #fff; border-color: transparent; }
#vmodal[data-theme] .modal-head h3 { color: #fff; }
#vmodal[data-theme] .modal-head .eyebrow { color: var(--mint-ink); }
#vmodal[data-theme] .modal-foot p { color: rgba(255,255,255,.86); }
#vmodal[data-theme] .modal-close { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); color: #fff; }
#vmodal[data-theme] .modal-close:hover { background: rgba(255,255,255,.22); }
#vmodal[data-theme] .modal-foot .btn-primary { background: var(--mint-ink); color: var(--navy); }
#vmodal[data-theme] .modal-foot .btn-primary:hover { background: #fff; }

/* Mobile home: both products and the client logos on the first screen */
@media (max-width: 640px) {
  .home-hero.first { padding: 18px 0 14px; }
  .home-hero.first h1 { font-size: 28px; line-height: 1.12; }
  .home-hero.first .lede { font-size: 14.5px; line-height: 1.5; margin-top: 10px; }
  .doors { gap: 12px; }
  .door { padding: 20px 20px; gap: 8px; border-radius: 22px; }
  .door .logo { height: 24px; }
  .door .who { font-size: 10.5px; letter-spacing: .06em; }
  .door h2 { font-size: 20px; line-height: 1.22; }
  .door p, .door .peek { display: none; }
  .door .btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
  .door .btns .btn { min-width: 0; width: 100%; justify-content: center; padding: 11px 8px; font-size: 13px; gap: 6px; white-space: nowrap; }
  .door .btns .btn svg { width: 13px; height: 13px; flex: none; }
  section[aria-label="Products"] + .section-sm { padding-top: 26px; }
  .logos-note { margin-bottom: 22px; font-size: 13px; padding: 0 20px; }
}

.vm-headline { display: flex; align-items: center; gap: 14px; min-width: 0; }
.vm-icon { flex: none; width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; }
.vm-icon img { width: 28px; height: 28px; object-fit: contain; }
.notify-note:empty { display: none; }

/* macOS window dots */
.frame-dots i:nth-child(1), .p-hero.o .frame-dots i:nth-child(1), .asm-bar i:nth-child(1) { background: #ff5f57; }
.frame-dots i:nth-child(2), .p-hero.o .frame-dots i:nth-child(2), .asm-bar i:nth-child(2) { background: #febc2e; }
.frame-dots i:nth-child(3), .p-hero.o .frame-dots i:nth-child(3), .asm-bar i:nth-child(3) { background: #28c840; }

/* Sign in / Start free popup fits a phone screen without scrolling */
@media (max-width: 640px) {
  .auth .modal-panel { overflow: hidden; }
  .auth-head { padding: 22px 20px 4px; gap: 4px; }
  .auth-head h3 { font-size: 22px; padding-right: 44px; }
  .auth-head p { font-size: 14px; }
  .auth-split { grid-template-columns: 1fr; gap: 10px; padding: 14px 20px; }
  .auth-card { min-height: 0; padding: 16px 18px; gap: 6px; border-radius: 16px; }
  .auth-card img { height: 22px; }
  .auth-card p { font-size: 13.5px; line-height: 1.4; }
  .auth-card .live-dot { display: none; }
  .auth-card .go { font-size: 14px; margin-top: 4px; }
  .auth-foot { margin: 0 20px 20px; padding: 14px 16px; gap: 10px; }
  .auth-foot h4, .auth-foot b { font-size: 15px; }
  .auth-foot p { font-size: 13px; }
  .auth .modal-close { top: 14px; right: 14px; }
  .auth-foot .notify { flex: 1 1 100%; min-width: 0; }
  .auth-foot .notify input { flex: 1 1 auto; min-width: 0; width: auto; }
  .auth-foot .notify .btn { flex: none; padding: 10px 16px; font-size: 14px; }
}

/* About: founders on a dark band */
.founders-sec { background: var(--navy); color: #fff; }
.founders-sec .sec-head { text-align: center; margin-left: auto; margin-right: auto; }
.founders-sec .h2 { color: #fff; }
.fb-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.fb { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 0 20px; }
.fb img { width: 168px; height: 168px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 6px rgba(143,214,208,.18), 0 0 0 7px rgba(143,214,208,.5); margin-bottom: 12px; }
.fb h3 { font-size: 28px; color: #fff; letter-spacing: -0.02em; }
.fb-r { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mint-ink); }
.fb p { font-size: 16px; line-height: 1.6; color: var(--navy-muted); max-width: 440px; }
.fb-li { margin-top: 6px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: #fff; transition: background .2s; }
.fb-li:hover { background: var(--mint-ink); color: var(--navy); }
.fb-li svg { width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 760px) { .fb-wrap { grid-template-columns: 1fr; gap: 48px; } .fb img { width: 140px; height: 140px; } }
.founders-sec { padding-top: 0; }
.founders-sec .wrap { border-top: 1px solid var(--navy-line); padding-top: 72px; }

/* Demo popup: no white edges, faint grid in header and footer */
#vmodal[data-theme="komplee"] .modal-panel { background: var(--teal-btn); }
#vmodal[data-theme="opscon"] .modal-panel { background: #46596b; }
#vmodal[data-theme] .modal-panel { border: 0; }
#vmodal[data-theme] .modal-head, #vmodal[data-theme] .modal-foot {
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: -1px -1px;
}

/* ---------- home: V2 split, app fading into each half ---------- */
.home-hero.first em { font-style: normal; }
.home-hero.first em.hk { color: var(--teal-btn); }
.home-hero.first em.ho { color: var(--o2); }
.door-bg { display: none; }
@media (min-width: 901px) {
  .doors.split { gap: 0; flex-wrap: nowrap; border-radius: 30px; overflow: hidden; box-shadow: 0 30px 60px rgba(12, 42, 48, .12); }
  .doors.split .door { position: relative; overflow: hidden; border-radius: 0; min-height: 470px; padding: 48px 52px 46px; }
  .doors.split .door > :not(.door-bg) { position: relative; z-index: 1; max-width: 310px; }
  .doors.split .peek { display: none; }
  .doors.split .btns { flex-wrap: wrap; }
  .doors.split .door-bg { display: block; position: absolute; left: max(58%, 330px); top: 20%; right: -40px; bottom: -40px; border-radius: 16px 0 0 0; background-repeat: no-repeat; box-shadow: 0 0 0 1px rgba(12, 42, 48, .08);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%); mask-image: linear-gradient(90deg, transparent, #000 22%); }
  .doors.split .door-k .door-bg { background-image: url(/assets/hero/komplee-hero.jpg?v=1); background-size: 900px auto; background-position: -371px -84px; }
  .doors.split .door-o .door-bg { background-image: url(/assets/hero/opscon-hero.jpg?v=1); background-size: 1440px auto; background-position: -504px -225px; opacity: .95; }
}
@media (min-width: 901px) and (max-width: 1200px) {
  .doors.split .door { padding: 40px 36px; }
  .doors.split .door > :not(.door-bg) { max-width: 280px; }
  .doors.split .door-bg { left: max(58%, 300px); }
}
@media (min-width: 901px) {
  .doors.split .door-k .door-bg { bottom: auto; height: 388px; background-position: -371px -89px; }
}
.home-hero.first .lede { max-width: 720px; }
@media (max-width: 760px) { .home-hero.first .lede br { display: none; } }

/* ---------- home: one screen, no scroll ---------- */
.page-home .site-foot { display: none; }
@media (min-width: 901px) {
  .page-home { min-height: 100vh; display: flex; flex-direction: column; }
  .page-home main { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: clamp(20px, 3.5vh, 40px) 0; }
  .page-home .home-hero.first { padding: 0 0 clamp(18px, 3vh, 30px); }
  .page-home .home-hero.first h1 { font-size: clamp(32px, 3.1vw, 46px); max-width: none; white-space: nowrap; }
  .page-home .home-hero.first .lede { font-size: 16px; margin-top: 10px; max-width: none; white-space: nowrap; }
  .page-home .doors.split .door { min-height: clamp(380px, calc(100vh - 420px), 600px); justify-content: center; padding: clamp(26px, 4vh, 40px) 48px; gap: clamp(8px, 1.4vh, 14px); }
  .page-home .doors.split .door h2 { font-size: clamp(24px, 2vw, 30px); }
  .page-home .doors.split .door p { font-size: 15px; }
  .page-home .doors.split .btns { gap: 8px; margin-top: clamp(10px, 2vh, 20px); }
  .page-home .doors.split .btns .btn { padding: 10px 18px; font-size: 14px; }
  .page-home .doors.split .door-o .door-bg { top: max(60px, calc(50% - 140px)); bottom: -40px; }
  .page-home .doors.split .door-k .door-bg { top: max(60px, calc(50% - 160px)); bottom: auto; height: 388px; }
  .page-home section[aria-label="Clients"] { padding: clamp(20px, 3.4vh, 36px) 0 0; }
  .page-home section[aria-label="Clients"] .logos-note { margin-bottom: 12px; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .page-home .home-hero.first h1, .page-home .home-hero.first .lede { white-space: normal; }
}
@media (max-width: 640px) {
  .door .btns .btn { font-size: 12.5px; padding: 11px 6px; overflow: hidden; }
}

/* Mobile home: one screen, no scroll */
@media (max-width: 640px) {
  .site-head .bar { height: 66px; }
  .brand img { height: 44px; }
  .page-home { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
  .page-home main { flex: 1; display: flex; flex-direction: column; justify-content: space-evenly; padding: clamp(6px, 1.5vh, 14px) 0; }
  .page-home .home-hero.first { padding: 0 0 clamp(10px, 1.8vh, 16px); }
  .page-home .home-hero.first h1 { font-size: clamp(22px, 3.3vh, 28px); line-height: 1.1; }
  .page-home .home-hero.first .lede { font-size: clamp(12.5px, 1.75vh, 14.5px); line-height: 1.45; margin-top: 8px; }
  .page-home .doors { gap: clamp(8px, 1.4vh, 12px); }
  .page-home .door { padding: clamp(14px, 2.2vh, 20px) 18px; gap: clamp(5px, .9vh, 8px); }
  .page-home .door .logo { height: clamp(20px, 2.8vh, 24px); }
  .page-home .door h2 { font-size: clamp(17px, 2.4vh, 20px); }
  .page-home .door .btns { margin-top: clamp(4px, 1vh, 8px); }
  .page-home .door .btns .btn { padding: clamp(8px, 1.2vh, 11px) 6px; }
  .page-home section[aria-label="Clients"] { padding: clamp(12px, 2.2vh, 22px) 0 0 !important; }
  .page-home .logos-note { margin-bottom: clamp(8px, 1.6vh, 16px); font-size: 12px; }
  .page-home .marquee-row img { transform: scale(.8); }
}
@media (max-width: 380px) {
  .door .btns .btn { font-size: 11.5px !important; gap: 4px; padding-left: 4px !important; padding-right: 4px !important; }
  .door .btns .btn svg { width: 11px; height: 11px; }
}

/* Sign-in popup: proper buttons */
.auth-card .go { align-self: stretch; justify-content: space-between; padding: 13px 18px 13px 22px; border-radius: 999px; font-size: 15px; transition: background .2s ease, box-shadow .2s ease; }
.auth-card.k .go { background: var(--teal-btn); color: #fff; box-shadow: 0 8px 18px rgba(22, 108, 112, .22); }
.auth-card.o .go { background: var(--mint); color: var(--navy); box-shadow: 0 8px 18px rgba(0, 0, 0, .28); }
.auth-card .go svg { width: 28px; height: 28px; padding: 7px; border-radius: 50%; flex: none; transition: transform .2s ease; }
.auth-card.k .go svg { background: rgba(255, 255, 255, .18); }
.auth-card.o .go svg { background: rgba(12, 42, 48, .1); }
.auth-card:hover .go svg { transform: translateX(4px); }
.auth-card.k:hover .go { background: var(--teal); }
.auth-card.o:hover .go { background: #fff; }
@media (max-width: 640px) {
  .auth-card .go { padding: 10px 12px 10px 18px; font-size: 14px; margin-top: 8px; }
  .auth-card .go svg { width: 24px; height: 24px; padding: 6px; }
}

/* Demo popup: first frame shown underneath, video appears once it plays (no cover, no black flash) */
.vstage { background-color: transparent; background-size: cover; background-position: center; background-repeat: no-repeat; }
#vmodal[data-theme="komplee"] .vstage { background-color: #eef3f2; }
#vmodal[data-theme="opscon"] .vstage { background-color: #1b2f3e; }
.vstage video { opacity: 0; }
.vstage video.is-playing { opacity: 1; }
.no-js .vstage video, .vstage video[controls] { opacity: 1; }

/* no double-tap zoom on buttons and links */
html { touch-action: manipulation; }
button, a, .btn { touch-action: manipulation; }
