:root {
  color-scheme: light;
  --page: #f5f5f7;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.1);
  --blue: #0071e3;
  --green: #35c759;
  --orange: #ff9f0a;
  --dark: #050507;
  --dark-2: #141417;
  --white-soft: rgba(255, 255, 255, 0.82);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  overflow-x: hidden;
}

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

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(22, 22, 24, 0.72);
  color: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
}

.brand img {
  display: block;
  border-radius: 7px;
}

.nav-links {
  gap: 26px;
  font-size: 13px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.76);
}

.nav-links a:hover {
  color: #fff;
}

.section-dark {
  background: radial-gradient(circle at 50% 18%, #242428 0, var(--dark-2) 34%, var(--dark) 74%);
  color: #fff;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: 40px;
  min-height: calc(100svh - 52px);
  padding: 82px clamp(24px, 6vw, 92px) 56px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 58%;
  background:
    linear-gradient(110deg, transparent 0%, rgba(0, 113, 227, 0.11) 38%, rgba(53, 199, 89, 0.08) 52%, transparent 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 68%);
  filter: blur(18px);
  opacity: 0.8;
  transform: translate3d(var(--scroll-shift, 0), 0, 0);
  pointer-events: none;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 660px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 19px;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  font-size: clamp(58px, 9vw, 132px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-subtitle {
  margin: 22px 0 0;
  font-size: clamp(29px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-text {
  max-width: 570px;
  margin: 24px 0 0;
  color: var(--white-soft);
  font-size: clamp(18px, 2.1vw, 25px);
  line-height: 1.38;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 600;
}

.button-primary {
  background: var(--blue);
  color: #fff;
}

.button-secondary {
  border: 1px solid currentColor;
  color: var(--blue);
}

.section-dark .button-secondary {
  color: #58a6ff;
}

.hero-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 610px;
  perspective: 1100px;
}

.phone {
  width: min(320px, 78vw);
  aspect-ratio: 0.49;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 46px;
  background: linear-gradient(150deg, #3b3b40, #0a0a0c 42%, #2a2a30);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.58), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: translate3d(var(--parallax-x, 0), var(--parallax-y, 0), 0) rotateX(3deg) rotateY(-7deg);
  transform-style: preserve-3d;
  animation: phoneFloat 7s ease-in-out infinite;
  will-change: transform;
}

.phone-screen {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  height: 100%;
  padding: 22px 16px 18px;
  border-radius: 34px;
  background: linear-gradient(160deg, #101114, #191c20);
  overflow: hidden;
}

.phone-status,
.ai-header {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 700;
}

.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.shortcut-grid span,
.dock-preview span,
.module-board button,
.ai-result-grid span {
  display: grid;
  place-items: center;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 700;
}

.shortcut-grid span,
.dock-preview span {
  animation: controlPulse 5.4s ease-in-out infinite;
}

.shortcut-grid span:nth-child(2),
.dock-preview span:nth-child(2) {
  animation-delay: 0.55s;
}

.shortcut-grid span:nth-child(3),
.dock-preview span:nth-child(3) {
  animation-delay: 1.1s;
}

.shortcut-grid span:nth-child(4) {
  animation-delay: 1.65s;
}

.shortcut-grid span:nth-child(5) {
  animation-delay: 2.2s;
}

.shortcut-grid span:nth-child(6) {
  animation-delay: 2.75s;
}

.trackpad-preview {
  position: relative;
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035));
  overflow: hidden;
}

.trackpad-preview strong {
  color: rgba(255, 255, 255, 0.56);
  font-size: 15px;
}

.track-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 42px rgba(53, 199, 89, 0.86);
  animation: trackDotPath 4.8s cubic-bezier(0.42, 0, 0.2, 1) infinite;
}

.track-dot-secondary {
  width: 9px;
  height: 9px;
  background: #8af1c4;
  opacity: 0.7;
  animation: trackDotPathSecondary 4.8s cubic-bezier(0.42, 0, 0.2, 1) infinite;
}

.gesture-line {
  position: absolute;
  width: 124px;
  height: 2px;
  background: rgba(255, 255, 255, 0.18);
  transform-origin: center;
  animation: gestureFade 4.8s ease-in-out infinite;
}

.gesture-a {
  transform: rotate(-24deg);
}

.gesture-b {
  transform: rotate(34deg) translateY(42px);
  animation-delay: 0.9s;
}

.gesture-c {
  width: 74px;
  transform: rotate(90deg) translateX(32px);
  animation-delay: 1.8s;
}

.dock-preview {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 8px;
}

.device-panel {
  position: absolute;
  display: grid;
  gap: 8px;
  width: 174px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.76);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transform: translate3d(var(--parallax-x, 0), var(--parallax-y, 0), 0);
  animation: panelFloat 6.8s ease-in-out infinite;
  will-change: transform;
}

.device-panel span:not(.panel-title) {
  font-size: 13px;
}

.panel-title {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.panel-ipad {
  right: 5%;
  top: 17%;
}

.panel-mac {
  left: 3%;
  bottom: 16%;
  animation-delay: -2.2s;
}

.signal-ring {
  position: absolute;
  width: 440px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  opacity: 0.8;
  transform: rotateX(68deg) rotateZ(-18deg);
  pointer-events: none;
}

.ring-a {
  animation: ringDrift 9s ease-in-out infinite;
}

.ring-b {
  width: 620px;
  opacity: 0.42;
  animation: ringDrift 12s ease-in-out infinite reverse;
}

.intro,
.download {
  max-width: 980px;
  margin: 0 auto;
  padding: 112px 24px;
  text-align: center;
}

.intro h2,
.feature-copy h2,
.band-heading h2,
.ai-copy h2,
.download h2 {
  margin: 0;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.04;
  letter-spacing: 0;
}

.intro p:not(.section-kicker),
.feature-copy p,
.ai-copy p,
.download p {
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(19px, 2.1vw, 26px);
  line-height: 1.38;
}

.feature-split,
.ai-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  padding: 96px clamp(24px, 6vw, 92px);
}

.feature-copy {
  max-width: 620px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  color: #424245;
  font-size: 18px;
  line-height: 1.42;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
  content: "✓";
}

.wide-visual {
  min-height: 520px;
  border-radius: 8px;
}

.keys-visual {
  position: relative;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #ffffff, #e9eaed);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05), 0 28px 70px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.control-demo {
  position: relative;
  width: min(650px, 92%);
  height: 430px;
}

.control-demo::before {
  position: absolute;
  inset: 16% 9% auto auto;
  width: 66%;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 113, 227, 0), rgba(0, 113, 227, 0.42), rgba(53, 199, 89, 0));
  content: "";
  transform: rotate(-13deg);
  animation: cleanSignal 4.8s ease-in-out infinite;
}

.demo-ipad {
  position: absolute;
  right: 0;
  bottom: 20px;
  width: 78%;
  padding: 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.12);
}

.ipad-window {
  position: relative;
  height: 245px;
  padding: 22px;
  border-radius: 8px;
  background: #f8f9fb;
  overflow: hidden;
}

.window-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 30px;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d7dbe2;
}

.typed-line {
  height: 14px;
  margin-top: 16px;
  border-radius: 999px;
  background: #dfe4eb;
  transform-origin: left center;
  animation: typeLine 5.6s ease-in-out infinite;
}

.line-a {
  width: 70%;
}

.line-b {
  width: 48%;
  animation-delay: 0.36s;
}

.line-c {
  width: 58%;
  animation-delay: 0.72s;
}

.cursor-dot {
  position: absolute;
  right: 26%;
  bottom: 28%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 34px rgba(0, 113, 227, 0.46);
  animation: cursorGlide 5.2s cubic-bezier(0.42, 0, 0.2, 1) infinite;
}

.ipad-toolbar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.ipad-toolbar span {
  display: grid;
  place-items: center;
  min-height: 42px;
  border-radius: 8px;
  background: #eef2f7;
  color: #424245;
  font-size: 13px;
  font-weight: 800;
  animation: softButtonPulse 5.6s ease-in-out infinite;
}

.ipad-toolbar span:nth-child(2) {
  animation-delay: 0.7s;
}

.ipad-toolbar span:nth-child(3) {
  animation-delay: 1.4s;
}

.demo-phone {
  position: absolute;
  left: 0;
  top: 54px;
  width: 205px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  background: linear-gradient(150deg, #2d3238, #08090b);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2);
  animation: compactFloat 6s ease-in-out infinite;
}

.mini-key-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.mini-key-grid span {
  display: grid;
  place-items: center;
  min-height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 800;
  animation: miniKeyPulse 5.6s ease-in-out infinite;
}

.mini-key-grid span:nth-child(2) {
  animation-delay: 0.55s;
}

.mini-key-grid span:nth-child(3) {
  animation-delay: 1.1s;
}

.mini-key-grid span:nth-child(4) {
  animation-delay: 1.65s;
}

.mini-trackpad {
  position: relative;
  height: 112px;
  margin-top: 10px;
  border-radius: 18px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
  overflow: hidden;
}

.mini-trackpad span {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 32px rgba(53, 199, 89, 0.7);
  animation: miniTrackPath 4.8s cubic-bezier(0.42, 0, 0.2, 1) infinite;
}

.input-flow {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 72px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(0, 113, 227, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  animation: flowMove 5.6s ease-in-out infinite;
}

.flow-a {
  left: 32%;
  top: 28%;
}

.flow-b {
  left: 48%;
  top: 12%;
  animation-delay: 0.9s;
}

.flow-c {
  left: 58%;
  bottom: 18%;
  animation-delay: 1.8s;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 1fr);
  align-items: center;
  gap: 48px;
  padding: 110px clamp(24px, 6vw, 92px);
}

.band-heading {
  max-width: 600px;
}

.band-heading .section-kicker {
  color: var(--orange);
}

.module-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 88px;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.module-board button {
  width: 100%;
  min-height: 0;
  border-color: rgba(255, 255, 255, 0.14);
  font: inherit;
  transform: translateY(0);
  transition: transform 280ms ease, background 280ms ease, border-color 280ms ease;
}

.module-board button:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.is-visible .module-board button {
  animation: moduleIn 680ms cubic-bezier(0.2, 0.85, 0.2, 1) both;
}

.is-visible .module-board button:nth-child(2) {
  animation-delay: 80ms;
}

.is-visible .module-board button:nth-child(3) {
  animation-delay: 160ms;
}

.is-visible .module-board button:nth-child(4) {
  animation-delay: 240ms;
}

.is-visible .module-board button:nth-child(5) {
  animation-delay: 320ms;
}

.is-visible .module-board button:nth-child(6) {
  animation-delay: 400ms;
}

.module-board .large-module {
  grid-column: span 3;
  grid-row: span 2;
  font-size: 28px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 18px clamp(18px, 4vw, 48px) 110px;
}

.feature-card {
  min-height: 330px;
  padding: 34px;
  border-radius: 8px;
  background: #fff;
  transition: transform 320ms ease, box-shadow 320ms ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: #f0f3f7;
  color: var(--blue);
  font-size: 28px;
  font-weight: 800;
}

.feature-card h3 {
  margin: 48px 0 0;
  font-size: 31px;
  line-height: 1.1;
  letter-spacing: 0;
}

.feature-card p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.ai-section {
  background: #fff;
}

.ai-copy .section-kicker {
  color: var(--green);
}

.ai-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.ai-prompts span {
  padding: 10px 14px;
  border-radius: 999px;
  background: #f0f3f7;
  color: #424245;
  font-size: 15px;
  font-weight: 700;
}

.ai-panel {
  justify-self: center;
  width: min(420px, 100%);
  padding: 24px;
  border-radius: 8px;
  background: #101114;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}

.ai-panel::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 5%, rgba(255, 255, 255, 0.13) 42%, transparent 70%);
  content: "";
  transform: translateX(-120%);
  animation: panelScan 5.8s ease-in-out infinite;
  pointer-events: none;
}

.ai-panel p {
  margin: 46px 0 16px;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
}

.typing-caret {
  display: inline-block;
  width: 3px;
  height: 1em;
  margin-left: 5px;
  border-radius: 999px;
  background: var(--green);
  vertical-align: -0.14em;
  animation: caretBlink 1s steps(2, start) infinite;
}

.ai-result-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.ai-result-grid span {
  animation: aiModulePulse 4.8s ease-in-out infinite;
}

.ai-result-grid span:nth-child(2) {
  animation-delay: 0.45s;
}

.ai-result-grid span:nth-child(3) {
  animation-delay: 0.9s;
}

.ai-result-grid span:nth-child(4) {
  animation-delay: 1.35s;
}

.ai-panel button {
  width: 100%;
  min-height: 46px;
  margin-top: 18px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-weight: 800;
}

.download img {
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
  animation: iconSettle 7s ease-in-out infinite;
}

.download .section-kicker {
  margin-top: 26px;
}

.download-actions {
  justify-content: center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 800ms ease, transform 800ms cubic-bezier(0.2, 0.85, 0.2, 1);
}

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

@keyframes phoneFloat {
  0%,
  100% {
    margin-top: 0;
  }
  50% {
    margin-top: -12px;
  }
}

@keyframes panelFloat {
  0%,
  100% {
    margin-top: 0;
  }
  50% {
    margin-top: 10px;
  }
}

@keyframes controlPulse {
  0%,
  72%,
  100% {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
  }
  12% {
    background: rgba(0, 113, 227, 0.32);
    border-color: rgba(88, 166, 255, 0.5);
  }
}

@keyframes trackDotPath {
  0%,
  100% {
    transform: translate(36px, -44px);
  }
  34% {
    transform: translate(-76px, 38px);
  }
  66% {
    transform: translate(82px, 64px);
  }
}

@keyframes trackDotPathSecondary {
  0%,
  100% {
    transform: translate(-88px, -36px);
  }
  42% {
    transform: translate(64px, 10px);
  }
  74% {
    transform: translate(-18px, 78px);
  }
}

@keyframes gestureFade {
  0%,
  100% {
    opacity: 0.1;
  }
  48% {
    opacity: 0.58;
  }
}

@keyframes ringDrift {
  0%,
  100% {
    transform: rotateX(68deg) rotateZ(-18deg) scale(1);
  }
  50% {
    transform: rotateX(68deg) rotateZ(9deg) scale(1.06);
  }
}

@keyframes cleanSignal {
  0%,
  100% {
    opacity: 0;
    translate: -12px 8px;
  }
  45% {
    opacity: 1;
  }
  65% {
    translate: 20px -10px;
    opacity: 0;
  }
}

@keyframes typeLine {
  0%,
  100% {
    transform: scaleX(0.38);
    opacity: 0.45;
  }
  42%,
  72% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes cursorGlide {
  0%,
  100% {
    transform: translate(-130px, -36px);
  }
  36% {
    transform: translate(12px, -12px);
  }
  70% {
    transform: translate(-42px, 48px);
  }
}

@keyframes softButtonPulse {
  0%,
  76%,
  100% {
    background: #eef2f7;
    color: #424245;
  }
  16% {
    background: rgba(0, 113, 227, 0.12);
    color: var(--blue);
  }
}

@keyframes compactFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes miniKeyPulse {
  0%,
  72%,
  100% {
    background: rgba(255, 255, 255, 0.1);
  }
  12% {
    background: rgba(0, 113, 227, 0.36);
  }
}

@keyframes miniTrackPath {
  0%,
  100% {
    transform: translate(34px, 28px);
  }
  42% {
    transform: translate(128px, 52px);
  }
  74% {
    transform: translate(74px, 82px);
  }
}

@keyframes flowMove {
  0%,
  100% {
    opacity: 0;
    transform: translate(-20px, 14px) scale(0.94);
  }
  22%,
  58% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  78% {
    opacity: 0;
    transform: translate(24px, -12px) scale(0.98);
  }
}

@keyframes moduleIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes panelScan {
  0%,
  48% {
    transform: translateX(-120%);
  }
  78%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes caretBlink {
  50% {
    opacity: 0;
  }
}

@keyframes aiModulePulse {
  0%,
  76%,
  100% {
    background: rgba(255, 255, 255, 0.08);
  }
  16% {
    background: rgba(53, 199, 89, 0.28);
  }
}

@keyframes iconSettle {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 980px) {
  .hero,
  .feature-split,
  .feature-band,
  .ai-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 70px;
  }

  .hero-stage {
    min-height: 560px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 240px;
  }

  .feature-card h3 {
    margin-top: 34px;
  }
}

@media (max-width: 680px) {
  .site-nav {
    padding: 0 16px;
  }

  .nav-links {
    gap: 14px;
  }

  .hero {
    padding: 48px 18px 42px;
  }

  .hero-actions,
  .download-actions {
    gap: 10px;
  }

  .button {
    flex: 1 1 160px;
    min-width: 0;
    padding: 0 16px;
    font-size: 15px;
  }

  .hero-stage {
    min-height: 520px;
  }

  .device-panel {
    width: 148px;
    padding: 12px;
  }

  .panel-ipad {
    right: 0;
    top: 3%;
  }

  .panel-mac {
    left: 0;
    bottom: 3%;
  }

  .intro,
  .download {
    padding: 76px 18px;
  }

  .feature-split,
  .feature-band,
  .ai-section {
    padding: 76px 18px;
  }

  .feature-copy h2 {
    font-size: clamp(34px, 9.5vw, 42px);
  }

  .feature-copy p {
    font-size: 20px;
  }

  .wide-visual {
    min-height: 330px;
  }

  .control-demo {
    width: 100%;
    height: 300px;
  }

  .control-demo::before {
    inset: 20% 8% auto auto;
    width: 62%;
    transform: rotate(-22deg);
  }

  .demo-ipad {
    right: 0;
    bottom: 8px;
    width: 86%;
    padding: 12px;
  }

  .ipad-window {
    height: 150px;
    padding: 16px;
  }

  .window-bar {
    margin-bottom: 24px;
  }

  .typed-line {
    height: 11px;
    margin-top: 13px;
  }

  .ipad-toolbar {
    gap: 7px;
    margin-top: 10px;
  }

  .ipad-toolbar span {
    min-height: 34px;
    font-size: 11px;
  }

  .demo-phone {
    left: 0;
    top: 18px;
    width: 140px;
    padding: 9px;
    border-radius: 24px;
  }

  .mini-key-grid {
    gap: 6px;
  }

  .mini-key-grid span {
    min-height: 28px;
    font-size: 10px;
  }

  .mini-trackpad {
    height: 70px;
    border-radius: 15px;
  }

  .input-flow {
    min-width: 58px;
    height: 30px;
    padding: 0 10px;
    font-size: 11px;
  }

  .flow-a {
    left: 42%;
    top: 22%;
  }

  .flow-b {
    left: 54%;
    top: 7%;
  }

  .flow-c {
    left: 60%;
    bottom: 18%;
  }

  .feature-grid {
    padding: 12px 12px 76px;
  }

  .feature-card {
    padding: 26px;
  }

  .module-board {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 76px;
  }

  .module-board .large-module {
    grid-column: span 2;
    grid-row: span 2;
    font-size: 24px;
  }

  .site-footer {
    flex-direction: column;
    padding: 24px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .motion-ready .reveal {
    opacity: 1;
    transform: none;
  }
}
