:root {
  --navy: #062e50;
  --navy-deep: #041c31;
  --blue: #147bc1;
  --blue-soft: #e9f4ff;
  --green: #0d9b62;
  --ink: #14273a;
  --muted: #63788e;
  --page: #f2f6fa;
  --surface: #ffffff;
  --line: #d6e2ed;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--page);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: var(--page); line-height: 1.7; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.shell { width: min(1180px, calc(100% - 56px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(214, 226, 237, .9); background: rgba(242, 246, 250, .9); backdrop-filter: blur(18px); }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; color: inherit; text-decoration: none; }
.brand-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.brand-wordmark { display: block; color: var(--navy); font-size: 22px; font-weight: 850; line-height: 1; letter-spacing: -.04em; }
.brand-tagline { display: block; color: var(--blue); font-size: 6px; font-weight: 850; line-height: 1; letter-spacing: .16em; }
.brand-mark { width: 48px; height: 48px; margin-left: -7px; object-fit: contain; transform: translateY(-2px); }
.brand-divider { width: 1px; height: 23px; margin-left: 4px; background: #9bb7ca; transform: translateY(-5px); }
.brand-pro { margin-left: 7px; color: var(--blue); font-size: 11px; font-style: italic; font-weight: 950; line-height: 1; letter-spacing: -.03em; transform: translateY(-5px); }
.desktop-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; color: var(--muted); font-size: 13px; font-weight: 700; }
.desktop-nav a { text-decoration: none; transition: color .2s ease; }
.desktop-nav a:hover { color: var(--blue); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; padding: 0 14px; border: 1px solid transparent; border-radius: 10px; color: #fff; background: var(--navy); box-shadow: 0 11px 24px rgba(6, 46, 80, .18); font-size: 12px; font-weight: 800; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.button:hover { background: var(--navy-deep); transform: translateY(-2px); }

.secondary-main { padding: 64px 0 100px; background: linear-gradient(180deg, #f4f8fc 0%, var(--page) 52%, #edf3f8 100%); }
.page-card { max-width: 900px; margin: 0 auto; padding: 48px 52px 56px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: 0 24px 70px rgba(6, 46, 80, .10); }
.page-heading { padding-bottom: 27px; border-bottom: 1px solid var(--line); }
.eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 15px; color: var(--blue); font-size: 10px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px #e6f8ef; }
h1 { margin: 0; color: var(--navy); font-size: clamp(38px, 5vw, 58px); line-height: 1; letter-spacing: -.065em; }
h2 { margin: 34px 0 10px; color: var(--navy); font-size: 22px; line-height: 1.15; letter-spacing: -.035em; }
.meta { margin: 16px 0 0; color: var(--muted); font-size: 12px; }
.page-content { color: var(--ink); font-size: 14px; }
.page-content p { margin: 17px 0; }
.page-content ul { margin: 16px 0 21px; padding-left: 22px; }
.page-content li { margin: 9px 0; padding-left: 4px; }
.page-content a { color: var(--blue); font-weight: 750; }
.page-content code { padding: 2px 5px; border-radius: 5px; background: #edf4f8; }
.callout { margin: 25px 0; padding: 15px 18px; border-left: 3px solid var(--blue); border-radius: 10px; color: var(--navy); background: var(--blue-soft); }
.callout a { color: var(--blue); }

.site-footer { padding: 58px 0 26px; border-top: 1px solid var(--line); background: #e8f0f6; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 45px; }
.footer-brand .brand-mark { width: 40px; height: 40px; }
.footer-copy { max-width: 305px; margin: 17px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.footer-links { display: grid; align-content: start; gap: 11px; color: var(--muted); font-size: 12px; }
.footer-links span { margin-bottom: 4px; color: var(--navy); font-size: 10px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--line); color: #8297a9; font-size: 10px; }
.footer-bottom a { color: var(--navy); font-weight: 800; text-decoration: none; }

@media (max-width: 700px) {
  .shell { width: min(100% - 32px, 1180px); }
  .site-header { position: static; }
  .header-inner { min-height: 67px; gap: 10px; }
  .brand-mark { width: 40px; height: 40px; margin-left: -6px; transform: translateY(-2px); }
  .footer-brand .brand-mark { width: 36px; height: 36px; }
  .brand-wordmark { font-size: 20px; }
  .brand-tagline { font-size: 5px; letter-spacing: .14em; }
  .brand-divider { height: 19px; margin-left: 3px; }
  .brand-pro { margin-left: 5px; font-size: 9px; }
  .desktop-nav { display: none; }
  .header-inner .button { margin-left: auto; }
  .secondary-main { padding: 32px 0 62px; }
  .page-card { padding: 30px 24px 36px; border-radius: 16px; }
  h1 { font-size: clamp(36px, 11vw, 50px); }
  .page-content { font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px 20px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-bottom { display: grid; gap: 9px; margin-top: 35px; }
}
