/* Kokoveda: electronic product development.
   Modern, light by default with deep navy bands; one coral-red accent from the brand heart,
   and one colour per product area: medical (coral), lighting (violet), industrial (amber), automotive (blue). */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/fonts/manrope-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/ibm-plex-mono-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/ibm-plex-mono-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #F7F8FA;
  --bg-2: #EEF1F5;
  --surface: #FFFFFF;
  --ink: #0B1220;
  --ink-dim: #4E5869;
  --line: #E3E7EE;
  --line-strong: #CDD3DD;
  --accent: #D63A22;          /* brand coral-red: buttons, highlights */
  --accent-ink: #B4301B;      /* links on light surfaces */
  --accent-soft: #FCEBE6;
  --med: #D63A22; --med-soft: #FCEBE6;
  --light: #7C3AED; --light-soft: #EFE7FD;
  --ind: #B45309; --ind-soft: #FDF1DF;
  --auto: #1D4ED8; --auto-soft: #E3EBFC;
  --btn: #0B1220; --btn-ink: #FFFFFF;

  /* Deep bands, product frames and the live monitor */
  --dark: #0A0F1C;
  --dark-2: #111829;
  --dark-line: #232C40;
  --dark-ink: #F2F4F8;
  --dark-dim: #A3ADBF;
  --mon-ink: #9AA3AE;
  --teal: #3BD08F;
  --rose: #FF6B7D;
  --grid-minor: rgba(255, 107, 125, 0.12);
  --grid-major: rgba(255, 107, 125, 0.30);

  --font: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --r: 18px;
  --r-sm: 12px;
  --shadow: 0 1px 2px rgba(11, 18, 32, .04), 0 12px 32px -12px rgba(11, 18, 32, .14);
  --shadow-lg: 0 2px 4px rgba(11, 18, 32, .04), 0 30px 60px -24px rgba(11, 18, 32, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A0F1C; --bg-2: #0F1626; --surface: #131B2D; --ink: #F2F4F8; --ink-dim: #A7B0C0; --line: #222B3D; --line-strong: #2F3A50;
    --accent: #E0533B; --accent-ink: #FF8A73; --accent-soft: #3A1A14;
    --med: #FF7A63; --med-soft: #33191A; --light: #A78BFA; --light-soft: #241B3D; --ind: #F5A524; --ind-soft: #2E2312; --auto: #6EA0FF; --auto-soft: #16223D;
    --btn: #F2F4F8; --btn-ink: #0A0F1C;
    --dark: #060A14; --dark-2: #0D1424;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0A0F1C; --bg-2: #0F1626; --surface: #131B2D; --ink: #F2F4F8; --ink-dim: #A7B0C0; --line: #222B3D; --line-strong: #2F3A50;
  --accent: #E0533B; --accent-ink: #FF8A73; --accent-soft: #3A1A14;
  --med: #FF7A63; --med-soft: #33191A; --light: #A78BFA; --light-soft: #241B3D; --ind: #F5A524; --ind-soft: #2E2312; --auto: #6EA0FF; --auto-soft: #16223D;
  --btn: #F2F4F8; --btn-ink: #0A0F1C;
  --dark: #060A14; --dark-2: #0D1424;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .6);
  --shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.025em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.2rem); line-height: 1.06; letter-spacing: -0.03em; }
h3 { font-size: 1.3rem; letter-spacing: -0.015em; }
h4 { font-size: 1.08rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; position: relative; }
@media (min-width: 700px) { .wrap { width: min(1240px, 100% - 64px); } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; z-index: 60; border-radius: 8px; }
.skip:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.grad { background: linear-gradient(100deg, #FF6A4D 0%, #FF3F6C 50%, #B36BFF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; padding: 13px 24px; border-radius: 999px; border: 1px solid var(--btn); background: var(--btn); color: var(--btn-ink); font: 700 0.98rem var(--font); letter-spacing: -0.005em; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent:hover { background: #B92D17; border-color: #B92D17; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface); color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn-small { padding: 9px 18px; font-size: 0.92rem; }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); text-decoration: none; }
.link-arrow:hover { color: var(--accent-ink); }
.link-arrow span { transition: transform .2s var(--ease); }
.link-arrow:hover span { transform: translateX(3px); }

/* Small labels */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--accent-ink); font-size: 0.8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-dim); font-size: 0.82rem; font-weight: 700; line-height: 1.4; }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tag { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px; font-size: 0.78rem; font-weight: 800; letter-spacing: .02em; }
.tag-med { color: var(--med); background: var(--med-soft); }
.tag-light { color: var(--light); background: var(--light-soft); }
.tag-ind { color: var(--ind); background: var(--ind-soft); }
.tag-auto { color: var(--auto); background: var(--auto-soft); }
.status-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 0.82rem; font-weight: 700; color: var(--ink-dim); }
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22A06B; box-shadow: 0 0 0 4px color-mix(in srgb, #22A06B 18%, transparent); }
.status-pill.is-proto::before { background: #E3A008; box-shadow: 0 0 0 4px color-mix(in srgb, #E3A008 20%, transparent); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-name { font-weight: 800; font-size: 1.28rem; letter-spacing: -0.03em; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--ink-dim); font-size: 0.96rem; font-weight: 600; padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.nav-links .btn { margin-left: 8px; }
.menu-btn { display: none; align-items: center; gap: 8px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); border-radius: 999px; padding: 8px 14px; font: 700 0.92rem var(--font); cursor: pointer; }
.menu-icon, .menu-icon::before { display: block; width: 14px; height: 1.8px; background: currentColor; position: relative; transition: transform .2s var(--ease); border-radius: 2px; }
.menu-icon::before { content: ""; position: absolute; top: 5px; }
.menu-icon { top: -2.5px; }
.theme-btn { order: 3; display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; padding: 0; transition: border-color .2s; flex: none; }
.nav-links { order: 2; margin-left: auto; }
.menu-btn { order: 4; }
.theme-btn:hover { border-color: var(--ink); }
.theme-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-btn .sun { display: none; }
.theme-btn.is-dark .sun { display: inline; }
.theme-btn.is-dark .moon { display: none; }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav-inner { gap: 8px; }
  .brand { margin-right: auto; }
  .nav-links { gap: 0; }
  .nav-links a:not(.btn), .nav-links .btn { display: none; }
  .nav.menu-open .nav-links { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 10px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.menu-open .nav-links a:not(.btn) { display: block; padding: 14px 8px; border-radius: 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 1.06rem; background: none; }
  .nav.menu-open .nav-links .btn { display: inline-flex; margin: 16px 0 0; }
  .nav.menu-open .menu-icon { transform: rotate(45deg); top: 0; }
  .nav.menu-open .menu-icon::before { transform: rotate(-90deg); top: 0; }
}
@media (max-width: 420px) { .menu-btn { font-size: 0; gap: 0; padding: 11px; } .theme-btn { width: 36px; height: 36px; } }

/* Dark band: shared by the home hero, offer bands, product hero and footer */
.dark-band { position: relative; background: var(--dark); color: var(--dark-ink); overflow: hidden; isolation: isolate;
  --ink: var(--dark-ink); --ink-dim: var(--dark-dim); --line: var(--dark-line); --line-strong: #34405A; --surface: var(--dark-2); --bg-2: var(--dark-2);
  --btn: #F2F4F8; --btn-ink: #0A0F1C; --accent-ink: #FF8A73; --med-soft: #33191A; --med: #FF7A63; --light-soft: #241B3D; --light: #B9A0FF; --ind-soft: #2E2312; --ind: #F5A524; --auto-soft: #16223D; --auto: #7FAAFF; }
.dark-band::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 70% at 85% 10%, rgba(214, 58, 34, .32), transparent 60%), radial-gradient(50% 60% at 5% 100%, rgba(80, 90, 255, .22), transparent 60%); }
.dark-band.grid-bg::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(70% 70% at 50% 30%, #000 30%, transparent 75%); }
.dark-band .btn-ghost { border-color: #3A4560; color: var(--dark-ink); }
.dark-band .btn-ghost:hover { background: rgba(255, 255, 255, .06); border-color: #fff; }
.dark-band .chip { background: rgba(255, 255, 255, .05); border-color: #2C3650; color: var(--dark-dim); }

/* Home hero */
.hero { padding: clamp(56px, 8vw, 110px) 0 clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 26px; min-width: 0; justify-items: start; }
.hero-copy h1 { max-width: 13ch; }
.lede { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: var(--ink-dim); max-width: 34em; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-areas { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-visual { position: relative; min-height: 460px; min-width: 0; }
.hv-glow { position: absolute; inset: 8% 4% 12% 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 106, 77, .35), transparent); filter: blur(20px); }
.hv-patch { position: absolute; left: 0; right: 6%; top: 8%; z-index: 2; filter: drop-shadow(0 40px 40px rgba(0, 0, 0, .55)); animation: float 7s ease-in-out infinite; }
.hv-card { position: absolute; border-radius: 16px; border: 1px solid #2C3650; background: rgba(17, 24, 41, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); overflow: hidden; }
.hv-led { right: 0; bottom: 0; width: 56%; z-index: 3; }
.hv-led img { width: 100%; }
.hv-led figcaption, .hv-ecg figcaption { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; font-size: 0.78rem; font-weight: 700; color: var(--dark-dim); }
.hv-ecg { left: 0; bottom: 8%; width: 46%; z-index: 4; padding-top: 10px; }
.hv-ecg svg { display: block; width: 100%; height: 64px; }
.hv-ecg path { fill: none; stroke: var(--teal); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 0.3 0.7; animation: run 3.2s linear infinite; filter: drop-shadow(0 0 4px rgba(59, 208, 143, .7)); }
.hv-ecg b { color: var(--teal); font-size: 1rem; }
@keyframes run { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; aspect-ratio: 1.2; max-width: 620px; width: 100%; }
}
@media (max-width: 520px) { .hv-ecg { width: 58%; bottom: 2%; } .hv-led { width: 62%; } }

.stats { list-style: none; margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border-radius: var(--r); overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.stats li { display: grid; gap: 4px; padding: 22px 24px; background: color-mix(in srgb, var(--surface) 92%, transparent); }
.stats b { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.7rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.stats span { color: var(--ink-dim); font-size: 0.93rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats li { padding: 18px; } }

/* Sections */
.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section.alt { background: var(--bg-2); }
.section.tight { padding-block: clamp(48px, 6vw, 80px); }
.section-head { display: grid; gap: 16px; max-width: 46rem; margin-bottom: clamp(36px, 5vw, 56px); justify-items: start; }
.section-head p:not(.eyebrow) { color: var(--ink-dim); font-size: 1.12rem; max-width: 40em; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.head-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 56px); }
.head-row .section-head { margin-bottom: 0; }
.fineprint { margin-top: 18px; color: var(--ink-dim); font-size: 0.86rem; }
.fineprint a { color: var(--accent-ink); }
.subhead { margin-top: clamp(56px, 7vw, 88px); margin-bottom: 20px; }
.subhead-lede { color: var(--ink-dim); max-width: 60ch; margin: -6px 0 26px; }
.subhead-lede a { color: var(--accent-ink); }

/* Product cards */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pcard { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.pcard-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0D1424; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard:hover .pcard-media img { transform: scale(1.04); }
.pcard-media .tag { position: absolute; top: 16px; left: 16px; backdrop-filter: blur(6px); }
.pcard-body { display: grid; gap: 12px; align-content: start; padding: 26px 28px 28px; }
.pcard-body h3 { font-size: 1.55rem; }
.pcard-body p { color: var(--ink-dim); }
.pcard-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.pcard-feats { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pcard-feats li { font-size: 0.84rem; font-weight: 600; color: var(--ink-dim); padding: 4px 11px; border-radius: 999px; background: var(--bg-2); }
@media (max-width: 820px) { .products { grid-template-columns: 1fr; } }

/* Area cards (medical, lighting, industrial, automotive) */
.areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.area { --c: var(--med); --cs: var(--med-soft); display: grid; gap: 12px; align-content: start; padding: 28px 26px 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; position: relative; overflow: hidden; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.area::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.area:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 40%, var(--line)); box-shadow: var(--shadow); }
.area:hover::after { transform: scaleX(1); }
.area .icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--cs); color: var(--c); }
.area .icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.area p { color: var(--ink-dim); font-size: 0.97rem; }
.area .count { font-size: 0.82rem; font-weight: 800; color: var(--c); margin-top: auto; padding-top: 6px; }
.area-light { --c: var(--light); --cs: var(--light-soft); }
.area-ind { --c: var(--ind); --cs: var(--ind-soft); }
.area-auto { --c: var(--auto); --cs: var(--auto-soft); }
@media (max-width: 1000px) { .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .areas { grid-template-columns: 1fr; } }

/* Capability tiles */
.caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cap { display: grid; gap: 10px; align-content: start; padding: 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.cap .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 4px; }
.cap .icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cap p { color: var(--ink-dim); font-size: 0.97rem; }
.cap .more { margin-top: 4px; }
@media (max-width: 900px) { .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .caps { grid-template-columns: 1fr; } }
.more { display: inline-flex; width: fit-content; gap: 6px; font-weight: 700; font-size: 0.94rem; text-decoration: none; color: var(--accent-ink); }
.more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Process steps */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; position: relative; }
.steps li { counter-increment: step; display: grid; gap: 8px; align-content: start; padding: 26px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); position: relative; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--mono); font-weight: 500; font-size: 0.85rem; color: var(--accent-ink); padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); width: fit-content; margin-bottom: 8px; }
.steps p { color: var(--ink-dim); font-size: 0.96rem; }
.steps .time { font-family: var(--mono); font-size: 0.78rem; color: var(--ink-dim); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Offer band (Develop Hridya) */
.offer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.offer-copy { display: grid; gap: 20px; justify-items: start; }
.offer-copy p { color: var(--ink-dim); font-size: 1.1rem; }
.offer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.offer-list li { padding-left: 32px; position: relative; color: var(--ink); }
.offer-list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.offer-visual { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid #2C3650; }
.offer-visual img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
@media (max-width: 900px) { .offer { grid-template-columns: 1fr; } }

/* Principles, engagement models */
.engage { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.engage > div { padding: 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); display: grid; gap: 8px; align-content: start; }
.engage p { color: var(--ink-dim); font-size: 0.96rem; }
.engage a { color: var(--accent-ink); }
.engage-time { font-family: var(--mono); font-size: 0.78rem; color: var(--accent-ink); letter-spacing: .02em; }
@media (max-width: 1000px) { .engage { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .engage { grid-template-columns: 1fr; } }
.why3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.why3 > div { padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); display: grid; gap: 8px; align-content: start; }
.why3 p { color: var(--ink-dim); font-size: 0.97rem; }
.why3 a { color: var(--accent-ink); }
@media (max-width: 800px) { .why3 { grid-template-columns: 1fr; } }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.about > div { display: grid; gap: 18px; justify-items: start; }
.about > div p:not(.eyebrow) { color: var(--ink-dim); font-size: 1.08rem; }
.principles { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.principles li { padding: 20px 22px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); color: var(--ink-dim); }
.principles b { color: var(--ink); font-weight: 800; display: block; margin-bottom: 2px; }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { border-radius: 28px; padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px; align-items: center; }
.cta-band h2 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.8rem); }
.cta-band p { color: var(--ink-dim); margin-top: 12px; font-size: 1.08rem; max-width: 40em; }
.cta-band .hero-actions { justify-content: flex-end; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } .cta-band .hero-actions { justify-content: flex-start; } }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); transition: border-color .2s; }
.faq-item[open] { border-color: var(--line-strong); }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 22px; position: relative; font-weight: 700; font-size: 1.04rem; letter-spacing: -0.01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M11 6v10M6 11h10' stroke='%23D63A22' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat; transition: transform .25s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--ink-dim); padding: 0 22px 20px; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* Posts */
.posts { list-style: none; margin: 0; padding: 0 0 clamp(64px, 8vw, 110px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.posts a { display: grid; gap: 10px; align-content: start; height: 100%; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; transition: border-color .2s, transform .3s var(--ease), box-shadow .3s; }
.posts a:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: var(--shadow); }
.posts h2, .posts h3 { font-size: 1.22rem; line-height: 1.25; font-weight: 800; }
.posts p { color: var(--ink-dim); font-size: 0.96rem; }
.posts .post-meta { font-family: var(--mono); font-size: 0.78rem; color: var(--accent-ink); }
#insights .posts { padding-bottom: 0; }
@media (max-width: 960px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .posts { grid-template-columns: 1fr; } }

/* Products page */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.filter a, .filter button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 700 0.92rem var(--font); text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.filter .dot { width: 8px; height: 8px; border-radius: 50%; }
.filter a:hover, .filter button:hover { border-color: var(--ink); }
.filter .is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.cat { padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.cat:first-of-type { border-top: 0; }
.cat[hidden] { display: none; }
.cat-head { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; margin-bottom: 28px; }
.cat-head .icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; }
.cat-head .icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cat-head h2 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); }
.cat-head p { color: var(--ink-dim); margin-top: 4px; }
@media (max-width: 700px) { .cat-head { grid-template-columns: auto 1fr; } .cat-head > :last-child { grid-column: 1 / -1; } }
.cat-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; }
.cat-grid.solo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 900px) { .cat-grid, .cat-grid.solo { grid-template-columns: 1fr; } }
.pwide { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); border-radius: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s; }
.pwide:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.pwide .pcard-media { aspect-ratio: auto; min-height: 100%; }
.pwide .pcard-media img { position: absolute; inset: 0; }
@media (max-width: 700px) { .pwide { grid-template-columns: 1fr; } .pwide .pcard-media { aspect-ratio: 16 / 10; } }
.build-card { display: grid; gap: 14px; align-content: start; padding: 28px; border-radius: 24px; border: 1.5px dashed var(--line-strong); background: transparent; color: var(--ink); text-decoration: none; transition: border-color .25s, background .25s; }
.build-card:hover { border-color: var(--ink); background: var(--surface); }
.build-card h3 { font-size: 1.3rem; }
.build-card p { color: var(--ink-dim); font-size: 0.97rem; }
.build-card ul { margin: 0; padding-left: 1.1em; color: var(--ink-dim); font-size: 0.95rem; display: grid; gap: 4px; }
.build-card.filled { border-style: solid; border-color: var(--line); background: var(--surface); }

/* Product page hero */
.p-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 88px); }
.p-hero .crumbs, .p-hero .crumbs a { color: var(--dark-dim); }
.p-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.p-hero-copy { display: grid; gap: 22px; justify-items: start; min-width: 0; }
.p-hero-copy h1 { font-size: clamp(2.3rem, 1.4rem + 3vw, 4rem); max-width: 14ch; }
.p-hero-visual { min-width: 0; }
.p-hero-visual img { width: 100%; }
.p-hero-visual.framed img { border-radius: 18px; border: 1px solid #2C3650; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }
.p-hero-visual.cut img { filter: drop-shadow(0 40px 40px rgba(0, 0, 0, .55)); }
.keyspecs { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; width: 100%; }
.keyspecs li { padding: 14px 16px; background: var(--surface); display: grid; gap: 2px; }
.keyspecs b { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.keyspecs span { color: var(--ink-dim); font-size: 0.8rem; }
@media (max-width: 960px) { .p-hero-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .keyspecs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.subnav { position: sticky; top: 68px; z-index: 30; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-block: 8px; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 7px 14px; border-radius: 999px; color: var(--ink-dim); font-weight: 700; font-size: 0.9rem; text-decoration: none; }
.subnav a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.subnav a.btn { margin-left: auto; color: var(--btn-ink); padding: 7px 16px; }

/* Feature list for product pages */
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feat { display: grid; gap: 8px; align-content: start; padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.feat .icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--light-soft); color: var(--light); margin-bottom: 6px; }
.feat .icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feat p { color: var(--ink-dim); font-size: 0.97rem; }
@media (max-width: 900px) { .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; } }
.shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.shots figure { margin: 0; display: grid; gap: 10px; }
.shots img { border-radius: 22px; border: 6px solid #0B1324; box-shadow: var(--shadow-lg); }
.shots figcaption { text-align: center; font-size: 0.9rem; color: var(--ink-dim); }
@media (max-width: 800px) { .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Spec table */
.spec-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; font-size: 0.98rem; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 32%; color: var(--ink-dim); font-weight: 600; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.split > div { display: grid; gap: 16px; min-width: 0; }
.split p { color: var(--ink-dim); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Hridya showcase components */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tile { margin: 0; min-width: 0; display: grid; gap: 12px; align-content: start; }
.tile img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); background: #CBC8C2; }
.tile figcaption { color: var(--ink-dim); font-size: 0.95rem; line-height: 1.5; max-width: 60ch; }
.tile figcaption b { color: var(--ink); font-weight: 700; }
.tile-xl { grid-column: span 4; }
.tile:not(.tile-xl) { grid-column: span 2; }
@media (max-width: 760px) { .bento { grid-template-columns: 1fr; } .tile-xl, .tile:not(.tile-xl) { grid-column: auto; } }
.fig { font-family: var(--mono); font-size: 0.76rem; color: var(--accent-ink); margin-right: 6px; }

.spec-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; margin-top: clamp(56px, 7vw, 88px); }
.spec-grid h3 { margin-bottom: 18px; }
.specs { margin: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.specs > div { display: grid; grid-template-columns: 11rem 1fr; gap: 16px; padding: 14px 20px; border-top: 1px solid var(--line); }
.specs > div:first-child { border-top: 0; }
.specs dt { color: var(--ink-dim); font-size: 0.95rem; }
.specs dd { margin: 0; font-weight: 600; }
.placement-box { border: 1px solid var(--line); background: var(--surface); padding: clamp(20px, 3vw, 30px); border-radius: var(--r); }
.placement-box h3 { margin-bottom: 10px; }
.placement-box p { color: var(--ink-dim); margin-bottom: 8px; }
.placement { width: 100%; height: auto; display: block; }
.placement .body { fill: none; stroke: var(--ink-dim); stroke-width: 2; stroke-linecap: round; opacity: .45; }
.placement .faint { opacity: .18; }
.placement .patch { fill: var(--surface); stroke: var(--ink-dim); stroke-width: 1.2; }
.placement .pod { fill: var(--bg-2); stroke: var(--ink-dim); stroke-width: 1.4; }
.placement .electrode { fill: none; stroke: var(--auto); stroke-width: 1.6; stroke-dasharray: 3 3; }
.placement .beat { fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.placement .optic { fill: var(--accent); }
.placement .callouts path { fill: none; stroke: var(--ink-dim); stroke-width: 1.1; stroke-dasharray: 3 4; }
.placement .callouts text { fill: var(--ink); font: 500 14px var(--font); }
@media (max-width: 900px) { .spec-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .specs > div { grid-template-columns: 1fr; gap: 2px; } }

.viewer-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: clamp(56px, 7vw, 88px); }
.viewer { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r); background: radial-gradient(ellipse at 50% 40%, var(--surface), var(--bg-2)); border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; }
.viewer-poster { width: 86%; opacity: .9; transition: opacity .4s; }
.viewer-btn { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); }
.viewer-btn:hover { transform: translateX(-50%) translateY(-1px); }
.viewer-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.viewer model-viewer { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .5s; --poster-color: transparent; }
.viewer.is-3d model-viewer { opacity: 1; }
.viewer.is-3d .viewer-poster, .viewer.is-3d .viewer-btn { opacity: 0; pointer-events: none; }
.viewer-copy { display: grid; gap: 12px; }
.viewer-copy p:not(.fineprint) { color: var(--ink-dim); }
@media (max-width: 860px) { .viewer-row { grid-template-columns: 1fr; } }

.status { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; }
.status-col { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 24px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.status-col h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.status-done { border-top: 3px solid #22A06B; }
.status-done .status-dot { background: #22A06B; }
.status-now { border-top: 3px solid #E3A008; }
.status-now .status-dot { background: #E3A008; }
.status-next { border-top: 3px solid var(--line-strong); }
.status-next .status-dot { border: 2px solid var(--ink-dim); }
.status ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.status li { padding-left: 22px; position: relative; color: var(--ink-dim); font-size: 0.97rem; }
.status li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 10px; height: 1.5px; background: var(--ink-dim); opacity: .6; }
.status-done li { color: var(--ink); }
.status-done li::before { content: "\2713"; top: 0; width: auto; height: auto; background: none; opacity: 1; color: #22A06B; font-weight: 800; }
@media (max-width: 900px) { .status { grid-template-columns: 1fr; } }

.uses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.use { display: grid; align-content: start; gap: 0; min-width: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.use img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.use > div { display: grid; gap: 6px; padding: 18px 20px 20px; }
.use h3 { font-size: 1.1rem; }
.use p { color: var(--ink-dim); font-size: 0.95rem; }
@media (max-width: 960px) { .uses { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .uses { grid-template-columns: 1fr; } }

.vitals { display: grid; grid-template-columns: 1fr 300px; grid-template-areas: "acts acts" "mon read"; gap: 20px 28px; align-items: start; }
.acts { grid-area: acts; display: flex; flex-wrap: wrap; gap: 10px; }
.act { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 12px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); border-radius: 999px; font: 700 0.95rem var(--font); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.act svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.act:hover { border-color: var(--ink); }
.act.is-on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.monitor-lg { grid-area: mon; }
.readouts { grid-area: read; display: grid; gap: 18px; }
.readouts dl { margin: 0; display: grid; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.readouts dl > div { padding: 14px 18px; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.readouts dl > div:first-child { border-top: 0; }
.readouts dt { font-size: 0.76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim); }
.readouts dd { margin: 0; color: var(--ink-dim); }
.readouts b { font-weight: 800; font-size: 1.9rem; color: var(--ink); line-height: 1.1; letter-spacing: -0.02em; }
#r-cad, #r-q { font-size: 1.25rem; }
#r-q[data-q="good"] { color: #1F8A5B; }
#r-q[data-q="fair"] { color: #B7791F; }
.act-note { color: var(--ink-dim); font-size: 0.97rem; min-height: 4.8em; }
@media (max-width: 900px) { .vitals { grid-template-columns: 1fr; grid-template-areas: "acts" "mon" "read"; } .readouts dl { grid-template-columns: 1fr 1fr; } .readouts dl > div:nth-child(2) { border-top: 0; } .readouts dl > div:nth-child(even) { border-left: 1px solid var(--line); } }
.monitor { margin: 0; background: #070B14; border: 1px solid #1C2436; border-radius: var(--r); padding: 14px; display: grid; gap: 10px; color: var(--mon-ink); --ink-dim: var(--mon-ink); }
.monitor-head { display: flex; align-items: center; gap: 10px; font-size: 0.82rem; }
.monitor-hr { margin-left: auto; }
.monitor-hr b { font-size: 1.5rem; color: var(--teal); font-weight: 500; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
#trace { width: 100%; height: auto; border-radius: 8px; background: #05080F; }

.app-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.app-head .section-head { margin-bottom: 0; }
.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px; }
.seg-btn { border: 0; background: transparent; color: var(--ink-dim); font: 700 0.9rem var(--font); padding: 7px 16px; border-radius: 999px; cursor: pointer; }
.seg-btn.is-on { background: var(--ink); color: var(--dark); }
.screens { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); margin-top: clamp(40px, 5vw, 60px); }
.phone { margin: 0; display: grid; gap: 12px; min-width: 0; }
.phone img { border-radius: 30px; border: 7px solid #05080F; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.phone:nth-child(even) { transform: translateY(32px); }
.phone.reveal:nth-child(even):not(.is-in) { transform: translateY(46px); }
.js .phone.reveal.is-in:nth-child(even) { transform: translateY(32px); }
.phone figcaption { font-size: 0.92rem; color: var(--ink-dim); text-align: center; }
@media (max-width: 900px) { .screens { grid-template-columns: repeat(2, minmax(0, 1fr)); } .phone:nth-child(even), .phone.reveal:nth-child(even):not(.is-in), .js .phone.reveal.is-in:nth-child(even) { transform: none; } }
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: clamp(72px, 9vw, 104px); }
.features > div { display: grid; gap: 6px; align-content: start; padding: 22px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.features h3 { font-size: 1.08rem; }
.features p { color: var(--ink-dim); font-size: 0.95rem; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }
.report-row { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: clamp(64px, 8vw, 96px); }
.report { margin: 0; }
.report img { border-radius: 6px; background: #fff; transform: rotate(-1.5deg); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .75); }
.report-copy { display: grid; gap: 16px; min-width: 0; }
.report-copy > p { color: var(--ink-dim); }
@media (max-width: 800px) { .report-row { grid-template-columns: 1fr; } .report { max-width: 420px; } .report img { transform: none; } }
.chain-scroll { overflow-x: auto; margin-top: 8px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.chain { width: 100%; min-width: 760px; height: auto; display: block; }
.chain-box rect { fill: var(--bg); stroke: var(--line-strong); stroke-width: 1.3; }
.chain-key rect { stroke: var(--accent); stroke-width: 1.8; }
.chain text { fill: var(--ink); font: 600 15px var(--font); text-anchor: middle; }
.chain .chain-sub { fill: var(--ink-dim); font: 400 11.5px var(--mono); }
.chain-line { fill: none; stroke: var(--ink-dim); stroke-width: 1.3; }
.chain-radio { stroke: var(--accent); stroke-dasharray: 5 5; }
.chain-arrow { fill: var(--ink-dim); }
.standards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.standards li { background: var(--surface); padding: 20px 20px 22px; display: grid; gap: 6px; align-content: start; }
.standards b { font-family: var(--mono); font-weight: 500; font-size: 0.95rem; color: var(--ink); }
.standards span { color: var(--ink-dim); font-size: 0.93rem; line-height: 1.5; }
@media (max-width: 1000px) { .standards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .standards { grid-template-columns: 1fr; } }
.note { margin-top: 28px; padding: 16px 20px; border-left: 3px solid var(--accent); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--surface); color: var(--ink); max-width: 76ch; font-size: 0.97rem; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact > div { min-width: 0; display: grid; gap: 18px; justify-items: start; }
.contact-lede { color: var(--ink-dim); font-size: 1.12rem; }
.good-fit { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.good-fit li { padding-left: 32px; position: relative; }
.good-fit li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%23D63A22' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.contact-extra { display: grid; gap: 14px; margin-top: 6px; }
.sheet { display: inline-flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); text-decoration: none; justify-self: start; transition: border-color .2s, box-shadow .2s; }
.sheet:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.sheet svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linejoin: round; flex: none; }
.sheet span { display: grid; }
.sheet b { overflow-wrap: anywhere; }
.sheet small { color: var(--ink-dim); font-size: 0.84rem; }
.quick { display: flex; flex-wrap: wrap; gap: 10px; }
.quick[hidden], .quick [hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 3.5vw, 40px); display: grid; gap: 18px; min-width: 0; box-shadow: var(--shadow-lg); }
.form h2 { font-size: 1.5rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-size: 0.88rem; font-weight: 700; color: var(--ink); }
.opt { font-weight: 500; color: var(--ink-dim); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; width: 100%; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.field [aria-invalid="true"] { border-color: var(--accent); }
.reply { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.reply legend { font-size: 0.88rem; font-weight: 700; margin-bottom: 8px; padding: 0; width: 100%; }
.reply label { display: inline-flex; align-items: center; gap: 8px; font-size: 0.95rem; font-weight: 600; cursor: pointer; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; }
.reply label:has(input:checked) { border-color: var(--ink); background: var(--bg-2); }
.reply input { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; }
.form .btn { justify-self: start; }
.form .btn:disabled { opacity: .6; cursor: progress; }
.form-status { font-size: 0.94rem; color: var(--ink-dim); min-height: 1.4em; }

/* Footer */
.footer { padding-block: clamp(56px, 7vw, 88px) 32px; font-size: 0.94rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-brand { display: grid; gap: 14px; align-content: start; justify-items: start; }
.footer-brand p { color: var(--dark-dim); max-width: 30ch; }
.footer h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--dark-dim); margin-bottom: 14px; font-weight: 800; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a { color: #D5DAE4; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-legal { margin-top: clamp(40px, 5vw, 64px); padding-top: 22px; border-top: 1px solid var(--dark-line); color: var(--dark-dim); font-size: 0.84rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
@media (max-width: 1000px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }

/* Articles and service pages */
.article-hero { padding-block: clamp(44px, 6vw, 88px) clamp(24px, 3vw, 40px); }
.crumbs { font-size: 0.88rem; color: var(--ink-dim); margin-bottom: 20px; font-weight: 600; }
.crumbs a { color: var(--ink-dim); text-decoration: none; }
.crumbs a:hover { color: var(--accent-ink); }
.article-hero h1 { max-width: 22ch; font-size: clamp(2.1rem, 1.4rem + 2.4vw, 3.4rem); line-height: 1.08; }
.article-hero .lede { margin-top: 18px; }
.article-meta { margin-top: 18px; font-family: var(--mono); font-size: 0.84rem; color: var(--ink-dim); }
.prose { max-width: 72ch; padding-bottom: clamp(64px, 8vw, 110px); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: color-mix(in srgb, var(--ink) 84%, var(--bg)); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose strong { color: var(--ink); }
.prose a { color: var(--accent-ink); }
.prose a.btn { color: var(--btn-ink); }
.prose a.btn:hover { color: #fff; }
.prose a.btn-ghost { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 700; background: var(--bg-2); }
.prose .callout { padding: 16px 20px; border-left: 3px solid var(--accent); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--surface); }
.prose figure { margin: 1.6em 0; }
.prose figure img { border-radius: var(--r); }
.prose figcaption { font-size: 0.88rem; color: var(--ink-dim); margin-top: 8px; }
.prose .faq-list { margin-top: 1em; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
.table-scroll table tr:last-child td { border-bottom: 0; }
.article-cta { margin-top: 2.4em; padding: 28px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r); display: grid; gap: 12px; box-shadow: var(--shadow); }
.article-cta .btn { justify-self: start; }
.section-head p a { color: var(--accent-ink); }

/* Reveal on scroll, only with JavaScript and when motion is welcome */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hv-patch, .hv-ecg path, .live-dot { animation: none; }
  .hv-ecg path { stroke-dasharray: none; }
  .phone:nth-child(even) { transform: translateY(32px); }
}
a.tag { text-decoration: none; transition: filter .2s; }
a.tag:hover { filter: brightness(1.15); }
.filter .is-on, .dark-band .filter .is-on { background: #fff; color: #0A0F1C; border-color: #fff; }
.dark-band .filter button { background: rgba(255, 255, 255, .05); border-color: #34405A; color: var(--dark-ink); }
.dark-band .filter button:hover { border-color: #fff; }
.footer a.btn { color: var(--btn-ink); }
.footer a.btn:hover { color: #fff; }
/* Hero visual: patch on top, ECG and LED cards side by side below. No overlap at any width. */
.hero-visual { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; align-items: end; min-height: 0; aspect-ratio: auto; }
.hv-glow { inset: 0 6% 30% 6%; }
.hv-patch { position: relative; grid-column: 1 / -1; left: auto; right: auto; top: auto; width: 88%; justify-self: center; margin-bottom: -6%; }
.hv-card { position: relative; left: auto; right: auto; bottom: auto; width: auto; }
.hv-ecg { align-self: stretch; display: grid; align-content: space-between; }
.hv-ecg svg { height: 84px; margin-top: 8px; }
@media (max-width: 960px) { .hero-visual { aspect-ratio: auto; max-width: 620px; } }
@media (max-width: 520px) { .hv-ecg, .hv-led { width: auto; bottom: auto; } .hv-ecg svg { height: 64px; } }

/* Consumer and smart home colour */
:root { --cons: #0F8A7E; --cons-soft: #DDF3F0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --cons: #3FD1C0; --cons-soft: #0F2B2A; } }
:root[data-theme="dark"] { --cons: #3FD1C0; --cons-soft: #0F2B2A; }
.dark-band { --cons: #4FE0CF; --cons-soft: #0F2B2A; }
.tag-cons { color: var(--cons); background: var(--cons-soft); }
.area-cons { --c: var(--cons); --cs: var(--cons-soft); }
.areas-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .areas-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .areas-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .areas-5 { grid-template-columns: 1fr; } }

/* Home hero picture: anatomy of a connected product */
.hv2 { position: relative; display: grid; gap: 18px; min-width: 0; }
.hv2 .hv-glow { inset: 5% 10% 20% 10%; }
.hv2-board { position: relative; width: 100%; height: auto; display: block; overflow: visible; }
.hv2-node rect:first-child { fill: rgba(17, 24, 41, .88); stroke: #2C3650; }
.hv2-node .t { fill: #F2F4F8; font: 800 15px var(--font); }
.hv2-node .s { fill: #A3ADBF; font: 500 11px var(--mono); }
.hv2-trace path { fill: none; stroke: #2C3650; stroke-width: 2; }
.hv2-flow path { fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 6 16; animation: flow 1.6s linear infinite; filter: drop-shadow(0 0 4px currentColor); }
@keyframes flow { to { stroke-dashoffset: -22; } }
.hv2-pins path { stroke: #3A4560; stroke-width: 3; stroke-linecap: round; }
.hv2-chip { fill: #111829; }
.hv2-chip-t { fill: #fff; font: 800 26px var(--font); text-anchor: middle; letter-spacing: -0.02em; }
.hv2-chip-s { fill: #A3ADBF; font: 500 12px var(--mono); text-anchor: middle; }
.hv2-pipe { list-style: none; margin: 0; padding: 14px 16px; display: flex; justify-content: space-between; gap: 6px; border: 1px solid #2C3650; border-radius: 16px; background: rgba(17, 24, 41, .7); position: relative; }
.hv2-pipe li { display: grid; justify-items: center; gap: 8px; font-size: 0.8rem; font-weight: 700; color: var(--dark-dim); flex: 1; position: relative; }
.hv2-pipe li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #3A4560; background: var(--dark); position: relative; z-index: 1; }
.hv2-pipe li:not(:last-child)::after { content: ""; position: absolute; top: 6px; left: 50%; width: 100%; height: 2px; background: #2C3650; }
.hv2-pipe li.done::before { background: #3BD08F; border-color: #3BD08F; }
.hv2-pipe li.done::after { background: linear-gradient(90deg, #3BD08F, #2C3650); }
.hv2-pipe li.done { color: var(--dark-ink); }
.hv2-pipe li.now::before { border-color: #FF6A4D; box-shadow: 0 0 0 5px rgba(255, 106, 77, .2); }
.hv2-pipe li.now { color: #FF8A73; }
@media (max-width: 960px) { .hv2 { max-width: 620px; width: 100%; } }
@media (prefers-reduced-motion: reduce) { .hv2-flow path { animation: none; } }

/* What you get */
.deliver { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.deliver li { padding: 22px; border-radius: var(--r); border: 1px solid #2C3650; background: rgba(255, 255, 255, .03); display: grid; gap: 6px; }
.deliver b { font-size: 1.05rem; }
.deliver span { color: var(--dark-dim); font-size: 0.95rem; }
@media (max-width: 520px) { .deliver { grid-template-columns: 1fr; } }
.cat-grid.rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
@media (max-width: 900px) { .cat-grid.rev { grid-template-columns: 1fr; } }
.build-card.filled ul { font-size: 0.97rem; gap: 6px; }
.form-status.is-sent { color: #1F8A5B; font-weight: 700; }
