@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600&display=swap");

:where(main, .site-header, .legal-header, .legal-content) {
  --ecosystem-ink: #0b1d3a;
  --ecosystem-ink-soft: #355273;
  --ecosystem-border: #d8e5f1;
  --ecosystem-cyan: #8fd5f1;
  --ecosystem-periwinkle: #5b7cf0;
  --ecosystem-dot: #2fe0d0;
  font-family: "Inter Tight", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

:where(main) {
  --wc-white: #fff;
  --wc-paper: #f6faff;
  --wc-stone: #edf5fb;
  --wc-ink: #0b1d3a;
  --wc-green: #0e1f3d;
  --wc-green-deep: #091a35;
  --wc-muted: #526980;
  --wc-border: #d8e5f1;
  --wc-coral: #5b7cf0;
  --wc-display: "Inter Tight", system-ui, sans-serif;
  --wc-ui: "Inter Tight", system-ui, sans-serif;
  color: var(--ecosystem-ink);
  background: #fff;
}

:where(main) :is(h1, h2, h3, h4, p, li, a, button) {
  font-family: "Inter Tight", system-ui, sans-serif;
}

.site-header {
  position: relative;
  z-index: 30;
  padding: 15px 16px 0;
  border-bottom: 0;
  background: #f5faff;
}
.site-header .nav-shell {
  width: min(100%, 960px);
  max-width: 960px;
  min-height: 62px;
  padding: 0 12px 0 21px;
  gap: 18px;
  grid-template-columns: 1fr auto 1fr;
  border: 1px solid #e0eaf3;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 9px 33px -21px rgba(11,29,58,.24);
}
.site-header .brand { color: #0b1d3a; font: 500 17px/1.1 "Inter Tight",sans-serif; letter-spacing: -.025em; }
.site-header .brand-logo-image { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(11,29,58,.09); }
.site-header .nav-links { gap: clamp(13px,2.2vw,31px); }
.site-header .nav-link { color: #0b1d3a; font: 500 13px/1.2 "Inter Tight",sans-serif; }
.site-header .nav-cta { background: #0b1d3a; border: 0; border-radius: 999px; color: #fff; font: 500 12px/1.2 "Inter Tight",sans-serif; box-shadow: none; }
.site-header .nav-cta:hover { background: #24476b; }
.site-header .nav-cta-icon { background: #2fe0d0; color: #0b1d3a; border-radius: 50%; }

:where(.product-hero, .catalog-hero) {
  background: radial-gradient(ellipse 64% 67% at 49% -4%, rgba(143,213,241,.83), rgba(210,218,255,.34) 48%, transparent 77%), #fff;
  border-bottom: 1px solid #dae6f1;
  min-height: 0;
}
:where(.product-hero, .catalog-hero)::after {
  background-image: linear-gradient(to right,rgba(11,29,58,.065) 1px,transparent 1px),linear-gradient(to bottom,rgba(11,29,58,.065) 1px,transparent 1px);
  background-size: 116px 116px;
  opacity: .38;
  mask-image: linear-gradient(0deg,transparent 0%,black 52%,transparent 100%);
}
:where(.product-hero-grid,.catalog-hero-inner,.container,.wc-product-flow .wc-flow-container) {
  max-width: 1160px;
  width: min(calc(100% - 60px), 1160px);
  margin-inline: auto;
}
.product-hero-grid { grid-template-columns: minmax(0,1.17fr) minmax(320px,.83fr); min-height: 600px; gap: clamp(30px,5vw,82px); padding: 92px 0 108px; }
.product-hero h1, .catalog-hero h1 { color: #0b1d3a; font-size: clamp(50px,6vw,82px); line-height: 1.045; letter-spacing: -.062em; }
.product-hero .hero-summary, .catalog-hero-inner > p { color: #47617a; line-height: 1.68; font-size: clamp(15px,1.35vw,18px); }
.breadcrumbs, .product-meta, .section-kicker { color: #4f719a; }
.product-meta { font-weight: 500; }
:where(.product-icon,.product-icon-lg,.group-heading-icon,.feature-icon,.workflow-icon) { background: #dff3fb; border: 1px solid #c5e1f2; color: #1a4d7b; border-radius: 12px; }
:where(.product-icon,.feature-icon,.workflow-icon) i { font-size: 20px; }
.status-chip { background: #e6ebff; color: #4f62b0; }
:where(main) .button { border-radius: 999px; font: 500 13px/1.2 "Inter Tight",sans-serif; min-height: 48px; padding-inline: 21px; }
:where(main) .button-dark { background: #0b1d3a; border-color: #0b1d3a; color: #fff; }
:where(main) .button-dark:hover { background: #284b73; border-color: #284b73; }
:where(main) .button-light { background: #fff; border-color: #c8d8e8; color: #0b1d3a; }
:where(main) .button-light:hover { background: #f2f8ff; }
.command-block { background: #fff; border-color: #d8e5f1; border-radius: 14px; }
.command-block code { color: #1c4d77; }

.product-hero .overview-panel { background: #0e1f3d; border: 1px solid #263e60; border-radius: 24px; box-shadow: 0 20px 55px -36px rgba(11,29,58,.3); }
.product-hero .overview-top,.product-hero .overview-row { border-color: rgba(255,255,255,.17); }
.product-hero .overview-top,.product-hero .overview-row,.product-hero .overview-link { padding: 24px 28px; }
.product-hero .group-chip { color: #e0f7ff; background: rgba(143,213,241,.13); }
.product-hero .section-kicker,.product-hero .overview-row > span { color: #9bc5e3; }
.product-hero .overview-row p { color: #d2e2ef; }
.product-hero .overview-link { color: #e9f6ff; }
.product-hero .overview-link:hover { background: rgba(143,213,241,.1); }

.wc-product-flow { background: #0e1f3d; border-top: 0; color: #fff; }
.wc-product-flow::before { background-size: 64px 64px; opacity: .11; }
.wc-flow-number,.wc-flow-kicker,.wc-flow-footnote,.wc-flow-caption { color: #9dc6e3; }
.wc-flow-intro > p { color: #c2d7e9; }
.wc-flow-diagram { border-color: #3b5675; border-radius: 20px; background: rgba(0,0,0,.14); }
.wc-flow-node { border: 1px solid #cbdceb; border-radius: 13px; background: #f7fbff; color: #0b1d3a; }
.wc-flow-node:nth-child(2),.wc-flow-node:nth-child(3) { background: #e8f6ff; }
.wc-flow-node > span { color: #5b7896; }
.wc-flow-diagram > svg { color: #74aed1; }
.wc-flow-diagram > svg circle { fill: #2fe0d0; }
.wc-flow-caption i { background: #2fe0d0; }

.detail-section { background: #fff; padding-block: clamp(72px,8vw,115px); }
.detail-section + .detail-section { border-color: #d8e5f1; }
.section-heading { border-color: #d8e5f1; }
.section-heading h2, .workflow-grid h2, .product-cta h2, .group-heading h2, .callout-grid h2 { color: #0b1d3a; font-size: clamp(38px,4.3vw,62px); line-height: 1.09; }
.section-heading > p,.workflow-grid > div > p,.product-cta p,.group-heading p,.callout-grid p { color: #526980; }
.feature-grid { border: 1px solid #d8e5f1; background: #d8e5f1; gap: 1px; }
.feature-card { background: #fbfdff; min-height: 310px; }
.feature-card:nth-child(2),.feature-card:nth-child(4) { background: #f1f7fd; }
.feature-card:hover { background: #e8f4fc; }
.feature-card h3 { color: #0b1d3a; }
.feature-card p { color: #526980; }
.workflow-section { background: #edf5fb; }
.workflow-list,.workflow-list li { border-color: #cddfeb; }
.workflow-list strong { color: #0b1d3a; }
.related-section { background: #fff; }
.product-card { background: #f7fbff; }
.product-card:hover { background: #eaf5ff; }
.product-cta { background: #eaf5ff; border-radius: 24px; border: 1px solid #cee2f0; }

.catalog-hero-inner { padding: 110px 0 100px; }
.catalog-hero .eyebrow-row { color: #456a8d; }
.catalog-section { background: #fff; }
.filter-tabs { background: #fff; border: 1px solid #d8e5f1; border-radius: 22px; padding: 10px; }
.filter-tab { border-radius: 999px; background: #fff; color: #456181; }
.filter-tab:hover { background: #eff7fd; }
.filter-tab.is-active { background: #0b1d3a; color: #fff; }
.catalog-group { border-color: #d8e5f1; }
.group-heading-icon { background: #e6f2fb; }
.catalog-grid { gap: 1px; background: #d8e5f1; border: 1px solid #d8e5f1; }
.catalog-grid .product-card { border: 0; }
.stack-callout { background: #fff; }
.callout-grid { background: #0e1f3d; border-radius: 24px; }
.callout-grid h2 { color: #fff; }
.callout-grid p { color: #bcd7e8; }
.callout-grid .button-dark { background: #fff; color: #0b1d3a; border-color: #fff; }

:where(.legal-header,.legal-content) { font-family: "Inter Tight",sans-serif; }
html:has(.legal-header) { background: #fff; }
body:has(.legal-header) { background: #fff; }
.legal-header { width: min(calc(100% - 32px), 960px); min-height: 64px; margin: 14px auto 0; padding: 0 22px; border: 1px solid #e0eaf3; border-radius: 999px; background: #fff; box-shadow: 0 9px 33px -21px rgba(11,29,58,.24); }
.legal-brand { font: 500 17px/1.1 "Inter Tight",sans-serif; color: #0b1d3a; letter-spacing: -.025em; }
.legal-brand img { width: 30px; height: 30px; object-fit: cover; border-radius: 50%; border: 1px solid #e0eaf3; }
.legal-nav { gap: 12px; flex-wrap: wrap; color: #455e7c; font-size: 13px; }
.legal-nav a { padding: 7px 12px; border-radius: 999px; }
.legal-nav a:hover { background: #eef7fe; text-decoration: none; color: #0b1d3a; }
.legal-content { width: min(calc(100% - 48px), 1100px); padding: clamp(50px,7vw,93px) 0 100px; }
.legal-frame-label { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0 20px; margin-bottom: clamp(38px,6vw,72px); border-bottom: 1px solid #d8e5f1; color: #577599; font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.legal-content .section-kicker { margin-bottom: 22px; color: #5b7cf0; font-size: 11px; letter-spacing: .15em; }
.legal-content h1 { max-width: 920px; color: #0b1d3a; font: 400 clamp(49px,7vw,90px)/1.02 "Inter Tight",sans-serif; letter-spacing: -.063em; }
.legal-description { color: #4f6680; max-width: 660px; font-size: clamp(15px,1.5vw,18px); line-height: 1.65; margin-top: 22px; }
.legal-revision { color: #7185a0; font-size: 12px; margin-top: 18px; }
.legal-actions { gap: 12px; margin: 32px 0 clamp(48px,7vw,88px); }
.legal-actions a { border-radius: 999px; min-height: 46px; padding: 0 22px; font-size: 13px; font-weight: 500; }
.legal-primary { background: #0b1d3a; border: 1px solid #0b1d3a; }
.legal-primary:hover { background: #234567; }
.legal-secondary { background: #fff; border-color: #cbdceb; color: #0b1d3a; }
.legal-secondary:hover { background: #eef7fe; }
.legal-document-heading { display: flex; justify-content: space-between; gap: 20px; padding: 17px 21px; border: 1px solid #d8e5f1; border-bottom: 0; border-radius: 18px 18px 0 0; color: #5c7593; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
.legal-document-wrap { border: 1px solid #d8e5f1; border-radius: 0 0 18px 18px; background: #f6faff; padding: 12px; min-height: 680px; }
.legal-document-wrap iframe { border: 0; border-radius: 9px; min-height: 650px; height: min(84vh, 960px); background: #fff; }
.legal-back { display: inline-flex; margin-top: 30px; color: #0b1d3a; font-weight: 500; }
:where(.legal-header,.legal-content) :where(a,button):focus-visible { outline: 2px solid #5b7cf0; outline-offset: 3px; }

@media (max-width: 900px) {
  .product-hero-grid { grid-template-columns: 1fr; padding-top: 75px; padding-bottom: 80px; }
  .product-hero .overview-panel { width: 100%; }
  .feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .site-header { padding: 12px 12px 0; }
  .site-header .nav-shell { min-height: 56px; padding: 0 11px; gap: 9px; }
  .site-header .nav-links { gap: 12px; }
  .site-header .nav-link { font-size: 12px; }
  .site-header .nav-cta { min-height: 36px; padding-inline: 11px; }
  :where(.product-hero-grid,.catalog-hero-inner,.container,.wc-product-flow .wc-flow-container) { width: min(calc(100% - 36px), 1160px); }
  .product-hero h1,.catalog-hero h1 { font-size: clamp(41px,9.5vw,62px); }
  .feature-grid,.catalog-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 250px; }
  .legal-header { width: calc(100% - 24px); border-radius: 22px; min-height: 0; padding: 16px; display: flex; align-items: flex-start; flex-direction: column; gap: 14px; }
  .legal-nav { gap: 2px; }
  .legal-nav a { padding: 6px 8px; }
  .legal-content { width: calc(100% - 36px); padding: 52px 0 70px; }
  .legal-frame-label { margin-bottom: 45px; }
  .legal-content h1 { font-size: clamp(43px,11vw,65px); }
  .legal-document-wrap,.legal-document-wrap iframe { min-height: 510px; }
  .legal-document-wrap { padding: 6px; }
}
@media (max-width: 430px) {
  .site-header .nav-links .nav-link:last-child { display: none; }
  .site-header .brand { gap: 5px; font-size: 15px; }
  .site-header .brand-logo-image { width: 25px; height: 25px; }
  .site-header .nav-shell { grid-template-columns: auto 1fr auto; }
  .site-header .nav-links { justify-content: flex-end; }
  .site-header .nav-cta { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  :where(main,.site-header,.legal-header,.legal-content) *, :where(main,.site-header,.legal-header,.legal-content) *::before { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}


/* WunderCorp shared footer: navy, cyan, white. Keep original markup and links. */
.footer-section {
  --wc-green: #0e1f3d;
  --wc-paper: #f7fbff;
  --wc-ink: #0b1d3a;
  --wc-muted: #526980;
  --wc-border: #d8e5f1;
  --wc-display: "Inter Tight", system-ui, sans-serif;
  --wc-ui: "Inter Tight", system-ui, sans-serif;
  padding-top: clamp(54px, 6vw, 82px);
  background: #ffffff;
  border-top: 1px solid #d8e5f1;
  color: #0b1d3a;
  font-family: "Inter Tight", system-ui, sans-serif;
}
.footer-section .footer-wrapper {
  max-width: 1160px;
  grid-template-columns: minmax(275px, 0.82fr) minmax(0, 1.35fr);
  gap: 1px;
  border: 1px solid #d8e5f1;
  border-radius: 20px;
  background: #d8e5f1;
  overflow: hidden;
}
.footer-section .footer-left,
.footer-section .footer-right { border-radius: 0; box-shadow: none; }
.footer-section .footer-left { background: #0e1f3d; }
.footer-section .footer-left::after { background: linear-gradient(180deg, rgba(4, 15, 37, .42), rgba(4, 15, 37, .76)); }
.footer-section .footer-right { background: #f7fbff; }
.footer-section .footer-brand { color: #ffffff; font-family: inherit; font-weight: 600; }
.footer-section .footer-brand-logo-image { border-radius: 50%; border: 1px solid rgba(255,255,255,.3); }
.footer-section .footer-col h3 { color: #526980; }
.footer-section .footer-col a { color: #0b1d3a; }
.footer-section .footer-col a:hover { color: #3568bb; }
.footer-section .footer-bottom { border-color: #d8e5f1; }
.footer-section .footer-bottom p, .footer-section .footer-cta span { color: #526980; }
.footer-section .footer-cta strong { color: #0b1d3a; }
.footer-section .footer-cta a { background: #0b1d3a; color: #ffffff; border-radius: 999px; }
.footer-section .footer-cta a:hover { background: #244d76; }
.footer-section .footer-watermark {
  color: rgba(11,29,58,.07);
  font-family: "Inter Tight", system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: -.065em;
}
@media (max-width: 800px) {
  .footer-section .footer-wrapper { grid-template-columns: 1fr; }
  .footer-section .footer-right { padding: 30px 24px; }
}
