/* =========================================================
   Let Sally marketing page — Accountant funnel visual system
   ========================================================= */

:root {
  --sally-navy: #001744;
  --sally-navy-deep: #000f30;
  --sally-blue: #0066ff;
  --sally-blue-hover: #0054d6;
  --sally-white: #ffffff;
  --sally-ink: #111827;
  --sally-muted: #5d6678;
  --sally-soft: #f4f7fb;
  --sally-line: #dfe5ef;
}

.dashboard-layout .sidebar { display: none !important; }
.dashboard-layout { display: block !important; }
.main, .content { padding: 0 !important; }

html { scroll-behavior: smooth; }
.landing-root, .landing-root * { box-sizing: border-box; }
.landing-root { min-height: 100vh; overflow-x: hidden; background: #fff; color: var(--sally-ink); font-family: "Red Hat Display", sans-serif; }
.landing-root img { max-width: 100%; }
.marketing-shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }

/* =========================================================
   NAV
   ========================================================= */

.marketing-nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  padding: 26px 0;
  background: transparent;
}

.marketing-nav-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.marketing-nav-spacer {
  flex: 1;
}

.marketing-nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.nav-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: var(--sally-navy);
  text-decoration: none;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}

.nav-login:hover {
  background: #f5f8fc;
  color: var(--sally-navy);
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.20);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  padding: 125px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse 760px 620px at 104% 0%,
      rgba(0, 102, 255, 0.28) 0%,
      rgba(0, 102, 255, 0.16) 30%,
      rgba(0, 102, 255, 0.07) 48%,
      rgba(0, 102, 255, 0.00) 72%
    ),
    radial-gradient(
      ellipse 620px 480px at -10% 108%,
      rgba(0, 102, 255, 0.18) 0%,
      rgba(0, 102, 255, 0.08) 38%,
      rgba(0, 102, 255, 0.00) 72%
    ),
    linear-gradient(
      135deg,
      #001744 0%,
      #001a4d 52%,
      #00133a 100%
    );
}

/* Legacy decorative elements are deliberately disabled.
   The hero's soft light now lives in the background gradients above. */
.hero::before,
.hero::after,
.hero-glow,
.hero-glow-left,
.hero-glow-right {
  content: none;
  display: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 76px;
}


/* =========================================================
   HERO COPY
   ========================================================= */

.hero-copy {
  position: relative;
}

.hero-logo {
  display: block;
  width: min(700px, 94%);
  height: auto;
  margin: 0 0 10px -12px;
  filter: brightness(0) invert(1);
}

.hero-title {
  max-width: none;
  margin: 0;
  color: rgb(115, 173, 255);
  font-size: clamp(28px, 2.45vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 700;
  white-space: nowrap;
}

.hero-subtitle {
  max-width: 590px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}


/* CTA buttons */

.btn-primary,
.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 27px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition:
    background 0.16s ease,
    transform 0.16s ease,
    box-shadow 0.16s ease;
}

.btn-primary {
  background: var(--sally-blue);
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(0, 102, 255, 0.28);
}

.btn-primary:hover {
  background: var(--sally-blue-hover);
  transform: translateY(-2px);
}

.btn-light {
  background: #ffffff;
  color: var(--sally-navy);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-light:hover {
  color: var(--sally-navy);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.hero-microcopy {
  margin: 13px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
  margin-left: 23px;
}


/* =========================================================
   HERO DEMO
   ========================================================= */

.hero-demo {
  position: relative;
}

.hero-demo-glow {
  position: absolute;
  inset: 12% -5% -10% 10%;
  border-radius: 50%;
  background:
    radial-gradient(
      ellipse,
      rgba(0, 102, 255, 0.24) 0%,
      rgba(0, 102, 255, 0.09) 45%,
      rgba(0, 102, 255, 0.00) 72%
    );
  filter: blur(46px);
  pointer-events: none;
}


/* Browser shell */

.demo-browser {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #ffffff;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.42);
  transform: rotate(1.1deg);
}

.demo-browser-bar {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 15px;
  background: #eef2f7;
  border-bottom: 1px solid #dbe2eb;
}

.demo-browser-bar > span {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: #aeb8c5;
}

.demo-address {
  flex: 1;
  max-width: 240px;
  margin-left: 8px;
  padding: 7px 12px;
  border-radius: 8px;
  background: #ffffff;
  color: #8791a1;
  font-size: 11px;
}


/* Interior */

.demo-stage {
  min-height: 350px;
  padding: 32px 34px 30px;
  background:
    linear-gradient(
      145deg,
      #fbfdff,
      #edf4ff
    );
  color: var(--sally-navy);
}

.demo-brand {
  margin-bottom: 28px;
  color: var(--sally-blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
}


/* File → folder horizontal layout */

.demo-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  width: 100%;
}

.demo-file,
.demo-match {
  min-width: 0;
  min-height: 130px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border: 1px solid #dce5f1;
  border-radius: 17px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 23, 68, 0.08);
}

.demo-file-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #edf4ff;
}

.demo-file-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.demo-item-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.demo-file strong,
.demo-match strong {
  color: var(--sally-navy);
  font-size: 14px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.demo-file span,
.demo-match span {
  color: #7a8595;
  font-size: 11px;
  font-weight: 600;
}


/* Horizontal arrow */

.demo-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  padding: 0;
  color: var(--sally-blue);
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
  transform: none;
}


/* Folder */

.demo-folder-icon {
  position: relative;
  width: 46px;
  height: 33px;
  flex: 0 0 46px;
  border-radius: 6px;
  background: var(--sally-blue);
}

.demo-folder-icon::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 4px;
  width: 21px;
  height: 9px;
  border-radius: 5px 5px 0 0;
  background: var(--sally-blue);
}


/* Green result */

.demo-status {
  width: 100%;
  box-sizing: border-box;
  margin-top: 22px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #e9f7ef;
  color: #14713c;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
}

.demo-caption {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
  font-size: 13px;
}

/* SHARED SECTIONS */
.how-strip, .band { padding: 105px 0; }
.how-strip { background: #fff; }
.band-usecases, .band-pricing { background: var(--sally-soft); }
.band-how, .band-faq { background: #fff; }
.section-heading { max-width: 810px; margin-bottom: 48px; }
.section-heading.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading h2, .band-final h2 { margin: 0; color: var(--sally-navy); font-size: clamp(38px,4.4vw,60px); line-height: 1.06; letter-spacing: -.04em; font-weight: 900; }
.section-heading > p:last-child { margin: 18px 0 0; color: var(--sally-muted); font-size: 18px; line-height: 1.7; }
.centered > p:last-child { margin-left: auto; margin-right: auto; max-width: 740px; }
.section-note { margin: 28px 0 0; color: #7a8595; text-align: center; font-size: 13px; }
.section-note a { color: var(--sally-blue); font-weight: 800; }

/* HOW */
.how-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.how-card { position: relative; min-height: 300px; padding: 34px 30px; border-radius: 22px; background: var(--sally-navy); color: #fff; box-shadow: 0 18px 45px rgba(0,23,68,.15); }
.how-number { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--sally-blue); font-weight: 900; }
.how-card img {
  position: absolute;
  top: 34px;
  right: 30px;

  width: 92px;
  height: 92px;

  object-fit: contain;
  margin: 0;
}
.how-card h3 { margin: 15px 0 10px; color: #fff; font-size: 22px; line-height: 1.2; }
.how-card p { margin: 0; color: #c8d4e7; font-size: 15px; line-height: 1.7; }

/* USE CASES */
.usecase-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.usecase-card { padding: 30px; border: 1px solid #e1e6ef; border-radius: 20px; background: #fff; box-shadow: 0 10px 28px rgba(0,23,68,.05); }
.usecase-label { display: inline-block; margin-bottom: 18px; color: var(--sally-blue); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.usecase-card h3 { margin: 0 0 10px; color: var(--sally-navy); font-size: 23px; line-height: 1.18; }
.usecase-card p, .usecase-card li { color: var(--sally-muted); line-height: 1.65; }
.usecase-card ul { padding-left: 20px; }
.usecase-card li { margin: 7px 0; }
.card-close { margin-top: 24px; color: var(--sally-navy) !important; font-weight: 800; }

/* TRUST */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.trust-card {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: var(--sally-navy);
  color: #ffffff;
  box-shadow: 0 12px 32px rgba(0, 23, 68, 0.12);
}

.trust-card-does,
.trust-card-doesnt {
  background: var(--sally-navy);
}

.trust-card h3 {
  margin: 0 0 27px;
  color: #ffffff;
  font-size: 25px;
}

.trust-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.trust-item img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.trust-item strong {
  color: #ffffff;
  font-size: 17px;
}

.trust-item p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

/* PRICING */
.pricing-toggle { width: fit-content; display: flex; gap: 5px; margin: 0 auto 38px; padding: 5px; border-radius: 999px; background: #e7edf5; }
.toggle-pill { border: 0; border-radius: 999px; padding: 10px 20px; background: transparent; color: #687386; font: inherit; font-weight: 800; cursor: pointer; }
.toggle-pill.is-active { background: #fff; color: var(--sally-navy); box-shadow: 0 5px 15px rgba(0,23,68,.10); }
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; align-items: stretch; }
.pricing-card { position: relative; padding: 32px; border: 1px solid #dfe5ef; border-radius: 22px; background: #fff; box-shadow: 0 12px 30px rgba(0,23,68,.06); }
.pricing-card-highlight { border: 2px solid var(--sally-blue); box-shadow: 0 20px 48px rgba(0,102,255,.13); }
.pricing-badge { position: absolute; top: -13px; left: 24px; padding: 7px 12px; border-radius: 999px; background: var(--sally-blue); color: #fff; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.pricing-card h3 { margin: 0; color: var(--sally-navy); font-size: 27px; }
.pricing-tagline { margin: 7px 0 0; color: var(--sally-muted); }
.pricing-price { margin: 28px 0 9px; }
.pricing-price-value { color: var(--sally-navy); font-size: 48px; line-height: 1; font-weight: 900; letter-spacing: -.04em; }
.pricing-price-period { color: #768194; font-weight: 700; }
.pricing-price-saving { color: var(--sally-blue); font-size: 13px; font-weight: 800; }
.pricing-limit { color: var(--sally-blue); font-weight: 900; }
.pricing-card ul { padding-left: 19px; color: var(--sally-muted); line-height: 1.7; }
.pricing-card li { margin: 8px 0; }
.pricing-cta-wrapper { display: flex; justify-content: center; margin-top: 38px; }

/* FAQ */
.faq-shell { max-width: 940px; }
.faq-list { display: grid; gap: 13px; }
.faq-item {
  border: 1px solid var(--sally-navy);
  border-radius: 16px;
  background: var(--sally-navy);
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 22px 58px 22px 24px;
  background: var(--sally-navy);
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 23px;
  top: 50%;
  transform: translateY(-50%);
  color: #ffffff;
  font-size: 27px;
  font-weight: 500;
}
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 24px 24px; color: #c8d4e7; line-height: 1.72; }
.faq-answer p { margin: 0 0 15px; }
.faq-answer ul { padding-left: 22px; }
.faq-answer li { margin: 10px 0; }

/* FINAL */
.band-final { padding: 88px 0 28px; background: var(--sally-navy); color: #fff; }
.final-inner { display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; align-items: center; }
.band-final h2 { color: #fff; max-width: 650px; }
.band-final p { max-width: 650px; margin: 20px 0 0; color: rgba(255,255,255,.70); font-size: 18px; line-height: 1.65; }
.section-kicker-light { color: #8fc0ff; }
.final-actions { text-align: center; }
.final-actions > img { width: 220px; filter: brightness(0) invert(1); }
.final-actions > div { display: flex; justify-content: center; align-items: center; gap: 15px; margin-top: 24px; }
.final-login { color: #fff; font-weight: 800; text-decoration: none; }
.marketing-legal-links { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-top: 65px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.13); }
.marketing-legal-links a { color: rgba(255,255,255,.62); text-decoration: none; font-size: 13px; }
.marketing-legal-links a:hover { color: #fff; }

@media (max-width: 980px) {
  .hero {
    min-height: 0;
  }

  .hero-grid,
  .final-inner {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 55px;
  }

  .hero-demo {
    max-width: 720px;
  }

  .how-grid,
  .usecase-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .how-card {
    min-height: 0;
  }

  .final-actions {
    text-align: left;
  }

  .final-actions > div {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .marketing-shell {
    width: min(100% - 32px, 1160px);
  }

  .marketing-nav {
    padding-top: 16px;
  }

  .nav-login {
    min-height: 42px;
    padding: 0 20px;
    font-size: 14px;
  }

  .hero {
    padding: 104px 0 72px;
  }

  .hero-logo {
    width: min(360px, 92%);
    margin-bottom: 14px;
  }

  .hero-title {
    font-size: 28px;
    white-space: normal;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  .demo-browser {
    transform: none;
    border-radius: 16px;
  }

  .demo-stage {
    min-height: 350px;
    padding: 22px;
  }

  .demo-flow {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .demo-file {
    grid-row: 1;
  }

  .demo-arrow {
    grid-row: 2;
    width: 100%;
    transform: rotate(90deg);
  }

  .demo-match {
    grid-row: 3;
  }

  .demo-file,
  .demo-match {
    min-height: 110px;
  }

  .how-strip,
  .band {
    padding: 78px 0;
  }

  .section-heading h2,
  .band-final h2 {
    font-size: 40px;
  }

  .trust-card,
  .usecase-card,
  .pricing-card {
    padding: 25px;
  }

  .final-actions > img {
    width: 180px;
  }

  .final-actions > div {
    flex-direction: column;
    align-items: flex-start;
  }

  .marketing-legal-links {
    justify-content: flex-start;
    gap: 14px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
