/* NextRoundOn.me — shared marketing-page design system
   Used by static SEO/AEO/GEO landing pages (how-it-works, for-bars, for-customers,
   pricing, integrations, faq, blog). Mirrors the palette/tokens used in index.html
   and contact.html so these pages feel native to the product. */

:root {
  --bg:      #0B0500;
  --surface: #170900;
  --card:    #1F0D03;
  --border:  #3A1C08;
  --amber:   #E8820C;
  --gold:    #F5A623;
  --cream:   #FFF0DC;
  --muted:   #C4A882;
  --dimmer:  #7A6050;
  --success: #4CAF50;
  --danger:  #E53935;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--cream); }

ul, ol { padding-left: 1.25em; }
li { margin-bottom: 6px; }

/* ── NAV ── */
nav.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,5,0,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 900;
  color: var(--gold);
  display: flex; align-items: center; gap: 8px;
  text-decoration: none;
  white-space: nowrap;
}
.nav-brand:hover { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a, .nav-links button {
  background: none; border: none;
  color: var(--muted); font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem; font-weight: 500;
  padding: 8px 12px; border-radius: 6px;
  cursor: pointer; transition: all .2s; text-decoration: none;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links button:hover { color: var(--cream); background: var(--card); }
.nav-links a.active { color: var(--cream); }
.nav-links .btn-primary { background: var(--amber); color: var(--bg) !important; font-weight: 600; }
.nav-links .btn-primary:hover { background: var(--gold); }

.nav-hamburger {
  display: none;
  background: none; border: none;
  color: var(--muted); font-size: 1.5rem;
  cursor: pointer; padding: 8px; border-radius: 6px; line-height: 1;
}
.nav-hamburger:hover { color: var(--cream); }

.nav-mobile-menu {
  display: none;
  position: fixed; top: 64px; left: 0; right: 0;
  background: rgba(11,5,0,.98);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px 20px;
  z-index: 99;
  flex-direction: column; gap: 4px;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a, .nav-mobile-menu button {
  background: none; border: none;
  color: var(--muted); font-family: 'DM Sans', sans-serif;
  font-size: 1rem; font-weight: 500;
  padding: 12px 16px; border-radius: 8px;
  cursor: pointer; text-align: left; width: 100%;
  transition: all .2s; text-decoration: none;
}
.nav-mobile-menu a:hover, .nav-mobile-menu button:hover { color: var(--cream); background: var(--card); }

/* ── LAYOUT ── */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; margin: 0 auto; padding: 0 24px; }
section { padding: 64px 0; }
section.tight { padding: 40px 0; }
.section-border-top { border-top: 1px solid var(--border); }

.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 12px;
}
.lede { color: var(--muted); font-size: 1.05rem; max-width: 640px; }
.lede.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ── HERO ── */
.hero { padding: 72px 0 56px; text-align: center; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 900; margin-bottom: 18px; }
.hero .lede { margin: 0 auto 32px; font-size: 1.15rem; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: .95rem;
  padding: 12px 24px; border-radius: 8px; border: 1px solid transparent;
  cursor: pointer; transition: background .2s, transform .1s, border-color .2s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: var(--bg); }
.btn-primary:hover { background: var(--gold); color: var(--bg); }
.btn-outline { background: transparent; color: var(--cream); border-color: var(--border); }
.btn-outline:hover { border-color: var(--gold); color: var(--cream); }
.btn-lg { padding: 14px 30px; font-size: 1rem; }

/* ── CARDS / GRIDS ── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--cream); }
.card p { color: var(--muted); font-size: .92rem; }
.card .icon { font-size: 1.8rem; margin-bottom: 14px; display: block; }

.section-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; margin-bottom: 12px; }
.section-head { text-align: center; margin-bottom: 44px; }

/* ── STEPS ── */
.steps { counter-reset: step; display: grid; gap: 20px; }
.step {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 22px 24px;
}
.step-num {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--amber); color: var(--bg); font-weight: 700; font-family: 'Playfair Display', serif;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .92rem; }
.steps.grid-3 .step, .steps.grid-4 .step { flex-direction: column; }

/* ── PRICING ── */
.price-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 30px 26px; display: flex; flex-direction: column; gap: 16px;
  position: relative;
}
.price-card.featured { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.price-card .badge {
  position: absolute; top: -13px; left: 26px;
  background: var(--gold); color: var(--bg); font-size: .72rem; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; letter-spacing: .03em; text-transform: uppercase;
}
.price-card .plan-name { font-size: 1.2rem; font-weight: 700; color: var(--cream); }
.price-card .plan-price { font-size: 2.1rem; font-weight: 900; font-family: 'Playfair Display', serif; color: var(--cream); }
.price-card .plan-price span { font-size: .95rem; font-weight: 500; color: var(--muted); font-family: 'DM Sans', sans-serif; }
.price-card .plan-desc { color: var(--muted); font-size: .88rem; }
.price-card ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.price-card ul li { color: var(--cream); font-size: .9rem; display: flex; gap: 8px; }
.price-card ul li::before { content: "✓"; color: var(--gold); font-weight: 700; flex-shrink: 0; }

.fee-note {
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  padding: 16px 20px; color: var(--muted); font-size: .9rem;
}
.fee-note strong { color: var(--cream); }

/* ── FAQ (details/summary — crawlable + accessible, no JS required) ── */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 22px;
  font-weight: 600; color: var(--cream); font-size: 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; color: var(--amber); font-size: 1.3rem; font-weight: 400; flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-answer { padding: 0 22px 20px; color: var(--muted); font-size: .95rem; }
.faq-item .faq-answer p + p { margin-top: 10px; }

/* ── TABLE ── */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; }
table.compare { width: 100%; border-collapse: collapse; min-width: 560px; }
table.compare th, table.compare td { padding: 14px 18px; text-align: left; font-size: .9rem; border-bottom: 1px solid var(--border); }
table.compare th { color: var(--cream); background: var(--surface); font-weight: 600; }
table.compare td { color: var(--muted); }
table.compare tr:last-child td { border-bottom: none; }

/* ── INTEGRATION LOGOS ── */
.pos-card { text-align: center; }
.pos-card .pos-badge {
  width: 52px; height: 52px; border-radius: 12px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; color: #fff;
}

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, rgba(232,130,12,.12), rgba(245,166,35,.05));
  border: 1px solid var(--border); border-radius: 16px;
  padding: 48px 32px; text-align: center;
}
.cta-band h2 { font-size: 1.75rem; margin-bottom: 12px; }
.cta-band p { color: var(--muted); margin-bottom: 24px; }

/* ── BREADCRUMB ── */
.breadcrumb { font-size: .82rem; color: var(--dimmer); margin-bottom: 20px; }
.breadcrumb a { color: var(--dimmer); }
.breadcrumb a:hover { color: var(--gold); }

/* ── ARTICLE / BLOG ── */
.article-meta { color: var(--dimmer); font-size: .85rem; margin-bottom: 8px; }
.article-body h2 { font-size: 1.4rem; margin: 36px 0 14px; }
.article-body h3 { font-size: 1.15rem; margin: 28px 0 10px; color: var(--cream); }
.article-body p { color: var(--muted); margin-bottom: 16px; }
.article-body a { text-decoration: underline; }
.article-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 24px; display: flex; flex-direction: column; gap: 10px;
}
.article-card .eyebrow { margin-bottom: 0; }
.article-card h3 { font-size: 1.1rem; color: var(--cream); }
.article-card p { color: var(--muted); font-size: .9rem; }
.article-card .read-more { font-size: .85rem; font-weight: 600; margin-top: auto; }

/* ── FOOTER ── */
footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  color: var(--dimmer);
  font-size: .85rem;
}
footer.site-footer .footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px;
}
footer.site-footer .footer-brand { font-family: 'Playfair Display', serif; color: var(--gold); font-size: 1.2rem; font-weight: 900; margin-bottom: 10px; }
footer.site-footer h4 { font-family: 'DM Sans', sans-serif; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 12px; }
footer.site-footer ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
footer.site-footer a { color: var(--dimmer); }
footer.site-footer a:hover { color: var(--gold); }
footer.site-footer .footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; }

/* ── RESPONSIVE ── */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
}
@media (max-width: 860px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  footer.site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  nav.site-nav { padding: 0 16px; }
  .nav-brand { font-size: 1.2rem; }
  .wrap, .narrow { padding: 0 16px; }
  section { padding: 44px 0; }
  .hero { padding: 48px 0 36px; }
  footer.site-footer .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
