/* Shared styles for the guide and comparison pages.
   Same tokens as index.html so the pages read as one site. Local file, no external
   fetches — the site stays fully self-contained and works offline. */
:root {
  --bg: #0e1013;
  --surface: #14161a;
  --inset: #0f1114;
  --raise: #1c1f25;
  --line: #262b32;
  --line-soft: #1e2229;
  --text: #f1efec;
  --text-2: #a4a8b0;
  --text-3: #6f747c;
  --accent: #dc3a70;
  --accent-hi: #ef5f8d;
  --accent-dim: rgba(220, 58, 112, 0.1);
  --accent-line: rgba(220, 58, 112, 0.42);
  --ok: #7ba97f;
  --grad: linear-gradient(135deg, #8a3ab4 0%, #dc3a70 55%, #fd8d32 100%);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --r-lg: 16px;
  --r-md: 11px;
  --r-sm: 8px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI Variable Text", "Segoe UI", ui-sans-serif, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; }
:is(a, button):focus-visible { outline: 2px solid var(--accent-line); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

/* nav / footer — mirrors index.html */
header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(14, 16, 19, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.mark {
  width: 34px; height: 34px; border-radius: 10px; position: relative; overflow: hidden; flex: 0 0 auto;
  background: linear-gradient(180deg, var(--raise), var(--inset));
  border: 1px solid var(--line); display: grid; place-items: center;
}
.mark::before { content: ""; position: absolute; inset: 0; background: var(--grad); opacity: .16; }
.mark svg { position: relative; width: 19px; height: 19px; fill: none; stroke: var(--accent-hi); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.brand b { font-size: 16px; font-weight: 600; letter-spacing: -.015em; }
.nav .links { display: flex; gap: 22px; font-size: 13.5px; color: var(--text-2); }
.nav .links a { text-decoration: none; transition: color 150ms var(--ease); }
.nav .links a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--r-sm); text-decoration: none;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 14px;
  border: 1px solid var(--accent); transition: background 150ms var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--accent-hi); border-color: var(--accent-hi); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.ghost:hover { background: var(--raise); border-color: var(--text-3); }
.btn.lg { padding: 14px 26px; font-size: 15.5px; }

footer { border-top: 1px solid var(--line-soft); margin-top: 96px; padding: 34px 0 44px; }
.foot { display: flex; align-items: center; gap: 20px; font-size: 13.5px; color: var(--text-2); flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot .spacer { flex: 1; }
.disclaimer { margin-top: 18px; font-size: 12.5px; color: var(--text-3); line-height: 1.6; max-width: 760px; }

/* article */
.article { max-width: 760px; margin: 0 auto; padding: 60px 24px 0; position: relative; z-index: 2; }
.crumb { font-size: 13px; color: var(--text-3); margin-bottom: 18px; }
.crumb a { text-decoration: none; color: var(--accent-hi); }
.article h1 { font-size: 42px; line-height: 1.1; letter-spacing: -.035em; font-weight: 700; margin-bottom: 16px; }
.standfirst { font-size: 19px; color: var(--text-2); line-height: 1.55; margin-bottom: 12px; }
.meta { font-size: 13px; color: var(--text-3); padding-bottom: 26px; border-bottom: 1px solid var(--line-soft); margin-bottom: 34px; }
.article h2 { font-size: 26px; letter-spacing: -.025em; font-weight: 650; margin: 44px 0 14px; }
.article h3 { font-size: 18.5px; font-weight: 640; margin: 30px 0 10px; }
.article p { margin-bottom: 16px; color: #ddd9d4; }
.article ul, .article ol { margin: 0 0 18px 22px; color: #ddd9d4; }
.article li { margin-bottom: 9px; }
.article strong { color: var(--text); font-weight: 640; }
.article a:not(.btn) { color: var(--accent-hi); text-decoration: underline; text-underline-offset: 2px; }

.steps { list-style: none; margin: 0 0 22px; counter-reset: s; }
.steps li {
  position: relative; padding: 0 0 0 44px; margin-bottom: 18px; counter-increment: s;
}
.steps li::before {
  content: counter(s);
  position: absolute; left: 0; top: 1px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-dim); border: 1px solid var(--accent-line);
  color: var(--accent-hi); font-size: 13.5px; font-weight: 660;
  display: grid; place-items: center;
}

.note {
  border-left: 3px solid var(--accent); background: var(--accent-dim);
  padding: 14px 18px; border-radius: 0 var(--r-sm) var(--r-sm) 0; margin: 0 0 22px;
  font-size: 15px; color: #e6e2de;
}
.note strong { color: #fff; }

.cta {
  margin: 44px 0 0; padding: 28px; border: 1px solid var(--line);
  border-radius: var(--r-lg); background: var(--surface);
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.cta div { flex: 1; min-width: 260px; }
.cta b { display: block; font-size: 18px; letter-spacing: -.015em; margin-bottom: 5px; }
.cta span { font-size: 14.5px; color: var(--text-2); }

table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); font-weight: 620; }
td.yes { color: var(--ok); font-weight: 600; }
td.no { color: var(--text-3); }
.tablewrap { overflow-x: auto; }

.more { margin-top: 52px; padding-top: 30px; border-top: 1px solid var(--line-soft); }
.more h2 { font-size: 17px; margin: 0 0 14px; letter-spacing: -.01em; }
.more ul { list-style: none; margin: 0; }
.more li { margin-bottom: 9px; }
.more a { color: var(--accent-hi); text-decoration: none; font-size: 15px; }
.more a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .article h1 { font-size: 32px; }
  .nav .links { display: none; }
}
