/* ============================================================
   BIOMADICS — 2026 · Light, minimalist, deep-navy typography
   ============================================================ */

@font-face {
  font-family: "Finlandica Headline";
  src: url("../fonts/FinlandicaHeadline-VariableFont_wght.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Finlandica Headline";
  src: url("../fonts/FinlandicaHeadline-Italic-VariableFont_wght.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #f7f9fc;
  --bg-alt: #eef3f9;
  --surface: #ffffff;
  --navy: #0b2447;
  --navy-deep: #071a36;
  --ink: #12315e;
  --muted: #5a6f8f;
  --line: rgba(11, 36, 71, 0.12);
  --accent: #1f6feb;
  --accent-soft: #dcE9fb;
  --teal: #0e9594;
  --radius: 20px;
  --font: "Finlandica Headline", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--navy); color: #fff; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }

.container { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.wide { width: min(1440px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; color: var(--navy); }
.display {
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  font-weight: 650;
}
.h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
.h3 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink); line-height: 1.6; }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 1.4rem;
}
.eyebrow::before {
  content: ""; width: 2.2rem; height: 1.5px; background: var(--accent);
  display: inline-block;
}

.serif-i { font-style: italic; font-weight: 420; }
.accent-text { color: var(--accent); }

/* split-line reveal */
.split-lines .sl-line { display: block; overflow: hidden; }
.split-lines .sl-inner { display: block; transform: translateY(110%); }
html.no-js .split-lines .sl-inner, html.reduced .split-lines .sl-inner { transform: none; }

[data-reveal] { opacity: 0; transform: translateY(34px); will-change: transform, opacity; }
html.no-js [data-reveal], html.reduced [data-reveal] { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 1rem 1.9rem; border-radius: 100px;
  font-size: 0.98rem; font-weight: 600; letter-spacing: 0.02em;
  border: 1.5px solid var(--navy); cursor: pointer;
  overflow: hidden; transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
  isolation: isolate; background: transparent; color: var(--navy);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--navy); border-radius: 100px;
  transform: translateY(101%); transition: transform 0.45s var(--ease);
}
.btn:hover { color: #fff; }
.btn:hover::after { transform: translateY(0); }
.btn .arr { transition: transform 0.35s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }

.btn-solid { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-solid::after { background: var(--accent); }
.btn-solid:hover { border-color: var(--accent); }

.btn-light { border-color: rgba(255,255,255,0.55); color: #fff; }
.btn-light::after { background: #fff; }
.btn-light:hover { color: var(--navy); border-color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  transition: transform 0.5s var(--ease), background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.site-header.scrolled {
  background: rgba(247, 249, 252, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.hidden { transform: translateY(-100%); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--gutter);
}
.logo { display: flex; align-items: baseline; gap: 2px; font-size: 1.45rem; font-weight: 750; letter-spacing: -0.01em; z-index: 101; position: relative; }
.logo .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; transform: translateY(-2px); }
.logo em { font-style: normal; color: var(--accent); }

.nav-desktop { display: flex; gap: 2.1rem; align-items: center; }
.nav-desktop a {
  position: relative; font-size: 0.95rem; font-weight: 550; color: var(--ink);
  padding: 0.3rem 0;
}
.nav-desktop a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%;
  background: var(--navy); transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav-desktop a:hover::after, .nav-desktop a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { margin-left: 0.8rem; }
.nav-cta .btn { padding: 0.65rem 1.4rem; font-size: 0.88rem; }

/* burger */
.burger {
  display: none; z-index: 101; position: relative;
  width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: 50%;
  background: var(--surface); cursor: pointer;
}
.burger span {
  position: absolute; left: 12px; right: 12px; height: 1.8px; background: var(--navy);
  transition: transform 0.4s var(--ease), top 0.4s var(--ease), opacity 0.3s;
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 100; background: var(--navy-deep);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--gutter);
  clip-path: circle(0% at calc(100% - 3.4rem) 2.4rem);
  transition: clip-path 0.7s var(--ease);
  visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 3.4rem) 2.4rem); visibility: visible; }
.mobile-menu a.mm-link {
  font-size: clamp(2rem, 8vw, 3.2rem); font-weight: 650; color: #fff;
  padding: 0.45rem 0; line-height: 1.15; display: flex; align-items: baseline; gap: 1rem;
  opacity: 0.92;
}
.mobile-menu a.mm-link .idx { font-size: 0.8rem; color: var(--accent); font-weight: 500; letter-spacing: 0.15em; }
.mobile-menu a.mm-link:hover { color: #9cc4ff; }
.mm-foot { margin-top: 2.5rem; color: rgba(255,255,255,0.55); font-size: 0.9rem; }
.menu-open body { overflow: hidden; }

/* ---------- Page transition veil ---------- */
.veil {
  position: fixed; inset: 0; z-index: 999; pointer-events: none;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.veil span { background: var(--navy-deep); transform: scaleY(0); transform-origin: top; }
.veil.active { pointer-events: all; }
.veil-logo {
  position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center;
  color: #fff; font-size: 1.6rem; font-weight: 750; opacity: 0; pointer-events: none;
}
.veil-logo em { font-style: normal; color: #6ea8fe; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 9rem 0 4rem; overflow: hidden;
}
.hero-canvas { position: absolute; inset: 0; z-index: 0; opacity: 0.9; }
.hero-grid-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(circle at 78% 30%, rgba(31,111,235,0.10), transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(14,149,148,0.08), transparent 40%);
}
.hero .container { position: relative; z-index: 2; }
.hero-kicker { margin-bottom: 1.6rem; }
.hero h1 { max-width: 16ch; }
.hero-sub { max-width: 56ch; margin-top: 1.8rem; color: var(--muted); font-size: clamp(1.02rem, 1.4vw, 1.18rem); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.6rem; }
.hero-meta {
  display: flex; gap: 2.6rem; margin-top: 4rem; flex-wrap: wrap;
}
.hero-meta .hm { border-left: 1.5px solid var(--line); padding-left: 1.1rem; }
.hero-meta .hm b { display: block; font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 700; line-height: 1.1; }
.hero-meta .hm small { color: var(--muted); font-size: 0.85rem; letter-spacing: 0.04em; }

.scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: var(--muted); font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase;
}
.scroll-hint::after {
  content: ""; width: 1.5px; height: 42px; background: linear-gradient(var(--navy), transparent);
  animation: drip 1.8s var(--ease) infinite;
}
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* inner-page hero */
.page-hero { padding: 11rem 0 5rem; position: relative; overflow: hidden; }
.page-hero .display { max-width: 18ch; }
.page-hero .lead { max-width: 62ch; margin-top: 1.6rem; }
.page-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(31,111,235,0.13), transparent 50%),
    radial-gradient(circle at 8% 90%, rgba(14,149,148,0.10), transparent 45%);
}
.page-hero-bg::before {
  content: ""; position: absolute; top: 14%; right: 6%;
  width: 300px; height: 300px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(110,168,254,0.35), rgba(14,149,148,0.18));
  filter: blur(60px);
}
.page-hero-bg::after {
  content: ""; position: absolute; top: 20%; right: 10%;
  width: 190px; height: 190px; border-radius: 50%;
  border: 1.5px dashed rgba(31,111,235,0.30);
  animation: spin-slow 40s linear infinite;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
@media (max-width: 860px) { .page-hero-bg::after { display: none; } }
.page-hero .container { position: relative; }
.crumb { font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.6rem; display: block; }
.crumb a:hover { color: var(--accent); }

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1.5px solid var(--line);
  padding: 1.6rem 0; overflow: hidden; background: var(--surface);
}
.marquee-track { display: flex; gap: 3.5rem; width: max-content; will-change: transform; animation: marquee 30s linear infinite; }
.marquee span {
  font-size: clamp(1.2rem, 2.4vw, 1.9rem); font-weight: 600; letter-spacing: 0.02em;
  color: var(--navy); display: flex; align-items: center; gap: 3.5rem; white-space: nowrap;
}
.marquee span i { font-style: normal; color: var(--accent); font-size: 0.8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(5rem, 10vw, 8.5rem) 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-navy { background: var(--navy-deep); color: #e8eefb; }
.section-navy h2, .section-navy h3, .section-navy .h2 { color: #fff; }
.section-navy .muted { color: rgba(232,238,251,0.6); }
.section-navy .eyebrow { color: #6ea8fe; }
.section-navy .eyebrow::before { background: #6ea8fe; }

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { margin-top: 1.2rem; color: var(--muted); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.two-col .sticky-col { position: sticky; top: 8rem; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }

.card {
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 2.2rem 1.9rem; position: relative; overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -24px rgba(11,36,71,0.22); border-color: rgba(31,111,235,0.35); }
.card .num {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.15em; color: var(--accent);
  display: block; margin-bottom: 1.4rem;
}
.card h3 { font-size: 1.28rem; margin-bottom: 0.7rem; }
.card p { color: var(--muted); font-size: 0.96rem; }
.card .card-ico { width: 46px; height: 46px; border-radius: 14px; background: var(--accent-soft); display: grid; place-items: center; margin-bottom: 1.3rem; color: var(--accent); }
.card .card-ico svg { width: 22px; height: 22px; }

/* hover-line list (services / products index rows) */
.row-list { border-top: 1.5px solid var(--line); }
.row-item {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem;
  padding: 2rem 0.5rem; border-bottom: 1.5px solid var(--line);
  position: relative; transition: padding 0.45s var(--ease), background 0.45s;
  cursor: default;
}
.row-item .ri-num { font-size: 0.82rem; color: var(--muted); font-weight: 600; letter-spacing: 0.1em; width: 3ch; }
.row-item .ri-title { font-size: clamp(1.25rem, 2.6vw, 1.9rem); font-weight: 600; transition: color 0.3s, transform 0.45s var(--ease); }
.row-item .ri-desc { grid-column: 2; color: var(--muted); font-size: 0.95rem; max-width: 62ch; margin-top: 0.4rem; }
.row-item .ri-arrow { color: var(--line); transition: color 0.3s, transform 0.45s var(--ease); font-size: 1.4rem; }
.row-item:hover { padding-left: 1.2rem; }
.row-item:hover .ri-title { color: var(--accent); }
.row-item:hover .ri-arrow { color: var(--accent); transform: translateX(6px) rotate(-45deg); }

/* value pills */
.pill-grid { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.pill {
  border: 1.5px solid var(--line); background: var(--surface); border-radius: 100px;
  padding: 0.75rem 1.4rem; font-size: 0.95rem; font-weight: 550;
  display: inline-flex; align-items: center; gap: 0.55rem;
  transition: background 0.35s, color 0.35s, border-color 0.35s, transform 0.35s var(--ease);
}
.pill i { font-style: normal; color: var(--accent); }
.pill:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-3px); }
.pill:hover i { color: #6ea8fe; }

/* big statement */
.statement {
  font-size: clamp(1.7rem, 4vw, 3.1rem); font-weight: 560; line-height: 1.28;
  letter-spacing: -0.015em; max-width: 22ch;
}
.statement .accent-text { font-style: italic; font-weight: 480; }
.statement-wide { max-width: 30ch; }

/* stats band */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.stat {
  border-top: 1.5px solid rgba(255,255,255,0.18); padding-top: 1.4rem;
}
.stat b { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; display: block; line-height: 1; color: #fff; }
.stat b i { font-style: normal; color: #6ea8fe; }
.stat small { color: rgba(232,238,251,0.6); font-size: 0.9rem; display: block; margin-top: 0.6rem; }

/* city chips */
.city-strip { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 2rem; }
.city {
  padding: 0.6rem 1.2rem; border-radius: 100px; font-size: 0.9rem; font-weight: 550;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); color: #dbe7fa;
}
.city.hq { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .h2 { max-width: 20ch; }
.cta-inner {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2.5rem;
}
.cta-inner p { max-width: 48ch; margin-top: 1.2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #cfdcf3; padding: 5rem 0 2rem; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 3rem;
  padding-bottom: 3.5rem; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1.2rem; font-weight: 600; }
.footer-grid a { display: block; padding: 0.28rem 0; color: rgba(207,220,243,0.75); font-size: 0.95rem; transition: color 0.3s, transform 0.3s var(--ease); }
.footer-grid a:hover { color: #fff; transform: translateX(4px); }
.footer-brand p { color: rgba(207,220,243,0.65); font-size: 0.95rem; max-width: 34ch; margin-top: 1rem; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-top: 1.8rem; font-size: 0.85rem; color: rgba(207,220,243,0.5);
}
.footer-big {
  font-size: clamp(3rem, 11vw, 9rem); font-weight: 750; letter-spacing: -0.03em;
  color: rgba(255,255,255,0.06); line-height: 1; margin: 3rem 0 -1rem;
  white-space: nowrap; overflow: hidden; user-select: none;
}

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  font-family: inherit; font-size: 1rem; color: var(--navy);
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 0.95rem 1.1rem; outline: none; transition: border-color 0.3s, box-shadow 0.3s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--accent); box-shadow: 0 0 0 4px rgba(31,111,235,0.12);
}
.field textarea { min-height: 150px; resize: vertical; }

/* ---------- FAQ accordion ---------- */
.faq-item { border-bottom: 1.5px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.7rem 0.3rem; font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; color: var(--navy);
}
.faq-q .fx { flex: none; width: 34px; height: 34px; border: 1.5px solid var(--line); border-radius: 50%; position: relative; transition: transform 0.45s var(--ease), background 0.3s, border-color 0.3s; }
.faq-q .fx::before, .faq-q .fx::after {
  content: ""; position: absolute; background: var(--navy); top: 50%; left: 50%;
  transition: background 0.3s;
}
.faq-q .fx::before { width: 12px; height: 1.6px; transform: translate(-50%, -50%); }
.faq-q .fx::after { width: 1.6px; height: 12px; transform: translate(-50%, -50%); }
.faq-item.open .fx { transform: rotate(135deg); background: var(--navy); border-color: var(--navy); }
.faq-item.open .fx::before, .faq-item.open .fx::after { background: #fff; }
.faq-a { overflow: hidden; height: 0; }
.faq-a p { padding: 0 0.3rem 1.7rem; color: var(--muted); max-width: 70ch; }

/* ---------- misc ---------- */
.divider-num {
  font-size: 0.8rem; letter-spacing: 0.2em; color: var(--muted); text-transform: uppercase;
  display: flex; align-items: center; gap: 1rem; margin-bottom: 2.5rem;
}
.divider-num::after { content: ""; flex: 1; height: 1.5px; background: var(--line); }

.check-list li {
  display: flex; gap: 0.9rem; padding: 0.55rem 0; color: var(--ink); font-size: 1.02rem;
}
.check-list li::before {
  content: "✓"; color: var(--accent); font-weight: 700; flex: none;
}
.section-navy .check-list li { color: #dbe7fa; }

.img-frame { border-radius: var(--radius); overflow: hidden; position: relative; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }

.tag-note { font-size: 0.85rem; color: var(--muted); letter-spacing: 0.05em; }

/* ---------- Gradient & graphic utilities ---------- */
.g-blob { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: 0; }
.g-blob.b-blue { background: rgba(31,111,235,0.16); }
.g-blob.b-teal { background: rgba(14,149,148,0.14); }
.g-blob.b-sky  { background: rgba(110,168,254,0.18); }
.section > .container, .section > .wide { position: relative; z-index: 1; }

.card-grad {
  background: linear-gradient(135deg, #e8f0fc 0%, #f2f7fd 45%, #e3f2f1 100%);
  border-color: transparent;
}
.card-navy {
  background: linear-gradient(140deg, #0b2447, #14315e 60%, #0e4a8a);
  border-color: transparent; color: #dbe7fa;
}
.card-navy h3 { color: #fff; }
.card-navy p { color: rgba(219,231,250,0.72); }
.card-navy .num { color: #6ea8fe; }
.card-accent {
  background: linear-gradient(135deg, #1f6feb, #4a8bf5 70%, #6ea8fe);
  border-color: transparent; color: #eaf2ff;
}
.card-accent h3 { color: #fff; }
.card-accent p { color: rgba(234,242,255,0.85); }
.card-teal { background: linear-gradient(135deg, #e2f4f3, #f0fafa); border-color: transparent; }

/* small floating chip label (reference-style) */
.chip {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.4rem 0.95rem; border-radius: 100px; font-size: 0.8rem; font-weight: 600;
  background: var(--surface); border: 1.5px solid var(--line); color: var(--ink);
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.chip.on-dark { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.16); color: #dbe7fa; }

/* bento grid */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; grid-auto-rows: minmax(190px, auto); }
.bento .card { display: flex; flex-direction: column; justify-content: flex-end; }
.bento .card .num { margin-bottom: auto; }
.b-span2 { grid-column: span 2; }
.b-span2r { grid-row: span 2; }
.bento .big-stat { font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 750; line-height: 1; }
.bento .mini-visual { position: absolute; right: 1.2rem; top: 1.2rem; opacity: 0.9; width: 74px; height: 74px; }

/* decorative dotted helix strip */
.deco-dots { position: absolute; inset: auto 0 0 0; height: 120px; overflow: hidden; opacity: 0.5; pointer-events: none; }

/* numbered feature rows (alt to cards) */
.num-rows { counter-reset: nr; }
.num-row {
  display: grid; grid-template-columns: 4.2rem 1fr 2fr; gap: 1.6rem; align-items: baseline;
  padding: 1.6rem 0; border-top: 1.5px solid var(--line);
}
.num-row::before {
  counter-increment: nr; content: "0" counter(nr);
  font-size: 0.85rem; font-weight: 650; color: var(--accent); letter-spacing: 0.12em;
}
.num-row h3 { font-size: 1.25rem; }
.num-row p { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 720px) { .num-row { grid-template-columns: 3rem 1fr; } .num-row p { grid-column: 2; } }

/* soft gradient band */
.band-grad {
  background:
    radial-gradient(60% 120% at 12% 0%, rgba(31,111,235,0.10), transparent 60%),
    radial-gradient(50% 100% at 90% 100%, rgba(14,149,148,0.10), transparent 55%),
    var(--bg-alt);
}

/* icon bubble */
.ico-bubble {
  width: 54px; height: 54px; border-radius: 18px; flex: none;
  background: linear-gradient(135deg, var(--accent), #6ea8fe);
  display: grid; place-items: center; color: #fff; font-size: 1.3rem; font-weight: 700;
  box-shadow: 0 10px 22px -10px rgba(31,111,235,0.55);
}

@media (max-width: 1024px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .bento { grid-template-columns: 1fr; } .b-span2 { grid-column: auto; } }

/* product rows (image left / text right) */
.product-row {
  display: grid; grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(2rem, 4vw, 4rem); align-items: center;
}
.product-media { max-width: 400px; }
.product-media {
  display: block; border-radius: var(--radius); overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.product-media:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 30px 60px -30px rgba(11,36,71,0.3); }
.product-media svg { transition: transform 0.6s var(--ease); }
.product-media:hover svg { transform: scale(1.03); }
@media (max-width: 860px) {
  .product-row { grid-template-columns: 1fr; }
  .product-row .product-media { max-width: 480px; }
}

/* legal pages */
.prose { max-width: 72ch; }
.prose p { margin-bottom: 1.3rem; color: var(--ink); }
.prose h2 { margin: 2.5rem 0 1rem; font-size: 1.6rem; }

/* 404 / thank you */
.center-page { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 8rem var(--gutter) 4rem; position: relative; overflow: hidden; }
.center-page .giant { font-size: clamp(6rem, 22vw, 16rem); font-weight: 750; line-height: 0.9; letter-spacing: -0.04em; color: var(--accent-soft); -webkit-text-stroke: 1.5px rgba(31,111,235,0.4); }
.center-page h1 { margin-top: 1rem; }
.center-page p { max-width: 46ch; margin: 1.2rem auto 2.2rem; color: var(--muted); }

/* cursor */
.cursor-dot {
  position: fixed; z-index: 2000; top: 0; left: 0; width: 10px; height: 10px;
  border-radius: 50%; background: var(--accent); pointer-events: none;
  transform: translate(-50%, -50%); mix-blend-mode: multiply;
}
.cursor-ring {
  position: fixed; z-index: 2000; top: 0; left: 0; width: 38px; height: 38px;
  border: 1.5px solid rgba(31,111,235,0.5); border-radius: 50%;
  pointer-events: none; transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, background 0.3s;
}
.cursor-ring.hovering { width: 60px; height: 60px; background: rgba(31,111,235,0.08); }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 2.4rem 1.4rem; }
}
@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .burger { display: block; }
  .two-col { grid-template-columns: 1fr; }
  .two-col .sticky-col { position: static; }
  .row-item { grid-template-columns: auto 1fr; }
  .row-item .ri-arrow { display: none; }
}
@media (max-width: 640px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero { padding-top: 7.5rem; }
  .hero-meta { gap: 1.4rem; }
  .hero-meta .hm { flex: 1 1 40%; }
  .scroll-hint { display: none; }
  .page-hero { padding: 8.5rem 0 3.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation-duration: 90s; }
}
