/* Harvest — Homepage
   Design source: Figma "Harvest Website Design", Option 1 - Homepage.
   The layout is a 1700px-wide desktop design, centered, with fluid
   flex/grid so it degrades gracefully at smaller desktop widths. */

/* ============ Reset & base ============ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
h1,
h2,
h3,
p {
  margin: 0;
}

img {
  display: block;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

:root {
  --pad: 100px;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  min-height: 100vh;
  overflow-x: clip;
  background-color: #f8f7fa;
  color: #000;
  font-family: "Figtree", sans-serif;
}

/* Content column shared by nav, hero and How-it-works */
.frame {
  max-width: 1700px;
  margin-inline: auto;
}

/* Purple section label used across the page */
.section-sub {
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 500;
  line-height: 1.2;
  color: #9483ff;
}

/* Gradient-filled display headings */
.grad-text {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

/* Hover lift shared by phones, mockups and FAQ cards */
.lift {
  transition: transform 0.5s ease-out;
}

.lift:hover {
  transform: translateY(-8px);
}

/* ============ Nav ============ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 247, 250, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.nav__inner {
  display: flex;
  max-width: 1700px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--pad);
}

.nav__logo {
  width: 167px;
  height: 32.5px;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 56px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 44px;
  font-size: 18px;
  line-height: 1.2;
  text-transform: uppercase;
}

.nav__links a {
  white-space: nowrap;
  transition: color 0.2s;
}

.nav__links a:hover {
  color: #9483ff;
}

/* Anchored sections settle below the sticky nav, not under it */
#how-it-works,
#performance,
#faq {
  scroll-margin-top: 100px;
}

.nav__ctas {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
}

.btn {
  border-radius: 2px;
  padding: 20px 17px;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}

.btn--solid {
  background: #000;
  color: #e2e2e2;
}

.btn--solid:hover {
  background: #333;
}

.btn--outline {
  border: 1px solid #000;
  color: #000;
}

.btn--outline:hover {
  background: #000;
  color: #e2e2e2;
}

/* ============ Glow blobs ============ */

.glow-blob {
  width: 620px;
  height: 1430px;
  background: radial-gradient(
    50% 50% at 50% 50%,
    rgba(148, 131, 255, 0.85) 0%,
    rgba(211, 204, 255, 0.55) 55%,
    rgba(211, 204, 255, 0) 78%
  );
}

/* ============ Hero ============ */

.hero {
  position: relative;
  padding: 92px var(--pad) 0;
}

.hero__glow {
  position: absolute;
  left: 43%;
  top: 471px;
  z-index: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.hero__content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 70px;
}

.hero__heading {
  display: flex;
  width: 100%;
  max-width: 1414px;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.hero__eyebrow {
  width: 100%;
  font-size: 18px;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero__title {
  width: 100%;
  font-size: clamp(44px, 7vw, 90px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  background-image: linear-gradient(94.235deg, rgb(0, 0, 0) 56.245%, rgb(102, 102, 102) 99.533%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero__cta {
  padding: 20px 40px;
  font-size: 18px;
}

.hero__phones {
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.hero__phone {
  min-width: 0;
  flex: 1 1 0;
}

.hero__phone img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.hero__caption {
  max-width: 746px;
  text-align: center;
  font-size: 18px;
  line-height: 1.2;
}

/* ============ Section headings ============ */

.hiw__title {
  white-space: nowrap;
  font-size: clamp(38px, 5.5vw, 70px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  background-image: linear-gradient(102.432deg, rgb(0, 0, 0) 73.654%, rgb(102, 102, 102) 98.598%);
}

.perf__title {
  margin-inline: auto;
  width: fit-content;
  text-align: center;
  font-size: clamp(36px, 6.3vw, 80px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  background-image: linear-gradient(108.234deg, rgb(0, 0, 0) 73.654%, rgb(102, 102, 102) 98.598%);
}

.faq__title {
  width: auto;
  max-width: 633px;
  font-size: clamp(36px, 6.3vw, 80px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  background-image: linear-gradient(98.593deg, rgb(0, 0, 0) 73.654%, rgb(102, 102, 102) 98.598%);
}

/* ============ Carousels (How it works + FAQ) ============ */

.carousel-track {
  display: flex;
  align-items: flex-start;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.arrow-btn {
  transition: transform 0.2s, opacity 0.2s;
}

.arrow-btn:hover {
  transform: scale(1.1);
}

.arrow-btn:active {
  transform: scale(0.95);
}

.arrow-btn:disabled {
  pointer-events: none;
  opacity: 0.35;
}

.arrow-img {
  width: 42px;
  height: 42px;
}

.arrow-img--prev {
  transform: rotate(180deg) scaleY(-1);
}

/* ============ How it works ============ */

.hiw {
  padding: 79px 0 80px;
}

.hiw__head {
  position: relative;
}

.hiw__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-inline: var(--pad);
  text-align: center;
}

.carousel-arrows {
  position: absolute;
  bottom: 0;
  right: var(--pad);
  display: flex;
  gap: 12px;
}

.hiw__viewport {
  margin-left: var(--pad);
  margin-top: 45px;
}

.hiw__track {
  gap: 35px;
}

.hiw__card {
  display: flex;
  width: 735px;
  flex-shrink: 0;
  flex-direction: column;
  gap: 26px;
}

.hiw__card img {
  width: 100%;
  height: auto;
  aspect-ratio: 735 / 451;
  object-fit: cover;
  border-radius: 12px;
}

.hiw__card h3 {
  font-size: 34px;
  font-weight: 600;
  line-height: 1.2;
}

.hiw__card p {
  width: 480px;
  font-size: 18px;
  line-height: 1.2;
}

.hiw__dots {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.hiw__dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  transition: background-color 0.2s;
}

.hiw__dots button.active {
  background: #000;
}

/* ============ Launch section ============ */

.launch {
  overflow-x: clip;
  background-image: linear-gradient(51.717deg, rgb(0, 0, 0) 59.507%, rgb(148, 131, 255) 100.68%);
}

.launch__inner {
  max-width: 1700px;
  margin-inline: auto;
  padding: 94px var(--pad) 58px;
}

.launch__top {
  display: flex;
  justify-content: space-between;
  gap: 43px;
}

.launch__text {
  margin-top: 184px;
  display: flex;
  width: 591px;
  flex-shrink: 0;
  flex-direction: column;
  gap: 32px;
  align-self: flex-start;
  color: #e2e2e2;
}

.launch__text-head {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.launch__h2 {
  font-size: clamp(38px, 5.5vw, 70px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.launch__body {
  width: 548px;
  font-size: 18px;
  line-height: 1.2;
}

.launch__mockups {
  margin-right: -99px;
  display: flex;
  flex-shrink: 0;
  gap: 36px;
}

.launch__reel-tall {
  width: 406px;
  height: 722px;
}

.launch__mockcol {
  width: 523px;
}

.launch__reel-square {
  width: 382px;
  height: 382px;
}

.launch__yt {
  margin-top: 23px;
}

.launch__yt-img {
  width: 523px;
  height: 317px;
}

/* Campaign dashboard toolbar */

.launch__toolbar {
  margin-top: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "Inter", sans-serif;
}

.toolbar__left {
  display: flex;
  align-items: center;
  gap: 31px;
}

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

.tbtn {
  border-radius: 2px;
  border: 0.5px solid #aaa;
  background: #000;
  padding: 10px 8px;
  line-height: 1;
  color: #fff;
  transition: background-color 0.2s;
}

.tbtn:hover {
  background: #222;
}

.tbtn--back {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13.7px;
}

.tbtn--back img {
  width: 9px;
  height: 8px;
  object-fit: contain;
}

.tbtn--small {
  font-size: 11.8px;
}

.toolbar__label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.7px;
  line-height: 1;
}

.toolbar__key {
  color: #aaa;
}

.toolbar__value {
  font-weight: 600;
  color: #fff;
}

.toolbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.toolbar__range {
  display: flex;
  align-items: center;
  gap: 25px;
  border-radius: 3px;
  border: 1px solid #000;
  background: #131313;
  padding: 10px 13px;
  font-size: 16px;
  line-height: 1;
  color: #fff;
}

/* Metric cards */

.launch__metrics {
  margin-top: 31px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-family: "Inter", sans-serif;
}

.metric-card {
  height: 268px;
  width: 286px;
  min-width: 0;
  flex: 1;
  border: 1.56px solid #282828;
  background: #191919;
  padding: 37px;
}

.metric-card__top {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.metric-card__label {
  font-size: 18.7px;
  color: #aaa;
}

.metric-card__value {
  font-size: 50px;
  font-weight: 600;
  line-height: 1.2;
  color: #e2e2e2;
  font-variant-numeric: tabular-nums;
}

.metric-card__spark {
  width: 192px;
  height: 45px;
}

.metric-card__low {
  margin-top: 25px;
  font-size: 18.7px;
  color: #aaa;
}

/* Optimize */

.launch__optimize {
  margin-top: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.optimize__head {
  display: flex;
  width: 420px;
  flex-direction: column;
  gap: 24px;
}

.optimize__head h2 {
  font-size: clamp(40px, 6.3vw, 80px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
}

.optimize__body {
  width: 551px;
}

.optimize__body p {
  font-size: 18px;
  line-height: 1.2;
  color: #fff;
}

/* ============ Glow band (Performance + FAQ) ============ */

.glow-band {
  position: relative;
  overflow-x: clip;
}

.glow-band__glow {
  position: absolute;
  left: 80%;
  top: 657px;
  z-index: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.glow-band__frame {
  position: relative;
  z-index: 10;
  max-width: 1700px;
  margin-inline: auto;
}

/* ============ Performance clarity ============ */

.perf {
  padding: 100px var(--pad) 0;
}

.perf__sub {
  margin-top: 24px;
  text-align: center;
}

.perf__body {
  margin: 32px auto 0;
  max-width: 790px;
  text-align: center;
  font-size: 18px;
  line-height: 1.2;
}

.perf__board {
  position: relative;
  margin: 80px auto 0;
  width: 100%;
  max-width: 1500px;
  aspect-ratio: 1500 / 711;
  overflow: hidden;
  background: #000;
}

.perf__bg {
  position: absolute;
  left: 0;
  top: -12%;
  width: 100%;
  height: 124%;
  object-fit: cover;
  will-change: transform;
}

.perf__layer {
  position: absolute;
  will-change: transform;
}

.perf__tile {
  position: absolute;
  width: 14.1333%;
  border-radius: 5px;
  border: 1px solid #d9d9d9;
  background: #fff;
  padding: min(23px, 1.53vw);
  font-family: "Inter", sans-serif;
  will-change: transform;
}

.perf__tile-label {
  font-size: clamp(8px, 0.96vw, 14.4px);
  letter-spacing: -0.02em;
}

.perf__tile-value {
  margin-top: min(28px, 1.87vw);
  font-size: clamp(11px, 2.05vw, 30.8px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}

.perf__pills {
  position: absolute;
  display: flex;
  align-items: center;
  gap: min(46px, 3vw);
  border-radius: 3.5px;
  border: 1px solid #d9d9d9;
  background: #fff;
  padding: min(16.774px, 1.12vw) min(24px, 1.6vw);
  font-family: "Inter", sans-serif;
  will-change: transform;
}

.perf__pills-amount {
  font-size: clamp(9px, 1.2vw, 18px);
  font-weight: 500;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.perf__pills-group {
  display: flex;
  align-items: center;
  gap: min(11px, 0.73vw);
}

.pill {
  border-radius: 100px;
  border: 1px solid #e0e0f7;
  padding: min(14px, 0.93vw) min(19px, 1.27vw);
  font-size: clamp(8px, 0.93vw, 14px);
  font-weight: 500;
  line-height: 1;
  color: #9483ff;
}

/* ============ FAQ ============ */

.faq {
  padding: 100px 0;
}

.faq__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-inline: var(--pad);
}

.faq__arrows {
  margin-top: 157px;
  display: flex;
  gap: 12px;
}

.faq__viewport {
  margin-left: var(--pad);
  margin-top: 70px;
}

.faq__track {
  gap: 27px;
}

.faq__slide {
  flex-shrink: 0;
}

.faq-card {
  display: flex;
  height: 353px;
  width: 608px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border-radius: 8px;
  background: #fff;
  padding: 20px 72px 20px 24px;
  transition: transform 0.5s ease-out;
}

.faq-card:hover {
  transform: translateY(-6px);
}

.faq-card__inner {
  display: flex;
  width: 513px;
  flex-direction: column;
  gap: 15px;
  line-height: 1.2;
  color: #000;
}

.faq-card__number {
  font-size: 18px;
  font-weight: 600;
}

.faq-card__qa {
  display: flex;
  flex-direction: column;
  gap: 29px;
}

.faq-card__qa h3 {
  width: 487px;
  font-size: 30px;
  font-weight: 600;
}

.faq-card__qa p {
  font-size: 20px;
}

/* ============ Footer ============ */

.footer {
  position: relative;
  height: 596px;
  width: 100%;
  overflow: hidden;
  background-color: #000;
  background-image: linear-gradient(-55.695deg, rgb(0, 0, 0) 74.981%, rgb(148, 131, 255) 109.92%);
}

.footer__ring-clip {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.footer__ring-frame {
  position: relative;
  margin-inline: auto;
  height: 100%;
  max-width: 1700px;
}

.footer__ring-scale {
  position: absolute;
  left: 71.3%;
  top: 16.23px;
  height: 0;
  width: 0;
  transform-origin: 0 0;
}

.footer-orbit {
  position: absolute;
  left: 0;
  top: 0;
  height: 0;
  width: 0;
}

.footer-orbit-card {
  position: absolute;
  width: 252.245px;
  height: 255.798px;
  max-width: none;
}

.footer__scrim {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 1;
  height: 140px;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
}

.footer__content {
  position: relative;
  z-index: 10;
  margin-inline: auto;
  height: 100%;
  max-width: 1700px;
  padding-inline: var(--pad);
}

.footer__head {
  padding-top: 47px;
}

.footer__head h2 {
  width: auto;
  max-width: 493px;
  font-size: clamp(34px, 5.5vw, 70px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #e2e2e2;
}

.footer__bottom {
  position: absolute;
  inset-inline: var(--pad);
  bottom: 15px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  color: #e2e2e2;
}

.footer__cta {
  width: 417px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.72px;
  text-transform: uppercase;
}

.footer__meta {
  display: flex;
  gap: 85px;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.48px;
  text-transform: uppercase;
}

/* ============ Legal pages (privacy, terms) ============ */

/* One column of running text, narrower than the marketing sections: these
   pages are read, not scanned. */
.legal {
  max-width: 820px;
  margin-inline: auto;
  padding: 72px var(--pad) 120px;
}

.legal h1 {
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.legal__meta {
  margin-top: 14px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 15px;
  color: #5c5c66;
}

.legal h2 {
  margin-top: 56px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.legal h3 {
  margin-top: 32px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.legal p,
.legal li {
  font-size: 17px;
  line-height: 1.65;
  color: #26262e;
}

.legal p {
  margin-top: 16px;
}

.legal ul {
  margin: 16px 0 0;
  padding-left: 22px;
}

.legal li {
  margin-top: 8px;
}

.legal a {
  color: #6a56f5;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal a:hover {
  color: #9483ff;
}

/* Six columns do not fit the reading measure, so on a wide screen the table
   reaches out into the margins, and scrolls inside itself when even that is
   not enough — the page never scrolls sideways. */
.legal__table {
  --legal-table-w: max(100%, min(1080px, 100vw - 2 * var(--pad) - 20px));
  width: var(--legal-table-w);
  margin-top: 24px;
  margin-inline: calc((100% - var(--legal-table-w)) / 2);
  overflow-x: auto;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.legal th,
.legal td {
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}

.legal th {
  font-weight: 600;
  background: rgba(148, 131, 255, 0.1);
}

/* Legal pages carry a plain footer rather than the homepage's orbit, which
   exists to sell rather than to close out a document. */
.legal-footer {
  background-color: #000;
  color: #e2e2e2;
}

.legal-footer__inner {
  display: flex;
  max-width: 1700px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px var(--pad);
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.48px;
  text-transform: uppercase;
}

.legal-footer__links {
  display: flex;
  gap: 32px;
}

.legal-footer__links a {
  transition: color 0.2s;
}

.legal-footer__links a:hover,
.footer__legal a:hover {
  color: #9483ff;
}

/* Homepage footer legal links, alongside the address and copyright */
.footer__legal {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer__legal a {
  transition: color 0.2s;
}

/* ============ Animations ============ */

/* Scroll-triggered entrance (elements with class "reveal") */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slow drift for the purple glow blobs */
@keyframes glow-drift {
  0%,
  100% {
    transform: rotate(var(--glow-rot, 0deg)) scale(1) translateY(0);
  }
  50% {
    transform: rotate(calc(var(--glow-rot, 0deg) - 6deg)) scale(1.07) translateY(-30px);
  }
}

.glow-drift {
  animation: glow-drift 11s ease-in-out infinite;
}

/* Footer photos orbit their shared center as one rigid ring (the wrapper
   spins), while each photo counter-spins by the same amount so it stays
   upright the whole way around — a slow carousel, not a tumble. Both use the
   same duration so the counter-rotation exactly cancels the tilt. */
@keyframes footer-orbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes footer-orbit-reverse {
  to {
    transform: rotate(-360deg);
  }
}

.footer-orbit {
  animation: footer-orbit 55s linear infinite;
}

.footer-orbit-card {
  animation: footer-orbit-reverse 55s linear infinite;
}

/* ============ Reduced motion ============ */

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .glow-drift,
  .footer-orbit,
  .footer-orbit-card {
    animation: none;
  }

  .carousel-track {
    transition: none;
  }
}

/* ============ Responsive ============

   The design is desktop-first (1700px). Two tiers below it:
   ~1100px restacks the wide two-column layouts, ~720px is the
   phone layout. Desktop above 1300px is untouched. */

@media (max-width: 1300px) {
  :root {
    --pad: 48px;
  }
}

@media (max-width: 1100px) {
  /* Launch: text above mockups instead of beside them */
  .launch__top {
    flex-direction: column;
    gap: 56px;
  }

  .launch__text {
    margin-top: 0;
    width: 100%;
  }

  .launch__body {
    width: auto;
    max-width: 548px;
  }

  .launch__mockups {
    margin-right: 0;
    gap: 4vw;
  }

  .launch__reel-tall {
    width: 42vw;
    height: auto;
  }

  .launch__mockcol {
    width: 50vw;
  }

  .launch__reel-square {
    width: 76%;
    height: auto;
  }

  .launch__yt {
    margin-top: 2.2vw;
  }

  .launch__yt-img {
    width: 100%;
    height: auto;
  }

  .launch__metrics {
    flex-wrap: wrap;
  }

  .metric-card {
    flex: 1 1 240px;
    width: auto;
  }

  .launch__optimize {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .optimize__head {
    width: auto;
  }

  .optimize__body {
    width: auto;
    max-width: 551px;
  }

  .footer__ring-scale {
    transform: scale(0.8);
  }
}

@media (max-width: 900px) {
  .nav__links {
    display: none;
  }
}

@media (max-width: 720px) {
  :root {
    --pad: 20px;
  }

  .nav__inner {
    padding-block: 12px;
  }

  .nav__ctas {
    gap: 8px;
    font-size: 14px;
  }

  .btn {
    padding: 14px 13px;
  }

  .nav__logo {
    width: 128px;
    height: 25px;
  }

  /* Hero: phones as a 2x2 grid */
  .hero {
    padding-top: 48px;
  }

  .hero__content {
    gap: 44px;
  }

  .hero__eyebrow {
    font-size: 13px;
  }

  .hero__phones {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero__phone {
    flex: 1 1 calc(50% - 7px);
    min-width: calc(50% - 7px);
  }

  .hero__caption {
    font-size: 16px;
  }

  .glow-blob {
    width: 340px;
    height: 800px;
  }

  /* Carousels: near-full-width cards, smaller arrows */
  .arrow-img {
    width: 36px;
    height: 36px;
  }

  .carousel-arrows {
    position: static;
    justify-content: flex-end;
    margin-top: 18px;
    padding-inline: var(--pad);
  }

  .hiw__viewport {
    margin-top: 32px;
  }

  .hiw__track {
    gap: 20px;
  }

  .hiw__card {
    width: 86vw;
    gap: 18px;
  }

  .hiw__card h3 {
    font-size: 26px;
  }

  .hiw__card p {
    width: auto;
    font-size: 16px;
  }

  /* Launch toolbar wraps into rows */
  .launch__inner {
    padding-block: 64px 40px;
  }

  .launch__mockups {
    justify-content: center;
    gap: 4vw;
  }

  .launch__reel-tall {
    width: 46vw;
  }

  .launch__mockcol {
    width: 46vw;
  }

  .launch__toolbar {
    margin-top: 64px;
    flex-wrap: wrap;
    gap: 14px;
  }

  .toolbar__left {
    flex-wrap: wrap;
    gap: 14px;
  }

  .toolbar__range {
    gap: 14px;
    padding: 8px 10px;
    font-size: 13px;
  }

  .launch__metrics {
    gap: 14px;
  }

  .metric-card {
    flex: 1 1 calc(50% - 7px);
    height: auto;
    padding: 22px;
  }

  .metric-card__value {
    font-size: 34px;
  }

  .metric-card__label,
  .metric-card__low {
    font-size: 14px;
  }

  .metric-card__low {
    margin-top: 14px;
  }

  .metric-card__spark {
    max-width: 100%;
  }

  .launch__optimize {
    margin-top: 64px;
  }

  .perf {
    padding-top: 64px;
  }

  .perf__body {
    font-size: 16px;
  }

  .perf__board {
    margin-top: 48px;
  }

  /* FAQ: heading stacks above the arrows */
  .faq {
    padding-block: 64px;
  }

  .faq__head {
    flex-direction: column;
    gap: 28px;
  }

  .faq__arrows {
    margin-top: 0;
    align-self: flex-end;
  }

  .faq__viewport {
    margin-top: 40px;
  }

  .faq__track {
    gap: 20px;
  }

  .faq-card {
    width: 86vw;
    height: auto;
    min-height: 0;
    padding: 28px 24px;
  }

  .faq-card__inner {
    width: 100%;
  }

  .faq-card__qa {
    gap: 18px;
  }

  .faq-card__qa h3 {
    width: auto;
    font-size: 22px;
  }

  .faq-card__qa p {
    font-size: 16px;
  }

  /* Footer: smaller ring, stacked bottom row */
  .footer {
    height: 500px;
  }

  .footer__ring-scale {
    transform: scale(0.55);
  }

  .footer::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 55%);
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    bottom: 24px;
  }

  .footer__cta {
    width: auto;
    max-width: 417px;
    font-size: 18px;
  }

  .footer__meta {
    gap: 40px;
    font-size: 13px;
  }

  /* Legal pages */
  .legal {
    padding-top: 44px;
    padding-bottom: 72px;
  }

  .legal p,
  .legal li {
    font-size: 16px;
  }

  .legal h2 {
    margin-top: 40px;
    font-size: 20px;
  }

  .legal-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    font-size: 13px;
  }
}

@media (max-width: 560px) {
  .btn--outline {
    display: none;
  }
}
