/* SeaView Mail — marketing site
   Plain static CSS, no build step, no external fonts or scripts.
   Ocean/wave brand: deep navy + teal, light and dark aware. */

:root {
  --ink:        #0d1b2a;
  --ink-soft:   #40546a;
  --muted:      #6b7c90;
  --surface:    #ffffff;
  --surface-2:  #f2f7fb;
  --surface-3:  #e6eef5;
  --line:       #d7e1eb;
  --brand:      #0b7285;   /* deep teal */
  --brand-2:    #0f4c75;   /* ocean blue */
  --accent:     #10a5b8;
  --on-brand:   #ffffff;
  --radius:     14px;
  --shadow:     0 1px 2px rgba(13,27,42,.06), 0 8px 24px rgba(13,27,42,.08);
  --container:  1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink:       #eaf2f8;
    --ink-soft:  #b3c3d1;
    --muted:     #8598a8;
    --surface:   #0b1622;
    --surface-2: #0f1f2e;
    --surface-3: #16293a;
    --line:      #21384c;
    --brand:     #29b0c4;
    --brand-2:   #3b8fc4;
    --accent:    #35c4d6;
    --on-brand:  #04141c;
    --shadow:    0 1px 2px rgba(0,0,0,.4), 0 12px 30px rgba(0,0,0,.35);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
}
.skip-link:focus {
  left: 16px; top: 12px;
  background: var(--surface); color: var(--ink);
  padding: 8px 14px; border-radius: 8px; z-index: 100;
  box-shadow: var(--shadow);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: .95rem;
  padding: .6rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: var(--on-brand);
  box-shadow: 0 6px 18px rgba(11,114,133,.28);
}
.btn-primary:hover { box-shadow: 0 10px 24px rgba(11,114,133,.36); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--surface-2); }
.btn-lg { font-size: 1.05rem; padding: .8rem 1.6rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 800; font-size: 1.12rem; letter-spacing: -.01em;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand-mark { color: var(--brand); flex: none; }
.nav-links { display: flex; align-items: center; gap: 1.25rem; }
.nav-links > a:not(.btn) { color: var(--ink-soft); font-weight: 500; font-size: .95rem; }
.nav-links > a:not(.btn):hover { color: var(--ink); text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 480px at 50% -140px, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%),
    var(--surface);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 9vw, 7rem);
}
.hero-inner { text-align: center; max-width: 820px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .78rem;
  font-weight: 700; color: var(--brand); margin: 0 0 1rem;
}
.hero h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.5rem);
  line-height: 1.08; letter-spacing: -.02em; margin: 0 0 1.2rem;
  font-weight: 800;
}
.accent {
  background: linear-gradient(120deg, var(--brand), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--ink-soft); margin: 0 auto 2rem; max-width: 680px;
}
.hero-cta { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }
.hero-note { color: var(--muted); font-size: .9rem; margin-top: 1.4rem; }

.hero-wave {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 60px;
  background:
    radial-gradient(60px 40px at 10% 0, transparent 70%, var(--surface-2) 72%),
    linear-gradient(var(--surface-2), var(--surface-2));
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 40px, transparent 40px 80px);
          mask: repeating-linear-gradient(90deg, #000 0 40px, transparent 40px 80px);
  opacity: 0; /* decorative; kept subtle/off to avoid distraction */
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--surface-2); }
.section-title {
  font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 800;
  letter-spacing: -.02em; text-align: center; margin: 0 0 .6rem;
}
.section-sub {
  text-align: center; color: var(--ink-soft);
  max-width: 620px; margin: 0 auto 2.8rem; font-size: 1.05rem;
}

/* ---------- Feature grid ---------- */
.grid { display: grid; gap: 1.1rem; }
.features { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform .12s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(13,27,42,.12); }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.4rem;
  background: color-mix(in srgb, var(--brand) 14%, transparent);
  margin-bottom: 1rem;
}
.card h3 { margin: 0 0 .5rem; font-size: 1.18rem; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--ink-soft); }

/* ---------- Steps ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem;
  counter-reset: step;
}
.step { text-align: left; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 1.15rem;
  color: var(--on-brand);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  margin-bottom: 1rem;
}
.step h3 { margin: 0 0 .4rem; font-size: 1.2rem; }
.step p { margin: 0; color: var(--ink-soft); }

/* ---------- Safety ---------- */
.safety {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem; align-items: center;
}
.safety .section-title, .safety .section-sub { text-align: left; margin-left: 0; }
.safety .section-sub { margin-bottom: 1.6rem; }
.check-list { list-style: none; margin: 0 0 1.4rem; padding: 0; }
.check-list li {
  position: relative; padding-left: 2rem; margin-bottom: .85rem; color: var(--ink-soft);
}
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 1.35rem; height: 1.35rem; border-radius: 50%;
  display: grid; place-items: center; font-size: .8rem; font-weight: 800;
  color: var(--on-brand); background: var(--brand);
}
.safety-links { color: var(--muted); font-size: .95rem; }
.safety-badge { display: grid; place-items: center; }
.badge-ring {
  width: 200px; height: 200px; border-radius: 50%;
  display: grid; place-items: center; gap: .3rem; text-align: center;
  background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 70%);
  border: 2px dashed color-mix(in srgb, var(--brand) 45%, transparent);
}
.badge-emoji { font-size: 3rem; }
.badge-text { font-weight: 800; color: var(--brand); line-height: 1.15; }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: var(--on-brand);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}
.cta-inner { text-align: center; max-width: 640px; }
.cta h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 0 0 .7rem; font-weight: 800; }
.cta p { margin: 0 auto 1.8rem; opacity: .92; font-size: 1.1rem; }
.cta .btn-primary {
  background: var(--surface); color: var(--brand);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--surface-3);
  border-top: 1px solid var(--line);
  padding: 2.6rem 0 1.6rem;
}
.footer-inner {
  display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  padding-bottom: 1.6rem;
}
.footer-brand .brand { font-size: 1.05rem; }
.footer-tag { color: var(--muted); margin: .6rem 0 0; max-width: 300px; font-size: .92rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.1rem; align-items: center; }
.footer-links a { color: var(--ink-soft); font-size: .93rem; }
.footer-links a:hover { color: var(--ink); text-decoration: none; }
.footer-legal {
  border-top: 1px solid var(--line); padding-top: 1.4rem;
}
.footer-legal p { margin: 0; color: var(--muted); font-size: .85rem; }

/* ---------- Product preview ---------- */
.preview { padding: 0 0 1rem; }
.mock {
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.mock-chrome {
  display: flex; align-items: center; gap: .4rem;
  padding: .6rem .9rem;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--brand) 5%, var(--surface));
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-url { margin-left: .6rem; color: var(--muted); font-size: .82rem; }
.mock-body { padding: .5rem; display: grid; gap: 4px; }
.mock-row {
  display: flex; align-items: center; gap: .7rem;
  padding: .6rem .7rem; border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface);
}
.mock-row-suggest { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.mock-badge {
  flex: none; font-size: .72rem; font-weight: 600;
  padding: .12rem .5rem; border-radius: 999px;
  background: color-mix(in srgb, var(--muted) 18%, transparent); color: var(--ink-soft);
}
.badge-reply  { background: color-mix(in srgb, var(--brand) 20%, transparent);  color: var(--brand); }
.badge-alert  { background: color-mix(in srgb, #d9822b 22%, transparent); color: #b76b1e; }
.badge-promo  { background: color-mix(in srgb, #8a63d2 20%, transparent); color: #7048c0; }
.badge-invoice{ background: color-mix(in srgb, #2f9e6f 20%, transparent); color: #1f8a5c; }
.badge-news   { background: color-mix(in srgb, var(--muted) 20%, transparent); color: var(--muted); }
.mock-subject {
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: var(--ink); font-size: .9rem; font-weight: 500;
}
.mock-time { flex: none; color: var(--muted); font-size: .8rem; }
.mock-suggest {
  flex: none; font-size: .75rem; font-weight: 600; color: var(--brand);
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  padding: .12rem .5rem; border-radius: 999px;
}
.mock-approve, .mock-dismiss {
  flex: none; width: 22px; height: 22px; border-radius: 6px;
  display: grid; place-items: center; font-size: .8rem; border: 1px solid var(--line);
}
.mock-approve { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: var(--on-brand); border: none; }
.preview-caption { text-align: center; color: var(--muted); font-size: .9rem; margin: 1rem auto 0; max-width: 620px; }

/* ---------- Trust strip ---------- */
.trust-strip { padding: 1.6rem 0; }
.trust-strip .container { text-align: center; }
.trust-strip p {
  margin: 0 auto; max-width: 820px; color: var(--ink-soft); font-size: 1rem; line-height: 1.6;
}
.trust-strip strong { color: var(--ink); }

/* ---------- Pricing ---------- */
.pricing { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card h3 { margin: 0 0 .4rem; }
.price { margin: 0; }
.price-amount { font-size: 2.1rem; font-weight: 750; color: var(--ink); letter-spacing: -.02em; }
.price-per { color: var(--muted); font-size: 1rem; margin-left: .15rem; }
.price-note { color: var(--muted); font-size: .9rem; margin: .2rem 0 1rem; }
.price-list { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .5rem; }
.price-list li { color: var(--ink-soft); font-size: .92rem; padding-left: 1.4rem; position: relative; }
.price-list li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.price-card .btn { margin-top: auto; text-align: center; }
.price-card-featured { border-color: var(--brand); box-shadow: 0 12px 30px rgba(11,114,133,.16); }
.price-flag {
  position: absolute; top: -.7rem; right: 1rem;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: var(--on-brand);
  font-size: .72rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .steps { grid-template-columns: 1fr; }
  .safety { grid-template-columns: 1fr; }
  .safety-badge { order: -1; }
  .badge-ring { width: 160px; height: 160px; }
}
@media (max-width: 640px) {
  .nav-links { gap: .6rem; }
  .nav-links a:not(.btn) { display: none; }
  .features { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover { transform: none; }
}
