:root {
  --ink: #1a1a2e;
  --ink-soft: #4a4a6a;
  --yellow: #fff8b5;
  --lavender: #dcd3ff;
  --mint: #b6f6f0;
  --pink: #ffc2d1;
  --paper: #fffdf5;
  --white: #ffffff;
  --border: 3px solid var(--ink);
  --shadow: 7px 8px 0 var(--ink);
  --shadow-small: 4px 5px 0 var(--ink);
  --display: "Erica One", sans-serif;
  --body: "Fredoka", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border: var(--border);
  border-radius: 12px;
  background: var(--white);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background:
    radial-gradient(circle at 45% 25%, rgba(255, 255, 255, 0.48), transparent 28%),
    linear-gradient(180deg, #fffbd1 0%, var(--yellow) 84%);
}

.nav {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  min-height: 92px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  width: fit-content;
  font-family: var(--display);
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border: var(--border);
  border-radius: 16px;
  background: linear-gradient(145deg, #fffbe0 5%, #ffd954 95%);
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.45);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px solid rgba(26, 26, 46, 0.68);
  border-radius: 50%;
}

.brand-hand {
  position: absolute;
  z-index: 2;
  left: 26px;
  top: 26px;
  height: 3px;
  border-radius: 999px;
  background: var(--ink);
  transform-origin: 0 50%;
}

.brand-hand--hour {
  width: 10px;
  transform: rotate(-90deg);
}

.brand-hand--minute {
  width: 12px;
  transform: rotate(38deg);
}

.brand-pin {
  position: absolute;
  z-index: 3;
  left: 23px;
  top: 23px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}

.nav-links {
  display: flex;
  gap: clamp(20px, 3vw, 42px);
  font-size: 15px;
  font-weight: 700;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 3px;
  background: var(--ink);
  transition: right 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  right: 0;
}

.nav > .button {
  justify-self: end;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-small);
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button span[aria-hidden="true"] {
  display: inline-block;
  transition: translate 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translate(3px, 3px);
  box-shadow: 1px 2px 0 var(--ink);
}

.button:hover span[aria-hidden="true"],
.button:focus-visible span[aria-hidden="true"] {
  translate: 4px 0;
}

.button--small {
  min-width: 178px;
  min-height: 50px;
  padding: 12px 22px;
  font-size: 17px;
}

.button--hero {
  min-width: 324px;
  min-height: 66px;
  padding: 17px 32px;
  font-size: clamp(20px, 2vw, 27px);
}

.button--mint {
  background: var(--mint);
}

.hero-layout {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(430px, 0.96fr);
  align-items: center;
  gap: 28px;
  min-height: 620px;
  padding-block: 20px 88px;
}

.hero-copy {
  position: relative;
  z-index: 4;
  padding-bottom: 20px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 23px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.eyebrow::after {
  content: "";
  width: 72px;
  height: 2px;
  background: var(--ink);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
.section-kicker,
.plan-name {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
}

h1 {
  max-width: 700px;
  margin-bottom: 22px;
  font-size: clamp(61px, 7.2vw, 102px);
  letter-spacing: 0.005em;
  line-height: 0.88;
}

.hero-deck {
  max-width: 560px;
  margin-bottom: 28px;
  font-size: clamp(19px, 2vw, 27px);
  line-height: 1.28;
}

.hero-note {
  position: relative;
  max-width: 460px;
  margin: 32px 0 0 44px;
  font-size: 16px;
  line-height: 1.3;
}

.hero-note::before,
.hero-note::after {
  content: "";
  position: absolute;
  left: -37px;
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: var(--ink);
  transform-origin: right center;
}

.hero-note::before {
  top: 4px;
  transform: rotate(24deg);
}

.hero-note::after {
  top: 17px;
  transform: rotate(-8deg);
}

.phone-stage {
  position: relative;
  align-self: stretch;
  min-height: 570px;
}

.cloud-art,
.sparkle-art {
  position: absolute;
  display: block;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.cloud-art {
  z-index: 3;
  filter: drop-shadow(5px 7px 0 rgba(26, 26, 46, 0.12));
}

.sparkle-art {
  z-index: 2;
}

.sparkle-art--hero {
  inset: 18px -100px auto -45px;
  width: calc(100% + 145px);
  opacity: 0.94;
}

.cloud-art--behind-left {
  top: 170px;
  left: -7%;
  width: 235px;
  transform: rotate(-7deg);
  animation: cloud-sweep-left 10s cubic-bezier(0.45, 0, 0.55, 1) -1s infinite;
}

.cloud-art--behind-right {
  top: 135px;
  right: -11%;
  width: 205px;
  transform: scaleX(-1) rotate(-5deg);
  animation: cloud-sweep-right 12s cubic-bezier(0.45, 0, 0.55, 1) -6s infinite;
}

.cloud-art--front-left {
  z-index: 11;
  bottom: 18px;
  left: -12%;
  width: 280px;
  transform: rotate(4deg);
  animation: cloud-sweep-front-left 9s cubic-bezier(0.45, 0, 0.55, 1) -3s infinite;
}

.cloud-art--front-right {
  z-index: 11;
  right: -17%;
  bottom: -12px;
  width: 255px;
  transform: scaleX(-1) rotate(3deg);
  animation: cloud-sweep-front-right 11s cubic-bezier(0.45, 0, 0.55, 1) -8s infinite;
}

.cloud-art--hero-edge-left,
.cloud-art--hero-edge-right {
  z-index: 7;
  bottom: -24px;
  width: 305px;
}

.cloud-art--hero-edge-left {
  left: -115px;
  transform: rotate(6deg);
  animation: cloud-edge-in-left 13s cubic-bezier(0.45, 0, 0.55, 1) -4s infinite;
}

.cloud-art--hero-edge-right {
  right: -105px;
  transform: scaleX(-1) rotate(5deg);
  animation: cloud-edge-in-right 15s cubic-bezier(0.45, 0, 0.55, 1) -10s infinite;
}

.phone {
  --phone-scroll-rotate: -4deg;
  --phone-scroll-y: -52px;
  --phone-scroll-scale: 0.965;
  position: absolute;
  z-index: 8;
  top: 18px;
  left: 50%;
  width: 342px;
  transform: translateX(-44%) rotate(4deg);
}

.phone-float {
  transform-origin: 50% 55%;
}

.phone-shell {
  padding: 10px;
  border: 4px solid var(--ink);
  border-radius: 48px;
  background: linear-gradient(145deg, #f5f5f7, #9d9ea8 50%, #f7f7fa);
  box-shadow: inset 0 0 0 2px #fff, 22px 30px 16px rgba(26, 26, 46, 0.22);
}

.phone-screen {
  position: relative;
  min-height: 608px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 37px;
  background: linear-gradient(#f7ffff 0%, #effcfc 64%, #fff 64%);
  padding: 16px 19px 0;
}

.dynamic-island {
  position: absolute;
  z-index: 4;
  top: 10px;
  left: 50%;
  width: 100px;
  height: 27px;
  border-radius: 999px;
  background: #050509;
  transform: translateX(-50%);
}

.status-row,
.app-title-row,
.event-row,
.traffic-row,
.app-tabs {
  display: flex;
  align-items: center;
}

.status-row {
  justify-content: space-between;
  padding: 0 7px 20px;
  font-size: 12px;
  font-weight: 700;
}

.status-icons {
  font-size: 9px;
  letter-spacing: 1px;
}

.app-title-row {
  justify-content: space-between;
  padding-bottom: 22px;
  font-size: 15px;
}

.gear {
  font-size: 20px;
}

.event-row {
  gap: 13px;
  padding: 18px 17px 8px;
  border: 2px solid rgba(26, 26, 46, 0.08);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  background: rgba(255, 255, 255, 0.88);
}

.event-icon {
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--pink);
}

.event-row strong,
.event-row small,
.traffic-row strong,
.traffic-row small,
.traffic-row em {
  display: block;
}

.event-row strong {
  font-size: 17px;
  text-transform: uppercase;
}

.event-row small,
.traffic-row small {
  color: var(--ink-soft);
  font-size: 12px;
}

.traffic-row em {
  margin-top: 3px;
  color: #19736f;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.countdown {
  padding: 17px 18px 12px;
  border-inline: 2px solid rgba(26, 26, 46, 0.08);
  background: rgba(255, 255, 255, 0.88);
  text-align: center;
}

.countdown span,
.countdown strong {
  display: block;
  text-transform: uppercase;
}

.countdown span {
  font-size: 18px;
  font-weight: 700;
}

.countdown strong {
  font-family: var(--display);
  font-size: 65px;
  font-weight: 400;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transform-origin: center;
}

.traffic-row {
  gap: 10px;
  margin-bottom: 14px;
  padding: 13px 14px;
  border: 2px solid rgba(26, 26, 46, 0.08);
  border-top: 0;
  border-radius: 0 0 24px 24px;
  background: rgba(255, 255, 255, 0.88);
}

.traffic-row svg {
  width: 32px;
  fill: var(--mint);
  stroke: var(--ink);
  stroke-width: 2;
}

.traffic-row span {
  flex: 1;
}

.traffic-row b {
  font-size: 29px;
  line-height: 1;
}

.phone-action {
  width: 100%;
  min-height: 48px;
  margin-top: 10px;
  border: 2px solid var(--ink);
  border-radius: 18px;
  box-shadow: 3px 4px 0 var(--ink);
  color: var(--ink);
  font-family: var(--display);
  font-size: 16px;
  text-transform: uppercase;
}

.phone-action--lavender {
  background: var(--lavender);
}

.phone-action--mint {
  background: var(--mint);
}

.app-tabs {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  justify-content: space-around;
  min-height: 68px;
  border-top: 2px dotted var(--ink);
  background: var(--white);
}

.app-tabs span {
  display: grid;
  min-width: 58px;
  min-height: 48px;
  place-items: center;
  border: 2px solid transparent;
  border-radius: 14px;
  font-size: 20px;
}

.app-tabs span.active {
  border-color: var(--ink);
  background: var(--mint);
}

.app-tabs small {
  display: block;
  font-size: 9px;
}

.cloud {
  --cloud-scale: 1;
  position: absolute;
  z-index: 3;
  width: calc(168px * var(--cloud-scale));
  height: calc(61px * var(--cloud-scale));
  border: var(--border);
  border-radius: 999px;
  background: var(--white);
  box-shadow: inset 0 -7px 0 rgba(220, 211, 255, 0.25);
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  border: var(--border);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  background: var(--white);
}

.cloud::before {
  left: 18%;
  top: -56%;
  width: 44%;
  height: 72%;
}

.cloud::after {
  right: 13%;
  top: -38%;
  width: 35%;
  height: 54%;
}

.cloud--behind-left {
  --cloud-scale: 0.84;
  top: 190px;
  left: 3%;
  transform: rotate(-4deg);
}

.cloud--behind-right {
  --cloud-scale: 0.72;
  top: 143px;
  right: -6%;
  transform: rotate(6deg);
}

.cloud--front-left {
  --cloud-scale: 1.17;
  z-index: 11;
  bottom: 50px;
  left: -10%;
  transform: rotate(3deg);
}

.cloud--front-right {
  --cloud-scale: 0.95;
  z-index: 11;
  right: -9%;
  bottom: 13px;
  transform: rotate(-4deg);
}

.spark {
  position: absolute;
  z-index: 4;
  width: 34px;
  aspect-ratio: 1;
  background: #e6a21a;
  clip-path: polygon(50% 0, 58% 39%, 100% 50%, 58% 61%, 50% 100%, 42% 61%, 0 50%, 42% 39%);
  animation: twinkle 3.5s ease-in-out infinite;
}

.spark--one {
  top: 78px;
  left: 2%;
}

.spark--two {
  top: 117px;
  right: 2%;
  width: 48px;
  animation-delay: -1.1s;
}

.spark--three {
  right: 12%;
  bottom: 42px;
  width: 28px;
  animation-delay: -2s;
}

.spark--four {
  bottom: 116px;
  left: 10%;
  width: 20px;
  background: var(--lavender);
  animation-delay: -0.4s;
}

.dot {
  position: absolute;
  z-index: 3;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #8d7cf1;
}

.dot--one {
  top: 146px;
  left: 22%;
}

.dot--two {
  right: 4%;
  bottom: 155px;
  background: var(--pink);
}

.cloud-bank {
  position: absolute;
  z-index: 4;
  right: -5%;
  bottom: -74px;
  width: 110%;
  height: 176px;
  object-fit: cover;
  object-position: top center;
  pointer-events: none;
  user-select: none;
  animation: cloud-bank-swell 18s cubic-bezier(0.45, 0, 0.55, 1) -7s infinite;
}

.how {
  position: relative;
  padding: 110px 0 92px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.42), transparent 23%),
    var(--lavender);
}

.how > .shell,
.pricing > .shell,
.questions > .shell {
  position: relative;
  z-index: 3;
}

.sparkle-art--how {
  top: 55px;
  right: -145px;
  width: 560px;
  opacity: 0.5;
  transform: rotate(8deg);
}

.cloud-art--how-left,
.cloud-art--how-right {
  z-index: 1;
  width: 270px;
  opacity: 0.92;
}

.cloud-art--how-left {
  bottom: -75px;
  left: -105px;
  transform: rotate(5deg);
  animation: cloud-sweep-left 16s cubic-bezier(0.45, 0, 0.55, 1) -10s infinite;
}

.cloud-art--how-right {
  top: 30px;
  right: -135px;
  transform: scaleX(-1) rotate(5deg);
  animation: cloud-sweep-right 14s cubic-bezier(0.45, 0, 0.55, 1) -4s infinite;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 26px;
  margin-bottom: 54px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1;
}

.rule {
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 4px, transparent 4px 11px);
}

.timeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}

.timeline-step {
  position: relative;
  display: grid;
  grid-template-columns: 108px 1fr;
  align-items: center;
  gap: 16px;
  min-height: 170px;
}

.timeline-step h3 {
  margin: 0 0 7px;
  font-family: var(--display);
  font-size: 23px;
  font-weight: 400;
  text-transform: uppercase;
}

.timeline-step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.35;
}

.step-number {
  position: absolute;
  z-index: 2;
  top: 0;
  left: -5px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-family: var(--display);
}

.step-number--pink {
  background: var(--pink);
}

.step-number--mint {
  background: var(--mint);
}

.step-number--yellow {
  background: var(--yellow);
}

.step-icon {
  display: block;
  width: 108px;
  height: 118px;
  object-fit: contain;
  filter: drop-shadow(4px 6px 0 rgba(26, 26, 46, 0.08));
  transition: transform 220ms ease, filter 220ms ease;
}

.timeline-step:hover .step-icon {
  transform: translateY(-5px) rotate(-1.5deg);
  filter: drop-shadow(6px 9px 0 rgba(26,26,46,0.11));
}

.timeline-arrow {
  font-family: var(--display);
  font-size: 42px;
}

.safety-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: fit-content;
  max-width: 760px;
  margin: 58px auto 0;
  padding: 14px 21px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
}

.safety-note p {
  margin: 0;
  font-size: 15px;
}

.shield {
  display: grid;
  width: 36px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 16px 16px 22px 22px;
  background: var(--mint);
}

.pricing {
  position: relative;
  padding: 105px 0 92px;
  background:
    radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.52), transparent 20%),
    var(--yellow);
}

.sparkle-art--pricing {
  top: 170px;
  left: 50%;
  width: min(1240px, 96vw);
  opacity: 0.34;
  transform: translateX(-50%);
}

.section-kicker {
  margin-bottom: 10px;
  font-size: 19px;
  letter-spacing: 0.08em;
  text-align: center;
}

.pricing h2,
.questions h2,
.final-cta h2 {
  margin-bottom: 16px;
  font-size: clamp(42px, 5.6vw, 72px);
  line-height: 0.98;
}

.pricing h2,
.pricing-intro {
  text-align: center;
}

.pricing-intro {
  max-width: 620px;
  margin: 0 auto 52px;
  color: var(--ink-soft);
  font-size: 19px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 990px;
  margin-inline: auto;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 440px;
  padding: 42px;
  border: var(--border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.plan:hover {
  transform: translateY(-6px);
  box-shadow: 9px 12px 0 var(--ink);
}

.plan--buddy {
  border-width: 4px;
  background: linear-gradient(150deg, #fff 15%, #fff3f7 100%);
  box-shadow: 0 0 0 9px var(--pink), var(--shadow);
}

.plan-badge {
  position: absolute;
  top: 0;
  left: 50%;
  padding: 8px 23px;
  border: var(--border);
  border-radius: 999px;
  background: var(--pink);
  font-family: var(--display);
  font-size: 14px;
  text-transform: uppercase;
  transform: translate(-50%, -58%);
}

.plan-name {
  margin-bottom: 4px;
  font-size: clamp(28px, 3.3vw, 42px);
  line-height: 1;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 28px;
}

.plan-price strong {
  font-size: 36px;
}

.plan-price span {
  color: var(--ink-soft);
  font-size: 15px;
}

.plan ul {
  display: grid;
  gap: 18px;
  margin: 0 0 38px;
  padding: 27px 0 0;
  border-top: 2px solid rgba(26, 26, 46, 0.2);
  list-style: none;
}

.plan li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.plan li span {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--mint);
  font-size: 13px;
}

.plan--buddy li span {
  background: var(--pink);
}

.button--plan {
  min-height: 56px;
  margin-top: auto;
  padding: 14px 18px;
  background: var(--mint);
  font-size: 17px;
}

.button--pink {
  background: var(--pink);
}

.billing-note {
  margin: 38px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  text-align: center;
}

.questions {
  padding: 110px 0;
  background: var(--mint);
}

.questions-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: start;
  gap: 90px;
}

.questions .section-kicker {
  text-align: left;
}

.faq-list {
  border-top: var(--border);
}

.faq-list details {
  border-bottom: var(--border);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 0;
  cursor: pointer;
  font-family: var(--body);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  font-family: var(--body);
  font-size: 31px;
  transition: transform 180ms ease;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list p {
  max-width: 650px;
  margin: -6px 0 25px;
  color: var(--ink-soft);
}

.faq-list details[open] p {
  animation: faq-answer-in 240ms ease-out both;
}

.final-cta {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: var(--lavender);
}

.final-cta-inner {
  position: relative;
  z-index: 4;
  display: flex;
  min-height: 430px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.final-cta h2 {
  margin-bottom: 29px;
}

.sparkle-art--cta {
  top: 0;
  left: 50%;
  width: min(920px, 90vw);
  opacity: 0.5;
  transform: translateX(-50%);
}

.cloud-art--cta-left,
.cloud-art--cta-right {
  z-index: 2;
  bottom: -70px;
  width: 370px;
}

.cloud-art--cta-left {
  left: -100px;
  transform: rotate(5deg);
  animation: cloud-sweep-left 17s cubic-bezier(0.45, 0, 0.55, 1) -6s infinite;
}

.cloud-art--cta-right {
  right: -85px;
  transform: scaleX(-1) rotate(4deg);
  animation: cloud-sweep-right 15s cubic-bezier(0.45, 0, 0.55, 1) -11s infinite;
}

footer {
  padding: 28px 0;
  background: var(--paper);
}

.footer-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand--footer {
  font-size: 23px;
}

.brand--footer .brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.brand--footer .brand-mark::after {
  inset: 7px;
}

.brand--footer .brand-hand {
  left: 19px;
  top: 19px;
}

.brand--footer .brand-pin {
  left: 16px;
  top: 16px;
}

.footer-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
}

.footer-row > p {
  justify-self: end;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0.45;
    transform: rotate(0deg) scale(0.78);
  }
  50% {
    opacity: 1;
    transform: rotate(25deg) scale(1.08);
  }
}

@keyframes cloud-sweep-left {
  0%, 100% {
    opacity: 0.28;
    translate: -82px 26px;
    scale: 0.88;
  }
  45%, 58% {
    opacity: 1;
    translate: 24px -17px;
    scale: 1.04;
  }
}

@keyframes cloud-sweep-right {
  0%, 100% {
    opacity: 0.3;
    translate: 88px 20px;
    scale: 0.9;
  }
  42%, 60% {
    opacity: 1;
    translate: -26px -19px;
    scale: 1.05;
  }
}

@keyframes cloud-sweep-front-left {
  0%, 100% {
    opacity: 0.5;
    translate: -112px 42px;
    scale: 0.9;
  }
  44%, 62% {
    opacity: 1;
    translate: 27px -23px;
    scale: 1.07;
  }
}

@keyframes cloud-sweep-front-right {
  0%, 100% {
    opacity: 0.5;
    translate: 118px 38px;
    scale: 0.91;
  }
  40%, 59% {
    opacity: 1;
    translate: -31px -21px;
    scale: 1.06;
  }
}

@keyframes cloud-edge-in-left {
  0%, 100% {
    opacity: 0.45;
    translate: -125px 35px;
    scale: 0.92;
  }
  46%, 63% {
    opacity: 1;
    translate: 18px -13px;
    scale: 1.04;
  }
}

@keyframes cloud-edge-in-right {
  0%, 100% {
    opacity: 0.45;
    translate: 130px 34px;
    scale: 0.92;
  }
  43%, 61% {
    opacity: 1;
    translate: -20px -15px;
    scale: 1.04;
  }
}

@keyframes cloud-bank-swell {
  0%, 100% {
    translate: -2.5% 12px;
    scale: 1 0.94;
  }
  48%, 60% {
    translate: 2.5% -10px;
    scale: 1.035 1.06;
  }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    translate: 0 18px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes hero-phone-arrive {
  from {
    opacity: 0;
    translate: 0 22px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes phone-float {
  0%, 100% {
    translate: 0 0;
    rotate: 0deg;
  }
  50% {
    translate: 0 -11px;
    rotate: -0.45deg;
  }
}

@keyframes countdown-breathe {
  from { scale: 0.99; }
  to { scale: 1.015; }
}

@keyframes countdown-tick {
  0% {
    opacity: 0.35;
    translate: 0 -8px;
    scale: 1.035;
  }
  100% {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }
}

@keyframes phone-scroll-settle {
  from {
    translate: 0 0;
    rotate: 0deg;
    scale: 1;
  }
  to {
    translate: 0 var(--phone-scroll-y);
    rotate: var(--phone-scroll-rotate);
    scale: var(--phone-scroll-scale);
  }
}

@keyframes reveal-up {
  from {
    opacity: 0;
    translate: 0 30px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes reveal-left {
  from {
    opacity: 0;
    translate: -28px 12px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes reveal-right {
  from {
    opacity: 0;
    translate: 28px 12px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes faq-answer-in {
  from {
    opacity: 0;
    translate: 0 -7px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .nav,
  .hero-copy > *,
  .phone-shell {
    animation: hero-rise 640ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .nav { animation-delay: 40ms; }
  .hero-copy > :nth-child(1) { animation-delay: 100ms; }
  .hero-copy > :nth-child(2) { animation-delay: 170ms; }
  .hero-copy > :nth-child(3) { animation-delay: 240ms; }
  .hero-copy > :nth-child(4) { animation-delay: 310ms; }
  .hero-copy > :nth-child(5) { animation-delay: 380ms; }

  .phone-shell {
    animation-name: hero-phone-arrive;
    animation-delay: 210ms;
    animation-duration: 780ms;
  }

  .phone-float {
    animation: phone-float 4.8s ease-in-out 1.1s infinite;
    will-change: translate, rotate;
  }

  .countdown strong {
    animation: countdown-breathe 2.2s ease-in-out 1s infinite alternate;
    transform-origin: center;
  }

  .countdown strong.is-ticking {
    animation: countdown-tick 340ms cubic-bezier(0.22, 1, 0.36, 1);
  }
}

@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .phone {
      animation: phone-scroll-settle 1ms linear both;
      animation-timeline: scroll(root block);
      animation-range: 0% 16%;
      will-change: translate, rotate, scale;
    }

    .section-heading,
    .safety-note,
    .pricing .section-kicker,
    .pricing h2,
    .pricing-intro,
    .questions-copy,
    .faq-list,
    .final-cta h2,
    .final-cta .button {
      animation: reveal-up 1ms linear both;
      animation-timeline: view();
      animation-range: entry 5% entry 55%;
    }

    .timeline-step,
    .plan:first-child {
      animation: reveal-left 1ms linear both;
      animation-timeline: view();
      animation-range: entry 5% entry 58%;
    }

    .timeline-step:nth-of-type(2),
    .plan:last-child {
      animation-name: reveal-right;
    }

    .timeline-step:nth-of-type(3) {
      animation-name: reveal-up;
    }
  }
}

@media (max-width: 980px) {
  .nav {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero-layout {
    grid-template-columns: 1fr 390px;
  }

  h1 {
    font-size: clamp(58px, 8vw, 76px);
  }

  .phone {
    width: 310px;
  }

  .phone-screen {
    min-height: 552px;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 650px;
    margin-inline: auto;
  }

  .timeline-step {
    grid-template-columns: 105px 1fr;
  }

  .timeline-arrow {
    margin: -16px 0 -16px 31px;
    transform: rotate(90deg);
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(100% - 30px, 620px);
  }

  body {
    font-size: 16px;
  }

  .hero {
    min-height: auto;
  }

  .nav {
    min-height: 78px;
  }

  .brand {
    gap: 8px;
    font-size: 26px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .brand-mark::after {
    inset: 8px;
  }

  .brand-hand {
    left: 20px;
    top: 20px;
  }

  .brand-pin {
    left: 17px;
    top: 17px;
  }

  .button--small {
    min-width: 126px;
    min-height: 43px;
    padding: 10px 15px;
    font-size: 14px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    padding-top: 45px;
    padding-bottom: 75px;
  }

  .hero-copy {
    text-align: left;
  }

  .eyebrow {
    letter-spacing: 0.22em;
  }

  h1 {
    font-size: clamp(58px, 17vw, 84px);
  }

  .hero-deck {
    font-size: 20px;
  }

  .button--hero {
    width: calc(100% - 8px);
    min-width: 0;
  }

  .hero-note {
    margin-left: 39px;
  }

  .phone-stage {
    min-height: 630px;
  }

  .phone {
    --phone-scroll-rotate: -3deg;
    --phone-scroll-y: -30px;
    --phone-scroll-scale: 0.985;
    top: 42px;
    left: 50%;
    width: min(315px, 83vw);
    transform: translateX(-50%) rotate(3deg);
  }

  .cloud--behind-left {
    left: -13%;
  }

  .cloud--behind-right {
    right: -12%;
  }

  .cloud--front-left {
    left: -22%;
  }

  .cloud--front-right {
    right: -17%;
  }

  .how,
  .pricing,
  .questions {
    padding-block: 84px;
  }

  .section-heading {
    gap: 13px;
    margin-bottom: 40px;
  }

  .section-heading h2 {
    font-size: 39px;
    white-space: nowrap;
  }

  .timeline-step {
    min-height: 145px;
  }

  .safety-note {
    align-items: flex-start;
    border-radius: 22px;
  }

  .plans {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .plan {
    min-height: 0;
    padding: 36px 28px 30px;
  }

  .questions-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .questions .section-kicker {
    text-align: center;
  }

  .questions h2 {
    text-align: center;
  }

  .footer-row {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .footer-row > p {
    justify-self: center;
  }
}

@media (max-width: 390px) {
  .brand {
    font-size: 22px;
  }

  .button--small {
    min-width: 112px;
    font-size: 12px;
  }

  h1 {
    font-size: 58px;
  }

  .phone-stage {
    margin-inline: -8px;
  }

  .timeline-step {
    grid-template-columns: 94px 1fr;
    gap: 12px;
  }

  .step-icon {
    width: 86px;
    height: 102px;
  }

  .footer-links {
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
