/* ============================================================
   MAILEMENT — MARKETING STYLES
   For about, privacy, terms, faq, and any non-admin/non-login page.
   Depends on app.css for design tokens (--bg, --text, --s-*, etc).
   ============================================================ */

:root { --site-header-h: 56px; --site-footer-h: 64px; }
:root {
  --lp-grad:      linear-gradient(135deg, oklch(62% 0.18 280), oklch(58% 0.20 320));
  --lp-grad-soft: linear-gradient(180deg, oklch(98% 0.02 320 / 1), oklch(99% 0.005 320 / 1));
  --lp-ink:       #0f1115;
  --lp-ink-soft:  #4a5159;
}
[data-theme="dark"] {
  --lp-grad-soft: linear-gradient(180deg, oklch(15% 0.04 320 / 1), oklch(10% 0.01 320 / 1));
  --lp-ink:       #f4f6f8;
  --lp-ink-soft:  #a8aeb5;
}

/* ---------- SITE HEADER ---------- */
.site-header {
  height: var(--site-header-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-4);
  padding: 0 var(--s-6);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 60;
  box-shadow: 0 1px 0 0 rgb(0 0 0 / 0.02);
}
.site-header .sh-left,
.site-header .sh-right { display: flex; align-items: center; gap: var(--s-2); }
.site-header .sh-logo {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text-strong); text-decoration: none;
  padding: 6px 8px; border-radius: var(--r-sm);
  transition: background 80ms ease;
}
.site-header .sh-logo:hover { background: var(--surface-hover); text-decoration: none; }
.site-header .sh-mark {
  width: 26px; height: 26px; border-radius: 7px;
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 13px;
  background: linear-gradient(135deg, oklch(62% 0.18 280), oklch(58% 0.20 320));
  box-shadow: inset 0 -1px 0 0 rgb(0 0 0 / 0.18);
  letter-spacing: -0.02em;
}
.site-header .sh-logo-img { height: 28px; width: auto; display: block; }
.site-footer .sf-logo-img { height: 22px; width: auto; display: block; }

/* Subtle "Start an account" CTA-style link in the header nav */
.site-header .sh-link.sh-link-cta {
  color: #fff;
  background: linear-gradient(135deg, oklch(58% 0.20 320), oklch(48% 0.22 280));
  font-weight: 600;
  box-shadow: 0 4px 12px -4px oklch(58% 0.20 320 / 0.50);
  transition: transform 80ms ease, box-shadow 80ms ease;
}
.site-header .sh-link.sh-link-cta:hover {
  color: #fff;
  background: linear-gradient(135deg, oklch(54% 0.20 320), oklch(44% 0.22 280));
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -4px oklch(58% 0.20 320 / 0.55);
  text-decoration: none;
}

/* MAILEMENT wordmark — used in site header, footer, and login. */
.wordmark {
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: inherit;
  white-space: nowrap;
  font-feature-settings: "ss01";
}
.wordmark .mail { color: var(--text-strong); }
.wordmark .ment {
  background: linear-gradient(135deg, oklch(62% 0.18 280), oklch(58% 0.20 320));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.site-header .wordmark { font-size: 14px; }
.site-footer .wordmark { font-size: 12px; }
.site-header .sh-link {
  font-size: 13px; color: var(--text-muted); font-weight: 500;
  padding: 6px 10px; border-radius: var(--r-sm); text-decoration: none;
}
.site-header .sh-link:hover { color: var(--text-strong); background: var(--surface-hover); text-decoration: none; }
.site-header .sh-link[aria-current="page"] { color: var(--text-strong); background: var(--surface-hover); }
.site-header .sh-divider { width: 1px; height: 18px; background: var(--border); margin: 0 4px; }

/* ---------- SITE FOOTER ---------- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: var(--s-3) var(--s-6);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  min-height: var(--site-footer-h);
  font-size: 12px; color: var(--text-muted);
}
.site-footer .sf-left { display: flex; align-items: center; gap: var(--s-3); }
.site-footer .sf-mark {
  width: 22px; height: 22px; border-radius: 6px;
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 11px;
  background: linear-gradient(135deg, oklch(62% 0.18 280), oklch(58% 0.20 320));
  letter-spacing: -0.02em;
}
.site-footer .sf-copy { color: var(--text-muted); }
.site-footer .sf-links { display: flex; align-items: center; gap: var(--s-1); }
.site-footer .sf-links a { color: var(--text-muted); padding: 4px 10px; border-radius: var(--r-sm); }
.site-footer .sf-links a:hover { color: var(--text-strong); background: var(--surface-hover); text-decoration: none; }
.site-footer .sf-dot { color: var(--text-subtle); }

/* ---------- MARKETING PAGE WRAPPER ---------- */
.marketing-body {
  min-height: 100vh;
  display: flex; flex-direction: column;
  background: var(--bg);
}
.marketing-body main { flex: 1; min-width: 0; }

/* ---------- LANDING (.lp-*) ---------- */
.lp-section { padding: var(--s-16) var(--s-6); }
.lp-container { max-width: 1120px; margin: 0 auto; width: 100%; }
.lp-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.10em; text-transform: uppercase;
  color: oklch(50% 0.18 320);
  display: inline-flex; align-items: center; gap: 8px;
}
[data-theme="dark"] .lp-eyebrow { color: oklch(78% 0.14 320); }
.lp-eyebrow::before {
  content: ''; display: inline-block;
  width: 18px; height: 1.5px; background: currentColor; border-radius: 2px;
}

/* HERO */
.lp-hero {
  position: relative;
  padding: var(--s-20) var(--s-6) var(--s-16);
  background: var(--lp-grad-soft);
  overflow: hidden;
}
.lp-hero::before {
  content: ''; position: absolute; inset: -200px -200px auto auto;
  width: 700px; height: 700px;
  background: radial-gradient(circle at 30% 30%, oklch(75% 0.18 320 / 0.18), transparent 60%);
  filter: blur(40px); pointer-events: none;
}
.lp-hero::after {
  content: ''; position: absolute; left: -200px; bottom: -300px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, oklch(75% 0.18 250 / 0.14), transparent 60%);
  filter: blur(40px); pointer-events: none;
}
.lp-hero-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: var(--s-12); align-items: center;
  max-width: 1120px; margin: 0 auto;
}
.lp-hero-copy { display: flex; flex-direction: column; gap: var(--s-5); }
.lp-hero h1 {
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.04; letter-spacing: -0.035em;
  color: var(--lp-ink); font-weight: 600;
  text-wrap: balance;
}
.lp-hero h1 .grad {
  background: var(--lp-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lp-hero .lp-sub {
  font-size: 18px; line-height: 1.55; color: var(--lp-ink-soft);
  max-width: 50ch;
}
.lp-cta-row { display: flex; gap: var(--s-3); flex-wrap: wrap; align-items: center; }
.btn-lp-primary {
  background: var(--lp-ink); color: var(--bg);
  border: 0; padding: 0 22px; height: 48px;
  border-radius: var(--r-sm); font-size: 15px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 12px -2px rgb(0 0 0 / 0.15);
  transition: transform 80ms ease, box-shadow 80ms ease;
}
.btn-lp-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 16px -4px rgb(0 0 0 / 0.20); text-decoration: none; }
.btn-lp-secondary {
  background: transparent; color: var(--lp-ink);
  border: 1px solid var(--border-strong); padding: 0 18px; height: 48px;
  border-radius: var(--r-sm); font-size: 15px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; text-decoration: none;
}
.btn-lp-secondary:hover { background: var(--surface-hover); text-decoration: none; }
.lp-trust { display: flex; align-items: center; gap: var(--s-3); font-size: 13px; color: var(--lp-ink-soft); }
.lp-trust .avs { display: flex; }
.lp-trust .av {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--bg);
  background: var(--lp-grad);
  display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 600;
}
.lp-trust .av + .av { margin-left: -8px; }
.lp-trust .av:nth-child(2) { background: linear-gradient(135deg, oklch(62% 0.16 60), oklch(58% 0.18 30)); }
.lp-trust .av:nth-child(3) { background: linear-gradient(135deg, oklch(62% 0.14 160), oklch(58% 0.16 200)); }
.lp-trust .av:nth-child(4) { background: linear-gradient(135deg, oklch(62% 0.15 240), oklch(58% 0.17 260)); }

.lp-hero-visual { position: relative; height: 460px; display: flex; align-items: center; justify-content: center; }
.lp-inbox {
  position: absolute; width: 100%; max-width: 480px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 24px 64px -16px rgb(0 0 0 / 0.20), 0 8px 16px -8px rgb(0 0 0 / 0.12);
  overflow: hidden; transform: rotate(-2deg); transition: transform 200ms ease;
}
.lp-inbox:hover { transform: rotate(-1deg) translateY(-2px); }
.lp-inbox-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: var(--surface-2); border-bottom: 1px solid var(--border-soft); }
.lp-inbox-bar .d { width: 10px; height: 10px; border-radius: 50%; }
.lp-inbox-bar .d:nth-child(1) { background: #ef6a5a; }
.lp-inbox-bar .d:nth-child(2) { background: #f3bd4f; }
.lp-inbox-bar .d:nth-child(3) { background: #5fc56e; }
.lp-inbox-bar .t { margin-left: 12px; font-size: 11px; color: var(--text-muted); }
.lp-inbox-body { padding: 22px 26px; }
.lp-inbox-from { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.lp-inbox-from .av {
  width: 36px; height: 36px; border-radius: 8px; background: var(--lp-grad);
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px;
}
.lp-inbox-from .who .nm { font-size: 13px; font-weight: 600; color: var(--text-strong); }
.lp-inbox-from .who .meta { font-size: 11px; color: var(--text-muted); }
.lp-inbox-body h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 8px; color: var(--text-strong); }
.lp-inbox-body p { font-size: 13px; line-height: 1.6; color: var(--text-muted); margin-bottom: 10px; }
.lp-inbox-cta { display: inline-block; margin-top: 8px; padding: 8px 14px; background: var(--lp-ink); color: var(--bg); border-radius: 6px; font-size: 12px; font-weight: 500; }

.lp-card-stats {
  position: absolute; bottom: 20px; left: -10px;
  z-index: 3;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 14px 18px; box-shadow: 0 16px 36px -8px rgb(0 0 0 / 0.18);
  transform: rotate(3deg); display: flex; flex-direction: column; gap: 4px; min-width: 180px;
}
.lp-card-stats .lbl { font-size: 11px; color: var(--text-muted); }
.lp-card-stats .val { font-size: 28px; font-weight: 600; color: var(--text-strong); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.lp-card-stats .chg { font-size: 11px; color: oklch(50% 0.16 155); font-weight: 600; }
.lp-card-stats .spark { display: flex; align-items: flex-end; gap: 3px; height: 24px; margin-top: 4px; }
.lp-card-stats .spark span { flex: 1; background: var(--lp-grad); border-radius: 2px; opacity: 0.7; }

.lp-card-tag {
  position: absolute; top: 30px; right: -10px;
  z-index: 3;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-pill); padding: 8px 14px;
  font-size: 12px; color: var(--text-strong); font-weight: 500;
  box-shadow: 0 8px 20px -4px rgb(0 0 0 / 0.14);
  display: flex; align-items: center; gap: 6px;
  transform: rotate(4deg);
}
.lp-card-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: oklch(60% 0.18 155); box-shadow: 0 0 0 3px oklch(60% 0.18 155 / 0.20); }

/* LOGO STRIP */
.lp-strip {
  padding: var(--s-8) var(--s-6);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: var(--surface);
}
.lp-strip-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: var(--s-10); flex-wrap: wrap;
}
.lp-strip-label { font-size: 12px; color: var(--text-muted); font-weight: 500; letter-spacing: 0.04em; }
.lp-strip-logo { font-size: 16px; color: var(--text-subtle); font-weight: 600; letter-spacing: -0.02em; opacity: 0.7; }
.lp-strip-logo.serif { font-family: ui-serif, Georgia, 'Times New Roman', serif; font-style: italic; }
.lp-strip-logo.caps { text-transform: uppercase; letter-spacing: 0.18em; font-size: 12px; }
.lp-strip-logo.bold { font-weight: 800; letter-spacing: -0.04em; }

/* FEATURE BLOCKS */
.lp-feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-12);
  align-items: center;
  max-width: 1120px; margin: 0 auto;
}
.lp-feature.reverse { direction: rtl; }
.lp-feature.reverse > * { direction: ltr; }
.lp-feature-copy { display: flex; flex-direction: column; gap: var(--s-3); }
.lp-feature-copy h2 {
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -0.025em; line-height: 1.12;
  color: var(--lp-ink); font-weight: 600;
  text-wrap: balance;
}
.lp-feature-copy p { font-size: 16px; line-height: 1.6; color: var(--lp-ink-soft); max-width: 50ch; }
.lp-feature-list { display: flex; flex-direction: column; gap: var(--s-2); margin-top: var(--s-2); list-style: none; padding: 0; }
.lp-feature-list li { display: flex; gap: 10px; font-size: 14px; color: var(--lp-ink); }
.lp-feature-list .ck {
  flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%;
  background: oklch(94% 0.07 320); color: oklch(48% 0.18 320);
  display: grid; place-items: center;
}
[data-theme="dark"] .lp-feature-list .ck { background: oklch(28% 0.08 320); color: oklch(82% 0.12 320); }

.lp-illus {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: var(--s-6);
  box-shadow: 0 16px 40px -12px rgb(0 0 0 / 0.12);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: var(--s-3);
}
.lp-illus.tint { background: var(--lp-grad-soft); }
.lp-illus .brand-tile {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-sm);
}
.lp-illus .brand-tile.active { border-color: var(--text-strong); box-shadow: 0 0 0 2px oklch(58% 0.20 320 / 0.30); }
.lp-illus .brand-tile .chip { width: 22px; height: 22px; border-radius: 5px; flex-shrink: 0; }
.lp-illus .brand-tile .nm { font-size: 13px; font-weight: 500; color: var(--text-strong); }
.lp-illus .brand-tile .dom { font-size: 11px; color: var(--text-muted); }
.lp-illus .brand-tile .meta { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }

.lp-illus.editor { padding: 0; }
.lp-illus.editor .ed-toolbar {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px;
  background: var(--surface-2); border-bottom: 1px solid var(--border-soft);
}
.lp-illus.editor .ed-pill { padding: 3px 8px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--border-soft); font-size: 11px; color: var(--text-muted); }
.lp-illus.editor .ed-pill.on { background: var(--lp-ink); color: var(--bg); border-color: var(--lp-ink); }
.lp-illus.editor .ed-body { padding: var(--s-4); display: flex; flex-direction: column; gap: 10px; }
.lp-illus.editor .ed-block {
  padding: 10px 12px; background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: var(--r-sm);
  font-size: 11px; color: var(--text-muted); display: flex; align-items: center; gap: 8px;
}
.lp-illus.editor .ed-block.selected { background: oklch(96% 0.03 320); border-color: oklch(58% 0.20 320); }
[data-theme="dark"] .lp-illus.editor .ed-block.selected { background: oklch(25% 0.06 320); }
.lp-illus.editor .ed-block .ic { width: 16px; height: 16px; border-radius: 4px; background: var(--lp-grad); flex-shrink: 0; }
.lp-illus.editor .ed-block .lines { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.lp-illus.editor .ed-block .ln { height: 5px; background: var(--border); border-radius: 2px; }
.lp-illus.editor .ed-block .ln.s { width: 60%; }
.lp-illus.editor .ed-block .ln.m { width: 85%; }

.lp-illus.metrics .mm-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.lp-illus.metrics .mm-tile { padding: var(--s-3); background: var(--surface-2); border-radius: var(--r-sm); display: flex; flex-direction: column; gap: 2px; }
.lp-illus.metrics .mm-tile .lbl { font-size: 11px; color: var(--text-muted); }
.lp-illus.metrics .mm-tile .val { font-size: 22px; font-weight: 600; color: var(--text-strong); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.lp-illus.metrics .mm-tile .chg { font-size: 11px; font-weight: 600; color: oklch(50% 0.16 155); }
.lp-illus.metrics .mm-tile .chg.down { color: oklch(56% 0.18 25); }
.lp-illus.metrics .chart {
  margin-top: var(--s-3); height: 100px;
  background: linear-gradient(180deg, oklch(58% 0.20 320 / 0.12), transparent 70%);
  border-radius: var(--r-sm);
  position: relative; overflow: hidden;
}
.lp-illus.metrics .chart svg { width: 100%; height: 100%; }

/* STATS */
.lp-stats { background: var(--lp-ink); color: var(--bg); padding: var(--s-12) var(--s-6); }
[data-theme="dark"] .lp-stats { background: oklch(20% 0.02 280); }
.lp-stats-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-6); }
.lp-stat { display: flex; flex-direction: column; gap: 6px; }
.lp-stat .num {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 600; letter-spacing: -0.03em; line-height: 1;
  font-variant-numeric: tabular-nums;
  background: var(--lp-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lp-stat .lbl { font-size: 13px; color: oklch(85% 0.01 320 / 0.7); line-height: 1.4; }

/* PRICING */
.lp-pricing-head {
  max-width: 720px; margin: 0 auto var(--s-8);
  text-align: center;
  display: flex; flex-direction: column; gap: var(--s-3); align-items: center;
}
.lp-pricing-head h2 {
  font-size: clamp(32px, 3.4vw, 44px);
  letter-spacing: -0.03em; line-height: 1.1;
  color: var(--lp-ink); font-weight: 600;
  text-wrap: balance;
}
.lp-pricing-head p { font-size: 16px; line-height: 1.55; color: var(--lp-ink-soft); max-width: 50ch; }
.lp-pricing-head .lp-eyebrow { justify-content: center; }

.lp-price-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4);
  max-width: 1040px; margin: 0 auto;
  align-items: stretch;
}
.lp-price {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: var(--s-6);
  gap: var(--s-4);
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}
.lp-price:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: 0 16px 36px -10px rgb(0 0 0 / 0.10);
}
.lp-price-head { display: flex; flex-direction: column; gap: 4px; }
.lp-price-name {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted);
}
.lp-price-tag { display: flex; align-items: baseline; gap: 4px; margin-top: var(--s-2); }
.lp-price-num {
  font-size: 44px; font-weight: 600;
  letter-spacing: -0.03em; line-height: 1;
  color: var(--lp-ink);
  font-variant-numeric: tabular-nums;
}
.lp-price-unit { font-size: 14px; color: var(--text-muted); font-weight: 500; }
.lp-price-tagline {
  font-size: 14px; color: var(--lp-ink-soft);
  line-height: 1.5; text-wrap: pretty;
  margin-top: var(--s-2); padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--border-soft);
}
.lp-price-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--s-2); flex: 1; }
.lp-price-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--lp-ink); }
.lp-price-list .ck {
  flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%;
  background: oklch(94% 0.07 320); color: oklch(48% 0.18 320);
  display: grid; place-items: center; margin-top: 1px;
}
[data-theme="dark"] .lp-price-list .ck { background: oklch(28% 0.08 320); color: oklch(82% 0.12 320); }

.lp-price-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 16px;
  background: var(--surface); color: var(--lp-ink);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  transition: background 80ms ease, border-color 80ms ease, transform 80ms ease;
}
.lp-price-cta:hover { background: var(--surface-hover); text-decoration: none; border-color: var(--lp-ink); transform: translateY(-1px); }

.lp-price.popular {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--lp-grad) border-box;
  box-shadow: 0 24px 48px -16px oklch(58% 0.20 320 / 0.30);
  transform: translateY(-4px);
}
.lp-price.popular:hover { transform: translateY(-6px); }
.lp-price.popular .lp-price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  background: var(--lp-grad); color: #fff;
  border-radius: var(--r-pill);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  box-shadow: 0 6px 14px -4px oklch(58% 0.20 320 / 0.50);
  white-space: nowrap;
}
.lp-price.popular .lp-price-badge .star {
  width: 8px; height: 8px; background: #fff;
  clip-path: polygon(50% 0, 61% 38%, 100% 38%, 68% 60%, 79% 100%, 50% 76%, 21% 100%, 32% 60%, 0 38%, 39% 38%);
}
.lp-price.popular .lp-price-cta {
  background: var(--lp-ink); color: var(--bg);
  border-color: var(--lp-ink);
}
.lp-price.popular .lp-price-cta:hover { background: oklch(20% 0.02 280); border-color: oklch(20% 0.02 280); }

.lp-pricing-note {
  max-width: 720px; margin: var(--s-6) auto 0;
  text-align: center; font-size: 13px; color: var(--lp-ink-soft);
}
.lp-pricing-note strong { color: var(--text-strong); font-weight: 500; }

/* TESTIMONIAL */
.lp-quote { max-width: 880px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; gap: var(--s-5); align-items: center; }
.lp-quote blockquote {
  font-size: clamp(22px, 2.4vw, 32px); line-height: 1.35; letter-spacing: -0.015em;
  color: var(--lp-ink); font-weight: 500;
  margin: 0; text-wrap: balance;
}
.lp-quote blockquote::before { content: '\201C'; color: oklch(58% 0.20 320); margin-right: 4px; }
.lp-quote blockquote::after { content: '\201D'; color: oklch(58% 0.20 320); margin-left: 4px; }
.lp-quote-by { display: flex; align-items: center; gap: 12px; }
.lp-quote-by .av { width: 44px; height: 44px; border-radius: 50%; background: var(--lp-grad); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 16px; }
.lp-quote-by .who { text-align: left; }
.lp-quote-by .who .nm { font-size: 14px; font-weight: 600; color: var(--lp-ink); }
.lp-quote-by .who .role { font-size: 12px; color: var(--lp-ink-soft); }

/* FINAL CTA */
.lp-cta {
  margin: 0 var(--s-6) var(--s-16);
  max-width: 1120px; margin-left: auto; margin-right: auto;
  background: var(--lp-grad);
  border-radius: 24px;
  padding: var(--s-12) var(--s-10);
  color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-6);
  position: relative; overflow: hidden;
}
.lp-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgb(255 255 255 / 0.20), transparent 50%); pointer-events: none; }
.lp-cta-text { position: relative; }
.lp-cta-text h2 { font-size: clamp(28px, 3vw, 40px); color: #fff; letter-spacing: -0.025em; line-height: 1.1; font-weight: 600; margin-bottom: 8px; }
.lp-cta-text p { font-size: 16px; color: rgb(255 255 255 / 0.85); max-width: 50ch; }
.lp-cta-actions { position: relative; display: flex; gap: var(--s-2); flex-wrap: wrap; }
.btn-lp-white {
  background: #fff; color: var(--lp-ink);
  border: 0; padding: 0 22px; height: 48px;
  border-radius: var(--r-sm); font-size: 15px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; text-decoration: none;
}
.btn-lp-white:hover { background: oklch(96% 0.005 280); text-decoration: none; }
.btn-lp-ghost {
  background: transparent; color: #fff;
  border: 1px solid rgb(255 255 255 / 0.40); padding: 0 18px; height: 48px;
  border-radius: var(--r-sm); font-size: 15px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; text-decoration: none;
}
.btn-lp-ghost:hover { background: rgb(255 255 255 / 0.10); text-decoration: none; }

@media (max-width: 880px) {
  .lp-hero-grid { grid-template-columns: 1fr; }
  .lp-hero-visual { height: 380px; }
  .lp-feature { grid-template-columns: 1fr; gap: var(--s-6); }
  .lp-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .lp-price-grid { grid-template-columns: 1fr; }
  .lp-price.popular { transform: none; }
  .lp-price.popular:hover { transform: translateY(-2px); }
  .lp-cta { flex-direction: column; align-items: flex-start; padding: var(--s-8); }
}

/* ============================================================
   LEGAL DOC LAYOUT (Terms / Privacy)
   ============================================================ */
.legal-wrap {
  display: grid; grid-template-columns: 220px minmax(0, 1fr);
  gap: var(--s-10);
  max-width: 1040px; margin: 0 auto;
  padding: var(--s-12) var(--s-6) var(--s-16);
  align-items: flex-start;
}
.legal-toc {
  position: sticky; top: calc(var(--site-header-h) + var(--s-6));
  font-size: 13px;
  display: flex; flex-direction: column; gap: var(--s-3);
}
.legal-toc .toc-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: var(--s-2);
  border-bottom: 1px solid var(--border);
}
.legal-toc ol { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.legal-toc ol li a {
  display: flex; gap: 8px; align-items: baseline;
  padding: 6px 10px; border-radius: var(--r-sm);
  color: var(--text-muted); text-decoration: none;
  border-left: 2px solid transparent;
}
.legal-toc ol li a:hover { color: var(--text-strong); background: var(--surface-hover); text-decoration: none; }
.legal-toc ol li a .n { font-variant-numeric: tabular-nums; color: var(--text-subtle); min-width: 18px; }

.legal-doc { max-width: 720px; }
.legal-doc > header { padding-bottom: var(--s-6); border-bottom: 1px solid var(--border); margin-bottom: var(--s-8); }
.legal-doc .legal-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.10em; text-transform: uppercase;
  color: oklch(50% 0.18 320);
}
[data-theme="dark"] .legal-doc .legal-eyebrow { color: oklch(78% 0.14 320); }
.legal-doc h1 {
  font-size: clamp(34px, 3.5vw, 44px);
  letter-spacing: -0.025em; line-height: 1.1;
  margin-top: 8px; color: var(--lp-ink); font-weight: 600;
}
.legal-doc .legal-meta {
  display: flex; gap: var(--s-4); margin-top: var(--s-3);
  font-size: 13px; color: var(--text-muted); flex-wrap: wrap;
}
.legal-doc .legal-meta span { display: inline-flex; gap: 6px; align-items: center; }
.legal-doc .legal-meta strong { color: var(--text-strong); font-weight: 500; }

.legal-doc .legal-draft-banner {
  margin-bottom: var(--s-5);
  background: oklch(96% 0.08 65); border: 1px solid oklch(86% 0.12 65);
  color: oklch(40% 0.12 60);
  border-radius: var(--r-md); padding: var(--s-3) var(--s-4);
  font-size: 13px; line-height: 1.55;
  display: flex; gap: var(--s-2); align-items: flex-start;
}
[data-theme="dark"] .legal-doc .legal-draft-banner {
  background: oklch(28% 0.06 60); border-color: oklch(40% 0.10 60); color: oklch(82% 0.12 60);
}
.legal-doc .legal-draft-banner strong { color: inherit; }

.legal-doc .legal-intro {
  background: var(--surface-2); border: 1px solid var(--border-soft);
  border-radius: var(--r-md); padding: var(--s-4) var(--s-5);
  font-size: 14px; color: var(--text); line-height: 1.6;
  margin-bottom: var(--s-8);
  border-left: 3px solid oklch(58% 0.20 320);
}

.legal-doc section { padding-bottom: var(--s-8); margin-bottom: var(--s-8); border-bottom: 1px solid var(--border-soft); }
.legal-doc section:last-of-type { border-bottom: 0; }
.legal-doc section h2 {
  font-size: 22px; letter-spacing: -0.015em; color: var(--lp-ink);
  font-weight: 600; line-height: 1.25;
  scroll-margin-top: calc(var(--site-header-h) + 16px);
  display: flex; gap: 12px; align-items: baseline;
}
.legal-doc section h2 .num {
  color: oklch(58% 0.20 320); font-variant-numeric: tabular-nums;
  font-size: 14px; font-weight: 600; letter-spacing: 0.04em; min-width: 28px;
}
.legal-doc section p, .legal-doc section li {
  font-size: 15px; line-height: 1.65; color: var(--text);
  margin-top: var(--s-3);
}
.legal-doc section ul { padding-left: var(--s-5); margin: 0; }
.legal-doc section ul li { margin-top: 6px; }
.legal-doc section ul li::marker { color: oklch(58% 0.20 320); }
.legal-doc .legal-foot {
  margin-top: var(--s-10); padding: var(--s-5) var(--s-6);
  background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: var(--r-md);
  display: flex; gap: var(--s-4); align-items: center;
}
.legal-doc .legal-foot .ic {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: var(--r-md);
  background: var(--lp-grad); display: grid; place-items: center; color: #fff;
}
.legal-doc .legal-foot .body { flex: 1; }
.legal-doc .legal-foot .ttl { font-size: 14px; font-weight: 600; color: var(--text-strong); }
.legal-doc .legal-foot .sub { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.legal-doc .legal-foot a { font-weight: 500; }

@media (max-width: 800px) {
  .legal-wrap { grid-template-columns: 1fr; gap: var(--s-5); }
  .legal-toc { position: static; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap {
  max-width: 820px; margin: 0 auto;
  padding: var(--s-12) var(--s-6) var(--s-16);
}
.faq-wrap > header {
  text-align: center;
  margin-bottom: var(--s-10);
  display: flex; flex-direction: column; gap: var(--s-3); align-items: center;
}
.faq-wrap > header h1 {
  font-size: clamp(34px, 3.6vw, 48px);
  letter-spacing: -0.03em; line-height: 1.08;
  color: var(--lp-ink); font-weight: 600; text-wrap: balance;
}
.faq-wrap > header p {
  font-size: 17px; line-height: 1.55; color: var(--lp-ink-soft); max-width: 56ch;
}

.faq-list { display: flex; flex-direction: column; gap: var(--s-2); }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 80ms ease, box-shadow 120ms ease;
}
.faq-item[open] { border-color: oklch(58% 0.20 320 / 0.55); box-shadow: 0 6px 18px -8px oklch(58% 0.20 320 / 0.18); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-4) var(--s-5);
  font-size: 15.5px; font-weight: 500; color: var(--text-strong);
  line-height: 1.45;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev {
  margin-left: auto; flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 180ms ease;
}
.faq-item[open] summary .chev { transform: rotate(180deg); color: oklch(58% 0.20 320); }
.faq-item .faq-body {
  padding: 0 var(--s-5) var(--s-5);
  font-size: 14.5px; line-height: 1.65; color: var(--text);
}
.faq-item .faq-body p { margin-bottom: var(--s-2); }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

.faq-foot {
  margin-top: var(--s-10);
  padding: var(--s-6);
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  text-align: center;
  font-size: 14px; color: var(--text); line-height: 1.55;
}
.faq-foot strong { color: var(--text-strong); }
