:root {
  --ink: #0e1311;
  --surface: #fff;
  --muted: #f5f7f6;
  --border: #e4e9e7;
  --brand: #00c52b;
  --brand-ink: #0b6b2e;
  --warn: #b26a00;
  --danger: #c62828;
  --info: #1565c0;
  --support: #4f5652;
  --radius: 16px;
  --field-radius: 12px;
  --pill: 999px;
  --shadow: 0 1px 2px #0000000f, 0 4px 16px #0000000f;
  --measure: 1120px;
  --white: var(--surface);
  --paper: var(--muted);
  --line: var(--border);
  --green: var(--brand);
  --green-text: var(--brand-ink);
}

.home-page, .search-page { color: var(--ink); background: var(--surface); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.home-page .wrap, .search-page .search-wrap { width: min(var(--measure), calc(100% - 32px)); }
.home-page :focus-visible, .search-page :focus-visible { outline: 3px solid var(--info); outline-offset: 3px; }
.home-page .dark :focus-visible { outline-color: #a6f0b3; }
.ui-icon { display: inline-block; flex: 0 0 auto; width: 1.2em; height: 1.2em; vertical-align: -.2em; pointer-events: none; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
summary > .ui-icon { margin-left: 8px; }
details[open] > summary > .ui-icon { transform: rotate(180deg); }
.home-page .muted, .search-page .search-status, .search-page .search-meta { color: var(--support); }
.home-page .dark .muted { color: #c9d2cc; }
.home-page .button, .search-button, .search-secondary { min-height: 44px; border-radius: var(--field-radius); }
.search-button { background: var(--brand); color: var(--ink); }
.search-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 4px; text-decoration: none; }
.search-page button.search-filter-chip, .search-page .search-filter-chip, .search-chip { border-radius: var(--pill); }
.home-page { scroll-margin-top: 88px; }
html { scroll-padding-top: 88px; }

.site-header, .search-header { position: sticky; top: 0; z-index: 10; background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: 0 1px 2px #0000000f; }
.home-page .nav { position: relative; flex-wrap: nowrap; gap: 8px; min-height: 64px; padding: 8px 0; }
.home-page .logo { width: 148px; }
.home-page .nav-links { margin-left: auto; flex-wrap: nowrap; }
.home-page .nav-check { white-space: nowrap; }
.menu-button { display: none; align-items: center; justify-content: center; order: 3; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--ink); }
.home-page .hero-grid { display: grid; max-width: var(--measure); align-items: center; gap: 24px; }
.home-page .section { padding-block: clamp(64px, 7vw, 96px); }
.photo-band { position: relative; isolation: isolate; background: linear-gradient(125deg, #0e1311 0%, #193f31 100%); color: var(--surface); }
:where(.home-page) .photo-band > :where(picture, img), :where(.home-page) .photo-band > picture > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.home-page .photo-band > :is(picture, img) { z-index: -2; }
.home-page .photo-band > picture > img, .home-page .photo-band > img { object-fit: cover; }
.photo-band::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: #0a0e0ca6; }
.home-page .hero { min-height: clamp(560px, 78vh, 720px); display: grid; align-items: center; padding-block: 96px 64px; }
.home-page .hero > picture > img { object-position: 70% center; }
.home-page .hero::before {
  background: linear-gradient(90deg, #0a0e0cf0 0%, #0a0e0cd9 33%, #0a0e0cb3 43%, transparent 53%);
}
.hero-copy { min-width: 0; max-width: min(560px, calc(45vw - max(16px, (100vw - var(--measure)) / 2))); }
.home-page .hero h1 { max-width: 20ch; font-size: clamp(2.45rem, 4.3vw, 3.5rem); line-height: 1.06; letter-spacing: -.055em; }
.home-page .hero h1 span { color: #a6f0b3; }
.home-page .hero .intro { margin-top: 16px; font-size: 1.125rem; }
.hero-intro-short { display: none; }
.home-page .hero .intro, .home-page .hero .hero-sources { color: #e7f0ea; }
.home-page .hero .eyebrow { margin-bottom: 8px; font-size: .875rem; }
.hero-search-card { margin-top: 16px; padding: 16px; background: rgba(18,22,20,.72); backdrop-filter: blur(12px); border: 1px solid #ffffff14; border-radius: 20px; box-shadow: var(--shadow); }
.hero-tabs { display: flex; gap: 16px; }
.hero-tabs button { min-height: 44px; border: 0; border-bottom: 2px solid transparent; padding: 0 2px; background: transparent; color: #d6e1db; font-size: .875rem; font-weight: 730; }
.hero-tabs button[aria-pressed="true"] { color: #a6f0b3; border-color: var(--brand); }
.home-page .hero-form { margin-top: 8px; gap: 8px; }
.hero-field { position: relative; }
.hero-field > span { position: absolute; color: var(--support); left: 16px; top: 50%; transform: translateY(-50%); }
.home-page .hero-field input { min-height: 52px; padding-left: 48px; color: var(--ink); border-radius: var(--field-radius); }
.home-page .hero-form .button { min-height: 52px; }
.home-page .hero-field input::placeholder { color: var(--support); }
.home-page .hero-examples a, .home-page .hero-examples button { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 12px; border-color: #ffffff38; background: #ffffff12; }
.home-page .hero .proof { margin-top: 16px; color: #e7f0ea; }
.hero-sources { margin-top: 8px; color: #c9d2cc; font-size: .875rem; }
.hero-preview { display: none; padding: 24px; border-radius: var(--radius); color: var(--ink); background: var(--surface); box-shadow: var(--shadow); }
.hero-preview-wrap { display: none; }
.hero-preview h2 { font-size: 1.5rem; }
.preview-label, .preview-basis { color: var(--support); font-size: .875rem; }
.preview-label { margin-bottom: 8px; }
.preview-price { font-size: 2rem; font-weight: 825; margin-block: 8px; letter-spacing: -.035em; }
.preview-range { border-top: 1px solid var(--border); margin-top: 16px; padding-top: 16px; }
.preview-values { display: flex; justify-content: space-between; gap: 8px; font-size: .875rem; font-weight: 720; }
.preview-basis { margin-top: 8px; }
.home-page .step, .home-page .plan, .home-page .panel, .home-page .receipt, .home-page .demo-shell { border-color: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.home-page .panel, .home-page .demo-shell { background: var(--surface); }
.home-page .light { background: var(--muted); }
.home-page .demo-title, .home-page .chat-header, .home-page .reset { color: var(--ink); }
.home-page .chat-header, .home-page .chat-body { background: #edf4ef; }
.home-page .reset:hover { background: #d8eadf; }
.home-page .chat-section summary, .home-page .price { color: var(--brand-ink); }
.home-page .faq details { border-color: #d4ddd7; }
.home-page .faq details p { color: var(--support); }
.home-page .comparison thead th, .home-page .pending, .home-page .receipt figcaption { color: var(--support); }
.home-page .guarantee { padding: 16px; background: #e0f5e6; border: 1px solid #b9dec5; color: var(--ink); }
.vehicle-types, .feature-grid { display: grid; gap: 16px; margin: 24px 0 0; padding: 0; list-style: none; }
.vehicle-types { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vehicle-types a, .feature-grid li { display: grid; gap: 8px; height: 100%; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 16px; background: var(--surface); box-shadow: var(--shadow); }
.vehicle-types a { place-content: center; text-align: center; color: var(--ink); font-weight: 700; text-decoration: none; }
.vehicle-types a:is(:hover, :active, :focus-visible) { border-color: var(--brand-ink); color: var(--brand-ink); background: #f4fbf6; }
.vehicle-type-icon { display: block; width: 92px; margin-inline: auto; color: var(--brand-ink); }
.vehicle-type-icon > svg, .home-page .similar-art > svg { width: 100%; height: auto; display: block; }
.feature-grid li { align-content: start; }
.verification-scope { max-width: 78ch; }
.home-page .steps { counter-reset: how; }
.home-page .step { position: relative; counter-increment: how; }
.home-page .step::after { content: counter(how); position: absolute; inset: 20px 20px auto auto; font-weight: 750; color: var(--support); }
.home-page .step .icon, .home-page .feature-grid .icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: var(--pill); background: #e2f7e8; color: var(--brand-ink); }
.safety-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 160px; padding: 24px clamp(20px, 4vw, 48px); overflow: hidden; border-radius: var(--radius); text-decoration: none; }
.safety-banner > img, .home-page .final > picture { left: auto; }
.safety-banner > img { width: min(42%, 350px); object-position: 75% 61%; }
.safety-banner::before { background: linear-gradient(90deg, #0e1311 56%, #0e131180 67%, transparent 77%); }
.safety-banner-copy { display: flex; align-items: center; gap: 16px; max-width: 56%; font-size: clamp(1.3rem, 3vw, 2rem); line-height: 1.2; }
.safety-banner-copy > span { color: #a6f0b3; }
.safety-banner > .ui-icon { width: 24px; height: 24px; align-self: end; padding: 4px; border-radius: 50%; background: var(--ink); }
.safety-banner:hover strong { text-decoration: underline; text-underline-offset: .16em; }
.public-checklist { padding-bottom: 8px; color: var(--support); }
.public-checklist ul { padding-left: 24px; }
.public-checklist li + li { margin-top: 8px; }
.home-page .final { background: var(--ink); color: var(--surface); }
.home-page .final > picture { width: min(44%, 480px); opacity: .24; }
.home-page .final > picture > img { object-position: right center; }
.home-page .final .wrap { position: relative; }
.home-page .final .wrap > * { max-width: 54%; }
.home-page .final a { color: #a6f0b3; }
.home-page .fipe-result article[data-level="above"] { border-left-color: var(--info); background: #e9f3ff; }
.home-page .quick button, .home-page .reset, .home-page .composer button { min-height: 44px; }

.search-page { background: var(--muted); }
.search-page main { padding: 0; }
.search-content { padding-block: 24px 48px; }
.search-brand { background: var(--surface); }
.search-brand .search-wrap { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 60px; }
.search-brand img { display: block; height: auto; width: min(155px, 38vw); }
.search-heading { padding-block: 28px; color: #fff; background: radial-gradient(600px 200px at 100% 0%, rgba(0,200,83,.12), transparent) #0e1311; }
.search-heading #mock-banner { margin-block-start: 10px; padding: 6px 12px; border-inline-start: 3px solid #e9bd63; background: #302c21; color: #ffe1a2; font-size: .875rem; font-weight: 650; }
.search-heading #result-summary { color: #e7f0ea; min-height: 1.55em; margin-top: 8px; }
.search-header { padding-bottom: 8px; }
.search-page .search-header .search-toolbar { display: block; min-height: auto; padding: 8px 0 0; }
.search-page .search-toolbar form { display: flex; gap: 8px; border: 0; padding: 0; margin: 0; background: none; }
.search-toolbar form > .search-field { position: relative; flex: 1 1 auto; }
.search-toolbar form > .search-field > .ui-icon { position: absolute; top: 50%; left: 12px; transform: translateY(-50%); color: var(--support); }
.search-page .search-toolbar form > .search-field input { padding-left: 40px; }
.search-page input:not([type="checkbox"]), .search-page select { border-radius: var(--field-radius); }
.search-filter-toolbar { min-width: 0; display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.search-page .search-chips { min-width: 0; display: flex; flex-wrap: nowrap; overflow: auto; gap: 8px; margin: 0; padding: 3px; align-items: center; flex: 1 1 auto; scrollbar-width: thin; }
.search-page .search-filter-chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; min-height: 36px; white-space: nowrap; border: 1px solid var(--border); background: var(--muted); color: var(--ink); cursor: pointer; }
.search-page a.search-filter-chip { color: var(--brand-ink); background: #e0f5e6; }
.search-filter-toolbar > button { flex: 0 0 auto; white-space: nowrap; color: var(--brand-ink); }
.search-page #search-edit { inset: 0 0 0 auto; width: min(480px, 100%); max-width: 100%; height: 100%; max-height: none; margin: 0; border: 0; padding: 24px; color: var(--ink); background: var(--surface); }
.search-page #search-edit::backdrop { background: #0f141280; }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.dialog-heading button { width: 44px; }
.search-summary { display: flex; flex-direction: column; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(16px, 3vw, 32px); box-shadow: var(--shadow); }
.search-page .search-summary .search-market, .search-page .search-summary .search-recent { margin: 0; }
.search-summary .search-market { border: 0; padding: 0; }
.search-summary .market-track { height: 8px; margin-block: 32px 16px; margin-inline: 10px; }
.search-summary .market-values { gap: 4px; }
.search-summary .market-values dt { color: var(--support); }
.search-summary .market-values dd { font-size: clamp(1rem, 3vw, 1.65rem); letter-spacing: -.04em; }
.search-summary .search-ref { margin: 0; background: var(--muted); }
.search-summary .version-suggestion { margin: 0; }
.version-suggestion { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; color: #134c83; font-size: .9rem; }
.platform-tabs { display: flex; gap: 8px; overflow: auto; max-width: 100%; padding: 4px; margin-top: 8px; }
.platform-tabs button { min-height: 44px; padding: 0 12px; white-space: nowrap; border: 1px solid var(--border); border-radius: var(--pill); background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; }
.platform-tabs button[aria-pressed="true"] { background: #e0f5e6; border-color: #badbc5; color: var(--brand-ink); font-weight: 750; }
.search-sort { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; margin-top: 12px; scroll-margin-top: 24px; }
.search-sort .sort-heading { flex: 0 0 auto; color: var(--support); font-size: .875rem; font-weight: 700; }
.sort-scroll { position: relative; min-width: 0; max-width: 100%; }
.sort-scroll.has-more::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 20px; background: linear-gradient(90deg, transparent, var(--muted)); pointer-events: none; }
.sort-chips { display: flex; gap: 8px; overflow-x: auto; padding: 6px 8px 6px 6px; scroll-padding-inline: 6px 20px; scrollbar-width: thin; }
.sort-chips button { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding-inline: 12px; white-space: nowrap; border: 1px solid var(--border); border-radius: var(--pill); background: var(--surface); color: var(--ink); font: inherit; font-size: .875rem; cursor: pointer; }
.sort-chips button[aria-checked="true"] { background: var(--brand); border-color: var(--brand); font-weight: 750; }
.sort-chips button[aria-disabled="true"] { color: var(--support); cursor: help; }
.search-sort .sort-help { position: absolute; z-index: 2; top: 100%; left: 0; max-width: min(100%, 300px); padding: 8px 12px; border-radius: var(--field-radius); background: var(--ink); color: var(--surface); font-size: .875rem; box-shadow: var(--shadow); }
.sort-first-label { padding: 2px 8px; border-radius: var(--pill); background: var(--muted); color: var(--support); font-size: .75rem; font-weight: 700; }
.search-page .sort-divider { grid-column: 1 / -1; align-self: center; border-bottom: 1px solid var(--border); padding-block: 4px 8px; color: var(--support); font-size: .875rem; font-weight: 700; }
.search-cards { grid-template-columns: minmax(0, 1fr); }
.search-card { width: 100%; grid-template-columns: minmax(0, 1fr); align-content: stretch; justify-items: stretch; gap: 0; overflow: hidden; padding: 0; border-color: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.search-card-content, .search-card .search-identity, .search-price-block { display: grid; align-content: start; gap: 8px; min-width: 0; justify-items: start; }
.search-card-content { padding: 16px; }
.home-page .similar-art { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; width: 100%; background: linear-gradient(145deg, var(--platform-tint, #e2f4eb), #f7fbf9); }
.home-page .similar-art.search-platform-olx { --platform-tint: #e9dcfb; }
.home-page .similar-art.search-platform-webmotors { --platform-tint: #f9dce3; }
.home-page .similar-art.search-platform-mercadolivre { --platform-tint: #fbecb4; }
.home-page .similar-art.search-platform-icarros { --platform-tint: #dce8ff; }
.home-page .similar-art.search-platform-mobiauto { --platform-tint: #d7eff9; }
.home-page .similar-art > svg { width: min(68%, 270px); margin-top: 26px; }
.home-page .similar-badges { position: absolute; inset: 8px 8px auto; display: flex; align-items: flex-start; justify-content: space-between; gap: 4px; }
.home-page .similar-badges .search-chip { font-size: .72rem; line-height: 1.27; padding: 5px 7px; }
.home-page .similar-badges .search-price-badge { max-width: 62%; text-align: center; }
.search-card h3, .search-card .search-snippet { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.search-card h3 { font-weight: 600; }
.search-card .search-snippet { color: var(--support); }
.search-facts { display: flex; flex-wrap: wrap; gap: 4px; }
.search-facts span { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; padding: 3px 8px; border-radius: var(--pill); background: var(--muted); }
.search-facts .ui-icon { color: var(--brand-ink); }
.search-card .search-actions { align-items: stretch; gap: 8px; }
.search-card .search-price { font-size: 1.5rem; font-weight: 700; line-height: 1.25; }
.search-card .search-price-link { font-size: .9rem; color: var(--support); }
.search-page .search-card-content { gap: 8px; padding: 14px; }
.listing-badges { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; width: 100%; font-size: .72rem; line-height: 1.25; }
.listing-source { display: inline-flex; align-items: center; gap: 5px; background: none; font-weight: 650; white-space: nowrap; }
.listing-source::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--dot, currentColor); }
.listing-source.search-platform-mercadolivre { --dot: #deb400; }
.listing-source.search-platform-olx { --dot: #7421be; }
.listing-source.search-platform-webmotors { --dot: #e01947; }
.listing-source.search-platform-icarros { --dot: #2056aa; }
.listing-source.search-platform-mobiauto { --dot: #187ca1; }
.listing-signals { display: flex; justify-content: flex-end; align-items: center; gap: 4px; text-align: center; }
.listing-signals > span { font-size: inherit; padding: 3px 5px; }
.listing-signals .sort-first-label { flex: none; }
.search-page .search-card .search-identity { gap: 5px; }
.search-page .search-card .search-price-block { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 7px; width: 100%; }
.listing-market-bar { position: relative; flex-basis: 100%; height: 4px; margin-block: 3px; background: var(--border); border-radius: var(--pill); }
.listing-market-bar::after { content: ""; position: absolute; left: clamp(0px, calc(var(--position) - 4px), calc(100% - 8px)); top: -2px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-ink); }
#origin-dialog { width: min(420px, calc(100% - 24px)); max-height: 85dvh; overflow-y: auto; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); color: var(--ink); }
#origin-dialog::backdrop { background: #0e131180; }
#origin-dialog[open], #origin-options, #region-city-list { display: grid; gap: 8px; }
#origin-dialog .search-button, #origin-clear { justify-self: start; }
#origin-options:empty, #origin-message:empty { display: none; }
#origin-options button { justify-content: start; }
#region-filters:has(fieldset:not([hidden]), details:not([hidden])) { margin-block: 12px; }
#region-filters legend { margin-bottom: 6px; }
#region-radius button[aria-pressed="true"] { background: var(--brand); color: var(--ink); border-color: var(--brand); }
#region-cities summary { cursor: pointer; font-weight: 650; }
#region-city-list { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-block: 8px; }
#region-city-list label { display: inline-flex; gap: 5px; align-items: center; min-height: 40px; }
.listing-location { display: flex; align-items: center; gap: 5px; font-size: .82rem; color: var(--support); }
.listing-inspection { font-size: .82rem; }
.search-page .search-version-note span { left: auto; right: 0; }
.search-card .search-availability { color: var(--support); }
.search-chip.search-above { color: #104d87; background: #e6f1ff; }
.search-version-note { display: inline-flex; position: relative; color: var(--info); cursor: help; }
.search-version-note span { display: none; position: absolute; left: 0; top: 100%; z-index: 1; width: max-content; max-width: 155px; padding: 4px 8px; color: var(--surface); background: var(--ink); border-radius: 6px; }
.search-version-note:hover span, .search-version-note:focus span { display: block; }
.other-results { margin-top: 16px; padding: 12px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.other-results summary { cursor: pointer; font-weight: 750; }
.search-footer { background: var(--ink); color: var(--surface); }
.search-page .search-footer a { color: #a6f0b3; }
.search-footer .search-wrap { display: flex; gap: 8px 16px; flex-wrap: wrap; align-items: center; }
.search-footer .search-wrap p { font-size: .875rem; color: #c9d2cc; }
.search-skeleton > div { min-height: 220px; align-content: end; border-color: var(--border); border-radius: var(--radius); }
.search-skeleton span { background: linear-gradient(90deg, #e4ebe7 28%, #f6f9f7 50%, #e4ebe7 72%); background-size: 240% 100%; animation: skeleton-shimmer 1.45s ease-in-out infinite; }
@keyframes skeleton-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.home-page :is(a, button), .search-page :is(a, button, .search-card) { transition: color 180ms, background-color 180ms, border-color 180ms, box-shadow 180ms, transform 180ms; }

@media (max-width: 919px) {
  .vehicle-types { grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (width < 920px) {
  .home-page .hero {
    min-height: auto;
    padding-block: clamp(180px, 28vh, 260px) 48px;
    background: var(--ink);
  }
  .home-page .hero > picture > img {
    height: clamp(230px, 36vw, 290px);
    object-position: center 70%;
    mask-image: linear-gradient(#000 92%, transparent);
  }
  .home-page .hero::before {
    background: linear-gradient(180deg, rgba(10,14,12,.10) 0%, rgba(10,14,12,.55) 22%, rgba(10,14,12,.92) 40%, #0e1311 58%);
  }
  .hero-copy { max-width: 620px; }
  .home-page .hero h1 { font-size: 40px; line-height: 1.08; }
}
@media (min-width: 768px) {
  .search-page .search-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .search-sort { align-items: stretch; flex-direction: column; }
  .sort-chips { padding-inline-end: 20px; }
  .home-page .section:not(.hero) { padding-block: 48px; }
  .search-heading { padding-block: 20px; }
  .search-heading h1 { font-size: clamp(1.55rem, 5.8vw, 2.4rem); }
  .safety-banner { min-height: 132px; }
}
@media (hover: hover) and (pointer: fine) {
  .search-card:hover { transform: translateY(-2px); box-shadow: 0 3px 5px #00000012, 0 12px 24px #00000014; }
}
@media (prefers-reduced-motion: reduce) {
  .search-skeleton span { animation: none; }
  .home-page :is(a, button), .search-page :is(a, button, .search-card) { transition: none; }
  .search-card:hover { transform: none; }
}

@media (max-width: 719px) {
  .home-page .hero { padding-block-start: clamp(150px, 26vh, 210px); }
  .home-page .hero > picture > img {
    height: clamp(210px, 60vw, 300px);
    object-position: center 25%;
  }
  .home-page .hero h1 { font-size: clamp(30px, 8.5vw, 38px); }
  .home-page .hero .intro { margin-top: 8px; font-size: .875rem; line-height: 1.5; }
  .hero-intro { display: none; }
  .hero-intro-short { display: block; }
  .search-page #search-edit { inset: auto 0 0; max-height: 90dvh; height: auto; width: 100%; padding: 16px; border-radius: 16px 16px 0 0; }
  .search-page .search-filter-chip { min-height: 44px; }
}
@media (width < 920px) {
  .home-page .nav > a:first-child { margin-right: auto; }
  .home-page .nav .logo { width: 127px; }
  .home-page .nav .nav-check { font-size: .8rem; padding-inline: 8px; }
  .menu-button { display: inline-flex; }
  .home-page .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 0 0 12px 12px; box-shadow: var(--shadow); }
  .home-page #home-menu[aria-expanded="true"] + .nav-links { display: grid; width: auto; grid-template-columns: 1fr; }
  .home-page .nav-links a { display: flex; align-items: center; min-height: 44px; padding-inline: 8px; }
}
@media (max-width: 719px) and (max-height: 700px) {
  .home-page .hero-copy { padding-top: 24px; }
}
@media (min-width: 920px) {
  .home-page .hero-examples { margin-top: 8px; }
  .home-page .hero-examples a, .home-page .hero-examples button { min-height: 36px; }
  .home-page .hero-preview-wrap { display: block; padding-top: 24px; }
  .home-page .hero-preview { display: block; }
  .home-page .search-card { grid-template-columns: 208px minmax(0, 1fr); align-items: center; }
  .home-page .similar-art { align-self: start; margin: 8px; width: calc(100% - 8px); border-radius: var(--field-radius); }
  .home-page .search-card-content { grid-template-columns: minmax(0, 1fr) auto; align-items: start; column-gap: 20px; }
  .home-page .search-card .search-price-block { justify-items: end; text-align: right; }
  .home-page .search-card .search-availability { align-self: center; text-align: right; justify-self: end; }
  .search-skeleton > div { min-height: 138px; }
}
