:root {
  color-scheme: light;
  --ink: #17313a;
  --muted: #51656c;
  --surface: #ffffff;
  --soft: #eef6f4;
  --line: #d6e1de;
  --teal: #087f75;
  --teal-dark: #075f58;
  --coral: #d75d49;
  --focus: #005fcc;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.55;
}

a {
  color: var(--teal-dark);
  text-underline-offset: 3px;
}

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

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

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.brand img {
  border-radius: 10px;
}

nav {
  display: flex;
  gap: 22px;
}

nav a {
  font-weight: 650;
  text-decoration: none;
}

.intro {
  min-height: 410px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(40px, 9vw, 120px);
  padding-block: 58px 42px;
}

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

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

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  line-height: 1.3;
  letter-spacing: 0;
}

.lead {
  max-width: 690px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.16rem;
}

.app-icon {
  width: clamp(120px, 20vw, 180px);
  height: auto;
  border-radius: 28px;
  box-shadow: 0 18px 42px rgba(23, 49, 58, 0.18);
}

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

.primary-action {
  color: #ffffff;
  background: var(--teal);
}

.primary-action:hover {
  background: var(--teal-dark);
}

.secondary-action {
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
}

.feedback-action {
  color: #ffffff;
  background: var(--coral);
}

.feedback-action:hover {
  background: #b94635;
}

.support-notice {
  padding: 17px 20px;
  border-left: 4px solid var(--coral);
  background: #fff6f3;
}

.support-notice strong {
  display: block;
}

.help-section {
  padding-block: 76px;
}

.section-heading {
  margin-bottom: 30px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-item {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.faq-item p,
.contact-section p,
.feedback-section p,
.policy-content p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 34px;
  border-radius: 8px;
  background: var(--soft);
}

.feedback-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  padding-block: 40px;
  border-block: 1px solid var(--line);
}

.feedback-section > div {
  max-width: 720px;
}

.feedback-privacy {
  padding-top: 14px;
  font-size: 0.94rem;
}

.feedback-privacy strong {
  color: var(--ink);
}

.contact-section div {
  max-width: 680px;
}

.policy-page {
  max-width: 840px;
}

.policy-heading {
  padding-block: 64px 32px;
  border-bottom: 1px solid var(--line);
}

.policy-heading h1 {
  font-size: clamp(2.3rem, 6vw, 4rem);
}

.policy-content {
  padding-block: 22px 58px;
}

.policy-content section {
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 70px;
  padding-block: 24px 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

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

  .site-header {
    min-height: 68px;
  }

  .brand span {
    display: none;
  }

  .intro {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 44px 34px;
  }

  .app-icon {
    grid-row: 1;
    width: 104px;
    border-radius: 22px;
  }

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

  .contact-section {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
  }

  .feedback-section {
    grid-template-columns: 1fr;
    gap: 22px;
  }

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

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