/* ==========================================================================
   Cold-email landing pages

   Different job from the main site. Someone clicked a link in an email, on a
   phone, probably on cellular, and will leave in about eight seconds if the
   page has not told them what this is. So: one column, one CTA, no nav, and
   the form on the page instead of behind a modal.
   ========================================================================== */

/* per-lander accent swap. The violet variant reads as the security campaign. */
body.accent-violet {
  --ember: #a855f7;
  --ember-hi: #c084fc;
  --ember-lo: #7e22ce;
  --ember-glow: rgba(168, 85, 247, 0.24);
  --signal: #22d3ee;
  --signal-hi: #67e8f9;
}

body { background: var(--bg); }

.lwrap {
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  padding-inline: var(--gut);
}

/* --- header: wordmark and one link, nothing else ---------------------- */

.lhdr {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 720px;
  margin-inline: auto;
  padding: 1.15rem var(--gut);
}
.lhdr .mark {
  display: flex; align-items: center; gap: 0.65em;
  font-family: var(--mono); font-size: 0.92rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink);
}
.lhdr .core {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ember); box-shadow: 0 0 12px var(--ember-glow);
}
.lhdr-cta {
  margin-left: auto;
  font-family: var(--mono); font-size: 0.72rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-3); white-space: nowrap;
  transition: color 0.2s var(--ease);
}
.lhdr-cta:hover { color: var(--ember); }
.lhdr-cta .arw { transition: transform 0.2s var(--ease); display: inline-block; }
.lhdr-cta:hover .arw { transform: translateX(3px); }
@media (max-width: 480px) { .lhdr-cta { display: none; } }

/* --- hero -------------------------------------------------------------- */

.lhero {
  position: relative;
  padding-block: clamp(2rem, 7vw, 4rem) clamp(2.5rem, 8vw, 4.5rem);
  overflow: hidden;
}
.lhero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(52ch 34ch at 88% -6%, var(--ember-glow), transparent 64%),
    radial-gradient(46ch 30ch at 2% 104%, rgba(34,211,238,0.10), transparent 62%);
  pointer-events: none;
}
body.accent-violet .lhero::before {
  background:
    radial-gradient(52ch 34ch at 88% -6%, var(--ember-glow), transparent 64%),
    radial-gradient(46ch 30ch at 2% 104%, rgba(168,85,247,0.10), transparent 62%);
}
.lhero .lwrap { position: relative; z-index: 1; }

.lhero h1 {
  font-size: clamp(2.1rem, 7.5vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-block: 0.5em 0;
  max-width: 19ch;
}
.lhero h1 .grad {
  background: linear-gradient(96deg, var(--ember-hi), var(--ember) 55%, var(--signal));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lhero .lede {
  margin-top: 1.15em;
  font-size: clamp(1rem, 3.4vw, 1.12rem);
  color: var(--ink-2);
  max-width: 52ch;
}
.lhero-cta { margin-top: 1.9rem; }
.lhero-cta .btn { padding: 1em 1.7em; }

/* --- proof strip ------------------------------------------------------- */

.proof {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
  gap: 1px;
  margin-top: 2.4rem;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  overflow: hidden;
}
.pf {
  background: var(--bg);
  padding: 1.05rem 1rem;
  display: flex; flex-direction: column; gap: 0.3rem;
}
.pf-v {
  font-family: var(--mono);
  font-size: clamp(1.15rem, 4vw, 1.5rem);
  line-height: 1.05; color: var(--ember);
  font-variant-numeric: tabular-nums;
}
.pf-d { font-size: 0.79rem; color: var(--ink-3); line-height: 1.45; }
.proof-note {
  margin-top: 0.8rem;
  font-size: 0.74rem; color: var(--ink-4); line-height: 1.5;
}

/* --- body sections ----------------------------------------------------- */

.lbody { padding-bottom: clamp(3rem, 9vw, 5rem); }

.lsec { padding-block: clamp(1.8rem, 6vw, 2.8rem); }
.lsec h2 {
  font-size: clamp(1.35rem, 4.6vw, 1.8rem);
  letter-spacing: -0.015em;
  position: relative; padding-left: 0.85rem;
  max-width: 22ch;
}
.lsec h2::before {
  content: "";
  position: absolute; left: 0; top: 0.14em; bottom: 0.14em;
  width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, var(--ember), var(--signal));
}
.lsec-p { margin-top: 0.9rem; color: var(--ink-2); max-width: 58ch; }
.lsec-ul {
  margin-top: 1.2rem; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 0.8rem;
}
.lsec-ul li {
  color: var(--ink-2); padding-left: 1.45rem;
  position: relative; line-height: 1.6; font-size: 0.95rem;
}
.lsec-ul li::before {
  content: ""; position: absolute; left: 0; top: 0.6em;
  width: 6px; height: 6px; border-radius: 1px;
  background: var(--ember); transform: rotate(45deg);
}
.lsec-ul li strong { color: var(--ink); }

/* --- closing block + form --------------------------------------------- */

.lclose {
  margin-top: clamp(1.5rem, 5vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  padding: clamp(1.5rem, 5vw, 2.2rem);
  scroll-margin-top: 1.5rem;
  position: relative;
  overflow: hidden;
}
.lclose::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, var(--ember), var(--signal));
}
.lclose h2 {
  font-size: clamp(1.4rem, 5vw, 1.9rem);
  letter-spacing: -0.02em; max-width: 20ch;
}
.lclose > p { margin-top: 0.85rem; color: var(--ink-2); max-width: 54ch; }

.lf { margin-top: 1.6rem; display: flex; flex-direction: column; gap: 0.95rem; }
.lf-row { display: grid; gap: 0.95rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .lf-row { grid-template-columns: 1fr; } }

.lf .field { display: flex; flex-direction: column; gap: 0.38rem; }
.lf label {
  font-family: var(--mono); font-size: 0.66rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3);
}
.lf .req { color: var(--ember); }
.lf input, .lf select {
  background: var(--bg); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 0.78em 0.85em; font-family: inherit; font-size: 16px;
  transition: border-color 0.2s var(--ease);
  width: 100%;
}
.lf input:focus, .lf select:focus { border-color: var(--ember); }
.lf-btn { justify-content: center; padding-block: 1em; margin-top: 0.2rem; }
.lf-note { font-size: 0.75rem; color: var(--ink-4); line-height: 1.55; }

.form-msg { font-size: 0.88rem; padding: 0.7em 0.9em; border-radius: var(--r); display: none; }
.form-msg.ok  { display: block; background: rgba(52,211,153,0.1); color: var(--good); }
.form-msg.err { display: block; background: rgba(251,113,133,0.1); color: var(--bad); }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* --- footer ------------------------------------------------------------ */

.lftr {
  border-top: 1px solid var(--line-soft);
  padding-block: 1.6rem;
  margin-top: auto;
}
.lftr .lwrap {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem;
  align-items: center; justify-content: space-between;
  font-family: var(--mono); font-size: 0.72rem;
  color: var(--ink-4); letter-spacing: 0.04em;
}
.lftr a { color: var(--ink-3); transition: color 0.2s var(--ease); }
.lftr a:hover { color: var(--ember); }

/* --- calculator sits inside a lander, tighten it ---------------------- */
.lsec [data-calc] { margin-top: 1.3rem; }
