/* The four services pages and the Swoop OS page. Built on v4.css: everything here starts sv- or sits inside .sv, and no rule resizes a shared heading, card or button.
   Parts v4.css does not have: service sections, the what-you-get list, questions, the modules grid, pillars, the tools table and the phone folds. */

/* one service */
.sv-services__in{display:grid;gap:var(--v-sec)}
.sv-service{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:72px;align-items:center}
.sv-service--flip .sv-pic{order:2}
.sv-pic{margin:0;border-radius:28px;overflow:hidden;aspect-ratio:4/3;background:var(--v-surface)}
.sv-pic img{display:block;width:100%;height:100%;object-fit:cover}
.sv-get{width:100%;display:flex;flex-direction:column;gap:12px;margin-top:4px}
.sv-get__h{margin:0;font-size:15px;line-height:22px;font-weight:500;color:var(--v-muted)}
.sv-list{margin:0;padding:0;list-style:none;border-bottom:1px solid var(--v-line)}
.sv-list li{position:relative;padding:14px 0 14px 28px;border-top:1px solid var(--v-line);font-size:16px;line-height:24px;color:var(--v-ink2)}
.sv-list li::before{content:"";position:absolute;left:0;top:22px;width:8px;height:8px;border-radius:50%;background:var(--v-gold)}

/* how we work: four steps */
.sv-steps{grid-template-columns:repeat(4,minmax(0,1fr))}
.sv-steps .v-stage__title,.sv-steps .v-text{margin:0}

/* questions */
.sv-qa{border-bottom:1px solid var(--v-line)}
.sv-qa details{border-top:1px solid var(--v-line)}
.sv-qa summary,.sv-fold__btn,.sv-tool__toggle{display:flex;align-items:center;justify-content:space-between;gap:24px;cursor:pointer;list-style:none}
.sv-qa summary{min-height:72px;padding:16px 0;font-size:20px;line-height:28px;font-weight:600;letter-spacing:-.01em}
.sv-qa summary::-webkit-details-marker{display:none}
.sv-qa summary::after,.sv-fold__btn::after,.sv-tool__toggle::after{content:"+";box-sizing:border-box;flex:0 0 auto;width:36px;height:36px;border-radius:999px;border:1.5px solid rgba(247,244,238,.35);display:flex;align-items:center;justify-content:center;font-size:22px;line-height:1;font-weight:400;transition:background-color .2s,border-color .2s,color .2s}
.sv-qa details[open] summary::after,[aria-expanded=true]::after{content:"\2212"}
.sv-qa p{margin:0 0 24px;max-width:640px}

/* the demo data caption under a Swoop OS screenshot */

/* Swoop OS */
.sv-pillars{border-bottom:1px solid var(--v-line)}
.sv-pillar{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:24px 80px;padding:48px 0;border-top:1px solid var(--v-line)}
.sv-pillar .v-h3{text-wrap:balance}
.sv-pillar__body{display:flex;flex-direction:column;gap:28px}
.sv-pillar__body .v-text{max-width:640px}
.sv-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 32px;margin:0;padding:0;list-style:none}
.sv-item{gap:0}
.sv-item__name{font-size:17px;line-height:26px;font-weight:600}
.sv-item__text{padding:4px 0 28px;font-size:15px;line-height:24px;color:var(--v-ink2)}
@supports (grid-template-rows:subgrid){
  .v-even>.v-card,.v-even>.v-stage{display:grid;grid-template-rows:subgrid;grid-row:span var(--v-parts,2);align-content:start;gap:12px 0}
}
.sv-note{margin:32px 0 0;max-width:720px}
.sv-peeks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:0 0 12px;padding:0;list-style:none}
.sv-peeks__note{margin:0 0 56px}
.sv-peek{display:flex;flex-direction:column;height:100%;border-radius:20px;overflow:hidden;background:var(--v-surface);border:1px solid var(--v-line)}
.sv-peek__img{display:block;width:100%;height:auto;border-bottom:1px solid var(--v-line)}
.sv-peek__row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 24px;flex:1}
.sv-peek__copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.sv-peek__name{font-size:20px;line-height:28px;font-weight:600;letter-spacing:-.01em}
.sv-peek__text{font-size:16px;line-height:24px;color:var(--v-ink2)}
.sv-modules{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 32px;margin:0;padding:0;list-style:none}
.sv-module{gap:0;border-top:1px solid var(--v-line2)}
.sv-module__group{margin:0;padding-top:24px;font-size:15px;line-height:22px;font-weight:500;color:var(--v-muted)}
.sv-module__name{margin:0;padding-top:6px;font-size:22px;line-height:28px;font-weight:600;letter-spacing:-.01em}
.sv-module__text{margin:0;padding:6px 0 36px;font-size:16px;line-height:24px;color:var(--v-ink2)}
.sv-toolbox__head,.sv-tool{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,5fr) minmax(0,4fr);gap:0 40px;align-items:start}
.sv-toolbox__head{margin:0 0 16px;font-size:15px;line-height:22px;font-weight:500;color:var(--v-muted)}
.sv-tools{margin:0;padding:0;list-style:none;border-bottom:1px solid var(--v-line2)}
.sv-tool{padding:28px 0;border-top:1px solid var(--v-line2)}
.sv-tool__name{margin:0;font-size:22px;line-height:28px;font-weight:600;letter-spacing:-.01em}
.sv-tool__toggle{appearance:none;justify-content:flex-start;padding:0;border:0;background:none;color:inherit;font:inherit;letter-spacing:inherit;text-align:left;cursor:default}
.sv-tool__toggle::after,.sv-fold__btn{display:none}
.sv-tool__cell{display:flex;flex-direction:column;gap:8px;min-width:0}
.sv-tool__label{display:none;font-size:15px;line-height:22px;font-weight:500;color:var(--v-muted)}
.sv-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.sv-chip{display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border-radius:999px;border:1px solid var(--v-line2);font-size:14px;line-height:20px;color:var(--v-ink)}
.sv-tool__planned,.sv-tool__none{margin:0;font-size:15px;line-height:24px;color:var(--v-muted)}
.sv-tool__planned{color:var(--v-ink2)}

/* links to the other service pages: the shared tile on a phone, and on wider screens its parts held to the same lines from the top */
@media (min-width:761px){
  .sv-more .v-tile{align-items:flex-start;aspect-ratio:16/10}
  .sv-more .v-tile__shade{background:linear-gradient(180deg,rgba(11,15,21,.6) 0%,rgba(11,15,21,.82) 100%)}
  .sv-more .v-tile__copy{padding:28px 88px 28px 28px}
  .sv-more .v-tile__title{min-height:76px}
  .sv-more .v-tile__text{min-height:104px}
  .sv-more .v-tile .v-go{top:28px;right:28px;bottom:auto}
}
.sv-focus-c{object-position:50% 50%}

@media (hover:hover){
  .sv-peek:hover .v-go,.sv-qa summary:hover::after{background:var(--v-gold);border-color:var(--v-gold);color:var(--v-on-gold)}
}

@media (min-width:1040px) and (max-width:1279px){
  .sv-more .v-tile__title{min-height:114px}
}

@media (min-width:761px) and (max-width:1039px){
  .sv-more{grid-template-columns:minmax(0,1fr)}
  .sv-more .v-tile{aspect-ratio:16/7}
  .sv-more .v-tile__title,.sv-more .v-tile__text{min-height:0}
}

@media (max-width:1039px){
  .sv-service{grid-template-columns:minmax(0,1fr);gap:32px}
  .sv-service--flip .sv-pic{order:0}
  .sv-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sv-pillar{grid-template-columns:minmax(0,1fr);gap:16px;padding:36px 0}
  .sv-peeks{display:flex;gap:16px;margin-inline:calc(-1 * var(--v-gut));padding-inline:var(--v-gut);overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:var(--v-gut);scrollbar-width:none}
  .sv-peeks::-webkit-scrollbar{display:none}
  .sv-peeks li{flex:0 0 min(60vw,520px);scroll-snap-align:start}
  .sv-modules{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:760px){
  .sv-focus-r{object-position:88% 50%}
  /* rule 12: a wide phone would fit one service name on a single line and one summary on two, so both keep the measure of a 390 phone */
  .sv-more .v-tile__title{max-width:280px}
  .sv-more .v-tile__text{max-width:300px}
  .sv-pic{border-radius:20px;aspect-ratio:16/11}
  .sv-list li{padding-left:24px}
  .sv-steps{grid-template-columns:minmax(0,1fr)}
  .sv-qa summary{font-size:18px;line-height:26px}
  .sv-peeks{margin-bottom:12px}
  .sv-peeks__note{margin-bottom:40px}
  .sv-peeks li{flex-basis:82vw}
  .sv-peek__row{padding:16px 20px}
  .sv-items{grid-template-columns:minmax(0,1fr)}
  .sv-modules{grid-template-columns:minmax(0,1fr)}
  .sv-module__text{padding-bottom:28px}
  .sv-toolbox__head{display:none}
  .sv-tool{grid-template-columns:minmax(0,1fr);gap:16px;padding:8px 0}
  .sv-tool__label{display:block}
  .sv-tool__toggle,.sv-fold__btn{display:flex;width:100%;min-height:56px;justify-content:space-between;cursor:pointer}
  .sv-tool__toggle::after,.sv-fold__btn{display:flex}
  .sv-fold__btn{padding:0;border:0;border-top:1px solid var(--v-line);background:none;color:inherit;font:600 16px/24px var(--v-font);text-align:left}
  [data-fold][data-open=false] .sv-fold__body{display:none}
}
