/* ===== DESIGN TOKENS ===== */
:root {
  --ink: #0e1726;
  --ink-soft: #475067;
  --line: #e4e8f0;
  --bg: #ffffff;
  --soft: #f6f8fc;
  --brand: #0b6b4f;
  --brand-dark: #085640;
  --brand-soft: #e6f3ee;
  --gold: #c98a1a;
  --gold-soft: #fbf2df;
  --cta: #16a34a;
  --cta-dark: #15803d;
  --shadow: 0 1px 2px rgba(14,23,38,.06), 0 8px 24px rgba(14,23,38,.06);
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.sans { font-family: -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== BREADCRUMB ===== */
.crumb {
  font-family: -apple-system, 'Segoe UI', sans-serif;
  font-size: 13px;
  color: var(--ink-soft);
  padding: 18px 0 0;
}
.crumb a { color: var(--brand); }
.crumb a:hover { text-decoration: underline; }

/* ===== BUTTONS ===== */
.btn {
  font-family: -apple-system, 'Segoe UI', sans-serif;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  transition: .18s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--cta);
  color: #fff;
  padding: 15px 28px;
  font-size: 16px;
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--cta-dark); transform: translateY(-2px); }
.btn-ghost {
  color: var(--ink);
  padding: 15px 22px;
  font-size: 15px;
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* ===== HERO ===== */
.hero { padding: 48px 0 48px; background: linear-gradient(180deg, var(--soft), #fff); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  font-family: -apple-system, 'Segoe UI', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
h1 { font-size: 42px; line-height: 1.12; letter-spacing: -1px; margin-bottom: 18px; }
.lede { font-size: 18px; color: var(--ink-soft); margin-bottom: 26px; max-width: 30em; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
  font-family: -apple-system, 'Segoe UI', sans-serif;
  font-size: 13px;
  color: var(--ink-soft);
}
.trust-row span { display: flex; align-items: center; gap: 7px; }
.tick { color: var(--brand); font-weight: 700; }

/* ===== MINI WIZARD (homepage) ===== */
.wizard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--shadow);
  font-family: -apple-system, 'Segoe UI', sans-serif;
}
.wizard h3 { font-size: 17px; margin-bottom: 4px; }
.wizard p { font-size: 13px; color: var(--ink-soft); margin-bottom: 18px; }
.wq { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.opts { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.opt {
  text-align: left;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: .15s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-family: -apple-system, 'Segoe UI', sans-serif;
}
.opt:hover { border-color: var(--brand); background: var(--brand-soft); }
.opt b { display: block; font-size: 14px; }
.opt small { color: var(--ink-soft); font-size: 12px; }
.wiz-result { display: none; text-align: center; padding: 8px 0; }
.wiz-result.show { display: block; }
.wiz-badge {
  display: inline-block;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 13px;
  margin-bottom: 12px;
}

/* ===== SECTIONS ===== */
section { padding: 64px 0; }
.sec-head { text-align: center; max-width: 36em; margin: 0 auto 44px; }
.sec-head h2 { font-size: 32px; letter-spacing: -.6px; margin-bottom: 12px; }
.sec-head p { font-family: -apple-system, 'Segoe UI', sans-serif; color: var(--ink-soft); font-size: 16px; }

/* ===== PRODUCT HERO (product pages) ===== */
.product-hero { padding: 24px 0 48px; }
.product-hero h1 .hl{background:linear-gradient(120deg,var(--trust),var(--sky));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.product-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 44px;
  align-items: start;
}

/* ===== BUY BOX ===== */
.buybox {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  box-shadow: var(--shadow);
  font-family: -apple-system, 'Segoe UI', sans-serif;
  position: sticky;
  top: 80px;
}
.buybox .tier {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brand);
}
.buybox .price {
  font-size: 34px;
  font-weight: 800;
  margin: 8px 0 2px;
  color: var(--ink);
}
.buybox .per { font-size: 13px; color: var(--ink-soft); margin-bottom: 18px; }
.buybox ul { list-style: none; font-size: 14px; color: var(--ink-soft); margin-bottom: 20px; }
.buybox li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  border-bottom: 1px solid var(--soft);
}
.buybox li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.buybox .btn-primary { width: 100%; }
.buybox .note {
  font-size: 12px;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 10px;
  line-height: 1.4;
}

/* ===== COMPARISON CARDS ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: .2s;
  position: relative;
}
.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: var(--brand);
}
.card.featured { border: 2px solid var(--brand); }
.ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-family: -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 99px;
  white-space: nowrap;
}
.card .tier {
  font-family: -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
}
.card .name { font-size: 22px; margin-bottom: 6px; letter-spacing: -.4px; }
.card .who {
  font-family: -apple-system, sans-serif;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 18px;
  min-height: 38px;
}
.card ul {
  list-style: none;
  font-family: -apple-system, sans-serif;
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 22px;
  flex: 1;
}
.card li {
  padding: 7px 0;
  padding-left: 24px;
  position: relative;
  border-bottom: 1px solid var(--soft);
}
.card li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.price { font-family: -apple-system, sans-serif; margin-bottom: 18px; }
.price .amt { font-size: 30px; font-weight: 700; color: var(--ink); }
.price .per { font-size: 13px; color: var(--ink-soft); }
.card .btn { width: 100%; }
.card .disclaim {
  font-family: -apple-system, sans-serif;
  font-size: 11px;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 10px;
  line-height: 1.4;
}

/* ===== 6-CARD GRID (all certificates page) ===== */
.cards-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ===== FEATURES GRID (product pages) ===== */
.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat .card { border: 1px solid var(--line); border-radius: 14px; padding: 24px; font-family: -apple-system, sans-serif; }
.feat .ic {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--brand-soft);
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 14px;
}
.feat h3 { font-size: 17px; margin-bottom: 7px; font-family: -apple-system, sans-serif; }
.feat p { font-size: 14px; color: var(--ink-soft); }

/* ===== WHO IT'S FOR (product pages) ===== */
.who { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; font-family: -apple-system, sans-serif; }
.who .row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.who .row .m { font-size: 22px; flex-shrink: 0; }
.who h4 { font-size: 15px; margin-bottom: 4px; font-family: -apple-system, sans-serif; }
.who p { font-size: 14px; color: var(--ink-soft); }

/* ===== TRUST BAND ===== */
.band { background: var(--ink); color: #fff; }
.band .wrap { padding: 48px 24px; }
.band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
  font-family: -apple-system, sans-serif;
}
.band .num { font-size: 34px; font-weight: 800; color: #8fe3c0; letter-spacing: -1px; }
.band .lbl { font-size: 13px; color: #aeb8c9; margin-top: 4px; }

/* ===== HOW IT WORKS ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; font-family: -apple-system, sans-serif; }
.step { text-align: center; padding: 0 12px; }
.step .n {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 800;
  font-size: 19px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}
.step h4 { font-size: 17px; margin-bottom: 8px; font-family: -apple-system, sans-serif; }
.step p { font-size: 14px; color: var(--ink-soft); }

/* ===== COMPARISON TABLE ===== */
.compare-table { width: 100%; border-collapse: collapse; font-family: -apple-system, sans-serif; font-size: 14px; }
.compare-table th {
  background: var(--soft);
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  border-bottom: 2px solid var(--line);
  color: var(--ink);
}
.compare-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  vertical-align: middle;
}
.compare-table tr:hover td { background: var(--soft); }
.compare-table .yes { color: var(--brand); font-weight: 700; }
.compare-table .no { color: #ccc; }
.compare-table .cert-name { font-weight: 700; color: var(--ink); font-size: 15px; }

/* ===== FAQ ===== */
.faq { max-width: 760px; margin: 0 auto; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  font-family: -apple-system, 'Segoe UI', sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 20px 40px 20px 0;
  cursor: pointer;
  position: relative;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 18px;
  font-size: 24px;
  color: var(--brand);
  transition: .2s;
}
.qa[open] summary::after { content: "−"; }
.qa p {
  font-family: -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink-soft);
  font-size: 15px;
  padding: 0 40px 22px 0;
}

/* ===== FINAL CTA ===== */
.final {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  text-align: center;
  border-radius: 24px;
  padding: 56px 32px;
  margin: 0 0 64px;
}
.final h2 { font-size: 34px; letter-spacing: -.6px; margin-bottom: 14px; }
.final p {
  font-family: -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  opacity: .92;
  margin-bottom: 28px;
  max-width: 30em;
  margin-left: auto;
  margin-right: auto;
}
.final .btn-primary { background: #fff; color: var(--brand-dark); }
.final .btn-primary:hover { background: #f0f0f0; transform: translateY(-2px); }

/* ===== TOOLS GRID ===== */
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tool-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  background: #fff;
  transition: .2s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tool-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: var(--brand);
}
.tool-card .ic {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-soft);
  display: grid;
  place-items: center;
  font-size: 22px;
}
.tool-card h3 {
  font-family: -apple-system, sans-serif;
  font-size: 17px;
  font-weight: 700;
}
.tool-card p {
  font-family: -apple-system, sans-serif;
  font-size: 14px;
  color: var(--ink-soft);
  flex: 1;
}
.tool-card a {
  font-family: -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
}
.tool-card a:hover { text-decoration: underline; }

/* ===== TOOL TOOL PAGE ===== */
.tool-wrapper {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  font-family: -apple-system, 'Segoe UI', sans-serif;
  max-width: 760px;
  margin: 0 auto;
}
.tool-wrapper label { font-size: 14px; font-weight: 600; display: block; margin-bottom: 6px; }
.tool-wrapper textarea, .tool-wrapper input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: monospace;
  font-size: 13px;
  background: #fff;
  color: var(--ink);
  margin-bottom: 16px;
  resize: vertical;
}
.tool-wrapper button {
  background: var(--cta);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: -apple-system, sans-serif;
  transition: .15s;
}
.tool-wrapper button:hover { background: var(--cta-dark); }
.tool-result {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  margin-top: 16px;
  font-family: monospace;
  font-size: 13px;
  white-space: pre-wrap;
  word-break: break-all;
  min-height: 60px;
}

/* ===== BLOG ===== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition: .2s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.blog-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.blog-cat {
  font-family: -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: .8px;
  text-transform: uppercase;
}
.blog-card h3 {
  font-size: 18px;
  letter-spacing: -.3px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card p {
  font-family: -apple-system, sans-serif;
  font-size: 14px;
  color: var(--ink-soft);
  flex: 1;
}
.blog-card .read-more {
  font-family: -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
}

/* ===== WIZARD PAGE ===== */
.wizard-page {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
  font-family: -apple-system, 'Segoe UI', sans-serif;
}
.wiz-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 28px;
}
.wiz-progress .dot {
  height: 4px;
  flex: 1;
  border-radius: 99px;
  background: var(--line);
  transition: .3s;
}
.wiz-progress .dot.active { background: var(--brand); }
.wiz-q { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.wiz-sub { font-size: 14px; color: var(--ink-soft); margin-bottom: 22px; }
.wiz-opts { display: flex; flex-direction: column; gap: 10px; }
.wiz-opt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: .15s;
  background: #fff;
  width: 100%;
  text-align: left;
  font-family: -apple-system, sans-serif;
}
.wiz-opt:hover { border-color: var(--brand); background: var(--brand-soft); }
.wiz-opt b { display: block; font-size: 15px; }
.wiz-opt small { color: var(--ink-soft); font-size: 13px; }
.wiz-back {
  background: none;
  border: none;
  color: var(--ink-soft);
  font-size: 13px;
  cursor: pointer;
  margin-top: 16px;
  font-family: -apple-system, sans-serif;
}
.wiz-back:hover { color: var(--brand); }
.wiz-result-card {
  text-align: center;
  padding: 16px 0;
}
.wiz-result-badge {
  display: inline-block;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 99px;
  font-size: 14px;
  margin-bottom: 16px;
}

/* ===== RESPONSIVE ===== */
.aff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

@media (max-width: 900px) {
  .hero-grid, .product-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .cards, .cards-6, .feat, .tools-grid, .blog-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .band-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .who { grid-template-columns: 1fr; }
  h1 { font-size: 32px; }
  .sec-head h2 { font-size: 26px; }
  .buybox { position: static; }
  .compare-table { font-size: 12px; display: block; overflow-x: auto; }
  .wizard-page { padding: 24px; }
  .aff-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .final { padding: 40px 20px; }
  .final h2 { font-size: 26px; }
  .cards-6 { grid-template-columns: 1fr; }
}
