@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Raleway:wght@400;500;600&display=swap");.scope-hero[data-astro-cid-pgj22lyv] {
  text-align: center;
  padding: 48px 0 8px;
}

.scope-hero__eyebrow[data-astro-cid-pgj22lyv] {
  font-size: .75rem;
  letter-spacing: .12em;
  color: var(--scope-blue, #2f6bd8);
  font-weight: 700;
}

.scope-hero[data-astro-cid-pgj22lyv] h1[data-astro-cid-pgj22lyv] {
  margin: 10px auto;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  letter-spacing: -.03em;
  line-height: 1.08;
  font-weight: 800;
  color: var(--scope-text, #0f172a);
}

.scope-hero__description[data-astro-cid-pgj22lyv] {
  max-width: 640px;
  margin: 12px auto 0;
  color: var(--scope-dim, #5b6474);
  font-family: var(--scope-font-body, "Raleway", "Inter", system-ui, sans-serif);
  font-size: 1.1rem;
  line-height: 1.6;
}

.scope-hero__stamp[data-astro-cid-pgj22lyv] {
  display: inline-block;
  white-space: nowrap;
  margin-left: 5px;
  padding: 4px 10px;
  border: 1px solid #eadfc2;
  border-radius: 6px;
  background: #fffdf4;
  color: #b45309;
  font-family: ui-monospace, monospace;
  font-size: .72rem;
  transform: rotate(3deg);
}

.scope-hero__trust[data-astro-cid-pgj22lyv] {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  color: var(--scope-dim, #5b6474);
  font-size: .82rem;
}

.scope-hero__avatars[data-astro-cid-pgj22lyv] {
  display: flex;
  align-items: center;
  padding-left: 8px;
}

.scope-hero__avatars[data-astro-cid-pgj22lyv] span[data-astro-cid-pgj22lyv] {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-left: -8px;
  border: 2px solid var(--scope-paper, #fffdf7);
  border-radius: 50%;
  background: linear-gradient(135deg, #2b2b30, #1b1b1e);
  color: #fffdf4;
  font-size: .65rem;
  font-style: normal;
}

.scope-hero__users[data-astro-cid-pgj22lyv] strong[data-astro-cid-pgj22lyv] {
  color: var(--scope-text, #0f172a);
}

.scope-hero__rating[data-astro-cid-pgj22lyv] {
  white-space: nowrap;
}

@media (width <= 600px) {
  .scope-hero[data-astro-cid-pgj22lyv] {
    padding-top: 34px;
  }

  .scope-hero[data-astro-cid-pgj22lyv] h1[data-astro-cid-pgj22lyv] {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .scope-hero__description[data-astro-cid-pgj22lyv] {
    font-size: 1rem;
  }

  .scope-hero__trust[data-astro-cid-pgj22lyv] {
    gap: 8px;
  }
}

/* ========================================
   Report View
======================================== */

.report-view {
  --report-green: #16a34a;
  --report-amber: #d97706;
  --report-red: #dc2626;
  --report-dim: #64748b;
  --report-edge: #e2e8f0;
  --report-line: #edf0f4;
  --report-soft: #5b6474;
  --report-surface: #ffffff;

  width: 100%;
  margin-top: 2rem;
  overflow: hidden;
  color: var(--text-color, #0f172a);
  background: var(--report-surface);
  border: 1px solid var(--report-edge);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgb(15 23 42 / 6%);
}

/* Header */

.report-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--report-edge);
}

.report-header__info {
  min-width: 0;
}

.report-title {
  margin: 0;
  color: var(--text-color, #0f172a);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.report-eyebrow {
  margin: 6px 0 0;
  color: var(--muted-color, #5b6474);
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

/* Buttons */

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

.report-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 12px;
  color: #ffffff;
  background: #1d4ed8;
  border: 1px solid #1d4ed8;
  border-radius: 8px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.report-button:hover {
  background: #1e40af;
  border-color: #1e40af;
}

.report-button--secondary {
  color: #334155;
  background: #ffffff;
  border-color: #cbd5e1;
}

.report-button--secondary:hover {
  color: #0f172a;
  background: #f8fafc;
  border-color: #94a3b8;
}

.report-button:focus-visible,
.report-raw__summary:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 3px;
}

/* Error */

.report-error {
  margin: 0;
  padding: 12px 18px 0;
  color: var(--report-red);
  font-size: 13px;
}

/* Score and summary */

.report-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 22px 18px;
  border-bottom: 1px solid var(--report-edge);
}

.report-score {
  position: relative;
  flex: 0 0 120px;
  width: 120px;
  height: 120px;
}

.report-score__svg {
  display: block;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.report-score__track,
.report-score__progress {
  fill: none;
  stroke-width: 10;
}

.report-score__track {
  stroke: var(--report-edge);
}

.report-score__progress {
  stroke-linecap: round;
  transition: stroke-dashoffset 0.35s ease;
}

.report-score__value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-family: "JetBrains Mono", monospace;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.report-score__label {
  display: block;
  margin-top: 5px;
  color: var(--report-dim);
  font-family: inherit;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.report-summary__content {
  flex: 1 1 220px;
  min-width: 0;
}

.report-headline {
  margin: 0;
  color: var(--text-color, #0f172a);
  font-size: 18px;
  line-height: 1.55;
}

.report-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

/* Severity badges */

.report-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 3px 8px;
  border: 1px solid currentColor;
  border-radius: 3px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-transform: uppercase;
}

.report-tier--high {
  color: var(--report-red);
  border-color: var(--report-red);
}

.report-tier--medium {
  color: var(--report-amber);
  border-color: var(--report-amber);
}

.report-tier--low {
  color: var(--report-dim);
  border-color: var(--report-dim);
}

/* Content sections */

.report-section {
  padding: 22px 18px;
  border-bottom: 1px solid var(--report-edge);
}

.report-section__title {
  margin: 0 0 16px;
  color: var(--text-color, #0f172a);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

/* Findings */

.report-findings {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.report-finding {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.report-finding__severity {
  flex-shrink: 0;
  margin-top: 3px;
  padding: 2px 6px;
  font-size: 10px;
}

.report-finding__content {
  flex: 1;
  min-width: 0;
}

.report-finding__title {
  margin: 0;
  color: var(--text-color, #0f172a);
  font-size: 15px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.report-finding__detail {
  margin: 4px 0 0;
  color: var(--report-soft);
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.report-monospace {
  font-family: "JetBrains Mono", monospace;
}

.report-finding__target {
  margin: 6px 0 0;
  color: var(--report-dim);
  font-size: 12px;
  overflow-wrap: anywhere;
}

/* Measurements */

.report-measurements {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 32px;
  margin: 0;
}

.report-measurement {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  padding: 9px 0;
  border-bottom: 1px solid var(--report-line);
  font-size: 13px;
}

.report-measurement dt {
  min-width: 0;
  color: var(--report-dim);
  overflow-wrap: anywhere;
}

.report-measurement dd {
  margin: 0;
  color: var(--text-color, #0f172a);
  font-family: "JetBrains Mono", monospace;
  text-align: right;
  overflow-wrap: anywhere;
}

/* Lists */

.report-list {
  margin: 0;
  padding-left: 20px;
  color: var(--report-soft);
  font-size: 13px;
  line-height: 1.8;
  list-style: disc;
}

.report-list li {
  padding-left: 3px;
  overflow-wrap: anywhere;
}

/* Tables */

.report-table-section {
  min-width: 0;
}

.report-table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.report-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--text-color, #0f172a);
  font-size: 13px;
  text-align: left;
}

.report-table th {
  padding: 0 16px 10px 0;
  color: var(--report-dim);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
  white-space: nowrap;
}

.report-table td {
  padding: 9px 16px 9px 0;
  border-top: 1px solid var(--report-line);
  vertical-align: top;
  overflow-wrap: anywhere;
}

.report-table-note {
  margin: 12px 0 0;
  color: var(--report-dim);
  font-size: 12px;
}

/* Raw data */

.report-raw {
  padding: 20px 18px;
}

.report-raw__summary {
  color: var(--report-dim);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.report-raw__content {
  max-height: 384px;
  margin: 14px 0 0;
  padding: 14px;
  overflow: auto;
  color: var(--text-color, #0f172a);
  background: #f1f5f9;
  border: 1px solid var(--report-edge);
  border-radius: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  line-height: 1.65;
  white-space: pre;
}

/* Responsive layout */

@media (min-width: 640px) {
  .report-measurements {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .report-measurements {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .report-header {
    flex-direction: column;
    padding: 18px;
  }

  .report-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .report-button {
    flex: 1 1 auto;
  }

  .report-summary {
    gap: 18px;
  }
}

@media (max-width: 480px) {
  .report-view {
    border-radius: 10px;
  }

  .report-header {
    gap: 16px;
    padding: 16px;
  }

  .report-title {
    font-size: 19px;
  }

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

  .report-button {
    width: 100%;
  }

  .report-summary {
    align-items: flex-start;
    gap: 16px;
    padding: 18px 14px;
  }

  .report-score {
    flex-basis: 100px;
    width: 100px;
    height: 100px;
  }

  .report-score__value {
    font-size: 26px;
  }

  .report-summary__content {
    flex-basis: 100%;
  }

  .report-section {
    padding: 18px 14px;
  }

  .report-raw {
    padding: 18px 14px;
  }

  .report-section__title {
    font-size: 16px;
  }
}

/* Print / Save as PDF */

@media print {
  .report-view {
    margin-top: 0;
    overflow: visible;
    border: 1px solid #cbd5e1;
    border-radius: 0;
    box-shadow: none;
  }

  .report-actions,
  .report-raw {
    display: none !important;
  }

  .report-header,
  .report-section,
  .report-summary {
    break-inside: avoid;
  }

  .report-table-wrapper {
    overflow: visible;
  }

  .report-table {
    font-size: 10px;
  }

  .report-table th,
  .report-table td {
    overflow-wrap: anywhere;
  }
}
/* Website AI Audit — in-browser sandbox UI */

.ai-sandbox {
  width: 100%;
  min-width: 0;
}

.ai-sandbox__runtime {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-sandbox__runtime-tab {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--scope-line, rgba(15, 23, 42, 0.12));
  border-radius: 999px;
  background: var(--scope-paper, #fffdf7);
  color: var(--scope-text, #0f172a);
  font-family: var(--scope-font, "Inter", system-ui, sans-serif);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.ai-sandbox__runtime-tab.is-active {
  background: var(--scope-text, #0f172a);
  border-color: var(--scope-text, #0f172a);
  color: var(--scope-bg, #f1f5f9);
}

.ai-sandbox__presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.ai-sandbox__preset {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--scope-line, rgba(15, 23, 42, 0.12));
  border-radius: 8px;
  background: var(--scope-paper, #fffdf7);
  color: var(--scope-text, #0f172a);
  font-family: var(--scope-font, "Inter", system-ui, sans-serif);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.ai-sandbox__preset.is-active {
  background: var(--scope-blue, #2f6bd8);
  border-color: var(--scope-blue, #2f6bd8);
  color: #fff;
}

.ai-sandbox__form {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--scope-line, rgba(15, 23, 42, 0.12));
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.65);
}

.ai-sandbox__field {
  margin-bottom: 14px;
}

.ai-sandbox__label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--scope-dim, #5b6474);
}

.ai-sandbox__input {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--scope-line, rgba(15, 23, 42, 0.12));
  border-radius: 8px;
  background: var(--scope-paper, #fffdf7);
  color: var(--scope-text, #0f172a);
  font-family: var(--scope-font, "Inter", system-ui, sans-serif);
  font-size: 0.92rem;
}

.ai-sandbox__textarea {
  min-height: 160px;
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85rem;
  line-height: 1.6;
}

.ai-sandbox__textarea--compact {
  min-height: 76px;
}

.ai-sandbox__input:focus-visible {
  outline: 3px solid var(--scope-blue, #2f6bd8);
  outline-offset: 2px;
}

.ai-sandbox__bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.ai-sandbox__status {
  color: var(--scope-dim, #5b6474);
  font-size: 0.82rem;
}

.ai-sandbox__spacer {
  flex: 1;
}

.ai-sandbox__button {
  min-height: 44px;
  padding: 12px 22px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #2b2b30, #1b1b1e);
  color: #fffdf4;
  font-family: var(--scope-font, "Inter", system-ui, sans-serif);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.ai-sandbox__button:hover {
  filter: brightness(1.12);
}

.ai-sandbox__button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.ai-sandbox__error {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--scope-red, #dc2626);
  border-radius: 8px;
  background: rgba(220, 38, 38, 0.06);
  color: var(--scope-red, #dc2626);
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .ai-sandbox__form {
    padding: 14px;
  }
}


/* Prevent form controls from exceeding their container */
.ai-sandbox__input,
.ai-sandbox__textarea {
  box-sizing: border-box;
}

/* Improve keyboard accessibility */
.ai-sandbox__runtime-tab:focus-visible,
.ai-sandbox__preset:focus-visible,
.ai-sandbox__button:focus-visible {
  outline: 3px solid var(--scope-blue, #2f6bd8);
  outline-offset: 3px;
}

/* Smooth transitions */
.ai-sandbox__runtime-tab,
.ai-sandbox__preset,
.ai-sandbox__button {
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    filter 0.2s ease;
}

/* Better small-screen layout */
@media (max-width: 600px) {
  .ai-sandbox__runtime,
  .ai-sandbox__presets {
    width: 100%;
  }

  .ai-sandbox__runtime-tab,
  .ai-sandbox__preset {
    flex: 1 1 auto;
  }

  .ai-sandbox__button {
    width: 100%;
  }
}



.ai-sandbox__tool-status {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.65);
}

.ai-sandbox__tool-status h3 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 600;
}

.ai-sandbox__tool-status-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 14px;
}

.ai-sandbox__tool-status-item strong {
  margin-left: auto;
  font-size: 13px;
}

.ai-sandbox__tool-status-item small {
  flex-basis: 100%;
  color: #64748b;
}
/* src/components/tools/site-health/SiteHealthTool.css */

.site-health-intro {
  margin-bottom: 24px;
}

.site-health-intro h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.site-health-intro p {
  margin: 0;
  opacity: 0.75;
  line-height: 1.6;
}

.site-health-results {
  margin-top: 32px;
}

.site-health-results__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.site-health-results__title {
  min-width: 0;
  flex: 1;
}

.site-health-results__header h3 {
  margin-bottom: 6px;
}

.site-health-results__header p {
  opacity: 0.7;
  overflow-wrap: anywhere;
}

.site-health-results__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.site-health-stat {
  padding: 18px;
  border: 1px solid var(--sandbox-border, #dedede);
  border-radius: 10px;
}

.site-health-stat span,
.site-health-stat strong {
  display: block;
}

.site-health-stat span {
  font-size: 13px;
  opacity: 0.7;
}

.site-health-stat strong {
  margin-top: 8px;
  font-size: 26px;
}

.site-health-pages h4 {
  margin-bottom: 14px;
}

.site-health-page {
  padding: 18px;
  margin-bottom: 12px;
  border: 1px solid var(--sandbox-border, #dedede);
  border-radius: 10px;
}

.site-health-page__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.site-health-page__top strong {
  overflow-wrap: anywhere;
}

.site-health-page__url {
  margin: 8px 0;
  font-size: 13px;
  opacity: 0.7;
  overflow-wrap: anywhere;
}

.site-health-page__description {
  line-height: 1.5;
}

.site-health-status {
  flex-shrink: 0;
  padding: 4px 9px;
  border-radius: 20px;
  font-size: 12px;
}

.site-health-status--ok {
  background: #e4f5e9;
  color: #176b36;
}

.site-health-status--error {
  background: #fde8e8;
  color: #a12626;
}

.site-health-page__issues {
  padding-left: 20px;
  color: #b54708;
}

.site-health-page__healthy {
  color: #168044;
}

.site-health-results__date {
  display: block;
  margin-top: 20px;
  opacity: 0.65;
}

@media (max-width: 700px) {
  .site-health-results__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-health-page__top {
    align-items: flex-start;
  }
}

.report-export {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.report-export__label {
  font-size: 13px;
  opacity: 0.7;
}

.report-export__button {
  padding: 8px 13px;
  border: 1px solid var(--sandbox-border, #dedede);
  border-radius: 7px;
  background: var(--sandbox-card, #fff);
  color: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.report-export__button:hover {
  background: var(--sandbox-hover, #f3f4f6);
  border-color: #999;
}

.report-export__button:focus-visible {
  outline: 2px solid #6554d9;
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .report-export {
    justify-content: flex-start;
  }

  .report-export__label {
    flex-basis: 100%;
  }
}
/* =========================================
   Headline Optimizer
========================================= */

.ho-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 52px;
  color: var(--color-card, #f8fafc);
}

.ho-page-title {
  margin: 0 0 18px;
  font-size: clamp(38px, 4.8vw, 60px);
  line-height: 0.96;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.ho-intro {
  max-width: 60ch;
  margin: 0 0 32px;
  color: var(--color-soft, #a1a1aa);
  font-size: 17px;
  line-height: 1.65;
}

.ho-print-hidden {
  display: block;
}

/* =========================================
   Mode switch
========================================= */

.ho-mode-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.ho-mode-button {
  padding: 7px 12px;
  border: 1px solid var(--color-panel-edge, #3f3f46);
  border-radius: 3px;
  background: transparent;
  color: var(--color-board-dim, #a1a1aa);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.ho-mode-button:hover {
  color: var(--color-card, #fff);
}

.ho-mode-button-active {
  border-color: var(--color-board-amber, #f59e0b);
  color: var(--color-board-amber, #f59e0b);
  background: rgba(245, 158, 11, 0.06);
}

/* =========================================
   Panels
========================================= */

.ho-panel {
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid var(--color-panel-edge, rgba(148, 163, 184, 0.2));
  border-radius: 8px;
  background: var(--color-panel, rgba(255, 255, 255, 0.025));
}

.ho-panel-body {
  padding: 18px;
}

.ho-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--color-panel-edge, rgba(148, 163, 184, 0.2));
}

.ho-panel-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.ho-form-description {
  margin: 0 0 16px;
  color: var(--color-soft, #a1a1aa);
  font-size: 14px;
  line-height: 1.6;
}

/* =========================================
   Form
========================================= */

.ho-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ho-field {
  min-width: 0;
}

.ho-field-full {
  grid-column: 1 / -1;
}

.ho-label {
  display: block;
  margin: 0 0 7px;
  color: black;
  font-size: 13px;
  font-weight: 600;
}

.ho-required {
  color: var(--color-board-amber, #f59e0b);
}

.ho-input {
  display: block;
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--color-panel-edge, #3f3f46);
  border-radius: 4px;
  outline: none;
  background: var(--color-input, rgba(255, 255, 255, 0.035));
  color: gray;
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ho-input:focus {
  border-color: var(--color-board-amber, #f59e0b);
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.12);
}

.ho-input::placeholder {
  color: var(--color-board-dim, #85858f);
  opacity: 0.8;
}

.ho-input option {
  background: #18181b;
  color: #f8fafc;
}

.ho-help {
  margin: 5px 0 0;
  color: var(--color-board-dim, #a1a1aa);
  font-size: 12px;
  line-height: 1.5;
}

.ho-advanced {
  margin-top: 16px;
}

.ho-advanced-toggle {
  cursor: pointer;
  color: var(--color-board-dim, #a1a1aa);
  font-family: monospace;
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.ho-advanced-toggle:hover {
  color: var(--color-card, #fff);
}

.ho-candidates {
  min-height: 90px;
  margin-top: 12px;
  resize: vertical;
}

.ho-error {
  margin: 16px 0 0;
  color: var(--color-board-red, #ef4444);
  font-size: 14px;
  line-height: 1.5;
}

.ho-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 4px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition:
    opacity 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.ho-button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.ho-submit-button {
  margin-top: 20px;
  background: var(--color-board-amber, #f59e0b);
  color: #18181b;
}

.ho-submit-button:hover:not(:disabled) {
  opacity: 0.88;
}

.ho-button-secondary {
  border-color: var(--color-panel-edge, #3f3f46);
  background: transparent;
  color: var(--color-card, #f8fafc);
}

.ho-button-secondary:hover {
  border-color: var(--color-board-amber, #f59e0b);
  color: var(--color-board-amber, #f59e0b);
}

.ho-copy-button {
  flex-shrink: 0;
}

/* =========================================
   Character count
========================================= */

.ho-headline-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.ho-headline-label-row .ho-label {
  margin-bottom: 0;
}

.ho-character-count {
  flex-shrink: 0;
  font-family: monospace;
  font-size: 12px;
}

.ho-headline-input {
  min-height: 70px;
  resize: vertical;
}

.ho-score-form-grid {
  margin-top: 16px;
}

/* =========================================
   Results
========================================= */

.ho-results {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.ho-top-pick {
  border-color: rgba(245, 158, 11, 0.4);
}

.ho-result-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 18px;
}

.ho-best-result {
  gap: 20px;
}

.ho-scored-result {
  gap: 24px;
  border-bottom: 1px solid var(--color-panel-edge, rgba(148, 163, 184, 0.2));
}

.ho-result-content {
  flex: 1;
  min-width: 0;
}

.ho-result-headline {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.ho-result-headline-large {
  font-size: 20px;
  line-height: 1.45;
}

.ho-result-meta {
  margin-top: 5px;
}

.ho-result-bars {
  margin-top: 12px;
}

.ho-rank {
  flex-shrink: 0;
  width: 28px;
  color: var(--color-board-dim, #a1a1aa);
  font-family: monospace;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

/* =========================================
   Score badge
========================================= */

.ho-score-badge {
  display: flex;
  flex-shrink: 0;
  width: 56px;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ho-score-badge-large {
  width: 96px;
}

.ho-score-number {
  display: block;
  font-family: monospace;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.ho-score-badge-large .ho-score-number {
  font-size: 36px;
}

/* =========================================
   Axis score bars
========================================= */

.ho-axis-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 12px;
}

.ho-axis-item {
  min-width: 0;
}

.ho-axis-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
}

.ho-axis-score {
  font-family: monospace;
  font-size: 12px;
  font-weight: 700;
}

.ho-axis-track {
  height: 6px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--color-line-soft, rgba(148, 163, 184, 0.2));
}

.ho-axis-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.3s ease;
}

/* =========================================
   Notes and suggestions
========================================= */

.ho-axis-notes {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 14px;
}

.ho-note-group {
  min-width: 0;
}

.ho-eyebrow {
  margin: 0;
  color: var(--color-board-dim, #a1a1aa);
  font-family: monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1.5;
  text-transform: uppercase;
}

.ho-muted {
  margin: 4px 0 0;
  color: var(--color-board-dim, #a1a1aa);
  font-size: 13px;
  line-height: 1.6;
}

.ho-list {
  margin: 6px 0 0;
  padding-left: 20px;
  color: var(--color-soft, #a1a1aa);
  font-size: 14px;
  line-height: 1.6;
  list-style: disc;
}

.ho-list li {
  padding-left: 2px;
}

.ho-list li + li {
  margin-top: 3px;
}

.ho-suggestions {
  margin-top: 12px;
}

.ho-ordered-list {
  list-style: decimal;
}

.ho-explanation {
  padding: 12px 18px;
  border-top: 1px solid var(--color-panel-edge, rgba(148, 163, 184, 0.2));
}

.ho-explanation-content {
  margin-top: 14px;
}

.ho-fix-section {
  margin-top: 14px;
}

.ho-final-suggestions {
  margin-top: 18px;
}

.ho-success {
  margin: 7px 0 0;
  color: var(--color-board-green, #22c55e);
  font-size: 14px;
  line-height: 1.5;
}

/* =========================================
   Responsive
========================================= */

@media (max-width: 700px) {
  .ho-wrap {
    padding: 36px 16px 40px;
  }

  .ho-page-title {
    font-size: clamp(34px, 9vw, 48px);
  }

  .ho-intro {
    font-size: 15px;
  }

  .ho-form-grid {
    grid-template-columns: 1fr;
  }

  .ho-field-full {
    grid-column: auto;
  }

  .ho-result-row {
    gap: 12px;
  }

  .ho-best-result,
  .ho-scored-result {
    align-items: flex-start;
  }

  .ho-result-content {
    flex-basis: calc(100% - 80px);
  }

  .ho-copy-button {
    margin-left: auto;
  }

  .ho-axis-grid {
    grid-template-columns: 1fr;
  }

  .ho-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .ho-panel-body,
  .ho-result-row {
    padding: 14px;
  }

  .ho-score-badge-large {
    width: 70px;
  }

  .ho-score-badge-large .ho-score-number {
    font-size: 30px;
  }

  .ho-result-headline-large {
    font-size: 17px;
  }

  .ho-mode-button {
    font-size: 11px;
    padding: 7px 9px;
  }
}

/* =========================================
   Print
========================================= */

@media print {
  .ho-print-hidden {
    display: none !important;
  }

  .ho-wrap {
    max-width: none;
    padding: 0;
    color: #111;
  }

  .ho-panel {
    break-inside: avoid;
    border: 1px solid #ccc;
    background: #fff;
    color: #111;
  }

  .ho-result-headline,
  .ho-panel-title,
  .ho-list {
    color: #111;
  }
}.tool-content-section[data-astro-cid-3ulpsdka] {
  width: 100%;
  max-width: 1120px;
  box-sizing: border-box;
  min-width: 0;
  border-top: 1px solid #0f172a1f;
  padding: 52px 20px;
}

.tool-content-section__html[data-astro-cid-3ulpsdka] {
  min-width: 0;
  overflow-wrap: anywhere;
}

.tool-content-section__html[data-astro-cid-3ulpsdka] img {
  max-width: 100%;
  height: auto;
}

.tool-content-section__html[data-astro-cid-3ulpsdka] a {
  overflow-wrap: anywhere;
}

@media (width <= 600px) {
  .tool-content-section[data-astro-cid-3ulpsdka] {
    margin: 40px auto;
    padding: 0 16px;
  }
}



:root {
  color-scheme: light;

  --scope-bg: #f1f5f9;
  --scope-paper: #fffdf7;
  --scope-text: #0f172a;
  --scope-dim: #5b6474;
  --scope-blue: #2f6bd8;
  --scope-green: #059669;
  --scope-amber: #b45309;
  --scope-red: #dc2626;

  --scope-line: rgba(15, 23, 42, 0.12);
  --scope-line-soft: rgba(15, 23, 42, 0.08);
  --scope-edge: rgba(255, 255, 255, 0.7);


   --scope-glass: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.85),
    rgba(240, 240, 245, 0.5)
  ),
  inset 0 1px 1px rgba(255, 255, 255, 1),
  inset 0 -1px 1px rgba(200, 200, 205, 0.3),
  0 40px 100px -20px rgba(17, 24, 39, 0.15),
  0 4px 16px rgba(17, 24, 39, 0.05);

  --scope-font: "Inter", system-ui, sans-serif;
  --scope-font-body: "Raleway", "Inter", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(
    180deg,
    #e0f2fe 0%,
    #f1f5f9 55%,
    #fdf4ff 100%
  );
  color: var(--scope-text);
  font-family: var(--scope-font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

button,
textarea,
input {
  font: inherit;
}

button,
a,
textarea {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--scope-blue);
  outline-offset: 2px;
}
.scope-page[data-astro-cid-7hbujwhs] {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
}

.scope-page__background[data-astro-cid-7hbujwhs] {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.scope-page__glow[data-astro-cid-7hbujwhs] {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
}

.scope-page__glow--blue[data-astro-cid-7hbujwhs] {
  width: 520px;
  height: 520px;
  top: -140px;
  left: -140px;
  background: linear-gradient(135deg, #bfdbfe, #a5f3fc);
}

.scope-page__glow--pink[data-astro-cid-7hbujwhs] {
  width: 460px;
  height: 460px;
  top: 20%;
  right: -120px;
  background: linear-gradient(135deg, #ddd6fe, #fbcfe8);
}

.scope-page__container[data-astro-cid-7hbujwhs] {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px 52px;
}

.scope-page__tool[data-astro-cid-7hbujwhs] {
  width: 100%;
  min-width: 0;
  margin: 28px 0 40px;
}

@media (width <= 600px) {
  .scope-page__container[data-astro-cid-7hbujwhs] {
    padding-right: 16px;
    padding-left: 16px;
    padding-bottom: 36px;
  }

  .scope-page__tool[data-astro-cid-7hbujwhs] {
    margin: 20px 0 32px;
  }
}
