@charset "UTF-8";
/* /BetterEmails landing page only (email_outcomes search campaign). CSS-compatible SCSS; build with
   `npx sass wwwroot/scss/betteremails.scss wwwroot/css/betteremails.css --no-source-map`.
   Ported from the approved mock (Desktop\Landing Pages\BetterEmails, v1 Nov 10, 2026), on the site's tokens so dark mode works.
   Everything is prefixed be- or sits under .betteremails-page, so nothing leaks into the shared components.
   The @font-face is here because this page self-hosts Inter (LeanLandingPage); other pages keep Google Fonts. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  src: url("/fonts/inter-latin-var.woff2") format("woff2");
}
/* The goal chips and CTAs jump to these, so they stop clear of the sticky nav. */
.betteremails-page [id] {
  scroll-margin-top: 5rem;
}

/* ── Hero: copy left, signup form right ── */
.be-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, var(--color-bg-tinted) 0%, var(--color-bg) 100%);
}

.be-hero__atmo {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 45% 55% at 100% 70%, rgba(180, 214, 250, 0.45), transparent 70%), radial-gradient(ellipse 40% 35% at 0% 62%, rgba(182, 214, 251, 0.35), transparent 70%);
}

.be-hero__split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.95fr);
  gap: 2.75rem;
  align-items: center;
  padding-top: 1.75rem;
  padding-bottom: 2.25rem;
}

.be-hero__copy {
  text-align: left;
}

.be-hero__title {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.1rem;
  line-height: 1.08;
  color: var(--color-text-primary);
  text-wrap: balance;
}

.be-hero__title .t-accent {
  display: block;
}

.be-hero__sub {
  max-width: 34rem;
  margin: 1rem 0 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text-secondary);
}

.be-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 2rem;
  margin-top: 1.15rem;
}

.be-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-text-brand);
}

.be-hero__proof {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.be-hero__proof strong {
  color: var(--color-text-primary);
  font-size: 1.0625rem;
  margin-right: 0.15rem;
}

.be-hero__mobile-cta {
  display: none;
}

/* Signup card (site .rd-card + .form-*), tightened so the button sits above the fold at 1280x800. */
.be-hero__form .rd-card {
  padding: 1.35rem 1.5rem 1.2rem;
}

.be-hero__form .rd-card .form-group {
  margin-bottom: 0.8rem;
}

.be-hero__form .rd-card .form-input {
  padding: 0.6rem 0.8rem;
}

.be-form__title {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02rem;
  text-align: center;
  color: var(--color-text-primary);
}

.be-form__sub {
  max-width: none;
  margin: 0.3rem 0 1rem;
  text-align: center;
  font-size: 0.875rem;
}

.be-form__errors {
  color: var(--color-danger, #e25c5c);
  font-size: 0.875rem;
}

.be-form__errors ul {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
}

.be-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.be-form__fine {
  max-width: none;
  margin-top: 0.6rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.be-form__fine a {
  color: var(--color-text-brand);
}

.be-form__hint {
  margin-top: 0;
  margin-bottom: 0.15rem;
}

.be-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 0.25rem;
}

.be-btn-row > * {
  flex: 1 1 9.5rem;
  justify-content: center;
  padding-left: 1rem;
  padding-right: 1rem;
}

.be-btn-row--center {
  justify-content: center;
  max-width: 32rem;
  margin: 0 auto;
}

.be-btn-row--center > * {
  flex: 0 0 auto;
  padding-left: 1.75rem;
  padding-right: 1.75rem;
}

/* ── Email samples: two real campaign emails, fanned, below the hero ── */
.be-samples {
  background: var(--color-bg);
  padding: 0.25rem 0 1.5rem;
}

.be-stage {
  position: relative;
  max-width: 34rem;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 0.5rem 0 1rem;
}

.be-stage::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0.25rem;
  height: 2.5rem;
  background: radial-gradient(ellipse at center, rgba(119, 167, 212, 0.35), transparent 70%);
  z-index: -1;
}

.be-email {
  position: relative;
  width: min(46%, 17.5rem);
  height: auto;
  border-radius: 4px;
  box-shadow: var(--shadow-hero);
  background: #fff;
}

.be-email--back {
  transform: rotate(-5deg) translate(1.5rem, -1rem);
  z-index: 1;
}

.be-email--front {
  transform: rotate(2.5deg) translateX(-1.5rem);
  z-index: 2;
}

/* ── Logo strip ── */
.be-logos {
  background: var(--color-bg);
}

.be-logos__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--color-border-subtle);
}

.be-logos__label {
  flex-shrink: 0;
  max-width: 9rem;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-text-muted);
}

.be-logos__row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
  gap: 0.5rem;
}

.be-logos__row img {
  height: 3.75rem;
  width: auto;
  opacity: 0.8;
  mix-blend-mode: multiply;
}

html.dark .be-logos__row img {
  mix-blend-mode: normal;
  filter: grayscale(35%) brightness(0.92);
  opacity: 0.88;
}

/* ── Pick your goal ── */
.be-goals {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border-subtle);
}

.be-goals__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.be-goals__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.be-goals__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.be-goals__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  font-size: 0.84375rem;
  font-weight: 600;
  color: var(--color-text-primary);
  background: var(--color-bg-tinted);
  border: 1px solid var(--color-border);
  border-radius: 9999px;
}

.be-goals__links a:hover {
  border-color: var(--color-text-brand);
  color: var(--color-text-brand);
  text-decoration: none;
}

.be-goals__links svg {
  color: var(--color-text-brand);
}

/* ── Goal sections ── */
.be-header p {
  max-width: 44rem;
  font-size: 1.0625rem;
  margin-top: 1rem;
}

.be-header .t-section {
  margin-bottom: 0;
}

.be-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-text-brand);
  background: var(--color-brand-subtle);
  border: 1px solid var(--color-brand-muted);
  border-radius: 9999px;
}

.be-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.be-cards--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.be-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 0.875rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.be-card:hover {
  box-shadow: var(--shadow-raised);
  border-color: var(--color-border-strong);
}

.be-card__vis {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-brand-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.be-card__vis > img:not(.be-roundlogo) {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.be-card__vis--top > img {
  object-position: top;
}

/* Email images are drawn on white, so this panel stays white in dark mode too. */
.be-card__vis--white {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  background: #fff;
}

.be-card__vis.be-card__vis--white > img {
  object-fit: contain;
}

.be-card__vis--diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--color-brand-subtle), var(--color-surface));
}

.be-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.8rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-primary);
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-card);
}

.be-wire {
  width: 2px;
  height: 0.9rem;
  background: var(--color-brand-muted);
}

.be-pill-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  padding: 0 0.5rem;
}

.be-roundlogo {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  box-shadow: var(--shadow-card);
}

.be-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
  padding: 1.1rem 1.25rem 1.25rem;
}

.be-card__body h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02rem;
  color: var(--color-text-primary);
}

.be-card__body p {
  font-size: 0.8125rem;
  line-height: 1.55;
}

.be-card__plan {
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.be-footnote {
  max-width: none;
  margin-top: 1.75rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.be-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.be-tile {
  padding: 1.75rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 0.875rem;
  box-shadow: var(--shadow-card);
}

.be-tile__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1.1rem;
  border-radius: 0.625rem;
  color: var(--color-text-brand);
  background: var(--color-brand-subtle);
}

.be-tile h3 {
  margin-bottom: 0.4rem;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02rem;
  color: var(--color-text-primary);
}

.be-tile p {
  font-size: 0.875rem;
  line-height: 1.6;
}

.be-essentials {
  margin-top: 3rem;
  padding: 1.5rem 1.75rem;
  text-align: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 0.875rem;
}

.be-mini {
  margin-bottom: 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.0625rem;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.be-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.be-chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.375rem 0.875rem;
  font-size: 0.84375rem;
  font-weight: 500;
  color: var(--color-text-primary);
  background: var(--color-bg-tinted);
  border: 1px solid var(--color-border-subtle);
  border-radius: 9999px;
}

.be-chips svg {
  color: var(--color-text-muted);
}

.be-section-cta {
  margin-top: 2.5rem;
  text-align: center;
}

/* ── Three steps ── */
.be-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.be-step {
  padding: 1.75rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 0.875rem;
  box-shadow: var(--shadow-card);
}

.be-step__n {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  background: var(--color-brand);
}

.be-step h3 {
  margin-bottom: 0.4rem;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02rem;
  color: var(--color-text-primary);
}

.be-step p {
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ── Quotes ── */
.be-quotes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 62rem;
  margin: 0 auto;
}

.be-quote {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin: 0;
  padding: 1.75rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 0.875rem;
  box-shadow: var(--shadow-card);
}

.be-quote blockquote {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-text-primary);
}

.be-quote figcaption {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.be-quote figcaption strong {
  display: block;
  font-size: 0.875rem;
  color: var(--color-text-primary);
}

/* ── Pricing ── */
.be-plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.be-plan {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 0.875rem;
  box-shadow: var(--shadow-card);
}

.be-plan h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02rem;
  color: var(--color-text-primary);
}

.be-plan p {
  font-size: 0.8125rem;
  line-height: 1.55;
}

.be-plan .be-plan__price {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--color-text-primary);
}

.be-plan__price span {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--color-text-muted);
}

.be-plan--featured {
  border-color: var(--color-brand-muted);
  box-shadow: var(--shadow-raised);
}

/* ── FAQ: shared .faq-list in _components.scss ── */
/* ── Closing band (site .footer-cta) ── */
.be-closing h2 {
  margin-bottom: 1.75rem;
}

.be-closing p {
  font-size: 0.8125rem;
  margin: 1rem auto 0;
}

.be-footer-note {
  margin-top: 0.5rem;
  font-size: 0.6875rem;
  color: var(--color-text-disabled);
}

.be-sticky {
  display: none;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .be-cards, .be-plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .be-logos__inner {
    flex-direction: column;
    gap: 1rem;
  }
  .be-logos__label {
    max-width: none;
    text-align: center;
  }
  .be-logos__row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.5rem;
  }
}
@media (max-width: 900px) {
  .be-hero__split {
    grid-template-columns: 1fr;
    gap: 1.35rem;
    padding-top: 1.5rem;
    padding-bottom: 2.5rem;
    align-items: start;
  }
  .be-hero__copy {
    text-align: center;
  }
  .be-hero__meta {
    justify-content: center;
  }
  .be-hero__sub {
    margin-left: auto;
    margin-right: auto;
  }
  .be-hero__title {
    font-size: 2.125rem;
    letter-spacing: -0.08rem;
  }
  .be-hero__mobile-cta {
    display: inline-flex;
    margin-top: 1.35rem;
  }
  .be-cards--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .be-tiles {
    grid-template-columns: 1fr 1fr;
  }
  .be-steps, .be-quotes {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .be-hero__title {
    font-size: 1.875rem;
    letter-spacing: -0.06rem;
  }
  .be-hero__sub {
    font-size: 1rem;
  }
  .be-hero__meta {
    gap: 0.75rem 1.25rem;
  }
  .be-hero__mobile-cta {
    width: 100%;
    justify-content: center;
  }
  .be-form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .be-logos__row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.25rem 0.5rem;
    width: 100%;
  }
  .be-logos__row img {
    width: 100%;
    height: auto;
  }
  .be-goals__inner {
    justify-content: flex-start;
    gap: 0.6rem;
  }
  .be-goals__links {
    justify-content: flex-start;
  }
  .be-goals__links a {
    padding: 0.4rem 0.8rem;
    font-size: 0.8125rem;
  }
  .be-header {
    margin-bottom: 2.25rem;
  }
  .be-header .t-section {
    font-size: 1.875rem;
    letter-spacing: -0.06rem;
  }
  /* Cards become a one-column list: picture left, words right. */
  .be-cards, .be-cards--three {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .be-card {
    flex-direction: row;
    align-items: stretch;
  }
  .be-card__vis {
    width: 7.5rem;
    flex-shrink: 0;
    aspect-ratio: auto;
    min-height: 7.5rem;
    border-bottom: 0;
    border-right: 1px solid var(--color-border-subtle);
  }
  .be-card__vis--white {
    padding: 0.4rem;
  }
  .be-card__body {
    padding: 0.9rem 1rem;
    justify-content: center;
  }
  .be-card__body h3 {
    font-size: 0.9375rem;
  }
  .be-card__plan {
    margin-top: 0.2rem;
    padding-top: 0;
  }
  .be-pill {
    font-size: 0.625rem;
    padding: 0.2rem 0.45rem;
    gap: 0.25rem;
  }
  .be-pill-row {
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0;
  }
  .be-wire {
    height: 0.5rem;
  }
  .be-roundlogo {
    width: 1.9rem;
    height: 1.9rem;
  }
  .be-tiles {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .be-tile {
    display: grid;
    grid-template-columns: 2.5rem 1fr;
    column-gap: 1rem;
    padding: 1.25rem;
  }
  .be-tile__icon {
    grid-row: span 2;
    margin: 0;
  }
  .be-essentials {
    margin-top: 2.25rem;
    padding: 1.25rem;
    text-align: left;
  }
  .be-mini {
    text-align: left;
  }
  .be-chips {
    justify-content: flex-start;
  }
  .be-chips li {
    font-size: 0.8125rem;
  }
  .be-step, .be-quote {
    padding: 1.25rem;
  }
  .be-quote blockquote {
    font-size: 1rem;
  }
  .be-plans {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .be-plan {
    padding: 1.25rem;
  }
  .be-btn-row--center > * {
    flex: 1 1 100%;
  }
  .be-sticky {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: 0.75rem 1.25rem calc(0.75rem + env(safe-area-inset-bottom));
    background: var(--color-surface-nav);
    border-top: 1px solid var(--color-border);
    transform: translateY(110%);
    transition: transform 0.25s;
  }
  .be-sticky a {
    width: 100%;
    justify-content: center;
  }
  .be-sticky.is-on {
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .be-sticky, .be-card {
    transition: none;
  }
}
