/* Colour the page canvas so iOS overscroll and the status-bar area are dark
   rather than white. body keeps its own light background, so every section
   below the hero is unaffected - html only shows through past the edges. */
html { background-color: #100F0D; }

/* The eyebrow pill is part of the mobile layout only; desktop is unchanged. */
.hero-pill { display: none; }

/* Type: Inter, the same grotesque family the reference site uses. Scoped to the
   hero and the mobile menu so the rest of the site keeps Poppins. */
.hero-section.full,
.hero-section.full h1,
.hero-section.full h2,
.hero-section.full p,
.hero-section.full a,
.hero-section.full div,
.nav-menu-2,
.nav-menu-2 a,
.nav-menu-2 div {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif !important;
}
/* Webflow's hamburger is an icon font; overriding its family turns it into
   stray glyphs. */
.hero-section.full [class*="w-icon"],
.nav-menu-2 [class*="w-icon"] { font-family: 'webflow-icons' !important; }

/* Homepage hero, dark.
 *
 * Scoped entirely to .hero-section.full so nothing below it is touched.
 * Palette matches the blog and the transactional emails:
 *   page #100F0D · card #1A1815 · hairline #2A2620
 *   text #F3ECE1 · muted #B7A98F · gold #E0A449
 *
 * Own file, never an inline <style> block. */

.hero-section.full {
  background-color: #100F0D !important;
  background-image: none !important;
  /* The hero used to be filled by a tall five-field form; with a short card in
     its place it stopped reaching the fold and the next section showed through. */
  /* 100vh is iOS's LARGE viewport (chrome hidden) and 100svh its SMALL one, so
     both leave a gap in one state or the other. 100dvh tracks the *current*
     visible area, which is what keeps the next section out of sight whether
     Brave's floating toolbar is showing or not. */
  min-height: 100vh;
}

/* Nav sits inside the hero and scrolls away, so it only needs to read on dark. */
.hero-section.full .nav-link,
.hero-section.full .w-nav-link,
.hero-section.full .dropdown-toggle {
  color: #F3ECE1 !important;
}
.hero-section.full .w-nav-link:hover,
.hero-section.full .dropdown-toggle:hover { color: #E0A449 !important; }
.hero-section.full .w-icon-nav-menu { color: #F3ECE1 !important; }

.hero-section.full .hero-heading,
.hero-section.full h1,
.hero-section.full h2 { color: #F3ECE1 !important; }

.hero-section.full .hero-content-box p,
.hero-section.full .left-flex p { color: #B7A98F !important; }

/* The decorative curl is a dark stroke; lift it so it reads on the dark field. */
.hero-section.full .image { filter: invert(1); opacity: .28; }

/* --- the call-to-action card --- */
.hero-section.full .hero-form.w-form {
  background: #1A1815 !important;
  border: 1px solid #2A2620;
  border-radius: 16px;
  box-shadow: none !important;
  padding: 26px 26px 24px !important;
}

.hero-cta { text-align: center; }

.hero-cta .heading-2.form {
  /* Webflow hides .heading-2.form; the old hero let the fields speak for
     themselves, but a card with only a button needs a title. */
  display: block;
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 600;
  color: #F3ECE1;
}

.hero-cta-sub {
  margin: 0 0 22px;
  font-size: 14.5px;
  line-height: 1.6;
  color: #B7A98F;
}

a.hero-cta-btn {
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  background: #E0A449 !important;
  background-image: none !important;
  color: #241F16 !important;
  font-weight: 600;
  border-radius: 999px;
  padding: 14px 24px;
  transition: filter .15s;
}
a.hero-cta-btn:hover { filter: brightness(1.07); }

.hero-cta-terms {
  display: block;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 15px;
  font-size: 11.5px;
  line-height: 1.55;
  color: #6F6555;
  text-align: center;
}
.hero-cta-terms .agreement-wrapper { display: inline; color: inherit; }
/* Keep "Terms & Service" and "Privacy Policy" whole; the lead-in wraps instead,
   so a link never breaks across two rows. */
.hero-cta-terms a { white-space: nowrap; }
/* Force the break after the lead-in so the links start on their own line. */
.hero-cta-terms .agreement-wrapper:first-child { display: block; }
.hero-cta-terms a { color: #8A7F70; text-decoration: underline; }
.hero-cta-terms a:hover { color: #E0A449; }

/* --- mobile: single centred column, after Resend's hero --- */
@media (max-width: 991px) {

  .hero-section.full { padding-left: 22px !important; padding-right: 22px !important; }

  /* Stack and centre everything instead of the desktop two-column split. */
  .hero-section.full .flexbox,
  .hero-section.full .hero-container {
    display: block !important;
    text-align: center !important;
  }
  .hero-section.full .left-flex,
  .hero-section.full .right-flex,
  .hero-section.full .hero-content-box {
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .hero-section.full .hero-heading {
    font-weight: 600 !important;
    letter-spacing: -1.2px !important;
    font-size: 40px !important;
    line-height: 1.1 !important;
    letter-spacing: -.5px;
    margin: 0 auto 20px !important;
    max-width: 15ch;
  }

  /* .paragraph._430 pins text-align:left, so it needs naming directly. */
  .hero-section.full .hero-content-box p,
  .hero-section.full .left-flex p,
  .hero-section.full .paragraph,
  .hero-section.full p.paragraph._430 {
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
    margin: 0 auto 34px !important;
    max-width: 34ch;
    text-align: center !important;
  }

  /* The form wrapper shrink-wrapped to 181px, so the CTA never filled. */
  .hero-section.full .hero-form.w-form,
  .hero-section.full .right-flex.flex {
    width: 100% !important;
    max-width: 420px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .hero-cta { width: 100%; }

  /* No card on mobile: the CTA sits straight on the dark field. */
  .hero-section.full .hero-form.w-form {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
  }
  /* The hero heading already says what this is, so the card's own title and
     blurb would just repeat it. */
  .hero-cta .heading-2.form,
  .hero-cta-sub { display: none !important; }

  a.hero-cta-btn { padding: 16px 24px; font-size: 16px; }

  .hero-cta-terms { margin-top: 18px; }

  .hero-pill {
    display: inline-block;
    margin: 0 auto 22px;
    padding: 7px 16px;
    border: 1px solid #2A2620;
    border-radius: 999px;
    font-size: 12.5px;
    letter-spacing: .2px;
    color: #B7A98F;
    background: #1A1815;
  }

  /* The decorative curl only works beside the desktop two-column layout. */
  .hero-section.full .image { display: none !important; }
}
