/* WoluTools homepage v3 — all selectors are scoped to .hv3 */
.hv3 {
  --hv3-ink: #141b33;
  --hv3-muted: #4d5670;
  --hv3-line: #dfe2ec;
  --hv3-paper: #fbfaf6;
  --hv3-card: #ffffff;
  --hv3-soft: #f1f2f8;
  --hv3-blue: #284de8;
  --hv3-blue-dark: #1d3bc0;
  --hv3-accent: #d6f56c;
  --hv3-green: #13795b;
  --hv3-radius: 18px;
  display: block;
  background: var(--hv3-paper);
  color: var(--hv3-ink);
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: clip;
}
.hv3 *, .hv3 *::before, .hv3 *::after { box-sizing: border-box; }
.hv3 :where(h1, h2, h3) { font-family: Sora, Manrope, system-ui, sans-serif; color: var(--hv3-ink); margin: 0; letter-spacing: -0.02em; }
.hv3 :where(p) { margin: 0; }
.hv3 :where(ul, ol) { list-style: none; margin: 0; padding: 0; }
.hv3 :where(a) { color: inherit; }
.hv3 a:focus-visible, .hv3 button:focus-visible, .hv3 input:focus-visible, .hv3 summary:focus-visible {
  outline: 3px solid var(--hv3-blue);
  outline-offset: 3px;
}
.hv3-shell { width: min(100% - 32px, 1200px); margin-inline: auto; }
.hv3-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Hero */
.hv3-hero { padding: 28px 0 32px; background: linear-gradient(180deg, #eef1fd 0%, var(--hv3-paper) 100%); }
.hv3-hero-grid { display: grid; gap: 28px; align-items: center; }
.hv3-kicker { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hv3-blue-dark); margin-bottom: 12px; }
.hv3-hero h1 { font-size: clamp(1.9rem, 7vw, 3.1rem); line-height: 1.08; font-weight: 800; }
.hv3-hero h1 span { display: block; color: var(--hv3-blue); }
.hv3-lead { margin-top: 16px; font-size: 1.05rem; line-height: 1.6; color: var(--hv3-muted); max-width: 40em; }

.hv3-search { margin-top: 22px; }
.hv3-search-label { display: block; font-weight: 800; font-size: 0.95rem; margin-bottom: 8px; }
.hv3-search-row {
  display: flex; align-items: center; gap: 8px;
  background: var(--hv3-card); border: 2px solid #c9cfe2; border-radius: 16px;
  padding: 6px 6px 6px 14px; box-shadow: 0 10px 30px rgba(20, 27, 51, 0.08);
}
.hv3-search-row:focus-within { border-color: var(--hv3-blue); }
.hv3-search-icon { flex: none; color: var(--hv3-muted); }
.hv3-search input {
  flex: 1 1 auto; min-width: 0; min-height: 48px; border: 0; background: transparent;
  font: inherit; font-size: 1.05rem; color: var(--hv3-ink);
}
.hv3-search input:focus-visible { outline: none; }
.hv3-search input::placeholder { color: #6b7389; }
.hv3-search button {
  flex: none; min-height: 48px; padding: 0 20px; border: 0; border-radius: 12px;
  background: var(--hv3-blue); color: #fff; font: inherit; font-weight: 800; font-size: 1rem; cursor: pointer;
}
.hv3-search button:hover { background: var(--hv3-blue-dark); }

.hv3-chips { margin-top: 18px; }
.hv3-chips p { font-size: 0.85rem; font-weight: 800; color: var(--hv3-muted); margin-bottom: 8px; }
.hv3-chips ul { display: flex; flex-wrap: wrap; gap: 8px; }
.hv3-chips a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  border: 1px solid var(--hv3-line); border-radius: 999px; background: var(--hv3-card);
  font-size: 0.92rem; font-weight: 700; text-decoration: none; color: var(--hv3-ink);
}
.hv3-chips a:hover { border-color: var(--hv3-blue); color: var(--hv3-blue-dark); }

.hv3-result { min-width: 0; margin: 0; }
.hv3-result-card {
  overflow: hidden; border: 1px solid #cdd3e4; border-radius: 22px; background: #fff;
  box-shadow: 0 24px 60px rgba(20, 27, 51, 0.14);
}
.hv3-result-top, .hv3-result-files, .hv3-result-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hv3-result-top { padding: 17px 20px; border-bottom: 1px solid var(--hv3-line); }
.hv3-result-kicker { color: #38456b; font-size: 0.77rem; font-weight: 800; letter-spacing: 0.055em; text-transform: uppercase; }
.hv3-result-ready { flex: none; padding: 5px 9px; border-radius: 999px; background: #e3f6ec; color: #0d6147; font-size: 0.76rem; font-weight: 800; }
.hv3-result-files { margin: 18px 20px 0; padding: 14px; border: 1px solid #dfe4f2; border-radius: 14px; background: #f6f8ff; }
.hv3-result-files div { min-width: 0; }
.hv3-result-files div span, .hv3-result-files strong { display: block; }
.hv3-result-files div span { color: var(--hv3-muted); font-size: 0.75rem; font-weight: 700; }
.hv3-result-files strong { margin-top: 3px; font-size: 0.82rem; overflow-wrap: anywhere; }
.hv3-result-arrow { flex: none; color: var(--hv3-blue); font-size: 1.4rem; font-weight: 800; }
.hv3-result-heading { display: grid; gap: 3px; margin: 23px 20px 15px; }
.hv3-result-heading strong { font-family: Sora, Manrope, sans-serif; font-size: clamp(1.25rem, 4vw, 1.55rem); letter-spacing: -0.03em; }
.hv3-result-heading span { color: var(--hv3-muted); font-size: 0.85rem; line-height: 1.45; }
.hv3-result-counts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; padding: 0 20px 19px; }
.hv3-result-counts li { min-width: 0; padding: 10px 8px; border-radius: 10px; background: #f1f3f9; text-align: center; }
.hv3-result-counts strong, .hv3-result-counts span { display: block; }
.hv3-result-counts strong { font-family: Sora, Manrope, sans-serif; font-size: 1.2rem; line-height: 1.1; }
.hv3-result-counts span { margin-top: 4px; color: #4d5670; font-size: 0.72rem; font-weight: 700; line-height: 1.2; }
.hv3-result-table-wrap { overflow-x: auto; }
.hv3-result-table { width: 100%; border-collapse: collapse; white-space: nowrap; font-size: 0.81rem; font-variant-numeric: tabular-nums; }
.hv3-result-table caption { padding: 0 20px 8px; color: var(--hv3-muted); font-size: 0.75rem; font-weight: 700; text-align: left; }
.hv3-result-table th, .hv3-result-table td { padding: 9px 8px; text-align: right; border-bottom: 1px solid #e8eaf1; }
.hv3-result-table tr > :first-child { padding-left: 20px; text-align: left; }
.hv3-result-table tr > :last-child { padding-right: 20px; }
.hv3-result-table thead { background: #f6f7fb; color: #535c73; }
.hv3-result-table tbody th { font-weight: 800; }
.hv3-result-up { color: #9f3c25; font-weight: 800; }
.hv3-result-down { color: #0d6147; font-weight: 800; }
.hv3 a.hv3-result-bottom { padding: 13px 20px; background: #f6f7fb; color: #404b6e; font-size: 0.77rem; font-weight: 800; text-decoration: none; }
.hv3 a.hv3-result-bottom:hover { background: #e9edfa; color: var(--hv3-blue-dark); }
.hv3-result-bottom span:last-child { font-size: 1.2rem; line-height: 1; }
.hv3-result figcaption { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 14px; color: var(--hv3-muted); font-size: 0.89rem; line-height: 1.5; }
.hv3-result figcaption > span a { color: var(--hv3-blue-dark); font-weight: 800; }
.hv3 a.hv3-result-cta { margin-top: 0; gap: 8px; }

/* Access facts */
.hv3-access { padding: 8px 0 8px; }
.hv3-access-list { display: grid; gap: 12px; }
.hv3-acc a {
  display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px 20px;
  border-radius: var(--hv3-radius); text-decoration: none; border: 1px solid transparent;
}
.hv3-acc strong { font-family: Sora, Manrope, sans-serif; font-size: 1.35rem; }
.hv3-acc span { font-size: 0.95rem; line-height: 1.5; color: #333b52; }
.hv3-acc-free a { background: #e3f6ec; }
.hv3-acc-daily a { background: #e6ebff; }
.hv3-acc-ai a { background: #f1e8ff; }
.hv3-acc a:hover { border-color: var(--hv3-ink); }

/* Sections */
.hv3-section { padding: 44px 0; }
.hv3-section h2 { font-size: clamp(1.55rem, 5vw, 2.25rem); line-height: 1.15; font-weight: 800; }
.hv3-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 20px; }
.hv3-more {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px;
  font-weight: 800; color: var(--hv3-blue-dark); text-decoration: none;
}
.hv3-more:hover { text-decoration: underline; }

/* Popular tools */
.hv3-tools { display: grid; gap: 12px; }
.hv3-tool {
  display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 6px; align-items: start;
  height: 100%; padding: 18px; border-radius: var(--hv3-radius); background: var(--hv3-card);
  border: 1px solid var(--hv3-line); text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.hv3-tool:hover { border-color: var(--hv3-blue); transform: translateY(-2px); }
.hv3-tool strong { font-size: 1.05rem; line-height: 1.3; }
.hv3-tool .hv3-dot { margin-top: 6px; }
.hv3-tool-text, .hv3-io, .hv3-badge { grid-column: 2; }
.hv3-tool-text { font-size: 0.95rem; line-height: 1.5; color: var(--hv3-muted); }
.hv3-io { font-size: 0.82rem; color: #5b6480; font-weight: 700; }
.hv3-badge {
  justify-self: start; margin-top: 4px; padding: 3px 10px; border-radius: 999px;
  background: #e6ebff; color: #1d3bc0; font-size: 0.8rem; font-weight: 800;
}
.hv3-badge-free { background: #e3f6ec; color: #0d6147; }

.hv3-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; flex: none; }
.hv3-c-pdf { background: #d93b3b; }
.hv3-c-images { background: #7c4ddb; }
.hv3-c-video { background: #d83c78; }
.hv3-c-data { background: #1f9a5b; }
.hv3-c-finance { background: #c98a12; }
.hv3-c-commerce { background: #e06a1b; }
.hv3-c-web { background: #2c6be0; }
.hv3-c-developer { background: #4c5670; }
.hv3-c-legal { background: #4b47c9; }
.hv3-c-office { background: #0f8a86; }
.hv3-c-education { background: #1596b8; }
.hv3-c-engineering { background: #6c9a13; }

/* Categories */
.hv3-cats-section { background: var(--hv3-soft); }
.hv3-cats { display: grid; gap: 10px; }
.hv3-cats a {
  display: grid; grid-template-columns: auto 1fr auto; column-gap: 10px; row-gap: 4px; align-items: center;
  min-height: 44px; padding: 14px 16px; border-radius: 14px; background: var(--hv3-card);
  border: 1px solid var(--hv3-line); text-decoration: none;
}
.hv3-cats a:hover { border-color: var(--hv3-blue); }
.hv3-cats strong { font-size: 1rem; }
.hv3-count { font-size: 0.82rem; font-weight: 800; color: var(--hv3-muted); white-space: nowrap; }
.hv3-cat-text { grid-column: 2 / 4; font-size: 0.9rem; line-height: 1.45; color: var(--hv3-muted); }

.hv3-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 18px;
  padding: 8px 22px; border-radius: 12px; background: var(--hv3-blue); color: #fff; font-weight: 800; text-align: center; line-height: 1.3;
  text-decoration: none; border: 2px solid var(--hv3-blue);
}
.hv3 a.hv3-button { color: #fff; }
.hv3-button:hover { background: var(--hv3-blue-dark); border-color: var(--hv3-blue-dark); }
.hv3 a.hv3-button-quiet { background: transparent; color: var(--hv3-blue-dark); }
.hv3 a.hv3-button-quiet:hover { background: #e6ebff; }

/* Steps */
.hv3-steps { display: grid; gap: 12px; margin-top: 20px; counter-reset: none; }
.hv3-steps li { padding: 20px; border-radius: var(--hv3-radius); background: var(--hv3-card); border: 1px solid var(--hv3-line); }
.hv3-step-no {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--hv3-accent); font-family: Sora, sans-serif; font-weight: 800; margin-bottom: 10px;
}
.hv3-steps h3 { font-size: 1.1rem; margin-bottom: 6px; }
.hv3-steps p { font-size: 0.95rem; line-height: 1.55; color: var(--hv3-muted); }

/* Facts */
.hv3-facts-section { background: #141b33; }
.hv3-facts-section h2 { color: #fff; }
.hv3-facts { display: grid; gap: 12px; margin-top: 20px; }
.hv3-facts li { padding: 18px; border-radius: 14px; background: #1f2847; border: 1px solid #2f3a60; }
.hv3-facts strong { display: block; color: #fff; font-size: 1rem; margin-bottom: 6px; }
.hv3-facts strong::before { content: "✓"; color: var(--hv3-accent); margin-right: 8px; }
.hv3-facts span { color: #c9cfe3; font-size: 0.93rem; line-height: 1.5; }
.hv3-facts-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 18px; }
.hv3-facts-links a { display: inline-flex; align-items: center; min-height: 40px; color: var(--hv3-accent); font-weight: 800; }

/* Price band */
.hv3-price { display: grid; gap: 16px; padding: 24px; border-radius: 22px; background: var(--hv3-card); border: 1px solid var(--hv3-line); }
.hv3-price p { margin-top: 10px; font-size: 1rem; line-height: 1.6; color: var(--hv3-muted); max-width: 44em; }
.hv3-price .hv3-small { font-size: 0.85rem; }
.hv3-price-actions { display: flex; flex-wrap: wrap; gap: 0 12px; align-items: center; }

/* FAQ */
.hv3-faq-wrap { display: grid; gap: 20px; }
.hv3-faq details { border-bottom: 1px solid var(--hv3-line); }
.hv3-faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; padding: 10px 0;
  font-weight: 800; font-size: 1.05rem; cursor: pointer; list-style: none;
}
.hv3-faq summary::-webkit-details-marker { display: none; }
.hv3-faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 600; color: var(--hv3-blue); flex: none; }
.hv3-faq details[open] summary::after { content: "−"; }
.hv3-faq details p { padding: 0 0 18px; font-size: 1rem; line-height: 1.65; color: var(--hv3-muted); max-width: 46em; }

/* Larger screens */
@media (min-width: 640px) {
  .hv3-access-list { grid-template-columns: repeat(3, 1fr); }
  .hv3-tools { grid-template-columns: repeat(2, 1fr); }
  .hv3-cats { grid-template-columns: repeat(2, 1fr); }
  .hv3-steps { grid-template-columns: repeat(3, 1fr); }
  .hv3-facts { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .hv3-hero { padding: 56px 0 48px; }
  .hv3-hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .hv3-tools { grid-template-columns: repeat(4, 1fr); }
  .hv3-cats { grid-template-columns: repeat(4, 1fr); }
  .hv3-facts { grid-template-columns: repeat(3, 1fr); }
  .hv3-price { grid-template-columns: 1fr auto; align-items: center; padding: 32px 36px; }
  .hv3-faq-wrap { grid-template-columns: 0.6fr 1.4fr; gap: 48px; }
  .hv3-section { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hv3-tool { transition: none; }
  .hv3-tool:hover { transform: none; }
}
