:root {
  color-scheme: light;
  --bg: #f6f7f7;
  --surface: #ffffff;
  --surface-alt: #eef3f2;
  --text: #18201f;
  --muted: #5d6866;
  --line: #d9e0de;
  --green: #28524a;
  --green-dark: #1d3e38;
  --accent: #4d6f89;
  --shadow: 0 10px 24px rgba(31, 47, 45, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

a {
  color: var(--green-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 14px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(24, 32, 31, 0.10);
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
}

nav a {
  border-radius: 6px;
  color: var(--muted);
  padding: 6px 2px;
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--green-dark);
}

.support-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.8fr);
  gap: 40px;
  align-items: center;
  padding: 52px 0 44px;
}

.support-hero-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.12;
}

.legal-page h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 2.35rem);
  line-height: 1.18;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

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

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

.button.secondary {
  background: var(--surface);
  color: var(--green-dark);
}

.button.secondary:hover {
  background: var(--surface-alt);
}

.app-summary {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.app-summary img {
  width: 180px;
  height: 180px;
  border-radius: 24px;
  box-shadow: 0 14px 30px rgba(24, 32, 31, 0.14);
}

.app-summary-meta {
  display: grid;
  gap: 4px;
  width: 100%;
  color: var(--muted);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
  text-align: center;
}

.app-summary-meta strong {
  color: var(--text);
  font-size: 1.05rem;
}

.content-section {
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

.section-header {
  margin-bottom: 20px;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.25;
}

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

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

.faq-list details {
  padding: 0 18px;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 700;
}

.faq-list p {
  margin: 0;
  padding: 0 0 18px;
  color: var(--muted);
}

.contact-section {
  margin-bottom: 42px;
}

.contact-section:focus {
  outline: 3px solid rgba(77, 111, 137, 0.28);
  outline-offset: 8px;
}

.contact-section p {
  max-width: 780px;
  margin: 0 0 18px;
  color: var(--muted);
}

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

.legal-page {
  max-width: 840px;
  padding: 42px 0 52px;
}

.legal-document {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 48px);
}

.legal-document .last-updated {
  margin: 14px 0 32px;
  color: var(--muted);
}

.legal-document section {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.legal-document section:first-of-type {
  border-top: 0;
}

.legal-document h2 {
  margin: 0 0 10px;
  font-size: 1.22rem;
  line-height: 1.4;
}

.legal-document p {
  margin: 0 0 12px;
  color: var(--muted);
}

.legal-document p:last-child {
  margin-bottom: 0;
}

.legal-document ol,
.legal-document ul {
  margin: 0;
  padding-left: 1.4em;
  color: var(--muted);
}

.legal-document li + li {
  margin-top: 6px;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .support-hero {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }

  .app-summary {
    justify-items: start;
  }

  .app-summary img {
    width: 120px;
    height: 120px;
    border-radius: 20px;
  }

  .app-summary-meta {
    text-align: left;
  }

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

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

  nav {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
  }

  .button {
    width: 100%;
  }
}
