.services h2, .setup h2 { text-transform:uppercase; }

@keyframes revealOpacity {
  from { opacity: 0; }
  to { opacity: 1; }
}

html .reveal {
  animation: revealOpacity .6s ease both;
}

@keyframes figureFadeInLeft {
  from {
    opacity: 0;
    background-position: right -38vw bottom 0;
    transform: translateY(-24px);
    filter: blur(7px);
  }
  to {
    opacity: 0.70;
    background-position: right -10vw bottom 0;
    transform: translateY(0);
    filter: blur(0px);
  }
}

.site-header {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 56px);
  padding: 13px var(--page-padding);
  color: var(--orange);
}

.site-header::after {
  content: "";
  flex: 1;
  height: 3px;
  background: currentColor;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font: 700 clamp(30px, 3.34vw, 72px) / 1 var(--display-font);
  letter-spacing: normal;
}
.brand-cloud {
  width: clamp(42px, 4.38vw, 94px);
  height: auto;
}
.site-header .brand {
  flex-shrink: 0;
  gap: 14px;
  font-size: clamp(24px, 2.5vw, 48px);
}
.site-header .brand-cloud {
  width: clamp(34px, 3.3vw, 64px);
}
.screen {
  min-height: calc(100svh - var(--header-height));
  padding: clamp(24px, 3svh, 36px) var(--page-padding);
}

#main {
  padding-top: var(--header-height);
}

#main > .screen + .screen {
  margin-top: clamp(80px, 12svh, 160px);
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: clamp(32px, 6svh, 70px);
}
.hero h1 span {
  display: block;
}
.hero-action {
  margin-top: 48px;
}
.hero-price {
  display: flex;
  align-items: center;
  gap: 20px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 16px;
  padding: 14px 20px;
  border-radius: 18px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hero-price-amount {
  color: var(--orange);
  font-size: clamp(34px, 3vw, 52px);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -1.5px;
  white-space: nowrap;
}
.hero-price-period {
  margin-left: 4px;
  color: var(--sand);
  font-size: 17px;
  font-weight: 450;
  letter-spacing: normal;
}
.hero-price-devices {
  padding-left: 20px;
  border-left: 1px solid #c2a99830;
  font-size: 16px;
  line-height: 1.4;
}
@media (min-width: 769px) {
  .hero-action {
    display: grid;
    grid-template-columns: minmax(0, max-content) max-content;
    align-items: center;
    justify-content: start;
    gap: 12px 24px;
  }
  .hero-action > .button {
    grid-area: 1 / 1;
  }
  .hero-price {
    grid-area: 1 / 2;
    margin-bottom: 0;
  }

}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  padding: 22px 56px;
  border: 0;
  border-radius: 30px;
  background: var(--orange);
  color: var(--brown);
  font-size: clamp(20px, 1.88vw, 40px);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  transition:
    background 0.14s ease-in-out
}
.button:hover {
  background: var(--sand);
}
.button-trial {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.button-trial::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 28%, rgb(255 243 223 / .12) 40%, rgb(255 250 239 / .42) 50%, rgb(255 243 223 / .12) 60%, transparent 72%);
  transform: translateX(-115%);
  animation: trialShine 4.8s ease-in-out infinite;
  transition: opacity .2s ease;
}
.button-trial:hover::before {
  opacity: 0;
}
@keyframes trialShine {
  0%, 10% { transform: translateX(-115%); }
  55%, 100% { transform: translateX(115%); }
}


.services {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
}
.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: clamp(190px, 23svh, 280px);
  padding: 18px 20px;
  border-radius: 28px;
  background: var(--orange);
  color: var(--brown);
  font: 700 clamp(18px, 2vw, 50px) / 1.2 var(--display-font);
  letter-spacing: normal;
  text-transform: uppercase;
}
.service-provider {
  font:
    500 clamp(16px, 1.15vw, 24px) / 1.4 "Onest",
    sans-serif;
  text-transform: none;
}
.service-card-more {
  grid-column: span 2;
  position: relative;
  padding-bottom: 66px;
  background: var(--sand);
  text-transform: none;
  transition: background 0.14s ease;
  & svg {transition: transform 0.14s ease;}
}
.service-card-more:hover {
  background: var(--orange);
  & svg {
    transform: translateX(6px);
  }
}
.service-card-more svg {
  position: absolute;
  right: 30px;
  bottom: 24px;
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
}

.setup {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.steps {
  width: min(100%, 1200px);
  margin: 58px 0 0;
  padding: 0;
  list-style: none;
}
.steps li {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 15px;
  padding: 30px 0;
}
.step-number {
  color: var(--orange);
  margin-bottom: 0;
  font: 700 52px/1.2 var(--display-font);
  letter-spacing: normal;
}
.steps h3 {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: clamp(24px, 1.67vw, 36px);
  font-weight: 650;
}
.steps p,
.setup-note {
  font-size: clamp(18px, 1.1vw, 24px);
  line-height: 1.5;
  & a {
    color: var(--sand);
    text-decoration: underline;
  }
}
.setup-note {
  max-width: 740px;
  margin-top: 28px;
}

.purchase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.purchase-content h2 {
  line-height: 1.4;
  font-size: clamp(56px, 7vw, 110px);
}
.purchase-content h2 span {
  display: block;
}
.purchase-content .button {
  margin-top: 64px;
  min-width: 530px;
}

.payment-methods {
  position: absolute;
  bottom: 32px;
  left: var(--page-padding);
  right: var(--page-padding);
  font: 700 clamp(24px, 2.5vw, 54px) / 1.3 var(--display-font);
  letter-spacing: normal;
}

/* Smaller desktop windows keep the same composition without clipped content. */
@media (min-width: 769px) and (max-height: 760px) {
  .button {
    min-height: 68px;
    padding: 18px 36px;
    border-radius: 22px;
  }
  .services {
    gap: 32px;
  }
  .steps {
    margin-top: 32px;
  }
  .steps li {
    padding: 22px 0;
  }
}

@media (min-width: 769px) and (max-height: 850px) {
  .services {
    gap: 24px;
  }
  .service-card {
    min-height: 160px;
  }
  .steps {
    margin-top: 24px;
  }
  .steps li {
    padding: 18px 0;
  }
  .setup-note {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }
  h1,
  h2 {
    font-size: clamp(25px, 5.7vw, 44px);
    letter-spacing: normal;
  }
  .site-header {
    padding: 18px var(--page-padding);
  }
  .brand {
    gap: 10px;
    font-size: clamp(26px, 5.7vw, 38px);
  }
  .brand-cloud {
    width: 36px;
  }
  .site-header .brand {
    gap: 8px;
    font-size: clamp(22px, 4.7vw, 30px);
  }
  .site-header .brand-cloud {
    width: 30px;
  }
  .screen {
    min-height: auto;
    padding: 52px var(--page-padding);
  }
  #main > .screen + .screen {
    margin-top: 48px;
  }
  .hero {
    position: relative;
    isolation: isolate;
    min-height: calc(100svh - var(--header-height));
    padding-top: max(56px, 12svh);
    padding-bottom: 28px;
  }
  .hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    /* Continue the artwork below the hero without moving it within the screen. */
    bottom: -20vw;
    pointer-events: none;
    background: url("figure.png") no-repeat right -10vw bottom 0;
    background-size: 94% auto;
    animation: figureFadeInLeft 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
    clip-path: inset(0);
    -webkit-mask-image: linear-gradient(to bottom, transparent 18%, #000 42%);
    mask-image: linear-gradient(to bottom, transparent 18%, #000 42%);
  }
  .hero-copy {
    position: relative;
    z-index: 1;
  }
  .hero-action {
    position: relative;
    z-index: 1;
    padding-top: 100px;
  }
  .hero h1 {
    font-size: clamp(22px, 4.85vw, 38px);
    line-height: 1.5;
  }
  .intro {
    font-size: 18px;
    margin-top: 20px;
    line-height: 1.5;
  }
  .desktop-break {
    display: none;
  }
  .hero-action {
    margin-top: 40px;
  }
  .button {
    width: 100%;
    min-height: 68px;
    padding: 20px 18px;
    border-radius: 20px;
    font-size: 18px;
  }

  .services {
    gap: 28px;
  }
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .service-card {
    min-height: 176px;
    padding: 20px 14px;
    border-radius: 20px;
    font-size: clamp(18px, 4.3vw, 30px);
  }
  .steps {
    margin-top: 32px;
  }
  .steps li {
    grid-template-columns: 50px 1fr;
    gap: 10px;
    padding: 24px 0;
  }
  .step-number {
    font-size: 28px;
  }
  .steps h3 {
    font-size: 22px;
    margin-bottom: 12px;
  }
  .steps p,
  .setup-note {
    font-size: 16px;
  }
  .purchase {
    display: block;
    padding-top: 62px;
    padding-bottom: 32px;
  }
  .purchase-content {
    width: 100%;
    container-type: inline-size;
  }
  #purchase-title {
    font-size: clamp(24px, 9.4cqi, 64px);
    line-height: 1.35;
  }
  .purchase-content h2 span {
    white-space: nowrap;
  }
  .purchase-content .button {
    min-width: 0;
    margin-top: 32px;
  }
  .payment-methods {
    position: static;
    margin-top: 52px;
    font-size: clamp(18px, 4.4vw, 30px);
  }
}

@media (max-width: 768px) and (max-height: 700px) {
  .hero {
    padding-top: 32px;
    padding-bottom: 20px;
  }
  .hero h1 {
    font-size: clamp(16px, 4.6vw, 28px);
    line-height: 1.4;
  }
  .hero .intro {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.4;
  }
  .hero-action {
    margin-top: 24px;
    padding-top: 24px;
  }
  .hero .button {
    min-height: 60px;
    padding: 16px;
    font-size: 16px;
  }

}

/* Compact phones: keep display text and card labels inside their columns. */
@media (max-width: 470px) {
  #main,
  .site-header,
  .site-footer {
    --page-padding: clamp(20px, 6vw, 28px);
  }

  #main .screen {
    padding-block: 40px;
  }

  #main .hero {
    padding-top: clamp(36px, 8svh, 68px);
    padding-bottom: 24px;
  }

  .hero h1 {
    font-size: clamp(17px, 4.7vw, 22px);
    line-height: 1.45;
  }

  .screen h2 {
    font-size: clamp(21px, 5.4vw, 25px);
    line-height: 1.35;
  }

  #main .intro {
    font-size: clamp(16px, 4vw, 18px);
    line-height: 1.5;
  }

  #main .button {
    min-height: 60px;
    padding: 18px 14px;
    font-size: 16px;
  }

  .service-grid {
    gap: 10px;
  }

  .service-card {
    min-width: 0;
    min-height: clamp(100px, 35vw, 190px);
    padding: 18px 12px;
    font-size: clamp(14px, 3.7vw, 18px);
  }

  .service-provider {
    font-size: 14px;
  }

  .service-card-more {
    padding-bottom: 60px;
    font-size: clamp(17px, 4.4vw, 21px);
  }

  .steps li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 24px;
  }

  .step-number {
    font-size: 25px;
  }

  .steps h3 {
    font-size: clamp(19px, 4.7vw, 22px);
    line-height: 1.35;
  }

  .steps p,
  .setup-note {
    font-size: 15px;
    line-height: 1.55;
  }

  .purchase-content {
    min-width: 0;
  }

  .payment-methods {
    font-size: clamp(16px, 4.3vw, 20px);
    line-height: 1.5;
  }
}



.faq {
  padding: 52px var(--page-padding);
  margin-top: 48px;
  -webkit-user-select: none;
  user-select: none;
}
.faq h2 {
  margin-bottom: 32px;
  font-size: clamp(24px, 3.2vw, 56px);
}
.faq details {
  max-width: 1100px;
  border-bottom: 1px solid #c2a99824;
  padding: 22px 0;
  font-size: clamp(16px, 1.3vw, 22px);
  line-height: 1.6;
}
.faq summary {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 16px;
  list-style: none;
  cursor: pointer;
  color: var(--orange);
  font-weight: 650;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.28s ease;
}
.faq details[open]:not(.is-closing) summary::after {
  transform: rotate(225deg);
}
.faq-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.faq-answer {
  display: flow-root;
  overflow: hidden;
  padding-inline: 0;
}
.faq summary:focus-visible {
  outline: 3px solid var(--sand);
  outline-offset: 6px;
}
.faq details p {
  margin-top: 16px;
}
.faq a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  body,
  html .reveal,
  .button-trial::before,
  .hero::before {
    animation: none;
  }
  .button,
  .button-trial::before,
  .faq summary::after,
  .service-card-more {
    transition: none;
  }
}

