:root {
  color-scheme: light;
  --background: #f6f7f9;
  --surface: #ffffff;
  --surface-soft: #eef1f5;
  --text: #17191d;
  --muted: #5d6470;
  --line: #dfe3e8;
  --red: #d20b1b;
  --red-dark: #a70714;
  --blue: #155ea8;
  --blue-soft: #e8f1fb;
  --focus: #126bd1;
  --shadow: 0 14px 40px rgba(26, 32, 44, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

a {
  color: inherit;
}

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

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--focus) 55%, transparent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--text);
  color: var(--surface);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow-shell {
  width: min(760px, 100%);
}

.band {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand img {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.1);
}

.brand span {
  display: grid;
  line-height: 1.2;
}

.brand strong {
  font-size: 17px;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-actions > a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.header-actions > a:hover {
  color: var(--red);
}

.language-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, 42px);
  width: 84px;
  height: 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-soft);
}

.language-button {
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
}

.language-button.is-active {
  background: var(--text);
  color: var(--surface);
}

.intro {
  padding: 68px 0 58px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 68px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.lede {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--red);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--red-dark);
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.button-secondary:hover {
  border-color: #b7bdc6;
  background: var(--surface-soft);
}

.app-identity {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 22px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  background: var(--surface-soft);
}

.app-identity img {
  width: 132px;
  height: 132px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.app-identity div {
  display: grid;
  gap: 7px;
}

.app-identity strong {
  font-size: 22px;
}

.app-identity span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.section {
  padding-top: 78px;
  padding-bottom: 82px;
}

.section-heading {
  max-width: 620px;
}

.section-heading > p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.topic-card {
  min-height: 278px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(26, 32, 44, 0.05);
}

.topic-number {
  width: 40px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 6px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.topic-card p {
  margin: 14px 0 22px;
  color: var(--muted);
  font-size: 15px;
}

.topic-card a {
  margin-top: auto;
  color: var(--blue);
  font-weight: 750;
  text-underline-offset: 3px;
}

.soft-band {
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.28fr);
  gap: 70px;
}

.sticky-heading {
  align-self: start;
  position: sticky;
  top: 112px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

summary {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 750;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--red);
  font-size: 24px;
  font-weight: 500;
}

details[open] summary::after {
  content: "−";
}

details > p,
details > ol,
details > a {
  margin-right: 20px;
  margin-left: 20px;
}

details > p {
  margin-top: 0;
  color: var(--muted);
}

details > ol {
  margin-top: 0;
  padding-left: 24px;
  color: var(--muted);
}

details li + li {
  margin-top: 8px;
}

details > :last-child {
  margin-bottom: 20px;
}

.inline-link {
  color: var(--blue);
  font-weight: 700;
  text-underline-offset: 3px;
}

.note {
  padding: 12px 14px;
  border-left: 3px solid var(--blue);
  border-radius: 0 6px 6px 0;
  background: var(--blue-soft);
  color: var(--text);
  font-size: 14px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
}

.contact-section p:not(.eyebrow) {
  max-width: 670px;
  margin: 16px 0 0;
  color: var(--muted);
}

.contact-actions {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.contact-actions small {
  max-width: 320px;
  color: var(--muted);
  text-align: center;
}

.site-footer {
  padding: 38px 0;
  border-top: 1px solid #2a2f38;
  background: #17191d;
  color: #ffffff;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 44px;
  align-items: start;
}

.footer-inner p {
  max-width: 580px;
  margin: 7px 0 0;
  color: #b8bec7;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: #ffffff;
  font-size: 14px;
  font-weight: 650;
  text-underline-offset: 3px;
}

.footer-inner > small {
  grid-column: 1 / -1;
  color: #8f97a3;
}

.privacy-intro {
  padding: 68px 0 58px;
}

.privacy-intro h1 {
  max-width: none;
}

.updated {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.policy-content {
  display: grid;
  gap: 42px;
}

.policy-content article {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.policy-content article:last-of-type {
  border-bottom: 0;
}

.policy-content h2 {
  font-size: 25px;
}

.policy-content p {
  margin: 14px 0 0;
  color: var(--muted);
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 14px;
}

.back-support {
  padding-top: 4px;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --background: #111318;
    --surface: #191c22;
    --surface-soft: #20242b;
    --text: #f4f5f7;
    --muted: #b6bdc8;
    --line: #343a44;
    --red: #ff4a57;
    --red-dark: #e52f3e;
    --blue: #7ebcff;
    --blue-soft: #172b40;
    --focus: #7ebcff;
    --shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
  }

  .button-primary {
    color: #ffffff;
  }

  .site-header {
    background: color-mix(in srgb, var(--surface) 94%, transparent);
  }
}

@media (max-width: 860px) {
  .intro-grid,
  .faq-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .intro-grid {
    gap: 38px;
  }

  .topic-grid {
    grid-template-columns: 1fr;
  }

  .topic-card {
    min-height: 0;
  }

  .sticky-heading {
    position: static;
  }

  .contact-actions {
    justify-items: start;
  }

  .contact-actions small {
    text-align: left;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(calc(100% - 28px), 1120px);
  }

  .site-header {
    position: static;
  }

  .header-inner {
    min-height: 70px;
  }

  .header-actions > a {
    display: none;
  }

  .intro,
  .privacy-intro {
    padding: 48px 0 42px;
  }

  h1 {
    font-size: 39px;
  }

  .lede {
    font-size: 17px;
  }

  .button-row,
  .button-row .button {
    width: 100%;
  }

  .app-identity {
    grid-template-columns: 82px 1fr;
    gap: 16px;
    padding: 18px;
  }

  .app-identity img {
    width: 82px;
    height: 82px;
  }

  .section {
    padding-top: 58px;
    padding-bottom: 62px;
  }

  .faq-layout {
    gap: 30px;
  }

  summary {
    padding: 15px 16px;
  }

  details > p,
  details > ol,
  details > a {
    margin-right: 16px;
    margin-left: 16px;
  }

  .contact-section {
    gap: 28px;
  }

  .contact-actions,
  .contact-actions .button {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner > small {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
