/* OmixLab premium visual layer — loaded after the page-level styles. */
:root {
  --ink: #050b18;
  --surface: rgba(13, 31, 56, .76);
  --surface-strong: rgba(10, 26, 49, .94);
  --aqua: #58c6ff;
  --violet: #8f6bff;
  --coral: #ff7fb2;
  --line-bright: rgba(139, 208, 255, .22);
  --shadow-deep: 0 24px 70px rgba(0, 0, 0, .30);
}

html {
  background: var(--ink);
}

body {
  background:
    radial-gradient(900px 520px at -12% 8%, rgba(53, 141, 221, .16), transparent 65%),
    radial-gradient(720px 440px at 105% 36%, rgba(143, 107, 255, .12), transparent 67%),
    radial-gradient(680px 500px at 48% 104%, rgba(232, 49, 122, .08), transparent 62%),
    var(--dark);
  letter-spacing: .002em;
  animation: omix-page-in .55s cubic-bezier(.2, .75, .2, 1) both;
}

::selection { background: rgba(88, 198, 255, .32); color: #fff; }

:focus-visible {
  outline: 3px solid rgba(88, 198, 255, .82);
  outline-offset: 3px;
}

/* Floating glass navigation makes every route feel like one designed product. */
.nav {
  top: 12px;
  left: 16px;
  right: 16px;
  border: 1px solid rgba(182, 224, 255, .10);
  border-radius: 18px;
  background: rgba(5, 14, 26, .48);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
  backdrop-filter: blur(16px) saturate(120%);
}

.nav.scrolled {
  background: rgba(5, 14, 26, .88);
  border-color: rgba(139, 208, 255, .18);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .32);
}

.nav-inner { max-width: 1240px; height: 64px; }
.nav-links a { letter-spacing: .01em; }
.nav-links a:hover { background: rgba(99, 184, 250, .10); }
.nav-links a.active::after { background: linear-gradient(90deg, var(--aqua), var(--coral)); width: 20px; }

.drop-menu {
  top: calc(100% + 12px);
  background: rgba(8, 23, 43, .96);
  border-color: rgba(139, 208, 255, .18);
  box-shadow: var(--shadow-deep);
}

.nav-cta-btn {
  background: linear-gradient(135deg, #e8317a 0%, #a66aff 100%);
  box-shadow: 0 8px 22px rgba(184, 77, 176, .28);
}

.nav-cta-btn:hover {
  background: linear-gradient(135deg, #fa5b9a 0%, #b786ff 100%);
  box-shadow: 0 12px 30px rgba(184, 77, 176, .40);
}

/* Stronger hierarchy and a more editorial hero treatment. */
.hero, .pg-hero { isolation: isolate; }
.hero::before, .pg-hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(108deg, rgba(5, 14, 26, .15) 10%, transparent 52%, rgba(86, 84, 185, .09));
}

.hero { padding-top: 84px; }
.pg-hero { padding-top: 84px; }
.hero-badge, .ws-badge {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10), 0 8px 26px rgba(0, 0, 0, .12);
}

.h1 {
  text-wrap: balance;
  text-shadow: 0 10px 36px rgba(0, 0, 0, .18);
}

.h2 { text-wrap: balance; }
.hero-sub, .muted { color: rgba(240, 246, 255, .66); }

.grad-b {
  background-image: linear-gradient(125deg, #fff 20%, #81d7ff 60%, #bd9bff 100%);
}

.grad-p {
  background-image: linear-gradient(125deg, #ff5d9e 0%, #e9a6ff 100%);
}

.hero-img-frame, .cp-img-wrap, .ws-preview-card, .par-img {
  border: 1px solid rgba(170, 218, 255, .16);
  box-shadow: var(--shadow-deep);
}

.hero-img-frame { border-radius: 28px; }
.hero-img-frame::before, .cp-img-wrap::before, .ws-preview-card::before {
  content: '';
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
}

.hero-img-frame::after {
  background: linear-gradient(135deg, rgba(36, 145, 222, .28), rgba(143, 107, 255, .12) 50%, rgba(232, 49, 122, .18));
}

.float-c {
  background: rgba(9, 27, 50, .82);
  border-color: var(--line-bright);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .08);
}

/* Shared card treatment: crisp borders, depth and restrained interaction. */
.ben-card, .geo-card, .diff-card, .cc, .bundle-card, .dl-card, .bc, .feat,
.sb-card, .ci-card, .pt-card, .tier-card, .curr-item, .hist-card, .card {
  background: linear-gradient(145deg, rgba(19, 48, 85, .85), rgba(9, 26, 48, .80));
  border-color: rgba(174, 218, 255, .11);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045), 0 12px 32px rgba(0, 0, 0, .10);
}

.ben-card, .geo-card, .diff-card, .cc, .bundle-card, .dl-card, .bc, .feat,
.sb-card, .ci-card, .pt-card, .tier-card, .curr-item, .hist-card, .card,
.calc-panel, .calc-result-panel, .email-capture, .trigger-bar, .countdown-strip,
.gold-strip, .guar-strip {
  transition: transform .35s cubic-bezier(.2, .75, .2, 1), border-color .35s ease, box-shadow .35s ease, background .35s ease;
}

.ben-card:hover, .geo-card:hover, .diff-card:hover, .cc:hover, .bundle-card:hover,
.dl-card:hover, .bc:hover, .feat:hover, .sb-card:hover, .ci-card:hover,
.pt-card:hover, .tier-card:hover, .curr-item:hover, .hist-card:hover, .card-h:hover {
  border-color: rgba(112, 204, 255, .36);
  box-shadow: 0 22px 58px rgba(1, 8, 20, .32), 0 0 0 1px rgba(143, 107, 255, .06);
}

.ben-card:hover, .geo-card:hover, .diff-card:hover, .cc:hover, .bundle-card:hover,
.dl-card:hover, .bc:hover, .feat:hover, .sb-card:hover, .ci-card:hover,
.pt-card:hover, .tier-card:hover, .curr-item:hover, .hist-card:hover { transform: translateY(-6px); }

.btn-pr {
  background: linear-gradient(135deg, #207fc7 0%, #55baff 52%, #8386ff 100%);
  box-shadow: 0 10px 25px rgba(45, 146, 229, .24);
}

.btn-pr:hover { box-shadow: 0 15px 34px rgba(45, 146, 229, .40); }
.btn-ac { background: linear-gradient(135deg, #e8317a 0%, #a66aff 100%); box-shadow: 0 10px 25px rgba(194, 72, 176, .24); }
.btn-ac:hover { box-shadow: 0 15px 34px rgba(194, 72, 176, .40); }
.btn-gh { border-color: rgba(163, 216, 255, .30); background: rgba(255, 255, 255, .025); }
.btn-gh:hover { border-color: rgba(139, 208, 255, .64); background: rgba(100, 193, 255, .09); }
.btn-gold { box-shadow: 0 10px 25px rgba(245, 200, 66, .16); }

/* Inputs are more usable and visually aligned with the rest of the upgrade. */
.f-inp, .calc-field input, .calc-field select, input, select, textarea {
  border-color: rgba(155, 210, 255, .18);
  background-color: rgba(5, 16, 31, .52);
}

.f-inp:focus, .calc-field input:focus, .calc-field select:focus, input:focus, select:focus, textarea:focus {
  border-color: var(--aqua);
  box-shadow: 0 0 0 4px rgba(88, 198, 255, .12);
  outline: none;
}

.footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #08182c 0%, #050e1a 62%);
}

.footer::before {
  content: '';
  position: absolute;
  width: 560px;
  height: 300px;
  top: -180px;
  right: -120px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(87, 154, 255, .14), transparent 68%);
  pointer-events: none;
}

.footer .wrap { position: relative; }
.soc-btn:hover { background: linear-gradient(135deg, var(--blue), var(--violet)); }

/* The shared progress line is inserted by premium.js. */
.premium-progress {
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--aqua), var(--violet), var(--coral));
  box-shadow: 0 0 16px rgba(88, 198, 255, .72);
}

@keyframes omix-page-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1000px) {
  .mob-menu {
    top: 84px;
    left: 16px;
    right: 16px;
    border: 1px solid rgba(139, 208, 255, .16);
    border-radius: 16px;
    box-shadow: var(--shadow-deep);
  }
}

@media (max-width: 640px) {
  .nav { top: 8px; left: 8px; right: 8px; border-radius: 14px; }
  .nav-inner { height: 58px; padding: 0 16px; }
  .hero, .pg-hero { padding-top: 74px; }
  .mob-menu { top: 74px; left: 8px; right: 8px; }
  .hero-img-frame { border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* A deliberately different homepage: editorial type meets a full-bleed scientific visual. */
.home-page .hero {
  min-height: 100svh;
  padding-top: 96px;
}

.home-page .hero-grid {
  grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr);
  gap: clamp(40px, 6vw, 92px);
}

.home-page .h1 {
  max-width: 690px;
  font-size: clamp(48px, 5.8vw, 88px);
  line-height: .98;
  letter-spacing: -.055em;
}

.home-page .hero-sub {
  max-width: 530px;
  font-size: clamp(16px, 1.45vw, 19px);
}

.home-page .hero-img-frame {
  height: min(650px, 72vh);
  border-radius: 34px;
  background: #071529;
  transform: rotate(1.5deg);
  box-shadow: 0 34px 88px rgba(0, 0, 0, .44), 0 0 0 1px rgba(128, 214, 255, .10);
}

.home-page .hero-img-frame img {
  object-position: 66% center;
  transform: scale(1.045);
  transition: transform 1.2s cubic-bezier(.2, .75, .2, 1);
}

.home-page .hero-img-frame:hover img { transform: scale(1.10); }
.home-page .hero-img-frame::after { background: linear-gradient(135deg, rgba(1, 10, 29, .02), rgba(10, 44, 90, .03) 46%, rgba(113, 44, 191, .10)); }

.home-page .float-c {
  border-radius: 14px;
  padding: 16px 20px;
  border-color: rgba(126, 220, 255, .26);
  color: #fff;
}

.home-page .float-c .fc-label { color: rgba(255, 255, 255, .56); }
.home-page .float-c .fc-val { color: #fff; }
.home-page .float-c .fc-sub { color: rgba(255, 255, 255, .70); }

.home-page .fc1 { left: -34px; top: 48px; }
.home-page .fc2 { right: -30px; bottom: 64px; }

.home-page .hero-stats {
  display: inline-flex;
  width: auto;
  padding: 18px 22px;
  border: 1px solid rgba(135, 209, 255, .13);
  border-radius: 16px;
  background: rgba(10, 31, 56, .42);
  backdrop-filter: blur(14px);
}

@media (max-width: 1000px) {
  .home-page .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .home-page .hero-img-frame { height: min(560px, 66vw); transform: none; }
  .home-page .hero-stats { width: 100%; justify-content: space-between; }
}

@media (max-width: 640px) {
  .home-page .hero { padding-top: 84px; }
  .home-page .h1 { font-size: clamp(43px, 13vw, 64px); }
  .home-page .hero-img-frame { height: 390px; border-radius: 25px; }
  .home-page .fc1 { left: 12px; top: 14px; }
  .home-page .fc2 { right: 12px; bottom: 18px; }
  .home-page .hero-stats { gap: 12px; padding: 14px; }
  .home-page .hs-div { display: none; }
}

/* The homepage gets its own unmistakable, publication-like colour story. */
body.home-page {
  --dark: #f7f8fc;
  --dark2: #eef1f8;
  --navy: #e9edfa;
  --card: #ffffff;
  --white: #111a36;
  --off: #182444;
  --muted: rgba(17, 26, 54, .64);
  --faint: rgba(17, 26, 54, .42);
  --border: rgba(32, 53, 106, .12);
  --border-b: rgba(81, 92, 230, .22);
  --blue: #514ad9;
  --blue-lt: #776cff;
  --blue-glow: rgba(81, 74, 217, .22);
  --pink: #e64b91;
  --pink-lt: #ef73aa;
  --pink-glow: rgba(230, 75, 145, .18);
  background:
    radial-gradient(900px 600px at -10% 5%, rgba(119, 108, 255, .16), transparent 65%),
    radial-gradient(820px 540px at 110% 35%, rgba(88, 198, 255, .16), transparent 65%),
    #f7f8fc;
  color: #111a36;
}

.home-page .nav {
  background: rgba(255, 255, 255, .78);
  border-color: rgba(39, 60, 123, .13);
  box-shadow: 0 12px 34px rgba(49, 68, 120, .11);
}

.home-page .nav.scrolled { background: rgba(255, 255, 255, .94); }
.home-page .nav-links a { color: rgba(17, 26, 54, .68); }
.home-page .nav-links a:hover { color: #111a36; background: rgba(81, 74, 217, .08); }
.home-page .hamburger span { background: #111a36; }

.home-page .hero::before {
  background:
    radial-gradient(circle at 18% 22%, rgba(119, 108, 255, .16), transparent 32%),
    linear-gradient(110deg, rgba(255, 255, 255, .8), rgba(247, 248, 252, .36));
}

.home-page .hero-badge {
  background: rgba(81, 74, 217, .09);
  border-color: rgba(81, 74, 217, .19);
  color: #514ad9;
}

.home-page .hero-badge-dot { background: #514ad9; }
.home-page .h1 { color: #111a36; text-shadow: none; }
.home-page .hero-sub { color: rgba(17, 26, 54, .68); }

.home-page .hero-stats {
  background: rgba(255, 255, 255, .82);
  border-color: rgba(39, 60, 123, .13);
  box-shadow: 0 14px 32px rgba(49, 68, 120, .08);
}

.home-page .hs-div { background: rgba(39, 60, 123, .13); }
.home-page .hs-l { color: rgba(17, 26, 54, .58); }

.home-page .sec:nth-of-type(odd) { background: #f7f8fc !important; }
.home-page .sec:nth-of-type(even) { background: #e9edfa !important; }

.home-page .ben-card, .home-page .geo-card, .home-page .diff-card, .home-page .cc,
.home-page .bundle-card, .home-page .dl-card, .home-page .bc, .home-page .feat,
.home-page .sb-card, .home-page .ci-card, .home-page .pt-card, .home-page .tier-card,
.home-page .curr-item, .home-page .hist-card, .home-page .card {
  background: rgba(255, 255, 255, .88);
  border-color: rgba(39, 60, 123, .12);
  box-shadow: 0 16px 42px rgba(49, 68, 120, .10), inset 0 1px 0 rgba(255, 255, 255, .9);
}

.home-page .ben-card:hover, .home-page .geo-card:hover, .home-page .diff-card:hover,
.home-page .cc:hover, .home-page .bundle-card:hover, .home-page .dl-card:hover,
.home-page .bc:hover, .home-page .feat:hover, .home-page .sb-card:hover,
.home-page .ci-card:hover, .home-page .pt-card:hover, .home-page .tier-card:hover,
.home-page .curr-item:hover, .home-page .hist-card:hover {
  border-color: rgba(81, 74, 217, .36);
  box-shadow: 0 24px 56px rgba(49, 68, 120, .16);
}

.home-page .ben-card p, .home-page .cp-content p, .home-page .test-text,
.home-page .fbrand p, .home-page .fci span { color: rgba(17, 26, 54, .66); }

.home-page .trust-strip { background: rgba(255, 255, 255, .60); }
.home-page .tlogo { color: rgba(17, 26, 54, .34); }
.home-page .tlogo:hover { color: rgba(17, 26, 54, .7); }

.home-page .cp-term { color: #fff; background: rgba(10, 21, 49, .91); }
.home-page .cp-term * { color: inherit; }

.home-page .cta-dark {
  background: #111a36 !important;
  color: #fff;
}

.home-page .cta-dark .h2 { color: #fff; }
.home-page .cta-dark .muted { color: rgba(255, 255, 255, .66); }

/* The light editorial identity applies across every route, not only the homepage. */
body.editorial-page {
  --dark: #f7f8fc;
  --dark2: #eef1f8;
  --navy: #e9edfa;
  --card: #ffffff;
  --white: #111a36;
  --off: #182444;
  --muted: rgba(17, 26, 54, .64);
  --faint: rgba(17, 26, 54, .42);
  --border: rgba(32, 53, 106, .12);
  --border-b: rgba(81, 92, 230, .22);
  --blue: #514ad9;
  --blue-lt: #776cff;
  --blue-glow: rgba(81, 74, 217, .22);
  --pink: #e64b91;
  --pink-lt: #ef73aa;
  --pink-glow: rgba(230, 75, 145, .18);
  background:
    radial-gradient(900px 600px at -10% 5%, rgba(119, 108, 255, .16), transparent 65%),
    radial-gradient(820px 540px at 110% 35%, rgba(88, 198, 255, .16), transparent 65%),
    #f7f8fc;
  color: #111a36;
}

.editorial-page .nav {
  background: rgba(255, 255, 255, .78);
  border-color: rgba(39, 60, 123, .13);
  box-shadow: 0 12px 34px rgba(49, 68, 120, .11);
}
.editorial-page .nav.scrolled { background: rgba(255, 255, 255, .94); }
.editorial-page .nav-links a { color: rgba(17, 26, 54, .68); }
.editorial-page .nav-links a:hover { color: #111a36; background: rgba(81, 74, 217, .08); }
.editorial-page .hamburger span { background: #111a36; }

.editorial-page .pg-hero {
  min-height: 48vh;
  background:
    radial-gradient(circle at 15% 20%, rgba(119, 108, 255, .17), transparent 28%),
    radial-gradient(circle at 80% 22%, rgba(88, 198, 255, .15), transparent 30%),
    transparent;
}
.editorial-page .pg-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .78), rgba(247, 248, 252, .16)); }
.editorial-page .pg-hero .wrap { position: relative; z-index: 1; }
.editorial-page .h1 { color: #111a36; text-shadow: none; }
.editorial-page .muted { color: rgba(17, 26, 54, .64); }
.editorial-page .grad-b { background-image: linear-gradient(125deg, #111a36 16%, #514ad9 62%, #e64b91); }
.editorial-page .sec:nth-of-type(odd) { background: #f7f8fc !important; }
.editorial-page .sec:nth-of-type(even) { background: #e9edfa !important; }

.editorial-page .ben-card, .editorial-page .geo-card, .editorial-page .diff-card,
.editorial-page .cc, .editorial-page .bundle-card, .editorial-page .dl-card,
.editorial-page .bc, .editorial-page .feat, .editorial-page .sb-card,
.editorial-page .ci-card, .editorial-page .pt-card, .editorial-page .tier-card,
.editorial-page .curr-item, .editorial-page .hist-card, .editorial-page .card,
.editorial-page .vid-card, .editorial-page .tool-row-r {
  background: rgba(255, 255, 255, .88);
  border-color: rgba(39, 60, 123, .12);
  box-shadow: 0 16px 42px rgba(49, 68, 120, .10), inset 0 1px 0 rgba(255, 255, 255, .90);
}
.editorial-page .ben-card:hover, .editorial-page .geo-card:hover, .editorial-page .diff-card:hover,
.editorial-page .cc:hover, .editorial-page .bundle-card:hover, .editorial-page .dl-card:hover,
.editorial-page .bc:hover, .editorial-page .feat:hover, .editorial-page .sb-card:hover,
.editorial-page .ci-card:hover, .editorial-page .pt-card:hover, .editorial-page .tier-card:hover,
.editorial-page .curr-item:hover, .editorial-page .hist-card:hover, .editorial-page .vid-card:hover,
.editorial-page .tool-row-r:hover { border-color: rgba(81, 74, 217, .36); box-shadow: 0 24px 56px rgba(49, 68, 120, .16); }
.editorial-page .dl-top, .editorial-page .vid-thumb { background: #111a36; }
.editorial-page .dl-body p, .editorial-page .vid-body p, .editorial-page .tool-desc,
.editorial-page .ben-card p, .editorial-page .cp-content p, .editorial-page .test-text { color: rgba(17, 26, 54, .66); }
.editorial-page .footer { --white: #fff; --muted: rgba(255, 255, 255, .62); --faint: rgba(255, 255, 255, .38); --border: rgba(255, 255, 255, .10); }

/* Gated eBook experience. */
.ebook-section { position: relative; overflow: hidden; padding: 112px 0; background: #101a39 !important; color: #fff; }
.ebook-section::before, .ebook-section::after { content: ''; position: absolute; width: 620px; height: 620px; border-radius: 50%; pointer-events: none; filter: blur(12px); }
.ebook-section::before { top: -350px; left: -240px; background: radial-gradient(circle, rgba(90, 203, 255, .31), transparent 68%); }
.ebook-section::after { right: -300px; bottom: -430px; background: radial-gradient(circle, rgba(232, 75, 145, .28), transparent 68%); }
.ebook-section .wrap { position: relative; z-index: 1; }
.ebook-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr); gap: clamp(36px, 7vw, 104px); align-items: center; }
.ebook-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid rgba(149, 217, 255, .28); border-radius: 999px; background: rgba(255, 255, 255, .06); color: #a9e4ff; font-size: 11px; font-weight: 700; letter-spacing: .10em; text-transform: uppercase; }
.ebook-title { margin: 20px 0 18px; font-family: var(--fd); font-size: clamp(36px, 4.7vw, 64px); line-height: 1.01; letter-spacing: -.05em; }
.ebook-title em { color: #b9a8ff; font-style: normal; }
.ebook-copy { max-width: 560px; color: rgba(255, 255, 255, .72); font-size: 16px; line-height: 1.75; }
.ebook-points { display: grid; gap: 12px; margin: 26px 0 0; }
.ebook-point { display: flex; align-items: center; gap: 11px; color: rgba(255, 255, 255, .86); font-size: 14px; }
.ebook-point span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(91, 194, 255, .15); color: #8edbff; font-size: 12px; font-weight: 800; }
.ebook-studio { display: grid; grid-template-columns: minmax(175px, .78fr) minmax(280px, 1fr); align-items: center; gap: 30px; }
.ebook-cover { min-height: 330px; padding: 26px; border: 1px solid rgba(155, 224, 255, .32); border-radius: 13px 24px 24px 13px; background: linear-gradient(150deg, rgba(22, 49, 102, .96), rgba(38, 20, 88, .96)), url('assets/omixlab-dna-hero.png') center/cover; background-blend-mode: multiply; box-shadow: -12px 18px 0 rgba(255, 255, 255, .08), 0 30px 70px rgba(0, 0, 0, .34); transform: rotate(-5deg); }
.ebook-cover::before { content: 'OMIXLAB'; display: block; color: #a8e3ff; font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.ebook-cover h3 { max-width: 250px; margin: 36px 0 10px; font-family: var(--fd); font-size: clamp(26px, 2.7vw, 38px); line-height: .98; letter-spacing: -.05em; }
.ebook-cover p { color: rgba(255, 255, 255, .72); font-size: 12px; line-height: 1.6; }
.ebook-cover small { display: block; margin-top: 38px; color: rgba(255, 255, 255, .46); font-family: var(--fm); font-size: 10px; }
.lead-card { padding: 28px; border: 1px solid rgba(177, 222, 255, .20); border-radius: 22px; background: rgba(255, 255, 255, .09); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 24px 60px rgba(0, 0, 0, .18); backdrop-filter: blur(16px); }
.lead-card h3 { font-family: var(--fd); font-size: 23px; letter-spacing: -.03em; }
.lead-card > p { margin-top: 8px; color: rgba(255, 255, 255, .64); font-size: 13px; line-height: 1.6; }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.lead-field { display: grid; gap: 7px; }
.lead-field.full { grid-column: 1 / -1; }
.lead-field label { color: rgba(255, 255, 255, .74); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.lead-field input { width: 100%; padding: 12px 13px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 10px; background: rgba(5, 14, 32, .42); color: #fff; font: inherit; font-size: 14px; }
.lead-field input::placeholder { color: rgba(255, 255, 255, .35); }
.lead-field input:focus { border-color: #91dcff; box-shadow: 0 0 0 4px rgba(93, 194, 255, .16); }
.lead-submit { grid-column: 1 / -1; justify-content: center; min-height: 50px; margin-top: 4px; background: linear-gradient(135deg, #53c4ff, #776cff 65%, #e85a9d); box-shadow: 0 12px 28px rgba(61, 159, 240, .26); }
.lead-consent { grid-column: 1 / -1; color: rgba(255, 255, 255, .44); font-size: 10px; line-height: 1.55; }
.lead-success { display: none; margin-top: 15px; padding: 12px 14px; border: 1px solid rgba(119, 240, 174, .28); border-radius: 10px; background: rgba(55, 197, 121, .12); color: #b1ffd1; font-size: 13px; line-height: 1.5; }
.lead-success.on { display: block; }
.ebook-teaser { padding: 0 0 100px; background: #f7f8fc; }
.ebook-teaser-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr .8fr; gap: 34px; align-items: center; padding: 42px; border-radius: 28px; background: linear-gradient(125deg, #111a36, #242260 62%, #6f49b8); box-shadow: 0 24px 60px rgba(38, 35, 96, .22); color: #fff; }
.ebook-teaser-card::after { content: ''; position: absolute; width: 360px; height: 360px; right: -80px; bottom: -190px; border-radius: 50%; background: url('assets/omixlab-dna-hero.png') center/cover; opacity: .42; mix-blend-mode: screen; }
.ebook-teaser-copy, .ebook-teaser-art { position: relative; z-index: 1; }
.ebook-teaser-card h2 { margin: 12px 0; font-family: var(--fd); font-size: clamp(28px, 3.3vw, 44px); line-height: 1.06; letter-spacing: -.04em; }
.ebook-teaser-card p { max-width: 570px; color: rgba(255, 255, 255, .68); line-height: 1.65; }
.ebook-teaser-art { display: flex; align-items: center; justify-content: flex-end; }
.ebook-mini-cover { width: 150px; padding: 18px; border: 1px solid rgba(185, 230, 255, .33); border-radius: 9px 16px 16px 9px; background: linear-gradient(145deg, #0e3266, #501b8a); box-shadow: -8px 10px 0 rgba(255, 255, 255, .10), 0 20px 38px rgba(0, 0, 0, .30); transform: rotate(7deg); }
.ebook-mini-cover span { color: #a9e4ff; font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.ebook-mini-cover strong { display: block; margin-top: 28px; font-family: var(--fd); font-size: 22px; line-height: 1; }

@media (max-width: 900px) { .ebook-grid { grid-template-columns: 1fr; } .ebook-studio { grid-template-columns: minmax(180px, .65fr) 1fr; max-width: 680px; } }
@media (max-width: 640px) { .ebook-section { padding: 74px 0; } .ebook-studio, .ebook-teaser-card { grid-template-columns: 1fr; } .ebook-cover { min-height: 260px; max-width: 235px; margin: 0 auto; } .lead-form { grid-template-columns: 1fr; } .lead-field.full, .lead-submit, .lead-consent { grid-column: auto; } .ebook-teaser-card { padding: 30px; } .ebook-teaser-art { justify-content: flex-start; } }

/* Interaction and layout corrections. */
.editorial-page .filter-bar { position: relative !important; top: auto !important; z-index: auto !important; }

/* Keep the workshop navigation readable when the light editorial theme is active. */
.editorial-page .drop-menu { background: rgba(255, 255, 255, .98); border-color: rgba(39, 60, 123, .14); box-shadow: 0 18px 42px rgba(27, 43, 91, .16); }
.editorial-page .drop-menu .drop-item { color: #111a36 !important; }
.editorial-page .drop-menu .drop-item:hover { background: rgba(81, 74, 217, .08); }
.editorial-page .drop-menu .drop-item small { color: rgba(17, 26, 54, .58) !important; }

/* About OmixLab: consistently align the check mark and its copy as two columns. */
.editorial-page .chk-list li { display: grid !important; grid-template-columns: 20px minmax(0, 1fr); column-gap: 12px; align-items: start !important; }
.editorial-page .chk-list .chk-dot { grid-column: 1; margin-top: 2px; }

/* Stronger text contrast on image-led workshop cards. */
.editorial-page .ws-prog-card::after { background: linear-gradient(180deg, rgba(7, 16, 40, .32) 0%, rgba(7, 16, 40, .82) 48%, rgba(7, 16, 40, .98) 100%); }
.editorial-page .ws-prog-content { padding: 28px; text-shadow: 0 2px 12px rgba(0, 0, 0, .55); }
.editorial-page .ws-prog-content h3 { color: #fff; }
.editorial-page .ws-prog-content p { color: rgba(255, 255, 255, .90); }

/* Prevent the long eBook title from spilling off its illustrated cover. */
.ebook-cover h3 { max-width: 215px; font-size: clamp(22px, 2.05vw, 31px); line-height: 1.02; overflow-wrap: anywhere; }

/* Email addresses are supplied as images to avoid exposing the text in the page source. */
.contact-email-img { display: block; width: min(100%, 242px); height: auto; border-radius: 4px; box-shadow: 0 5px 13px rgba(17, 26, 54, .10); }
.editorial-page .ci-val:has(.contact-email-img) { margin-top: 11px; }

/* Homepage workshop previews need the same deliberate contrast as the workshop page. */
.editorial-page .ws-preview-card::after { background: linear-gradient(180deg, rgba(7, 16, 40, .28) 0%, rgba(7, 16, 40, .84) 52%, rgba(7, 16, 40, .98) 100%); }
.editorial-page .ws-preview-content { text-shadow: 0 2px 12px rgba(0, 0, 0, .58); }
.editorial-page .ws-preview-content h3 { color: #fff; }
.editorial-page .ws-preview-content p { color: rgba(255, 255, 255, .88); }

/* Workshop arrow stays after the label and the dropdown has no hover gap. */
.editorial-page .has-drop > a { display: inline-flex; align-items: center; gap: 6px; }
.editorial-page .has-drop > a::before { content: none; }
.editorial-page .has-drop > a::after { content: ''; flex: 0 0 auto; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 4px solid currentColor; margin-left: 2px; opacity: .62; }
.editorial-page .drop-menu { top: 100%; z-index: 1100; }
.editorial-page .has-drop:focus-within .drop-menu { opacity: 1; pointer-events: all; }

/* Keep the eBook title intact on both the homepage teaser and the full resource page. */
.ebook-studio { grid-template-columns: minmax(270px, .78fr) minmax(280px, 1fr); }
.ebook-cover h3 { max-width: none; font-size: clamp(15px, 1.18vw, 18px); line-height: 1.08; letter-spacing: -.07em; white-space: nowrap; overflow-wrap: normal; word-break: normal; hyphens: none; }
.ebook-mini-cover { width: 222px; }
.ebook-mini-cover strong { font-size: 13px; line-height: 1.1; letter-spacing: -.07em; white-space: nowrap; }

@media (max-width: 640px) {
  .ebook-cover { max-width: 285px; }
  .ebook-cover h3 { font-size: 15px; }
}

/* Restore a high-contrast text system inside the full-bleed workshop heroes. */
.editorial-page .ws-hero { --white: #fff; --off: #fff; --muted: rgba(255, 255, 255, .78); --faint: rgba(255, 255, 255, .50); --border: rgba(255, 255, 255, .18); }
.editorial-page .ws-hero-img img { filter: brightness(.42) saturate(.92); }
.editorial-page .ws-hero-overlay { background: linear-gradient(90deg, rgba(4, 10, 28, .97) 0%, rgba(4, 10, 28, .91) 48%, rgba(6, 19, 43, .45) 100%); }
.editorial-page .ws-hero .h1 { color: #fff; text-shadow: 0 3px 18px rgba(0, 0, 0, .56); }
.editorial-page .ws-hero .muted { color: rgba(255, 255, 255, .80); text-shadow: 0 2px 10px rgba(0, 0, 0, .45); }
.editorial-page .ws-hero .ey { text-shadow: 0 1px 8px rgba(0, 0, 0, .42); }

/* The homepage partnership card is also image-led, so its ghost button stays light. */
.home-page .ws-preview-content .btn-gh { color: #fff; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .46); box-shadow: 0 7px 18px rgba(0, 0, 0, .16); }
.home-page .ws-preview-content .btn-gh:hover { color: #fff; background: rgba(255, 255, 255, .22); border-color: rgba(255, 255, 255, .78); }
