@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/plus-jakarta-sans-700.woff2") format("woff2"); }
:root {
  color-scheme: light;
  --night: #070817;
  --night-soft: #10132a;
  --night-line: #2c3156;
  --blue: #3657ff;
  --blue-deep: #263ee0;
  --blue-light: #a6b8ff;
  --paper: #f2f4fb;
  --white: #fff;
  --ink: #171b32;
  --ink-soft: #424960;
  --muted: #646b80;
  --line: #d9deed;
  --font-main: "Segoe UI Variable", "Helvetica Neue", Arial, sans-serif;
  --font-brand: "Plus Jakarta Sans", "Segoe UI Variable", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.58 var(--font-main); -webkit-font-smoothing: antialiased; }
main { scroll-margin-top: 84px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
img, svg { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 500; line-height: 1.08; letter-spacing: -.045em; }
p { color: var(--ink-soft); }
.container { width: min(100% - 72px, 1320px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 50; left: 18px; top: -70px; padding: 10px 15px; background: white; color: var(--ink); }
.skip-link:focus { top: 12px; }
.arrow { display: inline-block; line-height: 1; transition: transform .2s ease; }
a:hover .arrow, button:hover .arrow { transform: translate(3px,-3px); }
.text-link { display: inline-flex; gap: 18px; align-items: center; width: fit-content; padding: 0 0 7px; border-bottom: 1px solid currentColor; font-size: 15px; font-weight: 650; text-decoration: none; }
.text-link:hover { color: var(--blue-deep); }
.text-link-light { color: white; }
.text-link-light:hover { color: var(--blue-light); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 38px; min-height: 54px; padding: 13px 18px; border: 1px solid transparent; border-radius: 2px; color: white; font-weight: 650; line-height: 1.2; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.button-primary { background: var(--blue); }
.button-primary:hover { background: #5470ff; color: white; transform: translateY(-2px); }
.button:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* The navigation stays legible as the homepage moves from dark to light. */
.site-header { position: sticky; top: 0; z-index: 20; margin-bottom: -84px; background: transparent; color: white; transition: color .28s ease, background .28s ease; }
.site-header.is-light { background: rgba(255,255,255,.94); color: var(--ink); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
/* Inner pages: frost the header over the dark hero so content scrolling beneath stays out of the nav text. */
.site-header.is-frosted { background: rgba(7,8,23,.72); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); }
.site-header.is-frosted .header-inner { border-color: rgba(235,241,255,.14); }
/* The home hero is already dark and blue, so its frost is lighter than on inner pages. */
body:has(.home-hero) .site-header.is-frosted { background: rgba(7,8,23,.4); -webkit-backdrop-filter: blur(9px) saturate(130%); backdrop-filter: blur(9px) saturate(130%); }
.site-header.is-light .header-inner { border-color: rgba(31,48,98,.22); }
.site-header.is-light .brand { color: var(--ink); }
.site-header.is-light .brand-mark-foot { fill: var(--blue); }
.site-header.is-light .primary-nav a { color: var(--ink-soft); }
.site-header.is-light .primary-nav a:hover,
.site-header.is-light .primary-nav a[aria-current] { color: var(--ink); }
.site-header.is-light .header-action { background: var(--blue); color: white; }
.site-header.is-footer { background: var(--night); color: white; backdrop-filter: none; }
.site-header.is-footer .header-inner { border-color: var(--night-line); }
.site-header .header-inner { display: flex; align-items: center; width: 100%; max-width: none; min-height: 84px; gap: 32px; padding-inline: clamp(20px,4vw,72px); border-bottom: 1px solid rgba(235,241,255,.24); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: white; font-family: var(--font-brand); font-size: 26px; font-weight: 700; line-height: 1; letter-spacing: -.05em; text-decoration: none; }
.brand:hover { color: white; }
.brand-mark { width: 30px; height: 30px; flex: 0 0 auto; }
.brand-mark-foot { fill: var(--blue-light); transition: fill .28s ease; }
.primary-nav { display: flex; align-items: center; gap: clamp(18px,2.4vw,36px); margin-left: auto; }
.primary-nav a { padding: 10px 0; color: #dfe3f8; font-size: 14px; font-weight: 550; text-decoration: none; }
.primary-nav .nav-cta { display: none; }
.primary-nav a:hover, .primary-nav a[aria-current] { color: white; }
.primary-nav a[aria-current] { box-shadow: inset 0 -1px var(--blue-light); }
.header-action { display: inline-flex; align-items: center; gap: 18px; min-height: 42px; margin-left: 14px; padding: 8px 14px; background: white; color: var(--night); font-size: 13.5px; font-weight: 690; text-decoration: none; white-space: nowrap; }
.header-action:hover { background: var(--blue-light); color: var(--night); }
.nav-toggle { display: none; }

/* Home */
.home-opening { background: white; }
.home-hero { --blue-extension: 120px; position: relative; overflow: hidden; color: white; background:
  radial-gradient(ellipse 135% 105% at -18% -10%,
    #03050b 0%, #03050b 70%, #0b174a 79%, #2852e8 88%, transparent 105%) center top / 100% calc(100% - var(--blue-extension)) no-repeat,
  #2852e8;
}
.home-hero::after { position: absolute; z-index: 2; inset: var(--blue-extension) 0 0; content: ""; background: url("hero-fade.svg") center / 100% 100% no-repeat; pointer-events: none; }
.hero-shell { position: relative; display: flex; align-items: flex-start; min-height: calc(110svh + var(--blue-extension)); padding-top: clamp(205px,23svh,270px); padding-bottom: calc(clamp(210px,28svh,300px) + var(--blue-extension)); }
.hero-copy { position: relative; z-index: 3; max-width: 660px; }
.hero h1 { margin-bottom: 24px; font-size: clamp(46px,5.1vw,74px); font-weight: 500; line-height: 1.03; letter-spacing: -.065em; }
.hero h1 span { color: #a7a9bd; }
.hero-lede { max-width: 520px; margin-bottom: 36px; color: #aeb5cf; font-size: clamp(17px,1.55vw,21px); line-height: 1.5; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }
.hero-actions .button { min-width: 218px; }
.hero-art { position: absolute; z-index: 1; top: 36%; right: -12%; width: min(73%,850px); transform: translateY(calc(-18% - 90px)); pointer-events: none; }
.hero-art svg { display: block; width: 100%; height: auto; overflow: visible; animation: structure-rise 1.1s both ease-out; }
@keyframes structure-rise { from { opacity: 0; transform: translateY(30px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

.section { padding-block: clamp(90px,10vw,150px); }
.section-introduction { display: flex; align-items: center; min-height: calc(100svh - 84px); background: white; }
.section-introduction h2 { margin-bottom: 60px; font-size: clamp(40px,5.3vw,76px); line-height: 1.06; }
.section-introduction h2 em { color: var(--blue); font-style: normal; }
.introduction-bottom { display: flex; justify-content: space-between; align-items: end; gap: 50px; }
.introduction-bottom p { max-width: 660px; margin: 0; font-size: clamp(18px,1.7vw,22px); line-height: 1.5; }
.introduction-bottom .text-link { flex: 0 0 auto; }

.product-feature { position: relative; overflow: hidden; background: #f8faff; color: var(--ink); }
.product-feature::before { position: absolute; inset: 0; content: ""; background: radial-gradient(ellipse 53% 100% at 94% 45%, #dce5ff 0%, transparent 72%); pointer-events: none; }
.product-feature-grid { position: relative; display: flex; align-items: center; gap: 48px; min-height: calc(100svh - 84px); padding-block: clamp(48px,8svh,120px); }
.product-feature-copy { position: relative; z-index: 2; }
.product-feature h2 { margin: 0 0 24px; font-size: clamp(58px,6.5vw,96px); font-weight: 500; letter-spacing: -.065em; }
.product-feature-lede { max-width: 600px; margin-bottom: 24px; color: var(--ink) !important; font-size: clamp(24px,2.7vw,38px); line-height: 1.18; letter-spacing: -.04em; }
.product-feature-copy > p:not(.product-feature-lede) { max-width: 540px; margin-bottom: 35px; color: var(--ink-soft); font-size: 17px; }

.section-services { display: flex; align-items: center; min-height: calc(100svh - 84px); background: white; }
.section-intro { display: flex; justify-content: space-between; align-items: end; gap: 70px; margin-bottom: 60px; }
.section-intro h2 { max-width: 780px; margin: 0; font-size: clamp(40px,4.2vw,62px); }
.section-intro > p { max-width: 325px; margin: 0 0 6px; color: var(--muted); font-size: 17px; }
.service-list { border-top: 1px solid var(--line); }
.service-list a { display: grid; grid-template-columns: 1.2fr .65fr 28px; align-items: center; min-height: 118px; gap: 30px; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .2s ease, color .2s ease; }
.service-list a:hover { padding-left: 14px; color: var(--blue-deep); }
.service-name { font-size: clamp(24px,2.25vw,32px); font-weight: 500; letter-spacing: -.035em; }
.service-detail { color: var(--muted); font-size: 15px; }
.service-list .arrow { justify-self: end; }
.section-end-link { margin-top: 34px; }

/* Inner pages */
.page-hero { position: relative; overflow: hidden; padding-top: clamp(175px,14vw,230px); padding-bottom: clamp(90px,9vw,135px); background: radial-gradient(ellipse 58% 90% at 90% 100%, #242f99, transparent 74%), var(--night); color: white; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(270px,.53fr); align-items: end; gap: clamp(45px,9vw,140px); }
.page-hero h1 { max-width: 850px; margin: 0; font-size: clamp(44px,4.6vw,68px); }
.product-hero .page-hero-grid > p { max-width: 520px; }
.hero-points { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(28px,3vw,48px); margin: clamp(56px,6vw,88px) 0 0; padding: 0; list-style: none; }
.hero-points li { padding-top: 24px; border-top: 1px solid var(--night-line); }
.hero-points strong { display: block; margin-bottom: 10px; color: white; font-size: 19px; font-weight: 600; line-height: 1.25; letter-spacing: -.02em; }
.hero-points span { display: block; color: #b5bad0; font-size: 15px; line-height: 1.6; }
.product-hero .hero-actions { margin-top: clamp(44px,5vw,64px); }
@media (max-width: 1024px) { .hero-points { grid-template-columns: repeat(2,1fr); gap: 36px clamp(28px,5vw,48px); } }
@media (max-width: 600px) { .hero-points { grid-template-columns: 1fr; gap: 28px; margin-top: 44px; } .hero-points strong { font-size: 18px; } .product-hero .hero-actions { margin-top: 40px; } }
.page-hero-grid > p, .page-hero > .container > p:last-child { max-width: 420px; margin-bottom: 4px; color: #b5bad0; font-size: 18px; }
.service-detail-list { border-top: 1px solid var(--line); }
.service-detail-row { display: grid; grid-template-columns: minmax(300px,.85fr) minmax(0,1fr); gap: clamp(40px,8vw,120px); padding-block: 65px; border-bottom: 1px solid var(--line); scroll-margin-top: 103px; }
.service-detail-row h2 { max-width: 470px; margin-bottom: 0; font-size: clamp(30px,2.7vw,40px); }
.service-detail-row p { max-width: 670px; color: var(--muted); font-size: 18px; }
.simple-list { max-width: 560px; margin: 28px 0 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.simple-list li { position: relative; padding: 12px 0 12px 26px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 590; }
.simple-list li::before { position: absolute; left: 2px; top: 1.15em; width: 7px; height: 7px; content: ""; background: var(--blue); }
.about-intro { padding-block: 82px; background: white; }
.about-grid > div { max-width: 800px; margin-left: auto; }
.about-grid h2 { max-width: 780px; margin: 0; font-size: clamp(32px,3.4vw,48px); }
.about-grid h2 { margin-bottom: 28px; }
.about-grid p { max-width: 700px; margin: 0 0 20px; color: var(--muted); font-size: 18px; }
.product-name { display: flex; align-items: center; gap: clamp(12px,1.4vw,20px); margin: 0 0 22px; }
.product-feature .product-name h2 { margin: 0; }
.civiture-mark { flex: none; width: clamp(50px,5.4vw,80px); height: clamp(50px,5.4vw,80px); }
.civiture-inline { display: inline-block; width: 1em; height: 1em; margin-right: .3em; vertical-align: -.14em; }
.service-cta { margin-top: 30px; }
.steps-section { padding-block: 90px 110px; background: white; }
.steps-section h2 { max-width: 700px; margin-bottom: 48px; font-size: clamp(32px,3.4vw,48px); }
.steps-list { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(30px,5vw,70px); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps-list li { padding-top: 25px; }
.step-number { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-bottom: 18px; border: 1px solid var(--blue); color: var(--blue-deep); font-size: 14px; font-weight: 650; }
.steps-list h3 { margin-bottom: 10px; font-size: 23px; }
.steps-list p { max-width: 330px; margin: 0; color: var(--muted); }
.product-feature-copy { flex: 0 1 560px; }
.civiture-visual { position: relative; z-index: 1; flex: 1 1 0; min-width: 400px; max-width: 640px; margin: 0 0 0 auto; }
.cv-window { overflow: hidden; border: 1px solid #cdd6f2; border-radius: 10px; background: white; box-shadow: 0 30px 60px -30px rgba(38,62,224,.4); }
.cv-window svg { display: block; width: 100%; height: auto; }
.cv-window text { font-family: var(--font-main); }
.cv-label { fill: var(--ink); font-size: 11px; font-weight: 600; }
.cv-heading { fill: var(--ink); font-size: 12px; font-weight: 600; }
.cv-crumb { fill: var(--ink-soft); font-size: 12px; }
.cv-sub { fill: var(--muted); font-size: 9.5px; }
.cv-chat { fill: var(--ink-soft); font-size: 10.5px; }
.cv-pill { fill: var(--ink-soft); font-size: 9px; }
.cv-field { fill: var(--ink); font-size: 11px; }
.civiture-visual figcaption { margin-top: 12px; color: var(--muted); font-size: 13px; text-align: right; }
.contact-callout { padding-block: 78px; background: var(--night-soft); color: white; }
body:has(.home-hero) .contact-callout { display: flex; align-items: center; min-height: calc(100svh - 84px); background: white; color: var(--ink); }
.callout-grid { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.callout-grid h2 { max-width: 750px; margin: 0; font-size: clamp(34px,3.7vw,52px); }

/* Contact */
.contact-section { background: white; }
.contact-grid { display: grid; grid-template-columns: minmax(260px,.55fr) minmax(0,1fr); gap: clamp(55px,10vw,155px); }
.contact-aside h2 { font-size: clamp(28px,2.7vw,38px); }
.contact-aside > p { max-width: 360px; color: var(--muted); }
.address-block { margin-top: 64px; padding-top: 25px; border-top: 1px solid var(--line); }
.address-block address, .footer-main address, .legal-copy address { font-style: normal; line-height: 1.8; }
.contact-form-wrap { padding-top: 3px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { margin-bottom: 23px; }
.field label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 650; }
.field label span { color: var(--blue-deep); }
.field input, .field select, .field textarea { display: block; width: 100%; min-height: 50px; padding: 11px 13px; border: 1px solid #a9b2c7; border-radius: 2px; background: white; color: var(--ink); }
.field textarea { min-height: 180px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-soft); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid #b0bfff; outline-offset: 1px; border-color: var(--blue); }
.field [aria-invalid="true"] { border-color: #a4313d; }
.field-check { display: flex; align-items: flex-start; gap: 12px; }
.field-check input { flex: none; width: 20px; min-height: 20px; height: 20px; margin-top: 2px; padding: 0; accent-color: var(--blue-deep); }
.field-check label { margin: 0; font-weight: 500; }
.interest-section { background: var(--paper); scroll-margin-top: 25px; }
.product-feature-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 26px; margin-top: 28px; }
.field-help, .form-privacy { color: var(--muted); font-size: 13px; }
.field-help { margin: 7px 0 0; }
.field-error { margin: 7px 0 0; color: #a4313d; font-size: 13px; font-weight: 600; }
.form-success { padding: 40px; border-left: 3px solid #166f59; background: var(--paper); }
.form-success h2 { margin-bottom: 14px; font-size: 32px; }
.form-success p { max-width: 460px; margin-bottom: 26px; }
.form-success strong { overflow-wrap: anywhere; }
.field-check .field-error { margin-top: 6px; }
.field-check input[aria-invalid="true"] { outline: 2px solid #a4313d; outline-offset: 2px; }
[hidden] { display: none !important; }
.honeypot { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.verification { min-height: 70px; margin: 5px 0 20px; }
.form-unavailable { padding: 14px 16px; background: var(--paper); border-left: 3px solid var(--blue); }
.form-privacy { margin: 0 0 23px; }
.form-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 17px; }
.form-status { max-width: 360px; margin: 0; color: var(--ink-soft); font-size: 14px; }

/* Legal and footer */
.legal-hero { padding-bottom: 80px; }
.legal-hero h1 { max-width: 900px; margin-bottom: 20px; }
.legal-section { background: white; }
.legal-copy { max-width: 760px; margin-inline: auto; }
.legal-copy h2 { margin: 48px 0 16px; font-size: 27px; }
.legal-copy p { color: var(--ink-soft); font-size: 17px; }
.legal-copy .legal-date { color: var(--muted); font-size: 13px; }
.legal-copy a { color: var(--blue-deep); }
.not-found { min-height: 65vh; }
.not-found p { max-width: 550px; margin-bottom: 30px; color: #b5bad0; font-size: 19px; }
.site-footer { background: var(--night); color: white; }
.footer-main { display: grid; grid-template-columns: minmax(300px,1.5fr) minmax(140px,.6fr) minmax(220px,.7fr); gap: 55px; padding-block: 82px 100px; }
.footer-brand { margin-bottom: 22px; }
.footer-about p { max-width: 350px; color: #afb5d0; }
.footer-heading { margin: 0 0 16px; color: white !important; font-size: 15px; font-weight: 650; }
.footer-main a:not(.brand) { display: block; width: fit-content; margin: 8px 0; color: #d6daf1; text-decoration: none; }
.footer-main a:not(.brand):hover, .footer-bottom a:hover { color: var(--blue-light); }
.footer-main address { color: #d6daf1; font-size: 14px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 15px 24px; padding-block: 20px 27px; border-top: 1px solid var(--night-line); color: #929abb; font-size: 12px; }
.footer-bottom > div { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom a { display: inline-block; padding-block: 4px; color: inherit; text-decoration: none; }
.footer-bottom .footer-social { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-block: -10px; margin-right: -12px; }
body:has(.home-hero) .site-footer { display: flex; min-height: calc(100svh - 84px); flex-direction: column; }
body:has(.home-hero) .footer-main { flex: 1; grid-template-columns: minmax(0,1fr) minmax(280px,.8fr); align-content: center; align-items: start; gap: 80px; padding-block: 70px; }
body:has(.home-hero) .footer-heading { margin-bottom: 18px; color: #8e97bb !important; font-size: 15px; font-weight: 650; }
body:has(.home-hero) .footer-explore a { margin-block: 10px; font-size: clamp(22px,2.4vw,30px); line-height: 1.2; }
body:has(.home-hero) .footer-address address { font-size: clamp(18px,1.7vw,22px); line-height: 1.65; }

/* Section snapping only where every section fits the screen: wide enough to keep Civiture's illustration beside its text, and tall enough that no section overflows. */
@media (min-width: 1025px) and (min-height: 740px) and (prefers-reduced-motion: no-preference) {
  html:has(.home-hero) { scroll-snap-type: y mandatory; scroll-padding-top: 84px; }
  .home-hero, .section-introduction, .product-feature, .section-services, body:has(.home-hero) .contact-callout, body:has(.home-hero) .site-footer { scroll-snap-align: start; scroll-snap-stop: always; }
  .section-services { padding-block: clamp(24px,4svh,72px); }
  body:has(.home-hero) .site-footer { min-height: calc(100svh - 84px); }
}

@media (max-width: 1024px) {
  .product-feature-grid { flex-direction: column; align-items: flex-start; gap: 48px; }
  .product-feature-copy { flex: none; }
  .civiture-visual { flex: none; width: 100%; min-width: 0; max-width: 640px; margin: 0; }
}
@media (max-width: 1100px) {
  .site-header .header-inner { gap: 20px; }
  .header-action { margin-left: 0; }
  .hero-art { right: -21%; width: 78%; opacity: .78; }
  .hero-copy { max-width: 640px; }
}
@media (max-width: 900px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 780px) {
  .container { width: min(100% - 40px,1320px); }
  main { scroll-margin-top: 76px; }
  .site-header { margin-bottom: -76px; }
  .site-header .header-inner { min-height: 76px; }
  .brand { font-size: 22px; }
  .brand-mark { width: 25px; height: 25px; }
  .nav-toggle { display: flex; width: 42px; height: 42px; margin-left: auto; padding: 10px; flex-direction: column; justify-content: center; gap: 6px; border: 1px solid var(--night-line); background: transparent; }
  .nav-toggle span { width: 100%; height: 2px; background: white; }
  .site-header.is-light .nav-toggle { border-color: var(--line); }
  .site-header.is-light .nav-toggle span { background: var(--ink); }
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 15px 20px 22px; flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--night-line); background: var(--night); }
  .site-header.is-light .primary-nav { border-color: var(--line); background: #f7f9ff; }
  .primary-nav.is-open { display: flex; }
  html.menu-open { overflow: hidden; }
  .header-action { display: none; }
  .site-header .primary-nav .nav-cta { display: inline-flex; align-items: center; justify-content: space-between; margin-top: 14px; padding: 14px 16px; background: var(--blue); color: white; font-weight: 690; }
  .site-header .primary-nav .nav-cta:hover { background: #5470ff; color: white; }
  .site-header.is-light .primary-nav .nav-cta, .site-header.is-light .primary-nav .nav-cta:hover { color: white; }
  body:has(.home-hero) .site-footer { min-height: calc(100svh - 76px); }
  body:has(.home-hero) .footer-main { gap: 40px; padding-block: 72px 58px; }
  .primary-nav a { padding: 11px 0; font-size: 16px; }
  .primary-nav a[aria-current] { box-shadow: none; color: white; }
  .home-hero { background:
    radial-gradient(ellipse 170% 105% at -20% -10%,
      #03050b 0%, #03050b 75%, #0b174a 83%, #2852e8 92%, transparent 105%) center top / 100% calc(100% - var(--blue-extension)) no-repeat,
    #2852e8;
  }
  .home-hero::after { background: linear-gradient(to bottom, transparent 55%, rgba(255,255,255,.08) 68%, rgba(255,255,255,.8) 90%, white 100%); }
  .hero-shell { min-height: calc(110svh + var(--blue-extension)); padding-top: 130px; padding-bottom: calc(190px + var(--blue-extension)); }
  .section-introduction { min-height: calc(100svh - 76px); }
  .service-detail-row { scroll-margin-top: 101px; }
  .hero-copy { max-width: 660px; }
  .hero-art { top: 46%; right: -12%; width: 95%; opacity: .5; transform: none; }
  .section-introduction h2 { margin-bottom: 55px; }
  .page-hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .product-feature-grid { padding-block: 90px; }
  .product-feature-grid, .section-services, body:has(.home-hero) .contact-callout { min-height: auto; }
  .section-services { display: block; }
  body:has(.home-hero) .contact-callout { display: block; }
  .section-intro { gap: 35px; align-items: start; }
  .section-intro > p { max-width: 250px; }
  .page-hero-grid { gap: 28px; }
  .page-hero { padding-top: 150px; }
  .page-hero-grid > p { max-width: 620px; }
  .service-detail-row { grid-template-columns: 1fr; gap: 22px; }
  .steps-list { grid-template-columns: 1fr; gap: 0; }
  .steps-list li { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .contact-grid { gap: 40px; }
  .contact-aside { display: grid; grid-template-columns: 1fr 1fr; column-gap: 30px; }
  .contact-aside h2 { grid-column: 1 / -1; }
  .address-block { margin-top: 0; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 32px,1320px); }
  .hero-shell { min-height: calc(112svh + var(--blue-extension)); padding-top: 120px; padding-bottom: calc(190px + var(--blue-extension)); }
  .hero h1 { font-size: clamp(42px,10.4vw,56px); }
  .hero-lede { max-width: 450px; font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .hero-art { top: 52%; right: -18%; width: 130%; opacity: .32; }
  .section-introduction h2 { margin-bottom: 44px; font-size: clamp(36px,8.8vw,52px); }
  .introduction-bottom { align-items: start; flex-direction: column; gap: 28px; }
  .product-feature h2 { font-size: 58px; }
  .section-intro { display: block; margin-bottom: 40px; }
  .section-intro h2 { margin-bottom: 24px; }
  .section-intro > p { max-width: 450px; }
  .service-list a { grid-template-columns: 1fr 24px; gap: 3px 15px; padding-block: 24px; }
  .service-detail { grid-row: 2; font-size: 14px; }
  .service-list .arrow { grid-column: 2; grid-row: 1 / 3; }
  .page-hero h1 { font-size: clamp(40px,9.2vw,56px); }
  .callout-grid { align-items: start; flex-direction: column; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-aside { display: block; }
  .address-block { margin-top: 35px; }
  .footer-main { grid-template-columns: 1fr; gap: 35px; padding-block: 70px; }
  .footer-about { grid-column: auto; }
  body:has(.home-hero) .footer-main { grid-template-columns: 1fr; gap: 42px; padding-block: 65px 50px; }
}
@media (max-width: 350px) { .verification { margin-inline: -16px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Sideview (Products card and /products/sideview/) */
.sv-store-pending { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.sv-store-note { color: var(--muted); font-size: 13px; }
.page-eyebrow { margin-bottom: 18px; color: #b5bad0; font-size: 14px; font-weight: 600; letter-spacing: 0; }
.page-eyebrow a { text-decoration: none; }
.page-eyebrow a:hover { color: var(--blue-light); }
.sv-icon-inline { display: block; width: 28px; height: 28px; margin-bottom: 16px; border-radius: 7px; }
.sv-store-pending .sv-store-note { color: #b5bad0; }
.sv-gallery { padding-block: clamp(56px,7vw,100px); background: white; }
.sv-shot { margin: 0; }
.sv-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--night); box-shadow: 0 30px 60px -34px rgba(38,62,224,.4); }
.sv-shot figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; }
.sv-shot-main { max-width: 1080px; margin-inline: auto; }
.sv-shot-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,4vw,48px); max-width: 1080px; margin: clamp(36px,5vw,64px) auto 0; }
.sv-details { padding-block: 0 clamp(40px,5vw,72px); background: white; }
.sv-details .service-detail-row:first-child { border-top: 0; }
.sv-details .service-detail-row p a { color: var(--blue-deep); }
.sv-note { padding-block: 0 56px; background: white; }
.sv-note p { max-width: 760px; margin: 0; color: var(--muted); font-size: 14px; }
.sv-shot-row { grid-template-columns: repeat(3,1fr); max-width: 1320px; }
.product-row-name { display: flex; align-items: center; gap: 14px; }
.product-row-name .civiture-inline { width: 40px; height: 40px; margin: 0; flex: none; }
.sv-name-icon { flex: none; width: 40px; height: 40px; border-radius: 10px; }
.sv-name-icon-sm { width: .9em; height: .9em; margin-right: .3em; vertical-align: -.12em; border-radius: 6px; }
.service-name .civiture-inline { margin-right: .3em; }
.product-row-links { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 28px; }
.section-products { background: #f8faff; }
.cv-showcase { padding-block: clamp(56px,7vw,96px); background: #f8faff; }
.cv-showcase .civiture-visual { margin-inline: auto; max-width: 780px; min-width: 0; }
@media (max-width: 900px) { .sv-shot-row { grid-template-columns: 1fr; } }
