.proposal-page {
  --proposal-ink: #0c2340;
  --proposal-soft: #f4f8ff;
  --proposal-green: #08a56a;
}

.proposal-page .quickbooks-hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(0, 106, 237, .18), transparent 34%),
    linear-gradient(145deg, #f8fbff 0%, #eef5ff 58%, #fff 100%);
}

.proposal-page .quickbooks-hero-copy h1 {
  max-width: 760px;
}

.proposal-page .quickbooks-hero-card {
  border-color: rgba(0, 106, 237, .14);
  box-shadow: 0 30px 80px rgba(0, 72, 170, .18);
}

.proposal-page .quickbooks-hero-card img {
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}

.proposal-answer {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.proposal-answer-card {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(0, 106, 237, .14);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 22px 58px rgba(15, 23, 42, .08);
}

.proposal-answer-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: clamp(22px, 3vw, 32px);
}

.proposal-answer-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.proposal-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.proposal-benefit-card {
  position: relative;
  min-height: 220px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(0, 106, 237, .11);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .06);
}

.proposal-benefit-card::after {
  position: absolute;
  right: -32px;
  bottom: -46px;
  width: 120px;
  height: 120px;
  border: 26px solid rgba(0, 106, 237, .05);
  border-radius: 50%;
  content: "";
}

.proposal-benefit-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #00a7e1);
  box-shadow: 0 12px 24px rgba(0, 106, 237, .2);
}

.proposal-benefit-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.proposal-benefit-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  color: var(--proposal-ink);
  font-size: 20px;
}

.proposal-benefit-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.proposal-flow-section {
  color: #fff;
  background:
    radial-gradient(circle at 80% 10%, rgba(0, 167, 225, .22), transparent 35%),
    linear-gradient(135deg, #021f49 0%, #064897 58%, #006aed 100%);
}

.proposal-flow-section .section-kicker,
.proposal-flow-section h2,
.proposal-flow-section .section-heading p {
  color: #fff;
}

.proposal-flow-section .section-heading p {
  opacity: .84;
}

.proposal-step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 34px;
}

.proposal-step {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 20px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px);
}

.proposal-step > span {
  display: inline-grid;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 50%;
  color: #064897;
  background: #fff;
  font-weight: 900;
}

.proposal-step h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 19px;
}

.proposal-step p {
  margin: 0;
  color: rgba(255, 255, 255, .8);
  line-height: 1.6;
}

.proposal-product-shot {
  margin: 0;
  overflow: hidden;
  border: 6px solid rgba(255, 255, 255, .92);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 78px rgba(0, 0, 0, .24);
}

.proposal-product-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.proposal-product-shot figcaption {
  padding: 14px 18px;
  color: #304866;
  background: #fff;
  font-size: 14px;
  text-align: center;
}

.proposal-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr);
  gap: 22px;
  align-items: stretch;
}

.proposal-showcase-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(0, 106, 237, .12);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 22px 58px rgba(15, 23, 42, .09);
}

.proposal-showcase-copy {
  padding: 24px 26px 20px;
}

.proposal-showcase-copy span {
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.proposal-showcase-copy h3 {
  margin: 8px 0 8px;
  color: var(--proposal-ink);
  font-size: 23px;
}

.proposal-showcase-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.proposal-showcase-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  margin-top: auto;
  object-fit: contain;
  object-position: center bottom;
  background: #f5f8fc;
}

.proposal-client-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
}

.proposal-client-card {
  padding: clamp(26px, 4vw, 42px);
  border-radius: 26px;
}

.proposal-client-card:first-child {
  color: #fff;
  background: linear-gradient(145deg, #006aed, #03438f);
  box-shadow: 0 24px 62px rgba(0, 82, 185, .2);
}

.proposal-client-card:first-child .section-kicker,
.proposal-client-card:first-child h2,
.proposal-client-card:first-child p {
  color: #fff;
}

.proposal-client-card:first-child p {
  opacity: .86;
}

.proposal-client-card:last-child {
  border: 1px solid rgba(8, 165, 106, .18);
  background: linear-gradient(145deg, #effcf7, #fff);
}

.proposal-check-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.proposal-check-list li {
  position: relative;
  padding-left: 30px;
  line-height: 1.55;
}

.proposal-check-list li::before {
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--proposal-green);
  content: "✓";
  font-size: 12px;
  font-weight: 900;
}

.proposal-client-card:first-child .proposal-check-list li::before {
  color: #04633f;
  background: #c5ffe8;
}

@media (max-width: 980px) {
  .proposal-answer,
  .proposal-showcase-grid,
  .proposal-client-grid {
    grid-template-columns: 1fr;
  }

  .proposal-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proposal-step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proposal-showcase-card img {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .proposal-benefit-grid,
  .proposal-step-grid {
    grid-template-columns: 1fr;
  }

  .proposal-benefit-card {
    min-height: 0;
  }

  .proposal-product-shot {
    border-width: 3px;
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .proposal-page * {
    scroll-behavior: auto;
  }
}
