.notaryops-story {
  --sc-canvas: #10101a;
  --sc-surface: #1a1927;
  --sc-ink: #f8f7fb;
  --sc-ink-soft: #b9b7c6;
  --sc-accent: #7565ff;
  --sc-accent-ink: #ffffff;
  position: relative;
  isolation: isolate;
  overflow: clip;
  color: var(--sc-ink);
  background: var(--sc-canvas);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    sans-serif;
}

.notaryops-story h1,
.notaryops-story h2,
.notaryops-story p,
.notaryops-story figure {
  margin-top: 0;
}

.notaryops-story h1,
.notaryops-story h2 {
  margin-bottom: 1.25rem;
  font-weight: 680;
  letter-spacing: -0.058em;
  line-height: 0.95;
  text-wrap: balance;
}

.notaryops-story h1 {
  max-width: 9.5ch;
  font-size: clamp(4.1rem, 7.6vw, 8.2rem);
  line-height: 0.88;
}

.notaryops-story h2 {
  max-width: 13ch;
  font-size: clamp(2.65rem, 5.6vw, 6rem);
}

.notaryops-story p {
  max-width: 42rem;
  color: var(--sc-ink-soft);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.notaryops-story figure {
  margin-bottom: 0;
}

.notaryops-story figcaption {
  margin-top: 0.72rem;
  color: color-mix(in oklab, currentColor 58%, transparent);
  font:
    0.64rem/1.45 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  letter-spacing: 0.045em;
}

.notaryops-story img {
  height: auto;
  border-radius: clamp(1.15rem, 2vw, 2.15rem);
}

.notaryops-kicker {
  margin-bottom: 1.15rem;
  color: #8f82ff !important;
  font:
    750 0.68rem/1.4 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.notaryops-progress {
  position: fixed;
  z-index: 90;
  top: 0;
  left: 0;
  width: calc(var(--sc-progress, 0) * 100%);
  height: 3px;
  background: linear-gradient(90deg, #7565ff, #ff9f62);
  box-shadow: 0 0 1rem rgba(117, 101, 255, 0.5);
  pointer-events: none;
}

.notaryops-chapters {
  position: fixed;
  z-index: 72;
  top: 50%;
  right: max(1rem, env(safe-area-inset-right));
  transform: translateY(-50%);
}

.notaryops-chapters ol {
  display: grid;
  gap: 0.22rem;
  margin: 0;
  padding: 0.4rem;
  border: 1px solid rgba(235, 233, 247, 0.14);
  border-radius: 0.9rem;
  background: rgba(12, 12, 20, 0.84);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.28);
  list-style: none;
  backdrop-filter: blur(14px);
}

.notaryops-chapters a {
  min-height: 2.75rem;
  display: grid;
  grid-template-columns: 1.7rem auto;
  gap: 0.62rem;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 0.52rem;
  color: #aaa7b8;
  font-size: 0.7rem;
  text-decoration: none;
}

.notaryops-chapters a > span:first-child {
  color: #706d7c;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.notaryops-chapters a[aria-current='location'] {
  color: #ffffff;
  background: rgba(117, 101, 255, 0.17);
}

@media (hover: hover) and (pointer: fine) {
  .notaryops-chapters a:hover {
    color: #ffffff;
  }
}

.notaryops-chapters a[aria-current='location'] > span:first-child {
  color: #9b91ff;
}

.notaryops-chaos,
.notaryops-flow-layout,
.notaryops-control-layout,
.notaryops-finale-layout {
  width: min(100%, 88rem);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 6vw, 6rem);
}

.notaryops-chaos {
  min-height: max(50rem, calc(100svh - 5.5rem));
  display: grid;
  grid-template-columns: minmax(18rem, 0.9fr) minmax(24rem, 0.9fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
  padding-block: clamp(4rem, 8vw, 8rem);
  background:
    radial-gradient(
      circle at 78% 28%,
      rgba(117, 101, 255, 0.22),
      transparent 31rem
    ),
    linear-gradient(145deg, #10101a, #181725 68%, #202037);
}

.notaryops-product-lockup {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: clamp(2.2rem, 5vw, 4.5rem);
}

.notaryops-product-lockup img {
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 1rem;
  box-shadow: 0 0.9rem 2.2rem rgba(60, 49, 155, 0.34);
}

.notaryops-product-lockup p {
  margin: 0;
  color: #f5f3ff;
  font-weight: 680;
  letter-spacing: -0.025em;
}

.notaryops-lede {
  color: #d0cddd !important;
  font-size: clamp(1.08rem, 1.65vw, 1.38rem) !important;
}

.notaryops-scroll-note {
  margin-top: 2.35rem;
  color: #918da2 !important;
  font:
    0.68rem/1.4 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.notaryops-chaos-media {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.55rem, 1.3vw, 1rem);
  align-items: center;
}

.notaryops-chaos-media img {
  width: 100%;
  max-height: 72svh;
  object-fit: contain;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.4);
}

.notaryops-chaos-media img:first-child {
  transform: translateY(-1.8rem) rotate(-1deg);
}

.notaryops-chaos-media img:nth-child(2) {
  transform: translateY(1.4rem);
}

.notaryops-chaos-media img:last-child {
  transform: translateY(-0.6rem) rotate(1deg);
}

.notaryops-pinned {
  color: #171721;
  background: #ececf3;
}

.notaryops-pin-stage {
  display: grid;
  grid-template-columns: minmax(18rem, 0.78fr) minmax(23rem, 0.95fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
  padding: clamp(2.5rem, 6vw, 6rem);
}

.notaryops-pin-copy,
.notaryops-command-screen,
.notaryops-money-screens {
  position: relative;
  z-index: 3;
}

.notaryops-today .notaryops-pin-copy p:not(.notaryops-kicker),
.notaryops-proof p:not(.notaryops-kicker) {
  color: #5d5b69;
}

.notaryops-today .notaryops-kicker,
.notaryops-proof .notaryops-kicker {
  color: #5143d7 !important;
}

.notaryops-command-screen {
  width: min(100%, 30rem);
  justify-self: center;
}

.notaryops-command-screen img {
  width: 100%;
  max-height: 84svh;
  object-fit: contain;
  box-shadow: 0 2rem 5rem rgba(40, 37, 57, 0.2);
}

.notaryops-work,
.notaryops-proof,
.notaryops-control,
.notaryops-finale {
  min-height: 112svh;
  display: grid;
  align-items: center;
  padding-block: clamp(5rem, 10vw, 10rem);
}

.notaryops-work {
  background:
    radial-gradient(
      circle at 20% 48%,
      rgba(117, 101, 255, 0.14),
      transparent 31rem
    ),
    #11121c;
}

.notaryops-flow-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.75fr) minmax(24rem, 1.2fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}

.notaryops-screen-pair {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1.4rem);
  align-items: center;
}

.notaryops-screen-pair img {
  width: 100%;
  max-height: 78svh;
  object-fit: contain;
  box-shadow: 0 1.8rem 4.5rem rgba(0, 0, 0, 0.38);
}

.notaryops-money {
  color: #faf8ff;
  background:
    linear-gradient(120deg, rgba(117, 101, 255, 0.15), transparent 56%), #252238;
}

.notaryops-money .notaryops-pin-copy p:not(.notaryops-kicker) {
  color: #c8c3d7;
}

.notaryops-money .notaryops-pin-stage {
  grid-template-columns: minmax(17rem, 0.72fr) minmax(25rem, 1.1fr);
}

.notaryops-money-screens figcaption {
  color: #b9b2c9;
}

.notaryops-proof {
  color: #171721;
  background:
    radial-gradient(
      circle at 75% 35%,
      rgba(117, 101, 255, 0.11),
      transparent 32rem
    ),
    #f3f2f7;
}

.notaryops-proof .notaryops-screen-pair img {
  box-shadow: 0 1.8rem 4.5rem rgba(44, 40, 63, 0.17);
}

.notaryops-control {
  background:
    radial-gradient(
      circle at 25% 40%,
      rgba(117, 101, 255, 0.18),
      transparent 30rem
    ),
    #141420;
}

.notaryops-control-layout {
  display: grid;
  grid-template-columns: minmax(20rem, 0.72fr) minmax(18rem, 0.85fr);
  gap: clamp(2.5rem, 8vw, 8rem);
  align-items: center;
}

.notaryops-control figure {
  width: min(100%, 29rem);
  justify-self: center;
}

.notaryops-control figure img {
  width: 100%;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.4);
}

.notaryops-boundary {
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(235, 233, 247, 0.14);
  color: #9e9aaa !important;
  font-size: 0.9rem !important;
}

.notaryops-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  margin-top: 1.9rem;
}

.notaryops-inline-links a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  color: inherit;
  font-size: 0.8rem;
  text-underline-offset: 0.32rem;
}

.notaryops-finale {
  background:
    radial-gradient(
      circle at 74% 38%,
      rgba(117, 101, 255, 0.23),
      transparent 31rem
    ),
    linear-gradient(150deg, #0e0e17, #191827);
}

.notaryops-finale-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.9fr) minmax(19rem, 0.62fr);
  gap: clamp(2.5rem, 8vw, 8rem);
  align-items: center;
}

.notaryops-finale figure {
  width: min(100%, 28rem);
  justify-self: center;
}

.notaryops-finale figure img {
  width: 100%;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.42);
}

.notaryops-app-store-cta {
  min-height: 3.5rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.35rem;
  padding: 0.9rem 1.2rem;
  border: 1px solid rgba(143, 130, 255, 0.7);
  border-radius: 0.6rem;
  color: #f8f6ff;
  background: rgba(117, 101, 255, 0.13);
  font-size: 0.86rem;
  text-decoration: none;
}

.notaryops-app-store-cta:hover {
  background: rgba(117, 101, 255, 0.22);
}

.notaryops-noscript {
  margin: 0;
  padding: 1rem clamp(1.25rem, 6vw, 6rem);
  color: #d8d5e1 !important;
  background: #10101a;
}

@media (max-width: 1680px) {
  .notaryops-chapters a {
    grid-template-columns: 1.7rem;
  }

  .notaryops-chapters a > span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

@media (max-width: 1100px) {
  .notaryops-pin-stage,
  .notaryops-money .notaryops-pin-stage {
    grid-template-columns: minmax(16rem, 0.7fr) minmax(21rem, 1fr);
    gap: 2.5rem;
    padding-right: 5.2rem;
  }

  .notaryops-chaos,
  .notaryops-flow-layout,
  .notaryops-control-layout,
  .notaryops-finale-layout {
    padding-right: 5.2rem;
  }
}

@media (max-width: 900px) {
  .notaryops-story h1 {
    font-size: clamp(3.45rem, 16vw, 5rem);
  }

  .notaryops-story h2 {
    font-size: clamp(2.45rem, 12vw, 4.2rem);
  }

  .notaryops-chapters {
    top: auto;
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    left: max(0.75rem, env(safe-area-inset-left));
    transform: none;
  }

  .notaryops-chapters ol {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0;
    padding: 0.28rem;
  }

  .notaryops-chapters a {
    min-width: 0;
    justify-content: center;
    padding-inline: 0.25rem;
  }

  .notaryops-chaos,
  .notaryops-flow-layout,
  .notaryops-control-layout,
  .notaryops-finale-layout,
  .notaryops-pin-stage,
  .notaryops-money .notaryops-pin-stage {
    grid-template-columns: 1fr;
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .notaryops-chaos {
    min-height: auto;
    gap: 3.2rem;
    padding-top: 4rem;
  }

  .notaryops-chaos-media {
    gap: 0.35rem;
  }

  .notaryops-chaos-media img {
    max-height: 48svh;
    border-radius: 0.85rem;
  }

  .notaryops-pin-stage,
  .notaryops-money .notaryops-pin-stage {
    gap: 1.7rem;
    align-content: center;
    padding-top: 2.5rem;
    padding-bottom: 5.4rem;
  }

  .notaryops-command-screen {
    width: min(88%, 24rem);
  }

  .notaryops-command-screen img {
    max-height: 34svh;
  }

  .notaryops-work,
  .notaryops-proof,
  .notaryops-control,
  .notaryops-finale {
    min-height: auto;
    padding-block: 5rem;
  }

  .notaryops-flow-layout,
  .notaryops-control-layout,
  .notaryops-finale-layout {
    gap: 3rem;
  }

  .notaryops-screen-pair {
    gap: 0.45rem;
  }

  .notaryops-screen-pair img {
    max-height: 48svh;
    border-radius: 0.9rem;
  }

  .notaryops-control figure,
  .notaryops-finale figure {
    width: min(88%, 25rem);
  }

  .notaryops-control figure {
    order: 2;
  }

  .notaryops-inline-links {
    display: grid;
  }
}

@media (min-width: 761px) and (max-width: 900px) {
  .notaryops-chapters {
    top: 50%;
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: auto;
    left: auto;
    transform: translateY(-50%);
  }

  .notaryops-chapters ol {
    grid-template-columns: 1fr;
    gap: 0.22rem;
    padding: 0.4rem;
  }

  .notaryops-chapters a {
    justify-content: stretch;
    padding: 0.35rem 0.65rem;
  }

  .notaryops-chaos,
  .notaryops-flow-layout,
  .notaryops-control-layout,
  .notaryops-finale-layout,
  .notaryops-pin-stage,
  .notaryops-money .notaryops-pin-stage {
    padding-right: 5.2rem;
  }
}

@media (max-width: 380px) {
  .notaryops-chapters a {
    font-size: 0.63rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .notaryops-story *,
  .notaryops-story *::before,
  .notaryops-story *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .notaryops-story [data-sc-cue],
  .notaryops-story [data-sc-in] {
    opacity: 1 !important;
    transform: none !important;
  }

  .notaryops-chaos-media img {
    transform: none !important;
  }
}
