/* Tavomail marketing site — no framework, light+dark, responsive. */
:root {
  --brand: #2F6FED;
  --brand-dark: #1f56c9;
  --bg: #ffffff;
  --surface: #f6f8fb;
  --ink: #17202b;
  --muted: #5b6675;
  --line: #e5e9f0;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px rgba(16, 24, 40, .06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e141d;
    --surface: #121a25;
    --ink: #eef2f7;
    --muted: #9aa7b5;
    --line: #223042;
    --card: #16202d;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg); color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Nav */
header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--ink); }
.logo:hover { text-decoration: none; }
.logo svg { display: block; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: 15px; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.btn {
  display: inline-block; padding: 10px 20px; border-radius: 10px;
  background: var(--brand); color: #fff !important; font-weight: 600; font-size: 15px;
  border: none; cursor: pointer; transition: background .15s;
}
.btn:hover { background: var(--brand-dark); text-decoration: none; }
.btn.ghost {
  background: transparent; color: var(--brand) !important;
  border: 1.5px solid color-mix(in srgb, var(--brand) 45%, transparent);
}
.btn.ghost:hover { background: color-mix(in srgb, var(--brand) 8%, transparent); }
.btn.big { padding: 14px 28px; font-size: 16px; border-radius: 12px; }

/* Hero */
.hero { padding: 96px 0 72px; text-align: center; }
.hero h1 {
  font-size: clamp(34px, 6vw, 56px); line-height: 1.12; letter-spacing: -.02em;
  max-width: 800px; margin: 0 auto 20px;
}
.hero h1 em { color: var(--brand); font-style: normal; }
.hero p.sub { font-size: 19px; color: var(--muted); max-width: 620px; margin: 0 auto 34px; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.trust { margin-top: 34px; color: var(--muted); font-size: 14px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.trust span::before { content: "✓ "; color: var(--brand); font-weight: 700; }

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--surface); }
.kicker { color: var(--brand); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
h2 { font-size: clamp(26px, 4vw, 36px); letter-spacing: -.01em; margin-bottom: 12px; }
.lead { color: var(--muted); font-size: 17px; max-width: 640px; margin-bottom: 40px; }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card .ico {
  width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--brand) 12%, transparent); margin-bottom: 16px; font-size: 20px;
}
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 14px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* Pricing */
.price-card {
  max-width: 460px; margin: 0 auto; text-align: center;
  background: var(--card); border: 1.5px solid color-mix(in srgb, var(--brand) 40%, var(--line));
  border-radius: 18px; padding: 40px 34px; box-shadow: var(--shadow);
}
.price-card .badge {
  display: inline-block; background: color-mix(in srgb, var(--brand) 12%, transparent);
  color: var(--brand); font-weight: 700; font-size: 13px; padding: 5px 14px; border-radius: 999px; margin-bottom: 16px;
}
.price-card .price { font-size: 44px; font-weight: 800; letter-spacing: -.02em; }
.price-card .per { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.price-card ul { list-style: none; text-align: left; margin: 0 auto 26px; max-width: 320px; }
.price-card li { padding: 7px 0; color: var(--ink); font-size: 15px; }
.price-card li::before { content: "✓  "; color: var(--brand); font-weight: 700; }
.price-note { color: var(--muted); font-size: 13.5px; margin-top: 14px; }

/* FAQ */
.faq { max-width: 760px; }
details {
  border: 1px solid var(--line); border-radius: 12px; background: var(--card);
  padding: 18px 22px; margin-bottom: 12px;
}
summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-size: 20px; font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); font-size: 15px; margin-top: 12px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 40px 0; }
.foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; color: var(--muted); font-size: 14.5px; }
.foot .logo { font-size: 16px; }
.foot-links { margin-left: auto; display: flex; gap: 20px; }
.foot-links a { color: var(--muted); }

/* Legal pages */
.legal { max-width: 760px; padding: 56px 0 80px; }
.legal h1 { font-size: 34px; margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 34px; }
.legal h2 { font-size: 21px; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--muted); font-size: 15.5px; margin-bottom: 10px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 64px 0 52px; }
  section { padding: 52px 0; }
}
