/* Ladari Labs — site styles
   Palette: Sky Blue #0593C6 · White #FCFFFF · Hot Pink #D83995
   Every colour, size and space comes from the tokens below. */

:root {
  /* Brand */
  --sky: #0593c6;
  --sky-deep: #04729a;
  --sky-ink: #035677;
  --sky-light: #7cd3f2;
  --pink: #d83995;
  --pink-deep: #b02474;
  --pink-light: #f39ac9;
  --white: #fcffff;

  /* Neutrals */
  --paper: #fcffff;
  --mist: #eef6f9;
  --ink: #0b1a26;
  --ink-2: #44535f;
  --ink-3: #6b7a86;
  --line: rgba(11, 26, 38, 0.1);
  --line-strong: rgba(11, 26, 38, 0.18);

  /* Glass */
  --glass: rgba(255, 255, 255, 0.16);
  --glass-strong: rgba(255, 255, 255, 0.26);
  --glass-line: rgba(255, 255, 255, 0.42);
  --glass-paper: rgba(252, 255, 255, 0.72);

  /* App brands */
  --tt-plum: #6b3f69;
  --tt-mauve: #b784a7;
  --tt-rose: #e6b3c3;
  --tt-sage: #a8c3a0;
  --pb-green: #29bf12;
  --pb-lime: #abff4f;
  --pb-teal: #08bdbd;
  --pb-ink: #0f2a0a;
  --px-violet: #6b5cff;

  /* Type */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "Helvetica Neue", Inter, Roboto, Arial, sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-md: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1.5vw, 1.3rem);
  --fs-xl: clamp(1.5rem, 2.4vw, 2rem);
  --fs-h2: clamp(2.25rem, 5vw, 4rem);
  --fs-h1: clamp(3rem, 7.6vw, 6.75rem);
  --fw-thin: 300;
  --fw-reg: 400;
  --fw-med: 500;
  --fw-bold: 600;

  /* Space */
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2rem;
  --s-5: 3rem;
  --s-6: 5rem;
  --s-7: 7.5rem;
  --gutter: clamp(1rem, 3.5vw, 2.5rem);
  --max: 1240px;
  --max-prose: 720px;

  /* Shape & motion */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 36px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow: 0 1px 2px rgba(11, 26, 38, 0.04), 0 12px 40px -12px rgba(11, 26, 38, 0.14);
  --shadow-lift: 0 2px 4px rgba(11, 26, 38, 0.05), 0 24px 60px -18px rgba(11, 26, 38, 0.24);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: var(--fs-md); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--pink); color: var(--white); }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--s-2); top: var(--s-2); z-index: 200; background: var(--ink); color: var(--white); padding: var(--s-1) var(--s-2); border-radius: var(--r-sm); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: var(--max-prose); }

h1, h2, h3, h4 { margin: 0; font-weight: var(--fw-thin); letter-spacing: -0.035em; line-height: 1.02; }
h1 { font-size: var(--fs-h1); letter-spacing: -0.045em; line-height: 0.98; }
h2 { font-size: var(--fs-h2); text-wrap: balance; }
h3 { font-size: var(--fs-xl); letter-spacing: -0.02em; line-height: 1.15; font-weight: var(--fw-reg); }
h4 { font-size: var(--fs-lg); letter-spacing: -0.01em; line-height: 1.3; font-weight: var(--fw-med); }
p { margin: 0 0 var(--s-2); }
.lead { font-size: var(--fs-lg); color: var(--ink-2); max-width: 46ch; line-height: 1.55; }
.muted { color: var(--ink-2); }
.small { font-size: var(--fs-sm); color: var(--ink-3); }
.em { font-style: normal; color: var(--pink); }

/* ---------- Header: floating glass pill ---------- */
.site-header { position: fixed; top: 14px; left: 0; right: 0; z-index: 100; pointer-events: none; }
.site-header .bar {
  pointer-events: auto; position: relative;
  max-width: calc(var(--max) - 2 * var(--gutter)); margin: 0 auto; width: calc(100% - 2 * var(--gutter));
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-2);
  padding: 7px 7px 7px 20px; border-radius: 999px;
  background: var(--glass-paper);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 30px -10px rgba(11, 26, 38, 0.25);
}
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: var(--fw-bold); letter-spacing: -0.02em; white-space: nowrap; }
.logo-mark { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, var(--sky), var(--pink)); position: relative; overflow: hidden; flex: none; }
.logo-mark::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 1px, transparent 1px 4px); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-size: var(--fs-sm); color: var(--ink-2); padding: 8px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.nav a:hover { background: rgba(11, 26, 38, 0.06); color: var(--ink); }
.nav a[aria-current="page"] { background: rgba(11, 26, 38, 0.08); color: var(--ink); }
.nav a.btn { margin-left: 6px; color: var(--white); padding: 11px 18px; }
.nav a.btn:hover { color: var(--white); }
.nav-toggle { display: none; font: inherit; font-size: var(--fs-sm); color: var(--ink); background: rgba(11,26,38,.06); border: 0; border-radius: 999px; padding: 9px 16px; cursor: pointer; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; align-items: stretch; padding: var(--s-1); border-radius: var(--r-md); background: var(--paper); box-shadow: var(--shadow-lift); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 16px; font-size: var(--fs-md); }
  .nav a.btn { margin: 6px 0 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-size: var(--fs-sm); font-weight: var(--fw-med); line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn .arr { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translate(2px, -2px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--pink); box-shadow: 0 10px 30px -8px rgba(216, 57, 149, .6); }
.btn-pink { background: var(--pink); color: var(--white); }
.btn-pink:hover { background: var(--pink-deep); box-shadow: 0 10px 30px -8px rgba(216, 57, 149, .6); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { box-shadow: 0 10px 30px -8px rgba(255, 255, 255, .7); transform: translateY(-1px); }
.btn-glass { background: var(--glass); color: var(--white); border-color: var(--glass-line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: var(--glass-strong); }
.btn-line { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ---------- Pills ---------- */
.pill { justify-self: start;
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-size: var(--fs-xs); font-weight: var(--fw-med); letter-spacing: 0.02em;
  padding: 6px 12px 6px 10px; border-radius: 999px;
  background: var(--mist); color: var(--ink-2); border: 1px solid var(--line);
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pink); }
.pill-glass { background: var(--glass); color: var(--white); border-color: var(--glass-line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pill-glass::before { background: var(--white); }

/* ---------- Fluted glass panel (hero + product panels) ---------- */
.panel {
  --c1: var(--sky); --c2: var(--pink); --c3: var(--sky-light); --base: var(--sky-deep);
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--r-xl); color: var(--white); background: var(--base);
}
.panel .blur { position: absolute; inset: -20%; z-index: -2; filter: blur(70px) saturate(120%); pointer-events: none; }
.panel .blur i { position: absolute; border-radius: 50%; display: block; }
.panel .blur i:nth-child(1) { width: 55%; height: 75%; left: 5%; top: 10%; background: var(--c1); }
.panel .blur i:nth-child(2) { width: 38%; height: 70%; left: 42%; top: 20%; background: var(--c2); }
.panel .blur i:nth-child(3) { width: 30%; height: 50%; left: 68%; top: 0%; background: var(--c3); opacity: .9; }
.panel .blur i:nth-child(4) { width: 40%; height: 40%; left: 20%; top: 65%; background: var(--c2); opacity: .5; }
.panel::before { /* fluted glass ribs */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(90deg,
    rgba(255,255,255,0.18) 0px, rgba(255,255,255,0.03) 3px,
    rgba(0,0,0,0.06) 9px, rgba(255,255,255,0.12) 12px);
  mix-blend-mode: soft-light;
}
.panel::after { /* soft shade so text stays readable */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(4, 30, 50, 0.32) 100%);
}
.panel-tt { --c1: var(--tt-mauve); --c2: var(--tt-rose); --c3: var(--tt-sage); --base: var(--tt-plum); }
.panel-tt::after { background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(60, 25, 58, 0.45) 100%); }
.panel-pb { --c1: var(--pb-green); --c2: var(--pb-lime); --c3: var(--pb-teal); --base: #1f8f10; }
.panel-pb::after { background: linear-gradient(180deg, rgba(0,0,0,0) 25%, rgba(8, 40, 10, 0.5) 100%); }
.panel-plexus { --c1: var(--sky); --c2: var(--px-violet); --c3: var(--sky-light); --base: #0b4f7a; }
.panel-ops { --c1: var(--pink); --c2: var(--sky); --c3: var(--pink-light); --base: var(--pink-deep); }

/* ---------- Hero ---------- */
.hero-shell { padding: 10px; }
.hero { min-height: min(94vh, 920px); display: flex; flex-direction: column; padding: 130px var(--gutter) var(--s-4); }
.hero-inner { flex: 1; width: 100%; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--s-5); align-items: end; }
.hero h1 { max-width: 12ch; margin: var(--s-3) 0; text-wrap: balance; }
.hero .lead { color: rgba(255,255,255,.9); max-width: 44ch; }
.hero .btn-row { margin-top: var(--s-4); }
.hero-side { display: grid; gap: 12px; align-self: center; }
.hero-foot {
  width: 100%; max-width: var(--max); margin: var(--s-6) auto 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3);
  border-top: 1px solid rgba(255,255,255,.3); padding-top: var(--s-3);
}
.hero-foot div { font-size: var(--fs-sm); line-height: 1.45; color: rgba(255,255,255,.85); }
.hero-foot b { display: block; color: var(--white); font-weight: var(--fw-med); margin-bottom: 2px; }
.hero-sm { min-height: auto; padding-top: 140px; padding-bottom: var(--s-6); }
.hero-sm .hero-inner { align-items: center; }
.hero-sm h1 { font-size: clamp(2.75rem, 6.4vw, 5.5rem); }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { padding-top: 112px; }
}

/* ---------- Glass cards ---------- */
.glass {
  background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--r-md);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  padding: 16px 18px; color: var(--white);
}
a.glass { display: flex; gap: 14px; align-items: center; text-decoration: none; transition: background .25s, transform .25s var(--ease); }
a.glass:hover { background: var(--glass-strong); transform: translateX(-3px); }
.glass .t { font-weight: var(--fw-med); display: block; }
.glass .d { font-size: var(--fs-sm); color: rgba(255,255,255,.82); line-height: 1.4; display: block; }
.glass .go { margin-left: auto; opacity: .85; }
.app-icon { width: 46px; height: 46px; flex: none; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 18px -6px rgba(0,0,0,.35); display: grid; place-items: center; color: var(--white); font-weight: var(--fw-bold); font-size: var(--fs-sm); }
.app-icon img { width: 100%; height: 100%; object-fit: cover; }
.app-icon.pb { background: linear-gradient(135deg, var(--pb-green), var(--pb-lime)); color: var(--pb-ink); }
.app-icon.px { background: linear-gradient(135deg, var(--sky), var(--px-violet)); }
.app-icon.ops { background: linear-gradient(135deg, var(--pink), var(--sky)); }

/* ---------- Sections ---------- */
section { padding: var(--s-7) 0; }
.sec-tight { padding: var(--s-6) 0; }
.sec-mist { background: var(--mist); border-radius: var(--r-xl); margin: 0 10px; }
.head { display: grid; gap: var(--s-2); margin-bottom: var(--s-5); max-width: 780px; }
.head .lead { margin: 0; }
.head-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-5); align-items: end; margin-bottom: var(--s-5); }
.head-split > div { display: grid; gap: var(--s-2); }
.head-split .lead { margin: 0; }
@media (max-width: 860px) { .head-split { grid-template-columns: 1fr; gap: var(--s-3); } }

/* ---------- Product panels (home) ---------- */
.products { display: grid; gap: 14px; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.product {
  grid-column: span 6; min-height: 480px; padding: var(--s-4);
  display: flex; flex-direction: column; text-decoration: none;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.product.wide { grid-column: span 12; min-height: 400px; }
.product .top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-2); }
.product h3 { font-size: clamp(2.25rem, 4.4vw, 3.75rem); font-weight: var(--fw-thin); letter-spacing: -0.04em; margin-top: auto; padding-top: var(--s-5); }
.product p { color: rgba(255,255,255,.9); max-width: 42ch; margin: var(--s-2) 0 0; font-size: var(--fs-lg); line-height: 1.45; }
.product .more { margin-top: var(--s-3); display: inline-flex; gap: 8px; align-items: center; font-size: var(--fs-sm); font-weight: var(--fw-med); }
.product .more .arr { transition: transform .25s var(--ease); }
.product:hover .more .arr { transform: translate(3px, -3px); }
@media (max-width: 860px) { .product, .product.wide { grid-column: span 12; min-height: 400px; } }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 14px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s-4); box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: var(--s-1);
}
.card p { color: var(--ink-2); margin: 0; }
.card h4 { margin-bottom: 4px; }
.card .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--mist); color: var(--sky-deep); margin-bottom: var(--s-2); }
.card .ic svg { width: 20px; height: 20px; }
.card-feature { grid-column: 1 / -1; background: var(--ink); color: var(--white); border-color: transparent; padding: var(--s-5) var(--s-4); }
.card-feature h3 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: var(--fw-thin); letter-spacing: -0.035em; }
.card-feature p { color: rgba(255,255,255,.78); max-width: 60ch; }
.card-feature .pill { background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.14); }
.card-feature .cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-5); margin-top: var(--s-3); }
@media (max-width: 860px) { .card-feature .cols { grid-template-columns: 1fr; gap: var(--s-3); } }

.ticks { list-style: none; padding: 0; margin: var(--s-2) 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 20px; height: 20px; border-radius: 50%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23D83995' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.ticks b { color: var(--ink); font-weight: var(--fw-med); }
.card-feature .ticks li { color: rgba(255,255,255,.8); }
.card-feature .ticks li::before { background-color: rgba(255,255,255,.12); }
.card-feature .ticks b { color: var(--white); }

/* Steps */
.steps { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: step; }
.step { counter-increment: step; padding: var(--s-4) var(--s-3) var(--s-4); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.step::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--sky), var(--pink)); color: var(--white); font-size: var(--fs-sm); font-weight: var(--fw-bold); margin-bottom: var(--s-4); }
.step p { color: var(--ink-2); margin: 8px 0 0; }

/* Big statement */
.statement { font-size: clamp(1.9rem, 3.8vw, 3.25rem); font-weight: var(--fw-thin); letter-spacing: -0.035em; line-height: 1.12; max-width: 24ch; text-wrap: balance; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stat { padding: var(--s-4) var(--s-3); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(2.5rem, 4.5vw, 3.75rem); font-weight: var(--fw-thin); letter-spacing: -0.04em; line-height: 1; background: linear-gradient(135deg, var(--sky), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: var(--s-2); color: var(--ink-2); font-size: var(--fs-sm); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-6); align-items: center; }
.portrait { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lift); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .glass { position: absolute; left: 14px; right: 14px; bottom: 14px; }
.about-text h2 { margin-bottom: var(--s-4); }
.about-text p { font-size: var(--fs-lg); color: var(--ink-2); line-height: 1.6; }
.about-text .first { color: var(--ink); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); margin: var(--s-4) 0; padding: var(--s-3) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts b { display: block; font-size: var(--fs-xl); font-weight: var(--fw-thin); letter-spacing: -0.02em; color: var(--ink); }
.facts span { font-size: var(--fs-sm); color: var(--ink-3); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: var(--s-4); } .portrait { max-width: 420px; } }

/* ---------- Skills ---------- */
.skills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.skill { padding: var(--s-4); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); min-height: 280px; display: flex; flex-direction: column; }
.skill .no { font-size: var(--fs-sm); color: var(--pink); font-weight: var(--fw-med); }
.skill h3 { margin-top: auto; padding-top: var(--s-4); }
.skill p { color: var(--ink-2); margin: var(--s-1) 0 0; }
@media (max-width: 860px) { .skills { grid-template-columns: 1fr; } .skill { min-height: 0; } }

/* ---------- CTA panel ---------- */
.cta { padding: var(--s-6) var(--s-5); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--s-4); align-items: end; }
.cta h2 { max-width: 14ch; }
.cta p { color: rgba(255,255,255,.9); font-size: var(--fs-lg); max-width: 40ch; }
.cta .btn-row { justify-content: flex-start; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; padding: var(--s-5) var(--s-3); } }

/* ---------- Product page visuals ---------- */
.phone {
  width: min(300px, 78%); margin: 0 auto; border-radius: 46px; padding: 10px;
  background: rgba(255,255,255,.18); border: 1px solid var(--glass-line);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.5);
}
.phone img { border-radius: 36px; width: 100%; }
.icon-big { width: min(240px, 64%); margin: 0 auto; border-radius: 54px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.55); border: 1px solid var(--glass-line); }
.stack { display: grid; gap: 12px; }
.stack .glass { display: grid; gap: 6px; }
.lane { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 12px; font-size: var(--fs-sm); }
.lane .track { height: 10px; border-radius: 999px; background: rgba(255,255,255,.18); position: relative; overflow: hidden; }
.lane .track i { position: absolute; top: 0; bottom: 0; border-radius: 999px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: var(--s-3) 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--s-2); font-size: var(--fs-lg); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: var(--fw-thin); font-size: 1.6rem; line-height: 1; color: var(--pink); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); margin: var(--s-2) 0 0; max-width: 64ch; }
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: var(--s-5); }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; gap: var(--s-3); } }

/* ---------- Sign-up form ---------- */
.signup { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; max-width: 500px; padding: 6px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.signup input[type="email"] { flex: 1 1 200px; min-width: 0; background: transparent; border: 0; color: var(--white); font: inherit; padding: 10px 14px; }
.signup input[type="email"]::placeholder { color: rgba(255,255,255,.8); }
.signup input[type="email"]:focus { outline: none; }
.signup:focus-within { border-color: var(--white); }
@media (max-width: 480px) { .signup { border-radius: var(--r-md); } .signup .btn { width: 100%; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-size: var(--fs-sm); margin: 10px 0 0; min-height: 1.4em; }
.panel .small, .panel .form-msg { color: rgba(255,255,255,.85); }

/* ---------- Prose (legal + support) ---------- */
.prose { color: var(--ink-2); }
.prose h2 { font-size: 1.6rem; font-weight: var(--fw-reg); letter-spacing: -0.02em; color: var(--ink); margin: var(--s-5) 0 var(--s-2); }
.prose h3 { font-size: 1.15rem; font-weight: var(--fw-med); color: var(--ink); margin: var(--s-4) 0 var(--s-1); }
.prose ul { padding-left: 1.2rem; margin: 0 0 var(--s-2); }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--pink); }
.prose strong { color: var(--ink); font-weight: var(--fw-med); }
.prose a { color: var(--sky-ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 var(--s-3); font-size: var(--fs-sm); display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); font-weight: var(--fw-med); }
.updated { font-size: var(--fs-sm); color: rgba(255,255,255,.85); margin-top: var(--s-2); }

/* ---------- Footer ---------- */
.site-footer { padding: var(--s-6) 0 var(--s-4); background: var(--ink); color: rgba(255,255,255,.7); font-size: var(--fs-sm); margin: var(--s-6) 10px 0; border-radius: var(--r-xl) var(--r-xl) 0 0; }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--s-4); }
.site-footer .logo { color: var(--white); font-size: var(--fs-md); }
.site-footer .big { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: var(--fw-thin); letter-spacing: -0.03em; color: var(--white); line-height: 1.1; margin: var(--s-3) 0; max-width: 16ch; }
.site-footer h5 { margin: 0 0 var(--s-2); font-size: var(--fs-sm); font-weight: var(--fw-med); color: var(--white); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2); border-top: 1px solid rgba(255,255,255,.12); padding-top: var(--s-3); margin-top: var(--s-3); }
@media (max-width: 860px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .site-footer .wrap > :first-child { grid-column: 1 / -1; } }

/* ---------- Motion: one gentle reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .product, a.glass { transition: none; }
}

/* ---------- Dropdown menus (Ladari Labs header) ---------- */
.dd { position: relative; }
.dd-btn { font: inherit; font-size: var(--fs-sm); color: var(--ink-2); background: none; border: 0; cursor: pointer; padding: 8px 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; transition: background .2s, color .2s; }
.dd-btn:hover, .dd.open .dd-btn { background: rgba(11, 26, 38, 0.06); color: var(--ink); }
.chev { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .25s var(--ease); }
.dd.open .chev { transform: translateY(1px) rotate(225deg); }
.dd-panel {
  position: absolute; top: calc(100% + 16px); left: 50%; width: 380px;
  transform: translate(-50%, 6px); opacity: 0; visibility: hidden;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lift); padding: 14px; display: grid; gap: 4px;
}
.dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; } /* hover bridge */
.dd.open .dd-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 901px) {
  .dd:hover .dd-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .dd:hover .chev { transform: translateY(1px) rotate(225deg); }
}
.dd-label { font-size: var(--fs-xs); font-weight: var(--fw-med); color: var(--ink-3); letter-spacing: 0.04em; text-transform: uppercase; padding: 6px 10px 8px; }
.nav .dd-item { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: var(--r-md); color: var(--ink); }
.nav .dd-item:hover { background: var(--mist); }
.dd-item .t { display: block; font-weight: var(--fw-med); font-size: var(--fs-md); color: var(--ink); }
.dd-item .d { display: block; font-size: var(--fs-sm); color: var(--ink-3); line-height: 1.35; }
.nav .dd-foot { font-size: var(--fs-sm); color: var(--pink); padding: 10px 10px 4px; border-top: 1px solid var(--line); margin-top: 6px; border-radius: 0; }
.nav .dd-foot:hover { background: none; color: var(--pink-deep); }
.app-icon.sm { width: 38px; height: 38px; border-radius: 10px; font-size: var(--fs-xs); box-shadow: none; }
@media (max-width: 900px) {
  .dd-btn { display: none; }
  .dd-panel { position: static; width: auto; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 4px 0; background: transparent; }
  .dd-panel::before { display: none; }
  .dd-label { padding: 12px 16px 4px; }
  .nav .dd-item { padding: 10px 16px; }
  .nav .dd-foot { padding: 12px 16px; }
}

/* ---------- Sub-site branding ---------- */
.logo-sub { font-weight: var(--fw-reg); color: var(--ink-3); }
.logo-mark.px { background: linear-gradient(135deg, var(--sky), var(--px-violet)); }
.logo-mark.pb { background: linear-gradient(135deg, var(--pb-green), var(--pb-lime)); }
.logo-img { width: 24px; height: 24px; border-radius: 7px; overflow: hidden; flex: none; }
.site-footer .logo-sub { color: rgba(255,255,255,.6); }
.site-tt .btn-dark { background: var(--tt-plum); }
.site-tt .btn-dark:hover { background: var(--tt-mauve); box-shadow: 0 10px 30px -8px rgba(107, 63, 105, .6); }
.site-tt .site-footer { background: #2e1f2d; }
.site-tt .pill::before, .site-tt .faq summary::after { background: var(--tt-mauve); color: var(--tt-plum); }
.site-tt .faq summary::after { background: none; }
.site-pb .btn-dark { background: #222533; }
.site-pb .btn-dark:hover { background: var(--pb-green); box-shadow: 0 10px 30px -8px rgba(41, 191, 18, .55); }
.site-pb .site-footer { background: #222533; }
.site-pb .pill::before { background: var(--pb-green); }
.site-pb .step::before { background: linear-gradient(135deg, var(--pb-green), var(--pb-lime)); color: var(--pb-ink); }
.site-plexus .btn-dark { background: #0b2a40; }
.site-plexus .btn-dark:hover { background: var(--sky); box-shadow: 0 10px 30px -8px rgba(5, 147, 198, .6); }
.site-plexus .site-footer { background: #0b2a40; }
.site-plexus .pill::before { background: var(--sky); }
.site-plexus .step::before { background: linear-gradient(135deg, var(--sky), var(--px-violet)); }
.site-plexus .statement .em { color: var(--sky); }

[id] { scroll-margin-top: 96px; }

/* ---------- Home: hero portrait ---------- */
.hero-portrait { position: relative; width: min(360px, 100%); margin-left: auto; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--glass-line); box-shadow: 0 40px 80px -30px rgba(0,0,0,.45); aspect-ratio: 4 / 5; }
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; }
.hero-portrait .glass { position: absolute; left: 12px; right: 12px; bottom: 12px; }
@media (max-width: 900px) { .hero-portrait { margin: 0; width: min(320px, 100%); } }

/* Offer cards (home) */
.offers { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.offer { display: flex; flex-direction: column; gap: var(--s-1); padding: var(--s-4); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease); min-height: 360px; }
a.offer:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.offer h3 { margin: var(--s-4) 0 var(--s-1); }
.offer p { color: var(--ink-2); margin: 0; }
.offer .ticks { margin-top: var(--s-2); }
.offer .more { margin-top: auto; padding-top: var(--s-3); font-size: var(--fs-sm); font-weight: var(--fw-med); color: var(--pink); }
.offer.lead-offer { background: var(--ink); color: var(--white); border-color: transparent; }
.offer.lead-offer p, .offer.lead-offer .ticks li { color: rgba(255,255,255,.78); }
.offer.lead-offer .ticks li::before { background-color: rgba(255,255,255,.12); }
.offer.lead-offer .more { color: var(--pink-light); }
@media (max-width: 960px) { .offers { grid-template-columns: 1fr; } .offer { min-height: 0; } }

/* Side projects (small, quiet) */
.side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--s-5); align-items: center; }
.side-list { display: grid; gap: 10px; }
.side-item { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .25s var(--ease); }
.side-item:hover { border-color: var(--line-strong); transform: translateX(3px); }
.side-item .t { display: block; font-weight: var(--fw-med); }
.side-item .d { display: block; font-size: var(--fs-sm); color: var(--ink-3); }
.side-item .go { margin-left: auto; color: var(--ink-3); }
@media (max-width: 860px) { .side { grid-template-columns: 1fr; gap: var(--s-3); } }

/* Timeline (about) */
.timeline { border-left: 1px solid var(--line-strong); margin-left: 8px; display: grid; gap: var(--s-4); padding: var(--s-1) 0; }
.tl { position: relative; padding-left: var(--s-4); }
.tl::before { content: ""; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: linear-gradient(135deg, var(--sky), var(--pink)); box-shadow: 0 0 0 4px var(--paper); }
.tl .when { font-size: var(--fs-sm); color: var(--ink-3); }
.tl h4 { margin: 2px 0 6px; }
.tl p { color: var(--ink-2); margin: 0; max-width: 62ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s-2); }
.chip { font-size: var(--fs-sm); padding: 7px 12px; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); color: var(--ink-2); }
.hero-portrait .glass, .portrait .glass { background: rgba(11, 26, 38, 0.38); border-color: rgba(255,255,255,.3); }
.prose h4 { font-size: 1rem; font-weight: var(--fw-med); color: var(--ink); margin: var(--s-3) 0 var(--s-1); letter-spacing: 0; }
