/* Canadian S3 Alternative - SEO pillar / buyer's-guide page.
   Dispatch marketing surface (green-grey newsprint on near-black). All rules
   scoped under .cs3. Tokens with literal fallbacks so it paints as designed. */

.cs3 {
  --cs3-bg: var(--dispatch-bg, #0c0e10);
  --cs3-sunken: var(--dispatch-sunken, #08090b);
  --cs3-surface: var(--dispatch-surface, #121517);
  --cs3-border: var(--dispatch-border, #1e2326);
  --cs3-border-strong: var(--dispatch-border-strong, #2c3338);
  --cs3-strong: var(--dispatch-text-strong, #ecefed);
  --cs3-text: var(--dispatch-text, #c2c9c6);
  --cs3-muted: var(--dispatch-text-muted, #6b7772);
  --cs3-faint: var(--dispatch-text-faint, #4a524f);
  --cs3-blue: #1e90ff;
  --cs3-cyan: #00d4ff;
  --cs3-teal: #5dcaa5;
  /* Gelasio is a metric-compatible Georgia (loaded in the page head): it
     renders the approved Georgia design on systems without Georgia, instead
     of the ugly Times fallback the site token resolves to on Linux. */
  --cs3-editorial: 'Gelasio', Georgia, 'Times New Roman', serif;
  --cs3-mono: var(--dispatch-mono, 'JetBrains Mono', ui-monospace, monospace);
  --cs3-ui: 'Inter', system-ui, sans-serif;

  color: var(--cs3-text);
  background: var(--cs3-bg);
  padding-bottom: 2.5rem;
}
/* Smooth jumps from the reason cards; targets clear the sticky navbar. */
html { scroll-behavior: smooth; }
.cs3-h2 { scroll-margin-top: 5rem; }

/* Reading column */
.cs3-col {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Masthead ── */
.cs3-masthead {
  position: relative;
  padding: 4.5rem 2rem 3rem;
  border-bottom: 1px solid var(--cs3-border);
  overflow: hidden;
}
.cs3-masthead::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(0, 212, 255, 0.09), transparent 45%),
    radial-gradient(circle at 78% 40%, rgba(30, 144, 255, 0.06), transparent 50%);
  pointer-events: none;
}
/* Wide hero wrapper (roomier than the 820 article body, like the home/sites
   mastheads). Eyebrow bar spans it full-width; the two-column row sits below. */
.cs3-mh-wrap {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
}
/* Single-column hero (no side widget): narrow to the body width so the
   content fills it instead of leaving a wide empty gutter on the right. */
.cs3-masthead--narrow .cs3-mh-wrap { max-width: 820px; }
.cs3-mh-cols {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  flex-wrap: wrap;
  margin-top: 2.25rem;
}
.cs3-mh-content { flex: 1 1 520px; min-width: 0; }
.cs3-mh-aside { flex: 0 1 340px; min-width: 0; }

@media (max-width: 900px) {
  .cs3-mh-content,
  .cs3-mh-aside { flex: 0 0 auto; width: 100%; }
}

.cs3-eyebrow-bar {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--cs3-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cs3-muted);
  background: var(--cs3-surface);
  border: 1px solid var(--cs3-border);
  border-left: 3px solid var(--cs3-blue);
  border-radius: 2px;
  padding: 0.55rem 0.85rem;
}
.cs3-dot-sep { color: var(--cs3-faint); }
.cs3-eyebrow-tail {
  margin-left: auto;
  color: var(--cs3-faint);
}

.cs3-h1 {
  font-family: var(--cs3-editorial);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--cs3-strong);
  margin: 0;
}
.cs3-grad {
  font-style: italic;
  background: linear-gradient(90deg, #1e90ff, #00d4ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.cs3-standfirst {
  font-family: var(--cs3-editorial);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.6;
  color: var(--cs3-strong);
  max-width: 62ch;
  margin: 1.5rem 0 0;
}

.cs3-byline {
  font-family: var(--cs3-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: var(--cs3-muted);
  margin: 1.5rem 0 0;
}
.cs3-byline-sep {
  color: var(--cs3-faint);
  margin: 0 0.6em;
}

/* ── Trust strip ── */
.cs3-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 2.5rem;
  margin-bottom: 2.75rem;
}
.cs3-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  font-family: var(--cs3-mono);
  font-size: 0.72rem;
  color: var(--cs3-text);
  background: var(--cs3-surface);
  border: 1px solid var(--cs3-border);
  border-radius: 2px;
  padding: 0.4rem 0.75rem;
}
.cs3-check { color: var(--cs3-cyan); }
.cs3-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cs3-teal);
  box-shadow: 0 0 6px var(--cs3-teal);
}

/* ── Body prose ── */
.cs3-p {
  font-family: var(--cs3-editorial);
  font-size: 1.18rem;
  line-height: 1.75;
  color: var(--cs3-text);
  text-wrap: pretty;
  max-width: 66ch;
  margin: 0 0 1.5rem;
}
.cs3-inline {
  font-family: var(--cs3-mono);
  font-size: 0.86em;
  color: var(--cs3-teal);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.05em 0.3em;
  border-radius: 2px;
}

.cs3-h2 {
  font-family: var(--cs3-editorial);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--cs3-strong);
  margin: 4rem 0 1.5rem;
}
.cs3-caption {
  font-family: var(--cs3-mono);
  font-size: 0.74rem;
  color: var(--cs3-muted);
  margin: 0 0 1.25rem;
}

/* Icon-flanked paragraph - an existing paragraph with an icon beside it to
   break up the prose. --right puts the icon on the right; placements alternate. */
.cs3-iconrow {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin: 2.25rem 0;
}
.cs3-iconrow--right { flex-direction: row-reverse; }
.cs3-iconrow-icon {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.28));
}
.cs3-iconrow .cs3-p { margin: 0; }
@media (max-width: 600px) {
  .cs3-iconrow-icon { width: 54px; height: 54px; }
}

/* ── Reason grid ── */
.cs3-reasons {
  display: grid;
  gap: 1px;
  background: var(--cs3-border);
  border: 1px solid var(--cs3-border);
  border-radius: 6px;
  overflow: hidden;
  margin: 0 0 1.5rem;
}
.cs3-reason {
  display: block;
  text-decoration: none;
  background: var(--cs3-surface);
  border-left: 3px solid var(--cs3-blue);
  padding: 1.5rem 1.6rem;
  transition: background 0.18s;
}
.cs3-reason:hover { background: rgba(30, 144, 255, 0.07); }
.cs3-reason-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.95rem;
  font-family: var(--cs3-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cs3-blue);
  transition: gap 0.18s, color 0.18s;
}
.cs3-reason:hover .cs3-reason-more { gap: 0.7rem; color: var(--cs3-cyan); }
.cs3-reason-eyebrow {
  font-family: var(--cs3-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cs3-blue);
  margin-bottom: 0.6rem;
}
.cs3-reason-body {
  font-family: var(--cs3-editorial);
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--cs3-text);
  margin: 0;
}

/* ── Comparison table ── */
.cs3-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--cs3-border);
  border-radius: 8px;
  background: var(--cs3-surface);
  margin: 0 0 1.5rem;
}
.cs3-table {
  border-collapse: collapse;
  min-width: 760px;
  width: 100%;
  font-family: var(--cs3-mono);
  font-size: 0.8rem;
}
.cs3-table thead th {
  text-align: left;
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cs3-muted);
  background: var(--cs3-sunken);
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--cs3-border-strong);
  white-space: nowrap;
}
.cs3-table td {
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--cs3-border);
  color: var(--cs3-text);
  vertical-align: top;
}
.cs3-table tbody tr:last-child td,
.cs3-table tbody tr:last-child td { border-bottom: none; }
.cs3-provider { color: var(--cs3-strong); }
.cs3-ca { color: var(--cs3-teal); }
.cs3-us { color: var(--cs3-muted); }
.cs3-yes { color: var(--cs3-teal); }
.cs3-no { color: var(--cs3-faint); }
.cs3-faint { color: var(--cs3-faint); }
.cs3-strong { color: var(--cs3-strong); font-weight: 700; }
.cs3-row-storm { background: rgba(30, 144, 255, 0.07); }
.cs3-row-storm .cs3-provider {
  border-left: 3px solid var(--cs3-blue);
  padding-left: 0.7rem;
  font-weight: 700;
}

/* ── What to look for ── */
.cs3-h3 {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  font-family: var(--cs3-ui);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--cs3-strong);
  margin: 2.5rem 0 1rem;
}
.cs3-index {
  font-family: var(--cs3-mono);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--cs3-blue);
  flex: 0 0 auto;
}
.cs3-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-left: 1.3rem;
  margin: 0 0 1.5rem;
  font-family: var(--cs3-editorial);
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--cs3-text);
}
.cs3-list b { color: var(--cs3-strong); }

/* ── Migration terminal ── */
.cs3-term {
  border: 1px solid var(--cs3-border);
  border-radius: 8px;
  background: var(--cs3-surface);
  overflow: hidden;
  margin: 0 0 1.5rem;
}
.cs3-term-bar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.95rem;
  border-bottom: 1px solid var(--cs3-border);
}
.cs3-term-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cs3-teal);
  box-shadow: 0 0 7px var(--cs3-teal);
  flex: 0 0 auto;
}
.cs3-term-title {
  font-family: var(--cs3-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cs3-text);
}
.cs3-term-tail {
  margin-left: auto;
  font-family: var(--cs3-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cs3-faint);
}
.cs3-term-screen {
  background: var(--cs3-sunken);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.cs3-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.2rem 0.8rem;
}
.cs3-step-n {
  font-family: var(--cs3-mono);
  font-size: 0.72rem;
  color: var(--cs3-faint);
  grid-row: 1 / 3;
}
.cs3-step-desc {
  font-family: var(--cs3-ui);
  font-size: 0.92rem;
  color: var(--cs3-text);
}
.cs3-cmd {
  font-family: var(--cs3-mono);
  font-size: 0.84rem;
  color: var(--cs3-teal);
  white-space: pre-wrap;
  word-break: break-word;
}
.cs3-prompt {
  color: var(--cs3-faint);
  margin-right: 0.5em;
  user-select: none;
}

/* ── FAQ ── */
.cs3-faq {
  display: flex;
  flex-direction: column;
  margin: 0 0 1.5rem;
}
.cs3-qa {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--cs3-border);
}
.cs3-qa:first-child { border-top: 1px solid var(--cs3-border); }
.cs3-q {
  font-family: var(--cs3-ui);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--cs3-strong);
  margin: 0 0 0.6rem;
}
.cs3-a {
  font-family: var(--cs3-editorial);
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--cs3-text);
  margin: 0;
}
.cs3-link {
  color: var(--cs3-blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(30, 144, 255, 0.4);
}
.cs3-link:hover {
  color: var(--cs3-cyan);
  border-bottom-color: var(--cs3-cyan);
}

/* ── CTA ── */
.cs3-cta {
  position: relative;
  overflow: hidden;
  background: var(--cs3-surface);
  border: 1px solid var(--cs3-border);
  border-left: 3px solid var(--cs3-blue);
  border-radius: 8px;
  padding: 2.75rem 2.25rem;
  margin: 4rem 0 0;
}
.cs3-cta::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 50%;
  height: 180%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.1), transparent 60%);
  pointer-events: none;
}
.cs3-cta > * { position: relative; }
.cs3-cta-eyebrow {
  font-family: var(--cs3-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cs3-blue);
  margin-bottom: 0.85rem;
}
.cs3-cta-h2 {
  font-family: var(--cs3-editorial);
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--cs3-strong);
  margin: 0 0 1rem;
}
.cs3-cta-body {
  font-family: var(--cs3-editorial);
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--cs3-text);
  max-width: 60ch;
  margin: 0 0 1.75rem;
}
/* Hero CTA spacing (feedback-bounty). */
.cs3-hero-cta { margin-top: 1.75rem; }

/* Bounty cards - the standing list as a hover-able grid (feedback-bounty). */
.cs3-bounties {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--cs3-border);
  border: 1px solid var(--cs3-border);
  border-radius: 6px;
  overflow: hidden;
  margin: 0 0 1.5rem;
}
.cs3-bounty {
  display: flex;
  gap: 1rem;
  background: var(--cs3-surface);
  padding: 1.4rem 1.5rem;
  transition: background 0.18s;
}
.cs3-bounty:hover { background: rgba(30, 144, 255, 0.06); }
.cs3-bounty-n {
  flex: 0 0 auto;
  font-family: var(--cs3-mono);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--cs3-blue);
}
.cs3-bounty-text {
  margin: 0;
  font-family: var(--cs3-editorial);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--cs3-text);
}
@media (max-width: 680px) {
  .cs3-bounties { grid-template-columns: 1fr; }
}

/* Two-ways-to-submit columns + the app screenshot placeholder. */
.cs3-submit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 0 0 1.5rem;
}
.cs3-submit-col {
  background: var(--cs3-surface);
  border: 1px solid var(--cs3-border);
  border-left: 3px solid var(--cs3-blue);
  border-radius: 6px;
  padding: 1.5rem 1.6rem;
}
.cs3-submit-title {
  display: block;
  font-family: var(--cs3-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cs3-blue);
  margin: 0 0 0.85rem;
}
.cs3-submit-desc {
  font-family: var(--cs3-editorial);
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--cs3-text);
  margin: 0 0 1.1rem;
}
.cs3-shot { margin: 1.1rem 0 0; }
.cs3-shot-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  border: 1px dashed var(--cs3-border-strong);
  border-radius: 4px;
  background: var(--cs3-sunken);
  color: var(--cs3-faint);
  font-family: var(--cs3-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
@media (max-width: 680px) {
  .cs3-submit { grid-template-columns: 1fr; }
}
.cs3-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.cs3-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--cs3-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 2px;
  padding: 0.7rem 1.2rem;
  transition: background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.cs3-btn--primary {
  color: #fff;
  background: #0a1929;
  border: 1px solid var(--cs3-blue);
  box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.15), 0 4px 14px rgba(30, 144, 255, 0.25);
}
.cs3-btn--primary:hover {
  border-color: var(--cs3-cyan);
  box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.3), 0 6px 18px rgba(30, 144, 255, 0.35);
}
.cs3-btn--secondary {
  color: var(--cs3-strong);
  background: transparent;
  border: 1px solid var(--cs3-border-strong);
}
.cs3-btn--secondary:hover {
  color: var(--cs3-cyan);
  border-color: var(--cs3-blue);
}

/* ── Responsive ── */
@media (max-width: 760px) {
  .cs3-masthead { padding: 3rem 1.5rem 2.25rem; }
  .cs3-col { padding: 0 1.5rem; }
  .cs3-cta { padding: 2rem 1.4rem; }
}
