:root {
  color-scheme: light;
  --navy: #102449;
  --navy-deep: #091934;
  --blue: #0c66e4;
  --blue-dark: #084eb0;
  --ink: #172b4d;
  --muted: #4c5e79;
  --line: #dce4f0;
  --paper: #ffffff;
  --wash: #f5f8fc;
  --amber: #ffc04d;
  --radius: 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; line-height: 1.65; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; }
button { font: inherit; }
::selection { background: #b8d6ff; color: var(--navy-deep); }
:focus-visible { outline: 3px solid #ffbb36; outline-offset: 4px; }
.skip-link { position: absolute; z-index: 100; top: -5rem; left: 1rem; padding: .6rem 1rem; background: #fff; color: var(--navy); }
.skip-link:focus { top: 1rem; }
.container { width: min(1160px, calc(100% - 2.5rem)); margin-inline: auto; }
.narrow { max-width: 760px; }
.eyebrow { margin: 0 0 .8rem; color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow.light { color: #9dc9ff; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.13; letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 6vw, 5.8rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.3rem); }
h3 { font-size: 1.35rem; }
p { color: var(--muted); }
.lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.55; }
.section { padding-block: clamp(4.5rem, 8vw, 7rem); }
.section-soft { background: var(--wash); }
.section-head { max-width: 690px; margin-bottom: 2.5rem; }
.section-head p:last-child { margin-bottom: 0; }

.site-header { position: relative; z-index: 20; background: var(--navy-deep); color: #fff; }
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .72rem; flex: 0 0 auto; color: #fff; text-decoration: none; font-size: 1.15rem; font-weight: 800; letter-spacing: -.03em; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--blue); color: #fff; font-size: .94rem; font-weight: 800; letter-spacing: -.07em; }
.site-nav { display: flex; align-items: center; gap: 1.7rem; margin-left: auto; }
.site-nav a { color: #c5d2e9; text-decoration: none; font-size: .93rem; font-weight: 600; white-space: nowrap; transition: color .2s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 9px; }
.site-nav .nav-cta { margin-left: .25rem; color: var(--navy-deep); background: #fff; padding: .53rem .9rem; border-radius: 8px; }
.site-nav .nav-cta:hover { color: var(--blue-dark); }
.menu-toggle { display: none; margin-left: auto; padding: .55rem .7rem; border: 1px solid #52688d; border-radius: 8px; background: transparent; color: #fff; cursor: pointer; }

.hero { position: relative; overflow: hidden; padding: clamp(4.4rem, 7vw, 7rem) 0 4.7rem; color: #fff; background: radial-gradient(circle at 78% 12%, #1a4482 0, transparent 35%), linear-gradient(155deg, var(--navy-deep), var(--navy)); }
.hero::after { content: ""; position: absolute; right: -8rem; bottom: -18rem; width: 42rem; height: 42rem; border: 1px solid rgba(157,201,255,.17); border-radius: 50%; box-shadow: 0 0 0 5rem rgba(157,201,255,.035), 0 0 0 10rem rgba(157,201,255,.025); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr); align-items: center; gap: clamp(2.5rem, 5vw, 5rem); }
.hero h1 { max-width: 700px; margin-bottom: 1.45rem; }
.hero h1 span { color: #8dc0ff; }
.hero p { max-width: 550px; color: #c7d7ee; }
.hero .lead { margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.hero-note { margin-top: 2.2rem; color: #a8bad6 !important; font-size: .9rem; }
.hero-visual { position: relative; min-width: 0; }
.browser-frame { overflow: hidden; border: 1px solid rgba(255,255,255,.3); border-radius: 14px; background: #fff; box-shadow: 0 35px 80px rgba(0, 8, 25, .38); }
.browser-bar { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 13px; background: #e9edf4; border-bottom: 1px solid #d6e0ec; }
.browser-bar i { display: block; width: 7px; height: 7px; border-radius: 50%; background: #9eafc5; }
.browser-bar span { display: block; width: 38%; height: 14px; margin-left: 1rem; border-radius: 4px; background: #f8faff; }
.browser-frame img { width: 100%; height: auto; }
.hero-visual figcaption { margin-top: .9rem; color: #aec6e6; font-size: .82rem; text-align: right; }
.visual-tag { position: absolute; right: -1rem; bottom: 3.1rem; padding: .85rem 1.1rem; border-radius: 10px; background: var(--amber); color: #302100; box-shadow: 0 12px 30px rgba(0,0,0,.25); font-size: .82rem; font-weight: 800; transform: rotate(-4deg); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 47px; padding: .7rem 1.2rem; border: 1px solid transparent; border-radius: 9px; text-decoration: none; font-weight: 750; line-height: 1.25; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--amber); color: #302100; }
.button-primary:hover { background: #ffce70; }
.button-blue { background: var(--blue); color: #fff; }
.button-blue:hover { background: var(--blue-dark); }
.button-outline { border-color: #9bb2d5; color: #fff; }
.button-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.button-light-outline { border-color: #b9c8dc; color: var(--navy); }
.button-light-outline:hover { border-color: var(--blue); background: #edf5ff; }
.text-link { color: var(--blue-dark); font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.text-link:hover { color: var(--navy); }

.value-strip { border-bottom: 1px solid var(--line); background: #fff; }
.value-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.value-item { padding: 1.5rem 1.2rem; border-right: 1px solid var(--line); }
.value-item:first-child { padding-left: 0; }
.value-item:last-child { border-right: 0; }
.value-item strong, .value-item span { display: block; }
.value-item strong { color: var(--navy); font-size: 1.02rem; }
.value-item span { margin-top: .15rem; color: var(--muted); font-size: .86rem; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.feature-card { min-height: 250px; padding: 1.55rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 25px rgba(16,36,73,.035); }
.feature-card .icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 1.55rem; border-radius: 11px; color: var(--blue-dark); background: #e8f2ff; font-weight: 850; font-size: 1.1rem; }
.feature-card h3 { margin-bottom: .7rem; }
.feature-card p { margin-bottom: 0; }
.feature-card a { color: var(--blue-dark); font-weight: 750; }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.split.reverse > :first-child { order: 2; }
.image-card { padding: .6rem; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: 0 24px 50px rgba(16,36,73,.1); }
.image-card img { width: 100%; height: auto; border-radius: 10px; }
.image-card figcaption { padding: .85rem .6rem .35rem; color: var(--muted); font-size: .82rem; }
.check-list { list-style: none; margin: 1.5rem 0 2rem; padding: 0; }
.check-list li { position: relative; margin: .7rem 0; padding-left: 1.8rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 900; }
.cta-band { position: relative; overflow: hidden; padding: clamp(3.5rem, 6vw, 5rem) 0; background: var(--navy); color: #fff; }
.cta-band::before { content: ""; position: absolute; top: -14rem; right: -7rem; width: 40rem; height: 40rem; border: 1px solid #41618e; border-radius: 50%; }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-inner h2 { margin-bottom: .5rem; }
.cta-inner p { margin-bottom: 0; color: #bdcfe9; }

.page-hero { padding: clamp(4rem, 7vw, 6rem) 0; color: #fff; background: radial-gradient(circle at 90% 10%, #21559e, transparent 35%), var(--navy-deep); }
.page-hero h1 { max-width: 900px; margin-bottom: 1.1rem; font-size: clamp(2.8rem, 5.2vw, 5rem); }
.page-hero p { max-width: 720px; margin-bottom: 0; color: #c7d7ee; }
.subnav { border-bottom: 1px solid var(--line); background: #fff; }
.subnav .container { display: flex; gap: 1.7rem; overflow-x: auto; }
.subnav a { padding: 1rem 0; color: var(--muted); white-space: nowrap; text-decoration: none; font-weight: 700; }
.subnav a:hover { color: var(--blue-dark); }
.feature-group { display: grid; grid-template-columns: 300px 1fr; gap: 3rem; padding: 3rem 0; border-bottom: 1px solid var(--line); }
.feature-group:last-child { border: 0; }
.feature-group h2 { font-size: 2rem; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 2rem; }
.feature-list article { border-left: 3px solid #94c3ff; padding-left: 1rem; }
.feature-list h3 { margin-bottom: .45rem; font-size: 1.13rem; }
.feature-list p { margin-bottom: 0; }

.gallery { display: grid; gap: 4rem; }
.gallery-entry { display: grid; grid-template-columns: 1fr 2fr; align-items: center; gap: 2.5rem; }
.gallery-entry:nth-child(even) { grid-template-columns: 2fr 1fr; }
.gallery-entry:nth-child(even) .gallery-copy { order: 2; }
.gallery-entry h2 { font-size: 2rem; }
.gallery-entry .image-card { margin: 0; }
.gallery-entry .image-card a { display: block; border-radius: 10px; overflow: hidden; }
.gallery-copy .number { display: block; margin-bottom: .8rem; color: var(--blue); font-size: .8rem; font-weight: 800; letter-spacing: .13em; }

.steps { display: grid; gap: 1.1rem; counter-reset: step; }
.step { display: grid; grid-template-columns: 54px 1fr; gap: 1.2rem; padding: 1.65rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #e8f2ff; color: var(--blue-dark); font-weight: 850; }
.step h3 { margin-bottom: .5rem; }
.step p:last-child { margin-bottom: 0; }
.code-block { position: relative; margin: 1rem 0; border-radius: 10px; background: var(--navy-deep); color: #f2f6ff; overflow-x: auto; }
.code-block code { display: block; padding: 1rem 1.1rem; white-space: pre; font-size: .87rem; line-height: 1.65; }
.aside-note { padding: 1.3rem 1.5rem; border-left: 4px solid var(--amber); border-radius: 0 10px 10px 0; background: #fff9e9; }
.aside-note p:last-child { margin-bottom: 0; }
.spaced-note { margin-top: 1.5rem; }
.fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.fact { padding: 1.4rem; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.fact dt { color: var(--muted); font-size: .86rem; font-weight: 700; }
.fact dd { margin: .25rem 0 0; color: var(--navy); font-size: 1.08rem; font-weight: 800; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 1.2rem 0; }
.faq summary { color: var(--navy); font-size: 1.08rem; font-weight: 750; cursor: pointer; }
.faq details p { margin: .9rem 0 0; }

.site-footer { padding: 3.5rem 0 1.5rem; background: var(--navy-deep); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.footer-grid p { max-width: 370px; margin-top: 1rem; color: #a9bedb; font-size: .9rem; }
.footer-grid h2 { margin: .1rem 0 1rem; font-size: .9rem; letter-spacing: 0; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: .55rem; }
.footer-grid a { color: #cbd8ec; text-decoration: none; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid #314568; color: #a9bedb; font-size: .8rem; }

@media (max-width: 980px) {
  .site-nav { gap: .9rem; }
  .site-nav a { font-size: .86rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .hero-visual { max-width: 850px; }
  .visual-tag { right: .5rem; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-group { grid-template-columns: 240px 1fr; }
}
@media (max-width: 820px) {
  .container { width: min(100% - 2rem, 1160px); }
  .header-inner { min-height: 68px; }
  .header-inner { flex-wrap: wrap; }
  .has-menu-js .menu-toggle { display: inline-flex; }
  .site-nav { position: static; display: flex; flex-basis: 100%; margin: 0; padding: 0 0 1rem; flex-direction: column; align-items: stretch; gap: .2rem; background: var(--navy-deep); }
  .has-menu-js .site-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; padding: 1rem; border-top: 1px solid #304565; box-shadow: 0 20px 30px rgba(0,0,0,.22); }
  .has-menu-js .site-nav.open { display: flex; }
  .site-nav a { padding: .65rem .75rem; font-size: 1rem; }
  .site-nav a[aria-current="page"] { text-decoration: none; border-left: 3px solid var(--amber); }
  .site-nav .nav-cta { margin: .4rem 0 0; text-align: center; }
  .hero { padding-block: 4rem 3rem; }
  .hero h1 { font-size: clamp(3rem, 10vw, 5rem); }
  .visual-tag { display: none; }
  .value-strip .container { grid-template-columns: repeat(2, 1fr); }
  .value-item { padding: 1.1rem .6rem; border-bottom: 1px solid var(--line); }
  .value-item:nth-child(2) { border-right: 0; }
  .value-item:nth-child(3) { padding-left: 0; border-bottom: 0; }
  .value-item:nth-child(4) { border-bottom: 0; }
  .card-grid, .split, .feature-group, .feature-list, .gallery-entry, .gallery-entry:nth-child(even), .fact-grid, .footer-grid { grid-template-columns: 1fr; }
  .split.reverse > :first-child, .gallery-entry:nth-child(even) .gallery-copy { order: initial; }
  .feature-group { gap: 1rem; }
  .gallery { gap: 3rem; }
  .gallery-entry { gap: 1rem; }
  .gallery-entry .gallery-copy { order: 0; }
  .gallery-entry .image-card { order: 1; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .step { grid-template-columns: 1fr; }
  .footer-grid { gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
