.aseo-shell,
.aseo-shell * {
  box-sizing: border-box;
}

.aseo-shell {
  --aseo-ink: #10172a;
  --aseo-muted: #5e6678;
  --aseo-line: #dfe4ee;
  --aseo-soft: #f4f7fb;
  --aseo-paper: #ffffff;
  --aseo-pass: #087f5b;
  --aseo-pass-soft: #e7f7f0;
  --aseo-warn: #a84b06;
  --aseo-warn-soft: #fff3dc;
  --aseo-fail: #c3293a;
  --aseo-fail-soft: #fff0f2;
  --aseo-info: #475569;
  color: var(--aseo-ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 1120px;
  text-rendering: optimizeLegibility;
}

.aseo-shell button,
.aseo-shell input {
  font: inherit;
}

.aseo-shell button,
.aseo-shell a,
.aseo-shell summary {
  -webkit-tap-highlight-color: transparent;
}

.aseo-shell h2,
.aseo-shell h3,
.aseo-shell h4,
.aseo-shell p {
  margin-top: 0;
}

.aseo-shell h2,
.aseo-shell h3,
.aseo-shell h4 {
  color: var(--aseo-ink);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.aseo-hero {
  background: #0b1224;
  background:
    radial-gradient(circle at 88% 10%, color-mix(in srgb, var(--aseo-accent) 20%, transparent) 0, transparent 28%),
    linear-gradient(145deg, #0b1224 0%, #121d37 100%);
  border: 1px solid #263452;
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(11, 18, 36, 0.18);
  color: #dbe6ff;
  overflow: hidden;
  padding: clamp(28px, 6vw, 70px);
  position: relative;
}

.aseo-hero::after {
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
  opacity: .55;
  pointer-events: none;
  position: absolute;
}

.aseo-hero > * {
  position: relative;
  z-index: 1;
}

.aseo-kicker,
.aseo-overline {
  color: var(--aseo-accent);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.aseo-kicker {
  color: #b9c8ea;
}

.aseo-kicker span {
  background: #a6ffcb;
  border-radius: 99px;
  box-shadow: 0 0 0 5px rgba(166, 255, 203, .09);
  display: inline-block;
  height: 8px;
  margin-right: 10px;
  width: 8px;
}

.aseo-hero h2 {
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 4.6rem);
  letter-spacing: -.06em;
  margin-bottom: 20px;
  max-width: 880px;
}

.aseo-lede {
  color: #becae1;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.65;
  margin-bottom: 22px;
  max-width: 780px;
}

.aseo-promises {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  margin: 0 0 34px;
  padding: 0;
}

.aseo-promises li {
  color: #eef3ff;
  font-size: .92rem;
  font-weight: 650;
}

.aseo-promises li::before {
  color: #a6ffcb;
  content: "✓";
  font-weight: 900;
  margin-right: 8px;
}

.aseo-form {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  max-width: 900px;
  padding: 18px;
}

.aseo-form > label {
  color: #fff;
  display: block;
  font-size: .9rem;
  font-weight: 720;
  margin: 0 0 9px;
}

.aseo-input-row {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.aseo-input-row input {
  background: #fff;
  border: 2px solid transparent;
  border-radius: 11px;
  color: var(--aseo-ink);
  font-size: 1rem;
  min-height: 56px;
  min-width: 0;
  outline: none;
  padding: 0 17px;
  width: 100%;
}

.aseo-input-row input:focus {
  border-color: color-mix(in srgb, var(--aseo-accent) 75%, white);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--aseo-accent) 22%, transparent);
}

.aseo-input-row button {
  align-items: center;
  background: var(--aseo-accent);
  border: 0;
  border-radius: 11px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 780;
  gap: 10px;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  transition: filter .18s ease, transform .18s ease;
}

.aseo-input-row button:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.aseo-input-row button:focus-visible,
.aseo-print:focus-visible,
.aseo-tab:focus-visible,
.aseo-cta a:focus-visible,
.aseo-check summary:focus-visible {
  outline: 3px solid #a6ffcb;
  outline-offset: 3px;
}

.aseo-input-row button:disabled,
.aseo-input-row input:disabled {
  cursor: wait;
  opacity: .72;
}

.aseo-form-note {
  color: #9fabbe;
  font-size: .82rem;
  margin: 9px 0 0;
}

.aseo-error {
  background: #fff0f2;
  border-left: 4px solid var(--aseo-fail);
  border-radius: 8px;
  color: #9e2030;
  font-size: .92rem;
  font-weight: 650;
  margin: 14px 0 0;
  padding: 10px 13px;
}

.aseo-progress {
  background: var(--aseo-paper);
  border: 1px solid var(--aseo-line);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(16, 23, 42, .08);
  margin: 22px auto 0;
  max-width: 840px;
  padding: 20px;
}

.aseo-progress-head {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.aseo-spinner {
  animation: aseo-spin .8s linear infinite;
  border: 2px solid var(--aseo-line);
  border-radius: 50%;
  border-top-color: var(--aseo-accent);
  height: 20px;
  width: 20px;
}

@keyframes aseo-spin { to { transform: rotate(360deg); } }

.aseo-progress-track {
  background: #e8edf6;
  border-radius: 99px;
  height: 7px;
  overflow: hidden;
}

.aseo-progress-track span {
  background: var(--aseo-accent);
  border-radius: inherit;
  display: block;
  height: 100%;
  transition: width .6s ease;
  width: 0;
}

.aseo-progress p {
  color: var(--aseo-muted);
  font-size: .86rem;
  margin: 8px 0 0;
}

.aseo-results {
  outline: none;
  padding-top: 28px;
}

.aseo-score-card {
  align-items: center;
  background: var(--aseo-paper);
  border: 1px solid var(--aseo-line);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(16, 23, 42, .08);
  display: grid;
  gap: 28px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: clamp(22px, 4vw, 38px);
}

.aseo-score {
  align-items: center;
  background: conic-gradient(var(--aseo-accent) calc(var(--score) * 1%), #e8edf6 0);
  border-radius: 50%;
  display: flex;
  height: 152px;
  justify-content: center;
  position: relative;
  width: 152px;
}

.aseo-score::before {
  background: white;
  border-radius: 50%;
  content: "";
  inset: 12px;
  position: absolute;
}

.aseo-score > div {
  align-items: baseline;
  display: flex;
  position: relative;
}

.aseo-score strong {
  color: var(--aseo-ink);
  font-size: 3rem;
  letter-spacing: -.08em;
  line-height: 1;
}

.aseo-score span {
  color: var(--aseo-muted);
  font-size: .9rem;
  font-weight: 700;
  margin-left: 4px;
}

.aseo-score-copy .aseo-overline {
  margin-bottom: 7px;
}

.aseo-score-copy h3 {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  margin-bottom: 9px;
}

.aseo-score-copy p:not(.aseo-overline) {
  color: var(--aseo-muted);
  margin-bottom: 5px;
}

.aseo-score-copy a {
  color: var(--aseo-accent);
  display: block;
  font-size: .87rem;
  max-width: 540px;
  overflow: hidden;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aseo-print {
  background: var(--aseo-ink);
  border: 0;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 720;
  padding: 12px 16px;
  white-space: nowrap;
}

.aseo-priorities,
.aseo-report,
.aseo-disclaimer,
.aseo-cta {
  margin-top: 24px;
}

.aseo-priorities,
.aseo-report {
  background: var(--aseo-paper);
  border: 1px solid var(--aseo-line);
  border-radius: 24px;
  padding: clamp(20px, 4vw, 34px);
}

.aseo-section-heading,
.aseo-panel-head {
  align-items: end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.aseo-section-heading h3,
.aseo-panel-head h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 0;
}

.aseo-section-heading .aseo-overline {
  margin-bottom: 6px;
}

.aseo-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
}

.aseo-count {
  border-radius: 99px;
  font-size: .78rem;
  padding: 5px 10px;
}

.aseo-count--fail { background: var(--aseo-fail-soft); color: var(--aseo-fail); }
.aseo-count--warn { background: var(--aseo-warn-soft); color: var(--aseo-warn); }
.aseo-count--pass { background: var(--aseo-pass-soft); color: var(--aseo-pass); }

.aseo-priority-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

.aseo-priority {
  background: var(--aseo-soft);
  border: 1px solid transparent;
  border-radius: 14px;
  display: grid;
  gap: 14px;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 18px;
}

.aseo-priority--fail { border-color: #f7ced3; }
.aseo-priority--warn { border-color: #f6dfb6; }

.aseo-priority-number {
  color: #a1a9b8;
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .08em;
}

.aseo-priority-category {
  color: var(--aseo-muted);
  display: block;
  font-size: .72rem;
  font-weight: 780;
  letter-spacing: .09em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.aseo-priority h4 {
  font-size: 1rem;
  letter-spacing: -.015em;
  margin-bottom: 7px;
}

.aseo-priority p {
  color: var(--aseo-muted);
  font-size: .88rem;
  line-height: 1.5;
  margin: 0;
}

.aseo-empty {
  background: var(--aseo-pass-soft);
  border-radius: 14px;
  color: #075f46;
  grid-column: 1 / -1;
  padding: 18px;
}

.aseo-empty p { margin: 4px 0 0; }

.aseo-tabs {
  border-bottom: 1px solid var(--aseo-line);
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: -4px -4px 26px;
  overflow-x: auto;
  padding: 4px 4px 18px;
}

.aseo-tab {
  align-items: center;
  background: var(--aseo-soft);
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--aseo-muted);
  cursor: pointer;
  display: flex;
  gap: 10px;
  min-width: 150px;
  padding: 11px;
  text-align: left;
}

.aseo-tab[aria-selected="true"] {
  background: color-mix(in srgb, var(--aseo-accent) 8%, white);
  border-color: color-mix(in srgb, var(--aseo-accent) 35%, white);
  color: var(--aseo-ink);
}

.aseo-tab-icon {
  align-items: center;
  background: #fff;
  border: 1px solid var(--aseo-line);
  border-radius: 9px;
  display: flex;
  flex: 0 0 auto;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .75rem;
  font-weight: 850;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.aseo-tab-label {
  display: grid;
  line-height: 1.25;
}

.aseo-tab-label strong {
  font-size: .8rem;
  font-weight: 760;
}

.aseo-tab-label small {
  font-size: .7rem;
  margin-top: 3px;
}

.aseo-panel-head {
  border-bottom: 1px solid var(--aseo-line);
  margin-bottom: 2px;
  padding-bottom: 18px;
}

.aseo-panel-score {
  background: var(--aseo-soft);
  border-radius: 99px;
  color: var(--aseo-ink);
  font-size: .82rem;
  font-weight: 800;
  padding: 7px 11px;
}

.aseo-check {
  border-bottom: 1px solid var(--aseo-line);
  margin: 0;
}

.aseo-check:last-child {
  border-bottom: 0;
}

.aseo-check-summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  list-style: none;
  padding: 17px 2px;
}

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

.aseo-check-title {
  align-items: center;
  display: flex;
  gap: 12px;
}

.aseo-check-title strong {
  font-size: .96rem;
  letter-spacing: -.01em;
}

.aseo-status {
  align-items: center;
  border-radius: 99px;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: .7rem;
  font-weight: 800;
  gap: 5px;
  padding: 4px 8px;
  text-transform: uppercase;
}

.aseo-status-symbol {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  font-size: .66rem;
  height: 16px;
  justify-content: center;
  width: 16px;
}

.aseo-status--fail { background: var(--aseo-fail-soft); color: var(--aseo-fail); }
.aseo-status--warn { background: var(--aseo-warn-soft); color: var(--aseo-warn); }
.aseo-status--pass { background: var(--aseo-pass-soft); color: var(--aseo-pass); }
.aseo-status--info { background: #eef2f7; color: var(--aseo-info); }

.aseo-chevron {
  color: #7c8596;
  font-size: 1.2rem;
  transition: transform .2s ease;
}

.aseo-check[open] .aseo-chevron { transform: rotate(180deg); }

.aseo-check-body {
  color: var(--aseo-muted);
  font-size: .94rem;
  padding: 0 4px 20px 118px;
}

.aseo-check-detail { margin-bottom: 12px; }

.aseo-fix {
  background: var(--aseo-soft);
  border-left: 3px solid var(--aseo-accent);
  border-radius: 0 10px 10px 0;
  padding: 12px 14px;
}

.aseo-fix strong {
  color: var(--aseo-ink);
  display: block;
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.aseo-fix p { margin: 3px 0 0; }

.aseo-source {
  color: var(--aseo-accent);
  display: inline-block;
  font-size: .82rem;
  font-weight: 700;
  margin-top: 12px;
  text-decoration: none;
}

.aseo-disclaimer {
  background: #eef4ff;
  border: 1px solid #ceddf9;
  border-radius: 14px;
  color: #3e4e6c;
  font-size: .88rem;
  padding: 18px;
}

.aseo-disclaimer strong { color: var(--aseo-ink); }
.aseo-disclaimer p { margin: 4px 0 0; }

.aseo-cta {
  align-items: center;
  background: var(--aseo-ink);
  border-radius: 20px;
  color: #cbd5e1;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  padding: clamp(22px, 4vw, 36px);
}

.aseo-cta .aseo-overline { color: #9dbbff; margin-bottom: 5px; }
.aseo-cta h3 { color: white; font-size: 1.55rem; margin-bottom: 6px; }
.aseo-cta p { margin: 0; }
.aseo-cta a {
  background: var(--aseo-accent);
  border-radius: 10px;
  color: white;
  flex: 0 0 auto;
  font-weight: 760;
  padding: 13px 17px;
  text-decoration: none;
}

.aseo-guide {
  padding: clamp(70px, 10vw, 120px) clamp(2px, 2vw, 18px) 20px;
}

.aseo-guide > section {
  margin-bottom: clamp(70px, 9vw, 110px);
}

.aseo-guide h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 18px;
  max-width: 780px;
}

.aseo-guide > section > p:not(.aseo-overline) {
  color: var(--aseo-muted);
  font-size: 1.08rem;
  max-width: 760px;
}

.aseo-feature-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
}

.aseo-feature-grid article {
  background: var(--aseo-soft);
  border: 1px solid var(--aseo-line);
  border-radius: 16px;
  min-height: 220px;
  padding: 26px;
}

.aseo-feature-grid article > span {
  color: var(--aseo-accent);
  display: block;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .78rem;
  font-weight: 800;
  margin-bottom: 34px;
}

.aseo-feature-grid h3 {
  font-size: 1.35rem;
  margin-bottom: 9px;
}

.aseo-feature-grid p {
  color: var(--aseo-muted);
  margin: 0;
}

.aseo-how {
  background: #0f182c;
  border-radius: 24px;
  color: #c7d1e5;
  padding: clamp(28px, 6vw, 64px);
}

.aseo-how .aseo-overline { color: #9dbbff; }
.aseo-how h2 { color: white; }
.aseo-how ol { list-style: none; margin: 36px 0 0; padding: 0; }
.aseo-how li {
  align-items: baseline;
  border-top: 1px solid rgba(255,255,255,.13);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(210px, .8fr) 1.4fr;
  padding: 21px 0;
}
.aseo-how li:last-child { border-bottom: 1px solid rgba(255,255,255,.13); }
.aseo-how li strong { color: white; }
.aseo-how li span { color: #aab6cd; }

.aseo-faq details {
  border-top: 1px solid var(--aseo-line);
  margin: 0;
}

.aseo-faq details:last-child { border-bottom: 1px solid var(--aseo-line); }

.aseo-faq summary {
  color: var(--aseo-ink);
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 740;
  list-style: none;
  padding: 21px 40px 21px 0;
  position: relative;
}

.aseo-faq summary::-webkit-details-marker { display: none; }
.aseo-faq summary::after {
  color: var(--aseo-accent);
  content: "+";
  font-size: 1.5rem;
  font-weight: 450;
  position: absolute;
  right: 7px;
  top: 14px;
}
.aseo-faq details[open] summary::after { content: "−"; }
.aseo-faq details p { color: var(--aseo-muted); max-width: 760px; padding: 0 40px 20px 0; }

.aseo-shell [hidden] { display: none !important; }

@media (max-width: 820px) {
  .aseo-score-card { grid-template-columns: auto minmax(0, 1fr); }
  .aseo-print { grid-column: 1 / -1; justify-self: start; }
  .aseo-tabs { grid-template-columns: repeat(5, 160px); }
  .aseo-priority-list { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .aseo-hero { border-radius: 20px; padding: 26px 18px; }
  .aseo-hero h2 { font-size: clamp(2rem, 12vw, 3rem); }
  .aseo-input-row { grid-template-columns: 1fr; }
  .aseo-score-card { align-items: start; grid-template-columns: 1fr; }
  .aseo-score { height: 128px; width: 128px; }
  .aseo-section-heading { align-items: start; flex-direction: column; }
  .aseo-counts { justify-content: flex-start; }
  .aseo-priorities, .aseo-report { border-radius: 18px; padding: 18px 14px; }
  .aseo-check-title { align-items: flex-start; flex-direction: column; gap: 7px; }
  .aseo-check-body { padding-left: 2px; }
  .aseo-feature-grid { grid-template-columns: 1fr; }
  .aseo-how li { grid-template-columns: 1fr; gap: 5px; }
  .aseo-cta { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .aseo-shell *, .aseo-shell *::before, .aseo-shell *::after {
    animation-duration: .01ms !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  body * { visibility: hidden !important; }
  .aseo-results, .aseo-results * { visibility: visible !important; }
  .aseo-results { left: 0; padding: 0; position: absolute; top: 0; width: 100%; }
  .aseo-tabs, .aseo-print, .aseo-cta { display: none !important; }
  .aseo-panels [role="tabpanel"] { display: block !important; margin-top: 28px; }
  .aseo-check-body { display: block !important; }
  .aseo-score-card, .aseo-priorities, .aseo-report { box-shadow: none; break-inside: avoid; }
}
