/* ============================================================
   OMNIO — design tokens
   ============================================================ */
:root {
  /* palette */
  --cream: #f5efe7;
  --cream-2: #ebe3d6;
  --cream-3: #e0d6c4;
  --ink: #30354b;
  --ink-2: #1c1f2e;
  --ink-soft: #5a607a;
  --ink-mute: #8a90a6;
  --line: #e2dccf;
  --line-strong: #c9c1ae;

  /* extended neutrals */
  --neutral-black: #0d1114;
  --cool-charcoal: #3e414a;
  --storm-mist: #999ea3;
  --pale-light: #cdcfcf;
  --hour-glass: #e7e5e0;
  --frost: #f5f3ef;
  --magenta: #e921b2;
  --magenta-deep: #b8158a;
  --teal: #72b8b3;
  --teal-deep: #4a8b86;
  /* --bio-blue is an alias for --ink (Cubit's brand Bio Blue) */
  --bio-blue: #30354b;
  --bio-blue-deep: #1c1f2e;

  /* type */
  --display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --mono: 'Plus Jakarta Sans', system-ui, sans-serif;
  --mono-weight: 200;

  /* sizing */
  --gutter: clamp(20px, 4vw, 64px);
  --maxw: 1400px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--body);
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--magenta); color: white; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* Apply light weight to any element using --mono via inline style */
[style*="var(--mono)"] {
  font-weight: 200;
}
.eyebrow {
  font-family: var(--mono);
  font-weight: var(--mono-weight);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--eyebrow-color, var(--ink-soft));
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--eyebrow-dot, var(--magenta));
  display: inline-block;
}
.eyebrow.bare::before { display: none; }

/* display headings */
.display-xl {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(48px, 7.5vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0;
}
.display-lg {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0;
}
.display-md {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.lede {
  font-family: var(--body);
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 60ch;
  font-weight: 400;
  margin: 0;
}

/* sections */
.section {
  padding-block: clamp(80px, 10vw, 160px);
  position: relative;
}
.section.dense { padding-block: clamp(60px, 7vw, 110px); }
.section.tight { padding-block: clamp(40px, 5vw, 70px); }
.section.dark {
  background: var(--ink-2);
  color: var(--cream);
}
.section.dark .lede { color: rgba(245,239,231,0.7); }
.section.dark .display-xl, .section.dark .display-lg, .section.dark .display-md { color: var(--cream); }
.section.dark .eyebrow { color: rgba(245,239,231,0.55); }

/* Offset anchor jumps so the sticky nav never overlaps a section heading */
section[id] { scroll-margin-top: 100px; }

/* nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245,239,231,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 18px;
  gap: 32px;
}
.nav-logo { height: 22px; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a { color: var(--ink); transition: color 0.2s; }
.nav-links a:hover { color: var(--magenta); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--btn-hover-bg); }
@media (max-width: 760px) {
  .nav-links { display: none; }
}

/* btn */
:root {
  --btn-bg: var(--ink);
  --btn-fg: var(--cream);
  --btn-border: var(--ink);
  --btn-hover-bg: var(--magenta);
  --btn-hover-border: var(--magenta);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-fg);
  transition: all 0.2s;
}
.btn:hover { background: var(--btn-hover-bg); border-color: var(--btn-hover-border); color: var(--btn-fg); }
.btn.ghost { background: transparent; color: var(--btn-bg); border-color: var(--btn-bg); }
.btn.ghost:hover { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }

/* divider rule */
.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}
.section.dark .rule { border-top-color: rgba(245,239,231,0.12); }

/* footer */
footer.site-footer {
  background: var(--ink-2);
  color: var(--cream);
  padding: 80px 0 32px;
}
footer .foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 800px) {
  footer .foot-grid { grid-template-columns: 1fr 1fr; }
}
footer h5 {
  font-family: var(--mono);
  font-weight: var(--mono-weight);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,239,231,0.5);
  margin: 0 0 14px;
  font-weight: 500;
}
footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
footer a { color: rgba(245,239,231,0.85); font-size: 14px; transition: color 0.2s; }
footer a:hover { color: var(--magenta); }
.foot-bottom {
  margin-top: 80px;
  padding-top: 24px;
  border-top: 1px solid rgba(245,239,231,0.12);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
  color: rgba(245,239,231,0.55);
  font-family: var(--mono);
  font-weight: var(--mono-weight);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
}
.disclaimer {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(245,239,231,0.5);
  max-width: 70ch;
  font-family: var(--mono);
  font-weight: var(--mono-weight);
  letter-spacing: 0.02em;
}

/* animation */
@keyframes rotate-valve {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
