:root {
  color-scheme: light;
  --ink: #171c31;
  --muted: #51566b;
  --paper: #f9f8f5;
  --navy: #10152b;
  --lavender: #cdc2ff;
  --line: #dedce4;
  --serif: Georgia, 'Times New Roman', serif;
  font-family: 'Aptos', 'Segoe UI', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
.wrap { width: min(1200px, calc(100% - 120px)); margin-inline: auto; }
.skip { position: absolute; top: 8px; left: 12px; z-index: 4; background: white; padding: 12px; transform: translateY(-150%); }
.skip:focus { transform: none; }
:focus-visible { outline: 3px solid #9a80ff; outline-offset: 5px; }
.header { color: #fff; background: var(--navy); border-bottom: 1px solid #ffffff20; position: relative; z-index: 2; }
.header-inner { min-height: 83px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.wordmark { display: inline-flex; gap: 10px; align-items: center; font-weight: 750; font-size: 23px; line-height: 1; letter-spacing: -.6px; }
.wordmark small { display: block; margin-top: 5px; font-size: 9px; letter-spacing: .29em; font-weight: 650; }
nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 600; }
nav a:not(.nav-cta):hover { color: var(--lavender); }
.nav-cta { padding: 11px 15px; border: 1px solid #ffffff50; border-radius: 5px; }
.nav-cta:hover { background: #ffffff18; }
.nav-cta span, .top-link span { margin-left: 8px; }
.menu { display: none; }
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); color: #fff; }
.hero::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #10152b 0%, #10152bf5 28%, #10152b00 63%); pointer-events: none; }
.hero-art { position: absolute; z-index: -2; width: min(80%, 1120px); max-width: none; height: auto; right: 0; top: 50%; transform: translateY(-50%); }
.hero-inner { min-height: clamp(550px, 48vw, 680px); display: flex; flex-direction: column; justify-content: center; position: relative; }
.hero-copy { padding: 74px 0 90px; }
.eyebrow { font-size: 11px; letter-spacing: .17em; font-weight: 750; line-height: 1.5; color: #4f4c67; display: flex; align-items: center; gap: 11px; }
.eyebrow.light { color: #d9d5ed; }
.eyebrow-prism { flex: none; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.055em; }
h1 { font-size: clamp(68px, 8vw, 117px); line-height: .91; margin: 25px 0 24px; }
h1 em { color: #cabeff; font-weight: 400; }
.hero-description { color: #d6d8e6; max-width: 395px; font-size: clamp(16px, 1.55vw, 19px); line-height: 1.62; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 25px; margin-top: 30px; min-height: 52px; padding: 12px 18px; background: var(--lavender); color: #181531; font-weight: 750; font-size: 14px; border-radius: 5px; }
.button:hover { background: #e5deff; }
.hero-caption { position: absolute; bottom: 25px; right: 0; font-size: 10px; letter-spacing: .15em; color: #d8d4ee; display: flex; gap: 12px; }
.hero-caption span:first-child { color: #b6a5ff; }
.intro { display: grid; grid-template-columns: 1fr 1.7fr; gap: 36px; padding-block: 91px 99px; }
.intro > .eyebrow { align-self: start; margin-top: 8px; }
h2 { font-size: clamp(43px, 5.6vw, 75px); line-height: 1.02; }
.intro div > p, .section-head > p { font-size: 17px; line-height: 1.65; color: var(--muted); }
.intro div > p { max-width: 590px; margin-top: 23px; }
.portfolio { border-top: 1px solid var(--line); background: #efedf3; padding-block: 80px 95px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin-bottom: 37px; }
.section-head h2 { margin-top: 13px; }
.portfolio-tagline { margin-top: 10px; color: var(--muted); font-size: clamp(17px, 1.8vw, 21px); font-weight: 600; line-height: 1.4; }
.section-head > p { max-width: 315px; padding-bottom: 4px; }
.cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; align-items: start; }
.card { position: relative; padding: clamp(25px, 3.3vw, 46px); border-radius: 8px; background: #fff; border: 1px solid #dbdae6; border-top: 3px solid var(--accent); }
.insurance { --accent: #366ca8; --tint: #e8f2fd; --strong: #25578a; }
.technology { --accent: #7751bb; --tint: #f0e9fb; --strong: #5f399b; }
.card-top { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 27px; }
.card-icon { display: grid; place-items: center; width: 53px; height: 53px; flex: none; border-radius: 10px; color: var(--strong); background: var(--tint); }
.card-icon svg { width: 29px; height: 29px; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.status { display: inline-flex; align-items: center; gap: 7px; color: #4f4c61; background: #f3f2f5; border-radius: 20px; padding: 7px 9px; letter-spacing: .08em; font-size: 11px; font-weight: 750; white-space: nowrap; }
.status i { height: 6px; width: 6px; border-radius: 50%; background: var(--accent); }
.category { color: var(--strong); }
.card h3 { font: 400 clamp(35px, 4.2vw, 55px)/.99 var(--serif); letter-spacing: -.048em; margin: 10px 0 17px; }
.card > p:not(.eyebrow), details p { line-height: 1.62; color: var(--muted); }
.card > p:not(.eyebrow) { min-height: 3.25em; }
details { margin-top: 24px; border-top: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 16px 0 2px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--strong); font-weight: 750; font-size: 14px; }
summary::-webkit-details-marker { display: none; }
summary:hover { text-decoration: underline; text-underline-offset: 3px; }
summary span::before { content: '+'; font-size: 23px; line-height: 1; font-weight: 400; }
details[open] summary span::before { content: '−'; }
details p { margin-top: 12px; font-size: 15px; }
.approach { background: #171930; color: #fff; padding-block: 82px 89px; }
.approach-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; }
.approach h2 { margin-top: 14px; }
.principles { list-style: none; margin: 0; padding: 0; }
.principles li { display: flex; gap: 20px; border-top: 1px solid #ffffff33; padding-block: 17px; }
.principles li:last-child { border-bottom: 1px solid #ffffff33; }
.principles span { font-size: 11px; color: var(--lavender); letter-spacing: .1em; padding-top: 4px; }
.principles h3 { font-size: 16px; margin-bottom: 6px; }
.principles p { color: #d3d2e1; font-size: 14px; line-height: 1.5; }
footer { background: var(--navy); color: #fff; border-top: 1px solid #ffffff22; }
.footer-inner { min-height: 109px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
footer .wordmark { font-size: 20px; }
footer p { font-size: 13px; color: #c9cbd9; }
.top-link { font-weight: 650; font-size: 13px; }
.top-link:hover { color: var(--lavender); }
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 72px); }
  .hero-art { width: 87%; right: -8%; }
  .card > p:not(.eyebrow) { min-height: 4.87em; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 44px); }
  .header-inner { min-height: 70px; }
  .header .wordmark { font-size: 21px; }
  .header .wordmark img { width: 34px; height: 34px; }
  .header-inner { flex-wrap: wrap; }
  nav { flex-wrap: wrap; gap: 14px; padding-bottom: 14px; width: 100%; }
  .js .menu { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; border: 1px solid #ffffff50; border-radius: 5px; padding: 0 11px; background: transparent; color: #fff; font-size: 13px; font-weight: 650; cursor: pointer; }
  .js nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 9px 22px 17px; border-bottom: 1px solid #ffffff35; background: var(--navy); box-shadow: 0 8px 14px #080b2255; }
  .js nav.is-open { display: grid; gap: 0; }
  .js nav a { display: block; padding: 12px 0; border: 0; border-bottom: 1px solid #ffffff25; border-radius: 0; }
  .hero-inner { min-height: 0; }
  .hero-copy { padding: 52px 0 clamp(238px, 54vw, 378px); }
  .hero-art { top: auto; bottom: 0; width: max(100%, 385px); right: 0; transform: none; }
  .hero::after { background: linear-gradient(180deg,#10152b 0%,#10152b 44%,#10152b00 73%); }
  h1 { font-size: clamp(54px, 11vw, 76px); margin-block: 19px; }
  .button { margin-top: 23px; }
  .hero-caption { bottom: 14px; font-size: 9px; }
  .intro, .approach-inner, .cards { grid-template-columns: 1fr; }
  .intro { padding-block: 55px 61px; gap: 14px; }
  .intro > .eyebrow { margin-top: 0; }
  .intro div > p { margin-top: 16px; }
  .portfolio, .approach { padding-block: 55px 63px; }
  .section-head { align-items: start; flex-direction: column; gap: 12px; margin-bottom: 24px; }
  .card > p:not(.eyebrow) { min-height: 0; }
  .approach-inner { gap: 28px; }
  .footer-inner { flex-wrap: wrap; padding-block: 25px; }
  .footer-inner p { order: 1; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
