:root {
  --color-canvas: #070D1A;
  --color-canvas-soft: #0F1828;
  --color-surface: #F0F4FA;
  --color-surface-strong: #ffffff;
  --color-surface-tinted: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(226, 240, 252, 0.92));
  --color-text: #0F172A;
  --color-text-soft: #475569;
  --color-text-inverse: #F0F9FF;
  --color-text-muted: rgba(240, 249, 255, 0.80);
  --color-border: rgba(15, 23, 42, 0.12);
  --color-border-strong: rgba(70, 130, 180, 0.28);
  --color-border-inverse: rgba(255, 255, 255, 0.14);
  --color-accent: #4682B4;
  --color-accent-strong: #2C5282;
  --color-accent-soft: rgba(70, 130, 180, 0.14);
  --color-secondary: #06b6d4;
  --color-green: #5B8AC9;
  --color-amber: #f59e0b;
  --color-red: #ef7b7b;
  --shadow-soft: 0 18px 40px rgba(7, 13, 26, 0.08);
  --shadow-card: 0 22px 56px rgba(7, 13, 26, 0.14);
  --shadow-glass: 0 26px 80px rgba(7, 13, 26, 0.36);
  --glow-accent: 0 0 0 1px rgba(70, 130, 180, 0.18), 0 24px 80px rgba(70, 130, 180, 0.16);
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --ease-emphasized: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-standard: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 160ms;
  --dur-med: 320ms;
  --dur-slow: 720ms;
  --section-space: clamp(4.75rem, 7vw, 7.5rem);
  --container-max: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(70, 130, 180, 0.14), transparent 28%),
    linear-gradient(180deg, #070D1A 0%, #0F1828 100%);
  color: var(--color-text);
  min-height: 100vh;
  margin: 0;
}

img {
  max-width: 100%;
  display: block;
}

a,
button {
  transition:
    color var(--dur-fast) ease,
    border-color var(--dur-fast) ease,
    background-color var(--dur-fast) ease,
    opacity var(--dur-fast) ease,
    transform var(--dur-fast) var(--ease-standard),
    box-shadow var(--dur-med) var(--ease-standard);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid #5B8AC9;
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.focus\:not-sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

.page-shell {
  position: relative;
  overflow-x: clip;
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 70;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-secondary) 100%);
}

/* -- Navigation -- */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  border-bottom: 1px solid var(--color-border-inverse);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(7, 13, 26, 0.84);
}

.site-nav__inner,
.section-shell {
  width: min(calc(100% - 2rem), var(--container-max));
  margin: 0 auto;
}

.site-nav__inner {
  min-height: 5.25rem;
}

.site-nav a,
.site-nav button {
  color: rgba(240, 249, 255, 0.78);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[data-active="true"] {
  color: #A5B7D0;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.95rem 1.35rem;
  border-radius: var(--radius-pill);
  color: #F0F9FF;
  font-weight: 700;
  text-decoration: none;
  background: #4682B4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 12px 40px rgba(70, 130, 180, 0.28);
}

.nav-cta:hover,
.nav-cta:focus-visible,
.primary-btn:hover,
.primary-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 20px 50px rgba(70, 130, 180, 0.34);
}

.nav-toggle {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.mobile-menu {
  display: none;
  padding: 0 1rem 1.25rem;
  background: rgba(7, 13, 26, 0.96);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

/* -- Hero -- */
.hero-section {
  position: relative;
  padding: clamp(6rem, 7vw, 7.5rem) 0 clamp(4rem, 5vw, 5rem);
  color: var(--color-text-inverse);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 25%, rgba(70, 130, 180, 0.18), transparent 28%),
    radial-gradient(circle at 82% 16%, rgba(6, 182, 212, 0.16), transparent 24%),
    radial-gradient(circle at 65% 62%, rgba(70, 130, 180, 0.08), transparent 26%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.hero-copy {
  max-width: 39rem;
}

.hero-title {
  margin: 0 0 1.5rem;
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.hero-title .accent-text,
.gradient-text {
  color: transparent;
  background: linear-gradient(135deg, #A5B7D0 0%, #67e8f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-subtitle {
  margin: 0;
  max-width: 35rem;
  color: var(--color-text-muted);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.72;
}

.hero-category {
  margin: 0 0 0.8rem;
  color: #b8cbe4;
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-live-link {
  display: inline-block;
  margin-top: 1.15rem;
  color: #b7dbff;
  font-size: 0.95rem;
  font-weight: 700;
  text-underline-offset: 0.22em;
}

.hero-live-link:hover {
  color: #fff;
}

/* -- Buttons -- */
.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  margin-top: 2rem;
}

.primary-btn,
.secondary-btn,
.ghost-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.75rem;
  padding: 0.95rem 1.5rem;
  border-radius: 1.15rem;
  font-weight: 700;
  line-height: 1;
  overflow: hidden;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.primary-btn::after,
.nav-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.22) 50%, transparent 78%);
  transform: translateX(-140%);
  transition: transform var(--dur-slow) var(--ease-emphasized);
}

.primary-btn:hover::after,
.primary-btn:focus-visible::after,
.nav-cta:hover::after,
.nav-cta:focus-visible::after {
  transform: translateX(140%);
}

.primary-btn {
  color: #F0F9FF;
  background: #4682B4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 18px 40px rgba(70, 130, 180, 0.28);
}

.secondary-btn,
.ghost-btn {
  color: var(--color-text-inverse);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.035);
}

.secondary-btn:hover,
.secondary-btn:focus-visible,
.ghost-btn:hover,
.ghost-btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(91, 138, 201, 0.3);
  background: rgba(255, 255, 255, 0.075);
}

.section--white .secondary-btn,
.section--light .secondary-btn {
  color: var(--color-text);
  border-color: rgba(15, 23, 42, 0.18);
  background: rgba(15, 23, 42, 0.04);
}
.section--white .secondary-btn:hover,
.section--white .secondary-btn:focus-visible,
.section--light .secondary-btn:hover,
.section--light .secondary-btn:focus-visible {
  border-color: rgba(70, 130, 180, 0.3);
  background: rgba(70, 130, 180, 0.08);
}

.button-meta {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(219, 234, 254, 0.68);
}

/* -- Sections -- */
.section {
  position: relative;
  padding: var(--section-space) 0;
}

.section--light {
  background: linear-gradient(180deg, #F0F4FA, #ffffff);
}

.section--light::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 6rem;
  background: linear-gradient(180deg, transparent, rgba(7, 13, 26, 1));
  pointer-events: none;
  z-index: 1;
}

.section--white {
  background: #ffffff;
}

.section--white::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 6rem;
  background: linear-gradient(180deg, #F0F4FA, transparent);
  pointer-events: none;
  z-index: 1;
}

.section--white::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 6rem;
  background: linear-gradient(180deg, transparent, rgba(7, 13, 26, 1));
  pointer-events: none;
  z-index: 1;
}

.section--dark {
  color: var(--color-text-inverse);
  background:
    radial-gradient(circle at 18% 24%, rgba(70, 130, 180, 0.12), transparent 22%),
    radial-gradient(circle at 80% 90%, rgba(6, 182, 212, 0.06), transparent 20%),
    linear-gradient(180deg, rgba(7, 13, 26, 1), rgba(15, 24, 40, 1));
}

.section-heading {
  max-width: 44rem;
  margin-bottom: 2.8rem;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
  color: var(--color-accent-strong);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section-title {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.section-title--inverse {
  color: #ffffff;
}

.section-copy {
  margin: 1rem 0 0;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-soft);
}

.section-copy--inverse {
  color: rgba(219, 234, 254, 0.88);
}

/* -- Cards -- */
.glass-panel,
.dark-panel {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(7, 13, 26, 0.56);
  box-shadow: var(--shadow-glass);
}

.glass-panel::before,
.dark-panel::before,
.surface-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 26%);
}

.surface-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface-tinted);
  border: 1px solid rgba(71, 85, 105, 0.14);
  box-shadow: var(--shadow-soft);
  transition:
    transform var(--dur-med) var(--ease-standard),
    box-shadow var(--dur-med) var(--ease-standard),
    border-color var(--dur-med) ease;
}

.surface-card:hover,
.surface-card:focus-within {
  border-color: rgba(70, 130, 180, 0.28);
  box-shadow: var(--shadow-card);
}

.surface-card:hover {
  transform: translateY(-4px);
}

/* Why BinderIQ cards: no movement, a light gleam sweeps across on hover */
.feature-grid .surface-card:hover,
.feature-grid .surface-card:focus-within {
  transform: none;
}

.feature-grid .surface-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(120% 80% at 50% -20%, rgba(255, 255, 255, 0.5), transparent 60%),
    linear-gradient(180deg, rgba(70, 130, 180, 0.1), transparent 45%);
  transition: opacity 320ms var(--ease-standard);
}

.feature-grid .surface-card:hover::after,
.feature-grid .surface-card:focus-within::after {
  opacity: 1;
}

.surface-card__content {
  position: relative;
  z-index: 1;
  padding: 1.55rem;
}

.surface-card__icon {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 18px;
  background: rgba(70, 130, 180, 0.14);
  color: var(--color-accent-strong);
}

.surface-card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent-strong);
}

.surface-card__title {
  margin: 0;
  color: var(--color-text);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.15;
}

.surface-card__copy {
  margin: 0.85rem 0 0;
  color: var(--color-text-soft);
  line-height: 1.7;
}

.surface-card__glow {
  position: absolute;
  inset: auto -1.5rem -2.5rem auto;
  width: 9rem;
  height: 9rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(70, 130, 180, 0.18), transparent 68%);
  opacity: 0.4;
  pointer-events: none;
}

/* -- Feature Bullets -- */
.feature-bullet {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}

.feature-bullet__icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(70, 130, 180, 0.22), rgba(6, 182, 212, 0.18));
  border: 1px solid rgba(70, 130, 180, 0.3);
  color: var(--color-accent);
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(70, 130, 180, 0.12);
}

.feature-bullet__icon svg {
  width: 2.2rem !important;
  height: 2.2rem !important;
  stroke-width: 2.5;
}

.feature-bullet__copy strong {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 800;
  color: inherit;
}

.feature-bullet__copy span {
  display: block;
  line-height: 1.65;
  color: inherit;
  opacity: 0.78;
}

/* -- CTA Panel -- */
.cta-panel {
  padding: clamp(2.4rem, 6vw, 4rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #070D1A 0%, #1E3A8A 50%, #1E40AF 100%);
  color: #ffffff;
}

.cta-panel .section-copy {
  max-width: 39rem;
}

/* -- Hero Screenshots -- */
.hero-screenshots {
  position: relative;
}

.screenshot-stack {
  position: relative;
  width: 90%;
  max-width: 360px;
  margin: 0 auto;
}

.screenshot {
  width: 100%;
  height: auto;
  /* Matches the rounded screen corner baked into the source shot (8% of width =
     4% of height = same circular radius), so the mockup's corner fill is clipped
     away at every rendered size. Changing this reveals a navy wedge per corner. */
  border-radius: 8% / 4%;
  box-shadow: var(--shadow-glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.screenshot--back {
  position: relative;
  z-index: 1;
  transform: rotate(-2deg) translateX(-4%);
}

.screenshot--front {
  position: absolute;
  top: 8%;
  left: 12%;
  z-index: 2;
  width: 92%;
  transform: rotate(1.5deg);
  box-shadow: 0 32px 80px rgba(7, 13, 26, 0.5);
}

@media (max-width: 1100px) {
  .screenshot-stack {
    max-width: 324px;
  }
}

@media (max-width: 768px) {
  .screenshot-stack {
    max-width: 100%;
  }

  .screenshot--back {
    transform: rotate(-1deg) translateX(-2%);
  }

  .screenshot--front {
    top: 6%;
    left: 8%;
    width: 94%;
    transform: rotate(1deg);
  }
}

/* -- FAQ: Premium 9-Pocket Grid -- */

/* === "New Binder" intro: mirrors the in-app binder creation flow === */
.faq-create {
  text-align: center;
  margin-bottom: 2.25rem;
}

.faq-create .section-label {
  display: block;
  width: max-content;
  margin: 0 auto;
}

.faq-create__form {
  display: inline-flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1.4rem 1.6rem;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #F0F4FA 100%);
  border: 1px solid rgba(44, 82, 130, 0.12);
  box-shadow: 0 22px 50px rgba(44, 82, 130, 0.13);
  text-align: left;
  width: min(92vw, 38rem);
}

.faq-create__field {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.55rem;
}

.faq-create__field--inline {
  align-items: center;
}

.faq-create__field-label {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent-strong);
}

.faq-create__field-label::after {
  content: ":";
  margin-left: 1px;
}

.faq-create__title {
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  font-size: clamp(1.1rem, 3.2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--color-text);
}

/* Typewriter reveal: text stays in the DOM (SEO/accessibility), box grows */
.faq-create__typed {
  display: inline-block;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: bottom;
  transition: max-width 1.4s steps(28, end);
}

.faq-create.is-typing .faq-create__typed {
  max-width: var(--type-w, 30ch);
}

.faq-create__caret {
  width: 3px;
  height: 1.05em;
  margin-left: 3px;
  border-radius: 2px;
  background: var(--color-accent);
  opacity: 0;
  flex-shrink: 0;
}

.faq-create.is-typing .faq-create__caret {
  animation: faq-caret-blink 850ms steps(1, end) infinite;
}

.faq-create.is-typed .faq-create__caret {
  animation: none;
  opacity: 0;
}

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

.faq-create__chip {
  display: inline-flex;
  align-items: center;
  padding: 0.26rem 0.72rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #4682B4 0%, #2C5282 100%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 16px rgba(70, 130, 180, 0.3);
  opacity: 0;
  transform: translateY(4px);
}

.faq-create.is-typed .faq-create__chip {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 360ms var(--ease-standard), transform 360ms var(--ease-emphasized);
}

@media (prefers-reduced-motion: reduce) {
  .faq-create__typed {
    max-width: none;
    transition: none;
  }
  .faq-create__caret {
    display: none;
  }
  .faq-create__chip {
    opacity: 1;
    transform: none;
  }
}

/* === Binder page: a 3x3 binder rendered on a light band === */
.binder-page {
  position: relative;
  max-width: 66rem;
  margin: 0 auto;
  padding: 2rem 2rem 2rem 3.75rem;
  border-radius: 18px 22px 22px 18px;
  background:
    linear-gradient(90deg, #E4EAF3 0%, #EDF1F8 3.5%, #F7F9FD 8%, #FFFFFF 100%);
  border: 1px solid rgba(44, 82, 130, 0.12);
  box-shadow:
    0 30px 70px rgba(44, 82, 130, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* The metal ring spine running down the left edge */
.binder-page__rings {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 1.55rem;
  width: 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  pointer-events: none;
}

.binder-page__rings span {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #ffffff 0%, #cfd6e0 35%, #8e99a8 70%, #6b7686 100%);
  box-shadow:
    0 2px 4px rgba(44, 82, 130, 0.35),
    inset 0 -2px 3px rgba(0, 0, 0, 0.25),
    inset 0 2px 2px rgba(255, 255, 255, 0.8);
}

.binder-page__rings span::after {
  content: "";
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  margin: 0.3rem auto;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #f0f4fa, #d9e0ea);
  box-shadow: inset 0 1px 2px rgba(44, 82, 130, 0.4);
}

.faq-pocket-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  perspective: 1200px;
}

/* Each pocket is a translucent vinyl card sleeve */
.faq-pocket {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.35rem 1.35rem;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 244, 250, 0.92) 100%);
  border: 1px solid rgba(44, 82, 130, 0.14);
  box-shadow:
    0 8px 22px rgba(44, 82, 130, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  cursor: pointer;
  list-style: none;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition:
    transform 500ms var(--ease-emphasized),
    border-color 400ms var(--ease-standard),
    box-shadow 400ms var(--ease-standard);
}

/* Plastic-sleeve sheen catching light at the top-left corner */
.faq-pocket::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0.25) 16%,
    transparent 38%
  );
  pointer-events: none;
}

.faq-pocket:hover,
.faq-pocket:focus-within {
  transform: translateY(-5px);
  border-color: rgba(70, 130, 180, 0.4);
  box-shadow:
    0 22px 44px rgba(70, 130, 180, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.faq-pocket summary {
  display: flex;
  flex-direction: column;
  list-style: none;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

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

/* Steel-blue icon medallion */
.faq-pocket__icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 16px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.4), transparent 55%),
    linear-gradient(135deg, #4682B4 0%, #2C5282 100%);
  color: #F0F9FF;
  margin-bottom: 1.1rem;
  flex-shrink: 0;
  box-shadow:
    0 8px 20px rgba(70, 130, 180, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 400ms var(--ease-emphasized), box-shadow 400ms var(--ease-standard);
}

.faq-pocket:hover .faq-pocket__icon,
.faq-pocket:focus-within .faq-pocket__icon {
  transform: scale(1.08);
  box-shadow:
    0 14px 30px rgba(70, 130, 180, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.faq-pocket__icon svg {
  width: 1.6rem;
  height: 1.6rem;
  stroke-width: 2.25;
}

.faq-pocket__question {
  margin: 0;
  color: var(--color-text);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.015em;
}

.faq-pocket__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 500ms var(--ease-emphasized), margin-top 500ms var(--ease-emphasized);
  position: relative;
  z-index: 1;
}

.faq-pocket[open] {
  aspect-ratio: auto;
  border-color: rgba(70, 130, 180, 0.4);
  background:
    linear-gradient(155deg, #ffffff 0%, #F0F4FA 100%);
  box-shadow:
    0 18px 40px rgba(70, 130, 180, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.faq-pocket[open] .faq-pocket__answer {
  max-height: 500px;
  margin-top: 1.1rem;
}

.faq-pocket[open] .faq-pocket__answer p {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(44, 82, 130, 0.14);
  color: var(--color-text-soft);
  line-height: 1.65;
  font-size: 0.95rem;
}

/* Contact pocket is visually distinct */
.faq-pocket--contact {
  background:
    linear-gradient(135deg, rgba(70, 130, 180, 0.12), rgba(103, 232, 249, 0.1)),
    #ffffff;
  border-style: dashed;
  border-color: rgba(70, 130, 180, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  aspect-ratio: 1 / 1;
}

.faq-pocket--contact .faq-pocket__icon {
  margin-bottom: 1rem;
}

.faq-pocket--contact .faq-pocket__question {
  margin: 0 0 0.75rem;
  font-size: 1.02rem;
}

.faq-pocket--contact .faq-pocket__hint {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #2C5282;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0;
}

/* -- App Store Link -- */
.app-store-link {
  display: inline-block;
  opacity: 0.85;
  transition: opacity 160ms ease;
}

.app-store-link:hover,
.app-store-link:focus-visible {
  opacity: 1;
}

/* -- Form Inputs -- */
.form-input {
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}

.form-input:focus {
  border-color: #4682B4;
  box-shadow: 0 0 0 2px rgba(70, 130, 180, 0.25);
  outline: none;
}

/* -- Footer -- */
.footer {
  background: rgba(7, 13, 26, 0.98);
  color: rgba(219, 234, 254, 0.78);
}

.footer a {
  color: rgba(219, 234, 254, 0.78);
  text-decoration: none;
}

.footer a:hover,
.footer a:focus-visible {
  color: #A5B7D0;
}

/* -- Animations -- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  filter: blur(6px);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  transition:
    opacity 600ms var(--ease-emphasized),
    transform 600ms var(--ease-emphasized),
    filter 600ms var(--ease-emphasized);
}

[data-stagger] {
  opacity: 0;
  transform: translateY(16px) scale(0.97);
}

[data-reveal].is-revealed [data-stagger] {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    opacity 500ms var(--ease-emphasized),
    transform 500ms var(--ease-emphasized);
}


[data-depth] {
  transform: translate3d(0, var(--depth-y, 0px), 0);
  will-change: transform;
}

.page-shell.menu-open {
  overflow: hidden;
}

.skip-link {
  color: #ffffff;
  background: #1E3A8A;
}

/* -- Hero Trust Line -- */
.hero-trust-line {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.2rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(240, 249, 255, 0.55);
}

.hero-trust-line svg {
  color: rgba(70, 130, 180, 0.6);
  flex-shrink: 0;
}

.hero-trust-sep {
  color: rgba(240, 249, 255, 0.25);
}

/* -- Feature Grid -- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  perspective: 800px;
}


/* -- Floating Orbs (ambient background) -- */
.floating-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.floating-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.12;
  animation: float-orb linear infinite;
}

.floating-orb--1 {
  width: 300px;
  height: 300px;
  background: var(--color-accent);
  top: 10%;
  left: -5%;
  animation-duration: 18s;
}

.floating-orb--2 {
  width: 200px;
  height: 200px;
  background: var(--color-secondary);
  top: 60%;
  right: -3%;
  animation-duration: 22s;
  animation-delay: -8s;
}

.floating-orb--3 {
  width: 250px;
  height: 250px;
  background: #5B8AC9;
  bottom: 5%;
  left: 30%;
  animation-duration: 26s;
  animation-delay: -14s;
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(40px, -30px) scale(1.1); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(30px, 40px) scale(1.05); }
}

/* -- Animated gradient border on hero CTA -- */
.primary-btn.glow-pulse {
  position: relative;
  z-index: 1;
}

.primary-btn.glow-pulse::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, #4682B4, #06b6d4, #4682B4, #5B8AC9);
  background-size: 300% 300%;
  animation: gradient-shift 4s ease infinite;
  opacity: 0.6;
  filter: blur(8px);
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* -- Glassmorphism card hover glow -- */
.glass-panel:hover {
  border-color: rgba(70, 130, 180, 0.3);
  box-shadow: var(--shadow-glass), 0 0 30px rgba(70, 130, 180, 0.08);
}

/* -- AR Showcase band -- */
.ar-showcase__grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.ar-showcase__media {
  display: flex;
  justify-content: center;
}

.ar-showcase__img {
  width: 100%;
  max-width: 340px;
  height: auto;
  border-radius: 28px;
  border: 1px solid rgba(165, 183, 208, 0.22);
  box-shadow:
    0 40px 90px rgba(7, 13, 26, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 120px rgba(70, 130, 180, 0.18);
}

/* Parallels & Versions: product shot beside the headline */
.versions-media,
.page-media {
  display: flex;
  justify-content: center;
}

.versions-shot,
.page-shot {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 8% / 4%;
  border: 1px solid rgba(165, 183, 208, 0.22);
  box-shadow:
    0 40px 90px rgba(7, 13, 26, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 120px rgba(70, 130, 180, 0.18);
}

/* Answer pages: heading and body flow down the left, product shot spans both
   rows on the right and sticks while reading. Single column under 1100px keeps
   DOM order (heading, image, body) so the shot lands right under the headline. */
.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  grid-template-areas: "head img" "body img";
  column-gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.page-grid__head { grid-area: head; }
.page-grid__body { grid-area: body; max-width: 44rem; }
.page-grid__img  { grid-area: img; position: sticky; top: 5.5rem; }

@media (max-width: 1100px) {
  .page-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "img" "body";
    row-gap: 2rem;
  }
  .page-grid__img { position: static; }
}

/* Card-show companion: duplicate-search shot stacked above the "replaces" card */
.cardshow-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.cardshow-shot {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
  border-radius: 8% / 4%;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow:
    0 28px 64px rgba(7, 13, 26, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}

.cardshow-col .surface-card {
  width: 100%;
}

@media (max-width: 900px) {
  .ar-showcase__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .ar-showcase__copy .button-row {
    justify-content: center;
  }
  .ar-showcase__media {
    order: -1;
    margin-bottom: 1.5rem;
  }
  .ar-showcase__img {
    max-width: 300px;
  }
}

/* -- Hero screenshot 3D tilt (cursor-reactive, replaces the float bob) -- */
.hero-screenshots {
  perspective: 1200px;
}

.screenshot-stack {
  transform-style: preserve-3d;
  will-change: transform;
}

/* -- Responsive -- */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .collector-grid {
    grid-template-columns: 1fr !important;
  }

  .faq-pocket-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .site-nav__inner,
  .section-shell {
    width: min(calc(100% - 1.5rem), var(--container-max));
  }

  .hero-section {
    padding-top: 7.4rem;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr !important;
  }

  .collector-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .primary-btn,
  .hero-actions .secondary-btn {
    width: 100%;
    justify-content: center;
  }

  .footer .section-shell > div:first-child {
    grid-template-columns: 1fr !important;
  }

  .binder-page {
    padding: 1.25rem;
    border-radius: 18px;
  }

  .binder-page__rings {
    display: none;
  }

  .faq-pocket-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .faq-pocket {
    aspect-ratio: auto;
    min-height: 180px;
  }

  .faq-pocket--contact {
    aspect-ratio: auto;
    min-height: 140px;
  }

  .faq-chips {
    margin-bottom: 1.75rem;
  }

  /* Keep the Live link visible before the screenshots on phones. */
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .hero-copy {
    display: contents;
  }

  .hero-heading { order: 1; }
  .hero-heading .hero-title { margin-bottom: 0; }
  .hero-live-link { order: 2; }
  .hero-screenshots { order: 3; margin: 2rem 0 1.5rem; }
  .hero-subtitle { order: 4; }
  .hero-actions { order: 5; }
  .app-store-badge-wrap { order: 6; }
  .hero-trust-line { order: 7; }

  /* #2 Trust line 2x2 grid with icons */
  .hero-trust-line {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1rem;
    margin-top: 1.25rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
  }
  .hero-trust-line .trust-shield { display: none; }
  .hero-trust-line .hero-trust-sep { display: none; }
  .hero-trust-item {
    display: flex !important;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.72rem;
  }
  .hero-trust-item svg {
    width: 0.9rem;
    height: 0.9rem;
    color: rgba(165, 183, 208, 0.8);
    flex-shrink: 0;
  }

  /* #10 Sticky scroll indicator */
  .scroll-indicator {
    display: flex !important;
  }
}

@media (min-width: 769px) {
  .hero-trust-item svg.trust-only-mobile { display: none; }
}

/* #4 Haptic button press (mobile + desktop) */
.primary-btn:active,
.secondary-btn:active,
.nav-cta:active,
.ghost-btn:active {
  transform: scale(0.96) translateY(0);
  transition: transform 80ms ease-out;
}

/* #5 Feature card auto-flip teaser on reveal */
@keyframes card-flip-teaser {
  0% { transform: perspective(800px) rotateY(0deg); }
  40% { transform: perspective(800px) rotateY(-12deg); }
  100% { transform: perspective(800px) rotateY(0deg); }
}

@media (hover: none) and (pointer: coarse) {
  [data-reveal].is-revealed .surface-card[data-stagger] {
    animation: card-flip-teaser 900ms var(--ease-emphasized) 200ms both;
  }
  [data-reveal].is-revealed .surface-card[data-stagger]:nth-child(2n) {
    animation-delay: 400ms;
  }
}

/* #6 Aurora scroll arrival glow */
.aurora-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 900px;
  height: 180px;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  background: radial-gradient(ellipse at top, rgba(70, 130, 180, 0.28) 0%, rgba(6, 182, 212, 0.12) 35%, transparent 70%);
  filter: blur(20px);
}

.aurora-glow.aurora-fire {
  animation: aurora-fire 1800ms var(--ease-emphasized) forwards;
}

@keyframes aurora-fire {
  0% { opacity: 0; transform: translateX(-50%) translateY(-20px) scale(0.9); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateX(-50%) translateY(0) scale(1.1); }
}

/* #7 Horizontal feature card swiper on mobile */
@media (max-width: 768px) {
  .feature-grid {
    display: flex !important;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-padding: 1rem;
    padding: 1rem 1rem 2rem;
    margin: 0 -1rem;
    gap: 1rem;
    scrollbar-width: none;
  }
  .feature-grid::-webkit-scrollbar {
    display: none;
  }
  .feature-grid .surface-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
    min-height: 340px;
  }

  .swiper-dots {
    display: flex !important;
  }
}

.swiper-dots {
  display: none;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.swiper-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(70, 130, 180, 0.25);
  transition: all var(--dur-med) var(--ease-standard);
}

.swiper-dot.is-active {
  width: 22px;
  background: var(--color-accent);
}

/* FAQ pocket open animation */
@keyframes faq-slide-down {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.faq-pocket[open] .faq-pocket__answer p {
  animation: faq-slide-down 400ms var(--ease-emphasized);
}

/* #9 Scroll-linked screenshot reveal (with fallback for non-supporting browsers) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .screenshot--back {
      animation: screenshot-snap-back linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 40%;
    }
    .screenshot--front {
      animation: screenshot-snap-front linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 40%;
    }
  }

  @keyframes screenshot-snap-back {
    from { transform: rotate(0deg) translateX(0); }
    to { transform: rotate(-2deg) translateX(-4%); }
  }

  @keyframes screenshot-snap-front {
    from { transform: rotate(0deg); }
    to { transform: rotate(1.5deg); }
  }
}

/* #10 Sticky scroll indicator */
.scroll-indicator {
  display: none;
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: rgba(7, 13, 26, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(165, 183, 208, 0.25);
  color: rgba(240, 249, 255, 0.9);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 5;
  animation: scroll-pulse 2.4s ease-in-out infinite;
  pointer-events: none;
  opacity: 0;
  transition: opacity 400ms ease;
}

.scroll-indicator.is-visible {
  opacity: 1;
}

.scroll-indicator svg {
  width: 0.85rem;
  height: 0.85rem;
  color: var(--color-accent);
}

@keyframes scroll-pulse {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(4px); }
}

/* -- Bleeding Edge Scroll Effects -- */

/* Feature bullets render static: no scroll-in animation */

.feature-bullet__icon {
  transition: transform 400ms var(--ease-emphasized), box-shadow 400ms var(--ease-standard);
}

.feature-bullet:hover .feature-bullet__icon {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(70, 130, 180, 0.25);
}


/* Scroll velocity blur on hero screenshots */
.screenshot-stack {
  transition: filter 200ms ease-out;
}

.is-scrolling-fast .screenshot-stack {
  filter: blur(2px);
}

/* Layered section depth: section shells get slight Y-parallax */
.section-shell[data-parallax-y] {
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  will-change: transform;
}

/* Floating orbs drift on scroll using view timeline */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .floating-orb--1 {
      animation: float-orb 18s linear infinite, orb-drift-1 linear both;
      animation-timeline: auto, scroll();
    }
    .floating-orb--2 {
      animation: float-orb 22s linear infinite, orb-drift-2 linear both;
      animation-timeline: auto, scroll();
    }
  }

  @keyframes orb-drift-1 {
    from { translate: 0 0; }
    to { translate: 60px -200px; }
  }

  @keyframes orb-drift-2 {
    from { translate: 0 0; }
    to { translate: -80px 150px; }
  }
}

/* Gleam sweep on hero accent: a bright highlight band glides across the steel-blue text */
.hero-title .accent-text {
  background: linear-gradient(
    100deg,
    #A5B7D0 0%,
    #A5B7D0 38%,
    #eaf6ff 47%,
    #ffffff 50%,
    #eaf6ff 53%,
    #67e8f9 62%,
    #A5B7D0 100%
  );
  background-size: 280% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gleam-sweep 5.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes gleam-sweep {
  0% { background-position: 130% 0; }
  /* hold the resting steel-blue look, then a quick glint, then rest again */
  60%, 100% { background-position: -30% 0; }
}

/* Section arrival: slide up with staggered children */
.section .section-heading {
  view-timeline: --heading block;
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .section .section-shell > .section-heading {
      animation: heading-arrival linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 100%;
    }
  }

  @keyframes heading-arrival {
    from { transform: translateY(60px); opacity: 0; filter: blur(8px); }
    to { transform: translateY(0); opacity: 1; filter: blur(0); }
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal],
  [data-stagger] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  [data-depth] {
    transform: none !important;
  }

  .floating-orb {
    animation: none !important;
    opacity: 0.06 !important;
  }

  .screenshot-stack {
    animation: none !important;
  }

  .primary-btn.glow-pulse::before {
    animation: none !important;
  }

  .aurora-glow {
    animation: none !important;
    display: none;
  }

  .scroll-indicator {
    animation: none !important;
  }

  .faq-pocket[open] .faq-pocket__answer p {
    animation: none !important;
  }
  .faq-pocket__answer {
    transition: none !important;
  }

  [data-reveal].is-revealed .surface-card[data-stagger] {
    animation: none !important;
  }

  .feature-bullet {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-title .accent-text {
    animation: none !important;
  }

  .is-scrolling-fast .screenshot-stack {
    filter: none !important;
  }
}
