
:root {
  --bg: #f5f7fb;
  --panel: #ffffff;
  --ink: #16202a;
  --muted: #586575;
  --line: #dbe2ea;
  --accent: #0b5cad;
  --accent-dark: #08447f;
  --soft: #eaf3ff;
  --gold: #f5b841;
  --shadow: 0 14px 38px rgba(16, 32, 48, .10);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: radial-gradient(circle at top left, #e7f1ff, transparent 34rem), var(--bg);
  color: var(--ink);
  line-height: 1.55;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }

.hero {
  padding: 44px 0 34px;
  background: linear-gradient(135deg, #0b315f, #0b5cad 58%, #0f7cc7);
  color: white;
  position: relative;
  overflow: hidden;
}
.hero:after {
  content: "";
  position: absolute;
  inset: auto -8rem -12rem auto;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 42px;
  position: relative;
  z-index: 1;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}
.logo {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.22);
  font-size: 25px;
}
.navlinks { display: flex; gap: 18px; flex-wrap: wrap; }
.navlinks a { color: white; opacity: .94; font-weight: 700; font-size: 14px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 32px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.eyebrow {
  color: #d7ecff;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 13px;
  font-weight: 800;
}
h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  margin: 12px 0 18px;
}
.hero p {
  font-size: 18px;
  max-width: 720px;
  color: #eef7ff;
}
.hero-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(8px);
}
.hero-card h2 { margin-top: 0; font-size: 22px; }
.hero-card ul { padding-left: 22px; margin-bottom: 0; }
.btnrow { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
}
.primary { background: white; color: var(--accent-dark); }
.secondary { color: white; border-color: rgba(255,255,255,.45); }
main { padding: 34px 0 56px; }
.notice {
  background: #fff9e8;
  border: 1px solid #f1d99c;
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
  margin-top: -58px;
  position: relative;
  z-index: 2;
}
.notice strong { display: block; margin-bottom: 4px; }

.section-head {
  margin: 42px 0 18px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
}
.section-head h2 { font-size: 32px; margin: 0; }
.section-head p { margin: 8px 0 0; color: var(--muted); max-width: 760px; }

.searchbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0 22px;
}
.searchbar input, .searchbar select {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 16px;
  background: white;
}
.searchbar input { flex: 1; min-width: 240px; }
.searchbar select { min-width: 220px; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.card .tag {
  display: inline-flex;
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent-dark);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
}
.card h3 { margin: 0 0 10px; font-size: 21px; }
.card p { color: var(--muted); margin: 0 0 18px; }
.card a {
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.step {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: white;
  font-weight: 900;
  margin-bottom: 12px;
}
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); }

.footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: white;
}
.footer .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* Guide pages */
.guide-hero {
  padding: 28px 0;
  background: linear-gradient(135deg, #0b315f, #0b5cad);
  color: white;
}
.breadcrumb { font-size: 14px; color: #d7ecff; }
.breadcrumb a { color: white; font-weight: 700; }
.guide-wrap {
  width: min(900px, calc(100% - 36px));
  margin: 28px auto 60px;
}
.guide-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px;
}
.guide-panel h1 { color: var(--ink); font-size: clamp(32px, 4vw, 48px); }
.guide-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.pill {
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent-dark);
  padding: 7px 11px;
  font-weight: 800;
  font-size: 13px;
}
.guide-section {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 22px;
}
.guide-section h2 { margin: 0 0 10px; }
.guide-section ul { padding-left: 24px; }
.printbox {
  margin-top: 26px;
  padding: 16px;
  background: #f6f9fc;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.print-button {
  border: 0;
  background: var(--accent);
  color: white;
  font-weight: 800;
  padding: 12px 16px;
  border-radius: 999px;
  cursor: pointer;
}

@media (max-width: 860px) {
  .hero-grid, .grid, .steps { grid-template-columns: 1fr; }
  .nav { align-items: flex-start; }
  .navlinks { justify-content: flex-start; }
  .section-head { display: block; }
}

@media print {
  body { background: white; }
  .hero, .guide-hero, .footer, .btnrow, .printbox, .navlinks { display: none !important; }
  .guide-wrap { width: 100%; margin: 0; }
  .guide-panel { box-shadow: none; border: 0; padding: 0; }
  a { color: black; text-decoration: none; }
}
