:root {
  --bg: #f5efe7;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --text: #1f2120;
  --muted: #5b605d;
  --line: rgba(31, 33, 32, 0.12);
  --accent: #0f766e;
  --accent-strong: #0b4f58;
  --accent-soft: #d8efeb;
  --gold: #a9642c;
  --shadow: 0 24px 60px rgba(33, 31, 27, 0.12);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(169, 100, 44, 0.14), transparent 32%),
    linear-gradient(180deg, #f8f3ec 0%, var(--bg) 48%, #ece3d6 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.52), transparent 88%);
}

.page-shell {
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(247, 242, 235, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand,
.nav,
.button {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 12px;
  color: inherit;
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.18);
}

.nav {
  gap: 18px;
  flex-wrap: wrap;
}

.nav a,
a {
  color: var(--accent-strong);
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.guide-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  gap: 26px;
  align-items: center;
  padding: 72px 0 28px;
}

.hero-copy,
.hero-visual,
.quick-facts article,
.flow-card,
.step-card,
.credential-grid article {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 42px;
  border-radius: var(--radius-xl);
}

.hero-visual {
  overflow: hidden;
  padding: 16px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(169, 100, 44, 0.1)),
    var(--surface-strong);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(31, 33, 32, 0.08);
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(31, 33, 32, 0.14);
}

.eyebrow,
.step-kicker,
.quick-facts span {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.5rem, 4.8vw, 4.2rem);
  line-height: 1;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
}

h3 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.12;
}

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

.hero-text {
  margin: 20px 0 0;
  max-width: 62ch;
  font-size: 1.08rem;
}

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

.button {
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
}

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

.quick-facts,
.flow-grid,
.credential-grid {
  display: grid;
  gap: 18px;
}

.quick-facts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 34px;
}

.quick-facts article,
.flow-card,
.credential-grid article {
  padding: 22px;
  border-radius: var(--radius-lg);
}

.quick-facts p,
.flow-card p,
.credential-grid p,
.step-card p {
  margin: 0;
}

.section {
  padding: 34px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.how-it-works {
  padding-top: 18px;
}

.flow-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.flow-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 242, 235, 0.78)),
    var(--surface);
}

.flow-number {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent-strong);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}

.step-list {
  display: grid;
  gap: 18px;
}

.step-card {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 22px;
  padding: 28px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(247, 242, 235, 0.78)),
    var(--surface);
}

.step-number {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.step-card strong,
.credential-grid strong {
  color: var(--text);
}

.step-card p + p {
  margin-top: 12px;
}

.note {
  padding-left: 16px;
  border-left: 3px solid var(--gold);
}

.credential-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.credential-grid article {
  background: var(--surface-strong);
}

.footer {
  padding: 20px 6px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .guide-hero,
  .quick-facts,
  .flow-grid,
  .credential-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--content-width));
    padding-top: 12px;
  }

  .topbar {
    position: static;
    border-radius: 26px;
    padding: 16px;
  }

  .nav {
    display: none;
  }

  .guide-hero {
    padding-top: 28px;
  }

  .hero-copy,
  .step-card {
    padding: 24px;
  }

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

  h1 {
    font-size: clamp(2.35rem, 11vw, 3.6rem);
  }
}
