/* Arbiter Margin — shared styles for crawlable SEO pages (matches marketing tokens) */

:root {
  --ink: #0f172a;
  --ink-soft: #475569;
  --ink-muted: #64748b;
  --paper: #ffffff;
  --mist: #f8fafc;
  --mist-2: #f1f5f9;
  --line: #e2e8f0;
  --navy: #0b1220;
  --navy-mid: #152238;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --font-sans: 'Switzer', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  --weight-ui: 500;
  --header-h: 4rem;
  --radius: 0.5rem;
  --max: 46rem;
  --focus: 0 0 0 3px var(--paper), 0 0 0 5px var(--accent);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body.seo-body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

a {
  color: var(--accent);
}

a:hover {
  color: var(--accent-hover);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: var(--weight-ui);
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.mark-icon {
  display: block;
  flex-shrink: 0;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem;
  font-size: 0.875rem;
  font-weight: var(--weight-ui);
}

.site-header nav > a {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius);
}

.site-header nav > a:hover,
.site-header nav > a[aria-current='page'] {
  color: var(--ink);
  background: var(--mist-2);
}

.nav-cta {
  margin-left: 0.35rem;
  background: var(--ink) !important;
  color: var(--paper) !important;
}

.nav-cta:hover {
  background: var(--navy-mid) !important;
  color: var(--paper) !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: var(--weight-ui);
  text-decoration: none;
  cursor: pointer;
}

.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;
}

.seo-main {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.breadcrumbs {
  margin-bottom: 1.5rem;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumbs li:not(:last-child)::after {
  content: '/';
  margin-left: 0.35rem;
  color: var(--line);
}

.breadcrumbs a {
  color: var(--ink-soft);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.seo-hero {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.kicker {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.seo-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 550;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}

.lede {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  color: var(--ink-soft);
}

.value-prop {
  margin: 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--accent);
  background: var(--mist);
  color: var(--ink);
  font-weight: 500;
}

.seo-meta {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.seo-section {
  margin: 2.25rem 0;
}

.seo-section h2 {
  margin: 0 0 0.85rem;
  font-size: 1.35rem;
  font-weight: 550;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.seo-section h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 550;
}

.seo-section p {
  margin: 0 0 0.85rem;
  color: var(--ink-soft);
}

.seo-section ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--ink-soft);
}

.seo-section li {
  margin-bottom: 0.35rem;
}

.seo-next {
  margin: 0 0 0.25rem;
  font-weight: 500;
}

.seo-note {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  background: var(--mist);
  border-left: 3px solid var(--accent);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.seo-cta {
  margin: 2.5rem 0;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.seo-cta p {
  margin: 0;
  flex: 1 1 16rem;
  color: var(--ink);
  font-weight: 500;
}

.faq-list {
  margin: 0;
}

.faq-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-item dt {
  font-weight: 550;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.faq-item dd {
  margin: 0;
  color: var(--ink-soft);
}

.related-list,
.card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.related-list a {
  text-decoration: none;
  font-weight: 500;
}

.card-item {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.card-item p {
  margin: 0.4rem 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.card-item a {
  text-decoration: none;
  color: var(--ink);
}

.card-item a:hover {
  color: var(--accent);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--mist);
  padding: 2rem clamp(1.25rem, 4vw, 2.5rem) 2.5rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  font-size: 0.8125rem;
}

.footer-nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--ink);
}

.footer-meta {
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.footer-copy,
.footer-focus {
  margin: 0 0 0.5rem;
}

.footer-contacts {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.footer-email {
  color: var(--ink-soft);
}

@media (max-width: 720px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .site-header nav {
    justify-content: flex-start;
  }

  .seo-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}
