:root {
  --ink: #f5f7ff;
  --muted: #aab4d5;
  --soft: #d8def4;
  --line: rgba(255, 255, 255, 0.13);
  --navy: #070d1f;
  --blue: #101b3a;
  --purple: #21113d;
  --panel: rgba(255, 255, 255, 0.065);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --cyan: #78e2ff;
  --green: #8ef0c3;
  --violet: #8f7dff;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 6%, rgba(143, 125, 255, 0.24), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(120, 226, 255, 0.12), transparent 28%),
    linear-gradient(145deg, #060a16 0%, #0c1733 45%, #21113d 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 82px 82px;
}

a {
  color: inherit;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-width {
  width: min(1600px, calc(100vw - 72px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 28px;
  background: rgba(5, 8, 20, 0.84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  font-weight: 900;
}

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

.brand-copy strong {
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-copy span {
  max-width: 420px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--soft);
  font-size: 14px;
  font-weight: 800;
}

.site-nav a {
  text-decoration: none;
  opacity: 0.88;
}

.site-nav a:hover,
.nav-auth:hover {
  color: var(--cyan);
  opacity: 1;
}

.nav-cta {
  padding: 10px 14px;
  border: 1px solid rgba(120, 226, 255, 0.46);
  border-radius: 999px;
}

.nav-auth {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.055);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.hero {
  padding: clamp(44px, 5.2vw, 82px) 0 clamp(62px, 7vw, 104px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(390px, 0.5fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}

.hero-copy {
  max-width: 1040px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.95;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(54px, 5.45vw, 104px);
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(40px, 4.6vw, 84px);
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(21px, 1.65vw, 30px);
  line-height: 1.08;
}

p {
  color: var(--soft);
  font-size: clamp(17px, 1.12vw, 21px);
  line-height: 1.58;
}

.lead {
  color: white;
  font-size: clamp(20px, 1.5vw, 28px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  color: #061022;
  border: 0;
  background: linear-gradient(135deg, var(--cyan), var(--green));
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.065);
}

.hero-portrait {
  margin: 0;
  aspect-ratio: 1 / 1;
  max-height: 520px;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
}

.hero-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: 22px;
  align-items: stretch;
  margin-top: 28px;
}

.wide-image {
  margin: 0;
  min-height: 280px;
  max-height: 390px;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow);
}

.hero-note-row {
  display: grid;
  gap: 12px;
}

.hero-note-row span,
.identity-row span {
  display: flex;
  align-items: center;
  min-height: 86px;
  padding: 18px;
  border-radius: 22px;
  color: var(--soft);
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.section {
  padding: clamp(72px, 8vw, 132px) 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1fr);
  gap: clamp(40px, 7vw, 112px);
}

.text-column {
  max-width: 800px;
}

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

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

.pillar-row article,
.service-stack article,
.testimonial-grid article {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
}

.pillar-row article {
  padding: 28px;
}

.pillar-row span {
  display: block;
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
}

.arc-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.32fr 0.82fr;
  gap: 18px;
  align-items: stretch;
}

.arc-layout article {
  padding: 14px;
  border-radius: 30px;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.arc-layout img {
  height: 250px;
  margin-bottom: 18px;
  border-radius: 22px;
}

.arc-feature img {
  height: 380px;
}

.fuse-section,
.institutional-section,
.proof-section {
  background: rgba(4, 7, 19, 0.36);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fuse-grid,
.institutional-grid,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(460px, 1fr);
  gap: clamp(38px, 6vw, 96px);
  align-items: center;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.metrics span {
  padding: 18px;
  border-radius: 20px;
  color: var(--muted);
  background: var(--panel-strong);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.metrics strong {
  display: block;
  color: white;
  font-size: 36px;
}

.fuse-image {
  margin: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow);
}

.asset-gallery,
.proof-strip,
.quiet-assets {
  display: grid;
  gap: 14px;
}

.asset-gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
}

.asset-gallery figure {
  margin: 0;
}

.asset-gallery img,
.proof-strip img,
.quiet-assets img,
.institutional-images img {
  aspect-ratio: 3 / 2;
  height: auto;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.13);
}

figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.service-stack {
  display: grid;
  gap: 14px;
}

.service-stack article {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 14px;
}

.service-stack img {
  aspect-ratio: 3 / 2;
  height: auto;
  border-radius: 18px;
}

.institutional-images {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}

.institutional-images img:first-child {
  grid-row: span 2;
  height: 100%;
}

.identity-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.quiet-assets {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.proof-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 24px;
}

.proof-section .section-heading {
  max-width: 980px;
}

.proof-section h2 {
  font-size: clamp(42px, 4.2vw, 76px);
}

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

.testimonial-grid article {
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.testimonial-grid img {
  width: 76px;
  height: 76px;
  margin-bottom: 18px;
  border-radius: 50%;
}

blockquote {
  margin: 0 0 18px;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.55;
}

.testimonial-grid a,
.text-link {
  color: var(--cyan);
  font-weight: 900;
  margin-top: auto;
}

.contact-card {
  padding: clamp(28px, 4vw, 56px);
  border-radius: 34px;
  background:
    radial-gradient(circle at 82% 12%, rgba(120, 226, 255, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(143, 125, 255, 0.24), rgba(255, 255, 255, 0.07));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
}

.discovery-gate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(120, 226, 255, 0.18);
}

.discovery-gate p {
  margin: 0;
  font-size: 16px;
}

.compact-gate {
  margin-top: 18px;
}

.discovery-hero {
  padding: clamp(54px, 6vw, 96px) 0 clamp(42px, 5vw, 76px);
}

.discovery-hero-grid,
.discovery-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.58fr);
  gap: clamp(30px, 5vw, 78px);
  align-items: start;
}

.discovery-frame,
.snapshot-panel,
.integration-grid article {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
}

.discovery-frame,
.snapshot-panel {
  position: sticky;
  top: 92px;
  padding: clamp(24px, 3vw, 38px);
}

.discovery-frame ol {
  margin: 0;
  padding-left: 20px;
  color: var(--soft);
  font-size: 17px;
  line-height: 1.7;
}

.compact-heading h2 {
  font-size: clamp(34px, 3.5vw, 62px);
}

.discovery-form {
  display: grid;
  gap: 22px;
}

.diagnostic-progress,
.diagnostic-meta {
  display: grid;
  gap: 10px;
}

.diagnostic-progress {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.diagnostic-progress span {
  display: grid;
  place-items: center;
  min-height: 38px;
  border-radius: 12px;
  color: #07111f;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  font-size: 12px;
  font-weight: 900;
}

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

.diagnostic-meta span {
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 800;
}

fieldset {
  margin: 0;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.045);
}

legend {
  padding: 0 10px;
  color: white;
  font-size: 22px;
  font-weight: 900;
}

label {
  display: grid;
  gap: 8px;
  color: var(--soft);
  font-size: 15px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--ink);
  background: rgba(3, 7, 18, 0.72);
  font: inherit;
}

textarea {
  resize: vertical;
}

button.button {
  font: inherit;
  cursor: pointer;
}

.form-grid,
.check-grid,
.integration-grid {
  display: grid;
  gap: 14px;
}

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

.check-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.check-grid label,
.consent-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 50px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.check-grid input,
.consent-line input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.form-note {
  font-size: 16px;
}

.snapshot-output h3 {
  margin-top: 22px;
  color: white;
  font-size: 22px;
}

.snapshot-output ul {
  margin: 0;
  padding-left: 20px;
  color: var(--soft);
  line-height: 1.55;
}

.snapshot-score,
.snapshot-judgment {
  display: grid;
  gap: 4px;
  padding: 18px;
  border-radius: 20px;
  background: var(--panel-strong);
  border: 1px solid rgba(120, 226, 255, 0.24);
}

.snapshot-score strong,
.snapshot-judgment strong {
  color: white;
  font-size: clamp(26px, 2.4vw, 40px);
  line-height: 1.1;
}

.snapshot-score em,
.snapshot-judgment em {
  color: var(--green);
  font-style: normal;
  font-weight: 900;
}

.snapshot-judgment span,
.snapshot-metric span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.snapshot-metrics {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.snapshot-metric {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.snapshot-metric strong {
  color: white;
  font-size: 16px;
  line-height: 1.45;
}

.detail-assist,
.agent-handoff {
  margin-top: 14px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.detail-assist {
  display: grid;
  grid-template-columns: minmax(140px, 0.28fr) minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-style: dashed;
}

.detail-assist span,
.agent-handoff span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-assist strong {
  display: block;
  margin-top: 4px;
  color: var(--green);
  font-size: 16px;
}

.detail-assist em,
.detail-assist small {
  color: var(--soft);
  font-style: normal;
  line-height: 1.5;
}

.detail-assist small {
  color: var(--muted);
  white-space: nowrap;
}

.detail-assist[data-quality="too-crude"] strong {
  color: #ffbd7a;
}

.agent-handoff {
  margin-top: 24px;
  border-color: rgba(120, 226, 255, 0.28);
  background:
    radial-gradient(circle at 88% 12%, rgba(120, 226, 255, 0.16), transparent 34%),
    rgba(255, 255, 255, 0.07);
}

details {
  margin-top: 24px;
}

summary {
  cursor: pointer;
  color: var(--cyan);
  font-weight: 900;
}

pre {
  overflow: auto;
  max-height: 360px;
  padding: 16px;
  border-radius: 16px;
  color: var(--soft);
  background: rgba(0, 0, 0, 0.28);
}

.admin-shell {
  padding: clamp(46px, 5vw, 78px) 0 clamp(72px, 8vw, 120px);
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.32fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  margin-bottom: 24px;
}

.admin-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(52px, 6vw, 110px);
}

.admin-hero p {
  max-width: 860px;
}

.admin-live-status {
  padding: 18px;
  border-left: 3px solid var(--green);
  border-radius: 4px;
  color: white;
  background: rgba(255, 255, 255, 0.06);
}

.admin-crm {
  display: grid;
  grid-template-columns: minmax(220px, 0.28fr) minmax(0, 1fr);
  min-height: 560px;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(3, 7, 18, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: var(--shadow);
}

.crm-rail {
  padding: 22px;
  background: rgba(255, 255, 255, 0.055);
  border-right: 1px solid rgba(255, 255, 255, 0.11);
}

.rail-title {
  display: grid;
  gap: 6px;
  margin-bottom: 20px;
}

.rail-title span,
.worklist-header span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rail-title strong {
  color: white;
  font-size: 24px;
}

.filter-tabs {
  display: grid;
  gap: 8px;
}

.filter-tabs button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.045);
  font-weight: 900;
  cursor: pointer;
}

.filter-tabs button.active {
  color: white;
  border-color: rgba(120, 226, 255, 0.36);
  background: rgba(120, 226, 255, 0.12);
}

.filter-tabs strong {
  display: grid;
  place-items: center;
  min-width: 32px;
  min-height: 32px;
  border-radius: 999px;
  color: #061022;
  background: var(--green);
}

.crm-rail p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.crm-worklist {
  padding: 22px;
}

.worklist-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.worklist-header h2 {
  margin: 4px 0 0;
  font-size: clamp(28px, 2.6vw, 44px);
}

.worklist-header p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.user-card-grid {
  display: grid;
  gap: 12px;
}

.user-card {
  display: grid;
  grid-template-columns: minmax(250px, 0.62fr) minmax(320px, 1fr) minmax(220px, auto);
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.user-card:hover {
  border-color: rgba(120, 226, 255, 0.26);
  background: rgba(255, 255, 255, 0.065);
}

.user-card-main {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #061022;
  background: var(--green);
  font-weight: 900;
}

.user-card h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.user-card a {
  color: var(--cyan);
  font-weight: 800;
}

.user-card-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.user-card-meta span,
.owner-lock,
.empty-state {
  color: var(--muted);
  font-size: 13px;
}

.status-pill,
.small-action {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(120, 226, 255, 0.26);
}

.status-pill {
  color: #dbeafe;
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(96, 165, 250, 0.38);
  font-weight: 900;
}

.status-pill.pending,
.status-pill.new,
.status-pill.not_started {
  color: #1f1304;
  background: #ffd08a;
  border-color: rgba(255, 208, 138, 0.55);
}

.status-pill.approved,
.status-pill.qualified,
.status-pill.brief_generated,
.status-pill.human_reviewed,
.status-pill.completed {
  color: #062116;
  background: var(--green);
  border-color: rgba(70, 231, 169, 0.58);
}

.status-pill.held,
.status-pill.nurture,
.status-pill.fallback {
  color: #f8fafc;
  background: rgba(148, 163, 184, 0.18);
  border-color: rgba(203, 213, 225, 0.26);
}

.status-pill.rejected {
  color: #ffe4e6;
  background: rgba(244, 63, 94, 0.18);
  border-color: rgba(251, 113, 133, 0.36);
}

.status-pill.converted,
.status-pill.sent,
.status-pill.closed {
  color: #ecfeff;
  background: rgba(6, 182, 212, 0.18);
  border-color: rgba(103, 232, 249, 0.36);
}

.small-action {
  color: #061022;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  font-weight: 900;
  cursor: pointer;
}

.muted-action {
  color: var(--soft);
  background: rgba(255, 255, 255, 0.08);
}

.user-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.crm-card-expanded {
  align-items: start;
}

.brief-panel {
  grid-column: 1 / -1;
  width: 100%;
  max-height: 260px;
  margin: 0;
  white-space: pre-wrap;
}

.empty-state {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
}

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

.integration-grid article {
  padding: 24px;
}

.integration-grid span {
  display: block;
  margin-bottom: 16px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .page-width,
  .hero-grid,
  .hero-visual,
  .split,
  .fuse-grid,
  .institutional-grid,
  .contact-section,
  .discovery-hero-grid,
  .discovery-layout,
  .admin-hero,
  .admin-crm {
    width: min(100% - 36px, 920px);
    grid-template-columns: 1fr;
  }

  .discovery-frame,
  .snapshot-panel {
    position: static;
  }

  .site-nav {
    max-width: 56vw;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .pillar-row,
  .arc-layout,
  .asset-gallery,
  .proof-strip,
  .testimonial-grid,
  .identity-row,
  .quiet-assets,
  .integration-grid,
  .user-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-crm {
    margin-inline: auto;
  }

  .crm-rail {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  }

  .user-card-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .arc-feature img {
    height: 250px;
  }
}

@media (max-width: 700px) {
  .brand-copy span,
  .site-nav a:not(.nav-cta) {
    display: none;
  }

  h1 {
    font-size: clamp(45px, 15vw, 78px);
  }

  h2 {
    font-size: clamp(34px, 11vw, 56px);
  }

  .pillar-row,
  .asset-gallery,
  .proof-strip,
  .testimonial-grid,
  .identity-row,
  .quiet-assets,
  .institutional-images,
  .detail-assist,
  .diagnostic-progress,
  .diagnostic-meta,
  .discovery-gate,
  .form-grid,
  .check-grid,
  .integration-grid,
  .user-card {
    grid-template-columns: 1fr;
  }

  .discovery-gate,
  .worklist-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .filter-tabs {
    width: 100%;
  }

  .service-stack article {
    grid-template-columns: 1fr;
  }

  .service-stack img {
    width: 100%;
  }
}
