/* Brand tokens. Individual pages opt into the OnCall theme. */
:root {
  --accent: #b0d061;
  --accent-soft: #f3f7e9;
  --link-hover: #4b6525;
}
.theme-oncall {
  --accent: #1e88e5;
  --accent-soft: #eff6ff;
  --link-hover: #3949ab;
}

/* Shared typography, navigation, forms, footer logos, and breakpoints. */

body {
  margin: 0;
  font-family: "Roboto", system-ui, sans-serif;
  background: #ffffff;
  color: #212121;
  -webkit-font-smoothing: antialiased;
}
a {
  color: #212121;
  text-decoration: none;
}
a:hover {
  color: var(--link-hover);
}
h1,
h2,
h3,
p {
  margin: 0;
}
input,
select,
textarea,
button {
  font-family: inherit;
}

body {
  background: #ffffff;
}
.row > * {
  min-width: 0;
}
.hamb {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: #212121;
}
.mmenu {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 96px;
  z-index: 40;
  background: #ffffff;
  border: 1px solid #e6e8ec;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.16);
  padding: 8px 20px 20px;
  flex-direction: column;
}
.mmenu a {
  padding: 14px 0;
  font-size: 17px;
  font-weight: 700;
  border-bottom: 1px solid #e6e8ec;
}
.mmenu a.cta {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 16px;
  background: var(--accent);
  color: #ffffff;
  border: none;
}
.draft {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: #212121;
}
.draft pre {
  margin: 0;
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
}
.draft .actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.draft a,
.draft button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  border: 1px solid #212121;
  background: #212121;
  color: #ffffff;
  cursor: pointer;
  font-family: inherit;
}
.draft button {
  background: #ffffff;
  color: #212121;
}
article.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 24px 72px;
  font-size: 16px;
  line-height: 1.65;
  color: #212121;
}
article.legal h1 {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
article.legal h2 {
  font-size: 22px;
  font-weight: 900;
  margin: 32px 0 10px;
}
article.legal p {
  margin: 0 0 14px;
}
article.legal ul,
article.legal ol {
  margin: 0 0 14px 22px;
  padding: 0;
}
article.legal li {
  margin: 0 0 6px;
}
article.legal .meta {
  color: #5f6368;
  font-size: 14px;
  margin-bottom: 28px;
}
@media (max-width: 1279px) {
  section,
  footer {
    padding-left: 40px !important;
    padding-right: 40px !important;
  }
  .navwrap {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  .navwrap nav {
    padding: 0 24px !important;
  }
  .navlinks {
    gap: 24px !important;
  }
  .row {
    flex-wrap: wrap;
  }
  .plans > * {
    flex: 1 1 180px !important;
  }
  .products-panel {
    width: min(720px, calc(100vw - 48px)) !important;
  }
}
@media (max-width: 900px) {
  section,
  footer {
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-top: 40px !important;
    padding-bottom: 40px !important;
    min-height: 0 !important;
  }
  .navwrap {
    padding: 12px 16px 0 !important;
    min-height: 0 !important;
    height: auto !important;
  }
  .navwrap nav {
    padding: 0 16px !important;
    height: 64px !important;
  }
  .navwrap nav .brand {
    font-size: 22px !important;
  }
  .navlinks {
    display: none !important;
  }
  .navcta {
    display: none !important;
  }
  .hamb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .row {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .row > * {
    max-width: none !important;
    flex: none !important;
  }
  .row > img {
    width: 100% !important;
    height: auto !important;
    flex: none !important;
  }
  input,
  select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .draft {
    overflow-wrap: anywhere;
  }
  .tabs {
    flex-direction: row !important;
    flex-wrap: wrap;
  }
  .tabs > button {
    padding: 0 14px !important;
    font-size: 14px !important;
    min-height: 42px !important;
  }
  .grid {
    grid-template-columns: 1fr !important;
  }
  h1 {
    font-size: 38px !important;
  }
  h2 {
    font-size: 30px !important;
  }
  blockquote {
    font-size: 26px !important;
    line-height: 1.25 !important;
  }
  .stat-n {
    font-size: 34px !important;
  }
  .products-panel {
    left: 16px !important;
    right: 16px !important;
    width: auto !important;
    transform: none !important;
    flex-direction: column !important;
    top: 84px !important;
  }
  img {
    max-width: 100% !important;
    height: auto !important;
  }
  .strip {
    height: auto !important;
    min-height: 44px;
    padding: 8px 16px !important;
    flex-wrap: wrap;
  }
  .row.fixedh {
    height: auto !important;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 1;
}
.brand img {
  display: block;
  width: 220px;
  height: auto;
}
.brand--oncall img {
  width: 148px;
}
@media (max-width: 900px) {
  .brand img {
    width: 154px;
  }
  .brand--oncall img {
    width: 110px;
  }
  .navwrap nav > div:last-child {
    gap: 12px !important;
  }
}
@media (max-width: 360px) {
  .brand img {
    width: 126px;
  }
  .brand--oncall img {
    width: 100px;
  }
  .navwrap nav > div:last-child {
    gap: 8px !important;
  }
}

/* Interaction states are controlled by main.js, never inline styles. */
[hidden] {
  display: none !important;
}
[data-panel]:not([hidden]),
[data-pane]:not([hidden]) {
  display: block !important;
}
[data-panel="menu"]:not([hidden]) {
  display: flex !important;
}
.draft.is-visible {
  display: flex;
}
[data-tab] {
  background: #ffffff !important;
  color: #212121 !important;
  border: 1px solid #c9ced6 !important;
}
[data-tab].is-active {
  background: #212121 !important;
  color: #ffffff !important;
  border-color: #212121 !important;
}
