/* ==========================================================================
   Workflow Zero IT — 2026 graphite / glass brand layer
   Derived from workflow-zero-it-design(1).html.
   Loaded after page styles so every marketing page and tool shares one skin.
   ========================================================================== */

:root {
  color-scheme: dark;

  --wz-black: #030405;
  --wz-ink: #0a0b0f;
  --wz-graphite: #3b3d44;
  --wz-charcoal: #464a54;
  --wz-slate-blue: #4a556d;
  --wz-deep-blue: #3c5c9b;
  --wz-electric-blue: #79b6f3;
  --wz-ice: #d3e1e7;
  --wz-white: #f8fafc;

  /* Tokens used by the current shared stylesheet. */
  --color-navy: var(--wz-white);
  --color-navy-deep: var(--wz-ice);
  --color-blue: var(--wz-electric-blue);
  --color-blue-hover: #9dccfb;
  --color-blue-pressed: #5f91c9;
  --color-cyan: var(--wz-electric-blue);
  --color-blue-soft: rgba(121, 182, 243, 0.08);
  --color-cyan-soft: rgba(121, 182, 243, 0.08);
  --color-canvas: var(--wz-black);
  --color-surface: rgba(10, 11, 15, 0.84);
  --color-surface-muted: rgba(17, 19, 24, 0.74);
  --color-border: rgba(211, 225, 231, 0.13);
  --color-text: rgba(248, 250, 252, 0.96);
  --color-text-muted: rgba(211, 225, 231, 0.72);
  --color-success: var(--wz-ice);
  --color-warning: #d8c8b7;
  --color-danger: #e8aaaa;
  --gradient-brand: linear-gradient(135deg, #79b6f3 0%, #3c5c9b 100%);

  --bg: var(--wz-black);
  --surface-1: rgba(10, 11, 15, 0.84);
  --surface-2: rgba(17, 19, 24, 0.74);
  --surface-3: rgba(59, 61, 68, 0.42);
  --stroke: rgba(211, 225, 231, 0.13);
  --stroke-strong: rgba(121, 182, 243, 0.34);
  --text: rgba(248, 250, 252, 0.96);
  --muted-text: rgba(211, 225, 231, 0.72);
  --faint-text: rgba(211, 225, 231, 0.46);
  --gradient-page:
    radial-gradient(circle at 18% 8%, rgba(121, 182, 243, 0.18), transparent 28%),
    radial-gradient(circle at 86% 14%, rgba(60, 92, 155, 0.2), transparent 30%),
    linear-gradient(135deg, #000 0%, #07080b 44%, #111318 100%);
  --gradient-graphite: linear-gradient(135deg, #030405 0%, #16181f 48%, #3b3d44 100%);
  --gradient-button: linear-gradient(135deg, #79b6f3 0%, #3c5c9b 100%);
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.46);
  --shadow-blue: 0 0 38px rgba(121, 182, 243, 0.18);
  --blur: blur(24px);
  --radius-xs: 10px;
  --radius-sm: 16px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-xl: 44px;

  /* Aliases keep every existing tool and the legacy Solutions page on-brand. */
  --midnight: var(--wz-black);
  --midnight-soft: var(--wz-ink);
  --void: var(--wz-black);
  --navy: #111318;
  --plate: rgba(17, 19, 24, 0.74);
  --plate-raised: rgba(59, 61, 68, 0.42);
  --steel: var(--wz-slate-blue);
  --graphite: rgba(211, 225, 231, 0.13);
  --line: rgba(211, 225, 231, 0.13);
  --fog: rgba(211, 225, 231, 0.64);
  --pebble: rgba(211, 225, 231, 0.74);
  --moonlight: rgba(248, 250, 252, 0.9);
  --glacier: var(--wz-white);
  --white: var(--wz-white);
  --blue: var(--wz-deep-blue);
  --blue-bright: var(--wz-electric-blue);
  --cyan: var(--wz-electric-blue);
  --iris: var(--wz-slate-blue);
  --success: var(--wz-ice);
  --grid: rgba(255, 255, 255, 0.024);
  --hairline: rgba(211, 225, 231, 0.13);
  --hairline-strong: rgba(121, 182, 243, 0.34);
  --glow: rgba(121, 182, 243, 0.18);
  --font-ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", ui-monospace, Menlo, Monaco, Consolas, monospace;
  --sans: var(--font-ui);
  --heading: var(--font-display);
  --mono: var(--font-mono);
  --page: 1180px;
}

html {
  background: var(--wz-black);
  scroll-padding-top: 104px;
}

body {
  position: relative;
  min-height: 100vh;
  color: var(--text);
  background: var(--gradient-page);
  background-attachment: fixed;
  font-family: var(--font-ui);
  letter-spacing: -0.015em;
  overflow-x: clip;
}

body::before {
  position: fixed;
  inset: -30%;
  z-index: -2;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-position: var(--pointer-x, 50%) var(--pointer-y, 18%);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 18%), black 0, transparent 58%);
  opacity: 0.5;
  animation: wz-grid-breathe 16s ease-in-out infinite;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 12%), rgba(121, 182, 243, 0.06), transparent 22rem),
    radial-gradient(circle at 50% 0%, transparent 0%, rgba(0, 0, 0, 0.44) 72%);
  transition: background-position 260ms ease;
}

@keyframes wz-grid-breathe {
  50% { opacity: 0.68; transform: translate3d(1.5%, 0.8%, 0); }
}

::selection {
  color: #020406;
  background: var(--wz-electric-blue);
}

:focus-visible {
  outline: 2px solid var(--wz-electric-blue);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--wz-white);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.055em;
}

p,
li {
  text-wrap: pretty;
}

strong,
b {
  color: var(--wz-white);
}

.shell,
.container {
  width: min(var(--page), calc(100% - 32px));
  margin-inline: auto;
}

.gradient-text,
.title-gradient {
  color: transparent !important;
  background: linear-gradient(180deg, #fff 0%, #dbe9ef 42%, #8792a6 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

/* Ambient forms */
.orb {
  filter: blur(100px);
  opacity: 0.34;
  mix-blend-mode: screen;
}

.orb-1 {
  background: radial-gradient(circle, rgba(121, 182, 243, 0.42), transparent 70%);
  animation: wz-drift-one 24s ease-in-out infinite;
}

.orb-2 {
  background: radial-gradient(circle, rgba(60, 92, 155, 0.34), transparent 70%);
  animation: wz-drift-two 30s ease-in-out infinite;
}

.orb-3 {
  background: radial-gradient(circle, rgba(70, 74, 84, 0.3), transparent 70%);
  animation: wz-drift-three 34s ease-in-out infinite;
}

@keyframes wz-drift-one {
  50% { transform: translate3d(7vw, 5vh, 0) scale(1.12); }
}

@keyframes wz-drift-two {
  50% { transform: translate3d(-6vw, 8vh, 0) scale(1.08); }
}

@keyframes wz-drift-three {
  50% { transform: translate3d(5vw, -7vh, 0) scale(1.14); }
}

/* Navigation */
header.shell {
  position: relative;
  z-index: 100;
  width: 100%;
  max-width: none;
  padding-top: 12px;
  padding-inline: max(16px, calc((100% - var(--page)) / 2));
  border-bottom: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

header.shell .nav,
.site-header .nav {
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: rgba(10, 11, 15, 0.64);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: var(--shadow-soft);
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

body[data-scrolled="true"] header.shell .nav,
.site-header.scrolled .nav {
  border-color: rgba(121, 182, 243, 0.25);
  background: rgba(10, 11, 15, 0.82);
}

.brand,
.brand-mark {
  gap: 10px;
  color: var(--wz-white);
  font-weight: 700;
}

.brand img,
.brand-mark img,
.brand-mark .brand-mark img {
  width: 86px;
  height: 30px;
  object-fit: cover;
  object-position: center;
  filter: drop-shadow(0 0 12px rgba(121, 182, 243, 0.22));
}

.brand em,
.footer-mark em {
  color: var(--wz-electric-blue);
}

.nav-links {
  gap: 4px;
}

.nav-link,
.nav-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted-text);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-link:hover,
.nav-links a:hover,
.nav-link[aria-current="page"],
.nav-links a.active {
  color: var(--wz-white);
  background: rgba(255, 255, 255, 0.07);
}

.nav-link[aria-current="page"]::after {
  display: none;
}

.nav-toggle,
.menu-toggle {
  border: 1px solid var(--stroke);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.052);
}

.site-header {
  top: 12px;
  padding-inline: 16px;
  border: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.site-header.scrolled {
  border: 0;
  background: transparent;
}

/* Pills and controls */
.button,
.btn,
.pill,
button:not(.nav-toggle):not(.menu-toggle) {
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 16px 42px rgba(0, 0, 0, 0.22);
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.btn:hover,
.pill:hover,
button:not(.nav-toggle):not(.menu-toggle):hover {
  transform: translateY(-1px);
  border-color: rgba(121, 182, 243, 0.46);
  filter: none;
}

.button:active,
.btn:active,
.pill:active {
  transform: translateY(1px) scale(0.99);
}

.button-primary,
button.button-primary,
.btn.primary {
  border-color: rgba(121, 182, 243, 0.5);
  color: #020406;
  background: var(--gradient-button);
  box-shadow: var(--shadow-blue), 0 16px 44px rgba(0, 0, 0, 0.35);
}

.button-primary:hover,
button.button-primary:hover,
.btn.primary:hover {
  color: #020406;
  background: var(--gradient-button);
  box-shadow: 0 0 46px rgba(121, 182, 243, 0.24), 0 18px 48px rgba(0, 0, 0, 0.4);
}

.button-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.button-lg {
  min-height: 52px;
  padding-inline: 22px;
}

/* Hero and section rhythm */
.hero {
  padding-top: clamp(64px, 9vw, 108px);
  padding-bottom: 54px;
}

.hero-sub {
  padding-top: clamp(70px, 10vw, 120px);
}

.hero h1,
.section-title {
  color: transparent;
  background: linear-gradient(180deg, #fff 0%, #dbe9ef 42%, #8792a6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(3.2rem, 8vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
  text-wrap: balance;
}

.hero-sub h1 {
  font-size: clamp(3rem, 7vw, 5.6rem);
}

.hero-copy,
.section-copy,
.section-subtitle {
  color: var(--muted-text);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.55;
}

.hero-copy strong {
  color: var(--wz-white);
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding: 7px 12px;
  border: 1px solid rgba(121, 182, 243, 0.26);
  border-radius: 999px;
  color: var(--wz-ice);
  background: rgba(121, 182, 243, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-transform: none;
}

.eyebrow::before,
.eyebrow::after {
  display: none;
}

.section-center .eyebrow {
  margin-inline: auto;
}

.section {
  padding-top: clamp(80px, 10vw, 118px);
}

.section-heading,
.solution-content h2 {
  color: var(--wz-white);
  font-size: clamp(2.15rem, 5vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

/* Shared glass material */
.product-window,
.own-panel,
.feature,
.step,
.price-card,
.tool-card,
.form-card,
.contact-card,
.roi-shell,
.email-tool-shell,
.sop-tool-shell,
.roi-formula-card,
.compare-wrap,
.acc-item,
.cta,
.solution-visual,
.finder-box,
.finder-results-box,
.email-benefit-grid,
.barber-tool-shell,
.aog-tool-shell,
.mold-tool-shell,
.hs-tool-shell,
.rfq-tool-shell {
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.077), rgba(255, 255, 255, 0.035));
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
}

.product-window,
.roi-shell,
.email-tool-shell,
.sop-tool-shell,
.barber-tool-shell,
.aog-tool-shell,
.mold-tool-shell,
.hs-tool-shell {
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft), var(--shadow-blue);
}

.product-stage {
  perspective: 1200px;
  background:
    radial-gradient(circle at 50% 0%, rgba(121, 182, 243, 0.13), transparent 44%),
    rgba(3, 4, 5, 0.54);
}

.product-window {
  transform: rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  transform-style: preserve-3d;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), border-color 240ms ease;
}

.window-bar,
.roi-input-panel,
.email-input-panel,
.sop-input-panel,
.barber-input-panel,
.aog-input-panel,
.mold-input-panel,
.hs-input-panel,
.roi-results-panel,
.email-output-panel,
.sop-output-panel,
.barber-output-panel,
.aog-output-panel,
.mold-output-panel,
.hs-output-panel {
  background: rgba(10, 11, 15, 0.58);
}

.window-dots span {
  background: rgba(211, 225, 231, 0.22);
}

.window-live,
.status,
.tool-card-status,
.roi-confidence {
  color: var(--wz-ice);
}

.status-dot,
.tool-card-status .status-dot {
  background: var(--wz-electric-blue);
  box-shadow: 0 0 16px rgba(121, 182, 243, 0.75);
  animation: wz-signal 2.4s ease-in-out infinite;
}

.status {
  border-color: rgba(121, 182, 243, 0.26);
  color: var(--wz-ice);
  background: rgba(121, 182, 243, 0.08);
}

@keyframes wz-signal {
  50% { opacity: 0.45; transform: scale(0.72); box-shadow: 0 0 5px rgba(121, 182, 243, 0.3); }
}

.workflow-canvas,
.sidebar,
.canvas-main {
  background: rgba(3, 4, 5, 0.36);
}

.node,
.side-icon,
.canvas-chip,
.tool-chip,
.roi-metric,
.email-benefit-grid div {
  border-color: var(--stroke);
  background: rgba(255, 255, 255, 0.052);
}

.node.highlight,
.side-item.active {
  border-color: rgba(121, 182, 243, 0.45);
  color: var(--wz-white);
  background: rgba(121, 182, 243, 0.08);
  box-shadow: 0 0 28px rgba(121, 182, 243, 0.12);
}

.node.highlight .node-icon {
  color: #020406;
  background: var(--gradient-button);
}

.connector {
  background: linear-gradient(90deg, rgba(121, 182, 243, 0.16), rgba(121, 182, 243, 0.72), rgba(121, 182, 243, 0.16));
}

.connector::after {
  border-left-color: var(--wz-electric-blue);
}

.connector::before {
  background: var(--wz-electric-blue);
  animation: wz-route 2.8s ease-in-out infinite;
}

@keyframes wz-route {
  from { left: 0; opacity: 0; }
  20%, 80% { opacity: 1; }
  to { left: calc(100% - 5px); opacity: 0; }
}

/* Cards, tools and pricing */
.feature,
.step,
.tool-card,
.contact-card {
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.price-card {
  position: relative;
  overflow: visible;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.feature::before,
.step::before,
.price-card::before,
.tool-card::before,
.contact-card::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle at var(--card-x, 50%) var(--card-y, 0%), rgba(121, 182, 243, 0.12), transparent 40%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.feature:hover,
.step:hover,
.price-card:hover,
.tool-card-live:hover,
.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(121, 182, 243, 0.34);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.045));
  box-shadow: 0 26px 74px rgba(0, 0, 0, 0.4), 0 0 34px rgba(121, 182, 243, 0.08);
}

.feature:hover::before,
.step:hover::before,
.price-card:hover::before,
.tool-card:hover::before,
.contact-card:hover::before {
  opacity: 1;
}

.feature-icon,
.tool-card-icon,
.contact-line .ci,
.check,
.step-num,
.price-badge {
  border-color: var(--stroke);
  color: var(--wz-ice);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.feature h3,
.step h4,
.price-name,
.tool-card-copy h3,
.contact-card h3 {
  color: var(--wz-white);
  font-weight: 700;
}

.feature p,
.step p,
.tool-card-copy p:last-child,
.price-features li,
.price-note,
.contact-line .cl-label,
.contact-side p {
  color: var(--muted-text);
}

.price-card.featured {
  border-color: rgba(121, 182, 243, 0.44);
  background:
    radial-gradient(circle at 50% 0%, rgba(121, 182, 243, 0.13), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow-blue), 0 24px 80px rgba(0, 0, 0, 0.4);
}

.price-promise,
.tool-card-category,
.roi-kicker {
  color: var(--wz-electric-blue);
}

.price-badge {
  color: #020406;
  background: var(--gradient-button);
}

.tool-card-coming {
  opacity: 0.54;
  filter: saturate(0.6);
}

.tool-count {
  border-color: var(--stroke);
  color: var(--muted-text);
  background: rgba(255, 255, 255, 0.052);
}

/* Forms and interactive tool panels */
.form-control,
.roi-money-input,
.hs-money-input,
.email-subject-row,
.email-draft,
.sop-document-wrap,
.barber-choice,
.aog-priority,
.mold-check,
input,
textarea,
select {
  border-color: var(--stroke);
  color: var(--wz-white);
  background-color: rgba(0, 0, 0, 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.form-control,
input:not([type="range"]):not([type="checkbox"]):not([type="radio"]),
textarea,
select {
  border-radius: 18px;
}

.form-control:focus,
.roi-money-input:focus-within,
.email-subject-row:focus-within,
input:focus,
textarea:focus,
select:focus {
  border-color: var(--wz-electric-blue);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(121, 182, 243, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

input::placeholder,
textarea::placeholder,
.form-control::placeholder {
  color: var(--faint-text);
}

select option {
  color: var(--wz-white);
  background: var(--wz-ink);
}

.form-group label,
.roi-label-row label,
.roi-number-field label {
  color: var(--muted-text);
}

.form-group label .req,
.roi-value {
  color: var(--wz-ice);
}

.form-group.invalid .form-control {
  border-color: #b77b7b;
  box-shadow: 0 0 0 3px rgba(183, 123, 123, 0.12);
}

.form-error {
  color: #e8aaaa;
}

.form-success {
  border-color: rgba(121, 182, 243, 0.34);
  color: var(--wz-ice);
  background: rgba(121, 182, 243, 0.08);
}

.roi-metrics,
.email-benefit-grid {
  background: var(--stroke);
}

.roi-metric,
.email-benefit-grid div {
  background: rgba(10, 11, 15, 0.88);
}

.roi-primary-result strong {
  color: var(--wz-white);
  background: none;
  -webkit-text-fill-color: initial;
}

.roi-bar {
  background: rgba(255, 255, 255, 0.1);
}

.roi-bar span,
.roi-range::-webkit-slider-thumb,
.progress span {
  background: var(--gradient-button);
  box-shadow: 0 0 22px rgba(121, 182, 243, 0.3);
}

.roi-range {
  background:
    linear-gradient(90deg, #79b6f3, #3c5c9b) 0 / var(--range-progress, 50%) 100% no-repeat,
    rgba(255, 255, 255, 0.1);
}

.email-empty-icon {
  border-color: var(--stroke);
  color: var(--wz-ice);
  background: rgba(255, 255, 255, 0.052);
}

.barber-empty-icon,
.aog-empty-icon,
.mold-empty-icon,
.hs-empty-icon {
  border-color: var(--stroke);
  color: var(--wz-ice);
  background: rgba(255, 255, 255, 0.052);
}

.email-empty-state,
.barber-empty-state,
.aog-empty-state,
.mold-empty-state,
.hs-empty-state,
.email-draft-card,
.barber-message-card,
.aog-recommendation-card,
.aog-rfq-card,
.aog-table-card,
.mold-cost-card,
.mold-draft-card,
.hs-primary-card,
.hs-cost-card,
.hs-analysis-card,
.hs-alternates,
.roi-bar-card {
  border-color: var(--stroke);
  color: var(--text);
  background: rgba(10, 11, 15, 0.72);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.24);
}

.roi-value,
.email-output-state,
.tool-count,
.roi-confidence {
  border-color: rgba(121, 182, 243, 0.26);
  color: var(--wz-ice);
  background: rgba(121, 182, 243, 0.08);
}

.hs-flag-card,
.hs-legal-note {
  border-color: rgba(211, 225, 231, 0.18);
  color: var(--muted-text);
  background: rgba(255, 255, 255, 0.045);
}

.email-draft,
.sop-document-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.sop-actions,
.email-draft-actions {
  background: rgba(10, 11, 15, 0.82);
}

/* Keep the generated SOP printable and intentionally paper-like. */
.sop-document {
  box-shadow: none;
}

/* Tables and accordions */
.compare-wrap {
  overflow: auto;
}

.compare th,
.compare td {
  border-color: var(--stroke);
}

.compare thead th,
.compare .featured-col {
  background: rgba(121, 182, 243, 0.07);
}

.compare .yes {
  color: var(--wz-ice);
}

.acc-item {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.acc-item[data-open="true"] {
  border-color: rgba(121, 182, 243, 0.38);
  box-shadow: 0 0 30px rgba(121, 182, 243, 0.08);
}

.acc-head {
  background: transparent;
}

/* Marquee */
.marquee {
  border-color: var(--stroke);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.tool-chip {
  border-color: var(--stroke);
  border-radius: 999px;
  color: var(--muted-text);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.tool-chip .dot {
  background: var(--wz-electric-blue);
  box-shadow: 0 0 12px rgba(121, 182, 243, 0.5);
}

.marquee-track {
  animation-duration: 34s;
}

/* CTA and footer */
.cta {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(121, 182, 243, 0.16), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.034));
}

.cta::before {
  background: radial-gradient(circle, rgba(121, 182, 243, 0.14), transparent 70%);
  animation: wz-cta-bloom 8s ease-in-out infinite;
}

@keyframes wz-cta-bloom {
  50% { transform: translate(-50%, -50%) scale(1.14); opacity: 0.72; }
}

footer {
  position: relative;
  border-top-color: var(--stroke);
}

footer::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  height: 180px;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(ellipse at 68% 100%, rgba(60, 92, 155, 0.18), transparent 56%),
    radial-gradient(ellipse at 26% 110%, rgba(121, 182, 243, 0.1), transparent 50%);
  opacity: 0.65;
}

.footer-col h4 {
  color: var(--wz-ice);
}

.footer-col a,
.footer-brand p,
.footer-bottom {
  color: var(--faint-text);
}

/* Solutions page bridge */
.solution-section {
  border-color: var(--stroke) !important;
}

.solution-visual {
  border-radius: var(--radius-xl) !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(121, 182, 243, 0.13), transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.077), rgba(255, 255, 255, 0.035)) !important;
  box-shadow: var(--shadow-soft), var(--shadow-blue);
}

.flow-node {
  border-color: var(--stroke) !important;
  border-radius: 18px !important;
  color: var(--muted-text);
  background: rgba(255, 255, 255, 0.052) !important;
}

.flow-node.active {
  border-color: rgba(121, 182, 243, 0.45) !important;
  color: var(--wz-white);
  box-shadow: 0 0 28px rgba(121, 182, 243, 0.14) !important;
}

.flow-node-badge {
  border-radius: 999px !important;
  color: #020406 !important;
  background: var(--gradient-button) !important;
}

.flow-arrow {
  color: var(--wz-electric-blue) !important;
  animation: wz-arrow 2s ease-in-out infinite alternate !important;
}

@keyframes wz-arrow {
  from { opacity: 0.35; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(3px); text-shadow: 0 0 14px rgba(121, 182, 243, 0.7); }
}

.solution-list li::before {
  color: var(--wz-electric-blue) !important;
}

.ambient-glow {
  background: radial-gradient(circle, rgba(121, 182, 243, 0.58), rgba(60, 92, 155, 0.18) 48%, transparent 72%) !important;
  opacity: 0.12 !important;
}

.solution-section,
.site-header + main > .section {
  overflow: clip;
}

/* Unified reveal language */
.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  filter: blur(8px);
  transition:
    opacity 760ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 760ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 760ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--d, 0) * 70ms);
}

.reveal.visible,
.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

@media (max-width: 940px) {
  header.shell {
    padding-inline: 12px;
  }

  header.shell .nav,
  .site-header .nav {
    border-radius: 26px;
  }

  .nav-links.open,
  .nav-links.active {
    top: calc(100% + 10px);
    border: 1px solid var(--stroke);
    border-radius: 24px;
    background: rgba(8, 9, 13, 0.98);
    -webkit-backdrop-filter: var(--blur);
    backdrop-filter: var(--blur);
    box-shadow: var(--shadow-soft);
  }

  .nav-links.open .nav-link,
  .nav-links.active a {
    width: 100%;
    min-height: 44px;
  }

  .site-header {
    padding-inline: 8px;
  }

  .solution-section,
  .solution-section:nth-of-type(even) {
    gap: 32px !important;
  }
}

@media (max-width: 700px) {
  .shell,
  .container {
    width: min(100% - 24px, var(--page));
  }

  header.shell {
    padding-top: 8px;
  }

  .hero {
    padding-top: 46px;
  }

  .hero h1,
  .section-title {
    font-size: clamp(3.1rem, 17vw, 4.8rem);
  }

  .hero-actions,
  .cta-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .cta-actions .button {
    width: 100%;
  }

  .product-window,
  .roi-shell,
  .email-tool-shell,
  .sop-tool-shell {
    border-radius: 28px;
  }

  .feature,
  .step,
  .price-card,
  .tool-card,
  .form-card,
  .contact-card,
  .solution-visual {
    border-radius: 24px;
  }

  .workflow-canvas {
    min-height: 360px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .product-window {
    transform: none !important;
  }
}
