/* Mailbreak marketing-site — single stylesheet, no build step.
   Brand: teal-green #00B894 accent, neutral #FAFAFA background, Inter typography.
   Matches the extension popup's design system so the URL feels coherent
   when users click through from the Web Store listing.
*/

:root {
  --accent: #00B894;
  --accent-hover: #009a78;
  --accent-soft: rgba(0, 184, 148, 0.08);
  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --text-primary: #0F1010;
  --text-secondary: #4a5258;
  --text-muted: #6b7480;
  --border: #e5e7eb;
  --failed: #EF4444;
  --max-w: 720px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 24px 96px;
}

header.site {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 24px 0;
  max-width: var(--max-w);
  margin: 0 auto;
}

header.site img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

header.site .brand {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}

header.site nav {
  margin-left: auto;
  display: flex;
  gap: 20px;
}

header.site nav a {
  color: var(--text-secondary);
  font-size: 14px;
}

footer.site {
  border-top: 1px solid var(--border);
  margin-top: 64px;
  padding: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

footer.site a {
  color: var(--text-muted);
  margin: 0 8px;
}

/* Landing page hero */
.hero {
  text-align: center;
  padding: 64px 0 48px;
}

.hero h1 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 16px 0 12px;
}

.hero p.tag {
  font-size: 18px;
  color: var(--text-secondary);
  margin: 0 auto 32px;
  max-width: 540px;
}

.hero .cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: white;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  transition: background 150ms ease-out;
}

.hero .cta:hover {
  background: var(--accent-hover);
  text-decoration: none;
}

.hero .install-note {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Pillars section */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0;
}

@media (max-width: 720px) {
  .pillars {
    grid-template-columns: 1fr;
  }
}

.pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.pillar h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.pillar p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

/* Long-form policy pages */
.policy {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 48px;
}

@media (max-width: 720px) {
  .policy {
    padding: 28px 20px;
  }
}

.policy h1 {
  font-size: 28px;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

.policy h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 32px 0 8px;
  letter-spacing: -0.01em;
}

.policy h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 20px 0 4px;
}

.policy .meta {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0 0 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}

.policy p,
.policy li {
  font-size: 15px;
  color: var(--text-secondary);
}

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

.policy th,
.policy td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.policy th {
  background: var(--accent-soft);
  font-weight: 600;
  color: var(--text-primary);
}

.policy code {
  background: var(--accent-soft);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-size: 13px;
}

.policy .callout {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  margin: 20px 0;
  font-size: 14px;
}

/* Success page */
.success {
  text-align: center;
  padding: 96px 0;
}

.success h1 {
  font-size: 32px;
  margin: 16px 0 12px;
}

.success p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 24px;
}

.success .checkmark {
  font-size: 64px;
  color: var(--accent);
  display: block;
  margin: 0 auto;
}
