/* ============================================================
   ChroFlow Homepage — style.css
   Apple-inspired, flat white, minimal. Single-page marketing.
   ============================================================ */

/* ── Design tokens ────────────────────────────────────────── */
:root {
  /* Brand colours (from ChroFlow swirl) */
  --color-coral:   #FF6B6B;
  --color-purple:  #9B59B6;
  --color-blue:    #4A90D9;
  --color-green:   #27AE60;
  --color-yellow:  #F5A623;

  /* Brand gradient — matched to the ChroFlow swirl logo "o" */
  --gradient-brand: linear-gradient(
    135deg,
    #fb989a80 0%,
    #f7c37a80 16.66%,
    #e6d68580 33.33%,
    #9fdc8180 50%,
    #9ad7d780 66.66%,
    #8dafdd80 83.33%,
    #c09bf380 100%
  );
  --gradient-brand-h: linear-gradient(
    90deg,
    #fb989a80 0%,
    #f7c37a80 16.66%,
    #e6d68580 33.33%,
    #9fdc8180 50%,
    #9ad7d780 66.66%,
    #8dafdd80 83.33%,
    #c09bf380 100%
  );
  --gradient-brand-deep: linear-gradient(
    135deg,
    #e05050 0%,
    #d4882a 25%,
    #4aaa60 55%,
    #3a82cc 80%,
    #8855dd 100%
  );

  /* Surface / text */
  --color-bg:      #ffffff;
  --color-surface: #f5f5f7;
  --color-text:    #1d1d1f;
  --color-muted:   #6e6e73;
  --color-border:  #d2d2d7;

  /* Typography weights */
  --fw-light:      300;
  --fw-regular:    400;
  --fw-semibold:   600;
  --fw-bold:       700;

  /* Layout */
  --topnav-h:      60px;
  --content-max:   1200px;
  --side-pad:      clamp(1.25rem, 5vw, 4rem);
  --section-pad:   clamp(4rem, 10vw, 8rem);
  --viewport-h:    100vh;
  --feature-stage-h: calc(var(--viewport-h) - var(--topnav-h));

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

@supports (height: 100dvh) {
  :root {
    --viewport-h: 100dvh;
  }
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  font-weight: var(--fw-light);
  line-height: 1.65;
  overflow-x: hidden;
}
body.nav-open {
  overflow: hidden;
}
body.faq-gallery-open {
  overflow: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }

/* ── Scroll offset for anchors ───────────────────────────── */
section {
  scroll-margin-top: var(--topnav-h);
}
#hero { scroll-margin-top: 0; }

/* ── Accessibility: skip link ────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--color-text);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0 0 8px 8px;
  font-size: 0.9rem;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ── Reduced motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   TOP NAV
   ═══════════════════════════════════════════════════════════ */
.topnav {
  --topnav-inner-gap: 2rem;
  --topnav-logo-box-h: 40px;
  --topnav-logo-img-h: 38px;
  --topnav-link-font-size: 0.86rem;
  --topnav-link-pad-y: 0.4rem;
  --topnav-link-pad-x: 0.75rem;
  --topnav-cta-font-size: 0.84rem;
  --topnav-cta-pad-y: 0.52rem;
  --topnav-cta-pad-x: 0.95rem;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--topnav-h);
  z-index: 900;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.topnav--hidden {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}
.topnav__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--topnav-inner-gap);
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--side-pad);
  height: 100%;
}
.topnav__logo {
  flex-shrink: 0;
  line-height: 0;
  overflow: hidden;
  height: var(--topnav-logo-box-h);
}
.topnav__logo img {
  height: var(--topnav-logo-img-h);
  width: auto;
}
.topnav__panel {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 2rem;
  justify-content: flex-end;
  margin-left: 0;
}
.topnav__links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.25rem;
}
.topnav__links a {
  font-size: var(--topnav-link-font-size);
  font-weight: 400;
  letter-spacing: 0.018em;
  color: #3d3d44;
  padding: var(--topnav-link-pad-y) var(--topnav-link-pad-x);
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.topnav__links a:link,
.topnav__links a:visited,
.topnav__links a:active {
  color: #34343a;
}
.topnav__links a:hover {
  background: rgba(29, 29, 31, 0.04);
  color: #17171b;
}
.topnav__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--topnav-cta-pad-y) var(--topnav-cta-pad-x);
  border-radius: 999px;
  background: var(--gradient-brand-h);
  color: #4c4b4b;
  font-size: var(--topnav-cta-font-size);
  font-weight: var(--fw-semibold);
  line-height: 1;
  letter-spacing: 0;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: none;
  transition: opacity 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.topnav__cta:link,
.topnav__cta:visited,
.topnav__cta:active {
  color: #4c4b4b;
}
.topnav__cta:hover {
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: none;
}
.topnav__cta:focus-visible {
  outline: 2px solid rgba(17, 17, 19, 0.45);
  outline-offset: 0.2rem;
}
.topnav__cta:active {
  transform: translateY(0);
}
.topnav__menu-btn,
.topnav__scrim {
  display: none;
}
.topnav__menu-btn {
  position: relative;
  z-index: 920;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.topnav__menu-btn span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.topnav__scrim {
  position: fixed;
  inset: 0;
  z-index: 905;
  background: rgba(17, 24, 39, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

/* Mobile nav drawer */
@media (max-width: 768px) {
  .topnav__inner {
    justify-content: space-between;
    gap: 1rem;
  }

  .topnav__menu-btn {
    display: inline-flex;
  }

  .topnav__panel {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 910;
    width: min(82vw, 320px);
    height: var(--viewport-h);
    padding: calc(var(--topnav-h) + 1rem) 1.1rem 1.25rem;
    margin-left: 0;
    justify-content: flex-start;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    box-shadow: -18px 0 48px rgba(15, 23, 42, 0.14);
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.28s ease;
  }

  .topnav__links {
    position: static;
    transform: none;
    flex-direction: column;
    gap: 0.3rem;
  }

  .topnav__links a {
    display: block;
    width: 100%;
    padding: 0.9rem 0.95rem;
    font-size: 1rem;
    border-radius: 12px;
  }

  .topnav__cta {
    width: 100%;
    margin-top: auto;
    padding: 0.9rem 0.95rem;
    text-align: center;
    border-radius: 12px;
    font-size: 1rem;
  }

  .topnav__scrim {
    display: block;
  }

  .topnav.topnav--menu-open .topnav__panel {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .topnav.topnav--menu-open .topnav__scrim {
    opacity: 1;
    pointer-events: auto;
  }

  .topnav.topnav--menu-open .topnav__menu-btn span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .topnav.topnav--menu-open .topnav__menu-btn span:nth-child(2) {
    opacity: 0;
  }

  .topnav.topnav--menu-open .topnav__menu-btn span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* ═══════════════════════════════════════════════════════════
   TYPOGRAPHY SYSTEM
   ═══════════════════════════════════════════════════════════ */
.display-xl {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: var(--fw-bold);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.display-lg {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: var(--fw-bold);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.display-md {
  font-size: clamp(1.4rem, 3vw, 2.25rem);
  font-weight: var(--fw-semibold);
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: var(--fw-light);
  line-height: 1.7;
  color: var(--color-muted);
}

/* ── Gradient text utility ────────────────────────────────── */
.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  line-height: 1;
  transition: opacity 0.18s, transform 0.18s, box-shadow 0.18s;
  white-space: nowrap;
}
.btn:hover  { opacity: 1; transform: translateY(-1px); }
.btn:active { opacity: 1; transform: translateY(0); }

/* Primary — gradient fill */
.btn--primary {
  background: var(--gradient-brand-h);
  color: #4c4b4b;
  box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.btn--primary:hover { box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.1)}

/* Secondary — outlined */
.btn--secondary {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}
.btn--secondary:hover { background: var(--color-surface); }
.btn--with-icon {
  gap: 1rem;
}
.btn__icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  object-fit: contain;
  transform: scale(1.75);
  transform-origin: center;
}

/* Download buttons */
.btn--download {
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 2rem;
  border-radius: 14px;
  min-width: 220px;
  background: var(--color-surface);
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
  box-shadow: none;
}
.btn--download .btn-label {
  font-size: 1rem;
  font-weight: var(--fw-semibold);
}
.btn--download .btn-sub {
  font-size: 0.75rem;
  font-weight: var(--fw-regular);
  opacity: 0.7;
}
/* Current platform */
.btn--download.is-platform {
  background: #1d1d1f;
  color: #fff;
  border-color: #1d1d1f;
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
}
.btn--download.is-platform:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.28); }

/* ═══════════════════════════════════════════════════════════
   REVEAL ON SCROLL
   ═══════════════════════════════════════════════════════════ */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal-on-scroll.--visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
.hero {
  --hero-min-height: calc(var(--viewport-h) * 0.78);
  --hero-visual-top-gap: 1.35rem;
  --hero-visual-bottom-gap: 1.5rem;
  --hero-padding-top: calc(var(--topnav-h) + var(--hero-visual-top-gap));
  --hero-padding-bottom: var(--hero-visual-bottom-gap);
  --hero-kicker-font-size: 1.4rem;
  --hero-title-font-size: 4.6rem;
  --hero-title-vw-limit: 7.8vw;
  --hero-title-bottom-gap: 2rem;
  --hero-summary-font-size: 1.25rem;
  --hero-summary-bottom-gap: 4rem;
  --hero-actions-gap: 1.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--hero-min-height);
  background: var(--color-bg);
  text-align: center;
  padding: var(--hero-padding-top) var(--side-pad) var(--hero-padding-bottom);
}
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 960px;
  min-width: 0;
}
.hero__eyebrow {
  --hero-kicker-dot-size: 1.35em;
  --hero-kicker-dot-gap: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  margin: 0 0 1.2rem;
  padding: 0;
  color: #767680;
  font-size: var(--hero-kicker-font-size);
  font-weight: 150;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-align: center;
}
.hero__eyebrow-item {
  white-space: nowrap;
}
.hero__eyebrow-separator {
  margin: 0 var(--hero-kicker-dot-gap);
  font-size: var(--hero-kicker-dot-size);
  line-height: 0.75;
}
.hero__title {
  --hero-title-line-gap: 0;
  width: 100%;
  max-width: 820px;
  margin: 0 0 var(--hero-title-bottom-gap);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--hero-title-line-gap);
  font-size: min(var(--hero-title-font-size), var(--hero-title-vw-limit));
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #17171b;
}
.hero__title-line {
  display: block;
  max-width: 100%;
  white-space: nowrap;
}
.hero__title-line--light {
  font-weight: 150;
}
.hero__title-line--strong {
  font-weight: 250;
}
.hero__workflow {
  --hero-workflow-chip-bg: rgba(255, 255, 255, 0.76);
  --hero-workflow-chip-bg-hover: rgba(23, 23, 27, 0.024);
  --hero-workflow-chip-border: rgba(54, 52, 52, 0);
  --hero-workflow-chip-color: #818592;
  --hero-workflow-chip-color-hover: #4b4949;
  --hero-workflow-chip-font-size: 1.3rem;
  --hero-workflow-chip-font-weight: 300;
  --hero-workflow-chip-font-weight-hover: 300;
  --hero-workflow-chip-transition: 160ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin: 0 0 0.6rem;
}
.hero__workflow-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--hero-workflow-chip-border);
  border-radius: 999px;
  background: var(--hero-workflow-chip-bg);
  color: var(--hero-workflow-chip-color);
  font-size: var(--hero-workflow-chip-font-size);
  font-weight: var(--hero-workflow-chip-font-weight);
  line-height: 1.2;
  text-decoration: none;
  transition:
    background-color var(--hero-workflow-chip-transition),
    color var(--hero-workflow-chip-transition),
    border-color var(--hero-workflow-chip-transition),
    font-weight var(--hero-workflow-chip-transition);
}
a.hero__workflow-chip {
  cursor: pointer;
}
.hero__workflow-chip:hover {
  background: var(--hero-workflow-chip-bg-hover);
  color: var(--hero-workflow-chip-color-hover);
  font-weight: var(--hero-workflow-chip-font-weight-hover);
}
a.hero__workflow-chip:focus-visible {
  outline: 2px solid rgba(23, 23, 27, 0.22);
  outline-offset: 0.2rem;
}
.hero__workflow-arrow {
  color: #a5a8b0;
  font-size: 1rem;
  line-height: 1;
}
.hero__summary {
  max-width: 680px;
  margin: 0 0 var(--hero-summary-bottom-gap);
  font-size: var(--hero-summary-font-size);
  font-weight: 250;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: #979ca7;
}
.hero-summary-break::after {
  content: "";
}
.hero__workflow-inline {
  display: none;
}
.hero__workflow-inline a {
  color: #6f7480;
  font-weight: 320;
  text-decoration: none;
}
.hero__workflow-inline a:hover,
.hero__workflow-inline a:focus-visible {
  color: #4b4949;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--hero-actions-gap);
  flex-wrap: wrap;
  margin: 0;
}
.hero__actions .btn {
  padding: 0.8rem 3rem;
  border-radius: 999px;
  font-size: 0.97rem;
}
.hero__actions .btn--primary {
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}
.hero__actions .btn--secondary {
  border-color: rgba(15, 23, 42, 0.12);
}
.hero__actions .btn--secondary:hover {
  background: rgba(15, 23, 42, 0.035);
}

@media (min-width: 641px) and (max-width: 1366px) and (min-height: 650px) {
  .hero {
    --hero-min-height: calc(var(--viewport-h) * 0.86);
    --hero-visual-top-gap: 1.35rem;
    --hero-visual-bottom-gap: 1.5rem;
  }
}

@media (min-width: 641px) and (min-height: 900px) and (max-aspect-ratio: 4 / 5) {
  .hero {
    --hero-min-height: min(calc(var(--viewport-h) * 0.7), 1345px);
    --hero-visual-top-gap: 1.35rem;
    --hero-visual-bottom-gap: 1.5rem;
  }
}

@media (min-width: 641px) and (max-width: 1112px) and (min-height: 700px) {
  .hero {
    --hero-title-font-size: 4.05rem;
    --hero-title-vw-limit: 7.1vw;
    --hero-title-bottom-gap: 1.7rem;
    --hero-summary-font-size: 1.08rem;
    --hero-summary-bottom-gap: 3.15rem;
    --hero-actions-gap: 1rem;
  }

  .hero__workflow {
    --hero-workflow-chip-font-size: 1.08rem;
    gap: 0.58rem;
    margin-bottom: 0.48rem;
  }

  .hero__workflow-chip {
    min-height: 2.15rem;
    padding: 0.42rem 0.76rem;
  }

  .hero__actions .btn {
    padding: 0.72rem 2.45rem;
    font-size: 0.9rem;
  }
}

@media (min-width: 769px) and (max-width: 900px) and (max-height: 650px) {
  :root {
    --topnav-h: 52px;
    --side-pad: clamp(1rem, 3vw, 1.5rem);
  }

  .topnav {
    --topnav-inner-gap: 1rem;
    --topnav-logo-box-h: 34px;
    --topnav-logo-img-h: 32px;
    --topnav-link-font-size: 0.76rem;
    --topnav-link-pad-y: 0.32rem;
    --topnav-link-pad-x: 0.52rem;
    --topnav-cta-font-size: 0.74rem;
    --topnav-cta-pad-y: 0.42rem;
    --topnav-cta-pad-x: 0.7rem;
  }

  .hero {
    --hero-min-height: calc(var(--viewport-h) * 0.92);
    --hero-visual-top-gap: 1.35rem;
    --hero-visual-bottom-gap: 1.5rem;
    --hero-title-font-size: 3.05rem;
    --hero-title-vw-limit: 6.3vw;
    --hero-title-bottom-gap: 1.25rem;
    --hero-summary-font-size: 0.92rem;
    --hero-summary-bottom-gap: 1.3rem;
    --hero-actions-gap: 0.8rem;
  }

  .hero__title {
    line-height: 1.12;
  }

  .hero__workflow {
    --hero-workflow-chip-font-size: 0.84rem;
    gap: 0.45rem;
    margin-bottom: 0.35rem;
  }

  .hero__workflow-chip {
    min-height: 1.9rem;
    padding: 0.32rem 0.6rem;
  }

  .hero__summary {
    max-width: 58ch;
    line-height: 1.45;
  }

  .hero__actions .btn {
    padding: 0.62rem 1.55rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 640px) {
  .hero {
    --hero-title-font-size: 2.55rem;
    --hero-summary-font-size: 0.96rem;
    --hero-workflow-inline-font-size: 0.94rem;
    --hero-visual-top-gap: 4.05rem;
    --hero-visual-bottom-gap: 4.5rem;
    min-height: auto;
  }

  .hero__title {
    max-width: 100%;
    margin-bottom: 1.8rem;
    --hero-title-vw-limit: 7.2vw;
    font-size: min(var(--hero-title-font-size), var(--hero-title-vw-limit));
    line-height: 1.2;
    letter-spacing: -0.045em;
  }

  .hero__eyebrow {
    flex-direction: column;
    gap: 0.35rem;
    max-width: min(100%, 25rem);
    margin-bottom: 1.75rem;
    font-size: 0.9rem;
    letter-spacing: 0.015em;
  }

  .hero__eyebrow-separator {
    display: none;
  }

  .hero__workflow {
    display: none;
  }

  .hero__summary {
    max-width: 30ch;
    margin-bottom: 1.8rem;
    font-size: var(--hero-summary-font-size);
    text-align: justify;
    text-align-last: left;
  }

  .hero-summary-break br {
    display: none;
  }

  .hero-summary-break::after {
    content: " ";
  }

  .hero__workflow-inline {
    display: inline;
    font-size: var(--hero-workflow-inline-font-size);
  }

  .hero__actions {
    width: 100%;
    gap: 0.85rem;
  }

  .hero__actions .btn {
    width: min(100%, 320px);
  }
}

@media (max-width: 520px) {
  .hero {
    --hero-summary-font-size: 0.88rem;
    --hero-workflow-inline-font-size: 0.82rem;
    --hero-actions-gap: 0.72rem;
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    max-width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
  }

  .hero__title {
    --hero-title-line-gap: 0.14rem;
  }

  .hero__title-line--light {
    font-weight: 250;
  }

  .hero__title-line--strong {
    font-weight: 350;
  }

  .hero__summary {
    width: min(70vw, 30rem);
    max-width: none;
    line-height: 1.5;
    text-align: justify;
    text-align-last: left;
  }

  .hero__actions .btn {
    width: min(68vw, 280px);
    padding: 0.76rem 1.25rem;
    font-size: 0.91rem;
  }
}

@media (max-width: 380px) {
  .hero {
    --hero-summary-font-size: 0.84rem;
    --hero-workflow-inline-font-size: 0.78rem;
  }

  .hero__summary {
    width: min(72vw, 30rem);
  }

  .hero__actions .btn {
    width: min(66vw, 250px);
    font-size: 0.88rem;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  :root {
    --topnav-h: 54px;
  }

  .topnav {
    --topnav-inner-gap: 1.15rem;
    --topnav-logo-box-h: 35px;
    --topnav-logo-img-h: 33px;
    --topnav-link-font-size: 0.78rem;
    --topnav-link-pad-y: 0.32rem;
    --topnav-link-pad-x: 0.56rem;
    --topnav-cta-font-size: 0.76rem;
    --topnav-cta-pad-y: 0.42rem;
    --topnav-cta-pad-x: 0.72rem;
  }

  .hero {
    --hero-title-font-size: 2.8rem;
    --hero-title-vw-limit: 6.2vw;
    --hero-title-bottom-gap: 1rem;
    --hero-summary-font-size: 0.92rem;
    --hero-summary-bottom-gap: 1.2rem;
    --hero-visual-top-gap: 1.35rem;
    --hero-visual-bottom-gap: 1.5rem;
    align-items: center;
    min-height: var(--viewport-h);
  }

  .hero__title {
    line-height: 1.14;
  }

  .hero__workflow {
    --hero-workflow-chip-font-size: 0.88rem;
    gap: 0.45rem;
    margin-bottom: 0.45rem;
  }

  .hero__workflow-chip {
    min-height: 2rem;
    padding: 0.38rem 0.7rem;
  }

  .hero__summary {
    max-width: 58ch;
    text-align: center;
  }

  .hero-summary-break br {
    display: none;
  }

  .hero-summary-break::after {
    content: " ";
  }

  .hero__workflow-inline {
    display: none;
  }
}

@media (max-height: 390px) and (orientation: landscape) {
  :root {
    --topnav-h: 50px;
  }

  .topnav {
    --topnav-inner-gap: 0.85rem;
    --topnav-logo-box-h: 32px;
    --topnav-logo-img-h: 30px;
    --topnav-link-font-size: 0.72rem;
    --topnav-link-pad-y: 0.28rem;
    --topnav-link-pad-x: 0.46rem;
    --topnav-cta-font-size: 0.7rem;
    --topnav-cta-pad-y: 0.36rem;
    --topnav-cta-pad-x: 0.6rem;
  }

  .hero {
    --hero-title-font-size: 2.25rem;
    --hero-title-vw-limit: 5.7vw;
    --hero-title-bottom-gap: 0.8rem;
    --hero-summary-font-size: 0.82rem;
    --hero-summary-bottom-gap: 0.95rem;
    --hero-workflow-inline-font-size: 0.8rem;
    --hero-visual-top-gap: 1.35rem;
    --hero-visual-bottom-gap: 1.5rem;
    min-height: var(--viewport-h);
  }

  .hero__title {
    line-height: 1.08;
  }

  .hero__workflow {
    display: none;
  }

  .hero__summary {
    max-width: 68ch;
    text-align: justify;
    text-align-last: left;
  }

  .hero__workflow-inline {
    display: inline;
    font-size: var(--hero-workflow-inline-font-size);
  }

  .hero__actions .btn {
    padding: 0.62rem 1.5rem;
    font-size: 0.86rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   PAIN POINTS
   ═══════════════════════════════════════════════════════════ */
.pain {
  background: var(--color-surface);
  padding: clamp(1.5rem, 3vw, 2.5rem) var(--side-pad) clamp(3rem, 4vw, 3.5rem);
}
.pain__inner {
  max-width: var(--content-max);
  margin: 0 auto;
}
.pain__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}
.pain-item {
  display: flex;
  flex-direction: column;
}
.pain-card__image {
  width: 82%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 24px;
  margin: 0 auto 0.9rem;
}
.pain-card__text {
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  line-height: 1.45;
  color: var(--color-text);
  text-align: center;
}
.pain-card__text strong {
  font-weight: 450;  /* 调这个数字，400=正常，600=semibold，700=bold */
}
@media (max-width: 768px) {
  .pain__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pain-item {
    width: min(100%, 22rem);
    margin: 0 auto;
  }

  .pain-card__image {
    border-radius: 18px;
  }
}

/* ═══════════════════════════════════════════════════════════
   SOLUTION INTRO
   ═══════════════════════════════════════════════════════════ */
.solution {
  background: var(--color-bg);
  padding: var(--section-pad) var(--side-pad);
  text-align: center;
}
.solution__inner {
  max-width: none;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.solution__title {
  font-size: clamp(2.85rem, 7.4vw, 5.35rem);
  font-weight: 220;
  letter-spacing: -0.015em;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
}
.solution__wordmark {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}
.solution__brand-light {
  font-weight: 100;
}
.solution__brand-strong {
  font-weight: 500;
}
.solution__brand-swirl {
  width: 0.62em;
  height: 0.62em;
  margin: 0 0.02em 0 0.01em;
  align-self: center;
  transform: translateY(0.1em);
}
.solution__title-rest {
  font-weight: 220;
}
.solution__lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: var(--fw-light);
  line-height: 1.7;
  color: var(--color-muted);
  max-width: 580px;
}
.solution__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}
.pill {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: var(--fw-semibold);
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  letter-spacing: 0.01em;
}
.solution__tagline {
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  font-weight: var(--fw-regular);
  line-height: 1.45;
  letter-spacing: 0.01em;
  margin-top: 1rem;
}
.solution__tagline:empty {
  display: none;
}

.solution__founder {
  font-size: clamp(1.2rem, 1.3vw, 1.7rem);
  font-weight: var(--fw-light);
  font-style: italic;
  color: var(--color-muted);
  line-height: 1.5;
  max-width: 750px;
  margin-top: 1rem;
}

@media (max-width: 640px) {
  .solution__title {
    font-size: clamp(1.9rem, 8.6vw, 2.85rem);
    line-height: 1;
  }
}

@media (max-width: 920px) and (orientation: landscape) and (max-height: 520px) {
  .solution__title {
    font-size: clamp(1.85rem, 5.8vw, 2.7rem);
    line-height: 1;
  }
}

/* ═══════════════════════════════════════════════════════════
   FEATURES — FULL-WIDTH STICKY SCROLL (desktop / landscape)
   ═══════════════════════════════════════════════════════════ */
.features {
  --feature-tint: var(--color-surface);
  background: var(--color-bg);
  padding-top: 0;
  position: relative;
}
.features--shot-1 { --feature-tint: #cecece; }
.features--shot-2 { --feature-tint: #aee7b8; }
.features--shot-3 { --feature-tint: #acd5f3; }
.features--shot-4 { --feature-tint: #f0c0f3; }
.features--shot-5 { --feature-tint: #eee2b3; }

.features__header {
  text-align: center;
  padding: 0 var(--side-pad) 3rem;
}
.features__header h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
}

.features__track {
  position: relative;
}

/* Sticky screenshot backdrop — full viewport width */
.features__sticky-bg {
  position: sticky;
  top: var(--topnav-h);
  height: var(--feature-stage-h);
  z-index: 0;
  overflow: hidden;
  background: var(--color-surface);
  will-change: transform;
}
.features__shots {
  position: relative;
  width: 100%;
  height: 100%;
  --shot-1-aspect-w: 16;
  --shot-1-aspect-h: 9.98;
  --shot-1-title-top: 4%;
  --shot-1-card-center: 55%;
  --shot-1-card-top: 18%;
  --shot-1-card-max-width: 82vw;
  --shot-1-card-height: min(
    calc((var(--shot-1-card-center) - var(--shot-1-card-top)) * 2),
    calc(var(--shot-1-card-max-width) * var(--shot-1-aspect-h) / var(--shot-1-aspect-w))
  );
  --feature-card-width: calc(var(--shot-1-card-height) * var(--shot-1-aspect-w) / var(--shot-1-aspect-h));
  --features-pager-edge-gap: 0.75rem;
  --shot-1-card-bottom: calc(var(--shot-1-card-center) + var(--shot-1-card-height) / 2);
  --shot-1-crop-top: 4%;
  --shot-1-title-size: clamp(1.6rem, calc(var(--feature-stage-h) * 0.045), 2.45rem);
  --shot-1-focus-top-offset-pct: 7.5;
  --shot-1-focus-top-offset-max: 2.75rem;
  --shot-1-focus-top-offset: min(
    calc(var(--feature-stage-h) * var(--shot-1-focus-top-offset-pct) / 100),
    var(--shot-1-focus-top-offset-max)
  );
  --shot-1-focus-bottom-offset-pct: 2.1;
  --shot-1-focus-bottom-offset-max: 1.25rem;
  --shot-1-focus-bottom-offset: min(
    calc(var(--feature-stage-h) * var(--shot-1-focus-bottom-offset-pct) / 100),
    var(--shot-1-focus-bottom-offset-max)
  );
  --shot-1-main-title-weight: 400;
  --shot-1-focus-title-weight: 200;
  --shot-1-focus-tag-weight: 100;
  --shot-1-main-title-x: 50%;
  --shot-1-left-title-x: 34%;
  --shot-1-right-title-x: 72%;
  --shot-1-calendar-x: 8%;
  --shot-1-todo-x: 35%;
  --shot-1-editor-x: 72%;
  --shot-2-aspect-w: var(--shot-1-aspect-w);
  --shot-2-aspect-h: var(--shot-1-aspect-h);
  --shot-2-title-top: var(--shot-1-title-top);
  --shot-2-title-x: 50%;
  --shot-2-card-center: var(--shot-1-card-center);
  --shot-2-card-top: var(--shot-1-card-top);
  --shot-2-card-max-width: var(--shot-1-card-max-width);
  --shot-2-card-height: min(
    calc((var(--shot-2-card-center) - var(--shot-2-card-top)) * 2),
    calc(var(--shot-2-card-max-width) * var(--shot-2-aspect-h) / var(--shot-2-aspect-w))
  );
  --shot-2-crop-top: var(--shot-1-crop-top);
  --shot-2-focus-title-x: 34%;
  --shot-2-tag-title-x: 75%;
  --shot-2-session-x: 34%;
  --shot-2-switch-session-x: 34%;
  --shot-2-keep-writing-x: 75%;
  --shot-2-focus-top-offset: var(--shot-1-focus-top-offset);
  --shot-2-click-x: 43.5%;
  --shot-2-click-y: 32.5%;
  --shot-2-click-x-7: 43.5%;
  --shot-2-click-y-7: 32.5%;
  --shot-2-click-x-8: 43.5%;
  --shot-2-click-y-8: 28.5%;
  --shot-2-click-size: clamp(1rem, calc(var(--feature-stage-h) * 0.038), 1rem);
  --shot-2-categories-x: 74%;
  --shot-3-aspect-w: var(--shot-1-aspect-w);
  --shot-3-aspect-h: var(--shot-1-aspect-h);
  --shot-3-title-top: var(--shot-1-title-top);
  --shot-3-title-x: 50%;
  --shot-3-card-center: var(--shot-1-card-center);
  --shot-3-card-max-width: var(--shot-1-card-max-width);
  --shot-3-card-top: var(--shot-1-card-top);
  --shot-3-card-height: var(--shot-1-card-height);
  --shot-3-crop-top: var(--shot-1-crop-top);
  --shot-3-glance-x: 10%;
  --shot-3-glance-top: 13%;
  --shot-3-insights-x: 10%;
  --shot-3-insights-top: var(--shot-3-glance-top);
  --shot-3-click-x: 15%;
  --shot-3-click-y: 2%;
  --shot-3-click-size: var(--shot-2-click-size);
  --shot-3-click-2-x: 45.5%;
  --shot-3-click-2-y: 9.5%;
  --shot-3-click-2-size: var(--shot-3-click-size);
  --shot-4-aspect-w: var(--shot-3-aspect-w);
  --shot-4-aspect-h: var(--shot-3-aspect-h);
  --shot-4-card-center: var(--shot-3-card-center);
  --shot-4-card-max-width: var(--shot-3-card-max-width);
  --shot-4-card-height: var(--shot-3-card-height);
  --shot-4-crop-top: var(--shot-3-crop-top);
  --shot-4-title-top: var(--shot-1-title-top);
  --shot-4-title-x: 50%;
  --shot-4-review-x: 95%;
  --shot-4-review-top-offset: var(--shot-1-focus-top-offset);
  --shot-4-focus-title-x: var(--shot-4-review-x);
  --shot-4-click-label-x: 100%;
  --shot-4-click-label-bottom-offset: var(--shot-1-focus-bottom-offset);
  --shot-4-click-x: 96%;
  --shot-4-click-y: 98%;
  --shot-4-click-size: var(--shot-3-click-size);
  --shot-4-focus-click-x: 80%;
  --shot-4-focus-click-y: 19%;
  --shot-4-focus-click-size: var(--shot-4-click-size);
  --shot-5-aspect-w: var(--shot-4-aspect-w);
  --shot-5-aspect-h: var(--shot-4-aspect-h);
  --shot-5-card-center: var(--shot-4-card-center);
  --shot-5-card-max-width: var(--shot-4-card-max-width);
  --shot-5-card-height: var(--shot-4-card-height);
  --shot-5-crop-top: var(--shot-4-crop-top);
  --shot-5-title-top: var(--shot-4-title-top);
  --shot-5-title-x: 50%;
  --shot-5-context-title-x: 90%;
  --shot-5-context-title-top-offset: var(--shot-1-focus-top-offset);
  --shot-5-main-window-x: 32%;
  --shot-5-beyond-x: var(--shot-5-main-window-x);
  --shot-5-chroline-context-x: 79%;
  --shot-5-pair-title-top-offset: var(--shot-1-focus-top-offset);
  --shot-5-click-x: 96%;
  --shot-5-click-y: 3%;
  --shot-5-click-size: var(--shot-4-click-size);
}
.feat-shot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  aspect-ratio: 16 / 10;
  width: min(90%, calc(var(--feature-stage-h) * 0.9 * 1.6));
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 8px 60px rgba(0, 0, 0, 0.14),
    0 0 200px color-mix(in srgb, var(--feature-tint) 80%, transparent);
  transition: opacity 0.5s ease, box-shadow 0.65s var(--ease-out);
}
.feat-shot.active { opacity: 1; }
#shot-1 {
  aspect-ratio: var(--shot-1-aspect-w) / var(--shot-1-aspect-h);
  top: var(--shot-1-card-center);
  width: auto;
  max-width: var(--shot-1-card-max-width);
  height: var(--shot-1-card-height);
}
#shot-2 {
  aspect-ratio: var(--shot-2-aspect-w) / var(--shot-2-aspect-h);
  top: var(--shot-2-card-center);
  width: auto;
  max-width: var(--shot-2-card-max-width);
  height: var(--shot-2-card-height);
}
#shot-3 {
  aspect-ratio: var(--shot-3-aspect-w) / var(--shot-3-aspect-h);
  top: var(--shot-3-card-center);
  width: auto;
  max-width: var(--shot-3-card-max-width);
  height: var(--shot-3-card-height);
}
#shot-4 {
  aspect-ratio: var(--shot-4-aspect-w) / var(--shot-4-aspect-h);
  top: var(--shot-4-card-center);
  width: auto;
  max-width: var(--shot-4-card-max-width);
  height: var(--shot-4-card-height);
}
#shot-5 {
  aspect-ratio: var(--shot-5-aspect-w) / var(--shot-5-aspect-h);
  top: var(--shot-5-card-center);
  width: auto;
  max-width: var(--shot-5-card-max-width);
  height: var(--shot-5-card-height);
}

.features__pager {
  position: absolute;
  top: var(--features-pager-top, var(--shot-1-card-center));
  left: var(--features-pager-left, calc(50% + var(--feature-card-width) / 2 + var(--features-pager-edge-gap)));
  z-index: 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.46rem, calc(var(--feature-stage-h) * 0.014), 0.72rem);
  transform: translateY(-50%);
}

.features__pager-btn {
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.features__pager-btn::before {
  content: "";
  display: block;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 999px;
  background: rgba(17, 17, 19, 0.3);
  transition:
    width 0.24s var(--ease-out),
    height 0.24s var(--ease-out),
    background-color 0.24s var(--ease-out);
}

.features__pager-btn:hover::before {
  background: rgba(17, 17, 19, 0.58);
}

.features__pager-btn.is-active::before {
  width: 0.38rem;
  height: 1.55rem;
  background: #111113;
}

.features__pager-btn:focus-visible {
  outline: 2px solid rgba(17, 17, 19, 0.45);
  outline-offset: 0.2rem;
}

.page-quicknav {
  --page-quicknav-width: 10.5rem;
  position: fixed;
  right: clamp(2rem, 3vw, 2rem);
  bottom: max(1.5rem, calc(env(safe-area-inset-bottom) + 1rem));
  z-index: 850;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(0.5rem);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.page-quicknav.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.page-quicknav.is-past-features .page-quicknav__link--download {
  display: none;
}

.page-quicknav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--page-quicknav-width);
  padding: 0.52rem 0.82rem;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #54545c;
  font-size: 1rem;
  font-weight: 200;
  line-height: 1;
  letter-spacing: 0;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  pointer-events: auto;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.page-quicknav__link:hover {
  background: rgba(255, 255, 255, 0.92);
  color: #17171b;
  transform: translateY(-1px);
}

.page-quicknav__link:focus-visible {
  outline: 2px solid rgba(17, 17, 19, 0.45);
  outline-offset: 0.2rem;
}

.features__shots.features__shots--instant *,
.features__shots.features__shots--instant *::before,
.features__shots.features__shots--instant *::after {
  animation: none !important;
  transition: none !important;
}

.feat-shot__image,
.feat-shot__poster {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feat-shot__image {
  display: block;
}
#shot-1 .feat-shot__image {
  inset: auto auto 0 0;
  width: 100%;
  height: calc(100% + var(--shot-1-crop-top));
  object-fit: unset;
  object-position: initial;
  image-rendering: -webkit-optimize-contrast;
}
#shot-2 .feat-shot__image {
  inset: auto auto 0 0;
  width: 100%;
  height: calc(100% + var(--shot-2-crop-top));
  object-fit: unset;
  object-position: initial;
  image-rendering: -webkit-optimize-contrast;
}
#shot-2 .feat-shot__image--shot-2-category,
#shot-2 .feat-shot__image--shot-2-plan,
#shot-2 .feat-shot__image--shot-2-start,
#shot-2 .feat-shot__image--shot-2-tag-5,
#shot-2 .feat-shot__image--shot-2-tag-6,
#shot-2 .feat-shot__image--shot-2-tag-7,
#shot-2 .feat-shot__image--shot-2-tag-8 {
  transition: opacity 0.55s var(--ease-out);
  will-change: opacity;
}
#shot-2 .feat-shot__image--shot-2-plan,
#shot-2 .feat-shot__image--shot-2-start,
#shot-2 .feat-shot__image--shot-2-tag-5,
#shot-2 .feat-shot__image--shot-2-tag-6,
#shot-2 .feat-shot__image--shot-2-tag-7,
#shot-2 .feat-shot__image--shot-2-tag-8 {
  opacity: 0;
}
.features__shots.shot-2-plan #shot-2 .feat-shot__image--shot-2-category,
.features__shots.shot-2-start #shot-2 .feat-shot__image--shot-2-category,
.features__shots.shot-2-start #shot-2 .feat-shot__image--shot-2-plan,
.features__shots.shot-2-tag-5 #shot-2 .feat-shot__image--shot-2-category,
.features__shots.shot-2-tag-5 #shot-2 .feat-shot__image--shot-2-plan,
.features__shots.shot-2-tag-5 #shot-2 .feat-shot__image--shot-2-start,
.features__shots.shot-2-tag-6 #shot-2 .feat-shot__image--shot-2-category,
.features__shots.shot-2-tag-6 #shot-2 .feat-shot__image--shot-2-plan,
.features__shots.shot-2-tag-6 #shot-2 .feat-shot__image--shot-2-start,
.features__shots.shot-2-tag-7 #shot-2 .feat-shot__image--shot-2-category,
.features__shots.shot-2-tag-7 #shot-2 .feat-shot__image--shot-2-plan,
.features__shots.shot-2-tag-7 #shot-2 .feat-shot__image--shot-2-start,
.features__shots.shot-2-tag-8 #shot-2 .feat-shot__image--shot-2-category,
.features__shots.shot-2-tag-8 #shot-2 .feat-shot__image--shot-2-plan,
.features__shots.shot-2-tag-8 #shot-2 .feat-shot__image--shot-2-start {
  opacity: 0;
}
.features__shots.shot-2-plan #shot-2 .feat-shot__image--shot-2-plan {
  opacity: 1;
}
.features__shots.shot-2-start #shot-2 .feat-shot__image--shot-2-start {
  opacity: 1;
}
.features__shots.shot-2-tag-5 #shot-2 .feat-shot__image--shot-2-tag-5 {
  opacity: 1;
}
.features__shots.shot-2-tag-6 #shot-2 .feat-shot__image--shot-2-tag-6 {
  opacity: 1;
}
.features__shots.shot-2-tag-7 #shot-2 .feat-shot__image--shot-2-tag-7 {
  opacity: 1;
}
.features__shots.shot-2-tag-8 #shot-2 .feat-shot__image--shot-2-tag-8 {
  opacity: 1;
}
.feat-shot-click-cue {
  position: absolute;
  left: var(--shot-2-click-x);
  top: var(--shot-2-click-y);
  z-index: 4;
  width: var(--shot-2-click-size);
  height: var(--shot-2-click-size);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96);
  transform-origin: 0 0;
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.feat-shot-click-cue::before,
.feat-shot-click-cue::after {
  content: "";
  position: absolute;
  left: 0.12em;
  top: 0.1em;
  width: 1.15em;
  height: 1.15em;
  border: 2px solid rgba(17, 17, 19, 0.34);
  border-radius: 999px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.28);
}
.feat-shot-click-cue::after {
  animation-delay: 0.45s;
}
.feat-shot-click-cue__cursor {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  fill: #fff;
  stroke: #111113;
  stroke-width: 2.2;
  stroke-linejoin: round;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.22));
  transform: translate(-0.08em, -0.08em);
}
.feat-shot-click-cue--shot-3 {
  left: var(--shot-3-click-x);
  top: var(--shot-3-click-y);
  width: var(--shot-3-click-size);
  height: var(--shot-3-click-size);
}
.feat-shot-click-cue--shot-3-second {
  left: var(--shot-3-click-2-x);
  top: var(--shot-3-click-2-y);
  width: var(--shot-3-click-2-size);
  height: var(--shot-3-click-2-size);
}
.features__shots.shot-2-start #shot-2.active .feat-shot-click-cue {
  opacity: 1;
  transform: scale(1);
}
.features__shots.shot-2-start #shot-2.active .feat-shot-click-cue::before,
.features__shots.shot-2-start #shot-2.active .feat-shot-click-cue::after {
  animation: shot-click-ripple 1.55s ease-out infinite;
}
.features__shots.shot-3-click-one #shot-3.active .feat-shot-click-cue--shot-3,
.features__shots.shot-3-click-two #shot-3.active .feat-shot-click-cue--shot-3-second {
  opacity: 1;
  transform: scale(1);
}
.features__shots.shot-3-click-one #shot-3.active .feat-shot-click-cue--shot-3::before,
.features__shots.shot-3-click-one #shot-3.active .feat-shot-click-cue--shot-3::after,
.features__shots.shot-3-click-two #shot-3.active .feat-shot-click-cue--shot-3-second::before,
.features__shots.shot-3-click-two #shot-3.active .feat-shot-click-cue--shot-3-second::after {
  animation: shot-click-ripple 1.55s ease-out infinite;
}
@keyframes shot-click-ripple {
  0% {
    opacity: 0.48;
    transform: translate(-50%, -50%) scale(0.28);
  }
  72% {
    opacity: 0.12;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2.45);
  }
}
.feat-shot__right-mask,
.feat-shot__left-mask {
  position: absolute;
  z-index: 2;
  background: rgba(255, 255, 255, 0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease-out);
}
.feat-shot__right-mask {
  inset: 0 0 0 50%;
}
.feat-shot__left-mask {
  inset: 0 50% 0 0;
}
.feat-shot-title {
  position: absolute;
  top: var(--shot-1-title-top);
  left: var(--shot-1-main-title-x);
  width: max-content;
  max-width: min(90%, 46rem);
  display: block;
  color: #111113;
  font-size: var(--shot-1-title-size);
  font-weight: var(--shot-1-main-title-weight);
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  transform: translateX(-50%);
  z-index: 2;
}
.feat-shot-title::before {
  content: "";
  display: inline-block;
  width: 0.92em;
  height: 0.92em;
  margin-right: 0.28em;
  background: url("images/swirl.png") center / contain no-repeat;
  opacity: 1;
  transform: translateY(0.03em);
}
.feat-shot-title--one {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.feat-shot-title--two {
  top: var(--shot-2-title-top);
  left: var(--shot-2-title-x);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.feat-shot-title--four {
  top: var(--shot-4-title-top);
  left: var(--shot-4-title-x);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.feat-shot-title--five {
  top: var(--shot-5-title-top);
  left: var(--shot-5-title-x);
  opacity: 0;
  transition: opacity 0.5s ease;
}
#shot-1.active ~ .feat-shot-title--one {
  opacity: 1;
}
#shot-2.active ~ .feat-shot-title--two {
  opacity: 1;
}
#shot-4.active ~ .feat-shot-title--four {
  opacity: 1;
}
#shot-5.active ~ .feat-shot-title--five {
  opacity: 1;
}
#shot-3 .feat-shot__image {
  inset: auto auto 0 0;
  width: 100%;
  height: calc(100% + var(--shot-3-crop-top));
  object-fit: unset;
  object-position: initial;
  image-rendering: -webkit-optimize-contrast;
}
#shot-4 .feat-shot__image {
  inset: auto auto 0 0;
  width: 100%;
  height: calc(100% + var(--shot-4-crop-top));
  object-fit: unset;
  object-position: initial;
  image-rendering: -webkit-optimize-contrast;
}
#shot-5 .feat-shot__image {
  inset: auto auto 0 0;
  width: 100%;
  height: calc(100% + var(--shot-5-crop-top));
  object-fit: unset;
  object-position: initial;
  image-rendering: -webkit-optimize-contrast;
}
#shot-5 .feat-shot__image--shot-5-base {
  z-index: 0;
  transform: translateX(0);
  transition: transform 0.65s var(--ease-out);
  will-change: transform;
}
#shot-5 .feat-shot__image--shot-5-step {
  z-index: 1;
  opacity: 0;
  transition: opacity 0.45s var(--ease-out);
  will-change: opacity;
}
.features__shots.shot-5-step-16 #shot-5.active .feat-shot__image--shot-5-base,
.features__shots.shot-5-step-17 #shot-5.active .feat-shot__image--shot-5-base,
.features__shots.shot-5-step-18 #shot-5.active .feat-shot__image--shot-5-base,
.features__shots.shot-5-step-19 #shot-5.active .feat-shot__image--shot-5-base,
.features__shots.shot-5-step-20 #shot-5.active .feat-shot__image--shot-5-base {
  transform: translateX(104%);
}
.features__shots.shot-5-step-16 #shot-5.active .feat-shot__image--shot-5-step-16,
.features__shots.shot-5-step-17 #shot-5.active .feat-shot__image--shot-5-step-17,
.features__shots.shot-5-step-18 #shot-5.active .feat-shot__image--shot-5-step-18,
.features__shots.shot-5-step-19 #shot-5.active .feat-shot__image--shot-5-step-19,
.features__shots.shot-5-step-20 #shot-5.active .feat-shot__image--shot-5-step-20 {
  opacity: 1;
}
.feat-shot-click-cue--shot-5 {
  left: var(--shot-5-click-x);
  top: var(--shot-5-click-y);
  width: var(--shot-5-click-size);
  height: var(--shot-5-click-size);
}
.features__shots.shot-5-click #shot-5.active .feat-shot-click-cue--shot-5 {
  opacity: 1;
  transform: scale(1);
}
.features__shots.shot-5-click #shot-5.active .feat-shot-click-cue--shot-5::before,
.features__shots.shot-5-click #shot-5.active .feat-shot-click-cue--shot-5::after {
  animation: shot-click-ripple 1.55s ease-out infinite;
}
#shot-4 .feat-shot__image--shot-4-retreat {
  z-index: 1;
  transform: translateX(0);
  transition: transform 0.7s var(--ease-out);
  will-change: transform;
}
#shot-4.active .feat-shot__image--shot-4-retreat {
  transform: translateX(-104%);
}
#shot-4 .feat-shot__image--shot-4-rise {
  z-index: 2;
  transform: translateY(104%);
  transition: transform 0.7s var(--ease-out);
  will-change: transform;
}
.features__shots.shot-4-rise #shot-4.active .feat-shot__image--shot-4-rise {
  transform: translateY(0);
}
#shot-4 .feat-shot__image--shot-4-seq {
  z-index: 3;
  opacity: 0;
  transition: none;
}
.features__shots.shot-4-seq-1 #shot-4.active .feat-shot__image--shot-4-seq-1,
.features__shots.shot-4-seq-2 #shot-4.active .feat-shot__image--shot-4-seq-2,
.features__shots.shot-4-seq-3 #shot-4.active .feat-shot__image--shot-4-seq-3,
.features__shots.shot-4-seq-4 #shot-4.active .feat-shot__image--shot-4-seq-4,
.features__shots.shot-4-seq-5 #shot-4.active .feat-shot__image--shot-4-seq-5,
.features__shots.shot-4-seq-6 #shot-4.active .feat-shot__image--shot-4-seq-6,
.features__shots.shot-4-seq-7 #shot-4.active .feat-shot__image--shot-4-seq-7,
.features__shots.shot-4-seq-8 #shot-4.active .feat-shot__image--shot-4-seq-8,
.features__shots.shot-4-seq-9 #shot-4.active .feat-shot__image--shot-4-seq-9,
.features__shots.shot-4-seq-10 #shot-4.active .feat-shot__image--shot-4-seq-10,
.features__shots.shot-4-seq-11 #shot-4.active .feat-shot__image--shot-4-seq-11,
.features__shots.shot-4-seq-12 #shot-4.active .feat-shot__image--shot-4-seq-12 {
  opacity: 1;
}
#shot-4 .feat-shot__image--shot-4-focus {
  z-index: 4;
  opacity: 0;
  transition: opacity 0.45s var(--ease-out);
  will-change: opacity;
}
.features__shots.shot-4-focus-image #shot-4.active .feat-shot__image--shot-4-focus {
  opacity: 1;
}
#shot-4:not(.active) .feat-shot__image--shot-4-retreat,
#shot-4:not(.active) .feat-shot__image--shot-4-rise,
#shot-4:not(.active) .feat-shot__image--shot-4-focus {
  transition: none;
}
#shot-4:not(.active) .feat-shot__image--shot-4-retreat {
  transform: translateX(0);
}
#shot-4:not(.active) .feat-shot__image--shot-4-rise {
  transform: translateY(104%);
}
#shot-4:not(.active) .feat-shot__image--shot-4-focus {
  opacity: 1;
}
.feat-shot-click-cue--shot-4 {
  left: var(--shot-4-click-x);
  top: var(--shot-4-click-y);
  width: var(--shot-4-click-size);
  height: var(--shot-4-click-size);
}
.feat-shot-click-cue--shot-4-focus {
  left: var(--shot-4-focus-click-x);
  top: var(--shot-4-focus-click-y);
  width: var(--shot-4-focus-click-size);
  height: var(--shot-4-focus-click-size);
}
.features__shots.shot-4-click #shot-4.active .feat-shot-click-cue--shot-4 {
  opacity: 1;
  transform: scale(1);
}
.features__shots.shot-4-click #shot-4.active .feat-shot-click-cue--shot-4::before,
.features__shots.shot-4-click #shot-4.active .feat-shot-click-cue--shot-4::after {
  animation: shot-click-ripple 1.55s ease-out infinite;
}
.features__shots.shot-4-focus-click #shot-4.active .feat-shot-click-cue--shot-4-focus {
  opacity: 1;
  transform: scale(1);
}
.features__shots.shot-4-focus-click #shot-4.active .feat-shot-click-cue--shot-4-focus::before,
.features__shots.shot-4-focus-click #shot-4.active .feat-shot-click-cue--shot-4-focus::after {
  animation: shot-click-ripple 1.55s ease-out infinite;
}
#shot-3 .feat-shot__image--shot-3-detail {
  z-index: 1;
  transform: translateX(-104%);
  transition: transform 0.65s var(--ease-out);
  will-change: transform;
}
.features__shots.shot-3-detail #shot-3.active .feat-shot__image--shot-3-detail {
  transform: translateX(0);
}
#shot-3 .feat-shot__image--shot-3-final {
  z-index: 2;
  opacity: 0;
  transition: opacity 0.45s var(--ease-out);
  will-change: opacity;
}
.features__shots.shot-3-final #shot-3.active .feat-shot__image--shot-3-final {
  opacity: 1;
}
.feat-shot-title--three {
  top: var(--shot-3-title-top);
  left: var(--shot-3-title-x);
  opacity: 0;
  transition: opacity 0.5s ease;
}
#shot-3.active ~ .feat-shot-title--three {
  opacity: 1;
}
.feat-shot-focus-title--three {
  top: var(--shot-3-glance-top);
  left: var(--shot-3-glance-x);
  opacity: 0;
  transform: translateX(-50%) translateY(0.5rem);
  text-align: center;
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.feat-shot-focus-title--three-insights {
  top: var(--shot-3-insights-top);
  left: var(--shot-3-insights-x);
}
.features__shots.shot-3-glance #shot-3.active ~ .feat-shot-focus-title--three-glance {
  opacity: 1;
  transform: translateX(-50%);
}
.features__shots.shot-3-insights #shot-3.active ~ .feat-shot-focus-title--three-insights {
  opacity: 1;
  transform: translateX(-50%);
}
.feat-shot-focus-title,
.feat-shot-focus-tag {
  position: absolute;
  left: 50%;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  max-width: var(--shot-1-card-max-width);
  transform: translateX(-50%) translateY(0.5rem);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.feat-shot-focus-title {
  top: calc(var(--shot-1-card-center) - var(--shot-1-card-height) / 2 - var(--shot-1-focus-top-offset));
  width: max-content;
  max-width: min(90%, 46rem);
  color: #111113;
  font-size: clamp(1.1rem, calc(var(--feature-stage-h) * 0.042), 1.65rem);
  font-weight: var(--shot-1-focus-title-weight);
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
}
.feat-shot-focus-title--left {
  left: var(--shot-1-left-title-x);
}
.feat-shot-focus-title--right {
  left: var(--shot-1-right-title-x);
}
.feat-shot-focus-title--two {
  top: calc(var(--shot-2-card-center) - var(--shot-2-card-height) / 2 - var(--shot-2-focus-top-offset));
  left: var(--shot-2-focus-title-x);
  max-width: min(90%, var(--shot-2-card-max-width));
}
.feat-shot-focus-title--four-review {
  top: calc(var(--shot-4-card-center) - var(--shot-4-card-height) / 2 - var(--shot-4-review-top-offset));
  left: var(--shot-4-review-x);
  max-width: min(90%, var(--shot-4-card-max-width));
}
.feat-shot-focus-title--four-focus {
  top: calc(var(--shot-4-card-center) - var(--shot-4-card-height) / 2 - var(--shot-4-review-top-offset));
  left: var(--shot-4-focus-title-x);
  max-width: min(90%, var(--shot-4-card-max-width));
}
.feat-shot-focus-title--five-context {
  top: calc(var(--shot-5-card-center) - var(--shot-5-card-height) / 2 - var(--shot-5-context-title-top-offset));
  left: var(--shot-5-context-title-x);
  max-width: min(90%, var(--shot-5-card-max-width));
}
.feat-shot-focus-title--five-main-window,
.feat-shot-focus-title--five-beyond,
.feat-shot-focus-title--five-chroline-context {
  top: calc(var(--shot-5-card-center) - var(--shot-5-card-height) / 2 - var(--shot-5-pair-title-top-offset));
  max-width: min(90%, var(--shot-5-card-max-width));
}
.feat-shot-focus-title--five-main-window {
  left: var(--shot-5-main-window-x);
}
.feat-shot-focus-title--five-beyond {
  left: var(--shot-5-beyond-x);
}
.feat-shot-focus-title--five-chroline-context {
  left: var(--shot-5-chroline-context-x);
}
.feat-shot-focus-tag {
  top: calc(var(--shot-1-card-bottom) + var(--shot-1-focus-bottom-offset));
  color: #111113;
  font-size: clamp(1.05rem, calc(var(--feature-stage-h) * 0.026), 1.55rem);
  font-weight: var(--shot-1-focus-tag-weight);
  line-height: 1.2;
  white-space: nowrap;
}
.feat-shot-focus-tag--calendar {
  left: var(--shot-1-calendar-x);
}
.feat-shot-focus-tag--todo {
  left: var(--shot-1-todo-x);
}
.feat-shot-focus-tag--editor {
  left: var(--shot-1-editor-x);
}
.feat-shot-focus-tag--shot-4-click {
  top: calc(var(--shot-4-card-center) + var(--shot-4-card-height) / 2 + var(--shot-4-click-label-bottom-offset));
  left: var(--shot-4-click-label-x);
}
.features__shots.shot-1-focus-left .feat-shot__right-mask,
.features__shots.shot-1-focus-left .feat-shot-focus-title--left,
.features__shots.shot-1-focus-left .feat-shot-focus-tag--calendar,
.features__shots.shot-1-focus-left .feat-shot-focus-tag--todo,
.features__shots.shot-1-focus-right .feat-shot__left-mask,
.features__shots.shot-1-focus-right .feat-shot-focus-title--right,
.features__shots.shot-1-focus-right .feat-shot-focus-tag--editor {
  opacity: 1;
  transform: translateX(-50%);
}
.features__shots.shot-1-focus-left .feat-shot__right-mask,
.features__shots.shot-1-focus-right .feat-shot__left-mask {
  transform: none;
}
#shot-4.active ~ .feat-shot-focus-title--four-review,
.features__shots.shot-4-click #shot-4.active ~ .feat-shot-focus-tag--shot-4-click {
  opacity: 1;
  transform: translateX(-50%);
}
.features__shots.shot-4-focus-click #shot-4.active ~ .feat-shot-focus-title--four-review,
.features__shots.shot-4-focus-image #shot-4.active ~ .feat-shot-focus-title--four-review {
  opacity: 0;
  transform: translateX(-50%) translateY(0.5rem);
}
.features__shots.shot-4-focus-click #shot-4.active ~ .feat-shot-focus-title--four-focus,
.features__shots.shot-4-focus-image #shot-4.active ~ .feat-shot-focus-title--four-focus {
  opacity: 1;
  transform: translateX(-50%);
}
.features__shots.shot-5-click #shot-5.active ~ .feat-shot-focus-title--five-context {
  opacity: 1;
  transform: translateX(-50%);
}
.features__shots.shot-5-main-window #shot-5.active ~ .feat-shot-focus-title--five-main-window,
.features__shots.shot-5-beyond #shot-5.active ~ .feat-shot-focus-title--five-beyond,
.features__shots.shot-5-context-pair #shot-5.active ~ .feat-shot-focus-title--five-chroline-context {
  opacity: 1;
  transform: translateX(-50%);
}
#shot-2.active ~ .feat-shot-focus-title--two-category {
  opacity: 1;
  transform: translateX(-50%);
}
.features__shots.shot-2-plan #shot-2.active ~ .feat-shot-focus-title--two-category {
  opacity: 0;
  transform: translateX(-50%) translateY(0.5rem);
}
.features__shots.shot-2-plan #shot-2.active ~ .feat-shot-focus-title--two-plan {
  opacity: 1;
  transform: translateX(-50%);
}
.features__shots.shot-2-start #shot-2.active ~ .feat-shot-focus-title--two-category,
.features__shots.shot-2-start #shot-2.active ~ .feat-shot-focus-title--two-plan {
  opacity: 0;
  transform: translateX(-50%) translateY(0.5rem);
}
.features__shots.shot-2-start #shot-2.active ~ .feat-shot-focus-title--two-start {
  opacity: 1;
  transform: translateX(-50%);
}
.feat-shot-focus-title--two-tag {
  left: var(--shot-2-tag-title-x);
}
.feat-shot-focus-title--two-switch-session {
  left: var(--shot-2-switch-session-x);
}
.feat-shot-focus-title--two-keep-writing {
  left: var(--shot-2-keep-writing-x);
}
.feat-shot-focus-tag--shot-2-categories {
  left: var(--shot-2-categories-x);
}
.features__shots.shot-2-tag-5 #shot-2.active ~ .feat-shot-focus-title--two-category,
.features__shots.shot-2-tag-5 #shot-2.active ~ .feat-shot-focus-title--two-plan,
.features__shots.shot-2-tag-5 #shot-2.active ~ .feat-shot-focus-title--two-start,
.features__shots.shot-2-tag-6 #shot-2.active ~ .feat-shot-focus-title--two-category,
.features__shots.shot-2-tag-6 #shot-2.active ~ .feat-shot-focus-title--two-plan,
.features__shots.shot-2-tag-6 #shot-2.active ~ .feat-shot-focus-title--two-start,
.features__shots.shot-2-tag-7 #shot-2.active ~ .feat-shot-focus-title--two-category,
.features__shots.shot-2-tag-7 #shot-2.active ~ .feat-shot-focus-title--two-plan,
.features__shots.shot-2-tag-7 #shot-2.active ~ .feat-shot-focus-title--two-start,
.features__shots.shot-2-tag-8 #shot-2.active ~ .feat-shot-focus-title--two-category,
.features__shots.shot-2-tag-8 #shot-2.active ~ .feat-shot-focus-title--two-plan,
.features__shots.shot-2-tag-8 #shot-2.active ~ .feat-shot-focus-title--two-start,
.features__shots.shot-2-tag-8 #shot-2.active ~ .feat-shot-focus-title--two-tag {
  opacity: 0;
  transform: translateX(-50%) translateY(0.5rem);
}
/* show two-tag for tag-5 and tag-6 and tag-7 */
.features__shots.shot-2-tag-5 #shot-2.active ~ .feat-shot-focus-title--two-tag,
.features__shots.shot-2-tag-6 #shot-2.active ~ .feat-shot-focus-title--two-tag,
.features__shots.shot-2-tag-7 #shot-2.active ~ .feat-shot-focus-title--two-tag {
  opacity: 1;
  transform: translateX(-50%);
}
/* tag-8: start another session + categories + click cue */
.features__shots.shot-2-tag-8 #shot-2.active ~ .feat-shot-focus-title--two-switch-session,
.features__shots.shot-2-tag-8 #shot-2.active ~ .feat-shot-focus-title--two-keep-writing {
  opacity: 1;
  transform: translateX(-50%);
}
.features__shots.shot-2-tag-8 #shot-2.active ~ .feat-shot-focus-tag--shot-2-categories {
  opacity: 1;
  transform: translateX(-50%);
}
.features__shots.shot-2-tag-8 #shot-2.active .feat-shot-click-cue {
  left: var(--shot-2-click-x-8);
  top: var(--shot-2-click-y-8);
  opacity: 1;
  transform: scale(1);
}
.features__shots.shot-2-tag-8 #shot-2.active .feat-shot-click-cue::before,
.features__shots.shot-2-tag-8 #shot-2.active .feat-shot-click-cue::after {
  animation: shot-click-ripple 1.55s ease-out infinite;
}
.feat-shot video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--video-pos, center);
  transform: scale(var(--video-scale, 1));
  transform-origin: center;
}

/* Scrolling steps overlay */
.features__steps {
  margin-top: calc(-1 * var(--feature-stage-h));
  position: relative;
  z-index: 2;
  pointer-events: none;
}
.feat-step {
  min-height: calc(var(--viewport-h) * 2.5);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 5vh 5vw;
  pointer-events: none;
}
.feat-step[data-scroll-states="2"] {
  min-height: calc(var(--viewport-h) * 5);
}
.feat-step[data-scroll-states="3"] {
  min-height: calc(var(--viewport-h) * 7.5);
}
.feat-step--right { justify-content: flex-end; }

.feat-card {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 20px;
  padding: 2rem 2.5rem;
  max-width: 520px;
  box-shadow: 0 2px 60px rgba(0, 0, 0, 0.20);
  opacity: 0.35;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.feat-step.is-active .feat-card { opacity: 1; transform: translateY(0); }
.feat-step--no-card .feat-card  { opacity: 0 !important; pointer-events: none; }

.feat-step__num {
  display: block;
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  color: var(--color-muted);
  margin-bottom: 0.4rem;
}
.feat-step__title {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.feat-step__desc {
  font-size: 1.2rem;
  font-weight: var(--fw-light);
  color: var(--color-muted);
  line-height: 1.6;
}

.features__end-spacer {
  height: calc(var(--viewport-h) * 2);
}

@media (max-width: 768px) {
  .feat-shot {
    width: min(94vw, calc(var(--feature-stage-h) * 1.52));
    border-radius: 14px;
    box-shadow:
      0 4px 30px rgba(0, 0, 0, 0.12),
      0 0 58px color-mix(in srgb, var(--feature-tint) 72%, transparent);
  }
  .feat-step,
  .feat-step--right {
    min-height: calc(var(--viewport-h) * 3);
    align-items: flex-end;
    padding: 1.25rem 1rem 2.25rem;
  }
  .feat-step[data-scroll-states="2"] {
    min-height: calc(var(--viewport-h) * 6);
  }
  .feat-step[data-scroll-states="3"] {
    min-height: calc(var(--viewport-h) * 9);
  }
  .feat-card {
    width: min(84vw, 24rem);
    max-width: none;
    padding: 1.25rem 1.25rem 1.35rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.10);
  }
  .feat-step__num  { font-size: 0.95rem; }
  .feat-step__title { font-size: clamp(1.1rem, 5vw, 1.35rem); }
  .feat-step__desc  { font-size: 1rem; line-height: 1.5; }
}

.features__portrait-notice {
  display: none;
}

@media (max-width: 920px) and (orientation: landscape) and (max-height: 520px) {
  .features__shots {
    --shot-1-title-size: clamp(1rem, calc(var(--feature-stage-h) * 0.034), 1.45rem);
    --shot-1-focus-top-offset-max: 1.75rem;
    --shot-1-focus-bottom-offset-max: 0.82rem;
  }

  .feat-shot-focus-title {
    font-size: clamp(0.78rem, calc(var(--feature-stage-h) * 0.028), 1rem);
  }

  .feat-shot-focus-tag {
    font-size: clamp(0.74rem, calc(var(--feature-stage-h) * 0.021), 0.92rem);
  }
}

@media (max-width: 640px) and (orientation: portrait) {
  .features__shots {
    --shot-1-title-top: 25%;
    --shot-1-title-size: clamp(1.18rem, calc(var(--feature-stage-h) * 0.033), 1.62rem);
    --shot-1-focus-top-offset-max: 2.05rem;
    --shot-1-focus-bottom-offset-max: 0.95rem;
    --shot-5-chroline-context-bottom-offset: var(--shot-1-focus-bottom-offset);
  }

  .feat-shot-focus-title {
    font-size: clamp(0.86rem, calc(var(--feature-stage-h) * 0.026), 1.12rem);
    max-width: min(88%, var(--shot-1-card-max-width));
  }

  .feat-shot-focus-tag {
    font-size: clamp(0.82rem, calc(var(--feature-stage-h) * 0.02), 1rem);
  }

  .feat-shot-focus-title--five-chroline-context {
    top: calc(var(--shot-5-card-center) + var(--shot-5-card-height) / 2 + var(--shot-5-chroline-context-bottom-offset));
    max-width: min(88%, var(--shot-5-card-max-width));
  }

  .features__pager {
    top: auto !important;
    left: 50% !important;
    bottom: max(2.5rem, calc(env(safe-area-inset-bottom) + 2rem));
    flex-direction: row;
    gap: 0.58rem;
    transform: translateX(-50%);
  }

  .features__pager-btn {
    width: 1.28rem;
    height: 1.28rem;
  }

  .features__pager-btn.is-active {
    width: 1.8rem;
  }

  .features__pager-btn.is-active::before {
    width: 1.55rem;
    height: 0.38rem;
  }

  .page-quicknav {
    --page-quicknav-width: 8.75rem;
    right: 1rem;
    bottom: max(4.35rem, calc(env(safe-area-inset-bottom) + 3.85rem));
    gap: 0.55rem;
  }

  .page-quicknav__link {
    padding: 0.48rem 0.72rem;
    font-size: 0.72rem;
  }

  .features__portrait-notice {
    display: block;
    position: sticky;
    top: var(--topnav-h);
    z-index: 5;
    background-color: var(--color-surface);
    padding: 0.72rem var(--side-pad) 0.45rem;
    transition: background-color 0.65s var(--ease-out), opacity 0.22s ease, visibility 0.22s ease;
  }

  .features--portrait-notice-hidden .features__portrait-notice {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .features__portrait-notice p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: fit-content;
    max-width: min(100%, 24rem);
    margin: 0 auto;
    padding: 0.25rem 0;
    font-size: 0.84rem;
    line-height: 1.35;
    font-weight: var(--fw-regular);
    color: #54545c;
    text-align: center;
  }

  .features__portrait-icon {
    width: 1.35rem;
    height: 1.35rem;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.82;
  }

  .features__portrait-icon-dot {
    stroke-width: 2.45;
  }
}

/* ═══════════════════════════════════════════════════════════
   DOWNLOAD
   ═══════════════════════════════════════════════════════════ */
.download {
  /* Pull up over the sticky-scroll spacer on desktop */
  margin-top: calc(-1 * var(--viewport-h));
  position: relative;
  z-index: 3;
  background: var(--color-bg);
  padding: var(--section-pad) var(--side-pad) clamp(1.75rem, 5vw, 1.75rem);
  text-align: center;
}
.download__inner {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.download__title {
  font-size: clamp(1.85rem, 4.2vw, 3.25rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: #17171b;
}
.download__sub {
  font-size: 1.05rem;
  color: #8f8f97;
  font-weight: var(--fw-light);
  letter-spacing: -0.01em;
}
.download__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  width: 100%;
}
.download__note {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.release-notes {
  width: 100%;
  max-width: 550px;
  padding: 2.5rem 0;
  text-align: left;
}
.release-notes h3 {
  margin: 0 0 1rem;
  color: var(--color-text);
  font-size: 1.1rem;
  font-weight: var(--fw-semibold);
}
.release-notes ol {
  list-style: decimal;
  margin: 0;
  padding-left: 1.5rem;
}
.release-notes li {
  display: list-item;
  padding-left: 0.25rem;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.release-notes li + li {
  margin-top: 0.7rem;
}
.release-notes__link {
  color: #3f6387;
  font-weight: var(--fw-regular);
  text-decoration: underline;
  text-decoration-color: rgba(63, 99, 135, 0.4);
  text-underline-offset: 0.16em;
}
.release-notes__link:hover {
  text-decoration-color: currentColor;
}

/* Install guide */
.install-guide {
  width: 100%;
  max-width: 560px;
}
.install-guide__panel {
  background: var(--color-surface);
  border-radius: 16px;
  padding: 2rem 2.25rem;
  text-align: left;
  animation: guideIn 0.3s ease;
}
@keyframes guideIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.install-guide__panel h3 {
  font-size: 1.05rem;
  font-weight: var(--fw-bold);
  margin-bottom: 0.6rem;
}
.install-guide__note {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 1.4rem;
}
.install-guide__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  counter-reset: step;
}
.install-guide__steps li {
  counter-increment: step;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text);
}
.install-guide__step-content {
  min-width: 0;
  flex: 1;
}
.install-guide__command {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  margin-top: 0.45rem;
  padding: 0.6rem 0.65rem;
  border: 1px solid rgba(29, 29, 31, 0.09);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
}
.install-guide__command code {
  display: block;
  max-width: 100%;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
  color: #2f3037;
}
.install-guide__copy {
  align-self: stretch;
  padding: 0.35rem 0.72rem;
  border-radius: 8px;
  background: #1d1d1f;
  color: #fff;
  font-size: 0.76rem;
  font-weight: var(--fw-semibold);
  line-height: 1;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.install-guide__copy:hover {
  opacity: 0.86;
}
.install-guide__copy:active {
  transform: translateY(1px);
}
.install-guide__copy.is-copied {
  background: var(--color-green);
}
.install-guide__steps li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: var(--gradient-brand-deep);
  color: #fff;
  font-size: 0.72rem;
  font-weight: var(--fw-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.15rem;
}
.install-guide__tip {
  margin-top: 1.2rem;
  padding: 0.7rem 1rem;
  background: #e8f5e9;
  border-left: 3px solid var(--color-green);
  border-radius: 0 8px 8px 0;
  font-size: 0.84rem;
  color: #2e6b3e;
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════════ */
.pricing {
  position: relative;
  z-index: 4;
  background: var(--color-surface);
  padding: 5rem var(--side-pad) 5rem;
  text-align: center;
}
.pricing__inner {
  max-width: 860px;
  margin: 0 auto;
}
.pricing__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  text-align: left;
}
.pricing__pager {
  display: none;
}
/* Card base */
.pricing-card {
  position: relative;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  background: #e9ebed;
  border: 1px solid rgba(29, 29, 31, 0.06);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition:
    background-color 0.24s var(--ease-out),
    border-color 0.24s var(--ease-out),
    box-shadow 0.24s var(--ease-out),
    opacity 0.24s var(--ease-out);
}
.pricing-card--lite {
  background: var(--color-bg);
  border-color: rgba(139, 174, 118, 0.38);
  box-shadow:
    0 18px 45px rgba(29, 29, 31, 0.08),
    0 0 0 1px rgba(139, 174, 118, 0.12);
}
.pricing-card--lite .pricing-card__badge {
  background: #d4eab7;
  color: #3f5138;
  border-color: rgba(139, 174, 118, 0.34);
  font-weight: var(--fw-bold);
}
/* Pro card — quiet upgrade option */
.pricing-card--pro-wrap {
  display: flex;
  padding: 2px;
  border-radius: 22px;
  background: transparent;
  transition:
    background 0.24s var(--ease-out),
    opacity 0.24s var(--ease-out);
}
.pricing-card--pro {
  flex: 1;
  background: #f2f3f4;
  border-color: rgba(29, 29, 31, 0.05);
  border-radius: 20px;
}
/* Pro badge */
.pricing-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-muted);
  border: 1px solid rgba(29, 29, 31, 0.08);
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
  transition:
    background-color 0.24s var(--ease-out),
    border-color 0.24s var(--ease-out),
    color 0.24s var(--ease-out);
}
.pricing-card__name {
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
}
.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}
.pricing-card__price .amount {
  font-size: 3rem;
  font-weight: var(--fw-bold);
  letter-spacing: -0.03em;
  line-height: 1;
}
.pricing-card--pro .pricing-card__price .amount {
  font-size: 1.95rem;
  color: #5a5a61;
  font-weight: var(--fw-semibold);
  transition: color 0.24s var(--ease-out);
}
.pricing-card__price .sub {
  font-size: 0.9rem;
  color: var(--color-muted);
}
.pricing-card__intro {
  max-width: 20rem;
  margin-top: -0.8rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #6f7470;
}
.pricing-card__forever {
  font-size: 1.08rem;
  font-weight: var(--fw-semibold);
  color: #5f6f58;
  transition: color 0.24s var(--ease-out);
}
.pricing-card__price-group {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}
.pricing-card__onetime {
  font-size: 2.05rem;
  font-weight: var(--fw-bold);
  color: #46464c;
  transition: color 0.24s var(--ease-out);
}
.pricing-card__earlybird-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.15rem 0;
}
.pricing-card__original {
  font-size: 0.98rem;
  font-weight: var(--fw-semibold);
  color: var(--color-muted);
  text-decoration: line-through;
}
.pricing-card__earlybird-badge {
  font-size: 0.66rem;
  font-weight: var(--fw-semibold);
  color: #7a6b51;
  background: rgba(239, 205, 133, 0.22);
  padding: 0.22em 0.65em;
  border-radius: 999px;
  white-space: nowrap;
  transition:
    background-color 0.24s var(--ease-out),
    color 0.24s var(--ease-out);
}
.pricing__grid[data-active-plan="pro"] .pricing-card--lite {
  background: #e9ebed;
  border-color: rgba(29, 29, 31, 0.06);
  box-shadow: none;
  opacity: 0.78;
}
.pricing__grid[data-active-plan="pro"] .pricing-card--lite .pricing-card__badge {
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-muted);
  border-color: rgba(29, 29, 31, 0.08);
}
.pricing__grid[data-active-plan="pro"] .pricing-card--lite .btn--primary {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
  box-shadow: none;
}
.pricing__grid[data-active-plan="pro"] .pricing-card--pro-wrap {
  background: var(--gradient-brand);
}
.pricing__grid[data-active-plan="pro"] .pricing-card--pro {
  background: var(--color-bg);
  border-color: transparent;
  box-shadow:
    0 18px 45px rgba(29, 29, 31, 0.08),
    0 0 0 1px rgba(139, 174, 118, 0.1);
}
.pricing__grid[data-active-plan="pro"] .pricing-card--pro .pricing-card__badge {
  background: #d4eab7;
  color: #3f5138;
  border-color: rgba(139, 174, 118, 0.34);
}
.pricing__grid[data-active-plan="pro"] .pricing-card--pro .pricing-card__price .amount {
  color: var(--color-text);
}
.pricing__grid[data-active-plan="pro"] .pricing-card--pro .pricing-card__forever {
  color: transparent;
  background: var(--gradient-brand-deep);
  -webkit-background-clip: text;
  background-clip: text;
}
.pricing__grid[data-active-plan="pro"] .pricing-card--pro .pricing-card__onetime {
  color: #de4444;
}
.pricing__grid[data-active-plan="pro"] .pricing-card--pro .pricing-card__earlybird-badge {
  color: #fff;
  background: var(--color-coral);
}
.pricing__grid[data-active-plan="pro"] .pricing-card--pro .btn--secondary {
  background: var(--gradient-brand-h);
  color: #4c4b4b;
  box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}
.pricing-card--lite .pricing-card__features {
  margin-top: 0rem;
}
.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--color-text);
}
.pricing-card__feature-text {
  display: block;
  min-width: 0;
  flex: 1;
}
.pricing-card__features li::before {
  content: '✓';
  flex-shrink: 0;
  font-weight: var(--fw-bold);
  color: var(--color-green);
  width: 1.2em;
}
.pricing-card__features a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(29, 29, 31, 0.22);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}
.pricing-card__features a:hover,
.pricing-card__features a:focus-visible {
  color: #111;
  text-decoration-color: rgba(139, 174, 118, 0.8);
}
.pricing-placeholder::before { content: none !important; }
.pricing-placeholder { min-height: 1.6rem; }
.pricing-card__cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
}
.pricing-card__cta .btn { width: 100%; justify-content: center; }
.pricing-card__legal {
  min-height: calc(0.76rem * 1.45 * 3);
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--color-muted);
  text-align: center;
}
.pricing-card__legal a {
  color: var(--color-text);
  text-decoration: underline;
  text-decoration-color: rgba(29, 29, 31, 0.22);
  text-underline-offset: 0.16em;
  transition: color 0.18s, text-decoration-color 0.18s;
}
.pricing-card__legal a:hover {
  color: #111;
  text-decoration-color: var(--color-purple);
}

@media (max-width: 920px) and (orientation: landscape) and (max-height: 520px) {
  .pricing {
    padding: clamp(1.5rem, 5vh, 2rem) var(--side-pad);
  }

  .pricing__inner {
    max-width: min(92vw, 760px);
  }

  .pricing__grid {
    gap: 0.8rem;
  }

  .pricing-card {
    border-radius: 14px;
    padding: 1rem 1rem;
    gap: 0.62rem;
  }

  .pricing-card--pro-wrap {
    border-radius: 16px;
  }

  .pricing-card--pro {
    border-radius: 12px;
  }

  .pricing-card__badge {
    top: -10px;
    font-size: 0.58rem;
    padding: 0.22rem 0.62rem;
  }

  .pricing-card__name {
    font-size: 0.72rem;
  }

  .pricing-card__price .amount {
    font-size: 2.05rem;
  }

  .pricing-card--pro .pricing-card__price .amount {
    font-size: 1.42rem;
  }

  .pricing-card__onetime {
    font-size: 1.24rem;
  }

  .pricing-card__original {
    font-size: 0.78rem;
  }

  .pricing-card__earlybird-badge {
    font-size: 0.54rem;
    padding: 0.18em 0.5em;
  }

  .pricing-card__forever {
    font-size: 0.78rem;
  }

  .pricing-card__features {
    gap: 0.34rem;
  }

  .pricing-card__features li {
    gap: 0.42rem;
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .pricing-placeholder {
    display: none;
  }

  .pricing-card__cta .btn {
    padding: 0.62rem 0.8rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 640px) and (orientation: portrait) {
  .pricing {
    overflow: hidden;
    padding: clamp(3.5rem, 8vh, 4.5rem) 0;
  }

  .pricing__grid {
    display: flex;
    grid-template-columns: none;
    gap: 1rem;
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: var(--side-pad);
    scroll-snap-type: x mandatory;
    padding: 0.85rem var(--side-pad) 0.15rem;
    -webkit-overflow-scrolling: touch;
  }

  .pricing__grid::-webkit-scrollbar {
    display: none;
  }

  .pricing__grid {
    scrollbar-width: none;
  }

  .pricing__grid > * {
    flex: 0 0 min(82vw, 22rem);
    scroll-snap-align: center;
  }

  .pricing-card {
    border-radius: 16px;
    padding: 1.45rem 1.2rem;
    gap: 0.92rem;
  }

  .pricing-card--pro-wrap {
    border-radius: 18px;
  }

  .pricing-card--pro {
    border-radius: 14px;
  }

  .pricing-card,
  .pricing-card--pro {
    min-height: 100%;
  }

  .pricing-card__badge {
    top: -8px;
    font-size: 0.62rem;
    padding: 0.24rem 0.68rem;
  }

  .pricing-card__name {
    font-size: 0.78rem;
  }

  .pricing-card__price .amount {
    font-size: 2.35rem;
  }

  .pricing-card--pro .pricing-card__price .amount {
    font-size: 1.6rem;
  }

  .pricing-card__price-group {
    gap: 0.24rem;
  }

  .pricing-card__onetime {
    font-size: clamp(1.2rem, 5.3vw, 1.42rem);
    white-space: nowrap;
  }

  .pricing-card__earlybird-row {
    gap: 0.38rem;
    margin: 0.05rem 0;
  }

  .pricing-card__original {
    font-size: 0.8rem;
  }

  .pricing-card__earlybird-badge {
    font-size: 0.54rem;
    padding: 0.18em 0.5em;
  }

  .pricing-card__forever {
    font-size: clamp(0.76rem, 3.2vw, 0.9rem);
    line-height: 1.2;
    white-space: nowrap;
  }

  .pricing-card__features {
    gap: 0.44rem;
  }

  .pricing-card__features li {
    gap: 0.45rem;
    font-size: 0.82rem;
    line-height: 1.3;
  }

  .pricing-card__cta .btn {
    padding: 0.68rem 0.9rem;
    font-size: 0.84rem;
  }

  .pricing__pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.58rem;
    margin-top: 1.2rem;
  }

  .pricing__pager-btn {
    position: relative;
    width: 1.28rem;
    height: 1.28rem;
    border-radius: 999px;
  }

  .pricing__pager-btn::before {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: rgba(17, 17, 19, 0.28);
    transform: translate(-50%, -50%);
    transition: width 0.22s ease, background 0.22s ease;
  }

  .pricing__pager-btn.is-active::before {
    width: 1.55rem;
    height: 0.38rem;
    background: rgba(17, 17, 19, 0.78);
  }

  .pricing__pager-btn:focus-visible {
    outline: 2px solid rgba(17, 17, 19, 0.45);
    outline-offset: 0.2rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════════ */
.testimonials {
  background: var(--color-bg);
  padding: var(--section-pad) var(--side-pad);
  text-align: center;
}
.testimonials__inner {
  max-width: var(--content-max);
  margin: 0 auto;
}
.testimonials__heading {
  font-size: clamp(1.75rem, 4vw, 3.05rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: #17171b;
  margin-bottom: 3rem;
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}
@media (max-width: 768px) {
  .testimonials__grid { grid-template-columns: 1fr; }
}
.testimonial-card {
  background: var(--color-surface);
  border-radius: 18px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.testimonial-card blockquote {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  font-weight: var(--fw-light);
  line-height: 1.7;
  color: var(--color-text);
  flex: 1;
}
.testimonial-card cite {
  font-size: 0.85rem;
  font-style: normal;
  font-weight: var(--fw-semibold);
  color: var(--color-muted);
}

/* ═══════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════ */
.faq {
  background: var(--color-bg);
  padding: var(--section-pad) var(--side-pad);
}
.faq__inner {
  max-width: 720px;
  margin: 0 auto;
}
.faq__heading {
  font-size: clamp(1.75rem, 4vw, 3.05rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: #17171b;
  text-align: center;
  margin-bottom: 3rem;
}
.faq__list {
  display: flex;
  flex-direction: column;
}
.faq__group-title {
  margin-top: 1.55rem;
  padding-bottom: 0.35rem;
  color: #85858d;
  font-size: 0.82rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.025em;
}
.faq__group-title:first-child {
  margin-top: 0;
}
.faq__item {
  border-top: 1px solid #e5e5e7;
  scroll-margin-top: calc(var(--topnav-h) + 1rem);
}
.faq__item:last-child {
  border-bottom: 1px solid #e5e5e7;
}
.faq__q {
  margin: 0;
}
.faq__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.65em;
  padding: 0.95rem 0;
  text-align: left;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 400;
  color: var(--color-text);
  transition: color 0.18s ease;
}
.faq__toggle::before {
  content: "";
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  background: url("images/swirl.png") center / contain no-repeat;
}
.faq__toggle:hover {
  color: #000;
}
.faq__toggle:focus-visible {
  outline: 2px solid rgba(29, 29, 31, 0.42);
  outline-offset: 0.35rem;
  border-radius: 4px;
}
.faq__question {
  flex: 1;
  min-width: 0;
}
.faq__toggle-icon {
  position: relative;
  width: 1.65rem;
  height: 1.65rem;
  flex: 0 0 1.65rem;
  border: 1px solid #d8d8dc;
  border-radius: 50%;
  background: #f7f7f8;
  transition: transform 0.28s var(--ease-out), background-color 0.18s ease, border-color 0.18s ease;
}
.faq__toggle-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.42rem;
  height: 0.42rem;
  border-right: 1.5px solid #55555d;
  border-bottom: 1.5px solid #55555d;
  transform: translate(-50%, -65%) rotate(45deg);
  transition: transform 0.28s var(--ease-out);
}
.faq__toggle:hover .faq__toggle-icon {
  background: #fff;
  border-color: #bdbdc3;
}
.faq__toggle[aria-expanded="true"] .faq__toggle-icon::before {
  transform: translate(-50%, -35%) rotate(225deg);
}
.faq__answer {
  padding: 0 2.3rem 1.65rem 1.65rem;
}
.faq__answer--install {
  padding-left: 1.65rem;
}
.faq__answer--theme {
  padding-bottom: 1.85rem;
}
.faq__install-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq__install-panel {
  width: 100%;
  padding: 1.5rem 1.65rem;
  animation: none;
}
.faq__a {
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  color: var(--color-muted);
  font-weight: 280;
  line-height: 1.75;
  max-width: none;
  text-align: justify;
  text-wrap: pretty;
  hyphens: auto;
  overflow-wrap: anywhere;
}
.faq__a strong {
  color: #62626a;
  font-weight: 520;
}
.faq__a a {
  color: #3f6387;
  font-weight: var(--fw-regular);
  text-decoration: underline;
  text-decoration-color: rgba(63, 99, 135, 0.4);
  text-underline-offset: 0.16em;
}
.faq__a a:hover {
  text-decoration-color: currentColor;
}
.faq__theme-gallery {
  margin: 0 -2.3rem 0 -1.65rem;
}
.faq__theme-previews {
  display: flex;
  gap: 1rem;
  margin: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 0.15rem 14% 0.3rem 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.faq__theme-previews::-webkit-scrollbar {
  display: none;
}
.faq__theme-card {
  margin: 0;
  flex: 0 0 min(86%, 42rem);
  scroll-snap-align: start;
}
.faq__theme-gallery--stats .faq__theme-card {
  flex-basis: min(54%, 26rem);
}
.faq__theme-zoom {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  cursor: zoom-in;
}
.faq__theme-zoom::after {
  content: "⤢";
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(18, 18, 22, 0.78);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  opacity: 0;
  transform: translateY(0.25rem);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.faq__theme-zoom:hover::after,
.faq__theme-zoom:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}
.faq__theme-zoom:focus-visible {
  outline: 2px solid rgba(17, 17, 19, 0.68);
  outline-offset: 0.25rem;
}
.faq__theme-zoom img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #dedee2;
  border-radius: 8px;
  background: #f7f7f8;
  transition: transform 0.25s var(--ease-out);
}
.faq__theme-zoom:hover img {
  transform: scale(1.012);
}
.faq__theme-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.58rem;
  margin-top: 0.6rem;
}
.faq__theme-pager-btn {
  position: relative;
  width: 1.28rem;
  height: 1.28rem;
  border-radius: 999px;
}
.faq__theme-pager-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: rgba(17, 17, 19, 0.28);
  transform: translate(-50%, -50%);
  transition: width 0.22s ease, background 0.22s ease;
}
.faq__theme-pager-btn.is-active::before {
  width: 1.55rem;
  height: 0.38rem;
  background: rgba(17, 17, 19, 0.78);
}
.faq__theme-pager-btn:focus-visible {
  outline: 2px solid rgba(17, 17, 19, 0.45);
  outline-offset: 0.2rem;
}
.faq-image-gallery[hidden] {
  display: none;
}
.faq-image-gallery {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2.5rem);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.faq-image-gallery__content {
  position: relative;
  display: grid;
  width: min(100%, 1280px);
  max-height: 100%;
  place-items: center;
}
.faq-image-gallery--stats .faq-image-gallery__content {
  width: min(68vw, 720px);
}
.faq-image-gallery__figure {
  display: grid;
  max-width: 100%;
  max-height: calc(100dvh - clamp(2rem, 6vw, 5rem));
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #e1e1e5;
  background: #fff;
  box-shadow: 0 1.5rem 4rem rgba(25, 25, 30, 0.14);
}
.faq-image-gallery__figure img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100dvh - clamp(5.75rem, 12vw, 8rem));
  object-fit: contain;
}
.faq-image-gallery__caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.9rem;
  color: #393940;
  font-size: 0.88rem;
  font-weight: var(--fw-regular);
  line-height: 1.4;
}
.faq-image-gallery__caption span:last-child {
  color: #85858d;
  white-space: nowrap;
}
.faq-image-gallery__close,
.faq-image-gallery__nav {
  position: absolute;
  z-index: 1;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid #d8d8dc;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #3d3d44;
  font-size: 2rem;
  font-weight: 200;
  line-height: 1;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.faq-image-gallery__close {
  top: clamp(1rem, 3vw, 2.5rem);
  right: clamp(1rem, 3vw, 2.5rem);
  font-size: 2.1rem;
}
.faq-image-gallery__nav {
  top: 50%;
  transform: translateY(-50%);
}
.faq-image-gallery__nav--previous {
  left: clamp(0.5rem, 2vw, 1.75rem);
}
.faq-image-gallery__nav--next {
  right: clamp(0.5rem, 2vw, 1.75rem);
}
.faq-image-gallery__close:hover,
.faq-image-gallery__nav:hover {
  border-color: #bcbcc3;
  background: #f5f5f6;
}
.faq-image-gallery__close:hover {
  transform: scale(1.06);
}
.faq-image-gallery__nav--previous:hover {
  transform: translate(-0.1rem, -50%);
}
.faq-image-gallery__nav--next:hover {
  transform: translate(0.1rem, -50%);
}
.faq-image-gallery__close:focus-visible,
.faq-image-gallery__nav:focus-visible {
  outline: 2px solid #51515a;
  outline-offset: 3px;
}
.platform-shortcut {
  display: none;
}
html[data-platform="mac"] .platform-shortcut--mac,
html[data-platform="windows"] .platform-shortcut--windows,
html[data-platform="other"] .platform-shortcut--other {
  display: inline;
}
kbd.platform-shortcut {
  padding: 0.12em 0.42em;
  border: 1px solid #d2d2d7;
  border-bottom-width: 2px;
  border-radius: 5px;
  background: #f7f7f8;
  color: #4f535c;
  font-family: inherit;
  font-size: 0.88em;
  font-weight: var(--fw-semibold);
  white-space: nowrap;
}
.faq-step-number {
  display: inline-block;
  min-width: 1.45em;
  margin-top: 0.8rem;
  color: #4f535c;
  font-weight: 620;
}
.faq-inline-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25em;
  height: 1.25em;
  margin: 0 0.1em;
  color: #8f949d;
  vertical-align: -0.2em;
}
.faq-inline-icon svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.faq-inline-icon--theme {
  width: 15px;
  height: 15px;
  margin: 0 0.18em 0 0;
  vertical-align: -0.12em;
}
.faq-inline-icon--theme svg {
  stroke-width: 2.15;
}
.faq-inline-icon--theme svg circle {
  fill: currentColor;
  stroke: none;
}
.faq-inline-icon--stats-export {
  width: 16px;
  height: 16px;
  margin: 0 0.16em;
  vertical-align: -0.18em;
}
.faq-inline-icon--stats-export svg {
  stroke-width: 2;
}

@media (max-width: 640px) {
  .faq__toggle {
    padding: 0.85rem 0;
  }
  .faq__answer {
    padding: 0 0 1.4rem 1.65rem;
  }
  .faq__answer--install {
    padding-left: 0;
  }
  .faq__install-panel {
    padding: 1.25rem 1rem;
  }
  .faq__a {
    text-align: left;
    hyphens: manual;
  }
  .faq__theme-gallery {
    margin-left: -1.65rem;
    margin-right: 0;
  }
  .faq__theme-zoom::after {
    opacity: 1;
    transform: none;
  }
  .faq-image-gallery {
    padding: 0.75rem;
  }
  .faq-image-gallery__figure img {
    max-height: calc(100dvh - 6.5rem);
  }
  .faq-image-gallery--stats .faq-image-gallery__content {
    width: 100%;
  }
  .faq-image-gallery__caption {
    padding: 0.55rem 0.75rem;
    font-size: 0.8rem;
  }
  .faq-image-gallery__close,
  .faq-image-gallery__nav {
    width: 2.5rem;
    height: 2.5rem;
  }
  .faq-image-gallery__close {
    top: 0.75rem;
    right: 0.75rem;
  }
  .faq-image-gallery__nav--previous {
    left: 0.35rem;
  }
  .faq-image-gallery__nav--next {
    right: 0.35rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════ */
.contact {
  background: var(--color-surface);
  padding: var(--section-pad) var(--side-pad) clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}
.contact__inner {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.contact__heading {
  font-size: clamp(1.75rem, 4vw, 3.05rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: #17171b;
}
.contact__lead {
  font-size: 1rem;
  color: #8f8f97;
  font-weight: var(--fw-light);
  letter-spacing: -0.01em;
}
.contact__email {
  font-size: 1.1rem;
  font-weight: var(--fw-semibold);
  background: var(--gradient-brand-deep);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.2s;
}
.contact__email:hover { text-decoration-color: var(--color-purple); }

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer {
  background: var(--color-surface);
  padding: 2.5rem var(--side-pad);
}
.contact + .footer {
  padding-top: 0;
}
.footer__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.footer__logo img {
  height: 24px;
  width: auto;
  opacity: 0.75;
}
.footer__copy {
  font-size: 0.85rem;
  color: var(--color-muted);
}
.footer__links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.footer__links a + a::before {
  content: '|';
  display: inline-block;
  margin: 0 0.75rem;
  color: rgba(110, 110, 115, 0.52);
}
.footer__links a {
  font-size: 0.85rem;
  color: var(--color-muted);
  transition: color 0.18s;
}
.footer__links a:hover,
.footer__links a[aria-current="page"] { color: var(--color-text); }

@media (max-width: 600px) {
  .footer__inner { align-items: center; text-align: center; }
  .footer__links a + a::before { margin: 0 0.5rem; }
}

/* ═══════════════════════════════════════════════════════════
   LEGAL PAGES
   ═══════════════════════════════════════════════════════════ */
.legal-page {
  background: #fff;
}
.legal-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.legal-back {
  display: inline-flex;
  align-items: center;
  min-height: var(--topnav-h);
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--side-pad);
  color: #3d3d44;
  font-size: 0.92rem;
  font-weight: var(--fw-regular);
  transition: color 0.18s;
}
.legal-back::before {
  content: '←';
  margin-right: 0.45rem;
}
.legal-back:hover {
  color: var(--color-text);
}
.legal-main {
  padding: clamp(3.25rem, 8vw, 6rem) var(--side-pad);
}
.legal-doc {
  max-width: 820px;
  margin: 0 auto;
}
.legal-doc__eyebrow {
  margin-bottom: 0.8rem;
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: var(--fw-regular);
}
.legal-doc h1 {
  margin-bottom: clamp(2rem, 5vw, 2rem);
  color: var(--color-text);
  font-size: clamp(2.4rem, 7vw, 3rem);
  font-weight: var(--fw-bold);
  line-height: 1.02;
}
.legal-doc h2 {
  margin: 2.4rem 0 0.8rem;
  color: var(--color-text);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: var(--fw-semibold);
  line-height: 1.25;
}
.legal-doc p,
.legal-doc li {
  color: #3d3d44;
  font-size: 1rem;
  line-height: 1.78;
}
.legal-doc p + p {
  margin-top: 1rem;
}
.legal-doc ul {
  margin: 0.75rem 0 1.2rem;
  padding-left: 1.2rem;
  list-style: disc;
}
.legal-doc li + li {
  margin-top: 0.35rem;
}
.legal-doc a {
  color: var(--color-text);
  text-decoration: underline;
  text-decoration-color: rgba(29, 29, 31, 0.24);
  text-underline-offset: 0.16em;
}
.legal-doc a:hover {
  text-decoration-color: var(--color-purple);
}
.legal-doc__error {
  padding: 1rem 1.2rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
}

@media (max-width: 600px) {
  .legal-doc h1 {
    font-size: 2.3rem;
  }
  .legal-doc p,
  .legal-doc li {
    font-size: 0.96rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   SECTION DIVIDER UTILITY
   ═══════════════════════════════════════════════════════════ */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 1.25rem;
}
