:root {
  --bg: #f4efe6;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --ink: #182126;
  --muted: #5c6770;
  --line: rgba(24, 33, 38, 0.12);
  --accent: #dd5d36;
  --accent-deep: #b63f1b;
  --teal: #0f7c82;
  --shadow: 0 24px 60px rgba(62, 43, 26, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(15, 124, 130, 0.22), transparent 28%),
    radial-gradient(circle at right 20%, rgba(221, 93, 54, 0.18), transparent 24%),
    linear-gradient(180deg, #f7f2e9 0%, #f0e9dc 100%);
}

button,
input,
select {
  font: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 56px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 28px;
}

.hero-copy,
.hero-card,
.panel {
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  border-radius: 28px;
}

.hero-copy {
  padding: 30px;
}

.eyebrow,
.panel-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--teal);
  margin: 0 0 12px;
}

h1,
h2 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
  margin: 0;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.1rem);
  line-height: 0.96;
  max-width: 12ch;
}

h2 {
  font-size: 1.5rem;
}

.hero-text {
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.6;
  margin: 18px 0 22px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.hero-pills span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  font-size: 0.93rem;
}

.hero-card {
  padding: 24px;
  display: grid;
  gap: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 250, 246, 0.75)),
    var(--surface);
}

.article-hero .hero-copy h1 {
  max-width: 14ch;
}

.metric {
  display: grid;
  gap: 6px;
}

.metric-label {
  color: var(--muted);
  font-size: 0.84rem;
}

.workspace {
  display: grid;
  gap: 24px;
}

.tool-reveal {
  display: grid;
  gap: 24px;
  transform-origin: top center;
  transition:
    opacity 320ms ease,
    transform 320ms ease,
    max-height 420ms ease;
}

.tool-reveal.progressive-hidden {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(18px);
  pointer-events: none;
}

.tool-reveal.progressive-ready {
  opacity: 1;
  max-height: 4200px;
  transform: translateY(0);
}

.section-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding: 14px 18px;
  border-radius: 24px;
}

.section-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
}

.section-brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(145deg, #f8fcff, #dff1ff);
  border: 1px solid rgba(255, 255, 255, 0.9);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}

.section-brand-copy {
  display: grid;
  gap: 2px;
}

.section-brand-copy strong {
  font-size: 0.98rem;
}

.section-brand-copy span {
  color: var(--muted);
  font-size: 0.82rem;
}

.section-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.section-nav a,
.section-topbar-cta,
.hero-button {
  text-decoration: none;
}

.section-topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.section-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88rem;
  transition: background-color 160ms ease, color 160ms ease;
}

.section-nav a:hover {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.section-topbar-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--topbar-cta-bg);
  border: 1px solid var(--topbar-cta-border);
  color: var(--topbar-cta-text);
  font-weight: 600;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--theme-toggle-border);
  background: var(--theme-toggle-bg);
  color: var(--theme-toggle-text);
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
}

.theme-toggle-track {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: var(--theme-toggle-track);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.theme-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--theme-toggle-thumb);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.16);
  transition: transform 180ms ease;
}

.theme-toggle[aria-pressed="true"] .theme-toggle-thumb {
  transform: translateX(18px);
}

.hero-shell {
  position: relative;
  overflow: hidden;
  margin-bottom: 22px;
  padding: 34px;
  border-radius: 34px;
}

.hero-shell-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.7;
  pointer-events: none;
}

.hero-shell-glow-a {
  width: 200px;
  height: 200px;
  top: -40px;
  left: -30px;
  background: rgba(56, 189, 248, 0.18);
}

.hero-shell-glow-b {
  width: 220px;
  height: 220px;
  right: -30px;
  bottom: -30px;
  background: rgba(251, 191, 36, 0.14);
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 34px;
  align-items: center;
}

.hero-copy-block {
  max-width: 620px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(233, 245, 255, 0.95);
  border: 1px solid rgba(14, 165, 233, 0.14);
  color: var(--accent-deep);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-title {
  margin: 18px 0 0;
  max-width: 10ch;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3.2rem, 7vw, 5.6rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: #12213a;
}

.hero-summary {
  margin: 22px 0 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.9;
}

.hero-trust-banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 24px;
  border: 1px solid rgba(14, 165, 233, 0.18);
  background:
    linear-gradient(135deg, rgba(77, 189, 245, 0.16), rgba(255, 217, 159, 0.18)),
    rgba(255, 255, 255, 0.84);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 16px 36px rgba(77, 189, 245, 0.12);
}

.hero-trust-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(77, 189, 245, 0.22), rgba(255, 217, 159, 0.26));
  color: var(--accent-deep);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.hero-trust-icon svg {
  width: 28px;
  height: 28px;
}

.hero-trust-banner p {
  margin: 0;
  color: #27415b;
  font-size: 1rem;
  line-height: 1.65;
}

.hero-trust-banner strong {
  color: #102033;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-chip-row span,
.hero-micro-card {
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 12px 26px rgba(125, 145, 172, 0.08);
}

.hero-chip-row span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: #4e6175;
  font-size: 0.9rem;
}

.hero-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
}

.hero-button-primary {
  background: linear-gradient(135deg, #4dbdf5, #8bdcf8 52%, #ffd99f);
  color: #102033;
  box-shadow: 0 16px 30px rgba(77, 189, 245, 0.18);
}

.hero-button-secondary {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(16, 32, 51, 0.08);
  color: var(--ink);
}

.hero-micro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.hero-micro-card {
  padding: 18px;
  border-radius: 24px;
  animation: premiumGlassFloat 12s ease-in-out infinite;
  will-change: transform;
}

.hero-micro-card:nth-child(2) {
  animation-delay: -4s;
}

.hero-micro-card:nth-child(3) {
  animation-delay: -8s;
}

.hero-micro-card span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-micro-card strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.6;
}

.hero-visual-block {
  position: relative;
  padding: 18px 12px 18px 24px;
}

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

.workspace-intro-refined {
  margin-bottom: 2px;
}

.workspace-step {
  display: flex;
  align-items: start;
  gap: 16px;
  padding: 20px;
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.workspace-step:hover {
  transform: translateY(-4px);
}

.workspace-step-number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(14, 165, 233, 0.12), rgba(255, 211, 153, 0.38));
  color: var(--accent-deep);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.workspace-step h2 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.workspace-step p,
.panel-subcopy {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.panel {
  padding: 24px;
}

.upload-panel {
  padding: 0;
  overflow: hidden;
}

.drop-zone {
  position: relative;
  border: 2px dashed rgba(24, 33, 38, 0.14);
  border-radius: 28px;
  margin: 12px;
  padding: 28px;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    background-color 180ms ease;
  outline: none;
}

.drop-zone.dragover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.78);
  transform: translateY(-2px);
}

.drop-zone-inner {
  display: grid;
  justify-items: start;
  gap: 14px;
}

.drop-title {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.04em;
}

.drop-subtitle,
.drop-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.drop-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.text-button {
  border: none;
  cursor: pointer;
  transition:
    transform 160ms ease,
    opacity 160ms ease,
    background-color 160ms ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
}

.button:hover,
.text-button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
}

.text-button {
  padding: 0;
  background: none;
  color: var(--teal);
  font-weight: 600;
}

.message-bar {
  margin: 0 24px 24px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(15, 124, 130, 0.1);
  color: #0f5961;
  border: 1px solid rgba(15, 124, 130, 0.15);
}

.message-bar.error {
  background: rgba(182, 63, 27, 0.1);
  border-color: rgba(182, 63, 27, 0.16);
  color: #8c3419;
}

.hidden {
  display: none !important;
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 24px;
}

.resizer-stack-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
}

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

.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  margin-bottom: 20px;
}

.control-grid {
  display: grid;
  gap: 16px;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field span {
  font-weight: 600;
}

.field input,
.field select {
  width: 100%;
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  padding: 0 14px;
  color: var(--ink);
}

input[type="range"] {
  padding: 0;
}

input[type="color"] {
  padding: 6px;
}

.toggle-grid {
  display: flex;
  gap: 12px;
  margin: 18px 0 24px;
}

.toggle {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
}

.summary-grid {
  display: grid;
  gap: 14px;
}

.summary-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
  display: grid;
  gap: 8px;
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.summary-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.summary-card strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.06rem;
  letter-spacing: -0.03em;
}

.progress-shell {
  margin-top: 20px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.64);
}

.progress-copy {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 0.92rem;
}

.progress-track {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(24, 33, 38, 0.08);
  overflow: hidden;
}

.progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--accent));
  transition: width 420ms cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.progress-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  animation: progressSheen 2.8s ease-in-out infinite;
}

.table-wrap {
  overflow-x: auto;
}

.content-panel {
  display: grid;
  gap: 22px;
}

.faq-panel {
  display: grid;
  gap: 18px;
}

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

.content-card {
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.66);
}

.content-card h3,
.seo-copy h3 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}

.content-card p,
.seo-copy p {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}

.tool-card-actions {
  display: flex;
  margin-top: 16px;
}

.tool-switcher-panel {
  gap: 18px;
}

.tool-switcher-heading {
  margin-bottom: 0;
}

.tool-switcher {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px;
  border-radius: 999px;
  border: 1px solid rgba(16, 32, 51, 0.08);
  background: rgba(255, 255, 255, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    0 16px 28px rgba(125, 145, 172, 0.08);
}

.tool-switcher-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #4e6175;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition:
    transform 180ms ease,
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.tool-switcher-button:hover {
  transform: translateY(-1px);
  color: #102033;
}

.tool-switcher-button.is-active {
  background: linear-gradient(135deg, #4dbdf5, #8bdcf8 54%, #ffd99f);
  border-color: rgba(77, 189, 245, 0.28);
  color: #102033;
  box-shadow: 0 14px 28px rgba(77, 189, 245, 0.18);
}

.tool-switcher-summary {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.tool-switcher-compact {
  flex-wrap: nowrap;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 10px 22px rgba(125, 145, 172, 0.08);
}

.tool-switcher-compact .tool-switcher-button {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.92rem;
  white-space: nowrap;
}

.tool-switcher-compact-dark {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.tool-switcher-compact-dark .tool-switcher-button {
  color: rgba(247, 243, 235, 0.68);
}

.tool-switcher-compact-dark .tool-switcher-button:hover {
  color: #f7f3eb;
}

.tool-switcher-compact-dark .tool-switcher-button.is-active {
  background: rgba(255, 227, 51, 0.12);
  border-color: rgba(255, 227, 51, 0.28);
  color: #ffe333;
  box-shadow: none;
}

.matcher-embed-panel {
  padding: 24px;
}

.matcher-embed-shell {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(16, 32, 51, 0.08);
  background: #050505;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 22px 44px rgba(8, 8, 8, 0.16);
}

.matcher-embed-frame {
  display: block;
  width: 100%;
  min-height: 960px;
  border: 0;
  background: #050505;
}

.seo-copy {
  padding: 6px 2px 0;
  display: grid;
  gap: 14px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.66);
}

.faq-item h3 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
  font-size: 1.08rem;
}

.faq-item p {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 6px 0;
  margin-top: 8px;
  border-top: 1px solid rgba(16, 32, 51, 0.08);
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer p {
  margin: 0;
}

.footer-note {
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  opacity: 0.78;
}

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

.footer-links a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  text-decoration: underline;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

tbody tr:last-child td {
  border-bottom: none;
}

.preview-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 14px;
  background: rgba(24, 33, 38, 0.06);
  border: 1px solid var(--line);
}

.preview-placeholder {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px dashed rgba(24, 33, 38, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
}

.file-name {
  font-weight: 600;
  overflow-wrap: anywhere;
}

.file-meta,
.status-pill {
  font-size: 0.9rem;
  color: var(--muted);
}

.status-pill {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(15, 124, 130, 0.08);
  color: #0f5961;
}

.status-pill.done {
  background: rgba(15, 124, 130, 0.14);
}

.status-pill.error {
  background: rgba(182, 63, 27, 0.11);
  color: #8c3419;
}

.empty-row td {
  padding: 28px 12px;
  text-align: center;
  color: var(--muted);
}

.table-limit-row td {
  padding: 18px 12px;
  text-align: center;
  color: var(--muted);
  background: rgba(15, 124, 130, 0.04);
}

@media (max-width: 940px) {
  .hero,
  .grid,
  .content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 100%);
    padding-top: 20px;
  }

  .hero-copy,
  .hero-card,
  .panel {
    border-radius: 22px;
  }

  .drop-zone {
    padding: 22px;
    margin: 10px;
  }

  .field-group,
  .drop-actions,
  .progress-copy,
  .hero-links {
    grid-template-columns: 1fr;
    display: grid;
  }

  .panel-heading {
    flex-direction: column;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  th:nth-child(3),
  td:nth-child(3),
  th:nth-child(4),
  td:nth-child(4) {
    display: none;
  }
}

/* Premium local redesign */

:root {
  --bg: #eef6ff;
  --surface: rgba(255, 255, 255, 0.62);
  --surface-strong: rgba(255, 255, 255, 0.84);
  --ink: #102033;
  --muted: #5a6b7d;
  --line: rgba(16, 32, 51, 0.1);
  --accent: #0ea5e9;
  --accent-deep: #0284c7;
  --teal: #0ea5e9;
  --shadow: 0 30px 80px rgba(75, 98, 128, 0.16);
  --highlight: #c084fc;
  --warm: #ffd399;
  --success: #10b981;
  --bg-start: #fffdf8;
  --bg-mid: #f5fbff;
  --bg-end: #eef6ff;
  --body-glow-a: rgba(56, 189, 248, 0.16);
  --body-glow-b: rgba(192, 132, 252, 0.16);
  --body-glow-c: rgba(251, 191, 36, 0.14);
  --fixed-glow-a: rgba(56, 189, 248, 0.12);
  --fixed-glow-b: rgba(192, 132, 252, 0.12);
  --glass-fill-top: rgba(255, 255, 255, 0.86);
  --glass-fill-bottom: rgba(255, 255, 255, 0.48);
  --glass-border: rgba(16, 32, 51, 0.1);
  --topbar-cta-bg: rgba(237, 247, 255, 0.95);
  --topbar-cta-border: rgba(14, 165, 233, 0.18);
  --topbar-cta-text: #0284c7;
  --theme-toggle-bg: rgba(255, 255, 255, 0.82);
  --theme-toggle-border: rgba(16, 32, 51, 0.08);
  --theme-toggle-text: #44596f;
  --theme-toggle-track: rgba(14, 165, 233, 0.12);
  --theme-toggle-thumb: linear-gradient(135deg, #4dbdf5, #8bdcf8);
}

html[data-theme="dark"] {
  --surface: rgba(10, 24, 38, 0.72);
  --surface-strong: rgba(10, 24, 38, 0.88);
  --ink: #e7f1ff;
  --muted: #9db1c8;
  --line: rgba(173, 201, 232, 0.12);
  --accent: #6ad0ff;
  --accent-deep: #9adfff;
  --teal: #6ad0ff;
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
  --highlight: #8fbcff;
  --warm: #f0b980;
  --success: #55d59f;
  --bg-start: #08131d;
  --bg-mid: #0d1f2d;
  --bg-end: #122638;
  --body-glow-a: rgba(56, 189, 248, 0.18);
  --body-glow-b: rgba(96, 165, 250, 0.14);
  --body-glow-c: rgba(251, 191, 36, 0.08);
  --fixed-glow-a: rgba(56, 189, 248, 0.12);
  --fixed-glow-b: rgba(96, 165, 250, 0.1);
  --glass-fill-top: rgba(14, 28, 43, 0.9);
  --glass-fill-bottom: rgba(10, 22, 35, 0.64);
  --glass-border: rgba(173, 201, 232, 0.12);
  --topbar-cta-bg: rgba(15, 32, 48, 0.92);
  --topbar-cta-border: rgba(106, 208, 255, 0.18);
  --topbar-cta-text: #9adfff;
  --theme-toggle-bg: rgba(12, 26, 39, 0.88);
  --theme-toggle-border: rgba(173, 201, 232, 0.12);
  --theme-toggle-text: #d8e9fb;
  --theme-toggle-track: rgba(106, 208, 255, 0.14);
  --theme-toggle-thumb: linear-gradient(135deg, #7dd3fc, #9f7aea);
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 14%, var(--body-glow-a), transparent 24%),
    radial-gradient(circle at 88% 18%, var(--body-glow-b), transparent 22%),
    radial-gradient(circle at 50% 110%, var(--body-glow-c), transparent 26%),
    linear-gradient(160deg, var(--bg-start) 0%, var(--bg-mid) 42%, var(--bg-end) 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.42;
  pointer-events: none;
  z-index: 0;
}

body::before {
  width: 280px;
  height: 280px;
  top: 90px;
  left: -70px;
  background: var(--fixed-glow-a);
}

body::after {
  width: 320px;
  height: 320px;
  right: -100px;
  bottom: 120px;
  background: var(--fixed-glow-b);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 32px));
  padding-top: 28px;
}

@media (min-width: 1100px) {
  .page-shell {
    zoom: 0.9;
    width: min(1400px, calc((100% - 40px) / 0.9));
    padding-top: 22px;
  }
}

.ambient {
  position: absolute;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.5;
  pointer-events: none;
}

.ambient-one {
  width: 180px;
  height: 180px;
  top: 140px;
  left: 46%;
  background: rgba(56, 189, 248, 0.18);
}

.ambient-two {
  width: 200px;
  height: 200px;
  top: 360px;
  right: 2%;
  background: rgba(251, 191, 36, 0.14);
}

.ambient-three {
  width: 220px;
  height: 220px;
  top: 620px;
  left: 0;
  background: rgba(192, 132, 252, 0.12);
}

.glass-panel,
.hero-copy,
.hero-card,
.panel,
.topbar,
.hero-stage-card,
.floating-note {
  position: relative;
  border: 1px solid var(--glass-border);
  background:
    linear-gradient(180deg, var(--glass-fill-top), var(--glass-fill-bottom)),
    var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
}

.topbar,
.hero-copy,
.hero-stage-card,
.floating-note,
.panel {
  border-radius: 30px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.brandmark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brandmark-badge {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(120, 228, 255, 0.3), rgba(161, 141, 255, 0.24));
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brandmark-copy {
  display: grid;
  gap: 2px;
}

.brandmark-copy span:last-child {
  color: var(--muted);
  font-size: 0.84rem;
}

.topnav {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.topnav a,
.footer-links a,
.seo-copy a {
  color: var(--accent);
  text-decoration: none;
}

.topnav a {
  color: var(--muted);
  font-weight: 500;
}

.topnav a:hover,
.footer-links a:hover,
.seo-copy a:hover {
  color: #081321;
}

.footer-contact {
  white-space: nowrap;
}

@keyframes premiumFadeUp {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.988);
  }

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

@keyframes premiumGlassFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -8px, 0);
  }
}

@keyframes progressSheen {
  0% {
    transform: translateX(-130%);
    opacity: 0;
  }

  20%,
  80% {
    opacity: 0.65;
  }

  100% {
    transform: translateX(130%);
    opacity: 0;
  }
}

.section-topbar,
.hero-shell,
.workspace-intro,
.upload-panel,
.controls-panel,
.summary-panel,
.table-panel,
.content-panel,
.faq-panel,
.site-footer {
  animation: premiumFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-shell {
  animation-delay: 0.08s;
}

.workspace-intro,
.upload-panel {
  animation-delay: 0.14s;
}

.controls-panel,
.summary-panel,
.table-panel {
  animation-delay: 0.2s;
}

.content-panel,
.faq-panel,
.site-footer {
  animation-delay: 0.26s;
}

.hero {
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  margin-bottom: 28px;
}

.hero-copy {
  padding: 34px;
}

.eyebrow,
.panel-kicker,
.feature-band-label {
  margin-bottom: 14px;
  color: var(--accent);
  letter-spacing: 0.22em;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 0.92;
}

.hero-text {
  font-size: 1.02rem;
  margin-bottom: 22px;
  color: var(--muted);
}

.hero-pills span,
.proof-card,
.meta-pill,
.summary-card,
.insight-card,
.content-card,
.faq-item,
.feature-band,
.screen-chip,
.screen-stat,
.screen-footer {
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.56);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 10px 30px rgba(125, 145, 172, 0.08);
}

.hero-pills span {
  color: #4b5f73;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.proof-card {
  padding: 16px 16px 18px;
  border-radius: 20px;
}

.proof-card span,
.meta-pill span,
.summary-card span,
.insight-card span,
.feature-band-label,
.live-pill,
.stage-caption {
  color: var(--muted);
  font-size: 0.82rem;
}

.proof-card strong,
.meta-pill strong,
.summary-card strong,
.insight-card strong,
.floating-note strong {
  display: block;
  margin-top: 8px;
}

.hero-stage {
  position: relative;
  min-height: 100%;
}

.hero-art-shell {
  position: relative;
  margin: 0;
  padding: 18px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.52)),
    rgba(255, 255, 255, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 28px 60px rgba(125, 145, 172, 0.16);
  backdrop-filter: blur(26px);
}

.hero-art-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 42px rgba(125, 145, 172, 0.12);
}

.hero-art-card {
  position: absolute;
  max-width: 220px;
  padding: 16px 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 14px 36px rgba(125, 145, 172, 0.14);
  backdrop-filter: blur(22px);
  animation: premiumGlassFloat 10s ease-in-out infinite;
  will-change: transform;
}

.hero-art-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-deep);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.hero-art-card strong {
  display: block;
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.55;
}

.hero-art-card-top {
  top: -18px;
  right: -18px;
}

.hero-art-card-bottom {
  left: -20px;
  bottom: 24px;
  animation-delay: -5s;
}

.hero-stage-card {
  height: 100%;
  padding: 24px;
  overflow: hidden;
}

.stage-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(121, 245, 210, 0.12);
  color: var(--success);
}

.live-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.stage-screen {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 16px;
  min-height: 360px;
}

.screen-sidebar,
.screen-main {
  border-radius: 24px;
  overflow: hidden;
}

.screen-sidebar {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px 12px;
  background: rgba(255, 255, 255, 0.58);
}

.screen-chip {
  padding: 12px 10px;
  border-radius: 16px;
  text-align: center;
  font-size: 0.84rem;
}

.screen-chip.active {
  background: linear-gradient(145deg, rgba(14, 165, 233, 0.16), rgba(56, 189, 248, 0.2));
  color: var(--ink);
}

.screen-main {
  position: relative;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 20px;
  background:
    radial-gradient(circle at top center, rgba(56, 189, 248, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(239, 247, 255, 0.72));
}

.screen-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  top: -90px;
  right: -60px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.14);
  filter: blur(36px);
}

.screen-stat-row,
.screen-footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.screen-stat,
.screen-footer {
  padding: 16px;
  border-radius: 20px;
}

.screen-stat span,
.screen-footer span {
  color: var(--muted);
  font-size: 0.82rem;
}

.screen-stat strong,
.screen-footer strong {
  display: block;
  margin-top: 8px;
}

.screen-chart {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.78);
}

.chart-labels {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.85rem;
}

.chart-bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 12px;
  height: 160px;
}

.bar {
  display: block;
  width: 100%;
  border-radius: 18px 18px 10px 10px;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.9), rgba(192, 132, 252, 0.5));
  box-shadow: 0 20px 30px rgba(56, 189, 248, 0.12);
}

.bar-a {
  height: 44%;
}

.bar-b {
  height: 82%;
}

.bar-c {
  height: 68%;
}

.bar-d {
  height: 94%;
}

.floating-note {
  position: absolute;
  max-width: 240px;
  padding: 16px 18px;
}

.floating-note span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.floating-note-primary {
  right: -18px;
  top: 28px;
}

.floating-note-secondary {
  left: -22px;
  bottom: 22px;
}

.upload-panel {
  padding: 26px;
}

.upload-panel-signature {
  overflow: hidden;
}

.upload-panel-signature::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(120, 228, 255, 0.08), transparent 32%),
    radial-gradient(circle at 88% 18%, rgba(255, 214, 167, 0.18), transparent 24%);
}

.upload-signature-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.72fr);
  gap: 20px;
  align-items: start;
  margin-bottom: 20px;
}

.upload-copy-signature h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  max-width: 11ch;
}

.upload-copy-signature p {
  max-width: 58ch;
}

.upload-signature-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.signature-point {
  padding: 16px 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.56)),
    rgba(255, 255, 255, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    0 10px 24px rgba(125, 145, 172, 0.08);
}

.signature-point span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-deep);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.signature-point strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.upload-meta-signature {
  align-self: stretch;
  min-width: 0;
}

.upload-panel-active .drop-zone {
  border-color: rgba(14, 165, 233, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 16px 34px rgba(125, 145, 172, 0.1);
}

.upload-panel-empty {
  padding: 34px;
}

.upload-shell {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 20px;
}

.upload-copy {
  max-width: 60ch;
}

.upload-panel-empty .upload-shell {
  display: grid;
  gap: 22px;
  justify-items: center;
  text-align: center;
}

.upload-panel-empty .upload-copy {
  max-width: 68ch;
}

.upload-panel-empty .upload-copy h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.05em;
}

.upload-panel-empty .upload-copy p {
  font-size: 1.05rem;
}

.upload-copy h2 {
  margin-bottom: 10px;
}

.upload-copy p {
  margin: 0;
  color: var(--muted);
}

.upload-meta {
  display: grid;
  gap: 12px;
  min-width: 260px;
}

.upload-panel-empty .upload-meta {
  justify-content: center;
}

.meta-pill {
  padding: 15px 16px;
  border-radius: 18px;
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.upload-comfort {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.62);
}

.upload-comfort span {
  color: var(--accent-deep);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.upload-comfort p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.drop-zone {
  border: 1px dashed rgba(14, 165, 233, 0.22);
  background:
    radial-gradient(circle at top center, rgba(56, 189, 248, 0.12), transparent 38%),
    rgba(255, 255, 255, 0.6);
}

.upload-panel-empty .drop-zone {
  margin: 12px 0 0;
  min-height: 360px;
  display: grid;
  align-items: center;
}

.upload-panel-empty .drop-zone-inner {
  justify-items: center;
  text-align: center;
}

.upload-panel-empty .drop-actions {
  justify-content: center;
}

.upload-panel-empty .drop-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.upload-panel-empty .drop-subtitle {
  max-width: 48ch;
  font-size: 1.02rem;
}

.upload-panel-empty .drop-note,
.upload-panel-empty .drop-hint {
  max-width: 56ch;
}

.drop-zone:hover,
.drop-zone:focus-visible,
.drop-zone.dragover {
  border-color: rgba(14, 165, 233, 0.45);
  background:
    radial-gradient(circle at top center, rgba(56, 189, 248, 0.16), transparent 38%),
    rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 14px 30px rgba(125, 145, 172, 0.08);
}

.drop-zone-disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(0.1);
}

.intake-shell {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(120, 228, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(120, 228, 255, 0.12), rgba(255, 214, 167, 0.14)),
    rgba(255, 255, 255, 0.74);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 18px 34px rgba(125, 145, 172, 0.08);
}

.intake-copy {
  display: grid;
  gap: 6px;
}

.intake-headline,
.progress-headline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.processing-spinner {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(16, 32, 51, 0.14);
  border-top-color: var(--accent);
  animation: spin 0.9s linear infinite;
}

.intake-copy strong,
.progress-headline strong {
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
}

.intake-copy span {
  color: var(--muted);
}

.progress-indeterminate .intake-fill {
  width: 42% !important;
  animation: indeterminateSlide 1.4s ease-in-out infinite;
}

.drop-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(56, 189, 248, 0.22), rgba(192, 132, 252, 0.16)),
    rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 30px rgba(125, 145, 172, 0.14);
}

.drop-hint {
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.12);
  color: #35526d;
}

html[data-theme="dark"] .section-brand-mark,
html[data-theme="dark"] .hero-kicker,
html[data-theme="dark"] .hero-chip-row span,
html[data-theme="dark"] .hero-micro-card,
html[data-theme="dark"] .hero-art-shell,
html[data-theme="dark"] .hero-art-card,
html[data-theme="dark"] .meta-pill,
html[data-theme="dark"] .summary-card,
html[data-theme="dark"] .insight-card,
html[data-theme="dark"] .content-card,
html[data-theme="dark"] .faq-item,
html[data-theme="dark"] .feature-band,
html[data-theme="dark"] .screen-chip,
html[data-theme="dark"] .screen-stat,
html[data-theme="dark"] .screen-footer,
html[data-theme="dark"] .upload-comfort,
html[data-theme="dark"] .table-wrap,
html[data-theme="dark"] .drop-zone,
html[data-theme="dark"] .drop-hint,
html[data-theme="dark"] .button-secondary,
html[data-theme="dark"] .field input,
html[data-theme="dark"] .field select,
html[data-theme="dark"] .preview-placeholder {
  border-color: rgba(173, 201, 232, 0.12);
  background: rgba(11, 27, 42, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 14px 30px rgba(0, 0, 0, 0.18);
}

html[data-theme="dark"] .signature-point {
  border-color: rgba(173, 201, 232, 0.12);
  background:
    linear-gradient(180deg, rgba(16, 33, 50, 0.82), rgba(11, 27, 42, 0.72)),
    rgba(11, 27, 42, 0.72);
}

html[data-theme="dark"] .signature-point span {
  color: #9adfff;
}

html[data-theme="dark"] .signature-point strong {
  color: #edf5ff;
}

html[data-theme="dark"] .intake-shell {
  border-color: rgba(106, 208, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(106, 208, 255, 0.12), rgba(255, 196, 129, 0.1)),
    rgba(9, 23, 36, 0.82);
}

html[data-theme="dark"] .hero-title,
html[data-theme="dark"] .drop-title,
html[data-theme="dark"] .hero-art-card strong,
html[data-theme="dark"] .hero-micro-card strong,
html[data-theme="dark"] .hero-trust-banner strong {
  color: #edf5ff;
}

html[data-theme="dark"] .hero-kicker,
html[data-theme="dark"] .hero-art-card span,
html[data-theme="dark"] .upload-comfort span,
html[data-theme="dark"] .section-topbar-cta,
html[data-theme="dark"] .text-button,
html[data-theme="dark"] .footer-links a,
html[data-theme="dark"] .seo-copy a {
  color: #9adfff;
}

html[data-theme="dark"] .section-nav a:hover,
html[data-theme="dark"] .topnav a:hover,
html[data-theme="dark"] .footer-links a:hover,
html[data-theme="dark"] .seo-copy a:hover {
  color: #ffffff;
}

html[data-theme="dark"] .button-primary {
  color: #04111b;
  box-shadow: 0 18px 28px rgba(106, 208, 255, 0.18);
}

html[data-theme="dark"] .hero-trust-banner {
  border-color: rgba(106, 208, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(106, 208, 255, 0.14), rgba(240, 185, 128, 0.12)),
    rgba(11, 27, 42, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 16px 36px rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] .hero-trust-icon {
  color: #9adfff;
  background: linear-gradient(145deg, rgba(106, 208, 255, 0.16), rgba(159, 122, 234, 0.16));
}

html[data-theme="dark"] .hero-trust-banner p {
  color: #d0def0;
}

html[data-theme="dark"] .intake-copy strong,
html[data-theme="dark"] .progress-headline strong {
  color: #ecf6ff;
}

html[data-theme="dark"] .processing-spinner {
  border-color: rgba(173, 201, 232, 0.18);
  border-top-color: #79f5d2;
}

html[data-theme="dark"] .progress-shell {
  background: rgba(9, 23, 36, 0.82);
}

html[data-theme="dark"] .progress-track {
  background: rgba(173, 201, 232, 0.12);
}

html[data-theme="dark"] th,
html[data-theme="dark"] td {
  border-bottom-color: rgba(173, 201, 232, 0.08);
}

html[data-theme="dark"] .status-pill {
  background: rgba(106, 208, 255, 0.12);
  color: #b6e7ff;
}

html[data-theme="dark"] .status-pill.done {
  background: rgba(85, 213, 159, 0.16);
  color: #bdf5d8;
}

html[data-theme="dark"] .status-pill.error {
  background: rgba(255, 111, 97, 0.18);
  color: #ffc0b8;
}

html[data-theme="dark"] .message-bar.success {
  color: #d9fff4;
}

html[data-theme="dark"] .success-toast {
  border-color: rgba(79, 214, 158, 0.18);
  background:
    linear-gradient(135deg, rgba(42, 122, 96, 0.28), rgba(9, 23, 36, 0.96)),
    rgba(9, 23, 36, 0.92);
}

html[data-theme="dark"] .success-toast-icon {
  color: #8bf4d3;
}

html[data-theme="dark"] .success-toast-copy strong {
  color: #f3fffb;
}

html[data-theme="dark"] .success-toast-copy span {
  color: #b8d8c8;
}

html[data-theme="dark"] .support-kicker {
  background: rgba(11, 27, 42, 0.72);
  border-color: rgba(173, 201, 232, 0.12);
  color: #9adfff;
}

.drop-subtitle,
.drop-note,
.drop-hint,
.message-bar,
.field input,
.field select,
.toggle,
.content-card p,
.seo-copy p,
.faq-item p,
.feature-band p,
.site-footer,
.file-meta,
.status-pill,
th {
  color: var(--muted);
}

.button-primary {
  color: #021018;
  background: linear-gradient(135deg, var(--accent), var(--warm));
  box-shadow: 0 18px 28px rgba(120, 228, 255, 0.18);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(16, 32, 51, 0.08);
}

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

.message-bar {
  margin-top: 18px;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
  background: rgba(121, 245, 210, 0.12);
  color: #d7fff2;
  border-color: rgba(121, 245, 210, 0.18);
}

.message-bar.success {
  background: rgba(121, 245, 210, 0.18);
  border-color: rgba(121, 245, 210, 0.28);
  color: #124f41;
}

.message-bar.error {
  background: rgba(255, 111, 97, 0.14);
  border-color: rgba(255, 111, 97, 0.22);
  color: #ffe4e0;
}

.field span {
  color: var(--ink);
}

.field input,
.field select {
  border: 1px solid rgba(190, 222, 255, 0.14);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.field input:focus,
.field select:focus {
  border-color: rgba(120, 228, 255, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 3px rgba(120, 228, 255, 0.14);
  outline: none;
}

select option {
  color: #08121d;
}

.toggle input {
  accent-color: var(--accent-deep);
}

.insight-strip {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.insight-card,
.feature-band,
.content-card,
.faq-item,
.summary-card {
  border-radius: 22px;
}

.meta-pill:hover,
.summary-card:hover,
.insight-card:hover {
  transform: translateY(-4px);
}

.progress-shell {
  border: 1px solid rgba(190, 222, 255, 0.12);
  background: rgba(255, 255, 255, 0.7);
}

.progress-track {
  background: rgba(16, 32, 51, 0.08);
}

.progress-fill {
  background: linear-gradient(90deg, var(--accent), var(--highlight), var(--warm));
}

.success-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  max-width: min(360px, calc(100vw - 32px));
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(79, 214, 158, 0.28);
  background:
    linear-gradient(135deg, rgba(132, 247, 204, 0.18), rgba(255, 255, 255, 0.96)),
    rgba(255, 255, 255, 0.92);
  box-shadow:
    0 20px 40px rgba(26, 78, 62, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.success-toast-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(79, 214, 158, 0.22), rgba(132, 247, 204, 0.38));
  color: #137255;
}

.success-toast-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.success-toast-copy {
  display: grid;
  gap: 4px;
}

.success-toast-copy strong {
  color: #143326;
  font-family: "Space Grotesk", sans-serif;
}

.success-toast-copy span {
  color: #426152;
  font-size: 0.94rem;
}

.success-toast-enter {
  animation: successToastIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.success-toast-leave {
  animation: successToastOut 0.28s ease both;
}

@media (hover: hover) and (pointer: fine) {
  .button:hover,
  .section-topbar-cta:hover,
  .hero-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(125, 145, 172, 0.14);
  }

  .button-secondary:hover,
  .section-topbar-cta:hover,
  .hero-button-secondary:hover {
    background: rgba(255, 255, 255, 0.94);
  }

  .field input:hover,
  .field select:hover {
    border-color: rgba(120, 228, 255, 0.28);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 8px 18px rgba(125, 145, 172, 0.06);
  }

  .text-button:hover,
  .toggle:hover {
    color: var(--ink);
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-topbar,
  .hero-shell,
  .workspace-intro,
  .upload-panel,
  .controls-panel,
  .summary-panel,
  .table-panel,
  .content-panel,
  .faq-panel,
  .site-footer,
  .hero-micro-card,
  .hero-art-card,
  .progress-fill::after {
    animation: none !important;
  }

  .workspace-step,
  .summary-card,
  .insight-card,
  .meta-pill,
  .progress-fill,
  .tool-reveal,
  .success-toast {
    transition: none !important;
  }

  .processing-spinner,
  .progress-indeterminate .intake-fill,
  .success-toast-enter,
  .success-toast-leave {
    animation: none !important;
  }
}

.table-wrap {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.68);
}

th,
td {
  border-bottom: 1px solid rgba(16, 32, 51, 0.08);
}

.preview-thumb {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(255, 255, 255, 0.8);
}

.status-pill {
  background: rgba(120, 228, 255, 0.12);
  color: #355d7a;
}

.status-pill.pending {
  background: rgba(14, 165, 233, 0.12);
  color: #2f6c94;
}

.status-pill.done {
  background: rgba(121, 245, 210, 0.16);
  color: #15745e;
}

.status-pill.error {
  background: rgba(255, 111, 97, 0.14);
  color: #a2473d;
}

.feature-showcase {
  display: grid;
  gap: 18px;
}

.support-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 24px;
  padding: 24px 26px;
  border-radius: 28px;
}

.support-copy {
  max-width: 60ch;
}

.support-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(16, 32, 51, 0.08);
  color: var(--accent-deep);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.support-copy h2 {
  margin: 14px 0 10px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.support-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.support-actions {
  display: grid;
  justify-items: end;
  gap: 10px;
  min-width: 280px;
}

.support-button {
  min-width: 250px;
}

.support-status {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  text-align: right;
}

.feature-band {
  padding: 24px;
  border-radius: 24px;
}

@media (max-width: 1100px) {
  .section-topbar,
  .topbar,
  .upload-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .upload-signature-grid,
  .upload-signature-points {
    grid-template-columns: 1fr;
  }

  .hero-layout,
  .hero,
  .grid,
  .workspace-intro,
  .content-grid,
  .hero-proof,
  .screen-stat-row,
  .screen-footer {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 560px;
  }

  .hero-visual-block {
    padding: 8px 0 0;
  }

  .hero-art-card-top {
    right: 12px;
    top: 12px;
  }

  .hero-art-card-bottom {
    left: 12px;
    bottom: 12px;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 16px, 100%);
    padding-top: 14px;
  }

  .section-nav {
    flex-wrap: wrap;
    gap: 6px;
  }

  .topnav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .section-topbar-actions {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .section-topbar,
  .hero-shell,
  .topbar,
  .hero-copy,
  .hero-stage-card,
  .floating-note,
  .panel,
  .hero-art-shell,
  .hero-art-card {
    border-radius: 24px;
  }

  .hero-copy,
  .hero-stage-card,
  .panel,
  .upload-panel {
    padding: 18px;
  }

  .hero-shell {
    padding: 18px;
  }

  .hero-title {
    max-width: 12ch;
    font-size: clamp(2.45rem, 11vw, 3.75rem);
  }

  .hero-summary {
    margin-top: 18px;
    font-size: 0.96rem;
    line-height: 1.7;
  }

  .hero-trust-banner {
    margin-top: 18px;
    padding: 16px;
    gap: 14px;
  }

  .hero-trust-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
  }

  .hero-trust-banner p {
    font-size: 0.96rem;
    line-height: 1.6;
  }

  .hero-chip-row,
  .hero-micro-grid,
  .workspace,
  .workspace-intro,
  .summary-grid,
  .content-grid,
  .faq-list {
    gap: 12px;
  }

  .hero-action-row {
    gap: 10px;
    margin-top: 20px;
  }

  .workspace-step,
  .summary-card,
  .content-card,
  .faq-item,
  .feature-band {
    padding: 16px;
  }

  .panel-heading {
    margin-bottom: 16px;
  }

  .upload-shell {
    margin-bottom: 16px;
  }

  .support-strip {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 18px;
  }

  .support-actions {
    width: 100%;
    justify-items: stretch;
    min-width: 0;
  }

  .support-button {
    width: 100%;
    min-width: 0;
  }

  .support-status {
    text-align: left;
  }

  .upload-signature-grid {
    margin-bottom: 16px;
  }

  .upload-copy-signature h2 {
    font-size: clamp(1.8rem, 9vw, 2.6rem);
    max-width: 12ch;
  }

  .upload-signature-points {
    margin-top: 18px;
  }

  .signature-point {
    padding: 14px;
  }

  .upload-panel-empty {
    padding: 22px;
  }

  .upload-meta {
    width: 100%;
    min-width: 0;
  }

  .upload-comfort {
    margin-bottom: 14px;
    padding: 12px 14px;
  }

  .drop-zone {
    margin: 8px 0 0;
    padding: 18px;
  }

  .upload-panel-empty .drop-zone {
    min-height: 300px;
  }

  .drop-zone-inner {
    gap: 12px;
  }

  .upload-panel-empty .drop-title {
    font-size: clamp(2rem, 10vw, 2.9rem);
  }

  .drop-title {
    font-size: clamp(1.55rem, 8vw, 2.1rem);
  }

  .drop-note,
  .drop-hint,
  .panel-subcopy,
  .workspace-step p,
  .content-card p,
  .faq-item p {
    line-height: 1.6;
  }

  .field-group {
    gap: 12px;
  }

  .control-grid {
    gap: 14px;
  }

  .workspace-step,
  .upload-comfort {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-micro-grid,
  .hero-action-row,
  .stage-screen,
  .field-group,
  .drop-actions,
  .hero-links,
  .progress-copy {
    display: grid;
    grid-template-columns: 1fr;
  }

  .screen-sidebar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .floating-note,
  .hero-art-card {
    position: static;
    max-width: none;
    margin-top: 12px;
  }

  .site-footer {
    align-items: flex-start;
    gap: 10px;
    padding-top: 16px;
  }

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

  .footer-note {
    font-size: 0.74rem;
    line-height: 1.6;
  }

  .success-toast {
    right: 16px;
    bottom: 16px;
    padding: 14px 16px;
  }
}

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

@keyframes indeterminateSlide {
  0% {
    transform: translateX(-130%);
  }

  50% {
    transform: translateX(30%);
  }

  100% {
    transform: translateX(190%);
  }
}

@keyframes successToastIn {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.94);
  }

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

@keyframes successToastOut {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
}

/* Enterprise-style public homepage refresh */
.enterprise-topbar {
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(249, 244, 236, 0.82)),
    var(--surface);
  box-shadow: 0 24px 70px rgba(28, 30, 44, 0.08);
}

.enterprise-topbar .section-brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(145deg, #13233a, #284663);
  color: #f7f1e8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.enterprise-topbar .section-brand-copy strong {
  font-size: 1.04rem;
  color: #0f1c33;
}

.enterprise-topbar .section-nav a {
  position: relative;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: #425067;
}

.enterprise-topbar .section-nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 7px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(19, 35, 58, 0.88), rgba(221, 93, 54, 0.6));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.enterprise-topbar .section-nav a:hover::after {
  transform: scaleX(1);
}

.enterprise-topbar .section-topbar-cta {
  min-height: 46px;
  padding: 0 20px;
  background: linear-gradient(135deg, #142743, #284663);
  border-color: rgba(19, 35, 58, 0.12);
  color: #f8f4ef;
  box-shadow: 0 14px 32px rgba(20, 39, 67, 0.22);
}

.enterprise-hero {
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(249, 244, 236, 0.86) 58%, rgba(238, 245, 255, 0.92)),
    var(--surface);
  box-shadow:
    0 36px 90px rgba(17, 27, 46, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.enterprise-hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 42px;
  align-items: stretch;
}

.enterprise-hero-copy {
  display: grid;
  gap: 22px;
  align-content: start;
}

.enterprise-hero-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.enterprise-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(19, 35, 58, 0.08);
  background: rgba(255, 255, 255, 0.8);
  color: #27364b;
  box-shadow: 0 14px 32px rgba(18, 33, 58, 0.08);
}

.enterprise-trust-chip strong {
  font-size: 0.88rem;
}

.enterprise-trust-chip span:last-child {
  color: #667387;
  font-size: 0.82rem;
}

.enterprise-trust-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #12b981, #0f766e);
  box-shadow: 0 0 0 6px rgba(18, 185, 129, 0.12);
}

.enterprise-hero .hero-title {
  max-width: 9ch;
  margin: 0;
  font-size: clamp(3.5rem, 7vw, 6rem);
  line-height: 0.92;
  color: #0f1c33;
}

.enterprise-hero .hero-summary {
  max-width: 62ch;
  margin: 0;
  color: #5b687a;
  font-size: 1.06rem;
  line-height: 1.86;
}

.enterprise-hero .hero-chip-row {
  gap: 12px;
}

.enterprise-hero .hero-chip-row span {
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(19, 35, 58, 0.08);
  background: rgba(255, 255, 255, 0.74);
  color: #364153;
  box-shadow: 0 10px 26px rgba(18, 33, 58, 0.06);
}

.enterprise-hero .hero-action-row {
  margin-top: 6px;
}

.enterprise-hero .hero-button-primary {
  background: linear-gradient(135deg, #142743, #2f4d6d);
  color: #f8f4ef;
  box-shadow: 0 18px 34px rgba(20, 39, 67, 0.22);
}

.enterprise-hero .hero-button-secondary {
  border-color: rgba(19, 35, 58, 0.1);
  background: rgba(255, 255, 255, 0.72);
  color: #20324c;
}

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

.enterprise-signal-card {
  padding: 18px 18px 20px;
  border-radius: 24px;
  border: 1px solid rgba(19, 35, 58, 0.08);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 16px 36px rgba(20, 39, 67, 0.08);
}

.enterprise-signal-card span {
  display: block;
  margin-bottom: 10px;
  color: #7b8698;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.enterprise-signal-card strong {
  display: block;
  color: #12213a;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  line-height: 1.15;
}

.enterprise-signal-card p {
  margin: 10px 0 0;
  color: #607082;
  line-height: 1.65;
  font-size: 0.92rem;
}

.enterprise-micro-grid .hero-micro-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(248, 241, 231, 0.8)),
    rgba(255, 255, 255, 0.7);
  border-color: rgba(19, 35, 58, 0.08);
}

.enterprise-hero-visual {
  position: relative;
  display: grid;
  align-items: center;
}

.enterprise-visual-stack {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 30px;
  border: 1px solid rgba(19, 35, 58, 0.08);
  background:
    radial-gradient(circle at top left, rgba(91, 184, 255, 0.18), transparent 26%),
    radial-gradient(circle at right bottom, rgba(221, 93, 54, 0.16), transparent 28%),
    rgba(255, 255, 255, 0.68);
  box-shadow: 0 26px 70px rgba(20, 39, 67, 0.12);
}

.enterprise-visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.enterprise-visual-header strong {
  color: #142743;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.enterprise-visual-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(19, 35, 58, 0.08);
  color: #20324c;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.enterprise-art-shell {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
}

.enterprise-ops-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.enterprise-ops-card {
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(19, 35, 58, 0.08);
  background: rgba(255, 255, 255, 0.76);
}

.enterprise-ops-card span {
  display: block;
  margin-bottom: 8px;
  color: #7c8798;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.enterprise-ops-card strong {
  color: #15253e;
  line-height: 1.4;
  font-size: 0.92rem;
}

.enterprise-hero .hero-art-card {
  width: min(280px, 100%);
  border: 1px solid rgba(19, 35, 58, 0.08);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 42px rgba(20, 39, 67, 0.12);
}

.enterprise-proof-strip .workspace-step {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 241, 231, 0.8)),
    rgba(255, 255, 255, 0.7);
  border-color: rgba(19, 35, 58, 0.08);
}

html[data-theme="dark"] .enterprise-topbar,
html[data-theme="dark"] .enterprise-hero,
html[data-theme="dark"] .enterprise-signal-card,
html[data-theme="dark"] .enterprise-visual-stack,
html[data-theme="dark"] .enterprise-ops-card,
html[data-theme="dark"] .enterprise-proof-strip .workspace-step,
html[data-theme="dark"] .enterprise-hero .hero-art-card,
html[data-theme="dark"] .enterprise-micro-grid .hero-micro-card,
html[data-theme="dark"] .enterprise-trust-chip,
html[data-theme="dark"] .enterprise-hero .hero-chip-row span {
  border-color: rgba(255, 255, 255, 0.09);
}

html[data-theme="dark"] .enterprise-topbar {
  background:
    linear-gradient(135deg, rgba(14, 20, 32, 0.92), rgba(20, 28, 44, 0.84)),
    rgba(14, 20, 32, 0.84);
}

html[data-theme="dark"] .enterprise-topbar .section-brand-copy strong,
html[data-theme="dark"] .enterprise-hero .hero-title,
html[data-theme="dark"] .enterprise-signal-card strong,
html[data-theme="dark"] .enterprise-visual-header strong,
html[data-theme="dark"] .enterprise-ops-card strong {
  color: #eef3fa;
}

html[data-theme="dark"] .enterprise-topbar .section-nav a,
html[data-theme="dark"] .enterprise-hero .hero-summary,
html[data-theme="dark"] .enterprise-signal-card p,
html[data-theme="dark"] .enterprise-trust-chip span:last-child,
html[data-theme="dark"] .enterprise-ops-card span {
  color: rgba(225, 233, 244, 0.72);
}

html[data-theme="dark"] .enterprise-topbar .section-topbar-cta,
html[data-theme="dark"] .enterprise-hero .hero-button-primary {
  background: linear-gradient(135deg, #4c8cf2, #3765b5);
}

html[data-theme="dark"] .enterprise-hero {
  background:
    linear-gradient(135deg, rgba(12, 18, 31, 0.92), rgba(21, 30, 47, 0.86), rgba(18, 24, 39, 0.92)),
    rgba(14, 20, 32, 0.84);
}

html[data-theme="dark"] .enterprise-signal-card,
html[data-theme="dark"] .enterprise-visual-stack,
html[data-theme="dark"] .enterprise-ops-card,
html[data-theme="dark"] .enterprise-proof-strip .workspace-step,
html[data-theme="dark"] .enterprise-hero .hero-art-card,
html[data-theme="dark"] .enterprise-micro-grid .hero-micro-card,
html[data-theme="dark"] .enterprise-trust-chip,
html[data-theme="dark"] .enterprise-hero .hero-chip-row span {
  background: rgba(18, 26, 40, 0.72);
}

@media (max-width: 1120px) {
  .enterprise-hero-grid {
    grid-template-columns: 1fr;
  }

  .enterprise-signal-grid,
  .enterprise-ops-rail {
    grid-template-columns: 1fr;
  }

  .enterprise-hero .hero-title {
    max-width: 11ch;
  }
}

@media (max-width: 820px) {
  .enterprise-topbar {
    padding: 14px;
  }

  .enterprise-hero {
    padding: 24px;
  }

  .enterprise-hero-intro,
  .enterprise-visual-header {
    align-items: flex-start;
  }

  .enterprise-signal-grid {
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .enterprise-topbar .section-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .enterprise-hero .hero-title {
    font-size: clamp(2.8rem, 13vw, 4.3rem);
    max-width: 11ch;
  }

  .enterprise-trust-chip {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 12px 14px;
    border-radius: 22px;
  }

  .enterprise-signal-card,
  .enterprise-ops-card {
    padding: 16px;
  }
}

.tool-suite-panel {
  overflow: hidden;
}

.tool-suite-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tool-suite-card {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(19, 35, 58, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(246, 241, 231, 0.8)),
    rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 36px rgba(18, 33, 58, 0.08);
}

.tool-suite-card-primary {
  background:
    radial-gradient(circle at top right, rgba(77, 189, 245, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(246, 241, 231, 0.84)),
    rgba(255, 255, 255, 0.76);
}

.tool-suite-label {
  color: #7d8696;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tool-suite-card h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  color: #13233a;
}

.tool-suite-card p {
  margin: 0;
  color: #5e6a7b;
  line-height: 1.7;
}

.tool-suite-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tool-suite-tags span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(19, 35, 58, 0.08);
  color: #334054;
  font-size: 0.86rem;
}

.tool-suite-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  background: linear-gradient(135deg, #142743, #2f4d6d);
  color: #f8f4ef;
  font-weight: 600;
}

html[data-theme="dark"] .tool-suite-card,
html[data-theme="dark"] .tool-suite-card-primary {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(18, 26, 40, 0.72);
}

html[data-theme="dark"] .tool-suite-card h3 {
  color: #eef3fa;
}

html[data-theme="dark"] .tool-suite-card p,
html[data-theme="dark"] .tool-suite-tags span,
html[data-theme="dark"] .tool-suite-label {
  color: rgba(225, 233, 244, 0.74);
}

html[data-theme="dark"] .tool-suite-tags span {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.matcher-page {
  color: #f7f3eb;
  background:
    radial-gradient(circle at top left, rgba(255, 221, 51, 0.08), transparent 28%),
    linear-gradient(180deg, #050505 0%, #0b0b0b 100%);
}

.matcher-page-shell {
  width: min(1220px, calc(100% - 32px));
  padding-top: 28px;
}

html[data-embed-mode="true"] .matcher-page {
  background: transparent;
}

html[data-embed-mode="true"] .matcher-page-shell {
  width: min(100%, 1220px);
  padding-top: 0;
  padding-bottom: 0;
}

html[data-embed-mode="true"] .matcher-topbar,
html[data-embed-mode="true"] .matcher-footer {
  display: none;
}

html[data-embed-mode="true"] .matcher-main {
  gap: 18px;
}

.matcher-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.matcher-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #f7f3eb;
}

.matcher-brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 227, 76, 0.14);
  border: 1px solid rgba(255, 227, 76, 0.18);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: #ffe333;
}

.matcher-brand-copy {
  display: grid;
  gap: 2px;
}

.matcher-brand-copy strong {
  font-size: 1rem;
}

.matcher-brand-copy span {
  color: rgba(247, 243, 235, 0.62);
  font-size: 0.84rem;
}

.matcher-nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.matcher-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(247, 243, 235, 0.76);
  text-decoration: none;
}

.matcher-nav a[aria-current="page"] {
  border-color: rgba(255, 227, 76, 0.22);
  color: #ffe333;
  background: rgba(255, 227, 76, 0.08);
}

.matcher-main {
  display: grid;
  gap: 24px;
}

.matcher-tool-switcher {
  margin-bottom: 24px;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(12, 12, 12, 0.9);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.26);
}

.matcher-tool-switcher .panel-kicker {
  color: #ffe333;
}

.matcher-tool-switcher h2,
.matcher-tool-switcher .tool-switcher-summary {
  color: #f7f3eb;
}

.matcher-tool-switcher .panel-subcopy {
  color: rgba(247, 243, 235, 0.68);
}

.matcher-tool-switcher .tool-switcher {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.matcher-tool-switcher .tool-switcher-button {
  color: rgba(247, 243, 235, 0.7);
}

.matcher-tool-switcher .tool-switcher-button:hover {
  color: #f7f3eb;
}

.matcher-tool-switcher .tool-switcher-button.is-active {
  color: #102033;
}

.matcher-hero,
.matcher-form-panel,
.matcher-results-panel {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  background: rgba(12, 12, 12, 0.9);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.22);
}

.matcher-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 24px;
  padding: 36px;
}

.matcher-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 227, 76, 0.18);
  background: rgba(255, 227, 76, 0.08);
  color: #ffe333;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.matcher-hero-copy h1 {
  margin: 20px 0 0;
  max-width: 10ch;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  color: #f7f3eb;
}

.matcher-hero-copy p {
  margin: 20px 0 0;
  max-width: 56ch;
  color: rgba(247, 243, 235, 0.72);
  font-size: 1.02rem;
  line-height: 1.85;
}

.matcher-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.matcher-hero-badges span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(247, 243, 235, 0.72);
  background: rgba(255, 255, 255, 0.04);
}

.matcher-hero-card {
  display: grid;
  gap: 14px;
}

.matcher-hero-card article {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.matcher-hero-card span {
  display: block;
  margin-bottom: 10px;
  color: #ffe333;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.matcher-hero-card strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
  color: #f7f3eb;
}

.matcher-hero-card p {
  margin: 10px 0 0;
  color: rgba(247, 243, 235, 0.68);
  line-height: 1.65;
}

.matcher-form-panel,
.matcher-results-panel {
  padding: 28px;
}

.matcher-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.matcher-panel-head h2 {
  margin: 6px 0 0;
  color: #f7f3eb;
  font-size: 1.8rem;
}

.matcher-text-button {
  color: #ffe333;
}

.matcher-form {
  display: grid;
  gap: 18px;
}

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

.matcher-page .field span:first-child,
.matcher-page .panel-subcopy,
.matcher-page .field-hint {
  color: rgba(247, 243, 235, 0.68);
}

.matcher-page input[type="file"],
.matcher-page input[type="text"],
.matcher-page input[type="number"] {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: #f7f3eb;
}

.matcher-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  color: rgba(247, 243, 235, 0.76);
}

.matcher-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.matcher-page .summary-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 12, 12, 0.9);
}

.matcher-page .summary-card span {
  color: rgba(247, 243, 235, 0.56);
}

.matcher-page .summary-card strong {
  color: #ffe333;
}

.matcher-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.matcher-status-success {
  background: rgba(34, 197, 94, 0.14);
  color: #9df5bc;
}

.matcher-status-warning {
  background: rgba(255, 227, 76, 0.12);
  color: #ffe333;
}

.matcher-status-error {
  background: rgba(248, 113, 113, 0.14);
  color: #ffb4b4;
}

.matcher-page small {
  display: inline-block;
  margin-top: 6px;
  color: rgba(247, 243, 235, 0.56);
  line-height: 1.5;
}

.matcher-page .table-wrap table th,
.matcher-page .table-wrap table td {
  color: #f7f3eb;
}

.matcher-page .table-wrap table tbody tr {
  background: rgba(255, 255, 255, 0.02);
}

.matcher-footer {
  margin-top: 22px;
  border-top-color: rgba(255, 255, 255, 0.08);
}

.matcher-footer .footer-note,
.matcher-footer .footer-links a {
  color: rgba(247, 243, 235, 0.62);
}

@media (max-width: 980px) {
  .tool-switcher {
    width: 100%;
  }

  .tool-switcher-compact {
    width: auto;
  }

  .tool-switcher-button {
    flex: 1 1 220px;
    justify-content: center;
  }

  .tool-switcher-compact .tool-switcher-button {
    flex: 0 0 auto;
  }

  .matcher-embed-frame {
    min-height: 860px;
  }

  .tool-suite-grid,
  .matcher-hero,
  .matcher-grid,
  .matcher-summary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .tool-switcher {
    padding: 8px;
    border-radius: 24px;
  }

  .tool-switcher-button {
    width: 100%;
  }

  .tool-switcher-compact {
    width: 100%;
    flex-wrap: wrap;
  }

  .tool-switcher-compact .tool-switcher-button {
    width: auto;
    flex: 1 1 160px;
  }

  .matcher-embed-panel {
    padding: 20px;
  }

  .matcher-embed-shell {
    border-radius: 22px;
  }

  .matcher-embed-frame {
    min-height: 920px;
  }

  .matcher-page-shell {
    width: min(100% - 20px, 1220px);
  }

  .matcher-topbar,
  .matcher-panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .matcher-hero,
  .matcher-form-panel,
  .matcher-results-panel {
    padding: 20px;
    border-radius: 24px;
  }

  .matcher-hero-copy h1 {
    font-size: clamp(2.4rem, 12vw, 4rem);
  }
}
