/* Public service, privacy and terms pages. Shared tokens live in webis-v2.css. */

.we-v2-static-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.we-v2-static-head > div {
  min-width: 0;
}

.we-v2-static-head__updated {
  min-height: 38px;
  margin: 0;
  padding: 9px 11px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  border: 1px solid var(--we-v2-line);
  border-radius: var(--we-v2-radius-sm);
  background: var(--we-v2-surface);
  color: var(--we-v2-muted);
  font-size: 11px;
  font-weight: 600;
}

.we-v2-static-head__updated > span {
  width: 16px;
  height: 16px;
  color: var(--we-v2-primary);
}

.we-v2-static-hero {
  min-height: 150px;
  margin-top: 10px;
  padding: 26px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--we-v2-primary-line);
  border-radius: var(--we-v2-radius-lg);
  background: linear-gradient(135deg, var(--we-v2-surface-blue), var(--we-v2-surface));
  box-shadow: var(--we-v2-shadow);
}

.we-v2-static-hero__icon {
  width: 54px;
  height: 54px;
  padding: 14px;
  border-radius: var(--we-v2-radius-md);
  background: var(--we-v2-surface);
  color: var(--we-v2-primary);
  box-shadow: var(--we-v2-shadow);
}

.we-v2-static-hero > div {
  min-width: 0;
}

.we-v2-static-hero p {
  margin: 0;
  color: var(--we-v2-primary);
  font-size: 11px;
  font-weight: 700;
}

.we-v2-static-hero h2 {
  margin: 3px 0 0;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -.03em;
}

.we-v2-static-hero div > span {
  max-width: 760px;
  margin-top: 6px;
  display: block;
  color: var(--we-v2-text-soft);
  font-size: 14px;
  line-height: 1.65;
}

.we-v2-static-hero > a {
  min-height: 44px;
  padding-inline: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--we-v2-radius-sm);
  background: var(--we-v2-primary);
  color: var(--we-v2-surface);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.we-v2-static-highlights {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.we-v2-static-highlights article {
  min-width: 0;
  min-height: 124px;
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--we-v2-line);
  border-radius: var(--we-v2-radius-md);
  background: var(--we-v2-surface);
}

.we-v2-static-highlights article > span {
  width: 34px;
  height: 34px;
  padding: 8px;
  flex: 0 0 auto;
  border-radius: var(--we-v2-radius-sm);
  background: var(--we-v2-primary-soft);
  color: var(--we-v2-primary);
}

.we-v2-static-highlights article > div {
  min-width: 0;
}

.we-v2-static-highlights h2 {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
}

.we-v2-static-highlights p {
  margin: 5px 0 0;
  color: var(--we-v2-muted);
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.we-v2-static-layout {
  margin-top: 48px;
}

.we-v2-static-section {
  scroll-margin-top: 96px;
}

.we-v2-static-copy {
  max-width: 76ch;
  margin-top: 18px;
  color: var(--we-v2-text-soft);
  font-size: 14px;
  line-height: 1.8;
}

.we-v2-static-copy p {
  margin: 0;
}

.we-v2-static-copy p + p {
  margin-top: 12px;
}

.we-v2-static-steps {
  margin: 20px 0 0;
  padding: 0;
  border-top: 1px solid var(--we-v2-line);
  list-style: none;
}

.we-v2-static-steps li {
  padding-block: 20px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  border-bottom: 1px solid var(--we-v2-line);
}

.we-v2-static-steps li > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--we-v2-primary-soft);
  color: var(--we-v2-primary);
  font-size: 11px;
  font-weight: 700;
}

.we-v2-static-steps h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
}

.we-v2-static-steps p {
  margin: 5px 0 0;
  color: var(--we-v2-muted);
  font-size: 13px;
  line-height: 1.7;
}

.we-v2-static-card-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.we-v2-static-card-grid article {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--we-v2-line);
  border-radius: var(--we-v2-radius-md);
  background: var(--we-v2-surface);
}

.we-v2-static-card-grid article > span {
  color: var(--we-v2-primary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
}

.we-v2-static-card-grid h3 {
  margin: 4px 0 0;
  font-size: 16px;
  line-height: 1.45;
}

.we-v2-static-card-grid p {
  margin: 7px 0 0;
  color: var(--we-v2-muted);
  font-size: 13px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.we-v2-static-list {
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

.we-v2-static-list li {
  min-height: 46px;
  padding: 11px 13px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  border: 1px solid var(--we-v2-line);
  border-radius: var(--we-v2-radius-sm);
  background: var(--we-v2-surface);
  color: var(--we-v2-text-soft);
  font-size: 13px;
  line-height: 1.65;
}

.we-v2-static-list li > span {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  flex: 0 0 auto;
  color: var(--we-v2-success);
}

.we-v2-static-nav > a:not(.we-v2-related__all) {
  min-height: 64px;
  align-items: center;
}

.we-v2-static-nav > a:not(.we-v2-related__all) > span {
  width: 19px;
  height: 19px;
}

.we-v2-static-cta {
  margin-top: 50px;
  padding: 22px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--we-v2-primary-line);
  border-radius: var(--we-v2-radius-md);
  background: var(--we-v2-surface-blue);
}

.we-v2-static-cta > span {
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: var(--we-v2-radius-sm);
  background: var(--we-v2-surface);
  color: var(--we-v2-primary);
}

.we-v2-static-cta > div:not(.we-v2-static-cta__actions) {
  min-width: 0;
}

.we-v2-static-cta p {
  margin: 0;
  color: var(--we-v2-primary);
  font-size: 11px;
  font-weight: 700;
}

.we-v2-static-cta h2 {
  margin: 2px 0 0;
  font-size: 19px;
  line-height: 1.4;
}

.we-v2-static-cta div > span {
  display: block;
  margin-top: 4px;
  color: var(--we-v2-muted);
  font-size: 12px;
  line-height: 1.6;
}

.we-v2-static-cta__actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.we-v2-static-cta__actions a {
  min-height: 44px;
  padding-inline: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--we-v2-primary);
  border-radius: var(--we-v2-radius-sm);
  background: var(--we-v2-primary);
  color: var(--we-v2-surface);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.we-v2-static-cta__actions a.is-secondary {
  border-color: var(--we-v2-line);
  background: var(--we-v2-surface);
  color: var(--we-v2-primary);
}

@media (max-width: 900px) {
  .we-v2-static-highlights {
    grid-template-columns: 1fr;
  }

  .we-v2-static-highlights article {
    min-height: auto;
  }

  .we-v2-static-cta {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .we-v2-static-cta__actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .we-v2-static-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .we-v2-static-hero {
    padding: 21px;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: start;
  }

  .we-v2-static-hero__icon {
    width: 44px;
    height: 44px;
    padding: 11px;
  }

  .we-v2-static-hero h2 {
    font-size: 21px;
  }

  .we-v2-static-hero > a {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .we-v2-static-highlights article,
  .we-v2-static-card-grid article {
    padding: 17px;
  }

  .we-v2-static-layout {
    margin-top: 40px;
  }

  .we-v2-static-card-grid {
    grid-template-columns: 1fr;
  }

  .we-v2-static-steps li {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 11px;
  }

  .we-v2-static-cta {
    padding: 20px;
  }

  .we-v2-static-cta__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .we-v2-static-cta__actions a {
    width: 100%;
  }
}
