/* Use the same cinematic forest scene as the main site, with room for the film. */
body.sonder-film-home .sv-cinematic.sb-film-hero {
  gap: 20px;
  padding-top: clamp(104px, 11vh, 142px);
  padding-bottom: 20px;
}
body.sonder-film-home .sv-cinematic.sb-film-hero .sv-hero-copy {
  max-width: 540px;
  padding-block: 20px 0;
}
.sb-film-hero .sb-home-kicker {
  display: inline-flex; align-items: center; gap: 8px; min-height: 34px;
  color: #efd5ff; font: 550 14px/1.4 var(--svs-body); text-decoration: none;
}
body.sonder-film-home .sv-cinematic.sb-film-hero h1 {
  margin: 12px 0 0; max-width: 15ch;
  font: 400 clamp(44px, 4.65vw, 68px)/1.01 var(--svs-display);
  letter-spacing: -.04em; color: #fff5e8;
}
body.sonder-film-home .sv-cinematic.sb-film-hero h1 em {
  font: italic 400 1.1em/.99 'Sonder Instrument', Georgia, serif;
  letter-spacing: -.035em; color: #eac7ff;
}
body.sonder-film-home .sv-cinematic.sb-film-hero .sv-hero-description {
  max-width: 42ch; margin-top: 19px;
  color: #fff5e9; font: 400 clamp(15px,1.17vw,18px)/1.5 var(--svs-body); text-wrap: pretty;
}
body.sonder-film-home .sv-cinematic.sb-film-hero .sv-hero-actions { margin-top: 21px; gap: 12px 16px; }
.sb-home-buy { display: flex; align-items: center; flex-wrap: wrap; }
.sb-home-primary, .sb-home-demo-link, .sb-home-project { display: inline-flex; align-items: center; text-decoration: none; }
.sb-home-primary { gap: 22px; padding: 12px 20px; min-height: 46px; border-radius: 40px; background: #e8caf4; color: #29122d; font: 620 16px/1.3 var(--svs-body); }
.sb-home-primary:hover { background: #f9e4ff; }
.sb-home-rate { font: 450 14px/1.4 var(--svs-body); color: #f9eee9; }
.sb-home-project { min-height: 44px; margin-top: 8px; gap: .4em; flex-wrap: wrap; font-size: 14px; color: #f3e6df; }
.sb-home-project strong { font-weight: 550; color: #fff5e8; text-decoration: underline; text-underline-offset: 3px; }
.sv-cinematic.sb-film-hero .sv-hero-foot.sb-home-foot { width: 100%; flex-direction: row; justify-content: space-between; align-items: end; padding: 0; }
.sb-home-demo-link { min-height: 44px; gap: 10px; color: #fff5e8; font-size: 14px; }
.sb-home-demo-link span { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid #fff5e87d; border-radius: 50%; }
@media (min-width: 701px) {
  .sv-products.sb-home-products .sv-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 1120px; margin-inline: auto; }
}
@media (max-width: 700px) {
  body.sv-page.sonder-film-home .sv-cinematic.sb-film-hero { padding: 78px 22px 12px; justify-content: flex-end; gap: 16px; min-height: 100svh; }
  body.sv-page.sonder-film-home .sv-cinematic.sb-film-hero .sv-hero-copy { width: 100%; max-width: none; margin-block: auto 0; padding: clamp(190px, 31svh, 325px) 0 0; }
  body.sv-page.sonder-film-home .sv-cinematic.sb-film-hero h1 { font-size: clamp(36px, 8.7vw, 53px); margin-top: 5px; }
  body.sv-page.sonder-film-home .sv-cinematic.sb-film-hero .sv-hero-description { margin-top: 12px; font-size: 15px; max-width: 39ch; }
  .sv-cinematic.sb-film-hero .sv-hero-foot.sb-home-foot { align-items: center; flex-wrap: wrap; gap: 5px 20px; }
  .sb-home-foot .swc-current { order: initial; padding-top: 0; }
  .sb-home-foot .swc-heading { margin: 0 0 3px; }
  .sb-home-foot .swc-project { height: 43px; }
  .sb-home-project, .sb-home-rate { font-size: 14px; }
  body.sv-page.sonder-film-home .sb-home-buy { display:flex; flex-direction:row; align-items:center; flex-wrap:wrap; gap:6px 12px; }
  .sb-home-primary { min-height: 44px; padding: 10px 16px; }
}
@media (max-width: 700px) and (max-height: 690px) {
  body.sv-page.sonder-film-home .sv-cinematic.sb-film-hero .sv-hero-copy { padding-top: 156px; }
}

/* The homepage already reserves the sticky header with scroll-padding. */
#snowball-at-work.sb-demo { scroll-margin-top: 0; }
@media (max-width: 380px) {
  #services .sv-ecosystem-close .sv-oval { max-width: 100%; padding-inline: 18px; gap: 10px; white-space: normal; }
}

/* Keep prices, outcomes and plan links together in reading and keyboard order. */
.sb-demo .sb-overview-head {
  align-items: end;
  gap: 18px 32px;
  margin-bottom: clamp(24px, 3.2vw, 46px);
}
.sb-overview-head p {
  max-width: 54ch;
  margin: 14px 0 0;
  font: 400 clamp(16px, 1.3vw, 19px)/1.5 var(--svs-body);
}
.sb-compare-link, .sb-package-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  color: inherit;
  font: 600 15px/1.35 var(--svs-body);
  text-decoration: none;
}
.sb-compare-link {
  padding: 10px 18px;
  border: 1px solid #493b4b65;
  border-radius: 30px;
}
.sb-demo .sb-packages {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(14px,1.6vw,24px);
}
.sb-package {
  --line: #233c3538;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(20px,2.1vw,33px);
  padding-bottom: 8px;
  color: #20362c;
  background: linear-gradient(135deg, #eff5e9, #e1eddb);
  border-radius: 22px;
  border: 1px solid var(--line);
}
.sb-package-growth {
  --line: #3e2c5135;
  color: #372744;
  background: linear-gradient(135deg, #f4edf9, #eae0f3);
}
.sb-package-agency {
  --line: #fff2fc40;
  color: #fff5fb;
  background: linear-gradient(135deg, #35243c, #231729);
}
.sb-package-head { padding-bottom: 19px; }
body.sv-page .sb-package-head h3 {
  margin: 0 0 8px;
  color: inherit;
  font: 400 clamp(24px,2.1vw,34px)/1.1 var(--svs-display);
  letter-spacing: -.035em;
}
.sb-package-head p { margin: 0; font: 400 14px/1.45 var(--svs-body); }
.sb-package-head strong { font-weight: 650; font-variant-numeric: tabular-nums; }
.sb-power-list { margin: 0; padding: 0; list-style: none; }
.sb-power {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(70px,37%);
  grid-template-areas: "title art" "body body";
  align-content: start;
  align-items: center;
  column-gap: 8px;
  padding-block: 14px 23px;
  border-top: 1px solid var(--line);
}
.sb-power > div:last-child { display: contents; }
.sb-power-art {
  grid-area: art;
  position: relative;
  height: clamp(76px,7.3vw,106px);
}
.sb-power-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
body.sv-page .sb-demo .sb-power h4 {
  grid-area: title;
  margin: 0;
  color: inherit;
  font: 600 clamp(18px,1.5vw,23px)/1.16 var(--svs-body);
  letter-spacing: -.025em;
}
.sb-power p {
  grid-area: body;
  margin: 4px 0 0;
  color: inherit;
  font: 400 16px/1.5 var(--svs-body);
}
.sb-package-link {
  width: 100%;
  margin-top: auto;
  padding-block: 13px;
  border-top: 1px solid var(--line);
}
.sb-package-link span { font-size: 20px; line-height: 1; }
.sb-package a:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; }
.sb-work-proof {
  margin-top: clamp(22px,3vw,40px);
  border-block: 1px solid #30203638;
}
.sb-work-proof > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 18px;
  min-height: 56px;
  font: 600 16px/1.5 var(--svs-body);
  cursor: pointer;
  list-style: none;
}
.sb-work-proof > summary::-webkit-details-marker { display: none; }
.sb-work-proof[open] > summary span { transform: rotate(180deg); }
.sb-demo .sb-proof-head { margin: 0 0 16px; }
.sb-work-proof .sb-demo-panel { margin-bottom: 20px; }
@media (min-width: 961px) {
  .sb-package { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
  .sb-power-list { display: grid; grid-row: span 2; grid-template-rows: subgrid; }
}
@media (hover: hover) {
  .sb-package-link:hover, .sb-compare-link:hover { text-decoration: underline; text-underline-offset: 4px; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .sb-power-art img { transition: transform .25s ease; }
  .sb-power:hover img { transform: translateY(-2px) rotate(-3deg); }
}
@media (max-width: 960px) {
  .sb-demo .sb-packages { grid-template-columns: 1fr; gap: 18px; }
  .sb-power-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 30px; }
  .sb-package { padding: 22px 24px 6px; }
  .sb-package-head { padding-bottom: 16px; }
}
@media (max-width: 720px) {
  .sb-demo .sb-overview-head { align-items: flex-start; gap: 16px; }
}
@media (max-width: 580px) {
  .sb-package { padding: 22px 18px 4px; }
  .sb-power-list { display: block; }
  .sb-power {
    grid-template-areas: "art title" "art body";
    grid-template-columns: clamp(58px,17vw,82px) minmax(0,1fr);
    align-items: start;
    column-gap: 12px;
    padding-block: 18px;
  }
  .sb-power-art { align-self: center; height: 74px; }
  .sb-power-art img { width: 124%; max-width: none; left: -12%; }
  .sb-power p { font-size: 15px; line-height: 1.47; margin-top: 5px; }
  .sb-package-link { min-height: 48px; }
  .sb-overview-head p { margin-top: 10px; }
}

.sb-power[id] { scroll-margin-block-start: 110px; }
.sb-power:target {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 9px;
}
.sb-package .sb-package-link {
  box-sizing: border-box;
  align-self: end;
  margin-bottom: 12px;
  padding: 8px 10px 8px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffc;
}
.sb-package-agency .sb-package-link { background: #ecfcb8; color: #273019; }
.sb-package-link span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: color-mix(in srgb,currentColor 10%,transparent);
}
@media (hover: hover) {
  .sb-package .sb-package-link:hover { border-color: currentColor; text-decoration: none; }
}
