/* Marketing-page-only styles, layered on top of styles.css tokens */

body.marketing {
  background: var(--surface-page);
}

.mkt-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.mkt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.mkt-logo {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 26px;
  color: var(--text-primary);
}

.mkt-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}

.mkt-nav a {
  color: var(--text-secondary);
}

.mkt-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0 88px;
}

.mkt-hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 46px;
  line-height: 1.1;
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
  margin: 0;
}

.mkt-hero p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-top: 20px;
  max-width: 460px;
}

.mkt-hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.mkt-hero-art {
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  background: repeating-linear-gradient(135deg, var(--emerald-100) 0 12px, var(--emerald-50) 12px 24px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mkt-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.mkt-hero-art span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--emerald-700);
  background: var(--surface-elevated);
  padding: 6px 12px;
  border-radius: 8px;
}

.mkt-section {
  padding: 32px 0 88px;
}

.mkt-section h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  color: var(--text-primary);
  margin: 0 0 8px;
}

.mkt-section .lede {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 0 36px;
  line-height: 1.6;
}

.edge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.edge-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.edge-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  background: var(--emerald-50);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--emerald-700);
}

.edge-card h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
  margin: 0 0 8px;
}

.edge-card p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.pricing-slider input[type="range"] {
  width: 100%;
  accent-color: var(--accent-primary);
}

.pricing-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-tertiary);
}

.pricing-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.pricing-badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--emerald-50);
  color: var(--emerald-700);
  font-size: 12px;
  font-weight: 600;
}
.pricing-badge.free { background: var(--surface-sunken); color: var(--text-secondary); }

.pricing-amount {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 44px;
  color: var(--text-primary);
  margin-top: 14px;
}

.pricing-note {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 4px;
}

.pricing-cta {
  margin-top: 22px;
  width: 100%;
  justify-content: center;
}

.pricing-footnote {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-tertiary);
}

.pricing-footnote a {
  color: var(--accent-primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--emerald-100);
  text-underline-offset: 2px;
}

.pricing-footnote a:hover {
  color: var(--accent-primary-hover);
}

.mkt-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-tertiary);
}

/* Floating QR tile */
.qr-tile {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 220px;
  background: var(--surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 60;
}

.qr-tile canvas {
  border-radius: var(--radius-md);
}

.qr-tile .qr-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
}

.qr-tile .qr-sub {
  font-size: 11px;
  color: var(--text-secondary);
  text-align: center;
  margin-top: -6px;
}

@media (max-width: 860px) {
  .mkt-hero, .pricing-grid { grid-template-columns: 1fr; }
  .edge-grid { grid-template-columns: repeat(2, 1fr); }
  .mkt-nav { display: none; }
  .qr-tile { display: none; }
}
