/* ─── Reset & base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:       #7C3AED;
  --primary-dark:  #6D28D9;
  --primary-light: #f5f3ff;
  --text:          #111827;
  --muted:         #6b7280;
  --light:         #9ca3af;
  --border:        #e5e7eb;
  --bg:            #ffffff;
  --bg-subtle:     #f9fafb;
  --radius:        10px;
  --radius-lg:     16px;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow:        0 4px 12px rgba(0,0,0,.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }

/* ─── Typography helpers ────────────────────────────────────── */
.label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .75rem;
}

h1, h2, h3 { line-height: 1.25; font-weight: 700; }

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.125rem; }

.lead {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 36rem;
}

/* ─── Layout ────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.section-sm { padding: 3.5rem 0; }

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.4rem;
  border-radius: var(--radius);
  font-size: .9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, box-shadow .15s, transform .1s;
  border: 1.5px solid transparent;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover { border-color: #d1d5db; background: var(--bg-subtle); }

.btn-lg {
  padding: .85rem 2rem;
  font-size: 1rem;
}

/* ─── Nav login link ────────────────────────────────────────── */
.nav-login {
  font-size: .875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .15s;
}
.nav-login:hover { color: var(--text); }

/* ─── Navigation ────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  font-size: .9rem;
  color: var(--muted);
  font-weight: 500;
  transition: color .15s;
}
.nav-links a:hover { color: var(--text); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}

/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
  padding: 5.5rem 0 4rem;
  text-align: center;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(124,58,237,.07) 0%, transparent 70%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--primary-light);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: .35rem .9rem;
  border-radius: 20px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(124,58,237,.15);
}

.hero h1 { max-width: 680px; margin: 0 auto .75rem; }
.hero .lead { margin: 0 auto 2rem; }

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .625rem;
}

.hero-sub {
  font-size: .8125rem;
  color: var(--light);
}

.hero-mockup {
  margin: 3.5rem auto 0;
  max-width: 820px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.1);
}

.mockup-bar {
  background: #f1f3f5;
  border-bottom: 1px solid var(--border);
  padding: .7rem 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.mockup-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.mockup-url {
  flex: 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: .3rem .75rem;
  font-size: .75rem;
  color: var(--muted);
  margin: 0 .5rem;
  text-align: center;
}

.mockup-content {
  padding: 1.5rem;
  min-height: 300px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1rem;
}

.mockup-logo-row {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .75rem;
  padding: 0 .25rem;
}

.mockup-sidebar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.mockup-nav-item {
  height: 32px;
  border-radius: 7px;
  background: var(--bg-subtle);
}
.mockup-nav-item.active { background: var(--primary-light); }

.mockup-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mockup-header-row {
  display: flex;
  gap: .75rem;
}

.mockup-stat {
  flex: 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}

.mockup-stat-num {
  height: 22px;
  background: var(--primary-light);
  border-radius: 5px;
  margin-bottom: .5rem;
  width: 60%;
}

.mockup-stat-label {
  height: 12px;
  background: var(--bg-subtle);
  border-radius: 4px;
  width: 80%;
}

.mockup-table-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.mockup-row {
  display: flex;
  gap: .5rem;
  padding: .6rem 1rem;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.mockup-row:last-child { border-bottom: none; }

.mockup-pill {
  height: 20px;
  border-radius: 20px;
  background: var(--bg-subtle);
}

/* ─── Stats bar ─────────────────────────────────────────────── */
.stats-bar {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.25rem 0;
}

.stats-grid {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  flex: 1;
  min-width: 160px;
  text-align: center;
  padding: .5rem 2rem;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: .3rem;
}

.stat-desc {
  font-size: .85rem;
  color: var(--muted);
}

/* ─── Features ──────────────────────────────────────────────── */
.features-intro { text-align: center; margin-bottom: 3.5rem; }
.features-intro .lead { margin: .75rem auto 0; }

/* Legacy grid (kept in case referenced elsewhere) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* New 3-column area layout */
.features-areas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-area {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.feature-area-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.feature-area h3 {
  font-size: 1.0625rem;
  margin-bottom: .4rem;
}

.feature-area > p {
  font-size: .875rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.feature-area-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.feature-area-list li {
  font-size: .875rem;
  color: var(--text);
  padding-left: 1.1rem;
  position: relative;
}

.feature-area-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: box-shadow .2s;
}
.feature-card:hover { box-shadow: var(--shadow); }

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  color: var(--primary);
}

.feature-card h3 { margin-bottom: .4rem; }
.feature-card p  { font-size: .9rem; color: var(--muted); }

.feature-card--new {
  border-color: rgba(124,58,237,.25);
  background: linear-gradient(135deg, #faf9ff 0%, #fff 60%);
}

.feature-chip {
  display: inline-block;
  margin-top: .75rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid rgba(124,58,237,.2);
  padding: .2rem .65rem;
  border-radius: 20px;
}

.feature-chip--new {
  background: #fdf4ff;
  color: #9333ea;
  border-color: rgba(147,51,234,.2);
}

/* ─── How it works ──────────────────────────────────────────── */
.how-section { background: var(--bg-subtle); }

.how-intro { text-align: center; margin-bottom: 3.5rem; }
.how-intro .lead { margin: .75rem auto 0; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.step {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: .9375rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 { font-size: 1rem; }
.step p  { font-size: .9rem; color: var(--muted); }

/* ─── Pricing ───────────────────────────────────────────────── */
.pricing-intro { text-align: center; margin-bottom: 3.5rem; }
.pricing-intro .lead { margin: .75rem auto 0; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.plan-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.plan-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
  position: relative;
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .25rem .9rem;
  border-radius: 20px;
}

.plan-name {
  font-size: .9rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.plan-price {
  font-size: 2.25rem;
  font-weight: 700;
  margin: .25rem 0 .1rem;
}

.plan-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
}

.plan-desc {
  font-size: .875rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  min-height: 2.5rem;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-bottom: 1.75rem;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  font-size: .875rem;
  color: var(--text);
}

.plan-features li svg { flex-shrink: 0; margin-top: 2px; color: var(--primary); }

.plan-features li.disabled {
  color: var(--light);
}

.plan-features li.disabled svg { color: var(--border); }

/* ─── Spotlight (marketing + promos) ───────────────────────── */
.spotlight-section {
  background: linear-gradient(180deg, var(--bg-subtle) 0%, #fff 100%);
}

.spotlight-intro {
  text-align: center;
  margin-bottom: 3.5rem;
}
.spotlight-intro .lead { margin: .75rem auto 0; }

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.spotlight-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: box-shadow .2s, transform .2s;
}
.spotlight-card:hover {
  box-shadow: 0 8px 30px rgba(124,58,237,.1);
  transform: translateY(-2px);
}

.spotlight-card--public {
  background: linear-gradient(135deg, #faf9ff 0%, #fff 60%);
  border-color: rgba(124,58,237,.25);
}

.spotlight-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  margin-bottom: .25rem;
}

.spotlight-card h3 { font-size: 1.0625rem; margin: 0; }
.spotlight-card > p { font-size: .9rem; color: var(--muted); margin: 0; flex: 1; }

.spotlight-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: .25rem;
}

.spotlight-list li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.5;
}
.spotlight-list li svg { flex-shrink: 0; margin-top: 2px; }

/* ─── Why different ─────────────────────────────────────────── */
.diff-section { background: var(--bg); }

.diff-intro {
  text-align: center;
  margin-bottom: 3rem;
}
.diff-intro h2 { max-width: 600px; margin: 0 auto; }

.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 860px;
  margin: 0 auto;
}

.diff-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  align-items: flex-start;
}

.diff-icon {
  font-size: 1.75rem;
  line-height: 1;
  flex-shrink: 0;
}

.diff-item h3 { font-size: 1rem; margin-bottom: .375rem; }
.diff-item p  { font-size: .875rem; color: var(--muted); margin: 0; line-height: 1.6; }

/* ─── FAQ ───────────────────────────────────────────────────── */
.faq-section { background: var(--bg-subtle); }

.faq-intro { text-align: center; margin-bottom: 3rem; }

.faq-list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--border);
}

.faq-item {
  background: var(--bg);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question:hover { background: var(--bg-subtle); }

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.7;
  display: none;
}

.faq-item.open .faq-answer { display: block; }

.faq-icon { flex-shrink: 0; transition: transform .2s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ─── CTA Banner ────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #5b21b6 100%);
  padding: 5rem 0;
}

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

.cta-section h2 { color: #fff; margin-bottom: .875rem; }

.cta-section p {
  color: rgba(255,255,255,.78);
  font-size: 1.0625rem;
  margin-bottom: 2.25rem;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .875rem;
}

.cta-note {
  font-size: .8125rem;
  color: rgba(255,255,255,.55);
}

.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn-white:hover { background: #f5f5ff; }

/* ─── Footer ────────────────────────────────────────────────── */
.footer {
  background: #111827;
  color: #9ca3af;
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: .875rem;
  margin-top: .75rem;
  max-width: 260px;
  line-height: 1.7;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}

.footer-col h4 {
  font-size: .8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #e5e7eb;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.footer-col ul a {
  font-size: .875rem;
  color: #9ca3af;
  transition: color .15s;
}
.footer-col ul a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid #1f2937;
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8125rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal a { color: #9ca3af; transition: color .15s; }
.footer-legal a:hover { color: #fff; }

/* ─── Page header (inner pages) ────────────────────────────── */
.page-header {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0 2.5rem;
}

.page-header h1 { font-size: 1.875rem; margin-bottom: .5rem; }
.page-header .meta { font-size: .875rem; color: var(--muted); }

/* ─── Prose (legal pages) ───────────────────────────────────── */
.prose {
  max-width: 740px;
  margin: 0 auto;
  padding: 3rem 0 5rem;
}

.prose h2 {
  font-size: 1.25rem;
  margin: 2.5rem 0 .75rem;
}

.prose h3 {
  font-size: 1rem;
  margin: 1.75rem 0 .5rem;
}

.prose p, .prose li {
  font-size: .9375rem;
  color: var(--muted);
  margin-bottom: .75rem;
  line-height: 1.75;
}

.prose ul {
  padding-left: 1.4rem;
  margin-bottom: .75rem;
}

.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

.prose hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

/* ─── Contact page ──────────────────────────────────────────── */
.contact-hero {
  padding: 5rem 0 4rem;
  text-align: center;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(124,58,237,.07) 0%, transparent 70%);
  border-bottom: 1px solid var(--border);
}

.contact-hero-inner { max-width: 520px; margin: 0 auto; }
.contact-hero-inner h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin: .5rem 0 .875rem; }
.contact-hero-inner p  { font-size: 1rem; color: var(--muted); line-height: 1.7; margin: 0; }

.contact-form-wrap {
  max-width: 580px;
  margin: 0 auto;
  padding: 3.5rem 0 5rem;
}

/* ─── Contact form ──────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  padding: 3.5rem 0 5rem;
  align-items: start;
}

.contact-info h2 { font-size: 1.375rem; margin-bottom: .5rem; }
.contact-info p  { font-size: .9rem; color: var(--muted); margin-bottom: 2rem; }

.contact-detail {
  display: flex;
  gap: .875rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.contact-detail-text strong { display: block; font-size: .875rem; margin-bottom: .125rem; }
.contact-detail-text span   { font-size: .875rem; color: var(--muted); }

.form-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: .875rem;
  font-weight: 500;
  margin-bottom: .4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: .65rem 1rem;
  font-size: .9375rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124,58,237,.12);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ─── Alert / success message ───────────────────────────────── */
.alert {
  padding: .875rem 1.25rem;
  border-radius: var(--radius);
  font-size: .9rem;
  margin-bottom: 1.25rem;
}
.alert-success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.alert-error   { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 900px) {
  .spotlight-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .diff-grid { grid-template-columns: 1fr; max-width: 520px; }
  .features-areas { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}

@media (max-width: 768px) {
  /* Nav */
  .nav-links { display: none; }

  /* Hero */
  .hero { padding: 3.5rem 0 2.5rem; }
  .hero h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); }
  .hero-cta .btn { width: 100%; justify-content: center; }

  /* Mockup */
  .hero-mockup { display: none; }

  /* Sections */
  .section    { padding: 3.5rem 0; }
  .section-sm { padding: 2.5rem 0; }

  /* Stats */
  .stats-grid { flex-direction: column; }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 1rem 2rem;
  }
  .stat-item:last-child { border-bottom: none; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; }

  /* Steps */
  .steps-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  /* Spotlight */
  .spotlight-grid { grid-template-columns: 1fr; }

  /* Diff */
  .diff-grid { grid-template-columns: 1fr; }

  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .footer-legal { flex-wrap: wrap; gap: 1rem; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }

  /* Page header */
  .page-header { padding: 2rem 0 1.75rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }

  .hero { padding: 2.5rem 0 2rem; }

  .section    { padding: 2.5rem 0; }
  .section-sm { padding: 2rem 0; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer { padding: 2.5rem 0 1.5rem; }

  .prose { padding: 2rem 0 3rem; }

  .plan-card { padding: 1.5rem; }

  .feature-card { padding: 1.25rem; }

  .spotlight-card { padding: 1.5rem; }

  .diff-item { padding: 1.25rem; flex-direction: column; gap: .75rem; }

  .cta-section { padding: 3.5rem 0; }
  .cta-section .btn { width: 100%; justify-content: center; }
}

/* ─── Product showcase ───────────────────────────────────────── */
.showcase-section { background: var(--bg-subtle); }

.showcase-intro { text-align: center; margin-bottom: 2.5rem; }

.showcase-wrap {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

/* Browser chrome */
.sf-browser {
  flex: 1;
  min-width: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.14), 0 1px 3px rgba(0,0,0,.08);
  border: 1px solid #e5e7eb;
}

.sf-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  background: #efefef;
  border-bottom: 1px solid #ddd;
}

.sf-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

.sf-url {
  flex: 1;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 20px;
  padding: 2px 12px;
  font-size: .68rem;
  color: #6b7280;
  text-align: center;
  margin: 0 8px;
}

/* App layout inside browser */
.sf-app { display: flex; min-height: 400px; font-size: .75rem; }

/* Sidebar */
.sf-sidebar {
  width: 156px;
  flex-shrink: 0;
  background: #12111a;
  color: #fff;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sf-sb-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 4px 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 8px;
}

.sf-sb-logo {
  width: 26px; height: 26px;
  background: var(--primary);
  border-radius: 7px;
  flex-shrink: 0;
}

.sf-sb-title { font-weight: 700; font-size: .78rem; }
.sf-sb-sub   { font-size: .62rem; color: #9ca3af; }

.sf-sb-section-label {
  font-size: .58rem;
  color: #6b7280;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 8px 2px;
}

.sf-sb-item {
  padding: 6px 10px;
  border-radius: 7px;
  color: #d1d5db;
  font-size: .7rem;
}

.sf-sb-item--active {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}

.sf-sb-bottom {
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sf-sb-user {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 8px;
  margin-top: 2px;
}

.sf-sb-avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.sf-sb-uname  { font-size: .68rem; font-weight: 600; color: #e5e7eb; }
.sf-sb-uemail { font-size: .58rem; color: #6b7280; }

/* Main content */
.sf-main {
  flex: 1;
  min-width: 0;
  background: #f3f4f6;
  padding: 14px;
  overflow: hidden;
}

.sf-main-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 8px;
}

.sf-main-title { font-size: 1rem; font-weight: 700; color: #111827; line-height: 1.2; }
.sf-main-sub   { font-size: .62rem; color: #9ca3af; margin-top: 2px; }

.sf-main-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

.sf-select {
  border: 1px solid #d1d5db;
  border-radius: 7px;
  padding: 4px 9px;
  font-size: .68rem;
  background: #fff;
  color: #374151;
}

.sf-btn-primary {
  background: var(--primary);
  color: #fff;
  border-radius: 7px;
  padding: 4px 10px;
  font-size: .68rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Status chips */
.sf-chips { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 12px; }

.sf-chip {
  border-radius: 20px;
  padding: 3px 10px;
  font-size: .62rem;
  font-weight: 600;
  border: 1.5px solid;
}

.sf-chip--purple { background: #f5f3ff; color: var(--primary); border-color: #ddd6fe; }
.sf-chip--green  { background: #f0fdf4; color: #16a34a;        border-color: #bbf7d0; }
.sf-chip--red    { background: #fef2f2; color: #dc2626;        border-color: #fecaca; }
.sf-chip--gray   { background: #f9fafb; color: #6b7280;        border-color: #e5e7eb; }

/* Shift blocks */
.sf-shift-block {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 9px;
  overflow: hidden;
  margin-bottom: 8px;
}

.sf-shift-header {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-bottom: 1px solid #f3f4f6;
}

.sf-shift-name  { font-weight: 700; font-size: .76rem; color: #111827; }
.sf-shift-count { font-size: .62rem; color: #6b7280; background: #f3f4f6; padding: 2px 7px; border-radius: 10px; }
.sf-shift-pax   { font-size: .62rem; color: #9ca3af; margin-left: auto; }

/* Table header + rows */
.sf-thead {
  display: grid;
  grid-template-columns: 2.2fr .8fr .5fr .9fr .55fr 1fr .8fr;
  padding: 5px 12px;
  font-size: .58rem;
  color: #9ca3af;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: #fafafa;
  border-bottom: 1px solid #f3f4f6;
}

.sf-row {
  display: grid;
  grid-template-columns: 2.2fr .8fr .5fr .9fr .55fr 1fr .8fr;
  align-items: center;
  padding: 7px 12px;
  font-size: .68rem;
  color: #374151;
  border-bottom: 1px solid #f9fafb;
}
.sf-row:last-child { border-bottom: none; }

.sf-client { display: flex; align-items: center; gap: 7px; }

.sf-avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  font-size: .64rem;
  font-weight: 700;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.sf-avatar--teal   { background: #0d9488; }
.sf-avatar--blue   { background: #2563eb; }
.sf-avatar--violet { background: var(--primary); }
.sf-avatar--amber  { background: #d97706; }
.sf-avatar--rose   { background: #e11d48; }

.sf-cname  { font-weight: 600; font-size: .7rem; color: #111827; line-height: 1.2; }
.sf-cphone { font-size: .6rem; color: #9ca3af; }

.sf-tag {
  background: #f5f3ff;
  color: var(--primary);
  border: 1px solid #ddd6fe;
  border-radius: 5px;
  padding: 2px 6px;
  font-size: .6rem;
  font-weight: 500;
}

.sf-mesa {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 2px 7px;
  font-size: .62rem;
  font-weight: 600;
  display: inline-block;
}

.sf-status {
  border-radius: 20px;
  padding: 2px 8px;
  font-size: .62rem;
  font-weight: 600;
  display: inline-block;
}

.sf-status--green  { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.sf-status--purple { background: #f5f3ff; color: var(--primary); border: 1px solid #ddd6fe; }

.sf-actions {
  font-size: .62rem;
  color: #6b7280;
  border: 1px solid #e5e7eb;
  border-radius: 5px;
  padding: 2px 7px;
  background: #fff;
  display: inline-block;
}

/* Phone mockup */
.sf-phone-wrap {
  flex-shrink: 0;
  width: 196px;
}

.sf-phone {
  background: #1c1b26;
  border-radius: 30px;
  padding: 12px 7px 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.28), inset 0 0 0 1px rgba(255,255,255,.08);
}

.sf-phone-notch {
  width: 52px; height: 5px;
  background: rgba(255,255,255,.12);
  border-radius: 3px;
  margin: 0 auto 9px;
}

.sf-phone-screen {
  background: #f3f4f6;
  border-radius: 18px;
  overflow: hidden;
}

.sf-ph-statusbar {
  background: #fff;
  padding: 4px 10px;
  font-size: .55rem;
  color: #9ca3af;
  text-align: center;
}

.sf-ph-topbar {
  background: #fff;
  padding: 7px 10px 7px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #f3f4f6;
}

.sf-ph-logo-icon {
  width: 18px; height: 18px;
  background: var(--primary);
  border-radius: 5px;
  flex-shrink: 0;
}

.sf-ph-appname { font-size: .72rem; font-weight: 700; color: #111827; }
.sf-ph-menu    { font-size: .8rem; color: #6b7280; margin-right: auto; order: -1; }

.sf-ph-toolbar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 8px;
}

.sf-ph-select {
  flex: 1;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 7px;
  padding: 4px 8px;
  font-size: .62rem;
  color: #374151;
  font-weight: 500;
}

.sf-ph-add {
  width: 26px; height: 26px;
  background: var(--primary);
  color: #fff;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  font-weight: 700;
  flex-shrink: 0;
}

.sf-ph-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 0 7px 7px;
}

.sf-ph-stat {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 7px;
  padding: 5px 3px;
  text-align: center;
}

.sf-ph-stat--yellow { border-color: #fde68a; background: #fffbeb; }
.sf-ph-stat--purple { border-color: #ddd6fe; background: #f5f3ff; }
.sf-ph-stat--green  { border-color: #bbf7d0; background: #f0fdf4; }

.sf-ph-stat-n { font-size: .82rem; font-weight: 800; color: #111827; line-height: 1; }
.sf-ph-stat--yellow .sf-ph-stat-n { color: #d97706; }
.sf-ph-stat--purple .sf-ph-stat-n { color: var(--primary); }
.sf-ph-stat--green  .sf-ph-stat-n { color: #16a34a; }
.sf-ph-stat-l { font-size: .48rem; color: #6b7280; margin-top: 2px; }

.sf-ph-date-label {
  font-size: .52rem;
  font-weight: 700;
  color: #9ca3af;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 9px 3px;
}

.sf-ph-card {
  background: #fff;
  margin: 0 7px 5px;
  border-radius: 9px;
  padding: 7px 9px;
  border-left: 3px solid #ddd6fe;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.sf-ph-card--green { border-left-color: #16a34a; }

.sf-ph-time   { font-size: .8rem; font-weight: 800; color: #111827; }
.sf-ph-badge  { font-size: .52rem; font-weight: 700; color: var(--primary); }
.sf-ph-badge--green { color: #16a34a; }
.sf-ph-name   { font-size: .68rem; font-weight: 600; color: #111827; }
.sf-ph-meta   { font-size: .58rem; color: #9ca3af; }

/* ─── Mobile mockup (sfm) ────────────────────────────────────── */

/* Phone shell */
.sf-phone {
  background: #1c1b26;
  border-radius: 38px;
  padding: 14px 9px 20px;
  box-shadow:
    0 24px 64px rgba(0,0,0,.35),
    inset 0 0 0 1px rgba(255,255,255,.08),
    inset 0 1px 0 rgba(255,255,255,.14);
  width: 240px;
}

.sf-phone-pill {
  width: 80px; height: 6px;
  background: rgba(255,255,255,.15);
  border-radius: 3px;
  margin: 0 auto 10px;
}

.sf-phone-screen {
  background: #f3f4f6;
  border-radius: 26px;
  overflow: hidden;
}

/* Status bar */
.sfm-statusbar {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px 4px;
  font-size: .6rem;
  font-weight: 600;
  color: #111827;
}

.sfm-icons { font-size: .48rem; letter-spacing: 1px; color: #374151; }

/* Top nav bar */
.sfm-topbar {
  background: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 10px;
  border-bottom: 1px solid #f3f4f6;
}

.sfm-hamburger { font-size: .9rem; color: #6b7280; margin-right: 2px; }

.sfm-brand { display: flex; align-items: center; gap: 6px; }

.sfm-logo {
  width: 20px; height: 20px;
  background: var(--primary);
  border-radius: 6px;
}

.sfm-appname { font-size: .8rem; font-weight: 700; color: #111827; }

/* Toolbar row */
.sfm-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #f3f4f6;
}

.sfm-week-select {
  flex: 1;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: .72rem;
  font-weight: 500;
  color: #374151;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sfm-chevron { color: #9ca3af; font-size: .7rem; }

.sfm-add-btn {
  width: 36px; height: 36px;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 300;
  flex-shrink: 0;
}

/* Stats row */
.sfm-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 0 12px 10px;
  background: #f3f4f6;
}

.sfm-stat {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  padding: 7px 2px;
  text-align: center;
}

.sfm-stat--yellow { border-color: #fde68a; background: #fffbeb; }
.sfm-stat--purple { border-color: #ddd6fe; background: #f5f3ff; }
.sfm-stat--green  { border-color: #bbf7d0; background: #f0fdf4; }
.sfm-stat--red    { border-color: #fecaca; background: #fef2f2; }

.sfm-stat-n {
  font-size: .9rem;
  font-weight: 800;
  color: #111827;
  line-height: 1;
}

.sfm-stat--yellow .sfm-stat-n { color: #d97706; }
.sfm-stat--purple .sfm-stat-n { color: var(--primary); }
.sfm-stat--green  .sfm-stat-n { color: #16a34a; }
.sfm-stat--red    .sfm-stat-n { color: #dc2626; }

.sfm-stat-l {
  font-size: .45rem;
  color: #6b7280;
  margin-top: 3px;
  white-space: nowrap;
}

/* Date row */
.sfm-date-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px 4px;
}

.sfm-date-label {
  font-size: .55rem;
  font-weight: 700;
  color: #9ca3af;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.sfm-date-count {
  font-size: .55rem;
  color: #9ca3af;
}

/* Reservation card */
.sfm-card {
  display: flex;
  align-items: center;
  background: #fff;
  margin: 0 10px 7px;
  border-radius: 14px;
  border-left: 5px solid #e5e7eb;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  overflow: hidden;
  padding: 0;
}

.sfm-card--green  { border-left-color: #16a34a; }
.sfm-card--purple { border-left-color: var(--primary); }

.sfm-card-left {
  padding: 11px 12px 11px 10px;
  min-width: 72px;
}

.sfm-card-time {
  font-size: 1.05rem;
  font-weight: 800;
  color: #111827;
  line-height: 1;
  letter-spacing: -.01em;
}

.sfm-card-status {
  font-size: .52rem;
  font-weight: 700;
  margin-top: 4px;
}

.sfm-card-status--green  { color: #16a34a; }
.sfm-card-status--purple { color: var(--primary); }

.sfm-card-right {
  flex: 1;
  padding: 10px 6px;
  min-width: 0;
}

.sfm-card-name {
  font-size: .75rem;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.sfm-card-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}

.sfm-meta-pax {
  font-size: .55rem;
  color: #6b7280;
}

.sfm-table-badge {
  font-size: .5rem;
  font-weight: 700;
  background: #ede9fe;
  color: var(--primary);
  border-radius: 4px;
  padding: 1px 5px;
  flex-shrink: 0;
}

.sfm-meta-sala {
  font-size: .55rem;
  color: #9ca3af;
}

.sfm-card-arrow {
  font-size: .9rem;
  color: #d1d5db;
  padding: 0 10px 0 2px;
  flex-shrink: 0;
}

/* URL bar at bottom */
.sfm-urlbar {
  background: #fff;
  border-top: 1px solid #f3f4f6;
  margin-top: 8px;
  padding: 7px 14px;
  font-size: .6rem;
  color: #9ca3af;
  text-align: center;
}

/* Showcase responsive */
@media (max-width: 960px) {
  .sf-thead,
  .sf-row {
    grid-template-columns: 2fr .8fr .5fr 0 .55fr 1fr 0;
  }
  .sf-thead span:nth-child(4),
  .sf-thead span:nth-child(7),
  .sf-row > *:nth-child(4),
  .sf-row > *:nth-child(7) { display: none; }
}

@media (max-width: 768px) {
  .showcase-wrap { flex-direction: column-reverse; gap: 2rem; }
  .sf-phone-wrap { width: 100%; display: flex; justify-content: center; }
  .sf-phone { width: 210px; }
  .sf-sidebar { width: 130px; }
}

@media (max-width: 540px) {
  .sf-sidebar { display: none; }
  .sf-thead,
  .sf-row { grid-template-columns: 1.8fr .7fr .5fr 0 0 1fr 0; }
  .sf-thead span:nth-child(3), .sf-row > *:nth-child(3),
  .sf-thead span:nth-child(4), .sf-row > *:nth-child(4),
  .sf-thead span:nth-child(5), .sf-row > *:nth-child(5),
  .sf-thead span:nth-child(7), .sf-row > *:nth-child(7) { display: none; }
}

/* ─── Feature blocks ─────────────────────────────────────────── */
.fb-section {
  background: var(--bg-subtle);
}

.fb-intro {
  text-align: center;
  margin-bottom: 4rem;
}

.fb-intro h2 {
  margin-top: .5rem;
}

.fb-blocks {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.fb-block {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3.5rem 5rem;
  align-items: center;
}

.fb-block--rev {
  grid-template-columns: 1.5fr 1fr;
}

.fb-block--rev .fb-copy { order: 2; }
.fb-block--rev .fb-visual { order: 1; }

.fb-label {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .6rem;
}

.fb-copy h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: .9rem;
}

.fb-copy p {
  color: var(--muted);
  font-size: .975rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.fb-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.fb-list li {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .9rem;
  color: var(--text);
  font-weight: 500;
}

.fb-list li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--primary);
  stroke: var(--primary);
}

.fb-visual {
  position: relative;
}

.fb-visual--center {
  display: flex;
  justify-content: center;
}

/* ─── Booking widget mockup ──────────────────────────────────── */
.bw {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 40px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.06);
  width: 320px;
  max-width: 100%;
  overflow: hidden;
  font-size: .82rem;
  border: 1px solid var(--border);
}

.bw-header {
  padding: .7rem 1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
}

.bw-langs {
  display: flex;
  gap: .35rem;
}

.bw-lang {
  font-size: .7rem;
  font-weight: 600;
  padding: .2rem .45rem;
  border-radius: 4px;
  color: var(--muted);
  border: 1px solid transparent;
  cursor: default;
}

.bw-lang--active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.bw-body {
  padding: 1.25rem 1.25rem .75rem;
}

.bw-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .1rem;
}

.bw-rest {
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.bw-steps {
  display: flex;
  align-items: center;
  gap: .2rem;
  margin-bottom: 1rem;
  flex-wrap: nowrap;
  overflow: hidden;
}

.bw-step {
  display: flex;
  align-items: center;
  gap: .25rem;
  font-size: .7rem;
  color: #9ca3af;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

.bw-step svg {
  stroke: #9ca3af;
  flex-shrink: 0;
}

.bw-step--active {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  padding: .3rem .65rem;
  border-radius: 999px;
}

.bw-step--active svg {
  stroke: #fff;
}

.bw-step-sep {
  color: #d1d5db;
  font-size: .8rem;
  line-height: 1;
}

.bw-sub {
  font-size: .82rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: .65rem;
}

/* Calendar */
.bw-cal {
  background: #fff;
  padding: .5rem 0 0;
}

.bw-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .5rem;
}

.bw-cal-month {
  font-size: .82rem;
  font-weight: 700;
}

.bw-cal-nav {
  font-size: 1rem;
  color: var(--muted);
  cursor: default;
  padding: 0 .25rem;
  line-height: 1;
}

.bw-cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: .35rem;
}

.bw-cal-days span {
  font-size: .65rem;
  font-weight: 600;
  color: var(--light);
  text-transform: uppercase;
  padding: .2rem 0;
}

.bw-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
}

.bw-day {
  font-size: .72rem;
  padding: .28rem 0;
  border-radius: 6px;
  cursor: default;
  color: #111827;
  font-weight: 500;
  text-align: center;
}

.bw-day:hover {
  background: #f3f4f6;
}

.bw-day--past {
  color: #d1d5db;
  font-weight: 400;
}

.bw-day--today {
  color: #111827;
  font-weight: 800;
}

.bw-day--sel {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  border-radius: 6px;
}

.bw-day--sel:hover {
  background: var(--primary-dark);
}

.bw-footer {
  padding: .75rem 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .68rem;
  color: var(--muted);
  flex-wrap: wrap;
  gap: .25rem;
}

.bw-powered {
  font-size: .65rem;
  color: var(--light);
}

/* ─── Feature blocks responsive ─────────────────────────────── */
@media (max-width: 900px) {
  .fb-block,
  .fb-block--rev {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .fb-block--rev .fb-copy { order: 1; }
  .fb-block--rev .fb-visual { order: 2; }

  .fb-blocks { gap: 4rem; }

  .fb-visual--center { justify-content: center; }
}

@media (max-width: 540px) {
  .bw { width: 100%; }
  .fb-blocks { gap: 3rem; }
}
