:root {
  --blue: #005eb8;
  --blue-dark: #173b57;
  --navy: #123a56;
  --pink: #e6007e;
  --bg: #eef5fc;
  --card: #ffffff;
  --text: #061b33;
  --muted: #41546b;
  --border: #cfe0f1;
  --soft-blue: #eaf4ff;
  --shadow: 0 18px 45px rgba(19, 58, 86, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  display: block;
}

.guide-hero {
  background: linear-gradient(135deg, #005eb8 0%, #123a56 100%);
  color: #ffffff;
  border-bottom: 6px solid var(--pink);
}

.hero-inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 54px;
}

.back-link {
  display: inline-block;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 26px;
  opacity: 0.95;
}

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

.eyebrow {
  margin: 0 0 14px;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.95;
}

.guide-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.guide-hero p:not(.eyebrow) {
  max-width: 680px;
  font-size: 1.12rem;
  margin: 18px 0 0;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-pills span {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
}

.guide-main {
  width: min(1120px, calc(100% - 48px));
  margin: 36px auto 48px;
}

.card,
.info-card,
.step,
.help-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.overview {
  padding: 26px;
  margin-bottom: 24px;
}

.overview h2,
.info-card h2,
.complete h2,
.help-card h2 {
  margin: 0 0 14px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.1;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.overview-grid div {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--soft-blue);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  font-weight: 700;
}

.overview-grid span {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--blue);
  color: #ffffff;
  font-size: 0.9rem;
}

.info-card {
  padding: 24px 26px;
  margin-bottom: 24px;
  border-left: 6px solid #2ca66f;
  background: #f0fff7;
  border-radius: 18px;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.info-card h2,
.info-card h3 {
  margin: 0 0 14px;
}

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

/* Only use grid layout when the card has an icon */
.info-card:has(.info-icon) {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
}

.info-icon {
  font-size: 2.1rem;
  line-height: 1;
  min-width: 40px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

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

.section-banner p {
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #cfe9ff;
}

.section-banner h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  line-height: 1.05;
}

.section-banner span {
  display: block;
  margin-top: 8px;
  color: #e8f5ff;
}

.step {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(320px, 1.35fr);
  gap: 24px;
  align-items: center;
  padding: 22px;
  margin-bottom: 18px;
}

.step-text {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.step-number {
  align-self: flex-start;
  display: inline-block;
  background: var(--blue);
  color: #ffffff;
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.step h3 {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  line-height: 1.15;
}

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

.step strong {
  color: var(--text);
}

.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 .2s ease;
}

.step img:hover {
    transform: scale(1.01);
}

.complete {
  text-align: center;
  padding: 34px 28px;
  margin: 32px 0 24px;
}

.complete p {
  margin: 0;
  font-size: 1.05rem;
}

.help-card {
  display: grid;
  grid-template-columns: 82px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 24px;
  margin-bottom: 20px;
}

.help-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--soft-blue);
  font-size: 2.1rem;
}

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

.support-button {
  display: inline-block;
  background: var(--blue);
  color: #ffffff;
  text-decoration: none;
  padding: 13px 20px;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.support-button:hover {
  opacity: 0.9;
}

footer {
  background: var(--blue-dark);
  color: #ffffff;
  text-align: center;
  padding: 28px 16px;
  font-size: 0.95rem;
}

footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .step-text {
    display: block;
  }

  .step img {
    max-height: 720px;
  }

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

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

@media (max-width: 560px) {
  .hero-inner,
  .guide-main {
    width: min(100% - 28px, 1120px);
  }

  .hero-inner {
    padding: 24px 0 42px;
  }

  .guide-main {
    margin-top: 24px;
  }

  .overview,
  .info-card,
  .section-banner,
  .step,
  .help-card,
  .complete {
    border-radius: 14px;
  }

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

  .step {
    padding: 16px;
    gap: 16px;
  }

  .step img {
    max-height: none;
    padding: 4px;
  }

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

  .help-icon {
    width: 64px;
    height: 64px;
  }
}
