:root {
  color-scheme: light;
  --ink: #101f32;
  --muted: #46586b;
  --navy: #081728;
  --teal: #00695e;
  --mint: #61ecd4;
  --line: #dce7eb;
  --wash: #f3f8f9;
  --white: #fff;
  --width: 74rem;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 100%;
  line-height: 1.6;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--white); color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
figure, blockquote, p { margin: 0; }
p + p { margin-top: 1rem; }
a { color: var(--teal); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #087d93; outline-offset: 4px; }
[id] { scroll-margin-top: 6rem; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 6vw, 5.25rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: 1.28rem; letter-spacing: -.025em; }
.container { width: min(calc(100% - 3rem), var(--width)); margin-inline: auto; }
.section { padding-block: clamp(3.6rem, 7vw, 6.25rem); }
.wash { background: var(--wash); }
.eyebrow { color: var(--teal); font-size: .875rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.lead { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.22rem); max-width: 46rem; }
.section-intro { display: grid; gap: .85rem; margin-bottom: 2.25rem; }
.skip-link { position: fixed; z-index: 10; top: .5rem; left: .5rem; padding: .65rem 1rem; background: var(--white); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 2; border-bottom: 1px solid var(--line); background: var(--white); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 4.65rem; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .58rem; flex: 0 0 auto; font-size: 1.56rem; font-weight: 800; line-height: 1; letter-spacing: -.065em; color: inherit; text-decoration: none; }
.brand img { width: 2rem; }
.brand strong { color: var(--teal); }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.35vw, 2rem); }
.site-nav > a { color: var(--muted); font-size: .94rem; font-weight: 650; white-space: nowrap; text-decoration: none; }
.site-nav > a:hover, .site-nav > a[aria-current="page"] { color: var(--teal); text-decoration: underline; }
.site-nav .mobile-demo { display: none; }
.menu-toggle { display: none; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: .45rem; padding: .48rem .75rem; font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: .45rem; padding: .72rem 1.15rem; background: var(--teal); color: var(--white); font-weight: 750; line-height: 1.4; text-align: center; text-decoration: none; }
.button:hover { background: #00564d; }
.button.secondary { color: var(--ink); background: transparent; border-color: #9bafb9; }
.button.secondary:hover { background: var(--wash); border-color: var(--teal); }
.dark { background: var(--navy); color: var(--white); }
.dark .eyebrow { color: var(--mint); }
.dark .lead, .dark .muted { color: #c4d5e1; }
.dark .button { background: var(--mint); color: var(--navy); }
.dark .button:hover { background: #a1faea; }
.dark .button.secondary { background: #08172880; border-color: #8499a9; color: var(--white); }
.dark .button.secondary:hover { background: #193448; }
.dark :focus-visible { outline-color: var(--mint); }

.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero-art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 64% 47%; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #071526 0%, #071526f0 24%, #07152682 52%, #0715260d 72%); }
.hero-inner { min-height: clamp(33rem, 43vw, 42rem); display: grid; align-content: center; padding-block: 4rem; }
.hero-copy { max-width: 42rem; display: grid; justify-items: start; gap: 1.35rem; }
.hero h1 { font-size: clamp(2.55rem, 4.5vw, 3.625rem); text-wrap: initial; }
.hero h1 span { color: var(--mint); }
.hero-phrase { white-space: nowrap; }
.hero .lead { max-width: 29rem; }
.hero .actions { margin-top: .35rem; }
.modalities { border-bottom: 1px solid var(--line); background: #f7fbfc; }
.modality-list { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem clamp(1.2rem, 3vw, 2.5rem); min-height: 4.45rem; padding-block: .75rem; font-weight: 700; }
.modality-list span { color: var(--muted); font-size: .875rem; font-weight: 650; }
.modality-list ul { display: flex; flex: 1 1 40rem; gap: .6rem clamp(1.2rem, 2.35vw, 2rem); flex-wrap: wrap; padding: 0; margin: 0; list-style: none; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.card { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: .85rem; padding: clamp(1.2rem, 2.7vw, 2rem); background: var(--white); border: 1px solid var(--line); border-radius: .75rem; }
.card p, .muted { color: var(--muted); }
.feature-card { min-height: 13rem; color: inherit; text-decoration: none; transition: border-color .18s, box-shadow .18s; }
.feature-card:hover { border-color: #78b6ae; box-shadow: 0 12px 28px #102f3610; }
.feature-card:hover h3 { color: var(--teal); text-decoration: underline; text-underline-offset: .2em; }
.icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: .55rem; color: var(--teal); background: #e5f5f2; }
.icon svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.stack { display: grid; justify-items: start; gap: 1rem; }
.text-link { font-weight: 750; }
.media { overflow: hidden; background: var(--wash); border: 1px solid var(--line); border-radius: .75rem; }
.media img { width: 100%; }
.media a { display: block; }
.media a:focus-visible { outline-offset: -4px; }
.media figcaption { padding: .55rem .85rem; font-size: .875rem; color: var(--muted); }
.dark .media { background: #172a3d; border-color: #415668; }
.dark .media figcaption { color: #d4e2e9; }
.quote { gap: 1rem; }
.quote blockquote { color: var(--ink); }
.quote figcaption { margin-top: auto; font-size: .94rem; color: var(--teal); font-weight: 750; }
.cta { background: #e3f5f2; }
.cta .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.cta h2 { font-size: clamp(1.9rem, 3.8vw, 2.75rem); }
.site-footer { background: var(--navy); color: var(--white); padding-block: 2.5rem 1.5rem; }
.site-footer .brand strong { color: var(--mint); }
.footer-main { display: flex; align-items: start; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem 2rem; }
.footer-main nav { display: flex; flex-wrap: wrap; gap: .75rem 1.4rem; }
.site-footer a:not(.brand), .site-footer p { color: #c4d5e1; font-size: .92rem; }
.footer-bottom { border-top: 1px solid #374a5c; margin-top: 1.5rem; padding-top: 1rem; }

.page-hero { background: radial-gradient(ellipse at top right, #124354, transparent 62%), var(--navy); }
.page-hero .container:not(.split) { display: grid; justify-items: start; gap: 1rem; }
.page-hero h1 { font-size: clamp(2.65rem, 6vw, 4.6rem); max-width: 16ch; }
.page-hero .actions { margin-top: .45rem; }
.feature-index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.feature-index ul { padding-left: 1.1rem; margin: .7rem 0 0; }
.feature-index li + li { margin-top: .38rem; }
.feature-detail + .feature-detail { border-top: 1px solid var(--line); }
.feature-detail h2 { font-size: clamp(1.9rem, 3.5vw, 2.75rem); }
.feature-detail:nth-child(even) .media { order: -1; }
.feature-detail ul, .stack ul { margin: 0; padding-left: 1.25rem; }
.contact-layout { align-items: start; }
.contact-layout > * { min-width: 0; }
.contact-form { width: 100%; }
.contact-form label { display: grid; gap: .35rem; width: 100%; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; padding: .6rem .75rem; border: 1px solid #8fa4ad; border-radius: .4rem; color: var(--ink); background: var(--white); }
.contact-form textarea { min-height: 8rem; resize: vertical; }
.contact-form h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.team-grid h2 { font-size: 1.65rem; }
.team-grid .text-link { margin-top: auto; }
.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.callout { margin-top: 1.4rem; padding: 1.1rem 1.3rem; border-left: .24rem solid var(--teal); background: var(--wash); }
.image-dialog { width: min(76rem, calc(100% - 2rem)); max-height: calc(100% - 2rem); padding: .75rem; border: 1px solid var(--line); border-radius: .65rem; color: var(--ink); }
.image-dialog::backdrop { background: #071526cb; }
.image-dialog form { display: flex; justify-content: flex-end; margin-bottom: .6rem; }
.image-dialog img { margin-inline: auto; max-height: calc(100dvh - 7rem); object-fit: contain; }

@media (max-width: 57rem) {
  .header-inner { flex-wrap: wrap; gap: .7rem 1rem; padding-block: .8rem; }
  .js .menu-toggle { display: inline-block; margin-left: auto; }
  .js .header-inner > .button { display: none; }
  .site-nav { order: 3; width: 100%; flex-wrap: wrap; gap: .75rem 1.2rem; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav .mobile-demo { display: inline; }
  .feature-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 44rem) {
  .container { width: calc(100% - 2rem); }
  .hero-inner { min-height: auto; align-content: start; padding-block: 3rem 14rem; }
  .hero h1 { font-size: clamp(2.05rem, 9vw, 2.65rem); }
  .hero .button { padding-inline: .9rem; font-size: .92rem; }
  .hero-art { inset: auto 0 0; height: 65%; object-position: 74% 46%; }
  .hero::after { background: linear-gradient(180deg, #081728 29%, #081728ed 46%, #0817284d 70%, transparent 90%); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .feature-detail:nth-child(even) .media { order: initial; }
}
@media (max-width: 32rem) {
  .grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
