/* Mailjackal branding site — mirrors the console theme:
   jackal teal (#1aa38c / #6fd6c2) over charcoal zinc (#131316 / #1c1c21),
   Fraunces display + Inter body. Deliberately framework-free. */

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

:root {
  color-scheme: dark;
  --bg: #131316;
  --bg-deep: #0e0e11;
  --card: #1c1c21;
  --border: #2c2c33;
  --ink: #e4e4e7;
  --muted: #a1a1aa;
  --faint: #52525b;
  --teal: #1aa38c;
  --teal-bright: #3cbfa8;
  --teal-pale: #6fd6c2;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
}

* { box-sizing: border-box; margin: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; }

a { color: var(--teal-bright); text-decoration: none; }
a:hover { color: var(--teal-pale); }

/* ---- header ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(19, 19, 22, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 3.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
}
.brand em { font-style: normal; color: var(--teal-pale); }
.brand:hover { color: var(--ink); }

.nav nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: .9rem;
  font-weight: 500;
}
.nav nav a { color: var(--muted); }
.nav nav a:hover { color: var(--ink); }

.nav .cta {
  background: var(--teal);
  color: var(--bg);
  border-radius: 8px;
  padding: .4rem .85rem;
  font-weight: 600;
}
.nav .cta:hover { background: var(--teal-bright); color: var(--bg); }

/* ---- hero ---- */

.hero {
  text-align: center;
  padding: 5.5rem 0 4.5rem;
  background:
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(26, 163, 140, 0.14), transparent 70%),
    var(--bg-deep);
  border-bottom: 1px solid var(--border);
}

.hero-logo { margin-bottom: 1.25rem; }

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  margin-bottom: 1.1rem;
}

.hero .lede {
  max-width: 40rem;
  margin: 0 auto 2rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions { display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap; }

.button {
  display: inline-block;
  background: var(--teal);
  color: var(--bg);
  font-weight: 600;
  font-size: .95rem;
  border-radius: 8px;
  padding: .7rem 1.3rem;
  transition: background .15s ease;
}
.button:hover { background: var(--teal-bright); color: var(--bg); }

.button.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}
.button.ghost:hover { border-color: var(--teal); color: var(--teal-pale); background: transparent; }

/* ---- sections ---- */

section { padding: 3.75rem 0; }

section h2 {
  font-size: 1.7rem;
  margin-bottom: 1.75rem;
}

/* "why am I seeing this" — the reputation-friendly explainer */
.notice { padding: 2.5rem 0; border-bottom: 1px solid var(--border); }
.notice .container {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem 2rem;
  max-width: 56rem;
}
.notice h2 { font-size: 1.15rem; margin-bottom: .5rem; color: var(--teal-pale); }
.notice p { color: var(--muted); font-size: .95rem; }

/* feature grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.4rem 1.5rem;
}
.card i { font-style: normal; font-size: 1.4rem; display: block; margin-bottom: .6rem; }
.card h3 { font-size: 1.05rem; margin-bottom: .45rem; }
.card p { color: var(--muted); font-size: .92rem; }

/* how it works */
.how { border-top: 1px solid var(--border); }

.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.steps li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.4rem 1.5rem;
}
.step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: rgba(26, 163, 140, 0.15);
  color: var(--teal-pale);
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: .7rem;
}
.steps h3 { font-size: 1.02rem; margin-bottom: .4rem; }
.steps p { color: var(--muted); font-size: .92rem; }

.code {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.4rem;
  overflow-x: auto;
}
.code code {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .85rem;
  line-height: 1.6;
  color: var(--teal-pale);
}

/* contact */
.contact { border-top: 1px solid var(--border); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
}

/* footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 2.5rem;
  text-align: center;
  color: var(--faint);
  font-size: .85rem;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--teal-pale); }

/* privacy page */
.prose { max-width: 44rem; padding: 3.5rem 1.25rem; margin: 0 auto; }
.prose h1 { font-size: 2rem; margin-bottom: 1.5rem; }
.prose h2 { font-size: 1.2rem; margin: 2rem 0 .6rem; }
.prose p, .prose li { color: var(--muted); font-size: .95rem; }
.prose ul { padding-left: 1.25rem; }
