:root {
  color-scheme: dark;
}
html {
  scroll-behavior: smooth;
}
body {
  background:
    radial-gradient(
      70rem 38rem at 50% 32%,
      rgba(110, 160, 255, 0.035),
      transparent 70%
    ),
    #15171c;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
::selection {
  background: rgba(243, 211, 107, 0.28);
  color: #fff;
}
/* HIG: clear focus ring for keyboard navigation */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #6ea0ff;
  outline-offset: 3px;
  border-radius: 8px;
}
/* anchor targets clear the sticky header */
[id] {
  scroll-margin-top: 5rem;
}
#get-started {
  padding-top: 5rem;
  padding-bottom: 2.5rem;
}
#trust {
  padding-top: 2.5rem;
  padding-bottom: 5rem;
}
#faq {
  padding-bottom: 4rem;
}
/* HIG: respect Reduce Motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

      /* layered night sky */
      .night-sky {
        isolation: isolate;
        background:
          radial-gradient(
            72rem 38rem at 50% -12%,
            rgba(104, 153, 255, 0.3) 0%,
            rgba(48, 65, 126, 0.15) 42%,
            transparent 72%
          ),
          radial-gradient(
            40rem 28rem at 13% 22%,
            rgba(102, 190, 222, 0.12) 0%,
            transparent 72%
          ),
          radial-gradient(
            34rem 25rem at 88% 15%,
            rgba(116, 145, 218, 0.09) 0%,
            transparent 74%
          ),
          linear-gradient(
            180deg,
            #080b16 0%,
            #0d1221 34%,
            #121622 66%,
            #15171c 100%
          );
        background-color: #080b16;
      }
      .night-sky::before,
      .night-sky::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
      }
      .night-sky::before {
        z-index: -2;
        background:
          radial-gradient(
            52% 24% at 51% 26%,
            rgba(243, 211, 107, 0.11),
            transparent 68%
          ),
          radial-gradient(
            34% 20% at 28% 13%,
            rgba(90, 199, 219, 0.1),
            transparent 72%
          ),
          radial-gradient(
            38% 22% at 73% 18%,
            rgba(107, 151, 226, 0.09),
            transparent 74%
          );
        filter: blur(22px);
        opacity: 0.9;
        transform: translate3d(0, 0, 0) scale(1.08);
        animation: aurora-breathe 14s ease-in-out infinite alternate;
      }
      .night-sky::after {
        z-index: -1;
        background:
          linear-gradient(
            102deg,
            transparent 17%,
            rgba(119, 190, 222, 0.045) 38%,
            rgba(124, 156, 224, 0.035) 55%,
            transparent 78%
          ),
          radial-gradient(
            80% 16% at 50% 100%,
            rgba(110, 160, 255, 0.09),
            transparent 72%
          );
        opacity: 0.82;
        transform: skewY(-4deg) scale(1.12);
        animation: aurora-drift 20s ease-in-out infinite alternate;
      }
      @keyframes aurora-breathe {
        from {
          opacity: 0.68;
          transform: translate3d(-1.5%, -1%, 0) scale(1.06);
        }
        to {
          opacity: 1;
          transform: translate3d(1.5%, 1%, 0) scale(1.11);
        }
      }
      @keyframes aurora-drift {
        from {
          transform: translate3d(-3%, -1%, 0) skewY(-4deg) scale(1.12);
        }
        to {
          transform: translate3d(3%, 1%, 0) skewY(-1deg) scale(1.16);
        }
      }

      /* star particles */
      .stars {
        position: absolute;
        inset: 0;
        z-index: -1;
        overflow: hidden;
        pointer-events: none;
        -webkit-mask-image: linear-gradient(
          to bottom,
          #000 0%,
          #000 78%,
          transparent 100%
        );
        mask-image: linear-gradient(
          to bottom,
          #000 0%,
          #000 78%,
          transparent 100%
        );
      }
      .star-dot {
        position: absolute;
        left: var(--x);
        top: var(--y);
        width: var(--size);
        height: var(--size);
        background: var(--color, #fff);
        border-radius: 50%;
        box-shadow: 0 0 calc(var(--size) * 3) var(--color, #fff);
        opacity: var(--alpha);
        animation: twinkle var(--duration) var(--delay) infinite ease-in-out;
      }
      .star-dot.glint::before,
      .star-dot.glint::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        border-radius: 999px;
        background: linear-gradient(
          to right,
          transparent,
          var(--color, #fff),
          transparent
        );
        opacity: 0.42;
        transform: translate(-50%, -50%);
      }
      .star-dot.glint::before {
        width: calc(var(--size) * 5);
        height: 1px;
      }
      .star-dot.glint::after {
        width: 1px;
        height: calc(var(--size) * 5);
        background: linear-gradient(
          to bottom,
          transparent,
          var(--color, #fff),
          transparent
        );
      }
      .shooting-star {
        position: absolute;
        left: var(--x);
        top: var(--y);
        width: 5rem;
        height: 1px;
        border-radius: 999px;
        background: linear-gradient(
          90deg,
          transparent,
          rgba(183, 211, 255, 0.9)
        );
        filter: drop-shadow(0 0 5px rgba(110, 160, 255, 0.65));
        opacity: 0;
        transform: rotate(-28deg) translateX(-3rem);
        animation: shoot 11s var(--delay) infinite ease-in;
      }
      @keyframes twinkle {
        0%,
        100% {
          opacity: calc(var(--alpha) * 0.35);
          transform: scale(0.82);
        }
        50% {
          opacity: var(--alpha);
          transform: scale(1.12);
        }
      }
      @keyframes shoot {
        0%,
        84% {
          opacity: 0;
          transform: rotate(-28deg) translateX(-3rem);
        }
        86% {
          opacity: 0.8;
        }
        91% {
          opacity: 0;
          transform: rotate(-28deg) translateX(13rem);
        }
        100% {
          opacity: 0;
        }
      }


.site-header {
  background: rgba(21, 23, 28, .96);
  border-bottom: 1px solid #282d38;
  transition: background-color .25s ease, border-color .25s ease;
}
.site-header.is-at-top { background: transparent; border-bottom-color: transparent; }
/* visibility also takes the hidden button out of the tab order; its space stays so the nav doesn't shift. */
/* Scoped under .site-header so .btn-amber's own transition doesn't override it.
   Transitions start only once header.js has set the first state, so the button
   doesn't fade out on page load. Showing eases in; hiding is quicker. */
.site-header.is-ready .header-download {
  transition:
    opacity .35s cubic-bezier(.2, .8, .2, 1),
    transform .45s cubic-bezier(.34, 1.4, .64, 1),
    box-shadow .2s ease,
    visibility 0s;
}
.site-header .header-download.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(.94);
}
.site-header.is-ready .header-download.is-hidden {
  transition:
    opacity .18s ease,
    transform .2s ease,
    visibility 0s linear .2s;
}
.hero-stage {
  padding-top: 7rem;
}
.brand-link img {
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}
.brand-link:hover img {
  transform: rotate(-3deg) scale(1.04);
  filter: drop-shadow(0 0 12px rgba(243, 211, 107, 0.24));
}
.star-glow {
  filter: drop-shadow(0 0 28px rgba(243, 211, 107, 0.55))
    drop-shadow(0 0 60px rgba(110, 160, 255, 0.25));
  /* Keep Safari's filtered image on its own layer to avoid square repaint artifacts. */
  transform: translateZ(0);
}

/* Hero star: zooms on hover, spins like a fidget spinner (assets/hero-star.js).
   The pivot sits on the star's visual centre, which is left of the image centre. */
.hero-star {
  --pivot: 47.6% 50%;
  position: relative;
  isolation: isolate;
  display: block;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  cursor: grab;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
  transform-origin: var(--pivot);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
/* A slightly larger grab area than the star itself. */
.hero-star::after {
  content: "";
  position: absolute;
  inset: -0.75rem;
  border-radius: 50%;
}
.hero-star img {
  display: block;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  transform-origin: var(--pivot);
  will-change: transform;
  transition: filter 0.4s ease-out;
}
/* The glow fades out while the star spins and comes back once it rests. */
.hero-star.is-spinning img {
  filter: drop-shadow(0 0 28px rgba(243, 211, 107, 0))
    drop-shadow(0 0 60px rgba(110, 160, 255, 0));
  transition-duration: 0.2s;
}
@media (hover: hover) {
  .hero-star:hover {
    transform: scale(1.1);
  }
}
.hero-star.is-grabbed {
  cursor: grabbing;
  transform: scale(1.04);
  transition-duration: 0.18s;
  transition-timing-function: ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .hero-star:hover,
  .hero-star.is-grabbed {
    transform: none;
  }
}

.glass {
  background: linear-gradient(
    145deg,
    rgba(34, 38, 48, 0.74),
    rgba(20, 23, 30, 0.64)
  );
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(93, 102, 121, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 18px 50px rgba(0, 0, 0, 0.12);
}
.hero-screenshot-card {
  background: rgba(23, 27, 36, 0.58);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid #3a3f4b;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
}

.hero-copy {
  max-width: 48rem;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}
.hero-meta span + span::before {
  content: "\2022";
  margin-right: 0.55rem;
  color: #596071;
}
.soft-card {
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}
.soft-card:hover {
  transform: translateY(-2px);
  border-color: rgba(110, 160, 255, 0.42);
  background: linear-gradient(
    145deg,
    rgba(38, 43, 54, 0.82),
    rgba(22, 25, 33, 0.7)
  );
}
.guides-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.guides-card {
  overflow: hidden;
}
.guide-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.9rem 1.5rem;
  color: rgb(169, 176, 188);
  transition:
    color 0.2s ease,
    background 0.2s ease;
}
.guide-link + .guide-link {
  border-top: 1px solid rgba(58, 63, 75, 0.55);
}
.guide-link:hover {
  color: rgb(245, 247, 250);
  background: rgba(255, 255, 255, 0.03);
}
.guide-arrow {
  flex: none;
  width: 0.875rem;
  height: 0.875rem;
  color: rgba(243, 211, 107, 0.75);
  opacity: 0;
  transform: translateX(-4px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.guide-link:hover .guide-arrow,
.guide-link:focus-visible .guide-arrow {
  opacity: 1;
  transform: translateX(0);
}
@media (max-width: 640px) {
  .guide-link {
    padding: 0.9rem 1.25rem;
  }
}
.security-shield {
  width: 0.875rem;
  height: 1rem;
  background: linear-gradient(180deg, #7bf09a 0%, #4dd270 100%);
  clip-path: polygon(
    50% 0%,
    91% 15%,
    84% 61%,
    68% 82%,
    50% 100%,
    32% 82%,
    16% 61%,
    9% 15%
  );
  filter: drop-shadow(0 0 5px rgba(102, 230, 128, 0.3));
}

.btn-amber {
  background: linear-gradient(180deg, #f3d36b 0%, #fcc761 100%);
  color: #1a1405;
  box-shadow:
    0 0 0 1px rgba(243, 211, 107, 0.4),
    0 8px 30px rgba(243, 211, 107, 0.25);
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease;
}
.btn-amber:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(243, 211, 107, 0.6),
    0 12px 40px rgba(243, 211, 107, 0.4);
}
.btn-ghost {
  border: 1px solid #c0ccdf;
  background: #eaf0fa;
  color: #182437;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.btn-ghost:hover {
  border-color: #6ea0ff;
  background: #ffffff;
}
.app-store-link {
  display: inline-flex;
  flex-shrink: 0;
  border-radius: 7px;
  line-height: 0;
  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
}
.app-store-link:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}
.app-store-badge {
  display: block;
  width: 156px;
  height: 40px;
}
.grad-text {
  background: linear-gradient(180deg, #ffffff 0%, #c9d2e4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.amber-text {
  background: linear-gradient(90deg, #f3d36b, #fcc761);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (max-width: 767px) {
  .hero-meta {
    gap: 0.3rem 0.5rem;
  }
}

.site-nav { display: flex; gap: 1.5rem; align-items: center; }
.site-nav a { padding: .65rem 0; }
.site-nav a[aria-current="page"] { color: #f3d36b; }
.page-intro { max-width: 48rem; margin: auto; padding: 8rem 1.5rem 3rem; text-align: center; }
.page-intro h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 600; line-height: 1.15; }
.page-intro p:not(.eyebrow) { color: #a9b0bc; margin-top: 1.25rem; font-size: 1.15rem; }
.eyebrow { color: #f3d36b; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.hero-product { margin: 2.5rem auto 0; max-width: 68rem; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.price-card { padding: 2rem; background: #1c2028; border: 1px solid #3a3f4b; border-radius: 1rem; }
.price-card h2 { font-size: 1.1rem; font-weight: 600; }
.price { font-size: 2.75rem; font-weight: 600; margin: 1rem 0 .25rem; }
.price-card p:not(.price) { color: #a9b0bc; }
.price-card a { display: inline-block; margin-top: 1.5rem; }
.page-copy { max-width: 48rem; margin: 3rem auto 5rem; padding: 0 1.5rem; }
.page-copy h2 { font-size: 1.5rem; font-weight: 600; margin: 2rem 0 1rem; }
.page-copy p, .page-copy li { color: #a9b0bc; line-height: 1.7; }
.page-copy ul { list-style: disc; padding-left: 1.5rem; }
.page-copy a, .text-link { color: #afcbff; text-decoration: underline; text-underline-offset: .2em; }
.page-links { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 2rem; }
.quick-start { padding: 4rem 1.5rem; text-align: center; }
.quick-start h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 600; }
.quick-start p { color: #a9b0bc; margin: 1rem auto; max-width: 38rem; line-height: 1.7; }
footer nav { flex-wrap: wrap; justify-content: center; }
@media (max-width: 767px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
/* Mobile header. The one-row header (logo, nav, Download) needs about 530px, so below
   640px the nav moves into a menu opened by .menu-toggle (assets/header.js).
   Without JavaScript the nav wraps onto a second row instead. */
.menu-toggle { display: none; }
@media (max-width: 639px) {
  .site-header > div { height: auto; min-height: 4rem; flex-wrap: wrap; padding-top: .65rem; padding-bottom: .65rem; gap: .25rem; }
  .site-nav { order: 3; width: 100%; justify-content: center; gap: 1.5rem; font-size: .85rem; }
  .hero-stage, .page-intro { padding-top: 9rem; }
  [id] { scroll-margin-top: 8rem; }
}
@media (max-width: 639px) and (scripting: enabled) {
  .site-header > div { flex-wrap: nowrap; height: 4rem; padding-top: 0; padding-bottom: 0; gap: .5rem; justify-content: flex-start; padding-left: 1rem; padding-right: .5rem; }
  .site-header > div > .btn-amber { order: 2; margin-left: auto; }
  .hero-stage, .page-intro { padding-top: 7rem; }
  [id] { scroll-margin-top: 5rem; }

  .menu-toggle {
    order: 3;
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 10px;
    color: #f5f7fa;
    transition: background-color .2s ease;
  }
  .menu-toggle:hover, .site-header.is-menu-open .menu-toggle { background: rgba(255, 255, 255, .07); }
  .menu-toggle-bars, .menu-toggle-bars span,
  .menu-toggle-bars::before, .menu-toggle-bars::after { display: block; width: 18px; height: 1.5px; border-radius: 2px; }
  .menu-toggle-bars { position: relative; height: 12px; }
  .menu-toggle-bars span, .menu-toggle-bars::before, .menu-toggle-bars::after {
    position: absolute; left: 0; background: currentColor;
    transition: transform .3s cubic-bezier(.2, .8, .2, 1), opacity .2s ease, top .3s cubic-bezier(.2, .8, .2, 1);
  }
  .menu-toggle-bars::before { content: ""; top: 0; }
  .menu-toggle-bars span { top: 5.25px; }
  .menu-toggle-bars::after { content: ""; top: 10.5px; }
  .is-menu-open .menu-toggle-bars::before { top: 5.25px; transform: rotate(45deg); }
  .is-menu-open .menu-toggle-bars span { opacity: 0; transform: scaleX(.3); }
  .is-menu-open .menu-toggle-bars::after { top: 5.25px; transform: rotate(-45deg); }

  /* The open menu drops down under the header bar as a full-width sheet. */
  .site-header.is-menu-open,
  .site-header.is-menu-open.is-at-top { background: rgba(21, 23, 28, .98); border-bottom-color: #282d38; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem 1rem 1.25rem;
    background: rgba(21, 23, 28, .98);
    border-bottom: 1px solid #282d38;
    box-shadow: 0 24px 40px -12px rgba(0, 0, 0, .55);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    font-size: 1.15rem;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s ease, transform .25s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .25s;
  }
  .site-header.is-menu-open .site-nav {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity .2s ease, transform .3s cubic-bezier(.2, .8, .2, 1), visibility 0s;
  }
  .site-nav a {
    display: flex; align-items: center; justify-content: space-between;
    padding: .95rem .5rem;
    color: #f5f7fa;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
  }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a::after { content: "\203A"; color: #6b7280; font-size: 1.35rem; line-height: 1; transition: transform .2s ease, color .2s ease; }
  .site-nav a:hover::after, .site-nav a:active::after { color: #f3d36b; transform: translateX(3px); }
  .site-nav a[aria-current="page"]::after { color: #f3d36b; }
}
@media (max-width: 639px) and (scripting: enabled) and (prefers-reduced-motion: reduce) {
  .site-nav, .site-header.is-menu-open .site-nav, .menu-toggle-bars span,
  .menu-toggle-bars::before, .menu-toggle-bars::after { transition: none; }
}

/* Product storytelling */
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.hero-button { display: inline-flex; align-items: center; justify-content: center; gap: 1.5rem; min-height: 52px; padding: .85rem 1.35rem; border-radius: 12px; font-weight: 600; }
/* Keep the width the button had when it read "Download for Mac ↓". */
.hero-download { min-width: 13.125rem; }
.motion-toggle { display: block; margin: .8rem auto 0; color: #c2cee0; font-size: .75rem; text-decoration: underline; text-underline-offset: 3px; padding: .5rem; }
.motion-toggle[hidden] { display: none; }
.hero-product { perspective: 1400px; }
.hero-screenshot-card { animation: hero-arrive 1.1s ease-out both; transform-origin: center bottom; }
@keyframes hero-arrive { from { transform: translateY(35px) rotateX(7deg) scale(.96); opacity: .65; } to { transform: none; opacity: 1; } }
.api-section { padding-top: 5rem; padding-bottom: 5rem; text-align: center; }
.api-section h2, .section-heading h2, .privacy-copy h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; font-weight: 600; letter-spacing: -.025em; }
.api-section > p:not(.eyebrow) { max-width: 41rem; margin: 1.3rem auto; font-size: 1.1rem; color: #b5bfce; line-height: 1.7; }
.api-mark { display: flex; justify-content: center; align-items: center; gap: 1.5rem; margin-bottom: 2rem; }
.api-mark img { border-radius: 14px; }
.api-mark span { color: #7e9ac5; font-size: 2rem; }
.api-labels { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.api-labels span { border: 1px solid #3a465b; border-radius: 2rem; padding: .4rem .85rem; color: #c6d3e7; font-size: .8rem; }
.product-section, .native-section, .love-section { padding-top: 3rem; padding-bottom: 4rem; }
.section-heading { text-align: center; margin-bottom: 3rem; }
.section-heading > p:last-child { color: #b5bfce; margin-top: 1.2rem; font-size: 1.1rem; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.feature-card { min-width: 0; overflow: hidden; border: 1px solid #39475e; border-radius: 24px; background: #202a3b; }
.feature-wide { grid-column: 1 / -1; display: grid; grid-template-columns: .85fr 1.3fr; align-items: center; }
.feature-copy { padding: 2.25rem; }
.feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 13px; color: #f3d36b; background: #f3d36b12; border: 1px solid #f3d36b33; margin-bottom: 1.25rem; }
.feature-icon svg { width: 25px; height: 25px; }
.feature-copy h3 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); font-weight: 600; line-height: 1.2; letter-spacing: -.02em; }
.feature-copy > p { color: #c2ccda; margin-top: 1rem; line-height: 1.7; }
/* Crop the baked-in marketing backdrop to each original app window. */
.feature-visual { display: block; position: relative; min-width: 0; aspect-ratio: var(--crop-width) / var(--crop-height); margin: 0 1.25rem 1.25rem; border-radius: 14px; overflow: hidden; }
.feature-visual img, .screenshot-window img {
  position: absolute;
  width: calc(var(--source-width, 1920) / var(--crop-width) * 100%);
  max-width: none;
  height: auto;
  left: calc(-1 * var(--crop-x) / var(--crop-width) * 100%);
  top: calc(-1 * var(--crop-y) / var(--crop-height) * 100%);
}
.feature-wide .feature-visual { margin: 1.5rem 1.5rem 1.5rem 0; }
.board-card { background: linear-gradient(145deg, #253448, #1b2331); }
.issue-card { background: linear-gradient(145deg, #303044, #202331); }
.outline-card { background: linear-gradient(120deg, #29332e, #1b2531); }
.query-example { margin: 1.5rem 0; padding: .8rem 1rem; border-radius: 10px; border: 1px solid #475b78; background: #151d2a; color: #c8dbfa; font-size: .85rem; line-height: 1.8; }
.query-example span { color: #f3d36b; }
kbd { border: 1px solid #657189; border-radius: 5px; padding: .1rem .3rem; font-size: .85em; white-space: nowrap; }
.outline-example { margin-top: 1.25rem; display: grid; gap: .55rem; font-size: .9rem; }
.outline-example li { display: flex; align-items: center; gap: .65rem; }
.outline-example li:nth-child(2) { margin-left: 1.4rem; }
.outline-example li:nth-child(3) { margin-left: 2.8rem; }
.issue-dot { width: .65rem; height: .65rem; border-radius: 3px; background: #c29bff; }
.story-dot { background: #86cbaa; }.task-dot { background: #89b6ff; }
.native-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.native-grid h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: .75rem; }
.native-grid p { color: #b5bfce; line-height: 1.65; margin-bottom: 1rem; }
.privacy-block { background: radial-gradient(ellipse at 90% 40%, #253b38, #1b252c 65%); border: 1px solid #3a5554; border-radius: 24px; padding: 3rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.privacy-copy > p:not(.eyebrow) { color: #c2cfcc; line-height: 1.75; margin: 1.5rem 0; }
.privacy-diagram { display: grid; grid-template-columns: 1fr 1fr 1fr; text-align: center; align-items: center; gap: .75rem; }
.connection-end { display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.connection-end .feature-icon { width: 68px; height: 68px; margin-bottom: .5rem; }
.connection-end span:not(.feature-icon), .connection-line span { font-size: .75rem; color: #bacdc8; }
.connection-line { display: grid; gap: .65rem; }.connection-line b { font-size: 2rem; color: #94d1bf; }
.auth-note { grid-column: 1 / -1; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid #45605b; color: #b5c8c2; font-size: .8rem; }
.is-visible .feature-visual, .privacy-block.is-visible { animation: feature-arrive .85s ease-out both; }
.is-visible .outline-example li { animation: feature-arrive .7s ease-out both; }
.is-visible .outline-example li:nth-child(2) { animation-delay: .2s; }.is-visible .outline-example li:nth-child(3) { animation-delay: .4s; }
.is-visible .query-example { animation: feature-arrive .7s .2s ease-out both; }
@keyframes feature-arrive { from { transform: translateY(24px); opacity: .6; } to { transform: none; opacity: 1; } }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; }
@media (max-width: 900px) {
  .native-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-wide { grid-template-columns: 1fr; }
  .feature-wide .feature-visual { margin: 0 1.25rem 1.25rem; }
  .privacy-block { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero-actions { flex-direction: column; align-items: stretch; padding: 0 1rem; }
  .feature-grid, .native-grid { grid-template-columns: 1fr; }
  .feature-copy { padding: 1.5rem; }
  .privacy-block { padding: 1.5rem; gap: 2rem; }
  .privacy-diagram { gap: .4rem; }
  .api-section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
}

.screenshot-dialog { margin: auto; padding: 16px; max-width: 96vw; max-height: 96dvh; border: 1px solid #475569; border-radius: 16px; background: #1b2331; color: #f5f7fa; }
.screenshot-dialog::backdrop { background: rgb(5 9 17 / 88%); }
.screenshot-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: -4px -4px 12px 4px; }
.screenshot-label { color: #aebbcf; font-size: 13px; font-weight: 500; }
.screenshot-close { display: grid; place-items: center; width: 44px; height: 44px; flex: none; padding: 0; border: 1px solid #ffffff1f; border-radius: 50%; background: #ffffff08; color: #dce5f2; cursor: pointer; transition: background .15s, color .15s; }
.screenshot-close svg { width: 18px; height: 18px; }
.screenshot-close:hover { background: #ffffff18; color: #fff; }
.screenshot-close:focus-visible { outline: 2px solid #f3d36b; outline-offset: 3px; border-radius: 50%; }
.screenshot-window { --source-width: 1978; --crop-width: 1978; --crop-height: 1452; --crop-x: 0; --crop-y: 0; position: relative; width: min(88vw, 1400px, calc(78dvh * var(--crop-width) / var(--crop-height))); aspect-ratio: var(--crop-width) / var(--crop-height); overflow: hidden; border-radius: 12px; }
html:has(.screenshot-dialog[open]) { overflow: hidden; }

/* Fade only the sky, keeping the closing content and footer fully opaque. */
.closing-sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12rem);
  mask-image: linear-gradient(to bottom, transparent, #000 12rem);
}

/* Wall of love: grid of verbatim user quotes, card anatomy after shipfa.st */
.love-wall { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1.5rem; align-items: start; }
.love-card { margin: 0; padding: 1.5rem; border: 1px solid #ffffff1f; border-radius: 12px; background: #1c1f26; }
.love-stars { color: #f3d36b; letter-spacing: .15em; margin-bottom: .75rem; }
.love-card blockquote { color: #cfd5de; line-height: 1.6; }
.love-card mark { background: #f3d36b; color: #15171c; padding: 0 .15em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.love-card figcaption { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #ffffff1a; font-size: .875rem; }
.love-avatar { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: hsl(var(--hue) 45% 30%); color: #fff; font-weight: 600; }
.love-who { display: flex; flex-direction: column; }
.love-who strong { font-weight: 500; color: #f5f7fa; }
.love-who span, .love-who a { color: #a9b0bc; }
.love-who a { text-decoration: underline; text-underline-offset: 3px; padding: .6rem 0; margin: -.6rem 0; }
.love-card.is-visible { animation: feature-arrive .85s ease-out both; }
.love-card:nth-child(2).is-visible { animation-delay: .12s; }
.love-card:nth-child(3).is-visible { animation-delay: .24s; }
