@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: optional;
  src: url("/fonts/inter-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url("/fonts/space-grotesk-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Sans Devanagari";
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
  src: url("/fonts/noto-sans-devanagari.woff2") format("woff2");
}

:root {
  --site-ink: #0d1b24;
  --site-navy: #1e3a5f;
  --site-blue: #2563eb;
  --site-blue-deep: #1e40af;
  --site-orange: #f97316;
  --site-orange-dark: #c2410c;
  --site-muted: #405968;
  --site-soft-text: #526878;
  --site-line: #d7e1e6;
  --site-line-soft: #e6edef;
  --site-field: #f4f7f8;
  --site-frost-a: #f5f8fb;
  --site-frost-b: #edf2f6;
  --site-white: #ffffff;
  --site-footer-copy: #c7d4db;
  --site-footer-muted: #a9bbc6;
  --site-shadow: 0 8px 24px rgba(8, 20, 28, .065);
  --site-shadow-raised: 0 18px 44px rgba(8, 20, 28, .11);
  --site-nav-height: 64px;
}

html {
  scroll-padding-top: calc(var(--site-nav-height) + 12px);
}

html.is-authenticated [data-guest-only] {
  display: none !important;
}

body.site-frosted {
  position: relative;
  isolation: isolate;
  min-width: 320px;
  color: var(--site-ink);
  background: transparent !important;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.site-app {
  min-width: 320px;
  color: var(--site-ink);
  background: var(--site-field) !important;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.site-app .font-display,
body.site-app h1 {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-weight: 700;
}

body.site-app .font-devanagari {
  font-family: "Noto Sans Devanagari", "Inter", sans-serif;
}

body.site-app .text-brand-dark {
  color: var(--site-ink) !important;
}

body.site-app .text-gray-400,
body.site-app .text-slate-400,
body.site-app .text-gray-500,
body.site-app .text-slate-500 {
  color: var(--site-soft-text) !important;
}

body.site-app .text-gray-600,
body.site-app .text-slate-600 {
  color: var(--site-muted) !important;
}

body.site-app .text-brand {
  color: var(--site-orange-dark) !important;
}

body.site-app .hover\:text-brand:hover {
  color: var(--site-orange-dark) !important;
}

body.site-app .bg-brand {
  background-color: var(--site-ink) !important;
}

body.site-app .hover\:bg-brand-dark:hover {
  background-color: #142b38 !important;
}

body.site-app input::placeholder,
body.site-app textarea::placeholder {
  color: var(--site-soft-text) !important;
  opacity: 1;
}

body.site-app .text-amber-600 {
  color: #92400e !important;
}

body.site-app .text-success {
  color: #15803d !important;
}

body.site-app .bg-success {
  background-color: #15803d !important;
}

body.site-app #conv-convert-btn {
  --conv-action-rgb: 13, 27, 36;
  --conv-action-dark-rgb: 20, 43, 56;
}

body.site-app #conv-convert-btn:not(:disabled) svg {
  color: #fb8a3c;
}

body.site-app #conv-download-link {
  --conv-action-rgb: 21, 128, 61;
  --conv-action-dark-rgb: 22, 101, 52;
}

body.site-app > nav:first-of-type {
  border-bottom-color: var(--site-line) !important;
  background: #fff !important;
  box-shadow: 0 1px 0 rgba(8, 20, 28, .025);
  backdrop-filter: none !important;
}

body.site-app .conversion-card,
body.site-app #conv-history-section,
body.site-app #page-credits-card,
body.site-app #account-card,
body.site-app #billing-card {
  border-color: var(--site-line-soft) !important;
  box-shadow: var(--site-shadow) !important;
}

body.site-app #conversion-card {
  border-color: var(--site-line-soft) !important;
  border-radius: 28px !important;
  background: rgba(255, 255, 255, .9) !important;
  box-shadow: var(--site-shadow-raised) !important;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

body.site-app #conversion-card #conv-dropzone {
  border-color: rgba(30, 58, 95, .16);
  background: rgba(245, 248, 251, .82);
}

body.site-app #conversion-card #conv-dropzone:hover {
  border-color: rgba(59, 130, 246, .35);
}

body.site-app #conversion-card #conv-dropzone.drag-over {
  border-color: #2563eb;
  background: #eff6ff;
}

body.site-app #conversion-card #conv-dropzone.has-file {
  border-color: #22c55e;
  background: #f0fdf4;
}

body.site-app #conversion-card .conv-upload-icon {
  border: 1px solid var(--site-line);
  background: rgba(255, 255, 255, .94) !important;
  box-shadow: 0 8px 22px rgba(8, 20, 28, .07) !important;
}

body.site-app #conversion-card .conv-upload-icon svg {
  color: var(--site-orange-dark) !important;
}

body.site-app .conv-toggle input:checked + div,
body.site-app .conv-toggle-orange input:checked + div {
  border-color: var(--site-orange-dark) !important;
  color: var(--site-orange-dark) !important;
  background-color: #fff7ed !important;
  box-shadow: 0 2px 8px rgba(194, 65, 12, .14) !important;
}

body.site-app #add-page-credits {
  color: var(--site-orange-dark) !important;
}

body.site-app #add-page-credits:hover {
  color: var(--site-ink) !important;
}

body.site-app #pages-progress {
  background-color: var(--site-orange-dark) !important;
}

body.site-app .conv-range-loading,
body.site-app .conv-range-meta,
body.site-app .conv-range-manual-note {
  color: var(--site-muted) !important;
}

body.site-app .conv-range-dash {
  color: var(--site-soft-text) !important;
}

body.site-frosted::before,
body.site-frosted::after {
  position: fixed;
  inset: 0;
  content: "";
  pointer-events: none;
}

body.site-frosted::before {
  z-index: -2;
  background:
    radial-gradient(ellipse at 50% 44%, rgba(255, 255, 255, .76), transparent 48%),
    radial-gradient(circle at 73% 20%, rgba(240, 120, 50, .145), transparent 29%),
    radial-gradient(circle at 14% 82%, rgba(30, 58, 95, .065), transparent 34%),
    linear-gradient(145deg, var(--site-frost-a) 0%, var(--site-frost-b) 100%);
}

body.site-frosted::after {
  z-index: -1;
  opacity: .42;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, .64), rgba(255, 255, 255, .1) 36%, transparent 52%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
  background-size: auto, 220px 220px;
  mix-blend-mode: soft-light;
}

body.site-frosted .font-display,
body.site-frosted h1,
body.site-frosted h2,
body.site-frosted h3 {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-weight: 700;
}

body.site-frosted .font-devanagari {
  font-family: "Noto Sans Devanagari", "Inter", sans-serif;
}

body.site-frosted .font-sans {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.site-focused {
  --focus-brand: var(--site-blue);
  --focus-brand-light: #3b82f6;
  --focus-brand-dark: var(--site-ink);
  --focus-text: var(--site-ink);
  --focus-copy: var(--site-muted);
  --focus-muted: var(--site-soft-text);
  --focus-line: var(--site-line);
  --focus-surface: var(--site-field);
  --focus-surface-alt: var(--site-frost-b);
}

body.site-frosted .text-brand-dark,
body.site-frosted .text-gray-900,
body.site-frosted .text-slate-900 {
  color: var(--site-ink) !important;
}

body.site-frosted .text-gray-400,
body.site-frosted .text-slate-400,
body.site-frosted .text-gray-500,
body.site-frosted .text-slate-500 {
  color: var(--site-soft-text) !important;
}

body.site-frosted .text-gray-600,
body.site-frosted .text-slate-600 {
  color: var(--site-muted) !important;
}

body.site-frosted .bg-brand-dark {
  background-color: var(--site-ink) !important;
}

body.site-frosted .hover\:bg-blue-900:hover,
body.site-frosted .hover\:bg-brand-dark:hover {
  background-color: #142b38 !important;
}

body.site-frosted :focus-visible,
body.site-app :focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}

body.site-frosted #navbar,
body.site-frosted nav.site-nav,
body.site-frosted > nav:first-of-type {
  border-bottom: 1px solid rgba(215, 225, 230, .94) !important;
  background: rgba(255, 255, 255, .97) !important;
  box-shadow: 0 1px 0 rgba(8, 20, 28, .025);
  backdrop-filter: none !important;
}

body.site-frosted nav a[href="/auth"],
body.site-frosted nav a[href="/dashboard"],
body.site-frosted [data-session-link] {
  min-width: 132px;
  justify-content: center;
  border-radius: 10px !important;
  color: #fff !important;
  background: var(--site-ink) !important;
  box-shadow: 0 6px 18px rgba(8, 20, 28, .12);
}

body.site-frosted nav a[href="/auth"]:hover,
body.site-frosted nav a[href="/dashboard"]:hover,
body.site-frosted [data-session-link]:hover {
  background: #142b38 !important;
  box-shadow: 0 9px 24px rgba(8, 20, 28, .17);
}

body.site-frosted nav [data-guest-only] {
  border-radius: 9px !important;
  color: var(--site-navy) !important;
  background: #eef3f6 !important;
}

body.site-frosted #mobile-menu {
  background: rgba(255, 255, 255, .99);
}

body.site-frosted nav small,
body.site-frosted .brand-copy small {
  color: var(--site-soft-text) !important;
}

body.site-frosted input::placeholder,
body.site-frosted textarea::placeholder {
  color: var(--site-soft-text) !important;
  opacity: 1;
}

body.site-frosted .bg-surface {
  background-color: var(--site-field) !important;
}

body.site-frosted .bg-surface-alt {
  background-color: var(--site-frost-b) !important;
}

/* Production home hero */
.home-hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: calc(var(--site-nav-height) + 72px) 24px 84px;
  background: transparent;
  box-shadow: inset 0 -1px 0 rgba(30, 58, 95, .045);
}

#hero.home-hero::before {
  display: none;
  content: "";
  animation: none;
}

#hero.home-hero::after {
  display: none;
  content: "";
  animation: none;
}

.home-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(960px, 100%);
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-hero__eyebrow {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 9px;
  margin: 0 0 24px;
  padding: 8px 16px;
  border: 1px solid rgba(30, 58, 95, .13);
  border-radius: 999px;
  color: var(--site-ink);
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 9px 24px rgba(30, 58, 95, .07), inset 0 1px 0 rgba(255, 255, 255, .9);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.home-hero__mark {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--site-orange);
}

.home-hero__title {
  margin: 0;
  color: var(--site-ink);
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(46px, 4.25vw, 72px);
  font-weight: 700;
  letter-spacing: -.043em;
  line-height: 1.02;
  text-wrap: balance;
}

.home-hero__title-line {
  display: block;
}

.home-hero__support {
  margin: 24px 0 0;
  color: var(--site-muted);
  font-size: clamp(18px, 1.35vw, 20px);
  line-height: 1.45;
}

.home-hero__support strong {
  color: var(--site-ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--site-orange);
  text-decoration-thickness: 2px;
  text-underline-offset: .24em;
}

.home-hero__action {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-top: 32px;
}

.home-hero__cta {
  display: inline-flex;
  min-height: 60px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 12px;
  color: #fff;
  background: var(--site-ink);
  box-shadow: 0 12px 26px rgba(8, 20, 28, .16), 0 2px 5px rgba(8, 20, 28, .1);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.home-hero__cta:hover {
  color: #fff;
  background: #142b38;
  box-shadow: 0 17px 34px rgba(8, 20, 28, .2), 0 3px 7px rgba(8, 20, 28, .12);
  transform: translateY(-2px);
}

.home-hero__cta svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: #fb8a3c;
}

.home-hero__microcopy {
  margin: 14px 0 0;
  color: var(--site-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.home-scroll-cue {
  position: absolute;
  bottom: 18px;
  left: 50%;
  z-index: 4;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 999px;
  color: var(--site-muted);
  text-decoration: none;
  transform: translateX(-50%);
}

.home-scroll-cue svg {
  width: 23px;
  height: 23px;
  animation: home-cue-float 2.4s ease-in-out infinite;
}

@keyframes home-cue-float {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(4px); }
}

/* Homepage section system */
.site-home #features,
.site-home #faq {
  border-top: 1px solid rgba(215, 225, 230, .62);
  border-bottom: 1px solid rgba(215, 225, 230, .62);
  background: rgba(246, 249, 250, .76) !important;
}

.site-home #how-it-works {
  background: rgba(255, 255, 255, .48) !important;
}

.site-home #pricing,
.site-home .site-testimonials,
.site-home .site-support {
  background: rgba(255, 255, 255, .82) !important;
}

.site-home main > section:not(.home-hero):not(.home-structure) h2 {
  color: var(--site-ink) !important;
  letter-spacing: -.035em;
  line-height: 1.08;
}

/* Symbolic document-structure system */
.home-structure {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(82px, 9vw, 124px) 0;
  border-top: 1px solid rgba(215, 225, 230, .72);
  border-bottom: 1px solid rgba(215, 225, 230, .72);
  background: rgba(246, 249, 250, .72) !important;
}

.home-structure::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 76% 32%, rgba(249, 115, 22, .09), transparent 30%),
    linear-gradient(118deg, rgba(255, 255, 255, .52), transparent 42%);
}

.home-structure__inner {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.home-structure__intro {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.home-structure__kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--site-orange-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.home-structure__kicker-mark {
  display: grid;
  width: 15px;
  height: 15px;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.home-structure__kicker-mark i {
  display: block;
  border-radius: 1.5px;
  background: var(--site-orange);
}

.home-structure__intro h2 {
  margin: 0;
  color: var(--site-ink) !important;
  font-size: clamp(38px, 5vw, 58px);
  letter-spacing: -.047em;
  line-height: 1.035;
  text-wrap: balance;
}

.home-structure__intro h2 span {
  color: var(--site-navy);
}

.home-structure__intro h2 em {
  font-style: normal;
  text-decoration: underline;
  text-decoration-color: rgba(249, 115, 22, .46);
  text-decoration-thickness: 3px;
  text-underline-offset: .16em;
}

.home-structure__lead {
  max-width: 820px;
  margin: 24px auto 0;
  color: var(--site-muted);
  font-size: 17px;
  line-height: 1.75;
  text-wrap: pretty;
}

.home-structure__engine {
  margin: clamp(44px, 6vw, 68px) 0 0;
}

.home-structure__rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 78px minmax(0, 1.16fr) 58px minmax(0, 1fr);
  align-items: stretch;
  padding: clamp(18px, 2.5vw, 28px);
  border: 1px solid rgba(215, 225, 230, .94);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .66));
  box-shadow: 0 20px 52px rgba(8, 20, 28, .09), inset 0 1px 0 rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.home-structure__stage {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 18px;
  color: var(--site-ink);
}

.home-structure__stage--understand {
  position: relative;
  z-index: 1;
  margin: -10px 0;
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 16%, rgba(249, 115, 22, .2), transparent 34%),
    linear-gradient(145deg, var(--site-ink), #183242);
  box-shadow: 0 18px 40px rgba(8, 20, 28, .18), inset 0 1px 0 rgba(255, 255, 255, .09);
}

.home-structure__stage-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 30px;
  color: var(--site-soft-text);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-structure__stage-heading > span {
  min-width: 30px;
  min-height: 30px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(194, 65, 12, .24);
  border-radius: 9px;
  color: var(--site-orange-dark);
  background: #fff5ed;
}

.home-structure__stage--understand .home-structure__stage-heading {
  color: var(--site-footer-copy);
}

.home-structure__stage--understand .home-structure__stage-heading > span {
  border-color: rgba(255, 183, 128, .24);
  color: #ffbd8a;
  background: rgba(249, 115, 22, .12);
}

.home-structure__stage-visual {
  min-height: 166px;
  display: grid;
  place-items: center;
  padding: 20px 0;
}

.home-structure__raw-sheet {
  position: relative;
  width: min(150px, 82%);
  min-height: 116px;
  overflow: hidden;
  padding: 25px 18px 18px;
  border: 1px solid var(--site-line);
  border-radius: 15px;
  background: rgba(244, 247, 248, .92);
  box-shadow: 0 8px 20px rgba(8, 20, 28, .07);
  transform: rotate(-1.5deg);
}

.home-structure__raw-sheet::before {
  position: absolute;
  top: 13px;
  bottom: 13px;
  left: 11px;
  width: 2px;
  border-radius: 999px;
  content: "";
  background: linear-gradient(180deg, transparent, var(--site-orange), transparent);
}

.home-structure__raw-sheet > span {
  position: absolute;
  right: 7px;
  bottom: -18px;
  color: rgba(30, 58, 95, .1);
  font-size: 78px;
  font-weight: 700;
  line-height: 1;
}

.home-structure__raw-sheet > i {
  position: relative;
  z-index: 1;
  display: block;
  height: 5px;
  margin-top: 9px;
  border-radius: 999px;
  background: #bcc8cf;
}

.home-structure__raw-sheet > i:nth-of-type(1) { width: 56%; margin-top: 0; background: #8296a3; }
.home-structure__raw-sheet > i:nth-of-type(2) { width: 86%; }
.home-structure__raw-sheet > i:nth-of-type(3) { width: 72%; }
.home-structure__raw-sheet > i:nth-of-type(4) { width: 80%; }

.home-structure__lattice {
  position: relative;
  width: min(174px, 88%);
  min-height: 132px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  background: rgba(255, 255, 255, .055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.home-structure__lattice::before,
.home-structure__lattice::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.home-structure__lattice::before {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(249, 115, 22, .72), transparent);
}

.home-structure__lattice::after {
  top: 49%;
  left: calc(50% - 4px);
  width: 9px;
  height: 9px;
  border: 2px solid #ffbd8a;
  border-radius: 50%;
  background: var(--site-ink);
  box-shadow: 0 0 0 5px rgba(249, 115, 22, .1);
}

.home-structure__lattice-heading,
.home-structure__lattice-line {
  position: absolute;
  left: 16px;
  display: block;
  height: 5px;
  border-radius: 999px;
}

.home-structure__lattice-heading { top: 16px; width: 58px; background: #ffbd8a; }
.home-structure__lattice-line { top: 31px; width: 82px; background: rgba(255, 255, 255, .35); }
.home-structure__lattice-line--short { top: 42px; width: 62px; }

.home-structure__lattice-table {
  position: absolute;
  bottom: 15px;
  left: 16px;
  width: 92px;
  height: 55px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 7px;
}

.home-structure__lattice-table i {
  border-right: 1px solid rgba(255, 255, 255, .14);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .045);
}

.home-structure__lattice-order {
  position: absolute;
  right: 17px;
  bottom: 18px;
  width: 34px;
  height: 52px;
  border-right: 1px solid rgba(255, 189, 138, .72);
  border-bottom: 1px solid rgba(255, 189, 138, .72);
  border-radius: 0 0 9px;
}

.home-structure__lattice-order::after {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: #ffbd8a;
}

.home-structure__outputs {
  width: min(244px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 9px;
}

.home-structure__outputs > span {
  min-width: 0;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 12px 10px;
  border: 1px solid var(--site-line);
  border-radius: 13px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 7px 16px rgba(8, 20, 28, .065);
}

.home-structure__outputs > span:nth-child(2) { transform: translateY(-7px); }

.home-structure__outputs b {
  min-height: 27px;
  display: inline-grid;
  place-items: center;
  padding: 0 7px;
  border-radius: 7px;
  color: var(--site-ink);
  background: #fff1e7;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.home-structure__outputs i {
  display: block;
  width: 100%;
  height: 4px;
  margin-top: 12px;
  border-radius: 999px;
  background: #bdc9cf;
}

.home-structure__outputs i + i {
  width: 68%;
  margin-top: 7px;
}

.home-structure__stage-copy {
  margin-top: auto;
}

.home-structure__stage-copy h3 {
  margin: 0;
  color: var(--site-ink) !important;
  font-size: 19px;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.home-structure__stage-copy p {
  margin: 8px 0 0;
  color: var(--site-soft-text);
  font-size: 13px;
  line-height: 1.55;
}

.home-structure__stage--understand .home-structure__stage-copy h3 {
  color: #fff !important;
}

.home-structure__stage--understand .home-structure__stage-copy p {
  color: var(--site-footer-copy);
}

.home-structure__connector {
  position: relative;
  min-width: 0;
  display: grid;
  place-items: center;
}

.home-structure__connector > i {
  position: relative;
  display: block;
  width: 100%;
  height: 1px;
  background: var(--site-line);
}

.home-structure__connector > i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
  content: "";
  background: var(--site-orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, .12);
  transform: translate(-50%, -50%);
}

.home-structure__connector > span {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 94px;
  padding: 4px 7px;
  border: 1px solid rgba(194, 65, 12, .18);
  border-radius: 999px;
  color: var(--site-orange-dark);
  background: rgba(255, 249, 244, .96);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .055em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
}

.home-structure__proof {
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 28px auto 0;
  color: var(--site-soft-text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

.home-structure__proof > span {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--site-orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, .1);
}

/* Focused live-demo plane */
.home-demo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(28px, 4.2vh, 38px) 0;
  border-top: 1px solid rgba(215, 225, 230, .72);
  border-bottom: 1px solid rgba(215, 225, 230, .72);
}

.site-home #try-free.home-demo {
  background: rgba(255, 255, 255, .54) !important;
}

.home-demo::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0, rgba(249, 115, 22, .075), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, .36), transparent 42%);
}

.home-demo__intro {
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
}

.home-demo__kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 11px;
  color: var(--site-orange-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.home-demo__kicker > span {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--site-orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, .1);
}

.home-demo__intro h2 {
  max-width: 720px;
  margin: 0 auto;
  color: var(--site-ink) !important;
  font-size: clamp(36px, 3.35vw, 42px);
  letter-spacing: -.038em;
  line-height: 1.05;
  text-wrap: balance;
}

.home-demo__lead {
  max-width: 680px;
  margin: 14px auto 0;
  color: var(--site-muted);
  font-size: 16px;
  line-height: 1.52;
  text-wrap: pretty;
}

.home-demo #demo-counter {
  margin-top: 18px;
  border-color: var(--site-line) !important;
  color: var(--site-ink) !important;
  background: rgba(255, 255, 255, .82) !important;
}

.home-demo .demo-card {
  border-color: var(--site-line) !important;
  background: rgba(255, 255, 255, .9) !important;
  box-shadow: var(--site-shadow-raised) !important;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.home-demo .demo-card:hover {
  box-shadow: 0 22px 50px rgba(8, 20, 28, .13) !important;
}

.home-demo__idle {
  padding: 24px 28px !important;
}

.home-demo #demo-dropzone {
  padding: 22px 28px !important;
}

.home-demo__upload-icon {
  width: 56px !important;
  height: 56px !important;
  margin-bottom: 12px !important;
  border: 1px solid var(--site-line);
  background: rgba(255, 255, 255, .94) !important;
  box-shadow: 0 8px 22px rgba(8, 20, 28, .07) !important;
}

.home-demo__upload-icon svg {
  width: 28px !important;
  height: 28px !important;
  color: var(--site-orange-dark) !important;
}

.home-demo #demo-dropzone-empty > p:first-of-type {
  margin-bottom: 2px !important;
  font-size: 16px !important;
}

.home-demo #demo-dropzone-empty > p:nth-of-type(2) {
  margin-bottom: 10px !important;
}

.home-demo__settings {
  margin-top: 18px !important;
}

.home-demo__settings .demo-toggle > div,
.home-demo__settings .demo-toggle-orange > div {
  padding-top: 9px !important;
  padding-bottom: 9px !important;
}

.home-demo__actions {
  display: grid;
  grid-template-areas:
    "font"
    "error"
    "action";
  gap: 14px;
  margin-top: 16px;
}

.home-demo__font {
  grid-area: font;
}

.home-demo__allowance-error {
  grid-area: error;
}

.home-demo__convert {
  grid-area: action;
}

.home-demo__font select {
  min-height: 50px;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.home-demo__convert button {
  min-height: 54px;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

.home-demo__convert > p {
  margin-top: 6px !important;
  line-height: 1.4;
}

.home-demo__trust {
  margin-top: 16px !important;
}

@media (min-width: 1024px) {
  .home-demo__settings {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) and (max-height: 800px) {
  .home-demo {
    padding: 24px 0;
  }

  .home-demo__intro {
    margin-bottom: 16px;
  }

  .home-demo__kicker {
    margin-bottom: 8px;
  }

  .home-demo__intro h2 {
    font-size: 36px;
  }

  .home-demo__lead {
    margin-top: 10px;
    line-height: 1.42;
  }

  .home-demo__idle {
    padding: 18px 22px !important;
  }

  .home-demo #demo-dropzone {
    padding: 16px 22px !important;
  }

  .home-demo__upload-icon {
    width: 50px !important;
    height: 50px !important;
    margin-bottom: 8px !important;
  }

  .home-demo__settings {
    margin-top: 12px !important;
  }

  .home-demo__settings .demo-toggle > div,
  .home-demo__settings .demo-toggle-orange > div {
    padding-top: 7px !important;
    padding-bottom: 7px !important;
  }

  .home-demo__actions {
    gap: 10px;
    margin-top: 10px;
  }

  .home-demo__font select {
    min-height: 46px;
  }

  .home-demo__convert button {
    min-height: 50px;
  }

  .home-demo__trust {
    margin-top: 10px !important;
  }
}

.home-demo #demo-convert-btn:not(:disabled) {
  background: var(--site-ink) !important;
  box-shadow: 0 12px 24px rgba(8, 20, 28, .16);
}

.home-demo #demo-convert-btn:not(:disabled):hover {
  background: #142b38 !important;
  box-shadow: 0 16px 30px rgba(8, 20, 28, .2);
}

.home-demo #demo-convert-btn:not(:disabled) svg {
  color: var(--site-orange) !important;
}

.site-home .demo-card,
.site-home [data-pricing-card],
.site-home #features .rounded-2xl,
.site-home .site-testimonials .rounded-2xl,
.site-home #how-it-works .rounded-xl,
.site-home .faq-item {
  border-color: var(--site-line-soft) !important;
  box-shadow: var(--site-shadow) !important;
}

.site-home .demo-card,
.site-home [data-pricing-card] {
  border-radius: 28px !important;
}

.site-home #demo-dropzone {
  border-color: rgba(30, 58, 95, .16) !important;
  background: rgba(245, 248, 251, .82) !important;
}

.site-home [data-pricing-card]:first-child {
  background: var(--site-ink) !important;
  box-shadow: 0 16px 38px rgba(8, 20, 28, .16) !important;
}

.site-home [data-pricing-card]:last-child {
  border-color: var(--site-line) !important;
  background: rgba(255, 255, 255, .94) !important;
}

.site-home .faq-item {
  border-radius: 16px !important;
  background: rgba(255, 255, 255, .88) !important;
}

.site-home .faq-item.faq-open {
  border-left-color: var(--site-orange) !important;
}

/* Focused converter pages */
.site-focused {
  background: transparent !important;
}

.site-focused .focused-hero {
  background: transparent !important;
}

.site-focused .focused-hero::before {
  content: none !important;
}

.site-focused .hero-glow,
.site-focused .hero-grain {
  display: none !important;
}

.site-focused .converter-shell,
.site-focused .sample-panel,
.site-focused .workflow-list article,
.site-focused .use-case-list article,
.site-focused .faq-list details {
  border-color: var(--site-line-soft) !important;
  background: rgba(255, 255, 255, .9) !important;
  box-shadow: var(--site-shadow) !important;
}

.site-focused .converter-shell {
  border-radius: 28px !important;
}

.site-focused .proof-strip,
.site-focused .content-band {
  background: rgba(255, 255, 255, .76) !important;
}

.site-focused .band-muted {
  background: rgba(246, 249, 250, .62) !important;
}

.site-focused .eyebrow,
.site-focused .fixed-format {
  border-color: rgba(30, 58, 95, .13) !important;
  color: var(--site-ink) !important;
  background: rgba(255, 255, 255, .76) !important;
}

/* Informational, auth, utility, and legal pages */
.site-about main > section:first-child,
.site-legal main > section:first-child,
.site-utility main,
.site-auth main {
  background: transparent !important;
}

.site-about main > section:nth-child(2),
.site-legal main > section:nth-child(2) {
  background: rgba(255, 255, 255, .78);
}

.site-about table,
.site-legal .prose,
.site-auth main .bg-white,
.site-utility main .bg-white {
  border-color: var(--site-line-soft) !important;
  border-radius: 20px !important;
  box-shadow: var(--site-shadow) !important;
}

.site-about table {
  overflow: hidden;
}

.site-legal .prose {
  padding: clamp(24px, 4vw, 44px);
  background: rgba(255, 255, 255, .94);
}

.site-about footer,
.site-utility footer {
  border-top-color: var(--site-line-soft) !important;
  color: var(--site-soft-text) !important;
  background: #fff;
}

body.site-frosted footer.bg-brand-dark,
body.site-frosted .site-footer {
  color: var(--site-footer-copy) !important;
  background: var(--site-ink) !important;
}

body.site-frosted footer.bg-brand-dark .text-blue-200,
.site-focused .site-footer .footer-brand > p,
.site-focused .site-footer .made-in-india,
.site-focused .site-footer .footer-column a {
  color: var(--site-footer-copy) !important;
}

.site-focused .site-footer .footer-brand small,
.site-focused .site-footer .footer-column address,
.site-focused .site-footer .footer-bottom,
body.site-frosted footer.bg-brand-dark .site-footer-muted {
  color: var(--site-footer-muted) !important;
}

/* Cohesive public-page cards and actions */
.site-home #pricing .text-brand {
  color: var(--site-orange-dark) !important;
}

.site-home [data-pricing-card]:last-child > span[aria-hidden="true"] {
  background: var(--site-orange) !important;
}

.site-home #purchase-region,
.site-home #credits-decrement,
.site-home #credits-increment {
  border-color: var(--site-line) !important;
  color: var(--site-navy) !important;
  background: #f2f5f6 !important;
}

.site-home #buy-page-credits:not(:disabled),
.site-home #apply-exact-page-credit-quantity,
.site-home #confirm-corrected-price {
  color: #fff !important;
  background: var(--site-ink) !important;
  box-shadow: 0 10px 22px rgba(8, 20, 28, .16) !important;
}

.site-home #buy-page-credits[aria-busy="true"] {
  cursor: progress;
  color: #fff;
  background: var(--site-blue);
  opacity: 1;
}

@keyframes page-credit-checkout-spin {
  to { transform: rotate(360deg); }
}

.site-home .page-credit-checkout-spinner {
  animation: page-credit-checkout-spin .8s linear infinite;
}

.site-home #buy-page-credits:not(:disabled):hover,
.site-home #apply-exact-page-credit-quantity:hover,
.site-home #confirm-corrected-price:hover {
  background: #142b38 !important;
}

.site-home [data-pricing-card]:first-child > p:first-child {
  color: #ffd4b6 !important;
}

.site-home [data-pricing-card]:first-child > div {
  border-color: rgba(255, 255, 255, .16) !important;
  background: rgba(255, 255, 255, .08) !important;
}

.site-home .bento-cell {
  border-color: var(--site-line-soft) !important;
  background: rgba(255, 255, 255, .86) !important;
  box-shadow: var(--site-shadow) !important;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.site-home .bento-cell:hover {
  border-color: rgba(194, 65, 12, .24) !important;
  box-shadow: 0 14px 34px rgba(8, 20, 28, .1) !important;
}

.site-home #how-it-works h2,
.site-home #features h2,
.site-home .site-testimonials h2,
.site-home #faq h2 {
  font-size: clamp(34px, 3vw, 42px) !important;
  letter-spacing: -.032em;
  line-height: 1.08;
  text-wrap: balance;
}

.site-home #features {
  padding-top: 72px !important;
  padding-bottom: 72px !important;
}

.site-home #features > div > .text-center {
  margin-bottom: 40px !important;
}

.site-home .bento-cell .w-12.h-12 {
  border: 1px solid var(--site-line-soft);
  background: #f2f5f6 !important;
}

.site-home .bento-cell .w-12.h-12 svg {
  color: var(--site-navy) !important;
}

.site-home .bento-word .w-12.h-12 {
  border-color: #fed7bd;
  background: #fff1e7 !important;
}

.site-home .bento-word .w-12.h-12 svg {
  color: var(--site-orange-dark) !important;
}

.site-home .site-testimonials .space-y-5 > div,
.site-home .site-testimonials .space-y-8 > div {
  border: 1px solid var(--site-line-soft) !important;
  border-left: 3px solid rgba(249, 115, 22, .72) !important;
  background: rgba(255, 255, 255, .82) !important;
  box-shadow: var(--site-shadow);
}

.site-home #how-it-works .flex-1 {
  align-self: stretch;
  padding: 26px 20px;
  border: 1px solid var(--site-line-soft);
  border-radius: 20px;
  background: rgba(255, 255, 255, .8);
  box-shadow: var(--site-shadow);
}

.site-home #how-it-works .flex-1 > .w-20 {
  border: 1px solid var(--site-line);
  color: var(--site-navy) !important;
  background: rgba(255, 255, 255, .94) !important;
  box-shadow: 0 8px 20px rgba(8, 20, 28, .08) !important;
}

.site-home #how-it-works .flex-1:nth-child(4) > .w-20 {
  border-color: #fed7bd;
  color: var(--site-orange-dark) !important;
  background: #fff1e7 !important;
}

.site-home #how-it-works .pipeline-line {
  height: 1px;
  background: linear-gradient(90deg, var(--site-line), rgba(249, 115, 22, .62), var(--site-line));
  animation: none !important;
}

.site-home .site-support a.bg-brand {
  background: var(--site-ink) !important;
}

.site-home .site-support a.bg-brand svg {
  color: #fb8a3c;
}

.site-home span.text-red-500 {
  color: #b91c1c !important;
}

body.site-frosted .support-whatsapp {
  background: #075e54 !important;
  box-shadow: 0 10px 22px rgba(7, 94, 84, .16);
}

body.site-frosted .support-whatsapp:hover {
  background: #064e45 !important;
  box-shadow: 0 14px 30px rgba(7, 94, 84, .22);
}

.site-utility .utility-primary {
  background: var(--site-ink) !important;
  box-shadow: 0 10px 22px rgba(8, 20, 28, .16) !important;
}

.site-utility .utility-primary:hover {
  background: #142b38 !important;
  box-shadow: 0 14px 30px rgba(8, 20, 28, .2) !important;
}

.site-utility .utility-primary svg {
  color: #fb8a3c;
}

/* Focused converter pages */
.site-focused .button-primary {
  color: #fff !important;
  background: var(--site-ink) !important;
  box-shadow: 0 10px 22px rgba(8, 20, 28, .16) !important;
}

.site-focused .button-primary:hover {
  background: #142b38 !important;
  box-shadow: 0 14px 30px rgba(8, 20, 28, .2) !important;
}

.site-focused .button-primary svg {
  color: #fb8a3c;
}

.site-focused .button-primary:disabled {
  background: #cbd5e1 !important;
  box-shadow: none !important;
}

.site-focused .final-band {
  color: var(--site-footer-copy) !important;
  background:
    radial-gradient(circle at 78% 16%, rgba(249, 115, 22, .2), transparent 30%),
    linear-gradient(145deg, var(--site-ink), #183242) !important;
}

.site-focused .final-band p {
  color: var(--site-footer-copy) !important;
}

.site-focused .markdown-dropzone {
  border-color: rgba(30, 58, 95, .22) !important;
  background: rgba(246, 249, 250, .72) !important;
}

.site-focused .upload-icon {
  border: 1px solid var(--site-line-soft);
  color: var(--site-navy) !important;
  background: rgba(255, 255, 255, .92) !important;
  box-shadow: 0 7px 18px rgba(8, 20, 28, .07) !important;
}

.site-focused .trust-line,
.site-focused .hero-lead,
.site-focused .dropzone-empty > p,
.site-focused .drop-hint {
  color: var(--site-muted) !important;
}

/* About, legal, and account surfaces */
.site-about main > section:nth-child(2),
.site-legal main > section:nth-child(2) {
  padding-right: 16px;
  padding-left: 16px;
}

.site-about main > section:nth-child(2) > div {
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--site-line-soft);
  border-radius: 22px;
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--site-shadow);
}

.site-legal .prose {
  width: min(880px, 100%);
  max-width: 880px !important;
  margin-right: auto;
  margin-left: auto;
  box-sizing: border-box;
}

body.site-auth {
  --site-ink: #142f4f;
  --site-navy: #142f4f;
  --site-blue: #2f66a0;
  --site-blue-deep: #1f4d7b;
  --site-orange: #f97316;
  --site-orange-dark: #a63d08;
  --site-muted: #4f647a;
  --site-soft-text: #566c82;
  --site-line: #d9e0e5;
  --site-line-soft: #e8e5de;
  --site-field: #f7f3ec;
  --site-frost-a: #fbf8f1;
  --site-frost-b: #f5f0e7;
  --site-footer-copy: #dbe5eb;
  --site-footer-muted: #bdccd5;
  --site-shadow: 0 14px 34px rgba(20, 47, 79, .08);
  --site-shadow-raised: 0 24px 64px rgba(20, 47, 79, .13);
  overflow-x: clip;
  color: var(--site-ink);
}

body.site-auth::before {
  background:
    radial-gradient(circle at 8% 10%, rgba(249, 115, 22, .08), transparent 27rem),
    radial-gradient(circle at 92% 12%, rgba(47, 102, 160, .1), transparent 30rem),
    linear-gradient(180deg, #fbf8f1 0%, #fcfaf5 54%, #f7f3ec 100%);
}

body.site-auth::after {
  opacity: .2;
  background:
    linear-gradient(rgba(20, 47, 79, .026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 47, 79, .026) 1px, transparent 1px),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
  background-size: 72px 72px, 72px 72px, 220px 220px;
  mix-blend-mode: multiply;
}

.site-auth .auth-skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 100;
  min-height: 44px;
  padding: 11px 17px;
  border: 2px solid var(--site-ink);
  border-radius: 10px;
  color: #fff;
  background: var(--site-ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .18s ease;
}

.site-auth .auth-skip-link:focus {
  transform: translateY(0);
}

body.site-auth > nav.auth-nav {
  padding-top: max(16px, env(safe-area-inset-top));
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.site-auth .auth-nav__shell {
  width: min(1160px, calc(100% - 32px));
  padding: 0 !important;
}

.site-auth .auth-nav__bar {
  min-height: 62px;
  height: auto;
  padding: 8px 13px 8px 16px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 18px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 13px 38px rgba(20, 47, 79, .1), inset 0 0 0 1px rgba(20, 47, 79, .035);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  backdrop-filter: blur(18px) saturate(1.12);
}

.site-auth .auth-nav__brand {
  min-width: 0;
  min-height: 44px;
  color: var(--site-ink);
  text-decoration: none;
}

.site-auth .auth-nav__brand img {
  width: 34px;
  height: 34px;
  box-shadow: 0 5px 14px rgba(20, 47, 79, .16);
}

.site-auth .auth-nav__brand .text-xl {
  font-size: 17px;
  letter-spacing: -.025em;
}

.site-auth .auth-nav__brand .text-xs {
  display: none !important;
}

body.site-auth nav .auth-nav__back,
body.site-auth nav a.auth-nav__back[href="/auth"] {
  display: inline-flex;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: 9px !important;
  color: #40556d !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

body.site-auth nav .auth-nav__back:hover,
body.site-auth nav a.auth-nav__back[href="/auth"]:hover {
  color: var(--site-ink) !important;
  background: #f1f5f8 !important;
  box-shadow: none !important;
}

.site-auth .auth-main {
  width: 100%;
  align-items: center;
  padding: clamp(24px, 4vw, 48px) clamp(20px, 4vw, 56px);
}

.site-auth .auth-shell {
  display: grid;
  grid-template-areas: "form";
  width: min(1180px, 100%);
  margin: auto;
}

.site-auth .auth-form-pane {
  grid-area: form;
  width: 100%;
  padding: 0 !important;
  background: transparent !important;
}

.site-auth .auth-form-container {
  width: min(470px, 100%);
  max-width: 470px !important;
  margin-inline: auto;
}

.site-auth .auth-story {
  display: none;
  grid-area: story;
  min-width: 0;
}

.site-auth .auth-mobile-story {
  display: block;
  grid-area: mobile-story;
  padding: 18px 20px !important;
  border: 1px solid rgba(47, 102, 160, .2);
  border-radius: 20px;
  color: var(--site-navy);
  background: linear-gradient(135deg, #edf4fa, #fff6eb) !important;
  box-shadow: 0 10px 26px rgba(20, 47, 79, .08);
}

.site-auth .auth-mobile-story .text-white {
  color: var(--site-navy) !important;
}

.site-auth .auth-mobile-story .text-blue-200 {
  color: var(--site-muted) !important;
  line-height: 1.55;
}

.site-auth .auth-story > div:last-child {
  display: block;
  width: 100%;
}

.site-auth .auth-story__diagram {
  display: block;
  width: min(100%, 340px) !important;
  height: auto;
  margin-inline: auto;
  padding: 10px;
  border: 1px solid rgba(47, 102, 160, .16);
  border-radius: 22px;
  background: rgba(255, 255, 255, .58);
}

.site-auth .auth-story__diagram .float-doc > rect:first-child,
.site-auth .auth-story__diagram .float-doc-2 > rect:first-child {
  fill: #fffefb;
  fill-opacity: .96;
  stroke: var(--site-navy);
  stroke-opacity: .24;
}

.site-auth .auth-story__diagram [fill="white"] {
  fill: var(--site-navy);
}

.site-auth .auth-story__diagram text[fill="white"] {
  fill: var(--site-ink);
  fill-opacity: 1;
}

.site-auth .auth-story__diagram [stroke="white"] {
  stroke: #2f66a0;
}

.site-auth .auth-story__diagram .float-doc-2 path[stroke="white"] {
  stroke: #fffefb;
}

.site-auth .auth-story__diagram [stroke="#60a5fa"] {
  stroke: #2f66a0;
}

.site-auth .auth-story__diagram [fill="#60a5fa"],
.site-auth .auth-story__diagram [fill="#2563eb"] {
  fill: var(--site-blue);
}

.site-auth .auth-story__diagram stop[stop-color="#2563eb"] {
  stop-color: #2f66a0;
}

.site-auth .auth-story__diagram [fill="#22c55e"] {
  fill: var(--site-orange);
}

.site-auth .auth-story__diagram + .text-center {
  margin-top: 22px !important;
}

.site-auth .auth-story__diagram + .text-center .text-white {
  color: var(--site-navy) !important;
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.site-auth .auth-story__diagram + .text-center .text-blue-200 {
  color: var(--site-muted) !important;
  line-height: 1.6;
}

.site-auth .auth-story__diagram + .text-center + .flex {
  margin-top: 20px !important;
}

.site-auth .auth-story__diagram + .text-center + .flex > span {
  border-color: rgba(47, 102, 160, .2) !important;
  color: var(--site-navy) !important;
  background: rgba(255, 255, 255, .82) !important;
}

.site-auth .auth-story__diagram + .text-center + .flex .text-green-400 {
  color: var(--site-orange-dark) !important;
}

@keyframes auth-story-doc-drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes auth-story-doc-drift-alt {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

@keyframes auth-story-scan {
  0% { opacity: .3; transform: translateY(0); }
  60% { opacity: .85; }
  100% { opacity: .2; transform: translateY(136px); }
}

@keyframes auth-story-pulse {
  0%, 100% { opacity: .48; }
  50% { opacity: .82; }
}

.site-auth .auth-story .float-doc {
  animation: auth-story-doc-drift 5.5s ease-in-out infinite;
}

.site-auth .auth-story .float-doc-2 {
  animation: auth-story-doc-drift-alt 5.5s ease-in-out infinite;
}

.site-auth .auth-story .scan-line {
  animation: auth-story-scan 4.8s ease-in-out infinite;
}

.site-auth .auth-story .pulse-glow {
  animation: auth-story-pulse 4s ease-in-out infinite;
}

.site-auth main .auth-card {
  width: 100%;
  padding: clamp(30px, 3vw, 38px) !important;
  border: 1px solid var(--site-line) !important;
  border-radius: 27px !important;
  background: rgba(255, 254, 251, .95) !important;
  box-shadow: var(--site-shadow-raised) !important;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.site-auth .auth-card h1,
.site-auth .auth-card h2 {
  color: var(--site-ink) !important;
  font-size: clamp(24px, 2.4vw, 28px);
  line-height: 1.12;
  letter-spacing: -.028em;
  text-wrap: balance;
}

.site-auth .auth-card p,
.site-auth .auth-card span,
.site-auth .auth-footer {
  overflow-wrap: anywhere;
}

.site-auth .text-gray-400,
.site-auth .text-slate-400,
.site-auth .text-gray-500,
.site-auth .text-slate-500 {
  color: var(--site-soft-text) !important;
}

.site-auth .text-gray-600,
.site-auth .text-slate-600,
.site-auth .text-gray-700,
.site-auth .text-slate-700 {
  color: var(--site-muted) !important;
}

.site-auth .auth-step-icon,
.site-auth .auth-status-icon {
  border: 1px solid var(--site-line);
  color: var(--site-blue-deep) !important;
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: 0 8px 22px rgba(20, 47, 79, .07);
}

.site-auth .auth-step-icon svg {
  color: var(--site-orange-dark) !important;
}

.site-auth .auth-status-icon--neutral {
  border-color: rgba(47, 102, 160, .28) !important;
  color: var(--site-blue-deep) !important;
  background: #edf4fa !important;
}

.site-auth .auth-status-icon--neutral svg { color: var(--site-blue-deep) !important; }

.site-auth .auth-status-icon--success {
  border-color: rgba(23, 107, 77, .28) !important;
  color: #176b4d !important;
  background: #edf8f3 !important;
}

.site-auth .auth-status-icon--success svg { color: #176b4d !important; }

.site-auth .auth-status-icon--error {
  border-color: rgba(166, 27, 27, .25) !important;
  color: #a61b1b !important;
  background: #fff0ef !important;
}

.site-auth .auth-status-icon--error svg { color: #a61b1b !important; }

.site-auth .auth-status-icon--warning {
  border-color: rgba(138, 75, 8, .26) !important;
  color: #8a4b08 !important;
  background: #fff7e8 !important;
}

.site-auth .auth-status-icon--warning svg { color: #8a4b08 !important; }

.site-auth .auth-loading-state .spinner {
  color: var(--site-blue-deep) !important;
}

.site-auth label {
  color: #263f5b !important;
  font-weight: 700 !important;
}

.site-auth input {
  min-height: 46px;
  border-color: #7f8fa0 !important;
  color: var(--site-ink) !important;
  background: rgba(255, 255, 255, .96) !important;
}

.site-auth input:hover {
  border-color: #566d83 !important;
}

.site-auth input:focus-visible {
  outline: 3px solid var(--site-blue) !important;
  outline-offset: 2px;
  border-color: var(--site-blue-deep) !important;
  box-shadow: none !important;
}

.site-auth input::placeholder {
  color: #60758a !important;
  opacity: 1;
}

.site-auth .auth-email-summary {
  min-height: 52px;
  padding-top: 3px !important;
  padding-bottom: 3px !important;
  border-color: #cbd6dd !important;
  background: #f1f5f7 !important;
}

.site-auth .auth-email-summary > span {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.site-auth .auth-email-summary button,
.site-auth button[aria-label="Toggle password visibility"] {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.site-auth button[aria-label="Toggle password visibility"] {
  right: 4px !important;
}

.site-auth input[type="password"] {
  padding-right: 56px !important;
}

.site-auth #login-form a[href="/forgot-password"],
.site-auth .auth-text-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.site-auth .text-brand,
.site-auth a.text-brand,
.site-auth .auth-text-action {
  color: var(--site-orange-dark) !important;
}

.site-auth .text-brand:hover,
.site-auth a.text-brand:hover,
.site-auth .auth-text-action:hover {
  color: var(--site-ink) !important;
}

.site-auth .auth-credit-note {
  max-width: 100%;
  border: 1px solid #cbd6dd;
  border-radius: 12px !important;
  color: var(--site-ink) !important;
  background: #f1f5f7 !important;
  white-space: normal;
}

.site-auth .auth-credit-note svg {
  flex: 0 0 auto;
  color: var(--site-orange-dark);
}

.site-auth .auth-alert {
  border-width: 1px !important;
  font-weight: 550;
  line-height: 1.5;
}

.site-auth .auth-alert--error {
  border-color: #d8a2a0 !important;
  color: #8f1d1d !important;
  background: #fff0ef !important;
}

.site-auth .auth-alert--info {
  border-color: #6b8ba6 !important;
  color: var(--site-navy) !important;
  background: #edf4fa !important;
}

.site-auth .auth-alert--info svg {
  color: var(--site-blue-deep) !important;
}

.site-auth .auth-primary-action,
.site-auth button[type="submit"] {
  min-height: 46px;
  border-radius: 11px !important;
  color: #fff !important;
  background: var(--site-ink) !important;
  box-shadow: 0 10px 22px rgba(20, 47, 79, .17) !important;
  transform: none !important;
}

.site-auth .auth-primary-action:hover,
.site-auth button[type="submit"]:hover {
  color: #fff !important;
  background: #1b3b60 !important;
  box-shadow: 0 13px 28px rgba(20, 47, 79, .2) !important;
  transform: none !important;
}

.site-auth .auth-primary-action svg,
.site-auth button[type="submit"] svg {
  color: #fb8a3c !important;
}

.site-auth button[type="submit"]:disabled {
  cursor: wait;
  opacity: .72;
  box-shadow: none !important;
}

.site-auth .auth-secondary-action {
  min-height: 44px;
  border-color: #7f8fa0 !important;
  border-radius: 11px !important;
  color: var(--site-ink) !important;
  background: rgba(255, 255, 255, .94) !important;
}

.site-auth .auth-secondary-action:hover {
  border-color: #566d83 !important;
  color: var(--site-ink) !important;
  background: #f1f5f7 !important;
}

.site-auth .auth-utility-main {
  padding: clamp(32px, 6vw, 72px) 16px;
}

.site-auth .auth-utility-shell {
  width: min(460px, 100%);
}

.site-auth .auth-utility-card {
  min-height: 0;
}

body.site-auth > .auth-footer,
body.site-app > footer {
  padding: 18px 16px !important;
  border-top-color: rgba(255, 255, 255, .1) !important;
  color: var(--site-footer-muted) !important;
  background: var(--site-ink) !important;
}

body.site-auth > .auth-footer a,
body.site-app > footer a {
  color: var(--site-footer-copy);
}

body.site-auth > .auth-footer a:hover {
  color: #fff;
}

@media (min-width: 1024px) {
  .site-auth--primary .auth-shell {
    grid-template-areas: "story form";
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    align-items: stretch;
    min-height: min(650px, calc(100svh - 210px));
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(20, 47, 79, .13);
    border-radius: 32px;
    background: rgba(255, 254, 251, .55);
    box-shadow: var(--site-shadow-raised);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
  }

  .site-auth .auth-story {
    display: flex;
    width: 100% !important;
    min-height: 100%;
    align-self: stretch;
    justify-self: stretch;
    padding: clamp(28px, 4vw, 48px) !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 0;
    border-right: 1px solid rgba(20, 47, 79, .16);
    border-radius: 0;
    color: var(--site-navy);
    background: linear-gradient(145deg, rgba(237, 244, 250, .96), rgba(255, 249, 241, .96)) !important;
    box-shadow: none;
  }

  .site-auth .auth-mobile-story {
    display: none;
  }

  .site-auth--primary .auth-form-pane {
    padding: clamp(24px, 3vw, 42px) !important;
  }
}

@media (min-width: 720px) and (max-width: 899px) {
  .home-structure__rail {
    grid-template-columns: minmax(0, 1fr) 52px minmax(0, 1.1fr) 40px minmax(0, 1fr);
    padding: 18px;
  }

  .home-structure__stage {
    padding: 14px;
  }

  .home-structure__stage--understand {
    margin: -6px 0;
    padding: 22px 16px;
  }

  .home-structure__stage-visual {
    min-height: 150px;
  }

  .home-structure__connector > span {
    width: 88px;
    padding-inline: 6px;
    font-size: 9px;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .site-auth .auth-main {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .site-auth--primary .auth-shell {
    gap: 0;
    padding: 0;
  }

  .site-auth .auth-story {
    padding: 24px !important;
  }

  .site-auth--primary .auth-form-pane {
    padding: 20px !important;
  }

  .site-auth .auth-story__diagram {
    width: min(100%, 300px) !important;
  }

  .site-auth .auth-story__diagram + .text-center,
  .site-auth .auth-story__diagram + .text-center + .flex {
    margin-top: 18px !important;
  }
}

@media (max-width: 719px) {
  .home-structure__rail {
    width: min(560px, 100%);
    margin-inline: auto;
    grid-template-columns: minmax(0, 1fr);
    padding: 20px;
  }

  .home-structure__stage {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(106px, .72fr) minmax(110px, 1fr);
    grid-template-rows: auto minmax(132px, auto);
    align-items: center;
    column-gap: 14px;
    padding: 22px 20px;
  }

  .home-structure__stage-heading {
    grid-column: 1 / -1;
  }

  .home-structure__stage--understand {
    margin: 0;
    padding: 26px 22px;
  }

  .home-structure__stage-visual {
    min-height: 132px;
    padding: 12px 0;
  }

  .home-structure__stage-copy {
    margin-top: 0;
  }

  .home-structure__connector {
    min-height: 58px;
  }

  .home-structure__connector > i {
    width: 1px;
    height: 100%;
  }

  .home-structure__connector > span {
    top: 50%;
    width: auto;
    max-width: calc(100% - 40px);
    padding-inline: 10px;
    white-space: nowrap;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  body.site-frosted footer .md\:grid-cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

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

  .site-home .bento-grid > .bento-cell {
    grid-column: auto;
    grid-row: auto;
  }

  .site-home .bento-grid > .bento-ocr,
  .site-home .bento-grid > .bento-secure {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .site-home .bento-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .site-home .bento-ocr { grid-column: 1 / 7; grid-row: 1; }
  .site-home .bento-word { grid-column: 7 / 10; grid-row: 1; }
  .site-home .bento-excel { grid-column: 10 / 13; grid-row: 1; }
  .site-home .bento-markdown { grid-column: 1 / 5; grid-row: 2; }
  .site-home .bento-translate { grid-column: 5 / 9; grid-row: 2; }
  .site-home .bento-ai { grid-column: 9 / 13; grid-row: 2; }
  .site-home .bento-secure { grid-column: 1 / 13; grid-row: 3; }
}

@media (max-width: 767px) {
  :root {
    --site-nav-height: 64px;
  }

  .home-hero {
    min-height: 100svh;
    padding: calc(var(--site-nav-height) + 54px) 20px 82px;
  }

  body.site-frosted [data-session-link] {
    min-width: 0;
  }

  .home-hero__content {
    transform: translateY(-8px);
  }

  .home-hero__title {
    font-size: clamp(42px, 11vw, 58px);
    line-height: 1.04;
  }

}

@media (max-width: 1023px) {
  .site-auth .auth-main {
    padding: 28px 20px 36px;
  }

  .site-auth--primary .auth-shell {
    grid-template-areas:
      "mobile-story"
      "form";
    width: min(560px, 100%);
    min-height: 0;
    padding: 0;
    gap: 16px;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-auth .auth-story {
    display: none !important;
  }

  .site-auth .auth-form-pane {
    padding: 0 !important;
  }

  .site-auth main .auth-card {
    padding: 30px !important;
    border-radius: 24px !important;
    box-shadow: var(--site-shadow) !important;
  }
}

@media (max-width: 540px) {
  .home-demo {
    padding: 48px 0;
  }

  .home-demo__intro {
    margin-bottom: 22px;
  }

  .home-demo__kicker {
    margin-bottom: 9px;
    font-size: 11px;
  }

  .home-demo__intro h2 {
    font-size: clamp(34px, 10.4vw, 42px);
  }

  .home-demo__lead {
    margin-top: 11px;
    font-size: 15px;
    line-height: 1.5;
  }

  .home-demo__idle {
    padding: 18px 16px !important;
  }

  .home-demo #demo-dropzone {
    padding: 18px 12px !important;
  }

  .home-demo__settings {
    gap: 12px !important;
  }

  .home-demo__settings .grid-cols-3 {
    gap: 6px !important;
  }

  .home-demo__settings .demo-toggle > div,
  .home-demo__settings .demo-toggle-orange > div {
    padding-right: 6px !important;
    padding-left: 6px !important;
    font-size: 12px !important;
  }

  .home-demo__trust {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px !important;
  }

  .home-demo__trust > div {
    justify-content: center;
    padding: 6px 5px !important;
    text-align: center;
  }

  .site-auth .auth-nav__shell {
    width: calc(100% - 16px);
  }

  .site-auth .auth-nav__bar {
    min-height: 58px;
    padding: 7px 9px 7px 10px;
    border-radius: 15px;
  }

  .site-auth .auth-nav__brand img {
    width: 32px;
    height: 32px;
  }

  .site-auth .auth-nav__brand .text-xl {
    font-size: 16px;
  }

  body.site-auth nav .auth-nav__back,
  body.site-auth nav a.auth-nav__back[href="/auth"] {
    padding-inline: 7px;
    font-size: 12px;
  }

  .site-auth .auth-main,
  .site-auth .auth-utility-main {
    padding: 18px 12px 28px;
  }

  .site-auth .auth-mobile-story {
    padding: 15px 16px !important;
    border-radius: 18px;
  }

  .site-auth .auth-mobile-story .text-xl {
    font-size: 17px;
    line-height: 1.25;
  }

  .site-auth .auth-mobile-story .text-sm {
    font-size: 13px;
  }

  .site-auth main .auth-card {
    padding: 22px !important;
    border-radius: 22px !important;
  }

  .site-auth .auth-card h1,
  .site-auth .auth-card h2 {
    font-size: 24px;
  }

  .site-auth .auth-credit-note {
    width: 100%;
    justify-content: center;
  }

  body.site-auth > .auth-footer,
  body.site-app > footer {
    padding: 14px 12px !important;
  }

  body.site-auth.site-auth--has-support > .auth-footer {
    padding-right: 84px !important;
  }

  .site-auth .support-whatsapp {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
  }

  .site-auth--has-support .auth-utility-main {
    padding-bottom: 92px;
  }

  .home-structure {
    padding: 68px 0;
  }

  .home-structure__inner {
    width: calc(100% - 32px);
  }

  .home-structure__kicker {
    margin-bottom: 15px;
    font-size: 11px;
  }

  .home-structure__intro h2 {
    font-size: clamp(34px, 10.6vw, 44px);
    line-height: 1.04;
  }

  .home-structure__lead {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.68;
  }

  .home-structure__engine {
    margin-top: 40px;
  }

  .home-structure__rail {
    padding: 14px;
    border-radius: 22px;
  }

  .home-structure__stage {
    padding: 18px 14px;
  }

  .home-structure__stage--understand {
    padding: 22px 16px;
    border-radius: 18px;
  }

  .home-structure__stage-visual {
    min-height: 132px;
    padding: 15px 0;
  }

  .home-structure__raw-sheet {
    width: min(140px, 100%);
    min-height: 104px;
    padding: 22px 12px 14px;
  }

  .home-structure__raw-sheet > span {
    bottom: -14px;
    font-size: 64px;
  }

  .home-structure__lattice {
    width: min(150px, 100%);
    min-height: 120px;
  }

  .home-structure__lattice-heading,
  .home-structure__lattice-line {
    left: 12px;
  }

  .home-structure__lattice-heading { width: 46px; }
  .home-structure__lattice-line { width: 70px; }
  .home-structure__lattice-line--short { width: 50px; }

  .home-structure__lattice-table {
    bottom: 12px;
    left: 12px;
    width: 68px;
    height: 48px;
  }

  .home-structure__lattice-order {
    right: 12px;
    bottom: 15px;
    width: 24px;
    height: 44px;
  }

  .home-structure__outputs {
    gap: 5px;
  }

  .home-structure__outputs > span {
    min-height: 84px;
    padding: 10px 5px;
  }

  .home-structure__outputs b {
    padding-inline: 4px;
    font-size: 10px;
  }

  .home-structure__outputs i {
    margin-top: 10px;
  }

  .home-structure__stage-copy h3 {
    font-size: 18px;
  }

  .home-structure__stage-copy p {
    font-size: 13px;
  }

  .home-structure__connector > span {
    max-width: calc(100% - 24px);
    font-size: 10px;
  }

  .home-structure__proof {
    margin-top: 24px;
    font-size: 13px;
  }

  .home-hero {
    padding-right: 18px;
    padding-left: 18px;
  }

  .home-hero__eyebrow {
    max-width: calc(100vw - 32px);
    margin-bottom: 22px;
    gap: 7px;
    padding: 8px 10px;
    font-size: clamp(10px, 3.35vw, 11px);
    letter-spacing: -.012em;
    white-space: nowrap;
  }

  .home-hero__mark {
    width: 14px;
    height: 14px;
  }

  .home-hero__title {
    font-size: clamp(38px, 12vw, 50px);
    letter-spacing: -.04em;
  }

  .home-hero__support {
    margin-top: 22px;
  }

  .home-hero__action {
    margin-top: 28px;
  }

  .home-hero__cta {
    width: min(100%, 318px);
    min-height: 58px;
    padding-right: 20px;
    padding-left: 20px;
    font-size: 16px;
  }

  .home-hero__microcopy {
    max-width: 330px;
    font-size: 13px;
  }
}

@media (max-height: 720px) and (min-width: 781px) {
  .home-hero {
    padding-top: calc(var(--site-nav-height) + 42px);
    padding-bottom: 58px;
  }

  .home-hero__eyebrow { margin-bottom: 18px; }
  .home-hero__title { font-size: clamp(44px, 7vh, 60px); }
  .home-hero__support { margin-top: 18px; }
  .home-hero__action { margin-top: 24px; }
  .home-hero__microcopy { margin-top: 11px; }
  .home-scroll-cue { bottom: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-scroll-cue svg {
    animation: none !important;
  }

  .site-auth .spinner,
  .site-auth .auth-skip-link,
  .site-auth .auth-primary-action,
  .site-auth .auth-secondary-action,
  .site-auth .auth-text-action,
  .site-auth .support-whatsapp,
  .site-auth .auth-story .float-doc,
  .site-auth .auth-story .float-doc-2,
  .site-auth .auth-story .scan-line,
  .site-auth .auth-story .pulse-glow,
  .site-utility .doc-float,
  .site-utility .scan-line {
    animation: none !important;
    transition: none !important;
  }

  .site-auth .support-whatsapp:hover {
    transform: none !important;
  }

  .site-auth .step-panel {
    animation: none !important;
    transition: none !important;
  }

  .site-utility .doc-float,
  .site-utility .scan-line {
    opacity: 0 !important;
  }
}

@media (forced-colors: active) {
  .site-auth .auth-nav__bar,
  .site-auth .auth-card,
  .site-auth .auth-email-summary,
  .site-auth .auth-credit-note,
  .site-auth .auth-alert,
  .site-auth .auth-status-icon,
  .site-auth input,
  .site-auth .auth-primary-action,
  .site-auth .auth-secondary-action {
    border: 1px solid CanvasText !important;
    background: Canvas !important;
    box-shadow: none !important;
    color: CanvasText !important;
  }

  .site-auth .auth-story,
  .site-auth .auth-mobile-story,
  .site-auth .auth-story__diagram,
  .site-auth .auth-story__diagram + .text-center + .flex > span {
    border: 1px solid CanvasText !important;
    background: Canvas !important;
    box-shadow: none !important;
    color: CanvasText !important;
  }

  .home-hero::before,
  .home-hero::after {
    display: none;
  }
}

/* Per-conversion detected-image setting shared by demo and Dashboard. */
.detected-images-control {
  position: relative;
  width: 100%;
  color: #243446;
}

.detected-images-row {
  display: flex;
  min-height: 50px;
  align-items: center;
  gap: 8px;
  padding: 2px 12px;
  border: 1px solid #dbe3ec;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.detected-images-label {
  min-width: 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.detected-images-info {
  position: relative;
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #52627a;
  cursor: pointer;
  font: 700 14px/1 Georgia, serif;
}

.detected-images-info::before {
  position: absolute;
  inset: 9px;
  border: 1px solid #9aabc0;
  border-radius: 999px;
  background: transparent;
  content: '';
}

.detected-images-info:hover,
.detected-images-info:focus-visible {
  color: #1d4ed8;
  outline: 2px solid transparent;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.detected-images-info:hover::before,
.detected-images-info:focus-visible::before {
  border-color: #2563eb;
}

.detected-images-switch {
  position: relative;
  width: 46px;
  height: 26px;
  flex: 0 0 46px;
  margin-left: auto;
  cursor: pointer;
}

.detected-images-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.detected-images-switch span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #9aa8b8;
  transition: background-color 160ms ease;
}

.detected-images-switch span::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(13, 27, 36, 0.28);
  content: '';
  transition: transform 160ms ease;
}

.detected-images-switch input:checked + span {
  background: #2563eb;
}

.detected-images-switch input:checked + span::after {
  transform: translateX(20px);
}

.detected-images-switch input:focus-visible + span {
  outline: 3px solid rgba(37, 99, 235, 0.28);
  outline-offset: 2px;
}

.detected-images-switch input:disabled + span {
  cursor: wait;
  opacity: 0.58;
}

.detected-images-tooltip {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  width: min(360px, 100%);
  padding: 10px 12px;
  border-radius: 10px;
  background: #162433;
  color: #fff;
  box-shadow: 0 12px 28px rgba(13, 27, 36, 0.24);
  font-size: 13px;
  line-height: 1.45;
}

.detected-images-tooltip[hidden] {
  display: none;
}

@media (max-width: 360px) {
  .detected-images-row { padding-inline: 10px; }
  .detected-images-label { font-size: 13px; }
}

/* REQ-117: trusted Weaverbird homepage visual system */
body.site-home {
  --site-ink: #142f4f;
  --site-navy: #142f4f;
  --site-blue: #2f66a0;
  --site-blue-deep: #1f4d7b;
  --site-orange: #f97316;
  --site-orange-dark: #c6530d;
  --site-muted: #58708a;
  --site-soft-text: #6b7f94;
  --site-line: #d9e0e5;
  --site-line-soft: #e8e5de;
  --site-field: #f7f3ec;
  --site-frost-a: #fbf8f1;
  --site-frost-b: #f5f0e7;
  --site-shadow: 0 14px 34px rgba(20, 47, 79, .08);
  --site-shadow-raised: 0 24px 64px rgba(20, 47, 79, .13);
  --home-frame-max: 1280px;
  --home-panel-max: 1240px;
  --home-gutter: clamp(16px, 2.2vw, 32px);
  min-width: 0;
  overflow-x: clip;
  color: var(--site-ink);
}

body.site-home::before {
  background:
    radial-gradient(circle at 9% 15%, rgba(249, 115, 22, .08), transparent 25%),
    radial-gradient(circle at 88% 26%, rgba(47, 102, 160, .08), transparent 30%),
    linear-gradient(180deg, #fbf8f1 0%, #fcfaf5 54%, #f7f3ec 100%);
}

body.site-home::after {
  opacity: .2;
  background:
    linear-gradient(rgba(20, 47, 79, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 47, 79, .028) 1px, transparent 1px),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
  background-size: 72px 72px, 72px 72px, 220px 220px;
  mix-blend-mode: multiply;
}

.site-home main {
  overflow: clip;
}

.site-home .home-frame {
  width: min(var(--home-frame-max), calc(100% - var(--home-gutter) - var(--home-gutter)));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-home section[id],
.site-home .home-anchor-alias {
  scroll-margin-top: 108px;
}

.site-home .home-anchor-alias {
  position: absolute;
  inset: 0 auto auto 0;
}

.site-home .home-skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 100;
  min-height: 44px;
  padding: 12px 18px;
  border: 2px solid var(--site-ink);
  border-radius: 10px;
  color: #fff;
  background: var(--site-ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform .18s ease;
}

.site-home .home-skip-link:focus {
  transform: translateY(0);
}

body.site-home #navbar.home-nav {
  padding-top: max(16px, env(safe-area-inset-top));
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.site-home .home-nav__shell {
  padding: 0 !important;
}

.site-home .home-nav__bar {
  min-height: 62px;
  height: auto;
  padding: 8px 12px 8px 16px;
  border: 1px solid rgba(255, 255, 255, .88);
  border-radius: 18px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 13px 38px rgba(20, 47, 79, .11), inset 0 0 0 1px rgba(20, 47, 79, .035);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
}

.site-home .home-nav__brand {
  min-height: 44px;
  color: var(--site-ink);
  text-decoration: none;
}

.site-home .home-nav__brand img {
  width: 34px;
  height: 34px;
  box-shadow: 0 5px 14px rgba(20, 47, 79, .16);
}

.site-home .home-nav__brand .text-xl {
  font-size: 17px;
  letter-spacing: -.025em;
}

.site-home .home-nav__brand .text-xs {
  display: none !important;
}

.site-home .home-nav__links {
  gap: clamp(18px, 2vw, 28px);
}

.site-home .home-nav__links > a:not(.home-nav__session-link):not(.home-nav__demo-link) {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #40556d !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.site-home .home-nav__links > a:not(.home-nav__session-link):not(.home-nav__demo-link):hover {
  color: var(--site-ink) !important;
}

.site-home .home-nav__links > [data-home-section-link]:not(.home-nav__demo-link)::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--site-orange);
  content: "";
  opacity: 0;
  transform: scaleX(.35);
  transition: opacity .18s ease, transform .18s ease;
}

.site-home .home-nav__links > [data-home-section-link].is-current-section:not(.home-nav__demo-link) {
  color: var(--site-blue-deep) !important;
}

.site-home .home-nav__links > [data-home-section-link].is-current-section:not(.home-nav__demo-link)::after {
  opacity: 1;
  transform: scaleX(1);
}

body.site-home nav .home-nav__demo-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid rgba(47, 102, 160, .14);
  border-radius: 10px !important;
  color: var(--site-blue-deep) !important;
  background: #f1f5f8 !important;
  font-size: 13px;
}

body.site-home nav .home-nav__demo-link.is-current-section {
  border-color: rgba(249, 115, 22, .5);
  color: var(--site-orange-dark) !important;
  background: #fff7ed !important;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, .12);
}

body.site-home nav .home-nav__session-link {
  min-width: 0;
  min-height: 44px;
  padding: 10px 17px;
  border-radius: 11px !important;
  background: var(--site-ink) !important;
  box-shadow: 0 8px 19px rgba(20, 47, 79, .18);
  font-size: 13px;
}

.site-home .home-nav__menu-button {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  color: var(--site-ink);
}

.site-home .home-nav__mobile {
  margin-top: 8px;
  border: 1px solid rgba(20, 47, 79, .08);
  border-radius: 16px;
  background: rgba(255, 255, 255, .98) !important;
  box-shadow: 0 18px 42px rgba(20, 47, 79, .14);
}

.site-home .home-nav__mobile-links {
  padding: 12px !important;
  border: 0 !important;
}

.site-home .home-nav__mobile-links > a {
  min-height: 44px;
  padding: 12px !important;
  border-radius: 9px;
}

.site-home .home-nav__mobile-links > [data-home-section-link].is-current-section {
  color: var(--site-blue-deep) !important;
  background: #eef4fa !important;
  box-shadow: inset 3px 0 0 var(--site-orange);
}

.site-home #hero.home-hero {
  display: block;
  min-height: 0;
  overflow: visible;
  padding: 138px 0 54px;
  border: 0;
  box-shadow: none;
}

.site-home .home-hero__shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  align-items: center;
  gap: clamp(54px, 6vw, 88px);
}

.site-home .home-hero__content {
  width: 100%;
  align-items: flex-start;
  text-align: left;
}

.site-home .home-hero__eyebrow {
  min-height: 32px;
  gap: 10px;
  margin-bottom: 24px;
  padding: 0;
  border: 0;
  color: var(--site-blue-deep);
  background: transparent;
  box-shadow: none;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.site-home .home-hero__mark {
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 7px;
  color: var(--site-blue);
  background: rgba(47, 102, 160, .1);
}

.site-home .home-hero__mark-cell:last-child {
  color: var(--site-orange);
}

.site-home .home-hero__title {
  max-width: 680px;
  color: #0d233b;
  font-family: "Inter", sans-serif;
  font-size: clamp(48px, 4.05vw, 64px);
  font-weight: 750;
  letter-spacing: -.047em;
  line-height: 1.055;
  text-wrap: balance;
}

.site-home .home-hero__support {
  max-width: 610px;
  margin-top: 26px;
  color: #526a82;
  font-size: 18px;
  line-height: 1.48;
}

.site-home .home-hero__support strong {
  color: var(--site-ink);
  text-decoration: none;
}

.site-home .home-hero__action {
  width: auto;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px 24px;
  margin-top: 30px;
}

.site-home .home-hero__cta {
  min-height: 52px;
  padding: 13px 21px;
  border-radius: 11px;
  background: var(--site-orange);
  box-shadow: 0 12px 26px rgba(249, 115, 22, .22);
  font-size: 14px;
}

.site-home .home-hero__cta:hover {
  background: #e9630d;
  box-shadow: 0 16px 32px rgba(249, 115, 22, .28);
}

.site-home .home-hero__cta svg {
  width: 18px;
  height: 18px;
  color: #fff;
}

.site-home .home-hero__secondary {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 8px;
  color: var(--site-ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.site-home .home-hero__secondary span {
  color: var(--site-orange);
  transition: transform .18s ease;
}

.site-home .home-hero__secondary:hover span {
  transform: translateX(3px);
}

.site-home .home-hero__microcopy {
  display: flex;
  width: max-content;
  max-width: none;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 17px;
  color: #526a82;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.site-home .home-hero__microcopy span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.site-home .home-hero__microcopy span::before {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--site-orange);
  content: "";
}

.site-home .home-hero__visual {
  position: relative;
  width: min(100%, 520px);
  justify-self: end;
  min-width: 0;
  padding: 0;
}

.site-home .home-hero__orbit {
  position: absolute;
  inset: 12% -12% 8% 8%;
  z-index: -1;
  border: 1px solid rgba(47, 102, 160, .15);
  border-radius: 50%;
  transform: rotate(-5deg);
}

.site-home .home-hero__artwork {
  position: relative;
  aspect-ratio: 1122 / 1402;
  overflow: hidden;
  isolation: isolate;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .92);
  border-radius: 34px;
  background: #f7f2e9;
  box-shadow: 0 32px 70px rgba(20, 47, 79, .15), inset 0 0 0 1px rgba(20, 47, 79, .035);
}

.site-home .home-hero__artwork img {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-home .home-hero__picture {
  display: block;
  width: 100%;
  height: 100%;
}

.site-home .home-hero__output-formats {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
  display: flex;
  gap: 8px;
}

.site-home .home-hero__output-format {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(20, 47, 79, .1);
  border-radius: 11px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 24px rgba(20, 47, 79, .12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.site-home .home-hero__output-format svg {
  display: block;
  width: 27px;
  height: 27px;
}

.site-home .home-principle {
  position: absolute;
  right: -12px;
  bottom: 18px;
  display: flex;
  width: min(340px, 72%);
  min-height: 78px;
  align-items: center;
  gap: 13px;
  padding: 12px 16px;
  border: 1px solid rgba(20, 47, 79, .08);
  border-radius: 15px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 17px 38px rgba(20, 47, 79, .16);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.site-home .home-principle__mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
}

.site-home .home-principle > span {
  display: grid;
  gap: 3px;
  color: var(--site-ink);
  font-size: 13px;
  line-height: 1.25;
}

.site-home .home-principle small {
  color: #526a82;
  font-size: 12px;
  line-height: 1.35;
}

.site-home .home-scroll-cue {
  display: none;
}

.site-home .home-capabilities {
  margin: 0 auto 88px;
  border: 1px solid rgba(20, 47, 79, .12);
  border-radius: 20px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 18px 42px rgba(20, 47, 79, .075);
}

.site-home .home-capabilities ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 17px 24px;
  list-style: none;
}

.site-home .home-capabilities li {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 5px 30px;
  color: #60758b;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
}

.site-home .home-capabilities li + li {
  border-left: 1px solid rgba(20, 47, 79, .12);
}

.site-home .home-capabilities strong {
  color: var(--site-ink);
  font-size: 14px;
  font-weight: 800;
}

.site-home .home-capabilities__icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  border: 1px solid rgba(47, 102, 160, .08);
  border-radius: 12px;
  color: var(--site-blue);
  background: rgba(47, 102, 160, .09);
}

.site-home .home-capabilities__icon svg {
  width: 27px;
  height: 27px;
}

.site-home .home-capabilities__icon--output {
  color: #23996e;
  background: rgba(35, 153, 110, .1);
}

.site-home .home-capabilities__copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.site-home .home-capabilities__copy small {
  color: #5d7288;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.site-home #how-it-works.home-story {
  overflow: visible;
  padding-block: 118px;
  border: 0;
  background: #fffdf9 !important;
}

.site-home #how-it-works.home-story::before {
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 10%, rgba(47, 102, 160, .035) 10% calc(10% + 1px), transparent calc(10% + 1px)),
    radial-gradient(circle at 88% 12%, rgba(47, 102, 160, .07), transparent 27%);
}

.site-home .home-story__inner {
  width: min(1240px, calc(100% - 40px));
}

.site-home .home-story .home-structure__intro {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, .85fr) minmax(320px, .65fr);
  align-items: end;
  gap: 80px;
  margin: 0 0 52px;
  text-align: left;
}

.site-home .home-story .home-structure__kicker {
  gap: 11px;
  margin-bottom: 14px;
  color: var(--site-blue);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .15em;
}

.site-home .home-story .home-structure__kicker-mark {
  width: auto;
  height: auto;
  flex: 0 0 auto;
  grid-template-columns: repeat(2, 6px);
  padding: 6px;
  gap: 3px;
  border-radius: 7px;
  background: rgba(47, 102, 160, .09);
}

.site-home .home-story .home-structure__kicker-mark i {
  width: 6px;
  height: 6px;
  background: var(--site-blue);
}

.site-home .home-story .home-structure__kicker-mark i:last-child {
  background: var(--site-orange);
}

.site-home #how-it-works.home-story .home-structure__intro h2 {
  max-width: none;
  color: #0d233b !important;
  font-size: clamp(2.3rem, 4vw, 3.75rem) !important;
  font-weight: 620;
  letter-spacing: -.045em;
  line-height: 1.04;
}

.site-home #how-it-works.home-story .home-structure__intro h2 span {
  display: block;
  color: #0d233b;
}

.site-home .home-story__steps {
  margin: 0;
}

.site-home .home-story .home-structure__rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.site-home .home-story .home-structure__stage {
  position: relative;
  display: flex;
  overflow: hidden;
  min-width: 0;
  min-height: 310px;
  width: auto;
  margin: 0;
  flex-direction: column;
  align-items: stretch;
  padding: 30px;
  border: 1px solid rgba(20, 47, 79, .14);
  border-radius: 25px;
  background: rgba(255, 254, 251, .78);
  box-shadow: 0 16px 50px rgba(20, 47, 79, .055);
}

.site-home .home-story .home-structure__stage::before {
  content: none;
}

.site-home .home-story .home-structure__stage-heading {
  min-height: 38px;
  justify-content: flex-start;
}

.site-home .home-story .home-structure__stage-heading span {
  min-width: 38px;
  min-height: 38px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: #142f4f;
  font-size: .82rem;
  letter-spacing: 0;
}

.site-home .home-story .home-structure__stage--understand .home-structure__stage-heading span {
  color: #fff;
  background: #3473b3;
}

.site-home .home-story .home-structure__stage--rebuild .home-structure__stage-heading span {
  color: #fff;
  background: var(--site-orange);
}

.site-home .home-story .home-structure__thread {
  position: absolute;
  top: 55px;
  right: -20px;
  width: 145px;
  height: 90px;
  border-top: 2px solid rgba(249, 115, 22, .65);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.site-home .home-story .home-structure__thread::after {
  position: absolute;
  top: 18px;
  right: 4px;
  width: 120px;
  height: 60px;
  border-top: 2px solid rgba(47, 102, 160, .45);
  border-radius: 50%;
  content: "";
}

.site-home .home-story .home-structure__stage-copy {
  margin-top: 62px;
}

.site-home .home-story .home-structure__stage-copy h3 {
  color: var(--site-ink) !important;
  font-size: 1.65rem;
  letter-spacing: -.035em;
}

.site-home .home-story .home-structure__stage-copy p {
  max-width: 32ch;
  margin-top: 10px;
  color: #61758a;
  font-size: .92rem;
  line-height: 1.68;
}

.site-home #try-free.home-demo {
  width: min(var(--home-panel-max), calc(100% - var(--home-gutter) - var(--home-gutter)));
  margin: clamp(70px, 8vw, 104px) auto;
  padding: clamp(32px, 5vw, 58px);
  border: 0;
  border-radius: 30px;
  background: #102c4b !important;
  box-shadow: 0 32px 76px rgba(20, 47, 79, .18);
}

.site-home #try-free.home-demo::before {
  background:
    radial-gradient(circle at 12% 4%, rgba(47, 102, 160, .45), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, .035), transparent 56%);
}

.site-home .home-demo__inner {
  display: grid;
  grid-template-columns: minmax(250px, .68fr) minmax(0, 1.32fr);
  align-items: start;
  gap: clamp(34px, 5vw, 64px);
}

.site-home .home-demo__product-column {
  min-width: 0;
}

.site-home .home-demo__intro {
  position: sticky;
  top: 118px;
  max-width: 390px;
  margin: 18px 0 0;
  text-align: left;
}

.site-home .home-demo__kicker {
  color: #f9b173;
}

body.site-home #try-free .home-demo__intro h2 {
  margin: 0;
  color: #fff !important;
  font-size: clamp(36px, 4vw, 54px);
  letter-spacing: -.046em;
  line-height: 1.04;
}

.site-home .home-demo__lead {
  margin: 20px 0 0;
  color: #bfd0e1;
  font-size: 15px;
  line-height: 1.68;
}

.site-home .home-demo #demo-counter {
  color: #fff !important;
  background: rgba(255, 255, 255, .1) !important;
  border-color: rgba(255, 255, 255, .18) !important;
}

.site-home #try-free .home-demo__product {
  width: 100%;
  margin: 0;
  border: 1px solid rgba(20, 47, 79, .08) !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: 0 24px 58px rgba(4, 18, 31, .24) !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.site-home #try-free .home-demo__product:hover {
  box-shadow: 0 24px 58px rgba(4, 18, 31, .24) !important;
}

.site-home .home-demo__idle {
  padding: clamp(22px, 3vw, 32px) !important;
}

.site-home .home-demo #demo-dropzone {
  border-color: rgba(47, 102, 160, .22) !important;
  background: #f8fafb;
}

.site-home .home-demo__upload-icon {
  border-color: #dce5ed;
  background: #fff !important;
}

.site-home .home-demo #demo-convert-btn:not(:disabled) {
  background: var(--site-orange) !important;
  box-shadow: 0 12px 24px rgba(249, 115, 22, .22);
}

.site-home .home-demo #demo-convert-btn:not(:disabled):hover {
  background: #e9630d !important;
  box-shadow: 0 16px 30px rgba(249, 115, 22, .28);
}

.site-home .home-demo__trust {
  color: #17324f !important;
  font-size: 14px !important;
  font-weight: 700;
  line-height: 1.35;
}

.site-home .home-demo__trust > div {
  border: 1px solid rgba(20, 47, 79, .1);
  color: #17324f;
  background: #f8fafc !important;
  box-shadow: 0 6px 18px rgba(4, 18, 31, .1);
}

.site-home .home-demo__trust svg {
  color: #17324f !important;
}

.site-home #pricing,
.site-home #features,
.site-home .site-testimonials,
.site-home .site-support,
.site-home #faq {
  border-color: rgba(20, 47, 79, .08) !important;
}

.site-home #pricing {
  background: #fffdf9 !important;
}

.site-home #features {
  background: #f6f2ea !important;
}

.site-home .site-testimonials {
  background: #fffdf9 !important;
}

.site-home .site-support {
  background: #fffdf9 !important;
}

.site-home .site-support__card {
  position: relative;
  width: min(100%, 760px);
  margin-inline: auto;
  padding: clamp(32px, 4vw, 44px);
  overflow: hidden;
  border: 1px solid #dedbd3;
  border-radius: 24px;
  background: linear-gradient(180deg, #fff 0%, #fffdf9 100%);
  box-shadow: 0 18px 44px rgba(20, 47, 79, .08), inset 0 1px 0 rgba(255, 255, 255, .96);
}

.site-home .site-support__card::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 56px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: var(--site-orange);
  content: "";
  transform: translateX(-50%);
}

.site-home .site-support__copy {
  color: var(--site-muted) !important;
  line-height: 1.6;
}

.site-home .site-support__action {
  min-height: 48px;
  justify-content: center;
  border: 1px solid transparent;
  text-decoration: none;
  transform: none;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.site-home .site-support__action:hover {
  transform: translateY(-1px) !important;
}

.site-home .site-support__action svg {
  flex: 0 0 auto;
}

.site-home .site-support__label--compact {
  display: none;
}

.site-home #faq {
  background: #f6f2ea !important;
}

.site-home [data-pricing-card],
.site-home #features .rounded-2xl,
.site-home .site-testimonials .rounded-2xl,
.site-home .site-support__card,
.site-home .faq-item {
  border-color: #e5e2da !important;
  box-shadow: 0 14px 34px rgba(20, 47, 79, .07) !important;
}

.site-home [data-pricing-card] {
  border-radius: 22px !important;
}

.site-home [data-pricing-card]:first-of-type {
  background: var(--site-ink) !important;
}

/* Homepage pricing: one shell, one divider, one inset purchase card. */
.site-home #pricing > div > .text-center > .text-brand {
  color: #c2410c !important;
}

.site-home .home-pricing-shell {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(30, 58, 95, .2);
  border-radius: 24px;
  background: #fbf8f1;
  box-shadow: 0 18px 44px rgba(20, 47, 79, .1);
}

.site-home .home-pricing-shell > .home-pricing-info {
  min-width: 0;
  height: 100%;
  margin: 0;
  border: 0 !important;
  border-right: 1px solid rgba(30, 58, 95, .24) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.site-home .home-pricing-shell > .home-pricing-purchase {
  align-self: start;
  justify-self: center;
  width: calc(100% - 48px);
  max-width: 470px;
  min-width: 0;
  margin: 24px auto;
  border-color: rgba(30, 58, 95, .18) !important;
  background: #fffdf9 !important;
  box-shadow: 0 12px 30px rgba(20, 47, 79, .09) !important;
}

.site-home .home-pricing-info > p:first-child,
.site-home .home-pricing-purchase > div:first-of-type > span,
.site-home .home-pricing-purchase #page-credit-minimum,
.site-home .home-pricing-purchase #page-credit-picker > .my-5 {
  font-size: 12px !important;
  line-height: 1rem;
}

.site-home .home-pricing-purchase #page-credit-picker-description,
.site-home .home-pricing-purchase #exact-page-credit-helper,
.site-home .home-pricing-purchase #exact-page-credit-error,
.site-home .home-pricing-purchase #buy-page-credits + p,
.site-home .home-pricing-purchase #region-price-confirmation-copy {
  font-size: 14px !important;
  line-height: 1.4;
}

.site-home .home-pricing-purchase #page-credit-picker > .my-5 {
  color: #526277 !important;
}

.site-home .home-pricing-purchase .text-slate-500,
.site-home .home-pricing-purchase .text-slate-400 {
  color: #526277 !important;
}

.site-home .home-pricing-info strong,
.site-home .home-pricing-purchase #purchase-total,
.site-home .home-pricing-purchase #purchase-quantity-summary,
.site-home .home-pricing-purchase #purchase-rate,
.site-home .home-pricing-purchase #page-credit-quantity,
.site-home .home-pricing-purchase #exact-page-credit-quantity,
.site-home .home-pricing-purchase .page-credit-preset-quantity,
.site-home .home-pricing-purchase .page-credit-preset-price {
  font-variant-numeric: tabular-nums;
}

@media (min-width: 769px) and (min-height: 761px) {
  .site-home .home-pricing-purchase .page-credit-picker:not([hidden]) {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: none;
    max-height: none;
    margin-top: 12px;
    transform: none;
  }
}

@media (max-width: 768px), (max-height: 760px) {
  .site-home .home-pricing-purchase .page-credit-picker:not([hidden]) {
    width: min(calc(100% - 16px), 26rem);
  }
}

@media (max-width: 1023.98px) {
  .site-home .home-pricing-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-home .home-pricing-shell > .home-pricing-info {
    height: auto;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(30, 58, 95, .24) !important;
  }

  .site-home .home-pricing-shell > .home-pricing-purchase {
    width: min(470px, calc(100% - 24px));
    margin: 12px auto;
  }
}

.site-home .faq-item {
  background: #fffdf9 !important;
}

.site-home .faq-item > button {
  min-height: 58px;
}

body.site-home > footer {
  border-top: 4px solid var(--site-orange);
  background: #0d233b !important;
}

body.site-home > footer a:focus-visible,
body.site-home > footer button:focus-visible {
  outline-color: #fff;
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-home .home-nav__bar,
  .site-home .home-hero__output-format,
  .site-home .home-principle,
  .site-home .home-nav__mobile {
    background: #fff !important;
  }
}

@media (max-width: 1050px) {
  .site-home .home-nav__links {
    display: none !important;
  }

  .site-home .home-nav__menu-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  .site-home .home-nav__mobile {
    display: block !important;
  }

  .site-home .home-hero__shell {
    grid-template-columns: minmax(0, 1fr) clamp(250px, 36vw, 360px);
    gap: clamp(24px, 3.2vw, 36px);
  }

  .site-home .home-hero__title {
    font-size: clamp(48px, 6.6vw, 66px);
  }

  .site-home .home-hero__content {
    max-width: 680px;
  }

  .site-home .home-hero__microcopy {
    width: auto;
    max-width: 100%;
    flex-wrap: wrap;
    white-space: normal;
  }

  .site-home .home-hero__visual {
    width: 100%;
    justify-self: end;
  }

  .site-home .home-principle {
    right: 18px;
  }

  .site-home .home-story .home-structure__intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

  .site-home .home-story .home-structure__rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-home .home-story .home-structure__stage--rebuild {
    grid-column: 1 / -1;
  }

  .site-home .home-demo__inner {
    grid-template-columns: 1fr;
  }

  .site-home .home-demo__intro {
    position: static;
    max-width: 700px;
    margin: 0;
  }

}

@media (min-width: 1051px) {
  .site-home .home-nav__links {
    display: flex !important;
  }

  .site-home .home-nav__menu-button,
  .site-home .home-nav__mobile {
    display: none !important;
  }
}

@media (max-width: 820px) {
  .site-home #hero.home-hero {
    padding-top: 124px;
    padding-bottom: 64px;
  }

  .site-home .home-hero__content {
    max-width: 650px;
  }

  .site-home .home-principle {
    right: 14px;
  }

  .site-home .home-capabilities {
    margin-bottom: 64px;
  }

  .site-home .home-capabilities ul {
    grid-template-columns: 1fr;
    padding: 8px 18px;
  }

  .site-home .home-capabilities li {
    justify-content: flex-start;
    padding: 13px 10px;
  }

  .site-home .home-capabilities li + li {
    border-top: 1px solid rgba(20, 47, 79, .1);
    border-left: 0;
  }

  .site-home .home-story .home-structure__rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-home .home-story .home-structure__stage--rebuild {
    grid-column: 1 / -1;
  }

  .site-home #try-free.home-demo {
    border-radius: 24px;
  }
}

@media (max-width: 720px) {
  .site-home .home-hero__shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .site-home .home-hero__visual {
    width: min(100%, 620px);
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .site-home .home-nav__bar {
    min-height: 58px;
    padding: 6px 7px 6px 12px;
    border-radius: 15px;
  }

  .site-home #hero.home-hero {
    padding: 112px 0 54px;
  }

  .site-home .home-hero__eyebrow {
    margin-bottom: 18px;
    font-size: 10px;
    letter-spacing: .12em;
  }

  .site-home .home-hero__title {
    font-size: clamp(42px, 13.6vw, 58px);
    line-height: 1;
  }

  .site-home .home-hero__support {
    margin-top: 22px;
    font-size: 16px;
  }

  .site-home .home-hero__action {
    width: 100%;
    align-items: stretch;
    gap: 7px;
  }

  .site-home .home-hero__cta,
  .site-home .home-hero__secondary {
    width: 100%;
    justify-content: center;
  }

  .site-home .home-hero__secondary {
    min-height: 48px;
  }

  .site-home .home-hero__microcopy {
    display: grid;
    gap: 9px;
  }

  .site-home .home-hero__visual {
    width: calc(100% - 8px);
    padding: 0 0 66px;
  }

  .site-home .home-hero__artwork {
    border-radius: 24px;
  }

  .site-home .home-hero__output-formats {
    top: 12px;
    right: 12px;
    gap: 6px;
  }

  .site-home .home-hero__output-format {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }

  .site-home .home-principle {
    right: 8px;
    bottom: 18px;
    width: calc(100% - 16px);
    min-height: 72px;
  }

  .site-home #how-it-works.home-story {
    padding-block: 84px;
  }

  .site-home .home-story__inner {
    width: calc(100% - 24px);
  }

  .site-home .home-story .home-structure__intro {
    gap: 22px;
    margin-bottom: 34px;
  }

  .site-home #how-it-works.home-story .home-structure__intro h2 {
    font-size: clamp(2.3rem, 4vw, 3.75rem) !important;
  }

  .site-home .home-story .home-structure__rail {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-home .home-story .home-structure__stage--rebuild {
    grid-column: auto;
  }

  .site-home .home-story .home-structure__stage {
    padding: 30px;
  }

  .site-home #try-free.home-demo {
    margin-block: 56px;
    padding: 26px 10px 10px;
    border-radius: 20px;
  }

  .site-home .home-demo__inner {
    gap: 25px;
  }

  .site-home .home-demo__intro {
    padding: 0 12px;
  }

  .site-home .home-demo__intro h2 {
    font-size: 36px;
  }

  .site-home #try-free .home-demo__product {
    border-radius: 16px !important;
  }

  .site-home .home-demo__idle {
    padding: 18px 12px !important;
  }

  .site-home .home-demo #demo-dropzone {
    padding-inline: 14px !important;
  }

  .site-home .home-demo__trust {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px !important;
    padding-inline: 8px;
  }

  .site-home .home-demo__trust > div {
    width: 100%;
    justify-content: flex-start;
    padding: 10px 12px !important;
    text-align: left;
  }

  .site-home .site-support__card {
    padding: 28px 18px;
    border-radius: 20px;
  }

  .site-home .site-support__copy {
    max-width: 240px;
    margin-inline: auto;
  }

  .site-home .site-support__actions {
    width: 100%;
    align-items: stretch;
    gap: 12px;
  }

  .site-home .site-support__action {
    width: 100%;
    min-width: 0;
    padding-inline: 16px;
  }

  .site-home .site-support__label--full {
    display: none;
  }

  .site-home .site-support__label--compact {
    display: inline;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-home .home-skip-link,
  .site-home .home-hero__secondary span,
  .site-home .home-hero__cta,
  .site-home .site-support__action {
    animation: none !important;
    transition: none !important;
  }

  .site-home .animate-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (forced-colors: active) {
  .site-home .home-nav__bar,
  .site-home .home-principle,
  .site-home .home-capabilities,
  .site-home .home-story .home-structure__stage,
  .site-home #try-free.home-demo,
  .site-home #try-free .home-demo__product,
  .site-home .site-support__card,
  .site-home .faq-item {
    border: 1px solid CanvasText !important;
    background: Canvas !important;
    box-shadow: none !important;
  }

  .site-home #try-free .home-demo__intro h2,
  .site-home #try-free .home-demo__lead,
  .site-home #try-free .home-demo__kicker,
  .site-home .home-demo__trust {
    color: CanvasText !important;
  }

  .site-home .home-hero__microcopy span::before,
  .site-home .home-story .home-structure__stage::before {
    background: Highlight;
  }

  .site-home .home-pricing-shell,
  .site-home .home-pricing-shell > .home-pricing-purchase,
  .site-home .home-pricing-info > div,
  .site-home .home-pricing-purchase #page-credit-quantity,
  .site-home .home-pricing-purchase #exact-page-credit-quantity,
  .site-home .home-pricing-purchase .page-credit-picker,
  .site-home .home-pricing-purchase .page-credit-preset,
  .site-home .home-pricing-purchase #region-price-confirmation,
  .site-home #payment-success,
  .site-home #payment-error {
    border: 1px solid CanvasText !important;
    background: Canvas !important;
    color: CanvasText !important;
    box-shadow: none !important;
  }

  .site-home .home-pricing-shell > .home-pricing-info {
    border: 0 !important;
    border-right: 1px solid CanvasText !important;
    background: Canvas !important;
    color: CanvasText !important;
  }

  .site-home .home-pricing-purchase button,
  .site-home .home-pricing-purchase input,
  .site-home .home-pricing-purchase [role="dialog"] {
    border-color: ButtonText !important;
  }

  .site-home .home-pricing-purchase :focus-visible,
  .site-home #payment-success :focus-visible,
  .site-home #payment-error :focus-visible {
    outline: 2px solid Highlight !important;
    outline-offset: 3px !important;
  }
}

@media (forced-colors: active) and (max-width: 1023.98px) {
  .site-home .home-pricing-shell > .home-pricing-info {
    border-right: 0 !important;
    border-bottom: 1px solid CanvasText !important;
  }
}
