: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; }
.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);
}

.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) {
  .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; }
  .pricing-grid { grid-template-columns: 1fr; }
  [id] { scroll-margin-top: 8rem; }
}

/* 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; }
.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 { 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-label { color: #afc8ed; font-size: .85rem; margin-bottom: .5rem; }
.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:not(.feature-label) { 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);
}
