/* =========================================================
   BADGER BUSINESS COMPASS
   PUBLIC LANDING PAGE
========================================================= */


/* =========================================================
   PAGE SHELL
========================================================= */

.welcome-page {
  width: 100%;
  min-height: 100vh;

  padding: 26px 24px 0;
}


.welcome-card {
  width: min(var(--content-width), 100%);

  margin: 0 auto 54px;

  overflow: hidden;

  background: rgba(255, 255, 255, 0.97);

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-lg);
}


/* =========================================================
   PUBLIC HEADER
========================================================= */

.site-header {
  width: calc(100% - 48px);
  max-width: 1120px;

  min-height: 76px;

  margin: 22px auto 0;
  padding: 16px 26px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 28px;

  background: #ffffff;

  border: 1px solid var(--border);
  border-radius: 18px 18px 0 0;
}


.site-brand {
  min-width: 0;

  display: flex;
  align-items: center;

  gap: 11px;

  color: var(--text);

  font-size: 17px;
  font-weight: 800;

  line-height: 1.2;

  text-decoration: none;
}


.site-brand:hover {
  color: var(--primary);
}


.site-brand-icon {
  width: 36px;
  height: 36px;

  flex: 0 0 36px;

  object-fit: contain;
}


.site-nav {
  display: flex;
  align-items: center;

  gap: 30px;

  flex: 0 0 auto;
}


.site-nav > a {
  color: var(--text);

  font-size: 14px;
  font-weight: 700;

  text-decoration: none;
}


.site-nav > a:not(.sign-in-button):hover {
  color: var(--primary);
}


.site-nav .sign-in-button {
  min-height: 44px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 20px;

  background: #ffffff;

  border: 1px solid var(--border-strong);
  border-radius: 12px;

  white-space: nowrap;
}


.site-nav .sign-in-button:hover {
  color: var(--primary);

  background: #f7faf7;

  border-color: var(--primary);
}

/* =========================================================
   HERO CONTENT WRAPPER
========================================================= */

.welcome-content {
  width: 100%;
  padding: 50px 64px 38px;
}


/* =========================================================
   HERO
========================================================= */

.welcome-hero {
  position: relative;

  min-height: 590px;

  display: flex;
  align-items: flex-start;

  padding: 38px 0;

  overflow: hidden;
  isolation: isolate;

  border-radius: 20px;
}


/* =========================================================
   HERO IMAGE
   One stable image layer for all screen sizes.
========================================================= */

.welcome-hero::before {
  content: "";

  position: absolute;
  inset: 0;

  z-index: -2;

  background-image:
    url("../assets/images/badger-hero-full.png");

  background-repeat: no-repeat;

  /*
    Cover prevents visible rectangular image edges
    when the viewport changes size.
  */
  background-size: cover;

  /*
    Keep the Badger slightly right of centre.
  */
  background-position: 58% center;

  opacity: 0.52;

  pointer-events: none;

  /*
    Soft fade around all sides of the illustration.
  */
  -webkit-mask-image:
    radial-gradient(
      ellipse 96% 92% at 58% 50%,
      black 38%,
      rgba(0, 0, 0, 0.92) 54%,
      rgba(0, 0, 0, 0.62) 70%,
      rgba(0, 0, 0, 0.25) 86%,
      transparent 100%
    );

  mask-image:
    radial-gradient(
      ellipse 96% 92% at 58% 50%,
      black 38%,
      rgba(0, 0, 0, 0.92) 54%,
      rgba(0, 0, 0, 0.62) 70%,
      rgba(0, 0, 0, 0.25) 86%,
      transparent 100%
    );
}


/* =========================================================
   HERO WHITE OVERLAY
   Keeps text readable and fades image into the page.
========================================================= */

.welcome-hero::after {
  content: "";

  position: absolute;
  inset: 0;

  z-index: -1;

  pointer-events: none;

  background:
    linear-gradient(
      to right,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.82) 24%,
      rgba(255, 255, 255, 0.46) 43%,
      rgba(255, 255, 255, 0.12) 65%,
      rgba(255, 255, 255, 0.08) 82%,
      rgba(255, 255, 255, 0.28) 100%
    ),

    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.28) 0%,
      rgba(255, 255, 255, 0.06) 35%,
      rgba(255, 255, 255, 0.06) 68%,
      rgba(255, 255, 255, 0.55) 87%,
      #ffffff 100%
    );
}
/* =========================================================
   HERO COPY
========================================================= */

.welcome-hero-text {
  position: relative;

  z-index: 2;

  width: min(600px, 58%);

  display: flex;
  flex-direction: column;
  align-items: flex-start;
}


.welcome-hero-text .eyebrow {
  margin-bottom: 20px;
}


.welcome-hero-text h1 {
  max-width: 600px;

  color: var(--text);

  font-size: clamp(52px, 5.1vw, 74px);

  font-weight: 850;

  line-height: 0.99;

  letter-spacing: -0.052em;
}


.welcome-hero-text h1 span {
  color: var(--primary);
}


.welcome-hero-text .intro {
  max-width: 550px;

  margin-top: 28px;

  color: var(--muted);

  font-size: 18px;

  line-height: 1.68;
}


/* =========================================================
   RETURNING USER CTA
========================================================= */

.hero-returning-user {
  width: 100%;
  max-width: 500px;

  margin-top: 28px;
}


.hero-dashboard-button {
  width: 100%;
  min-height: 60px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 10px;

  padding: 14px 20px;

  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      var(--primary) 0%,
      var(--primary-dark) 100%
    );

  border: 1px solid rgba(10, 86, 58, 0.35);
  border-radius: 14px;

  box-shadow:
    0 13px 30px
    rgba(23, 117, 84, 0.18);

  font-size: 15px;
  font-weight: 800;

  text-decoration: none;
}


.hero-dashboard-button:hover {
  transform: translateY(-2px);

  box-shadow:
    0 18px 34px
    rgba(23, 117, 84, 0.23);
}


.hero-dashboard-button svg {
  width: 19px;
  height: 19px;

  flex: 0 0 19px;
}


/* =========================================================
   HERO — TABLET
========================================================= */

@media (max-width: 900px) {

  .welcome-content {
    padding:
      42px
      38px
      34px;
  }


  .welcome-hero {
    min-height: 560px;
  }


  .welcome-hero-text {
    width: 65%;
  }


  .welcome-hero-text h1 {
    font-size:
      clamp(
        46px,
        6.5vw,
        62px
      );
  }


  .welcome-hero-text .intro {
    font-size: 16px;
  }

}


/* =========================================================
   HEADER — TABLET / PHONE
========================================================= */

@media (max-width: 760px) {

  .welcome-page {
    padding: 0;
  }


  .welcome-card {
    margin: 0 0 34px;

    border-top: 0;
    border-right: 0;
    border-left: 0;

    border-radius:
      0 0 22px 22px;

    box-shadow: none;
  }


  .site-header {
    width: 100%;

    min-height: 70px;

    margin: 0;

    padding:
      max(
        14px,
        env(safe-area-inset-top)
      )
      18px
      14px;

    gap: 12px;

    border-top: 0;
    border-right: 0;
    border-left: 0;

    border-radius: 0;
  }


  .site-brand {
    gap: 9px;

    font-size: 14px;
  }


  .site-brand-icon {
    width: 30px;
    height: 30px;

    flex-basis: 30px;
  }


  .site-nav {
    gap: 0;
  }


  .site-nav
  > a:not(.sign-in-button) {
    display: none;
  }


  .site-nav .sign-in-button {
    min-height: 42px;

    padding: 0 14px;

    font-size: 13px;
  }

}

/* =========================================================
   HERO — PHONE
========================================================= */

@media (max-width: 480px) {

  .welcome-content {
    padding:
      22px
      18px
      24px;
  }


  /* =========================================
     HERO
  ========================================= */

  .welcome-hero {
    position: relative;

    min-height: 590px;

    display: block;

    padding: 0;

    overflow: hidden;

    border-radius: 0;

    isolation: isolate;
  }


  /* =========================================
     BADGER BACKGROUND

     The illustration now runs behind the
     headline and the rest of the hero.
  ========================================= */
.welcome-hero::before {
  content: "";

  position: absolute;
  inset: 0;

  z-index: -2;

  background-image:
    url("../assets/images/badger-hero-full.png");

  background-repeat: no-repeat;

  /* Smaller Badger */
  background-size: auto 62%;

  /* Keep him higher in the hero */
  background-position: 56% 27%;

  /* Make the actual illustration clearer */
  opacity: 0.48;

  pointer-events: none;

  /* Soft fade into white at top and bottom */
  -webkit-mask-image:
    linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.45) 8%,
      black 20%,
      black 72%,
      rgba(0, 0, 0, 0.55) 87%,
      transparent 100%
    );

  mask-image:
    linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.45) 8%,
      black 20%,
      black 72%,
      rgba(0, 0, 0, 0.55) 87%,
      transparent 100%
    );
}

  /* =========================================
     WHITE READING LAYER
  ========================================= */

  .welcome-hero::after {
  content: "";

  position: absolute;
  inset: 0;

  z-index: -1;

  pointer-events: none;

  background:
    linear-gradient(
      to right,
      rgba(255, 255, 255, 0.78) 0%,
      rgba(255, 255, 255, 0.30) 18%,
      rgba(255, 255, 255, 0.05) 50%,
      rgba(255, 255, 255, 0.30) 82%,
      rgba(255, 255, 255, 0.78) 100%
    ),

    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.72) 0%,
      rgba(255, 255, 255, 0.28) 16%,
      rgba(255, 255, 255, 0.05) 42%,
      rgba(255, 255, 255, 0.18) 68%,
      rgba(255, 255, 255, 0.70) 88%,
      #ffffff 100%
    );
}

  /* =========================================
     HERO CONTENT
  ========================================= */
.welcome-hero-text {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 100%;

  min-height: 590px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
}


  .welcome-hero-text .eyebrow {
    margin-bottom: 11px;

    font-size: 10px;
  }


 .welcome-hero-text h1 {
  max-width: 355px;

  margin-top: 145px;

  font-size:
    clamp(
      35px,
      10vw,
      42px
    );

  line-height: 1.01;

  letter-spacing: -1.6px;
}


 .welcome-hero-text .intro {
  max-width: 340px;

  margin-top: auto;
  margin-bottom: 12px;

  padding: 10px 12px;

  color: #46544e;

  background:
    rgba(255, 255, 255, 0.68);

  border-radius: 10px;

  font-size: 14px;

  line-height: 1.48;
}

  /* =========================================
     DASHBOARD BUTTON

     margin-top:auto pushes the button to the
     bottom, underneath the Badger.
  ========================================= */

 .hero-returning-user {
  width: 100%;
  max-width: 100%;

  margin-top: 0;

  padding-top: 0;
  padding-bottom: 5px;
}


  .hero-dashboard-button {
    width: 100%;

    min-height: 54px;

    padding:
      12px
      15px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    border-radius: 13px;

    font-size: 14px;

    box-shadow:
      0 10px 24px
      rgba(23, 117, 84, 0.16);
  }


  .hero-dashboard-button svg {
    width: 18px;
    height: 18px;

    flex: 0 0 18px;
  }

}
/* =========================================================
   BENEFITS
========================================================= */

.benefits {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 16px;

  margin-top: 36px;
}


.benefit {
  min-width: 0;
  min-height: 118px;

  display: flex;
  align-items: flex-start;

  gap: 15px;

  padding: 21px 22px;

  background: var(--surface-soft);

  border: 1px solid var(--border);
  border-radius: 17px;

  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}


.benefit:hover {
  transform: translateY(-2px);

  border-color: var(--border-strong);

  box-shadow:
    0 12px 28px
    rgba(23, 32, 27, 0.06);
}


.benefit-icon {
  width: 34px;
  height: 34px;

  display: grid;
  place-items: center;

  flex: 0 0 34px;

  color: var(--primary);

  background: var(--primary-soft);

  border-radius: 50%;
}


.benefit-icon svg {
  width: 19px;
  height: 19px;
}


.benefit > div:last-child {
  min-width: 0;
}


.benefit strong {
  display: block;

  margin: 1px 0 6px;

  color: var(--text);

  font-size: 14px;
  font-weight: 800;

  line-height: 1.35;
}


.benefit p {
  color: var(--muted);

  font-size: 12.5px;

  line-height: 1.55;
}


/* =========================================================
   ROLE SELECTION
========================================================= */

.role-section {
  margin-top: 38px;

  padding: 32px 0 8px;

  border-top: 1px solid var(--border);
}


.role-title {
  margin-bottom: 22px;

  color: var(--text);

  font-size: 20px;
  font-weight: 800;

  letter-spacing: -0.025em;
}


.role-buttons {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 18px;
}


.role-card {
  width: 100%;
  min-height: 132px;

  display: flex;
  align-items: center;

  gap: 18px;

  padding: 25px 28px;

  color: var(--text);

  background: #ffffff;

  border: 1px solid var(--border);
  border-radius: 20px;

  box-shadow:
    0 6px 20px
    rgba(23, 32, 27, 0.035);

  text-align: left;
  text-decoration: none;

  cursor: pointer;
}


.role-card:hover {
  transform: translateY(-3px);

  border-color: var(--border-strong);

  box-shadow:
    0 15px 34px
    rgba(23, 32, 27, 0.08);
}


/* BUSINESS OWNER */

.role-card.primary {
  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      var(--primary) 0%,
      var(--primary-dark) 100%
    );

  border-color: var(--primary);

  box-shadow:
    0 14px 30px
    rgba(23, 117, 84, 0.16);
}


.role-card.primary:hover {
  box-shadow:
    0 18px 38px
    rgba(23, 117, 84, 0.23);
}


/* ACCOUNTANT COMING SOON */

.role-card[aria-disabled="true"] {
  cursor: default;
}


.role-card[aria-disabled="true"]:hover {
  transform: none;
}


/* ROLE ICON */

.role-icon {
  width: 56px;
  height: 56px;

  display: grid;
  place-items: center;

  flex: 0 0 56px;

  background: var(--primary-soft);

  border-radius: 50%;

  font-size: 25px;
}


.role-card.primary .role-icon {
  background:
    rgba(255, 255, 255, 0.15);
}


/* ROLE TEXT */

.role-text {
  min-width: 0;

  flex: 1;
}


.role-text strong {
  display: block;

  margin-bottom: 6px;

  font-size: 17px;

  line-height: 1.25;
}


.role-text small {
  display: block;

  max-width: 330px;

  color: var(--muted);

  font-size: 13px;

  line-height: 1.55;
}


.role-card.primary .role-text small {
  color:
    rgba(255, 255, 255, 0.82);
}


/* ROLE ARROW */

.role-card .arrow {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  flex: 0 0 42px;

  border-radius: 50%;

  font-size: 20px;
}


.role-card:not(.primary) .arrow {
  background: var(--cream);

  border: 1px solid #e4ded1;
}


.role-card.primary .arrow {
  background:
    rgba(255, 255, 255, 0.14);
}


.role-card:not([aria-disabled="true"]):hover
.arrow {
  transform: translateX(4px);
}


/* TRUST MESSAGE */

.trust-message {
  margin-top: 32px;

  color: var(--text-soft);

  font-size: 12px;

  line-height: 1.6;

  text-align: center;
}


/* =========================================================
   SHARED LANDING SECTIONS
========================================================= */

.landing-section {
  width: min(
    var(--content-width),
    calc(100% - 48px)
  );

  margin: 0 auto;

  padding: 82px 0;
}


.landing-section-heading {
  max-width: 720px;

  margin: 0 auto 44px;

  text-align: center;
}


.landing-section-heading .eyebrow {
  margin-bottom: 8px;
}


.landing-section-heading h2 {
  margin: 8px 0 14px;

  color: var(--text);

  font-size:
    clamp(
      31px,
      4vw,
      47px
    );

  font-weight: 830;

  line-height: 1.08;

  letter-spacing: -0.035em;
}


.landing-section-heading p {
  color: var(--muted);

  font-size: 16px;

  line-height: 1.75;
}


/* =========================================================
   HOW IT WORKS
========================================================= */

.how-it-works {
  border-top: 1px solid var(--border);
}


.how-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 20px;
}


.how-card {
  position: relative;

  min-width: 0;
  min-height: 210px;

  padding: 30px 28px;

  background: #ffffff;

  border: 1px solid var(--border);
  border-radius: 20px;

  box-shadow:
    0 10px 28px
    rgba(23, 32, 27, 0.055);
}


.how-card:hover {
  transform: translateY(-3px);

  border-color: var(--border-strong);

  box-shadow:
    0 18px 38px
    rgba(23, 32, 27, 0.085);
}


.how-number {
  width: 44px;
  height: 44px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 26px;

  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      var(--primary) 0%,
      var(--primary-dark) 100%
    );

  border-radius: 13px;

  box-shadow:
    0 8px 18px
    rgba(23, 117, 84, 0.16);

  font-size: 14px;
  font-weight: 850;
}


.how-card h3 {
  margin-bottom: 11px;

  color: var(--text);

  font-size: 19px;
  font-weight: 800;

  line-height: 1.3;

  letter-spacing: -0.02em;
}


.how-card p {
  color: var(--muted);

  font-size: 13.5px;

  line-height: 1.65;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

  .role-buttons {
    gap: 14px;
  }


  .role-card {
    padding: 22px;
  }


  .landing-section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

  .benefits {
    grid-template-columns: 1fr;

    gap: 11px;

    margin-top: 22px;
  }


  .benefit {
    min-height: auto;

    padding: 18px;
  }


  .role-section {
    margin-top: 32px;

    padding-top: 28px;
  }


  .role-title {
    margin-bottom: 18px;

    font-size: 18px;
  }


  .role-buttons {
    grid-template-columns: 1fr;

    gap: 12px;
  }


  .role-card {
    min-height: 108px;

    padding: 19px;
  }


  .role-icon {
    width: 48px;
    height: 48px;

    flex-basis: 48px;

    font-size: 22px;
  }


  .role-card .arrow {
    width: 38px;
    height: 38px;

    flex-basis: 38px;
  }


  .landing-section {
    width: 100%;

    padding:
      58px
      20px;
  }


  .landing-section-heading {
    margin-bottom: 32px;
  }


  .landing-section-heading h2 {
    font-size: 33px;
  }


  .landing-section-heading p {
    font-size: 14px;

    line-height: 1.65;
  }


  .how-grid {
    grid-template-columns: 1fr;

    gap: 14px;
  }


  .how-card {
    min-height: auto;

    padding: 24px;
  }


  .how-number {
    margin-bottom: 20px;
  }

}


/* =========================================================
   SMALL PHONE
========================================================= */

@media (max-width: 480px) {

  .benefits {
    margin-top: 18px;
  }


  .benefit {
    padding: 16px;

    gap: 13px;

    border-radius: 15px;
  }


  .benefit-icon {
    width: 32px;
    height: 32px;

    flex-basis: 32px;
  }


  .benefit strong {
    margin-bottom: 4px;
  }


  .benefit p {
    font-size: 12px;

    line-height: 1.5;
  }


  .role-section {
    margin-top: 28px;
  }


  .role-card {
    min-height: 100px;

    padding: 17px;
  }


  .role-text strong {
    font-size: 15px;
  }


  .role-text small {
    font-size: 12px;
  }


  .landing-section {
    padding:
      50px
      18px;
  }


  .landing-section-heading h2 {
    font-size: 31px;
  }


  .how-card {
    padding: 22px;
  }

}
/* =========================================================
   PRODUCT / FEATURES SECTION
========================================================= */

.product-preview {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(380px, 0.9fr);

  align-items: center;

  gap: 70px;
}


.preview-content {
  min-width: 0;
}


.preview-content .eyebrow {
  margin-bottom: 8px;
}


.preview-content h2 {
  margin: 8px 0 17px;

  color: var(--text);

  font-size:
    clamp(
      31px,
      4vw,
      47px
    );

  font-weight: 830;

  line-height: 1.08;

  letter-spacing: -0.035em;
}


.preview-content > p {
  color: var(--muted);

  font-size: 16px;

  line-height: 1.75;
}


/* =========================================================
   FEATURE LIST
========================================================= */

.preview-list {
  display: grid;

  gap: 13px;

  margin: 27px 0 30px;
}


.preview-list > div {
  display: flex;
  align-items: center;

  gap: 11px;

  color: #314039;

  font-size: 14px;
  font-weight: 650;
}


.preview-list > div > span {
  width: 28px;
  height: 28px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 28px;

  color: var(--primary);

  background: var(--primary-soft);

  border-radius: 9px;

  font-weight: 900;
}


/* =========================================================
   LANDING PRIMARY BUTTON
========================================================= */

.landing-primary-button {
  min-height: 52px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 23px;

  color: #ffffff;

  background: var(--primary);

  border-radius: 12px;

  box-shadow:
    0 10px 24px
    rgba(23, 117, 84, 0.13);

  font-size: 14px;
  font-weight: 800;

  text-align: center;
  text-decoration: none;
}


.landing-primary-button:hover {
  transform: translateY(-1px);

  background: var(--primary-dark);
}


/* =========================================================
   PRODUCT PREVIEW WINDOW
========================================================= */

.preview-window {
  min-width: 0;

  overflow: hidden;

  background: #ffffff;

  border: 1px solid var(--border);
  border-radius: 22px;

  box-shadow: var(--shadow-md);
}


.preview-window-top {
  display: flex;

  gap: 7px;

  padding: 15px 18px;

  background: #f0f2ee;

  border-bottom: 1px solid var(--border);
}


.preview-window-top span {
  width: 9px;
  height: 9px;

  background: #b8c2bb;

  border-radius: 50%;
}


.preview-window-content {
  padding: 38px;
}


.preview-label {
  color: var(--primary);

  font-size: 10px;
  font-weight: 850;

  letter-spacing: 0.13em;

  text-transform: uppercase;
}


.preview-window-content h3 {
  margin: 12px 0 25px;

  color: var(--text);

  font-size: 25px;

  line-height: 1.35;
}


/* =========================================================
   PREVIEW RESULT
========================================================= */

.preview-result {
  display: flex;
  align-items: flex-start;

  gap: 14px;

  padding: 18px;

  background: var(--primary-soft);

  border: 1px solid #cee0d5;
  border-radius: 14px;
}


.preview-result > span {
  width: 34px;
  height: 34px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 34px;

  color: #ffffff;

  background: var(--primary);

  border-radius: 10px;

  font-weight: 900;
}


.preview-result > div {
  min-width: 0;
}


.preview-result strong {
  display: block;

  color: #164d3e;

  font-size: 14px;
}


.preview-result p {
  margin-top: 5px;

  color: var(--muted);

  font-size: 13px;

  line-height: 1.6;
}


/* =========================================================
   PRICING
========================================================= */

.pricing-section {
  border-top: 1px solid var(--border);
}


.pricing-grid {
  display: grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0, 410px)
    );

  justify-content: center;

  align-items: stretch;

  gap: 22px;
}


.pricing-card {
  position: relative;

  min-width: 0;

  display: flex;
  flex-direction: column;

  padding: 34px;

  background: #ffffff;

  border: 1px solid var(--border);
  border-radius: 21px;

  box-shadow: var(--shadow-sm);
}


.pricing-card.featured {
  border: 2px solid var(--primary);

  box-shadow:
    0 20px 50px
    rgba(23, 117, 84, 0.13);
}


/* =========================================================
   PRICING BADGE / NAME
========================================================= */

.pricing-badge {
  position: absolute;

  top: 18px;
  right: 18px;

  padding: 6px 9px;

  color: var(--primary);

  background: var(--primary-soft);

  border-radius: 7px;

  font-size: 9px;
  font-weight: 850;

  letter-spacing: 0.1em;

  text-transform: uppercase;
}


.pricing-name {
  color: var(--primary);

  font-size: 13px;
  font-weight: 850;
}


/* =========================================================
   PRICE
========================================================= */

.pricing-price {
  display: flex;
  align-items: baseline;

  gap: 6px;

  margin: 18px 0 10px;
}


.pricing-price strong {
  color: var(--text);

  font-size: 39px;

  line-height: 1;
}


.pricing-price span {
  color: var(--muted);

  font-size: 13px;
}


/* =========================================================
   PRICING DESCRIPTION
========================================================= */

.pricing-card > p {
  min-height: 48px;

  margin-bottom: 20px;

  color: var(--muted);

  font-size: 14px;

  line-height: 1.65;
}


.pricing-card .annual-price {
  min-height: 48px;

  margin-bottom: 20px;

  color: var(--primary);

  font-weight: 750;
}


/* =========================================================
   PRICING FEATURES
========================================================= */

.pricing-card ul {
  display: grid;

  gap: 12px;

  margin-bottom: 28px;

  list-style: none;
}


.pricing-card li {
  position: relative;

  padding-left: 25px;

  color: #34423b;

  font-size: 14px;

  line-height: 1.5;
}


.pricing-card li::before {
  content: "✓";

  position: absolute;

  top: 0;
  left: 0;

  color: var(--primary);

  font-weight: 900;
}


/* =========================================================
   PRICING BUTTONS
========================================================= */

.pricing-button {
  min-height: 50px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: auto;

  padding: 0 18px;

  border-radius: 11px;

  font-size: 14px;
  font-weight: 800;

  text-align: center;
  text-decoration: none;
}


.pricing-button:hover {
  transform: translateY(-1px);
}


.pricing-button.primary {
  color: #ffffff;

  background: var(--primary);

  border: 1px solid var(--primary);
}


.pricing-button.primary:hover {
  background: var(--primary-dark);

  border-color: var(--primary-dark);
}


.pricing-button.secondary {
  color: var(--primary);

  background: var(--primary-soft);

  border: 1px solid #cee0d5;
}


.pricing-button.secondary:hover {
  background: #dcece3;

  border-color: #b9d4c5;
}


/* =========================================================
   PRICING NOTE
========================================================= */

.pricing-note {
  max-width: 600px;

  margin: 24px auto 0;

  color: var(--text-soft);

  font-size: 12px;

  line-height: 1.6;

  text-align: center;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

  .product-preview {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(320px, 0.85fr);

    gap: 40px;
  }


  .preview-window-content {
    padding: 30px;
  }


  .pricing-card {
    padding: 28px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

  .product-preview {
    grid-template-columns: 1fr;

    gap: 38px;
  }


  .preview-content h2 {
    font-size: 33px;
  }


  .preview-content > p {
    font-size: 14px;

    line-height: 1.65;
  }


  .preview-list {
    gap: 11px;

    margin:
      24px
      0
      26px;
  }


  .preview-window {
    max-width: 520px;

    margin: 0 auto;

    border-radius: 18px;
  }


  .preview-window-content {
    padding: 26px;
  }


  .preview-window-content h3 {
    font-size: 22px;
  }


  .pricing-grid {
    grid-template-columns: 1fr;

    max-width: 520px;

    margin: 0 auto;

    gap: 18px;
  }


  .pricing-card {
    padding: 27px;
  }

}


/* =========================================================
   SMALL PHONE
========================================================= */

@media (max-width: 480px) {

  .preview-content h2 {
    font-size: 31px;
  }


  .landing-primary-button {
    width: 100%;

    min-height: 52px;

    padding: 12px 18px;
  }


  .preview-window-content {
    padding: 22px;
  }


  .preview-window-content h3 {
    margin-bottom: 20px;

    font-size: 20px;
  }


  .preview-result {
    padding: 15px;

    gap: 12px;
  }


  .preview-result > span {
    width: 31px;
    height: 31px;

    flex-basis: 31px;
  }


  .pricing-card {
    padding: 23px;

    border-radius: 18px;
  }


  .pricing-price strong {
    font-size: 36px;
  }


  .pricing-badge {
    top: 15px;
    right: 15px;
  }


  .pricing-button {
    width: 100%;
  }

}
/* =========================================================
   ABOUT SECTION

   About uses the shared .how-grid / .how-card system.
   Only section-specific spacing lives here.
========================================================= */

#about {
  border-top: 1px solid var(--border);
}


/* =========================================================
   FINAL CTA
========================================================= */

.landing-final-cta {
  width: min(
    var(--content-width),
    calc(100% - 48px)
  );

  margin: 22px auto 72px;

  padding: 68px 32px;

  color: #ffffff;

  background:
    radial-gradient(
      circle at 78% 20%,
      rgba(199, 154, 69, 0.18),
      transparent 15rem
    ),
    #173f34;

  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-md);

  text-align: center;
}


.landing-final-cta .eyebrow {
  color: #b9d9ce;
}


.landing-final-cta h2 {
  max-width: 760px;

  margin: 10px auto 13px;

  font-size:
    clamp(
      31px,
      4vw,
      46px
    );

  line-height: 1.12;

  letter-spacing: -0.03em;
}


.landing-final-cta p {
  max-width: 650px;

  margin: 0 auto 27px;

  color: #d5e2dd;

  font-size: 16px;

  line-height: 1.7;
}


.landing-primary-button.light {
  color: #173f34;

  background: #ffffff;

  box-shadow: none;
}


.landing-primary-button.light:hover {
  color: #173f34;

  background: #f7f4ed;
}


/* =========================================================
   LANDING FOOTER
========================================================= */

.landing-footer {
  width: min(
    var(--content-width),
    calc(100% - 48px)
  );

  display: flex;
  align-items: center;

  gap: 24px;

  margin: 0 auto;

  padding: 30px 0 38px;

  border-top: 1px solid var(--border);
}


/* FOOTER BRAND */

.landing-footer .brand {
  min-width: 0;

  display: flex;
  align-items: center;

  gap: 12px;

  flex: 0 0 auto;
}


.footer-logo-image {
  width: 40px;
  height: 40px;

  flex: 0 0 40px;

  object-fit: contain;
}


.landing-footer .brand strong {
  display: block;

  color: var(--text);

  font-size: 15px;

  line-height: 1.25;
}


.footer-owner {
  display: block;

  margin-top: 3px;

  color: var(--muted);

  font-size: 11px;

  line-height: 1.3;
}


/* FOOTER DISCLAIMER */

.landing-footer > p {
  flex: 1;

  color: #747d77;

  font-size: 12px;

  line-height: 1.55;

  text-align: center;
}


/* FOOTER LINKS */

.footer-links {
  display: flex;
  align-items: center;

  gap: 20px;

  flex: 0 0 auto;
}


.footer-links a {
  color: #415048;

  font-size: 13px;
  font-weight: 700;

  text-decoration: none;
}


.footer-links a:hover {
  color: var(--primary);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

  .landing-final-cta {
    padding:
      58px
      30px;
  }


  .landing-footer {
    gap: 18px;
  }


  .footer-links {
    gap: 14px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

  .landing-final-cta {
    width: calc(100% - 32px);

    margin:
      8px
      auto
      46px;

    padding:
      48px
      22px;

    border-radius: 20px;
  }


  .landing-final-cta p {
    font-size: 14px;

    line-height: 1.65;
  }


  .landing-footer {
    width: calc(100% - 32px);

    flex-direction: column;

    gap: 20px;

    padding:
      28px
      0
      34px;

    text-align: center;
  }


  .landing-footer .brand {
    justify-content: center;

    text-align: left;
  }


  .landing-footer > p {
    max-width: 420px;

    flex: initial;
  }


  .footer-links {
    flex-wrap: wrap;

    justify-content: center;
  }

}


/* =========================================================
   SMALL PHONE
========================================================= */

@media (max-width: 480px) {

  .landing-final-cta {
    width: calc(100% - 28px);

    margin-bottom: 38px;

    padding:
      42px
      20px;

    border-radius: 19px;
  }


  .landing-final-cta h2 {
    font-size: 31px;
  }


  .landing-final-cta .landing-primary-button {
    width: 100%;
  }


  .landing-footer {
    width: calc(100% - 32px);
  }


  .footer-links {
    gap:
      12px
      18px;
  }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 360px) {

  .site-header {
    padding-right: 14px;
    padding-left: 14px;
  }


  .site-brand {
    font-size: 13px;
  }


  .site-brand-icon {
    width: 28px;
    height: 28px;

    flex-basis: 28px;
  }


  .site-nav .sign-in-button {
    padding:
      0
      11px;

    font-size: 12px;
  }


  .welcome-content {
    padding-right: 15px;
    padding-left: 15px;
  }


  .welcome-hero-text h1 {
    font-size: 34px;
  }


  .role-card {
    gap: 13px;

    padding: 15px;
  }


  .role-icon {
    width: 44px;
    height: 44px;

    flex-basis: 44px;
  }


  .role-card .arrow {
    width: 34px;
    height: 34px;

    flex-basis: 34px;
  }


  .landing-section {
    padding-right: 15px;
    padding-left: 15px;
  }


  .pricing-card {
    padding: 20px;
  }

}