/* SelloraBook marketing site
   Palette matches the product app: deep pine as the anchor, paper-toned
   neutrals rather than white, rust reserved for warnings/negatives. */

:root {
  --ink: #12241d;
  --ink-soft: #4a5a52;
  --ink-faint: #7b8a82;

  --pine: #1a5d44;
  --pine-deep: #123f2f;
  --pine-tint: #e8f0eb;

  --rust: #a8452a;
  --rust-tint: #fbeeea;

  --paper: #f5f7f4;
  --surface: #ffffff;
  --line: #dce4de;
  --line-soft: #eaefeb;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(18,36,29,.04), 0 8px 24px -12px rgba(18,36,29,.12);
  --max: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #eef3ef; --ink-soft: #b7c4bc; --ink-faint: #8a988f;
    --pine: #3f9e77; --pine-deep: #2a7a58; --pine-tint: #123326;
    --rust: #e08064; --rust-tint: #3a2119;
    --paper: #0e1712; --surface: #142019; --line: #24352c; --line-soft: #1c2921;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px -12px rgba(0,0,0,.5);
  }
}
:root[data-theme="dark"] {
  --ink: #eef3ef; --ink-soft: #b7c4bc; --ink-faint: #8a988f;
  --pine: #3f9e77; --pine-deep: #2a7a58; --pine-tint: #123326;
  --rust: #e08064; --rust-tint: #3a2119;
  --paper: #0e1712; --surface: #142019; --line: #24352c; --line-soft: #1c2921;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
.tnum { font-family: "IBM Plex Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em; }
p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--pine); color: #fff;
  padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 14.5px;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .12s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--pine); color: #fff; }
.btn-primary:hover { background: var(--pine-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--pine); color: var(--pine); }
.btn-ghost-invert { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost-invert:hover { border-color: #fff; }
.btn-lg { height: 50px; padding: 0 26px; font-size: 15.5px; }
.btn-block { width: 100%; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.brand-mark { width: 32px; height: 32px; display: block; object-fit: contain; flex-shrink: 0; }
.primary-nav { display: flex; align-items: center; gap: 4px; }
.nav-link { padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink-soft); cursor: default; }
a.nav-link:hover, .nav-dropdown:hover .nav-link { color: var(--ink); background: var(--paper); }
.nav-link.active { color: var(--pine); background: var(--pine-tint); }
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 0; margin-top: 6px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 6px; min-width: 190px;
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .15s ease;
}
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a { display: block; padding: 8px 10px; border-radius: 6px; font-size: 14px; }
.nav-dropdown-menu a:hover { background: var(--paper); color: var(--pine); }
.nav-cta { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 4px; width: 38px; height: 38px; background: none; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.nav-toggle span { width: 16px; height: 2px; background: var(--ink); margin: 0 auto; border-radius: 2px; }

/* ---- Hero ---- */
.hero { padding: 72px 0 56px; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--pine);
  background: var(--pine-tint); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 700; }
.hero .lede { font-size: 18px; max-width: 46ch; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-note { margin-top: 14px; font-size: 13px; color: var(--ink-faint); }

.hero-panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 22px;
}
.hero-panel-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.hero-panel-row:last-child { border-bottom: 0; }
.hero-panel-row .tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 3px 8px; border-radius: 6px; background: var(--pine-tint); color: var(--pine); }
.hero-panel-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 14px; border-top: 1.5px solid var(--ink); }
.hero-panel-total strong { font-size: 22px; }

/* Hero video */
.hero-video-frame {
  position: relative; aspect-ratio: 12 / 9; width: 100%; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.hero-video-caption { margin-top: 12px; font-size: 13px; color: var(--ink-faint); text-align: center; }

/* ---- Trust bar ---- */
.trust-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); padding: 22px 0; }
.trust-bar-inner { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: center; align-items: center; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.trust-item .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--pine); flex-shrink: 0; }

/* ---- Sections ---- */
.section { padding: 76px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); }
.section-head p { font-size: 16.5px; }

/* ---- Feature grid ---- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature-icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--pine-tint); color: var(--pine);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.feature-card h3 { font-size: 17px; }
.feature-card p { font-size: 14.5px; margin-bottom: 0; }

/* ---- Comparison table ---- */
.compare-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
table.compare th, table.compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line-soft); font-size: 14.5px; }
table.compare th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-faint); font-weight: 600; background: var(--paper); }
table.compare tr:last-child td { border-bottom: 0; }
table.compare td:first-child { font-weight: 600; color: var(--ink); }
table.compare th.col-us, table.compare td.col-us { background: var(--pine-tint); }
.yes { color: var(--pine); font-weight: 700; }
.no { color: var(--ink-faint); }
.partial { color: var(--rust); font-weight: 600; }
.compare-footnote { font-size: 12.5px; color: var(--ink-faint); margin-top: 12px; }

/* ---- Pricing ---- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.price-card.highlight { border-color: var(--pine); box-shadow: 0 0 0 3px var(--pine-tint); position: relative; }
.price-badge { position: absolute; top: -13px; left: 24px; background: var(--pine); color: #fff; font-size: 11.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.price-card h3 { font-size: 19px; }
.price-amount { display: flex; align-items: baseline; gap: 6px; margin: 12px 0 6px; }
.price-amount .num { font-size: 38px; font-weight: 700; }
.price-amount .per { font-size: 14px; color: var(--ink-faint); }
.price-blurb { font-size: 14px; min-height: 42px; }
.price-limits { list-style: none; margin: 0 0 18px; padding: 14px 0 0; border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 6px; }
.price-limits li { font-size: 13.5px; color: var(--ink-soft); }
.price-features { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.price-features li { font-size: 14px; display: flex; gap: 8px; align-items: flex-start; }
.price-features li::before { content: "✓"; color: var(--pine); font-weight: 700; flex-shrink: 0; }

/* ---- Steps ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-left: 4px; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 999px; background: var(--pine); color: #fff; font-weight: 700; margin-bottom: 14px; }
.step h3 { font-size: 16.5px; }
.step p { font-size: 14.5px; }

/* ---- CTA band ---- */
.cta-band { background: var(--pine-deep); color: #fff; padding: 56px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: 26px; max-width: 26ch; }
.cta-band p { color: rgba(255,255,255,.75); max-width: 46ch; margin-bottom: 0; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- Footer ---- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 52px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 36px; }
.footer-brand p { font-size: 13.5px; max-width: 30ch; margin-top: 12px; }
.footer-col h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-faint); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14px; color: var(--ink-soft); padding: 5px 0; }
.footer-col a:hover { color: var(--pine); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line-soft); font-size: 12.5px; color: var(--ink-faint); }
.footer-fineprint { margin: 0; }

/* ---- Page hero (inner pages) ---- */
.page-hero { padding: 56px 0 20px; text-align: center; }
.page-hero h1 { font-size: clamp(28px, 4vw, 42px); }
.page-hero p { max-width: 56ch; margin: 0 auto; font-size: 16.5px; }

.badge-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.badge { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); background: var(--paper); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.two-col.reverse .col-a { order: 2; }

.verdict-card { background: var(--pine-tint); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.verdict-card h3 { color: var(--pine-deep); }

/* ---- Responsive ---- */
@media (max-width: 880px) {
  .hero-inner, .two-col { grid-template-columns: 1fr; }
  .two-col.reverse .col-a { order: 0; }
  .feature-grid, .pricing-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute; top: 68px; left: 0; right: 0; background: var(--surface);
    border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px 20px 18px;
    display: none; gap: 2px;
  }
  .primary-nav.open { display: flex; }
  .nav-dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; margin-top: 0; padding-left: 12px; }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-cta { flex-direction: column; align-items: stretch; margin: 10px 0 0; }
  .nav-cta .btn { width: 100%; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .feature-grid, .pricing-grid, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero { padding: 44px 0 36px; }
  .section { padding: 52px 0; }
}
