:root {
  --blue: #005eb8;
  --blue-dark: #06345c;
  --navy: #061b3a;
  --magenta: #e6007e;
  --bg: #f4f8ff;
  --panel: #ffffff;
  --text: #061b3a;
  --muted: #4b5d78;
  --border: #d9e4f2;
  --shadow: 0 18px 45px rgba(0, 64, 128, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  background:
    radial-gradient(circle at 70% 18%, rgba(0, 120, 255, 0.35), transparent 34%),
    linear-gradient(135deg, #005eb8 0%, #06345c 55%, #061b3a 100%);
  color: #fff;
  padding: 42px 0;
}

.back-link {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  margin-bottom: 24px;
  opacity: 0.9;
}

.back-link:hover {
  text-decoration: underline;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-size: 0.95rem;
  opacity: 0.95;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1;
  font-weight: 800;
}

.lead {
  margin: 0;
  max-width: 720px;
  font-size: 1.25rem;
  line-height: 1.45;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.meta span {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
}

.magenta-line {
  height: 7px;
  background: var(--magenta);
}

main.wrap {
  padding-top: 34px;
}

/* Overview */

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 28px;
}

.overview-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.overview-card h2 {
  margin: 0 0 12px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #eaf3ff;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}

.overview-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.overview-card p {
  margin: 0;
  color: var(--muted);
}

/* Info cards */

.info-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-left: 7px solid var(--magenta);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 26px;
  margin-bottom: 28px;
}

.info-card h2 {
  margin: 0 0 10px;
  font-size: 1.7rem;
}

.info-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.info-card ul {
  margin: 10px 0 0;
}

/* Section banners */

.section-banner {
  background: var(--blue-dark);
  color: #ffffff;
  border-radius: 16px;
  padding: 24px 26px;
  margin: 32px 0 18px;
  box-shadow: var(--shadow);
}

.section-banner p {
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
  font-weight: 800;
  opacity: 0.85;
}

.section-banner h2 {
  margin: 0 0 8px;
  font-size: 1.85rem;
}

.section-banner span {
  display: block;
  opacity: 0.9;
}

/* Steps */

.step {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 22px;
  padding: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 28px;
  align-items: center;
}

.step-text {
  min-width: 0;
}

.step-number {
  display: inline-block;
  background: #eaf3ff;
  color: var(--blue);
  border: 1px solid #cfe0f5;
  border-radius: 999px;
  padding: 5px 12px;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.step h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
  line-height: 1.25;
}

.step p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.step ul,
.step ol {
  padding-left: 24px;
  margin: 12px 0 0;
}

.step li {
  margin: 6px 0;
}

.step img {
  width: 100%;
  height: auto;
  display: block;
  background: #ffffff;
  border: 1px solid #d6e3f3;
  border-radius: 12px;
  box-shadow:
    0 2px 8px rgba(0, 40, 90, 0.05),
    0 1px 2px rgba(0, 40, 90, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step img:hover {
  transform: scale(1.01);
  box-shadow:
    0 8px 18px rgba(0, 40, 90, 0.09),
    0 2px 4px rgba(0, 40, 90, 0.06);
}

.note-box {
  background: #eaf3ff;
  border-left: 5px solid var(--blue);
  border-radius: 10px;
  padding: 15px 17px;
  margin-top: 16px;
  color: var(--text);
}

/* FAQ */

.faq-section details {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    margin: 14px 0;
    overflow: hidden;
    transition: all .2s ease;
}

.faq-section details:hover {
    border-color: #b8cde8;
    box-shadow: 0 3px 10px rgba(0,64,128,.06);
}

.faq-section summary {
    cursor: pointer;
    padding: 18px 22px;

    font-size: 1.08rem;
    font-weight: 700;
    color: var(--text);

    list-style: none;
    position: relative;
}

.faq-section summary::-webkit-details-marker {
    display: none;
}

.faq-section summary::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--blue);
}

.faq-section details[open] summary::after {
    content: "−";
}

.faq-section details[open] summary {
    background: #f8fbff;
    border-bottom: 1px solid var(--border);
}

.faq-section details p,
.faq-section details ul,
.faq-section details ol,
.faq-section details h3 {
    margin-left: 22px;
    margin-right: 22px;
}

.faq-section details p:first-of-type,
.faq-section details ul:first-of-type,
.faq-section details ol:first-of-type,
.faq-section details h3:first-of-type {
    margin-top: 18px;
}

.faq-section details p:last-child,
.faq-section details ul:last-child,
.faq-section details ol:last-child {
    margin-bottom: 22px;
}

/* Help cards */

.help-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 26px;
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 28px;
}

.help-icon {
  width: 82px;
  height: 82px;
  border-radius: 18px;
  background: #eaf3ff;
  display: grid;
  place-items: center;
  font-size: 2.4rem;
}

.help-card h2 {
  margin: 0 0 8px;
  font-size: 1.7rem;
}

.help-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.support-button {
  border: 2px solid var(--blue);
  color: var(--blue);
  text-decoration: none;
  font-weight: 700;
  padding: 13px 22px;
  border-radius: 8px;
  white-space: nowrap;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.support-button:hover {
  background: var(--blue);
  color: #fff;
}

/* Footer */

.footer {
  background: #eaf3ff;
  padding: 24px 0;
  text-align: center;
  color: var(--muted);
}

.footer p {
  margin: 0;
}

/* Responsive */

@media (max-width: 950px) {
  .overview-grid {
    grid-template-columns: 1fr;
  }

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

  .step img {
    max-width: 520px;
  }

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

  .support-button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .hero {
    padding: 30px 0 38px;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .lead {
    font-size: 1.08rem;
  }

  .meta span {
    width: 100%;
  }

  .overview-card,
  .info-card,
  .section-banner,
  .step,
  .faq-section,
  .help-card {
    padding: 20px;
  }

  .section-banner h2 {
    font-size: 1.55rem;
  }

  .step h3 {
    font-size: 1.28rem;
  }

  details > p,
  details > ul,
  details > ol,
  details > h3 {
    margin-left: 16px;
    margin-right: 16px;
  }

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

  .help-icon {
    width: 68px;
    height: 68px;
    font-size: 2rem;
  }
}
