/* Landing page sections. Tokens, type, buttons, wordmark, placeholders and the
   footer come from sprout-theme.css, which must load first.

   Built from design_handoff_asset/pages/Sprout Landing.dc.html. */

/* ---------- hero ---------- */

.hero {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 72px var(--band-x) 56px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 560px;
}

.hero-lead { max-width: 50ch; }
.hero-lead strong { color: var(--dark); }

.hero-cta {
  display: grid;
  grid-template-columns: auto auto;
  gap: 10px;
  align-items: stretch;
  justify-content: start;
}

@media (max-width: 560px) {
  .hero-cta { grid-template-columns: 1fr; }
}

.hero-more { align-self: flex-start; }

/* ---------- sign-up / login card ---------- */

.auth {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--border-medium);
  box-shadow: 0 18px 44px rgba(46, 51, 37, 0.10);
  padding: 34px 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 460px;
  width: 100%;
  justify-self: end;
}

@media (max-width: 900px) {
  .auth { justify-self: start; }
}

.auth-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.auth-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--sage);
  text-align: center;
}

.auth-lead { font-size: 16px; color: var(--body-muted); line-height: 1.5; }

.auth-quick { display: flex; flex-direction: column; gap: 10px; }

.auth-quick-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--label-muted);
  text-align: center;
}

.auth-idp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }

.idp {
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1.5px solid var(--border-strong);
  background: #FFFFFF;
  color: var(--dark);
  padding: 11px 8px;
  font-size: 15px;
  font-weight: 600;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.idp:hover { border-color: var(--sage); background: var(--cream); }
.idp svg { flex: none; display: block; }

.ms-tiles {
  flex: none;
  display: grid;
  grid-template-columns: 9px 9px;
  grid-template-rows: 9px 9px;
  gap: 1px;
}

.auth-or { display: flex; align-items: center; gap: 12px; }
.auth-or span:first-child,
.auth-or span:last-child { flex: 1; height: 1px; background: var(--border-medium); }
.auth-or span:nth-child(2) {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--label-muted);
}

.auth-fields { display: flex; flex-direction: column; gap: 14px; }

.field {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.field > span:first-child {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  text-align: right;
}

.field-note {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.field-note > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

@media (max-width: 420px) {
  .field, .field-note { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .field > span:first-child { text-align: left; }
  .field-note > span:first-child { display: none; }
}

.auth input[type="email"],
.auth input[type="password"],
.auth input[type="text"] {
  border: 1.5px solid var(--border-strong);
  background: #FFFFFF;
  outline: none;
  font-family: inherit;
  font-size: 17px;
  color: var(--dark);
  padding: 11px 12px;
  width: 100%;
  border-radius: 0;
}

.auth input:focus { border-color: var(--sage); }

.auth input.mismatch { border-color: var(--red); }

.check {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  color: var(--dark);
  cursor: pointer;
}

.check input { width: 17px; height: 17px; accent-color: var(--sage); cursor: pointer; }

.check-centered { justify-content: center; padding-top: 2px; }

.pw-note { font-size: 14px; color: var(--label-muted); }
.pw-note.bad { color: var(--red); }
.pw-note.good { color: var(--sage); }

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding-top: 4px;
}

/* Anchors now, not buttons: they hand off to WorkOS rather than submitting
   anything. Both declarations below are what an <a> needs and a <button>
   never did - without them the two sit on the text baseline with an
   underline through them. */
.btn-login,
.btn-signup {
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  padding: 12px 30px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1.5px solid var(--sage);
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.btn-login { background: var(--cream); color: var(--sage); }
.btn-login:hover { background: #E9EEE2; }

.btn-signup { background: var(--sage); color: var(--cream); }
.btn-signup:hover { background: var(--dark); border-color: var(--dark); }

.btn-signup-wide {
  align-self: flex-end;
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: var(--sage);
  color: var(--cream);
  padding: 13px 30px;
  font-size: 17px;
  font-weight: 700;
  transition: background-color 0.18s ease;
}
.btn-signup-wide:hover { background: var(--dark); }

.auth-forgot { text-align: center; font-size: 15px; font-weight: 700; }

.auth-done { display: flex; flex-direction: column; gap: 16px; }

.auth-done-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #E9EEE2;
  border-left: 4px solid var(--sage);
  padding: 18px 20px;
}

.auth-done-tick {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.auth-done-text { display: flex; flex-direction: column; gap: 3px; }

.auth-done-title { font-size: 17px; font-weight: 700; color: var(--dark); }
.auth-done-body { font-size: 15px; color: var(--body-muted); line-height: 1.45; }

.auth-done-cta {
  text-align: center;
  background: var(--sage);
  color: var(--cream);
  padding: 15px 22px;
  font-size: 17px;
  font-weight: 700;
}
.auth-done-cta:hover { background: var(--dark); color: var(--cream); text-decoration: none; }

.auth-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 14px;
  color: var(--label-muted);
  padding-top: 18px;
  border-top: 1px solid var(--border-medium);
}

/* ---------- demo ---------- */

.demo {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 24px var(--band-x) var(--band-y);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.demo-head { max-width: 640px; }

.demo-head .band-lead { font-size: 18px; }

.demo-frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.demo-frame .placeholder-tag { position: absolute; left: 20px; bottom: 20px; }

/* ---------- full-bleed bands ---------- */

.band-dark {
  color: var(--on-dark);
  background: var(--dark) url("/assets/img/landing/field-group.jpg") center 35% / cover no-repeat;
}

.band-dark > .scrim {
  background: linear-gradient(180deg, rgba(46, 51, 37, 0.86) 0%, rgba(46, 51, 37, 0.92) 100%);
}

.band-dark .eyebrow { color: var(--on-dark); }
.band-dark .h2 { color: var(--cream); }
.band-dark .band-lead { color: var(--on-dark-muted); }

.band-sage {
  color: var(--cream);
  background: var(--sage-light) url("/assets/img/landing/field.jpg") center 60% / cover no-repeat;
}

.band-sage > .scrim {
  background: linear-gradient(90deg, rgba(95, 109, 71, 0.94) 0%, rgba(95, 109, 71, 0.80) 60%, rgba(95, 109, 71, 0.55) 100%);
}

/* ---------- how it works ---------- */

.start-inner { display: flex; flex-direction: column; gap: 44px; }

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
}

.steps-line {
  position: absolute;
  left: 11px;
  right: calc(20% - 11px);
  top: 11px;
  height: 1px;
  background: rgba(241, 230, 211, 0.28);
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0 24px 0 0;
}

.step-dot {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--dark);
  border: 2px solid var(--on-dark);
  display: block;
}

.step-n {
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 500;
  color: var(--on-dark);
  line-height: 0.9;
  letter-spacing: -0.03em;
  opacity: 0.9;
}

.step-body { display: flex; flex-direction: column; gap: 6px; }

.step-when {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.step-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.15;
}

.step-text { font-size: 15px; color: var(--on-dark-soft); line-height: 1.5; }

@media (max-width: 1000px) {
  .steps { grid-template-columns: minmax(0, 1fr); max-width: 560px; row-gap: 36px; }
  .steps-line { display: none; }
  .step { flex-direction: row; align-items: flex-start; gap: 20px; padding: 0; }
  .step-dot { display: none; }
  .step-n { font-size: 44px; min-width: 44px; }
}

/* ---------- what you get ---------- */

.features { display: flex; flex-direction: column; gap: 40px; }

.feature {
  border: 1px solid var(--border-medium);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--cream);
  transition: border-color 0.18s ease;
}

.feature:hover { border-color: var(--sage); }

.feature-shot {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  display: flex;
  align-items: flex-end;
  padding: 10px;
}

.feature-shot span {
  font-size: 12px;
  color: var(--body-muted);
  background: rgba(251, 247, 239, 0.9);
  padding: 4px 8px;
}

.feature p { font-size: 15px; color: var(--body-muted); line-height: 1.5; }

/* ---------- pledge ---------- */

.pledge { align-items: stretch; }

.pledge-photo {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  min-height: 420px;
  padding: 28px;
  border-radius: 16px;
  color: var(--cream);
  background: linear-gradient(180deg, rgba(46, 51, 37, 0.05) 20%, rgba(46, 51, 37, 0.88) 100%),
              url("/assets/img/landing/team-talk.jpg") center / cover no-repeat;
}

.pledge-photo .eyebrow { color: #FBF5EA; }
.pledge-photo .h2 { color: var(--cream); }
.pledge-photo .band-lead { color: var(--cream-deep); }

.pledge-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 0;
}

.pledge-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  padding: 26px 0;
  border-top: 1px solid var(--border-medium);
}

.pledge-n {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--sage);
  letter-spacing: 0.08em;
}

.pledge-text { display: flex; flex-direction: column; gap: 6px; }

.pledge-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.pledge-body { font-size: 16px; color: var(--body-muted); line-height: 1.55; }

@media (max-width: 560px) {
  .pledge-item { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}

/* ---------- pricing ---------- */

.pricing { background: var(--cream-deep); border-top: 1px solid var(--border-medium); }

.pricing-inner { display: flex; flex-direction: column; gap: 40px; }

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: minmax(0, 1fr); }
}

.plan-free {
  position: relative;
  background: var(--dark);
  color: var(--cream);
  padding: 44px 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  overflow: hidden;
}

.plan-head { display: flex; flex-direction: column; gap: 10px; }

.plan-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.plan-flag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--sage);
  color: var(--cream);
  padding: 5px 11px;
}

.plan-price { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }

.plan-price-big {
  font-family: var(--serif);
  font-size: clamp(88px, 10vw, 136px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--cream-deep);
}

.plan-price-word {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  color: var(--cream-deep);
  line-height: 1;
}

.plan-free p {
  font-size: 18px;
  color: var(--on-dark-soft);
  max-width: 44ch;
  text-wrap: pretty;
  margin-top: 6px;
}

.plan-items {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px 28px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--cream-deep);
}

.plan-items li {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
}

.plan-items li > span:first-child {
  width: 8px;
  height: 8px;
  background: var(--sage-light);
  display: inline-block;
  position: relative;
  top: -1px;
}

.plan-free-cta { align-self: flex-start; }

.plan-plus {
  background: var(--cream);
  color: var(--dark);
  border: 1px solid var(--border-medium);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.plan-plus-head { display: flex; flex-direction: column; gap: 8px; }

.plan-plus .plan-name { color: var(--sage); }

.plan-plus-price {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
}

.plan-plus-price span {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--label-muted);
  margin-left: 6px;
}

.plan-plus-note { font-size: 15px; color: var(--body-muted); line-height: 1.5; }

.plan-plus .plan-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  color: var(--dark);
}

.plan-plus-cta {
  margin-top: auto;
  text-align: center;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid var(--border-strong);
  color: var(--sage);
  transition: border-color 0.18s ease;
}
.plan-plus-cta:hover { border-color: var(--sage); text-decoration: none; }

.pricing-fineprint { font-size: 14px; color: var(--body-muted); max-width: 72ch; }

/* ---------- faq ---------- */

.faq { align-items: start; }

.faq-head { display: flex; flex-direction: column; gap: 12px; max-width: 420px; }

.faq-head p { font-size: 16px; color: var(--body-muted); margin-top: 8px; }

.faq-head a { font-weight: 600; }

.faq-head .btn-outline { align-self: flex-start; margin-top: 6px; }

.faq-list { display: flex; flex-direction: column; }

.faq-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-medium);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-q {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.3;
}

.faq-a { font-size: 16px; color: var(--body-muted); line-height: 1.55; text-wrap: pretty; }

/* ---------- final cta ---------- */

.final-inner {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}

.final-inner .h2 {
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 18ch;
  color: var(--cream);
}

.final-inner p {
  font-size: 19px;
  color: var(--cream-deep);
  max-width: 48ch;
  text-wrap: pretty;
}

/* ---------- more from sprout ---------- */

.more { background: var(--cream-deep); border-top: 1px solid var(--border-medium); }

.more-inner {
  padding-top: 56px;
  padding-bottom: 56px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.more-inner .h2 { font-size: clamp(26px, 3vw, 34px); }

.more-card {
  background: var(--cream);
  border: 1px solid var(--border-medium);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--dark);
  transition: border-color 0.18s ease;
}

.more-card:hover { border-color: var(--sage); color: var(--dark); text-decoration: none; }

.more-title {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.2;
}

.more-body { font-size: 15px; color: var(--body-muted); line-height: 1.5; }

.more-cta { font-size: 15px; font-weight: 600; color: var(--sage); margin-top: 6px; }

/* ---------- narrow phones ---------- */

/* The design's 44px plan padding and its nowrap buttons do not fit a 320px
   viewport; give that width back and let those two labels wrap. */
@media (max-width: 560px) {
  .auth { padding: 26px 22px 22px; }
  /* the two uppercase labels do not fit a phone side by side; full-width
     stacked buttons read as deliberate and are easier to hit */
  .auth-actions { flex-direction: column; }
  .btn-login, .btn-signup { width: 100%; }
  .plan-free { padding: 28px 24px 26px; }
  .plan-free-cta,
  .btn-on-sage { white-space: normal; }
}
