/* Shared site styles — mobile-first, no third-party font CDN */
:root {
  --ink: #141014;
  --ink-soft: #2a2328;
  --paper: #faf7f4;
  --paper-2: #f1ebe6;
  --line: #e2d8d1;
  --muted: #6d635f;
  --accent: #9c2f4a;
  --accent-dark: #7a2439;
  --ok: #1f5c45;
  --warn: #8a4b16;
  --max: 720px;
  --wide: 1040px;
  --radius: 12px;
  --shadow: 0 12px 40px rgba(20, 16, 20, 0.08);
  --header-h: 7.5rem;
  --sticky-h: 5.25rem;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-body: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --tap: 44px;
  --page-gutter: 1.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 8% -8%, #f6e8e4 0%, transparent 55%),
    radial-gradient(700px 420px at 100% 0%, #e8eef2 0%, transparent 50%),
    var(--paper);
  line-height: 1.65;
  font-size: 1rem;
  padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom, 0px));
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: .75rem 1rem;
  z-index: 1000;
}
.skip:focus { left: 1rem; top: 1rem; }

.wrap {
  width: 100%;
  max-width: var(--wide);
  margin-inline: auto;
  padding-left: max(var(--page-gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--page-gutter), env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}
/* Prevent double side padding when .wrap nests inside .wrap */
.wrap .wrap {
  padding-left: 0;
  padding-right: 0;
  max-width: none;
}
.narrow {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
}

/* Sticky sections clear fixed header */
section[id],
#top {
  scroll-margin-top: calc(var(--header-h) + 0.5rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(250, 247, 244, 0.96);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}
.header-inner {
  display: grid;
  gap: .55rem;
  padding: .65rem 0 .7rem;
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.brand-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: min(58vw, 14rem);
}
.nav-anchors {
  display: flex;
  gap: .35rem;
  font-size: .78rem;
  overflow-x: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  mask-image: linear-gradient(90deg, #000 85%, transparent);
}
.nav-anchors::-webkit-scrollbar { display: none; }
.nav-anchors a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  min-height: var(--tap);
  display: inline-flex;
  align-items: center;
  padding: 0 .7rem;
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  border: 1px solid var(--line);
}
.nav-anchors a:hover { color: var(--ink); background: #fff; }
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: .82rem;
  min-height: var(--tap);
  padding: 0 1rem;
  border-radius: 999px;
  flex-shrink: 0;
}
.header-cta:hover { background: var(--ink-soft); color: #fff !important; }

.hero { padding: 1.1rem 0 0.85rem; }
.hero-panel {
  display: grid;
  gap: 1.15rem;
  padding: 1.35rem 1.2rem 1.45rem;
  border-radius: 20px;
  margin-inline: 0;
  background:
    linear-gradient(160deg, rgba(20,16,20,.95), rgba(42,35,40,.9)),
    radial-gradient(circle at 80% 20%, rgba(156,47,74,.35), transparent 45%);
  color: #f7f2ef;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  text-align: left;
}
.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
  width: 100%;
}
.hero-visual {
  position: relative;
  z-index: 1;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: #2a1c22;
  order: -1;
  min-height: 160px;
}
.hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  display: block;
}
.eyebrow {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: #d8c4c0;
  margin-bottom: .65rem;
  font-weight: 600;
}
h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 7.2vw, 3.2rem);
  line-height: 1.1;
  margin: 0 auto .75rem;
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: 12ch;
  text-align: center;
}
.hero-lead {
  margin: 0 auto 1.1rem;
  font-size: .98rem;
  color: #e8ddd8;
  max-width: 40ch;
  line-height: 1.55;
  text-align: center;
}
.cta-row {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  width: 100%;
  align-items: stretch;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: var(--tap);
  padding: .75rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-size: .92rem;
  text-align: center;
}
.btn-block-mobile { width: 100%; }
.btn-primary { background: #fff; color: var(--ink) !important; }
.btn-primary:hover { background: #f3ebe7; color: var(--ink) !important; }
.btn-secondary {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.4);
}
.btn-secondary:hover { border-color: #fff; color: #fff !important; }
.btn-accent { background: var(--accent); color: #fff !important; }
.btn-accent:hover { background: var(--accent-dark); color: #fff !important; }
.micro {
  margin: .75rem auto 0;
  font-size: .75rem;
  color: #cbbfb9;
  line-height: 1.45;
  text-align: center;
  max-width: 36ch;
}

.disclosure {
  margin: 1rem auto 0;
  padding: .9rem 1.05rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: .86rem;
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: var(--max);
  text-align: center;
}

section { padding: 2rem 0; }
section .narrow > h2,
.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4.5vw, 2.05rem);
  line-height: 1.2;
  margin: 0 auto .65rem;
  letter-spacing: -0.02em;
  text-align: center;
  max-width: 22ch;
}
.lede {
  color: var(--muted);
  margin: 0 auto 1.1rem;
  max-width: 52ch;
  font-size: .95rem;
  text-align: center;
}
p { margin: 0 0 .95rem; }
ul, ol { margin: 0 0 1.1rem; padding-left: 1.15rem; }
li { margin-bottom: .4rem; }
h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  margin: 1.4rem 0 .55rem;
  letter-spacing: -0.02em;
}

.verdict {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1rem;
  box-shadow: var(--shadow);
}
.callout {
  border-left: 3px solid var(--accent);
  padding: .15rem 0 .15rem .9rem;
  margin: 1rem 0 0;
  color: var(--ink-soft);
}

.takeaways {
  display: grid;
  gap: .65rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.takeaways li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .85rem .95rem;
  margin: 0;
}

.split { display: grid; gap: .85rem; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
}
.card h3 { margin-top: 0; font-size: 1.08rem; }
.card.for { border-top: 3px solid var(--ok); }
.card.against { border-top: 3px solid var(--warn); }

.feature-grid {
  display: grid;
  gap: .85rem;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.feature img {
  width: 100%;
  aspect-ratio: 640 / 420;
  object-fit: cover;
  background: var(--paper-2);
}
.feature-body { padding: .95rem; }
.feature h3 { margin: 0 0 .4rem; font-size: 1.08rem; }
.feature p { margin: 0; color: var(--muted); font-size: .93rem; }

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
}
.steps li {
  position: relative;
  padding: .95rem .95rem .95rem 3.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: .65rem;
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: .9rem;
  top: .95rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .82rem;
  font-weight: 700;
}

.pros-cons { display: grid; gap: .85rem; }
.pros h3, .cons h3 { margin-top: 0; }
.pros { background: #f3f8f5; border-color: #cfe0d7; }
.cons { background: #fbf5ef; border-color: #ead9c8; }

.table-hint {
  display: block;
  font-size: .8rem;
  color: var(--muted);
  margin: 0 0 .5rem;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: .84rem;
  min-width: 560px;
}
th, td {
  text-align: left;
  padding: .75rem .85rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  background: var(--paper-2);
  font-weight: 700;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink-soft);
  position: sticky;
  top: 0;
}
tr:last-child td { border-bottom: 0; }

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
}
.checklist li {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  padding: .75rem 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
  line-height: 1.45;
}
.checklist span.mark {
  flex: 0 0 1.1rem;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: .2rem;
  border: 2px solid var(--accent);
  border-radius: 4px;
  pointer-events: none;
}

.tree { display: grid; gap: .65rem; }
.tree-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .95rem;
}
.tree-item strong { display: block; margin-bottom: .3rem; }

details.faq {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 .95rem;
  margin-bottom: .55rem;
}
details.faq summary {
  cursor: pointer;
  font-weight: 600;
  min-height: var(--tap);
  padding: .85rem 1.75rem .85rem 0;
  list-style: none;
  display: flex;
  align-items: center;
  position: relative;
  line-height: 1.35;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-weight: 700;
  font-size: 1.15rem;
  width: 1.5rem;
  text-align: center;
}
details.faq[open] summary::after { content: "–"; }
details.faq[open] summary {
  border-bottom: 1px solid var(--line);
  margin-bottom: .65rem;
}
details.faq p:last-child { margin-bottom: .9rem; }

.final {
  background: var(--ink);
  color: #f7f2ef;
  border-radius: 20px;
  padding: 1.35rem 1.05rem;
  text-align: center;
}
.final h2 { color: #fff; margin-top: 0; margin-inline: auto; text-align: center; max-width: none; }
.final p { color: #e5d9d4; }
.final .btn-primary {
  margin-top: .35rem;
  width: min(100%, 22rem);
}
.final .micro { color: #cbbfb9; }

.trust {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1rem;
}
.trust h2 { margin-top: 0; }
.meta-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  color: var(--muted);
  font-size: .92rem;
}
.meta-list li { margin-bottom: .35rem; }

.section-cta {
  margin-top: 1.05rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  width: 100%;
}
.section-cta .btn { width: min(100%, 22rem); }
.section-cta .hint {
  font-size: .78rem;
  color: var(--muted);
  margin: 0;
  text-align: center;
  max-width: 36ch;
}

.site-footer {
  padding: 1.75rem 0 calc(1.25rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .86rem;
}
.site-footer a { color: var(--muted); }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .85rem;
  margin: 0 0 .9rem;
  padding: 0;
  list-style: none;
}
.footer-nav a {
  min-height: var(--tap);
  display: inline-flex;
  align-items: center;
}
.footer-nav li { margin: 0; }
.site-identity {
  margin: 0 0 .65rem;
  max-width: 60ch;
}

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding-top: .65rem;
  padding-bottom: calc(.65rem + env(safe-area-inset-bottom, 0px));
  padding-left: max(var(--page-gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--page-gutter), env(safe-area-inset-right, 0px));
  background: rgba(250, 247, 244, 0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  display: grid;
  gap: .25rem;
  box-shadow: 0 -8px 24px rgba(20,16,20,.06);
}
.sticky-cta .btn { width: 100%; min-height: var(--tap); }
.sticky-cta .hint {
  text-align: center;
  font-size: .7rem;
  color: var(--muted);
  margin: 0;
}

.prose {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem 1.15rem;
  box-shadow: var(--shadow);
}
.page-hero { padding: 1.5rem 0 .75rem; text-align: center; }
.page-hero h1 {
  max-width: 18ch;
  margin-inline: auto;
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  text-align: center;
}
.page-hero .lede { margin-inline: auto; }

/* Extra breathing room on very small phones */
@media (max-width: 419px) {
  :root { --page-gutter: 1.35rem; }
  .hero-panel { padding: 1.25rem 1.1rem 1.35rem; }
  .card, .verdict, .trust, .tree-item, .takeaways li { padding-inline: 1rem; }
}

/* Tablet+ : keep centered composition, widen gutters */
@media (min-width: 640px) {
  :root { --page-gutter: 1.75rem; }
  body { font-size: 1.05rem; }
  .hero-copy {
    max-width: 36rem;
    margin-inline: auto;
    align-items: center;
    text-align: center;
  }
  .cta-row {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  .btn-block-mobile { width: auto; min-width: 12rem; }
  .hero-visual { order: 0; }
  .section-cta {
    align-items: center;
  }
  .section-cta .btn { width: auto; min-width: 14rem; }
  .section-cta .hint { text-align: center; }
  .final .btn-primary { width: auto; min-width: 14rem; }
  .table-hint { display: none; }
  .nav-anchors { mask-image: none; }
  section .narrow > h2,
  .prose h2 {
    max-width: 24ch;
  }
}

@media (min-width: 720px) {
  :root {
    --header-h: 4.75rem;
    --page-gutter: 2rem;
  }
  .header-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .85rem 0;
  }
  .header-top { flex: 0 0 auto; gap: 1rem; }
  .brand-mark { max-width: none; font-size: 1.08rem; }
  .nav-anchors {
    flex: 1 1 auto;
    justify-content: center;
    gap: .45rem;
    font-size: .84rem;
    overflow: visible;
  }
  .nav-anchors a {
    background: transparent;
    border-color: transparent;
    padding: 0 .55rem;
  }
  .hero { padding: 2rem 0 1.25rem; }
  .hero-panel {
    grid-template-columns: 1fr 0.95fr;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem;
    border-radius: 24px;
    text-align: center;
  }
  .hero-copy { max-width: none; }
  .split { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .pros-cons { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .sticky-cta { display: none; }
  body { padding-bottom: 0; }
  section { padding: 2.75rem 0; }
  .final {
    text-align: center;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .final h2 { text-align: center; margin-inline: auto; }
  .final p { max-width: 42ch; }
  .final .btn-primary { width: auto; }
  .trust { text-align: center; }
  .trust ul { text-align: left; display: inline-block; margin-inline: auto; }
  .meta-list { text-align: center; }
  .card { text-align: left; }
  .verdict { text-align: left; }
}

@media (min-width: 960px) {
  :root { --page-gutter: 2.25rem; }
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-lead { font-size: 1.08rem; max-width: 34ch; }
  .narrow { max-width: 760px; }
}

@media (min-width: 1100px) {
  .nav-anchors a { font-size: .88rem; }
  :root { --page-gutter: 2.5rem; }
}
