@font-face {
  font-family: "DM Sans";
  src: url("/static/assets/fonts/DMSans-Regular.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/static/assets/fonts/DMSans-Bold.ttf") format("truetype");
  font-weight: 800 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --fr-ink: #061237;
  --fr-text: #344054;
  --fr-muted: #667085;
  --fr-line: #e4e7ec;
  --fr-blue: #1355ff;
  --fr-blue-dark: #0b3ec7;
  --fr-blue-soft: #eef4ff;
  --fr-mint: #12b76a;
  --fr-paper: #f7f9fc;
}

body {
  background: var(--fr-paper);
  color: var(--fr-ink);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.fr-site-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  border-bottom: 1px solid rgba(228, 231, 236, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.fr-navbar {
  min-height: 76px;
  padding: 0;
}

.fr-nav-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0;
}

.fr-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--fr-ink);
  text-decoration: none;
}

.fr-brand img {
  display: block;
  width: 190px;
  height: auto;
}

.fr-brand-context {
  max-width: 120px;
  padding-left: 14px;
  border-left: 1px solid var(--fr-line);
  color: var(--fr-muted);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
}

.fr-nav-links {
  align-items: center;
  gap: 3px;
}

.fr-nav-links .nav-link {
  border-radius: 9px;
  color: #344054 !important;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 12px !important;
}

.fr-nav-links .nav-link:hover {
  background: #f2f4f7;
  color: var(--fr-ink) !important;
}

.fr-nav-links .nav-link.active {
  background: var(--fr-blue-soft);
  color: var(--fr-blue) !important;
}

.fr-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  padding: 0 17px;
  background: var(--fr-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 7px 18px rgba(19, 85, 255, 0.18);
}

.fr-nav-cta:hover {
  background: var(--fr-blue-dark);
  color: #fff;
}

.fr-contact {
  width: min(1180px, calc(100% - 32px));
  margin: 70px auto 22px;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid #d9e2ff;
  border-radius: 24px;
  background:
    radial-gradient(circle at 10% 10%, rgba(74, 222, 128, 0.14), transparent 30%),
    linear-gradient(135deg, #eef4ff 0%, #f5f2ff 58%, #effcff 100%);
}

.fr-contact-kicker,
.fr-footer-kicker {
  margin-bottom: 9px;
  color: var(--fr-blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fr-contact h2 {
  max-width: 520px;
  margin: 0;
  color: var(--fr-ink);
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.fr-contact-copy {
  max-width: 500px;
  margin-top: 13px;
  color: var(--fr-muted);
  font-size: 14px;
  line-height: 1.65;
}

.fr-contact-form {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 45px rgba(16, 24, 40, 0.07);
}

.fr-contact-form .form-control {
  min-height: 48px;
  border-color: #d0d5dd;
  border-radius: 10px;
  background: #fff;
  color: var(--fr-ink);
  font-size: 14px;
}

.fr-contact-form textarea.form-control {
  min-height: 120px;
}

.fr-contact-form .form-control:focus {
  border-color: var(--fr-blue);
  box-shadow: 0 0 0 4px rgba(19, 85, 255, 0.1);
}

.fr-submit {
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  background: var(--fr-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.fr-site-footer {
  margin-top: 22px;
  padding: 54px 0 30px;
  border-top: 1px solid var(--fr-line);
  background: #fff;
}

.fr-footer-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.fr-footer-brand img {
  width: 190px;
  height: auto;
}

.fr-footer-statement {
  max-width: 420px;
  margin: 18px 0 22px;
  color: var(--fr-text);
  font-size: 15px;
  line-height: 1.6;
}

.fr-footer-title {
  margin-bottom: 13px;
  color: var(--fr-ink);
  font-size: 12px;
  font-weight: 900;
}

.fr-footer-links {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fr-footer-links a {
  color: var(--fr-muted);
  font-size: 12px;
  text-decoration: none;
}

.fr-footer-links a:hover {
  color: var(--fr-blue);
}

.fr-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--fr-line);
  color: #98a2b3;
  font-size: 11px;
}

.fr-social-links {
  display: flex;
  gap: 12px;
}

.fr-social-links img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

@media (max-width: 991.98px) {
  .fr-navbar {
    min-height: 68px;
  }

  .fr-brand img {
    width: 160px;
  }

  .fr-brand-context {
    display: none;
  }

  .fr-navbar .navbar-collapse {
    margin: 10px 0 16px;
    padding: 14px;
    border: 1px solid var(--fr-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 20px 40px rgba(16, 24, 40, 0.1);
  }

  .fr-nav-links {
    align-items: stretch;
  }

  .fr-nav-cta {
    width: 100%;
    margin-top: 10px;
  }
}

@media (max-width: 575.98px) {
  .fr-nav-shell,
  .fr-contact,
  .fr-footer-shell {
    width: min(100% - 24px, 1180px);
  }

  .fr-contact {
    margin-top: 48px;
    padding: 24px 18px;
    border-radius: 18px;
  }

  .fr-contact-form {
    padding: 14px;
  }

  .fr-site-footer {
    padding-top: 40px;
  }
}
