@font-face { font-family: "Post Grotesk"; src: url("../fonts/PostGrotesk-Book.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Post Grotesk"; src: url("../fonts/PostGrotesk-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Post Grotesk"; src: url("../fonts/PostGrotesk-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #0a0e24;
  --paper: #ffffff;
  --muted: #555b73;
  --line: #e2e5ef;
  --brand: #0e7490;
  --brand-deep: #155e75;
  --brand-dark: #0a0e24;
  --tint: #e8f6fa;
  --night: #070a1c;
  --cyan: #22d3ee;
  --violet: #a78bfa;
  --max: 1120px;
  --gutter: clamp(20px, 4vw, 40px);
  --font: "Post Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.mark { display: inline-flex; align-items: center; margin-right: auto; }
.mark img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 0.9375rem; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav .btn { color: #fff; }
.nav a.btn:hover { color: #fff; }

/* buttons */
.btn { display: inline-block; padding: 13px 22px; background: var(--brand); color: #fff; border: 1px solid var(--brand); border-radius: 3px; font: 500 0.9375rem/1 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.btn:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.btn.quiet { background: transparent; color: var(--brand-deep); border-color: var(--brand); }
.btn.quiet:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn.on-dark { background: #fff; color: var(--night); border-color: #fff; }
.btn.on-dark:hover { background: var(--tint); border-color: var(--tint); }
.btn.on-dark { color: var(--brand-deep); }
.btn.small { padding: 10px 16px; }

/* type */
h1 { font-weight: 700; font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.02; letter-spacing: -0.03em; }
h2 { font-weight: 700; font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.1; letter-spacing: -0.02em; }
h3 { font-weight: 700; font-size: 1.0625rem; line-height: 1.3; }
.lede { font-size: clamp(1.1875rem, 1.6vw, 1.375rem); line-height: 1.5; color: var(--muted); max-width: 34em; }
.muted { color: var(--muted); }

/* hero */
.hero { padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 88px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.facts { background: var(--tint); }
.facts .wrap { display: flex; flex-wrap: wrap; gap: 8px 40px; padding-block: 18px; font-size: 0.9375rem; color: var(--muted); }
.facts b { color: var(--brand-deep); font-weight: 700; }
.facts .wrap { color: #3f5560; }

/* sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 36em; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.125rem; }

.groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 3px solid var(--brand); }
.group { padding: 24px 24px 8px 0; }
.group + .group { padding-left: 24px; border-left: 1px solid var(--line); }
.group h3 { margin-bottom: 18px; color: var(--brand-deep); }
.group li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 0.9688rem; line-height: 1.4; }
.group li:first-of-type { border-top: 0; padding-top: 0; }
.group li span { display: block; color: var(--muted); font-size: 0.875rem; margin-top: 2px; }

.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); }
.rows { border-top: 3px solid var(--brand); }
.rows > div { display: grid; grid-template-columns: 11em 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.rows dt { font-weight: 700; color: var(--brand-deep); }
.rows dd { color: var(--muted); }

.steps { counter-reset: s; border-top: 3px solid var(--brand); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.5em 1fr; gap: 8px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s); font-weight: 700; color: var(--brand); font-size: 1.25rem; line-height: 1.3; }
.steps b { display: block; font-weight: 700; }
.steps span { color: var(--muted); }

.cta { background: var(--night); color: #fff; padding: clamp(56px, 8vw, 96px) 0; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta p { color: #b4bad6; margin-top: 12px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 0.9375rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 48px; justify-content: space-between; }
.site-footer .mark { margin: 0 0 10px; }
.site-footer .mark img { height: 34px; }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }

/* inner pages */
.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 5vw, 56px); }
a:not(.btn):not(.mark):hover { color: var(--brand-deep); }
.page-head h1 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); margin-bottom: 20px; }
.feature-block { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(24px, 5vw, 80px); padding: 40px 0; border-top: 1px solid var(--line); }
.feature-block:first-of-type { border-top: 3px solid var(--brand); }
.feature-block h2 { font-size: 1.5rem; }
.feature-block p.intro { color: var(--muted); margin-top: 10px; }
.feature-list li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 13em 1fr; gap: 24px; }
.feature-list li:first-child { padding-top: 0; }
.feature-list b { font-weight: 700; }
.feature-list span { color: var(--muted); }
.contact-rows { max-width: 40em; }

@media (max-width: 900px) {
  .hero .wrap, .split, .feature-block { grid-template-columns: 1fr; }
  .groups { grid-template-columns: repeat(2, 1fr); }
  .group:nth-child(3) { padding-left: 0; border-left: 0; }
  .group:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 32px; }
}
@media (max-width: 640px) {
  .nav a:not(.btn):not(.keep) { display: none; }
  .nav { gap: 16px; }
  .groups { grid-template-columns: 1fr; }
  .group + .group { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 32px; }
  .rows > div, .feature-list li { grid-template-columns: 1fr; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .circuit .pulse { animation: none; opacity: 0; }
}

.tinted { background: var(--tint); }
.tinted + .section { border-top: 0; }
.section.tinted { border-top: 0; }

/* pricing */
.price { background: var(--tint); border-top: 3px solid var(--brand); padding: 28px 28px 24px; margin-bottom: 32px; }
.price-amount { font-weight: 700; font-size: clamp(2.75rem, 6vw, 4.5rem); line-height: 1; letter-spacing: -0.03em; color: var(--brand-deep); }
.price-amount [data-price-amount] { font-size: inherit; }
.price-note { margin-top: 10px; font-size: 1.125rem; }

/* area pages */
.group h3 a { text-decoration: none; }
.group h3 a:hover { text-decoration: underline; }
.area-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 3px solid var(--brand); }
.area-grid li { border-bottom: 1px solid var(--line); }
.area-grid li:nth-child(odd) { border-right: 1px solid var(--line); }
.area-grid a { display: block; padding: 32px 32px 32px 0; text-decoration: none; height: 100%; }
.area-grid li:nth-child(even) a { padding-left: 32px; }
.area-grid b { display: block; font-size: 1.5rem; letter-spacing: -0.01em; color: var(--brand-deep); margin-bottom: 8px; }
.area-grid span { color: var(--muted); }
.area-grid a:hover b { text-decoration: underline; }
.area-links { display: flex; flex-wrap: wrap; gap: 12px 32px; border-top: 1px solid var(--line); padding-top: 24px; }
.area-links a { color: var(--brand-deep); font-weight: 500; }
@media (max-width: 640px) { .area-grid { grid-template-columns: 1fr; } .area-grid li:nth-child(odd) { border-right: 0; } .area-grid li:nth-child(even) a { padding-left: 0; } }

/* long-form pages */
.prose > * { max-width: 46em; }
.prose h2 { font-size: 1.375rem; margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 14px; }
.prose ul:not(.area-links) { margin: 0 0 14px 1.2em; list-style: disc; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--brand-deep); }
.prose .big { font-size: 1.5rem; font-weight: 700; }

/* three pillars */
.groups.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.groups.three .group:nth-child(3) { padding-left: 24px; border-left: 1px solid var(--line); }
.group h3 a { text-decoration: none; }
.group li span { font-size: 0.9rem; line-height: 1.5; }
.section-head p a { color: var(--brand-deep); }
@media (max-width: 900px) {
  .groups.three { grid-template-columns: 1fr; }
  .groups.three .group + .group, .groups.three .group:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 32px; }
}

.split > .price { align-self: start; }

/* ------------------------------------------------------------ Quantum Labs: dark header, hero and footer (the logo is made for a dark ground) */
.site-header { background: var(--night); border-bottom: 1px solid #1a2040; }
.mark img { height: 40px; width: auto; }
.nav a { color: #aab1d0; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav .btn { background: var(--cyan); border-color: var(--cyan); color: #06222a; }
.nav a.btn:hover { background: #fff; border-color: #fff; color: #06222a; }
.btn { background: var(--brand); border-color: var(--brand); }
.btn:hover { background: var(--brand-deep); border-color: var(--brand-deep); }

.hero.dark { background: var(--night); color: #fff; padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 8vw, 104px); }
.hero.dark h1 { color: #fff; }
.hero.dark .lede { color: #b4bad6; }
.hero.dark .btn { background: var(--cyan); border-color: var(--cyan); color: #06222a; }
.hero.dark .btn:hover { background: #fff; border-color: #fff; }
.hero.dark .btn.quiet { background: transparent; color: #fff; border-color: #4b5380; }
.hero.dark .btn.quiet:hover { background: #fff; color: var(--night); border-color: #fff; }

.circuit { background: #0d1230; border: 1px solid #1f2650; border-radius: 6px; padding: 18px 14px 8px; }
.circuit svg { width: 100%; height: auto; }
.circuit text { font-family: var(--font); }
.circuit .wire { stroke: #343c6e; stroke-width: 1.5; }
.circuit .pulse { stroke: var(--cyan); stroke-width: 2.5; stroke-linecap: round; fill: none; stroke-dasharray: 36 464; stroke-dashoffset: 36; animation: run 5.5s linear infinite; animation-delay: var(--d, 0s); }
.circuit .gate { fill: #0d1230; stroke: #5fd8ee; stroke-width: 1.5; }
.circuit .gate-t { fill: #e9edff; font-size: 13px; font-weight: 500; text-anchor: middle; dominant-baseline: central; }
.circuit .dot { fill: var(--cyan); }
.circuit .link { stroke: var(--cyan); stroke-width: 1.5; }
.circuit .lbl { fill: #7e86b4; font-size: 12px; }
.circuit .cap { fill: #7e86b4; font-size: 11.5px; }
@keyframes run { 0% { stroke-dashoffset: 36; opacity: 0; } 6% { opacity: 1; } 94% { opacity: 1; } 100% { stroke-dashoffset: -500; opacity: 0; } }

/* the logo's cyan-to-violet, as a thin rule */
.groups, .rows, .steps, .area-grid, .feature-block:first-of-type, .price { border-top: 3px solid transparent; border-image: linear-gradient(90deg, var(--cyan), var(--violet)) 1; }
.groups.three .group:nth-child(3) { padding-left: 24px; border-left: 1px solid var(--line); }
.facts { background: var(--tint); }
.cta { background: var(--night); border-top: 3px solid transparent; border-image: linear-gradient(90deg, var(--cyan), var(--violet)) 1; }
.cta h2 { color: #fff; }
.cta .btn.on-dark { background: var(--cyan); border-color: var(--cyan); color: #06222a; }
.cta .btn.on-dark:hover { background: #fff; border-color: #fff; }

.site-footer { background: var(--night); border-top: 0; color: #9aa2c8; }
.site-footer a:hover { color: #fff; }
.site-footer .mark img { height: 34px; }

/* cases and people */
.case { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(24px, 5vw, 80px); padding: 40px 0; border-top: 1px solid var(--line); }
.case:first-of-type { border-top: 3px solid transparent; border-image: linear-gradient(90deg, var(--cyan), var(--violet)) 1; }
.case h2 { font-size: 1.5rem; }
.case .tagline { color: var(--muted); margin-top: 10px; }
.case dl { display: grid; gap: 18px; }
.case dt { font-weight: 700; color: var(--brand-deep); margin-bottom: 2px; }
.case dd { margin: 0; color: var(--ink); }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.person img { width: 120px; height: 120px; object-fit: cover; object-position: top; border-radius: 50%; margin-bottom: 18px; background: var(--tint); }
.person h3 { font-size: 1.25rem; }
.person .role { color: var(--brand-deep); font-weight: 500; margin: 2px 0 12px; }
.person p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chips li { font-size: 0.875rem; padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink); }
.faq div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.faq dt { font-weight: 700; margin-bottom: 6px; }
.faq dd { color: var(--muted); max-width: 46em; }
.bullets { margin: 12px 0 0 1.2em; list-style: disc; color: var(--muted); }
.bullets li { margin-bottom: 6px; }
@media (max-width: 900px) { .case, .people { grid-template-columns: 1fr; } }

/* three solution cards, research groups */
.area-grid.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.area-grid.three-up li, .area-grid.three-up li:nth-child(odd) { border-right: 1px solid var(--line); }
.area-grid.three-up li:last-child { border-right: 0; }
.area-grid.three-up a, .area-grid.three-up li:nth-child(even) a { padding: 32px 24px; }
.area-grid.three-up li:first-child a { padding-left: 0; }
.rgroups { display: grid; gap: 28px; }
.rgroups b { display: block; margin-bottom: 4px; }
@media (max-width: 900px) {
  .area-grid.three-up { grid-template-columns: 1fr; }
  .area-grid.three-up li { border-right: 0 !important; }
  .area-grid.three-up a, .area-grid.three-up li:first-child a { padding: 28px 0; }
}

.site-footer .soc { display: inline-flex; align-items: center; gap: 6px; }
.site-footer .soc-ic { flex: none; }

/* ---- spacing below the hero, and call-out blocks ---- */
.section { padding: clamp(36px, 5vw, 64px) 0; }
.section-head { margin-bottom: clamp(20px, 3vw, 32px); }
.page-head { padding: clamp(32px, 5vw, 64px) 0 clamp(20px, 3vw, 32px); }
.cta { padding: clamp(36px, 5vw, 56px) 0; }
.split { align-items: start; gap: clamp(24px, 4vw, 56px); }
@media (min-width: 901px) { .split > :first-child { position: sticky; top: 96px; } }
.rows > div { padding: 14px 0; }
.steps li { padding: 14px 0; }
.feature-block { padding: 28px 0; }
.aside { margin-top: 20px; padding: 14px 16px; border-left: 3px solid var(--brand); background: var(--tint); font-size: 0.9688rem; color: var(--ink); max-width: 34em; }
.aside a { font-weight: 700; }
.split .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.cta .btn.ghost:hover { background: #fff; color: var(--night); border-color: #fff; }

/* ---- content components: icon cards, check lists, scenes, FAQ ---- */
.ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--tint); color: var(--brand); flex: none; }
.icards { display: grid; gap: 20px; }
.icards.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.icards.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.icards.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.icards li { border: 1px solid var(--line); border-radius: 8px; padding: 22px; background: #fff; }
.icards li .ico { margin-bottom: 14px; }
.icards h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.icards p { color: var(--muted); font-size: 0.9688rem; line-height: 1.55; }
.checks li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--line); }
.checks svg { color: var(--brand); flex: none; margin-top: 3px; }
.scenes { display: grid; gap: 0; counter-reset: sc; }
.scenes li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.scenes b { display: block; margin-bottom: 2px; }
.scenes p { color: var(--muted); }
.faqs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); }
.faqs > div { padding: 18px 0; border-top: 1px solid var(--line); }
.faqs dt { font-weight: 700; margin-bottom: 6px; }
.faqs dd { margin: 0; color: var(--muted); }
.rows dt svg, .group li svg.ic, .feature-list li svg.ic { vertical-align: -4px; margin-right: 8px; color: var(--brand); }
@media (max-width: 900px) { .icards.c3, .icards.c4, .icards.c2, .faqs { grid-template-columns: 1fr; } }
@media (min-width: 640px) and (max-width: 900px) { .icards.c3, .icards.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.area-grid b svg.ic, .rgroups b svg.ic, .case dt svg.ic { vertical-align: -4px; margin-right: 8px; color: var(--brand); }
.group li svg.ic, .rows dt svg.ic, .feature-list b svg.ic, .rgroups b svg.ic, .case dt svg.ic { display: inline-block; }
.area-grid b svg.ic { display: inline-block; }
.prose .icards, .prose .scenes, .prose .checks, .prose .faqs { max-width: none; }
.prose .icards h3 { margin-top: 0; }
.prose ul.icards, .prose ul.checks, .prose ol.scenes { list-style: none; margin: 0; padding: 0; }
.prose .icards li, .prose .checks li, .prose .scenes li { margin: 0; }
.prose .icards li { padding: 22px; }
.prose .checks li { padding: 11px 0; }
.prose .scenes li { padding: 18px 0; }

/* buttons in a row always get a gap, wherever the row sits */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* small screens: the header stays on one line */
.nav a, .nav .btn { white-space: nowrap; }
@media (max-width: 420px) {
  .site-header .wrap { gap: 12px; }
  .nav { gap: 12px; }
  .nav a.keep { display: none; }
  .nav .btn.small { padding: 9px 12px; font-size: 0.8125rem; }
  .mark img { height: 32px; width: auto; }
}
