:root {
  color-scheme: light dark;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

.ufox-static {
  min-height: 100vh;
  box-sizing: border-box;
  background: #fff;
  color: #181a1d;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

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

.ufox-static a {
  color: inherit;
}

.ufox-static-skip-link {
  position: fixed;
  z-index: 10;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: #181a1d;
  padding: 9px 12px;
  color: #fff;
  font:
    600 12px/1 Inter,
    sans-serif;
  text-decoration: none;
}

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

.ufox-static-header {
  display: flex;
  width: min(1040px, calc(100% - 40px));
  height: 72px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e2e4e7;
}

.ufox-static-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: inherit;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.ufox-static-logo {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 4px 7px rgba(0, 0, 0, 0.14));
}

.ufox-static-language {
  color: #51565c;
  font-size: 13px;
  text-decoration: none;
}

.ufox-static-language:hover,
.ufox-static-brand:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ufox-static-main {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(64px, 10vh, 112px) 0 88px;
}

.ufox-static-kicker {
  display: block;
  color: #686e75;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
}

.ufox-static h1 {
  max-width: 720px;
  margin: 14px 0 16px;
  color: #181a1d;
  font-size: clamp(34px, 5.2vw, 58px);
  font-weight: 720;
  letter-spacing: -0.05em;
  line-height: 1.06;
}

.ufox-static-lead {
  max-width: 710px;
  margin: 0;
  color: #4d535a;
  font-size: 16px;
  line-height: 1.72;
}

.ufox-static-section,
.ufox-static-privacy {
  max-width: 820px;
  border-top: 1px solid #e2e4e7;
  padding: 29px 0 31px;
}

.ufox-static-capabilities {
  max-width: none;
  margin-top: 54px;
}

.ufox-static-section h2,
.ufox-static-privacy h2 {
  margin: 0 0 12px;
  color: #22262a;
  font-size: 16px;
  font-weight: 680;
  letter-spacing: -0.018em;
  line-height: 1.35;
}

.ufox-static-section p,
.ufox-static-privacy p {
  margin: 0 0 10px;
  color: #4d535a;
  font-size: 14px;
  line-height: 1.72;
}

.ufox-static-section p:last-of-type,
.ufox-static-privacy p:last-child {
  margin-bottom: 0;
}

.ufox-static-section ul {
  display: grid;
  margin: 17px 0 0;
  padding: 0;
  gap: 7px;
  list-style: none;
}

.ufox-static-section li {
  position: relative;
  padding-left: 15px;
  color: #4d535a;
  font-size: 14px;
  line-height: 1.55;
}

.ufox-static-section li::before {
  position: absolute;
  top: 0.62em;
  left: 1px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2674af;
  content: "";
}

.ufox-static-feature-grid,
.ufox-static-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ufox-static-feature-grid article {
  min-height: 136px;
  border: 1px solid #dfe2e5;
  border-radius: 14px;
  background: #fbfcfd;
  padding: 17px;
}

.ufox-static-feature-grid h3 {
  margin: 0 0 8px;
  color: #22262a;
  font-size: 13px;
  font-weight: 680;
  line-height: 1.35;
}

.ufox-static-feature-grid p {
  margin: 0;
  color: #4d535a;
  font-size: 12px;
  line-height: 1.58;
}

.ufox-static-privacy {
  position: relative;
  max-width: 820px;
  margin-top: 2px;
  border-bottom: 1px solid #e2e4e7;
  padding-left: 18px;
}

.ufox-static-privacy::before {
  position: absolute;
  top: 29px;
  bottom: 31px;
  left: 0;
  width: 2px;
  border-radius: 999px;
  background: #2674af;
  content: "";
}

.ufox-static-related {
  max-width: none;
  padding-bottom: 0;
}

.ufox-static-link {
  position: relative;
  display: flex;
  min-height: 118px;
  flex-direction: column;
  border: 1px solid #dfe2e5;
  border-radius: 14px;
  background: #fff;
  padding: 16px 40px 16px 17px;
  color: #22262a;
  text-decoration: none;
  transition:
    border-color 150ms ease,
    background 150ms ease,
    transform 150ms ease;
}

.ufox-static-link:hover {
  border-color: #c0c7cd;
  background: #f7f9fa;
  transform: translateY(-1px);
}

.ufox-static-link:focus-visible,
.ufox-static-language:focus-visible,
.ufox-static-brand:focus-visible {
  outline: 2px solid #2674af;
  outline-offset: 3px;
}

.ufox-static-link > span:first-child {
  font-size: 13px;
  font-weight: 680;
  line-height: 1.4;
}

.ufox-static-link small {
  display: block;
  margin-top: 7px;
  color: #5b6269;
  font-size: 11px;
  line-height: 1.5;
}

.ufox-static-link-arrow {
  position: absolute;
  top: 14px;
  right: 15px;
  color: #6d747b;
  font-size: 16px;
}

:root[data-theme="dark"] .ufox-static {
  background: #0d0f12;
  color: #f5f5f7;
}

:root[data-theme="dark"] .ufox-static-header,
:root[data-theme="dark"] .ufox-static-section,
:root[data-theme="dark"] .ufox-static-privacy {
  border-color: rgba(255, 255, 255, 0.11);
}

:root[data-theme="dark"] .ufox-static h1,
:root[data-theme="dark"] .ufox-static-section h2,
:root[data-theme="dark"] .ufox-static-privacy h2,
:root[data-theme="dark"] .ufox-static-feature-grid h3,
:root[data-theme="dark"] .ufox-static-link,
:root[data-theme="dark"] .ufox-static-brand {
  color: #f5f5f7;
}

:root[data-theme="dark"] .ufox-static-language,
:root[data-theme="dark"] .ufox-static-kicker,
:root[data-theme="dark"] .ufox-static-lead,
:root[data-theme="dark"] .ufox-static-section p,
:root[data-theme="dark"] .ufox-static-section li,
:root[data-theme="dark"] .ufox-static-privacy p,
:root[data-theme="dark"] .ufox-static-feature-grid p,
:root[data-theme="dark"] .ufox-static-link small,
:root[data-theme="dark"] .ufox-static-link-arrow {
  color: #aeb3bb;
}

:root[data-theme="dark"] .ufox-static-feature-grid article,
:root[data-theme="dark"] .ufox-static-link {
  border-color: rgba(255, 255, 255, 0.14);
  background: #17191d;
}

:root[data-theme="dark"] .ufox-static-link:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: #202329;
}

@media (max-width: 700px) {
  .ufox-static-header,
  .ufox-static-main {
    width: calc(100% - 24px);
  }

  .ufox-static-main {
    padding: 52px 0 64px;
  }

  .ufox-static h1 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .ufox-static-lead {
    font-size: 14px;
  }

  .ufox-static-capabilities {
    margin-top: 42px;
  }

  .ufox-static-feature-grid,
  .ufox-static-links {
    grid-template-columns: 1fr;
  }

  .ufox-static-feature-grid article,
  .ufox-static-link {
    min-height: 0;
  }

  .ufox-static-section,
  .ufox-static-privacy {
    padding: 24px 0 26px;
  }

  .ufox-static-privacy::before {
    top: 24px;
    bottom: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ufox-static-link {
    transition: none;
  }
}
