:root {
  color-scheme: light dark;
  --brand: #d97b06;
  --brand-dark: #b56505;
  --btn-hover: #b56505;
  --brand-soft: #fdf3e3;
  --ink: #241d12;
  --muted: #6f6656;
  --bg: #faf7f2;
  --card: #ffffff;
  --border: #ece5d8;
  --header-bg: rgba(250, 247, 242, 0.92);
  --dark-panel: #241d12;
  --badge-border: #f3ddb8;
  --radius: 12px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand: #e08a1a;
    --brand-dark: #f0a54f;
    --btn-hover: #c9770a;
    --brand-soft: #33270f;
    --ink: #f0e9dd;
    --muted: #a89d8a;
    --bg: #191512;
    --card: #211c17;
    --border: #383026;
    --header-bg: rgba(25, 21, 18, 0.9);
    --dark-panel: #14100d;
    --badge-border: #4a3a1d;
  }
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 15px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 1060px; margin: 0 auto; padding: 0 24px; }
a { color: var(--brand-dark); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 10px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 0.1s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-brand {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 1px 6px rgba(217, 123, 6, 0.28);
}
.btn-brand:hover { background: var(--btn-hover); transform: translateY(-1px); }
.btn-outline {
  border: 1px solid var(--border);
  color: var(--ink);
  background: var(--card);
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn-lg { padding: 14px 30px; font-size: 1.05rem; }

/* Header */
h1, h2, h3 { font-weight: 650; }
header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 650; font-size: 1.15rem; color: var(--ink); text-decoration: none;
}
.logo-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-actions .btn { padding: 9px 18px; font-size: 0.95rem; }
.nav-link { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem; margin-right: 8px; }
.nav-link:hover { color: var(--brand-dark); }

/* Hero */
.hero { padding: 88px 0 72px; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: 56px; align-items: center;
}
.badge {
  display: inline-block; padding: 4px 13px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-dark);
  font-size: 0.85rem; font-weight: 550; margin-bottom: 20px;
  border: 1px solid var(--badge-border);
}
h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
  line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 20px;
}
h1 em { font-style: normal; color: var(--brand); }
.hero p.lead { font-size: 1.2rem; color: var(--muted); margin-bottom: 32px; max-width: 34em; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-note { font-size: 0.88rem; color: var(--muted); margin-top: 14px; }

/* Phone mockup */
.phone {
  width: 290px; margin: 0 auto;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 32px; padding: 18px;
  box-shadow: 0 18px 48px rgba(36, 29, 18, 0.11);
  transform: rotate(2deg);
}
.phone-screen {
  border-radius: 20px; background: var(--bg);
  padding: 28px 18px; text-align: center;
}
.phone-logo {
  width: 52px; height: 52px; border-radius: 14px; background: var(--brand-soft);
  margin: 0 auto 12px; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
}
.phone-q { font-weight: 700; font-size: 1.05rem; line-height: 1.35; margin-bottom: 18px; }
.phone-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.phone-btn {
  padding: 18px 8px; border-radius: 12px; font-weight: 600; font-size: 0.95rem;
}
.phone-btn.yes { background: var(--brand); color: #fff; }
.phone-btn.no { background: var(--card); border: 1.5px solid var(--border); }
.phone-hint { font-size: 0.7rem; color: var(--muted); margin-top: 14px; }

/* Sections */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.01em; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
}
.step-num {
  width: 32px; height: 32px; border-radius: 999px;
  background: var(--brand); color: #fff; font-weight: 600; font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.97rem; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 24px;
}
.feature-icon { font-size: 1.6rem; margin-bottom: 12px; }
.feature h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 0.95rem; }

/* Coming soon */
.soon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.soon {
  background: var(--card); border: 1px dashed var(--border);
  border-radius: var(--radius); padding: 22px 20px; position: relative;
}
.soon-tag {
  position: absolute; top: 14px; right: 14px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em;
  background: var(--brand-soft); color: var(--brand-dark);
  padding: 3px 9px; border-radius: 999px; text-transform: uppercase;
}
.soon .feature-icon { font-size: 1.45rem; margin-bottom: 10px; }
.soon h3 { font-size: 0.98rem; margin-bottom: 5px; padding-right: 52px; }
.soon p { color: var(--muted); font-size: 0.88rem; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.plan {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 22px;
  display: flex; flex-direction: column; position: relative;
}
.plan.featured { border: 2px solid var(--brand); box-shadow: 0 12px 34px rgba(217, 123, 6, 0.14); }
.plan-tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; white-space: nowrap;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px;
}
.plan h3 { font-size: 1.05rem; margin-bottom: 2px; }
.plan-scope { color: var(--muted); font-size: 0.9rem; margin-bottom: 16px; }
.plan-price { font-size: 1.85rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.plan-price span { font-size: 0.92rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; margin: 16px 0 0; display: grid; gap: 8px; font-size: 0.88rem; color: var(--muted); }
.plan li::before { content: "✓"; color: var(--brand); font-weight: 700; margin-right: 8px; }
.plan-limits { color: var(--muted); font-size: 0.82rem; margin: 10px 0 20px; }
.plan .btn { margin-top: auto; text-align: center; }
.pricing-note { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 18px; }

/* Beta CTA */
.beta-box {
  background: var(--dark-panel); color: #f5f1ea;
  border-radius: 20px; padding: 56px 40px; text-align: center;
}
.beta-box h2 { color: #f5f1ea; }
.beta-box .price { font-size: 2.5rem; font-weight: 700; margin: 10px 0 4px; color: #f5b04c; }
.beta-box p { color: rgba(245, 241, 234, 0.72); max-width: 34em; margin: 0 auto 8px; }
.beta-box .until { font-weight: 550; color: #f5f1ea; margin-bottom: 28px; }
.beta-box .btn-brand { box-shadow: none; }

/* FAQ */
.faq { max-width: 720px; margin: 0 auto; }
details {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 22px; margin-bottom: 12px;
}
summary { font-weight: 600; cursor: pointer; list-style: none; position: relative; padding-right: 28px; }
summary::after { content: "+"; position: absolute; right: 2px; top: 0; color: var(--brand); font-size: 1.2rem; font-weight: 700; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin-top: 10px; font-size: 0.97rem; }

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 36px 0; font-size: 0.9rem; color: var(--muted);
}
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); text-decoration: none; margin-left: 18px; }
footer a:hover { color: var(--brand-dark); }

@media (max-width: 980px) {
  .pricing { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero { padding: 56px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .phone { transform: none; }
  .steps, .features { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .soon-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 52px 0; }
  .plan.featured { order: -1; }
}
@media (max-width: 640px) {
  .nav-link { display: none; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn { padding: 8px 14px; font-size: 0.88rem; }
  .logo { font-size: 1.05rem; }
  .logo-mark { width: 30px; height: 30px; }
}
@media (max-width: 480px) {
  .soon-grid { grid-template-columns: 1fr; }
  .nav-actions .btn-outline { display: none; }
}
@media (prefers-color-scheme: dark) {
  .btn-brand { box-shadow: none; }
  .phone { box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45); }
  .plan.featured { box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35); }
  .beta-box { border: 1px solid var(--border); }
}

/* ===== Subpages: breadcrumbs, page hero, prose, magazine ===== */
.crumbs { font-size: 0.85rem; color: var(--muted); padding: 18px 0 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand-dark); }
.crumbs span { margin: 0 6px; }

.page-hero { padding: 48px 0 20px; }
.page-hero h1 { margin-bottom: 14px; max-width: 20em; }
.page-hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 38em; margin-bottom: 8px; }
.page-meta { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }

/* Long-form article/prose */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { margin: 44px 0 14px; font-size: 1.5rem; }
.prose h3 { margin: 30px 0 10px; font-size: 1.15rem; }
.prose p, .prose li { color: var(--ink); }
.prose > p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 16px 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { font-weight: 650; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0 24px; font-size: 0.95rem; }
.prose th, .prose td { border: 1px solid var(--border); padding: 9px 12px; text-align: left; }
.prose th { background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; }
.prose blockquote {
  border-left: 3px solid var(--brand); background: var(--card);
  padding: 14px 18px; margin: 18px 0 24px; border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--muted); font-style: italic;
}
.prose .box {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 22px; margin: 18px 0 24px;
}
.prose .box.tipp { border-left: 3px solid var(--brand); }

/* Inline CTA in articles */
.cta-inline {
  background: var(--brand-soft); border: 1px solid var(--badge-border);
  border-radius: var(--radius); padding: 24px 26px; margin: 34px 0;
}
.cta-inline h3 { margin: 0 0 6px; }
.cta-inline p { color: var(--muted); margin-bottom: 14px; }

/* Magazine cards */
.mag-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mag-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column;
  text-decoration: none; color: var(--ink);
  transition: border-color 0.15s ease, transform 0.1s ease;
}
.mag-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.mag-card .mag-tag {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--brand-dark); margin-bottom: 10px;
}
.mag-card h3 { font-size: 1.08rem; margin-bottom: 8px; line-height: 1.35; }
.mag-card p { color: var(--muted); font-size: 0.92rem; }
.mag-card .mag-more { margin-top: auto; padding-top: 14px; color: var(--brand-dark); font-weight: 550; font-size: 0.9rem; }

/* Related links */
.related { border-top: 1px solid var(--border); margin-top: 44px; padding-top: 28px; }
.related h2 { font-size: 1.2rem; margin-bottom: 16px; }
.related ul { list-style: none; margin: 0; display: grid; gap: 10px; }
.related a { font-weight: 550; }

/* Footer nav columns */
.footer-cols {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
  padding-bottom: 28px; margin-bottom: 24px; border-bottom: 1px solid var(--border);
}
.footer-cols h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 12px; font-weight: 600; }
.footer-cols ul { list-style: none; display: grid; gap: 8px; }
.footer-cols a { margin: 0; }
.footer-brand p { color: var(--muted); font-size: 0.9rem; max-width: 26em; margin-top: 10px; }

@media (max-width: 860px) {
  .mag-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

/* ===== Ad landing pages: no-nav header, punchy hero, pain list, trust strip, sticky mobile CTA ===== */
.ad-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.ad-nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.ad-nav .logo { pointer-events: none; }

.ad-hero { padding: 56px 0 40px; text-align: center; }
.ad-hero .badge { margin-bottom: 20px; }
.ad-hero h1 {
  font-size: clamp(2rem, 4.8vw, 3.1rem); line-height: 1.15; letter-spacing: -0.02em;
  max-width: 18em; margin: 0 auto 18px;
}
.ad-hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 32em; margin: 0 auto 30px; }
.ad-hero .hero-ctas { justify-content: center; }
.ad-hero .hero-note { text-align: center; margin-top: 16px; }
.ad-hero .phone { margin: 40px auto 0; }

.center { text-align: center; }
.section-narrow { max-width: 640px; margin: 0 auto; }

.pain-list { max-width: 640px; margin: 0 auto; display: grid; gap: 14px; }
.pain-item {
  display: flex; gap: 14px; align-items: flex-start; text-align: left;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 20px;
}
.pain-item .mark {
  flex: none; width: 28px; height: 28px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-dark);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.95rem;
}
.pain-item p { margin: 0; color: var(--ink); }
.pain-bridge { text-align: center; font-weight: 600; font-size: 1.15rem; margin-top: 28px; }

.trust-strip {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px;
  padding: 8px 0 4px;
}
.trust-strip .item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.9rem; color: var(--muted); font-weight: 550;
}
.trust-strip .item .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--brand); flex: none; }

.final-cta { padding: 8px 0 4px; text-align: center; }
.final-cta h2 { margin-bottom: 10px; }
.final-cta p { color: var(--muted); max-width: 34em; margin: 0 auto 26px; }

.ad-footer {
  padding: 26px 0 90px; text-align: center; font-size: 0.85rem; color: var(--muted);
  border-top: 1px solid var(--border); margin-top: 8px;
}
.ad-footer a { color: var(--muted); margin: 0 8px; }
.ad-footer a:hover { color: var(--brand-dark); }

.sticky-cta { display: none; }
@media (max-width: 640px) {
  .ad-footer { padding-bottom: 26px; }
  .sticky-cta {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
    background: var(--card); border-top: 1px solid var(--border);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 20px rgba(36, 29, 18, 0.1);
  }
  .sticky-cta .btn { width: 100%; text-align: center; }
  body.has-sticky-cta { padding-bottom: 76px; }
  .ad-footer { padding-bottom: 90px; }
}

/* ===== Cookie consent banner ===== */
.consent-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: var(--card); border-top: 1px solid var(--border);
  box-shadow: 0 -8px 30px rgba(36, 29, 18, 0.14);
  padding: 18px 20px;
}
.consent-banner .consent-inner {
  max-width: 1060px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.consent-banner p { margin: 0; color: var(--ink); font-size: 0.92rem; max-width: 46em; }
.consent-actions { display: flex; gap: 10px; flex: none; }
.consent-banner .btn { padding: 10px 18px; font-size: 0.92rem; white-space: nowrap; border: none; cursor: pointer; font-family: inherit; }
.consent-banner .btn-outline { border: 1px solid var(--border); }
@media (max-width: 640px) {
  .consent-banner .consent-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .consent-actions { justify-content: center; }
  .consent-banner .btn { flex: 1; }
}
@media (max-width: 640px) {
  body.has-sticky-cta .consent-banner { bottom: 62px; }
}
