/* HumDocs landing (matches extension popup tokens) */
:root {
  --bg: #0a0a0a;
  --s1: #111111;
  --s2: #1a1a1a;
  --s3: #222222;
  --b1: #282828;
  --b2: #363636;
  --text: #f2f2f2;
  --text2: #b8b8b8;
  --text3: #8e8e8e;
  --text4: #6a6a6a;
  --ok: #3ecf8e;
  --ok-dim: rgba(62, 207, 142, 0.12);
  --ok-glow: rgba(62, 207, 142, 0.35);
  --btn-primary-fg: #ffffff;
  --btn-primary-bg1: #1a7a4a;
  --btn-primary-bg2: #156b42;
  --sans: "Manrope", system-ui, sans-serif;
  --display: "Fraunces", "Manrope", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --r: 12px;
  --r-sm: 8px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  /* Scroll / entrance: smooth “Apple-like” deceleration */
  --ease-reveal: cubic-bezier(0.22, 1, 0.36, 1);
  /* Background scene tuning */
  --bg-scene-opacity: 1;
  --bg-ribbon-opacity: 0.42;
  --bg-ribbon-highlight: rgba(62, 207, 142, 0.2);
  --bg-ribbon-speed-mult: 1;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  isolation: isolate;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 200;
  background: linear-gradient(90deg, #1a7a4a, var(--ok), #6ee7b4);
  pointer-events: none;
  /* No width transition: interpolating width every scroll frame fights the compositor */
  transform: translateZ(0);
}

/* Ambient metallic lines: subtle curved path drift from earlier versions. */
.bg-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.46;
  background: #060606;
}

.bg-scene::before {
  content: none;
}

.bg-scene-svg {
  width: 100%;
  height: 100%;
  display: block;
  animation: bg-scene-drift 22s ease-in-out infinite alternate;
}

.bg-scene-path {
  stroke-dasharray: 32 68;
  animation: bg-scene-dash 58s linear infinite;
  filter: drop-shadow(0 0 1px rgba(232, 239, 248, 0.2));
}

.bg-scene-path--b {
  animation-duration: 66s;
  animation-direction: reverse;
  opacity: 0.9;
}

.bg-scene-path--c {
  animation-duration: 62s;
  animation-delay: -21s;
  opacity: 0.86;
}

.bg-scene-path--d {
  animation-duration: 70s;
  animation-direction: reverse;
  animation-delay: -34s;
  opacity: 0.82;
}

.bg-scene-layer {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.bg-scene-layer--1 {
  animation-name: bg-scene-layer-a;
  animation-duration: 24s;
}

.bg-scene-layer--2 {
  animation-name: bg-scene-layer-b;
  animation-duration: 28s;
  animation-delay: -7s;
}

.bg-scene-layer--3 {
  animation-name: bg-scene-layer-c;
  animation-duration: 26s;
  animation-delay: -13s;
}

.bg-scene-layer--4 {
  animation-name: bg-scene-layer-d;
  animation-duration: 23s;
  animation-delay: -4s;
}

@keyframes bg-scene-dash {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -100; }
}

@keyframes bg-scene-layer-a {
  from { transform: translate(-14px, -8px); }
  to { transform: translate(16px, 10px); }
}

@keyframes bg-field-float {
  0% {
    transform: translate3d(-1.6vw, 0.8vh, 0) scale(1);
  }
  100% {
    transform: translate3d(1.6vw, -0.8vh, 0) scale(1.03);
  }
}

@keyframes bg-scene-layer-b {
  from { transform: translate(12px, -10px); }
  to { transform: translate(-15px, 12px); }
}

@keyframes bg-scene-layer-c {
  from { transform: translate(-10px, 12px); }
  to { transform: translate(12px, -11px); }
}

@keyframes bg-scene-layer-d {
  from { transform: translate(13px, 9px); }
  to { transform: translate(-11px, -10px); }
}

@keyframes bg-scene-drift {
  from { transform: translate3d(-1.1%, -0.45%, 0) scale(1.005); }
  to { transform: translate3d(1%, 0.55%, 0) scale(1.01); }
}

header,
main,
footer {
  position: relative;
  z-index: 1;
}

.wrap {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background-color 0.25s ease;
  /* Own compositor layer reduces flicker when content below repaints */
  isolation: isolate;
}

.nav.scrolled {
  /* Solid scrim instead of backdrop-filter: blur avoids Chrome scroll flicker over animated content */
  background: rgba(10, 10, 10, 0.94);
  border-bottom-color: var(--b1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  text-decoration: none;
  color: var(--text);
}

/* Logo only: no outer "chip"; the SVG already carries the rounded panel. */
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.brand-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.06rem;
  letter-spacing: -0.022em;
  line-height: 1.15;
}

.brand-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  list-style: none;
  flex-wrap: wrap;
}

@media (min-width: 640px) {
  .nav-links {
    gap: 0.75rem;
  }
}

.nav-links a:not(.btn) {
  color: var(--text2);
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.15s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-ghost {
  background: transparent;
  border-color: var(--b1);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--b2);
  background: var(--s2);
}

.nav-signin {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-weight: 600;
}

.nav-signin:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.07);
}

.nav-menu {
  position: relative;
}

.nav-menu summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  color: var(--text3);
  border: 1px solid var(--b1);
  border-radius: 999px;
  padding: 0.46rem 0.8rem;
  font-size: 0.78rem;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.nav-menu summary::-webkit-details-marker {
  display: none;
}

.nav-menu[open] summary,
.nav-menu summary:hover {
  color: var(--text2);
  border-color: var(--b2);
  background: rgba(255, 255, 255, 0.03);
}

.nav-menu-panel {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  min-width: 180px;
  border-radius: 12px;
  border: 1px solid var(--b1);
  background: rgba(15, 15, 15, 0.97);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.8);
  padding: 0.4rem;
  display: grid;
  gap: 0.2rem;
  z-index: 110;
}

.nav-menu-panel a {
  color: var(--text2);
  text-decoration: none;
  font-size: 0.82rem;
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
}

.nav-menu-panel a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

/* High contrast: light text on deep green (readable on all parts of the gradient) */
.btn-primary {
  background: linear-gradient(165deg, #26a366 0%, var(--btn-primary-bg2) 100%);
  color: var(--btn-primary-fg);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 8px 28px -6px rgba(62, 207, 142, 0.52),
    0 0 24px rgba(62, 207, 142, 0.32);
  position: relative;
  overflow: hidden;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(165deg, #2cb876 0%, #1a7a4a 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 12px 36px -6px rgba(62, 207, 142, 0.58),
    0 0 36px rgba(62, 207, 142, 0.42);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--ok);
  outline-offset: 2px;
}

/* Hero: minimal first screen */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100svh - 5.4rem);
  padding: clamp(1.2rem, 2.6vw, 1.8rem) 1rem clamp(2.2rem, 5vw, 3.2rem);
  box-sizing: border-box;
}

.hero-copy-block {
  text-align: center;
  max-width: min(34rem, 92vw);
  margin-inline: auto;
  width: 100%;
  padding-bottom: 0;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
  text-wrap: balance;
  animation: hero-entrance 1s var(--ease-reveal) both;
}

.hero-title-eyebrow {
  font-family: var(--mono);
  font-size: clamp(0.64rem, 1.35vw, 0.72rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text4);
}

.hero-title-headline {
  font-family: var(--display);
  font-size: clamp(2.25rem, 5.5vw, 3.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--text);
}

.hero-platform {
  font-size: clamp(0.78rem, 1.5vw, 0.88rem);
  color: var(--text3);
  max-width: 38ch;
  margin-inline: auto;
  margin-top: 0;
  margin-bottom: clamp(1.25rem, 2.8vw, 1.7rem);
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.02em;
  animation: hero-entrance 1s var(--ease-reveal) 0.08s both;
}

.hero-platform strong {
  color: var(--text2);
  font-weight: 600;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1rem;
  animation: hero-entrance 1s var(--ease-reveal) 0.2s both;
}

.hero-social-proof {
  margin: 0.95rem auto 0;
  max-width: 54ch;
  padding: 0.45rem 0 0.45rem 0.8rem;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text3);
  text-align: left;
}

.hero-cta .btn-primary {
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.22),
    0 12px 36px -8px rgba(62, 207, 142, 0.45),
    0 0 28px rgba(62, 207, 142, 0.22);
}

@keyframes hero-entrance {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.immersive-preview-hint {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text4);
  margin: -0.35rem auto 1rem;
  max-width: 36ch;
}

.immersive-preview-tip {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text3);
  margin: -0.55rem auto 1.05rem;
  max-width: 44ch;
}

.preview-stage {
  position: relative;
  width: 100%;
  max-width: min(1180px, 96vw);
  margin: 0 auto;
}

.preview-curtain {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(8, 8, 8, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    opacity 0.4s var(--ease),
    visibility 0.4s;
}

.preview-curtain.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preview-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  border: 1px solid rgba(62, 207, 142, 0.45);
  background: linear-gradient(165deg, #26a366 0%, var(--btn2) 100%);
  color: #ffffff;
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.2s ease;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.22),
    0 12px 34px -8px rgba(62, 207, 142, 0.5),
    0 0 22px rgba(62, 207, 142, 0.28);
}

.preview-play-btn:hover {
  border-color: rgba(110, 232, 175, 0.8);
  background: linear-gradient(165deg, #2cb876 0%, #1a7a4a 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 14px 38px -8px rgba(62, 207, 142, 0.6),
    0 0 34px rgba(62, 207, 142, 0.42);
}

.preview-play-btn:active {
  transform: scale(0.98);
}

.preview-play-icon {
  font-size: 0.8rem;
  opacity: 0.98;
}

.preview-play-label {
  letter-spacing: -0.01em;
}

.hero-scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text2);
  text-decoration: none;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--b1);
  background: var(--s2);
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.hero-scroll-hint:hover {
  color: var(--ok);
  border-color: rgba(62, 207, 142, 0.35);
  background: var(--s3);
  transform: translateY(-1px);
}

.hero-scroll-ico {
  animation: hero-bounce 2.8s ease-in-out infinite;
}

@keyframes hero-bounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  50% {
    transform: translateY(4px);
    opacity: 0.85;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Full-bleed preview band (below hero + features) */
.hero-immersive {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: clamp(0.5rem, 2vw, 1rem);
  padding: clamp(1.25rem, 3vw, 2rem) 0 clamp(2.25rem, 5vw, 3.5rem);
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: 1200px;
}

.immersive-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(62, 207, 142, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 80% 100%, rgba(62, 207, 142, 0.06) 0%, transparent 45%),
    linear-gradient(180deg, #0e0e0e 0%, var(--bg) 100%);
  pointer-events: none;
  /* Keep static for smoother scrolling on lower-end GPUs. */
  animation: none;
}

@keyframes immersive-bg-breathe {
  from {
    opacity: 0.88;
  }
  to {
    opacity: 1;
  }
}

.immersive-edge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: linear-gradient(180deg, var(--bg) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.immersive-frame {
  position: relative;
  z-index: 2;
  width: min(1180px, 96vw);
  margin: 0 auto;
  animation: immersive-rise 1s var(--ease) 0.15s both;
}

@keyframes immersive-rise {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.immersive-kicker {
  text-align: center;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text3);
  margin: 0 auto 1rem;
  max-width: 40ch;
  animation: immersive-kicker-in 0.65s var(--ease) 0.12s both;
}

@keyframes immersive-kicker-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#features,
#preview,
#how,
#pricing,
#redeem {
  scroll-margin-top: 5.8rem;
  content-visibility: auto;
  contain-intrinsic-size: 760px;
}

#faq {
  scroll-margin-top: 5.8rem;
  content-visibility: visible;
}

.faq-list[data-reveal] {
  backface-visibility: visible;
}

#features {
  padding: clamp(2.2rem, 8vw, 5.2rem) 0 clamp(2.5rem, 7vw, 4.5rem);
}

.scene-viewport {
  width: 100%;
  aspect-ratio: 1280 / 860;
  position: relative;
  overflow: hidden;
  container-type: size;
  border-radius: 14px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 32px 100px -20px rgba(0, 0, 0, 0.75),
    0 0 120px -40px rgba(62, 207, 142, 0.12);
  background: #0a0a0a;
}

.scene-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 1280px;
  height: 860px;
  transform-origin: 0 0;
  transform: scale(calc(100cqw / 1280px));
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #1c1c1e;
  overflow: hidden;
}

@supports not (container-type: size) {
  .scene-viewport {
    height: 0;
    padding-bottom: calc(860 / 1280 * 100%);
  }
  .scene-inner {
    transform: scale(0.42);
  }
}

@media (min-width: 500px) {
  @supports not (container-type: size) {
    .scene-inner {
      transform: scale(0.52);
    }
  }
}

@media (min-width: 700px) {
  @supports not (container-type: size) {
    .scene-inner {
      transform: scale(0.62);
    }
  }
}

@media (min-width: 900px) {
  @supports not (container-type: size) {
    .scene-inner {
      transform: scale(0.72);
    }
  }
}

/* In-browser editor mock: generic chrome + layout inspired by common doc UIs (no third-party logos). */
.scene-inner .gdoc {
  position: absolute;
  inset: 0;
  background: #f9fbfd;
  display: flex;
  flex-direction: column;
  font-family: "Segoe UI", system-ui, Arial, sans-serif;
  color: #202124;
}

.scene-inner .gdoc-header {
  flex-shrink: 0;
  background: #fff;
  border-bottom: 1px solid #dadce0;
}

.scene-inner .gdoc-titleline {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 12px 8px 14px;
}

.scene-inner .gdoc-doc-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.scene-inner .gdoc-doc-icon svg {
  display: block;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.12));
}

.scene-inner .gdoc-titleline-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 10px 12px;
}

.scene-inner .gdoc-doc-name {
  font-size: 16px;
  font-weight: 400;
  color: #202124;
  line-height: 1.25;
  flex-shrink: 0;
}

.scene-inner .gdoc-saving-slot {
  flex: 1;
  min-width: 10.5rem;
  min-height: 1.15em;
  text-align: left;
  white-space: nowrap;
}

.scene-inner .gdoc-titleline-actions {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  margin-left: auto;
  padding-top: 2px;
}

.scene-inner .gdoc-hdr-ico {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #dadce0;
  background: #fff;
}

.scene-inner .gdoc-hdr-ico--star {
  position: relative;
  border-color: #dadce0;
  background: #fff;
}

.scene-inner .gdoc-hdr-ico--star::after {
  content: "☆";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
  color: #5f6368;
}

.scene-inner .gdoc-hdr-ico--folder {
  background: linear-gradient(135deg, #e8eaed 45%, #bdc1c6 46%);
  border-color: #bdc1c6;
  opacity: 0.85;
}

.scene-inner .gdoc-hdr-ico--cloud {
  position: relative;
  background: #f1f3f4;
  border-color: #dadce0;
  opacity: 0.9;
}

.scene-inner .gdoc-hdr-ico--cloud::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #188038;
}

.scene-inner .gdoc-share-pill {
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  background: #0b57d0;
  padding: 5px 18px 6px;
  border-radius: 999px;
  margin-left: 4px;
  box-shadow: 0 1px 2px rgba(11, 87, 208, 0.25);
  letter-spacing: 0.01em;
}

.scene-inner .gdoc-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  margin-left: 6px;
  background: conic-gradient(from 200deg, #5c6bc0, #26a69a, #ffb74d, #5c6bc0);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #dadce0;
}

.scene-inner .gdoc-menubar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 15px;
  padding: 0 14px 7px;
  font-size: 12.5px;
  color: #5f6368;
  line-height: 1.35;
  border-bottom: 1px solid #f1f3f4;
}

.scene-inner .gdoc-menubar span {
  padding: 1px 0;
}

.scene-inner .gdoc-toolbar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 5px;
  padding: 5px 10px 6px 12px;
  background: #f1f3f4;
  border-bottom: 1px solid #dadce0;
}

.scene-inner .gdoc-toolbar-row--2 {
  background: #fff;
  padding-top: 4px;
}

.scene-inner .gdoc-menus-pill {
  font-size: 11px;
  color: #3c4043;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 999px;
  padding: 4px 12px 4px 28px;
  margin-right: 4px;
  position: relative;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.scene-inner .gdoc-menus-pill::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border: 1.5px solid #5f6368;
  border-radius: 50%;
  opacity: 0.55;
}

.scene-inner .gdoc-tb-ic {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #3c4043;
  border-radius: 3px;
  border: 1px solid transparent;
  background: transparent;
}

.scene-inner .gdoc-tb-ic--sym {
  font-size: 12px;
  font-weight: 600;
  color: #5f6368;
}

.scene-inner .gdoc-tb-dd {
  font-size: 11px;
  color: #3c4043;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 4px;
  padding: 3px 8px 4px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.scene-inner .gdoc-tb-dd--wide {
  min-width: 88px;
}

.scene-inner .gdoc-tb-dd--font {
  min-width: 118px;
}

.scene-inner .gdoc-tb-dd--num {
  min-width: 28px;
  text-align: center;
  padding-inline: 4px;
}

.scene-inner .gdoc-tb-dd--edit {
  margin-left: auto;
  padding-right: 22px;
  position: relative;
}

.scene-inner .gdoc-tb-dd--edit::after {
  content: "▾";
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 9px;
  color: #5f6368;
}

.scene-inner .gdoc-tb-sep {
  width: 1px;
  height: 20px;
  background: #dadce0;
  margin: 0 3px;
  align-self: center;
}

.scene-inner .gdoc-tb-btn {
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #3c4043;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 3px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.scene-inner .gdoc-tb-btn--on {
  background: #e8eaed;
  border-color: #bdc1c6;
}

.scene-inner .gdoc-tb-ul {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.scene-inner .gdoc-work {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: row;
}

.scene-inner .gdoc-tabs {
  width: 112px;
  flex-shrink: 0;
  background: #f0f4f9;
  border-right: 1px solid #dadce0;
  padding: 10px 8px;
}

.scene-inner .gdoc-tabs-h {
  font-size: 11px;
  font-weight: 500;
  color: #444746;
  margin-bottom: 8px;
}

.scene-inner .gdoc-tab {
  font-size: 11px;
  color: #174ea6;
  background: #d3e3fd;
  border-radius: 6px;
  padding: 6px 8px;
  margin-bottom: 8px;
  font-weight: 500;
}

.scene-inner .gdoc-tabs-hint {
  font-size: 10.5px;
  line-height: 1.4;
  color: #5f6368;
  margin: 0;
}

.scene-inner .gdoc-main {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #f9fbfd;
}

.scene-inner .gdoc-ruler {
  flex-shrink: 0;
  height: 16px;
  border-bottom: 1px solid #dadce0;
  background-color: #fff;
  background-image:
    linear-gradient(90deg, #dadce0 1px, transparent 1px),
    linear-gradient(90deg, #e8eaed 1px, transparent 1px);
  background-size: 72px 100%, 8px 100%;
}

.scene-inner .gdoc-scroll {
  flex: 1;
  min-height: 0;
  display: flex;
  justify-content: center;
  padding: 12px 16px 16px;
  overflow: hidden;
}

.scene-inner .gdoc-page {
  width: 100%;
  max-width: 612px;
  background: #fff;
  box-shadow:
    0 1px 2px rgba(60, 64, 67, 0.28),
    0 2px 8px rgba(60, 64, 67, 0.12);
  border: 1px solid #dadce0;
  border-radius: 1px;
  padding: 48px 72px 64px;
  overflow: hidden;
}

.scene-inner .gdoc-title {
  font-size: 20px;
  font-weight: 400;
  color: #000;
  margin-bottom: 12px;
  font-family: "Times New Roman", Times, Georgia, serif;
  line-height: 1.3;
}

.scene-inner .gdoc-body {
  font-size: 12px;
  color: #000;
  line-height: 1.5;
  font-family: "Times New Roman", Times, Georgia, serif;
}

.scene-inner .gdoc-body p {
  margin-bottom: 12px;
}

.scene-inner .gdoc-cursor {
  display: inline-block;
  width: 1.5px;
  height: 15px;
  background: #1a73e8;
  vertical-align: text-bottom;
  margin-left: 1px;
  animation: gdoc-caret-blink 1s step-end infinite;
}

@keyframes gdoc-caret-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.scene-inner .gdoc-typed-chars {
  color: #000;
}

.scene-inner .gdoc-saving {
  font-size: 12px;
  color: #5f6368;
  font-weight: 400;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.scene-inner .gdoc-saving.is-visible {
  opacity: 1;
}

.scene-inner .gdoc-saving.is-saved-drive {
  color: #5f6368;
  font-weight: 400;
}

.scene-inner#scene-root {
  --prog-pct: 75%;
}

.scene-inner#scene-root.is-bar-instant .ov-bar {
  transition: none !important;
}

/* Bottom overlay (matches overlay.js #w): enter/exit via transition only */
.scene-inner .overlay {
  position: absolute;
  bottom: 22px;
  right: 22px;
  width: 216px;
  background: #0a0a0a;
  border: 1px solid #252525;
  border-radius: 12px;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.9),
    0 4px 16px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    opacity 0.52s var(--ease),
    transform 0.52s var(--ease);
}

.scene-inner .overlay.is-overlay-hidden {
  opacity: 0;
  transform: translateY(18px) scale(0.93);
  pointer-events: none;
}

.scene-inner .ov-topline {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(62, 207, 142, 0.7) 25%, rgba(62, 207, 142, 0.7) 75%, transparent);
}

.scene-inner .ov-body {
  padding: 12px 13px 11px;
}

.scene-inner .ov-row1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 11px;
}

.scene-inner .ov-brand {
  display: flex;
  align-items: center;
  gap: 6px;
}

.scene-inner .ov-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.scene-inner .ov-brand-logo {
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.scene-inner .ov-name {
  font-size: 11px;
  font-weight: 600;
  color: #efefef;
  letter-spacing: -0.2px;
}

.scene-inner .ov-badge {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  color: #f87171;
  font-family: var(--mono);
}

.scene-inner .ov-badge.is-paused {
  color: #facc15;
}

.scene-inner .ov-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #f87171;
  animation: ov-dot-pulse 1.4s ease-in-out infinite;
}

.scene-inner .ov-badge.is-paused .ov-dot {
  background: #facc15;
  animation: none;
}

@keyframes ov-dot-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.12;
  }
}

.scene-inner .ov-time {
  font-size: 29px;
  font-weight: 600;
  font-family: var(--mono);
  color: #efefef;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 1px;
  font-variant-numeric: tabular-nums;
}

.scene-inner .ov-sub {
  font-size: 9px;
  color: #8e8e8e;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 9px;
  font-family: var(--mono);
}

.scene-inner .ov-track {
  height: 1px;
  background: #222;
  border-radius: 1px;
  overflow: hidden;
  margin-bottom: 9px;
}

.scene-inner .ov-bar {
  height: 100%;
  background: linear-gradient(90deg, #1a7a4a, #3ecf8e);
  width: var(--prog-pct, 0%);
  transition: width 0.45s var(--ease);
}

.scene-inner .ov-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.scene-inner .ov-stat {
  display: flex;
  flex-direction: column;
  gap: 1px;
  align-items: center;
}

.scene-inner .ov-sv {
  font-size: 11px;
  font-weight: 500;
  color: #efefef;
  font-family: var(--mono);
}

.scene-inner .ov-sk {
  font-size: 8px;
  color: #8e8e8e;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.scene-inner .ov-sep {
  width: 1px;
  height: 18px;
  background: #222;
}

.scene-inner .ov-btns {
  display: flex;
  gap: 6px;
}

.scene-inner .ov-pause {
  flex: 0 0 auto;
  padding: 6px 10px;
  background: #111;
  border: 1px solid #252525;
  border-radius: 6px;
  color: #a3a3a3;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font: inherit;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease;
}

.scene-inner .ov-pause:hover:not(:disabled) {
  background: #161616;
  border-color: #333;
  color: #d4d4d4;
}

.scene-inner .ov-pause.is-paused {
  background: rgba(234, 179, 8, 0.14);
  border-color: rgba(234, 179, 8, 0.45);
  color: #facc15;
  box-shadow: inset 0 0 0 1px rgba(234, 179, 8, 0.12);
}

.scene-inner .ov-pause.is-paused:hover:not(:disabled) {
  background: rgba(234, 179, 8, 0.2);
  border-color: rgba(250, 204, 21, 0.55);
  color: #fde047;
}

.scene-inner .ov-pause-svg--play {
  display: none;
}

.scene-inner .ov-pause.is-paused .ov-pause-svg--pause {
  display: none;
}

.scene-inner .ov-pause.is-paused .ov-pause-svg--play {
  display: block;
}

/* Same idea as overlay.js .stop-btn: dark fill, salmon-red label + icon only */
.scene-inner .ov-stop {
  flex: 1;
  padding: 6px 8px;
  background: #111;
  border: 1px solid #252525;
  border-radius: 6px;
  color: #f87171;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.scene-inner .ov-stop:hover {
  background: rgba(248, 113, 113, 0.07);
  border-color: rgba(248, 113, 113, 0.2);
  color: #ff7a7a;
}

.scene-inner .overlay.is-paused .ov-time {
  color: #bababa;
}

.scene-inner .overlay.is-paused .ov-sub,
.scene-inner .overlay.is-paused .ov-sk {
  color: #7d7d7d;
}

.scene-inner .overlay.is-paused .ov-sv {
  color: #d3d3d3;
}

/* Trust strip */
.trust-strip {
  padding: clamp(1.25rem, 3vw, 1.75rem) 0;
  border-top: 1px solid var(--b1);
  border-bottom: 1px solid var(--b1);
  background: linear-gradient(180deg, rgba(62, 207, 142, 0.04) 0%, transparent 65%);
}

.trust-strip-inner {
  display: grid;
  gap: 1rem 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .trust-strip-inner {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text2);
  line-height: 1.35;
  text-align: center;
}

.trust-item[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.85s var(--ease-reveal),
    transform 0.85s var(--ease-reveal);
}

.trust-item[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

.trust-strip-inner .trust-item[data-reveal]:nth-child(1) {
  transition-delay: 0s;
}

.trust-strip-inner .trust-item[data-reveal]:nth-child(2) {
  transition-delay: 0.07s;
}

.trust-strip-inner .trust-item[data-reveal]:nth-child(3) {
  transition-delay: 0.14s;
}

.trust-ico {
  color: var(--ok);
  font-size: 0.75rem;
  line-height: 1.6;
  opacity: 0.85;
}

/* Sections */
section {
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.section-head--tight {
  margin-bottom: 1.75rem;
}

.section-head--tight h2 {
  margin-bottom: 0;
}

.section-eyebrow {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ok);
  margin-bottom: 0.5rem;
}

[data-reveal] {
  will-change: opacity, transform;
  backface-visibility: hidden;
}

[data-reveal].visible {
  will-change: auto;
}

.section-head[data-reveal] {
  opacity: 0;
  transform: translateY(14px) scale(0.994);
  transition:
    opacity 0.9s var(--ease-reveal),
    transform 0.9s var(--ease-reveal);
}

.section-head[data-reveal].visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.pricing-primary[data-reveal] {
  opacity: 0;
  transform: translateY(16px) scale(0.992);
  transition:
    opacity 0.95s var(--ease-reveal),
    transform 0.95s var(--ease-reveal);
}

.pricing-primary[data-reveal].visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.section-head p {
  color: var(--text2);
  font-size: 0.95rem;
}

.features {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  position: relative;
  overflow: hidden;
  cursor: default;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, rgba(17, 17, 17, 0.92) 55%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: calc(var(--r) + 4px);
  padding: 1.35rem;
  transition:
    opacity 0.88s var(--ease-reveal),
    border-color 0.35s var(--ease),
    transform 0.88s var(--ease-reveal),
    box-shadow 0.35s var(--ease);
  opacity: 0;
  transform: translateY(14px) scale(0.992);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.feature-card::after {
  content: none;
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.features .feature-card:nth-child(1) {
  transition-delay: 0s;
}

.features .feature-card:nth-child(2) {
  transition-delay: 0.08s;
}

.features .feature-card:nth-child(3) {
  transition-delay: 0.16s;
}

.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow:
    0 24px 56px -28px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(62, 207, 142, 0.05);
  transform: translateY(-1px) scale(1);
}

.feature-card:active {
  transform: translateY(0) scale(0.996);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--s2);
  border: 1px solid var(--b1);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: var(--ok);
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.feature-card p {
  font-size: 0.8125rem;
  color: var(--text3);
  line-height: 1.45;
}


/* How: compact step rail */
.how-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  max-width: 820px;
  margin-inline: auto;
  padding: clamp(1.25rem, 3vw, 1.65rem) clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--b1);
  border-radius: var(--r);
  background: linear-gradient(165deg, var(--s1) 0%, rgba(10, 10, 10, 0.6) 100%);
  box-shadow: 0 0 0 1px rgba(62, 207, 142, 0.04) inset;
  opacity: 0;
  transform: translateY(14px) scale(0.994);
  transition:
    opacity 0.9s var(--ease-reveal),
    transform 0.9s var(--ease-reveal);
}

.how-steps[data-reveal].visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.how-step {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.how-num {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(62, 207, 142, 0.35);
  background: var(--ok-dim);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ok);
}

.how-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text2);
  letter-spacing: -0.01em;
}

.how-connector {
  width: clamp(1.25rem, 4vw, 2.5rem);
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--b2), rgba(62, 207, 142, 0.25), var(--b2));
  opacity: 0.9;
}

@media (max-width: 599px) {
  .how-steps {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .how-connector {
    width: 2px;
    height: 0.75rem;
    margin-left: 1rem;
    background: linear-gradient(180deg, var(--b2), rgba(62, 207, 142, 0.2), var(--b2));
  }
}

.pricing:not(.pricing-primary) .pricing-lead-short {
  max-width: 36ch;
  margin-inline: auto;
}

/* Pricing strip */
.pricing {
  background: linear-gradient(180deg, var(--s1) 0%, var(--bg) 100%);
  border: 1px solid var(--b1);
  border-radius: var(--r);
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing.pricing-primary {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
  padding-bottom: clamp(1.65rem, 4vw, 2.35rem);
}

.pricing::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 120%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ok), transparent);
  opacity: 0.4;
  transform: translateX(-50%);
}

.pricing h2 {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pricing-toggle {
  display: inline-flex;
  border: 1px solid var(--b1);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
  margin: 0 auto 0.85rem;
  background: rgba(10, 10, 10, 0.6);
}

.pricing-toggle-btn {
  border: none;
  background: transparent;
  color: var(--text3);
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.pricing-toggle-btn.is-on {
  background: var(--s2);
  color: var(--text);
}

.pricing-toggle-btn:hover {
  color: var(--text);
}

.pricing > p {
  color: var(--text2);
  font-size: 0.92rem;
  max-width: 46ch;
  margin: 0 auto 1.5rem;
  line-height: 1.55;
}

.price-tag {
  font-family: var(--mono);
  font-size: clamp(2.8rem, 6vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.45rem;
  line-height: 1;
  text-shadow: 0 0 28px rgba(62, 207, 142, 0.14);
}

.price-tag small {
  font-size: 0.9rem;
  color: var(--text3);
  font-weight: 400;
}

.checklist {
  list-style: none;
  text-align: left;
  max-width: 320px;
  margin: 1.5rem auto 1.75rem;
  font-size: 0.875rem;
  color: var(--text2);
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.checklist li::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--ok-dim);
  border: 1px solid rgba(62, 207, 142, 0.25);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='%233ecf8e' d='M1 5l3 3 7-7' stroke='%233ecf8e' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}

.disclaimer {
  font-size: 0.78rem;
  font-family: var(--sans);
  font-weight: 500;
  color: rgba(148, 156, 168, 0.92);
  max-width: 62ch;
  margin: 0.85rem 0 0;
  line-height: 1.55;
  letter-spacing: 0;
}

.disclaimer a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.disclaimer a:hover {
  color: var(--ok);
}

.disclaimer a:visited {
  color: inherit;
}

.pricing-split {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 960px) {
  .pricing-split {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

.pricing-primary {
  text-align: center;
}

.pricing-primary .pricing-block-head {
  width: min(44rem, 100%);
  max-width: 100%;
  text-align: center;
  margin: 0 auto 0.35rem;
}

.pricing-primary .pricing-block-head h2 {
  margin-bottom: 0.5rem;
}

.pricing-primary .pricing-block-head .pricing-lead-short {
  display: block;
  width: 100%;
  max-width: min(42em, 100%);
  color: var(--text2);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0 auto 1.2rem;
  text-align: center;
}

.pricing-primary .checklist {
  margin: 0.75rem auto 1.35rem;
  max-width: 36ch;
  text-align: left;
}

.pricing-primary .price-tag {
  margin-bottom: 0.9rem;
}

.pricing-primary .pricing-actions {
  margin-top: 0.2rem;
  margin-bottom: 1.05rem;
  justify-content: center;
}

.pricing-primary .disclaimer {
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 1.35rem;
  max-width: 48ch;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

#pricing .disclaimer a.pricing-terms-link:link,
#pricing .disclaimer a.pricing-terms-link:visited,
#pricing .disclaimer a.pricing-terms-link:any-link {
  color: var(--ok) !important;
  -webkit-text-fill-color: var(--ok) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#pricing .disclaimer a.pricing-terms-link:hover {
  color: #6ee8af !important;
  -webkit-text-fill-color: #6ee8af !important;
}

/* FAQ */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 0.7rem;
  opacity: 0;
  transform: translateY(12px) scale(0.995);
  transition:
    opacity 0.9s var(--ease-reveal),
    transform 0.9s var(--ease-reveal);
}

.faq-list.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.faq-item {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01) 0%, rgba(255, 255, 255, 0.005) 100%);
  border: 1px solid var(--b1);
  border-radius: 12px;
  padding: 0.1rem 0;
  box-shadow: 0 14px 34px -24px rgba(0, 0, 0, 0.62);
  transition: border-color 0.35s ease, box-shadow 0.4s ease;
}

/* summary must not be display:flex — WebKit fails to render <details> body when it is. */
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 0;
  font-size: 0.93rem;
  font-weight: 550;
  font-family: var(--display);
  letter-spacing: -0.01em;
  color: var(--text);
  display: block;
  user-select: none;
}

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

.faq-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
}

.faq-summary-row::after {
  content: "+";
  flex-shrink: 0;
  color: var(--ok);
  font-family: var(--mono);
  font-size: 0.95rem;
  opacity: 0.9;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item[open] .faq-summary-row::after {
  transform: rotate(45deg);
}

.faq-item:not([open]) > .faq-answer {
  display: block;
}

.faq-item[open] > .faq-answer {
  display: block;
}

.faq-answer {
  display: block;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.36s var(--ease-reveal),
    opacity 0.24s ease;
}

.faq-item[open] > .faq-answer {
  max-height: 220px;
  opacity: 1;
}

.faq-answer p {
  overflow: hidden;
  margin: 0;
  padding: 0 1rem 0.95rem;
  color: var(--text2);
  font-size: 0.86rem;
  line-height: 1.55;
  user-select: none;
}

.faq-answer p strong {
  color: var(--text);
}

@media (max-width: 760px) {
  .scene-viewport {
    aspect-ratio: 390 / 620;
  }

  .scene-inner {
    transform: translateX(-185px) scale(calc(100cqw / 920px));
  }

  .scene-inner .gdoc-header,
  .scene-inner .gdoc-tabs,
  .scene-inner .gdoc-ruler {
    display: none;
  }

  .scene-inner .gdoc-scroll {
    padding: 24px 16px;
  }

  .scene-inner .gdoc-page {
    max-width: 748px;
    padding: 44px 58px 52px;
  }
}

.hero-social-proof[data-reveal] {
  opacity: 0;
  transform: translateY(12px) scale(0.995);
  transition:
    opacity 0.9s var(--ease-reveal),
    transform 0.9s var(--ease-reveal);
}

.hero-social-proof[data-reveal].visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.faq-item:hover {
  border-color: var(--b2);
  box-shadow:
    0 24px 46px -28px rgba(0, 0, 0, 0.68),
    0 0 0 1px rgba(62, 207, 142, 0.08);
}

.faq-item[open] {
  border-color: rgba(62, 207, 142, 0.3);
  box-shadow:
    0 26px 50px -28px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(62, 207, 142, 0.12);
}

.pricing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-start;
  margin-top: 0.25rem;
}

/* Redeem code panel */
.redeem-panel {
  background: linear-gradient(165deg, var(--s1) 0%, #0d0d0d 100%);
  border: 1px solid var(--b1);
  border-radius: var(--r);
  padding: clamp(1.75rem, 4vw, 2.25rem);
  position: relative;
  overflow: hidden;
  text-align: left;
  box-shadow:
    0 0 0 1px rgba(62, 207, 142, 0.06) inset,
    0 20px 60px -28px rgba(0, 0, 0, 0.55);
}

.redeem-panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle at 100% 0%, rgba(62, 207, 142, 0.12), transparent 70%);
  pointer-events: none;
}

.redeem-panel-inner {
  position: relative;
  z-index: 1;
}

.redeem-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ok);
  border: 1px solid rgba(62, 207, 142, 0.25);
  background: var(--ok-dim);
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.redeem-title {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.redeem-lead {
  font-size: 0.875rem;
  color: var(--text2);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  max-width: 42ch;
}

.redeem-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  font-family: var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 0.45rem;
}

.redeem-input-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

@media (min-width: 520px) {
  .redeem-input-wrap {
    flex-direction: row;
    align-items: stretch;
  }

  .redeem-submit {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

.redeem-input {
  flex: 1;
  min-width: 0;
  font-family: var(--mono);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 0.7rem 0.85rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--b1);
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.redeem-input:focus {
  border-color: rgba(62, 207, 142, 0.45);
  box-shadow: 0 0 0 3px rgba(62, 207, 142, 0.12);
}

.redeem-input.redeem-input--error {
  border-color: rgba(248, 113, 113, 0.55);
  animation: redeem-shake 0.45s var(--ease);
}

@keyframes redeem-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-6px);
  }
  40% {
    transform: translateX(6px);
  }
  60% {
    transform: translateX(-4px);
  }
  80% {
    transform: translateX(4px);
  }
}

.redeem-submit {
  position: relative;
  min-width: 8.5rem;
}

.redeem-submit.is-loading {
  pointer-events: none;
  opacity: 0.88;
}

.redeem-submit.is-loading .redeem-submit-text {
  opacity: 0.25;
}

.redeem-submit-loading {
  display: none;
  position: absolute;
  inset: 0;
  margin: auto;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: redeem-spin 0.7s linear infinite;
}

.redeem-submit.is-loading .redeem-submit-loading {
  display: block;
}

@keyframes redeem-spin {
  to {
    transform: rotate(360deg);
  }
}

.redeem-hint {
  font-size: 0.72rem;
  color: var(--text3);
  margin-top: 0.65rem;
  line-height: 1.45;
}

.redeem-kbd {
  font-family: var(--mono);
  font-size: 0.68rem;
  padding: 0.12rem 0.35rem;
  border-radius: 4px;
  border: 1px solid var(--b1);
  background: var(--s2);
  color: var(--text2);
}

.redeem-msg {
  min-height: 1.25rem;
  margin-top: 0.65rem;
  font-size: 0.78rem;
  font-family: var(--mono);
  color: #fca5a5;
}

.redeem-msg.redeem-msg--ok {
  color: #6ee7b4;
}

.redeem-success {
  margin-top: 1.25rem;
  padding: 1.1rem 1rem;
  border-radius: var(--r-sm);
  border: 1px solid rgba(62, 207, 142, 0.28);
  background: rgba(62, 207, 142, 0.08);
}

.redeem-success[hidden] {
  display: none;
}

.redeem-success-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(62, 207, 142, 0.2);
  color: var(--ok);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  margin-bottom: 0.65rem;
}

.redeem-success-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.redeem-success-body {
  font-size: 0.82rem;
  color: var(--text2);
  line-height: 1.5;
  margin-bottom: 0.85rem;
}

.redeem-dl {
  width: 100%;
  margin-bottom: 0.65rem;
}

.redeem-success-note {
  font-size: 0.68rem;
  font-family: var(--mono);
  color: var(--text3);
  line-height: 1.45;
}

.redeem-panel[data-reveal] {
  opacity: 0;
  transform: translateY(16px) scale(0.992);
  transition:
    opacity 0.95s var(--ease-reveal),
    transform 0.95s var(--ease-reveal);
}

.redeem-panel[data-reveal].visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Footer */
footer {
  padding: 2.4rem 0 2.8rem;
  border-top: 1px solid var(--b1);
  font-size: 0.78rem;
  color: var(--text3);
}

.footer-inner {
  display: grid;
  gap: 1.1rem;
}

.footer-grid {
  display: grid;
  gap: 1.1rem 1.8rem;
  grid-template-columns: 1fr;
}

@media (min-width: 880px) {
  .footer-grid {
    grid-template-columns: minmax(260px, 1.3fr) repeat(2, minmax(160px, 1fr));
  }
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 0.35rem;
}

.footer-col--brand {
  gap: 0.65rem;
}

.footer-brand {
  width: fit-content;
}

.footer-head {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text4);
  margin-bottom: 0.35rem;
}

.footer-col a {
  color: var(--text2);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-year {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text2);
}

.footer-note {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--text4);
}

.footer-mail {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 0.15rem;
}

.footer-copy-btn {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  padding: 0.28rem 0.6rem;
  border-radius: 6px;
  border: 1px solid var(--b1);
  background: var(--s1);
  color: var(--text2);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
}

.footer-copy-btn:hover {
  border-color: rgba(62, 207, 142, 0.45);
  color: var(--ok);
}

.footer-copy-toast {
  font-size: 0.7rem;
  color: var(--ok);
  margin: 0;
  font-family: var(--mono);
}

.footer-bottom-row {
  border-top: 1px solid var(--b1);
  padding-top: 0.85rem;
}

.back-top {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 95;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--b1);
  background: rgba(17, 17, 17, 0.94);
  color: var(--text2);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition:
    opacity 0.35s var(--ease),
    transform 0.35s var(--ease),
    border-color 0.2s ease,
    color 0.2s ease;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.5);
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-top:hover {
  border-color: rgba(62, 207, 142, 0.45);
  color: var(--ok);
}

footer a {
  color: var(--text3);
  text-decoration: none;
  transition: color 0.2s ease;
}

footer a:hover {
  color: var(--ok);
}

/* Dialog */
.dialog-skin {
  border: 1px solid var(--b1);
  border-radius: var(--r);
  background: var(--s1);
  color: var(--text);
  padding: 1.5rem;
  max-width: 400px;
  font-family: var(--sans);
}

.dialog-skin p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text2);
}

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

  html {
    scroll-behavior: auto;
  }

  .scene-inner .ov-bar {
    transition: none;
  }

  .immersive-bg {
    animation: none;
    opacity: 1;
  }

  .bg-scene-svg,
  .bg-scene-layer,
  .bg-scene-path {
    animation-duration: 120s !important;
  }

  .section-head[data-reveal],
  .pricing-primary[data-reveal],
  .redeem-panel[data-reveal],
  .feature-card[data-reveal],
  .trust-item[data-reveal] {
    opacity: 1;
    transform: none;
  }

  .feature-card[data-reveal] {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero-title,
  .hero-lead,
  .hero-platform,
  .hero-cta {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-scroll-ico {
    animation: none;
  }

  .immersive-kicker {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .how-steps[data-reveal] {
    opacity: 1;
    transform: none;
  }

  .faq-list {
    opacity: 1;
    transform: none;
  }

  .faq-answer,
  .faq-answer p,
  .faq-summary-row::after,
  .faq-item {
    transition: none;
  }

}
