:root {
  --paper: #FBFBF9;
  --surface: #FFFFFF;
  --surface-alt: #F4F4F2;
  --surface-tint: #EBEBE7;
  --ink: #111110;
  --ink-2: #3C3C39;
  --muted: #5C5B57;
  --ink-4: #787872;
  --line: #E8E8E4;
  --line-2: #D4D4CE;
  --header-bg: rgba(251, 251, 249, 0.90);
  --signal: #C83610;
  --signal-hover: #A82B0B;
  --signal-soft: rgba(200, 54, 16, 0.10);
  --live: #15803D;
  --live-ink: #166534;
  --live-bg: rgba(21, 128, 61, 0.12);
  --danger: #991B1B;
  --danger-bg: #FEF2F2;
  --danger-border: #FECACA;
  --warn-bg: #FFFBEB;
  --warn-border: #FDE68A;
  --warn-ink: #92400E;
  --code-bg: #141413;
  --code-ink: #E6E4DD;
  --drop-hover: #FFF4F0;
  --dot-color: #DCDCD5;
  color-scheme: light;
}

html[data-theme="dark"] {
  --paper: #0B0B0A;
  --surface: #131312;
  --surface-alt: #1A1A19;
  --surface-tint: #242422;
  --ink: #F2F2EF;
  --ink-2: #CACAC5;
  --muted: #91918B;
  --ink-4: #6D6D67;
  --line: #242422;
  --line-2: #33332F;
  --header-bg: rgba(11, 11, 10, 0.90);
  --signal: #E84D24;
  --signal-hover: #FF6238;
  --signal-soft: rgba(232, 77, 36, 0.16);
  --live: #3CCF8E;
  --live-ink: #3CCF8E;
  --live-bg: rgba(60, 207, 142, 0.14);
  --danger: #FCA5A5;
  --danger-bg: rgba(239, 68, 68, 0.12);
  --danger-border: rgba(239, 68, 68, 0.32);
  --warn-bg: rgba(242, 177, 58, 0.12);
  --warn-border: rgba(242, 177, 58, 0.30);
  --warn-ink: #F2B13A;
  --code-bg: #0E0E0D;
  --code-ink: #E6E4DD;
  --drop-hover: rgba(232, 77, 36, 0.08);
  --dot-color: #262624;
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  background-color: var(--paper);
  color: var(--ink);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--signal-soft);
  color: var(--ink);
}

h1, h2, h3, h4, .font-display {
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  margin: 0;
}

p {
  margin: 0;
}

code, pre, kbd, .font-mono {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

button, input, textarea, select, a {
  font-family: inherit;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 12px;
  top: 8px;
}

/* Layout Containers */
.container {
  max-width: 1152px;
  width: 100%;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
@media (min-width: 640px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

.prose-container {
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  padding: 36px 16px 56px;
}
@media (min-width: 640px) {
  .prose-container {
    padding: 48px 24px 64px;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--header-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.brand-mark-bg {
  fill: #111110;
}
html[data-theme="dark"] .brand-mark-bg {
  fill: #1C1C1A;
  stroke: #33332F;
  stroke-width: 1;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 20px;
  height: 56px;
}
@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-tab {
  position: relative;
  height: 56px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms ease;
}
.nav-tab:hover {
  color: var(--ink);
}
.nav-tab.is-active {
  color: var(--ink);
  font-weight: 600;
}
.nav-tab.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--signal);
}

.count-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--surface-tint);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.count-pill--signal {
  background: var(--signal-soft);
  color: var(--signal);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Theme toggle button (GetPlaced standard) */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}
.theme-toggle:hover {
  background: var(--surface-alt);
  color: var(--ink);
  border-color: var(--line);
}
.theme-icon-sun {
  display: none;
}
.theme-icon-moon {
  display: block;
}
html[data-theme="dark"] .theme-icon-sun {
  display: block;
}
html[data-theme="dark"] .theme-icon-moon {
  display: none;
}

.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-nav {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 10px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mobile-nav.hidden {
  display: none;
}

.nav-tab-mobile {
  padding: 6px 12px;
  border-radius: 8px;
  border: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  text-decoration: none;
}
.nav-tab-mobile.is-active {
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 160ms cubic-bezier(0.22, 1, 0.36, 1), background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.btn:hover:not(:disabled) {
  transform: translateY(-1px);
}
.btn:active:not(:disabled) {
  transform: translateY(0.5px) scale(0.985);
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--signal);
  color: #FFFFFF;
  padding: 11px 16px;
  font-size: 14px;
}
.btn-primary:hover:not(:disabled) {
  background: var(--signal-hover);
}

.btn-ink {
  background: var(--ink);
  color: var(--paper);
  padding: 8px 14px;
  font-size: 12px;
}
.btn-ink:hover:not(:disabled) {
  opacity: 0.9;
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
  padding: 8px 12px;
  font-size: 12px;
}
.btn-secondary:hover:not(:disabled) {
  border-color: var(--line-2);
  background: var(--surface-alt);
}

.btn-subtle {
  background: var(--surface-alt);
  color: var(--ink);
  border-color: var(--line);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 500;
}
.btn-subtle:hover:not(:disabled) {
  border-color: var(--line-2);
}

.btn-danger-outline {
  background: var(--surface);
  color: var(--muted);
  border-color: var(--line);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 500;
}
.btn-danger-outline:hover:not(:disabled) {
  border-color: #DC2626;
  color: #DC2626;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

.btn-pill {
  border-radius: 999px;
}

.btn-full {
  width: 100%;
}

/* Segmented pills */
.segmented {
  display: inline-flex;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  padding: 4px;
  border-radius: 10px;
  gap: 2px;
}
.seg-btn {
  border: 0;
  border-radius: 7px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: var(--muted);
  transition: background-color 140ms ease, color 140ms ease;
}
.seg-btn.is-active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

/* Panels & Inputs */
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.panel-dark {
  background: #0C0C0E;
  color: #F2F2EF;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
}
html[data-theme="dark"] .panel-dark {
  background: #181A18;
  border-color: rgba(60, 207, 142, 0.38);
}

.field-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface-alt);
  color: var(--ink);
  font-size: 14px;
}
.input:focus {
  border-color: var(--ink);
  background: var(--surface);
  outline: none;
}
.input-mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}

.url-input-group {
  display: flex;
  align-items: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface-alt);
  overflow: hidden;
}
.url-input-group:focus-within {
  border-color: var(--ink);
  background: var(--surface);
}
.url-prefix {
  padding: 10px 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  background: var(--surface-tint);
  border-right: 1px solid var(--line);
  white-space: nowrap;
  flex-shrink: 0;
}
.url-input-group input {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 10px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.url-input-group input:focus {
  outline: none;
}

/* Main Workspace */
.main-wrap {
  flex: 1;
  padding-top: 24px;
  padding-bottom: 48px;
}
@media (min-width: 640px) {
  .main-wrap {
    padding-top: 32px;
    padding-bottom: 56px;
  }
}

.hero-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.hero-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--ink);
  max-width: 780px;
}
@media (min-width: 640px) {
  .hero-title {
    font-size: 36px;
  }
}

.hero-sub {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
  max-width: 680px;
}

.inline-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--surface-tint);
  color: var(--ink);
}

.starters-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: 100%;
}

/* Deploy Grid & Mobile-First Ordering */
.deploy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
@media (min-width: 1024px) {
  .deploy-grid {
    grid-template-columns: 7fr 5fr;
  }
}

.editor-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* On phones, show Paste HTML editor FIRST and Dropzone SECOND */
.paste-panel {
  order: 1;
  overflow: hidden;
}
.dropzone {
  order: 2;
  background-color: var(--surface-alt);
  background-image: radial-gradient(var(--dot-color) 1px, transparent 1px);
  background-size: 16px 16px;
  border: 2px dashed var(--line-2);
  border-radius: 12px;
  padding: 18px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease;
}
.dropzone:hover,
.dropzone.dropzone-active {
  border-color: var(--signal);
  background-color: var(--drop-hover);
}
@media (min-width: 1024px) {
  .dropzone {
    order: 1;
    padding: 22px 24px;
  }
  .paste-panel {
    order: 2;
  }
}

.editor-bar {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-alt);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.code-area {
  display: block;
  width: 100%;
  min-height: 230px;
  background: var(--code-bg);
  color: var(--code-ink);
  border: 0;
  padding: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  line-height: 1.6;
  resize: vertical;
  tab-size: 2;
}
@media (min-width: 1024px) {
  .code-area {
    min-height: 280px;
  }
}
.code-area:focus {
  outline: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 5px;
}
.badge-live {
  background: var(--live-bg);
  color: var(--live-ink);
}
.badge-muted {
  background: var(--surface-tint);
  color: var(--muted);
}
.badge-warn {
  background: var(--warn-bg);
  color: var(--warn-ink);
}
.badge-pro {
  background: var(--surface-tint);
  color: var(--ink);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--live);
  flex-shrink: 0;
}

/* Toggle Switch */
.toggle-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
}
.toggle-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}
.toggle-switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.toggle-track {
  width: 38px;
  height: 22px;
  background: var(--line-2);
  border-radius: 999px;
  position: relative;
  transition: background-color 160ms ease;
}
.toggle-track::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--surface);
  transition: transform 160ms ease;
}
.toggle-switch input:checked + .toggle-track {
  background: var(--ink);
}
.toggle-switch input:checked + .toggle-track::after {
  background: var(--paper);
}
.toggle-switch input:checked + .toggle-track--signal {
  background: var(--signal);
}
.toggle-switch input:checked + .toggle-track--signal::after {
  background: #FFFFFF;
}
.toggle-switch input:checked + .toggle-track::after {
  transform: translateX(16px);
}
.toggle-switch input:focus-visible + .toggle-track {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

/* Status Boxes */
.status-banner {
  border-radius: 10px;
  padding: 14px;
  font-size: 13px;
  border: 1px solid var(--line);
}
.status-banner--error {
  background: var(--danger-bg);
  border-color: var(--danger-border);
  color: var(--danger);
}
.status-banner--limit {
  background: var(--warn-bg);
  border-color: var(--warn-border);
  color: var(--warn-ink);
}
.status-banner--success {
  background: var(--surface-alt);
  border-color: var(--live);
  color: var(--ink);
}
.status-banner--empty {
  background: var(--surface-alt);
  border-style: dashed;
  color: var(--muted);
}

/* Interactive Live Demo Playground */
.demo-section {
  margin-top: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.demo-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.demo-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  background-color: var(--surface-alt);
  background-image: radial-gradient(var(--dot-color) 1px, transparent 1px);
  background-size: 18px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}
@media (min-width: 1024px) {
  .demo-shell {
    grid-template-columns: 7fr 5fr;
    padding: 20px;
  }
}
.demo-window {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.demo-bar {
  height: 40px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.demo-dots {
  display: flex;
  gap: 6px;
}
.demo-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-2);
}
.demo-url-pill {
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.demo-split {
  display: grid;
  grid-template-columns: 1fr;
  flex: 1;
}
@media (min-width: 768px) {
  .demo-split {
    grid-template-columns: 1fr 1fr;
  }
}
.demo-code-pane {
  padding: 16px;
  background: var(--code-bg);
  color: var(--code-ink);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}
.demo-form-pane {
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  background: var(--surface);
}
.demo-inbox-list {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.demo-lead-card {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface-alt);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 180ms ease, transform 200ms ease;
}
.demo-lead-card.is-new {
  border-color: var(--live);
}
.demo-telegram-card {
  padding: 12px;
  border-radius: 10px;
  background: #0C0C0E;
  color: #F2F2EF;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
}

/* Numbered 01 / 02 / 03 Steps (GetPlaced standard) */
.how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 768px) {
  .how-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.how-card {
  padding: 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.how-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--signal);
}

/* Sites Grid */
.sites-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .sites-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .sites-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Pricing (GetPlaced Standard) */
.pricing-hero {
  text-align: center;
  max-width: 640px;
  margin: 12px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.pricing-cards-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 1024px;
  width: 100%;
  margin: 12px auto 0;
  align-items: center;
}
@media (min-width: 768px) {
  .pricing-cards-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.pricing-card--featured {
  background: #0C0C0E;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 44px -14px rgba(17, 17, 16, 0.28);
}
@media (min-width: 768px) {
  .pricing-card--featured {
    padding-top: 32px;
    padding-bottom: 32px;
  }
}
html[data-theme="dark"] .pricing-card--featured {
  background: #181A18;
  border-color: rgba(60, 207, 142, 0.40);
  box-shadow: 0 20px 44px -14px rgba(0, 0, 0, 0.55);
}
.pricing-pill {
  position: absolute;
  top: -12px;
  left: 24px;
  border-radius: 999px;
  background: var(--signal);
  color: #FFFFFF;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
}
.feature-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.feature-check {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--live);
}
.pricing-card--featured .feature-check {
  color: #3CCF8E;
}

.trust-strip {
  list-style: none;
  margin: 20px auto 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  font-size: 13px;
  color: var(--muted);
}
.trust-strip li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.compare-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
.compare-table thead tr {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.compare-table th,
.compare-table td {
  padding: 12px 14px 12px 0;
}
.compare-table tbody tr {
  border-bottom: 1px solid var(--line);
}
.compare-table tbody th {
  font-weight: 500;
  color: var(--ink-2);
}

/* FAQ Accordion (GetPlaced Standard) */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 36px;
}
@media (min-width: 1024px) {
  .faq-grid {
    grid-template-columns: 1fr 2fr;
    gap: 48px;
  }
}
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}
.faq-item > summary::-webkit-details-marker {
  display: none;
}
.faq-chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--ink-4);
  transition: transform 200ms ease;
}
.faq-item[data-expanded] .faq-chevron {
  transform: rotate(180deg);
}
.faq-body {
  overflow: hidden;
}
.faq-body p {
  padding-bottom: 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 640px;
}
.faq-body a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 4px;
}
.faq-body a:hover {
  text-decoration-color: var(--ink);
}

/* Tables */
.table-wrap {
  overflow-x: auto;
}
table.inbox-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
table.inbox-table th {
  padding: 12px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
}
table.inbox-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 13px;
}
table.inbox-table tr:last-child td {
  border-bottom: 0;
}
table.inbox-table tbody tr:hover {
  background: var(--surface-alt);
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(11, 11, 10, 0.72);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-backdrop.hidden {
  display: none;
}
.modal-sheet {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.35);
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
}

/* Editorial Footer (GetPlaced Multi-Column Standard) */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
  margin-top: 56px;
}
.editorial-footer-grid {
  padding-top: 40px;
  padding-bottom: 36px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 640px) {
  .editorial-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .editorial-footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}
.footer-col-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
.footer-col-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}
.footer-col-list a {
  color: var(--muted);
  text-decoration: none;
}
.footer-col-list a:hover {
  color: var(--ink);
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-4);
}
@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Toast */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 60;
  max-width: 360px;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  font-weight: 500;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: center;
  gap: 8px;
}
.toast.hidden {
  display: none;
}

/* Prose / Editorial Pages */
.prose h1 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--ink);
}
.prose h2 {
  font-size: 19px;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 8px;
  color: var(--ink);
}
.prose p,
.prose li {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.65;
  margin-bottom: 12px;
}
.prose ul {
  padding-left: 20px;
  margin-bottom: 16px;
}
.prose a:not(.btn) {
  color: var(--signal);
  font-weight: 500;
}
.prose a.btn {
  text-decoration: none;
}
.prose a.btn-primary {
  color: #FFFFFF;
}
.prose a.btn-secondary {
  color: var(--ink);
}

/* Template Gallery & Live Scaled Iframe Previews */
.tpl-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.tpl-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .tpl-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .tpl-grid--compact {
    grid-template-columns: repeat(3, 1fr);
  }
}
.tpl-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 160ms ease;
}
.tpl-card:hover {
  border-color: var(--line-2);
}
.tpl-preview-box {
  position: relative;
  height: 220px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
}
.tpl-preview-bar {
  position: relative;
  z-index: 2;
  height: 28px;
  padding: 0 10px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.tpl-preview-viewport {
  position: relative;
  width: 100%;
  height: 192px;
  overflow: hidden;
  background: #FBFBF9;
}
.tpl-preview-iframe {
  width: 1040px;
  height: 660px;
  border: 0;
  transform: scale(0.46);
  transform-origin: top left;
  pointer-events: none;
  background: #FFFFFF;
}
@media (min-width: 768px) {
  .tpl-preview-iframe {
    transform: scale(0.49);
  }
}
.tpl-preview-overlay {
  position: absolute;
  inset: 28px 0 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 10px;
  background: linear-gradient(to top, rgba(17, 17, 16, 0.14), transparent 45%);
  opacity: 0;
  transition: opacity 150ms ease;
}
.tpl-preview-box:hover .tpl-preview-overlay {
  opacity: 1;
}
.tpl-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  flex: 1;
}
.tpl-fields-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tpl-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  color: var(--ink-2);
}

.home-templates-section {
  margin-top: 8px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.home-tpl-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 640px) {
  .home-tpl-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .home-tpl-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.home-tpl-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .btn, .demo-lead-card {
    transition: none !important;
    animation: none !important;
  }
}
