:root {
  --bg: #F4EFE5;
  --bg-card: #ffffff;
  --bg-soft: #EEE7D8;
  --ink: #1a1a1a;
  --ink-soft: #444444;
  --ink-muted: #888888;
  --accent: #BE644A;
  --accent-soft: #f1d9d0;
  --good: #2f7a4a;
  --rule: #e0dbd3;
  --sans: "Inter Tight", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
}

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

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Header ── */
.header {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.4px;
  color: var(--ink);
  text-decoration: none;
}
.brand .dot { color: var(--accent); }
.header-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.header-cta:hover { color: var(--accent); text-decoration: none; }

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 56px 0 32px;
}
.hero-chip {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.hero h1 {
  font-family: var(--sans);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: 20px;
}
.hero h1 .accent {
  color: var(--accent);
  font-style: italic;
  font-family: var(--display);
  font-weight: 500;
}
.hero-sub {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 620px;
  margin: 0 auto 32px;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.cta-btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.15s, opacity 0.15s;
}
.cta-btn:hover {
  transform: translateY(-1px);
  opacity: 0.92;
  text-decoration: none;
}
.cta-btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  border-radius: 10px;
  border: 1px solid var(--rule);
  text-decoration: none;
  transition: background 0.15s;
}
.cta-btn-secondary:hover {
  background: var(--bg-card);
  text-decoration: none;
}

/* ── Section ── */
.section {
  padding: 48px 0;
  border-top: 1px solid var(--rule);
}
.section h2 {
  font-family: var(--display);
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 500;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  color: var(--ink);
}
.section .lede {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 28px;
}
.section .lede strong { color: var(--ink); font-weight: 600; }

/* ── TL;DR cards ── */
.tldr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 640px) {
  .tldr-grid { grid-template-columns: 1fr; }
}
.tldr-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--rule);
}
.tldr-card.us { border-color: var(--accent); border-width: 2px; }
.tldr-card .tldr-name {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.tldr-card .tldr-price {
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
  margin: 12px 0 4px;
  letter-spacing: -1px;
}
.tldr-card .tldr-price .period {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0;
}
.tldr-card .tldr-sub {
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 16px;
}
.tldr-card .tldr-bullets {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.tldr-card .tldr-bullets li {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  padding-left: 22px;
  position: relative;
  margin-bottom: 6px;
}
.tldr-card .tldr-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  background: var(--accent-soft);
  border-radius: 50%;
}
.tldr-card .tldr-bullets li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ── Comparison table ── */
.compare-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--rule);
  background: var(--bg-card);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
.compare-table th, .compare-table td {
  padding: 14px 16px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--rule);
  vertical-align: middle;
}
.compare-table thead th {
  background: var(--bg-soft);
  font-weight: 600;
  font-size: 13px;
  color: var(--ink);
  letter-spacing: -0.1px;
}
.compare-table thead th.us {
  background: var(--accent-soft);
  color: var(--ink);
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table td.feat {
  font-weight: 500;
  color: var(--ink);
  width: 38%;
}
.compare-table td.val {
  color: var(--ink-soft);
  line-height: 1.5;
}
.compare-table td.val.us {
  background: rgba(190, 100, 74, 0.04);
  color: var(--ink);
  font-weight: 500;
}
.check {
  display: inline-block;
  color: var(--good);
  font-weight: 700;
  margin-right: 6px;
}
.cross {
  display: inline-block;
  color: var(--ink-muted);
  font-weight: 700;
  margin-right: 6px;
}

/* ── When-to-pick columns ── */
.pick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 640px) {
  .pick-grid { grid-template-columns: 1fr; }
}
.pick-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 24px;
}
.pick-card h3 {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--ink);
}
.pick-card ul {
  list-style: none;
  padding: 0;
}
.pick-card li {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  padding-left: 20px;
  position: relative;
  margin-bottom: 10px;
}
.pick-card li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 600;
}

/* ── Switcher offer ── */
.switcher-card {
  background: var(--accent);
  color: #fff;
  border-radius: 14px;
  padding: 36px;
  text-align: center;
}
.switcher-card h3 {
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  margin-bottom: 10px;
  color: #fff;
}
.switcher-card p {
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 22px;
  opacity: 0.92;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.switcher-card .switcher-cta {
  display: inline-block;
  padding: 14px 32px;
  background: #fff;
  color: var(--accent);
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
}
.switcher-card .switcher-cta:hover { opacity: 0.92; text-decoration: none; }
.switcher-card .small {
  margin-top: 14px;
  font-size: 13px;
  opacity: 0.8;
}

/* ── Testimonials ── */
.testimonial-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.testimonial-card {
  background: var(--bg-card);
  border-radius: 10px;
  padding: 18px;
  text-decoration: none;
  display: block;
  transition: box-shadow 0.15s;
}
.testimonial-card:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.06); text-decoration: none; }
.testimonial-card blockquote {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.testimonial-card .attribution {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-muted);
}
.testimonial-card .reddit-icon {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  filter: grayscale(1);
  opacity: 0.5;
}

/* ── FAQ ── */
.faq details {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 22px;
  color: var(--ink-muted);
  font-weight: 400;
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ── Bottom CTA ── */
.bottom-cta {
  text-align: center;
  padding: 56px 0;
}
.bottom-cta h2 {
  font-family: var(--display);
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 500;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.bottom-cta p {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 22px;
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--rule);
  padding: 24px 0 32px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-muted);
}
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 12px;
}
.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 13px;
}
.footer-links a:hover { color: var(--accent); }

.verified-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--ink-muted);
}

/* ── Editor comparison ── */
.editor-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}
@media (max-width: 768px) {
  .editor-compare-grid { grid-template-columns: 1fr; }
}
.editor-screenshot {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
  margin: 0;
  cursor: zoom-in;
  position: relative;
}
.editor-screenshot.us {
  border-color: var(--accent);
  border-width: 2px;
}
.editor-screenshot img {
  display: block;
  width: 100%;
  height: auto;
}
.editor-screenshot::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(26, 26, 26, 0.78) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / 18px no-repeat;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.15s ease-out;
  pointer-events: none;
}
.editor-screenshot:hover::after {
  opacity: 1;
}
.editor-screenshot figcaption {
  padding: 14px 18px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
  border-top: 1px solid var(--rule);
  cursor: default;
}
.editor-screenshot.us figcaption {
  background: rgba(190, 100, 74, 0.04);
}
.editor-screenshot figcaption strong {
  color: var(--ink);
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

/* ── Lightbox (editor screenshot expand) ── */
.compare-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: zoom-out;
  animation: compareLightboxFadeIn 0.15s ease-out;
}
.compare-lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}
.compare-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.15s;
}
.compare-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.28);
}
@keyframes compareLightboxFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (max-width: 640px) {
  .compare-lightbox { padding: 16px; }
}

/* ── Header "Compare with" dropdown ── */
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.compare-dropdown {
  position: relative;
}
.compare-dropdown summary {
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  user-select: none;
  padding: 4px 0;
}
.compare-dropdown summary::-webkit-details-marker { display: none; }
.compare-dropdown summary::after {
  content: " ▾";
  font-size: 15px;
  margin-left: 2px;
  color: var(--ink-muted);
}
.compare-dropdown[open] summary::after {
  content: " ▴";
  color: var(--accent);
}
.compare-dropdown summary:hover { color: var(--accent); }
.compare-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 6px;
  min-width: 220px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  z-index: 50;
}
.compare-dropdown-menu a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.compare-dropdown-menu a:hover {
  background: var(--bg-soft);
  color: var(--accent);
  text-decoration: none;
}
.compare-dropdown-menu a.current {
  color: var(--accent);
  background: var(--accent-soft);
}
