:root {
  --bg: #f3f8fb;
  --bg-elevated: rgba(255, 255, 255, 0.72);
  --panel: rgba(255, 255, 255, 0.82);
  --panel-strong: rgba(247, 244, 239, 0.95);
  --text: #111111;
  --text-strong: #0c0c0c;
  --muted: #67615a;
  --line: rgba(18, 18, 18, 0.08);
  --shadow: 0 18px 48px rgba(18, 18, 18, 0.09);
  --shadow-soft: 0 10px 24px rgba(18, 18, 18, 0.06);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: min(1160px, calc(100vw - 40px));
  --accent: #6f96b3;
  --accent-soft: rgba(111, 150, 179, 0.12);
  --header-h: 78px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 30%),
    radial-gradient(circle at right top, rgba(165, 197, 218, 0.12), transparent 28%),
    linear-gradient(180deg, #fbfdff 0%, #eaf3f8 100%);
  color: var(--text);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "SF Pro Text",
    "Helvetica Neue",
    Helvetica,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.app-shell {
  min-height: 100vh;
}

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.65), transparent 26%),
    radial-gradient(circle at 82% 14%, rgba(190, 216, 232, 0.18), transparent 24%),
    radial-gradient(circle at 75% 72%, rgba(255, 255, 255, 0.45), transparent 20%);
  opacity: 0.9;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 112px 0;
}

.legal-page {
  padding-top: calc(var(--header-h) + 36px);
}

.legal-wrap {
  max-width: 900px;
}

.legal-hero {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
  padding: 30px 30px 22px;
  border-radius: calc(var(--radius-xl) + 2px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(247, 243, 237, 0.86)),
    rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(18, 18, 18, 0.08);
  box-shadow: var(--shadow);
}

.legal-title {
  display: grid;
  gap: 8px;
}

.legal-kicker {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.legal-heading {
  max-width: 14ch;
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  color: var(--text-strong);
}

.legal-subtitle {
  max-width: 44rem;
  font-size: 1.03rem;
  line-height: 1.8;
  color: var(--muted);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 0.92rem;
  color: rgba(17, 17, 17, 0.66);
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(111, 150, 179, 0.1);
  color: var(--accent);
  font-weight: 600;
}

.legal-content {
  display: grid;
  gap: 16px;
}

.legal-section {
  padding: 24px 26px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(18, 18, 18, 0.08);
  box-shadow: var(--shadow-soft);
}

.legal-section h2 {
  margin-bottom: 12px;
  font-size: 1.22rem;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.legal-section p + p,
.legal-section p + ul,
.legal-section ul + p {
  margin-top: 12px;
}

.legal-section p,
.legal-section li {
  font-size: 0.98rem;
  line-height: 1.88;
  color: rgba(17, 17, 17, 0.78);
}

.legal-section ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.legal-section li::marker {
  color: rgba(111, 150, 179, 0.82);
}

.legal-contact-box {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(111, 150, 179, 0.08);
}

.legal-contact-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.legal-contact-box strong {
  color: var(--text-strong);
}

.legal-contact-box a {
  color: var(--text-strong);
  text-decoration: underline;
  text-decoration-color: rgba(17, 17, 17, 0.18);
  text-underline-offset: 0.18em;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.58));
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition:
    background-color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.28s ease,
    backdrop-filter 0.28s ease;
}

.site-header.is-scrolled {
  background: rgba(248, 245, 240, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(15, 15, 15, 0.08);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.99rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: linear-gradient(180deg, #9dbbd0, #628ba8);
  box-shadow: 0 0 0 5px rgba(111, 150, 179, 0.08);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.97rem;
  color: rgba(17, 17, 17, 0.72);
}

.site-nav a {
  transition:
    color 0.24s ease,
    transform 0.24s ease,
    opacity 0.24s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text-strong);
  transform: translateY(-1px);
}

.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(18, 18, 18, 0.06);
  box-shadow: var(--shadow-soft);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.nav-toggle span {
  width: 14px;
  height: 1.6px;
  background: #202020;
  border-radius: 999px;
  display: block;
}

.hero {
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 98px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.94fr);
  gap: 42px;
  align-items: center;
}

.hero-copy {
  padding-right: 12px;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3.7rem, 9vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
  color: var(--text-strong);
  text-wrap: balance;
}

.hero-lead {
  margin-top: 24px;
  max-width: 15ch;
  font-size: clamp(1.25rem, 2.8vw, 2rem);
  line-height: 1.38;
  letter-spacing: -0.03em;
  color: rgba(17, 17, 17, 0.84);
}

.hero-support {
  margin-top: 18px;
  max-width: 38rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition:
    transform 0.26s ease,
    box-shadow 0.26s ease,
    background-color 0.26s ease,
    border-color 0.26s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(180deg, #161616, #232323);
  color: #fffdf8;
  box-shadow: 0 16px 26px rgba(17, 17, 17, 0.16);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 20px 30px rgba(17, 17, 17, 0.2);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  border: 1px solid rgba(18, 18, 18, 0.08);
  box-shadow: var(--shadow-soft);
}

.hero-visual {
  position: relative;
}

.visual-shell {
  position: relative;
  padding: 22px;
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(252, 250, 246, 0.72)),
    rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(18, 18, 18, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.visual-shell::before {
  content: "";
  position: absolute;
  inset: auto -18% -30% auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(194, 173, 132, 0.24), transparent 66%);
  pointer-events: none;
}

.visual-topline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  font-size: 0.92rem;
  color: rgba(17, 17, 17, 0.62);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #a48d62;
  box-shadow: 0 0 0 7px rgba(164, 141, 98, 0.12);
}

.demo-flow {
  display: grid;
  gap: 18px;
}

.demo-card {
  position: relative;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(18, 18, 18, 0.08);
  box-shadow: 0 12px 32px rgba(17, 17, 17, 0.06);
}

.demo-label {
  margin-bottom: 12px;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.demo-text {
  font-size: 1.02rem;
  line-height: 1.8;
  color: rgba(17, 17, 17, 0.82);
}

.demo-card-input {
  animation: card-float 7s ease-in-out infinite;
}

.flow-bridge {
  display: grid;
  place-items: center;
  gap: 8px;
  color: rgba(17, 17, 17, 0.48);
}

.bridge-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(180deg, #b89d69, #6f96b3);
  box-shadow: 0 0 0 0 rgba(111, 150, 179, 0.22);
  animation: bridge-pulse 2.8s ease-in-out infinite;
}

.bridge-arrow {
  font-size: 1.25rem;
  line-height: 1;
  transform: translateX(1px);
}

.demo-card-output {
  min-height: 214px;
}

.output-group {
  display: grid;
  gap: 12px;
}

.output-heading {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.output-list {
  display: grid;
  gap: 8px;
}

.output-line {
  display: block;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(17, 17, 17, 0.74);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.output-list.is-visible .output-line {
  opacity: 1;
  transform: translateY(0);
}

.output-list.is-visible .output-line:nth-child(1) {
  transition-delay: 0.08s;
}

.output-list.is-visible .output-line:nth-child(2) {
  transition-delay: 0.18s;
}

.output-list.is-visible .output-line:nth-child(3) {
  transition-delay: 0.28s;
}

.output-list.is-visible .output-line:nth-child(4) {
  transition-delay: 0.38s;
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 34px;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.45rem);
  line-height: 1.06;
  letter-spacing: -0.05em;
  color: var(--text-strong);
  text-wrap: balance;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 200px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid rgba(18, 18, 18, 0.08);
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(18, 18, 18, 0.12);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.2rem;
}

.feature-card h3,
.process-step h3,
.cta-panel h2,
.privacy-copy h2 {
  margin-bottom: 12px;
  font-size: 1.3rem;
  line-height: 1.28;
  letter-spacing: -0.03em;
}

.feature-card p,
.process-step p,
.cta-description,
.privacy-list,
.footer-brand p,
.footer-contact,
.footer-copy {
  color: var(--muted);
  line-height: 1.78;
}

.process-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.process-step {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(18, 18, 18, 0.08);
  box-shadow: var(--shadow-soft);
}

.step-index {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(18, 18, 18, 0.92);
  color: #f4f9fc;
  font-size: 0.92rem;
  font-weight: 700;
}

.privacy-callout {
  padding-top: 0;
}

.privacy-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 30px;
  padding: 34px;
  border-radius: calc(var(--radius-xl) + 2px);
  background:
    linear-gradient(180deg, rgba(24, 24, 24, 0.95), rgba(34, 34, 34, 0.95)),
    #1a1a1a;
  color: #f8f5ef;
  box-shadow: 0 22px 48px rgba(15, 15, 15, 0.18);
}

.privacy-panel .eyebrow {
  color: rgba(237, 222, 192, 0.82);
}

.privacy-panel h2 {
  color: #f4f9fc;
}

.privacy-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  align-content: center;
}

.privacy-article {
  display: grid;
  gap: 18px;
  color: rgba(255, 250, 242, 0.88);
  line-height: 1.84;
}

.privacy-note {
  margin-top: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 250, 242, 0.14);
}

.privacy-note-title {
  margin-bottom: 8px;
  font-weight: 700;
  color: #f4f9fc;
}

.privacy-list li {
  position: relative;
  padding-left: 20px;
}

.privacy-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d1bb91;
}

.cta-panel {
  padding: 36px;
  border-radius: calc(var(--radius-xl) + 2px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(247, 243, 237, 0.9)),
    rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(18, 18, 18, 0.08);
  box-shadow: var(--shadow);
}

.cta-description {
  margin-top: 6px;
  max-width: 40rem;
}

.cta-support {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(111, 150, 179, 0.08);
  color: rgba(17, 17, 17, 0.74);
}

.support-label,
.footer-label {
  font-weight: 700;
  color: var(--text-strong);
}

.site-footer {
  padding: 28px 0 42px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) auto auto;
  gap: 22px 28px;
  align-items: start;
  padding-top: 24px;
  border-top: 1px solid rgba(18, 18, 18, 0.08);
}

.footer-title {
  margin-bottom: 10px;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-strong);
}

.footer-contact {
  display: grid;
  gap: 4px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.footer-links a,
.footer-contact a,
.cta-support a {
  color: var(--text-strong);
  text-decoration: underline;
  text-decoration-color: rgba(17, 17, 17, 0.18);
  text-underline-offset: 0.18em;
}

.footer-copy {
  justify-self: end;
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.72s ease,
    transform 0.72s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.hero-copy.reveal.is-visible h1 {
  animation: hero-rise 0.9s ease both;
}

.hero-copy.reveal.is-visible .hero-lead {
  animation: hero-rise 0.9s ease 0.14s both;
}

.hero-copy.reveal.is-visible .hero-support,
.hero-copy.reveal.is-visible .hero-actions {
  animation: hero-rise 0.9s ease 0.28s both;
}

.floating-card {
  will-change: transform;
}

.floating-card.is-visible,
.demo-card-input {
  animation: card-float 7s ease-in-out infinite;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes card-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes bridge-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(111, 150, 179, 0.18);
  }

  50% {
    transform: scale(1.08);
    box-shadow: 0 0 0 14px rgba(111, 150, 179, 0);
  }
}

@media (max-width: 1024px) {
  :root {
    --container: min(1080px, calc(100vw - 34px));
  }

  .hero-grid,
  .privacy-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-copy {
    justify-self: start;
    text-align: left;
  }

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

@media (max-width: 760px) {
  :root {
    --header-h: 72px;
    --container: calc(100vw - 24px);
  }

  .section {
    padding: 88px 0;
  }

  .hero {
    padding-top: calc(var(--header-h) + 28px);
    padding-bottom: 76px;
  }

  .site-nav {
    position: absolute;
    right: 12px;
    top: calc(var(--header-h) - 4px);
    display: grid;
    gap: 10px;
    min-width: 170px;
    padding: 14px;
    border-radius: 20px;
    background: rgba(248, 245, 240, 0.96);
    border: 1px solid rgba(18, 18, 18, 0.08);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 0.22s ease,
      transform 0.22s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-cta {
    justify-self: start;
  }

  .hero-copy {
    padding-right: 0;
  }

  h1 {
    max-width: 9ch;
  }

  .hero-support,
  .hero-lead {
    max-width: none;
  }

  .visual-shell,
  .cta-panel,
  .privacy-panel,
  .feature-card,
  .process-step {
    border-radius: 24px;
  }

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

  .demo-card-output {
    min-height: auto;
  }

  .cta-panel,
  .privacy-panel {
    padding: 26px;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}

/* ============================================================
   Scroll transitions: layered, quiet, and tactile
   ============================================================ */
.reveal {
  opacity: 0;
  filter: blur(8px);
  transform: translate3d(0, 30px, 0) scale(0.985);
  transition:
    opacity 0.9s cubic-bezier(0.2, 0.75, 0.2, 1),
    transform 0.9s cubic-bezier(0.2, 0.75, 0.2, 1),
    filter 0.9s cubic-bezier(0.2, 0.75, 0.2, 1);
  transition-delay: calc(var(--reveal-index, 0) * 70ms);
}

.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

.section-heading {
  position: relative;
}

.section-heading::after {
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  margin-top: 24px;
  background: #6f96b3;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.8s cubic-bezier(0.2, 0.75, 0.2, 1) 240ms;
}

.section-heading.reveal.is-visible::after {
  transform: scaleX(1);
}

.feature-card,
.process-step {
  transition:
    transform 0.45s cubic-bezier(0.2, 0.75, 0.2, 1),
    box-shadow 0.45s ease,
    border-color 0.45s ease,
    background-color 0.45s ease;
}

.feature-card:hover,
.process-step:hover {
  transform: translateY(-6px);
}

.hero-visual.reveal.is-visible .visual-shell {
  animation: visual-settle 1.2s cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

@keyframes visual-settle {
  from {
    opacity: 0.4;
    transform: translateY(18px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 760px) {
  .reveal {
    transform: translate3d(0, 22px, 0) scale(0.99);
    transition-delay: calc(var(--reveal-index, 0) * 45ms);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    filter: none;
    transform: none;
    transition: none;
  }

  .section-heading::after {
    transform: scaleX(1);
    transition: none;
  }
}

/* ============================================================
   Expanded product story
   ============================================================ */

h1 {
  font-size: 7.1rem;
  letter-spacing: 0;
}

.section-intro {
  max-width: 42rem;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.78;
}

.statement-section {
  padding: 148px 0 156px;
  background: #ffffff;
}

.statement-wrap {
  max-width: 1020px;
}

.statement-title {
  max-width: 980px;
  font-size: 4.65rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.statement-copy {
  max-width: 42rem;
  margin-top: 36px;
  color: var(--muted);
  font-size: 1.22rem;
  line-height: 1.8;
}

.journey-line {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 64px;
  color: rgba(29, 29, 31, 0.62);
  font-size: 0.9rem;
  font-weight: 600;
}

.journey-line i {
  width: min(9vw, 86px);
  height: 1px;
  background: linear-gradient(90deg, rgba(111, 150, 179, 0.24), #6f96b3);
}

.experience-section {
  padding-top: 142px;
  background:
    radial-gradient(circle at 90% 15%, rgba(207, 225, 237, 0.38), transparent 24%),
    linear-gradient(180deg, #f5f5f7, #e8f2f8);
}

.story-stack {
  display: grid;
  gap: 26px;
}

.story-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(440px, 1.22fr);
  align-items: stretch;
  min-height: 570px;
  overflow: hidden;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 28px 70px rgba(29, 29, 31, 0.08);
}

.story-panel-reverse .story-copy {
  order: 2;
}

.story-panel-reverse .story-visual {
  order: 1;
}

.story-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 58px;
}

.story-index {
  position: absolute;
  top: 30px;
  right: 32px;
  color: rgba(29, 29, 31, 0.24);
  font-size: 0.8rem;
  font-weight: 700;
}

.story-kicker {
  margin-bottom: 20px;
  color: #6f96b3;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.story-copy h3 {
  max-width: 11ch;
  font-size: 2.65rem;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.story-copy > p:not(.story-kicker) {
  max-width: 31rem;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.8;
}

.story-points {
  display: grid;
  gap: 11px;
  margin: 30px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid rgba(29, 29, 31, 0.08);
  color: rgba(29, 29, 31, 0.72);
  font-size: 0.92rem;
  list-style: none;
}

.story-points li {
  position: relative;
  padding-left: 18px;
}

.story-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6f96b3;
}

.story-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 54px;
  overflow: hidden;
}

.story-visual::before,
.story-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.capture-visual {
  background:
    radial-gradient(circle at 52% 42%, rgba(255, 255, 255, 0.96), transparent 28%),
    linear-gradient(145deg, #e6dfd5, #f4f1ec);
}

.capture-visual::before {
  width: 390px;
  height: 390px;
  background: rgba(255, 255, 255, 0.38);
  box-shadow: 0 0 100px rgba(255, 255, 255, 0.84);
}

.phone-frame {
  position: relative;
  z-index: 1;
  width: min(310px, 86%);
  min-height: 486px;
  padding: 22px 22px 24px;
  border: 7px solid #1d1d1f;
  border-radius: 44px;
  background: linear-gradient(180deg, #fbfbfc, #f0f0f2);
  box-shadow:
    0 42px 80px rgba(29, 29, 31, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  transform: rotate(2deg);
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 86px;
  height: 24px;
  border-radius: 999px;
  background: #1d1d1f;
  transform: translateX(-50%);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 2px 5px 40px;
  color: rgba(29, 29, 31, 0.72);
  font-size: 0.66rem;
  font-weight: 700;
}

.phone-title {
  margin-bottom: 22px;
  color: #1d1d1f;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.capture-input {
  min-height: 152px;
  padding: 19px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 22px;
  background: #ffffff;
  color: rgba(29, 29, 31, 0.78);
  font-size: 0.96rem;
  line-height: 1.65;
  box-shadow: 0 14px 34px rgba(29, 29, 31, 0.07);
}

.capture-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-right: 5px;
  vertical-align: -0.13em;
  background: #6f96b3;
  animation: caret-blink 1s steps(1) infinite;
}

.capture-modes {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.capture-modes span {
  padding: 8px 13px;
  border-radius: 999px;
  color: rgba(29, 29, 31, 0.5);
  font-size: 0.73rem;
  font-weight: 650;
}

.capture-modes .is-active {
  background: #1d1d1f;
  color: #ffffff;
}

.capture-confirm {
  margin-top: 26px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(111, 150, 179, 0.1);
  color: #5f7f96;
  font-size: 0.83rem;
  font-weight: 700;
  text-align: center;
}

.understand-visual {
  background:
    radial-gradient(circle at 25% 18%, rgba(255, 255, 255, 0.8), transparent 25%),
    #1d1d1f;
}

.understand-visual::before {
  top: -140px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: rgba(175, 204, 223, 0.12);
  filter: blur(12px);
}

.understand-card {
  position: relative;
  z-index: 1;
  width: min(500px, 100%);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.34);
}

.understand-top,
.project-head,
.understand-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.understand-top {
  color: rgba(29, 29, 31, 0.56);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.soft-pill {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(111, 150, 179, 0.1);
  color: #5f7f96;
  letter-spacing: 0;
  text-transform: none;
}

.understand-title {
  margin: 34px 0 24px;
  color: #1d1d1f;
  font-size: 1.65rem;
  font-weight: 720;
  letter-spacing: -0.035em;
}

.understand-row {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid rgba(29, 29, 31, 0.08);
}

.row-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: #f0eee9;
  color: #6f96b3;
  font-size: 0.7rem;
  font-weight: 750;
}

.understand-row strong,
.understand-row small {
  display: block;
}

.understand-row strong {
  color: #1d1d1f;
  font-size: 0.94rem;
}

.understand-row small {
  margin-top: 4px;
  color: rgba(29, 29, 31, 0.45);
  font-size: 0.74rem;
}

.understand-actions {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(29, 29, 31, 0.08);
  color: rgba(29, 29, 31, 0.5);
  font-size: 0.82rem;
  font-weight: 650;
}

.understand-actions .action-primary {
  padding: 11px 15px;
  border-radius: 999px;
  background: #1d1d1f;
  color: #ffffff;
}

.move-visual {
  background:
    radial-gradient(circle at 78% 18%, rgba(213, 198, 171, 0.32), transparent 28%),
    linear-gradient(145deg, #f0f1f3, #dadce1);
}

.move-visual::after {
  right: -80px;
  bottom: -100px;
  width: 360px;
  height: 360px;
  background: rgba(255, 255, 255, 0.42);
}

.project-window {
  position: relative;
  z-index: 1;
  width: min(510px, 100%);
  padding: 32px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 38px 90px rgba(29, 29, 31, 0.16);
}

.project-head small,
.project-head strong {
  display: block;
}

.project-head small {
  margin-bottom: 8px;
  color: rgba(29, 29, 31, 0.44);
  font-size: 0.76rem;
}

.project-head strong {
  color: #1d1d1f;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.project-head > span {
  color: #5f7f96;
  font-size: 0.88rem;
  font-weight: 750;
}

.project-progress {
  height: 6px;
  margin: 24px 0 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(29, 29, 31, 0.08);
}

.project-progress i {
  display: block;
  width: 67%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8fadc2, #64869e);
}

.project-task {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(29, 29, 31, 0.07);
  color: rgba(29, 29, 31, 0.76);
  font-size: 0.9rem;
}

.project-task > span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(29, 29, 31, 0.18);
  border-radius: 50%;
  color: #ffffff;
  font-size: 0.68rem;
}

.project-task.is-done {
  color: rgba(29, 29, 31, 0.38);
  text-decoration: line-through;
}

.project-task.is-done > span {
  border-color: #6f96b3;
  background: #6f96b3;
}

.project-next {
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 15px;
  background: #1d1d1f;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 650;
}

#features.section-soft {
  background: #ffffff;
}

.feature-card {
  min-height: 224px;
}

.section-heading-wide {
  max-width: 54rem;
}

.use-cases-section {
  background: #f5f5f7;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.use-case-card {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 30px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-soft);
}

.use-case-number {
  margin-bottom: 56px;
  color: rgba(29, 29, 31, 0.26);
  font-size: 0.76rem;
  font-weight: 750;
}

.use-case-card h3 {
  margin-bottom: 12px;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.use-case-card > p {
  color: var(--muted);
  line-height: 1.75;
}

.use-case-example {
  display: grid;
  gap: 16px;
  margin-top: auto;
  padding-top: 30px;
  border-top: 1px solid rgba(29, 29, 31, 0.08);
}

.use-case-example span {
  color: rgba(29, 29, 31, 0.76);
  font-size: 0.92rem;
  line-height: 1.65;
}

.use-case-example strong {
  color: #6f96b3;
  font-size: 0.78rem;
  font-weight: 700;
}

.privacy-description {
  max-width: 30rem;
  margin-top: 18px;
  color: rgba(245, 245, 247, 0.62);
  line-height: 1.75;
}

.privacy-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 650;
}

.privacy-link span {
  color: #b9d0df;
}

.faq-section {
  background: #ffffff;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 90px;
  align-items: start;
}

.faq-layout .section-heading {
  position: sticky;
  top: calc(var(--header-h) + 36px);
  margin-bottom: 0;
}

.faq-list {
  border-top: 1px solid rgba(29, 29, 31, 0.12);
}

.faq-item {
  border-bottom: 1px solid rgba(29, 29, 31, 0.12);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
  color: #1d1d1f;
  font-size: 1.08rem;
  font-weight: 650;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary span {
  flex: 0 0 auto;
  color: rgba(29, 29, 31, 0.42);
  font-size: 1.25rem;
  font-weight: 400;
  transition: transform 0.24s ease;
}

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

.faq-item p {
  max-width: 46rem;
  padding: 0 42px 28px 0;
  color: var(--muted);
  line-height: 1.8;
}

@media (max-width: 1024px) {
  h1 {
    font-size: 5.9rem;
  }

  .statement-title {
    font-size: 4rem;
  }

  .story-panel,
  .story-panel-reverse {
    grid-template-columns: 1fr;
  }

  .story-panel-reverse .story-copy,
  .story-panel-reverse .story-visual {
    order: initial;
  }

  .story-visual {
    min-height: 540px;
  }

  .use-case-grid {
    grid-template-columns: 1fr;
  }

  .use-case-card {
    min-height: 320px;
  }

  .use-case-number {
    margin-bottom: 42px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .faq-layout .section-heading {
    position: static;
  }
}

@media (max-width: 760px) {
  h1 {
    max-width: 11ch;
    font-size: 4rem;
    line-height: 1;
  }

  .statement-section {
    padding: 104px 0 112px;
  }

  .statement-title {
    font-size: 2.8rem;
    line-height: 1.12;
  }

  .statement-copy {
    margin-top: 28px;
    font-size: 1.08rem;
  }

  .journey-line {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
    gap: 9px;
    margin-top: 46px;
    font-size: 0.72rem;
  }

  .journey-line i {
    width: 100%;
  }

  .experience-section {
    padding-top: 106px;
  }

  .story-stack {
    gap: 18px;
  }

  .story-panel {
    min-height: 0;
    border-radius: 28px;
  }

  .story-copy {
    padding: 38px 26px 42px;
  }

  .story-index {
    top: 22px;
    right: 24px;
  }

  .story-copy h3 {
    font-size: 2.1rem;
  }

  .story-visual {
    min-height: 440px;
    padding: 26px;
  }

  .phone-frame {
    width: min(282px, 94%);
    min-height: 420px;
    transform: rotate(1deg);
  }

  .understand-card,
  .project-window {
    padding: 22px;
    border-radius: 24px;
  }

  .understand-title {
    margin-top: 28px;
    font-size: 1.4rem;
  }

  .use-case-card {
    min-height: 340px;
    padding: 26px;
    border-radius: 24px;
  }

  .faq-item summary {
    padding: 22px 0;
    font-size: 1rem;
  }

  .faq-item p {
    padding-right: 24px;
  }
}

@media (max-width: 390px) {
  h1 {
    font-size: 3.5rem;
  }

  .statement-title {
    font-size: 2.5rem;
  }

  .story-visual {
    min-height: 410px;
    padding: 20px;
  }
}

/* ============================================================
   Final visual direction: quiet, premium, editorial
   ============================================================ */
:root {
  --bg: #f2f8fb;
  --bg-elevated: rgba(255, 255, 255, 0.72);
  --panel: rgba(255, 255, 255, 0.72);
  --panel-strong: #ffffff;
  --text: #172635;
  --text-strong: #172635;
  --muted: #687b8b;
  --line: rgba(68, 104, 130, 0.11);
  --shadow: 0 24px 60px rgba(58, 91, 116, 0.1);
  --shadow-soft: 0 10px 30px rgba(58, 91, 116, 0.06);
  --accent: #6f96b3;
  --accent-soft: rgba(111, 150, 179, 0.12);
}

body {
  background:
    radial-gradient(circle at 50% -12%, #ffffff 0, rgba(255, 255, 255, 0.8) 25%, transparent 52%),
    linear-gradient(180deg, #f4f9fc 0%, #e8f2f8 100%);
  color: var(--text);
}

.page-bg {
  background:
    radial-gradient(circle at 10% 28%, rgba(255, 255, 255, 0.72), transparent 25%),
    radial-gradient(circle at 86% 22%, rgba(207, 225, 237, 0.3), transparent 23%);
}

.site-header.is-scrolled {
  background: rgba(244, 249, 252, 0.8);
  box-shadow: 0 10px 30px rgba(29, 29, 31, 0.07);
}

.brand,
.site-nav,
.nav-cta {
  color: var(--text);
}

.brand-mark,
.status-dot,
.bridge-dot {
  background: linear-gradient(180deg, #8fadc2, #64869e);
  box-shadow: 0 0 0 5px rgba(95, 127, 150, 0.1);
}

.hero {
  padding-top: calc(var(--header-h) + 92px);
  padding-bottom: 124px;
}

.hero-grid {
  grid-template-columns: 1fr;
  gap: 70px;
}

.hero-copy {
  max-width: 760px;
  margin: 0 auto;
  padding-right: 0;
  text-align: center;
}

.hero-copy .eyebrow {
  margin-bottom: 24px;
}

h1 {
  max-width: none;
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
}

.hero-lead {
  max-width: 30rem;
  margin: 30px auto 0;
  font-size: clamp(1.38rem, 2.4vw, 1.85rem);
  color: rgba(29, 29, 31, 0.84);
}

.hero-support {
  max-width: 34rem;
  margin: 18px auto 0;
}

.hero-actions,
.hero-meta {
  justify-content: center;
}

.hero-meta {
  color: rgba(29, 29, 31, 0.55);
}

.hero-meta i {
  background: #6f96b3;
  box-shadow: none;
}

.hero-visual {
  width: min(820px, 100%);
  margin: 0 auto;
}

.visual-shell {
  padding: 30px;
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(239, 239, 242, 0.9));
  border-color: rgba(29, 29, 31, 0.08);
  box-shadow: 0 30px 80px rgba(29, 29, 31, 0.12);
}

.visual-shell::before {
  background: radial-gradient(circle, rgba(160, 194, 216, 0.22), transparent 66%);
}

.visual-topline,
.demo-text,
.output-line {
  color: rgba(29, 29, 31, 0.64);
}

.demo-flow {
  grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr);
  align-items: center;
}

.demo-card {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(29, 29, 31, 0.08);
  box-shadow: 0 14px 34px rgba(29, 29, 31, 0.06);
}

.demo-card-output {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(111, 150, 179, 0.24);
}

.flow-bridge {
  grid-template-rows: auto auto;
  color: rgba(29, 29, 31, 0.38);
}

.bridge-arrow {
  transform: rotate(0deg);
}

.section-soft {
  background: rgba(255, 255, 255, 0.48);
  border-color: rgba(29, 29, 31, 0.06);
}

.nav-cta,
.button-secondary,
.feature-card,
.process-step,
.cta-panel,
.legal-hero,
.legal-section {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(29, 29, 31, 0.09);
}

.button-primary {
  background: #1d1d1f;
  color: #fff;
  box-shadow: 0 14px 26px rgba(29, 29, 31, 0.16);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 18px 32px rgba(29, 29, 31, 0.22);
}

.privacy-panel {
  background: #1d1d1f;
  border-color: rgba(29, 29, 31, 0.12);
}

.privacy-panel h2,
.privacy-panel .privacy-list {
  color: #f5f5f7;
}

.privacy-panel .eyebrow {
  color: #b9d0df;
}

.privacy-list li::before {
  background: #b9d0df;
}

.cta-support {
  background: rgba(111, 150, 179, 0.09);
}

.scroll-progress {
  background: #6f96b3;
  box-shadow: 0 1px 8px rgba(111, 150, 179, 0.35);
}

@media (max-width: 760px) {
  .hero {
    padding-top: calc(var(--header-h) + 52px);
    padding-bottom: 88px;
  }

  h1 {
    font-size: clamp(3.45rem, 16vw, 5.5rem);
  }

  .visual-shell {
    padding: 20px;
  }

  .nav-toggle {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(29, 29, 31, 0.1);
  }

  .nav-toggle span {
    background: #1d1d1f;
  }

  .demo-flow {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .flow-bridge {
    grid-template-columns: auto auto;
    grid-template-rows: 1fr;
  }

  .bridge-arrow {
    transform: rotate(90deg);
  }
}

/* ============================================================
   Signature motion layer
   ============================================================ */

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 60;
  transform-origin: 0 50%;
  transform: scaleX(var(--scroll-progress, 0));
  background: linear-gradient(90deg, #9dbbd0, #6f96b3, #9dbbd0);
  box-shadow: 0 1px 8px rgba(111, 150, 179, 0.45);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.scroll-progress.is-active {
  opacity: 1;
}

/* Hero title — word-by-word mask reveal */
h1[data-hero-title].is-split {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.22em;
  animation: none;
}

.hero-title-word {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.hero-title-word > span {
  display: inline-block;
  transform: translateY(110%);
}

.hero-copy.reveal.is-visible h1[data-hero-title].is-split .hero-title-word > span {
  animation: word-rise 0.9s cubic-bezier(0.2, 0.85, 0.2, 1) both;
  animation-delay: calc(var(--word-index, 0) * 0.07s + 0.05s);
}

@keyframes word-rise {
  to {
    transform: translateY(0);
  }
}

/* Typewriter caret on the demo input */
.demo-text .tw-caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 1px;
  vertical-align: -0.16em;
  background: var(--accent);
  opacity: 0;
}

.demo-flow.is-typing .tw-caret {
  opacity: 0.8;
  animation: caret-blink 0.8s steps(1) infinite;
}

@keyframes caret-blink {
  50% {
    opacity: 0;
  }
}

/* Demo "processing" state — bridge intensifies, output resets between loops */
.demo-flow[data-demo-cycle] .bridge-arrow {
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.45s ease;
}

.demo-flow.is-processing .bridge-dot {
  animation-duration: 0.9s;
}

.demo-flow.is-processing .bridge-arrow {
  transform: translateX(6px) scale(1.12);
  opacity: 1;
}

.demo-flow[data-demo-cycle] .output-list .output-line {
  transition:
    opacity 0.55s ease,
    transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* 3D pointer tilt on the hero visual */
[data-tilt] {
  transform: perspective(1100px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

[data-tilt].is-tilting {
  transition: transform 0.12s ease-out;
}

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

  .scroll-progress {
    display: none;
  }

  h1[data-hero-title].is-split .hero-title-word > span {
    transform: none;
    animation: none;
  }

  [data-tilt] {
    transform: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .output-line {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   Brand refresh: calm, high-contrast signal system
   ============================================================ */
:root {
  --bg: #07080a;
  --bg-elevated: rgba(18, 21, 20, 0.82);
  --panel: rgba(17, 20, 19, 0.88);
  --panel-strong: #111412;
  --text: #f3f6f5;
  --text-strong: #f7faf8;
  --muted: #98a19f;
  --line: rgba(243, 246, 245, 0.12);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --shadow-soft: 0 12px 34px rgba(0, 0, 0, 0.2);
  --accent: #7aabcd;
  --accent-soft: rgba(122, 171, 205, 0.12);
}

body {
  background:
    radial-gradient(circle at 78% 8%, rgba(122, 171, 205, 0.08), transparent 24%),
    radial-gradient(circle at 10% 20%, rgba(42, 56, 47, 0.24), transparent 28%),
    linear-gradient(180deg, #07080a 0%, #0b0e0d 100%);
  color: var(--text);
}

.page-bg {
  background:
    radial-gradient(circle at 76% 16%, rgba(122, 171, 205, 0.08), transparent 20%),
    linear-gradient(115deg, transparent 0 48%, rgba(122, 171, 205, 0.025) 48.1% 48.2%, transparent 48.3% 100%);
  opacity: 1;
}

.site-header.is-scrolled {
  background: rgba(7, 8, 10, 0.76);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.26);
}

.brand {
  color: var(--text-strong);
}

.brand-mark,
.status-dot,
.bridge-dot {
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(122, 171, 205, 0.1), 0 0 22px rgba(122, 171, 205, 0.28);
}

.site-nav {
  color: rgba(243, 246, 245, 0.7);
}

.nav-cta,
.button-secondary,
.feature-card,
.process-step,
.cta-panel,
.legal-hero,
.legal-section {
  background: rgba(17, 20, 19, 0.84);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

.nav-cta {
  color: var(--text);
}

.eyebrow,
.demo-label,
.legal-kicker,
.legal-badge {
  color: var(--accent);
}

h1,
h2,
h3,
.output-heading,
.legal-heading,
.legal-section h2,
.footer-title,
.support-label,
.footer-label {
  color: var(--text-strong);
}

.hero-lead {
  color: rgba(243, 246, 245, 0.9);
}

.hero-support,
.feature-card p,
.process-step p,
.cta-description,
.privacy-list,
.footer-brand p,
.footer-contact,
.footer-copy,
.legal-subtitle,
.legal-section p,
.legal-section li {
  color: var(--muted);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 24px;
  color: rgba(243, 246, 245, 0.62);
  font-family: "SF Mono", "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.76rem;
  letter-spacing: 0.03em;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-meta i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(122, 171, 205, 0.7);
}

.button-primary {
  background: var(--accent);
  color: #0b0e0d;
  box-shadow: 0 16px 30px rgba(122, 171, 205, 0.14);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 20px 34px rgba(122, 171, 205, 0.22);
}

.button-secondary {
  color: var(--text);
}

.visual-shell {
  background: linear-gradient(145deg, rgba(21, 26, 23, 0.96), rgba(11, 14, 13, 0.94));
  border-color: rgba(122, 171, 205, 0.17);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(122, 171, 205, 0.04);
}

.visual-shell::before {
  background: radial-gradient(circle, rgba(122, 171, 205, 0.14), transparent 66%);
}

.visual-topline,
.demo-text,
.output-line {
  color: rgba(243, 246, 245, 0.68);
}

.demo-card {
  background: rgba(7, 8, 10, 0.42);
  border-color: rgba(243, 246, 245, 0.1);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.demo-card-output {
  background: linear-gradient(150deg, rgba(122, 171, 205, 0.1), rgba(7, 8, 10, 0.36));
  border-color: rgba(122, 171, 205, 0.22);
}

.flow-bridge,
.bridge-arrow {
  color: rgba(243, 246, 245, 0.5);
}

.section-soft {
  background: rgba(255, 255, 255, 0.025);
  border-top: 1px solid rgba(243, 246, 245, 0.05);
  border-bottom: 1px solid rgba(243, 246, 245, 0.05);
}

.feature-card:hover {
  border-color: rgba(122, 171, 205, 0.32);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.26);
}

.feature-icon {
  background: var(--accent-soft);
  color: var(--accent);
}

.step-index {
  background: var(--accent);
  color: #0b0e0d;
}

.privacy-panel {
  background: linear-gradient(145deg, #151c17, #0d110f);
  border: 1px solid rgba(122, 171, 205, 0.2);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.privacy-panel .eyebrow {
  color: var(--accent);
}

.privacy-panel h2,
.privacy-panel .privacy-list {
  color: var(--text-strong);
}

.privacy-list li::before {
  background: var(--accent);
}

.cta-support {
  background: rgba(122, 171, 205, 0.08);
  color: var(--muted);
}

.footer-links a,
.footer-contact a,
.cta-support a,
.legal-contact-box a {
  color: var(--text);
  text-decoration-color: rgba(122, 171, 205, 0.38);
}

.footer-grid {
  border-top-color: var(--line);
}

.scroll-progress {
  background: var(--accent);
  box-shadow: 0 1px 10px rgba(122, 171, 205, 0.55);
}

.legal-contact-box {
  background: rgba(122, 171, 205, 0.08);
}

.legal-contact-label {
  color: var(--accent);
}

@media (max-width: 760px) {
  .site-nav {
    background: rgba(13, 17, 15, 0.98);
    border-color: var(--line);
  }

  .nav-toggle {
    background: rgba(17, 20, 19, 0.9);
    border-color: var(--line);
  }

  .nav-toggle span {
    background: var(--text);
  }
}

/* Keep the final light direction last in the cascade. */
:root {
  --bg: #f5f5f7;
  --bg-elevated: rgba(255, 255, 255, 0.72);
  --panel: rgba(255, 255, 255, 0.72);
  --panel-strong: #ffffff;
  --text: #1d1d1f;
  --text-strong: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(29, 29, 31, 0.1);
  --shadow: 0 24px 60px rgba(29, 29, 31, 0.1);
  --shadow-soft: 0 10px 30px rgba(29, 29, 31, 0.06);
  --accent: #5f7f96;
  --accent-soft: rgba(95, 127, 150, 0.1);
}

body {
  background:
    radial-gradient(circle at 50% -12%, #ffffff 0, rgba(255, 255, 255, 0.86) 25%, transparent 52%),
    linear-gradient(180deg, #f5f5f7 0%, #f1f1f3 100%);
  color: var(--text);
}

.page-bg {
  background:
    radial-gradient(circle at 10% 28%, rgba(255, 255, 255, 0.72), transparent 25%),
    radial-gradient(circle at 86% 22%, rgba(207, 225, 237, 0.3), transparent 23%);
}

.site-header.is-scrolled {
  background: rgba(245, 245, 247, 0.76);
  box-shadow: 0 10px 30px rgba(29, 29, 31, 0.07);
}

.brand,
.site-nav,
.nav-cta,
h1,
h2,
h3,
.output-heading,
.legal-heading,
.legal-section h2,
.footer-title,
.support-label,
.footer-label {
  color: var(--text-strong);
}

.brand-mark,
.status-dot,
.bridge-dot {
  background: linear-gradient(180deg, #8fadc2, #64869e);
  box-shadow: 0 0 0 5px rgba(95, 127, 150, 0.1);
}

.hero {
  padding-top: calc(var(--header-h) + 92px);
  padding-bottom: 124px;
}

.hero-grid {
  grid-template-columns: 1fr;
  gap: 70px;
}

.hero-copy {
  max-width: 760px;
  margin: 0 auto;
  padding-right: 0;
  text-align: center;
}

h1 {
  max-width: none;
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
}

.hero-lead {
  max-width: 30rem;
  margin: 30px auto 0;
  color: rgba(29, 29, 31, 0.84);
}

.hero-support {
  max-width: 34rem;
  margin: 18px auto 0;
}

.hero-actions,
.hero-meta {
  justify-content: center;
}

.hero-meta {
  color: rgba(29, 29, 31, 0.55);
}

.hero-meta i {
  background: #6f96b3;
  box-shadow: none;
}

.hero-visual {
  width: min(820px, 100%);
  margin: 0 auto;
}

.visual-shell {
  padding: 30px;
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(239, 239, 242, 0.9));
  border-color: rgba(29, 29, 31, 0.08);
  box-shadow: 0 30px 80px rgba(29, 29, 31, 0.12);
}

.visual-shell::before {
  background: radial-gradient(circle, rgba(160, 194, 216, 0.22), transparent 66%);
}

.visual-topline,
.demo-text,
.output-line {
  color: rgba(29, 29, 31, 0.64);
}

.demo-flow {
  grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr);
  align-items: center;
}

.demo-card {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(29, 29, 31, 0.08);
  box-shadow: 0 14px 34px rgba(29, 29, 31, 0.06);
}

.demo-card-output {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(111, 150, 179, 0.24);
}

.flow-bridge,
.bridge-arrow {
  color: rgba(29, 29, 31, 0.38);
}

.section-soft {
  background: rgba(255, 255, 255, 0.48);
  border-color: rgba(29, 29, 31, 0.06);
}

.nav-cta,
.button-secondary,
.feature-card,
.process-step,
.cta-panel,
.legal-hero,
.legal-section {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(29, 29, 31, 0.09);
}

.button-primary {
  background: #6f96b3;
  color: #fff;
  box-shadow: 0 14px 26px rgba(75, 116, 147, 0.2);
}

.privacy-panel {
  background: linear-gradient(145deg, #dcebf4, #eef6fa);
  border-color: rgba(80, 118, 146, 0.13);
}

.privacy-panel h2,
.privacy-panel .privacy-list {
  color: var(--text-strong);
}

.privacy-panel .eyebrow,
.legal-kicker,
.legal-badge,
.demo-label {
  color: #6f96b3;
}

.privacy-list li::before {
  background: #b9d0df;
}

.cta-support {
  background: rgba(111, 150, 179, 0.09);
}

.scroll-progress {
  background: #6f96b3;
  box-shadow: 0 1px 8px rgba(111, 150, 179, 0.35);
}

/* Scroll transitions */
.reveal {
  --reveal-duration: 0.54s;
  --reveal-distance: 18px;
  --reveal-blur: 4px;
  opacity: 0;
  filter: blur(var(--reveal-blur));
  transform: translate3d(0, var(--reveal-distance), 0) scale(0.992);
  transition:
    opacity var(--reveal-duration) cubic-bezier(0.2, 0.75, 0.2, 1),
    transform var(--reveal-duration) cubic-bezier(0.2, 0.75, 0.2, 1),
    filter var(--reveal-duration) cubic-bezier(0.2, 0.75, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

.section-heading::after {
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  margin-top: 24px;
  background: #6f96b3;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.46s cubic-bezier(0.2, 0.75, 0.2, 1) 100ms;
}

.section-heading.reveal.is-visible::after {
  transform: scaleX(1);
}

.hero-visual.reveal.is-visible .visual-shell {
  animation: visual-settle 0.62s cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

@keyframes visual-settle {
  from { opacity: 0.7; transform: translateY(10px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.is-fast-scrolling .reveal {
  --reveal-duration: 0.24s;
  --reveal-distance: 8px;
  --reveal-blur: 0px;
  transition-delay: 0ms;
}

.is-fast-scrolling .section-heading::after {
  transition-duration: 0.24s;
  transition-delay: 0ms;
}

.is-fast-scrolling .hero-visual.reveal.is-visible .visual-shell {
  animation-duration: 0.24s;
}

@media (max-width: 760px) {
  .hero {
    padding-top: calc(var(--header-h) + 52px);
    padding-bottom: 88px;
  }

  h1 { font-size: clamp(3.45rem, 16vw, 5.5rem); }

  .visual-shell { padding: 20px; }

  .demo-flow { grid-template-columns: 1fr; gap: 14px; }

  .flow-bridge {
    grid-template-columns: auto auto;
    grid-template-rows: 1fr;
  }

  .bridge-arrow { transform: rotate(90deg); }

  .site-nav {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(29, 29, 31, 0.1);
  }

  .nav-toggle {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(29, 29, 31, 0.1);
  }

  .nav-toggle span { background: #1d1d1f; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    filter: none;
    transform: none;
    transition: none;
  }

  .section-heading::after {
    transform: scaleX(1);
    transition: none;
  }
}

/* readability hotfix 20260810 */
.privacy-panel{background:rgba(238,249,255,.94);box-shadow:0 26px 70px rgba(33,58,77,.18)}
.privacy-description{color:rgba(31,49,63,.78)}
.privacy-link{color:#496d87}
.privacy-link:hover,.privacy-link:focus-visible{color:#23465f}
.privacy-list li{color:#243443}
@media(max-width:760px){.privacy-panel{padding:34px 26px}.privacy-description{font-size:16px;line-height:1.9}.privacy-list{gap:18px}.privacy-list li{font-size:18px}}

/* readability hotfix 20260810 */
.privacy-panel{background:rgba(238,249,255,.94);box-shadow:0 26px 70px rgba(33,58,77,.18)}
.privacy-description{color:rgba(31,49,63,.78)}
.privacy-link{color:#496d87}
.privacy-link:hover,.privacy-link:focus-visible{color:#23465f}
.privacy-list li{color:#243443}
@media(max-width:760px){.privacy-panel{padding:34px 26px}.privacy-description{font-size:16px;line-height:1.9}.privacy-list{gap:18px}.privacy-list li{font-size:18px}}

/* readability hotfix 20260810 */
.privacy-panel{background:rgba(238,249,255,.94);box-shadow:0 26px 70px rgba(33,58,77,.18)}
.privacy-description{color:rgba(31,49,63,.78)}
.privacy-link{color:#496d87}
.privacy-link:hover,.privacy-link:focus-visible{color:#23465f}
.privacy-list li{color:#243443}
@media(max-width:760px){.privacy-panel{padding:34px 26px}.privacy-description{font-size:16px;line-height:1.9}.privacy-list{gap:18px}.privacy-list li{font-size:18px}}
