/* App privacy and support site
   Colors, type, and layout only. No web fonts, images, or third-party assets. */

:root {
  --bg: #F7F9F8;
  --text: #18221D;
  --muted: #657069;
  --line: #DEE5E0;
  --header-line: #E4E8E5;
  --green: #237A4B;
  --green-pressed: #1B633C;
  --nav-width: 1040px;
  --doc-width: 880px;
}

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

html {
  background-color: var(--bg);
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
}

main {
  flex: 1 0 auto;
}

h1,
h2,
p,
ul,
address {
  margin: 0;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

button {
  font-family: inherit;
}

/* Header */

.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--header-line);
}

.header-inner {
  max-width: var(--nav-width);
  height: 72px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 16px;
}

.brand {
  justify-self: start;
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  max-width: 42vw;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 6px 0 8px;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--green);
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-color: var(--green);
}

.lang {
  position: relative;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.lang-label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.lang-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}

.lang-button .chevron {
  color: var(--muted);
  flex: none;
}

.lang-button[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 2;
  min-width: 100%;
  margin: 0;
  padding: 4px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.lang-menu[hidden] {
  display: none;
}

.lang-option {
  display: block;
  width: 100%;
  margin: 0;
  padding: 8px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  line-height: 1.3;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}

.lang-option[aria-selected="true"] {
  color: var(--green);
  font-weight: 600;
}

.lang-option:hover {
  background: #F7F9F8;
}

/* Document */

.doc {
  width: min(var(--doc-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 96px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.doc h1 {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 54px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.meta {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.lede {
  margin: 0;
}

.section {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.section p,
.section address {
  margin: 0 0 16px;
}

.section p:last-child,
.section address:last-child,
.section .button:last-child {
  margin-bottom: 0;
}

.section ul {
  margin: 2px 0 16px;
  padding-left: 1.25rem;
}

.section li {
  margin: 6px 0;
  padding-left: 2px;
}

.section li:last-child {
  margin-bottom: 0;
}

address {
  font-style: normal;
}

.contact-list {
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.contact-row {
  display: grid;
  grid-template-columns: minmax(9.5rem, 220px) minmax(0, 1fr);
  column-gap: 32px;
  align-items: baseline;
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-row dt,
.contact-row dd {
  margin: 0;
}

.contact-row dt {
  color: var(--text);
  font-weight: 400;
}

.contact-row dd {
  min-width: 0;
  color: var(--text);
  overflow-wrap: anywhere;
}

.doc a.text-link,
.doc a.text-link:hover {
  color: var(--text);
  text-decoration: none;
}

.doc a {
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.doc a:hover {
  text-decoration-thickness: 2px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 20px;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--green);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

a.button,
a.button:hover {
  color: #ffffff;
  text-decoration: none;
}

.button:hover {
  background: var(--green-pressed);
}

.button:active {
  background: #185735;
}

.brand:focus-visible,
.nav-link:focus-visible,
.lang-button:focus-visible,
.lang-option:focus-visible,
.doc a:focus-visible,
.button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: min(var(--doc-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 36px;
}

.site-footer p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Index fallback, shown only if the redirect does not run */

.redirect {
  padding-top: 88px;
}

/* Small screens */

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .header-inner {
    height: auto;
    padding: 14px 20px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 12px;
    row-gap: 2px;
  }

  .brand {
    margin-right: auto;
    font-size: 16px;
  }

  .site-nav {
    order: 3;
    flex: 1 0 100%;
    justify-content: flex-start;
    gap: 22px;
  }

  .nav-link {
    padding: 12px 2px 14px;
    font-size: 16px;
  }

  .doc {
    width: auto;
    padding: 40px 20px 72px;
  }

  .doc h1 {
    font-size: 38px;
    letter-spacing: -0.025em;
  }

  .meta {
    font-size: 15px;
    margin-bottom: 22px;
  }

  .section {
    margin-top: 32px;
    padding-top: 32px;
  }

  .section h2 {
    font-size: 21px;
  }

  .contact-row {
    grid-template-columns: minmax(7.25rem, 42%) minmax(0, 1fr);
    column-gap: 16px;
    padding: 14px 0;
  }

  .footer-inner {
    width: auto;
    padding: 24px 20px 32px;
  }

  .redirect {
    padding-top: 48px;
  }
}

@media (max-width: 400px) {
  .lang-button {
    padding: 8px 10px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lang-button[aria-expanded="true"] .chevron {
    transform: none;
  }
}
