/* ==========================================================================
   Lekko — company site v2 (сайт-визитка)
   Palette & type: правки §2–3. Dark / light sections, glow, device mockups.
   Breakpoints: desktop ≥ 1024 · tablet 768–1023 · mobile ≤ 767.
   ========================================================================== */

:root {
  /* Palette */
  --ink: #0B0D0C;
  --ink-2: #151917;
  --paper: #FBFBFD;
  --surface: #F2F4F3;
  --text: #1D1D1F;
  --text-muted: #6E6E73;
  --text-on-dark: #F5F5F7;
  --muted-on-dark: #A1A1A6;
  --emerald: #0FA37F;
  --emerald-deep: #0A6B55;
  --mint: #5EEAD4;
  --gradient: linear-gradient(135deg, #5EEAD4 0%, #0FA37F 50%, #0A6B55 100%);
  --gradient-light: linear-gradient(135deg, #0FA37F 0%, #0A6B55 100%);   /* same hues without mint: readable on paper */
  --glow: radial-gradient(closest-side, rgba(15, 163, 127, .35), rgba(15, 163, 127, 0));
  --glow-mint: radial-gradient(closest-side, rgba(94, 234, 212, .22), rgba(94, 234, 212, 0));
  --line-dark: rgba(255, 255, 255, .08);
  --line-light: rgba(0, 0, 0, .08);

  /* Type — SF Pro on Apple devices, Inter elsewhere */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-h1: clamp(44px, 6.112vw, 88px);
  --fs-display: clamp(44px, 6.667vw, 96px);
  --fs-h2: clamp(34px, 3.889vw, 56px);
  --fs-h3: clamp(24px, 2.223vw, 32px);
  --fs-num: clamp(40px, 5.556vw, 80px);
  --fs-lead: clamp(19px, 1.459vw, 21px);

  /* Space & shape */
  --gutter: 24px;
  --pad: clamp(96px, 10vw, 144px);
  --nav-h: 88px;   /* floating capsule: 16 + 56 + 16 */
  --r-card: 28px;
  --r-pill: 980px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
.lk { font-family: var(--font); font-size: 17px; line-height: 1.47; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
.lk *, .lk *::before, .lk *::after { box-sizing: border-box; }
.lk :where(h1, h2, h3, h4, p, ul, ol, li, figure, table) { margin: 0; padding: 0; }
.lk :where(ul, ol) { list-style: none; }
.lk a { color: inherit; text-decoration: none; }
.lk img { display: block; max-width: 100%; }
.lk button { font: inherit; color: inherit; }
.lk :where(a, button):focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.sec--light :where(a, button):focus-visible { outline-color: var(--emerald-deep); }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ic { display: block; width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: 1248px; margin-inline: auto; padding-inline: var(--gutter); }
.sec { position: relative; isolation: isolate; padding-block: var(--pad); scroll-margin-top: var(--nav-h); }
.sec--dark { background: var(--ink); color: var(--text-on-dark); }
.sec--light { background: var(--paper); color: var(--text); }
.fx { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; background: var(--glow); transform: translate(-50%, -50%); }
.glow--mint { background: var(--glow-mint); }
.sec-head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 64px; }
.sec-head--c { align-items: center; text-align: center; }

/* ---------- Type ---------- */
.h1 { font-size: var(--fs-h1); line-height: 1.045; font-weight: 700; letter-spacing: -.03em; }
.display { font-size: var(--fs-display); line-height: 1.04; font-weight: 700; letter-spacing: -.035em; }
.h2 { font-size: var(--fs-h2); line-height: 1.07; font-weight: 700; letter-spacing: -.03em; text-wrap: balance; }
.h3 { font-size: var(--fs-h3); line-height: 1.125; font-weight: 700; letter-spacing: -.02em; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--text-muted); text-wrap: pretty; }
.cap { font-size: 14px; line-height: 20px; color: var(--text-muted); }
.eyebrow { font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.sec--dark .lead, .sec--dark .cap, .sec--dark .eyebrow { color: var(--muted-on-dark); }
.grad { color: var(--mint); background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sec--light .grad { color: var(--emerald-deep); background-image: var(--gradient-light); }

/* ---------- Buttons & pills ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 28px; border: 0; border-radius: var(--r-pill); font-family: var(--font); font-size: 17px; line-height: 1; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; cursor: pointer; transition: background-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.btn .ic { width: 20px; height: 20px; }
.btn-primary { background: var(--emerald); color: #FFFFFF; }
.btn-primary:hover, .btn-primary.is-hover { background: var(--emerald-deep); }
.btn-ghost { background: transparent; color: var(--text-on-dark); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.btn-ghost:hover, .btn-ghost.is-hover { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); }
.btn:active, .btn.is-active { transform: scale(.98); }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: var(--r-pill); font-size: 13px; line-height: 1; font-weight: 600; letter-spacing: .01em; white-space: nowrap; }
.pill--mint { background: rgba(94, 234, 212, .1); color: var(--mint); box-shadow: inset 0 0 0 1px rgba(94, 234, 212, .3); }

/* ---------- Nav: floating glass capsule ---------- */
@property --nav-a { syntax: "<angle>"; inherits: false; initial-value: 300deg; }
.nav { position: fixed; top: 16px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding: 0 var(--gutter); color: var(--text-on-dark); pointer-events: none; }
.nav-bar { position: relative; display: flex; align-items: center; gap: 8px; width: 100%; max-width: 780px; height: 56px; padding: 0 8px 0 24px; border-radius: var(--r-pill); background: rgba(16, 20, 18, .62); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 20px 50px -20px rgba(0, 0, 0, .75); pointer-events: auto; }
.nav-bar::before { content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit; background: conic-gradient(from var(--nav-a), rgba(94, 234, 212, 0) 0deg, rgba(94, 234, 212, .9) 36deg, rgba(94, 234, 212, 0) 90deg, rgba(94, 234, 212, 0) 360deg); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }   /* a light travelling along the rim */
.nav-logo { display: flex; align-items: center; flex: none; }
.nav-logo img { height: 20px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav-link { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: var(--r-pill); font-size: 14px; line-height: 20px; font-weight: 500; color: var(--muted-on-dark); transition: color .2s var(--ease), background-color .2s var(--ease); }
.nav-link:hover, .nav-link.is-hover { color: var(--text-on-dark); background: rgba(255, 255, 255, .08); }
.nav-cta { display: inline-flex; flex: none; align-items: center; gap: 6px; height: 40px; padding: 0 14px 0 18px; border-radius: var(--r-pill); background: linear-gradient(135deg, #5EEAD4 0%, #0FA37F 100%); color: #052A21; font-size: 14px; line-height: 1; font-weight: 600; box-shadow: 0 8px 24px -10px rgba(94, 234, 212, .8); transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.nav-cta .ic { width: 16px; height: 16px; stroke-width: 2; transition: transform .25s var(--ease); }
.nav-cta:hover, .nav-cta.is-hover { box-shadow: 0 10px 30px -8px rgba(94, 234, 212, 1); }
.nav-cta:hover .ic, .nav-cta.is-hover .ic { transform: translateX(2px); }
.nav-cta:active { transform: scale(.97); }
.nav-burger { display: none; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .06); color: var(--text-on-dark); cursor: pointer; }
.nav-panel { position: fixed; top: 80px; left: var(--gutter); right: var(--gutter); z-index: 49; display: flex; flex-direction: column; padding: 6px 22px; border-radius: 28px; color: var(--text-on-dark); background: rgba(16, 20, 18, .94); -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 60px -20px rgba(0, 0, 0, .8); }
.nav-panel-link { display: flex; align-items: center; justify-content: space-between; height: 64px; border-bottom: 1px solid var(--line-dark); font-size: 24px; line-height: 1; font-weight: 600; letter-spacing: -.02em; }
.nav-panel-link:last-child { border-bottom: 0; }
.nav-panel-link .ic { width: 20px; height: 20px; color: var(--mint); }
@media (max-width: 1023px) {
  .nav-links { display: none; }
  .nav-bar { max-width: none; padding-left: 20px; }
  .nav-cta { margin-left: auto; }
  .nav-burger { display: inline-flex; }
}
@media (max-width: 767px) {
  :root { --nav-h: 76px; }
  .nav { top: 12px; }
  .nav-bar { height: 52px; padding: 0 6px 0 18px; }
  .nav-cta { height: 38px; padding: 0 12px 0 14px; }
  .nav-panel { top: 72px; }
}
@media (min-width: 1024px) { .nav-panel { display: none; } }

/* ---------- Hero ---------- */
.hero { min-height: min(100vh, 1000px); padding-top: calc(var(--nav-h) + 56px); padding-bottom: 88px; overflow: hidden; }
.hero-grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .10) 1px, transparent 1.5px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(ellipse 72% 58% at 50% 34%, #000 25%, transparent 78%); mask-image: radial-gradient(ellipse 72% 58% at 50% 34%, #000 25%, transparent 78%); }   /* fine dot grid, fading out */
.hero-copy { position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.hero-copy .lead { max-width: 760px; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 8px; }
.grad--shine { background-image: linear-gradient(110deg, #0A6B55 0%, #0FA37F 22%, #5EEAD4 42%, #E6FFFA 50%, #5EEAD4 58%, #0FA37F 78%, #0A6B55 100%); background-size: 250% 100%; background-position: 100% 50%; }
/* Stage — MacBook + iPhone standing on an orbit: supplier · pharmacy · customer */
.hero-stage { position: relative; width: 100%; max-width: 1080px; aspect-ratio: 1080 / 640; margin: 56px auto 0; }
.hero-mb { position: absolute; left: 6%; bottom: 24%; width: 74%; transform: perspective(2600px) rotateX(4deg) rotateY(-7deg); transform-origin: 50% 60%; }
.hero-ip { position: absolute; right: 5%; bottom: 24%; z-index: 2; width: 18%; transform: perspective(1600px) rotateY(-12deg) rotateZ(2deg); }
.hero-floor { position: absolute; left: 12%; right: 12%; bottom: 20%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .75), rgba(0, 0, 0, 0)); filter: blur(14px); }
.orbit { position: absolute; inset: 0; }
.orbit-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit-svg ellipse { fill: none; vector-effect: non-scaling-stroke; }
.orbit-ring { stroke: rgba(94, 234, 212, .32); stroke-width: 1; }
.orbit-pulse { stroke: #E6FFFA; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 36 964; filter: drop-shadow(0 0 4px #5EEAD4); }
.orbit-node { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 15px; transform: translate(-50%, -50%); border-radius: var(--r-pill); background: #101412; box-shadow: inset 0 0 0 1px rgba(94, 234, 212, .3), 0 10px 30px -12px rgba(94, 234, 212, .35); color: var(--text-on-dark); font-size: 13px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.orbit-node::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.orbit-node--a { left: 10%; top: 86%; }
.orbit-node--b { left: 50%; top: 95%; }
.orbit-node--c { left: 90%; top: 86%; }
@media (max-width: 767px) {
  .hero { padding-top: calc(var(--nav-h) + 32px); padding-bottom: 64px; }
  .hero-copy { gap: 20px; }
  .hero-cta { flex-direction: column; align-self: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-stage { aspect-ratio: 342 / 300; margin-top: 44px; }
  .hero-mb { left: 2%; width: 80%; bottom: 26%; }
  .hero-ip { right: 0; width: 24%; bottom: 26%; }
  .hero-floor { bottom: 22%; }
  .orbit-node { height: 26px; padding: 0 10px; gap: 6px; font-size: 11px; }
}

/* ---------- Devices ---------- */
.mb { position: relative; width: 100%; }
.mb-lid { position: relative; margin: 0 6%; padding: 1.4% 1.4% 2.1%; border-radius: 2.6% 2.6% 0 0 / 4.2% 4.2% 0 0; background: linear-gradient(180deg, #1C201E 0%, #0E1110 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 1px 0 rgba(255, 255, 255, .2); }
.mb-screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; background: var(--paper); container-type: inline-size; }
.mb-notch { position: absolute; top: 0; left: 50%; z-index: 3; width: 11%; height: 3.4%; transform: translateX(-50%); border-radius: 0 0 6px 6px; background: #0E1110; }
.mb-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }   /* real screenshot, 16:10 */
.mb-base { position: relative; height: 0; padding-bottom: 2.6%; border-radius: 0 0 14px 14px / 0 0 60% 60%; background: linear-gradient(180deg, #4A504D 0%, #262B29 16%, #151917 55%, #0B0D0C 100%); box-shadow: 0 34px 60px -14px rgba(0, 0, 0, .7); }
.mb-base::before { content: ""; position: absolute; top: 0; left: 50%; width: 15%; height: 42%; transform: translateX(-50%); border-radius: 0 0 10px 10px; background: #0B0D0C; }
.ip { position: relative; width: 100%; aspect-ratio: 9 / 19.4; padding: 3.4%; border-radius: 16% / 7.4%; background: linear-gradient(145deg, #555B58 0%, #1B1F1D 36%, #2E3331 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 40px 80px -20px rgba(0, 0, 0, .7); }
.ip-screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 13% / 6%; background: var(--paper); container-type: inline-size; }
.ip-island { position: absolute; top: 1.9%; left: 50%; z-index: 3; width: 31%; height: 3.5%; transform: translateX(-50%); border-radius: 999px; background: #000000; }
.ip-screen--shot { background: #F4F4F6; }   /* status-bar strip above the screenshot */
.ip-shot { position: absolute; left: 0; top: 6%; width: 100%; height: auto; }

/* ---------- Numbers ---------- */
.nums { padding-top: 120px; padding-bottom: 48px; }
.nums-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.nums-item { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.num { font-size: var(--fs-num); line-height: 1; font-weight: 700; letter-spacing: -.035em; white-space: nowrap; }
.num-unit { margin-left: .12em; font-size: .4em; letter-spacing: -.01em; }
.nums-item .cap { font-size: 17px; line-height: 24px; }
@media (max-width: 1023px) { .nums-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; } }
@media (max-width: 767px) { .nums { padding-top: 88px; padding-bottom: 32px; } .nums-row { gap: 40px 16px; } .nums-item .cap { font-size: 15px; line-height: 21px; } }

/* ---------- About ---------- */
.about { padding-top: 96px; }
.about-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px 64px; align-items: end; margin-bottom: 64px; }
.about-head .eyebrow { grid-column: 1 / -1; }
.about-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.fcard { display: flex; flex-direction: column; gap: 20px; padding: 40px; border-radius: var(--r-card); background: var(--surface); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.fcard:hover, .fcard.is-hover { transform: translateY(-4px); box-shadow: 0 28px 56px -28px rgba(11, 13, 12, .22); }
.fcard-ic { flex: none; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; background: #FFFFFF; color: var(--emerald); box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.fcard-ic .ic { width: 26px; height: 26px; }
.fcard-p { font-size: 21px; line-height: 1.38; font-weight: 600; letter-spacing: -.01em; color: var(--text-muted); text-wrap: pretty; }
.fcard-p b { font-weight: 600; color: var(--text); }
@media (max-width: 1023px) {
  .about-head { grid-template-columns: 1fr; }
  .about-cards { grid-template-columns: 1fr; gap: 16px; }
  .fcard { flex-direction: row; align-items: flex-start; padding: 28px; }
}
@media (max-width: 767px) { .about { padding-top: 72px; } .fcard { padding: 24px; gap: 16px; } .fcard-p { font-size: 19px; } }

/* ---------- Products (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.tile { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 560px; overflow: hidden; border-radius: var(--r-card); background: rgba(21, 25, 23, .72); -webkit-backdrop-filter: blur(24px) saturate(140%); backdrop-filter: blur(24px) saturate(140%); box-shadow: inset 0 0 0 1px var(--line-dark); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.tile:hover, .tile.is-hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 40px 90px -50px rgba(15, 163, 127, .55); }
.tile-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; max-width: 640px; padding: 40px 40px 0; }
.tile-name { font-size: var(--fs-h3); line-height: 1.125; font-weight: 700; letter-spacing: -.02em; color: var(--text-on-dark); }
.tile-p { font-size: 21px; line-height: 1.38; font-weight: 600; letter-spacing: -.01em; color: var(--muted-on-dark); text-wrap: pretty; }
.tile-p b { font-weight: 600; color: var(--text-on-dark); }
.tile-art { position: relative; z-index: 1; margin: auto 40px 40px; padding-top: 32px; }   /* product shot, whole, on the tile's padding lines */
.tile-glow { position: absolute; z-index: 0; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; }
/* One mockup for every product: browser window, screenshot 16:10 */
.win { position: relative; overflow: hidden; border-radius: 14px; background: #FFFFFF; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 36px 70px -32px rgba(0, 0, 0, .85); }
.win-bar { display: flex; align-items: center; height: 28px; padding: 0 14px; background: #F2F3F5; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .07); }
.win-bar::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #D3D6DB; box-shadow: 15px 0 0 #D3D6DB, 30px 0 0 #D3D6DB; }
.win img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 0; }
/* Lekko for customers: the phone stands in front of the window's corner */
.duo .ip { position: absolute; z-index: 2; right: -16px; bottom: -20px; width: 24%; }
.tile-badge { position: absolute; z-index: 3; top: 40px; right: 40px; }
@media (max-width: 1023px) {
  .bento { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .bento { gap: 16px; }
  .tile { min-height: 0; }
  .tile-copy { padding: 28px 28px 0; }
  .tile-p { font-size: 19px; }
  .tile-art { margin: auto 20px 24px; padding-top: 24px; }
  .win { border-radius: 9px; }
  .win-bar { height: 18px; padding: 0 9px; }
  .win-bar::before { width: 6px; height: 6px; box-shadow: 10px 0 0 #D3D6DB, 20px 0 0 #D3D6DB; }
  .duo .ip { right: -8px; bottom: -12px; }
  .tile-badge { position: relative; top: auto; right: auto; align-self: flex-start; margin: 28px 0 0 28px; }
  .tile-badge + .tile-copy { padding-top: 14px; }
}

/* ---------- Integrations ---------- */
.integrations .h2 { max-width: 820px; margin: 0 auto 64px; text-align: center; }
.logo-group { display: flex; flex-direction: column; gap: 16px; }
.logo-group + .logo-group { margin-top: 40px; }
.logo-k { text-align: center; }
.logo-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.logo { display: flex; align-items: center; justify-content: center; gap: 8px; height: 96px; padding: 0 16px; border-radius: 22px; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line-light); color: var(--text-muted); transition: color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.logo:hover, .logo.is-hover { color: var(--text); transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line-light), 0 18px 36px -24px rgba(11, 13, 12, .3); }
.logo img { width: auto; height: auto; max-height: 26px; max-width: 100%; filter: grayscale(1); opacity: .55; transition: filter .25s var(--ease), opacity .25s var(--ease); }
.logo img.logo-icon { max-height: 26px; border-radius: 7px; }
.logo:hover img, .logo.is-hover img { filter: none; opacity: 1; }
.logo-word { font-size: 20px; line-height: 1; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
/* Partners: logo + status (Liki is the official partner, the rest are in talks) */
.logo--partner { flex-direction: column; gap: 12px; height: 120px; }
.logo-mark { display: flex; align-items: center; justify-content: center; gap: 8px; height: 28px; }
.logo-status { display: inline-flex; align-items: center; height: 22px; padding: 0 10px; border-radius: 11px; background: var(--surface); color: var(--text-muted); font-size: 11px; line-height: 1; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.logo-status.is-official { background: rgba(15, 163, 127, .12); color: var(--emerald-deep); }
.logo--official { color: var(--text); box-shadow: inset 0 0 0 1.5px rgba(15, 163, 127, .45); }
.logo--official:hover, .logo--official.is-hover { box-shadow: inset 0 0 0 1.5px rgba(15, 163, 127, .65), 0 18px 36px -24px rgba(11, 13, 12, .3); }
@media (max-width: 1023px) { .logo-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .logo-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .logo { height: 80px; } .logo--partner { height: 104px; } .logo-word { font-size: 18px; } }

/* ---------- Vision ---------- */
.vision { padding-block: clamp(120px, 11.7vw, 168px); text-align: center; }
.vision .display { max-width: 1100px; margin-inline: auto; }
.route { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 960px; margin: 88px auto 0; }
.route::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 9px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--mint) 0%, var(--emerald) 55%, rgba(15, 163, 127, .3) 100%); }
.route-pulse { position: absolute; left: 12.5%; top: 4px; width: 64px; height: 12px; border-radius: 6px; background: radial-gradient(closest-side, rgba(94, 234, 212, .95), rgba(94, 234, 212, 0)); pointer-events: none; }
.route-stop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.route-dot { width: 20px; height: 20px; border-radius: 50%; background: var(--ink); box-shadow: inset 0 0 0 2px var(--emerald), 0 0 18px rgba(15, 163, 127, .65); }
.route-stop.is-now .route-dot { background: var(--mint); box-shadow: 0 0 0 6px rgba(94, 234, 212, .16), 0 0 30px rgba(94, 234, 212, .85); }
.route-name { font-size: 21px; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; color: var(--text-on-dark); }
.vision-cap { margin-top: 56px; }
@media (max-width: 767px) { .route { margin-top: 64px; } .route-name { font-size: 15px; } .route-dot { width: 16px; height: 16px; } .route::before { top: 7px; } .route-pulse { top: 2px; } }

/* ---------- Team ---------- */
.team-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.person { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.person-photo { margin-bottom: 16px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-card); background: var(--surface); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06); transition: filter .5s var(--ease), transform .7s var(--ease); }
.person:hover .person-photo img, .person.is-hover .person-photo img { filter: grayscale(0) contrast(1); transform: scale(1.035); }
.person-name { font-size: 19px; line-height: 1.26; font-weight: 700; letter-spacing: -.015em; }
.person-role { font-size: 15px; line-height: 1.4; font-weight: 500; }
.person-bio { margin-top: 4px; font-size: 15px; line-height: 1.47; color: var(--text-muted); }
.team-note { margin-top: 40px; }
@media (max-width: 1023px) {
  .team-row { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .team-row::-webkit-scrollbar { display: none; }
  .person { flex: 0 0 248px; scroll-snap-align: start; }
}

/* ---------- Contact ---------- */
.contact { padding-bottom: 120px; }
.contact-head { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-bottom: 64px; text-align: center; }
.contact-head .lead { max-width: 640px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: stretch; }
.glass { border-radius: var(--r-card); background: rgba(21, 25, 23, .6); -webkit-backdrop-filter: blur(24px) saturate(140%); backdrop-filter: blur(24px) saturate(140%); box-shadow: inset 0 0 0 1px var(--line-dark); }
.founder { position: relative; display: flex; flex-direction: column; gap: 32px; padding: 40px; }
.founder::before { content: ""; position: absolute; top: 0; left: 32px; right: 32px; height: 1px; background: linear-gradient(90deg, rgba(94, 234, 212, 0), rgba(94, 234, 212, .6), rgba(94, 234, 212, 0)); }   /* light catching the top edge */
.founder-id { display: flex; align-items: center; gap: 22px; }
.founder-photo { flex: none; width: 96px; height: 96px; padding: 3px; border-radius: 50%; background: conic-gradient(from 210deg, #5EEAD4, #0FA37F, #0A6B55, #5EEAD4); box-shadow: 0 14px 40px -14px rgba(94, 234, 212, .55); }
.founder-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #131715; }
.founder-name { font-size: 28px; line-height: 1.15; font-weight: 700; letter-spacing: -.025em; }
.founder-role { margin-top: 4px; font-size: 15px; color: var(--muted-on-dark); }
/* Contacts — typographic rows, not boxes: label · big value · round arrow */
.clinks { display: flex; flex-direction: column; }
.clink { position: relative; isolation: isolate; display: grid; grid-template-columns: 20px 104px minmax(0, 1fr) 44px; align-items: center; column-gap: 14px; min-height: 84px; border-top: 1px solid var(--line-dark); }
.clink:last-child { border-bottom: 1px solid var(--line-dark); }
.clink::before { content: ""; position: absolute; z-index: -1; inset: -1px -16px; border-radius: 18px; background: linear-gradient(90deg, rgba(94, 234, 212, .12), rgba(94, 234, 212, 0) 75%); opacity: 0; transform: scaleX(.97); transform-origin: left center; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.clink:hover::before, .clink.is-hover::before { opacity: 1; transform: none; }
.clink-ic { display: flex; color: var(--mint); }
.clink-ic .ic { width: 20px; height: 20px; }
.clink-t { display: contents; }
.clink-k { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-on-dark); }
.clink-v { font-size: 24px; line-height: 1.25; font-weight: 600; letter-spacing: -.02em; color: var(--text-on-dark); overflow-wrap: anywhere; transition: color .25s var(--ease); }
.clink-go { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--text-on-dark); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.clink-go .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.clink:hover .clink-v, .clink.is-hover .clink-v { color: var(--mint); }
.clink:hover .clink-go, .clink.is-hover .clink-go { background: var(--mint); color: var(--ink); box-shadow: 0 10px 28px -8px rgba(94, 234, 212, .7); }
.clink:hover .clink-go .ic, .clink.is-hover .clink-go .ic { transform: rotate(-45deg); }
.clink:active .clink-go { transform: scale(.92); }
.qr-toggle { display: none; }
.qrs { display: flex; align-items: center; justify-content: center; gap: 16px; }
.qr { flex: 0 1 208px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 10px 16px; border-radius: 22px; background: #FFFFFF; color: var(--text); text-align: center; box-shadow: 0 24px 48px -28px rgba(0, 0, 0, .7); }   /* hugs the code: the QR image already has its quiet zone */
.qr img { width: 100%; max-width: 184px; aspect-ratio: 1 / 1; }
.qr-t { font-size: 14px; line-height: 1.3; font-weight: 700; }
@media (max-width: 1023px) { .contact-grid { grid-template-columns: 1fr; } .qrs { width: 100%; max-width: 460px; margin-inline: auto; } }
@media (max-width: 767px) {
  .founder { gap: 24px; padding: 24px; }
  .founder::before { left: 20px; right: 20px; }
  .founder-photo { width: 76px; height: 76px; }
  .founder-name { font-size: 23px; }
  .clink { grid-template-columns: 20px minmax(0, 1fr) 36px; grid-template-areas: "ic k go" "ic v go"; column-gap: 12px; row-gap: 3px; min-height: 76px; padding: 14px 0; }
  .clink::before { inset: -1px -10px; }
  .clink-ic { grid-area: ic; }
  .clink-k { grid-area: k; }
  .clink-v { grid-area: v; font-size: 18px; }
  .clink-go { grid-area: go; width: 36px; height: 36px; }
  .qr-toggle { display: inline-flex; width: 100%; }
  .qrs { display: none; }
  .qrs.is-open { display: flex; }
  .qr { padding: 8px 8px 12px; border-radius: 18px; }
}

/* ---------- Motion ---------- */
@keyframes lk-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes lk-breathe { 0%, 100% { opacity: .78; transform: translate(-50%, -50%) scale(1); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.07); } }
@keyframes lk-px { from { translate: 0 56px; } to { translate: 0 -56px; } }
@keyframes lk-px-fast { from { translate: 0 110px; } to { translate: 0 -110px; } }
@keyframes lk-pulse { 0% { left: 12.5%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: calc(87.5% - 64px); opacity: 0; } }
@keyframes lk-nav { from { background-color: rgba(16, 20, 18, .38); } to { background-color: rgba(16, 20, 18, .84); } }
@keyframes lk-orbit { to { --nav-a: 660deg; } }
@keyframes lk-shine { 0%, 100% { background-position: 100% 50%; } 50% { background-position: 0% 50%; } }
@keyframes lk-orbit-pulse { to { stroke-dashoffset: -1000; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: lk-rise .9s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-stage { animation: lk-rise 1.2s var(--ease) .3s both; }
  .glow--breathe { animation: lk-breathe 8s ease-in-out infinite; }
  .route-pulse { animation: lk-pulse 4.5s var(--ease) infinite; }
  .nav-bar::before { animation: lk-orbit 9s linear infinite; }
  .grad--shine { animation: lk-shine 8s ease-in-out infinite; }
  .orbit-pulse { animation: lk-orbit-pulse 7s linear infinite; }
  @supports (animation-timeline: view()) {
    .rv { animation: lk-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
    .px { animation: lk-px linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    .px--fast { animation-name: lk-px-fast; }
  }
  @supports (animation-timeline: scroll()) {
    .nav-bar { animation: lk-nav linear both; animation-timeline: scroll(root); animation-range: 0px 120px; }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lk *, .lk *::before, .lk *::after { animation: none !important; transition-duration: 0ms !important; }
  .route-pulse, .orbit-pulse { display: none; }
}

/* ==========================================================================
   Static-site additions (not in the design file)
   ========================================================================== */
/* JS toggles the menu panel and burger icons with [hidden]; component display rules would override it */
.lk [hidden] { display: none !important; }
/* <img> carries width/height attributes against layout shift; keep the QR square when it shrinks */
.qr img { height: auto; }
/* Fallback for browsers without scroll-driven animations (Firefox, Safari): js/main.js adds .no-sda to <html> */
@media (prefers-reduced-motion: no-preference) {
  .no-sda .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .no-sda .rv.is-in { opacity: 1; transform: none; }
  .no-sda .px { will-change: translate; }
}
/* Dark pill (used on og.png): translucent ink, hairline rim, mint dot — sibling of .pill--mint */
.pill--dark { background: rgba(255, 255, 255, .06); color: var(--text-on-dark); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.pill-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
