/* Iron Relay public site — local only, no CDN */
:root {
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-2: #eef1f4;
  --border: #d8dee6;
  --border-strong: #c5ced8;
  --text: #1a2332;
  --text-secondary: #4a5568;
  --muted: #6b7785;
  --accent: #2c5f8a;
  --accent-soft: #e8f0f7;
  --accent-hover: #234a6b;
  --ok: #1f6b4a;
  --ok-bg: #e8f5ef;
  --warn: #8a5a12;
  --warn-bg: #f8f0e0;
  --shadow: 0 1px 2px rgba(26, 35, 50, 0.06), 0 1px 3px rgba(26, 35, 50, 0.04);
  --radius: 8px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max: 960px;
  --wide: 1100px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-hover); }
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--surface);
  color: var(--text);
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.25rem;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.logo:hover { color: var(--text); }
.logo-mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.nav-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.4rem 0.7rem;
  color: var(--text);
  cursor: pointer;
  font-size: 0.875rem;
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.25rem;
  align-items: center;
}
.site-nav a {
  display: block;
  padding: 0.45rem 0.65rem;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-radius: 6px;
}
.site-nav a:hover { background: var(--surface-2); color: var(--text); }
.site-nav a[aria-current="page"] {
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 600;
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 1.25rem 1rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav a { padding: 0.65rem 0.75rem; }
}

/* Main */
main { flex: 1; }
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 3.5rem;
}
.wrap-wide {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 2rem 1.25rem 3.5rem;
}

/* Hero */
.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 2.75rem 1.25rem 3rem;
}
.hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 700;
  max-width: 36ch;
}
.hero-lead {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 52ch;
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.3;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}
.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  background: var(--surface-2);
  color: var(--text);
}

/* Cards / sections */
.section-title {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
  letter-spacing: -0.015em;
}
.section-intro {
  margin: 0 0 1.5rem;
  color: var(--text-secondary);
  max-width: 55ch;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
  box-shadow: var(--shadow);
}
.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}
.card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.25rem;
}
.panel h2, .panel h3 { margin-top: 0; }
.note {
  background: var(--accent-soft);
  border: 1px solid #c5d6e6;
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  color: var(--text);
  font-size: 0.95rem;
  margin: 1.25rem 0;
}
.note-warn {
  background: var(--warn-bg);
  border-color: #e8d9b8;
  color: var(--warn);
}
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.stack > * + * { margin-top: 1rem; }
.prose h2 {
  margin: 2rem 0 0.65rem;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.05rem;
}
.prose p, .prose li { color: var(--text-secondary); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.35rem; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 1rem 0;
  background: var(--surface);
}
.prose th, .prose td {
  border: 1px solid var(--border);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}
.prose th {
  background: var(--surface-2);
  color: var(--text);
  font-weight: 600;
}
.prose td { color: var(--text-secondary); }
.address-block {
  font-style: normal;
  line-height: 1.5;
  color: var(--text-secondary);
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 1rem 1rem 1rem 3.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--text-secondary); font-size: 0.95rem; }
.price-line {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0.25rem 0 0.5rem;
}
.limitations {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
}
.limitations h3 { margin: 0 0 0.5rem; font-size: 1rem; }
.limitations ul { margin: 0; padding-left: 1.2rem; color: var(--text-secondary); }
.cta-band {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem;
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: var(--shadow);
}
.cta-band p { margin: 0; color: var(--text-secondary); max-width: 40ch; }
.page-header {
  margin-bottom: 1.75rem;
}
.page-header h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  letter-spacing: -0.02em;
}
.page-header p {
  margin: 0;
  color: var(--text-secondary);
  max-width: 55ch;
}
.legal-note {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 2rem 1.25rem 1.75rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; }
}
.footer-brand {
  font-weight: 650;
  margin: 0 0 0.5rem;
  color: var(--text);
}
.footer-inner h3 {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 650;
}
.footer-inner ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-inner li { margin-bottom: 0.35rem; }
.footer-inner a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.925rem;
}
.footer-inner a:hover { color: var(--accent); text-decoration: underline; }
.footer-bottom {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.25rem 1.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}
