/* Support and privacy keep their existing content and URLs, but use the new site's app-window language. */
:root {
  --text: #1d1d1f;
  --muted: #6e6e73;
  --border: #dedee3;
  --accent-strong: #0067c8;
}

html { min-height: 100%; }
body {
  min-height: 100vh;
  padding: clamp(16px, 4vw, 52px);
  background: radial-gradient(circle at 86% 4%, #775a5d 0, transparent 44%),
              linear-gradient(135deg, #293148, #252c3e 64%, #3d3645);
  color: var(--text);
}

.container {
  width: min(100%, 1000px);
  max-width: none;
  margin: 0 auto;
  padding: 0 0 38px;
  overflow: hidden;
  border-radius: 14px;
  background: #f5f5f7;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .36), 0 0 0 1px rgba(0, 0, 0, .16);
}

.topnav {
  position: relative;
  display: block;
  min-height: 112px;
  margin: 0 0 24px;
  background: linear-gradient(#ececee 0 42px, #f5f5f7 42px);
  border-bottom: 1px solid var(--border);
}

.brand-stack {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 42px;
  padding: 0 24px 0 84px;
  border-bottom: 1px solid #d9d9de;
}

.brand-stack::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 16px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff5f57;
  box-shadow: 19px 0 #febc2e, 38px 0 #28c840;
}
.window-close {
  position: absolute;
  z-index: 2;
  left: 10px;
  top: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
}
.window-close::after {
  content: '';
  position: absolute;
  left: 8px;
  top: 8px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  pointer-events: none;
}
.window-close:hover::after,
.window-close:focus-visible::after { outline: 2px solid #0071e3; outline-offset: 2px; }

.brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font: 600 14px/1.3 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #4a4a4f;
}

.apps-index-link {
  margin-left: auto;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-strong);
}

.langs {
  min-height: 69px;
  padding: 16px 28px;
  gap: 7px;
}
.langs .label { color: var(--muted); }
.langs a {
  padding: 5px 9px;
  background: transparent;
  border-color: transparent;
  color: #55555a;
}
.langs a.active {
  color: #fff;
  background: #55555f;
  border-color: #55555f;
}
.langs[hidden], .mobile-lang[hidden] { display: none; }
.page-language {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 69px;
  padding: 16px 28px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.page-language select {
  min-width: 120px;
  max-width: 100%;
  padding: 6px 28px 6px 10px;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
  background: #fff;
  color: #1d1d1f;
  font: inherit;
}
.page-language select:focus-visible { outline: 2px solid #0071e3; outline-offset: 2px; }

.hero,
.card {
  width: min(100% - 64px, 760px);
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.hero { margin-top: 30px; margin-bottom: 26px; }
.hero h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.12;
  letter-spacing: -.02em;
}
.hero p { font-size: 16px; color: var(--muted); }
.card {
  margin-top: 0;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}
.card h2 { font-size: 20px; line-height: 1.25; }
.card p, .card li, .faq dd { color: #3a3a3c; }
.faq dt { font-weight: 650; }
.faq dd { margin-top: 5px; }
.links a {
  margin: 0 16px 4px 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--accent-strong);
  font-weight: 500;
}
a.email { color: var(--accent-strong); }
a:focus-visible, summary:focus-visible { outline: 2px solid #0071e3; outline-offset: 3px; }

@media (max-width: 680px) {
  body { padding: 0; }
  .container { min-height: 100vh; border-radius: 0; }
  .topnav { min-height: 104px; margin-bottom: 16px; }
  .brand-stack { padding-right: 16px; }
  .apps-index-link { font-size: 12px; }
  .mobile-lang { display: block; padding: 12px 20px; }
  .page-language { padding: 12px 20px; }
  .mobile-lang summary { padding: 7px 10px; border-radius: 8px; background: #fff; }
  .mobile-lang-list { position: relative; z-index: 1; }
  .hero, .card { width: calc(100% - 40px); }
  .hero { margin-top: 24px; }
}
