/* Static content site - deliberately dependency-free so pages render instantly
   and are fully readable without JavaScript. */

:root {
  --ink: #1f2430;
  --ink-soft: #4d5566;
  --ink-faint: #6b7488;
  --line: #e3e7ee;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --brand: #1976d2;
  --brand-dark: #10508f;
  --brand-tint: #eaf3fd;
  --radius: 12px;
  --wrap: 1080px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

a { color: var(--brand); }
a:hover { color: var(--brand-dark); }

img { max-width: 100%; height: auto; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  z-index: 10;
}
.skip-link:focus { left: 0; }

/* ---------------------------------------------------------------- header */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 5;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 64px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-right: auto;
}

.site-nav a {
  padding: 7px 12px;
  border-radius: 8px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15.5px;
}
.site-nav a:hover { background: var(--bg-soft); color: var(--ink); }
.site-nav a.is-active { background: var(--brand-tint); color: var(--brand-dark); font-weight: 600; }

/* ----------------------------------------------------------------- main */

main { padding: 34px 20px 64px; }

h1 {
  font-size: 2.15rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
}

h2 {
  font-size: 1.45rem;
  line-height: 1.3;
  margin: 44px 0 12px;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.13rem;
  margin: 28px 0 8px;
}

p { margin: 0 0 16px; }

ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 8px; }

.lede {
  font-size: 1.16rem;
  color: var(--ink-soft);
  margin-bottom: 26px;
}

.crumbs {
  font-size: 14px;
  color: var(--ink-faint);
  margin-bottom: 18px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.page-updated {
  max-width: 760px;
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-faint);
}

/* Text keeps a readable measure; grids and tables are free to use the full
   column, which is what they need to lay out sensibly. */
article > h1, article > h2, article > h3, article > p,
article > ul, article > ol, article > .callout, article > .page-updated,
.prose > h1, .prose > h2, .prose > h3, .prose > p,
.prose > ul, .prose > ol, .prose > .callout, .prose > .page-updated {
  max-width: 760px;
}

/* --------------------------------------------------------------- blocks */

.hero {
  padding: 26px 0 8px;
  max-width: 780px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: var(--brand-tint);
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 16px;
}

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

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 26px 0 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15.5px;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-solid { background: var(--brand); color: #fff; }
.btn-solid:hover { background: var(--brand-dark); color: #fff; }

.btn-outline { border-color: var(--line); color: var(--ink); background: var(--bg); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-dark); }

.btn-sm { padding: 8px 14px; font-size: 14.5px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 22px 0 8px;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  background: var(--bg);
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

.card-link { text-decoration: none; color: inherit; display: block; }
.card-link:hover { border-color: var(--brand); }
.card-link h3 { color: var(--brand-dark); }

.callout {
  border-left: 3px solid var(--brand);
  background: var(--bg-soft);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
}
.callout p:last-child { margin-bottom: 0; }

.table-scroll { overflow-x: auto; margin: 22px 0; }

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 460px;
  font-size: 15.5px;
}

th, td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th { background: var(--bg-soft); font-weight: 600; }

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-item h3 { margin: 0 0 8px; }
.faq-item p:last-child { margin-bottom: 0; }

.related {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: 760px;
}
.related h2 { margin-top: 0; }
.related ul { list-style: none; padding: 0; }
.related li { margin-bottom: 10px; }
.related a {
  display: block;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
}
.related a:hover { border-color: var(--brand); }
.related strong { display: block; color: var(--brand-dark); margin-bottom: 3px; }
.related span { display: block; color: var(--ink-soft); font-size: 15px; }

/* --------------------------------------------------------------- footer */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 42px 0 32px;
  font-size: 15px;
  color: var(--ink-soft);
}

.foot-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
}

.site-footer h2 {
  font-size: 15px;
  margin: 0 0 10px;
  color: var(--ink);
  letter-spacing: 0;
}

.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 7px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.foot-legal {
  margin: 32px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-faint);
}

@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .hero h1 { font-size: 2rem; }
  h1 { font-size: 1.85rem; }
  main { padding-top: 22px; }

  /* Brand and the app button share the first row; nav drops below and scrolls
     sideways rather than wrapping onto three lines. */
  .site-header { position: static; }
  .site-header .wrap {
    min-height: 0;
    padding-top: 10px;
    padding-bottom: 6px;
    gap: 10px;
  }
  .brand { flex: 1 1 auto; font-size: 16px; }
  .site-nav {
    order: 3;
    width: 100%;
    margin-right: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { padding: 6px 10px; white-space: nowrap; }
}
