/* Shared styles for /guides/ pages */
:root {
  --navy: #16264f;
  --blue: #1d4ed8;
  --blue-dark: #1e40af;
  --blue-soft: #e8efff;
  --text: #1f2937;
  --muted: #5b6577;
  --line: #e3e8f2;
  --bg: #f8faff;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}
a { color: var(--blue); }
code { font-size: 0.92em; background: var(--blue-soft); padding: 1px 5px; border-radius: 4px; }

header.site { background: #fff; border-bottom: 1px solid var(--line); }
header.site .inner {
  max-width: 880px; margin: 0 auto; padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
header.site a.brand { flex: 0 1 auto; min-width: 0; }
header.site img { height: 44px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; display: block; }
header.site nav { flex: 0 0 auto; white-space: nowrap; }
header.site nav a { text-decoration: none; font-weight: 600; font-size: 15px; margin-left: 18px; }
@media (max-width: 420px) { header.site nav a { margin-left: 12px; } header.site img { height: 36px; } }

main { max-width: 880px; margin: 0 auto; padding: 28px 16px 56px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }

h1 { color: var(--navy); font-size: clamp(28px, 5vw, 40px); line-height: 1.2; margin: 0 0 10px; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 24px; }
h2 { color: var(--navy); font-size: 25px; line-height: 1.3; margin: 44px 0 12px; }
h3 { color: var(--navy); font-size: 19px; margin: 24px 0 6px; }

.download {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; margin: 8px 0;
}
.download p { margin: 0; color: var(--muted); font-size: 15px; }
.download strong { color: var(--navy); display: block; font-size: 17px; }
.btn {
  display: inline-block; background: var(--blue); color: #fff; text-decoration: none;
  font-weight: 700; padding: 12px 22px; border-radius: 999px; white-space: nowrap;
}
.btn:hover { background: var(--blue-dark); }

ol.steps, ul.points { padding-left: 22px; }
ol.steps li, ul.points li { margin-bottom: 10px; }

.table-wrap { overflow-x: auto; margin: 14px 0; }
table { width: 100%; border-collapse: collapse; background: #fff; font-size: 15px; min-width: 480px; }
th, td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
th { background: var(--blue); color: #fff; }
td:first-child { font-weight: 700; color: var(--navy); }
.note { font-size: 14px; color: var(--muted); }

.cta { background: var(--navy); color: #fff; border-radius: 16px; padding: 28px 26px; margin-top: 48px; }
.cta h2 { color: #fff; margin-top: 0; }
.cta p { color: #d6def0; }
.cta .btn { background: #fff; color: var(--navy); }

.related ul { padding-left: 20px; }
.related li { margin-bottom: 6px; }
.alt-lang { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 8px; }

.guide-list { list-style: none; padding: 0; display: grid; gap: 14px; }
.guide-list li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.guide-list a { font-weight: 700; font-size: 18px; text-decoration: none; }
.guide-list p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }

footer { text-align: center; font-size: 14px; color: var(--muted); padding: 24px 16px 40px; }
