/* One header and footer across the consumer home, support, policies and download page. */
.site-container {
  width: min(100% - 112px, 1200px);
  margin-inline: auto;
}
.site-scroll-marker {
  display: block;
  width: 1px;
  height: 1px;
  margin-bottom: -1px;
  pointer-events: none;
}
.site-header {
  --header-width: min(100% - 112px, 1200px);
  --header-floating-width: min(100% - 128px, 1120px);
  --header-height: 90px;
  --header-floating-height: 64px;
  --header-floating-padding: 20px;
  --header-floating-logo: 88px;
  width: 100%;
  height: var(--header-height);
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 8;
  pointer-events: none;
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: var(--header-width);
  min-height: var(--header-height);
  padding-inline: 0;
  border: 1px solid transparent;
  border-bottom-color: var(--line);
  background: var(--paper);
  pointer-events: auto;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition:
    width 240ms ease,
    min-height 240ms ease,
    padding 240ms ease,
    transform 240ms ease,
    border-radius 240ms ease,
    background 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease;
}
.site-header[data-floating="true"] .site-header-inner {
  width: var(--header-floating-width);
  min-height: var(--header-floating-height);
  padding-inline: var(--header-floating-padding);
  transform: translateY(12px);
  border-radius: 22px;
  border-color: #dfd4c5b3;
  background: #f7f2e8ed;
  box-shadow: 0 8px 28px -14px #30272340;
}
.site-header[data-floating="true"] .site-logo img {
  width: var(--header-floating-logo);
}
.site-header[data-floating="true"] .site-open-app {
  background: var(--cocoa);
  color: var(--surface);
  border-color: var(--cocoa);
}
/* Native scroll timelines also keep the shared /download header free of scripts. */
@supports (animation-timeline: scroll(root block)) {
  .site-header-inner {
    animation: header-float linear both;
    animation-timeline: scroll(root block);
    animation-range: 0px 64px;
  }
  .site-logo img {
    animation: header-wordmark linear both;
    animation-timeline: scroll(root block);
    animation-range: 0px 64px;
  }
  .site-open-app {
    animation: header-action linear both;
    animation-timeline: scroll(root block);
    animation-range: 0px 64px;
  }
}
@keyframes header-float {
  to {
    width: var(--header-floating-width);
    min-height: var(--header-floating-height);
    padding-inline: var(--header-floating-padding);
    transform: translateY(12px);
    border-radius: 22px;
    border-color: #dfd4c5b3;
    background: #f7f2e8ed;
    box-shadow: 0 8px 28px -14px #30272340;
  }
}
@keyframes header-wordmark {
  to {
    width: var(--header-floating-logo);
  }
}
@keyframes header-action {
  to {
    background: var(--cocoa);
    color: var(--surface);
    border-color: var(--cocoa);
  }
}
.site-logo {
  flex-shrink: 0;
}
.site-logo img {
  display: block;
  width: 108px;
  height: auto;
  transition: width 240ms ease;
}
.site-desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
  margin-right: 36px;
}
.site-desktop-nav a,
.site-header-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-size: 13px;
}
.site-desktop-nav a {
  color: var(--muted);
  transition: color 160ms;
}
.site-desktop-nav a:hover {
  color: var(--ink);
}
.site-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.site-open-app {
  gap: 12px;
  padding: 10px 19px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition:
    background 160ms,
    border-color 160ms,
    color 160ms;
}
.site-open-app:hover {
  background: var(--surface);
  border-color: var(--cocoa);
}
/* Keep anchors and focused controls clear of the floating navigation. */
html {
  scroll-padding-top: 102px;
}
@media (prefers-reduced-motion: reduce) {
  .site-header * {
    transition: none !important;
    animation: none !important;
  }
}
.site-footer {
  --muted: #6c5b52;
  margin-top: 12px;
  padding: 68px 0 0;
  background: var(--soft);
  width: 100%;
}
.site-footer-main {
  display: grid;
  grid-template-columns: 1.65fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}
.site-footer-brand > a > img {
  display: block;
  width: min(100%, 250px);
  height: auto;
}
.site-footer-brand p {
  color: var(--ink);
  margin: 20px 0 20px;
  font-size: 16px;
  letter-spacing: -0.035em;
}
.site-footer-main nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}
.site-footer-main nav h2 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.5;
  margin: 3px 0 14px;
}
.site-footer-main nav a {
  display: flex;
  align-items: center;
  min-height: 32px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.site-footer a:hover,
.site-footer a[aria-current="page"] {
  color: var(--cocoa);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.site-footer-brand > a:hover {
  text-decoration: none;
}
.site-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-block: 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.site-store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  align-items: flex-start;
  flex-direction: column;
}
.site-store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid #d6c9b9;
  border-radius: 999px;
  background: #f7f2e87a;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
  transition:
    background 160ms ease,
    border-color 160ms ease;
}
.site-store-link img {
  display: block;
  width: 18px;
  height: 20px;
  object-fit: contain;
}
.site-footer .site-store-link:hover {
  background: var(--paper);
  border-color: var(--cocoa);
  text-decoration: none;
}
.site-store-link:focus-visible {
  outline: 2px solid var(--cocoa);
  outline-offset: 4px;
}
.site-footer-bottom button {
  background: none;
  border: 0;
  cursor: pointer;
  padding: 5px 0;
  font-size: inherit;
  color: inherit;
  min-height: 34px;
}
.site-footer-bottom button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 1100px) {
  .site-header {
    --header-width: calc(100% - 64px);
    --header-floating-width: calc(100% - 80px);
  }
  .site-container {
    width: calc(100% - 64px);
  }
  .site-desktop-nav {
    gap: 22px;
    margin-right: 10px;
  }
  .site-footer-main {
    gap: 24px;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .site-header {
    --header-width: calc(100% - 40px);
    --header-floating-width: calc(100% - 48px);
    --header-height: 78px;
    --header-floating-height: 60px;
    --header-floating-padding: 14px;
    --header-floating-logo: 80px;
  }
  .site-container {
    width: calc(100% - 40px);
  }
  .site-header-inner {
    gap: 20px;
  }
  .site-logo img {
    width: 92px;
  }
  .site-desktop-nav {
    display: none;
  }
  .site-header-actions {
    gap: 10px;
  }
  .site-open-app {
    padding: 8px 15px;
    gap: 9px;
    font-size: 12px !important;
    min-height: 40px !important;
  }
  .site-footer {
    margin-top: 0;
    padding-top: 38px;
  }
  .site-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 25px;
    padding-bottom: 30px;
  }
  .site-footer-brand {
    grid-column: 1 / -1;
  }
  .site-footer-brand > a > img {
    width: 120px;
  }
  .site-footer-brand p {
    margin-block: 13px 12px;
    font-size: 18px;
  }
  .site-footer-main nav {
    gap: 4px;
  }
  .site-footer-main nav h2 {
    margin-bottom: 10px;
  }
  .site-footer-main nav a {
    min-height: 35px;
  }
  .site-footer-main nav:last-child {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px 22px;
  }
  .site-footer-main nav:last-child h2 {
    width: 100%;
  }
  .site-footer-bottom {
    gap: 22px;
    flex-wrap: wrap;
    padding-block: 18px;
    font-size: 11px;
  }
  .site-store-links {
    width: 100%;
    flex-direction: row;
    gap: 10px;
  }
  .site-store-link {
    flex: 0 1 auto;
  }
}
@media (max-width: 359px) {
  .site-logo img {
    width: 82px;
  }
  .site-header-actions {
    gap: 4px;
  }
  .site-open-app {
    padding-inline: 12px;
  }
}

.site-header-inner {
  width: var(--header-width);
}
