/* Help page styles using vw for responsive sizing */

:root {
  --main-fill-color: #A8CEE2;
  --help-bg: #A8CEE2;
  --help-card-bg: #ffffff;
  --help-text: #1f2933;
  --help-accent: #2563eb;
  --help-border: #e2e8f0;
}

html, body { overflow: auto; height: auto; }

body {
  background: var(--main-fill-color);
  color: var(--help-text);
  min-height: 100dvh;
}

.top-links { background: var(--help-bg); box-shadow: 0 0.2vw 0.6vw rgba(0,0,0,0.06); }
.top-links a { font-size: 1.5vw; }
.lang-select { font-size: 1.3vw; }

.help-container {
  max-width: 90vw;
  margin: 4vw auto 4vw;
  padding: 0 2vw 10vw;
}

.help-header h1 {
  font-size: 2.6vw;
  margin-bottom: 1vw;
}

.help-header p {
  font-size: 1.4vw;
  line-height: 1.5;
  margin: 0 0 2vw;
}

.help-grid {
  display: flex;
  flex-direction: column;
  gap: 2vw;
}

.help-card {
  background: var(--help-card-bg);
  border: 0.15vw solid var(--help-border);
  border-radius: 0.8vw;
  padding: 2vw;
  box-shadow: 0 0.4vw 1.2vw rgba(0,0,0,0.06);
}

.help-card-title {
  font-size: 1.8vw;
  margin: 0 0 1vw;
}

.help-card p,
.help-card li,
.help-card a,
.help-card div,
.help-card span {
  font-size: 1.3vw;
  line-height: 1.5;
}

.bullet-list {
  padding-left: 1.4vw;
  margin: 0;
  list-style: disc;
}

.faq-list {
  display: grid;
  gap: 1.2vw;
}

.faq-card {
  border: 0.1vw solid var(--help-border);
  border-radius: 0.6vw;
  padding: 1.4vw;
  background: #fdfefe;
}

.faq-card h3 {
  margin: 0 0 0.6vw;
  font-size: 1.5vw;
}

.faq-card p {
  margin: 0;
}

.cta-link {
  display: inline-block;
  margin-top: 1.2vw;
  padding: 0.8vw 1.4vw;
  background: var(--help-accent);
  color: #fff;
  border-radius: 0.6vw;
  text-decoration: none;
  font-size: 1.2vw;
}

.cta-link:hover,
.cta-link:focus {
  background: #1d4ed8;
}

.help-fixed-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1vw 2vw;
  background: rgba(255, 255, 255, 0.96);
  border-top: 0.12vw solid var(--help-border);
  box-shadow: 0 -0.25vw 0.9vw rgba(0, 0, 0, 0.08);
}

.help-start-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22vw;
  padding: 0.9vw 2.2vw;
  border-radius: 0.75vw;
  border: 0.12vw solid #1f4f8c;
  background: #2f7bc7;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.25vw;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.help-start-btn:hover,
.help-start-btn:focus {
  background: #2563a5;
}

@media (max-width: 700px) {
  html,
  body {
    overflow-y: auto;
    height: auto;
    min-height: 100dvh;
  }

  body .top-links {
    transform: none;
    justify-content: center;
    gap: 4vw;
    padding: 0 3vw;
  }

  body .top-links a {
    font-size: 4.8vw !important;
    padding: 0.5vw 0 !important;
  }

  .help-container {
    max-width: 100%;
    margin: 3vw auto 4vw;
    padding: 0 4vw 24vw;
  }

  .help-header h1 {
    font-size: 6.3vw;
    line-height: 1.2;
    margin-bottom: 2vw;
    text-align: center;
  }

  .help-header p {
    font-size: 4.8vw;
    margin: 0 0 3.5vw;
    text-align: center;
  }

  .help-grid {
    gap: 3vw;
  }

  .help-card {
    border-width: 0.28vw;
    border-radius: 2.4vw;
    padding: 3.2vw;
    box-shadow: 0 0.7vw 1.8vw rgba(0, 0, 0, 0.1);
  }

  .help-card-title {
    font-size: 5.3vw;
    margin: 0 0 2.2vw;
  }

  .help-card p,
  .help-card li,
  .help-card a,
  .help-card div,
  .help-card span {
    font-size: 4.8vw;
  }

  .bullet-list {
    padding-left: 5.2vw;
  }

  .faq-list {
    gap: 2vw;
  }

  .faq-card {
    border-width: 0.28vw;
    border-radius: 2vw;
    padding: 2.8vw;
  }

  .faq-card h3 {
    font-size: 5.2vw;
    margin: 0 0 1.4vw;
  }

  .cta-link {
    display: block;
    width: 100%;
    box-sizing: border-box;
    font-size: 4.8vw;
    text-align: center;
    margin-top: 2.6vw;
    padding: 2.2vw 3vw;
    border-radius: 2vw;
  }

  .help-fixed-footer {
    padding: 2.2vw 3.5vw calc(2.2vw + env(safe-area-inset-bottom, 0px));
    border-top-width: 0.28vw;
  }

  .help-start-btn {
    width: 100%;
    min-width: 0;
    font-size: 4.9vw;
    padding: 2.5vw 3.2vw;
    border-width: 0.32vw;
    border-radius: 2.2vw;
  }
}

@media (max-width: 480px) {
  body .top-links {
    gap: 5vw;
    padding: 0 4vw;
  }

  body .top-links a {
    font-size: 5.4vw !important;
  }

  .help-container {
    padding: 0 4vw 28vw;
  }

  .help-header h1 {
    font-size: 7vw;
  }

  .help-header p,
  .help-card p,
  .help-card li,
  .help-card a,
  .help-card div,
  .help-card span {
    font-size: 5.3vw;
  }

  .help-card-title {
    font-size: 5.8vw;
  }

  .faq-card h3 {
    font-size: 5.4vw;
  }

  .cta-link,
  .help-start-btn {
    font-size: 5.4vw;
  }
}
