/* ============================================================
   PC Security Guide — editorial light theme
   ============================================================ */

:root {
  --paper: #faf7f1;
  --paper-tint: #f1ece2;
  --ink: #1b2520;
  --ink-soft: #4d5a53;
  --ink-faint: #7d8880;
  --accent: #1c6b48;
  --accent-dark: #145238;
  --accent-tint: #e3efe8;
  --amber: #b45309;
  --rule: #ddd5c6;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 28px; }
.wrap--narrow { max-width: 760px; }

/* ---------- typography helpers ---------- */

.kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; }

h1 {
  font-size: clamp(40px, 6vw, 64px);
  letter-spacing: -0.01em;
  margin: 18px 0 22px;
}

h2 { font-size: clamp(30px, 4vw, 42px); margin: 0 0 16px; }
h3 { font-size: 21px; }

code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.85em;
  background: var(--paper-tint);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 1px 6px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 8px;
  border: 1px solid var(--accent);
  transition: background 0.18s ease, transform 0.12s ease;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn--outline:hover { background: var(--accent); color: #fff; }

.btn--small { padding: 9px 18px; font-size: 13.5px; }
.btn--block { display: block; text-align: center; }

/* ---------- sticky bar ---------- */

.sticky-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--ink);
  color: var(--paper);
  z-index: 50;
  transform: translateY(-100%);
  transition: transform 0.28s ease;
  border-bottom: 2px solid var(--accent);
}
.sticky-bar.is-visible { transform: translateY(0); }
.sticky-bar__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 10px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.sticky-bar__title { font-family: var(--serif); font-weight: 600; }
.sticky-bar__tag { font-size: 13.5px; color: #b8c4bd; margin-left: auto; }
.sticky-bar__tag strong { color: #fff; }

/* ---------- masthead ---------- */

.masthead {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}
.masthead__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.masthead__brand svg { color: var(--accent); }
.masthead__nav { display: flex; gap: 30px; }
.masthead__nav a {
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: color 0.15s, border-color 0.15s;
}
.masthead__nav a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- hero ---------- */

.hero { padding: 84px 0 96px; border-bottom: 1px solid var(--rule); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  align-items: start;
}
.lede { font-size: 19px; color: var(--ink-soft); max-width: 58ch; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 34px 0 18px; }
.hero__note { font-size: 13.5px; color: var(--ink-faint); }

.editors-note {
  border-left: 3px solid var(--accent);
  background: var(--accent-tint);
  padding: 28px 28px 24px;
  border-radius: 0 12px 12px 0;
  margin-top: 52px;
}
.editors-note__label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 12px;
}
.editors-note__text { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 12px; }
.editors-note__byline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-faint);
}

/* ---------- sections ---------- */

.section { padding: 88px 0; }
.section--tint { background: var(--paper-tint); }
.section__head { max-width: 640px; margin-bottom: 52px; }
.section__sub { font-size: 17px; color: var(--ink-soft); }

/* ---------- warning signs ---------- */

.signs-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 64px;
}
.sign {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
}
.sign__num {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sign h3 { margin-bottom: 6px; }
.sign p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- steps ---------- */

.steps { display: flex; flex-direction: column; }
.step {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid var(--rule);
}
.step:first-child { border-top: none; padding-top: 8px; }
.step__num {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--accent);
  font-style: italic;
}
.step__body h3 { margin-bottom: 8px; }
.step__body p { color: var(--ink-soft); max-width: 68ch; }

/* ---------- bridge ---------- */

.bridge {
  margin-top: 56px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 16px;
  padding: 48px 52px;
}
.bridge h3 { font-size: 26px; color: #fff; margin-bottom: 12px; }
.bridge p { color: #c3cdc7; max-width: 68ch; margin-bottom: 26px; }

/* ---------- picks ---------- */

.picks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.pick {
  position: relative;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 34px 28px 28px;
  display: flex;
  flex-direction: column;
}
.pick--featured {
  border: 2px solid var(--accent);
  box-shadow: 0 12px 32px rgba(28, 107, 72, 0.12);
}
.pick__badge {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--accent);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 99px;
}
.pick__badge--alt { background: var(--ink); }
.pick__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 4px;
}
.pick__head h3 { font-size: 23px; }
.pick__tagline { font-size: 14px; color: var(--ink-faint); font-style: italic; }

.score { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.score__num {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.score__meta { font-size: 10.5px; line-height: 1.3; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.06em; }

.pick__features {
  list-style: none;
  margin: 22px 0 26px;
  flex-grow: 1;
}
.pick__features li {
  position: relative;
  font-size: 14px;
  color: var(--ink-soft);
  padding: 7px 0 7px 26px;
  border-bottom: 1px dashed var(--rule);
}
.pick__features li:last-child { border-bottom: none; }
.pick__features li::before {
  content: "";
  position: absolute;
  left: 2px; top: 13px;
  width: 12px; height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.pick__price { font-family: var(--serif); font-size: 22px; font-weight: 700; }
.pick__price span { font-family: var(--sans); font-size: 12.5px; font-weight: 400; color: var(--ink-faint); }
.pick__guarantee { font-size: 12.5px; color: var(--accent); font-weight: 600; margin: 4px 0 16px; }
.pick__disclaimer { font-size: 11px; color: var(--ink-faint); text-align: center; margin-top: 10px; }

/* ---------- comparison table ---------- */

.table-scroll { overflow-x: auto; margin-top: 64px; }
.compare {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
  font-size: 14.5px;
}
.compare th, .compare td { padding: 14px 22px; text-align: left; }
.compare thead th {
  font-family: var(--serif);
  font-size: 17px;
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
}
.compare__featured { color: var(--accent); }
.compare tbody td { border-bottom: 1px solid var(--rule); color: var(--ink-soft); }
.compare tbody td:first-child { color: var(--ink); font-weight: 500; }
.compare tbody tr:nth-child(even) { background: var(--paper); }
.compare tfoot td { padding: 16px 22px; background: var(--paper); }
.table-note { font-size: 12.5px; color: var(--ink-faint); margin-top: 14px; max-width: 70ch; }

/* ---------- FAQ ---------- */

.faq__item { border-top: 1px solid var(--rule); }
.faq__item:last-child { border-bottom: 1px solid var(--rule); }
.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  list-style: none;
  padding: 22px 4px;
  font-family: var(--serif);
  font-size: 18.5px;
  font-weight: 600;
  transition: color 0.15s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent); }
.faq__icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  transition: transform 0.2s ease;
}
.faq__icon::before { left: 0; top: 8px; width: 18px; height: 2px; }
.faq__icon::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq__item[open] .faq__icon::after { transform: scaleY(0); }
.faq__answer { padding: 0 4px 24px; }
.faq__answer p { font-size: 15px; color: var(--ink-soft); max-width: 68ch; }

/* ---------- disclosure ---------- */

.disclosure {
  border: 1px solid var(--rule);
  border-left: 4px solid var(--amber);
  border-radius: 10px;
  background: #fff;
  padding: 32px 36px;
}
.disclosure h3 { font-size: 19px; margin-bottom: 12px; }
.disclosure p { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 10px; }
.disclosure p:last-child { margin-bottom: 0; }

/* ---------- footer ---------- */

.footer { border-top: 1px solid var(--rule); padding: 40px 0 48px; }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.footer__brand { font-family: var(--serif); font-weight: 700; font-size: 17px; }
.footer__nav { display: flex; gap: 24px; }
.footer__nav a { font-size: 13.5px; color: var(--ink-soft); text-decoration: none; }
.footer__nav a:hover { color: var(--accent); }
.footer__copy { font-size: 12.5px; color: var(--ink-faint); }

/* ---------- reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .editors-note { margin-top: 0; }
  .signs-list { grid-template-columns: 1fr; }
  .picks { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .masthead__nav { display: none; }
  .sticky-bar__tag { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .hero { padding: 56px 0 64px; }
  .section { padding: 64px 0; }
  .step { grid-template-columns: 1fr; gap: 8px; }
  .bridge { padding: 36px 28px; }
  .hero__cta .btn { width: 100%; text-align: center; }
}