.wjs-page {
  background: #fff;
  color: #111827;
  font-size: 1rem;
  line-height: 1.6;
}

.wjs-main {
  font-size: 1rem;
  line-height: 1.65;
}

.wjs-wrap {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .wjs-wrap {
    padding: 0 1.5rem;
  }
}

/* ── Hero ── */

.wjs-hero {
  padding: 2.75rem 0 2rem;
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
  border-bottom: 1px solid #e5e7eb;
}

.wjs-hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7280;
  margin: 0 0 0.875rem;
}

.wjs-hero__title {
  font-size: clamp(1.875rem, 5vw, 2.625rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  max-width: 16ch;
  color: #0f172a;
}

.wjs-hero__lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #374151;
  max-width: 36rem;
  margin: 0 0 1.125rem;
}

@media (min-width: 768px) {
  .wjs-hero__lead {
    font-size: 1.125rem;
  }
}

.wjs-hero__trust-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #047857;
  margin: 0 0 1.75rem;
}

.wjs-hero__trust-line::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 999px;
  background: #d1fae5;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ── Snippet ── */

.wjs-snippet {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 14px;
  padding: 0;
  max-width: 100%;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.12);
}

.wjs-snippet__label {
  margin: 0;
  padding: 0.625rem 1.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
  background: #1e293b;
  border-bottom: 1px solid #334155;
}

.wjs-snippet__code {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(0.8125rem, 2.5vw, 0.9375rem);
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
  color: #e2e8f0;
  padding: 1.25rem 1.25rem 1.125rem;
  margin: 0;
}

.wjs-snippet__note {
  margin: 0;
  padding: 0.875rem 1.25rem 1rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #64748b;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

/* ── Trust signals ── */

.wjs-trust-signals {
  padding: 1.75rem 0 0.5rem;
}

.wjs-trust-signals__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.875rem;
}

@media (min-width: 768px) {
  .wjs-trust-signals__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.wjs-trust-signal {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem 1.125rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.wjs-trust-signal__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: #ecfdf5;
  color: #059669;
  font-size: 0.8125rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.wjs-trust-signal__title {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.25rem;
  color: #111827;
}

.wjs-trust-signal__desc {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #4b5563;
}

/* ── Sections ── */

.wjs-section {
  padding: 2.5rem 0;
  border-bottom: 1px solid #f3f4f6;
}

.wjs-section--muted {
  background: #fafafa;
}

.wjs-section--accent {
  padding: 2rem 0;
  background: #faf5ff;
  border-bottom: 0;
}

.wjs-section--compact {
  padding: 2rem 0;
}

.wjs-section--control {
  padding: 2.5rem 0 3rem;
  background: linear-gradient(180deg, #fff 0%, #f9fafb 100%);
  border-bottom: 0;
}

.wjs-section--legal {
  padding: 2rem 0 3rem;
}

.wjs-section__title {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
  color: #0f172a;
}

@media (min-width: 768px) {
  .wjs-section__title {
    font-size: 1.5rem;
  }
}

.wjs-section__intro {
  font-size: 1rem;
  line-height: 1.65;
  color: #374151;
  max-width: 40rem;
  margin: 0;
}

.wjs-section__intro--center {
  text-align: center;
  margin: 1.25rem auto 0;
}

/* ── Parts ── */

.wjs-parts {
  display: grid;
  gap: 0.875rem;
}

@media (min-width: 768px) {
  .wjs-parts {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.wjs-part {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.125rem 1.25rem;
}

.wjs-part__term {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #4f46e5;
  margin-bottom: 0.375rem;
}

.wjs-part__desc {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #374151;
}

.wjs-part__note {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #6b7280;
}

/* ── Feature cards ── */

.wjs-cards {
  display: grid;
  gap: 0.875rem;
}

@media (min-width: 640px) {
  .wjs-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.wjs-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.125rem 1.25rem;
  background: #fff;
}

.wjs-card__icon {
  display: block;
  font-size: 1.125rem;
  color: #7c3aed;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.wjs-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.375rem;
  color: #111827;
}

.wjs-card__desc {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #4b5563;
}

/* ── Trust panel (no-access) ── */

.wjs-trust-panel {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  border: 1px solid #c4b5fd;
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 8px 32px rgba(79, 70, 229, 0.08);
}

@media (min-width: 768px) {
  .wjs-trust-panel {
    padding: 2rem 2rem;
  }
}

.wjs-trust-panel__title {
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.75rem;
  color: #312e81;
  max-width: 22ch;
}

.wjs-trust-panel__intro {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.65;
  color: #4338ca;
  max-width: 38rem;
}

@media (min-width: 768px) {
  .wjs-trust-panel__intro {
    font-size: 1.0625rem;
  }
}

/* ── Checklists ── */

.wjs-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.625rem;
}

.wjs-checklist--no {
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .wjs-checklist--no {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1.5rem;
  }
}

.wjs-checklist--compact {
  gap: 0.375rem;
}

.wjs-checklist--large li {
  font-size: 1.0625rem;
}

.wjs-checklist li {
  position: relative;
  padding-left: 1.625rem;
  line-height: 1.55;
  color: #374151;
  font-size: 0.9375rem;
}

.wjs-checklist--yes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #059669;
  font-weight: 700;
}

.wjs-checklist--no li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: #9ca3af;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.35;
}

.wjs-checklist--detail li {
  font-size: 0.9375rem;
  color: #4b5563;
}

.wjs-checklist--detail li::before {
  content: "·";
  color: #9ca3af;
  font-weight: 700;
}

/* ── Privacy ── */

.wjs-privacy-lead {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  color: #0f172a;
  margin: 0 0 1.25rem;
}

.wjs-details {
  margin-top: 1.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f9fafb;
  padding: 0.25rem 1rem 1rem;
}

.wjs-details summary {
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #4f46e5;
  padding: 0.75rem 0;
  list-style: none;
}

.wjs-details summary::-webkit-details-marker {
  display: none;
}

.wjs-details summary::after {
  content: " +";
  font-weight: 400;
  color: #6b7280;
}

.wjs-details[open] summary::after {
  content: " −";
}

.wjs-details summary:focus-visible {
  outline: 2px solid #4f46e5;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Page views compare ── */

.wjs-compare {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .wjs-compare {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

.wjs-compare__col {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.125rem 1.25rem;
}

.wjs-compare__col--yes {
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.wjs-compare__col--no {
  background: #f9fafb;
}

.wjs-compare__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  color: #6b7280;
}

.wjs-compare__col--yes .wjs-compare__label {
  color: #047857;
}

.wjs-compare__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: #111827;
}

/* ── Domain flow ── */

.wjs-flow {
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 1.25rem 1rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
}

.wjs-flow__step {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #374151;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.5rem 1.25rem;
  text-align: center;
  min-width: 10rem;
  max-width: 100%;
}

.wjs-flow__step--brand {
  background: #4f46e5;
  border-color: #4f46e5;
  color: #fff;
}

.wjs-flow__arrow {
  font-size: 1rem;
  color: #9ca3af;
  line-height: 1;
}

/* ── Control panel ── */

.wjs-control-panel {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

@media (min-width: 768px) {
  .wjs-control-panel {
    padding: 2rem 2rem;
  }
}

.wjs-control-panel__title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 1.125rem;
  color: #0f172a;
}

/* ── Legal & notes ── */

.wjs-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.wjs-legal-links a {
  color: #4f46e5;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
}

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

.wjs-note {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #6b7280;
  margin: 1.25rem 0 0;
  max-width: 40rem;
}

/* ── Dashboard / how-it-works trust links (unchanged) ── */

.install-guide__trust {
  margin: 0.875rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
}

.install-guide__trust a {
  color: #4f46e5;
  text-decoration: none;
}

.install-guide__trust a:hover {
  text-decoration: underline;
}

.hiw-note--wjs-trust {
  margin-top: 0.75rem;
}

.hiw-note--wjs-trust a {
  color: #4f46e5;
  font-weight: 500;
  text-decoration: none;
}

.hiw-note--wjs-trust a:hover {
  text-decoration: underline;
}

/* ── Mobile overflow guard ── */

.wjs-page,
.wjs-main,
.wjs-wrap {
  overflow-x: clip;
}

@media (max-width: 389px) {
  .wjs-hero__title {
    max-width: none;
  }

  .wjs-trust-panel__title {
    max-width: none;
  }

  .wjs-snippet__code {
    font-size: 0.75rem;
  }
}
