:root {
  color-scheme: light;
  --bg: #f7f9fb;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --surface-muted: rgba(235, 241, 246, 0.72);
  --ink: #121820;
  --muted: #52616f;
  --soft: #788695;
  --line: rgba(33, 50, 64, 0.12);
  --line-strong: rgba(33, 50, 64, 0.2);
  --blue: #1f6feb;
  --blue-dark: #174ea6;
  --green: #188a68;
  --violet: #6554c0;
  --focus: #0a7cff;
  --shadow-soft: 0 18px 60px rgba(18, 24, 32, 0.1);
  --shadow-card: 0 12px 36px rgba(20, 37, 52, 0.12);
  --radius-card: 8px;
  --radius-pill: 999px;
  --container: 1120px;
  --section-y: clamp(64px, 8vw, 104px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 82% 18%, rgba(31, 111, 235, 0.1), transparent 28rem),
    radial-gradient(circle at 10% 82%, rgba(24, 138, 104, 0.09), transparent 24rem),
    var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--blue-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--blue);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--focus) 72%, white);
  outline-offset: 3px;
}

button {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 20px;
  font-size: clamp(2.8rem, 7vw, 5.7rem);
  font-weight: 780;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 740;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  font-weight: 720;
}

p {
  color: var(--muted);
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 1000;
  transform: translateY(-140%);
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: white;
  padding: 10px 16px;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.site-header {
  position: fixed;
  inset: 16px 0 auto;
  z-index: 100;
  pointer-events: none;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, 1160px);
  margin-inline: auto;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 10px 34px rgba(21, 34, 48, 0.12);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  pointer-events: auto;
  transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled .nav-shell {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 32px rgba(21, 34, 48, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 18px;
  color: var(--ink);
  font-weight: 720;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(31, 111, 235, 0.22);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(221, 237, 250, 0.82));
  color: var(--blue-dark);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
}

.nav-links a {
  border-radius: var(--radius-pill);
  color: #253241;
  padding: 9px 12px;
  font-size: 0.94rem;
  font-weight: 640;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.nav-links a:hover {
  background: rgba(31, 111, 235, 0.08);
  color: var(--blue-dark);
}

.nav-links a[aria-current="page"] {
  background: rgba(31, 111, 235, 0.12);
  color: var(--blue-dark);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.62);
  padding: 4px;
}

.language-button {
  min-width: 34px;
  min-height: 30px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: #435160;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.02em;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.language-button:hover {
  background: rgba(31, 111, 235, 0.08);
  color: var(--blue-dark);
}

.language-button[aria-pressed="true"] {
  background: linear-gradient(135deg, rgba(31, 111, 235, 0.14), rgba(24, 138, 104, 0.14));
  box-shadow: inset 0 0 0 1px rgba(31, 111, 235, 0.18);
  color: var(--blue-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: 6px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 1px;
  background: currentColor;
}

.hero,
.page-hero {
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  min-height: min(720px, 86svh);
  padding: 120px 0 54px;
  isolation: isolate;
}

.hero-image,
.page-hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim,
.page-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(247, 249, 251, 0.98) 0%, rgba(247, 249, 251, 0.86) 34%, rgba(247, 249, 251, 0.38) 72%, rgba(247, 249, 251, 0.18) 100%),
    linear-gradient(180deg, rgba(247, 249, 251, 0.32) 0%, rgba(247, 249, 251, 0.82) 100%);
}

.hero-content {
  padding-bottom: 8px;
}

.hero-subtitle {
  max-width: 760px;
  margin-bottom: 18px;
  color: #26313d;
  font-size: clamp(1.35rem, 3vw, 2.3rem);
  font-weight: 620;
  line-height: 1.2;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 30px;
  color: #415161;
  font-size: clamp(1rem, 1.8vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  padding: 0 18px;
  font-weight: 720;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(135deg, #1f6feb, #188a68);
  box-shadow: 0 14px 34px rgba(31, 111, 235, 0.24);
  color: white;
}

.button.secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.button.compact {
  min-height: 42px;
  align-self: flex-start;
  padding-inline: 16px;
}

.section {
  padding: var(--section-y) 0;
}

.hero + .section {
  padding-top: clamp(32px, 5vh, 48px);
}

.section-muted {
  border-block: 1px solid rgba(33, 50, 64, 0.08);
  background: linear-gradient(180deg, rgba(235, 241, 246, 0.55), rgba(255, 255, 255, 0.38));
}

.section-kicker,
.eyebrow,
.card-label {
  margin-bottom: 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.split-layout,
.two-column,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-lead {
  margin: 0;
  color: #394858;
  font-size: clamp(1.04rem, 2vw, 1.24rem);
}

.glass-card {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card-grid.one-up {
  grid-template-columns: minmax(0, 1fr);
}

.product-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: clamp(22px, 4vw, 34px);
}

.product-card h3,
.feature-card h3 {
  color: #17212d;
}

.card-subtitle {
  color: #253241;
  font-weight: 680;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 16px;
  border: 1px solid rgba(24, 138, 104, 0.22);
  border-radius: var(--radius-pill);
  background: rgba(24, 138, 104, 0.09);
  color: var(--green);
  padding: 5px 10px;
  font-size: 0.78rem;
  font-weight: 760;
}

.feature-card,
.prose-card,
.contact-card {
  padding: clamp(22px, 3vw, 32px);
}

.feature-card p,
.prose-card p,
.contact-card p {
  margin-bottom: 0;
}

.feature-card p + p,
.prose-card p + p,
.contact-card p + p {
  margin-top: 14px;
}

.info-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: clamp(20px, 4vw, 30px);
}

.info-list div {
  display: grid;
  grid-template-columns: minmax(150px, 0.45fr) minmax(0, 1fr);
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.info-list div:first-child {
  padding-top: 0;
}

.info-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.info-list dt {
  color: var(--soft);
  font-weight: 700;
}

.info-list dd {
  margin: 0;
  color: #26313d;
  overflow-wrap: anywhere;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.link-card {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 22px;
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 111, 235, 0.24);
  box-shadow: var(--shadow-soft);
}

.link-card span {
  color: var(--ink);
  font-weight: 760;
}

.link-card small {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.page-hero {
  min-height: clamp(480px, 58vh, 620px);
  padding-bottom: 58px;
}

.page-hero.simple {
  min-height: auto;
  padding: 160px 0 72px;
  background:
    linear-gradient(135deg, rgba(31, 111, 235, 0.12), transparent 44%),
    linear-gradient(315deg, rgba(24, 138, 104, 0.12), transparent 44%),
    rgba(255, 255, 255, 0.32);
}

.page-hero-content {
  max-width: 860px;
}

.page-hero h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
}

.content-stack {
  display: grid;
  gap: clamp(28px, 5vw, 54px);
}

.legal-layout {
  width: min(100% - 40px, 920px);
}

.legal-card {
  padding: clamp(24px, 5vw, 44px);
}

.legal-card h2 {
  margin-top: 34px;
  margin-bottom: 12px;
  font-size: clamp(1.28rem, 2vw, 1.7rem);
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p {
  margin-bottom: 0;
}

.contact-layout {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
}

.contact-card .info-list {
  padding: 8px 0 0;
}

.contact-note {
  position: sticky;
  top: 112px;
  border-left: 3px solid rgba(24, 138, 104, 0.42);
  padding-left: 20px;
}

.contact-note p {
  color: #2c3947;
  font-size: 1.08rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  padding: 34px 0;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
}

.site-footer p {
  margin: 0;
  font-size: 0.95rem;
}

.footer-company {
  display: grid;
  gap: 2px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: #314050;
  font-weight: 650;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--blue-dark);
  text-decoration: underline;
}

@media (max-width: 940px) {
  .nav-shell {
    min-height: 58px;
    align-items: flex-start;
  }

  .brand {
    min-height: 58px;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
    margin-top: 7px;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    left: 16px;
    display: none;
    grid-template-columns: 1fr;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: rgba(255, 255, 255, 1);
    box-shadow: var(--shadow-card);
    padding: 10px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .nav-open .nav-links {
    display: grid;
  }

  .nav-links a {
    padding: 12px 14px;
  }

  .language-switcher {
    justify-content: stretch;
    width: 100%;
    margin: 6px 0 0;
  }

  .language-button {
    flex: 1;
  }

  .hero {
    min-height: 82vh;
  }

  .hero-scrim,
  .page-hero-scrim {
    background:
      linear-gradient(90deg, rgba(247, 249, 251, 0.98), rgba(247, 249, 251, 0.74)),
      linear-gradient(180deg, rgba(247, 249, 251, 0.48), rgba(247, 249, 251, 0.92));
  }

  .split-layout,
  .two-column,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .contact-note {
    position: static;
  }
}

@media (max-width: 640px) {
  .container,
  .legal-layout {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    inset: 10px 0 auto;
  }

  .nav-shell {
    width: min(100% - 20px, 1160px);
  }

  .brand {
    max-width: calc(100% - 58px);
    padding-left: 12px;
    font-size: 0.95rem;
  }

  .brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero,
  .page-hero {
    min-height: 78vh;
    padding: 118px 0 48px;
  }

  .page-hero.simple {
    min-height: auto;
    padding: 118px 0 52px;
  }

  h1 {
    font-size: clamp(2.6rem, 15vw, 4.2rem);
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .card-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .info-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-inner {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .button:hover,
  .link-card:hover {
    transform: none;
  }
}
