:root {
  --bg: #07110f;
  --bg-soft: #0d1a17;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.085);
  --ink: #f7f4ea;
  --muted: #bac8c1;
  --subtle: #7f948d;
  --teal: #18c7b6;
  --mint: #9fe870;
  --amber: #e7bf5f;
  --rose: #ef6f91;
  --line: rgba(212, 230, 222, 0.16);
  --line-strong: rgba(24, 199, 182, 0.42);
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
  --radius: 18px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

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

body {
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  letter-spacing: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 10%, rgba(24, 199, 182, 0.17), transparent 28rem),
    radial-gradient(circle at 92% -2%, rgba(231, 191, 95, 0.12), transparent 30rem),
    linear-gradient(180deg, #081311 0%, #07110f 48%, #030706 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.18));
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  background-image: repeating-linear-gradient(0deg, #ffffff 0 1px, transparent 1px 3px);
}

#interactive-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

h1,
h2,
h3,
p,
li,
a,
button,
strong,
input {
  overflow-wrap: anywhere;
}

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

h1 {
  max-width: 15ch;
  margin-bottom: 1.05rem;
  font-size: clamp(2.65rem, 5vw, 4.45rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  max-width: 16ch;
  margin-bottom: 0.85rem;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  line-height: 1.12;
}

p {
  color: var(--muted);
}

.skip-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  transform: translateY(-160%);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  font-weight: 800;
  transition: transform 420ms var(--ease);
}

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

.topbar {
  --scroll-progress: 0%;
  position: sticky;
  top: 0.85rem;
  z-index: 20;
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.topbar-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.48rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(5, 13, 11, 0.84);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
}

.topbar-shell::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0;
  height: 2px;
  transform: scaleX(calc(var(--scroll-progress) / 100%));
  transform-origin: left;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--amber), var(--teal), var(--rose));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  padding: 0.22rem 0.75rem 0.22rem 0.22rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
}

.brand-mark,
.console-mark {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(212, 230, 222, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--teal);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  min-width: 0;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.16rem;
  min-width: 0;
  padding: 0.16rem;
  border: 1px solid rgba(212, 230, 222, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.nav-links a {
  min-height: 2.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.72rem;
  border-radius: 12px;
  color: rgba(247, 244, 234, 0.74);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
  transition: color 420ms var(--ease), background 420ms var(--ease), transform 420ms var(--ease);
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.095);
  transform: translateY(-1px);
}

.brand:focus-visible,
.btn:focus-visible,
.nav-links a:focus-visible,
.dashboard-filter:focus-visible,
input:focus-visible,
button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

main {
  width: min(1180px, 92vw);
  min-width: 0;
  margin: 0 auto;
  padding: 1.85rem 0 5rem;
}

.section {
  scroll-margin-top: 6.5rem;
  position: relative;
  min-width: 0;
  margin: 1.3rem 0 2.4rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.058), rgba(255, 255, 255, 0.014)),
    rgba(8, 20, 17, 0.78);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(24, 199, 182, 0.12), transparent 34rem);
  opacity: 0.62;
}

.section > * {
  position: relative;
  max-width: 100%;
  min-width: 0;
}

.hero {
  padding: clamp(1.4rem, 3vw, 2.4rem);
}

.hero-grid,
.framework-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(390px, 0.88fr);
  gap: clamp(1.2rem, 3vw, 2rem);
  align-items: start;
}

.hero-grid > *,
.framework-grid > *,
.split-section > *,
.dashboard-runner > *,
.dashboard-hero > *,
.dashboard-shell > *,
.dashboard-card-grid > *,
.metric-grid > *,
.agent-card-grid > *,
.offer-grid > *,
.report-columns > *,
.pipeline-columns > *,
.signal-strip > *,
.console-agent-grid > * {
  min-width: 0;
}

.hero-content {
  padding-top: clamp(0.25rem, 2vw, 2.2rem);
}

.hero-copy {
  max-width: 58ch;
  margin-bottom: 1.35rem;
  color: rgba(247, 244, 234, 0.76);
  font-size: 1.02rem;
  line-height: 1.72;
}

.section-code,
.status-ready,
.result-label,
.card-kicker,
.offer-card span,
.metric-card span,
.agent-number {
  font-family: var(--mono);
  color: var(--amber);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 800;
}

.hero-actions,
.audit-input-row,
.cta-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
  align-items: center;
}

.btn {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.78rem 1rem;
  border: 1px solid rgba(212, 230, 222, 0.18);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.065);
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
  transition: transform 460ms var(--ease), background 460ms var(--ease), border-color 460ms var(--ease);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.btn span[aria-hidden="true"] {
  display: inline-grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  transition: transform 460ms var(--ease);
}

.btn:hover span[aria-hidden="true"],
.btn:focus-visible span[aria-hidden="true"] {
  transform: translate(2px, -2px);
}

.btn-primary {
  color: #06100e;
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, #f4edd7, var(--amber) 48%, var(--teal));
  box-shadow: 0 16px 38px rgba(24, 199, 182, 0.18);
}

.btn-ghost,
.btn-small {
  background: rgba(255, 255, 255, 0.06);
}

.btn-small {
  min-height: 2.35rem;
  padding: 0.48rem 0.78rem;
  font-size: 0.82rem;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.signal-strip div,
.workflow-step,
.framework-list article,
.offer-card,
.metric-card,
.work-card,
.pipeline-column,
.dashboard-sidebar,
.dashboard-command,
.mini-agent,
.audit-result-card,
.report-lanes li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.014)),
    rgba(6, 16, 13, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.signal-strip div {
  padding: 0.82rem;
}

.signal-strip strong,
.signal-strip span {
  display: block;
}

.signal-strip strong {
  margin-bottom: 0.25rem;
  color: var(--ink);
}

.signal-strip span {
  color: var(--muted);
  font-size: 0.87rem;
}

.hero-visual-stack {
  display: grid;
  gap: 0.8rem;
}

.brand-film {
  position: relative;
  min-height: 260px;
  max-height: 310px;
  margin: 0;
  padding: 0.48rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.055);
  overflow: hidden;
}

.brand-film img,
.motion-frame img,
.motion-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

.brand-film figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  gap: 0.25rem;
  padding: 0.82rem;
  border: 1px solid rgba(212, 230, 222, 0.16);
  border-radius: 16px;
  background: rgba(4, 11, 9, 0.78);
}

.brand-film figcaption span {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.brand-film figcaption strong {
  max-width: 28rem;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.18;
}

.film-scan {
  position: absolute;
  inset: 0.48rem;
  border-radius: 18px;
  pointer-events: none;
  background:
    linear-gradient(110deg, transparent 0 44%, rgba(255, 255, 255, 0.22) 49%, transparent 55%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 13px);
  transform: translateX(-60%);
  animation: scanFrame 8s var(--ease) infinite;
  mix-blend-mode: screen;
}

.audit-console {
  padding: 0.9rem;
  border: 1px solid rgba(231, 191, 95, 0.22);
  border-radius: 24px;
  background:
    linear-gradient(160deg, rgba(24, 199, 182, 0.1), rgba(8, 18, 16, 0.9) 46%),
    var(--surface-strong);
}

.console-header,
.console-stage,
.progress-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.console-header {
  margin-bottom: 0.95rem;
}

.console-header div {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.audit-form {
  margin-bottom: 0.95rem;
}

.audit-form label {
  display: block;
  margin-bottom: 0.42rem;
  color: var(--muted);
  font-weight: 900;
}

input {
  min-height: 2.75rem;
  min-width: min(100%, 20rem);
  flex: 1 1 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(1, 7, 6, 0.66);
  color: var(--ink);
  padding: 0.78rem 0.95rem;
}

.console-stage {
  margin: 0.95rem 0;
  padding: 0.72rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.console-stage span:last-child {
  color: var(--mint);
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.console-agent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.mini-agent {
  padding: 0.7rem;
}

.mini-agent strong,
.mini-agent small,
.mini-agent em {
  display: block;
}

.mini-agent small {
  color: var(--muted);
}

.mini-agent em {
  margin-top: 0.35rem;
  color: var(--subtle);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mini-agent.is-running {
  border-color: rgba(24, 199, 182, 0.44);
}

.mini-agent.is-complete {
  border-color: rgba(159, 232, 112, 0.42);
}

.agent-icon,
.workflow-step span,
.pipeline-column span {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--rose);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 900;
}

.audit-result-card {
  margin-top: 0.85rem;
  padding: 0.95rem;
}

.audit-result-card strong {
  display: block;
  margin: 0.2rem 0;
  font-size: 2.35rem;
  line-height: 1;
}

.split-section,
.dashboard-runner,
.cta {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 1.2rem;
  align-items: start;
}

.audit-workflow,
.framework-list {
  display: grid;
  gap: 0.75rem;
}

.workflow-step {
  display: grid;
  grid-template-columns: 2.3rem 1fr;
  gap: 0.75rem;
  padding: 0.9rem;
}

.workflow-step p {
  grid-column: 2;
  margin: 0;
}

.section-head {
  display: grid;
  gap: 0.4rem;
  max-width: 100%;
  min-width: 0;
  margin-bottom: 1.1rem;
}

.section-head p {
  max-width: 62ch;
}

.agent-card-grid,
.offer-grid,
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.agent-card {
  min-height: 16.5rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.016)),
    rgba(8, 20, 17, 0.78);
  transition: transform 520ms var(--ease), border-color 520ms var(--ease);
}

.agent-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.agent-symbol {
  display: grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  margin: 0 0 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  color: var(--ink);
  background: rgba(24, 199, 182, 0.08);
  font-size: 1.1rem;
}

.agent-number {
  float: right;
  margin-top: 0.32rem;
}

.agent-card h3 {
  clear: both;
  max-width: 13ch;
}

.framework-list article,
.offer-card,
.metric-card,
.work-card,
.pipeline-column {
  padding: 1rem;
}

.framework-list strong,
.offer-card strong,
.metric-card strong,
.work-card h3,
.pipeline-column h3 {
  color: var(--ink);
}

.framework-list p,
.offer-card p,
.metric-card p,
.work-card p,
.pipeline-column p {
  margin-bottom: 0;
}

.offer-card strong,
.metric-card strong {
  display: block;
  margin-top: 0.8rem;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
}

.studio-reel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(380px, 1fr);
  gap: 1rem;
  align-items: center;
}

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

.motion-board {
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.055);
  overflow: hidden;
}

.motion-track {
  display: flex;
  gap: 0.5rem;
  overflow: hidden;
  padding: 0.15rem 0.15rem 0.7rem;
}

.motion-track span {
  flex: 0 0 auto;
  padding: 0.4rem 0.62rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(247, 244, 234, 0.78);
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: reelStep 12s var(--ease) infinite;
}

.motion-frame {
  position: relative;
  min-height: 250px;
  border-radius: 18px;
  overflow: hidden;
  background: #050b09;
}

.motion-bars {
  position: absolute;
  inset: 1rem;
  display: grid;
  align-content: end;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.62rem;
  pointer-events: none;
}

.motion-bars span {
  display: block;
  min-height: 4rem;
  border: 1px solid rgba(247, 244, 234, 0.16);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(24, 199, 182, 0.34), rgba(231, 191, 95, 0.16));
  transform-origin: bottom;
  animation: signalRise 7s var(--ease) infinite;
}

.motion-bars span:nth-child(2) {
  animation-delay: 300ms;
}

.motion-bars span:nth-child(3) {
  animation-delay: 650ms;
}

.motion-bars span:nth-child(4) {
  animation-delay: 950ms;
}

.metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 1.2rem 0 2.4rem;
}

.form-note {
  grid-column: 1 / -1;
  min-height: 1.4rem;
  margin: 0;
  color: var(--mint);
}

.direct-email-note {
  grid-column: 1 / -1;
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
}

.direct-email-note a {
  color: inherit;
  font-weight: 900;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.footer {
  width: min(1180px, 92vw);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 1.4rem;
  margin: 0 auto;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 24px 24px 0 0;
  background: rgba(5, 13, 11, 0.88);
  color: var(--subtle);
  font-size: 0.9rem;
}

.footer-brand {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.footer-brand strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--ink);
  font-size: 1.1rem;
}

.footer-brand p,
.footer-small {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.footer-links a {
  min-height: 2.3rem;
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: rgba(247, 244, 234, 0.76);
  text-decoration: none;
}

.footer-small {
  grid-column: 1 / -1;
  padding-top: 1rem;
  border-top: 1px solid rgba(212, 230, 222, 0.11);
}

.asset-credit {
  grid-column: 1 / -1;
  margin: -0.45rem 0 0;
  color: rgba(247, 244, 234, 0.54);
  font-size: 0.74rem;
  line-height: 1.45;
}

.dashboard-main {
  padding-top: 1.5rem;
}

.dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
  gap: 1rem;
  align-items: stretch;
}

.dashboard-hero h1 {
  max-width: 14ch;
  font-size: clamp(2.45rem, 5vw, 4.2rem);
}

.dashboard-command strong {
  display: block;
  margin: 1rem 0 0.5rem;
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.08;
}

.dashboard-form {
  margin-bottom: 0;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: minmax(230px, 0.55fr) minmax(0, 1.45fr);
  gap: 1rem;
}

.dashboard-sidebar h2 {
  max-width: 10ch;
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  line-height: 1.05;
}

.dashboard-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.9rem 0;
}

.dashboard-filter {
  min-height: 2.35rem;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  padding: 0.5rem 0.72rem;
  cursor: pointer;
  font-weight: 900;
}

.dashboard-filter.is-active {
  color: var(--ink);
  border-color: var(--line-strong);
  background: rgba(24, 199, 182, 0.12);
}

.dashboard-filter-status {
  margin-bottom: 0;
}

.dashboard-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.dashboard-card-wide {
  grid-column: 1 / -1;
}

.report-card {
  border-color: rgba(24, 199, 182, 0.3);
}

.evidence-decision-card {
  border-color: rgba(231, 191, 95, 0.32);
}

.health-card {
  border-color: rgba(159, 232, 112, 0.28);
}

.health-card-head,
.report-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
}

.health-card-head h3,
.report-card-head h3 {
  max-width: 24ch;
}

.health-card-head strong,
.report-card-head strong {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 2.1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.32rem 0.68rem;
  color: var(--ink);
  background: rgba(24, 199, 182, 0.1);
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.domain-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-end;
}

.domain-refresh-button {
  border-color: rgba(24, 199, 182, 0.28);
  background: rgba(24, 199, 182, 0.1);
}

.domain-refresh-note {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.report-lanes,
.report-columns,
.health-columns {
  display: grid;
  gap: 0.75rem;
}

.report-lanes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1rem 0;
  padding: 0;
  list-style: none;
}

.report-lanes li {
  min-height: 2.65rem;
  padding: 0.62rem 0.72rem;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.76rem;
  line-height: 1.35;
}

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

.health-columns {
  margin-top: 1rem;
}

.launch-status-card {
  border-color: rgba(15, 118, 110, 0.2) !important;
}

.launch-gate-list li,
.launch-action-list li {
  padding-left: 0.1rem;
}

.launch-action-list li {
  color: var(--ink);
}

.dns-copy-panel,
.launch-copy-panel,
.domain-handoff-panel {
  margin-top: 1rem;
  border: 1px solid rgba(231, 191, 95, 0.24);
  border-radius: 14px;
  padding: 0.85rem;
  background: rgba(231, 191, 95, 0.075);
}

.launch-copy-panel {
  border-color: rgba(24, 199, 182, 0.2);
  background: rgba(24, 199, 182, 0.06);
}

.domain-handoff-panel {
  border-color: rgba(15, 118, 110, 0.18);
  background: rgba(15, 118, 110, 0.055);
}

.dns-copy-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: space-between;
}

.copy-button {
  min-height: 2.1rem;
  border: 1px solid rgba(231, 191, 95, 0.36);
  border-radius: 999px;
  padding: 0.32rem 0.68rem;
  background: rgba(231, 191, 95, 0.12);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.copy-button:hover,
.copy-button:focus-visible {
  border-color: rgba(231, 191, 95, 0.68);
  outline: none;
}

.copy-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.provider-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.dns-copy-panel pre,
.launch-copy-panel pre {
  overflow-x: auto;
  margin: 0.65rem 0;
  border: 1px solid rgba(212, 230, 222, 0.14);
  border-radius: 10px;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.55;
  white-space: pre;
}

.dns-copy-panel p,
.launch-copy-panel p {
  margin: 0;
  font-size: 0.86rem;
}

.dns-copy-panel [data-domain-copy-status],
.launch-copy-panel [data-health-env-copy-status] {
  color: var(--ink);
  font-weight: 800;
}

.is-dashboard-hidden {
  display: none;
}

.mini-list {
  display: grid;
  gap: 0.5rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

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

.mini-list li {
  padding-left: 1rem;
  color: var(--muted);
  position: relative;
}

.mini-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--rose);
}

.health-list li::before {
  background: var(--teal);
}

.evidence-decision-list {
  gap: 0.7rem;
}

.evidence-decision-list li {
  padding: 0.8rem 0.92rem;
  border: 1px solid rgba(231, 191, 95, 0.22);
  border-left: 3px solid var(--amber);
  border-radius: 14px;
  background: rgba(231, 191, 95, 0.075);
  color: var(--muted);
}

.evidence-decision-list li::before {
  display: none;
}

.pipeline-board .section-head {
  margin-bottom: 1rem;
}

.pipeline-columns {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}

.pipeline-column span {
  margin-bottom: 0.75rem;
}

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

.hp-field {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 720ms var(--ease), transform 720ms var(--ease);
}

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

@keyframes scanFrame {
  0%,
  42% {
    transform: translateX(-60%);
    opacity: 0;
  }
  54% {
    opacity: 0.62;
  }
  100% {
    transform: translateX(60%);
    opacity: 0;
  }
}

@keyframes signalRise {
  0%,
  100% {
    transform: scaleY(0.42);
    opacity: 0.55;
  }
  48% {
    transform: scaleY(1);
    opacity: 0.9;
  }
}

@keyframes reelStep {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-18%);
  }
}

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

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

@media (max-width: 1040px) {
  .hero-grid,
  .framework-grid,
  .split-section,
  .dashboard-hero,
  .dashboard-runner,
  .dashboard-shell,
  .studio-reel,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero-visual-stack {
    grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
    align-items: stretch;
  }

  .agent-card-grid,
  .offer-grid,
  .metric-grid,
  .pipeline-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  html {
    scroll-padding-top: 9rem;
  }

  .topbar {
    top: 0.5rem;
  }

  .topbar-shell {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
    border-radius: 18px;
  }

  .brand,
  .topbar .btn-small {
    width: 100%;
    justify-content: center;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.16rem;
  }

  .nav-links a {
    min-width: 0;
    padding-inline: 0.24rem;
    font-size: 0.66rem;
  }

  main {
    width: min(100% - 1rem, 100%);
    padding-top: 1rem;
  }

  .section,
  .hero {
    padding: 1rem;
    border-radius: 22px;
    scroll-margin-top: 9rem;
  }

  .hero-visual-stack,
  .signal-strip,
  .agent-card-grid,
  .offer-grid,
  .metric-grid,
  .dashboard-card-grid,
  .health-card-head,
  .health-columns,
  .report-card-head,
  .report-columns,
  .agent-run-list,
  .pipeline-columns,
  .console-agent-grid,
  .studio-reel,
  .footer {
    grid-template-columns: 1fr;
  }

  .report-lanes {
    grid-template-columns: 1fr;
  }

  .brand-film,
  .motion-frame {
    min-height: 210px;
    max-height: none;
  }

  h1 {
    max-width: 100%;
    font-size: 2.52rem;
    line-height: 1.02;
  }

  h2,
  .dashboard-hero h1 {
    max-width: 100%;
    font-size: 2rem;
  }

  .audit-input-row,
  .cta-form,
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn,
  input {
    width: 100%;
  }

  .footer {
    width: min(100% - 1rem, 100%);
    padding: 1rem;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

/* Clean local studio direction, v9 */
:root {
  --bg: #f7f9f6;
  --bg-soft: #eef4f0;
  --panel: #ffffff;
  --panel-strong: #f2f7f4;
  --ink: #102629;
  --muted: #4f6364;
  --subtle: #7a8b8b;
  --teal: #0f766e;
  --mint: #d9f2ea;
  --amber: #b96f2c;
  --rose: #bd4f45;
  --blue: #2f6f9f;
  --line: #d8e1dd;
  --line-strong: #87bdb6;
  --shadow: 0 20px 60px rgba(29, 52, 52, 0.11);
  --radius: 14px;
  --radius-lg: 24px;
}

body.clean-site {
  color: var(--ink);
  background: var(--bg);
}

body.clean-site::before,
body.clean-site::after,
body.clean-site #interactive-bg,
.clean-site .film-scan,
.clean-site .motion-board,
.clean-site .motion-frame,
.clean-site .motion-track,
.clean-site .motion-bars {
  display: none;
}

.clean-site p {
  color: var(--muted);
}

.clean-site h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 0.94;
  font-weight: 800;
}

.clean-site h2 {
  max-width: 14ch;
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  line-height: 1.02;
  font-weight: 800;
}

.clean-site .topbar {
  top: 0.9rem;
}

.clean-site .topbar-shell {
  border-color: rgba(16, 38, 41, 0.12);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 44px rgba(25, 45, 45, 0.12);
}

.clean-site .topbar-shell::after {
  display: none;
}

.clean-site .brand {
  color: var(--ink);
}

.clean-site .brand-mark,
.clean-site .console-mark {
  border-color: rgba(15, 118, 110, 0.24);
  background: #e8f5f2;
}

.clean-site .nav-links {
  border-color: rgba(16, 38, 41, 0.1);
  background: #f2f6f3;
}

.clean-site .nav-links a {
  color: #526667;
}

.clean-site .nav-links a:hover,
.clean-site .nav-links a:focus-visible,
.clean-site .nav-links a.is-active,
.clean-site .nav-links a[aria-current="page"] {
  color: var(--ink);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(20, 45, 44, 0.08);
}

.clean-site main {
  padding-top: 2rem;
}

.clean-site .section {
  border-color: rgba(16, 38, 41, 0.1);
  background: var(--panel);
  box-shadow: var(--shadow);
  content-visibility: auto;
  contain-intrinsic-size: 720px;
}

.clean-site .section::before {
  display: none;
}

.clean-site .hero {
  padding: clamp(1.4rem, 4vw, 3rem);
  content-visibility: visible;
  contain-intrinsic-size: auto;
}

.clean-site .workspace-hero,
.clean-site .dashboard-hero {
  content-visibility: visible;
  contain-intrinsic-size: auto;
}

.clean-site .hero-grid {
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.82fr);
  align-items: center;
}

.clean-site .hero-copy {
  max-width: 48rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  line-height: 1.75;
}

.clean-site .section-code,
.clean-site .status-ready,
.clean-site .result-label,
.clean-site .card-kicker,
.clean-site .offer-card span,
.clean-site .metric-card span,
.clean-site .agent-number {
  color: var(--teal);
  letter-spacing: 0.12em;
}

.clean-site .btn {
  border-color: rgba(16, 38, 41, 0.14);
  color: var(--ink);
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(21, 43, 43, 0.08);
}

.clean-site .btn-primary {
  color: #ffffff;
  border-color: var(--teal);
  background: var(--teal);
  box-shadow: 0 14px 32px rgba(15, 118, 110, 0.18);
}

.clean-site .btn-ghost,
.clean-site .btn-small {
  background: #ffffff;
}

.clean-site .btn span[aria-hidden="true"] {
  background: rgba(15, 118, 110, 0.1);
}

.clean-site .signal-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.clean-site .hero .signal-strip {
  grid-column: 1 / -1;
  gap: 0;
  margin-top: 0.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(16, 38, 41, 0.1);
}

.clean-site .hero .signal-strip div {
  border: 0;
  border-left: 1px solid rgba(16, 38, 41, 0.1);
  border-radius: 0;
  padding: 0 1rem;
  background: transparent;
  box-shadow: none;
}

.clean-site .hero .signal-strip div:first-child {
  border-left: 0;
  padding-left: 0;
}

.clean-site .signal-strip div,
.clean-site .workflow-step,
.clean-site .framework-list article,
.clean-site .offer-card,
.clean-site .metric-card,
.clean-site .work-card,
.clean-site .pipeline-column,
.clean-site .dashboard-sidebar,
.clean-site .dashboard-command,
.clean-site .mini-agent,
.clean-site .audit-result-card,
.clean-site .report-lanes li,
.clean-site .case-study,
.clean-site .case-review,
.clean-site .proof-board > div,
.clean-site .studio-details article,
.clean-site .partner-grid span {
  border-color: rgba(16, 38, 41, 0.1);
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(22, 44, 44, 0.07);
}

.clean-site .audit-console {
  padding: clamp(1rem, 2vw, 1.4rem);
  border-color: rgba(15, 118, 110, 0.2);
  background: #ffffff;
  box-shadow: 0 24px 64px rgba(23, 48, 48, 0.12);
}

.clean-site input {
  border-color: rgba(16, 38, 41, 0.16);
  background: #f7faf8;
  color: var(--ink);
}

.clean-site .console-stage {
  color: var(--muted);
}

.audit-permission-note {
  margin: 0.6rem 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
}

.console-insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 1rem 0;
}

.console-insight-grid article {
  min-width: 0;
  padding: 0.85rem;
  border: 1px solid rgba(16, 38, 41, 0.1);
  border-radius: 14px;
  background: #f8fbf9;
}

.console-insight-grid span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--subtle);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.console-insight-grid strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.25;
}

.connector-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.connector-pills span {
  min-height: 2rem;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 999px;
  padding: 0.35rem 0.62rem;
  background: #edf8f5;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
}

.clean-site .console-stage span:last-child {
  color: var(--teal);
}

.clean-site .mini-agent.is-running,
.clean-site .mini-agent.is-complete {
  border-color: rgba(15, 118, 110, 0.32);
}

.clean-site .agent-icon,
.clean-site .workflow-step span,
.clean-site .pipeline-column span,
.clean-site .proof-board span {
  color: var(--teal);
  border-color: rgba(15, 118, 110, 0.26);
  background: #edf8f5;
}

.proof-board {
  display: grid;
  gap: 0.75rem;
}

.proof-board > div {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.7rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.proof-board span {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 800;
}

.proof-board strong {
  color: var(--ink);
}

.proof-board p {
  grid-column: 2;
  margin: 0;
}

.local-studio,
.portfolio-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
}

.studio-details,
.case-metrics,
.partner-grid {
  display: grid;
  gap: 0.75rem;
}

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

.studio-details article {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.studio-details strong,
.case-summary h3,
.case-review cite,
.partner-grid span {
  color: var(--ink);
}

.case-study {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(260px, 0.78fr);
  gap: 1rem;
  min-width: 0;
  padding: clamp(1rem, 2vw, 1.4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.case-url {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin-bottom: 0.75rem;
  color: var(--teal);
  font-weight: 900;
  text-decoration: none;
}

.case-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1rem;
}

.case-metrics span {
  padding: 0.85rem;
  border: 1px solid rgba(16, 38, 41, 0.1);
  border-radius: 12px;
  background: #f8fbf9;
  color: var(--muted);
}

.case-metrics strong {
  display: block;
  color: var(--ink);
  font-size: 1.35rem;
}

.case-review {
  margin: 0;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.case-review p {
  color: var(--ink);
  font-size: 1.02rem;
}

.case-review cite {
  font-style: normal;
  font-weight: 800;
}

.clean-site .agent-card {
  min-height: 14.5rem;
  border-color: rgba(16, 38, 41, 0.1);
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(22, 44, 44, 0.07);
}

.clean-site .agent-symbol {
  color: var(--teal);
  border-color: rgba(15, 118, 110, 0.2);
  background: #edf8f5;
}

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

.partner-grid span {
  min-height: 4.25rem;
  display: grid;
  place-items: center;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  font-weight: 900;
  text-align: center;
}

.clean-site .cta {
  border-color: rgba(15, 118, 110, 0.18);
  background: #f4faf7;
  color: var(--ink);
}

.clean-site .cta p,
.clean-site .cta h2 {
  color: var(--ink);
}

.clean-site .cta input {
  background: #ffffff;
}

.clean-site .cta .btn-primary {
  background: #ffffff;
  color: var(--ink);
}

.clean-site .footer {
  border-color: rgba(16, 38, 41, 0.1);
  background: #ffffff;
  color: var(--muted);
  box-shadow: 0 -12px 44px rgba(25, 45, 45, 0.08);
}

.clean-site .footer-brand strong {
  color: var(--ink);
}

.clean-site .footer-links a,
.social-links a {
  border-color: rgba(16, 38, 41, 0.12);
  color: var(--ink);
  background: #f7faf8;
}

.social-links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.social-links a {
  min-height: 2.3rem;
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

.clean-site .asset-credit {
  color: #526667;
  font-size: 0.78rem;
}

@media (max-width: 1040px) {
  .clean-site .hero-grid,
  .local-studio,
  .portfolio-section,
  .case-study {
    grid-template-columns: 1fr;
  }

  .studio-details,
  .case-metrics,
  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .clean-site h1 {
    font-size: 2.55rem;
    line-height: 0.98;
  }

  .clean-site .dashboard-hero h1 {
    font-size: 2.45rem;
    line-height: 1.04;
  }

  .clean-site .dashboard-command strong {
    font-size: 1.18rem;
    line-height: 1.12;
  }

  .clean-site .topbar {
    width: min(100% - 1rem, 100%);
    top: 0.5rem;
  }

  .clean-site .topbar-shell {
    gap: 0.36rem;
    padding: 0.42rem;
  }

  .clean-site .brand {
    width: auto;
    justify-content: flex-start;
  }

  .clean-site .topbar .btn-small {
    display: none;
  }

  .clean-site .nav-links {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: none;
    gap: 0.25rem;
    overflow-x: auto;
    padding: 0.22rem;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .clean-site .nav-links .nav-mobile-secondary {
    display: none;
  }

  .clean-site .nav-links::-webkit-scrollbar {
    display: none;
  }

  .clean-site .nav-links a {
    flex: 0 0 auto;
    min-height: 2.35rem;
    padding-inline: 0.78rem;
    scroll-snap-align: start;
  }

  .clean-site main {
    padding-top: 1rem;
  }

  .clean-site .hero {
    padding: 1.05rem;
  }

  .clean-site .hero-content {
    padding-top: 0;
  }

  .clean-site .hero-copy {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.62;
  }

  .clean-site .hero-actions {
    gap: 0.55rem;
  }

  .studio-details,
  .case-metrics,
  .partner-grid,
  .console-insight-grid,
  .clean-site .signal-strip {
    grid-template-columns: 1fr;
  }
}

/* Smart service-rich refresh, July 2026 */
.clean-site {
  --photo-shadow: 0 24px 70px rgba(22, 45, 45, 0.16);
  --warm-card-shadow: rgba(0, 0, 0, 0.02) 0 0 0 1px, rgba(0, 0, 0, 0.04) 0 8px 22px, rgba(0, 0, 0, 0.08) 0 18px 45px;
}

.clean-site h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 5.1vw, 5.1rem);
}

.clean-site h2 {
  max-width: 15ch;
}

.clean-site .hero-grid-media {
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.9fr);
  align-items: stretch;
}

.hero-media-card,
.image-frame,
.map-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(16, 38, 41, 0.1);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--photo-shadow);
}

.hero-media-card {
  height: clamp(480px, 34vw, 500px);
  min-height: 0;
}

.hero-media-card picture,
.image-frame picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-media-card img,
.image-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.015);
  transition: transform 900ms var(--ease), filter 900ms var(--ease);
}

.hero-media-card:hover img,
.image-frame:hover img {
  transform: scale(1.055);
  filter: saturate(1.06) contrast(1.02);
}

.hero-media-card img {
  object-position: 52% 44%;
}

.media-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 1rem;
  border: 1px solid rgba(16, 38, 41, 0.1);
  border-radius: 20px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 34px rgba(16, 38, 41, 0.12);
}

.media-caption span,
.stat-card span,
.compare-card span {
  display: block;
  margin-bottom: 0.32rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.media-caption strong {
  display: block;
  max-width: 34ch;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.2;
}

.problem-section,
.agency-section,
.offer-section {
  background: #ffffff;
}

.wide-head h2 {
  max-width: 17ch;
}

.wide-head p {
  max-width: 70ch;
  font-size: 1.04rem;
}

.problem-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.72fr);
  gap: 1.2rem;
  align-items: stretch;
}

.stat-infographic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.stat-card {
  position: relative;
  min-height: 13rem;
  padding: 1.25rem;
  border: 1px solid rgba(16, 38, 41, 0.1);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--warm-card-shadow);
  overflow: hidden;
}

.stat-card::after {
  content: "";
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--teal);
  opacity: 0.82;
  transform-origin: left;
  transform: scaleX(0.86);
}

.stat-card-large {
  grid-row: span 2;
  min-height: 27rem;
  color: var(--ink);
  background: #f4faf7;
}

.stat-card span {
  color: var(--teal);
}

.stat-card-large span,
.stat-card-large p,
.stat-card-large small {
  color: var(--muted);
}

.stat-card strong {
  display: block;
  margin: 0.15rem 0 0.5rem;
  color: var(--ink);
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.stat-card-large strong {
  color: var(--ink);
  font-size: clamp(4rem, 9vw, 7.5rem);
}

.stat-card p {
  max-width: 30ch;
  margin-bottom: 0.9rem;
  font-weight: 650;
}

.stat-card small {
  display: block;
  color: #526667;
  font-size: 0.82rem;
  line-height: 1.45;
}

.problem-photo-stack {
  display: grid;
  gap: 0.9rem;
}

.tall-frame {
  min-height: 28rem;
  margin: 0;
}

.problem-location-frame img {
  object-position: 48% 50%;
}

.tall-frame figcaption,
.browser-frame figcaption,
.studio-photo-frame figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 0.85rem;
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 34px rgba(16, 38, 41, 0.12);
  font-weight: 800;
}

.mini-bars {
  min-height: 6rem;
  display: flex;
  align-items: end;
  gap: 0.7rem;
  padding: 1rem;
  border-radius: 22px;
  background: var(--panel-strong);
}

.mini-bars span {
  flex: 1;
  height: var(--bar);
  min-height: 1.8rem;
  border-radius: 999px 999px 0 0;
  background: var(--teal);
}

.audit-split {
  align-items: stretch;
}

.audit-copy-block {
  align-self: center;
}

.value-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.value-list article,
.customer-value-grid article,
.validation-grid article,
.wedge-strip,
.lead-cash-board {
  padding: 1rem;
  border: 1px solid rgba(16, 38, 41, 0.1);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(22, 44, 44, 0.06);
}

.value-list strong,
.customer-value-grid strong,
.validation-grid strong,
.wedge-strip strong,
.lead-cash-board strong {
  color: var(--ink);
}

.wedge-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  align-items: center;
  margin-top: 1rem;
  background: #edf8f5;
}

.wedge-strip span {
  color: var(--muted);
  font-weight: 700;
}

.better-note {
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  background: #edf8f5;
  color: var(--teal);
  font-weight: 800;
}

.audit-console-feature {
  transform: translateZ(0);
  transition: transform 560ms var(--ease), box-shadow 560ms var(--ease);
}

.audit-console-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 80px rgba(15, 118, 110, 0.16);
}

.studio-map-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1fr);
  gap: 1.2rem;
  align-items: stretch;
}

.studio-visuals {
  display: grid;
  grid-template-rows: minmax(16rem, 0.7fr) minmax(20rem, 1fr);
  gap: 1rem;
  min-width: 0;
}

.studio-photo-frame {
  min-height: 18rem;
  margin: 0;
}

.studio-photo-frame img {
  object-position: 50% 50%;
}

.compact-details {
  grid-template-columns: 1fr;
  margin-top: 1rem;
}

.map-card {
  min-height: 24rem;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 24rem;
  display: block;
  border: 0;
  filter: saturate(0.92) contrast(1.02);
}

.map-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  gap: 0.18rem;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 34px rgba(16, 38, 41, 0.14);
}

.map-caption strong {
  color: var(--ink);
}

.map-caption span {
  color: var(--muted);
}

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

.compare-card {
  padding: clamp(1.2rem, 2.4vw, 1.7rem);
  border: 1px solid rgba(16, 38, 41, 0.1);
  border-radius: 26px;
  box-shadow: var(--warm-card-shadow);
}

.compare-card h3 {
  max-width: 16ch;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
}

.compare-card ul {
  display: grid;
  gap: 0.75rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.compare-card li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--muted);
}

.compare-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: currentColor;
}

.muted-card {
  background: #f5f2ea;
}

.highlight-card {
  color: var(--ink);
  border-color: rgba(15, 118, 110, 0.22);
  background: #edf8f5;
}

.highlight-card span,
.highlight-card h3,
.highlight-card p,
.highlight-card li {
  color: var(--ink);
}

.customer-value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.validation-section {
  background: #ffffff;
}

.validation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.validation-grid span {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--teal);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.validation-grid strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.18rem;
  line-height: 1.15;
}

.lead-cash-board {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.9rem;
  border-color: rgba(15, 118, 110, 0.22);
  background: #edf8f5;
  color: var(--ink);
}

.lead-cash-board strong {
  color: var(--ink);
  margin-right: 0.25rem;
}

.lead-cash-board span {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  border-radius: 999px;
  padding: 0.36rem 0.66rem;
  background: #ffffff;
  color: var(--teal);
  font-weight: 800;
  font-size: 0.82rem;
}

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

.visual-case {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  align-items: center;
}

.browser-frame {
  min-height: 24rem;
  margin: 0;
}

.framework-rich .framework-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.9fr);
}

.evidence-board {
  margin-top: 1.15rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--warm-card-shadow);
}

.evidence-board-head {
  display: grid;
  gap: 0.28rem;
  margin-bottom: 1rem;
}

.evidence-board-head span,
.evidence-board-grid span {
  color: var(--teal);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.evidence-board-head strong {
  max-width: 30ch;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1.08;
}

.evidence-board-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.evidence-board-grid article {
  min-height: 9.25rem;
  padding: 0.95rem;
  border: 1px solid rgba(16, 38, 41, 0.1);
  border-radius: 18px;
  background: #ffffff;
}

.evidence-board-grid strong {
  display: block;
  margin: 0.38rem 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.12;
}

.evidence-board-grid p {
  margin: 0;
  font-size: 0.92rem;
}

.timeline-list article {
  position: relative;
  padding-left: 1.45rem;
}

.timeline-list article::before {
  content: "";
  position: absolute;
  left: 0.7rem;
  top: 1.1rem;
  bottom: -0.75rem;
  width: 2px;
  background: rgba(15, 118, 110, 0.24);
}

.timeline-list article:last-child::before {
  display: none;
}

.offer-grid-smart .offer-card {
  min-height: 15rem;
}

.offer-grid-smart {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.featured-offer {
  color: var(--ink);
  border-color: rgba(15, 118, 110, 0.22) !important;
  background: #edf8f5 !important;
}

.featured-offer span,
.featured-offer h3,
.featured-offer p,
.featured-offer strong {
  color: var(--ink) !important;
}

.clean-site .reveal {
  opacity: 1;
  transform: none;
}

.clean-site .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.clean-site .offer-card:hover,
.clean-site .stat-card:hover,
.clean-site .compare-card:hover,
.clean-site .customer-value-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 118, 110, 0.24);
  transition: transform 520ms var(--ease), border-color 520ms var(--ease), box-shadow 520ms var(--ease);
}

@keyframes statGrow {
  from { transform: scaleX(0.2); opacity: 0.35; }
  to { transform: scaleX(1); opacity: 0.82; }
}

@keyframes barPulse {
  0%, 100% { transform: scaleY(0.82); }
  50% { transform: scaleY(1); }
}

@media (max-width: 1040px) {
  .clean-site .hero-grid-media,
  .problem-layout,
  .studio-map-section,
  .comparison-grid,
  .visual-case,
  .framework-rich .framework-grid {
    grid-template-columns: 1fr;
  }

  .hero-media-card,
  .studio-photo-frame,
  .map-card,
  .map-card iframe {
    height: auto;
    min-height: 28rem;
  }

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

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

  .clean-site .topbar .btn-small {
    display: none;
  }
}

@media (max-width: 760px) {
  .clean-site .section,
  .clean-site .section > *,
  .clean-site .section-head,
  .clean-site .case-study,
  .clean-site .case-study > *,
  .clean-site .framework-grid > *,
  .clean-site .visual-case > *,
  .clean-site .portfolio-section > * {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .stat-infographic,
  .customer-value-grid,
  .validation-grid,
  .offer-grid-smart {
    grid-template-columns: 1fr;
  }

  .stat-card-large {
    grid-row: auto;
    min-height: 18rem;
  }

  .hero-media-card,
  .studio-photo-frame,
  .map-card,
  .map-card iframe,
    .browser-frame,
    .evidence-board,
    .tall-frame {
    height: auto;
    min-height: 18rem;
  }

  .evidence-board-grid {
    grid-template-columns: 1fr;
  }

  .media-caption {
    position: static;
    border-radius: 0;
    background: #ffffff;
  }

  .clean-site .hero .signal-strip {
    gap: 0;
  }

  .clean-site .hero .signal-strip div,
  .clean-site .hero .signal-strip div:first-child {
    border-left: 0;
    border-top: 1px solid rgba(16, 38, 41, 0.1);
    padding: 0.9rem 0 0;
  }

  .clean-site .hero .signal-strip div:first-child {
    border-top: 0;
  }
}

/* Workspace app prototype */
.workspace-site {
  --bg: #f7f9f6;
  --bg-soft: #eef4ef;
  --panel: #ffffff;
  --panel-strong: #f2f6f2;
  --ink: #10201b;
  --muted: #52655f;
  --subtle: #7b8b85;
  --teal: #0f766e;
  --mint: #d9f5e4;
  --amber: #9a6a16;
  --rose: #a53f62;
  --line: rgba(16, 32, 27, 0.13);
  --line-strong: rgba(15, 118, 110, 0.32);
  color: var(--ink);
  background: #f7f9f6;
}

.workspace-site::before,
.workspace-site::after {
  display: none;
}

.workspace-site .topbar-shell {
  border-color: rgba(16, 32, 27, 0.14);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 50px rgba(25, 54, 45, 0.08);
}

.workspace-site .topbar-shell::after {
  background: #0f766e;
}

.workspace-site .brand,
.workspace-site .nav-links a,
.workspace-site .btn {
  color: var(--ink);
}

.workspace-site .btn-primary {
  border-color: #0f766e;
  background: #0f766e;
  color: #ffffff;
}

.workspace-site .btn-ghost,
.workspace-site .btn-small {
  border-color: rgba(16, 32, 27, 0.16);
  background: #ffffff;
}

.workspace-main {
  width: min(1240px, 92vw);
  margin: 0 auto;
  padding-top: 2.8rem;
}

.workspace-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  gap: 1.25rem;
  align-items: stretch;
  min-height: 0;
  margin-bottom: 1.25rem;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.workspace-hero-copy,
.workspace-hero-panel,
.workspace-panel,
.workspace-sidebar {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 55px rgba(25, 54, 45, 0.08);
}

.workspace-hero-copy,
.workspace-hero-panel {
  padding: clamp(1.3rem, 3.5vw, 2.5rem);
}

.workspace-hero h1 {
  max-width: 13ch;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  color: var(--ink);
}

.workspace-hero h2,
.workspace-panel h2 {
  max-width: 18ch;
  color: var(--ink);
}

.workspace-hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.2rem;
}

.status-chip {
  display: inline-flex;
  width: fit-content;
  min-height: 1.9rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 999px;
  padding: 0.28rem 0.72rem;
  background: #eff7f4;
  color: #0f766e;
  font-size: 0.77rem;
  font-weight: 800;
  line-height: 1;
  text-transform: capitalize;
}

.status-chip.good {
  border-color: rgba(15, 118, 110, 0.32);
  background: #dff3eb;
}

.workspace-stat-list {
  display: grid;
  gap: 0.72rem;
  margin: 0;
}

.workspace-stat-list div {
  display: grid;
  gap: 0.16rem;
  padding-top: 0.72rem;
  border-top: 1px solid var(--line);
}

.workspace-stat-list dt {
  color: var(--subtle);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.workspace-stat-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.workspace-shell {
  display: grid;
  grid-template-columns: minmax(220px, 0.25fr) minmax(0, 1fr);
  gap: 1.25rem;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.workspace-sidebar {
  position: sticky;
  top: 6.5rem;
  align-self: start;
  padding: 1rem;
}

.workspace-nav {
  display: grid;
  gap: 0.35rem;
  margin: 1rem 0;
}

.workspace-nav a {
  display: flex;
  min-height: 2.4rem;
  align-items: center;
  border-radius: 6px;
  padding: 0.45rem 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.workspace-nav a:hover,
.workspace-nav a:focus-visible {
  background: #edf6f2;
  outline: none;
}

.workspace-note {
  border: 1px solid rgba(15, 118, 110, 0.15);
  border-radius: 8px;
  padding: 0.85rem;
  background: #f4faf7;
}

.workspace-note strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.workspace-note p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.workspace-content {
  display: grid;
  gap: 1.25rem;
  min-width: 0;
}

.workspace-panel {
  padding: clamp(1rem, 2.4vw, 1.55rem);
  scroll-margin-top: 7rem;
}

.workspace-panel-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.workspace-panel-head h2 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.workspace-panel-actions,
.workspace-form-actions,
.recommendation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.workspace-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.workspace-checklist li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  min-height: 6rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.82rem;
  background: #fbfcfa;
}

.workspace-checklist li > span {
  display: inline-flex;
  width: 3.2rem;
  min-height: 1.8rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f0f2ef;
  color: var(--subtle);
  font-size: 0.72rem;
  font-weight: 900;
}

.workspace-checklist li.is-done > span {
  background: #dff3eb;
  color: #0f766e;
}

.workspace-checklist strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--ink);
}

.workspace-checklist p,
.workspace-metric-card p,
.recommendation-card p,
.task-card p,
.admin-control-grid p {
  margin-bottom: 0;
}

.workspace-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.workspace-metric-card {
  min-height: 8.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.95rem;
  background: #f9fbf8;
}

.workspace-metric-card span {
  color: var(--subtle);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.workspace-metric-card strong {
  display: block;
  margin: 0.5rem 0 0.2rem;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
  line-height: 1;
}

.workspace-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.workspace-form label,
.workspace-form fieldset {
  display: grid;
  gap: 0.35rem;
}

.workspace-form label span,
.workspace-form legend {
  color: var(--ink);
  font-weight: 900;
}

.workspace-form input,
.workspace-form select {
  min-height: 3rem;
  width: 100%;
  border: 1px solid rgba(16, 32, 27, 0.17);
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
  background: #ffffff;
  color: var(--ink);
}

.workspace-form fieldset {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.9rem;
}

.workspace-form fieldset label {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  min-height: 2rem;
  color: var(--muted);
  font-weight: 700;
}

.workspace-form fieldset input {
  width: 1rem;
  min-height: 1rem;
}

.workspace-form-actions {
  grid-column: 1 / -1;
}

.ledger-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.ledger-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: #ffffff;
}

.ledger-table th,
.ledger-table td {
  border-bottom: 1px solid var(--line);
  padding: 0.85rem;
  text-align: left;
  vertical-align: top;
}

.ledger-table th {
  color: var(--subtle);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ledger-table tr:last-child td {
  border-bottom: 0;
}

.workspace-audit-runner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1fr);
  gap: 1rem;
  align-items: start;
}

.tool-centre {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(280px, 0.52fr);
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 1rem;
}

.tool-centre-copy,
.tool-output,
.tool-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
}

.tool-centre-copy,
.tool-output {
  padding: 1rem;
}

.tool-centre-copy p,
.tool-output p,
.tool-card p {
  margin-bottom: 0;
}

.tool-centre-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.tool-output {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  background: #f4faf7;
}

.tool-output strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.tool-output ul {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.tool-card {
  display: grid;
  gap: 0.62rem;
  min-height: 12rem;
  padding: 0.95rem;
}

.tool-card h3 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 1.08rem;
}

.tool-card small {
  color: var(--teal);
  font-weight: 900;
}

.workspace-source-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workspace-source-pills li {
  display: grid;
  gap: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem;
  background: #f9fbf8;
}

.workspace-source-pills strong {
  color: var(--ink);
}

.workspace-source-pills span {
  color: var(--muted);
  font-size: 0.9rem;
}

.recommendation-list {
  display: grid;
  gap: 0.75rem;
}

.recommendation-card {
  display: grid;
  gap: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  background: #fbfcfa;
}

.recommendation-card h3 {
  margin-bottom: 0;
  color: var(--ink);
}

.recommendation-card small {
  color: var(--subtle);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.task-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.task-lane {
  min-height: 14rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem;
  background: #f9fbf8;
}

.task-lane h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.task-card {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 0.6rem;
  border: 1px solid rgba(16, 32, 27, 0.1);
  border-radius: 8px;
  padding: 0.75rem;
  background: #ffffff;
}

.task-card strong {
  color: var(--ink);
}

.task-card select {
  min-height: 2.45rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.45rem;
  background: #ffffff;
  color: var(--ink);
}

.empty-task {
  color: var(--subtle);
  font-size: 0.9rem;
}

.report-preview {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1rem, 2vw, 1.4rem);
  background: #fbfcfa;
}

.report-preview h3 {
  color: var(--ink);
}

.report-preview ul {
  display: grid;
  gap: 0.45rem;
  margin: 0.8rem 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.report-boundary {
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
  color: var(--teal);
  font-weight: 900;
}

.admin-control-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.admin-control-grid article {
  min-height: 9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.9rem;
  background: #f9fbf8;
}

.admin-control-grid strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.workspace-site .footer {
  width: min(1240px, 92vw);
  color: var(--ink);
}

@media (max-width: 1040px) {
  .workspace-hero,
  .workspace-shell,
  .workspace-audit-runner,
  .tool-centre {
    grid-template-columns: 1fr;
  }

  .workspace-sidebar {
    position: static;
  }

  .workspace-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .workspace-metric-grid,
  .task-board,
  .admin-control-grid,
  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .workspace-main {
    width: min(100% - 1rem, 720px);
    padding-top: 1.25rem;
  }

  .workspace-hero-copy,
  .workspace-hero-panel,
  .workspace-panel,
  .workspace-sidebar {
    padding: 1rem;
  }

  .workspace-nav,
  .workspace-checklist,
  .workspace-metric-grid,
  .workspace-form,
  .workspace-source-pills,
  .task-board,
  .admin-control-grid,
  .tool-grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  .topbar,
  .workspace-sidebar,
  .workspace-hero,
  .workspace-panel:not(#workspace-report),
  .footer {
    display: none !important;
  }

  .workspace-site,
  .workspace-main,
  .workspace-shell,
  .workspace-content,
  .workspace-panel {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #ffffff;
    box-shadow: none;
  }

  #workspace-report {
    border: 0;
  }
}
