:root {
  --background: #ffffff;
  --foreground: #051b4d;
  --muted: #516079;
  --border: #d9e0eb;
  --card: #ffffff;
  --primary: #0f49b8;
  --primary-dark: #0b3f9d;
  --accent: #078c9a;
  --soft: #e9eef9;
  --shadow: 0 1px 3px rgba(5, 27, 77, 0.08);
  --shadow-lg: 0 6px 10px rgba(70, 76, 88, 0.38);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }
button, input, textarea { font-family: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--foreground);
  background: var(--background);
  font-size: 13.6px;
}

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

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

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(100% - 48px, 1280px);
  margin: 0 auto;
}

.container-narrow {
  width: min(100% - 48px, 1024px);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.nav-row {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0;
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.nav a { transition: color 160ms ease; }
.nav a:hover, .nav a.active { color: var(--primary); }

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 56px;
  flex: 0 0 auto;
}

.language-button {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 15.3px;
  filter: none;
  opacity: 1;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
}

.language-button.active {
  border-color: transparent;
  background: transparent;
  filter: none;
  opacity: 1;
  box-shadow: none;
}

.language-button img {
  width: 27px;
  height: 27px;
  border-radius: 999px;
  object-fit: cover;
}

.btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0 28px;
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
  box-shadow: var(--shadow);
  cursor: pointer;
}

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

.btn-primary:hover { background: var(--primary-dark); color: #fff; }

.btn-pill {
  min-height: 36px;
  border-radius: 999px;
  padding: 0 27px;
  font-size: 11.05px;
}

.btn-pill.btn-primary:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-large {
  min-height: 60px;
  border-radius: 999px;
  padding: 0 35px;
  font-size: 15.3px;
}

.btn-outline {
  min-height: 60px;
  border-radius: 999px;
  padding: 0 35px;
  background: #fff;
  border-color: var(--border);
  color: #020817;
  font-size: 15.3px;
}

.btn-white {
  background: #fff;
  color: #0b3f9d;
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--foreground);
}

.main { flex: 1; }

.hero {
  min-height: auto;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
  padding: 44px 0 72px;
}

.hero-copy { max-width: 660px; }

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

.display {
  margin-bottom: 24px;
  font-size: clamp(32px, 3.25vw, 47px);
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 900;
}

.page-title {
  margin: 0 0 24px;
  font-size: clamp(30px, 3.1vw, 42px);
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 900;
}

.lead {
  margin-bottom: 42px;
  color: var(--muted);
  font-size: 18.7px;
  line-height: 1.55;
}

.hero-list {
  display: grid;
  gap: 22px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--foreground);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.4;
}

.check-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--primary);
}

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

.hero-media {
  position: relative;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 48px;
  background: linear-gradient(35deg, rgba(15, 73, 184, .18), rgba(7, 140, 154, .14));
  filter: blur(28px);
  transform: rotate(3deg) scale(1.05);
  opacity: .45;
}

.hero-media img {
  position: relative;
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 48px;
  box-shadow: 0 25px 60px rgba(5, 27, 77, .18);
}

.page-hero {
  padding: 126px 0 72px;
  text-align: center;
}

.page-hero.compact { padding: 72px 0 24px; }

.page-subtitle {
  margin: 0 auto;
  max-width: 720px;
  color: var(--muted);
  font-size: 20.4px;
  line-height: 1.5;
}

.section-late { padding: 58px 0 116px; }

.section-tight { padding: 18px 0 88px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.feature-grid-tight {
  gap: 22px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.feature-card {
  min-height: 280px;
  padding: 36px;
}

.feature-card-tight {
  min-height: 232px;
  padding: 26px 28px 24px;
}

.icon-box {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--primary);
  background: var(--soft);
  border-radius: 16px;
}

.feature-card-tight .icon-box {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
}

.feature-card h2 {
  margin-bottom: 20px;
  font-size: 22.95px;
  line-height: 1.2;
  font-weight: 900;
}

.feature-card-tight h2 {
  margin-bottom: 14px;
  font-size: 20.4px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16.15px;
  line-height: 1.55;
}

.feature-card-tight p {
  font-size: 15.3px;
  line-height: 1.5;
}

.compliance-badge {
  width: 92px;
  height: 92px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 42px;
  color: var(--primary);
  background: var(--soft);
  border-radius: 999px;
}

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

.compliance-card {
  min-height: 168px;
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.compliance-card svg {
  color: var(--primary);
  margin-bottom: 24px;
}

.compliance-card h2 {
  margin: 0;
  font-size: 21.25px;
  line-height: 1.25;
  font-weight: 900;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}

.testimonial-card {
  min-height: 250px;
  padding: 42px;
}

.quote {
  margin-bottom: 30px;
  color: var(--foreground);
  font-size: 17px;
  font-style: italic;
  line-height: 1.65;
}

.person {
  margin: 0 0 6px;
  font-size: 15.3px;
  font-weight: 900;
}

.role {
  margin: 0;
  color: var(--muted);
  font-size: 15.3px;
}

.pricing-hero {
  padding: 96px 0 106px;
  text-align: center;
}

.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 45px 0 70px;
  color: var(--muted);
  font-size: 11.9px;
  font-weight: 800;
}

.billing-toggle .active { color: var(--foreground); }

.discount-inline {
  margin-left: 4px;
  color: var(--primary);
  font-weight: 950;
}

.switch {
  width: 56px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  cursor: pointer;
}

.knob {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #fff;
  transition: transform 180ms ease;
}

.yearly-pricing .knob { transform: translateX(28px); }

.pricing-grid {
  display: grid;
  width: min(100%, 972px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  grid-auto-rows: 1fr;
  gap: 32px;
  margin: 0 auto;
}

.pricing-grid.secondary {
  width: min(100%, 1080px);
}

.price-card {
  min-height: 558px;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 31px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: transform 180ms ease;
  transform-origin: center center;
}

.price-card:hover {
  transform: scale(1.015);
}

.price-card.highlight {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  text-shadow: 0 1px 1px rgba(5, 27, 77, .45);
}

.price-card.custom-card {
  color: #fff;
  border-color: #0b3f9d;
  background:
    linear-gradient(170deg, #0b3f9d 0%, #0a347f 58%, #0d4fa5 72%, #078c9a 100%);
  box-shadow: var(--shadow-lg);
  text-shadow: 0 1px 1px rgba(5, 27, 77, .5);
}

.price-card.custom-card .price-desc,
.price-card.custom-card .price-note,
.price-card.custom-card .price-list span {
  color: #fff;
  text-shadow: 0 1px 0 rgba(5, 27, 77, .32);
}

.price-card.custom-card .price,
.price-card.custom-card h2 {
  color: #fff;
}

.price-card.custom-card .price-list svg {
  color: #f8d84a;
}

.price-card.custom-card .btn-primary {
  background: #fff;
  color: #0b3f9d;
}

.price-card .btn,
.price-card .btn-white,
.price-card .btn-primary {
  text-shadow: none;
}

.price-card h2 {
  margin: 0 0 12px;
  font-size: 22.95px;
  font-weight: 900;
}

.price-block {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.price-desc {
  min-height: 43px;
  margin-bottom: 38px;
  color: var(--muted);
  font-size: 12.75px;
  line-height: 1.45;
}

.highlight .price-desc,
.highlight .price-note,
.highlight .price-list span {
  color: #fff;
  text-shadow: 0 1px 0 rgba(5, 27, 77, .32);
}

.price {
  margin: 0;
  font-size: 32.3px;
  line-height: 1;
  font-weight: 950;
  text-align: center;
}

.price-card:not(.highlight):not(.custom-card) .price { color: #020817; }

.price-note {
  margin: 0;
  color: var(--muted);
  font-size: 11.9px;
}

.overage {
  min-height: 20px;
  margin: 0 0 26px;
  color: var(--primary-dark);
  font-size: 13.6px;
  line-height: 1.45;
  font-weight: 900;
}

.highlight .overage,
.custom-card .overage {
  color: #fff;
}

.price-list {
  flex: 1;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  margin: 0 0 34px;
  padding: 0;
  text-align: left;
  list-style: none;
  width: 100%;
}

.price-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  width: min(100%, 300px);
}

.price-list svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--primary);
}

.highlight .price-list svg { color: #f8d84a; }

.price-list span {
  color: var(--muted);
  font-size: 13.6px;
  font-weight: 650;
  line-height: 1.5;
}

.simple-page {
  padding: 100px 0 120px;
}

.simple-page .card {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 42px;
}

.simple-page h1 {
  margin-bottom: 18px;
  font-size: 37.4px;
  line-height: 1.1;
}

.simple-page p {
  color: var(--muted);
  font-size: 15.3px;
  line-height: 1.7;
}

.footer {
  border-top: 1px solid var(--border);
  background: var(--card);
}

.footer-inner {
  padding: 56px 0 42px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 90px;
  margin-bottom: 38px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  font-size: 19.55px;
  font-weight: 850;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.footer p,
.footer a {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.footer .footer-brand { color: var(--foreground); font-size: 19.55px; }

.footer-copy {
  max-width: 390px;
  margin-bottom: 26px;
}

.lang {
  display: flex;
  gap: 12px;
  font-size: 18.7px;
  font-weight: 700;
}

.lang span:last-child { color: #7d8798; }

.footer h2 {
  margin: 0 0 20px;
  font-size: 16px;
  font-weight: 900;
}

.footer ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.copyright {
  padding-top: 34px;
  border-top: 1px solid var(--border);
}

.chat { display: none; }

.modal-open { overflow: hidden; }

.contact-modal[hidden] { display: none; }

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 27, 77, .46);
}

.contact-modal__panel {
  position: relative;
  width: min(100%, 560px);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 26px 80px rgba(5, 27, 77, .28);
}

.contact-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--foreground);
  cursor: pointer;
}

.contact-modal h2 {
  margin: 0 48px 24px 0;
  font-size: 25.5px;
  line-height: 1.15;
}

.contact-form {
  display: grid;
  gap: 15px;
}

.contact-form[hidden],
.captcha-gate[hidden] { display: none; }

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--foreground);
  font-size: 11.9px;
  font-weight: 800;
}

.contact-notice { color: var(--muted); line-height: 1.5; }
.contact-status { line-height: 1.5; }
.contact-status:empty { display: none; }
.contact-retry { min-height: 40px; margin: 12px 0; }
.contact-form button:disabled { cursor: wait; opacity: .65; }
.captcha-gate { width: 100%; min-width: 0; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--foreground);
  font: inherit;
}

.contact-recipient { min-width: 0; }
.contact-recipient__label { display: block; margin-bottom: 7px; font-size: 11.9px; font-weight: 800; }
.contact-recipient__row { display: flex; align-items: center; gap: 8px; }
.contact-recipient__row img { display: block; width: min(100%, 300px); height: auto; min-width: 0; }
.contact-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--primary);
  cursor: pointer;
}
.contact-copy:hover { background: #f0f5fc; }
.contact-copy:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.contact-copy-feedback { display: block; font-size: 13px; line-height: 1.5; }
.contact-copy-feedback:empty { display: none; }
.contact-copy-source { position: fixed; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; }
.contact-fallback[hidden] { display: none; }

.contact-form textarea { resize: vertical; }

.bot-field {
  position: absolute;
  left: -10000px;
  width: 1px !important;
  height: 1px;
  opacity: 0;
}

.form-error {
  min-height: 20px;
  margin: 0;
  color: #b42318;
  font-size: 11.9px;
  font-weight: 700;
}

.captcha-gate {
  display: flex;
  justify-content: center;
  padding: 20px 0 28px;
}

.recaptcha-box {
  width: min(100%, 360px);
  min-height: 86px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #f9fafb;
  color: var(--foreground);
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.recaptcha-check {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #8b95a7;
  border-radius: 3px;
  background: #fff;
}

.recaptcha-box.verified .recaptcha-check {
  border-color: var(--primary);
  background: var(--primary);
}

.recaptcha-box.verified .recaptcha-check::after {
  content: "";
  width: 14px;
  height: 8px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}

.recaptcha-brand {
  color: #7d8798;
  font-size: 10.2px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .container, .container-narrow { width: min(100% - 32px, 1280px); }

  .nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 80px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
  }

  .nav.open { display: flex; }
  .nav a { padding: 13px 14px; }
  .language-switch { margin-left: auto; padding: 10px 12px; }
  .nav .btn { margin-top: 8px; width: 100%; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .hero-grid {
    grid-template-columns: 1fr;
    padding: 40px 0 64px;
  }

  .hero-media { display: none; }
  .display { font-size: 32px; }
  .page-title { font-size: 30px; }
  .feature-grid, .testimonial-grid, .pricing-grid, .pricing-grid.secondary { grid-template-columns: 1fr; }
  .compliance-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  .nav-row { flex-wrap: wrap; height: auto; min-height: 80px; padding: 12px 0; gap: 8px; }
  .brand { gap: 8px; }
  .brand img { width: 28px; height: 28px; }
  .language-switch { padding: 0; gap: 2px; }
  .language-button { width: 30px; height: 34px; }
  .menu-toggle { width: 34px; flex-shrink: 0; }
  .nav { top: 100%; }
  .contact-modal { padding: 12px; }
  .contact-modal__panel { padding: 24px 18px; max-height: calc(100dvh - 24px); }
  .contact-form input, .contact-form textarea { font-size: 16px; }
  .simple-page { padding: 40px 16px 64px; }
  .brand { font-size: 17px; }
  .display { font-size: 30px; }
  .page-title { font-size: 28px; }
  .lead, .page-subtitle { font-size: 16.15px; }
  .hero-actions .btn { width: 100%; }
  .feature-card, .testimonial-card, .price-card, .simple-page .card { padding: 26px; }
  .billing-toggle { flex-wrap: wrap; }
  .chat { display: none; }
}

@media (min-width: 981px) and (max-width: 1200px) {
  .nav { gap: 15px; }
  .language-switch { margin-left: 20px; }
  .brand { font-size: 19px; gap: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .price-card:hover { transform: none; }
}
