:root {
  color-scheme: light;
  --ink: #172026;
  --muted: #5d6b76;
  --paper: #f7faf8;
  --panel: #ffffff;
  --line: #dce6e0;
  --accent: #047a73;
  --accent-strong: #005f73;
  --warm: #f2b84b;
  --danger: #d95c4a;
  --shadow: 0 24px 70px rgba(26, 45, 52, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(4, 122, 115, 0.08), rgba(247, 250, 248, 0) 360px),
    var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header,
.site-footer,
main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 0 5px rgba(4, 122, 115, 0.09);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.lang-button {
  min-width: 44px;
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.lang-button.is-active {
  background: var(--ink);
  color: #ffffff;
}

.support-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  align-items: center;
  gap: 48px;
  min-height: calc(100vh - 112px);
  padding: 34px 0 64px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.45rem, 7vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 16px 0 8px;
  font-size: 1.08rem;
  line-height: 1.18;
}

.hero-text {
  max-width: 610px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.store-link {
  display: inline-grid;
  gap: 1px;
  min-width: 156px;
  min-height: 58px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #11181d;
  color: #ffffff;
  text-decoration: none;
}

.store-link:hover {
  background: #1c2a30;
}

.store-kicker {
  color: #b9c8cb;
  font-size: 0.76rem;
  font-weight: 700;
}

.store-link strong {
  font-size: 1rem;
  line-height: 1.15;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.primary-action {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(4, 122, 115, 0.2);
}

.primary-action:hover {
  background: var(--accent-strong);
}

.secondary-action {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
}

.radar-panel {
  position: relative;
  aspect-ratio: 1;
  width: min(100%, 520px);
  margin-left: auto;
  border: 1px solid rgba(4, 122, 115, 0.18);
  border-radius: 8px;
  overflow: hidden;
  background: #0c2225;
  box-shadow: var(--shadow);
}

.radar-panel canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.radar-status {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 2px;
  min-width: 150px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(9, 32, 34, 0.82);
  color: #d8f2ee;
  backdrop-filter: blur(12px);
}

.radar-status span {
  font-size: 0.78rem;
}

.radar-status strong {
  color: #ffffff;
  font-size: 1.08rem;
}

.quick-help,
.faq-section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 28px;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.help-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(242, 184, 75, 0.24);
  color: #7d5600;
  font-weight: 900;
}

.help-card p,
.contact-band p,
.faq-list p {
  color: var(--muted);
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
}

.contact-band .eyebrow {
  color: var(--warm);
}

.contact-band p {
  max-width: 650px;
  margin: 14px 0 0;
  color: #c7d6d7;
}

.contact-band .primary-action {
  flex: 0 0 auto;
  background: #ffffff;
  color: var(--ink);
  box-shadow: none;
}

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

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

summary {
  min-height: 58px;
  padding: 18px 20px;
  font-weight: 850;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

#footerAppName {
  color: var(--ink);
  font-weight: 850;
}

@media (max-width: 860px) {
  .support-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 34px;
    padding-top: 26px;
  }

  .radar-panel {
    width: min(100%, 460px);
    margin: 0;
  }

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

  .contact-band {
    align-items: flex-start;
    flex-direction: column;
    padding: 26px;
  }
}

@media (max-width: 520px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 22px, 1120px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: 2.35rem;
  }

  .hero-actions,
  .store-links,
  .store-link,
  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .radar-status {
    right: 12px;
    bottom: 12px;
    min-width: 132px;
  }
}
