/* Isolated overnight review: one photographic value story leads into planning. */
.reference-benefits {
  padding: clamp(70px, 8vw, 112px) 0 0;
}
.reference-benefits .wrap {
  width: min(1200px, calc(100% - var(--layout-gutter) * 2));
}
.benefits-heading {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: end;
  gap: clamp(28px, 5vw, 80px);
  max-width: none;
  margin: 0 0 clamp(42px, 5vw, 70px);
  text-align: right;
}
.benefits-heading h2 {
  font-size: clamp(43px, 5.4vw, 72px);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.benefits-heading p {
  max-width: 42ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.75;
  text-wrap: pretty;
}
.benefit-grid {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(38px, 6vw, 90px);
}
.benefit-card {
  min-width: 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}
.benefit-card:first-child {
  grid-column: 2;
  grid-row: 1 / 4;
  min-height: 690px;
  display: flex;
  align-items: end;
  overflow: hidden;
  border-radius: 3px;
  background: var(--panel);
}
.benefit-card:first-child .benefit-scene {
  position: absolute;
  inset: 0;
  height: auto;
  background-size: auto 200%;
  background-position: 0 0;
}
.benefit-card:first-child .benefit-scene::after {
  background: linear-gradient(180deg, transparent 35%, rgb(11 14 17 / 45%) 64%, rgb(11 14 17 / 95%) 100%);
}
.benefit-card:first-child .benefit-content {
  margin: 0;
  padding: 48px clamp(30px, 4vw, 60px) 48px;
  text-align: right;
}
.benefit-card:first-child h3 {
  max-width: 12ch;
  font-size: clamp(35px, 3.2vw, 48px);
  line-height: 1.13;
}
.benefit-card:first-child p {
  max-width: 40ch;
  margin-top: 20px;
  color: var(--paper);
  font-size: 17px;
  line-height: 1.75;
}
.benefit-icon { display: none; }
.benefit-card:not(:first-child) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px;
  align-items: center;
  gap: 22px;
  grid-column: 1;
  border-top: 1px solid var(--line);
}
.benefit-card:nth-child(2) { grid-row: 1; }
.benefit-card:nth-child(4) { grid-row: 2; }
.benefit-card:nth-child(3) { grid-row: 3; }
.benefit-card:not(:first-child) .benefit-scene {
  grid-column: 2;
  grid-row: 1;
  width: 86px;
  height: 86px;
  border-radius: 2px;
  background-size: 200% 200%;
}
.benefit-card:not(:first-child) .benefit-scene::after { display: none; }
.benefit-card:not(:first-child) .benefit-content {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  padding: 26px 0;
  text-align: right;
}
.benefit-card:not(:first-child) h3 {
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.3;
}
.benefit-card:not(:first-child) p {
  max-width: 38ch;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.68;
}
.benefit-card:nth-child(3) { border-bottom: 1px solid var(--line); }
.benefit-card:nth-child(3) h3 { color: var(--paper); }
.benefits-signoff { display: none; }
#planning.planning-proposal {
  border-top: 0;
  align-items: start;
  padding-block: clamp(72px, 7vw, 98px) 112px;
  gap: clamp(44px, 6vw, 90px);
}
#planning .proposal-copy h2 { font-size: clamp(39px, 4vw, 58px); }
#planning .proposal-label { color: var(--color-accent); }
@media (min-width: 821px) {
  #planning .proposal-demo { justify-self: stretch; }
  #planning .phone-device {
    width: min(100%, 350px);
    margin-inline-start: 0;
    margin-inline-end: auto;
  }
  #planning .demo-heading,
  #planning .demo-hint,
  #planning .phone-disclosure {
    width: min(100%, 350px);
    max-width: none;
    margin-inline-start: 0;
    margin-inline-end: auto;
  }
}
.proposal-action {
  transition: background .2s, border-color .2s, color .2s;
}
.proposal-action:is(:hover, :focus-visible) {
  background: var(--color-action);
  border-color: var(--color-action);
  color: var(--paper);
}
.proposal-action:focus-visible { outline: 2px solid var(--paper); outline-offset: 5px; }
@media (max-width: 900px) {
  .benefits-heading { display: block; }
  .benefits-heading p { margin-top: 18px; }
  .benefit-grid { grid-template-columns: 1fr 1fr; gap: 0 30px; }
  .benefit-card:first-child { min-height: 610px; }
  .benefit-card:not(:first-child) { grid-template-columns: minmax(0, 1fr) 68px; gap: 14px; }
  .benefit-card:not(:first-child) .benefit-scene { width: 68px; height: 68px; }
  .benefit-card:not(:first-child) h3 { font-size: 22px; }
  .benefit-card:not(:first-child) p { font-size: 14px; }
}
@media (max-width: 700px) {
  .reference-benefits { padding-top: 68px; }
  .benefits-heading { margin-bottom: 34px; }
  .benefits-heading h2 { font-size: clamp(40px, 10vw, 58px); }
  .benefits-heading p { font-size: 16px; }
  .benefit-grid { display: flex; flex-direction: column; gap: 0; }
  .benefit-card:first-child { min-height: 510px; margin-bottom: 12px; }
  .benefit-card:first-child .benefit-scene { background-size: auto 200%; }
  .benefit-card:first-child .benefit-content { padding: 36px 28px; }
  .benefit-card:first-child h3 { font-size: 37px; }
  .benefit-card:first-child p { font-size: 16px; }
  .benefit-card:not(:first-child) { min-height: 158px; grid-template-columns: minmax(0, 1fr) 72px; gap: 18px; }
  .benefit-card:not(:first-child) .benefit-scene { width: 72px; height: 72px; }
  .benefit-card:not(:first-child) h3 { font-size: 23px; }
  .benefit-card:not(:first-child) p { max-width: none; font-size: 15px; }
  #planning.planning-proposal { padding-block: 74px 82px; }
  #planning .proposal-copy h2 { font-size: 36px; }
}
@media (max-width: 390px) {
  .benefit-card:first-child { min-height: 540px; }
  .benefit-card:not(:first-child) { grid-template-columns: minmax(0, 1fr) 58px; gap: 12px; }
  .benefit-card:not(:first-child) .benefit-scene { width: 58px; height: 58px; }
  .benefit-card:not(:first-child) h3 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .proposal-action { transition: none; }
}
