/* Home (WRG-154), from the canvas board "Wix-style home page". */
.hero {
  position: relative;
  text-align: center;
  padding: 72px 0 0;
  overflow: hidden;
}
.glow {
  position: absolute;
  left: 50%;
  top: 180px;
  width: 1500px;
  height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, #fff2b8 0%, #fff7d6 45%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}
.hero h1 {
  position: relative;
  margin: 0 auto;
  max-width: 980px;
  font-weight: 400;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.hero .sub {
  position: relative;
  margin: 22px auto 28px;
  font-size: 18px;
  max-width: 640px;
}
.hero .pill {
  position: relative;
}
.hero .fine {
  position: relative;
  margin: 14px 0 0;
  font-size: 14px;
  color: #333;
}
.collage {
  position: relative;
  height: 560px;
  margin-top: 64px;
}
.bframe {
  position: absolute;
  left: 50%;
  top: 0;
  width: min(640px, 92vw);
  transform: translateX(-50%);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(60, 50, 10, 0.18);
  overflow: hidden;
  z-index: 2;
}
.bbar {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 10px 12px;
  background: #f3f3f3;
}
.bbar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cfcfcf;
}
.bbar span {
  margin-left: 10px;
  font-size: 11px;
  color: #555;
  background: #fff;
  border-radius: 6px;
  padding: 3px 10px;
}
.bframe .ms {
  aspect-ratio: auto;
  height: 470px;
}
.cl {
  position: absolute;
  left: 150px;
  top: 90px;
  width: 300px;
  transform: rotate(-5deg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}
.cr {
  position: absolute;
  right: 190px;
  top: 60px;
  width: 190px;
  background: #0b0f13;
  border-radius: 30px;
  padding: 9px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  transform: rotate(4deg);
  z-index: 3;
}
.cr .mp {
  height: 380px;
}
.chip {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  display: flex;
  gap: 10px;
  align-items: center;
  white-space: nowrap;
  z-index: 4;
}
.chip b {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2fa36b;
  display: block;
}
@media (max-width: 1100px) {
  .cl,
  .cr {
    display: none;
  }
}
@media (max-width: 720px) {
  .collage {
    height: 360px;
  }
  .bframe .ms {
    height: 300px;
  }
}

.sec {
  padding: 120px 0;
}
.split {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.split h2 {
  margin: 0;
  font-weight: 400;
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 620px;
}
.split h2.small {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: 260px;
}
.split .r {
  max-width: 380px;
  font-size: 17px;
  line-height: 1.45;
}
.split .r p {
  margin: 0 0 22px;
}
.split .r .row {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}

.feat {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  gap: 92px;
  margin-top: 84px;
  align-items: start;
}
@media (max-width: 960px) {
  .feat {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
}
.fimg {
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #e9f3f6, #fff6d6);
  padding: 34px 0 0 34px;
  height: 400px;
  position: relative;
}
.fpane {
  height: 100%;
}
.fpane[hidden] {
  display: none;
}
.fimg .inner {
  border-radius: 10px 0 0 0;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
  height: 100%;
}
.fimg .inner .ms {
  aspect-ratio: auto;
  height: 100%;
  width: 640px;
}
.fimg .phone {
  position: absolute;
  left: 110px;
  top: 34px;
  width: 180px;
  height: 360px;
  border-radius: 28px;
  background: #0b0f13;
  padding: 8px;
}
.fimg .phone .mp {
  border-radius: 21px;
}
.qcard {
  position: absolute;
  right: 24px;
  bottom: 24px;
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  font-size: 13px;
  width: 210px;
}
.qcard b {
  display: block;
  font-size: 20px;
  margin-top: 4px;
}
.qcard small {
  color: #555;
}
/* on a phone the panel is about 340px wide: the mock site fills it, so its container-unit words
   scale down with it and the whole hero shows; the phone frame and the price card shrink to fit
   (WRG-322) */
@media (max-width: 720px) {
  .fimg {
    height: 280px;
    padding: 22px 0 0 22px;
  }
  .fimg .inner .ms {
    width: 100%;
  }
  .fimg .phone {
    left: 50%;
    top: 22px;
    transform: translateX(-50%) scale(0.7);
    transform-origin: top center;
  }
  .qcard {
    right: 12px;
    bottom: 12px;
    width: 172px;
    padding: 10px 12px;
    font-size: 12px;
  }
  .qcard b {
    font-size: 17px;
    margin-top: 2px;
  }
}
.flist {
  display: flex;
  flex-direction: column;
}
.fi {
  border: 0;
  background: none;
  font: inherit;
  text-align: left;
  padding: 0;
  cursor: pointer;
  color: inherit;
  width: 100%;
}
.fi .rule {
  height: 1px;
  background: #bdbdbd;
  width: 40px;
  transition: width 0.3s;
}
.fi[aria-expanded='true'] .rule {
  width: 100%;
  background: #111;
}
.fi h3 {
  margin: 0;
  padding: 24px 0;
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 12px;
}
.fi[aria-expanded='false'] h3 {
  color: #767676;
  font-size: 20px;
  padding: 18px 0;
}
.tag {
  font-size: 12px;
  letter-spacing: 0.02em;
  background: #fff1b8;
  color: #111;
  border-radius: 999px;
  padding: 4px 10px;
}
.fdesc {
  font-size: 17px;
  line-height: 1.5;
  max-width: 470px;
  margin: -6px 0 26px;
}
.fdesc[hidden] {
  display: none;
}

/* the template reel (WRG-166). Still by default: the five houses in a row, which is what a visitor
   with reduced motion or without script sees. site.js adds .is-live, and with it the fan that drifts
   and jumps to the next house every 3 seconds, only when motion is allowed, and shows the pause
   button that WCAG 2.2.2 asks of anything that moves for more than five seconds. */
.fan {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 56px;
}
.fan .c {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.14);
  background: #fff;
  text-decoration: none;
}
@media (max-width: 900px) {
  .fan {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(72%, 300px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
  }
  .fan .c {
    scroll-snap-align: center;
  }
}
.fan.is-live {
  display: block;
  position: relative;
  height: 440px;
  margin-top: 70px;
  padding-bottom: 0;
  perspective: 1600px;
  overflow: hidden;
}
.fan.is-live .c {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 560px;
  margin-top: -175px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
  animation: fanmove 15s linear infinite;
  will-change: transform;
}
.fan.is-live:hover .c,
.fan.is-live:focus-within .c,
.fan.is-paused .c {
  animation-play-state: paused;
}
.fan.is-live .c:nth-child(1) {
  animation-delay: -12s;
}
.fan.is-live .c:nth-child(2) {
  animation-delay: -9s;
}
.fan.is-live .c:nth-child(3) {
  animation-delay: -6s;
}
.fan.is-live .c:nth-child(4) {
  animation-delay: -3s;
}
.fan.is-live .c:nth-child(5) {
  animation-delay: 0s;
}
.fanctl {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}
@keyframes fanmove {
  0% {
    transform: translateX(130px) rotateY(-28deg) scale(0.54);
    z-index: 1;
    opacity: 1;
    animation-timing-function: linear;
  }
  16% {
    transform: translateX(100px) rotateY(-28deg) scale(0.54);
    z-index: 1;
    opacity: 1;
    animation-timing-function: ease-in-out;
  }
  20% {
    transform: translateX(-10px) rotateY(-20deg) scale(0.59);
    z-index: 2;
    opacity: 1;
    animation-timing-function: linear;
  }
  36% {
    transform: translateX(-40px) rotateY(-20deg) scale(0.59);
    z-index: 2;
    opacity: 1;
    animation-timing-function: ease-in-out;
  }
  40% {
    transform: translateX(-250px) rotateY(0deg) scale(1);
    z-index: 5;
    opacity: 1;
    animation-timing-function: linear;
  }
  56% {
    transform: translateX(-310px) rotateY(0deg) scale(1);
    z-index: 5;
    opacity: 1;
    animation-timing-function: ease-in-out;
  }
  60% {
    transform: translateX(-505px) rotateY(20deg) scale(0.59);
    z-index: 2;
    opacity: 1;
    animation-timing-function: linear;
  }
  76% {
    transform: translateX(-535px) rotateY(20deg) scale(0.59);
    z-index: 2;
    opacity: 1;
    animation-timing-function: ease-in-out;
  }
  80% {
    transform: translateX(-660px) rotateY(28deg) scale(0.54);
    z-index: 1;
    opacity: 1;
    animation-timing-function: linear;
  }
  94% {
    transform: translateX(-690px) rotateY(28deg) scale(0.54);
    z-index: 1;
    opacity: 1;
  }
  96% {
    transform: translateX(-700px) rotateY(28deg) scale(0.54);
    z-index: 0;
    opacity: 0;
  }
  97% {
    transform: translateX(130px) rotateY(-28deg) scale(0.54);
    z-index: 0;
    opacity: 0;
  }
  100% {
    transform: translateX(130px) rotateY(-28deg) scale(0.54);
    z-index: 1;
    opacity: 1;
  }
}
@media (max-width: 720px) {
  .fan.is-live {
    height: 260px;
  }
  .fan.is-live .c {
    width: 320px;
    margin-top: -100px;
  }
}
.tabs {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 40px;
  font-size: 16px;
  flex-wrap: wrap;
}
.tabs a {
  padding-bottom: 8px;
  color: #555;
  text-decoration: none;
}
.tabs a:hover {
  color: #111;
  border-bottom: 2px solid #111;
}
.allrow {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.steps {
  max-width: 720px;
  margin: 70px 0 0 auto;
}
.st {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 180px;
  gap: 24px;
  align-items: start;
}
@media (max-width: 640px) {
  .st {
    grid-template-columns: 50px minmax(0, 1fr);
  }
  .st .th {
    display: none;
  }
}
.st > em {
  font-style: normal;
  font-size: 15px;
  color: #767676;
}
.st > div > h3 {
  margin: 0 0 8px;
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.02em;
}
.st > div > p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
}
.st .th {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Tap targets (WRG-185): the template tabs were 28px tall. */
.tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-bottom: 0;
}
