html { 
    scroll-behavior: smooth; 
  overflow-x: hidden;
}
body { 
    font-family: 'Inter', sans-serif; 
    letter-spacing: -0.01em;
  overflow-x: hidden;
}

/* ─── Design language: Inter H1 · Instrument Serif sub-heads ─── */
.font-serif {
    font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
    font-weight: 400;
    letter-spacing: 0;
}
.serif-sub {
    font-family: 'Instrument Serif', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0.005em;
    line-height: 1.15;
}
.serif-eyebrow {
    font-family: 'Instrument Serif', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0.02em;
}
/* Fluid, mobile-first display sizes (height-aware so laptop viewports don't blow up) */
.display-1 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.02;
    font-size: clamp(2.2rem, min(7.4vw, 8.2svh), 5.25rem);
}
.display-2 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.06;
    font-size: clamp(1.85rem, min(5.5vw, 6.5svh), 3.5rem);
}

/* ─── "Written" word-by-word reveal ─── */
.word-reveal .word {
    display: inline-block;
    white-space: pre;
    opacity: 0;
    transform: translateY(0.45em) rotate(2.5deg);
    filter: blur(8px);
    transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1),
                transform 0.75s cubic-bezier(0.16,1,0.3,1),
                filter 0.6s ease;
}
.word-reveal.active .word {
    opacity: 1;
    transform: none;
    filter: blur(0);
}
@media (prefers-reduced-motion: reduce) {
    .word-reveal .word {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }
}

/* ─── Hero parallax scene ─── */
.hero-video-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100svh;
  z-index: 40;
}
.hero-video-scroll {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.hero-video-scroll video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Mobile 0% → desktop 30% (calc(length * %) is invalid — use stepped media) */
  --hero-video-y: 0%;
  object-position: center var(--hero-video-y);
}
@media (min-width: 769px) {
  .hero-video-scroll video {
    --hero-video-y: 0%;
  }
}
@media (min-width: 1024px) {
  .hero-video-scroll video {
    --hero-video-y: 12%;
  }
}
@media (min-width: 1280px) {
  .hero-video-scroll video {
    --hero-video-y: 20%;
  }
}
.hero-scene {
  position: relative;
  min-height: 100svh;
  background: transparent;
  z-index: 2;
  overflow: hidden;
}
.hero-section-fade {
  --hero-fade-rgb: 255 255 255;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(220px, 26vw, 360px);
  background:
    linear-gradient(
      180deg,
      rgb(var(--hero-fade-rgb) / 0) 0%,
      rgb(var(--hero-fade-rgb) / 0.08) 22%,
      rgb(var(--hero-fade-rgb) / 0.42) 48%,
      rgb(var(--hero-fade-rgb) / 0.82) 68%,
      rgb(var(--hero-fade-rgb)) 86%,
      rgb(var(--hero-fade-rgb)) 100%
    );
  transform-origin: center bottom;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}
.hero-content-wrap {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  position: relative;
  z-index: 2;
  min-height: 100svh;
  padding-top: clamp(64px, 6.5svh, 88px);
  padding-bottom: clamp(12px, 2svh, 24px);
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
}
.hero-copy {
  position: relative;
  z-index: 20;
  flex: 0 0 auto;
  min-height: 0;
  margin-top: clamp(2.5rem, 6.5svh, 10vh);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.hero-copy .serif-eyebrow {
  margin-bottom: clamp(1rem, 2.8svh, 2rem);
}
.hero-eyebrow {
  font-size: clamp(1.05rem, min(1.7vw, 2svh), 1.25rem);
  line-height: 1.2;
}
.hero-subline {
  margin: clamp(0.75rem, 2svh, 1.125rem) 0 0;
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.0625rem, min(1.65vw, 1.9svh), 1.3125rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.015em;
  text-wrap: balance;
  text-align: center;
  color: rgba(255, 255, 255, 0.82);
}
.hero-intro-word {
  display: inline-block;
  will-change: transform, opacity;
}
.hero-trust {
  margin-top: clamp(0.75rem, 2svh, 1.25rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  max-width: 36rem;
}
.hero-trust-primary {
  margin: 0;
  font-size: clamp(12px, 1.2vw, 13px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.92);
}
.hero-trust-secondary {
  margin: clamp(0.65rem, 1.4svh, 0.9rem) 0 0;
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.68);
}
.parallax-layer { will-change: transform; }
.hero-sun {
    position: absolute;
  top: -10%;
    left: 50%;
  width: min(980px, 110vw);
    aspect-ratio: 1;
    transform: translateX(-50%);
  background: radial-gradient(circle, rgba(141,197,255,0.72) 0%, rgba(117,186,255,0.4) 42%, rgba(117,186,255,0) 72%);
    pointer-events: none;
  z-index: 6;
}
.hero-mtn {
    position: absolute;
    left: -2%;
    right: -2%;
    width: 104%;
    bottom: 0;
    pointer-events: none;
    user-select: none;
}
.hero-mtn img { display: block; width: 100%; height: auto; }
.hero-mtn-back img { transform: translateY(14%); }
.hero-mtn-front img { transform: translateY(10%); }
.hero-mtn-back  { z-index: 12; bottom: -16%; opacity: 0.92; width: 112%; left: -6%; }
.hero-mtn-front { z-index: 30; bottom: -18%; }
.hero-device {
    position: relative;
  z-index: 62;
    margin-left: auto;
    margin-right: auto;
}
.hero-bottom-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(190px, 24vw, 320px);
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.18) 52%, rgba(255,255,255,0.82) 80%, #ffffff 100%);
  pointer-events: none;
  z-index: 52;
}
.hero-bottom-white {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(86px, 10vw, 150px);
  background: #ffffff;
  box-shadow: 0 -18px 34px rgba(255, 255, 255, 0.72);
  pointer-events: none;
  z-index: 53;
}

/* ─── Uniform featured-badge marquee ─── */
.badge-marquee {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.badge-track {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 20px;
    animation: badge-scroll 70s linear infinite;
}
.badge-marquee:hover .badge-track { animation-play-state: paused; }
@keyframes badge-scroll {
    from { transform: translate3d(0,0,0); }
    to   { transform: translate3d(-50%,0,0); }
}
.badge-item {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 64px;
    padding: 0 26px;
    border-radius: 16px;
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 6px 22px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.badge-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.09);
}
.badge-item img {
    height: 30px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
}
@media (prefers-reduced-motion: reduce) {
    .badge-track { animation: none; }
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Glass & UI Elements */
.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.glass-nav {
    background: rgba(12, 12, 12, 0.7);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.glass-nav-light {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.site-nav {
  background: transparent;
  border-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-nav .nav-link {
  color: rgba(0, 0, 0, 0.72);
}
.site-nav .nav-link:hover {
  color: rgba(0, 0, 0, 0.95);
}
.site-nav.is-solid {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(0, 0, 0, 0.05);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.site-nav.is-solid .nav-link {
  color: #6E6E73;
}
.site-nav.is-solid .nav-link:hover {
  color: #1D1D1F;
}
.kbd-key {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 2px 6px;
    font-size: 13px;
    color: #F5F5F7;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.mbp-frame {
    filter: drop-shadow(0 32px 64px rgba(0,0,0,0.18));
}

@keyframes logo-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}
.logo-float-anim {
    animation: logo-float 8s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
    .logo-float-anim {
        animation: none;
    }
}

.cta-animated-border {
    position: relative;
    display: inline-flex;
    border-radius: 9999px;
    padding: 2px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(10, 132, 255, 0.55), rgba(90, 200, 250, 0.35), rgba(10, 132, 255, 0.55));
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cta-animated-border::before {
    content: '';
    position: absolute;
    inset: -120%;
    background: conic-gradient(
        from 0deg,
        #0A84FF,
        #5AC8FA,
        #64D2FF,
        #0A84FF,
        #5AC8FA,
        #0A84FF
    );
    opacity: 0;
    transition: opacity 0.35s ease;
}
.cta-animated-border:hover {
    transform: scale(1.04);
    box-shadow: 0 0 40px rgba(10, 132, 255, 0.35);
}
.cta-animated-border:hover::before {
    opacity: 1;
    animation: cta-border-spin 2.2s linear infinite;
}
@keyframes cta-border-spin {
    to { transform: rotate(360deg); }
}
.cta-animated-border-inner {
    position: relative;
    z-index: 1;
    border-radius: 9999px;
    padding: 18px 40px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(145deg, rgba(28, 28, 30, 0.96) 0%, rgba(12, 12, 12, 0.98) 100%);
    transition: background 0.35s ease;
}
.cta-animated-border:hover .cta-animated-border-inner {
    background: linear-gradient(145deg, rgba(16, 52, 96, 0.92) 0%, rgba(12, 12, 12, 0.98) 55%, rgba(20, 40, 72, 0.9) 100%);
}
@media (prefers-reduced-motion: reduce) {
    .cta-animated-border:hover::before {
        animation: none;
        opacity: 1;
    }
    .cta-animated-border:hover {
        transform: none;
    }
}

/* 1:1 Apple Style Cards */
.perspective-container {
    perspective: 1200px;
}
.macos-card {
    background-color: #1C1C1E;
    border-radius: 24px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 340px;
    height: 360px;
    position: absolute;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease;
}
.macos-card-header {
    padding: 16px 20px;
    position: relative;
    height: 96px;
    flex-shrink: 0;
}
.macos-card-header.blue {
    background-color: #1A5EB8;
}
.macos-card-header.dark {
    background-color: #2C2C2E;
}
.macos-card-icon {
    position: absolute;
    top: 0;
    right: 0;
    width: 76px;
    height: 76px;
    background: white;
    border-bottom-left-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.macos-card-icon img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}
.macos-card-body {
    padding: 28px 24px;
    flex: 1;
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.5;
    background-color: #1C1C1E;
}
.macos-card-pill {
    background-color: #0C0C0C;
    padding: 8px 18px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    letter-spacing: 0.02em;
}

/* Card Stacking Fanned Layout */
.card-1 { 
    transform: rotate(-6deg) translate(-40px, 30px) scale(0.9); 
    z-index: 10; 
    opacity: 0.5; 
}
.card-2 { 
    transform: rotate(-3deg) translate(-20px, 15px) scale(0.95); 
    z-index: 20; 
    opacity: 0.8; 
}
.card-3 { 
    transform: rotate(0deg) translate(0, 0) scale(1); 
    z-index: 30; 
}

.perspective-container:hover .card-1 { 
    transform: rotate(-10deg) translate(-80px, 40px) scale(0.9); 
    opacity: 0.7;
}
.perspective-container:hover .card-2 { 
    transform: rotate(-5deg) translate(-40px, 20px) scale(0.95); 
    opacity: 0.9;
}
.perspective-container:hover .card-3 { 
    transform: translateY(-10px) scale(1.02); 
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8);
}

/* Hide scrollbar for Apple style horizontal scroll */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

#features {
  position: relative;
  isolation: isolate;
}
.features-headline-wrap {
  overflow-x: clip;
  padding-top: clamp(7rem, 20vh, 14rem);
  padding-bottom: clamp(7rem, 20vh, 14rem);
}
.features-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 0 1.25rem;
}
.features-scroll-logo {
  width: 128px;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}
.features-wordmark-slot {
  overflow: hidden;
  width: 0;
  z-index: 1;
  margin-left: -28px; /* tucked under logo until reveal */
}
.features-scroll-wordmark {
  height: clamp(36px, 5vw, 56px);
  width: auto;
  max-width: none;
  display: block;
  padding-left: calc(28px + 0.65rem); /* undo tuck + gap */
  box-sizing: content-box;
}
.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  border-radius: 9999px;
  padding: 0.5rem 0.75rem;
  transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
}
@media (min-width: 768px) {
  .nav-btn {
    font-size: 0.875rem;
    padding: 0.5rem 1.25rem;
  }
}
.nav-btn--download {
  color: #fff;
  background: #000;
  border: 1px solid #000;
}
.nav-btn--download:hover {
  transform: scale(1.05);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}
.nav-btn--deal {
  color: #fff;
  background: #0A84FF;
  border: 1px solid transparent;
}
.nav-btn--deal:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(10, 132, 255, 0.35);
}
.nav-btn-apple {
  font-size: 14px;
  line-height: 1;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .nav-btn-apple {
    font-size: 16px;
  }
}
.features-headline {
  display: inline-block;
  max-width: none;
  white-space: nowrap;
  text-align: center;
  font-size: clamp(0.875rem, 3.2vw, 3.5rem);
  letter-spacing: -0.04em;
  background: linear-gradient(100deg, #4da8ff 0%, #0A84FF 38%, #005ecb 78%, #1d1d1f 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.features-list {
  display: flex;
  flex-direction: column;
  gap: clamp(5rem, 18vh, 9rem);
  padding-top: clamp(2rem, 6vh, 4rem);
}
.feature-step {
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-step:last-child {
  padding-bottom: clamp(4rem, 10vh, 6rem);
}
.features-list--static .feature-step {
  min-height: auto;
  padding: 0;
}
.features-list--static .feature-step + .feature-step {
  margin-top: clamp(5rem, 30vh, 10rem);
}
.features-list--static .feature-step:last-child {
  padding-bottom: clamp(4rem, 10vh, 6rem);
}
.feature-card {
  background: #fff;
  display: grid;
  border-radius: 3rem;
  overflow: hidden;
  width: 100%;
}
.feature-card-inner {
  display: grid;
  border-radius: 3rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
}
.feature-card--reverse .feature-tile-media {
  order: 2;
}
.feature-card--reverse .feature-copy {
  order: 1;
  text-align: right;
}
.feature-tile-media {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  z-index: 1;
}
.feature-tile-media img {
  width: 100%;
  max-width: min(280px, 100%);
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transform-origin: center center;
  will-change: transform;
}
.feature-copy {
  max-width: none;
}
.feature-copy-left {
  text-align: left;
}
.feature-copy-right {
  text-align: right;
}
.feature-kicker {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0A84FF;
}
.feature-title {
  margin-bottom: 0.75rem;
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #1d1d1f;
}
.feature-body {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: rgba(0, 0, 0, 0.55);
}

.feature-tile-media--privacy {
  min-height: clamp(220px, 32vw, 320px);
}
.privacy-lock-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(280px, 100%);
  aspect-ratio: 6 / 7;
}
.privacy-lock-glow {
  position: absolute;
  inset: 12% 8% 4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.28) 0%, rgba(10, 132, 255, 0) 72%);
  filter: blur(18px);
  pointer-events: none;
}
.privacy-lock-icon {
  position: relative;
  z-index: 1;
  width: 72%;
  height: auto;
  filter: drop-shadow(0 18px 36px rgba(10, 132, 255, 0.22));
}
.privacy-lock-shield {
  transform-origin: 60px 70px;
}
.privacy-scramble-title {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  letter-spacing: 0.04em;
  color: rgba(0, 0, 0, 0.78);
  white-space: nowrap;
}

.hero-shell-anchor {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 10;
  min-height: 0;
  padding-bottom: 0;
  overflow: visible;
}
.hero-macbook-layer {
  /* Frame asset is 4260×2840 (3:2). Cap by width AND height so short
     laptop viewports (e.g. 16" MBP ~1728×1117) don't overflow the stage. */
  --hero-macbook-max-w: 1624px;
  --hero-macbook-aspect: 1.5;
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(
    var(--hero-macbook-max-w),
    108vw,
    calc(76svh * var(--hero-macbook-aspect))
  );
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}
.hero-card-shell {
  --hero-card-gutter: clamp(12px, 1.6vw, 24px);
  --hero-card-radius: 22px;
  --hero-card-pad-y: clamp(12px, 1.6vw, 18px);
  --hero-card-row-pad: 12px;
  --hero-clip-size: clamp(156px, min(16vw, 18svh), 220px);
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  transform-origin: center bottom;
  width: calc(100vw - var(--hero-card-gutter));
  max-width: none;
  margin-left: calc(50% - 50vw + (var(--hero-card-gutter) / 2));
  margin-right: calc(50% - 50vw + (var(--hero-card-gutter) / 2));
  border-radius: var(--hero-card-radius);
  padding: var(--hero-card-pad-y) 0;
  background: transparent;
  border: 1px solid rgba(220, 234, 255, 0.28);
  box-shadow: 0 24px 44px rgba(5, 10, 24, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.26);
  overflow: visible;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition: none;
}
.hero-card-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 20% -12%, rgba(160, 225, 255, 0.26), rgba(160, 225, 255, 0.05) 42%, transparent 72%),
    linear-gradient(160deg, rgba(16, 22, 34, 0.54) 0%, rgba(9, 13, 22, 0.5) 100%);
  backdrop-filter: blur(30px) saturate(170%);
  -webkit-backdrop-filter: blur(30px) saturate(170%);
  pointer-events: none;
}
.hero-card-shell-content {
  position: relative;
  z-index: 2;
  width: 100%;
  overflow-x: hidden;
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
  transform-origin: top center;
  will-change: transform;
}
.hero-card-arrow {
  position: absolute;
  z-index: 30;
  /* Tip centered on first clip card — fixed to shell, not getBoundingClientRect */
  left: calc(var(--hero-card-row-pad) + (var(--hero-clip-size) / 2));
  bottom: calc(var(--hero-card-pad-y) + 4px + var(--hero-clip-size) + 6px);
  transform: translateX(-20%) rotate(40deg);
  width: clamp(36px, 3.6vw, 47px);
  height: auto;
  color: #f4f5f7;
  filter: drop-shadow(0 6px 14px rgba(5, 10, 24, 0.35));
  pointer-events: none;
  opacity: 0;
  overflow: visible;
}
.hero-morph-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
  filter: drop-shadow(0 30px 56px rgba(9, 21, 40, 0.18));
  will-change: transform, opacity;
  transform-origin: 50% 85%;
}
/* Screen hole in m5frame-light.png — percentages of the MacBook frame */
.hero-morph-screen,
#hero-morph-screen-target {
  position: absolute;
  left: 9.44%;
  top: 10.52%;
  right: 9.44%;
  bottom: 10.67%;
  border-radius: 4px;
  overflow: hidden;
  background-image: url('../assets/ventura.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: auto;
  z-index: 5;
  user-select: text;
  -webkit-user-select: text;
}
@media (prefers-reduced-motion: reduce) {
  .hero-morph-frame {
    opacity: 1 !important;
    transform: none !important;
    filter: drop-shadow(0 30px 56px rgba(9, 21, 40, 0.18)) !important;
  }
}
.hero-card-shell::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  height: 84px;
  border-radius: 0 0 var(--hero-card-radius) var(--hero-card-radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(22, 29, 44, 0.2) 75%, rgba(12, 18, 30, 0.34) 100%);
  pointer-events: none;
}
#hero-card-shell {
  z-index: 50 !important;
  transform-origin: center bottom;
}
#hero-card-shell.is-hero-pinned {
  left: calc(var(--hero-card-gutter) / 2) !important;
  right: auto !important;
  width: calc(100vw - var(--hero-card-gutter)) !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.hero-card-toolbar {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  justify-content: center;
  margin-bottom: 12px;
}
.hero-card-search {
  width: min(clamp(220px, 32vw, 340px), calc(100% - 24px));
  margin-left: auto;
  margin-right: auto;
  height: clamp(34px, 4.4vw, 40px);
  border-radius: 9999px;
  padding: 0 clamp(14px, 1.6vw, 18px);
  display: flex;
  align-items: center;
  gap: clamp(8px, 0.9vw, 10px);
  background: rgba(196, 200, 208, 0.2);
  backdrop-filter: blur(14px) saturate(125%);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.hero-card-search .material-symbols-outlined {
  color: rgba(220, 224, 232, 0.68);
  font-size: clamp(15px, 2vw, 18px);
  font-variation-settings: 'wght' 300;
}
.hero-card-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: rgba(232, 234, 240, 0.92);
  font-size: clamp(13px, 1.5vw, 14px);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.hero-card-search input::placeholder {
  color: rgba(210, 214, 222, 0.62);
}
.hero-card-row {
  display: flex;
  justify-content: flex-start;
  gap: clamp(10px, 1vw, 14px);
  overflow-x: auto;
  padding-left: var(--hero-card-row-pad);
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
  overflow: visible;
  min-height: var(--hero-clip-size);
}
.hero-card-row::-webkit-scrollbar {
  display: none;
}
.hero-clip-card {
  --hero-card-header-height: 44px;
  flex: 0 0 var(--hero-clip-size);
  width: var(--hero-clip-size);
  height: var(--hero-clip-size);
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: #121723;
  box-shadow: none;
  scroll-snap-align: start;
}
.hero-clip-head {
  height: var(--hero-card-header-height);
  padding: 8px 12px 6px;
  position: relative;
  text-align: left;
}
.hero-clip-head.purple { background: linear-gradient(130deg, #8774f8 0%, #5551f2 100%); }
.hero-clip-head.cyan { background: linear-gradient(130deg, #56c7dc 0%, #21a6bf 100%); }
.hero-clip-head.teal { background: linear-gradient(130deg, #5fbece 0%, #4d97c8 100%); }
.hero-clip-head.sky { background: linear-gradient(130deg, #82b7ff 0%, #4f90ed 100%); }
.hero-clip-head.lime { background: linear-gradient(130deg, #8bcf75 0%, #64b15e 100%); }
.hero-clip-head.rose { background: linear-gradient(130deg, #f190b7 0%, #d970a2 100%); }
.hero-clip-title {
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 0.8;
  font-weight: 750;
  letter-spacing: -0.03em;
  text-align: left;
}
.hero-clip-time {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-align: left;
}
.hero-clip-app {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 54px;
  height: 54px;
  border-bottom-left-radius: 16px;
  border-top-left-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  display: grid;
  place-items: center;
  box-shadow: -4px 6px 14px rgba(0, 0, 0, 0.2);
}
.hero-clip-app img {
  width: 38px;
  height: 38px;
  margin-bottom: 4px;
  object-fit: contain;
}
.hero-clip-content {
  height: calc(100% - var(--hero-card-header-height));
  background: linear-gradient(155deg, #1d1f29 0%, #101117 100%);
  padding: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 550;
  font-size: 13px;
  line-height: 1.42;
  letter-spacing: -0.01em;
  position: relative;
  text-align: left;
}
.hero-clip-card.is-text .hero-clip-content {
  padding: 12px;
}
.hero-clip-text {
  margin: 0;
  white-space: pre-line;
  overflow: hidden;
}
.hero-clip-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(118%) contrast(104%);
}
.hero-clip-card.is-link .hero-clip-image {
  filter: none;
}
.hero-clip-card.is-link .hero-clip-link-url {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  margin: 0;
  padding: 10px 12px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.88));
  border-top: 0.5px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  word-break: break-all;
}
.hero-clip-card.is-link .hero-clip-pill {
  display: none;
}
.hero-clip-pill {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 9999px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.01em;
  white-space: nowrap;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}
.hero-clip-index {
  display: none;
}
.hero-main-heading {
  position: relative;
  display: inline-block;
  color: #fff !important;
}
.hero-main-heading-text {
  position: relative;
  z-index: 3;
  color: #fff !important;
  opacity: 1;
  line-height: 1.17;
}
.hero-selection-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.hero-selection-pointer-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}
.hero-selection-pointer {
  position: absolute;
  width: clamp(24px, 2.2vw, 32px);
  height: auto;
  transform: translate3d(0, 0, 0);
  transform-origin: center;
  opacity: 0;
  filter: drop-shadow(0 4px 10px rgba(16, 36, 84, 0.28));
  will-change: transform, opacity;
}
.hero-selection-segment {
  position: absolute;
  overflow: visible;
}
.hero-selection-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  opacity: 1;
  border-radius: 0.24em;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.96) 100%);
}
.hero-selection-cursor {
  position: absolute;
  left: 0;
  top: -0.08em;
  width: 2px;
  height: calc(100% + 0.16em);
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.28), 0 0 10px rgba(0, 0, 0, 0.26);
  transform: translateX(0);
  opacity: 0;
}
.hero-clip-card.is-generated {
  border-color: rgba(131, 170, 255, 0.38);
  box-shadow: 0 18px 30px rgba(16, 24, 40, 0.24);
}
.pricing-urgency-badge {
  width: 100%;
  margin-top: 18px;
  margin-bottom: 28px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 246, 248, 0.95) 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94);
  padding: 12px 14px;
  text-align: left;
}
.pricing-urgency-title {
  font-size: 15px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(17, 17, 19, 0.72);
  margin-bottom: 10px;
}
.pricing-urgency-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
}
.pricing-urgency-track {
  height: 8px;
  border-radius: 9999px;
  background: #d6d8dd;
  overflow: hidden;
}
.pricing-urgency-fill {
  display: block;
  height: 100%;
  width: 14%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0A84FF 0%, #53b0ff 100%);
  transform-origin: left center;
}
.pricing-urgency-spots {
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.48);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.plan-toggle-inactive {
  color: #6E6E73;
}
.pricing-shell {
  background: #ffffff;
  border-radius: 34px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: none;
  padding: clamp(28px, 4vw, 44px) clamp(28px, 3.5vw, 44px);
}
#pricing {
  background-color: rgb(245, 245, 247);
}
.pricing-plan-toggle {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 18px;
  padding: 6px;
  max-width: 380px;
  box-shadow: inset 0 1px 1px rgba(15, 23, 42, 0.06);
}
.plan-toggle {
  min-height: 44px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1;
  letter-spacing: -0.01em;
}
.plan-toggle-active {
  background: linear-gradient(180deg, #212125 0%, #141417 100%);
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.pricing-price {
  font-size: clamp(44px, 7vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  font-weight: 760;
  color: #141417;
  margin-bottom: 10px;
  text-wrap: balance;
}
.pricing-price-subtext {
  font-size: clamp(13px, 1.2vw, 15px);
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.55);
  font-weight: 560;
}
.pricing-cta-button {
  background: linear-gradient(180deg, #222226 0%, #141417 100%);
  color: #ffffff;
  border-radius: 16px;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.01em;
  box-shadow: 0 14px 24px rgba(17, 17, 19, 0.26);
}
.pricing-cta-button:hover {
  background: linear-gradient(180deg, #2a2a2f 0%, #1b1b1f 100%);
  transform: translateY(-1px);
  box-shadow: 0 18px 28px rgba(17, 17, 19, 0.3);
}
.pricing-feature-list {
  width: 100%;
  display: grid;
  gap: 10px;
  margin-bottom: clamp(28px, 3vw, 32px);
}
.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 530;
  color: rgba(0, 0, 0, 0.72);
  letter-spacing: -0.01em;
}
.pricing-feature-icon {
  font-size: 20px;
  color: #0A84FF;
}
.pricing-deal-chip {
  margin-bottom: 26px;
  border-radius: 14px;
  border: 1px dashed rgba(10, 132, 255, 0.34);
  background: rgba(10, 132, 255, 0.08);
  padding: 8px 14px;
}
.pricing-footnote {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.5);
  font-weight: 520;
}

/* ─── Mobile only ─── */
@media (max-width: 768px) {
  .hero-content-wrap {
    overflow: visible;
    padding-top: 80px;
    padding-bottom: 12px;
  }
  .hero-copy {
    flex: none;
    margin-top: clamp(4vh, 8svh, 12vh);
  }
  .hero-mtn-back { width: 125%; left: -14%; bottom: -14%; }
  .hero-mtn-front { bottom: -16%; }
  .hero-mtn-back img { transform: translateY(10%); }
  .hero-mtn-front img { transform: translateY(8%); }
  .scene-rocks-transition img {
    width: 108%;
    margin-left: -4%;
  }

  .feature-card-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .feature-tile-media {
    overflow: hidden;
    border-radius: 12px;
    justify-self: stretch;
  }
  .feature-tile-media img {
    max-width: 100%;
    width: 100%;
  }
  .feature-card--reverse .feature-tile-media,
  .feature-card--reverse .feature-copy {
    order: unset;
  }
  .feature-copy-right,
  .feature-card--reverse .feature-copy {
    text-align: left;
  }

  .hero-macbook-layer {
    width: min(140vw, calc(70svh * var(--hero-macbook-aspect)));
    max-width: none;
    filter: drop-shadow(0 18px 34px rgba(9, 21, 40, 0.16));
  }
  .hero-card-shell {
    --hero-card-radius: 18px;
    --hero-card-pad-y: 10px;
    --hero-card-row-pad: 10px;
    --hero-clip-size: clamp(88px, 28vw, 128px);
    padding: var(--hero-card-pad-y) 0;
  }
  .hero-card-toolbar {
    margin-bottom: 8px;
  }
  .hero-card-search {
    width: min(clamp(180px, 58vw, 260px), calc(100% - 16px));
    height: clamp(30px, 8vw, 34px);
    padding: 0 12px 0 13px;
    gap: 7px;
  }
  .hero-card-search .material-symbols-outlined {
    font-size: clamp(15px, 3.5vw, 17px);
  }
  .hero-card-search input {
    font-size: clamp(12px, 2.8vw, 13px);
  }
  .hero-card-row {
    gap: 8px;
  }
  .hero-clip-card {
    --hero-card-header-height: clamp(30px, 8vw, 36px);
    border-radius: 14px;
  }
  .hero-card-shell.is-mobile-docked {
    --hero-card-radius: 10px;
    --hero-card-pad-y: 5px;
    padding: 5px 0 6px;
  }
  .hero-card-shell.is-mobile-docked .hero-card-row {
    display: none;
  }
  .hero-card-shell.is-mobile-docked .hero-card-toolbar {
    margin-bottom: 0;
  }
  .hero-card-shell.is-mobile-docked .hero-card-search {
    height: 30px;
    width: min(160px, calc(100% - 12px));
  }
  .hero-clip-head {
    padding: 5px 8px 3px;
  }
  .hero-clip-title {
    font-size: clamp(13px, 3.5vw, 15px);
  }
  .hero-clip-time {
    margin-top: 2px;
    font-size: clamp(9px, 2.4vw, 10px);
  }
  .hero-clip-app {
    width: clamp(34px, 9vw, 40px);
    height: clamp(34px, 9vw, 40px);
    border-bottom-left-radius: 13px;
  }
  .hero-clip-app img {
    width: 70%;
    height: 70%;
  }
  .hero-clip-content {
    padding: clamp(6px, 2vw, 10px);
    font-size: clamp(10px, 2.6vw, 11px);
    line-height: 1.35;
  }
  .hero-clip-card.is-text .hero-clip-content {
    padding: clamp(6px, 1.8vw, 8px);
  }
  .hero-clip-pill {
    bottom: 10px;
    padding: 4px 9px;
    font-size: 10px;
  }
}
