:root {
  color-scheme: light;
  --canvas: #f7f7f3;
  --paper: #fff;
  --ink: #162342;
  --navy: #172c65;
  --blue: #2346a6;
  --yellow: #ffda54;
  --muted: #556178;
  --line: #e0e3e9;
  --soft-blue: #edf2ff;
  --width: 1264px;
  --gutter: clamp(18px, 4vw, 64px);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 26px; }
body { margin: 0; min-width: 0; }
body:has(dialog[open]) { overflow: hidden; }
body.has-comparison { padding-bottom: 106px; }
button, input, select { font: inherit; color: inherit; }
button, select { cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, select:focus-visible, [tabindex="0"]:focus-visible {
  outline: 3px solid #496de0;
  outline-offset: 3px;
}
h1, h2, h3, p, dl, dd { margin: 0; }
img { max-width: 100%; display: block; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.symbol-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: absolute; top: 12px; left: 12px; z-index: 8; padding: 12px 16px; color: white; background: var(--navy); border-radius: 8px; }
.shell { width: min(var(--width), calc(100% - 2 * var(--gutter))); margin-inline: auto; }

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 70px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; justify-self: start; font-size: 20px; font-weight: 760; letter-spacing: -.035em; white-space: nowrap; }
.brand img { flex: none; }
.main-nav { display: flex; height: 100%; align-items: stretch; gap: 32px; }
.main-nav a { position: relative; display: flex; align-items: center; font-size: 14px; font-weight: 650; color: var(--muted); white-space: nowrap; }
.main-nav a:hover, .main-nav a:first-child { color: var(--blue); }
.main-nav a:first-child::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: var(--blue); border-radius: 2px 2px 0 0; }
.saved-toggle { justify-self: end; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); font-size: 13px; font-weight: 650; white-space: nowrap; }
.saved-toggle:hover, .saved-toggle[aria-pressed="true"] { color: var(--blue); border-color: #c5d1f6; background: var(--soft-blue); }
.saved-toggle > .icon { font-size: 16px; }
.saved-count { color: var(--blue); font-variant-numeric: tabular-nums; font-weight: 740; }
.saved-count:empty { display: none; }

.hero { display: grid; grid-template-columns: 53% 47%; min-height: 376px; margin-top: 30px; border-radius: 24px; background: #152956; color: #fff; overflow: hidden; box-shadow: 0 14px 32px rgb(21 41 86 / .09); }
.hero-content { position: relative; z-index: 1; align-self: center; padding: clamp(38px, 5.4vw, 72px) 20px clamp(38px, 5.4vw, 72px) clamp(30px, 5.2vw, 77px); }
.hero h1 { font-size: clamp(36px, 4.55vw, 65px); line-height: 1.15; font-weight: 770; letter-spacing: -.065em; }
.hero h1 span { color: var(--yellow); }
.hero p { margin-top: 19px; max-width: 29em; font-size: clamp(14px, 1.35vw, 17px); line-height: 1.65; color: #e0e9ff; }
.hero-image { position: relative; min-height: 0; }
.hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 51% 52%; }
.hero-image::after { position: absolute; inset: 0; content: ""; pointer-events: none; background: linear-gradient(90deg, #152956 0%, rgb(21 41 86 / .14) 21%, transparent 42%); }
.button { min-height: 43px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 10px; font-size: 14px; font-weight: 720; line-height: 1.35; white-space: nowrap; }
.button-yellow { color: #17244a; background: var(--yellow); }
.button-yellow:hover { background: #ffe784; }
.button-yellow:disabled { color: #62605a; background: #e4e1d5; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 19px; margin-top: 26px; }
.hero-action { min-height: 48px; padding-inline: 19px; }
.hero-action .icon { font-size: 16px; }
.hero-secondary { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; color: #edf2ff; font-size: 14px; font-weight: 700; }
.hero-secondary:hover { color: var(--yellow); }
.hero-action:focus-visible, .hero-secondary:focus-visible, .compare-tray button:focus-visible { outline-color: #ffea9e; }

.directory, .news { margin-top: 48px; }
.directory { padding-top: 33px; border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; gap: 27px; align-items: center; margin-bottom: 24px; }
.section-heading h2, .method h2 { font-size: clamp(26px, 3.1vw, 39px); line-height: 1.16; font-weight: 760; letter-spacing: -.055em; }
.section-heading p, .method-intro p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.search-box { width: min(100%, 380px); display: flex; gap: 10px; align-items: center; min-height: 48px; padding: 0 13px; border: 1px solid #d7dce5; border-radius: 11px; background: var(--paper); }
.search-box:focus-within { border-color: #6b86da; box-shadow: 0 0 0 3px #e6ecff; }
.search-box > .icon { color: #45577d; font-size: 17px; }
.search-box input { flex: 1; min-width: 0; padding: 12px 0; border: 0; border-radius: 0; outline: none; background: transparent; font-size: 15px; }
.search-box input::placeholder { color: #5a667e; opacity: 1; }
.search-box kbd { min-width: 36px; padding: 2px 4px; border: 1px solid #e2e5ed; border-radius: 5px; color: #566178; background: #f8f9fb; text-align: center; white-space: nowrap; font: inherit; font-size: 11px; line-height: 1.5; }

.news-heading { align-items: end; margin-bottom: 15px; }
.news-heading .editorial-date { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 1px; color: var(--muted); font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.editorial-date .icon { color: var(--blue); }
.news-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-bottom: 13px; }
.news-filters button { min-height: 38px; padding: 0 13px; border: 1px solid #dadfe8; border-radius: 8px; color: #405171; background: #fff; font-size: 13px; font-weight: 690; }
.news-filters button:hover { border-color: #a6b7e4; color: var(--blue); }
.news-filters button[aria-pressed="true"] { border-color: #142852; color: #fff; background: #142852; }
.news-grid.has-lead { display: grid; grid-template-columns: minmax(285px, .74fr) minmax(0, 1.38fr); align-items: stretch; gap: 13px; }
.news-lead { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: clamp(21px, 3.2vw, 33px); border: 1px solid #e8dba4; border-radius: 15px; background: radial-gradient(ellipse at 4% 0%, #ffedac, transparent 71%), #fff8de; }
.news-lead-top { display: flex; width: 100%; justify-content: space-between; align-items: flex-start; gap: 7px; margin-bottom: 19px; }
.news-lead-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; color: #fff5cb; background: #152956; font-size: 22px; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 8px; color: #52637e; font-size: 12px; font-weight: 670; line-height: 1.5; }
.news-meta > :first-child { color: #354e83; }
.news-meta time { font-variant-numeric: tabular-nums; }
.news-lead h3 { margin-top: 7px; font-size: clamp(22px, 2.65vw, 34px); font-weight: 770; line-height: 1.22; letter-spacing: -.045em; }
.news-title-button { padding: 0; border: 0; color: inherit; background: none; text-align: left; font: inherit; }
.news-title-button:hover, .news-row h3 a:hover { color: var(--blue); }
.news-lead-summary { margin: 10px 0 16px; color: #3d4c6b; font-size: 14px; line-height: 1.64; }
.news-lead-audience { margin-top: auto; color: #45516a; font-size: 12px; line-height: 1.55; }
.news-lead-action { margin-top: 9px; }
.news-list { min-width: 0; border: 1px solid #dde1ea; border-radius: 15px; background: #fff; overflow: hidden; }
.news-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 12px clamp(13px, 2vw, 20px); }
.news-row + .news-row { border-top: 1px solid #e8eaf0; }
.news-row:hover, .news-row:focus-within { background: #f9faff; }
.news-row h3 { margin: 3px 0 4px; font-size: 16px; font-weight: 760; line-height: 1.35; overflow-wrap: anywhere; }
.news-row-info { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 8px; color: #515e76; font-size: 12px; line-height: 1.5; }
.news-row-info span + span { font-weight: 650; }
.news-row-end { display: flex; align-items: center; gap: 6px; }
.news-status { flex: none; display: inline-flex; align-items: center; min-height: 23px; padding: 1px 6px; border-radius: 5px; font-size: 11px; line-height: 1.3; font-weight: 720; white-space: nowrap; }
.news-status-open { color: #225445; background: #e8f4ed; }
.news-status-upcoming { color: #513a19; background: #ffeeba; }
.news-status-closed { color: #525c70; background: #eceef3; }
.news-arrow { width: 35px; height: 35px; color: #3a5492; font-size: 16px; }
.news-archive { margin-top: 12px; color: var(--muted); font-size: 13px; }
.news-archive summary { width: fit-content; padding: 8px 5px; cursor: pointer; }
.news-archive .news-list { margin-top: 6px; color: var(--ink); }
.news-empty { padding: 17px; border: 1px dashed #d3d9e7; border-radius: 12px; color: var(--muted); background: #fff; font-size: 14px; }
.news-empty a, .live-heading a { color: var(--blue); font-weight: 650; text-decoration: underline; text-underline-offset: 2px; }
.live-heading { display: flex; justify-content: space-between; align-items: center; gap: 4px 15px; flex-wrap: wrap; padding: 3px 0 10px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.live-sources { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.live-source { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; padding: 5px 8px; border: 1px solid #dbe2f1; border-radius: 7px; color: var(--blue); background: #f1f5ff; font-size: 12px; line-height: 1.6; }
.live-source:hover { border-color: #99afe3; }
.live-source span { color: var(--muted); font-variant-numeric: tabular-nums; }
.live-news .news-empty { border: 0; }
.live-news [aria-busy="true"] { min-height: 86px; }
.news-detail-action { margin-top: 19px; }

.controls { display: grid; gap: 13px; }
.categories, .filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.category { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 15px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); font-size: 14px; font-weight: 680; }
.category .icon { font-size: 16px; }
.category:hover { color: var(--blue); border-color: #a9bbed; }
.category[aria-pressed="true"] { color: white; border-color: var(--navy); background: var(--navy); }
.select-wrap, .sort-wrap { display: inline-flex; align-items: center; position: relative; min-height: 38px; border-radius: 8px; color: #435169; font-size: 13px; white-space: nowrap; }
.select-wrap { border: 1px solid var(--line); background: var(--paper); }
.select-wrap:focus-within { border-color: #7d95df; }
.select-wrap > span { padding-left: 10px; }
.select-wrap select, .sort-wrap select { appearance: none; position: relative; z-index: 1; min-height: 36px; max-width: 100%; border: 0; background: transparent; padding: 0 25px 0 7px; color: var(--ink); font-weight: 660; border-radius: 8px; }
.select-wrap .icon, .sort-wrap .icon { position: absolute; right: 7px; pointer-events: none; }
.reset-link { min-height: 38px; color: var(--blue); background: transparent; border: 0; padding: 0 8px; border-radius: 6px; font-size: 13px; font-weight: 650; }
.reset-link:hover { text-decoration: underline; }
.results-toolbar { display: flex; align-items: center; column-gap: 14px; row-gap: 4px; padding: 13px 0 10px; font-size: 13px; }
#result-count { color: var(--ink); font-weight: 690; }
.estimate-note { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #aab2c4; }
.estimate-note:hover { color: var(--blue); }
.sort-wrap { margin-left: auto; min-height: 32px; }
.sort-wrap select { min-height: 32px; }

.opportunity-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 15px; }
.card { display: flex; flex-direction: column; min-width: 0; padding: 19px 19px 0; border: 1px solid #dadfe8; border-radius: 15px; background: var(--paper); box-shadow: 0 2px 4px rgb(30 42 64 / .025); transition: border-color .16s, box-shadow .16s; }
.card:hover, .card:focus-within { border-color: #9bafe9; box-shadow: 0 8px 22px rgb(31 55 111 / .075); }
.card-top { display: flex; align-items: center; gap: 6px; }
.category-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 10px; font-size: 21px; }
.tone-creation { background: #fff0bd; color: #684818; }
.tone-freelance { background: #e6eeff; color: #254dab; }
.tone-product { background: #e6f2e8; color: #285b3d; }
.tone-technical { background: #edeaff; color: #514294; }
.evidence { inline-size: fit-content; display: inline-flex; min-height: 25px; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 6px; color: #225445; background: #eaf5ef; font-size: 11px; font-weight: 690; white-space: nowrap; }
.evidence-entry { color: #304981; background: #edf1fb; }
.evidence .icon { font-size: 12px; }
.card-top .evidence { margin-left: auto; }
.icon-button { width: 38px; height: 38px; flex: none; display: inline-grid; place-items: center; border-radius: 8px; border: 1px solid transparent; background: transparent; color: #4e5e79; font-size: 18px; }
.icon-button:hover { background: #f0f4ff; border-color: #e4eafa; color: var(--blue); }
.bookmark[aria-pressed="true"] { color: var(--navy); background: #fff6d6; }
.bookmark[aria-pressed="true"] .icon { fill: var(--yellow); }
.card-meta { margin-top: 13px; color: var(--muted); font-size: 12px; line-height: 1.5; font-weight: 630; }
.card h3 { margin-top: 4px; font-size: 21px; line-height: 1.35; font-weight: 760; letter-spacing: -.035em; overflow-wrap: anywhere; }
.card-title { border: 0; background: transparent; padding: 0; text-align: left; font: inherit; }
.card-title:hover { color: var(--blue); }
.card-summary { margin: 7px 0 14px; color: #4d5a70; font-size: 13px; line-height: 1.65; }
.metrics { display: grid; grid-template-columns: 1fr .9fr 1.15fr; gap: 9px; padding: 10px; border-radius: 9px; background: #f5f6f9; line-height: 1.45; }
.card .metrics { margin-top: auto; }
.metrics div { min-width: 0; }
.metrics dt { font-size: 11px; color: #596580; }
.metrics dd { margin-top: 3px; color: var(--ink); font-size: 12px; font-weight: 730; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.card-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 50px; margin-top: 8px; }
.text-button { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 0 3px; border-radius: 6px; border: 0; background: transparent; color: var(--blue); font-size: 13px; font-weight: 710; white-space: nowrap; }
.text-button:hover { text-decoration: underline; text-underline-offset: 3px; }
.compare-toggle { padding-inline: 8px; color: #4a5770; }
.compare-toggle[aria-pressed="true"] { color: var(--blue); background: var(--soft-blue); }
.empty-state { grid-column: 1/-1; min-height: 194px; text-align: center; background: var(--paper); border: 1px dashed #bec8de; border-radius: 14px; padding: 35px 17px; }
.empty-state > .icon { font-size: 23px; color: var(--blue); }
.empty-state h3 { margin-top: 8px; font-size: 18px; }
.empty-state p { margin: 6px 0; font-size: 14px; color: var(--muted); }

.method { display: grid; grid-template-columns: .9fr 1.5fr; gap: 34px; align-items: start; padding: clamp(24px, 4vw, 45px); margin-top: 46px; border-radius: 18px; background: #eaf0ff; }
.method-icon { display: grid; place-items: center; width: 43px; height: 43px; margin-bottom: 13px; color: var(--navy); background: var(--yellow); border-radius: 10px; font-size: 22px; }
.method h2 { font-size: clamp(25px, 3.2vw, 34px); }
.method-list { display: grid; gap: 0; }
.method-list > div { display: grid; grid-template-columns: 80px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid #cbd7f2; font-size: 14px; line-height: 1.65; }
.method-list > div:first-child { padding-top: 0; }
.method-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.method-list dt { font-weight: 740; }
.method-list dd { color: #3d4f72; }
.site-footer { margin-top: 42px; border-top: 1px solid var(--line); }
.footer-inner { min-height: 75px; display: flex; gap: 20px; align-items: center; justify-content: space-between; color: var(--muted); font-size: 13px; }
.footer-brand { font-size: 16px; color: var(--ink); }
.footer-inner > a:last-child { display: inline-flex; gap: 5px; align-items: center; white-space: nowrap; }
.footer-inner > a:last-child .icon { transform: rotate(180deg); }
.footer-inner > a:last-child:hover { color: var(--blue); }

.compare-tray { position: fixed; z-index: 3; left: 50%; bottom: 15px; transform: translateX(-50%); width: min(920px, calc(100% - 28px)); border-radius: 14px; background: #172956; color: white; box-shadow: 0 10px 45px #1623424d; }
.tray-inner { display: grid; align-items: center; grid-template-columns: auto 1fr auto; gap: 15px; padding: 12px 14px; min-height: 66px; }
.tray-heading, .tray-actions, .compare-items { display: flex; align-items: center; gap: 8px; }
.tray-heading { white-space: nowrap; font-size: 14px; }
.tray-heading .icon { color: var(--yellow); font-size: 18px; }
.compare-items { flex-wrap: wrap; min-width: 0; gap: 5px; }
.compare-item { display: inline-flex; align-items: center; gap: 4px; min-width: 0; min-height: 30px; padding: 0 4px 0 8px; border: 1px solid #536388; border-radius: 7px; background: #263a68; font-size: 12px; }
.compare-item button, .tray-clear { min-width: 28px; min-height: 28px; display: inline-grid; place-items: center; border: 0; border-radius: 6px; background: transparent; color: white; }
.compare-item button:hover, .tray-clear:hover { background: #435787; }
.tray-clear { padding-inline: 6px; white-space: nowrap; font-size: 13px; }
.tray-actions .button { min-height: 38px; padding-inline: 12px; }
.toast:not(:empty) { position: fixed; z-index: 4; left: 50%; bottom: 91px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 30px); padding: 10px 14px; border-radius: 8px; background: #142347; color: white; box-shadow: 0 4px 18px #16234240; font-size: 13px; }

.dialog { --dialog-width: 680px; position: fixed; width: min(var(--dialog-width), calc(100% - 34px)); max-height: min(88vh, 860px); max-height: min(88dvh, 860px); padding: 0; border: 1px solid #e2e6ee; border-radius: 18px; background: var(--paper); color: var(--ink); box-shadow: 0 25px 80px rgb(14 26 61 / .24); overflow: auto; overscroll-behavior: contain; }
.dialog::backdrop { background: rgb(12 23 48 / .55); backdrop-filter: blur(3px); }
.dialog-surface { position: relative; padding: clamp(19px, 4vw, 31px); }
.dialog-close { position: absolute; top: 13px; right: 13px; }
.dialog-close .icon-button { background: #f4f6fa; }
.dialog-heading { padding-right: 38px; }
.dialog-heading h2 { margin-top: 5px; font-size: clamp(24px, 3.7vw, 33px); line-height: 1.23; letter-spacing: -.045em; overflow-wrap: anywhere; }
.dialog-heading p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.dialog-heading .card-meta { margin-top: 0; }
.dialog-evidence { margin-top: 15px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; color: var(--muted); font-size: 12px; }
.dialog .metrics { margin-top: 17px; padding: 12px; }
.dialog-section { margin-top: 21px; }
.dialog-section h3 { margin-bottom: 7px; font-size: 16px; font-weight: 740; }
.dialog-section p, .dialog-section ol { color: #45516a; font-size: 14px; line-height: 1.7; }
.dialog-section ol { margin: 0; padding-left: 22px; }
.dialog-section li + li { margin-top: 4px; }
.detail-facts { display: grid; gap: 10px; margin-top: 16px; }
.detail-facts div { display: grid; grid-template-columns: 72px 1fr; gap: 8px; font-size: 14px; line-height: 1.65; }
.detail-facts dt { font-weight: 710; }
.detail-facts dd { color: #45516a; }
.source-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.source-list li { margin: 0; padding: 11px 12px; border-radius: 9px; border: 1px solid var(--line); }
.source-list a, .compare-table a { display: inline-flex; align-items: center; gap: 5px; min-height: 28px; color: var(--blue); font-size: 13px; font-weight: 730; text-decoration: underline; text-underline-offset: 3px; }
.source-list p { font-size: 13px; }
.compare-dialog { --dialog-width: 1020px; }
.table-scroll { overflow-x: auto; margin-top: 18px; border: 1px solid var(--line); border-radius: 11px; }
.compare-table { width: 100%; border-spacing: 0; font-size: 13px; line-height: 1.65; }
.compare-table th, .compare-table td { min-width: 160px; padding: 10px 11px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); text-align: start; vertical-align: top; }
.compare-table thead th { background: var(--soft-blue); color: var(--ink); }
.compare-table th:first-child { min-width: 86px; background: #f5f7fc; }
.compare-table td { color: #45516a; }
.compare-table tr > :last-child { border-right: 0; }
.compare-table tbody tr:last-child > * { border-bottom: 0; }

@media (max-width: 1020px) {
  .opportunity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-content { padding-left: clamp(24px, 4.3vw, 48px); }
}
@media (max-width: 720px) {
  .header-inner { min-height: 62px; gap: 12px; }
  .brand { font-size: 18px; gap: 7px; }
  .brand img { width: 34px; height: 34px; }
  .main-nav { gap: 14px; }
  .main-nav a { font-size: 13px; }
  .saved-toggle { min-height: 39px; padding-inline: 9px; gap: 4px; }
  .hero { min-height: 300px; margin-top: 18px; border-radius: 17px; }
  .hero p { max-width: 23em; }
  .directory, .news { margin-top: 36px; }
  .directory { padding-top: 26px; }
  .section-heading { align-items: flex-start; gap: 16px; flex-direction: column; margin-bottom: 17px; }
  .search-box { width: 100%; }
  .search-box kbd { display: none; }
  .method { grid-template-columns: 1fr; gap: 18px; }
  .news-heading { gap: 7px; margin-bottom: 13px; }
  .news-grid.has-lead { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .news-lead-top { margin-bottom: 12px; }
}
@media (max-width: 540px) {
  body.has-comparison { padding-bottom: 147px; }
  .header-inner { min-height: 60px; grid-template-columns: 1fr auto; gap: 8px; }
  .main-nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-content { padding: 28px 22px 23px; }
  .hero h1 { font-size: clamp(32px, 9.1vw, 46px); }
  .hero p { margin-top: 12px; font-size: 14px; }
  .hero-actions { margin-top: 16px; gap: 4px 12px; }
  .hero-action { min-height: 43px; padding-inline: 11px; font-size: 13px; }
  .hero-secondary { font-size: 12px; }
  .hero-image { height: clamp(150px, 43vw, 205px); }
  .hero-image img { object-position: 50% 59%; }
  .hero-image::after { background: linear-gradient(#152956, transparent 40%); }
  .category { min-height: 40px; padding: 0 10px; gap: 5px; font-size: 13px; }
  .category .icon { font-size: 15px; }
  .filters { gap: 6px; }
  .select-wrap { flex: 1 1 calc(50% - 6px); min-width: 0; justify-content: space-between; }
  .select-wrap > span { padding-left: 7px; }
  .select-wrap select { min-width: 0; max-width: 70%; text-overflow: ellipsis; padding-left: 4px; }
  .opportunity-grid { grid-template-columns: 1fr; gap: 11px; }
  .card { padding: 15px 15px 0; }
  .card h3 { font-size: 20px; }
  .results-toolbar { flex-wrap: wrap; justify-content: space-between; column-gap: 7px; font-size: 12px; }
  .sort-wrap { font-size: 12px; margin-left: 0; }
  .estimate-note { order: 3; flex-basis: 100%; }
  .method { margin-top: 34px; }
  .site-footer { margin-top: 30px; }
  .footer-inner { min-height: 0; padding: 15px 0; gap: 9px 15px; flex-wrap: wrap; font-size: 12px; }
  .footer-inner span:nth-child(2) { order: 3; flex-basis: 100%; }
  .footer-brand { font-size: 15px; }
  .footer-brand img { width: 28px; height: 28px; }
  .tray-inner { grid-template-columns: 1fr auto; gap: 6px 8px; padding: 9px; }
  .tray-heading { font-size: 13px; }
  .compare-items { grid-row: 2; grid-column: 1/-1; }
  .compare-item { font-size: 11px; }
  .tray-actions .button { padding-inline: 8px; min-height: 34px; font-size: 12px; }
  .toast:not(:empty) { bottom: 140px; }
  .detail-facts div { grid-template-columns: 68px 1fr; }
  .news-filters { gap: 5px; }
  .news-filters button { min-height: 38px; padding-inline: 8px; font-size: 12px; }
  .news-row-end { flex-direction: column; align-items: flex-end; gap: 2px; }
  .news-row-end .news-arrow { width: 32px; height: 32px; }
  .news-row h3 { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
