/* Shared light-theme tokens for marketing / legal pages — matches assets/app.css */
:root {
  --mkt-bg: #f5f0e8;
  --mkt-surface: #ffffff;
  --mkt-surface2: #faf7f0;
  --mkt-border: #e6dccb;
  --mkt-border2: #d9cdb8;
  --mkt-text: #2b241d;
  --mkt-muted: #7a6f63;
  --mkt-accent: #d97757;
  --mkt-accent2: #7a63c0;
  --mkt-green: #15803d;
  --mkt-orange: #a16207;
  --mkt-red: #b42318;
  --d1: #d97757;
  --d2: #7a63c0;
  --d3: #38808e;
  --d4: #15803d;
  --d5: #bd5169;
}

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

body.mkt {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--mkt-bg);
  color: var(--mkt-text);
  min-height: 100vh;
  line-height: 1.6;
}

.mkt a { color: var(--mkt-accent); text-decoration: none; }
.mkt a:hover { text-decoration: underline; }
.mkt a.mkt-btn, .mkt a.mkt-btn:hover { color: white; text-decoration: none; }
.mkt a.mkt-btn-secondary, .mkt a.mkt-btn-secondary:hover { color: var(--mkt-text); }
.mkt a.mkt-btn-secondary:hover { color: var(--mkt-accent); }

.mkt-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 60px; border-bottom: 1px solid var(--mkt-border);
  background: rgba(245, 240, 232, 0.85); backdrop-filter: blur(16px);
}
.mkt-nav-brand { font-size: 15px; font-weight: 800; }
.mkt-nav-links { display: flex; gap: 20px; font-size: 13px; }
.mkt-nav-links a { color: var(--mkt-muted); }
.mkt-nav-links a:hover { color: var(--mkt-text); }

.mkt-wrap { max-width: 900px; margin: 0 auto; padding: 48px 24px 80px; }
.mkt-wrap-narrow { max-width: 720px; margin: 0 auto; padding: 48px 24px 80px; }

.mkt-eyebrow {
  display: inline-flex; font-size: 11px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--mkt-accent); margin-bottom: 16px;
}
.mkt h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 900; letter-spacing: -0.02em; margin-bottom: 12px; line-height: 1.1; }
.mkt h1 span { background: linear-gradient(90deg, #d97757, #c96745); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.mkt .lead { color: var(--mkt-muted); font-size: 17px; margin-bottom: 32px; max-width: 600px; }

.mkt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--mkt-accent); color: white; border: none; border-radius: 10px;
  padding: 14px 24px; font-size: 15px; font-weight: 700; cursor: pointer; text-decoration: none;
  transition: all 0.15s;
  box-shadow: 0 1px 3px rgba(59, 47, 34, 0.08);
}
.mkt-btn:hover { background: #c96745; transform: translateY(-1px); text-decoration: none; }
.mkt-btn-secondary { background: var(--mkt-surface2); border: 1px solid var(--mkt-border2); color: var(--mkt-text); box-shadow: none; }
.mkt-btn-secondary:hover { border-color: var(--mkt-accent); color: var(--mkt-accent); background: var(--mkt-surface2); transform: none; }

.mkt-hero { padding: 56px 0 40px; border-bottom: 1px solid var(--mkt-border); margin-bottom: 40px; }
.mkt-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.mkt-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.mkt-stat-num { font-size: 28px; font-weight: 900; color: var(--mkt-accent); }
.mkt-stat-label { font-size: 12px; color: var(--mkt-muted); }

.mkt-section { margin-bottom: 48px; }
.mkt-section h2 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.mkt-section .sub { color: var(--mkt-muted); font-size: 14px; margin-bottom: 20px; }

.mkt-stack-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.mkt-stack-step {
  background: var(--mkt-surface); border: 1px solid var(--mkt-border); border-radius: 12px; padding: 16px;
  box-shadow: 0 1px 2px rgba(59, 47, 34, 0.04);
}
.mkt-stack-letter { font-size: 24px; font-weight: 900; color: var(--mkt-accent); }
.mkt-stack-word { font-size: 13px; font-weight: 800; margin: 4px 0; }
.mkt-stack-desc { font-size: 12px; color: var(--mkt-muted); line-height: 1.5; }

.mkt-domain-row { display: grid; grid-template-columns: 140px 1fr 40px; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 13px; }
.mkt-domain-bar { height: 8px; background: var(--mkt-border); border-radius: 4px; overflow: hidden; }
.mkt-domain-fill { height: 100%; border-radius: 4px; }

.mkt-kill-list { display: grid; gap: 8px; }
.mkt-kill-item {
  display: flex; gap: 10px; align-items: flex-start; font-size: 13px;
  background: var(--mkt-surface); border: 1px solid var(--mkt-border); border-radius: 8px; padding: 12px 14px;
  box-shadow: 0 1px 2px rgba(59, 47, 34, 0.04);
}
.mkt-kill-x { color: var(--mkt-red); font-weight: 800; }

.mkt-callout {
  background: #f6e7de; border: 1px solid #eac9b8;
  border-radius: 12px; padding: 20px 24px; font-size: 14px; margin-top: 24px;
}

.mkt-footer {
  border-top: 1px solid var(--mkt-border); padding: 32px 24px 48px;
  font-size: 12px; color: var(--mkt-muted); text-align: center;
}
.mkt-footer a { color: var(--mkt-muted); margin: 0 8px; }
.mkt-footer strong { color: var(--mkt-accent); }

.mkt-legal h2 { font-size: 18px; margin: 28px 0 10px; }
.mkt-legal p, .mkt-legal li { font-size: 14px; color: var(--mkt-muted); margin-bottom: 10px; }
.mkt-legal ul { padding-left: 20px; }

/* Pricing page (access.html) */
.mkt-alert {
  background: #fbeae5; border: 1px solid #f0c2b6;
  border-radius: 10px; padding: 14px 18px; font-size: 14px; color: #9c1f15; margin-bottom: 28px;
}
.mkt-plans { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.mkt-plan {
  background: var(--mkt-surface); border: 1px solid var(--mkt-border); border-radius: 14px;
  padding: 24px; display: grid; gap: 16px;
  box-shadow: 0 1px 3px rgba(59, 47, 34, 0.06), 0 1px 2px rgba(59, 47, 34, 0.04);
}
.mkt-plan.featured { border-color: var(--mkt-accent); box-shadow: 0 0 0 1px rgba(217, 119, 87, 0.15), 0 4px 12px rgba(217, 119, 87, 0.08); }
.mkt-plan-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.mkt-plan-name { font-size: 18px; font-weight: 800; }
.mkt-plan-price { font-size: 28px; font-weight: 900; }
.mkt-plan-desc { font-size: 14px; color: var(--mkt-muted); }
.mkt-plan ul { list-style: none; display: grid; gap: 8px; font-size: 14px; }
.mkt-plan li::before { content: '✓ '; color: var(--mkt-green); font-weight: 700; }
.mkt-note { font-size: 13px; color: var(--mkt-muted); border-top: 1px solid var(--mkt-border); padding-top: 24px; line-height: 1.7; }
.mkt-open-banner {
  background: #e9f2e4; border: 1px solid #c8dfc0;
  border-radius: 12px; padding: 20px 24px; margin-bottom: 28px;
}
.mkt-open-banner h2 { font-size: 16px; font-weight: 800; color: var(--mkt-green); margin-bottom: 8px; }
.mkt-open-banner p { font-size: 14px; color: var(--mkt-text); margin-bottom: 16px; }
.mkt-plans.hidden { display: none; }
.mkt-bank-counts { font-size: 13px; color: var(--mkt-muted); margin-bottom: 24px; }
.error-msg { display: none; color: var(--mkt-red); font-size: 13px; margin-top: 8px; }
.mkt-comped {
  background: var(--mkt-surface); border: 1px solid var(--mkt-border); border-radius: 12px;
  padding: 18px 20px; margin-bottom: 32px;
}
.mkt-comped-label { font-size: 13px; font-weight: 700; margin-bottom: 10px; color: var(--mkt-text); }
.mkt-comped-row { display: flex; gap: 10px; flex-wrap: wrap; }
.mkt-comped input[type="email"] {
  flex: 1; min-width: 200px; font: inherit; font-size: 14px; color: var(--mkt-text);
  background: var(--mkt-surface2); border: 1px solid var(--mkt-border2); border-radius: 10px;
  padding: 12px 14px;
}
.mkt-comped input[type="email"]:focus {
  outline: 2px solid var(--mkt-accent); outline-offset: 1px;
}

@media (max-width: 600px) {
  .mkt-nav { padding: 0 16px; }
  .mkt-nav-links { display: none; }
  .mkt-wrap, .mkt-wrap-narrow { padding: 32px 16px 60px; }
}
