:root {
  --bg: #f4f7f5;
  --ink: #163028;
  --muted: #5a6f66;
  --accent: #0b6e4f;
  --accent-soft: #d8eee4;
  --line: #c9d9d1;
  --card: #ffffff;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(ellipse 120% 60% at 100% 0%, #c8e8d8 0%, transparent 55%),
    radial-gradient(ellipse 80% 50% at 0% 100%, #dceee5 0%, transparent 50%),
    var(--bg);
}

a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

a:hover {
  text-decoration: underline;
}

/* ── Layout ── */

.site-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ── */

.site-header {
  padding: 40px 0 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(11, 110, 79, 0.18);
  flex-shrink: 0;
}

.site-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
}

.site-name sup {
  font-size: 0.55em;
  vertical-align: super;
  font-weight: 700;
  letter-spacing: 0;
}

.site-sub {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* ── Hero ── */

.hero {
  padding: 56px 0 48px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 20px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
}

.hero h1 sup {
  font-size: 0.45em;
  vertical-align: super;
  font-weight: 700;
}

.hero-lede {
  margin: 0 auto 32px;
  max-width: 520px;
  font-size: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}

.hero-screenshot-frame {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(22, 48, 40, 0.13);
  padding: 12px;
  overflow: hidden;
  cursor: zoom-in;
  display: block;
  max-width: 660px;
  margin: 0 auto;
  text-align: left;
}

.hero-screenshot {
  display: block;
  width: 100%;
  border-radius: 8px;
}

.screenshot-hint {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.01em;
}

/* ── Lightbox ── */

.lightbox {
  border: none;
  background: transparent;
  padding: 0;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox::backdrop {
  background: rgba(22, 48, 40, 0.75);
}

.lightbox-img {
  display: block;
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  cursor: zoom-out;
}


.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: filter 0.15s, box-shadow 0.15s;
}

.btn:hover {
  text-decoration: none;
  filter: brightness(0.96);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-secondary {
  background: var(--card);
  color: var(--ink);
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Feature cards ── */

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 16px;
  padding: 0 0 56px;
}

.feature-card {
  height: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
}

.feature-icon {
  font-size: 24px;
  margin-bottom: 10px;
}

.feature-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.feature-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

@media (max-width: 720px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .features {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .feature-card {
    height: auto;
  }
}

/* ── About / What is Bella? section ── */

.about-section {
  padding: 0 0 48px;
}

.about-section h2 {
  margin: 0 0 16px;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.about-section p {
  margin: 0 0 14px;
  font-size: 16px;
  color: #2d4038;
  line-height: 1.65;
}

.feature-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li {
  padding: 10px 14px 10px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 0 10px 10px 0;
  font-size: 15px;
  color: #2d4038;
  line-height: 1.5;
}

.feature-list li strong {
  color: var(--ink);
  font-weight: 700;
}

/* ── FAQ section ── */

.faq-section {
  padding: 0 0 56px;
}

.faq-section h2 {
  margin: 0 0 20px;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.faq-item {
  margin-bottom: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.faq-item:first-of-type {
  border-top: 1px solid var(--line);
}

.faq-item h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.faq-item p {
  margin: 0;
  font-size: 15px;
  color: #2d4038;
  line-height: 1.6;
}

/* ── Pricing ── */

.pricing {
  padding: 0 0 56px;
}

.pricing h2 {
  margin: 0 0 6px;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.pricing-sub {
  margin: 0 0 28px;
  font-size: 15px;
  color: var(--muted);
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

@media (max-width: 520px) {
  .pricing-cards {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 22px 20px;
}

.pricing-card--pro {
  border-color: var(--accent);
  box-shadow: 0 4px 24px rgba(11, 110, 79, 0.12);
}

.pricing-pro-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-tier-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.pricing-card--pro .pricing-tier-label {
  color: var(--accent);
}

.pricing-price {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 18px;
}

.pricing-period {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
}

.pricing-features {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-features li {
  font-size: 14px;
  color: #2d4038;
  padding-left: 20px;
  position: relative;
  line-height: 1.45;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
}

.pricing-feature-divider {
  font-size: 12px !important;
  font-weight: 700;
  color: var(--muted) !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-left: 0 !important;
}

.pricing-feature-divider::before {
  display: none !important;
}

.pricing-cta {
  width: 100%;
  justify-content: center;
}

.pricing-note {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* ── Upgrade CTA section ── */

.upgrade-cta-section {
  padding: 56px 0 48px;
  text-align: center;
}

.upgrade-cta-inner {
  max-width: 480px;
  margin: 0 auto;
}

.upgrade-cta-section h2 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.upgrade-cta-section p {
  margin: 0 0 24px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

/* ── Divider ── */

.divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ── Email capture ── */

.notify-section {
  padding: 56px 0 48px;
  text-align: center;
}

.notify-inner {
  max-width: 480px;
  margin: 0 auto;
}

.notify-section h2 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.notify-section p {
  margin: 0 0 24px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

.notify-form .hidden {
  display: none;
}

.notify-fields {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.notify-input {
  flex: 1;
  min-width: 220px;
  max-width: 320px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--card);
  outline: none;
  transition: border-color 0.15s;
}

.notify-input:focus {
  border-color: var(--accent);
}

.notify-input::placeholder {
  color: #9ab5a8;
}

/* ── Thank-you page ── */

.thankyou-wrap {
  padding: 80px 0 64px;
  text-align: center;
  max-width: 420px;
  margin: 0 auto;
}

.thankyou-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.thankyou-wrap h1 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.thankyou-wrap p {
  margin: 0 0 28px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.5;
}

/* ── Footer ── */

.site-footer {
  padding: 28px 0 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  gap: 20px;
}

.site-footer a {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--accent);
}

/* ── Inner pages ── */

.page-header {
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}

.eyebrow {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.01em;
}

.page-header h1 {
  margin: 0 0 10px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.page-header .lede {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.5;
}

.prose {
  padding-bottom: 56px;
}

.prose h2 {
  margin: 32px 0 8px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.prose p,
.prose ul {
  margin: 0 0 12px;
  font-size: 15px;
  color: #2d4038;
  line-height: 1.6;
}

.prose ul {
  padding-left: 1.4rem;
}

.prose li {
  margin-bottom: 4px;
}

.prose strong {
  color: var(--ink);
  font-weight: 700;
}

.prose ol {
  margin: 0 0 12px;
  color: #2d4038;
}

.help-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-bottom: 36px;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
}

.help-nav strong {
  width: 100%;
}

.help-section {
  scroll-margin-top: 20px;
  margin-bottom: 44px;
}

.support-prose > .help-section > h2 {
  margin-top: 0;
  font-size: 22px;
}

.guide-steps {
  padding: 0;
  list-style: none;
  counter-reset: guide-step;
}

.guide-steps li {
  position: relative;
  min-height: 44px;
  margin-bottom: 14px;
  padding-left: 52px;
  counter-increment: guide-step;
}

.guide-steps li::before {
  content: counter(guide-step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
}

.inline-icon {
  display: inline-block;
  vertical-align: middle;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  margin: 0 2px;
  position: relative;
  top: -1px;
}

.guide-steps li > strong:first-child {
  display: block;
  margin-bottom: 2px;
}

.note {
  padding: 14px 16px;
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
  background: var(--accent-soft);
}

/* ── Accordion ── */

.accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid var(--line);
  background: var(--card);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  transition: background 0.12s;
}

.accordion-item summary::-webkit-details-marker { display: none; }

.accordion-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  transition: transform 0.2s;
}

.accordion-item[open] summary::after {
  transform: rotate(45deg);
}

.accordion-item summary:hover {
  background: #f3faf6;
}

.accordion-item[open] summary {
  background: #f3faf6;
  color: var(--accent);
}

.accordion-body {
  padding: 0 20px 16px;
  font-size: 15px;
  color: #2d4038;
  line-height: 1.6;
}

.accordion-body p {
  margin: 0;
}

/* legacy card styles no longer used but kept for safety */
.troubleshooting-list {
  display: grid;
  gap: 12px;
}

.help-card {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
}

.help-card h3,
.faq h3 {
  margin: 0 0 5px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
}

.help-card p {
  margin-bottom: 0;
}

.faq h3 {
  margin-top: 22px;
}

.contact-panel {
  scroll-margin-top: 20px;
  margin: 48px 0 24px;
  padding: 28px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 28px rgba(22, 48, 40, 0.14);
}

.contact-panel .eyebrow {
  color: #9fe0c4;
}

.contact-panel h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 24px;
}

.contact-panel p,
.contact-panel strong {
  color: #edf8f3;
}

.contact-panel a:not(.btn) {
  color: #9fe0c4;
}

.contact-panel .btn-primary {
  margin: 6px 0 16px;
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.contact-panel .contact-detail {
  margin: 0;
  font-size: 13px;
  color: #cfe3da;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 14px;
}

@media (max-width: 560px) {
  .site-wrap {
    padding: 0 18px;
  }

  .site-header {
    padding-top: 28px;
  }

  .page-header {
    padding-top: 36px;
    margin-bottom: 28px;
  }

  .help-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-panel {
    padding: 22px 20px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
