/* MedTech Commons animated design (owner's order 2026-10-24): large type, dark hero, motion. Loaded after site.css on
   every page only while the published "medtechcommons/animated-design" document switches it on. No inline styles
   anywhere: medtechcommons.com runs style-src 'self'; scripts set CSS custom properties through the CSSOM. Brand palette only (site_design.BRAND_PALETTE). */

@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --v2-ink: #071d2b;
  --v2-ink-2: #0b2a38;
  --v2-ink-3: #173138;
  --v2-line: rgba(201, 243, 239, 0.12);
  --v2-line-strong: rgba(201, 243, 239, 0.24);
  --v2-text: #f7f9f8;
  --v2-text-dim: #b8c8c5;
  --v2-text-mute: #68777a;
  --v2-teal: #12a3a0;
  --v2-teal-2: #2bb3a6;
  --v2-sky: #60c6cd;
  --v2-mint: #c9f3ef;
  --v2-amber: #f3ae4b;
  --v2-paper: #f5f7f6;
  --v2-paper-2: #eef5f3;
  --v2-body: #172528;
  --v2-body-dim: #445659;
  --v2-radius: 20px;
  --v2-radius-sm: 12px;
  --v2-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --v2-max: 1240px;
  --v2-font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --v2-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

html { scroll-behavior: auto; }
html body {
  font-family: var(--v2-font);
  background: var(--v2-paper);
  color: var(--v2-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html.lenis, html.lenis body { height: auto; }
html.lenis.lenis-smooth { scroll-behavior: auto !important; }
html.lenis.lenis-stopped { overflow: hidden; }

/* ---------------------------------------------------------------- header */
html .site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s var(--v2-ease), border-color 0.4s var(--v2-ease), backdrop-filter 0.4s;
}
html .site-header.is-scrolled,
html body.v2-light-top .site-header {
  background: rgba(7, 29, 43, 0.72);
  border-bottom-color: var(--v2-line);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
}
html .site-header .header-inner { max-width: var(--v2-max); min-height: 72px; }
html .site-header .brand img { content: url("../../images/logo-light.svg"); }
html .site-nav a {
  color: var(--v2-text-dim);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  transition: color 0.2s;
}
html .site-nav a:hover, html .site-nav a[aria-current="page"] { color: var(--v2-text); background: transparent; box-shadow: none; }
html .site-nav a[aria-current="page"]:not(.nav-launch)::after { content: ""; display: block; height: 2px; margin-top: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--v2-teal), var(--v2-sky)); }

/* Headings take the colour of their section, over site.css. */
html .v2-hero h1, html .v2-hero h2, html .v2-hero h3,
html .v2-dark h1, html .v2-dark h2, html .v2-dark h3,
html .v2-dark-2 h1, html .v2-dark-2 h2, html .v2-dark-2 h3,
html .v2-cta h2 { color: var(--v2-text); }
html .v2-light h1, html .v2-light h2, html .v2-light h3 { color: var(--v2-ink); }
html main p { margin-bottom: 0; }
html .v2-step-list { list-style: none; margin: 0; padding: 0; }
html .site-nav a.nav-launch {
  color: var(--v2-ink);
  background: linear-gradient(135deg, var(--v2-mint), var(--v2-sky));
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2) inset, 0 8px 30px rgba(18, 163, 160, 0.35);
  transition: transform 0.25s var(--v2-ease), box-shadow 0.25s var(--v2-ease);
}
html .site-nav a.nav-launch:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3) inset, 0 12px 40px rgba(18, 163, 160, 0.5); }
html .nav-toggle span, html .nav-toggle span::before, html .nav-toggle span::after { background: var(--v2-text); }

/* ---------------------------------------------------------------- layout */
.v2-wrap { max-width: var(--v2-max); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.v2-section { position: relative; padding: clamp(96px, 14vw, 180px) 0; }
.v2-dark { background: var(--v2-ink); color: var(--v2-text); }
.v2-dark-2 { background: linear-gradient(180deg, var(--v2-ink) 0%, var(--v2-ink-2) 100%); color: var(--v2-text); }
.v2-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--v2-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--v2-teal);
}
.v2-dark .v2-eyebrow, .v2-dark-2 .v2-eyebrow { color: var(--v2-sky); }
.v2-eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.6; }
.v2-display {
  font-size: clamp(3rem, 8.2vw, 7.4rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-weight: 650;
  margin: 1.2rem 0 0;
  text-wrap: balance;
}
.v2-h2 {
  font-size: clamp(2.4rem, 5.4vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 620;
  margin: 1rem 0 0;
  text-wrap: balance;
}
.v2-h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); letter-spacing: -0.02em; font-weight: 600; margin: 0; }
.v2-lead {
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.55;
  color: var(--v2-body-dim);
  max-width: 44rem;
  margin: 1.6rem 0 0;
  text-wrap: pretty;
}
.v2-dark .v2-lead, .v2-dark-2 .v2-lead { color: var(--v2-text-dim); }
.v2-grad, .v2-grad .v2-split-word {
  background: linear-gradient(100deg, var(--v2-mint) 0%, var(--v2-sky) 35%, var(--v2-teal-2) 65%, var(--v2-amber) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: v2-shimmer 8s linear infinite;
}
@keyframes v2-shimmer { to { background-position: -200% 0; } }

/* ---------------------------------------------------------------- buttons */
.v2-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.4rem; }
.v2-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.45rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.02rem;
  text-decoration: none;
  transition: transform 0.25s var(--v2-ease), box-shadow 0.25s var(--v2-ease), background-color 0.25s;
  will-change: transform;
}
.v2-btn-primary {
  color: var(--v2-ink);
  background: linear-gradient(135deg, #ffffff, var(--v2-mint));
  box-shadow: 0 10px 40px rgba(96, 198, 205, 0.35);
}
.v2-btn-primary:hover { box-shadow: 0 16px 50px rgba(96, 198, 205, 0.55); }
.v2-btn-ghost { color: var(--v2-text); border: 1px solid var(--v2-line-strong); background: rgba(255, 255, 255, 0.04); }
.v2-btn-ghost:hover { background: rgba(255, 255, 255, 0.09); }
.v2-light .v2-btn-ghost { color: var(--v2-body); border-color: #cdd7d4; background: #ffffff; }
.v2-btn .v2-arrow { transition: transform 0.25s var(--v2-ease); }
.v2-btn:hover .v2-arrow { transform: translateX(4px); }

/* ---------------------------------------------------------------- hero */
.v2-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--v2-ink);
  color: var(--v2-text);
  padding: 140px 0 90px;
  isolation: isolate;
}
.v2-aurora, .v2-aurora::before, .v2-aurora::after {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.v2-aurora {
  z-index: -2;
  width: 62vw; height: 62vw;
  left: -14vw; top: -22vw;
  background: radial-gradient(circle at 30% 30%, rgba(18, 163, 160, 0.55), transparent 62%);
  animation: v2-drift-a 18s var(--v2-ease) infinite alternate;
}
.v2-aurora::before {
  content: "";
  width: 48vw; height: 48vw;
  right: -70vw; top: 18vw;
  background: radial-gradient(circle, rgba(96, 198, 205, 0.4), transparent 62%);
  animation: v2-drift-b 22s var(--v2-ease) infinite alternate;
}
.v2-aurora::after {
  content: "";
  width: 34vw; height: 34vw;
  left: 40vw; top: 50vw;
  background: radial-gradient(circle, rgba(243, 174, 75, 0.22), transparent 64%);
  animation: v2-drift-a 26s var(--v2-ease) infinite alternate-reverse;
}
@keyframes v2-drift-a { to { transform: translate3d(8vw, 6vw, 0) scale(1.15); } }
@keyframes v2-drift-b { to { transform: translate3d(-10vw, -4vw, 0) scale(0.9); } }
.v2-grid-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(201, 243, 239, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 243, 239, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 72%);
}
.v2-spot {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(600px circle at var(--v2-mx, 50%) var(--v2-my, 30%), rgba(96, 198, 205, 0.13), transparent 60%);
  pointer-events: none;
}
.v2-hero-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
/* The hero is a flex row: its wrapper takes the full width, so on a phone nothing reaches past the screen. */
.v2-hero > .v2-wrap { width: 100%; min-width: 0; }
.v2-hero .v2-display { max-width: 15ch; margin-inline: auto; }
.v2-hero .v2-lead { color: var(--v2-text-dim); margin-inline: auto; max-width: 40rem; }
.v2-hero .v2-actions { justify-content: center; }
.v2-hero-media { position: relative; perspective: 1600px; width: min(100%, 1080px); margin-top: clamp(56px, 8vw, 96px); }
.v2-hero-media .v2-window { transform: rotateX(18deg) scale(0.94); transform-origin: 50% 100%; }
.v2-window-bar span { margin-left: 10px; font-family: var(--v2-mono); font-size: 0.72rem; color: var(--v2-text-mute); letter-spacing: 0.02em; }
.v2-window {
  position: relative;
  border-radius: var(--v2-radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--v2-line-strong);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  overflow: hidden;
  transform: rotateY(-8deg) rotateX(4deg);
  transform-style: preserve-3d;
  transition: transform 0.6s var(--v2-ease);
}
.v2-window-bar { display: flex; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--v2-line); }
.v2-window-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.v2-window video, .v2-window img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: #04131c; }
.v2-glow { position: absolute; inset: -12%; z-index: -1; background: radial-gradient(closest-side, rgba(18, 163, 160, 0.45), transparent); filter: blur(30px); }
.v2-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  border-radius: 14px;
  background: rgba(7, 29, 43, 0.78);
  border: 1px solid var(--v2-line-strong);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-family: var(--v2-mono);
  font-size: 0.78rem;
  color: var(--v2-mint);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}
.v2-badge-a { left: -6%; bottom: 14%; }
.v2-badge-b { right: -4%; top: 12%; }
.v2-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--v2-teal-2); box-shadow: 0 0 0 0 rgba(43, 179, 166, 0.7); animation: v2-pulse 1.6s infinite; }
@keyframes v2-pulse { 70% { box-shadow: 0 0 0 10px rgba(43, 179, 166, 0); } 100% { box-shadow: 0 0 0 0 rgba(43, 179, 166, 0); } }
.v2-ecg { display: block; width: 120px; height: 28px; }
.v2-ecg path { fill: none; stroke: var(--v2-teal-2); stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 260; stroke-dashoffset: 260; animation: v2-trace 1.6s linear infinite; }
@keyframes v2-trace { to { stroke-dashoffset: 0; } }
.v2-scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid var(--v2-line-strong); border-radius: 20px; }
.v2-scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--v2-mint); animation: v2-cue 1.8s var(--v2-ease) infinite; }
@keyframes v2-cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------------------------------------------------------------- marquee of systems */
.v2-marquee { overflow: hidden; border-block: 1px solid var(--v2-line); background: var(--v2-ink); color: var(--v2-text-dim); padding: 22px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.v2-marquee-track { display: flex; gap: 3.2rem; width: max-content; animation: v2-marquee 38s linear infinite; font-size: clamp(1.1rem, 2vw, 1.6rem); letter-spacing: -0.02em; white-space: nowrap; }
.v2-marquee-track span::before { content: "\2726"; margin-right: 3.2rem; color: var(--v2-teal); }
@keyframes v2-marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- tools bento */
.v2-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; margin-top: 64px; }
.v2-card {
  position: relative;
  grid-column: span 4;
  border-radius: var(--v2-radius);
  background: #ffffff;
  border: 1px solid #dce7e3;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--v2-ease), box-shadow 0.5s var(--v2-ease), border-color 0.3s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.v2-card.v2-wide { grid-column: span 8; }
.v2-card.v2-half { grid-column: span 6; }
.v2-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--v2-cx, -100px) var(--v2-cy, -100px), rgba(18, 163, 160, 0.14), transparent 60%);
}
.v2-card:hover { transform: translateY(-6px); box-shadow: 0 30px 80px rgba(7, 29, 43, 0.14); border-color: #b9e3df; }
/* A card's clip keeps its 16:10 shape and grows to the row: a narrow card beside a wide one has no empty space. */
.v2-card-media { position: relative; flex: 1 0 auto; aspect-ratio: 16 / 10; background: var(--v2-ink); overflow: hidden; }
.v2-card-media video, .v2-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.02); transition: transform 1.2s var(--v2-ease); }
.v2-card:hover .v2-card-media video, .v2-card:hover .v2-card-media img { transform: scale(1.08); }
.v2-card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.v2-card-body p { margin: 0; color: var(--v2-body-dim); line-height: 1.55; }
.v2-tag { align-self: flex-start; font-family: var(--v2-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3rem 0.6rem; border-radius: 999px; background: var(--v2-paper-2); color: #087868; }
.v2-tag-dev { background: rgba(243, 174, 75, 0.16); color: #8d5b00; }
.v2-card-link { margin-top: auto; padding-top: 0.6rem; font-weight: 600; color: #087868; }

/* ---------------------------------------------------------------- pinned steps */
.v2-steps { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.v2-steps-sticky { position: sticky; top: 120px; }
.v2-progress { position: relative; height: 2px; background: var(--v2-line); margin-top: 2.4rem; overflow: hidden; border-radius: 2px; }
.v2-progress i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--v2-progress, 0)); background: linear-gradient(90deg, var(--v2-teal), var(--v2-sky), var(--v2-amber)); }
.v2-step { padding: 48px 0; border-top: 1px solid var(--v2-line); opacity: 0.35; transition: opacity 0.5s var(--v2-ease); }
.v2-step.is-active { opacity: 1; }
.v2-step-n { font-family: var(--v2-mono); color: var(--v2-sky); font-size: 0.9rem; }
.v2-step h3 { font-size: clamp(1.8rem, 3.4vw, 3rem); letter-spacing: -0.035em; line-height: 1.05; margin: 0.6rem 0 0.8rem; font-weight: 600; }
.v2-step p { color: var(--v2-text-dim); font-size: 1.15rem; line-height: 1.6; max-width: 34rem; margin: 0; }

/* ---------------------------------------------------------------- numbers */
.v2-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 56px; }
.v2-stat { padding: 28px; border-radius: var(--v2-radius); border: 1px solid #dce7e3; background: #ffffff; }
.v2-stat b { display: block; font-size: clamp(2.6rem, 5vw, 4.2rem); letter-spacing: -0.05em; font-weight: 650; line-height: 1; color: var(--v2-ink); font-variant-numeric: tabular-nums; }
.v2-stat span { display: block; margin-top: 0.7rem; color: var(--v2-body-dim); }

/* ---------------------------------------------------------------- video band */
.v2-film { position: relative; border-radius: calc(var(--v2-radius) + 6px); overflow: hidden; border: 1px solid var(--v2-line-strong); box-shadow: 0 50px 140px rgba(0, 0, 0, 0.5); margin-top: 56px; }
.v2-film video { display: block; width: 100%; height: auto; }

/* ---------------------------------------------------------------- CTA */
.v2-cta { position: relative; border-radius: 32px; padding: clamp(48px, 8vw, 110px) clamp(24px, 6vw, 80px); overflow: hidden; background: var(--v2-ink); color: var(--v2-text); text-align: center; isolation: isolate; }
.v2-cta::before { content: ""; position: absolute; inset: -40%; z-index: -1; background: conic-gradient(from var(--v2-angle, 0deg), rgba(18, 163, 160, 0.0), rgba(18, 163, 160, 0.45), rgba(96, 198, 205, 0.1), rgba(243, 174, 75, 0.35), rgba(18, 163, 160, 0.0)); filter: blur(60px); animation: v2-spin 14s linear infinite; }
@keyframes v2-spin { to { transform: rotate(360deg); } }
.v2-cta .v2-h2 { margin-inline: auto; max-width: 16ch; }
.v2-cta .v2-lead { margin-inline: auto; }
.v2-cta .v2-actions { justify-content: center; }
.v2-note { font-size: 0.92rem; color: var(--v2-text-mute); margin-top: 2rem; }
.v2-dark .v2-note, .v2-cta .v2-note { color: #b8c8c5; opacity: 0.75; }

/* ---------------------------------------------------------------- footer */
html .site-footer { background: #04131c; color: var(--v2-text-dim); border-top: 1px solid var(--v2-line); }
html .site-footer a { color: var(--v2-text-dim); transition: color 0.2s; }
html .site-footer a:hover { color: var(--v2-mint); }

/* ---------------------------------------------------------------- reveal states (set by mtc-animated.js) */
html.v2-js [data-v2-reveal] { opacity: 0; transform: translateY(28px); }
html.v2-js [data-v2-reveal].is-in { opacity: 1; transform: none; transition: opacity 0.9s var(--v2-ease), transform 0.9s var(--v2-ease); }
.v2-split-line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.v2-split-line > span { display: inline-block; }

/* ---------------------------------------------------------------- every other page (the imported markup of site.css) */
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--v2-ink);
  color: var(--v2-text);
  padding: clamp(140px, 16vw, 200px) 0 clamp(72px, 10vw, 128px);
}
.page-hero .container { position: relative; max-width: var(--v2-max); }
/* Pages that open without a hero (How it works, pages from the panel) start below the fixed header. */
#main > :first-child:not(.page-hero):not(.v2-hero) { padding-top: clamp(140px, 14vw, 190px); }
.page-hero h1 {
  color: var(--v2-text);
  font-size: clamp(2.8rem, 6.6vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 650;
  max-width: 16ch;
  margin: 1rem 0 0;
  text-wrap: balance;
}
.page-hero .lede { color: var(--v2-text-dim); font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.55; max-width: 40rem; margin-top: 1.4rem; }
.page-hero .eyebrow { color: var(--v2-sky); font-family: var(--v2-mono); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.78rem; }
.page-hero .breadcrumb, .page-hero .breadcrumb a, .page-hero .breadcrumb span { color: var(--v2-text-mute); font-family: var(--v2-mono); font-size: 0.8rem; }
.page-hero .breadcrumb a:hover { color: var(--v2-mint); }
.page-hero .v2-ecg { width: 180px; height: 40px; margin-top: 2rem; opacity: 0.9; }
.v2-page-hero.v2-has-film .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); column-gap: clamp(32px, 5vw, 72px); align-items: center; }
.v2-page-hero.v2-has-film .container > .v2-page-film { grid-column: 2; grid-row: 1 / span 12; perspective: 1600px; margin: 0; position: relative; }
.v2-page-hero.v2-has-film .container > :not(.v2-page-film) { grid-column: 1; }
.v2-page-film .v2-window { transform: rotateY(-10deg) rotateX(6deg); }
.v2-page-film .v2-glow { inset: -18%; }

.btn { border-radius: 999px; font-weight: 600; transition: transform 0.25s var(--v2-ease), box-shadow 0.25s var(--v2-ease), background-color 0.25s; }
.btn--primary { color: var(--v2-ink); background: linear-gradient(135deg, #ffffff, var(--v2-mint)); border-color: transparent; box-shadow: 0 10px 40px rgba(96, 198, 205, 0.3); }
.btn--primary:hover { color: var(--v2-ink); transform: translateY(-2px); box-shadow: 0 16px 50px rgba(96, 198, 205, 0.5); }
.page-hero .btn--ghost, .section--ink .btn--ghost, .cta-band .btn--ghost { color: var(--v2-text); border: 1px solid var(--v2-line-strong); background: rgba(255, 255, 255, 0.04); }
.page-hero .btn--ghost:hover, .section--ink .btn--ghost:hover, .cta-band .btn--ghost:hover { background: rgba(255, 255, 255, 0.1); color: var(--v2-text); }

.section { padding: clamp(80px, 11vw, 150px) 0; }
.section--compact { padding: clamp(56px, 7vw, 96px) 0; }
.section .container { max-width: var(--v2-max); }
.section--white { background: #ffffff; }
.section--ink { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, var(--v2-ink) 0%, var(--v2-ink-2) 100%); color: var(--v2-text); }
.section--ink::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px circle at 85% 0%, rgba(18, 163, 160, 0.22), transparent 60%); }
.section--ink h2, .section--ink h3, .section--ink strong { color: var(--v2-text); }
.section--ink p, .section--ink span { color: var(--v2-text-dim); }
.section h2 { font-size: clamp(2.1rem, 4.4vw, 3.8rem); line-height: 1.02; letter-spacing: -0.04em; font-weight: 620; text-wrap: balance; }
.section .eyebrow { font-family: var(--v2-mono); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.76rem; color: var(--v2-teal); }
.section--ink .eyebrow { color: var(--v2-sky); }
.prose p, .section-head p { font-size: 1.12rem; line-height: 1.7; color: var(--v2-body-dim); }
.section--ink .section-head p { color: var(--v2-text-dim); }

.callout, .contact-note {
  position: relative;
  border-radius: var(--v2-radius);
  padding: 26px 28px;
  background: linear-gradient(#ffffff, #ffffff) padding-box, linear-gradient(135deg, var(--v2-teal), var(--v2-sky), var(--v2-amber)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 24px 60px rgba(7, 29, 43, 0.08);
}

.capability, .process-step, .tool-card, .kb-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--v2-radius);
  transition: transform 0.5s var(--v2-ease), box-shadow 0.5s var(--v2-ease), border-color 0.3s;
}
.capability::after, .process-step::after, .tool-card::after, .kb-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--v2-cx, -200px) var(--v2-cy, -200px), rgba(18, 163, 160, 0.16), transparent 60%);
}
.capability { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--v2-line-strong); padding: 26px; }
.capability:hover { border-color: rgba(96, 198, 205, 0.5); transform: translateY(-4px); }
.process-step, .tool-card, .kb-card { background: #ffffff; border: 1px solid #dce7e3; }
.process-step:hover, .tool-card:hover, .kb-card:hover { transform: translateY(-6px); box-shadow: 0 30px 80px rgba(7, 29, 43, 0.14); border-color: #b9e3df; }
.tool-card, .kb-card { display: flex; flex-direction: column; padding: 0 0 26px; text-decoration: none; }
.tool-card > :not(.v2-card-media), .kb-card > :not(.v2-card-media) { margin-left: 26px; margin-right: 26px; }
.tool-card > .v2-card-media, .kb-card > .v2-card-media { margin: 0 0 22px; }
.tool-card > :first-child:not(.v2-card-media), .kb-card > :first-child:not(.v2-card-media) { margin-top: 26px; }
.tool-card h3, .kb-card h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); letter-spacing: -0.02em; }
.tool-card:hover .v2-card-media video, .kb-card:hover .v2-card-media video { transform: scale(1.08); }
.tool-index, .kb-tag { font-family: var(--v2-mono); letter-spacing: 0.08em; font-size: 0.72rem; color: #087868; }
.kb-read, .tool-actions a { font-weight: 600; color: #087868; }

.guide-nav { position: sticky; top: 110px; }
.guide-nav a { transition: color 0.2s, padding-left 0.3s var(--v2-ease); }
.guide-nav a:hover { padding-left: 6px; color: #087868; }
.guide-section { padding-top: 12px; }
.guide-section h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }

.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 32px;
  background: var(--v2-ink);
  color: var(--v2-text);
  padding: clamp(40px, 7vw, 96px) clamp(24px, 6vw, 72px);
}
.cta-band::before { content: ""; position: absolute; inset: -40%; z-index: -1; background: conic-gradient(from 0deg, rgba(18, 163, 160, 0), rgba(18, 163, 160, 0.45), rgba(96, 198, 205, 0.1), rgba(243, 174, 75, 0.35), rgba(18, 163, 160, 0)); filter: blur(60px); animation: v2-spin 14s linear infinite; }
.cta-band h2, .cta-band h3, .cta-band strong { color: var(--v2-text); }
.cta-band p { color: var(--v2-text-dim); }

/* site.js reveals .reveal and the children of .stagger as they enter: a longer, softer rise, one after another. */
html.v2-js .reveal { transition: opacity 0.9s var(--v2-ease), transform 0.9s var(--v2-ease); }
html.v2-js .stagger > * { transition: opacity 0.8s var(--v2-ease), transform 0.8s var(--v2-ease), box-shadow 0.5s var(--v2-ease), border-color 0.3s; }
html.v2-js .stagger > :nth-child(2) { transition-delay: 0.08s; }
html.v2-js .stagger > :nth-child(3) { transition-delay: 0.16s; }
html.v2-js .stagger > :nth-child(4) { transition-delay: 0.24s; }
html.v2-js .stagger > :nth-child(5) { transition-delay: 0.32s; }
html.v2-js .stagger > :nth-child(6) { transition-delay: 0.4s; }
html.v2-js .stagger > :nth-child(n+7) { transition-delay: 0.48s; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 980px) {
  .v2-steps { grid-template-columns: 1fr; }
  .v2-steps-sticky { position: static; }
  .v2-window { transform: none; }
  .v2-card, .v2-card.v2-wide, .v2-card.v2-half { grid-column: span 12; }
  .v2-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-badge-a { left: 4%; } .v2-badge-b { right: 4%; }
  html .site-nav { background: rgba(7, 29, 43, 0.96); }
  .v2-page-hero.v2-has-film .container { grid-template-columns: 1fr; }
  .v2-page-hero.v2-has-film .container > .v2-page-film { grid-column: 1; grid-row: auto; margin-top: 40px; }
  .v2-page-film .v2-window { transform: none; }
  .guide-nav { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  .v2-aurora, .v2-aurora::before, .v2-aurora::after, .v2-grad, .v2-marquee-track, .v2-cta::before, .v2-ecg path, .v2-pulse, .v2-scroll-cue::after { animation: none !important; }
  html.v2-js [data-v2-reveal] { opacity: 1; transform: none; }
  .v2-card, .v2-btn, .v2-window, .capability, .process-step, .tool-card, .kb-card, .btn { transition: none; }
  .cta-band::before { animation: none !important; }
}
