:root {
  --agentory-ink: #172033;
  --agentory-muted: #5c667a;
  --agentory-line: #dde3ec;
  --agentory-surface: #f5f7fb;
  --agentory-brand: #3457f1;
  --agentory-brand-dark: #2441c5;
  --agentory-positive: #0f8a5f;
  --agentory-negative: #b04455;
  --agentory-radius: 16px;
  --agentory-shadow: 0 8px 30px rgba(26, 38, 68, .08);
}

.agentory-container { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.agentory-main { color: var(--agentory-ink); }
.agentory-main a { text-underline-offset: 3px; }
.agentory-lead { max-width: 720px; color: var(--agentory-muted); font-size: clamp(1rem, 2vw, 1.2rem); }
.agentory-archive__header { padding: 56px 0 42px; background: linear-gradient(135deg, #f0f3ff, #f8fbff); }
.agentory-archive__header h1 { margin: 12px 0; font-size: clamp(2.1rem, 5vw, 3.5rem); }
.agentory-archive__proof { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; color: var(--agentory-muted); font-size: .8rem; font-weight: 650; }
.agentory-archive__proof span::before { margin-right: 6px; color: var(--agentory-positive); content: "✓"; font-weight: 900; }
.agentory-archive__body { padding-block: 48px 72px; }
.agentory-archive__body > section { margin-bottom: 30px; }
.agentory-archive__body h2 { margin-bottom: 12px; font-size: 1.35rem; }
.agentory-archive__guide { display: grid; grid-template-columns: auto 1fr; gap: 18px; margin-bottom: 32px; padding: 18px 20px; border: 1px solid #dce3ff; border-radius: 13px; background: #f7f8ff; color: var(--agentory-muted); }
.agentory-archive__guide strong { color: var(--agentory-ink); white-space: nowrap; }

.agentory-tool-search { display: flex; max-width: 680px; margin-top: 28px; padding: 6px; border: 1px solid var(--agentory-line); border-radius: 14px; background: #fff; box-shadow: var(--agentory-shadow); }
.agentory-tool-search input { flex: 1; min-width: 0; padding: 13px 16px; border: 0; background: transparent; font-size: 1rem; }
.agentory-tool-search input:focus { outline: 2px solid var(--agentory-brand); outline-offset: 1px; border-radius: 9px; }
.agentory-tool-search button, .agentory-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 22px; border: 0; border-radius: 10px; background: var(--agentory-brand); color: #fff; font-weight: 700; text-decoration: none; cursor: pointer; }
.agentory-tool-search button:hover, .agentory-button:hover { background: var(--agentory-brand-dark); color: #fff; }

.agentory-term-links { display: flex; flex-wrap: wrap; gap: 9px; }
.agentory-term-links a { padding: 9px 14px; border: 1px solid var(--agentory-line); border-radius: 999px; background: #fff; color: var(--agentory-ink); font-weight: 650; text-decoration: none; box-shadow: 0 2px 7px rgba(26,38,68,.025); }
.agentory-term-links a:hover { border-color: var(--agentory-brand); background: #f8f9ff; color: var(--agentory-brand); }

.agentory-tool-grid, .agentory-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.agentory-tool-card { overflow: hidden; border: 1px solid var(--agentory-line); border-radius: var(--agentory-radius); background: #fff; box-shadow: 0 4px 18px rgba(26, 38, 68, .045); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.agentory-tool-card:hover { transform: translateY(-3px); box-shadow: var(--agentory-shadow); }
.agentory-tool-card__main { display: flex; flex-direction: column; height: 100%; padding: 22px; color: inherit; text-decoration: none; }
.agentory-tool-card__header { display: flex; align-items: center; gap: 14px; }
.agentory-tool-card__logo { width: 54px; height: 54px; border: 1px solid var(--agentory-line); border-radius: 12px; object-fit: contain; background: #fff; }
.agentory-tool-card__logo--placeholder { display: grid; place-items: center; color: var(--agentory-brand); font-size: 1.4rem; font-weight: 800; }
.agentory-tool-card__title { margin: 0; font-size: 1.2rem; }
.agentory-tool-card__category { margin-top: 4px; color: var(--agentory-muted); font-size: .8rem; }
.agentory-tool-card__category a { color: inherit; }
.agentory-tool-card p { min-height: 3.4em; color: var(--agentory-muted); }
.agentory-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.agentory-badges span { padding: 5px 8px; border-radius: 7px; background: var(--agentory-surface); color: var(--agentory-muted); font-size: .75rem; }
.agentory-tool-card__footer { display: flex; justify-content: space-between; margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--agentory-line); color: var(--agentory-brand); font-size: .9rem; }
.agentory-tool-card__footer strong { color: #dd8b00; }
.agentory-pagination { margin-top: 38px; }
.agentory-pagination .nav-links { display: flex; justify-content: center; gap: 6px; }
.agentory-pagination .page-numbers { padding: 8px 12px; border: 1px solid var(--agentory-line); border-radius: 8px; text-decoration: none; }
.agentory-pagination .current { border-color: var(--agentory-brand); background: var(--agentory-brand); color: #fff; }
.agentory-empty { padding: 26px; border-radius: var(--agentory-radius); background: var(--agentory-surface); color: var(--agentory-muted); text-align: center; }
.agentory-policy-link { margin-top: 32px; color: var(--agentory-muted); text-align: center; }

.agentory-single-tool { padding-block: 30px 72px; }
.agentory-tool-hero { margin-top: 18px; padding: clamp(24px, 5vw, 48px); border: 1px solid var(--agentory-line); border-radius: 22px; background: linear-gradient(145deg, #fff, #f5f7ff); }
.agentory-tool-hero__identity { display: flex; align-items: flex-start; gap: 22px; }
.agentory-tool-hero__identity h1 { margin: 0 0 8px; font-size: clamp(2rem, 5vw, 3.4rem); }
.agentory-tool-hero__logo { width: 84px; height: 84px; border-radius: 18px; object-fit: contain; background: #fff; box-shadow: var(--agentory-shadow); }
.agentory-tool-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; margin: 28px 0 22px; border: 1px solid var(--agentory-line); border-radius: 12px; background: var(--agentory-line); }
.agentory-tool-summary > div { padding: 15px; background: #fff; }
.agentory-tool-summary span, .agentory-tool-summary strong { display: block; }
.agentory-tool-summary span { margin-bottom: 5px; color: var(--agentory-muted); font-size: .78rem; }
.agentory-tool-summary small { color: var(--agentory-muted); font-weight: 400; }
.agentory-disclosure, .agentory-verified { color: var(--agentory-muted); font-size: .82rem; }
.agentory-tool-content { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 42px; padding-top: 48px; }
.agentory-tool-content__main section { margin-bottom: 46px; }
.agentory-tool-content__main h2 { margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--agentory-line); font-size: 1.65rem; }
.agentory-list { padding-left: 1.2rem; }
.agentory-list li { margin: 8px 0; }
.agentory-pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.agentory-pros, .agentory-cons { padding: 22px; border-radius: var(--agentory-radius); }
.agentory-pros { background: #effaf6; }
.agentory-cons { background: #fff2f4; }
.agentory-pros h3 { color: var(--agentory-positive); }
.agentory-cons h3 { color: var(--agentory-negative); }
.agentory-specs { display: grid; grid-template-columns: 150px 1fr; margin: 0; border-top: 1px solid var(--agentory-line); }
.agentory-specs dt, .agentory-specs dd { margin: 0; padding: 13px; border-bottom: 1px solid var(--agentory-line); }
.agentory-specs dt { background: var(--agentory-surface); font-weight: 700; }
.agentory-sticky-cta { position: sticky; top: 24px; padding: 22px; border: 1px solid var(--agentory-line); border-radius: var(--agentory-radius); background: #fff; box-shadow: var(--agentory-shadow); }
.agentory-sticky-cta strong { font-size: 1.15rem; }
.agentory-sticky-cta p { color: var(--agentory-muted); font-size: .9rem; }
.agentory-sticky-cta .agentory-button { width: 100%; }
.agentory-related { margin-top: 50px; padding-top: 38px; border-top: 1px solid var(--agentory-line); }

.agentory-post-card { overflow: hidden; border: 1px solid var(--agentory-line); border-radius: var(--agentory-radius); background: #fff; }
.agentory-post-card:hover { border-color: #cbd5e5; box-shadow: var(--agentory-shadow); transform: translateY(-2px); }
.agentory-post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.agentory-post-card__body { padding: 18px; }
.agentory-post-card__body time { color: var(--agentory-muted); font-size: .78rem; }
.agentory-post-card__body h3 { margin: 8px 0; font-size: 1.12rem; }
.agentory-post-card__body h3 a { color: inherit; text-decoration: none; }
.agentory-post-card__body p { color: var(--agentory-muted); font-size: .9rem; }

.agentory-contact-form { position: relative; display: grid; gap: 20px; max-width: 780px; margin-top: 28px; padding: clamp(22px, 4vw, 36px); border: 1px solid var(--agentory-line); border-radius: 18px; background: #fff; box-shadow: var(--agentory-shadow); }
.agentory-contact-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.agentory-contact-form__field { display: grid; gap: 7px; }
.agentory-contact-form label { color: var(--agentory-ink); font-weight: 700; }
.agentory-contact-form label > span[aria-hidden="true"], .agentory-contact-form__consent span[aria-hidden="true"] { color: #c64255; }
.agentory-contact-form :is(input[type="text"], input[type="email"], select, textarea) { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid var(--agentory-line); border-radius: 10px; background: #fff; color: var(--agentory-ink); font: inherit; }
.agentory-contact-form textarea { min-height: 170px; resize: vertical; }
.agentory-contact-form :is(input, select, textarea):focus { border-color: var(--agentory-brand); outline: 3px solid rgba(52,87,241,.16); }
.agentory-contact-form__consent { display: flex; align-items: flex-start; gap: 10px; font-weight: 500 !important; }
.agentory-contact-form__consent input { width: 20px; height: 20px; margin-top: 3px; }
.agentory-contact-form__website { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.agentory-contact-form__note { margin: -6px 0 0; color: var(--agentory-muted); font-size: .82rem; }
.agentory-form-notice { display: grid; gap: 3px; max-width: 780px; margin: 20px 0; padding: 18px 20px; border-radius: 12px; }
.agentory-form-notice--success { background: #effaf6; color: #076d49; }
.agentory-form-notice--error { background: #fff2f4; color: #963548; }

@media (max-width: 900px) {
  .agentory-tool-grid, .agentory-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agentory-tool-content { grid-template-columns: 1fr; }
  .agentory-tool-content__aside { display: none; }
  .agentory-tool-summary { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .agentory-container { width: min(100% - 24px, 1120px); }
  .agentory-archive__header { padding-block: 36px 30px; }
  .agentory-tool-grid, .agentory-post-grid, .agentory-pros-cons { grid-template-columns: 1fr; }
  .agentory-tool-search button { padding-inline: 15px; }
  .agentory-tool-hero__identity { display: block; }
  .agentory-tool-hero__logo { width: 68px; height: 68px; margin-bottom: 16px; }
  .agentory-tool-summary { grid-template-columns: 1fr 1fr; }
  .agentory-specs { grid-template-columns: 115px 1fr; }
	.agentory-archive__guide { grid-template-columns: 1fr; gap: 4px; }
	.agentory-archive__proof { display: grid; }
	.agentory-contact-form__grid { grid-template-columns: 1fr; }
}
