@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap");
@import url("https://fonts.cdnfonts.com/css/telegraf");

/* ─── Design tokens ─────────────────────────────────────────────────────── */
:root {
  --bg:           #f4f5f7;
  --surface:      #ffffff;
  --surface-2:    #f9fafb;
  --border:       #e5e7eb;
  --border-strong:#d1d5db;
  --text:         #111827;
  --text-muted:   #6b7280;
  --text-subtle:  #9ca3af;
  --accent:       #2563eb;
  --accent-hover: #1d4ed8;
  --accent-light: #eff6ff;
  --accent-border:#bfdbfe;
  --danger:       #dc2626;
  --success:      #16a34a;
  --mono:         "JetBrains Mono", "Fira Code", "Inconsolata", monospace;
  --radius-sm:    6px;
  --radius:       8px;
  --radius-lg:    12px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:       0 4px 12px rgba(0,0,0,.08), 0 1px 3px rgba(0,0,0,.05);
}

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

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

/* ─── Layout ────────────────────────────────────────────────────────────── */
.page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

/* ─── Navbar ────────────────────────────────────────────────────────────── */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: opacity 0.15s, transform 0.15s;
}

.navbar.open .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar.open .hamburger span:nth-child(2) {
  opacity: 0;
}
.navbar.open .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.brand {
  font-family: "Telegraf", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ─── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
}

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

.btn.ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn.ghost:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
}

.btn.tiny {
  padding: 5px 10px;
  font-size: 12px;
  border-radius: var(--radius-sm);
}

/* ─── Links ─────────────────────────────────────────────────────────────── */
.link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.link:hover { text-decoration: underline; }
.link.subtle {
  color: var(--text-muted);
  font-weight: 500;
}
.link.subtle:hover { color: var(--text); }

/* ─── Homepage ───────────────────────────────────────────────────────────── */

/* Hero */
.lp-hero {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 48px;
  padding: 64px 0 80px;
}

.lp-hero__left {
  flex: 1 1 420px;
  min-width: 0;
}

.lp-hero__right {
  flex: 1 1 480px;
  min-width: 0;
}

.lp-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}

.lp-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
}

.lp-accent {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lp-lede {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.65;
  margin: 0 0 28px;
}

.lp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Product mockup */
.lp-mockup {
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0,0,0,.12), 0 4px 16px rgba(0,0,0,.06);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.lp-mockup__chrome {
  height: 36px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.chrome-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.lp-mockup__body {
  max-height: 300px;
  overflow: hidden;
}

.lp-mockup__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  table-layout: auto;
}

.lp-mockup__table th {
  padding: 7px 10px;
  text-align: left;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.lp-mockup__table th.num {
  text-align: right;
}

.lp-mockup__table td {
  padding: 7px 10px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: top;
  white-space: nowrap;
}

.lp-mockup__table tbody tr:nth-child(even) td {
  background: var(--surface-2);
}

.lp-mockup__table td.num {
  text-align: right;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text);
}

.lp-mockup__table td.cell-desc {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-muted);
  font-size: 11px;
}

/* Sections */
.lp-section {
  padding: 80px 0;
}

.lp-section__header {
  max-width: 560px;
  margin: 0 auto 48px;
  text-align: center;
}

.lp-section__header h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.lp-section__header .lp-lede {
  margin: 0;
}

/* Features (pain points) */
.lp-features__list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 640px;
  margin: 0 auto;
}

.lp-feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.lp-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lp-feature-body h4 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.lp-feature-body p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}


.lp-solution__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 860px;
  margin: 0 auto;
}

.lp-solution-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.lp-solution-item__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lp-solution-item h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.lp-solution-item p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* CTA block */
.lp-cta {
  text-align: center;
}

.lp-cta h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.lp-cta .lp-lede {
  margin: 0 auto 28px;
  max-width: 540px;
}

.lp-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* FAQ */
.lp-faq__inner {
  max-width: 640px;
  margin: 0 auto;
}

.lp-faq .faq-item {
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  overflow: visible;
}

.lp-faq .faq-item:first-child {
  border-top: 1px solid var(--border);
}

.lp-faq .faq-item summary {
  padding: 16px 0;
  font-size: 15px;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  cursor: pointer;
  user-select: none;
}

.lp-faq .faq-item summary::-webkit-details-marker { display: none; }

.lp-faq .faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform 0.15s;
  flex-shrink: 0;
}

.lp-faq .faq-item[open] summary::after {
  transform: rotate(45deg);
}

.lp-faq .faq-item p {
  margin: 0;
  padding: 0 0 16px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ─── Footer ────────────────────────────────────────────────────────────── */
.footer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-brand {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-note {
  width: 100%;
  margin: 0;
  font-size: 12px;
  color: var(--text-subtle);
}

/* ─── Filter bar (browse page) ──────────────────────────────────────────── */
.filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.filter-bar label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.filter-bar input[type="text"] {
  flex: 1 1 180px;
  min-width: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 7px 11px;
  font-family: inherit;
  font-size: 13px;
  color: var(--text);
  background: var(--surface);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.filter-bar input[type="text"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.filter-bar input[type="text"]::placeholder {
  color: var(--text-subtle);
}
.filter-bar input:disabled,
.filter-bar button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.filter-divider {
  width: 1px;
  height: 24px;
  background: var(--border);
  flex-shrink: 0;
}

.quick-filter {
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
  font-family: inherit;
}
.quick-filter:hover {
  border-color: var(--accent-border);
  color: var(--accent);
  background: var(--accent-light);
}
.quick-filter.active {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent);
}

.filter-actions {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

/* ─── Type dropdown ─────────────────────────────────────────────────────── */
.type-dropdown {
  position: relative;
}

.type-dropdown__btn {
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
  font-family: inherit;
}
.type-dropdown__btn:hover {
  border-color: var(--accent-border);
  color: var(--accent);
  background: var(--accent-light);
}
.type-dropdown__btn.active {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent);
}
.type-dropdown__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.type-dropdown__panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 10;
  padding: 6px 0;
  max-height: 260px;
  overflow-y: auto;
}

.type-dropdown__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
  color: var(--text);
}
.type-dropdown__item:hover {
  background: var(--surface-2);
}

.type-dropdown__item input[type="checkbox"] {
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

/* ─── Table wrap ────────────────────────────────────────────────────────── */
.table-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  /* horizontal scroll on narrow viewports */
  overflow-x: auto;
  position: relative;
}

/* ─── Table ─────────────────────────────────────────────────────────────── */
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  table-layout: fixed;
  min-width: 640px;
}

.table colgroup .col-type        { width: 11%; }
.table colgroup .col-description { width: 36%; }
.table colgroup .col-revenue,
.table colgroup .col-profit,
.table colgroup .col-ask         { width: 12%; }
.table colgroup .col-link        { width: 9%; }

.table thead {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--surface-2);
}

.table th {
  padding: 10px 12px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  user-select: none;
}

.table th.num {
  text-align: right;
}

.table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: top;
}

.table tbody tr:last-child td {
  border-bottom: none;
}

.table tbody tr:nth-child(even) td {
  background: var(--surface-2);
}

.table tbody tr:hover td {
  background: var(--accent-light);
}

/* Numeric cells – right-aligned, monospace */
.table td.num {
  text-align: right;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text);
  white-space: nowrap;
}

.table td.null {
  color: var(--text-subtle);
}

/* Description cell – clamp to 2 lines */
.cell-description {
  overflow: hidden;
}
.cell-description .desc-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.45;
  color: var(--text-muted);
}

/* Type badge */
.type-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* ─── Sortable column headers ────────────────────────────────────────────── */
.th-sortable {
  cursor: pointer;
}
.th-sortable:hover {
  color: var(--text);
  background: var(--bg);
}
.th-sortable.sort-active {
  color: var(--accent);
  background: var(--accent-light);
}
.th-sortable.sort-disabled {
  cursor: default;
  pointer-events: none;
  color: var(--text-muted);
}

.sort-icon {
  display: inline-block;
  margin-left: 4px;
  font-size: 10px;
  color: var(--text-subtle);
  vertical-align: middle;
}
.th-sortable.sort-active .sort-icon {
  color: var(--accent);
}

/* ─── Sentinel / infinite scroll states ─────────────────────────────────── */
.sentinel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0 8px;
  gap: 8px;
}

.loader {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.loader::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid var(--border-strong);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.done {
  font-size: 12px;
  color: var(--text-subtle);
}

.error {
  font-size: 13px;
  color: var(--danger);
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius);
  padding: 8px 14px;
}

.hidden { display: none !important; }

@media (max-width: 640px) {
  .lp-solution__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */

/* Stack hero mockup below text before it starts cropping */
@media (max-width: 900px) {
  .lp-hero {
    flex-direction: column;
    gap: 36px;
    padding: 40px 0 48px;
  }

  .lp-hero__left,
  .lp-hero__right {
    flex: none;
    width: 100%;
  }

}

@media (max-width: 720px) {
  .page {
    padding: 16px 16px 60px;
  }

  .lp-hero {
    padding: 28px 0 36px;
  }

  .lp-section {
    padding: 52px 0;
  }

  .lp-cta {
    padding: 52px 0;
  }

  .filter-bar {
    padding: 12px 12px;
  }

  .filter-divider {
    display: none;
  }

  .filter-actions {
    margin-left: 0;
    width: 100%;
  }

  .filter-actions .btn {
    flex: 1;
    justify-content: center;
  }

  /* Hamburger nav */
  .navbar {
    flex-wrap: wrap;
    align-items: center;
  }

  .hamburger {
    display: flex;
  }

  .nav-actions {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 6px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
  }

  .navbar.open .nav-actions {
    display: flex;
  }

  .nav-actions .btn,
  .nav-actions .link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ─── Auth page (login.html) ─────────────────────────────────────────────── */

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 400px;
  padding: 36px 32px 32px;
}

.auth-brand {
  display: block;
  font-family: "Telegraf", sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 28px;
}
.auth-brand:hover { color: var(--accent); }

.auth-subtitle {
  margin: 0 0 24px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Tabs */
.auth-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.auth-tab {
  flex: 1;
  padding: 8px 0;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.auth-tab:hover { color: var(--text); }
.auth-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Form */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-input-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.auth-input-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.auth-input {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 9px 12px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--surface);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.auth-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.auth-input::placeholder { color: var(--text-subtle); }

.auth-submit {
  width: 100%;
  justify-content: center;
  padding: 10px 14px;
  font-size: 14px;
  margin-top: 2px;
}

.auth-error {
  font-size: 13px;
  color: var(--danger);
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin: 0;
}

/* Divider */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--text-subtle);
  font-size: 12px;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Google button */
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 9px 14px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.btn-google:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
}

/* ─── Payment page (payment.html) ────────────────────────────────────────── */

.payment-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 440px;
  padding: 40px 36px 36px;
}

.pricing-headline {
  margin: 24px 0 4px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.pricing-sub {
  margin: 0 0 28px;
  font-size: 14px;
  color: var(--text-muted);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.pricing-amount {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
}

.pricing-period {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.pricing-features li::before {
  content: "✓";
  font-weight: 700;
  color: var(--success);
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-cta {
  width: 100%;
  justify-content: center;
  padding: 12px 14px;
  font-size: 15px;
}

.pricing-status {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

.pricing-guarantee {
  margin: 16px 0 0;
  font-size: 12px;
  color: var(--text-subtle);
  text-align: center;
}

/* ─── Preview table fade ─────────────────────────────────────────────────── */
.table-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 240px;
  background: linear-gradient(to bottom, transparent 0%, var(--surface) 75%);
  pointer-events: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* ─── Paywall card ───────────────────────────────────────────────────────── */
.paywall-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  width: 100%;
  margin: 12px 0 0;
  padding: 24px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.paywall-left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.paywall-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
}

.paywall-headline {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.paywall-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.paywall-amount {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
}

.paywall-period {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.paywall-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.paywall-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
}

.paywall-features li::before {
  content: "✓";
  font-weight: 700;
  color: var(--success);
  flex-shrink: 0;
}

.paywall-card .btn {
  white-space: nowrap;
  padding: 10px 20px;
  font-size: 14px;
}

