.shield-page {
  --background: 0 0% 100%;
  --foreground: 210 10% 20%;
  --shield-card: 0 0% 100%;
  --shield-card-foreground: 210 10% 20%;
  --primary: 210 18% 44%;
  --primary-foreground: 0 0% 100%;
  --secondary: 210 40% 96%;
  --secondary-foreground: 210 18% 44%;
  --muted: 220 14% 96%;
  --muted-foreground: 220 9% 46%;
  --shield-accent: 214 95% 93%;
  --shield-accent-foreground: 210 18% 44%;
  --destructive: 0 84% 60%;
  --border: 220 13% 91%;
  --input: 220 13% 91%;
  --ring: 210 18% 44%;
  --radius: 0.75rem;
  --shadow-card: 0 4px 6px -1px rgb(0 0 0 / 0.1),
    0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-elevated: 0 24px 70px rgb(15 23 42 / 0.16);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}

.shield-page main .btn {
  border-radius: 0.5rem;
  background: #0f172a;
  color: #ffffff;
}

.shield-page main .btn:hover,
.shield-page main .btn:focus {
  background: #1e293b;
  color: #ffffff;
}

.shield-page main .btn.ghost {
  border: 1px solid hsl(var(--border));
  background: #ffffff;
  color: #0f172a;
}

.shield-page main .btn.ghost:hover,
.shield-page main .btn.ghost:focus {
  background: hsl(var(--muted));
  color: #0f172a;
}

.shield-page main {
  background:
    linear-gradient(180deg, #f8fafc 0%, #f5f7fb 46rem, #ffffff 100%);
}

.shield-page main .container {
  width: min(1500px, 88vw);
}

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

.shield-hero {
  padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(2.5rem, 5vw, 4.5rem);
}

.shield-hero-grid {
  display: grid;
  grid-template-columns: minmax(26rem, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(1.5rem, 3vw, 2.8rem);
  align-items: start;
}

.shield-copy {
  max-width: 34rem;
}

.shield-brand-card {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  max-width: 100%;
  margin-bottom: 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  background: #ffffff;
  padding: 0.75rem 0.85rem;
  box-shadow: 0 10px 28px rgb(15 23 42 / 0.08);
}

.shield-brand-card img {
  width: 2.55rem;
  height: 2.55rem;
  flex: 0 0 auto;
  border-radius: 0.65rem;
}

.shield-brand-card span,
.shield-brand-card strong {
  display: block;
}

.shield-brand-card span {
  color: hsl(var(--muted-foreground));
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shield-brand-card strong {
  margin-top: 0.15rem;
  color: #102033;
  font-size: 0.88rem;
  line-height: 1.3;
}

.shield-kicker {
  margin: 0 0 0.75rem;
  color: hsl(var(--primary));
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shield-copy h1,
.shield-section h2,
.shield-cta h2 {
  margin: 0;
  color: #102033;
  font-size: clamp(2.35rem, 3.7vw, 3.45rem);
  line-height: 1.01;
  letter-spacing: 0;
}

.shield-lead,
.shield-section p,
.shield-cta p {
  color: #526173;
  font-size: 1.04rem;
  line-height: 1.65;
}

.shield-lead {
  margin: 1rem 0 0;
}

.shield-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.shield-offer {
  display: grid;
  gap: 0;
  margin: 1.4rem 0 0;
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  background: #ffffff;
  box-shadow: 0 10px 30px rgb(15 23 42 / 0.07);
}

.shield-offer div {
  padding: 1rem;
}

.shield-offer div + div {
  border-top: 1px solid hsl(var(--border));
}

.shield-offer dt {
  margin: 0 0 0.18rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shield-offer dd {
  margin: 0;
  color: #102033;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

.saas-demo {
  min-width: 0;
}

.saas-demo-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.saas-demo-toolbar button {
  min-height: 2.25rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  background: #ffffff;
  color: #334155;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.saas-demo-toolbar button.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.saas-demo-toolbar button.is-active {
  border-color: hsl(var(--primary));
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.saas-window {
  position: relative;
  display: grid;
  grid-template-columns: 14.5rem minmax(0, 1fr);
  min-height: 46rem;
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  background: linear-gradient(180deg, hsl(214 95% 98%), hsl(220 14% 97%));
  box-shadow: var(--shadow-elevated);
}

.saas-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-right: 1px solid hsl(var(--border));
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  padding: 1rem 0.75rem;
}

.saas-brand {
  min-height: 3rem;
  border-bottom: 1px solid hsl(var(--border));
  color: hsl(var(--primary));
  font-size: 1.1rem;
  font-weight: 800;
}

.saas-sidebar-label {
  margin-top: 0.3rem;
  padding: 0 0.75rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.74rem;
  font-weight: 700;
}

.saas-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: 0.5rem;
  background: hsl(var(--secondary));
  color: #334155;
  font-size: 0.88rem;
  font-weight: 600;
}

.saas-nav-item.is-active {
  background: hsl(var(--primary));
  color: #ffffff;
  box-shadow: 0 4px 14px rgb(59 130 246 / 0.15);
}

.saas-app {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.saas-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
  border-bottom: 1px solid hsl(var(--border));
  background: rgb(255 255 255 / 0.95);
  padding: 0 1rem;
}

.saas-header-right {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.notification-dot,
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
}

.notification-dot {
  width: 1.05rem;
  height: 1.05rem;
  background: hsl(var(--destructive));
  color: #ffffff;
  font-size: 0.62rem;
}

.avatar {
  width: 2rem;
  height: 2rem;
  background: hsl(var(--primary));
  color: #ffffff;
  font-size: 0.82rem;
}

.saas-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
  padding: 1.35rem;
}

.analytics-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid hsl(var(--border));
  padding-bottom: 1rem;
}

.analytics-heading h2 {
  margin: 0;
  color: hsl(var(--foreground));
  font-size: 1.5rem;
  line-height: 1.2;
}

.analytics-heading p,
.filtered-count {
  margin: 0.35rem 0 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.88rem;
}

.filtered-count {
  white-space: nowrap;
}

.filter-section {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  background: hsl(var(--muted) / 0.32);
  padding: 1rem;
}

.filter-left {
  min-width: 0;
}

.filter-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 700;
}

.filter-controls,
.filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.saas-button,
.saas-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 0.5rem;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.saas-lucide {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.saas-button {
  min-height: 2.5rem;
  padding: 0 0.9rem;
  border: 1px solid transparent;
}

.saas-button-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.saas-button-outline {
  border-color: hsl(var(--input));
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}

.saas-icon-button {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid hsl(var(--input));
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}

.saas-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border: 1px solid #fcd34d;
  border-radius: 0.5rem;
  background: rgb(254 243 199 / 0.7);
  color: #713f12;
  padding: 0.9rem 1rem;
}

.saas-alert.neutral {
  border-color: hsl(var(--border));
  background: hsl(var(--muted) / 0.45);
  color: hsl(var(--foreground));
}

.saas-alert strong {
  display: block;
  margin-bottom: 0.18rem;
  font-size: 0.9rem;
}

.saas-alert p {
  margin: 0;
  color: inherit;
  font-size: 0.84rem;
  line-height: 1.45;
}

.saas-alert > div {
  min-width: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  gap: 1rem;
}

.stat-card,
.chart-card,
.performance-card {
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  background: hsl(var(--shield-card));
  color: hsl(var(--shield-card-foreground));
  box-shadow: var(--shadow-card);
}

.stat-card {
  min-width: 0;
  overflow: hidden;
  padding: 1rem;
}

.stat-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  color: #334155;
  font-size: 0.84rem;
  font-weight: 700;
}

.stat-card .stat-label {
  min-width: 0;
  overflow-wrap: normal;
}

.stat-card header [class^="icon-"],
.stat-card header [class*=" icon-"] {
  margin-top: 0.08rem;
}

.stat-card strong {
  display: block;
  margin-top: 0.85rem;
  color: hsl(var(--foreground));
  font-size: 1.65rem;
  line-height: 1;
}

.chart-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chart-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.chart-heading h3,
.performance-header h3 {
  margin: 0;
  font-size: 1.12rem;
}

.chart-heading p,
.performance-header p,
.chart-card header p {
  margin: 0.25rem 0 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.86rem;
}

.chart-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chart-controls span {
  min-width: 8rem;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
}

.chart-card {
  padding: 1.25rem;
}

.chart-card header h4 {
  margin: 0;
  font-size: 1rem;
}

.area-chart {
  height: 15rem;
  margin-top: 0.75rem;
}

.area-chart svg {
  width: 100%;
  height: 100%;
}

.chart-grid path {
  fill: none;
  stroke: #e2e8f0;
  stroke-dasharray: 3 3;
}

.chart-area {
  fill: url("#chart-fill");
}

.chart-line {
  fill: none;
  stroke: hsl(var(--primary));
  stroke-linecap: round;
  stroke-width: 3;
}

.chart-labels text {
  fill: hsl(var(--muted-foreground));
  font-size: 0.72rem;
}

.performance-card {
  overflow: hidden;
  padding: 1.25rem;
}

.performance-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.search-control {
  position: relative;
  display: flex;
  align-items: center;
  width: min(100%, 20rem);
}

.search-control input {
  width: 100%;
  min-height: 2.5rem;
  border: 1px solid hsl(var(--input));
  border-radius: 0.5rem;
  padding: 0 0.85rem 0 2.3rem;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font: inherit;
}

.search-control [class^="icon-"] {
  position: absolute;
  left: 0.75rem;
}

.sort-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.performance-list {
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
}

.performance-row {
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) minmax(8rem, 10rem) minmax(25rem, 34rem);
  gap: 1rem;
  border-left: 4px solid #fcd34d;
  background: hsl(var(--background));
  padding: 1rem;
}

.performance-row + .performance-row {
  border-top: 1px solid hsl(var(--border));
}

.post-main {
  display: flex;
  min-width: 0;
  gap: 0.75rem;
}

.rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  font-size: 0.78rem;
  font-weight: 800;
}

.row-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
}

.highlight,
.status-badge,
.source-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 0.18rem;
  padding: 0.25rem 0.48rem;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.highlight.cyan {
  border: 1px solid #a5f3fc;
  background: #ecfeff;
  color: #164e63;
}

.highlight.blue {
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1e3a8a;
}

.highlight.rose {
  border: 1px solid #fecdd3;
  background: #fff1f2;
  color: #881337;
}

.post-preview {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: hsl(var(--foreground));
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.48;
  text-align: left;
  cursor: pointer;
}

.post-preview:hover {
  color: hsl(var(--primary));
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.6rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.74rem;
}

.status-badge {
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
}

.source-badge.imported {
  border: 1px solid #fcd34d;
  background: #fffbeb;
  color: #78350f;
}

.source-badge.verified {
  border: 1px solid #86efac;
  background: #f0fdf4;
  color: #166534;
}

.rate-box {
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  background: hsl(var(--primary) / 0.05);
  padding: 0.8rem;
}

.rate-box span,
.metric-strip small {
  display: block;
  color: hsl(var(--muted-foreground));
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.rate-box strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.75rem;
  line-height: 1;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  background: hsl(var(--muted) / 0.18);
  padding: 0.8rem;
}

.metric-strip strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.92rem;
}

.performance-empty {
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  padding: 2rem;
  color: hsl(var(--muted-foreground));
  text-align: center;
}

.import-dialog {
  position: absolute;
  right: 1rem;
  top: 1.1rem;
  z-index: 8;
  display: flex;
  width: min(42rem, calc(100% - 20rem));
  max-height: min(calc(100% - 2.2rem), calc(100vh - 13.5rem));
  flex-direction: column;
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  background: hsl(var(--background));
  box-shadow: 0 24px 80px rgb(15 23 42 / 0.32);
}

.import-header,
.import-footer {
  flex: 0 0 auto;
  border-color: hsl(var(--border));
  padding: 1rem 1.25rem;
}

.import-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid hsl(var(--border));
}

.import-title-row {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 0.8rem;
}

.shield-inline-logo {
  width: 2.4rem;
  height: 2.4rem;
  flex: 0 0 auto;
  border-radius: 0.65rem;
  box-shadow: 0 6px 16px rgb(15 23 42 / 0.12);
}

.import-header h3 {
  margin: 0;
  font-size: 1.12rem;
}

.import-header p {
  margin: 0.35rem 0 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.88rem;
  line-height: 1.45;
}

.dialog-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border: 0;
  border-radius: 0.35rem;
  background: transparent;
  color: hsl(var(--muted-foreground));
  font-size: 1.25rem;
}

.import-body {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
  padding: 1rem 1.25rem;
}

.import-stepper {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  padding: 0.8rem;
}

.import-stepper span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #334155;
  font-size: 0.86rem;
  font-weight: 700;
}

.import-stepper b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid hsl(var(--border));
  border-radius: 999px;
  background: hsl(var(--muted));
  color: #334155;
  font-size: 0.72rem;
}

.import-stepper span.is-active b {
  border-color: hsl(var(--primary));
  background: hsl(var(--primary));
  color: #ffffff;
}

.import-target {
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
}

.import-target strong,
.import-target span {
  display: block;
}

.import-target strong {
  font-size: 0.88rem;
}

.import-target span {
  margin-top: 0.2rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.86rem;
}

.import-state {
  display: none;
}

.import-state.is-active {
  display: block;
}

.dropzone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px dashed hsl(var(--border));
  border-radius: 0.5rem;
  padding: 1rem;
}

.drop-logo {
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  border-radius: 0.6rem;
  box-shadow: 0 5px 14px rgb(15 23 42 / 0.12);
}

.dropzone strong,
.dropzone span {
  display: block;
}

.dropzone > div {
  flex: 1 1 auto;
}

.dropzone div span {
  margin-top: 0.2rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.82rem;
}

.drop-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: hsl(var(--muted));
}

.ready-box,
.import-result,
.review-result {
  display: flex;
  gap: 0.75rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  background: hsl(var(--muted) / 0.3);
  padding: 0.9rem 1rem;
}

.import-result-logo {
  width: 2.3rem;
  height: 2.3rem;
  flex: 0 0 auto;
  border-radius: 0.6rem;
  box-shadow: 0 6px 16px rgb(15 23 42 / 0.14);
}

.ready-box {
  display: block;
}

.ready-box strong,
.ready-box span {
  display: block;
}

.ready-box span,
.import-result p,
.review-result p {
  margin: 0.25rem 0 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.86rem;
  line-height: 1.45;
}

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

.preview-metrics span {
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  padding: 0.7rem;
}

.preview-metrics strong,
.preview-metrics small {
  display: block;
}

.preview-metrics strong {
  min-height: 1.35rem;
  font-size: 1rem;
}

.preview-metrics small {
  margin-top: 0.25rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.72rem;
}

.technical-details {
  margin-top: 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
}

.technical-details summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.85rem;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}

.technical-details summary b {
  border: 1px solid hsl(var(--border));
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  background: hsl(var(--secondary));
  color: #334155;
  font-size: 0.72rem;
}

.technical-details div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  border-top: 1px solid hsl(var(--border));
  padding: 0.75rem;
}

.technical-details div span {
  border-radius: 999px;
  background: hsl(var(--secondary));
  padding: 0.25rem 0.6rem;
  color: #334155;
  font-size: 0.72rem;
  font-weight: 700;
}

.preview-table {
  overflow: hidden;
  margin-top: 2rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
}

.preview-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 7rem 6.75rem;
  gap: 0.8rem;
  padding: 0.7rem 0.85rem;
  font-size: 0.82rem;
}

.preview-row span:nth-child(3) {
  text-align: right;
}

.preview-row + .preview-row {
  border-top: 1px solid hsl(var(--border));
}

.preview-row.head {
  background: hsl(var(--muted) / 0.55);
  color: #334155;
  font-weight: 800;
}

.preview-row .valid {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #047857;
  font-weight: 700;
}

.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: #dcfce7;
  color: #047857;
}

.review-result {
  margin-bottom: 1rem;
}

.import-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid hsl(var(--border));
}

.import-footer > div {
  display: flex;
  gap: 0.5rem;
}

[class^="icon-"],
[class*=" icon-"] {
  position: relative;
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
}

[class^="icon-"]::before,
[class*=" icon-"]::before {
  content: "";
  position: absolute;
  inset: 0;
  display: block;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.icon-grid {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E");
}

.icon-pen {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4 12.5-12.5z'/%3E%3C/svg%3E");
}

.icon-calendar {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
}

.icon-chart {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='M7 16l4-4 3 3 5-7'/%3E%3C/svg%3E");
}

.icon-user {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E");
}

.icon-users {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='4'/%3E%3Cpath d='M2 21a7 7 0 0 1 14 0'/%3E%3Cpath d='M17 11a4 4 0 0 0-1-7.8'/%3E%3Cpath d='M22 21a7 7 0 0 0-6-6.9'/%3E%3C/svg%3E");
}

.icon-settings {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.2a1.7 1.7 0 0 0-1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1A1.7 1.7 0 0 0 4.6 15a1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.2a1.7 1.7 0 0 0 1.5-1 1.7 1.7 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1A1.7 1.7 0 0 0 9 4.6a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.2a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8 1.7 1.7 0 0 0 1.5 1h.2a2 2 0 1 1 0 4h-.2a1.7 1.7 0 0 0-1.4 1z'/%3E%3C/svg%3E");
}

.icon-menu {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 6h16M4 12h16M4 18h16'/%3E%3C/svg%3E");
}

.icon-filter {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5h18l-7 8v5l-4 2v-7L3 5z'/%3E%3C/svg%3E");
}

.icon-download {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpath d='M7 10l5 5 5-5M12 15V3'/%3E%3C/svg%3E");
}

.icon-sheet {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='2'/%3E%3Cpath d='M8 7h8M8 11h8M8 15h5'/%3E%3C/svg%3E");
}

.icon-warning {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 3.9 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z'/%3E%3Cpath d='M12 9v4M12 17h.01'/%3E%3C/svg%3E");
}

.icon-message {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z'/%3E%3C/svg%3E");
}

.icon-trend {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17l6-6 4 4 8-8'/%3E%3Cpath d='M14 7h7v7'/%3E%3C/svg%3E");
}

.icon-eye {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-7 11-7 11 7 11 7-4 7-11 7S1 12 1 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}

.icon-search {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='M21 21l-4.3-4.3'/%3E%3C/svg%3E");
}

.icon-upload {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpath d='M17 8l-5-5-5 5M12 3v12'/%3E%3C/svg%3E");
}

.icon-check {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.shield-section {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  background: #ffffff;
}

.process-section,
.faq-section {
  background: #f8fafc;
}

.shield-split {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(20rem, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.shield-section h2,
.shield-cta h2 {
  font-size: clamp(2.2rem, 4.4vw, 4.1rem);
}

.outcome-grid {
  display: grid;
  gap: 1rem;
}

.outcome-grid article,
.process-list li,
.faq-list details {
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  background: #ffffff;
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
}

.outcome-grid h3,
.process-list h3 {
  margin: 0 0 0.5rem;
  color: #102033;
  font-size: 1.1rem;
}

.outcome-grid p,
.process-list p {
  margin: 0;
}

.process-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
}

.process-list li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-list summary {
  color: #102033;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}

.faq-list p {
  margin: 0.75rem 0 0;
}

.faq-list a {
  color: hsl(var(--primary));
  font-weight: 800;
  text-decoration: none;
}

.faq-list a:hover,
.faq-list a:focus {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.shield-cta {
  padding: clamp(4rem, 7vw, 6rem) 0;
  background: #081120;
  text-align: center;
}

.shield-cta h2,
.shield-cta p {
  color: #ffffff;
}

.shield-cta p {
  max-width: 48rem;
  margin: 1rem auto 0;
  color: rgb(248 250 252 / 0.75);
}

.shield-cta .shield-actions {
  justify-content: center;
}

.shield-page .site-footer {
  color: rgb(248 250 252 / 0.72);
}

.shield-page .site-footer p,
.shield-page .site-footer li {
  color: rgb(203 213 245 / 0.78);
}

.shield-page .site-footer h3,
.shield-page .site-footer a,
.shield-page .site-footer .brand-wordmark {
  color: #f8fafc;
}

.shield-page .site-footer li::marker {
  color: rgb(203 213 245 / 0.5);
}

.shield-page .site-footer .footer-grid a {
  display: block;
}

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

  .shield-copy {
    max-width: 58rem;
  }

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

  .shield-offer div + div {
    border-top: 0;
    border-left: 1px solid hsl(var(--border));
  }
}

@media (max-width: 1120px) {
  .saas-window,
  .shield-split {
    grid-template-columns: 1fr;
  }

  .saas-sidebar {
    display: none;
  }

  .import-dialog {
    position: relative;
    order: -1;
    top: auto;
    right: auto;
    width: auto;
    max-height: none;
    margin: 1rem;
  }

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

  .performance-row {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .shield-hero {
    padding-top: 1.2rem;
  }

  .shield-copy h1 {
    font-size: clamp(2.15rem, 9.8vw, 2.75rem);
    line-height: 1.02;
  }

  .shield-lead {
    font-size: 1rem;
    line-height: 1.5;
  }

  .shield-offer {
    display: none;
  }

  .saas-demo-toolbar button {
    flex: 1 1 calc(50% - 0.5rem);
  }

  .saas-window {
    min-height: 0;
  }

  .saas-content {
    padding: 1rem;
  }

  .analytics-heading,
  .filter-section,
  .chart-heading,
  .performance-header,
  .import-footer {
    flex-direction: column;
  }

  .stats-grid,
  .preview-metrics {
    grid-template-columns: 1fr;
  }

  .filter-actions,
  .filter-controls,
  .shield-actions,
  .import-footer > div {
    width: 100%;
  }

  .saas-button,
  .shield-actions .btn {
    width: 100%;
  }

  .chart-controls {
    justify-content: space-between;
  }

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

  .preview-table {
    margin-top: 1.25rem;
  }

  .preview-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.55rem 0.9rem;
    padding: 0.9rem;
  }

  .preview-row.head {
    display: none;
  }

  .preview-row span {
    min-width: 0;
  }

  .preview-row span:first-child {
    grid-column: 1 / -1;
    font-weight: 700;
    line-height: 1.4;
  }

  .preview-row span:nth-child(2),
  .preview-row span:nth-child(3) {
    color: #334155;
    font-weight: 700;
  }

  .preview-row span:nth-child(2)::before,
  .preview-row span:nth-child(3)::before {
    display: block;
    margin-bottom: 0.2rem;
    color: hsl(var(--muted-foreground));
    font-size: 0.66rem;
    font-weight: 800;
    text-transform: uppercase;
  }

  .preview-row span:nth-child(2)::before {
    content: "Published";
  }

  .preview-row span:nth-child(3) {
    text-align: left;
  }

  .preview-row span:nth-child(3)::before {
    content: "Impressions";
  }
}

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