/* Shared styles for raidplatform.io subpages (the home page keeps its own inline CSS). */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/inter-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #071a2c;
  --ink-2: #0d2943;
  --blue: #1477c9;
  --blue-2: #24a7df;
  --sky: #dff4ff;
  --cyan: #55d6e8;
  --paper: #f5f8fb;
  --muted: #5d7185;
  --line: #dbe5ee;
  --max: 1180px;
  --read: 760px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-underline-offset: 3px; }
img, svg { display: block; max-width: 100%; }
:where(a, button, summary):focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 12px 18px; background: var(--ink); color: #fff; font-weight: 800; }
.skip-link:focus { left: 0; }

.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

/* Header */
.topbar { background: var(--ink); color: #fff; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 900; letter-spacing: .1em; text-decoration: none; }
.brand svg { width: 32px; height: 37px; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: .92rem; font-weight: 700; }
.nav-links a { color: rgba(255,255,255,.8); text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-cta { padding: 10px 16px; border: 1px solid rgba(255,255,255,.32); border-radius: 10px; color: #fff !important; }

/* Page hero */
.page-hero {
  color: #fff;
  padding: 64px 0 72px;
  background:
    radial-gradient(circle at 82% 20%, rgba(36,167,223,.30), transparent 38%),
    linear-gradient(135deg, #061522 0%, #08243b 58%, #0d3455 100%);
}
.crumbs { font-size: .85rem; color: rgba(255,255,255,.62); margin: 0 0 22px; }
.crumbs a { color: rgba(255,255,255,.8); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.eyebrow::before { content: ""; width: 30px; height: 2px; background: currentColor; border-radius: 999px; }
.page-hero h1 { max-width: 900px; margin: 0 0 18px; font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1.08; letter-spacing: -.035em; }
.page-hero .lead { max-width: 720px; margin: 0; color: rgba(255,255,255,.78); font-size: clamp(1.08rem, 1.6vw, 1.25rem); }

/* Article body */
.content { padding: 72px 0 40px; }
.prose { max-width: var(--read); }
.prose h2 { margin: 56px 0 14px; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; letter-spacing: -.03em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 30px 0 8px; font-size: 1.18rem; letter-spacing: -.015em; }
.prose p, .prose li { color: #3d5266; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--blue); }
.prose strong { color: var(--ink); }
.updated { font-size: .88rem; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 26px 0; }
.card { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.card p { margin: 0; font-size: .95rem; }

.note { margin: 26px 0; padding: 18px 22px; border-left: 4px solid var(--blue-2); border-radius: 0 12px 12px 0; background: #eef7fd; color: #2b4257; font-size: .95rem; }

/* Comparison table */
.table-wrap { overflow-x: auto; margin: 26px 0; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
th, td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { background: var(--ink); color: #fff; font-weight: 800; }
tbody th { font-weight: 700; color: var(--ink); background: var(--paper); width: 26%; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
td { color: #3d5266; }

/* Contact block */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
.contact-grid .card a { font-weight: 800; }

/* CTA */
.cta { margin: 40px 0 96px; padding: 52px 44px; border-radius: 26px; text-align: center; color: #fff; background: linear-gradient(135deg, #0b3c61, #0e79a8); }
.cta h2 { margin: 0 auto 12px; max-width: 760px; font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.12; letter-spacing: -.03em; }
.cta p { margin: 0 auto 26px; max-width: 620px; color: rgba(255,255,255,.78); }
.cta p.small { margin: 18px auto 0; font-size: .95rem; }
.cta a:not(.btn) { color: #fff; font-weight: 800; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 12px; background: #fff; color: var(--ink); font-weight: 800; text-decoration: none; box-shadow: 0 16px 38px rgba(0,0,0,.18); }

/* Footer */
footer { padding: 32px 0 42px; border-top: 1px solid var(--line); background: #f8fafc; color: var(--muted); font-size: .88rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.footer-links a { color: var(--muted); text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--blue); }

@media (max-width: 860px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .cards, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wrap { width: min(calc(100% - 32px), var(--max)); }
  .page-hero { padding: 44px 0 52px; }
  .content { padding-top: 48px; }
  .cta { padding: 36px 22px; }
  .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
