/* ============================================================
   MailSurety — marketing site
   Design system: deep-navy + emerald "safe" accent.
   ============================================================ */

:root {
  /* surfaces */
  --bg:        #070B14;
  --bg-elev:   #0B1120;
  --surface:   #0F1828;
  --surface-2: #131F33;
  --surface-3: #182740;
  --line:      rgba(206,222,255,.09);
  --line-2:    rgba(206,222,255,.15);

  /* ink */
  --ink:   #EAF1FB;
  --ink-2: #AEBCD3;
  --muted: #7C8AA5;

  /* brand */
  --brand:    #13BA82;
  --brand-2:  #35E4A7;
  --brand-ink:#04130D;
  --sky:      #4CB8F5;
  --red:      #F2696B;
  --amber:    #F6B23C;

  /* light section */
  --paper:       #F5F8FC;
  --paper-2:     #EAF0F8;
  --paper-ink:   #0C1424;
  --paper-ink-2: #3C475E;
  --paper-line:  rgba(12,20,36,.10);

  /* gradients */
  --grad-brand:    linear-gradient(135deg, #35E4A7 0%, #13BA82 100%);
  --grad-brandsky: linear-gradient(118deg, #3BE7A9 0%, #4CB8F5 100%);

  /* radii */
  --r-sm: 9px;  --r: 13px;  --r-lg: 18px;  --r-xl: 26px;  --pill: 999px;

  /* shadow */
  --sh-1: 0 1px 2px rgba(0,0,0,.3);
  --sh-2: 0 18px 44px -20px rgba(0,0,0,.7);
  --sh-3: 0 40px 90px -30px rgba(0,0,0,.85);
  --glow: 0 0 0 1px rgba(53,228,167,.35), 0 14px 50px -12px rgba(19,186,130,.45);

  /* type */
  --font-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font:         "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:         "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease: cubic-bezier(.22,.61,.36,1);
  --nav-h: 68px;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  letter-spacing: .1px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; color: var(--ink); }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input { font: inherit; }
::selection { background: rgba(53,228,167,.28); }

/* ---------- layout ---------- */
.wrap { width: min(1160px, 92vw); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 132px) 0; position: relative; }
.section--paper { background: var(--paper); color: var(--paper-ink); }
.section--paper h1,.section--paper h2,.section--paper h3 { color: var(--paper-ink); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-2); margin-bottom: 18px;
}
.section--paper .eyebrow { color: var(--brand); }
.eyebrow::before { content:""; width: 26px; height: 1px; background: currentColor; opacity: .6; }

.section-head { max-width: 640px; margin-bottom: clamp(38px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); }
.section-head p { margin-top: 18px; font-size: 18px; color: var(--ink-2); }
.section--paper .section-head p { color: var(--paper-ink-2); }

.grad-text { background: var(--grad-brandsky); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: var(--pill); font-weight: 600; font-size: 15.5px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s;
  white-space: nowrap; will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--grad-brand); color: var(--brand-ink); box-shadow: var(--glow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(53,228,167,.5), 0 22px 60px -14px rgba(19,186,130,.6); }
.btn--ghost { background: rgba(255,255,255,.02); border: 1px solid var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--brand-2); transform: translateY(-2px); background: rgba(53,228,167,.06); }
.btn--lg { padding: 16px 30px; font-size: 16.5px; }
.btn--light { background: var(--paper-ink); color: var(--paper); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.arrow-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--brand-2); }
.arrow-link svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.arrow-link:hover svg { transform: translateX(4px); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 100;
  display: flex; align-items: center;
  transition: background .35s var(--ease), border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(7,11,20,.72); backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; width: min(1160px,94vw); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.brand svg, .brand img { width: 34px; height: 34px; border-radius: 9px; filter: drop-shadow(0 3px 10px rgba(19,186,130,.35)); transition: transform .35s var(--ease), filter .35s var(--ease); }
.brand:hover img { transform: translateY(-1px) scale(1.06) rotate(-2deg); filter: drop-shadow(0 6px 18px rgba(19,186,130,.6)); }
.brand b { font-weight: 800; }
.brand span { color: var(--ink-2); font-weight: 500; }

/* ---------- premium hero brand medallion ---------- */
@property --orb-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.brand-hero { display: inline-flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.brand-orb { position: relative; width: 62px; height: 62px; border-radius: 19px; padding: 1.6px; flex: none;
  background: conic-gradient(from var(--orb-a), #0E9E76, #35E4A7, #B6FCE4, #13BA82, #0E9E76);
  box-shadow: 0 0 0 1px rgba(53,228,167,.18), 0 18px 44px -14px rgba(19,186,130,.6);
  animation: orbSpin 6s linear infinite; }
.brand-orb::after { content: ""; position: absolute; inset: -45%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(19,186,130,.55), transparent 62%); filter: blur(20px); opacity: .8;
  animation: orbBreathe 5s ease-in-out infinite; }
.orb-face { position: relative; width: 100%; height: 100%; border-radius: 17.4px; overflow: hidden;
  background: radial-gradient(130% 130% at 30% 22%, #17273f 0%, #0b1424 70%); display: grid; place-items: center; }
.orb-face img { width: 40px; height: 40px; filter: drop-shadow(0 2px 7px rgba(0,0,0,.55)); }
.orb-face::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.16) 50%, transparent 58%);
  background-size: 250% 100%; animation: orbShine 5.5s ease-in-out infinite; }
@keyframes orbSpin { to { --orb-a: 360deg; } }
@keyframes orbBreathe { 0%,100% { opacity: .55; transform: scale(.94); } 50% { opacity: .9; transform: scale(1.05); } }
@keyframes orbShine { 0% { background-position: 150% 0; } 55%,100% { background-position: -60% 0; } }
.brand-hero-text b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 23px; letter-spacing: -.02em; line-height: 1; }
.brand-hero-text .grad { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-hero-text em { display: block; margin-top: 7px; font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .brand-orb, .brand-orb::after, .orb-face::before { animation: none !important; }
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) { font-size: 15px; color: var(--ink-2); transition: color .2s; position: relative; }
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links a:not(.btn)::after { content:""; position:absolute; left:0; bottom:-6px; height:2px; width:0; background: var(--brand-2); transition: width .3s var(--ease); border-radius: 2px; }
.nav-links a:not(.btn):hover::after { width: 100%; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-2); align-items: center; justify-content: center; }
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: calc(var(--nav-h) + clamp(48px, 8vw, 96px)); padding-bottom: clamp(60px, 8vw, 110px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg .blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.blob.b1 { width: 620px; height: 620px; background: radial-gradient(circle, rgba(19,186,130,.55), transparent 66%); top: -260px; right: -140px; animation: float1 18s var(--ease) infinite; }
.blob.b2 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(76,184,245,.4), transparent 66%); top: 60px; left: -200px; animation: float2 22s var(--ease) infinite; }
.hero-grid { position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 58px 58px; mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 78%); opacity: .5; }

.hero-inner { max-width: 820px; }
.hero .pill-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px 7px 9px;
  border: 1px solid var(--line-2); border-radius: var(--pill);
  background: rgba(255,255,255,.03); font-size: 13.5px; color: var(--ink-2); margin-bottom: 26px;
}
.pill-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 4px rgba(53,228,167,.18); animation: pulse 2.6s infinite; }
.pill-badge .flags { font-size: 15px; }
.hero h1 { font-size: clamp(38px, 6.4vw, 70px); font-weight: 800; letter-spacing: -.035em; }
.hero h1 .line { display: block; }
.hero p.lede { margin-top: 24px; font-size: clamp(17px, 2.2vw, 21px); color: var(--ink-2); max-width: 620px; }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { margin-top: 20px; font-size: 14px; color: var(--muted); display:flex; align-items:center; gap:8px; }
.hero-note svg { width: 16px; height: 16px; color: var(--brand-2); }

/* hero split (info left / dashboard preview right) */
.hero-split { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(30px, 4.5vw, 64px); align-items: center; }
.hero-copy { max-width: 620px; min-width: 0; }
.hero-split .pill-badge { margin-bottom: 22px; }
.hero-split h1 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 800; letter-spacing: -.035em; }
.hero-split p.lede { margin-top: 20px; font-size: clamp(16px, 1.5vw, 19px); }
.hero-visual { position: relative; min-width: 0; align-self: start; margin-top: -6px; }
.hero-visual .mailflow { margin-top: 12px; }
.reads--tied { margin: 14px 2px 0; }
.reads--tied p { margin-bottom: 11px; font-size: 10.5px; }
.reads--tied .reads-row { gap: 10px 20px; opacity: .9; }
.reads--tied .reads-row span { font-size: 13px; }
.reads--tied .reads-row span i { width: 8px; height: 8px; }
.hero-panel { position: relative; border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: var(--sh-3); }
/* slow sheen sweeping across the whole panel — subtle texture */
.hero-panel::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.05) 48%, transparent 66%); background-size: 260% 100%; animation: hpSheen 7s ease-in-out infinite; }
@keyframes hpSheen { 0% { background-position: 140% 0; } 55%,100% { background-position: -60% 0; } }

.hero-panel-bar { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--bg-elev); }
.hpb-live { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: var(--brand-2); letter-spacing: .02em; }
.hpb-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 0 rgba(53,228,167,.55); animation: livePulse 2s infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(53,228,167,.5); } 70% { box-shadow: 0 0 0 7px rgba(53,228,167,0); } 100% { box-shadow: 0 0 0 0 rgba(53,228,167,0); } }
.hpb-url { font-family: var(--mono); font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hpb-secure { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; color: var(--brand-2); background: rgba(53,228,167,.1); padding: 4px 10px; border-radius: var(--pill); white-space: nowrap; }
.hpb-secure svg { width: 12px; height: 12px; }

.hero-panel-body { position: relative; padding: 16px; display: grid; gap: 12px; background-image: radial-gradient(circle, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 22px 22px; }
.hp-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.hp-kpi { position: relative; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); padding: 13px; overflow: hidden; }
.hp-kpi span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.hp-kpi b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 22px; margin-top: 6px; letter-spacing: -.02em; line-height: 1; }
.hp-kpi b.ok { color: var(--brand-2); } .hp-kpi b.red { color: var(--red); }
.hp-kpi b.tick { animation: hpTick .34s var(--ease); }
@keyframes hpTick { 0% { color: var(--brand-2); transform: translateY(-2px); } 100% { transform: none; } }
.hp-kpi-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: 8px; }
.hp-kpi-foot em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--brand-2); }
.hp-spark { width: 46px; height: 18px; opacity: .9; }
.hp-spark polyline { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 120; stroke-dashoffset: 120; animation: hpDraw 1.4s var(--ease) .4s forwards; }
.hp-spark.blue polyline { stroke: #3987e5; } .hp-spark.red polyline { stroke: #e66767; }

.hp-chart { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); padding: 15px; }
.hp-chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.hp-chart-head b { font-size: 13px; font-weight: 600; }
.hp-legend { display: flex; gap: 12px; font-size: 11px; color: var(--muted); }
.hp-legend span { display: inline-flex; align-items: center; gap: 5px; }
.hp-legend i { width: 8px; height: 8px; border-radius: 2px; }
.hp-chart-plot { position: relative; overflow: hidden; border-radius: 6px; }
.hp-chart-plot::after { content: ""; position: absolute; top: 0; bottom: 0; width: 42%; left: -50%; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(53,228,167,.12), transparent); animation: hpScan 4.5s ease-in-out 1.4s infinite; }
@keyframes hpScan { 0% { left: -55%; } 60%,100% { left: 115%; } }
.hp-chart svg { width: 100%; height: 92px; display: block; overflow: visible; }
.hp-grid line { stroke: var(--line); stroke-width: 1; }
.hp-line { stroke-dasharray: 620; stroke-dashoffset: 620; animation: hpDraw 1.8s var(--ease) forwards; }
.hp-line--red { animation-delay: .28s; }
@keyframes hpDraw { to { stroke-dashoffset: 0; } }
.hp-fill { opacity: 0; animation: hpFade 1s ease .9s forwards; }
@keyframes hpFade { to { opacity: 1; } }
.hp-dot { opacity: 0; animation: hpDotIn .4s ease 1.7s forwards, hpDotPulse 2.4s ease 2.1s infinite; }
.hp-dot--blue { fill: #3987e5; } .hp-dot--red { fill: #e66767; }
@keyframes hpDotIn { to { opacity: 1; } }
@keyframes hpDotPulse { 0%,100% { r: 3.4; } 50% { r: 5; } }

.hp-rows { display: grid; gap: 8px; }
.hp-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2); font-size: 13px; color: var(--ink-2); animation: hpRise .5s var(--ease) both; }
.hp-row:nth-child(1) { animation-delay: .45s; } .hp-row:nth-child(2) { animation-delay: .58s; } .hp-row:nth-child(3) { animation-delay: .71s; }
@keyframes hpRise { from { transform: translateY(8px); } to { transform: none; } }
.hp-row > svg { width: 16px; height: 16px; flex: none; }
.hp-row .tag { margin-left: auto; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: var(--pill); }
.hp-row.ok > svg { color: var(--brand-2); } .hp-row.ok .tag { background: rgba(53,228,167,.13); color: var(--brand-2); }
.hp-row.warn > svg { color: var(--amber); } .hp-row.warn .tag { background: rgba(246,178,60,.14); color: var(--amber); }
.hp-row.crit > svg { color: var(--red); } .hp-row.crit .tag { background: rgba(242,105,107,.14); color: var(--red); }
.hp-row.crit { border-color: rgba(242,105,107,.28); }
.hp-row.crit .tag { animation: critBlink 2.2s ease infinite; }
@keyframes critBlink { 0%,100% { opacity: 1; } 50% { opacity: .55; } }

.hero-visual .float-badge { position: absolute; top: -16px; right: -14px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: var(--pill); background: var(--grad-brand); color: var(--brand-ink); font-size: 12.5px; font-weight: 700; box-shadow: var(--glow); animation: floatBob 4s ease-in-out infinite; }
.hero-visual .float-badge svg { width: 15px; height: 15px; }
@keyframes floatBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

@media (prefers-reduced-motion: reduce) {
  .hero-panel *, .hero-panel::after, .hero-panel-body { animation: none !important; }
  .hp-line, .hp-spark polyline { stroke-dashoffset: 0 !important; }
  .hp-fill, .hp-dot, .hp-row { opacity: 1 !important; }
}

/* checker widget */
.checker { margin-top: 40px; max-width: 560px; }
.checker-card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: 8px 8px 8px 8px; box-shadow: var(--sh-2);
}
.checker-form { display: flex; gap: 8px; }
.checker-input { flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 14px; background: var(--bg-elev); border-radius: var(--r); border: 1px solid transparent; transition: border-color .2s; }
.checker-input:focus-within { border-color: var(--brand); }
.checker-input svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.checker-input input { flex: 1; background: none; border: 0; outline: none; color: var(--ink); padding: 15px 0; font-size: 15.5px; font-family: var(--mono); }
.checker-input input::placeholder { color: var(--muted); font-family: var(--font); }
.checker .btn { padding-inline: 20px; }
.checker-hint { margin-top: 12px; font-size: 13px; color: var(--muted); padding-left: 6px; }
.checker-result { margin-top: 12px; }

/* result card */
.result {
  border-radius: var(--r); border: 1px solid var(--line-2); overflow: hidden;
  background: var(--surface-2); opacity: 0; transform: translateY(10px);
  transition: opacity .5s var(--ease), transform .5s var(--ease); max-height: 0;
}
.result.show { opacity: 1; transform: none; max-height: 520px; }
.result-top { display: flex; align-items: center; gap: 13px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.result-icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.result-icon svg { width: 22px; height: 22px; }
.result-icon.bad  { background: rgba(242,105,107,.14); color: var(--red); }
.result-icon.warn { background: rgba(246,178,60,.14); color: var(--amber); }
.result-icon.ok   { background: rgba(53,228,167,.14); color: var(--brand-2); }
.result-title { font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.result-title small { display:block; font-family: var(--font); font-weight: 400; font-size: 13px; color: var(--muted); margin-top: 2px; letter-spacing: 0; }
.result-body { padding: 15px 18px; font-size: 14.5px; color: var(--ink-2); }
.result-body .rec { font-family: var(--mono); font-size: 12.5px; background: var(--bg-elev); border: 1px solid var(--line); padding: 10px 12px; border-radius: 9px; margin-top: 12px; color: var(--ink-2); word-break: break-all; }
.result-body .cta { margin-top: 14px; }
.scanning { display: flex; align-items: center; gap: 12px; padding: 18px; color: var(--ink-2); font-size: 14.5px; }
.spinner { width: 18px; height: 18px; border: 2px solid var(--line-2); border-top-color: var(--brand-2); border-radius: 50%; animation: spin .8s linear infinite; }

/* email-security scorecard */
.scorecard { border-radius: var(--r); border: 1px solid var(--line-2); overflow: hidden; background: var(--surface-2); opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.scorecard.show { opacity: 1; transform: none; }
.sc-head { display: flex; align-items: center; gap: 18px; padding: 18px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.02), transparent); }
.sc-ring { position: relative; width: 84px; height: 84px; flex: none; }
.sc-ring svg { width: 84px; height: 84px; transform: rotate(-90deg); }
.sc-ring-bg { fill: none; stroke: var(--surface-3); stroke-width: 7; }
.sc-ring-arc { fill: none; stroke-width: 7; stroke-linecap: round; transition: stroke-dashoffset 1.1s var(--ease); }
.sc-grade { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -.02em; }
.scorecard.ok   .sc-ring-arc { stroke: var(--brand-2); } .scorecard.ok   .sc-grade { color: var(--brand-2); }
.scorecard.warn .sc-ring-arc { stroke: var(--amber); }   .scorecard.warn .sc-grade { color: var(--amber); }
.scorecard.bad  .sc-ring-arc { stroke: var(--red); }     .scorecard.bad  .sc-grade { color: var(--red); }
.sc-headings { min-width: 0; }
.sc-domain { font-family: var(--mono); font-size: 13px; color: var(--muted); word-break: break-all; }
.sc-score-line { display: flex; align-items: baseline; gap: 6px; margin: 2px 0 4px; }
.sc-score-line b { font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.sc-score-line span { font-size: 12.5px; color: var(--muted); }
.sc-verdict { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.sc-checks { padding: 6px 18px; }
.sc-check { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.sc-check:first-child { border-top: 0; }
.sc-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; margin-top: 1px; }
.sc-ic svg { width: 17px; height: 17px; }
.sc-check.ok   .sc-ic { background: rgba(53,228,167,.13); color: var(--brand-2); }
.sc-check.warn .sc-ic { background: rgba(246,178,60,.14); color: var(--amber); }
.sc-check.bad  .sc-ic { background: rgba(242,105,107,.14); color: var(--red); }
.sc-ct { min-width: 0; }
.sc-ct b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 14.5px; color: var(--ink); }
.sc-ct span { display: block; font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.scorecard .rec { font-family: var(--mono); font-size: 12.5px; background: var(--bg-elev); border: 1px solid var(--line); padding: 10px 12px; border-radius: 9px; margin: 4px 18px 0; color: var(--ink-2); word-break: break-all; }
.sc-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 16px 18px; }
.sc-note { font-size: 12px; color: var(--muted); max-width: 250px; line-height: 1.45; }
.sc-foot .btn { flex: none; }

/* reads-reports strip */
.reads { margin-top: 48px; }
.reads p { font-size: 13px; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; font-family: var(--mono); margin-bottom: 16px; }
.reads-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 34px; opacity: .82; }
.reads-row span { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; color: var(--ink-2); font-size: 15px; }
.reads-row span i { width: 9px; height: 9px; border-radius: 3px; }

/* ---------- modern "security console" panel character (site-wide) ----------
   Gradient hairline edge that glows emerald at the top + technical shadow.
   Same layout — just a sharper, on-brand character (no soft Mac-window look). */
.feature, .triad-card, .plan {
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, var(--surface), var(--bg-elev)) padding-box,
    linear-gradient(180deg, rgba(53,228,167,.34), var(--line-2) 26%, var(--line)) border-box;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 26px 56px -36px rgba(0,0,0,.85);
}
.hero-panel {
  border: 1px solid transparent;
  background:
    var(--surface) padding-box,
    linear-gradient(180deg, rgba(53,228,167,.42), var(--line-2) 24%, var(--line)) border-box;
}
.scorecard {
  border: 1px solid transparent;
  background:
    var(--surface-2) padding-box,
    linear-gradient(180deg, rgba(53,228,167,.30), var(--line-2) 30%) border-box;
}
/* light "how it works / pricing" cards get an emerald top edge instead of the flat Mac look */
.step, .dns-card {
  border: 1px solid transparent;
  background:
    #fff padding-box,
    linear-gradient(180deg, rgba(19,186,130,.55), var(--paper-line) 32%) border-box;
}
.feature:hover, .triad-card:hover, .plan:hover {
  box-shadow: 0 0 0 1px rgba(53,228,167,.28), 0 34px 66px -32px rgba(0,0,0,.9);
}

/* ---------- hero mail-flow: real mail passes the shield, fakes get blocked ---------- */
.mailflow { position: relative; display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 22px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(180deg, var(--surface), var(--surface-2)); box-shadow: var(--sh-1); overflow: hidden; }
.mf-step { display: flex; flex-direction: column; align-items: center; gap: 7px; flex: none; text-align: center; }
.mf-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-3); border: 1px solid var(--line-2); color: var(--ink); }
.mf-ic svg { width: 21px; height: 21px; }
.mf-ic.inbox { color: var(--brand-2); background: rgba(53,228,167,.09); border-color: rgba(53,228,167,.3); transition: box-shadow .3s var(--ease); }
.mf-inbox.hit .mf-ic.inbox { box-shadow: 0 0 0 5px rgba(53,228,167,.22); }
.mf-lbl { font-size: 11.5px; color: var(--muted); font-weight: 600; white-space: nowrap; }

.mf-wire { position: relative; flex: 1 1 46px; min-width: 28px; height: 2px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 5px, transparent 5px 10px); }

/* the shield — our security checkpoint */
.mf-shield { position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; flex: none; }
.mf-shield-ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: var(--brand-2); background: rgba(53,228,167,.1); border: 1px solid rgba(53,228,167,.35); transition: color .25s, background .25s, border-color .25s, box-shadow .25s; }
.mf-shield-ic svg { width: 26px; height: 26px; }
.mf-shield .mf-lbl { color: var(--brand-2); }
.mf-shield.pass .mf-shield-ic { box-shadow: 0 0 0 6px rgba(53,228,167,.20); }
.mf-shield.block .mf-shield-ic { color: var(--red); background: rgba(242,105,107,.12); border-color: rgba(242,105,107,.5); box-shadow: 0 0 0 6px rgba(242,105,107,.26); animation: mfShake .42s var(--ease); }
@keyframes mfShake { 0%,100% { transform: translateX(0); } 18% { transform: translateX(-3px); } 38% { transform: translateX(3px); } 58% { transform: translateX(-2px); } 78% { transform: translateX(2px); } }

.mf-block-badge { position: absolute; top: -13px; left: 50%; white-space: nowrap; font-size: 10.5px; font-weight: 700; color: var(--red); background: rgba(242,105,107,.14); border: 1px solid rgba(242,105,107,.4); padding: 3px 8px; border-radius: var(--pill); opacity: 0; pointer-events: none; z-index: 4; transform: translate(-50%, 4px); }
.mf-shield.block .mf-block-badge { animation: mfBadge 1.15s var(--ease); }
@keyframes mfBadge { 0% { opacity: 0; transform: translate(-50%, 4px) scale(.8); } 16% { opacity: 1; transform: translate(-50%, -2px) scale(1); } 78% { opacity: 1; transform: translate(-50%, -2px) scale(1); } 100% { opacity: 0; transform: translate(-50%, -7px) scale(1); } }

/* a flying envelope (created in JS) */
.mf-mail { position: absolute; top: 0; left: 0; margin: -9px 0 0 -12px; width: 24px; height: 18px; border-radius: 5px; display: grid; place-items: center; pointer-events: none; z-index: 3; will-change: transform, opacity; }
.mf-mail svg { width: 13px; height: 13px; }
.mf-mail.legit { color: var(--brand-2); background: rgba(53,228,167,.16); border: 1px solid rgba(53,228,167,.55); box-shadow: 0 0 12px rgba(53,228,167,.45); }
.mf-mail.fake { color: var(--red); background: rgba(242,105,107,.16); border: 1px solid rgba(242,105,107,.55); box-shadow: 0 0 12px rgba(242,105,107,.45); }

@media (max-width: 460px) {
  .mailflow { flex-wrap: wrap; gap: 12px; }
  .mf-wire { flex-basis: 40px; }
}

/* hero privacy reassurance */
.hero-assure { margin-top: 18px; display: flex; align-items: flex-start; gap: 12px; max-width: 560px; padding: 13px 16px; border: 1px solid rgba(53,228,167,.28); border-radius: var(--r); background: linear-gradient(180deg, rgba(53,228,167,.07), rgba(53,228,167,.02)); }
.hero-assure .ha-ico { width: 34px; height: 34px; border-radius: 9px; background: rgba(53,228,167,.14); color: var(--brand-2); display: grid; place-items: center; flex: none; }
.hero-assure .ha-ico svg { width: 19px; height: 19px; }
.hero-assure p { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.hero-assure b { color: var(--ink); font-weight: 600; }

/* ---------- trust triad: problem / fix / privacy ---------- */
.triad-section { background: linear-gradient(180deg, var(--bg), var(--bg-elev)); }
.triad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.triad-card { position: relative; display: flex; flex-direction: column; padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(180deg, var(--surface), var(--bg-elev)); overflow: hidden; transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; }
.triad-card:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: var(--sh-2); }
.triad-card .num { position: absolute; top: 18px; right: 24px; font-family: var(--font-display); font-weight: 800; font-size: 42px; line-height: 1; color: var(--surface-3); pointer-events: none; }
.triad-ico { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 20px; }
.triad-ico svg { width: 27px; height: 27px; }
.triad-ico.problem { background: rgba(242,105,107,.12); border: 1px solid rgba(242,105,107,.25); color: var(--red); }
.triad-ico.fix     { background: rgba(76,184,245,.12); border: 1px solid rgba(76,184,245,.25); color: var(--sky); }
.triad-ico.privacy { background: var(--grad-brand); color: var(--brand-ink); box-shadow: 0 12px 28px -10px rgba(19,186,130,.7); }
.triad-card h3 { font-size: 21px; }
.triad-card > p { margin-top: 12px; color: var(--ink-2); font-size: 15.5px; line-height: 1.62; }
.triad-card b { color: var(--ink); font-weight: 600; }
.triad-card.featured { border-color: rgba(53,228,167,.5); box-shadow: var(--glow); background: linear-gradient(180deg, var(--surface-2), var(--bg-elev)); }
.triad-card.featured:hover { box-shadow: var(--glow), var(--sh-2); }
.triad-tag { position: absolute; top: -12px; left: 28px; display: inline-flex; align-items: center; gap: 6px; background: var(--grad-brand); color: var(--brand-ink); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: var(--pill); }
.triad-tag svg { width: 13px; height: 13px; }
.triad-checks { list-style: none; margin: 20px 0 0; display: grid; gap: 11px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.triad-checks li { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--ink); }
.triad-checks li svg { width: 18px; height: 18px; color: var(--brand-2); flex: none; }
.triad-checks.risk li svg { color: var(--red); }
/* keep the checklist anchored to the foot of the card so all three align */
.triad-card > .triad-checks { margin-top: auto; }

/* ---------- problem / stat band ---------- */
.stat-band { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.stat { padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(180deg, var(--surface), transparent); }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px,5vw,50px); background: var(--grad-brandsky); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.03em; }
.stat .lbl { margin-top: 8px; color: var(--ink-2); font-size: 15px; }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; counter-reset: s; }
.step { position: relative; padding: 30px 26px; border: 1px solid var(--paper-line); border-radius: var(--r-lg); background: #fff; box-shadow: 0 1px 2px rgba(12,20,36,.04); overflow: hidden; }
.step::before { counter-increment: s; content: "0" counter(s); position: absolute; top: 18px; right: 22px; font-family: var(--font-display); font-weight: 800; font-size: 40px; color: var(--paper-2); }
.step .ico { width: 46px; height: 46px; border-radius: 13px; background: var(--grad-brand); display: grid; place-items: center; margin-bottom: 18px; box-shadow: 0 8px 20px -8px rgba(19,186,130,.6); }
.step .ico svg { width: 24px; height: 24px; color: #fff; }
.step h3 { font-size: 19px; }
.step p { margin-top: 9px; color: var(--paper-ink-2); font-size: 15px; }
.dns-card { margin-top: 40px; border: 1px solid var(--paper-line); border-radius: var(--r-lg); overflow: hidden; background:#fff; box-shadow: 0 20px 50px -28px rgba(12,20,36,.28); }
.dns-head { display:flex; align-items:center; gap:12px; padding: 14px 18px; border-bottom: 1px solid var(--paper-line); background: linear-gradient(180deg, #fff, var(--paper)); }
.dns-head .dns-tag { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--brand); background: rgba(19,186,130,.12); border: 1px solid rgba(19,186,130,.28); padding: 4px 10px; border-radius: 8px; }
.dns-head .dns-title { font-family: var(--mono); font-size: 13px; color: var(--paper-ink-2); }
.dns-body { padding: 20px; font-family: var(--mono); font-size: 14px; overflow-x:auto; }
.dns-body .row { display:flex; gap: 18px; padding: 5px 0; white-space: nowrap; }
.dns-body .k { color: var(--paper-ink-2); min-width: 62px; }
.dns-body .v { color: var(--paper-ink); }
.dns-body .v em { color: var(--brand); font-style: normal; font-weight: 600; }

/* ---------- features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.feature { padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(180deg, var(--surface), var(--bg-elev)); transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.feature:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: var(--sh-2); }
.feature .ico { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 20px; background: rgba(53,228,167,.1); border: 1px solid rgba(53,228,167,.2); }
.feature .ico svg { width: 24px; height: 24px; color: var(--brand-2); }
.feature h3 { font-size: 19px; }
.feature p { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.feature.wide { grid-column: span 1; }

/* ---------- dashboard preview ---------- */
.preview-split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px,5vw,64px); align-items: center; }
.preview-copy h2 { font-size: clamp(26px,3.4vw,38px); }
.preview-copy p { margin-top: 16px; color: var(--ink-2); }
.preview-list { margin-top: 24px; display: grid; gap: 14px; }
.preview-list li { list-style: none; display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.preview-list .chk { width: 22px; height: 22px; border-radius: 7px; background: rgba(53,228,167,.14); color: var(--brand-2); display: grid; place-items: center; flex: none; margin-top: 1px; }
.preview-list .chk svg { width: 14px; height: 14px; }
.preview-frame { border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-3); background: var(--surface); transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transition: transform .6s var(--ease); }
.preview-frame:hover { transform: perspective(1600px) rotateY(-2deg) rotateX(0); }
.preview-frame img { width: 100%; }
.preview-toolbar { display:flex; align-items:center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--bg-elev); }
.preview-toolbar i { width:10px;height:10px;border-radius:50%; }
.preview-toolbar i:nth-child(1){background:#f2696b}.preview-toolbar i:nth-child(2){background:#f6b23c}.preview-toolbar i:nth-child(3){background:#35e4a7}
.preview-toolbar span { margin-left: 10px; font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* mini dashboard rendered in preview */
.mini { padding: 20px; display: grid; gap: 16px; }
.mini-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.mini-kpi { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.mini-kpi .l { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.mini-kpi .v { font-family: var(--font-display); font-weight: 700; font-size: 24px; margin-top: 6px; }
.mini-kpi .v.ok { color: var(--brand-2); } .mini-kpi .v.red { color: var(--red); }
.mini-chart { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.mini-chart .ch-head { display:flex; justify-content:space-between; align-items:center; margin-bottom: 12px; }
.mini-chart .ch-head b { font-size: 13.5px; font-weight: 600; }
.mini-legend { display:flex; gap: 14px; font-size: 11.5px; color: var(--muted); }
.mini-legend span { display:inline-flex; align-items:center; gap:6px; }
.mini-legend i { width: 9px; height: 9px; border-radius: 3px; }

/* ---------- pricing ---------- */
.cur-toggle { display: inline-flex; padding: 5px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--pill); margin: 0 auto 44px; }
.cur-toggle button { padding: 9px 20px; border-radius: var(--pill); font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: color .25s; position: relative; z-index: 1; }
.cur-toggle button.active { color: var(--brand-ink); }
.cur-toggle { position: relative; }
.cur-glider { position: absolute; top: 5px; bottom: 5px; border-radius: var(--pill); background: var(--grad-brand); transition: transform .38s var(--ease), width .38s var(--ease); z-index: 0; }
.plans { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(180deg, var(--surface), var(--bg-elev)); position: relative; transition: transform .35s var(--ease), border-color .35s; }
.plan:hover { transform: translateY(-4px); }
.plan.featured { border-color: rgba(53,228,167,.5); box-shadow: var(--glow); }
.plan .tag { position: absolute; top: -12px; left: 28px; background: var(--grad-brand); color: var(--brand-ink); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: var(--pill); }
.plan h3 { font-size: 20px; }
.plan .desc { margin-top: 6px; color: var(--muted); font-size: 14px; min-height: 40px; }
.plan .price { margin: 18px 0 6px; display: flex; align-items: baseline; gap: 4px; }
.plan .price .amt { font-family: var(--font-display); font-weight: 800; font-size: 44px; letter-spacing: -.03em; }
.plan .price .amt--word { font-size: 34px; }
.plan .price .per { color: var(--muted); font-size: 15px; }
.plan .setup { font-size: 13px; color: var(--muted); }
.plan .trial-note { display: flex; align-items: center; gap: 7px; margin-top: 10px; font-size: 12.5px; font-weight: 700; color: #0d8a5d; }
.plan .trial-note svg { width: 14px; height: 14px; flex: none; }

/* pricing trial badge */
.trial-badge { display: inline-flex; align-items: center; gap: 9px; padding: 9px 18px; border-radius: var(--pill); background: rgba(19,186,130,.1); border: 1px solid rgba(19,186,130,.3); color: #0d8a5d; font-size: 14px; font-weight: 600; }
.trial-badge svg { width: 17px; height: 17px; flex: none; }
@media (max-width: 460px) { .trial-badge { font-size: 12.5px; padding: 8px 14px; text-align: center; } }
.plan ul { list-style: none; margin: 24px 0; display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.plan li svg { width: 18px; height: 18px; color: var(--brand-2); flex: none; margin-top: 2px; }
.plan li em { font-style: normal; font-weight: 600; color: var(--ink); }
.plan .btn { margin-top: auto; width: 100%; }

/* ---------- comparison ---------- */
.compare { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.compare-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; align-items: center; }
.compare-row > div { padding: 18px 20px; font-size: 15px; }
.compare-head { background: var(--surface-2); font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.compare-head .us { color: var(--brand-2); }
.compare-body .compare-row { border-top: 1px solid var(--line); }
.compare-body .compare-row:hover { background: rgba(255,255,255,.015); }
.compare-row .feat { color: var(--ink); font-weight: 500; }
.compare-row .cell { color: var(--muted); display: flex; align-items: center; justify-content: center; text-align: center; }
.compare-row .cell.yes { color: var(--brand-2); }
.compare-row .cell.no { color: var(--red); opacity: .8; }
.compare-row .cell.us { background: rgba(53,228,167,.05); }
.compare-row .cell svg { width: 20px; height: 20px; }

/* ---------- faq ---------- */
.faq { max-width: 800px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; transition: border-color .3s; }
.faq-item.open { border-color: var(--line-2); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.faq-q .plus { width: 24px; height: 24px; flex: none; position: relative; }
.faq-q .plus::before, .faq-q .plus::after { content:""; position:absolute; background: var(--brand-2); border-radius: 2px; transition: transform .3s var(--ease); }
.faq-q .plus::before { top: 11px; left: 4px; right: 4px; height: 2px; }
.faq-q .plus::after { left: 11px; top: 4px; bottom: 4px; width: 2px; }
.faq-item.open .plus::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding: 0 22px 22px; color: var(--ink-2); font-size: 15.5px; }

/* ---------- CTA ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(46px,7vw,84px); text-align: center; background: linear-gradient(135deg, var(--surface-2), var(--bg-elev)); border: 1px solid var(--line-2); }
.cta-band .glowb { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(19,186,130,.4), transparent 65%); top: -220px; left: 50%; transform: translateX(-50%); filter: blur(50px); }
.cta-band h2 { position: relative; font-size: clamp(28px,4.2vw,48px); }
.cta-band p { position: relative; margin: 18px auto 32px; color: var(--ink-2); max-width: 540px; font-size: 18px; }
.cta-band .hero-cta { position: relative; justify-content: center; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 66px 0 40px; background: var(--bg-elev); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { margin-bottom: 16px; }
.footer-about p { color: var(--muted); font-size: 14.5px; max-width: 300px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-family: var(--mono); font-weight: 500; margin-bottom: 16px; }
.footer-col a { display: block; color: var(--ink-2); font-size: 14.5px; padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: var(--brand-2); }
.footer-bottom { margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 13.5px; }
.footer-bottom .badges { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-bottom .badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--pill); font-size: 12.5px; }
.footer-bottom .badge svg { width: 14px; height: 14px; color: var(--brand-2); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ---------- keyframes ---------- */
@keyframes float1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-40px,40px)} }
@keyframes float2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(50px,-30px)} }
@keyframes pulse { 0%,100%{box-shadow:0 0 0 0 rgba(53,228,167,.35)} 50%{box-shadow:0 0 0 6px rgba(53,228,167,0)} }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes dash { to { stroke-dashoffset: 0; } }
@keyframes drawline { from { stroke-dashoffset: var(--len); } to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .blob { animation: none !important; }
  .preview-frame { transform: none !important; }
}

/* ---------- legal pages ---------- */
.legal { padding-top: calc(var(--nav-h) + 60px); padding-bottom: 90px; }
.legal .wrap { max-width: 800px; }
.legal h1 { font-size: clamp(30px,4vw,44px); }
.legal .updated { color: var(--muted); margin: 12px 0 40px; font-family: var(--mono); font-size: 13px; }
.legal h2 { font-size: 22px; margin: 38px 0 12px; }
.legal p, .legal li { color: var(--ink-2); margin-bottom: 12px; font-size: 16px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--brand-2); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-split { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { max-width: none; }
  .hero-split h1 { font-size: clamp(36px, 8vw, 52px); }
  .hero-visual .float-badge { right: 0; }
}
@media (max-width: 900px) {
  .nav-links { position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg-elev); border-bottom: 1px solid var(--line); padding: 12px; transform: translateY(-120%); transition: transform .4s var(--ease); }
  .nav-links.open { transform: none; }
  .nav-links a:not(.btn) { padding: 14px 10px; }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links .btn { margin-top: 8px; }
  .nav-toggle { display: inline-flex; }
  .stat-band, .steps, .feature-grid, .plans, .triad { grid-template-columns: 1fr; }
  .preview-split { grid-template-columns: 1fr; }
  .preview-frame { transform: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .compare-row { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .compare-row > div { padding: 14px 10px; font-size: 13px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .checker-form { flex-direction: column; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .mini-kpis { grid-template-columns: 1fr; }
  .hp-kpis { grid-template-columns: repeat(3,1fr); }
}

/* ---------- mail-flow network map ---------- */
.flow-section { background: linear-gradient(180deg, var(--bg-elev), var(--bg)); }
.flow { margin-top: 6px; }
.flow-legend { display: flex; justify-content: center; gap: 12px 26px; flex-wrap: wrap; margin-bottom: 34px; }
.flow-legend .lg { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.flow-legend .lg i { width: 10px; height: 10px; border-radius: 3px; }
.flow-legend .lg-ok i { background: var(--brand-2); }
.flow-legend .lg-warn i { background: var(--amber); }
.flow-legend .lg-bad i { background: var(--red); }

.flow-canvas { position: relative; display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: clamp(26px, 7vw, 104px); align-items: center; }
.flow-links { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: visible; }
.flow-col { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 13px; min-width: 0; }
.flow-col--gate { align-items: center; }
.flow-col-label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.flow-col--dst { text-align: right; }
.flow-col--dst .flow-col-label { align-self: flex-end; }

.flow-node { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(180deg, var(--surface), var(--bg-elev)); box-shadow: var(--sh-1); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.flow-node:hover { transform: translateY(-2px); border-color: var(--line-2); box-shadow: var(--sh-2); }
.fn-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); flex: none; }
.fn-ic svg { width: 20px; height: 20px; }
.fn-txt { min-width: 0; }
.fn-txt b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fn-txt span { font-size: 11.5px; color: var(--muted); }
.fn-badge { margin-left: auto; width: 9px; height: 9px; border-radius: 50%; flex: none; box-shadow: 0 0 0 3px rgba(255,255,255,.02); }
.flow-node.ok .fn-badge { background: var(--brand-2); }
.flow-node.warn .fn-badge { background: var(--amber); }
.flow-node.bad .fn-badge { background: var(--red); }
.flow-node.bad { border-color: rgba(242,105,107,.4); }
.flow-node.bad .fn-ic { background: rgba(242,105,107,.12); border-color: rgba(242,105,107,.3); color: var(--red); }
.flow-node.warn .fn-ic { color: var(--amber); }

/* destination nodes emphasise the outcome */
.flow-node.dst { flex-direction: row-reverse; text-align: right; }
.flow-node.dst .fn-txt { text-align: right; }
.flow-node.dst.ok .fn-ic { background: rgba(53,228,167,.13); border-color: rgba(53,228,167,.3); color: var(--brand-2); }
.flow-node.dst.warn .fn-ic { background: rgba(246,178,60,.14); border-color: rgba(246,178,60,.3); color: var(--amber); }
.flow-node.dst.bad .fn-ic { background: rgba(242,105,107,.14); border-color: rgba(242,105,107,.3); color: var(--red); }

/* authentication gate */
.flow-gate { text-align: center; width: 196px; max-width: 54vw; padding: 22px 18px; border: 1px solid rgba(53,228,167,.4); border-radius: var(--r-lg); background: linear-gradient(180deg, var(--surface-2), var(--bg-elev)); box-shadow: var(--glow); }
.fg-ic { width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 14px; background: var(--grad-brand); display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(19,186,130,.7); }
.fg-ic svg { width: 26px; height: 26px; color: var(--brand-ink); }
.flow-gate b { font-size: 16px; display: block; }
.fg-chips { display: flex; justify-content: center; gap: 6px; margin: 12px 0 10px; }
.fg-chips span { font-family: var(--mono); font-size: 11px; padding: 3px 8px; border-radius: 6px; background: rgba(53,228,167,.1); color: var(--brand-2); border: 1px solid rgba(53,228,167,.2); }
.flow-gate small { font-size: 11px; color: var(--muted); display: block; line-height: 1.4; }

@media (max-width: 860px) {
  .flow-canvas { grid-template-columns: 1fr; gap: 18px; justify-items: center; }
  .flow-col { width: 100%; max-width: 360px; }
  .flow-col--dst { text-align: left; }
  .flow-col--dst .flow-col-label { align-self: flex-start; }
  .flow-node.dst { flex-direction: row; text-align: left; }
  .flow-node.dst .fn-txt { text-align: left; }
  .flow-gate { width: 100%; max-width: 360px; }
}
