:root {
  --bg: #0f1115;
  --bg-deep: #090b0f;
  --surface: #151922;
  --surface-2: #1b202b;
  --line: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --muted: #a1a1aa;
  --muted-2: #73737d;
  --accent: #3b82f6;
  --accent-strong: #60a5fa;
  --success: #39d98a;
  --danger: #f87171;
  --shadow: 0 32px 80px rgba(0, 0, 0, 0.36);
  --radius: 8px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.modal-open {
  overflow: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(180deg, rgba(15, 17, 21, 0) 0%, var(--bg) 52%, var(--bg-deep) 100%),
    radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.12), transparent 32%);
  pointer-events: none;
}

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

img,
svg {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, var(--max));
  height: 72px;
  margin: 0 auto;
  background: rgba(15, 17, 21, 0.82);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: 116px;
  height: auto;
  object-fit: contain;
}

.button,
.button-ghost,
.demo-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.18), transparent 18%),
    linear-gradient(135deg, #2563eb, #60a5fa 54%, #2563eb);
  border-color: var(--accent);
  color: white;
  box-shadow: 0 18px 42px rgba(59, 130, 246, 0.24);
}

.button::before {
  position: absolute;
  inset: -40% auto -40% -70%;
  width: 54%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: skewX(-18deg);
  animation: buttonSheen 4.4s ease-in-out infinite;
}

.button::after {
  margin-left: 10px;
  content: "->";
  font-size: 0.84em;
  transform: translateX(0);
  transition: transform 180ms ease;
}

.button > *,
.button {
  isolation: isolate;
}

.button:hover::after {
  transform: translateX(3px);
}

.button:hover,
.demo-button:hover,
.text-link:hover,
.upgrade-link:hover {
  transform: translateY(-2px);
}

.button-small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.78rem;
}

.button-ghost {
  background: transparent;
  color: var(--text);
}

.button-ghost::before,
.button-ghost::after {
  content: none;
}

@keyframes buttonSheen {
  0%, 50% {
    left: -70%;
  }

  70%, 100% {
    left: 125%;
  }
}

.section-shell {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  scroll-margin-top: 92px;
}

.compact {
  padding: 96px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: 56px;
  min-height: calc(100svh - 72px);
  padding: 42px 0 74px;
}

.hero-copy h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(3.7rem, 7.6vw, 7.5rem);
  font-weight: 860;
  line-height: 0.92;
}

.hero-copy p {
  max-width: 480px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.product-stage {
  position: relative;
  display: grid;
  --card-rotate-x: 58deg;
  --card-rotate-z: -18deg;
  --card-lift: 12px;
  max-width: 100%;
  min-height: 570px;
  overflow: hidden;
  place-items: center;
  perspective: 1200px;
}

.tap-card {
  position: relative;
  width: min(86vw, 460px);
  aspect-ratio: 1.58 / 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), transparent 28%),
    linear-gradient(320deg, rgba(59, 130, 246, 0.2), transparent 38%),
    #101318;
  box-shadow: var(--shadow);
}

.tap-card-main {
  transform: rotateX(var(--card-rotate-x)) rotateZ(var(--card-rotate-z)) translateY(var(--card-lift));
  transition: transform 90ms linear;
  will-change: transform;
}

.tap-card .card-logo {
  position: absolute;
  top: 26px;
  left: 28px;
  width: 158px;
  height: auto;
  opacity: 0.94;
  object-fit: contain;
}

.tap-ring {
  position: absolute;
  width: min(92vw, 530px);
  aspect-ratio: 1;
  border: 1px solid rgba(59, 130, 246, 0.16);
  border-radius: 50%;
  transform: rotateX(70deg);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 18px 0 56px;
}

.trust-strip span,
.app-grid-list span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.trust-strip span::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--success);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1;
}

p {
  color: var(--muted);
}

.intro p,
.section-heading p,
.demo p {
  max-width: 660px;
  margin: 18px 0 0;
  font-size: 1.05rem;
  line-height: 1.65;
}

.mini-demo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.mini-demo span {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
}

.mini-demo i {
  width: 38px;
  height: 1px;
  background: var(--accent);
}

.use-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 56px 0 96px;
}

.use-case,
.tier-library article,
.testimonial-grid article,
.upgrade-grid article,
.steps article,
details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.use-case {
  display: flex;
  min-height: 340px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
}

.use-case-featured {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.16), rgba(255, 255, 255, 0.04));
  border-color: rgba(96, 165, 250, 0.26);
}

.icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(59, 130, 246, 0.13);
  color: var(--accent-strong);
}

.icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.use-case h2 {
  margin-top: 46px;
  font-size: clamp(1.55rem, 2.5vw, 2.3rem);
}

.use-case p {
  font-size: 1rem;
  line-height: 1.6;
}

.text-link {
  display: inline-flex;
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 850;
  transition: transform 180ms ease;
}

.use-case .text-link {
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  margin-top: 24px;
  border: 1px solid rgba(96, 165, 250, 0.45);
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.14), transparent 28%),
    linear-gradient(135deg, rgba(37, 99, 235, 0.78), rgba(96, 165, 250, 0.3));
  color: var(--text);
  box-shadow: 0 18px 42px rgba(59, 130, 246, 0.18);
  font-size: 0.95rem;
}

.demo {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.86fr);
  align-items: center;
  gap: 40px;
  padding: 76px;
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(59, 130, 246, 0.14), transparent 48%),
    var(--surface);
}

.tap-animation {
  position: relative;
  display: grid;
  min-height: 440px;
  place-items: center;
  perspective: 1400px;
}

.tap-animation-card {
  position: absolute;
  top: 168px;
  left: 3%;
  z-index: 4;
  width: min(46vw, 220px);
  aspect-ratio: 1.58 / 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 30%),
    linear-gradient(320deg, rgba(59, 130, 246, 0.18), transparent 42%),
    #101318;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.4);
  transform: translate3d(0, 0, 32px) rotateX(10deg) rotateZ(-12deg);
  animation: tapCardMove 4.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.tap-animation-card .card-logo {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 78px;
  height: auto;
  object-fit: contain;
  opacity: 0.94;
}

.tap-animation-phone {
  position: relative;
  z-index: 2;
  width: min(72vw, 236px);
}

.iphone-frame {
  position: relative;
  aspect-ratio: 9 / 19.4;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 42px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.26), transparent 15%),
    linear-gradient(320deg, rgba(96, 165, 250, 0.28), transparent 24%),
    #05070a;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 38px 90px rgba(0, 0, 0, 0.52);
}

.iphone-button {
  position: absolute;
  width: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
}

.iphone-button-left {
  top: 112px;
  left: -3px;
  height: 54px;
}

.iphone-button-right {
  top: 146px;
  right: -3px;
  height: 72px;
}

.iphone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 34px;
  background:
    radial-gradient(circle at 30% 18%, rgba(96, 165, 250, 0.34), transparent 30%),
    linear-gradient(180deg, #10141d, #07090d 64%);
}

.dynamic-island {
  position: absolute;
  top: 11px;
  left: 50%;
  z-index: 6;
  width: 76px;
  height: 23px;
  border-radius: 999px;
  background: #020305;
  transform: translateX(-50%);
}

.phone-status {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  padding: 14px 24px 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.58rem;
  font-weight: 850;
}

.phone-wallpaper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 74px 22px 0;
  opacity: 0.4;
  animation: wallpaperDim 4.2s ease-in-out infinite;
}

.phone-wallpaper span {
  aspect-ratio: 1;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.tap-notification,
.phone-page-preview {
  position: absolute;
  left: 14px;
  right: 14px;
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(21, 25, 34, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.28);
}

.tap-notification {
  top: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 10px;
  border-radius: 20px;
  opacity: 0;
  transform: translateY(-16px) scale(0.97);
  animation: notificationReveal 4.2s ease-in-out infinite;
}

.notification-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  background: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
}

.tap-notification strong,
.phone-page-preview strong {
  display: block;
  font-size: 0.66rem;
  line-height: 1.1;
}

.tap-notification p,
.phone-page-preview p {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.56rem;
  line-height: 1.2;
}

.phone-page-preview {
  bottom: 18px;
  min-height: 168px;
  padding: 18px;
  border-radius: 24px;
  opacity: 0;
  transform: translateY(18px);
  animation: pagePreviewReveal 4.2s ease-in-out infinite;
}

.page-avatar {
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.4), transparent),
    var(--accent);
}

.phone-page-preview span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 34px;
  margin-top: 14px;
  border-radius: 10px;
  background: var(--accent);
  font-size: 0.62rem;
  font-weight: 850;
}

.tap-wave {
  position: absolute;
  top: 186px;
  left: 40%;
  z-index: 3;
  width: 84px;
  aspect-ratio: 1;
  border: 1px solid rgba(96, 165, 250, 0.42);
  border-radius: 50%;
  opacity: 0;
  animation: tapWave 4.2s ease-out infinite;
}

.tap-wave-two {
  animation-delay: 0.16s;
}

@keyframes tapCardMove {
  0%, 100% {
    transform: translate3d(0, 0, 32px) rotateX(10deg) rotateZ(-12deg);
  }

  34%, 46% {
    transform: translate3d(132px, 18px, 34px) rotateX(6deg) rotateZ(-4deg);
  }

  58%, 72% {
    transform: translate3d(132px, 18px, 34px) rotateX(6deg) rotateZ(-4deg);
  }
}

@keyframes tapWave {
  0%, 33% {
    opacity: 0;
    transform: scale(0.35);
  }

  43% {
    opacity: 1;
  }

  62%, 100% {
    opacity: 0;
    transform: scale(1.55);
  }
}

@keyframes notificationReveal {
  0%, 36% {
    opacity: 0;
    transform: translateY(-16px) scale(0.97);
  }

  46%, 70% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  82%, 100% {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }
}

@keyframes pagePreviewReveal {
  0%, 48% {
    opacity: 0;
    transform: translateY(18px);
  }

  62%, 86% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}

@keyframes wallpaperDim {
  0%, 40%, 100% {
    opacity: 0.4;
  }

  56%, 86% {
    opacity: 0.16;
  }
}

.steps h2,
.faq h2 {
  margin-bottom: 26px;
}

.step-grid,
.upgrade-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.steps article,
.upgrade-grid article {
  padding: 26px;
}

.steps article span {
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 900;
}

h3 {
  margin: 20px 0 0;
  font-size: 1.25rem;
  line-height: 1.16;
}

.steps article p,
.upgrade-grid p {
  margin: 12px 0 0;
  line-height: 1.58;
}

.upgrade-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--accent-strong);
  font-size: 0.86rem;
  font-weight: 850;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 30px;
}

.app-grid-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tier-library {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.tier-library article {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  padding: 26px;
}

.tier-highlight {
  border-color: rgba(96, 165, 250, 0.26) !important;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.13), rgba(255, 255, 255, 0.035)) !important;
}

.tier-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tier-top p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.tier-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.link-dot {
  background: var(--success);
}

.flow-dot {
  background: var(--accent-strong);
}

.action-dot {
  background: var(--danger);
}

.tier-library h3 {
  margin-top: 28px;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
}

.tier-copy {
  min-height: 52px;
  margin: 12px 0 20px;
  line-height: 1.55;
}

.tier-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tier-tags span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
}

.tier-library .text-link,
.upgrade-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: var(--radius);
  background: rgba(59, 130, 246, 0.1);
  box-shadow: inset 0 0 28px rgba(59, 130, 246, 0.08);
}

.tier-library .text-link {
  margin-top: auto;
}

.tier-window {
  margin: 2px 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  background: rgba(5, 7, 10, 0.34);
  overflow: hidden;
}

.tier-window-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--accent-strong);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.tier-window-toggle::after {
  content: "+";
  color: var(--text);
  font-size: 1rem;
  transition: transform 180ms ease;
}

.tier-window.is-open .tier-window-toggle::after {
  transform: rotate(45deg);
}

.tier-window-panel {
  display: grid;
  grid-template-columns: 1fr;
  max-height: 0;
  overflow: hidden;
  transition: max-height 320ms ease;
}

.tier-window.is-open .tier-window-panel {
  max-height: 360px;
  overflow-y: auto;
}

.tier-window-panel span {
  min-height: 34px;
  padding: 9px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.tier-window-panel span:nth-child(2n) {
  background: rgba(255, 255, 255, 0.025);
}

.action-inquiry,
.upgrade-link {
  transition: transform 180ms ease;
}

.testimonial-box {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(96, 165, 250, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    #11151d;
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.38);
}

.testimonial-heading {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(240px, 0.42fr);
  align-items: end;
  gap: 34px;
  margin-bottom: 32px;
}

.testimonial-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.testimonial-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.testimonial-grid article {
  min-height: 250px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  background: rgba(9, 11, 15, 0.72);
  backdrop-filter: blur(10px);
}

.testimonial-grid article:nth-child(1),
.testimonial-grid article:nth-child(2) {
  grid-column: span 3;
}

.testimonial-grid article:nth-child(n + 3) {
  grid-column: span 2;
}

.stars {
  color: var(--accent-strong);
  font-size: 0.98rem;
  letter-spacing: 0.06em;
}

.testimonial-grid p {
  margin: 22px 0 0;
  color: var(--text);
  font-size: clamp(1.02rem, 1.5vw, 1.24rem);
  font-weight: 750;
  line-height: 1.42;
}

.testimonial-person {
  display: grid;
  gap: 5px;
  margin-top: 22px;
}

.testimonial-person strong {
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 900;
}

.testimonial-person span {
  color: var(--muted-2);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.floating-card {
  position: absolute;
  z-index: 1;
  width: 230px;
  aspect-ratio: 1.58 / 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), transparent 30%),
    linear-gradient(320deg, rgba(59, 130, 246, 0.16), transparent 42%),
    #0b0e14;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
  opacity: 0.55;
  pointer-events: none;
}

.floating-card .card-logo {
  position: absolute;
  top: 18px;
  left: 20px;
  width: 92px;
  height: auto;
  object-fit: contain;
}

.floating-card-one {
  top: 38px;
  right: 7%;
  transform: rotate(-12deg);
}

.floating-card-two {
  bottom: -38px;
  left: 4%;
  transform: rotate(9deg);
}

.floating-card-three {
  right: -42px;
  bottom: 18%;
  transform: rotate(14deg);
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

details {
  padding: 20px 22px;
}

summary {
  cursor: pointer;
  font-weight: 850;
}

details p {
  margin: 12px 0 0;
  line-height: 1.55;
}

.upgrades {
  border-top: 1px solid var(--line);
}

.upgrade-grid article {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  opacity: 1;
}

.upgrade-grid h3 {
  margin-top: 0;
  color: var(--accent-strong);
  letter-spacing: 0.08em;
}

.upgrade-grid .upgrade-link {
  width: 100%;
  margin-top: auto;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 86px 0;
}

.final-cta h2 {
  max-width: 720px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 32px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 800;
}

.checkout-modal[hidden] {
  display: none;
}

.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  padding: 18px;
  place-items: center;
}

.checkout-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
}

.checkout-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  max-height: min(92svh, 780px);
  overflow-y: auto;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.14), transparent 36%),
    #0b0d12;
  box-shadow: 0 38px 110px rgba(0, 0, 0, 0.58);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.modal-kicker {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.checkout-panel h2 {
  font-size: clamp(2rem, 5vw, 3.1rem);
}

.modal-copy {
  margin: 12px 0 22px;
  line-height: 1.5;
}

.checkout-panel label {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.checkout-panel label span {
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 850;
}

.checkout-panel input,
.checkout-panel select,
.checkout-panel textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font: inherit;
  font-size: 0.96rem;
  outline: none;
}

.checkout-panel input,
.checkout-panel select {
  min-height: 48px;
  padding: 0 14px;
}

.checkout-panel textarea {
  min-height: 112px;
  padding: 14px;
  resize: vertical;
}

.checkout-panel input:focus,
.checkout-panel select:focus,
.checkout-panel textarea:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.22);
}

.checkout-submit {
  width: 100%;
  margin-top: 22px;
}

.checkout-note {
  margin: 14px 0 0;
  color: var(--muted-2);
  font-size: 0.78rem;
  line-height: 1.45;
}

.checkout-missing {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  max-width: 330px;
  padding: 14px 16px;
  border: 1px solid rgba(248, 113, 113, 0.28);
  border-radius: var(--radius);
  background: #181016;
  color: #fecaca;
  box-shadow: var(--shadow);
  font-size: 0.86rem;
  line-height: 1.42;
}

@media (max-width: 860px) {
  .site-header {
    width: min(100% - 24px, var(--max));
    height: 64px;
  }

  .brand span {
    font-size: 0.72rem;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: auto;
    padding: 42px 0 38px;
  }

  .hero-copy h1 {
    font-size: clamp(3.3rem, 17vw, 5.2rem);
  }

  .hero-copy p {
    margin-top: 22px;
  }

  .product-stage {
    min-height: 410px;
    overflow: hidden;
  }

  .tap-card-main {
    width: min(82vw, 360px);
  }

  .tap-ring {
    width: 86vw;
  }

  .trust-strip {
    justify-content: flex-start;
    width: min(100% - 24px, var(--max));
    padding-bottom: 34px;
  }

  .section-shell {
    width: min(100% - 24px, var(--max));
  }

  .compact {
    padding: 66px 0;
  }

  .intro,
  .demo,
  .section-heading,
  .final-cta {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .intro {
    display: grid;
  }

  .mini-demo {
    width: 100%;
    justify-content: space-between;
  }

  .use-cases,
  .tier-library,
  .step-grid,
  .upgrade-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .use-cases {
    padding: 34px 0 70px;
  }

  .use-case {
    min-height: 280px;
    padding: 24px;
  }

  .demo {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 30px 20px;
  }

  .tap-animation {
    width: 100%;
    min-height: 430px;
  }

  .tap-animation-card {
    left: max(0px, calc(50% - 172px));
    width: min(48vw, 176px);
  }

  .tap-animation-phone {
    width: min(68vw, 224px);
  }

  .tap-wave {
    left: calc(50% - 8px);
  }

  .testimonial-heading,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-box {
    padding: 28px;
  }

  .testimonial-grid article {
    min-height: 220px;
  }

  .testimonial-grid article,
  .testimonial-grid article:nth-child(1),
  .testimonial-grid article:nth-child(2),
  .testimonial-grid article:nth-child(n + 3) {
    grid-column: auto;
  }

  .floating-card {
    opacity: 0.32;
  }

  .final-cta {
    display: grid;
    padding: 64px 0;
  }

  .site-footer {
    width: min(100% - 24px, var(--max));
  }
}

@media (max-width: 460px) {
  .site-header .button-small {
    width: auto;
    flex: 0 0 auto;
    padding: 0 10px;
    font-size: 0.72rem;
  }

  .brand {
    flex: 0 0 auto;
  }

  .brand img {
    width: 98px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .final-cta .button,
  .button-ghost {
    width: 100%;
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .mini-demo i {
    width: 20px;
  }

  .tap-animation {
    min-height: 382px;
  }

  .tap-animation-card {
    top: 164px;
    left: 0;
    width: 142px;
  }

  .tap-animation-phone {
    width: min(70vw, 190px);
  }

  .tap-wave {
    top: 176px;
    left: 40%;
    width: 70px;
  }

  .trust-strip span,
  .app-grid-list span {
    width: 100%;
  }

  .site-footer {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }
}

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

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

  .tap-card-main {
    transform: rotateX(58deg) rotateZ(-18deg) translateY(12px);
  }

  .tap-animation-card {
    transform: translate3d(126px, 18px, 34px) rotateX(6deg) rotateZ(-4deg);
  }

  .tap-notification,
  .phone-page-preview {
    opacity: 1;
    transform: none;
  }
}
