:root {
  --navy-980: #061427;
  --navy-900: #0a2342;
  --navy-800: #163a66;
  --ink: #112035;
  --muted: #5a6878;
  --surface: #ffffff;
  --surface-soft: #f2f6fb;
  --border: #d7e0ea;
  --accent: #1d4f87;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 12px 32px rgba(10, 35, 66, 0.09);
  --container: 72rem;
  --header-h-mobile: 6.4rem;
  --header-h-desktop: 4.2rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  padding-top: var(--header-h-mobile);
  font-family: "Barlow", "Segoe UI", sans-serif;
  color: var(--ink);
  line-height: 1.55;
  background: linear-gradient(180deg, #f7fbff 0, #ffffff 20rem);
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  background: var(--navy-900);
  color: #fff;
  padding: 0.55rem 0.85rem;
  border-radius: 0.5rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  width: 100%;
  overflow-x: hidden;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

main,
.site-footer {
  width: 100%;
  overflow-x: hidden;
}

.nav-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "brand lang"
    "toggle toggle"
    "nav nav";
  gap: 0.6rem;
  align-items: center;
  padding: 0.7rem 0;
}

.brand {
  grid-area: brand;
  width: clamp(8.75rem, 38vw, 11.75rem);
  color: var(--navy-900);
}

.brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.lang-switch {
  grid-area: lang;
  justify-self: end;
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.2rem;
  background: #fff;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 0.28rem 0.6rem;
  font-weight: 600;
  cursor: pointer;
}

.lang-btn.is-active {
  background: var(--navy-900);
  color: #fff;
}

.nav-toggle {
  grid-area: toggle;
  width: 2.6rem;
  height: 2.35rem;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  background: #fff;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.28rem;
  padding: 0.4rem 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  width: 100%;
  height: 2px;
  background: var(--navy-900);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.site-header.menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.primary-nav {
  grid-area: nav;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.22s ease;
}

.site-header.menu-open .primary-nav {
  max-height: 20rem;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0.4rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.nav-link {
  display: inline-flex;
  padding: 0.5rem 0.6rem;
  border-radius: 0.5rem;
  color: var(--muted);
  font-weight: 600;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: var(--navy-900);
  background: var(--surface-soft);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 4rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 84% 18%, rgba(21, 58, 102, 0.2), transparent 45%),
    linear-gradient(125deg, rgba(242, 246, 251, 0.9), rgba(255, 255, 255, 0.7)),
    repeating-linear-gradient(
      135deg,
      transparent 0,
      transparent 30px,
      rgba(10, 35, 66, 0.03) 31px,
      rgba(10, 35, 66, 0.03) 32px
    );
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 1.3rem;
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--accent);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(1.9rem, 4.6vw, 3.1rem);
  line-height: 1.15;
  color: var(--navy-980);
  max-width: 18ch;
}

.hero-subhead {
  margin: 1rem 0 0;
  max-width: 60ch;
  color: #24344a;
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.4rem 0 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  border-radius: 999px;
  padding: 0.55rem 1.05rem;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  background: var(--navy-900);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--navy-800);
}

.btn-secondary {
  background: #fff;
  color: var(--navy-900);
  border-color: var(--border);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--accent);
}

.disclaimer {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.hero-panel h2 {
  margin: 0 0 0.65rem;
  font-size: 1.03rem;
  color: var(--navy-900);
}

.panel-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.panel-list li {
  position: relative;
  padding-left: 1.05rem;
  color: #2b3b52;
  font-size: 0.95rem;
}

.panel-list li::before {
  content: "";
  width: 0.43rem;
  height: 0.43rem;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 0.5rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--surface-soft);
  border-block: 1px solid #e8eef5;
}

.section-title {
  margin: 0;
  color: var(--navy-900);
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.section-lead {
  margin: 0.6rem 0 0;
  color: var(--muted);
  max-width: 60ch;
}

.problem-list {
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.problem-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
}

.problem-list li::before {
  content: "";
  flex: 0 0 0.42rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--accent);
}

.cards-grid {
  margin-top: 1.15rem;
  display: grid;
  gap: 0.9rem;
}

.card,
.step-card,
.team-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}

.card h3,
.step-card h3,
.team-card h3 {
  margin: 0;
  color: var(--navy-900);
  font-size: 1.06rem;
}

.card p,
.step-card p,
.team-card p {
  margin: 0.5rem 0 0;
  color: #33465f;
}

.product-grid .card {
  border-top: 3px solid var(--accent);
}

.steps-grid {
  grid-template-columns: 1fr;
}

.how-stage {
  margin-top: 1.05rem;
  display: grid;
  gap: 0.9rem;
  align-items: start;
}

.how-visual {
  margin: 0;
  width: 100%;
  border: 1px solid #4b5563;
  border-radius: var(--radius);
  background: #343b45;
  padding: 0.7rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.how-visual img {
  width: 100%;
  height: clamp(190px, 40vw, 340px);
  object-fit: contain;
  object-position: center;
}

.steps-grid {
  margin-top: 0;
  padding: 0;
  gap: 0.75rem;
}

.step-card {
  position: relative;
  border-color: #c8d6e6;
  box-shadow: 0 6px 16px rgba(10, 35, 66, 0.06);
  padding: 0.9rem 0.95rem 1rem;
}

.step-card::before {
  content: attr(data-step);
  position: absolute;
  top: 0.55rem;
  right: 0.6rem;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.78rem;
  color: #0d3561;
  background: #e9f2fc;
  border: 1px solid #c4d8ef;
}

.step-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.65rem;
  background: #eaf2fb;
  border: 1px solid #cfe0f3;
  display: grid;
  place-items: center;
  margin-bottom: 0.45rem;
}

.step-icon svg {
  width: 1.2rem;
  height: 1.2rem;
  stroke: var(--accent);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefits-grid .card {
  min-height: 100%;
}

.faq-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 0.75rem 0.9rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy-900);
}

.faq-list p {
  margin: 0.55rem 0 0;
  color: #2f425a;
}

.team-grid {
  grid-template-columns: 1fr;
}

.team-photo {
  margin: 1.15rem 0 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.team-photo img {
  width: 100%;
  height: clamp(220px, 36vw, 360px);
  object-fit: cover;
  object-position: center;
}

.team-photo figcaption {
  margin: 0;
  padding: 0.7rem 0.85rem;
  color: #2f425a;
  font-size: 0.95rem;
  border-top: 1px solid var(--border);
  background: #f7fbff;
}

.team-card .avatar {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.team-card .role {
  color: var(--accent);
  font-weight: 700;
  margin-top: 0.35rem;
}

.team-links {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
}

.team-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  padding: 0;
  border-radius: 0.6rem;
  border: 1px solid var(--border);
  background: #f8fbff;
  color: var(--navy-900);
}

.team-links a svg {
  width: 1.15rem;
  height: 1.15rem;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.team-links a:hover,
.team-links a:focus-visible {
  border-color: #9db6d5;
  background: #eef5ff;
}

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

.contact-block {
  display: grid;
  gap: 0.7rem;
}

.email-label {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-weight: 600;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.contact-list a {
  color: var(--navy-900);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.privacy p {
  margin: 0.75rem 0 0;
  color: #2d4059;
  max-width: 65ch;
}

.site-footer {
  background: var(--navy-980);
  color: #f3f8ff;
  padding: 1.25rem 0;
}

.footer-content {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
}

.footer-content p {
  margin: 0;
}

.footer-content a {
  color: #d7e7fb;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

:focus-visible {
  outline: 3px solid #2f6da8;
  outline-offset: 2px;
}

@media (min-width: 48rem) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
}

@media (min-width: 62rem) {
  body {
    padding-top: var(--header-h-desktop);
  }

  .nav-wrap {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.8rem 0;
  }

  .nav-toggle {
    display: none;
  }

  .primary-nav {
    max-height: none;
    overflow: visible;
    margin-left: 0.55rem;
  }

  .nav-list {
    flex-direction: row;
    padding: 0;
    gap: 0.2rem;
  }

  .lang-switch {
    margin-left: auto;
  }

  .how-stage {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 1rem;
  }

  .how-visual img {
    height: clamp(260px, 31vw, 360px);
  }

  .steps-grid {
    grid-template-columns: 1fr;
    margin-top: 0;
    gap: 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
