/* site.css — EML to PDF marketing site
   Palette matches the extension's own dark navy + gold system (deliberate
   brand continuity, not a default): #0B0E17 base, #F6B93B gold accent.
   Typography is distinct from the product UI on purpose: Fraunces for
   display (a warm, slightly editorial serif — this is a document/paper
   product, not just software) + Inter for body + IBM Plex Mono for
   file-extension-flavored labels (.eml / .pdf), which ties directly to
   the subject matter instead of being decorative. */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
  --bg: #0B0E17;
  --bg-2: #0E1220;
  --surface: #171B2C;
  --surface-2: #1B2036;
  --border: #262B42;
  --ink: #F1F2F7;
  --ink-soft: #A6ACC4;
  --ink-faint: #6B7290;
  --gold: #F6B93B;
  --gold-hi: #FFC93C;
  --gold-ink: #1A1400;
  --violet: #8C7CFF;

  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

img, svg { display: block; max-width: 100%; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---- Nav ---- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
}

.nav-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
}

.nav-mark-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold-hi), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--ink-soft);
}

.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  padding: 13px 24px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-hi), var(--gold));
  color: var(--gold-ink);
}
.btn-gold:hover { filter: brightness(1.06); }

.btn-ghost {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--surface); }

/* ---- Hero ---- */
.hero {
  padding: 72px 0 96px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

h1 {
  font-family: var(--serif);
  font-size: 52px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 22px;
  color: #FFFFFF;
}

.hero-sub {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 460px;
  margin: 0 0 32px;
}

.hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.hero-trust {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-faint);
}

/* ---- Hero art: envelope + document motif (site signature) ---- */
.hero-art { position: relative; height: 380px; }

.hero-art svg { width: 100%; height: 100%; }

/* ---- Feature strip ---- */
.features {
  padding: 20px 0 88px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 24px;
}

.feature-mark {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 14px;
}

.feature h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--ink);
}

.feature p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

/* ---- Section shell ---- */
.section { padding: 88px 0; border-top: 1px solid var(--border); }

.section-head { text-align: center; max-width: 560px; margin: 0 auto 52px; }

.section-head .eyebrow { justify-content: center; }

.section-head h2 {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: #FFFFFF;
}

.section-head p { color: var(--ink-soft); margin: 0; font-size: 15.5px; }

/* ---- Pricing ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 780px;
  margin: 0 auto;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 28px;
}

.price-card.is-featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(246,185,59,0.08), rgba(246,185,59,0.01));
  position: relative;
}

.price-tag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 10px;
}

.is-featured .price-tag { color: var(--gold); }

.price-card h3 {
  font-family: var(--serif);
  font-size: 24px;
  margin: 0 0 4px;
  color: var(--ink);
}

.price-amount {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 14px 0 4px;
}

.price-amount span { font-size: 15px; color: var(--ink-faint); font-family: var(--sans); font-weight: 500; }

.price-note { font-size: 13px; color: var(--ink-faint); margin: 0 0 22px; }

.price-list { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 10px; }

.price-list li {
  font-size: 14px;
  color: var(--ink-soft);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.price-list li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

.price-card .btn { width: 100%; justify-content: center; }

/* ---- FAQ ---- */
.faq-list { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 1px; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 12px;
}

.faq-item h3 {
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--ink);
}

.faq-item p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

/* ---- Final CTA ---- */
.final-cta {
  padding: 90px 0;
  text-align: center;
}

.final-cta h2 {
  font-family: var(--serif);
  font-size: 36px;
  color: #FFFFFF;
  margin: 0 0 14px;
}

.final-cta p { color: var(--ink-soft); margin: 0 0 30px; }

/* ---- Footer ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-faint);
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links { display: flex; gap: 22px; }
.footer-links a { text-decoration: none; color: var(--ink-faint); }
.footer-links a:hover { color: var(--ink-soft); }

/* ---- Legal pages ---- */
.legal {
  padding: 64px 0 96px;
  max-width: 720px;
  margin: 0 auto;
}

.legal h1 {
  font-size: 36px;
  margin-bottom: 6px;
}

.legal .updated {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-faint);
  margin-bottom: 44px;
}

.legal h2 {
  font-family: var(--serif);
  font-size: 21px;
  color: var(--ink);
  margin: 40px 0 12px;
}

.legal p, .legal li { color: var(--ink-soft); font-size: 15px; }

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 13.5px;
}

.legal th, .legal td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  color: var(--ink-soft);
}

.legal th { color: var(--ink); font-weight: 600; background: var(--surface); }

.legal a { color: var(--gold); }

.legal strong { color: var(--ink); }

.legal code {
  font-family: var(--mono);
  background: var(--surface-2);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-art { height: 260px; order: -1; }
  h1 { font-size: 38px; }
  .features { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
