html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

*,
html {
  scroll-behavior: smooth !important;
}

/* config vars */

:root {
  --container-width: 1240px;
  --container-width-M: 96%;

  --section-distance: 160px;

  --all-white: #fff;
  --gray-100: #f9f7f6; /* updated */
  --gray-150: #f2f2ee; /* updated */
  --gray-200: #ededed; /* updated */
  --gray-250: #d7d4d0; /* updated */
  --gray-300: #bfcabf; /* updated */
  --gray-350: #6f6f6f;
  --gray-400: #525350; /* updated */
  --gray-500: #40433e;

  --gray-900: #262626; /* updated */

  --red: #ea4848;

  --highlight: #e5ebc8;
  --primary: #164f45;
  --secondary: #269984;

  --font-primary: "BDO Grotesk", sans-serif;
}

@media screen and (max-width: 1260px) {
  :root {
    --container-width: 96%;
    --section-distance: 120px;
  }
}

@media screen and (max-width: 990px) {
  :root {
    --container-width: 90%;
    --section-distance: 100px;
  }
}

@media screen and (max-width: 770px) {
  :root {
    --section-distance: 60px;
  }
}

html,
body {
  height: 100%;
}

body {
  background-color: var(--gray-150);
  font-family: var(--font-primary);
  color: var(--gray-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
  font-size: 16px;
}

a {
  color: var(--secondary);
  text-decoration: none;
}

a:hover {
  color: var(--primary);
}

body * {
  box-sizing: border-box;
  transition: 0.3s all linear;
}

section.hero {
  width: 100%;
  /*background-image: url("img/hero-bg.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover; */
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.hero header {
  position: fixed;
  width: 100%;
  z-index: 7;
  transition: ease-in-out 0.3s all;
  top: 0;
}

.hero header .header-inner {
  width: var(--container-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  align-items: center;
}

.hero header .logo img {
  width: 120px;
}

.hero header nav a {
  color: var(--all-white);
  font-size: 14px;
  display: inline-block;
  margin: 0 0 0 24px;
  padding: 8px 12px;
  border-radius: 4px;
}

.hero header.active,
.hero header.wbg {
  background-color: rgba(250, 250, 249, 0.85);
  /*background-color: rgba(0, 0, 0, 0.65); */
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.hero header.wbg .header-inner {
  padding: 12px 0;
}

.hero header.wbg .logo img,
.hero header.active .logo img {
  filter: invert();
}

.hero header.wbg nav a:not(.btn-primary),
.hero header.active nav a:not(.btn-primary) {
  color: var(--gray-900);
}

.hero header nav a:not(.btn-primary):hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.hero header.wbg nav a:not(.btn-primary):hover {
  background-color: rgb(242, 237, 237);
}

.hero header .mobile-nav {
  display: none;
}

.hero header .menu-toggle {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: hidden;
  transition: all 250ms ease-in-out;
  cursor: pointer;
  padding: 21px;
}

.hero header .menu-bar {
  position: absolute;
  width: 20px;
  height: 2px;
  background: var(--all-white);
  transition-property: transform;
  transition: all 250ms ease-out;
}

.hero header.wbg .menu-bar {
  background: var(--gray-900);
}

.hero header .menu-bar[data-position="top"] {
  transform: translateY(-4px);
}

.hero header .menu-bar[data-position="bottom"] {
  transform: translateY(4px);
}

.hero header.active .menu-toggle .menu-bar[data-position="top"] {
  transform: translateY(0) rotate(45deg) scaleX(1.05);
  background: var(--gray-900);
}

.hero header.active .menu-toggle .menu-bar[data-position="bottom"] {
  transform: translateY(0) rotate(-45deg) scaleX(1.05);
  background: var(--gray-900);
}

.hero .hero-content {
  width: 860px;
  margin: 0 auto;
  padding: 0;
  position: relative;
  z-index: 3;
}

.hero .hero-content .hero-inner {
  margin-top: 50%;
  text-align: center;
}

.hero .hero-content .badge {
  background-color: var(--gray-100);
  border-radius: 16px;
  font-size: 14px;
  font-weight: 500;
  margin: 8px auto;
  width: fit-content;
  padding: 8px 12px;
}

.hero .hero-content h1 {
  font-size: 64px;
  color: var(--gray-100);
  font-family: var(--font-primary);
  margin: 0 0 28px 0;
  line-height: 1.25em;
}

.hero .hero-content .hero-description {
  font-size: 16px;
  color: var(--gray-100);
  line-height: 1.6em;
  margin: 0 auto 68px;
  max-width: 640px;
}

.hero .hero-content .hero-actions .btn-primary {
  margin: 0 10px 0 0;
}

.hero .hero-content .hero-actions .btn-secondary {
  margin: 0 0 0 10px;
}

.btn-primary {
  background-color: var(--gray-900);
  color: var(--gray-100);
  padding: 16px 20px;
  border-radius: 12px;
  display: inline-block;
  border: 2px solid transparent;
  font-size: 14px;
  text-align: center;
}

.btn-primary.small {
  padding: 12px 16px;
  border-radius: 12px;
}

.btn-secondary {
  background-color: transparent;
  color: var(--all-white);
  border: 2px solid var(--all-white);
  padding: 16px 20px;
  border-radius: 12px;
  display: inline-block;
  font-size: 14px;
}

.btn-primary:hover {
  background-color: var(--primary);
  color: var(--gray-100);
}

.btn-secondary:hover {
  background-color: var(--all-white);
  color: var(--gray-900);
}

.btn-primary:active,
.btn-secondary:active {
  transform: scale(0.96);
}

.main {
  width: var(--container-width);
  margin: 0 auto;
  padding: var(--section-distance) 0;
}

.main h2 {
  font-family: var(--font-primary);
  font-size: 36px;
  color: var(--gray-900);
  margin: 0 0 32px 0;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.4em;
}

.main .steps {
  display: flex;
  justify-content: space-between;
  margin: 0 0 var(--section-distance) 0;
  /*flex-wrap: wrap; */
  margin-left: -10px;
  margin-right: -10px;
}

.main .steps .step {
  flex-basis: 33.333333%;
  max-width: 33.333333%;
  padding: 10px;
}

.main .steps .step-content {
  border-radius: 24px;
  background-color: #dfe9d8;
  padding: 24px 28px;
  height: 300px;
  overflow: hidden;
  transition: none;
  /*aspect-ratio: 4 / 3; */
}

.main .steps .step-content.describe * {
  transition: none;
}

.main .highlights {
  display: flex;
  flex-direction: column;
}

.main .highlights .product-feature {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 var(--section-distance) 0;
}

.main .highlights .product-feature.alt {
  flex-direction: row-reverse;
}

.main .highlights .product-feature .description {
  flex-basis: 50%;
}

.main .highlights .product-feature .description .content {
  line-height: 1.6em;
}

.main .highlights .product-feature .image {
  background-color: #dfe9d8;
  border-radius: 16px;
  height: 360px;
  flex-basis: 40%;
}

.main .highlights .product-feature .image.connected {
  background-image: url("img/connect-graphic.svg");
  background-position: center;
  background-repeat: no-repeat;
}

.main .highlights .product-feature .image.automated {
  background-image: url("img/automate-graphic.svg");
  background-position: center;
  background-repeat: no-repeat;
}

.main .highlights .product-feature .image.saved {
  background-image: url("img/timesaved-graphic.svg");
  background-position: center;
  background-repeat: no-repeat;
}

/* calculator */

input[type="range"] {
  width: 100%;
  margin: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 4px;
  outline: none;
  background: var(--gray-300);
}

/* --- Webkit Browsers --- */

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #164f45;
  border: 2.5px solid #164f45;
  cursor: pointer;
  transition:
    transform 0.1s,
    box-shadow 0.1s;
  margin-top: -2px;
}

input[type="range"]:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px rgba(83, 58, 183, 0.18);
  transform: scale(1.1);
}

/* --- Firefox --- */
input[type="range"]::-moz-range-track {
  height: 8px;
  background: #164f45;
  border-radius: 4px;
  border: 0px solid #bfcabf;
  box-shadow: 0px 2px 0px rgba(0, 0, 0, 0);
}

input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #164f45;
  border: 2.5px solid #164f45;
  cursor: pointer;
}

.calculator h2 {
  text-align: center;
}

.calculator-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.calculator-wrapper .questions {
  flex-basis: 50%;
}

.calculator-wrapper .results {
  flex-basis: 45%;
}

section.calculator {
  margin: 0 auto var(--section-distance);
  background-color: var(--gray-100);
  border-radius: 16px;
  padding: 48px 56px 56px;
}

.calculator .subtitle {
  margin-bottom: 60px;
  text-align: center;
  line-height: 1.4em;
}

.calculator .field {
  margin-bottom: 28px;
}

.calculator .field:last-child {
  margin-bottom: 0;
}

.calculator .field-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.calculator .label {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4em;
}

.calculator .input-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.calculator input[type="range"] {
  flex: 1;
  cursor: pointer;
}

.calculator input[type="number"] {
  width: 100px;
  padding: 6px 10px;
  border: 1px solid var(--gray-250);
  border-radius: 8px;
  font-weight: 500;
  font-family: var(--font-primary);
  font-size: 16px;
}

.calculator .results {
  padding: 24px;
  border-radius: 16px;
  background: var(--all-white);
  display: flex;
  flex-direction: column;
}

.calculator .mainresult {
  display: block;
  margin: 12px 0 0 0;
}

.calculator .results > span {
  font-size: 16px;
  line-height: 1.4em;
  color: var(--gray-350);
}

.calculator .results > span:last-child {
  margin-top: auto;
}

.calculator .result-main {
  font-size: 40px;
  margin: 20px 0;
  color: var(--primary);
  letter-spacing: -1px;
}

.calculator .result-secondary {
  font-size: 1rem;
  font-weight: 600;
}

.calculator .hidden {
  display: none;
}

/* pricing */

section.pricing {
  max-width: 760px;
  margin: 0 auto var(--section-distance);
}

:root {
  --green: #0f5c52;
  --green-light: #d9e2dd;
  --bg: #f5f5f2;
  --border: #e8e8e8;
  --danger: #ea6d6d;
}

.pricing #billed-at {
  opacity: 0;
  display: block;
  transition: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.pricing #billed-at.show {
  opacity: 1;
  transition: opacity 0.3s ease-out;
}

.pricing h2 {
  text-align: center;
}

.pricing .subtitle {
  text-align: center;
  margin-bottom: 60px;
}

.pricing .billing {
  margin: 0 0 20px 0;
  display: flex;
  justify-content: space-between;
  color: var(--gray-400);
  align-items: center;
}

.pricing .billing-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pricing .switch {
  position: relative;
  width: 40px;
  height: 24px;
}

.pricing .switch input {
  display: none;
}

.pricing .toggle {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--gray-250);
  cursor: pointer;
  transition: 0.3s;
}

.pricing .toggle:before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  left: 4px;
  top: 4px;
  border-radius: 50%;
  background: white;
  transition: 0.3s;
}

.pricing .switch input:checked + .toggle {
  background: var(--primary);
}

.pricing .switch input:checked + .toggle:before {
  transform: translateX(16px);
}

.pricing .slider-card {
  background: var(--all-white);
  border-radius: 24px;
  padding: 32px 32px 52px 32px;
  margin-bottom: 24px;
  position: relative;
}

.pricing .slider-card > span {
  display: inline-block;
  margin: 0 0 16px 0;
}

.pricing .slider-card h2 {
  font-size: 32px;
  margin-bottom: 30px;
}

.pricing .track-wrap {
  position: relative;
}

.pricing .slider-labels {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
}

.pricing .lbl {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  transform: translateX(-50%);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.pricing .lbl-tick {
  width: 1px;
  height: 8px;
  background: #ccc;
  transition: background 0.15s;
}

.pricing .lbl-text {
  font-size: 14px;
  color: var(--gray-350);
  transition: color 0.15s;
  white-space: nowrap;
}

.pricing .lbl.active .lbl-text {
  color: #164f45;
  font-weight: 600;
}

.pricing .lbl.active .lbl-tick {
  background: #164f45;
}

.pricing .pricing-card {
  background: white;
  border-radius: 24px;
  padding: 36px;
  border: 1px solid var(--border);
}

.pricing .plan-name {
  font-size: 14px;
  margin-bottom: 12px;
}

.pricing .price-row {
  margin-bottom: 32px;
}

.pricing .current-price {
  font-size: 32px;
  color: var(--green);
  margin: 0 0 8px 0;
  display: inline-block;
}

.pricing .old-price {
  margin-left: 12px;
  font-size: 32px;
  color: var(--gray-300);
  font-weight: 400;
  text-decoration: line-through;
}

.pricing .features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.pricing .features-grid ul {
  list-style: none;
  padding: 0;
}

.pricing .features-grid li {
  margin-bottom: 18px;
}

.pricing .spots {
  margin-top: 16px;
  font-size: 14px;
}

.pricing .spots span {
  color: var(--danger);
}

/* faq */

section.faq h2 {
  text-align: center;
}

.faq-container {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border: 0px;
  border-radius: 8px;
  margin-bottom: 2px;
  /*box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Softer shadow */
}

.faq-header {
  background-color: var(--gray-100);
  color: var(--gray-900);
  padding: 24px 30px;
  font-size: 16px;
  font-weight: 400;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 0;
  transition: all 0.3s ease;
  font-family: var(--font-primary);
  border-bottom: 1px solid transparent;
}

.faq-item:first-child .faq-header {
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.faq-header:hover,
.faq-header.active {
  background-color: var(--gray-250);
}

.faq-header.active {
  border-bottom: 1px solid vaR(--all-white);
}

.faq-content {
  background-color: var(--gray-250);
  overflow: hidden;
  padding: 0 30px;
  max-height: 0;
  transition: max-height 0.3s ease-in-out;
  font-size: 14px;
  font-family: var(--font-primary);
}

.faq-content p {
  margin: 20px 0;
  line-height: 1.5;
}

.faq-content p a {
  color: #ccc;
  transition: all 0.4s linear;
}

.faq-content p a:hover {
  color: #fff;
}

.faq-item .icon {
  font-size: 32px;
  width: 24px;
  height: 24px;
  text-align: center;
  line-height: 21px;
  font-weight: 300;
  transition: transform 0.3s ease-in-out;
  font-family: var(--font-primary);
}

.faq-item .active .icon {
  transform: rotate(315deg);
}

/* describe step animation */

.step-content .text-wrap {
  position: relative;
}

/* Position is driven entirely by JS (rAF) for fluid, continuous motion
     within a line, and instant repositioning between lines - no CSS
     transition on top/left, it would fight the manual interpolation. */
.step-content .dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  z-index: 2;
}

.step-content .dot.blink {
  animation: blink 1.4s ease-in-out infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.2;
  }
}

.step-content p {
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--primary);
}

.step-content .word {
  display: inline;
  filter: blur(8px);
  opacity: 0;
}

.step-content .word.visible {
  filter: blur(0px);
  opacity: 1;
}

/* icons scroller animation */

.main .steps .step-content.connect {
  position: relative;
  padding: 0;
  background: linear-gradient(160deg, #b6cba9 0%, #92ac84 100%);
  overflow: hidden;
}

.step-content .viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.step-content .scroller {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: max-content;
  margin-top: 24px;
  animation: scroll-ltr 40s linear infinite;
}

@keyframes scroll-ltr {
  0% {
    transform: translateX(var(--scroll-start, -50%));
  }
  100% {
    transform: translateX(0);
  }
}

.step-content .row {
  display: flex;
  flex-direction: row;
}

.step-content .tile {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  margin-right: 32px;
  border-radius: 8px;
  background: #fbfbf9;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(1);
  transform-origin: center;
}

.step-content .tile img {
  width: 58%;
  height: 58%;
  display: block;
  pointer-events: none;
  filter: grayscale();
}

@keyframes tap-bounce {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(0.75);
  }
  72% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

.step-content .tile-tap {
  animation: tap-bounce 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.step-content .cursor-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  margin-left: -8px;
  margin-top: -8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 5px rgba(22, 79, 69, 0.22);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  z-index: 5;
}

/* automate animation */

.main .steps .step-content.automate {
  background-color: #6e8c6e;
  display: flex;
  align-items: flex-end;
  padding: 30px 40px;
  overflow: visible;
}

.step-content .stack-wrapper {
  position: relative;
  width: 100%;
  height: 190px;
}

.step-content .ghost {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 190px;
  transform-origin: center top;
  border-radius: 16px;
  background: rgba(238, 246, 238, 0.82);
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.step-content .ghost-1 {
  z-index: 4;
  transform: translateY(-15px) scaleX(0.875);
  opacity: 0.82;
  filter: blur(0.5px);
}
.step-content .ghost-2 {
  z-index: 3;
  transform: translateY(-28px) scaleX(0.725);
  opacity: 0.62;
  filter: blur(1.4px);
}
.step-content .ghost-3 {
  z-index: 2;
  transform: translateY(-39px) scaleX(0.58);
  opacity: 0.44;
  filter: blur(2.8px);
}
.step-content .ghost-4 {
  z-index: 1;
  transform: translateY(-49px) scaleX(0.44);
  opacity: 0.28;
  filter: blur(4.5px);
}

.step-content .main-card {
  position: absolute;
  width: 100%;
  height: 190px;
  top: 0;
  left: 0;
  padding: 20px;
  border-radius: 16px;
  background: rgba(247, 250, 247, 0.97);
  box-shadow:
    0 12px 42px rgba(30, 50, 30, 0.18),
    0 3px 10px rgba(30, 50, 30, 0.1);
  display: flex;
  flex-direction: column;
}

.step-content .card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-shrink: 0;
  font-weight: 500;
}

.step-content .day-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px 4px;
  border: 2px solid #9aada0;
  border-radius: 20px;
  font-size: 12px;
  color: var(--gray-350);
  line-height: 1.35;
  font-weight: 500;
}

.step-content .date-text {
  font-size: 12px;
  color: var(--gray-350);
  font-weight: 500;
}

.step-content .card-title {
  font-size: 20px;
  font-weight: 500;
  color: var(--primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
  flex: 1;
}

.step-content .card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.step-content .status-label {
  font-size: 12px;
  color: var(--gray-350);
  font-weight: 600;
}

.step-content .status-value {
  font-size: 12px;
  color: var(--gray-350);
  font-weight: 400;
}

/* footer */

footer .footer-wrapper {
  width: var(--container-width);
  margin: 0 auto;
  color: var(--gray-350);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  line-height: 1.6em;
  align-items: end;
  font-weight: 500;
}

footer .footer-wrapper .footer-left .flag {
  margin-left: 2px;
  transform: translateY(1px);
  filter: invert();
}

footer .footer-wrapper .footer-right {
  text-align: right;
}

.footer-left .logo-footer img {
  width: 32px;
  margin: 0 0 24px 0;
}

footer {
  background-color: var(--all-white);
  position: relative;
  padding: 64px 0;
}

footer .page-end {
  width: var(--container-width);
  margin: 0 auto;
  padding: var(--section-distance) 0 0;
}

footer .page-end h1 {
  color: var(--gray-200);
  text-align: center;
  font-size: 96px;
  font-weight: 400;
}

.background {
  position: absolute;
  overflow: hidden;
  right: 0;
  height: 100%;
  bottom: 0;
  left: 0;
  display: flex;
  z-index: 1;
  pointer-events: none;
  width: 100%;
}

.background div {
  position: absolute;
  border-radius: 100%;
  height: 0;
  filter: blur(72px);
}

.background div:nth-child(1) {
  width: 50%;
  height: 160px;
  left: 0;
  bottom: 0;
  transform: translateX(-20%) translateY(0%);

  background: linear-gradient(132deg, #46ff4e 0%, #46ff4e 100%);

  --inop: 0.3;
  opacity: var(--inop);
}

.background div:nth-child(3) {
  width: 70%;
  height: 140px;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) translateY(30%);

  background: linear-gradient(132deg, #81f7ff 0%, #81f7ff 100%);

  --inop: 0.65;
  opacity: var(--inop);
}

.background div:nth-child(2) {
  width: 35%;
  height: 160px;
  right: 0;
  bottom: 0;
  transform: translateX(20%) translateY(-20%);

  background: linear-gradient(132deg, #03f69f 0%, #03f69f 100%);

  --inop: 0.35;
  opacity: var(--inop);
}

.background div:nth-child(1) {
  animation: first-fade 5s linear infinite;
}

.background div:nth-child(3) {
  animation: second-fade 5s linear infinite 0.8s;
}

.background div:nth-child(2) {
  animation: third-fade 5s linear infinite 1.2s;
}

@keyframes first-fade {
  0% {
    opacity: var(--inop);
    filter: blur(96px) contrast(100%) saturate(100%);
  }

  30% {
    opacity: 0.1;
    filter: blur(96px) contrast(200%) saturate(240%);
  }

  60% {
    opacity: 0.1;
    filter: blur(96px) contrast(200%) saturate(240%);
  }

  100% {
    opacity: var(--inop);
    filter: blur(96px) contrast(100%) saturate(100%);
  }
}

@keyframes second-fade {
  0% {
    opacity: var(--inop);
  }

  30% {
    opacity: 0.1;
  }

  50% {
    opacity: 0.1;
  }

  100% {
    opacity: var(--inop);
  }
}

@keyframes third-fade {
  0% {
    opacity: var(--inop);
    filter: blur(96px) contrast(100%) saturate(100%);
  }

  30% {
    opacity: 0.1;
    filter: blur(96px) contrast(200%) saturate(240%);
  }

  60% {
    opacity: 0.1;
    filter: blur(96px) contrast(200%) saturate(240%);
  }

  100% {
    opacity: var(--inop);
    filter: blur(96px) contrast(100%) saturate(100%);
  }
}

section.privacy {
  max-width: 720px;
  margin: 40px auto;
  line-height: 1.6em;
  font-size: 14px;
}

section.privacy p {
  margin: 0 0 20px 0;
}

section.privacy h1 {
  font-size: 32px;
  margin: 0 0 16px 0;
}

section.privacy h2 {
  font-size: 24px;
  margin: 0 0 16px 0;
}

section.privacy h3 {
  font-size: 20px;
  margin: 0 0 16px 0;
}

section.privacy h4 {
  font-size: 16px;
  margin: 0 0 12px 0;
}

section.privacy ul {
  margin: 0 0 20px 20px;
  list-style-type: disc;
}

section.privacy .logo {
  margin: 0 0 20px 0;
}

@media screen and (max-width: 1260px) {
  .main .steps .step-content {
    max-width: 100%;
  }

  .main h2 {
    font-size: 32px;
    margin: 0 0 24px 0;
  }

  .step-content p {
    font-size: 18px;
  }

  .main .steps .step-content.automate,
  .main .steps .step-content.describe {
    padding: 20px;
  }

  .step-content .stack-wrapper {
    height: 200px;
  }

  body.noscroll {
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
  }

  footer .page-end h1 {
    font-size: 72px;
  }
}

@media screen and (max-width: 990px) {
  .main .steps {
    flex-wrap: wrap;
  }

  .main .steps .step {
    max-width: 100%;
    flex-basis: 100%;
    margin: 0 0 40px 0;
  }

  .main .steps .step .step-content p {
    font-size: 24px;
  }

  .main .highlights .product-feature .image {
    flex-basis: 48%;
  }

  .main .highlights .product-feature .description {
    flex-basis: 45%;
  }

  .calculator .result-main {
    font-size: 28px;
  }

  .pricing .features-grid {
    font-size: 14px;
  }

  .hero .hero-content {
    width: var(--container-width);
  }

  .hero .hero-content h1 {
    /* font-size: 48px; */
    font-size: 56px;
  }

  section.calculator {
    padding: 28px;
  }

  .calculator input[type="number"] {
    width: 60px;
  }

  .calculator .results {
    padding: 24px 20px;
  }

  .calculator .results > span {
    font-size: 14px;
  }

  section.pricing {
    max-width: 100%;
  }

  nav.menu {
    display: none;
  }

  .hero header .mobile-nav {
    display: block;
  }

  .hero header.wbg .header-inner {
    padding: 16px 0;
  }

  .hero header .logo img {
    width: 100px;
  }

  .hero header.active .menu {
    display: flex;
    flex-direction: column;
  }

  .hero header .header-inner {
    flex-wrap: wrap;
  }

  .hero header.active {
    height: 100vh;
  }

  .hero header .header-inner nav.menu {
    flex-basis: 100%;
    margin: 20px 0 0;
  }

  .hero header .header-inner nav.menu a {
    margin: 0;
    padding: 20px 0;
    font-size: 16px;
  }

  .hero header .header-inner nav.menu a:not(.btn-primary):hover {
    background-color: transparent;
  }

  .hero header .header-inner nav.menu .btn-primary {
    margin: 60px 0 40px 0;
  }

  footer .page-end h1 {
    font-size: 64px;
  }

  footer {
    padding: 48px 0;
  }
}

@media screen and (max-width: 768px) {
  .main .highlights .product-feature {
    flex-wrap: wrap;
  }

  .main .highlights .product-feature .description,
  .main .highlights .product-feature .image {
    flex-basis: 100%;
  }

  .main .highlights .product-feature .image {
    height: 280px;
  }

  .main .highlights .product-feature .description {
    margin: 0 0 20px 0;
  }

  .main .steps .step {
    margin: 0 0 20px 0;
  }

  .main .steps .step-content {
    height: 280px;
  }

  .hero .hero-content h1 {
    /* font-size: 40px; */
    font-size: 48px;
  }

  .main h2 {
    font-size: 24px;
    margin: 0 0 24px 0;
  }

  body {
    font-size: 14px;
  }

  .main .steps .step .step-content p {
    font-size: 20px;
  }

  .calculator-wrapper .questions {
    margin: 0 0 20px 0;
  }

  .calculator-wrapper .questions,
  .calculator-wrapper .results {
    flex-basis: 100%;
  }

  .calculator .subtitle {
    margin: 0 0 40px 0;
  }

  section.calculator {
    padding: 20px;
  }

  .pricing .slider-card {
    padding: 28px 28px 48px 28px;
  }

  .pricing .pricing-card {
    padding: 28px;
  }

  .pricing .price-row {
    margin-bottom: 28px;
  }

  .pricing .current-price,
  .pricing .old-price {
    font-size: 28px;
  }

  footer .page-end h1 {
    font-size: 52px;
  }

  .faq-container {
    max-width: 100%;
  }

  footer .footer-wrapper {
    font-size: 12px;
  }
}

@media screen and (max-width: 580px) {
  .calculator .result-main {
    font-size: 24px;
  }

  .hero .hero-content h1 {
    font-size: 32px;
  }

  .hero .hero-content .hero-description {
    font-size: 14px;
    margin: 0 auto 48px;
  }

  .hero .hero-content .hero-actions .btn-primary,
  .hero .hero-content .hero-actions .btn-secondary {
    margin: 0 0 20px 0;
    display: block;
  }

  .pricing .slider-card {
    padding: 20px 20px 48px 20px;
  }

  .pricing .pricing-card {
    padding: 20px;
  }

  .pricing .price-row {
    margin-bottom: 20px;
  }

  .pricing .features-grid {
    display: block;
  }

  .pricing .spots {
    font-size: 12px;
  }

  .faq-header {
    font-size: 14px;
    padding: 20px 24px;
  }

  .faq-item .icon {
    font-size: 24px;
  }

  .main h2 {
    font-size: 20px;
    margin: 0 0 20px 0;
  }

  .pricing .bp {
    display: none;
  }

  .pricing .billing-toggle {
    width: 100%;
  }

  .pricing .lbl-text {
    font-size: 12px;
  }

  .pricing .current-price,
  .pricing .old-price {
    font-size: 24px;
  }

  .pricing .old-price {
    margin-left: 4px;
  }

  .pricing #billed-at {
    font-size: 12px;
  }

  .pricing .subtitle {
    margin-bottom: 40px;
  }

  .pricing-card .btn-primary {
    display: block;
  }

  footer .page-end h1 {
    font-size: 36px;
  }

  footer .footer-wrapper {
    flex-wrap: wrap;
  }

  footer .footer-wrapper .footer-left,
  footer .footer-wrapper .footer-right {
    flex-basis: 100%;
    text-align: left;
  }

  footer .footer-wrapper .footer-left {
    margin: 0 0 20px 0;
  }

  footer {
    padding: 36px 0;
  }
}
