@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/space-grotesk-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/space-grotesk-semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #060c14;
  --surface: #0a141f;
  --text: #f0f5f8;
  --muted: #a4b4c2;
  --accent: #75d8ff;
  --line: #243442;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; background: var(--background); color: var(--text); font-size: 16px; line-height: 1.65; }
::selection { color: var(--background); background: var(--accent); }
a { color: inherit; text-decoration: none; }
a, .button { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 2px; }
svg { display: block; max-width: 100%; }
figure, p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-weight: 600; text-wrap: balance; }
p { color: var(--muted); }
.container { width: min(1200px, calc(100% - 112px)); margin-inline: auto; }
.eyebrow { color: var(--accent); font-size: 11px; line-height: 1.5; letter-spacing: .13em; text-transform: uppercase; font-weight: 600; }
.skip-link { position: fixed; left: 16px; top: 12px; transform: translateY(-160%); background: var(--accent); color: var(--background); padding: 10px 16px; z-index: 10; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 5; background: rgba(6, 12, 20, .95); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.header-inner { min-height: 98px; display: flex; align-items: center; gap: 48px; }
.wordmark { display: inline-flex; flex-direction: column; align-items: center; width: 92px; flex-shrink: 0; }
.wordmark-name { font-weight: 600; text-transform: uppercase; letter-spacing: -.06em; font-size: 30px; line-height: .9; }
.wordmark-group { margin-top: 8px; padding-left: .63em; text-transform: uppercase; letter-spacing: .63em; font-size: 8px; line-height: 1; color: var(--accent); }
nav { display: flex; gap: 34px; margin-left: auto; }
nav a { font-size: 13px; color: var(--muted); padding-block: 12px; transition: color .18s ease; }
nav a:hover { color: var(--text); }
.header-contact { font-size: 13px; font-weight: 600; border-bottom: 1px solid var(--accent); padding-block: 11px; }
.header-contact span { margin-left: 20px; color: var(--accent); }

.hero { display: grid; grid-template-columns: 1.17fr 1fr; align-items: center; column-gap: 22px; padding-top: 76px; }
.hero-copy { position: relative; z-index: 1; animation: enter .65s ease-out both; }
.hero .eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 27px; }
.status-dot { height: 5px; width: 5px; background: var(--accent); display: inline-block; }
h1 { font-size: clamp(48px, 5.1vw, 72px); letter-spacing: -.052em; line-height: 1.075; }
h1 span { color: var(--accent); }
.hero-description { max-width: 525px; font-size: 17px; line-height: 1.7; margin-block: 27px 30px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 27px; background: var(--text); color: var(--background); font-size: 13px; font-weight: 600; padding: 17px 22px; border-radius: 3px; transition: background .2s ease, transform .2s ease; }
.button:hover { background: var(--accent); transform: translateY(-2px); }
.button span { font-size: 18px; line-height: 1; }
.text-link { font-size: 12px; color: var(--muted); }
.text-link:hover { color: var(--accent); }
.hero-secondary { display: block; width: fit-content; margin-top: 18px; padding-block: 4px; }
.hero-secondary span { margin-left: 10px; }
.system-figure { margin-top: 8px; min-width: 0; animation: enter .9s .12s ease-out both; }
.system-diagram { width: 100%; }
.boundary-corner { stroke: #4c788d; stroke-width: 1; fill: none; }
.boundary-line { stroke: #315163; stroke-width: 1; stroke-dasharray: 3 7; fill: none; }
.diagram-label { fill: #a4b4c2; font-family: "Space Grotesk", Arial, sans-serif; font-size: 10px; letter-spacing: 2px; }
.diagram-layer-label { fill: #b5cbd8; font-family: "Space Grotesk", Arial, sans-serif; font-size: 12px; letter-spacing: 1.2px; }
.diagram-model-label { fill: #c8f0ff; font-family: "Space Grotesk", Arial, sans-serif; font-size: 13px; letter-spacing: 1px; }
.diagram-detail { stroke: #75d8ff; stroke-width: 2; fill: none; }
.system-figure figcaption { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; color: var(--muted); font-size: 10px; letter-spacing: .01em; margin-top: 5px; text-align: center; }
.hero-footnote { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding-block: 23px; margin-top: 62px; }
.hero-footnote p { font-size: 11px; }
.hero-footnote span { color: var(--accent); margin-inline: 12px; }

.section { padding-block: 100px; }
.section-heading { margin-bottom: 43px; }
.section-heading .eyebrow, .boundary-copy .eyebrow, .perspective-section .eyebrow, .contact-section .eyebrow { margin-bottom: 22px; }
h2 { font-size: clamp(32px, 3.3vw, 44px); letter-spacing: -.043em; line-height: 1.17; }
.section-heading > p:last-child:not(.eyebrow) { max-width: 565px; margin-top: 22px; font-size: 15px; }
h3 { font-size: 22px; line-height: 1.3; letter-spacing: -.026em; }
.workload { display: grid; grid-template-columns: 45px 1fr 1.25fr 20px; gap: 28px; align-items: start; border-top: 1px solid var(--line); padding: 29px 0 32px; }
.workload:last-child { border-bottom: 1px solid var(--line); }
.workload h3 { font-size: 21px; }
.workload p { font-size: 14px; max-width: 480px; }
.row-index { font-size: 11px; color: var(--accent); padding-top: 4px; }
.row-symbol { color: var(--accent); font-size: 20px; line-height: 1.3; }

.deployment-section { background: var(--surface); border-block: 1px solid var(--line); }
.deployment-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 80px; }
.deployment-option { padding-top: 24px; border-top: 1px solid #365063; }
.option-icon { width: 48px; height: 48px; margin-block: 5px 37px; color: var(--accent); stroke: currentColor; fill: none; stroke-width: 1.25; }
.deployment-option .eyebrow { margin-bottom: 13px; color: var(--muted); }
.deployment-option h3 { font-size: 29px; margin-bottom: 20px; }
.deployment-option > p:last-child { font-size: 15px; max-width: 460px; }
.frontier-option { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; border-top: 1px solid #365063; padding-top: 36px; margin-top: 48px; scroll-margin-top: 25px; }
.frontier-option .eyebrow { margin-bottom: 15px; }
.frontier-option h3 { font-size: 29px; margin-bottom: 20px; }
.frontier-option p:not(.eyebrow) { font-size: 14px; max-width: 470px; }
.frontier-option p + p { margin-top: 17px; }
.frontier-billing { border-left: 2px solid var(--accent); padding-left: 27px; align-self: center; }
.frontier-billing h4 { font-size: 23px; font-weight: 600; line-height: 1.3; letter-spacing: -.026em; margin: 0 0 16px; text-wrap: balance; }
.section-note { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12px; }

.boundary-section { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.boundary-copy > p:not(.eyebrow) { max-width: 430px; margin-top: 24px; font-size: 15px; }
.boundary-copy .boundary-note { padding-left: 18px; border-left: 2px solid var(--accent); font-size: 12px; max-width: 340px; }
.boundary-list { margin: 0; }
.boundary-list > div { border-top: 1px solid var(--line); padding-block: 19px 22px; }
.boundary-list > div:last-child { border-bottom: 1px solid var(--line); }
.boundary-list dt { font-size: 15px; font-weight: 600; margin-bottom: 5px; }
.boundary-list dd { margin: 0; font-size: 13px; color: var(--muted); max-width: 420px; }

.approach-section { border-top: 1px solid var(--line); }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 33px; list-style: none; margin: 52px 0 0; padding: 0; }
.process li { border-top: 1px solid #365063; padding-top: 21px; }
.process-number { display: block; font-size: 11px; color: var(--accent); margin-bottom: 29px; }
.process h3 { font-size: 19px; margin-bottom: 13px; }
.process p { font-size: 13px; }
.perspective-section { display: grid; grid-template-columns: 1.15fr 1fr; gap: 88px; border-top: 1px solid var(--line); padding-top: 80px; }
.perspective-section h2 { font-size: 34px; }
.perspective-section p:not(.eyebrow) { font-size: 14px; margin-top: 20px; max-width: 475px; }
.cost-perspective { padding-left: 46px; border-left: 1px solid var(--line); }
.cost-perspective h3 { font-size: 28px; }

.contact-section { border-top: 1px solid #345264; border-bottom: 1px solid var(--line); background: #0b1824; }
.contact-inner { padding-block: 85px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 90px; align-items: end; }
.contact-inner h2 { font-size: clamp(36px, 4.8vw, 61px); letter-spacing: -.045em; }
.contact-inner > div:first-child > p:not(.eyebrow) { margin-top: 26px; max-width: 535px; font-size: 15px; }
.contact-email { display: inline-flex; align-items: center; gap: 24px; padding-block: 13px; border-bottom: 1px solid var(--accent); margin-top: 20px; font-size: clamp(17px, 2vw, 24px); letter-spacing: -.02em; transition: color .2s ease; }
.contact-email span { color: var(--accent); }
.contact-email:hover { color: var(--accent); }
.contact-guidance { padding-left: 37px; border-left: 1px solid #345264; }
.contact-guidance .eyebrow { margin-bottom: 20px; }
.contact-guidance ul { padding-left: 17px; margin: 0; font-size: 13px; }
.contact-guidance li { padding-left: 5px; margin-bottom: 10px; }
.contact-guidance li::marker { color: var(--accent); }
.contact-guidance > p:last-child { margin-top: 25px; font-size: 12px; max-width: 310px; }
.site-footer { padding-block: 40px; display: flex; align-items: center; gap: 36px; }
.site-footer p { font-size: 11px; }
.copyright { margin-left: auto; white-space: nowrap; }
.error-page { min-height: calc(100vh - 100px); padding-block: 120px; }
.error-page h1 { margin-block: 24px; }
.error-page .button { margin-top: 30px; }

@keyframes enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Service pages share the homepage's type, color and spacing system. */
.service-hero { padding-block: 64px 72px; border-bottom: 1px solid var(--line); overflow: hidden; }
.service-hero .eyebrow { margin-bottom: 24px; }
.service-hero h1 { max-width: 900px; font-size: clamp(42px, 5.4vw, 76px); }
.service-hero .lead { max-width: 670px; font-size: 18px; margin-top: 28px; }
.service-hero .button { margin-top: 28px; }
.breadcrumb { font-size: 11px; margin-bottom: 34px; color: var(--muted); }
.breadcrumb a, .body-link { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #507184; }
.breadcrumb a:hover, .body-link:hover { color: var(--accent); }
.service-hero-inner { animation: enter .65s ease-out both; }
.service-visual { display: block; width: 100%; max-width: 850px; height: auto; margin-top: 42px; }
.reading-section { display: grid; grid-template-columns: .65fr 1.35fr; gap: 80px; padding-block: 70px; border-bottom: 1px solid var(--line); }
.reading-section h2 { font-size: clamp(28px, 3vw, 38px); max-width: 350px; }
.reading-section .eyebrow { margin-bottom: 15px; }
.reading-copy p + p { margin-top: 18px; }
.reading-copy h3 { margin-block: 28px 12px; font-size: 21px; }
.reading-copy h3:first-child { margin-top: 0; }
.reading-copy ul, .reading-copy ol { padding-left: 22px; color: var(--muted); }
.reading-copy li { padding-left: 4px; margin-block: 10px; }
.reading-copy li::marker { color: var(--accent); }
.reading-copy strong { color: var(--text); font-weight: 600; }
.reading-copy a { text-decoration: underline; text-underline-offset: 4px; }
.page-note { border-left: 2px solid var(--accent); padding-left: 20px; margin-block: 24px; font-size: 13px; }
.resource-links { display: flex; flex-wrap: wrap; gap: 18px 30px; padding-block: 32px; border-bottom: 1px solid var(--line); }
.resource-links a { font-size: 12px; padding-block: 9px; text-decoration: underline; text-underline-offset: 5px; }
.resource-links a:hover { color: var(--accent); }
.resource-links span { color: var(--accent); margin-left: 6px; }
.faq { border-top: 1px solid var(--line); padding-block: 18px; }
.faq:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; padding-right: 20px; }
.faq summary::marker { color: var(--accent); }
.faq p { padding-block: 16px 4px; font-size: 14px; }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.table-wrap { overflow-x: auto; border-top: 1px solid var(--line); margin-block: 24px; }
.comparison-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
.comparison-table th, .comparison-table td { padding: 18px 16px 18px 0; vertical-align: top; border-bottom: 1px solid var(--line); }
.comparison-table th { color: var(--text); font-weight: 600; }
.comparison-table td { color: var(--muted); }
.comparison-table caption { text-align: left; padding-block: 14px; color: var(--muted); }
.example-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; padding-block: 65px; }
.example-input { padding: 28px; background: var(--surface); border-top: 2px solid var(--accent); align-self: start; }
.example-input blockquote { margin: 22px 0; color: var(--text); font-size: 17px; line-height: 1.85; }
.example-input p:last-child { font-size: 12px; }
.example-input p { margin-top: 18px; }
.example-output h3 { margin-block: 25px 12px; font-size: 21px; }
.example-output ul { padding-left: 22px; color: var(--muted); }
.example-output h2 { font-size: 30px; }
.example-output > p { margin-top: 16px; }
.example-output ol { color: var(--muted); padding-left: 22px; }
.example-output li { margin-block: 12px; }
.example-output li::marker { color: var(--accent); }
.example-caption { font-size: 12px; margin-top: 18px; }
.check-strip { display: flex; gap: 24px; flex-wrap: wrap; border-block: 1px solid var(--line); padding-block: 20px; margin-top: 36px; color: var(--muted); font-size: 12px; }
.check-strip span::before { content: "↗"; color: var(--accent); margin-right: 9px; }
@media (min-width: 1000px) {
  .reading-section > div:first-child { position: sticky; top: 140px; align-self: start; }
}
@media (max-width: 760px) {
  .service-hero { padding-block: 36px 45px; }
  .service-hero h1 { font-size: clamp(39px, 10.5vw, 60px); overflow-wrap: anywhere; }
  .service-hero .lead { font-size: 15px; margin-top: 22px; }
  .breadcrumb { margin-bottom: 26px; }
  .service-visual { margin-top: 30px; }
  .reading-section { grid-template-columns: 1fr; gap: 25px; padding-block: 45px; }
  .reading-copy { font-size: 14px; min-width: 0; }
  .reading-section h2 { max-width: 500px; }
  .resource-links { display: grid; gap: 8px; }
  .example-layout { grid-template-columns: 1fr; gap: 38px; padding-block: 40px; }
  .example-input { padding: 22px; }
  .example-input blockquote { font-size: 15px; }
  .comparison-table { font-size: 12px; min-width: 450px; }
  .check-strip { gap: 12px 20px; margin-top: 28px; }
}

@media (min-width: 1450px) {
  .hero { padding-top: 91px; }
  .hero-footnote { margin-top: 79px; }
}

@media (max-width: 1100px) {
  .container { width: calc(100% - 72px); }
  .header-inner { gap: 35px; min-height: 88px; }
  nav { gap: 25px; }
  .hero { grid-template-columns: 1.15fr 1fr; column-gap: 0; padding-top: 60px; }
  h1 { font-size: clamp(44px, 5.25vw, 60px); }
  .hero-description { font-size: 15px; }
  .system-figure { margin-right: -14px; }
  .system-figure figcaption { font-size: 9px; gap: 4px; }
  .section { padding-block: 80px; }
  .deployment-options, .frontier-option, .boundary-section { gap: 50px; }
  .workload { grid-template-columns: 28px 1fr 1.25fr 15px; gap: 22px; }
  .workload h3 { font-size: 19px; }
  .process { gap: 24px; }
  .process h3 { font-size: 17px; }
  .perspective-section { gap: 50px; }
  .cost-perspective { padding-left: 32px; }
  .contact-inner { gap: 48px; }
  .contact-guidance { padding-left: 28px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 135px; }
  .container { width: calc(100% - 40px); }
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: 0; padding-block: 18px 8px; }
  .wordmark { width: 79px; }
  .wordmark-name { font-size: 26px; }
  .wordmark-group { font-size: 7px; margin-top: 7px; }
  .header-contact { grid-row: 1; grid-column: 2; font-size: 12px; padding-block: 12px; min-height: 44px; }
  .header-contact span { margin-left: 14px; }
  nav { grid-row: 2; grid-column: 1 / -1; width: 100%; justify-content: space-between; gap: 15px; margin-top: 14px; }
  nav a { font-size: 11px; padding-block: 12px; min-height: 44px; }
  .hero { grid-template-columns: 1fr; padding-top: 42px; }
  .hero .eyebrow { margin-bottom: 23px; }
  h1 { font-size: clamp(41px, 8.2vw, 63px); }
  .hero-description { max-width: 540px; font-size: 15px; margin-block: 23px 27px; }
  .button { min-height: 52px; font-size: 12px; padding: 15px 20px; }
  .hero-secondary { margin-top: 14px; }
  .system-figure { width: min(390px, 100%); margin: 34px auto 0; }
  .system-figure figcaption { font-size: 9px; gap: 6px; margin-top: 0; }
  .hero-footnote { margin-top: 33px; padding-block: 20px; display: block; }
  .hero-footnote p { font-size: 10px; }
  .hero-footnote p + p { margin-top: 8px; }
  .hero-footnote span { margin-inline: 8px; }
  .section { padding-block: 65px; }
  .section-heading { margin-bottom: 31px; }
  .eyebrow { font-size: 10px; }
  h2 { font-size: 32px; }
  .section-heading .eyebrow, .boundary-copy .eyebrow, .perspective-section .eyebrow, .contact-section .eyebrow { margin-bottom: 18px; }
  .section-heading > p:last-child:not(.eyebrow) { font-size: 14px; margin-top: 20px; }
  .workload { grid-template-columns: 24px 1fr 16px; gap: 10px 15px; padding-block: 24px; }
  .workload h3 { font-size: 20px; }
  .workload p { grid-column: 2; font-size: 13px; }
  .row-symbol { grid-row: 1; grid-column: 3; }
  .deployment-options { grid-template-columns: 1fr; gap: 38px; }
  .deployment-option { position: relative; padding-top: 24px; padding-right: 0; }
  .option-icon { position: absolute; top: 21px; right: 0; width: 36px; height: 36px; margin: 0; }
  .deployment-option .eyebrow { padding-right: 50px; margin-top: 5px; margin-bottom: 25px; }
  .deployment-option h3 { font-size: 25px; margin-bottom: 14px; }
  .deployment-option > p:last-child { font-size: 14px; }
  .frontier-option { grid-template-columns: 1fr; gap: 27px; margin-top: 38px; padding-top: 30px; }
  .frontier-option h3 { font-size: 25px; margin-bottom: 17px; }
  .frontier-option p:not(.eyebrow) { font-size: 13px; }
  .frontier-billing { padding-left: 20px; }
  .frontier-billing h4 { font-size: 21px; }
  .section-note { margin-top: 30px; font-size: 11px; }
  .boundary-section { grid-template-columns: 1fr; gap: 34px; }
  .boundary-copy > p:not(.eyebrow) { font-size: 14px; }
  .boundary-copy .boundary-note { font-size: 12px; }
  .boundary-list > div { padding-block: 17px 19px; }
  .process { grid-template-columns: repeat(2, 1fr); gap: 30px 24px; margin-top: 35px; }
  .process-number { margin-bottom: 20px; }
  .process h3 { font-size: 17px; }
  .process p { font-size: 12px; }
  .perspective-section { grid-template-columns: 1fr; gap: 38px; }
  .perspective-section h2 { font-size: 30px; }
  .cost-perspective { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 35px; }
  .cost-perspective h3 { font-size: 26px; }
  .contact-inner { grid-template-columns: 1fr; gap: 42px; padding-block: 64px; }
  .contact-inner h2 { font-size: 41px; }
  .contact-inner > div:first-child > p:not(.eyebrow) { font-size: 14px; }
  .contact-email { font-size: clamp(17px, 4.4vw, 24px); gap: 17px; }
  .contact-guidance { padding-left: 20px; }
  .site-footer { flex-wrap: wrap; gap: 24px; padding-block: 32px; }
  .site-footer > p:not(.copyright) { display: none; }
  .copyright { font-size: 9px; }
}

@media (max-width: 360px) {
  .container { width: calc(100% - 32px); }
  h1 { font-size: 37px; }
  .process { grid-template-columns: 1fr; }
  .process-number { margin-bottom: 12px; }
  .contact-email { gap: 10px; font-size: 16px; }
  .contact-inner h2 { font-size: 37px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
