/* OnlineMails marketing site. Self-contained, no external assets or fonts. */
:root {
  --bg: #ffffff;
  --surface: #f4f8ff;
  --surface-2: #e9f1ff;
  --ink: #17233a;
  --muted: #566179;
  --border: #dbe6f6;
  --blue: #2b6cf0;
  --blue-dark: #1d54cc;
  --blue-soft: #e5eefe;
  --coral: #ff6f61;
  --coral-dark: #e85647;
  --coral-soft: #ffece9;
  --shadow: 0 1px 2px rgba(23,35,58,.05), 0 12px 32px rgba(23,35,58,.07);
  --radius: 16px;
  --maxw: 1080px;
  --font: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", "Nunito", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5rem; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
a { color: var(--blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }
.muted { color: var(--muted); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }

/* skip link for keyboard users */
.skip {
  position: absolute; left: -999px; top: 0; background: var(--blue); color: #fff;
  padding: .6rem 1rem; border-radius: 0 0 10px 0; z-index: 100;
}
.skip:focus { left: 0; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .68rem 1.15rem; border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-weight: 700; cursor: pointer; text-decoration: none;
  transition: background .12s ease, border-color .12s ease, transform .02s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { background: var(--bg); color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface); }
.btn-lg { padding: .85rem 1.5rem; font-size: 1.05rem; }

/* ---- header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; gap: 1rem;
  max-width: var(--maxw); margin: 0 auto; padding: .8rem 1.5rem;
}
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.15rem; color: var(--blue-dark); }
.brand:hover { text-decoration: none; }
.brand .logo svg { display: block; width: 28px; height: 28px; }
.brand .logo rect { fill: none; stroke: currentColor; stroke-width: 2.4; }
.brand .logo path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.brand .logo .accent { stroke: var(--coral); }
.nav-links { display: flex; align-items: center; gap: 1.1rem; margin-left: auto; }
.nav-links a { color: var(--ink); font-weight: 600; }
.nav-links a.current { color: var(--blue-dark); }
.nav-cta { display: flex; align-items: center; gap: .6rem; }
@media (max-width: 760px) {
  .nav-links .navlink { display: none; }
  .nav-cta .btn-ghost { display: none; }
}

/* ---- hero ---- */
.hero { padding: 4rem 0 2.5rem; }
.hero-inner { max-width: 760px; }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: .82rem; letter-spacing: .04em;
  text-transform: uppercase; color: var(--blue-dark); background: var(--blue-soft);
  padding: .3rem .7rem; border-radius: 999px; margin-bottom: 1rem;
}
.lede { font-size: 1.2rem; color: var(--muted); margin: 1rem 0 1.75rem; max-width: 620px; }
.hero-cta { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero-note { margin-top: 1rem; font-size: .9rem; color: var(--muted); }

/* accent underline used under section titles */
.accent-bar { width: 54px; height: 4px; border-radius: 4px; background: var(--coral); margin: 0 0 1.25rem; }

/* ---- sections ---- */
section.band { padding: 3.5rem 0; }
section.band.tint { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 640px; margin-bottom: 2rem; }

/* card grids */
.grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.4rem 1.4rem; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .35rem; }
.card p { margin-bottom: 0; color: var(--muted); }
.card .ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 11px; margin-bottom: .8rem;
  background: var(--blue-soft); color: var(--blue-dark);
}
.card .ico svg { width: 22px; height: 22px; }
.card.accent .ico { background: var(--coral-soft); color: var(--coral-dark); }

/* ---- pricing ---- */
.price-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 760px; }
.plan {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.plan.featured { border-color: var(--blue); border-width: 2px; }
.plan .tag { align-self: flex-start; font-size: .78rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; margin-bottom: .8rem; }
.plan .tag.now { background: var(--blue-soft); color: var(--blue-dark); }
.plan .tag.soon { background: var(--coral-soft); color: var(--coral-dark); }
.plan .price { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em; }
.plan .price small { font-size: .95rem; font-weight: 600; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 1.1rem 0 1.5rem; display: grid; gap: .55rem; }
.plan li { display: flex; gap: .55rem; align-items: flex-start; }
.plan li svg { flex: none; width: 20px; height: 20px; color: var(--blue); margin-top: .15rem; }
.plan .btn { margin-top: auto; }

/* ---- prose (legal + about) ---- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.5rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.prose .meta { color: var(--muted); font-size: .92rem; margin-bottom: 1.5rem; }
.callout {
  background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--coral);
  border-radius: 12px; padding: 1rem 1.2rem; margin: 1.5rem 0;
}
.callout p:last-child { margin-bottom: 0; }

/* contact */
.contact-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); max-width: 760px; }

/* ---- footer ---- */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); margin-top: 1rem; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 2.5rem 1.5rem; display: grid; gap: 2rem; grid-template-columns: 1.4fr 1fr 1fr; }
.footer-inner .brand { margin-bottom: .6rem; }
.footer-col h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 0 0 .7rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-col a { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--border); }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; gap: .5rem 1rem; justify-content: space-between; padding: 1.1rem 1.5rem; color: var(--muted); font-size: .88rem; }
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brandcol { grid-column: 1 / -1; }
}

/* generic page header for interior pages */
.page-head { padding: 3rem 0 1rem; }
.page-head .lede { margin-bottom: 0; }
