.button.is-disabled {
  background: #5c5c5a;
  color: #fff;
  cursor: default;
  pointer-events: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(300px, .75fr);
  align-items: center;
  gap: 72px;
  min-height: 620px;
  padding: 72px 0;
}

.hero h1 {
  margin: 0 0 26px;
  font-size: clamp(48px, 6vw, 76px);
  line-height: .98;
  letter-spacing: -.06em;
}

.hero-kicker {
  margin: 0 0 22px;
  color: #565652;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.hero-trust {
  margin: 12px 0 0;
  color: #666662;
}

.wordmark {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.lead {
  max-width: 510px;
  margin: 0;
  font-size: 20px;
  line-height: 1.45;
}

.cta-row {
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
  margin: 30px 0 0;
}

.grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.note {
  color: #777773;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.license {
  max-width: 680px;
  padding: 92px 0;
  color: #444;
  font-size: 18px;
  line-height: 1.6;
}

.license h1,
.license h2 {
  color: #111;
  letter-spacing: -.035em;
}

.license h1 {
  margin: 0 0 32px;
  font-size: clamp(42px, 6vw, 64px);
  line-height: 1;
}

.license h2 {
  margin: 38px 0 12px;
  font-size: 28px;
}

.license p,
.license ul {
  margin: 0 0 18px;
}

.license li {
  margin: 8px 0;
}

.finder-demo {
  position: relative;
  justify-self: end;
  width: min(100%, 350px);
  aspect-ratio: 9 / 12.5;
  overflow: hidden;
  border: 1px solid #e2e2de;
  border-radius: 18px;
  background: #fafaf8;
  box-shadow: 0 18px 42px rgba(34, 34, 31, .08);
  color: #282825;
}

.finder-titlebar {
  display: flex;
  align-items: center;
  height: 42px;
  padding: 0 18px;
  border-bottom: 1px solid #e5e5e1;
  color: #565652;
  background: #f4f4f1;
  font-size: 13px;
  font-weight: 600;
}

.finder-body {
  position: relative;
  height: calc(100% - 42px);
  padding: 20px 14px;
  background: #fff;
}

.finder-column {
  padding: 0 10px 9px;
  border-bottom: 1px solid #ededeb;
  color: #858580;
  font-size: 12px;
  font-weight: 600;
}

.finder-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 43px;
  margin-top: 8px;
  padding: 0 10px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 500;
}

.finder-audio {
  animation: audio-selection 5s ease-in-out infinite;
}

.file-icon {
  display: grid;
  width: 22px;
  height: 25px;
  place-items: center;
  border: 1px solid #d9d9d5;
  border-radius: 4px;
  color: #777773;
  background: #f7f7f5;
  font-size: 16px;
  line-height: 1;
}

.text-icon {
  font-size: 18px;
  font-weight: 700;
  transform: rotate(90deg);
}

.finder-text {
  opacity: 0;
  animation: transcript-appears 5s ease-in-out infinite;
}

.finder-menu {
  position: absolute;
  z-index: 2;
  top: 77px;
  left: 42px;
  width: min(210px, calc(100% - 56px));
  padding: 7px;
  border: 1px solid #deded9;
  border-radius: 9px;
  background: rgba(252, 252, 250, .98);
  box-shadow: 0 14px 30px rgba(20, 20, 18, .16);
  font-size: 13px;
  opacity: 0;
  transform: translateY(4px) scale(.98);
  transform-origin: 25% 0;
  animation: context-menu 5s ease-in-out infinite;
}

.finder-menu > div:not(.menu-divider) {
  padding: 8px 9px;
  border-radius: 5px;
}

.menu-divider {
  height: 1px;
  margin: 5px 4px;
  background: #e5e5e1;
}

.menu-action {
  animation: transcript-choice 5s ease-in-out infinite;
}

.saved-badge {
  margin-left: auto;
  padding: 4px 7px;
  border-radius: 999px;
  color: #356244;
  background: #e8f3ea;
  font-size: 11px;
  font-weight: 650;
  opacity: 0;
  animation: saved-appears 5s ease-in-out infinite;
}

.demo-cursor {
  position: absolute;
  z-index: 3;
  top: 130px;
  left: 240px;
  width: 24px;
  height: 32px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .18));
  opacity: 0;
  animation: cursor-move 5s ease-in-out infinite;
}

@keyframes audio-selection {
  0%, 52% { background: #edf3ff; box-shadow: inset 0 0 0 1px #4e8df6; }
  58%, 100% { background: transparent; box-shadow: none; }
}

@keyframes context-menu {
  0%, 20% { opacity: 0; transform: translateY(4px) scale(.98); }
  24%, 55% { opacity: 1; transform: translateY(0) scale(1); }
  59%, 100% { opacity: 0; transform: translateY(2px) scale(.98); }
}

@keyframes transcript-choice {
  0%, 39% { background: transparent; }
  42%, 55% { color: #111; background: #e9e9e5; }
  59%, 100% { background: transparent; }
}

@keyframes transcript-appears {
  0%, 60% { opacity: 0; transform: translateY(3px); }
  64%, 100% { opacity: 1; transform: translateY(0); }
}

@keyframes saved-appears {
  0%, 64% { opacity: 0; transform: scale(.94); }
  68%, 100% { opacity: 1; transform: scale(1); }
}

@keyframes cursor-move {
  0%, 6% { opacity: 0; transform: translate(88px, 112px); }
  9% { opacity: 1; }
  20% { opacity: 1; transform: translate(0, 0); }
  22% { transform: translate(0, 0) scale(.88); }
  24%, 53% { opacity: 1; transform: translate(0, 0); }
  56% { opacity: 0; transform: translate(0, 0); }
  100% { opacity: 0; transform: translate(88px, 112px); }
}

@media (prefers-reduced-motion: reduce) {
  .finder-audio, .finder-text, .finder-menu, .menu-action, .saved-badge, .demo-cursor {
    animation: none;
  }

  .finder-audio { background: transparent; box-shadow: none; }
  .finder-text, .saved-badge { opacity: 1; }
  .finder-menu, .demo-cursor { display: none; }
}

@media (max-width: 720px) {
  nav {
    height: 64px;
    justify-content: space-between;
    gap: 16px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 42px;
    min-height: 0;
    padding: 54px 0 68px;
  }

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

  .hero h1 {
    font-size: clamp(46px, 14vw, 64px);
    margin-bottom: 22px;
  }

  .hero-kicker {
    font-size: 17px;
    margin-bottom: 18px;
  }

  .lead {
    font-size: 19px;
  }

  .license {
    padding: 56px 0;
    font-size: 17px;
  }

  .finder-demo {
    justify-self: center;
    width: min(100%, 310px);
  }
}

/* The recording itself is the interface: no simulated Finder chrome. */
.finder-video {
  justify-self: end;
  width: min(100%, 350px);
  aspect-ratio: 942 / 940;
  overflow: hidden;
  border-radius: 18px;
  background: #f3f3f1;
  box-shadow: none;
}

.finder-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 720px) {
  .finder-video {
    justify-self: center;
    width: min(100%, 310px);
  }
}
