/* ============================================================
   analyze-seo.css — utility tool page (analyze-* archetype)
   Pairs with the site /css/styles.css header/footer partials.
   ============================================================ */

/* ---------- Tokens ---------- */
.aseo-body {
  --aseo-bg:        #fafafa;
  --aseo-surface:   #ffffff;
  --aseo-surface-2: #f4f5f8;
  --aseo-ink:       #0f172a;
  --aseo-ink-2:     #475569;
  --aseo-ink-3:     #94a3b8;
  --aseo-rule:      #e5e7eb;
  --aseo-rule-soft: #eef0f3;
  --aseo-accent:    #4f46e5;       /* indigo */
  --aseo-accent-2:  #4338ca;
  --aseo-accent-soft: #eef2ff;
  --aseo-warn:      #dc2626;
  --aseo-success:   #15803d;

  --aseo-font-display: 'Jost', 'Inter', system-ui, sans-serif;
  --aseo-font-body:    'Poppins', system-ui, -apple-system, sans-serif;
  --aseo-font-mono:    'JetBrains Mono', ui-monospace, Menlo, monospace;

  --aseo-radius:    10px;
  --aseo-radius-lg: 16px;
  --aseo-shadow-1:  0 1px 2px rgba(15, 23, 42, 0.06);
  --aseo-shadow-2:  0 10px 30px -16px rgba(15, 23, 42, 0.25);
  --aseo-shadow-3:  0 24px 60px -24px rgba(79, 70, 229, 0.30);
  --aseo-ease:      cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Layout primitives ---------- */
.aseo-main {
  background: var(--aseo-bg);
  color: var(--aseo-ink);
  font-family: var(--aseo-font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
}
.aseo-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}
.aseo-section { padding-block: clamp(3rem, 6vw, 5rem); }
.aseo-section__head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 720px;
}
.aseo-section__head--center { text-align: center; margin-inline: auto; }
.aseo-section__eyebrow {
  font-family: var(--aseo-font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aseo-accent);
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.aseo-section__title {
  font-family: var(--aseo-font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 0;
  color: var(--aseo-ink);
}
.aseo-section__sub {
  margin: 0.85rem 0 0;
  color: var(--aseo-ink-2);
  font-size: 16px;
  line-height: 1.55;
  max-width: 56ch;
}
.aseo-section__head--center .aseo-section__sub { margin-inline: auto; }

/* ---------- Hero + Form ---------- */
.aseo-hero {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  position: relative;
  background:
    radial-gradient(60% 80% at 50% 0%, color-mix(in oklab, var(--aseo-accent) 12%, transparent), transparent 60%),
    var(--aseo-bg);
  text-align: center;
}
.aseo-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15,23,42,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 80%);
          mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}
.aseo-hero .aseo-container { position: relative; z-index: 1; }

.aseo-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.85rem;
  border-radius: 99px;
  background: var(--aseo-surface);
  border: 1px solid var(--aseo-rule);
  font-family: var(--aseo-font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--aseo-ink-2);
  box-shadow: var(--aseo-shadow-1);
}
.aseo-hero__badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--aseo-accent);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--aseo-accent) 18%, transparent);
}

.aseo-hero__h1 {
  font-family: var(--aseo-font-display);
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 1.25rem auto 1rem;
  max-width: 18ch;
  color: var(--aseo-ink);
}
.aseo-hero__sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--aseo-ink-2);
  max-width: 56ch;
  margin: 0 auto 2rem;
  line-height: 1.55;
}

.aseo-form {
  max-width: 720px;
  margin: 0 auto;
  background: var(--aseo-surface);
  border: 1px solid var(--aseo-rule);
  border-radius: var(--aseo-radius-lg);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  box-shadow: var(--aseo-shadow-2);
  text-align: left;
  transition: box-shadow 0.3s var(--aseo-ease), transform 0.3s var(--aseo-ease);
}
.aseo-form:focus-within {
  box-shadow: var(--aseo-shadow-3);
  transform: translateY(-1px);
}
.aseo-form__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.aseo-field {
  display: grid;
  gap: 0.35rem;
}
.aseo-field--full,
.aseo-form__fields:has(> .aseo-field:only-child) .aseo-field { grid-column: 1 / -1; }
@media (max-width: 600px) {
  .aseo-form__fields { grid-template-columns: 1fr; }
}
.aseo-field__label {
  font-family: var(--aseo-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--aseo-ink-2);
  font-weight: 500;
}
.aseo-field__label em {
  color: var(--aseo-warn);
  font-style: normal;
  margin-left: 1px;
}
.aseo-field input,
.aseo-field textarea,
.aseo-field select {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--aseo-ink);
  padding: 0.75rem 0.9rem;
  background: var(--aseo-surface-2);
  border: 1px solid var(--aseo-rule);
  border-radius: 8px;
  transition: border-color 0.15s var(--aseo-ease), background 0.15s var(--aseo-ease), box-shadow 0.15s var(--aseo-ease);
  outline: none;
  resize: vertical;
}
.aseo-field input::placeholder,
.aseo-field textarea::placeholder { color: var(--aseo-ink-3); }
.aseo-field input:hover,
.aseo-field textarea:hover,
.aseo-field select:hover { border-color: color-mix(in oklab, var(--aseo-accent) 35%, var(--aseo-rule)); }
.aseo-field input:focus,
.aseo-field textarea:focus,
.aseo-field select:focus {
  background: var(--aseo-surface);
  border-color: var(--aseo-accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--aseo-accent) 18%, transparent);
}

.aseo-form__submit {
  width: 100%;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.5rem;
  font: inherit;
  font-family: var(--aseo-font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.005em;
  color: #fff;
  background: var(--aseo-accent);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.18s var(--aseo-ease), transform 0.15s var(--aseo-ease), box-shadow 0.18s var(--aseo-ease);
  box-shadow: 0 8px 20px -8px color-mix(in oklab, var(--aseo-accent) 60%, transparent);
}
.aseo-form__submit:hover {
  background: var(--aseo-accent-2);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -8px color-mix(in oklab, var(--aseo-accent) 70%, transparent);
}
.aseo-form__submit:active { transform: translateY(0); }
.aseo-form__submit:disabled { opacity: 0.7; cursor: progress; transform: none; }
.aseo-form__submit-arrow { transition: transform 0.2s var(--aseo-ease); }
.aseo-form__submit:hover .aseo-form__submit-arrow { transform: translateX(3px); }
.aseo-form__submit-spinner {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  display: none;
  animation: aseo-spin 0.7s linear infinite;
}
.aseo-form__submit[data-loading="true"] .aseo-form__submit-spinner { display: inline-block; }
.aseo-form__submit[data-loading="true"] .aseo-form__submit-arrow { display: none; }
@keyframes aseo-spin { to { transform: rotate(360deg); } }

.aseo-form__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
  font-family: var(--aseo-font-mono);
  font-size: 12px;
  color: var(--aseo-ink-3);
}
.aseo-form__meta-item i { color: var(--aseo-accent); margin-right: 0.4rem; }

/* ---------- Report ---------- */
.aseo-report { padding-block: 1.5rem clamp(2rem, 4vw, 3.5rem); }
.aseo-report__shell {
  background: var(--aseo-surface);
  border: 1px solid var(--aseo-rule);
  border-radius: var(--aseo-radius-lg);
  overflow: hidden;
  box-shadow: var(--aseo-shadow-2);
}
.aseo-report__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--aseo-rule);
  background: linear-gradient(180deg, var(--aseo-accent-soft), var(--aseo-surface));
}
.aseo-report__eyebrow {
  font-family: var(--aseo-font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--aseo-accent);
  margin-bottom: 0.2rem;
  font-weight: 500;
}
.aseo-report__title {
  font-family: var(--aseo-font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}
.aseo-report__actions { display: flex; gap: 0.5rem; }
.aseo-report__btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  font: inherit; font-size: 13px; font-weight: 500;
  background: var(--aseo-surface);
  color: var(--aseo-ink-2);
  border: 1px solid var(--aseo-rule);
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.15s var(--aseo-ease), color 0.15s var(--aseo-ease), border-color 0.15s var(--aseo-ease);
}
.aseo-report__btn:hover { background: var(--aseo-surface-2); color: var(--aseo-ink); border-color: var(--aseo-ink-3); }
.aseo-report__btn--ghost { padding: 0.5rem 0.6rem; }

.aseo-report__body {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: none;
}
.aseo-report__shell[data-state="ready"] .aseo-report__body { display: block; }
.aseo-report__shell[data-state="loading"] .aseo-report__loading,
.aseo-report__shell[data-state="error"]   .aseo-report__error { display: flex; }
.aseo-report__loading, .aseo-report__error { display: none; }

.aseo-report__loading {
  padding: 2rem;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.aseo-loading {
  display: flex;
  gap: 0.4rem;
  align-items: end;
}
.aseo-loading__bar {
  width: 8px; height: 28px;
  background: var(--aseo-accent);
  border-radius: 2px;
  animation: aseo-loading-bar 1s ease-in-out infinite;
  opacity: 0.6;
}
.aseo-loading__bar:nth-child(2) { animation-delay: 0.12s; }
.aseo-loading__bar:nth-child(3) { animation-delay: 0.24s; }
@keyframes aseo-loading-bar {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; }
  50%      { transform: scaleY(1);   opacity: 1; }
}
.aseo-report__loading-text {
  margin: 0;
  font-size: 13px;
  color: var(--aseo-ink-2);
  font-family: var(--aseo-font-mono);
  letter-spacing: 0.04em;
}

.aseo-report__error {
  padding: 1.25rem 1.5rem;
  align-items: center;
  gap: 0.75rem;
  background: color-mix(in oklab, var(--aseo-warn) 8%, var(--aseo-surface));
  color: var(--aseo-warn);
  font-size: 14px;
}

/* Rendered markdown — scoped inside .aseo-report__body */
.aseo-report__body :where(h1, h2, h3, h4) {
  font-family: var(--aseo-font-display);
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--aseo-ink);
  margin: 1.5em 0 0.6em;
}
.aseo-report__body > :first-child { margin-top: 0; }
.aseo-report__body h1 { font-size: 1.75rem; font-weight: 600; }
.aseo-report__body h2 {
  font-size: 1.35rem;
  font-weight: 600;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--aseo-rule);
}
.aseo-report__body h3 { font-size: 1.1rem; font-weight: 600; }
.aseo-report__body p  { margin: 0 0 1em; color: var(--aseo-ink); line-height: 1.65; }
.aseo-report__body strong { color: var(--aseo-ink); font-weight: 600; }
.aseo-report__body em { color: var(--aseo-ink-2); }
.aseo-report__body code {
  font-family: var(--aseo-font-mono);
  font-size: 0.88em;
  background: var(--aseo-surface-2);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  color: var(--aseo-accent-2);
}
.aseo-report__body pre {
  font-family: var(--aseo-font-mono);
  font-size: 0.85em;
  background: var(--aseo-surface-2);
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--aseo-rule);
  overflow-x: auto;
  margin: 0 0 1em;
}
.aseo-report__body pre code { background: none; padding: 0; color: inherit; }
.aseo-report__body ul,
.aseo-report__body ol { margin: 0 0 1em; padding-left: 1.4rem; line-height: 1.65; }
.aseo-report__body li { margin: 0.3rem 0; }
.aseo-report__body ul > li::marker { color: var(--aseo-accent); }
.aseo-report__body ol > li::marker { color: var(--aseo-ink-3); font-family: var(--aseo-font-mono); }
.aseo-report__body a { color: var(--aseo-accent); text-decoration: underline; text-underline-offset: 3px; }
.aseo-report__body a:hover { color: var(--aseo-accent-2); }
.aseo-report__body blockquote {
  margin: 1em 0;
  padding: 0.75em 1em;
  border-left: 3px solid var(--aseo-accent);
  background: var(--aseo-accent-soft);
  border-radius: 0 6px 6px 0;
  color: var(--aseo-ink);
  font-style: italic;
}
.aseo-report__body table {
  border-collapse: collapse;
  width: 100%;
  margin: 0 0 1em;
  font-size: 14px;
  border: 1px solid var(--aseo-rule);
  border-radius: 8px;
  overflow: hidden;
}
.aseo-report__body th,
.aseo-report__body td {
  padding: 0.6rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--aseo-rule-soft);
}
.aseo-report__body tr:last-child td { border-bottom: 0; }
.aseo-report__body th {
  background: var(--aseo-surface-2);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--aseo-ink-2);
  font-family: var(--aseo-font-mono);
}
.aseo-report__body tr:hover td { background: var(--aseo-surface-2); }
.aseo-report__body hr {
  border: 0;
  border-top: 1px solid var(--aseo-rule);
  margin: 1.5em 0;
}

/* ---------- Trusted bar + 4-counter grid ---------- */
.aseo-trusted {
  background:
    radial-gradient(60% 100% at 50% 0%, color-mix(in oklab, var(--aseo-accent) 20%, transparent), transparent 60%),
    var(--aseo-ink);
  color: #fff;
  padding-block: clamp(3rem, 5vw, 4rem);
}
.aseo-trusted__head { text-align: center; margin-bottom: 2.25rem; }
.aseo-trusted__title {
  font-family: var(--aseo-font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 0.5rem;
}
.aseo-trusted__sub {
  font-size: 14px;
  color: color-mix(in oklab, #fff 70%, transparent);
  margin: 0;
}
.aseo-trusted__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: 1px;
  background: color-mix(in oklab, #fff 12%, transparent);
  border-radius: var(--aseo-radius-lg);
  overflow: hidden;
  border: 1px solid color-mix(in oklab, #fff 15%, transparent);
}
.aseo-trusted__cell {
  background:
    radial-gradient(80% 60% at 50% 100%, color-mix(in oklab, var(--aseo-accent) 14%, transparent), transparent 70%),
    color-mix(in oklab, #fff 4%, var(--aseo-ink));
  padding: 1.75rem clamp(1rem, 2vw, 1.5rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.aseo-trusted__num {
  font-family: var(--aseo-font-display);
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
}
.aseo-trusted__num small {
  font-size: 0.55em;
  font-weight: 500;
  color: color-mix(in oklab, #fff 70%, transparent);
  letter-spacing: 0;
  margin-left: 0.1em;
}
.aseo-trusted__label {
  font-family: var(--aseo-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in oklab, #fff 80%, transparent);
  font-weight: 500;
  margin-top: 0.3rem;
}
.aseo-trusted__sublabel {
  font-size: 12px;
  color: color-mix(in oklab, #fff 55%, transparent);
}

/* ---------- Make Data-Driven section ---------- */
.aseo-mdd__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 880px) { .aseo-mdd__grid { grid-template-columns: 1fr; } }

.aseo-mdd__para {
  color: var(--aseo-ink-2);
  font-size: 16px;
  line-height: 1.65;
  margin: 1rem 0 1.5rem;
  max-width: 56ch;
}
.aseo-mdd__checks {
  list-style: none;
  padding: 0; margin: 0 0 2rem;
  display: grid;
  gap: 0.65rem;
}
.aseo-mdd__checks li {
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  gap: 0.6rem;
  align-items: baseline;
  font-size: 15px;
  color: var(--aseo-ink);
}
.aseo-mdd__checks li i {
  color: var(--aseo-success);
  font-size: 16px;
}
.aseo-mdd__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1.5rem;
  background: var(--aseo-accent);
  color: #fff;
  font-family: var(--aseo-font-display);
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.18s var(--aseo-ease), transform 0.15s var(--aseo-ease), box-shadow 0.18s var(--aseo-ease);
  box-shadow: 0 8px 20px -8px color-mix(in oklab, var(--aseo-accent) 60%, transparent);
}
.aseo-mdd__cta:hover {
  background: var(--aseo-accent-2);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -8px color-mix(in oklab, var(--aseo-accent) 70%, transparent);
}
.aseo-mdd__cta i { transition: transform 0.2s var(--aseo-ease); }
.aseo-mdd__cta:hover i { transform: translateX(3px); }

.aseo-mdd__media {
  margin: 0;
  border-radius: var(--aseo-radius-lg);
  overflow: hidden;
  box-shadow: var(--aseo-shadow-2);
  border: 1px solid var(--aseo-rule);
  background: var(--aseo-surface);
  aspect-ratio: 7 / 5;
  position: relative;
}
.aseo-mdd__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Tool preview (sample dashboard) ---------- */
.aseo-preview { padding-block: clamp(2rem, 4vw, 3rem); }
.aseo-preview__card {
  background: var(--aseo-surface);
  border: 1px solid var(--aseo-rule);
  border-radius: var(--aseo-radius-lg);
  box-shadow: var(--aseo-shadow-2);
  overflow: hidden;
}
.aseo-preview__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1.25rem, 2.5vw, 2rem);
  border-bottom: 1px solid var(--aseo-rule);
  background:
    linear-gradient(180deg, color-mix(in oklab, var(--aseo-accent) 6%, var(--aseo-surface)), var(--aseo-surface));
}
.aseo-preview__title {
  font-family: var(--aseo-font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0.15rem 0 0;
  color: var(--aseo-ink);
}
.aseo-preview__sub {
  margin: 0.4rem 0 0;
  font-size: 13px;
  color: var(--aseo-ink-2);
}
.aseo-preview__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: 99px;
  background: var(--aseo-accent-soft);
  color: var(--aseo-accent-2);
  font-family: var(--aseo-font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
  align-self: center;
}
.aseo-preview__keyword {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem clamp(1.25rem, 2.5vw, 1.75rem);
  background: var(--aseo-surface);
  border-bottom: 1px solid var(--aseo-rule);
  font-size: 14px;
}
.aseo-preview__keyword-label {
  font-family: var(--aseo-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aseo-ink-3);
}
.aseo-preview__keyword code {
  font-family: var(--aseo-font-mono);
  font-size: 13px;
  padding: 0.2em 0.5em;
  background: var(--aseo-accent-soft);
  color: var(--aseo-accent-2);
  border-radius: 4px;
}
.aseo-preview__metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: 1px;
  background: var(--aseo-rule);
}
.aseo-preview__metric {
  background: var(--aseo-surface);
  padding: 1.5rem clamp(1.25rem, 2vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.aseo-preview__metric-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.aseo-preview__metric-icon {
  width: 1.85rem; height: 1.85rem;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: var(--aseo-accent-soft);
  color: var(--aseo-accent);
  border-radius: 7px;
  font-size: 14px;
}
.aseo-preview__metric-label {
  font-family: var(--aseo-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aseo-ink-2);
  font-weight: 500;
}
.aseo-preview__metric-trend {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--aseo-font-mono);
  font-size: 11px;
  font-weight: 500;
  padding: 0.2em 0.5em;
  border-radius: 99px;
  width: max-content;
}
.aseo-preview__metric-trend--up {
  color: var(--aseo-success);
  background: color-mix(in oklab, var(--aseo-success) 12%, transparent);
}
.aseo-preview__metric-trend--down {
  color: var(--aseo-warn);
  background: color-mix(in oklab, var(--aseo-warn) 10%, transparent);
}
.aseo-preview__metric-trend--neutral {
  color: var(--aseo-ink-3);
  background: var(--aseo-surface-2);
}
.aseo-preview__metric-value {
  font-family: var(--aseo-font-display);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--aseo-ink);
}
.aseo-preview__metric-value small {
  font-size: 1rem;
  font-weight: 500;
  color: var(--aseo-ink-3);
  margin-left: 0.2rem;
  letter-spacing: 0;
}
.aseo-preview__metric--accent .aseo-preview__metric-value { color: var(--aseo-accent); }
.aseo-preview__metric--text  .aseo-preview__metric-value {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.aseo-preview__top10 {
  padding: 1.5rem clamp(1.25rem, 2.5vw, 1.75rem);
  border-top: 1px solid var(--aseo-rule);
}
.aseo-preview__top10-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  font-family: var(--aseo-font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--aseo-ink);
}
.aseo-preview__top10-title i { color: var(--aseo-accent); font-size: 14px; }
.aseo-preview__top10-list {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: 0.4rem;
  counter-reset: aseo-top10;
}
.aseo-preview__top10-row {
  counter-increment: aseo-top10;
  display: grid;
  grid-template-columns: 1.75rem 1.5rem auto 1fr;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  background: var(--aseo-surface-2);
  border: 1px solid var(--aseo-rule-soft);
  border-radius: 6px;
  font-size: 13px;
  transition: border-color 0.15s var(--aseo-ease), background 0.15s var(--aseo-ease);
}
.aseo-preview__top10-row:hover {
  border-color: color-mix(in oklab, var(--aseo-accent) 30%, var(--aseo-rule));
  background: var(--aseo-surface);
}
.aseo-preview__top10-rank::before {
  content: counter(aseo-top10, decimal-leading-zero);
  font-family: var(--aseo-font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--aseo-ink-3);
  letter-spacing: 0.06em;
}
.aseo-preview__top10-icon { color: var(--aseo-ink-3); font-size: 13px; }
.aseo-preview__top10-dr {
  font-family: var(--aseo-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--aseo-ink-2);
  text-transform: uppercase;
}
.aseo-preview__top10-dr b {
  color: var(--aseo-accent);
  font-weight: 700;
  font-size: 14px;
  margin-left: 0.3em;
  letter-spacing: 0;
}
.aseo-preview__top10-type {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 99px;
  background: var(--aseo-surface);
  border: 1px solid var(--aseo-rule);
  font-family: var(--aseo-font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--aseo-ink-2);
}

.aseo-preview__summary {
  padding: 1.1rem 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  background: var(--aseo-accent-soft);
  border-top: 1px solid var(--aseo-rule);
  font-size: 14px;
  line-height: 1.6;
  color: var(--aseo-ink);
}
.aseo-preview__summary-icon {
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: var(--aseo-surface);
  color: var(--aseo-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.aseo-preview__summary strong {
  display: block;
  font-family: var(--aseo-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--aseo-accent);
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.aseo-preview__summary span {
  color: var(--aseo-ink-2);
}
@media (max-width: 560px) {
  .aseo-preview__summary { grid-template-columns: 1fr; }
}

/* ---------- Features ---------- */
.aseo-features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1rem;
}
.aseo-feature {
  background: var(--aseo-surface);
  border: 1px solid var(--aseo-rule);
  border-radius: var(--aseo-radius);
  transition: border-color 0.2s var(--aseo-ease), transform 0.2s var(--aseo-ease), box-shadow 0.2s var(--aseo-ease);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.aseo-feature:hover {
  border-color: color-mix(in oklab, var(--aseo-accent) 40%, var(--aseo-rule));
  transform: translateY(-2px);
  box-shadow: var(--aseo-shadow-2);
}
.aseo-feature__media {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--aseo-surface-2);
  border-bottom: 1px solid var(--aseo-rule);
}
.aseo-feature__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--aseo-ease);
}
.aseo-feature:hover .aseo-feature__media img { transform: scale(1.04); }
.aseo-feature__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.aseo-feature__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}
.aseo-feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: 10px;
  background: linear-gradient(135deg,
    color-mix(in oklab, var(--aseo-accent) 18%, var(--aseo-surface)),
    color-mix(in oklab, var(--aseo-accent) 6%, var(--aseo-surface)));
  color: var(--aseo-accent);
  font-size: 18px;
  border: 1px solid color-mix(in oklab, var(--aseo-accent) 18%, var(--aseo-rule));
  transition: transform 0.2s var(--aseo-ease);
}
.aseo-feature:hover .aseo-feature__icon {
  transform: rotate(-4deg) scale(1.05);
}
.aseo-feature__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 99px;
  background: var(--aseo-accent-soft);
  color: var(--aseo-accent-2);
  font-family: var(--aseo-font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.aseo-feature__title {
  font-family: var(--aseo-font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--aseo-ink);
}
.aseo-feature__copy {
  color: var(--aseo-ink-2);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* ---------- How it works ---------- */
.aseo-how__list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1rem;
}
.aseo-how__item {
  display: flex;
  flex-direction: column;
  background: var(--aseo-surface);
  border: 1px solid var(--aseo-rule);
  border-radius: var(--aseo-radius);
  overflow: hidden;
  transition: border-color 0.2s var(--aseo-ease), transform 0.2s var(--aseo-ease), box-shadow 0.2s var(--aseo-ease);
}
.aseo-how__item:hover {
  border-color: color-mix(in oklab, var(--aseo-accent) 40%, var(--aseo-rule));
  transform: translateY(-2px);
  box-shadow: var(--aseo-shadow-2);
}
.aseo-how__media {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--aseo-surface-2);
}
.aseo-how__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--aseo-ease);
}
.aseo-how__item:hover .aseo-how__media img { transform: scale(1.04); }
.aseo-how__num {
  position: absolute;
  top: 1rem; left: 1rem;
  width: 2.5rem; height: 2.5rem;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: var(--aseo-accent);
  color: #fff;
  border-radius: 50%;
  font-family: var(--aseo-font-display);
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 4px 10px -4px color-mix(in oklab, var(--aseo-accent) 60%, transparent);
  border: 2px solid var(--aseo-surface);
}
.aseo-how__body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.aseo-how__title {
  font-family: var(--aseo-font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--aseo-ink);
}
.aseo-how__copy {
  font-size: 14px;
  line-height: 1.6;
  color: var(--aseo-ink-2);
  margin: 0;
}

/* How-it-works capability cards (3 wide media-led blocks) */
.aseo-how__caps {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1rem;
}
.aseo-how__cap {
  display: flex;
  flex-direction: column;
  background: var(--aseo-surface);
  border: 1px solid var(--aseo-rule);
  border-radius: var(--aseo-radius);
  overflow: hidden;
  transition: border-color 0.2s var(--aseo-ease), box-shadow 0.2s var(--aseo-ease);
}
.aseo-how__cap:hover {
  border-color: color-mix(in oklab, var(--aseo-accent) 35%, var(--aseo-rule));
  box-shadow: var(--aseo-shadow-1);
}
.aseo-how__cap-media {
  margin: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--aseo-surface-2);
}
.aseo-how__cap-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aseo-how__cap-body { padding: 1.25rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: 0.4rem; }
.aseo-how__cap-title {
  font-family: var(--aseo-font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--aseo-ink);
}
.aseo-how__cap-copy {
  font-size: 14px;
  line-height: 1.6;
  color: var(--aseo-ink-2);
  margin: 0;
}

/* ---------- Why choose (value props) ---------- */
.aseo-why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: 1rem;
}
.aseo-why__card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.5rem;
  background: var(--aseo-surface);
  border: 1px solid var(--aseo-rule);
  border-radius: var(--aseo-radius);
  transition: border-color 0.2s var(--aseo-ease), box-shadow 0.2s var(--aseo-ease), transform 0.2s var(--aseo-ease);
}
.aseo-why__card:hover {
  border-color: color-mix(in oklab, var(--aseo-accent) 40%, var(--aseo-rule));
  box-shadow: var(--aseo-shadow-1);
  transform: translateY(-1px);
}
.aseo-why__icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: 10px;
  background: linear-gradient(135deg,
    color-mix(in oklab, var(--aseo-accent) 18%, var(--aseo-surface)),
    color-mix(in oklab, var(--aseo-accent) 6%, var(--aseo-surface)));
  color: var(--aseo-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  border: 1px solid color-mix(in oklab, var(--aseo-accent) 18%, var(--aseo-rule));
}
.aseo-why__icon svg { width: 16px; height: 16px; }
.aseo-why__title {
  font-family: var(--aseo-font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
  letter-spacing: -0.01em;
  color: var(--aseo-ink);
}
.aseo-why__copy {
  font-size: 14px;
  line-height: 1.6;
  color: var(--aseo-ink-2);
  margin: 0;
}

/* ---------- Who benefits ---------- */
.aseo-who__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1rem;
}
.aseo-who__card {
  padding: 1.5rem;
  background: var(--aseo-surface);
  border: 1px solid var(--aseo-rule);
  border-radius: var(--aseo-radius);
  transition: border-color 0.2s var(--aseo-ease), box-shadow 0.2s var(--aseo-ease);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.aseo-who__card:hover {
  border-color: color-mix(in oklab, var(--aseo-accent) 35%, var(--aseo-rule));
  box-shadow: var(--aseo-shadow-1);
}
.aseo-who__icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: 10px;
  background: linear-gradient(135deg,
    color-mix(in oklab, var(--aseo-accent) 18%, var(--aseo-surface)),
    color-mix(in oklab, var(--aseo-accent) 6%, var(--aseo-surface)));
  color: var(--aseo-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  border: 1px solid color-mix(in oklab, var(--aseo-accent) 18%, var(--aseo-rule));
}
.aseo-who__title {
  font-family: var(--aseo-font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  color: var(--aseo-ink);
}
.aseo-who__copy {
  font-size: 14px;
  line-height: 1.6;
  color: var(--aseo-ink-2);
  margin: 0;
}
.aseo-who__bullets {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0.85rem 0 0;
  border-top: 1px dashed var(--aseo-rule);
  display: grid;
  gap: 0.45rem;
}
.aseo-who__bullets li {
  display: grid;
  grid-template-columns: 1rem 1fr;
  gap: 0.55rem;
  align-items: baseline;
  font-size: 13px;
  color: var(--aseo-ink-2);
  font-family: var(--aseo-font-mono);
}
.aseo-who__bullets li i {
  color: var(--aseo-accent);
  font-size: 11px;
}

/* ---------- Testimonials ---------- */
.aseo-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1rem;
}
.aseo-testimonial {
  margin: 0;
  background: var(--aseo-surface);
  border: 1px solid var(--aseo-rule);
  border-radius: var(--aseo-radius);
  padding: 1.5rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: border-color 0.2s var(--aseo-ease), box-shadow 0.2s var(--aseo-ease);
}
.aseo-testimonial:hover {
  border-color: color-mix(in oklab, var(--aseo-accent) 35%, var(--aseo-rule));
  box-shadow: var(--aseo-shadow-1);
}
.aseo-testimonial__stars {
  display: inline-flex;
  gap: 1px;
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 0.05em;
}
.aseo-testimonial__quote {
  margin: 0;
  font-family: var(--aseo-font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--aseo-ink);
  quotes: "\201C" "\201D";
}
.aseo-testimonial__quote::before { content: open-quote; color: var(--aseo-accent); font-weight: 600; margin-right: 0.1em; }
.aseo-testimonial__quote::after  { content: close-quote; color: var(--aseo-accent); font-weight: 600; margin-left: 0.1em; }
.aseo-testimonial__by {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--aseo-rule-soft);
}
.aseo-testimonial__avatar {
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--aseo-surface);
  box-shadow: 0 0 0 1px var(--aseo-rule);
}
.aseo-testimonial__by > div {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}
.aseo-testimonial__name {
  font-family: var(--aseo-font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--aseo-ink);
}
.aseo-testimonial__role {
  font-family: var(--aseo-font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--aseo-ink-3);
}

/* ---------- FAQ ---------- */
.aseo-faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 0.5rem;
}
.aseo-faq__item {
  background: var(--aseo-surface);
  border: 1px solid var(--aseo-rule);
  border-radius: var(--aseo-radius);
  overflow: hidden;
  transition: border-color 0.2s var(--aseo-ease), box-shadow 0.2s var(--aseo-ease);
}
.aseo-faq__item[open] {
  border-color: color-mix(in oklab, var(--aseo-accent) 35%, var(--aseo-rule));
  box-shadow: var(--aseo-shadow-1);
}
.aseo-faq__item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  font-family: var(--aseo-font-display);
  font-weight: 500;
  font-size: 15px;
  color: var(--aseo-ink);
  transition: color 0.15s var(--aseo-ease);
}
.aseo-faq__item summary::-webkit-details-marker { display: none; }
.aseo-faq__item summary:hover { color: var(--aseo-accent); }
.aseo-faq__toggle {
  position: relative;
  width: 22px; height: 22px;
  flex-shrink: 0;
  border: 1px solid var(--aseo-rule);
  border-radius: 50%;
  transition: background 0.2s var(--aseo-ease), border-color 0.2s var(--aseo-ease);
}
.aseo-faq__toggle::before,
.aseo-faq__toggle::after {
  content: '';
  position: absolute;
  inset: 0; margin: auto;
  background: var(--aseo-ink-2);
}
.aseo-faq__toggle::before { width: 9px; height: 1.5px; }
.aseo-faq__toggle::after {
  width: 1.5px; height: 9px;
  transition: transform 0.25s var(--aseo-ease);
}
.aseo-faq__item[open] .aseo-faq__toggle {
  background: var(--aseo-accent);
  border-color: var(--aseo-accent);
}
.aseo-faq__item[open] .aseo-faq__toggle::before,
.aseo-faq__item[open] .aseo-faq__toggle::after { background: #fff; }
.aseo-faq__item[open] .aseo-faq__toggle::after { transform: scaleY(0); }
.aseo-faq__a {
  padding: 0 1.25rem 1.25rem 1.25rem;
  color: var(--aseo-ink-2);
  font-size: 14.5px;
  line-height: 1.65;
}

/* ---------- Final CTA ---------- */
.aseo-final__card {
  text-align: center;
  padding: clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(50% 80% at 50% 100%, color-mix(in oklab, var(--aseo-accent) 25%, transparent), transparent 70%),
    var(--aseo-ink);
  border-radius: var(--aseo-radius-lg);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.aseo-final__h2 {
  font-family: var(--aseo-font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
  color: #fff;
}
.aseo-final__sub {
  font-size: 16px;
  color: color-mix(in oklab, #fff 70%, transparent);
  max-width: 50ch;
  margin: 0 auto 1.75rem;
  line-height: 1.55;
}
.aseo-final__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1.75rem;
  background: #fff;
  color: var(--aseo-ink);
  font-family: var(--aseo-font-display);
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s var(--aseo-ease), transform 0.15s var(--aseo-ease), color 0.2s var(--aseo-ease);
}
.aseo-final__cta:hover {
  background: var(--aseo-accent);
  color: #fff;
  transform: translateY(-1px);
}

/* ---------- Motion-safe defaults ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Print ---------- */
@media print {
  .aseo-form, .aseo-final, .site-header, .site-footer, .aseo-report__actions { display: none; }
}
