.modes-v2 .section-heading h2 {
  max-width: none;
}

.modes-v2 .section-heading h2 span {
  display: block;
}

@media (min-width: 1100px) {
  .modes-v2 .section-heading h2 span {
    white-space: nowrap;
  }
}

.modes-v2 .section-heading p {
  max-width: 560px;
}

.modes-v2 .mode-card {
  position: relative;
  display: flex;
  min-height: 210px;
  flex-direction: column;
  justify-content: flex-start;
  padding: 24px;
}

.modes-v2 .mode-card h3 {
  margin-top: 16px;
  font-size: clamp(24px, 2.3vw, 34px);
}

.modes-v2 .mode-card p {
  max-width: 440px;
  font-size: 16px;
}

.file-mode-v2 {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.86);
}

.file-mode-v2::after {
  display: none;
}

.file-visual {
  position: relative;
  min-height: 124px;
}

.file-sheet {
  position: absolute;
  display: grid;
  align-content: space-between;
  width: 104px;
  height: 118px;
  padding: 14px;
  border: 1px solid rgba(26, 107, 43, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(36, 88, 44, 0.12);
}

.main-file {
  left: 0;
  top: 4px;
  z-index: 2;
}

.back-file {
  left: 78px;
  top: 18px;
  z-index: 1;
  opacity: 0.72;
  transform: rotate(5deg);
}

.file-sheet span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.file-sheet strong {
  color: var(--green-dark);
  font-size: 26px;
  line-height: 1;
}

.mini-wave {
  position: absolute;
  left: 206px;
  top: 38px;
  display: flex;
  gap: 8px;
  align-items: center;
  height: 52px;
}

.mini-wave span {
  display: block;
  width: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #61be68, #1a6b2b);
}

.mini-wave span:nth-child(1) {
  height: 20px;
}

.mini-wave span:nth-child(2) {
  height: 42px;
}

.mini-wave span:nth-child(3) {
  height: 30px;
}

.mini-wave span:nth-child(4) {
  height: 52px;
}

.mini-wave span:nth-child(5) {
  height: 26px;
}

.format-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 500px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.format-pills li {
  padding: 8px 11px;
  border: 1px solid rgba(26, 107, 43, 0.14);
  border-radius: 999px;
  background: rgba(243, 251, 244, 0.88);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.02em;
}

.record-mode-v2 {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.86);
}

.mode-pointer {
  display: grid;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green-dark);
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  place-items: center;
}

.mobile-menu-toggle {
  appearance: none;
  display: none;
  min-width: 48px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 780;
  cursor: pointer;
}

.mobile-download-dialog {
  width: min(520px, calc(100% - 28px));
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 32px 90px rgba(21, 32, 24, 0.24);
}

.mobile-download-dialog::backdrop {
  background: rgba(13, 24, 16, 0.48);
  backdrop-filter: blur(7px);
}

.mobile-download-dialog-inner {
  position: relative;
  padding: 32px;
}

.mobile-download-dialog-close {
  position: absolute;
  right: 16px;
  top: 16px;
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 24px;
  cursor: pointer;
  place-items: center;
}

.mobile-download-dialog-kicker {
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 860;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.mobile-download-dialog h2 {
  max-width: 390px;
  margin-top: 12px;
  padding-right: 34px;
  font-size: clamp(28px, 8vw, 38px);
  line-height: 1;
}

.mobile-download-dialog p:not(.mobile-download-dialog-kicker) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.mobile-download-dialog-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 50px;
  gap: 10px;
  margin-top: 24px;
}

.mobile-download-dialog-actions .button {
  width: 100%;
}

.mobile-download-dialog-copy {
  display: grid;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--green-dark);
  font: inherit;
  font-size: 23px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  place-items: center;
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1), color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.mobile-download-dialog-copy:active {
  transform: scale(0.9);
}

.mobile-download-dialog-copy.is-copied {
  border-color: var(--green-dark);
  background: var(--green-dark);
  color: #fff;
}

@media (prefers-reduced-motion: no-preference) {
  .mobile-download-dialog-copy.is-copied {
    animation: mobileCopyConfirm 520ms cubic-bezier(0.22, 1, 0.36, 1);
  }
}

@keyframes mobileCopyConfirm {
  0% {
    opacity: 0.72;
    transform: scale(0.78) rotate(-8deg);
  }

  58% {
    transform: scale(1.12) rotate(4deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

.mobile-download-dialog-status {
  min-height: 1.5em;
  margin-top: 7px !important;
  color: var(--green-dark) !important;
  font-size: 13px !important;
  font-weight: 720;
}

.mobile-ios-interest {
  display: table;
  margin: 8px auto 0;
  padding: 5px 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 690;
  text-align: center;
  text-decoration: underline;
  text-decoration-color: rgba(30, 76, 38, 0.28);
  text-underline-offset: 3px;
  transition: color 180ms ease, transform 180ms ease;
}

.mobile-ios-interest:hover,
.mobile-ios-interest:focus-visible {
  color: var(--green-dark);
}

.mobile-ios-interest:active {
  transform: scale(0.98);
}

.download-started-notice {
  margin: 0 0 28px;
  padding: 16px 18px;
  border: 1px solid rgba(30, 76, 38, 0.18);
  border-radius: 16px;
  background: var(--surface-soft);
  color: var(--green-dark);
  font-size: 15px;
  font-weight: 680;
  line-height: 1.45;
}

.mobile-menu-toggle:focus-visible,
.mobile-download-dialog button:focus-visible,
.mobile-download-dialog a:focus-visible {
  outline: 3px solid rgba(47, 152, 66, 0.4);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .mobile-menu-toggle {
    display: inline-grid;
  }
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(64px, 8.5vw, 126px);
  line-height: 0.88;
}

.hero-claim {
  max-width: 660px !important;
  margin-top: 20px !important;
  color: var(--ink) !important;
  font-size: clamp(28px, 4.2vw, 56px) !important;
  font-weight: 850 !important;
  line-height: 1 !important;
}

.hero-subcopy {
  margin-top: 24px !important;
}

.hero-action-cluster {
  width: max-content;
  max-width: 100%;
  margin-top: 34px;
}

.hero-action-cluster .hero-actions {
  margin-top: 0;
}

.hero-support-link {
  width: max-content;
  max-width: max-content;
  margin: 12px auto 0;
}

.hero-art {
  perspective: 1000px;
}

.hero-bird,
.hero-icon {
  transform-style: preserve-3d;
}

.hero-bird {
  transform-origin: 52% 58%;
}

.hero-icon {
  transform: rotate(-7deg) rotateY(-8deg) rotateX(4deg);
}

.typewriter-line {
  margin: 0;
  min-height: 1.42em;
}

.typewriter-line:first-child {
  min-height: 4.26em;
}

.typewriter-line:nth-child(2) {
  min-height: 2.84em;
}

.typewriter-line.is-typing::after,
.typewriter-line.is-complete:last-child::after {
  display: inline-block;
  width: 0.12em;
  height: 0.9em;
  margin-left: 0.08em;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transform: translateY(0.12em);
  animation: redesignCursor 900ms step-end infinite;
}

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

@media (prefers-reduced-motion: no-preference) {
  .hero-icon {
    animation: appIconFloat3d 5.6s ease-in-out infinite;
    will-change: transform;
  }
}

@keyframes appIconFloat3d {
  0%,
  100% {
    transform: translate3d(0, 0, 16px) rotate(-7deg) rotateY(-9deg) rotateX(4deg);
  }

  50% {
    transform: translate3d(0, -8px, 36px) rotate(-4deg) rotateY(8deg) rotateX(-2deg);
  }
}

.modes-screenshot {
  position: relative;
  max-width: 920px;
  margin: 10px auto 0;
  padding-top: 92px;
  overflow: visible;
}

.modes-screenshot img {
  display: block;
  width: 100%;
  border: 1px solid rgba(30, 76, 38, 0.1);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(21, 32, 24, 0.1);
}

.mode-arrows {
  position: absolute;
  inset: 0 -48px 0;
  z-index: 2;
  width: calc(100% + 96px);
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.mode-arrow {
  fill: none;
  stroke: var(--green-dark);
  stroke-linecap: round;
  stroke-width: 3.4;
  marker-end: url("#mode-arrow-head");
  opacity: 0.82;
}

.mode-arrows marker path {
  fill: var(--green-dark);
}

.mode-annotation {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(30, 76, 38, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 44px rgba(28, 89, 39, 0.11);
  color: var(--ink);
  font-size: 15px;
  font-weight: 860;
  backdrop-filter: blur(14px);
  cursor: grab;
  touch-action: none;
  user-select: none;
  white-space: nowrap;
  will-change: transform;
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.mode-annotation:hover {
  border-color: rgba(30, 76, 38, 0.24);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 56px rgba(28, 89, 39, 0.16);
}

.file-annotation {
  --rest-rotate: -4deg;
  --pull-x: 0px;
  --pull-y: 0px;
  left: clamp(8px, 1%, 14px);
  top: 7.31%;
  transform: translate(var(--pull-x), calc(-50% + var(--pull-y))) rotate(var(--rest-rotate));
}

.mic-annotation {
  --rest-rotate: 4deg;
  --pull-x: 0px;
  --pull-y: 0px;
  left: auto;
  top: 5.38%;
  right: clamp(8px, 1%, 14px);
  transform: translate(var(--pull-x), calc(-50% + var(--pull-y))) rotate(var(--rest-rotate));
}

.mode-annotation:active {
  cursor: grabbing;
}

.mode-annotation.is-pulled {
  cursor: grabbing;
}

.modes-formats {
  justify-content: center;
  max-width: none;
  margin: 18px auto 0;
}

.mode-copy-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 920px;
  margin: 18px auto 0;
}

.mode-copy-row p {
  color: var(--muted);
  font-size: 15px;
  font-weight: 560;
  line-height: 1.45;
}

.screenshot-gallery {
  padding-top: 78px;
}

.gallery-strip {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  max-width: 100%;
  margin: 0 auto;
  overflow-x: auto;
  padding: 8px max(4px, calc((100vw - var(--max)) / 2)) 24px;
  scroll-snap-type: x proximity;
  scrollbar-color: rgba(30, 76, 38, 0.28) transparent;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.gallery-strip::-webkit-scrollbar {
  height: 8px;
}

.gallery-strip::-webkit-scrollbar-track {
  background: transparent;
}

.gallery-strip::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(30, 76, 38, 0.22);
}

.gallery-shot {
  flex: 0 0 min(520px, 82vw);
  margin: 0;
  scroll-snap-align: center;
}

.gallery-shot img {
  display: block;
  width: 100%;
  border: 1px solid rgba(30, 76, 38, 0.1);
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(21, 32, 24, 0.12);
  cursor: zoom-in;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.gallery-shot img:hover,
.gallery-shot img:focus-visible {
  border-color: rgba(30, 76, 38, 0.24);
  box-shadow: 0 30px 78px rgba(21, 32, 24, 0.16);
  outline: none;
  transform: translateY(-2px);
}

body.lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  padding: 44px;
  background: rgba(9, 18, 12, 0.74);
  backdrop-filter: blur(18px);
  place-items: center;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox img {
  display: block;
  max-width: min(1180px, calc(100vw - 88px));
  max-height: calc(100vh - 88px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.32);
}

.gallery-lightbox-close {
  position: fixed;
  right: 24px;
  top: 22px;
  display: grid;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 28px;
  font-weight: 560;
  line-height: 1;
  place-items: center;
}

.gallery-lightbox-close:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.7);
  outline-offset: 3px;
}

.gallery-lightbox-nav {
  position: fixed;
  top: 50%;
  display: grid;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 38px;
  font-weight: 520;
  line-height: 1;
  place-items: center;
  transform: translateY(-50%);
}

.gallery-lightbox-nav.prev {
  left: 24px;
}

.gallery-lightbox-nav.next {
  right: 24px;
}

.gallery-lightbox-nav:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.7);
  outline-offset: 3px;
}


@media (max-width: 680px) {
  .modes-screenshot {
    padding-top: 64px;
  }

  .mode-arrows {
    display: none;
  }

  .mode-annotation {
    top: 10px;
    min-height: 34px;
    padding: 0 12px;
    cursor: default;
    font-size: 13px;
    pointer-events: none;
    touch-action: auto;
    transform: none;
  }

  .file-annotation {
    left: 0;
  }

  .mic-annotation {
    left: auto;
    right: 0;
  }

  .screenshot-gallery {
    width: 100%;
    padding-top: 52px;
  }

  .gallery-strip {
    gap: 12px;
    padding: 8px 14px 22px;
    scroll-padding-inline: 14px;
    scroll-snap-type: x mandatory;
  }

  .gallery-shot {
    flex-basis: min(86vw, 420px);
  }

  .gallery-shot img {
    border-radius: 16px;
  }

  .gallery-lightbox {
    padding: 18px;
  }

  .gallery-lightbox img {
    max-width: calc(100vw - 36px);
    max-height: calc(100vh - 84px);
    border-radius: 16px;
  }

  .gallery-lightbox-close {
    right: 14px;
    top: 14px;
    width: 40px;
    height: 40px;
  }

  .gallery-lightbox-nav {
    bottom: 14px;
    top: auto;
    width: 44px;
    height: 44px;
    font-size: 30px;
    transform: none;
  }

  .gallery-lightbox-nav.prev {
    left: 14px;
  }

  .gallery-lightbox-nav.next {
    right: 14px;
  }

  .mode-copy-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.language-stage {
  position: relative;
  overflow: visible;
  background: transparent;
  border-radius: 0;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.language-stage .eu-mark {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.language-stage .flag-ring {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  animation: none;
  cursor: grab;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

.language-stage .flag-ring.is-dragging {
  cursor: grabbing;
}

.language-stage .flag-ring span {
  position: absolute;
  left: calc(50% + var(--flag-x, 0px));
  top: calc(50% + var(--flag-y, 0px));
  display: grid;
  width: 38px;
  height: 38px;
  font-size: 28px;
  transform: translate(-50%, -50%) scale(var(--flag-scale, 1));
  transform-origin: center;
  transition:
    filter 140ms ease,
    transform 80ms cubic-bezier(0.2, 1.5, 0.28, 1);
  filter: drop-shadow(0 10px 14px rgba(20, 62, 28, 0.13));
  line-height: 1;
  place-items: center;
  -webkit-user-select: none;
  user-select: none;
  will-change: left, top, transform;
}

.language-stage .flag-ring span::before {
  content: attr(data-label);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 4;
  padding: 6px 10px;
  border: 1px solid rgba(20, 62, 28, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 30px rgba(20, 62, 28, 0.13);
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px) scale(0.92);
  transition:
    opacity 120ms ease,
    transform 160ms cubic-bezier(0.2, 1.55, 0.28, 1);
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
}

.language-stage .flag-ring span[data-label-side="below"]::before {
  top: calc(100% + 10px);
  bottom: auto;
  transform: translate(-50%, -8px) scale(0.92);
}

.language-stage .flag-ring span:hover,
.language-stage .flag-ring span:focus-visible {
  z-index: 3;
  filter: drop-shadow(0 16px 22px rgba(20, 62, 28, 0.2));
}

.language-stage .flag-ring span:hover::before,
.language-stage .flag-ring span:focus-visible::before {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.language-stage .flag-ring span[data-label-side="below"]:hover::before,
.language-stage .flag-ring span[data-label-side="below"]:focus-visible::before {
  transform: translate(-50%, 0) scale(1);
}

.install-v2 {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 28px;
  align-items: start;
  padding-bottom: 112px;
}

.install-intro {
  max-width: 760px;
}

.install-explain {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.install-explain p,
.install-steps-card p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.install-explain strong {
  color: var(--ink);
}

.install-steps-card,
.install-warning-toggle {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 54px rgba(28, 89, 39, 0.08);
}

.install-steps-card {
  padding: 30px;
}

.install-steps-card h3 {
  margin: 0 0 18px;
  font-size: 25px;
  line-height: 1.12;
}

.install-steps-card ol {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
  padding-left: 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.install-steps-card li::marker {
  color: var(--green-dark);
  font-weight: 900;
}

.install-warning-toggle {
  grid-column: 1 / -1;
  overflow: hidden;
  background: var(--surface);
  isolation: isolate;
  position: relative;
  z-index: 2;
}

.install-v2:has(.install-warning-toggle[open]) .install-steps-card {
  position: static;
}

.install-warning-toggle summary {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 22px 26px;
  cursor: pointer;
  color: var(--ink);
  font-size: 18px;
  font-weight: 820;
  list-style: none;
}

.install-warning-toggle summary::-webkit-details-marker {
  display: none;
}

.install-warning-toggle summary::before {
  color: var(--green-dark);
  content: "›";
  font-size: 28px;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform 180ms ease;
}

.install-warning-toggle[open] summary::before {
  transform: rotate(90deg) translateX(1px);
}

.install-screens {
  display: grid;
  gap: 18px;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 26px 26px;
}

.install-screens figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f5f6f3;
}

.install-screens img {
  display: block;
  width: 100%;
  max-height: 420px;
  padding: 12px;
  object-fit: contain;
  object-position: center top;
}

.install-screens figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 680;
}

.credits-section {
  padding-top: 0;
  padding-bottom: 76px;
}

.credits-copy {
  max-width: 760px;
}

.credits-copy h2 {
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1;
}

.credits-copy p {
  max-width: 680px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 560;
  line-height: 1.5;
}

.donation-cta {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  gap: 11px;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 0 11px 0 19px;
  overflow: hidden;
  border: 1px solid rgba(15, 50, 24, 0.72);
  border-radius: 999px;
  background: #174b25;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 11px 24px rgba(23, 75, 37, 0.18);
  color: #f5fbf3;
  font-size: 13px;
  font-weight: 840;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.donation-cta::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.12) 48%, transparent 72%);
  content: "";
  opacity: 0;
  transform: translateX(-35%);
  transition: opacity 180ms ease, transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.donation-cta-heart {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #f6d9de;
  box-shadow: inset 0 -1px 0 rgba(129, 29, 49, 0.12);
  color: #ad3049;
  font-size: 14px;
  line-height: 1;
  transition: transform 220ms cubic-bezier(0.2, 0.9, 0.2, 1.25), background 180ms ease;
}

.donation-cta:hover,
.donation-cta:focus-visible {
  border-color: rgba(15, 50, 24, 0.9);
  background: #216230;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 15px 30px rgba(23, 75, 37, 0.24);
  color: #fffef8;
  transform: translateY(-2px);
}

.donation-cta:hover::before,
.donation-cta:focus-visible::before {
  opacity: 1;
  transform: translateX(35%);
}

.donation-cta:hover .donation-cta-heart,
.donation-cta:focus-visible .donation-cta-heart {
  background: #ffe7eb;
  transform: rotate(-7deg) scale(1.08);
}

.donation-cta:active {
  box-shadow: 0 7px 16px rgba(23, 75, 37, 0.18);
  transform: translateY(0) scale(0.98);
}

.support-link {
  margin-top: 20px;
}

.support-dialog {
  width: min(760px, calc(100% - 32px));
  max-height: calc(100dvh - 24px);
  margin: auto;
  overflow-y: auto;
  padding: 0;
  border: 1px solid rgba(30, 76, 38, 0.18);
  border-radius: 24px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 30px 100px rgba(13, 30, 18, 0.24);
}

@media (prefers-reduced-motion: no-preference) {
  .support-dialog[open] {
    animation: supportDialogArrive 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .support-dialog[open]::backdrop {
    animation: supportBackdropArrive 360ms ease-out both;
  }

  .support-dialog[open] .support-dialog-mascot {
    animation: supportMascotHello 720ms 80ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}

@keyframes supportDialogArrive {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.9) rotate(-1.2deg);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0);
  }
}

@keyframes supportBackdropArrive {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes supportMascotHello {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.72) rotate(8deg);
  }

  62% {
    opacity: 1;
    transform: translateY(-4px) scale(1.04) rotate(-3deg);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0);
  }
}

.support-dialog::backdrop {
  background: rgba(16, 24, 20, 0.46);
  backdrop-filter: blur(5px);
}

.support-dialog-inner {
  position: relative;
  padding: clamp(28px, 5vw, 46px);
}

.support-dialog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 148px;
  gap: 20px;
  align-items: center;
}

.support-dialog-hero-copy {
  min-width: 0;
}

.support-dialog-mascot {
  display: grid;
  width: 148px;
  height: 154px;
  align-self: start;
  overflow: visible;
  pointer-events: none;
  place-items: center;
}

.support-dialog-mascot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(27, 78, 35, 0.16));
  transform: scale(1.22);
}

.support-dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  place-items: center;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease;
}

.support-dialog-close:hover {
  background: var(--surface-soft);
  color: var(--ink);
  transform: rotate(8deg);
}

.support-dialog-kicker {
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 880;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.support-dialog h2 {
  max-width: 480px;
  margin-top: 12px;
  padding-right: 0;
  font-size: clamp(32px, 4.2vw, 42px);
  line-height: 0.98;
}

.support-dialog p:not(.support-dialog-kicker) {
  max-width: 470px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.52;
}

.support-dialog-goal {
  box-sizing: border-box;
  max-width: none !important;
  margin: 0 !important;
  padding: 16px 18px;
  border-left: 3px solid var(--green);
  background: var(--surface-soft);
  border-radius: 0 14px 14px 0;
}

.support-dialog-funding {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 316px);
  gap: 24px;
  align-items: start;
  margin-top: 26px;
}

.support-dialog-payment {
  min-width: 0;
}

.support-dialog-goal strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 14px;
}

.support-dialog-actions {
  display: grid;
  gap: 8px;
  align-items: stretch;
  margin-top: 0;
}

.support-dialog-actions .button span {
  margin-left: 4px;
}

.support-dialog-actions .button {
  white-space: nowrap;
}

.support-dialog-stripe-button {
  display: block;
  width: 100%;
  min-height: 50px;
  max-width: 100%;
}

.support-dialog-stripe-button stripe-buy-button {
  display: block;
  width: 100%;
  max-width: 100%;
  text-align: center;
}

.support-dialog-cancel {
  justify-self: center;
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
}

.support-dialog-cancel:hover {
  color: var(--ink);
}

.support-dialog small {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 680px) {
  .hero-copy h1 {
    font-size: clamp(31px, 10.1vw, 42px);
    line-height: 0.96;
  }

  .mobile-download-dialog-inner {
    padding: 28px 22px 22px;
  }

  .support-dialog {
    width: calc(100% - 24px);
    border-radius: 20px;
  }

  .support-dialog-inner {
    padding: 28px 22px 24px;
  }

  .support-dialog-funding {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px;
  }

  .support-dialog-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .support-dialog-mascot {
    grid-row: 1;
    width: 136px;
    height: 132px;
    margin: -12px auto 10px;
  }

  .support-dialog-actions {
    gap: 6px;
  }

  .support-dialog-cancel {
    width: 100%;
  }

  .support-dialog-stripe-button {
    width: 100%;
  }

  .install-screens img {
    max-height: 280px;
  }
}

.credits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.credit-card {
  position: relative;
  display: flex;
  min-height: 142px;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 32px rgba(28, 89, 39, 0.06);
}

.credit-card::after {
  position: absolute;
  right: -58px;
  bottom: -78px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 152, 66, 0.13), transparent 68%);
  content: "";
  pointer-events: none;
}

.credit-card span {
  color: var(--green-dark);
  font-size: 10px;
  font-weight: 860;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.credit-card h3 {
  margin-top: 10px;
  font-size: clamp(18px, 1.9vw, 24px);
  line-height: 1.05;
}

.credit-card a {
  margin-top: auto;
  padding-top: 18px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 850;
}

.faq-section {
  padding-top: 0;
  padding-bottom: 54px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
  margin-top: 30px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 44px rgba(28, 89, 39, 0.07);
}

.faq-item summary {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 20px 22px;
  cursor: pointer;
  color: var(--ink);
  font-size: 17px;
  font-weight: 820;
  line-height: 1.25;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  flex: 0 0 auto;
  color: var(--green-dark);
  content: "›";
  font-size: 24px;
  line-height: 0.9;
  transition: transform 180ms ease;
}

.faq-item[open] summary::before {
  transform: rotate(90deg);
}

.faq-item p {
  margin: -4px 22px 22px 48px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.faq-item:has(.faq-support-link) p {
  margin-bottom: 12px;
}

.faq-item .faq-support-link {
  margin: 0 22px 22px 48px;
}

@media (max-width: 980px) {
  .install-v2 {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .credits-grid {
    grid-template-columns: 1fr;
  }
}

/* Requested production refinements: clearer hero, guided install, repeated CTA. */
.hero-subcopy {
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 650;
  line-height: 1.35;
}

.proof-row {
  margin-top: 28px;
}

.proof-row + .transcription-demo,
.transcription-demo {
  margin-top: 30px;
}

.install-v2 {
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 0.86fr);
  gap: 34px;
  padding-top: 104px;
}

.install-lede {
  max-width: 620px;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 650;
  line-height: 1.4;
}

.install-explain {
  gap: 14px;
  margin-top: 28px;
  padding-left: 18px;
  border-left: 3px solid rgba(30, 76, 38, 0.18);
}

.install-explain p {
  max-width: 660px;
  font-size: 16px;
  line-height: 1.55;
}

.install-card-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 880;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.install-steps-card {
  position: sticky;
  top: 92px;
  padding: 28px;
}

.install-steps-card h3 {
  max-width: 420px;
  margin-bottom: 22px;
}

.install-steps-card ol {
  counter-reset: install-step;
  gap: 16px;
  margin-top: 0;
  padding-left: 0;
  list-style: none;
}

.install-steps-card li {
  position: relative;
  min-height: 50px;
  padding-left: 58px;
}

.install-steps-card li::before {
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(30, 76, 38, 0.16);
  border-radius: 999px;
  background: rgba(243, 251, 244, 0.9);
  color: var(--green-dark);
  content: counter(install-step, decimal-leading-zero);
  counter-increment: install-step;
  font-size: 12px;
  font-weight: 900;
  place-items: center;
}

.install-steps-card li::marker {
  content: "";
}

.install-steps-card li strong,
.install-steps-card li span {
  display: block;
}

.install-steps-card li strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 850;
  line-height: 1.2;
}

.install-steps-card li span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.42;
}

.final-cta {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 40px));
  margin: 26px auto 0;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(30, 76, 38, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 20%, rgba(47, 152, 66, 0.15), transparent 20rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(242, 251, 244, 0.78));
  box-shadow: 0 24px 70px rgba(28, 89, 39, 0.09);
}

.final-cta h2 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.96;
}

.final-cta p {
  max-width: 560px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 610;
  line-height: 1.45;
}

.final-cta-actions {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.final-cta-primary-actions {
  display: flex;
  gap: 10px;
}

@media (max-width: 980px) {
  .install-v2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .install-intro,
  .install-steps-card,
  .install-warning-toggle {
    width: 100%;
    min-width: 0;
  }

  .install-steps-card {
    position: static;
  }

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .final-cta-actions {
    align-items: flex-start;
  }

}

@media (max-width: 680px) {
  .hero-subcopy {
    font-size: 17px;
  }

  .hero-support-link {
    width: 100%;
    max-width: none;
    text-align: center;
  }

  .hero-action-cluster {
    width: 100%;
  }

  .proof-row {
    margin-top: 20px;
  }

  .proof-row + .transcription-demo,
  .transcription-demo {
    margin-top: 18px;
  }

  .install-v2 {
    padding-top: 76px;
    padding-bottom: 82px;
  }

  .install-explain {
    padding-left: 14px;
  }

  .install-steps-card {
    padding: 22px;
  }

  .install-steps-card li {
    padding-left: 50px;
  }

  .final-cta {
    width: min(var(--max), calc(100% - 28px));
    margin-top: 8px;
    padding: 24px;
    border-radius: 22px;
  }

  .final-cta h2 {
    font-size: clamp(30px, 11vw, 42px);
  }

  .final-cta-actions {
    width: 100%;
  }

  .final-cta-primary-actions {
    display: flex;
    width: 100%;
    flex-direction: column;
  }

  .final-cta-actions .button {
    justify-content: center;
    width: 100%;
  }

}

/* Localhost-only copy editor. The matching interface is injected only in local previews. */
.copy-editor {
  position: fixed;
  inset: auto 18px 18px auto;
  z-index: 80;
  color: #f5fff6;
  font-family: inherit;
}

.copy-editor button,
.copy-editor a {
  font: inherit;
}

.copy-editor-launcher {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: #14261a;
  color: #f5fff6;
  box-shadow: 0 16px 40px rgba(13, 30, 18, 0.22);
  cursor: pointer;
  font-size: 14px;
  font-weight: 820;
  transition: transform 180ms ease, background-color 180ms ease;
}

.copy-editor-launcher:hover {
  background: #1e4c26;
  transform: translateY(-2px);
}

.copy-editor-launcher:active {
  transform: scale(0.98);
}

.copy-editor-bar {
  display: none;
  gap: 14px;
  align-items: center;
  max-width: calc(100vw - 28px);
  min-height: 62px;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(20, 38, 26, 0.97);
  box-shadow: 0 20px 60px rgba(13, 30, 18, 0.28);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.copy-editor.is-active {
  right: 50%;
  transform: translateX(50%);
}

.copy-editor.is-active .copy-editor-launcher {
  display: none;
}

.copy-editor.is-active .copy-editor-bar {
  display: flex;
}

.copy-editor-heading {
  display: grid;
  flex: 0 0 auto;
  gap: 2px;
}

.copy-editor-heading strong {
  font-size: 13px;
  line-height: 1.1;
}

.copy-editor-heading span {
  color: rgba(239, 255, 241, 0.66);
  font-size: 11px;
  white-space: nowrap;
}

.copy-editor-pages {
  display: flex;
  gap: 3px;
  align-items: center;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.copy-editor-pages a,
.copy-editor-pages button {
  padding: 7px 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(245, 255, 246, 0.74);
  cursor: pointer;
  font-size: 11px;
  font-weight: 720;
  text-decoration: none;
  white-space: nowrap;
}

.copy-editor-pages a:hover,
.copy-editor-pages a:focus-visible,
.copy-editor-pages button:hover,
.copy-editor-pages button:focus-visible,
.copy-editor-pages a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.copy-editor-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}

.copy-editor-actions button {
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: transparent;
  color: rgba(245, 255, 246, 0.82);
  cursor: pointer;
  font-size: 11px;
  font-weight: 760;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.copy-editor-actions button:hover,
.copy-editor-actions button:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.copy-editor-actions button:active {
  transform: scale(0.97);
}

.copy-editor-actions [data-copy-editor-close] {
  border-color: rgba(133, 229, 147, 0.34);
  background: #2f9842;
  color: #fff;
}

body.copy-editor-active {
  padding-bottom: 92px;
}

body.copy-editor-active [data-copy-edit-id] {
  border-radius: 4px;
  cursor: text;
  outline: 1px dashed rgba(47, 152, 66, 0.34);
  outline-offset: 3px;
  transition: background-color 140ms ease, box-shadow 140ms ease, outline-color 140ms ease;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

body.copy-editor-active [data-copy-edit-id]:hover {
  background: rgba(219, 247, 223, 0.72);
  outline-color: rgba(30, 76, 38, 0.58);
}

body.copy-editor-active [data-copy-edit-id]:focus {
  background: #f1fbf2;
  box-shadow: 0 0 0 4px rgba(47, 152, 66, 0.14);
  color: #132117;
  outline: 2px solid #2f9842;
  outline-offset: 3px;
}

.inline-support-link {
  color: var(--green-dark);
  font-weight: 780;
  text-decoration-color: rgba(47, 152, 66, 0.34);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.inline-support-link:hover {
  text-decoration-color: currentColor;
}

.final-cta-support {
  width: max-content;
  margin-top: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .donation-cta,
  .donation-cta::before,
  .donation-cta-heart {
    transition-duration: 0.01ms;
  }
}

@media (max-width: 900px) {
  .final-cta-support {
    align-self: flex-start;
  }

  .copy-editor {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .copy-editor.is-active {
    right: 14px;
    transform: none;
  }

  .copy-editor-launcher {
    float: right;
  }

  .copy-editor-bar {
    align-items: flex-start;
    overflow-x: auto;
  }

  .copy-editor-heading {
    position: sticky;
    left: 0;
    z-index: 1;
    padding-right: 6px;
    background: #14261a;
  }
}

@media (max-width: 680px) {
  .final-cta-support {
    width: 100%;
    margin-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .copy-editor *,
  body.copy-editor-active [data-copy-edit-id] {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
