* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--xa-navy); color: var(--xa-white);
  font: 400 1rem/1.6 var(--xa-font);
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p, ol { margin: 0; }
h1, h2, h3 { line-height: 1.13; letter-spacing: -.035em; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: 1.32rem; }
a { color: inherit; text-underline-offset: .23em; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 2px solid var(--xa-lime); outline-offset: 4px; }
.light :focus-visible, form :focus-visible { outline-color: var(--xa-navy); }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.skip { position: fixed; z-index: 5; top: .6rem; left: .6rem; transform: translateY(-200%); background: var(--xa-lime); color: var(--xa-navy); padding: .6rem 1rem; }
.skip:focus, .skip:focus-visible { transform: none; }
main:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.header { border-bottom: 1px solid #34405e; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo { flex-shrink: 0; display: inline-flex; }
.header nav, .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.header nav a { text-decoration: none; color: var(--xa-muted-on-dark); font-size: .9375rem; }
.header nav a:hover, .quiet:hover { color: var(--xa-lime); }
.button {
  display: inline-flex; min-height: 44px; align-items: center; justify-content: center;
  padding: .65rem 1.05rem; border: 1px solid transparent; border-radius: var(--xa-radius);
  text-decoration: none; font-size: .9375rem; line-height: 1.3; font-weight: 700; cursor: pointer;
}
.primary { background: var(--xa-lime); color: var(--xa-navy); }
.primary:hover { background: var(--xa-lime-hover); }
.primary:disabled { opacity: .65; cursor: default; }
.outline { border-color: var(--xa-border-on-dark); }
.outline:hover { background: var(--xa-panel); }
.quiet { padding-inline: .2rem; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; align-items: stretch; }
.hero-copy { padding: clamp(36px, 4vw, 58px) clamp(25px, 4vw, 52px) 38px 0; }
.brand-stroke { position: relative; display: block; width: 29px; height: 2px; background: var(--xa-lime); margin-bottom: 24px; }
.brand-stroke::after { content: ""; position: absolute; right: -9px; top: -1px; width: 4px; height: 4px; border-radius: 50%; background: inherit; }
.hero h1 { font-size: clamp(2.5rem, 4.2vw, 3.75rem); line-height: 1.08; letter-spacing: -.052em; text-wrap: initial; }
.hero h1 span { display: block; color: var(--xa-lime); }
.hero-copy > p { color: var(--xa-muted-on-dark); margin-top: 20px; max-width: 34rem; font-size: 1.0625rem; }
.actions { margin-top: 24px; gap: 10px 16px; }
.hero-copy > .hero-note { font-size: .875rem; margin-top: 12px; }
.hero-figure { position: relative; isolation: isolate; min-height: 450px; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(12px, 2vw, 24px); border-left: 1px solid var(--xa-lime); }
.hero-figure > picture { display: contents; }
.hero-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; z-index: -2; }
.hero-figure::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #11172fd9, transparent 46%); }
.workflow { background: var(--xa-navy); border: 1px solid #4d5b7b; padding: 12px; border-radius: var(--xa-radius); }
.workflow-head { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: 8px; font-size: .875rem; }
.workflow-head strong { color: var(--xa-lime); }
.workflow-head span, figcaption { color: var(--xa-muted-on-dark); font-size: .8125rem; }
.workflow ol { list-style: none; padding: 0; margin-top: 8px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
.workflow li { background: var(--xa-panel); padding: 8px; line-height: 1.35; border-radius: var(--xa-radius); font-size: .875rem; }
.workflow li span { display: block; font-size: .8125rem; color: var(--xa-muted-on-dark); }
.workflow li.active { background: var(--xa-lime); color: var(--xa-navy); }
.workflow li.active span { color: var(--xa-navy); }
figcaption { margin-top: 6px; }
.solutions { padding: 26px 0 32px; background: var(--xa-panel); }
.solutions h2 { font-size: 1rem; color: var(--xa-lime); letter-spacing: 0; margin-bottom: 18px; text-wrap: initial; }
.solution-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.solution-grid article { display: flex; flex-direction: column; align-items: flex-start; padding-right: 16px; }
.solution-grid article + article { border-left: 1px solid #52628b; padding-left: 24px; }
.solution-grid p { color: var(--xa-muted-on-dark); margin-block: 8px 12px; }
.solution-grid a { color: var(--xa-lime); margin-top: auto; font-size: .9375rem; font-weight: 700; }
.section { padding-block: clamp(26px, 3.3vw, 44px); }
.light { background: var(--xa-paper); color: var(--xa-navy); }
.light p { color: var(--xa-muted-on-light); }
.section-intro { max-width: 710px; margin-bottom: 20px; }
.section-intro p { margin-top: 12px; font-size: 1.0625rem; }
.case-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.case { background: white; border: 1px solid #dbe0ec; border-top: 3px solid var(--xa-panel); border-radius: var(--xa-radius); padding: clamp(18px, 2.2vw, 26px); display: flex; flex-direction: column; align-items: flex-start; }
.case:target { border-top-color: #69802d; }
.case-label { font-size: .875rem; font-weight: 700; margin-bottom: 10px; }
.case h3, .sample h3 { font-size: clamp(1.28rem, 2.1vw, 1.62rem); }
.case > p:not(.case-label), .sample p:not(.case-label) { margin-top: 12px; }
.case a, .sample-link { display: inline-block; font-weight: 700; margin-top: 12px; font-size: .9375rem; }
.case-shortcuts { width: 100%; list-style: none; padding: 0; margin: 14px 0 4px; }
.case-shortcuts li { border-top: 1px solid #dbe0ec; }
.case-shortcuts a { display: block; margin: 0; padding: 9px 0; font-weight: 400; }
.case-shortcuts a:hover { color: var(--xa-navy); }
.case .case-overview-link { margin-top: auto; padding-top: 12px; }
.case-inquiry { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; margin-top: 18px; padding: clamp(18px, 2.2vw, 26px); background: #ebeff9; border: 1px solid #dbe0ec; border-left: 3px solid #69802d; border-radius: var(--xa-radius); }
.case-inquiry > div { flex: 1 1 32rem; }
.case-inquiry p { margin-top: 8px; max-width: 70ch; }
.case-inquiry .button { border-color: var(--xa-navy); }
.process { border-top: 1px solid #dbe0ec; }
.process-grid { list-style: none; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; padding: 0; margin-bottom: 24px; }
.process-grid li { border-top: 2px solid var(--xa-navy); padding-top: 14px; }
.process-grid p { margin-top: 8px; }
.sample { display: grid; grid-template-columns: .86fr 1fr; gap: 24px; background: #ebeff9; border-radius: var(--xa-radius); border: 1px solid #dbe0ec; padding: clamp(20px,3vw,34px); }
details + details { border-top: 1px solid #c9d1e1; }
summary { cursor: pointer; padding: 13px 2px; font-weight: 700; }
details p { padding: 0 2px 14px; }
.faq { border-top: 1px solid #dbe0ec; }
.faq-grid, .contact-grid { display: grid; grid-template-columns: .78fr 1fr; gap: clamp(24px, 5vw, 84px); }
.contact-copy p { margin-top: 14px; color: var(--xa-muted-on-dark); }
form {
  min-width: 0; display: grid; gap: 14px; background: var(--xa-paper); color: var(--xa-navy);
  border-radius: var(--xa-radius); padding: clamp(18px,3vw,32px);
}
form .primary { justify-self: start; border-color: var(--xa-navy); }
.field-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
label, legend { display: block; font-size: .9375rem; font-weight: 700; }
.field > label { margin-bottom: 5px; }
fieldset { margin: 0; padding: 0; min-width: 0; border: 0; }
.lead-selection { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 12px; padding: 10px 14px; background: #e9edf6; border-left: 3px solid #69802d; font-size: .9375rem; }
.lead-selection button { padding: 6px 0; color: inherit; background: transparent; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: .23em; }
.field-hint { color: var(--xa-muted-on-light); font-size: .875rem; }
fieldset .field-hint { margin-bottom: 8px; }
textarea + .field-hint { margin-top: 4px; }
input:not([type=checkbox]), select, textarea {
  display: block; width: 100%; min-width: 0; min-height: 44px; margin-top: 5px; padding: .57rem .68rem;
  color: var(--xa-navy); background: white; border: 1px solid var(--xa-border-on-light);
  border-radius: var(--xa-radius); font-weight: 400; font-size: 1rem;
}
.field > input:not([type=checkbox]), .field > select, .field > textarea { margin-top: 0; }
textarea { resize: vertical; }
select {
  appearance: none; padding-right: 2.25rem;
  background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2311172f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E") right 14px center/12px 8px no-repeat;
}
.check { display: flex; align-items: flex-start; gap: 8px; font-weight: 400; }
.check input { margin-top: 5px; accent-color: var(--xa-navy); flex-shrink: 0; }
.form-error { color: var(--xa-error-on-light); font-weight: 700; }
.form-status { color: var(--xa-navy); font-weight: 700; padding: 10px 14px; background: #e9edf6; border-left: 3px solid #69802d; }
.footer { border-top: 1px solid #34405e; color: var(--xa-muted-on-dark); font-size: .875rem; }
.footer-inner { padding-block: 18px; flex-wrap: wrap; }
.footer-contact { line-height: 1.5; }
.footer-contact a { color: var(--xa-white); font-weight: 600; white-space: nowrap; }
.footer-contact a:hover { color: var(--xa-lime); }

.case-hero .case-label { color: var(--xa-lime); }
.case-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 22ch; text-wrap: pretty; }
.case-lead { font-size: clamp(1rem, 2vw, 1.25rem); max-width: 62ch; margin-top: 12px; color: var(--xa-white); }
.case-reading h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); margin: 24px 0 10px; text-wrap: initial; }
.case-reading > h2:first-child { margin-top: 0; }
.case-reading > p, .case-combined p { max-width: 78ch; }
.case-directory { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0 0 18px; padding: 0; }
.case-directory a { display: flex; flex-direction: column; height: 100%; padding: 10px 14px; border: 1px solid #dbe0ec; border-radius: var(--xa-radius); background: #ebeff9; }
.case-directory a:hover { border-color: var(--xa-navy); }
.case-directory a strong { text-decoration: none; }
.case-offer { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1fr); align-items: start; gap: 14px clamp(20px, 4vw, 56px); padding: clamp(18px, 3vw, 30px); background: white; border: 1px solid #dbe0ec; border-left: 3px solid #7784a3; border-radius: var(--xa-radius); scroll-margin-top: 14px; }
.case-offer + .case-offer { margin-top: 12px; }
.case-offer:target { border-left-color: #69802d; }
.case-offer h3 { font-size: clamp(1.32rem, 2.4vw, 1.9rem); text-wrap: pretty; }
.case-offer-intro h3 + p { margin-top: 10px; }
.case-offer-detail h4 { margin: 0 0 3px; line-height: 1.4; }
.case-offer-detail p + h4 { margin-top: 12px; }
.case-offer-detail .button { margin-top: 16px; border-color: var(--xa-navy); }
.case-combined p + p { margin-top: 8px; }
.case-next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.case-next h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }
.case-next p { color: var(--xa-muted-on-dark); margin-top: 6px; }

@media (max-width: 900px) {
  .hero-copy { padding-block: 40px; }
  .hero-figure { min-height: 450px; }
  .header nav { gap: 8px 14px; }
}
@media (max-width: 720px) {
  .wrap { padding-inline: 16px; }
  .header-inner { min-height: 64px; flex-wrap: wrap; gap: 4px 12px; padding-block: 8px; }
  .header nav { order: 1; flex: 1 1 100%; gap: 0 16px; }
  .header nav a { padding-block: 6px; }
  .header .logo img { width: 132px; height: auto; }
  .hero-grid, .solution-grid, .case-grid, .sample, .faq-grid, .contact-grid, .case-directory, .case-offer { grid-template-columns: 1fr; }
  .hero-copy { padding: 36px 0 24px; }
  .hero h1 { font-size: clamp(2.25rem, 7.4vw, 2.75rem); }
  .hero-figure { min-height: 380px; border-left: 0; border-top: 1px solid var(--xa-lime); margin-bottom: 16px; }
  .solution-grid { gap: 14px; }
  .solution-grid article + article { padding: 14px 0 0; border: 0; border-top: 1px solid #52628b; }
  .process-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 420px) {
  .field-pair { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
