:root {
  color-scheme: dark;
  --background: #171513;
  --surface: #22201e;
  --surface-raised: #2a2724;
  --border: #403b36;
  --text: #fffaf5;
  --muted: #bdb4ab;
  --accent: #f0a36f;
  --accent-ink: #29170e;
  --secondary: #8db9ad;
  --danger: #f08b86;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
}

.content {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  max-width: 760px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(23, 21, 19, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav {
  width: min(var(--max-width), calc(100% - 40px));
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 760;
  text-decoration: none;
}

.brand img,
.footer-brand img,
.app-icon {
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.brand img,
.footer-brand img {
  border-radius: 8px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-actions > a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-actions > a:hover {
  color: var(--text);
}

.language-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.language-switch button {
  min-width: 38px;
  min-height: 32px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 760;
}

.language-switch button[aria-pressed="true"] {
  background: var(--accent);
  color: var(--accent-ink);
}

.band {
  padding: 88px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.band.alternate {
  background: #1d1b19;
}

.intro {
  min-height: 540px;
  display: flex;
  align-items: center;
}

.intro-grid {
  display: grid;
  grid-template-columns: 144px minmax(0, 1fr);
  align-items: center;
  gap: 44px;
}

.app-icon {
  width: 144px;
  height: 144px;
  border-radius: 30px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
}

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

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

h1,
h2,
h3 {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.06;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

p,
li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.lede {
  max-width: 690px;
  margin: 0;
  font-size: 1.14rem;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 760;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  color: var(--accent-ink);
}

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

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-heading > p:last-child {
  margin-bottom: 0;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 24px;
  align-items: start;
}

.contact-panel {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.contact-panel .label {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 720;
  text-transform: uppercase;
}

.contact-panel .email {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 1.08rem;
  font-weight: 760;
  text-decoration: none;
}

.contact-panel p:last-child {
  margin-bottom: 0;
}

.faq {
  border-top: 1px solid var(--border);
}

.faq details {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  padding: 20px 40px 20px 0;
  color: var(--text);
  cursor: pointer;
  font-weight: 720;
}

.faq p {
  margin: -6px 0 20px;
}

.steps {
  margin: 24px 0;
  padding-left: 24px;
}

.steps li {
  padding: 5px 0 5px 8px;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.policy-grid article {
  min-height: 210px;
  padding: 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.policy-grid p {
  margin-bottom: 0;
}

footer {
  padding: 28px 0;
  background: #11100f;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-content p {
  margin: 0;
  font-size: 0.86rem;
}

@media (max-width: 760px) {
  .content,
  .nav {
    width: min(100% - 28px, var(--max-width));
  }

  .nav-actions {
    gap: 12px;
  }

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

  .band {
    padding: 64px 0;
  }

  .intro {
    min-height: 0;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .app-icon {
    width: 104px;
    height: 104px;
    border-radius: 23px;
  }

  .support-layout,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .policy-grid article {
    min-height: 0;
  }

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

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