@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --bg: #090a09;
  --surface: #0e100f;
  --surface-hover: #141715;
  --line: #252925;
  --line-soft: #1a1e1a;
  --text: #f0f2ef;
  --muted: #9b9f9a;
  --quiet: #6d726c;
  --green: #32c768;
  --mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }

.site-header { height: 72px; width: min(1320px, calc(100% - 64px)); margin: auto; border-bottom: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; letter-spacing: -.03em; }
.brand-mark { width: 21px; height: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 2px; border: 1px solid #3a6847; border-radius: 8px 8px 6px 6px; background: #122018; }
.brand-mark i { display: block; width: 3px; height: 3px; border-radius: 50%; background: var(--green); }
.site-header nav { display: flex; align-items: center; gap: 34px; color: var(--muted); font-size: 13px; }
.site-header nav a { transition: color .15s ease; }
.site-header nav a:hover, .site-footer a:hover { color: var(--text); }
.site-header nav .nav-download { color: var(--text); padding: 9px 13px; border: 1px solid var(--line); border-radius: 4px; }
.nav-download span { margin-left: 7px; color: var(--green); }

.hero { padding-top: 82px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 0 0 16px; font-size: clamp(42px, 6vw, 72px); line-height: 1.02; letter-spacing: -.065em; font-weight: 500; text-wrap: balance; }
h1 span { color: #9ca19a; }
.hero-copy { max-width: 520px; margin-bottom: 25px; color: var(--muted); font-size: 16px; line-height: 1.7; text-wrap: pretty; }
.hero-actions { display: flex; gap: 10px; margin-bottom: 52px; }
.button { min-height: 42px; padding: 0 15px; display: inline-flex; align-items: center; gap: 22px; justify-content: center; border-radius: 4px; font-size: 13px; font-weight: 600; transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #080a08; background: #edf0ec; }
.button-primary:hover { background: #fff; }
.button span { color: var(--green); }
.button-primary span { color: #228b47; }

.product-window { position: relative; isolation: isolate; border: 1px solid #343a34; border-radius: 7px; overflow: hidden; background: #0b0c0b; box-shadow: 0 25px 80px #0008; }
.window-bar { height: 42px; padding: 0 14px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: #888d87; border-bottom: 1px solid var(--line); font: 10px var(--mono); }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 8px; height: 8px; border-radius: 50%; background: #383c38; }
.window-dots i:first-child { background: #ce6155; }.window-dots i:nth-child(2) { background: #c9a94c; }.window-dots i:nth-child(3) { background: #43a963; }
.window-divider { color: #454a44; padding: 0 7px; }
.window-state { justify-self: end; color: #a1a79f; font-size: 9px; letter-spacing: .05em; }
.window-state i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; margin-right: 6px; background: var(--green); vertical-align: 1px; }
.demo-pointer { position: absolute; z-index: 5; top: 15%; left: 25%; width: 20px; height: 27px; pointer-events: none; opacity: 0; filter: drop-shadow(0 1px 3px #000); animation: demo-pointer-tour 9s ease-in-out infinite; }
.demo-pointer svg { width: 100%; height: 100%; overflow: visible; }
.demo-pointer path { fill: #f2f4f0; stroke: #080a08; stroke-width: 1.5; stroke-linejoin: round; }
.demo-click-ring { position: absolute; z-index: 4; top: 40%; left: 19.5%; width: 28px; height: 28px; border: 1px solid #c8f4d2; border-radius: 50%; box-shadow: 0 0 0 4px #32c7682b; pointer-events: none; opacity: 0; animation: demo-click-tour 9s ease-out infinite; }
.product-window:hover .demo-pointer, .product-window:hover .demo-click-ring,
.product-window.is-engaged .demo-pointer, .product-window.is-engaged .demo-click-ring { animation-play-state: paused; opacity: 0; }
@keyframes demo-pointer-tour {
  0%, 8% { opacity: 0; transform: translate(18px, -10px) scale(.85); }
  14% { opacity: 1; transform: translate(0, 0) scale(1); }
  34% { opacity: 1; transform: translate(46px, 24px) scale(1); }
  61%, 68% { opacity: 1; transform: translate(-58px, 150px) scale(.92); }
  73% { opacity: 1; transform: translate(-58px, 150px) scale(1); }
  82%, 100% { opacity: 0; transform: translate(-58px, 150px) scale(1); }
}
@keyframes demo-click-tour {
  0%, 62%, 100% { opacity: 0; transform: scale(.45); }
  66% { opacity: .8; transform: scale(.75); }
  75% { opacity: 0; transform: scale(1.7); }
}
.demo-app { background: #080908; }
.app-tabs { height: 40px; display: flex; align-items: stretch; gap: 1px; padding: 0 11px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: thin; scrollbar-color: #333 transparent; }
.app-tab { position: relative; flex: 0 0 auto; padding: 0 10px; border: 0; background: transparent; color: #969b95; font: 9px var(--mono); letter-spacing: .035em; text-transform: uppercase; cursor: pointer; }
.app-tab small { margin-left: 7px; color: #777d76; font: inherit; font-size: 9px; }
.app-tab:hover { color: var(--text); }
.app-tab.is-active { color: var(--text); }
.app-tab.is-active::after { position: absolute; right: 8px; bottom: -1px; left: 8px; height: 2px; background: #e5e8e4; content: ""; }
.app-tab.is-active small { color: var(--text); }
.app-command { min-height: 48px; display: flex; align-items: stretch; margin: 10px 11px 0; border: 1px solid #292d29; border-radius: 4px; overflow: hidden; }
.app-url-label { flex: 1 1 auto; min-width: 120px; }
.app-command input { width: 100%; min-width: 0; height: 100%; padding: 0 10px; border: 0; outline: none; background: transparent; color: #e1e4df; font: 11px var(--sans); }
.app-command input:focus-visible { box-shadow: inset 0 0 0 1px #517c5d; }
.app-limit { flex: 0 0 92px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border-left: 1px solid var(--line); color: #9ca19b; font: 9px var(--mono); text-transform: uppercase; }
.app-limit input { width: 40px; padding: 0; color: #e5e8e4; font: 11px var(--mono); text-align: right; }
.app-limit.depth-limit { flex-basis: 82px; }
.app-limit.depth-limit input { width: 14px; }
.crawl-button { flex: 0 0 68px; margin: 0; border: 0; border-radius: 0; background: #e7eae6; color: #111310; font: 9px var(--mono); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.crawl-button:hover:not(:disabled) { background: #fff; }
.crawl-button:disabled { color: #6b706a; cursor: wait; }
.app-results { min-height: 280px; display: flex; align-items: stretch; margin-top: 8px; }
.app-results-main { flex: 1 1 auto; min-width: 0; }
.app-results-heading { min-height: 58px; padding: 9px 12px 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.app-overline { display: block; color: #9ba098; font: 9px var(--mono); letter-spacing: .055em; }
.app-result-count { display: block; margin-top: 5px; color: #a9aea7; font-size: 12px; }
.app-result-controls { display: flex; align-items: center; gap: 13px; flex: 0 0 auto; }
.detail-toggle { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 3px; background: transparent; color: #aab0a8; cursor: pointer; }
.detail-toggle:hover:not(:disabled), .detail-toggle[aria-expanded="true"] { border-color: #343a34; background: #131613; color: var(--text); }
.detail-toggle:disabled { color: #4c514b; cursor: default; }
.detail-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.25; }
.issues-filter { display: inline-flex; align-items: center; gap: 7px; color: #c7cbc5; font-size: 11px; white-space: nowrap; cursor: pointer; }
.issues-filter input { width: 13px; height: 13px; margin: 0; accent-color: var(--green); }
.app-table-clip { height: 330px; overflow: auto; border-top: 1px solid var(--line-soft); scrollbar-color: #363a35 #0a0b0a; scrollbar-width: thin; }
.app-table { width: 100%; min-width: 560px; border-collapse: collapse; table-layout: fixed; color: #d7dad5; font-size: 11px; }
.app-table th { height: 27px; padding: 0 9px; border-bottom: 1px solid var(--line); color: #929890; text-align: left; font: 9px var(--mono); }
.app-table th:first-child, .app-table td:first-child { padding-left: 12px; }
.app-table th:last-child, .app-table td:last-child { padding-right: 12px; }
.app-table th.col-status, .app-table th.col-words, .app-table th.col-count, .app-table th.col-length,
.app-table th.col-images, .app-table th.col-missingAlt, .app-table th.col-inbound, .app-table th.col-outbound { text-align: right; }
.sort-button { width: 100%; padding: 5px 0; border: 0; background: transparent; color: inherit; text-align: inherit; font: inherit; cursor: pointer; }
.sort-indicator { width: 0; height: 0; display: inline-block; margin-left: 5px; vertical-align: 2px; border-right: 3px solid transparent; border-bottom: 4px solid #cbd0c9; border-left: 3px solid transparent; }
.sort-indicator.descending { transform: rotate(180deg); }
.app-table td { height: 27px; padding: 0 9px; border-bottom: 1px solid #181b18; white-space: nowrap; }
.app-table td.col-status, .app-table td.col-indexable, .app-table td.col-words, .app-table td.col-length,
.app-table td.col-count, .app-table td.col-images, .app-table td.col-missingAlt, .app-table td.col-inbound, .app-table td.col-outbound { font-family: var(--mono); }
.app-table td.col-status, .app-table td.col-words, .app-table td.col-length, .app-table td.col-count,
.app-table td.col-images, .app-table td.col-missingAlt, .app-table td.col-inbound, .app-table td.col-outbound { text-align: right; }
.app-table td.cell-truncate { overflow: hidden; text-overflow: ellipsis; }
.app-table .result-row { cursor: pointer; outline: none; }
.app-table .result-row:hover { background: #121512; }
.app-table .result-row.is-selected { background: #1b1e1b; }
.app-table .result-row:focus-visible { box-shadow: inset 0 0 0 1px #70957b; }
.app-table td.cell-issue { color: #ec6b62; }
.table-empty { height: 90px !important; color: var(--muted); text-align: center; font-size: 12px; }
.page-details { flex: 0 0 300px; max-height: 416px; padding: 13px 14px; border-left: 1px solid var(--line); overflow: auto; scrollbar-color: #363a35 transparent; scrollbar-width: thin; }
.page-details[hidden] { display: none; }
.detail-heading { display: flex; justify-content: space-between; align-items: center; }
.detail-close { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 3px; background: transparent; color: #989e97; cursor: pointer; }
.detail-close:hover { border-color: var(--line); color: var(--text); }
.detail-close svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.25; }
.detail-url { margin-top: 4px; color: #c6cbc4; font: 10px/1.5 var(--mono); overflow-wrap: anywhere; }
.detail-actions { display: flex; gap: 6px; padding: 10px 0 12px; border-bottom: 1px solid var(--line); }
.detail-action { min-height: 27px; padding: 0 8px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid #303530; border-radius: 3px; background: #101210; color: #cbd0c8; font: 10px var(--sans); cursor: pointer; }
.detail-action:hover { background: #171a17; color: var(--text); }
.detail-action svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.detail-fields { margin: 0; }
.detail-field { min-width: 0; padding-top: 11px; }
.detail-field dt { color: #858b83; font: 8px var(--mono); letter-spacing: .055em; text-transform: uppercase; }
.detail-field dd { margin: 5px 0 0; color: #e1e4df; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.detail-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.app-status { min-height: 31px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); color: #aeb3ac; font: 9px var(--mono); }
.app-status span { display: flex; align-items: center; gap: 7px; }
.app-status i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.app-status b { font-weight: 400; }
.finds-section { padding-top: 126px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; }
.section-heading h2, .download-intro h2 { margin: 0 0 13px; font-size: clamp(30px, 3.5vw, 42px); line-height: 1.12; font-weight: 500; letter-spacing: -.045em; text-wrap: balance; }
.section-heading p, .download-intro p { color: var(--muted); line-height: 1.7; max-width: 360px; text-wrap: pretty; }
.finds-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.find-card { min-height: 150px; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(145deg, #0d0f0d, #0a0b0a); }
.find-number { color: var(--green); font: 10px var(--mono); }
.find-card h3 { margin: 18px 0 7px; font-size: 15px; font-weight: 500; letter-spacing: -.02em; }
.find-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.demo-section { padding-top: 88px; }
.demo-frame { position: relative; min-height: 320px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #0d0f0d; }
.demo-frame video { width: 100%; height: auto; max-height: 680px; display: block; aspect-ratio: 16 / 9; object-fit: contain; background: #080908; }

.download-section { padding: 130px 0 105px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.download-intro h2 { font-size: clamp(36px, 4vw, 50px); }
.download-intro p { margin-bottom: 24px; }
.package-link { color: #aeb4ac; font-size: 12px; border-bottom: 1px solid #454b44; padding-bottom: 4px; }
.package-link:hover { color: var(--text); border-color: var(--green); }
.package-link span { color: var(--green); margin-left: 4px; }
.download-list { border-top: 1px solid var(--line); }
.download-option { min-height: 76px; padding: 0 17px; display: flex; align-items: center; gap: 15px; border: 1px solid var(--line); border-top: 0; background: #0c0e0c; transition: background .15s ease, padding .15s ease; }
.download-option:hover { padding-inline: 21px 13px; background: var(--surface-hover); }
.platform-icon { width: 24px; height: 24px; display: grid; place-items: center; color: #e2e5e1; }
.platform-icon svg { width: 20px; height: 20px; fill: currentColor; }
.windows-icon { color: #80a993; }.linux-icon { color: #c3b487; }
.platform-name { display: flex; flex-direction: column; gap: 3px; }
.platform-name b { font-size: 14px; font-weight: 500; }
.platform-name small { color: var(--muted); font-size: 12px; }
.download-arrow { margin-left: auto; color: var(--green); font: 17px var(--mono); }
.download-note { grid-column: 2; margin: 13px 0 0; color: var(--quiet); font-size: 12px; }

.site-footer { min-height: 74px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: var(--quiet); font-size: 12px; }
.site-footer .brand { color: var(--text); font-size: 14px; }
.site-footer a:last-child span { color: var(--green); }

@media (max-width: 760px) {
  .wrap, .site-header { width: min(100% - 36px, 560px); }
  .site-header { height: 62px; }
  .site-header nav { gap: 14px; font-size: 12px; }
  .site-header nav a:first-child { display: none; }
  .site-header nav .nav-download { padding: 8px 10px; }
  .hero { padding-top: 61px; }
  h1 { font-size: clamp(43px, 11vw, 62px); }
  .hero-copy { font-size: 16px; }
  .hero-actions { margin-bottom: 35px; }
  .window-bar { grid-template-columns: auto 1fr auto; gap: 10px; }
  .window-state { font-size: 0; }.window-state i { width: 6px; height: 6px; margin: 0; }
  .app-tabs { padding-inline: 5px; }
  .app-tab { padding-inline: 8px; font-size: 8px; }
  .app-tab small { margin-left: 4px; font-size: 8px; }
  .app-command { min-height: 43px; margin: 8px 8px 0; }
  .app-url-label { min-width: 92px; }
  .app-command input { padding-inline: 7px; font-size: 10px; }
  .app-limit { flex-basis: 78px; gap: 5px; padding-inline: 7px; font-size: 8px; }
  .app-limit input { width: 36px; font-size: 10px; }
  .app-limit.depth-limit { flex-basis: 62px; }
  .crawl-button { flex-basis: 58px; font-size: 8px; }
  .app-results { flex-direction: column; }
  .app-results-heading { padding-inline: 9px; }
  .app-result-controls { gap: 8px; }
  .app-table-clip { height: 310px; }
  .page-details { flex-basis: auto; width: 100%; max-height: 300px; border-top: 1px solid var(--line); border-left: 0; }
  .app-status { padding-inline: 9px; font-size: 8px; }
  .finds-section, .download-section { padding-top: 85px; grid-template-columns: 1fr; gap: 28px; }
  .finds-grid { grid-template-columns: 1fr 1fr; }
  .find-card { min-height: 156px; padding: 15px; }
  .find-card h3 { font-size: 14px; }
  .find-card p { font-size: 12px; }
  .demo-section { padding-top: 64px; }
  .demo-frame { min-height: 0; }
  .demo-frame video { max-height: 430px; }
  .download-section { padding-bottom: 75px; }
  .download-note { grid-column: 1; margin: 0; }
  .site-footer { min-height: 84px; gap: 12px; flex-wrap: wrap; padding-block: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .demo-pointer, .demo-click-ring { display: none; }
}
