/* vinoPilot landing: the vinoWhisper landing's README-style layout, for the whole family.
   Six pages share this one file: /, /apps/, /npu/, /windows/, /devices/ and /faq/. */

/* Inter (SIL OFL 1.1, assets/fonts/LICENSE.txt), self-hosted: one variable file, latin subset, 400-700.
   Same file and unicode-range Google Fonts served; no third-party requests. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #fcfcfc;
  --text: #1c1d20;
  --muted: #5d6068;
  --rule: #e2e3e6;
  --rule-strong: #c9cbd0;
  --surface: #ffffff;
  --code-bg: #eef0f2;
  --link: #1a7040;
  --green: #56cc78;
  --ink: #0e0e10;
  --paper: #fafafa;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Cantarell, "Noto Sans", sans-serif;
  --mono: ui-monospace, "JetBrains Mono", "DejaVu Sans Mono", Menlo, Consolas, monospace;
  /* The content column: --content wide, with a gutter that grows with the viewport.
     1200px on a laptop, 1320px on a big monitor, the full width minus gutters on anything smaller. */
  --content: 1200px;
  --gutter: clamp(20px, 4vw, 56px);
  --head-h: 64px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121315;
    --text: #e4e5e8;
    --muted: #9a9ea6;
    --rule: #2a2c30;
    --rule-strong: #3d4046;
    --surface: #17181b;
    --code-bg: #1e2023;
    --link: #7bdc97;
    color-scheme: dark;
  }
}
@media (min-width: 1800px) {
  :root { --content: 1320px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01"; }
h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 700; text-wrap: balance; }
p, ul, dl, dd, table, pre { margin: 0; }
p { text-wrap: pretty; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
code, kbd { font-family: var(--mono); font-size: 0.88em; padding: 0.1em 0.3em; border-radius: 3px; background: var(--code-bg); white-space: nowrap; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 2px; }

.wrap { max-width: calc(var(--content) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }


/* header and footer: quiet links, the content links stay green. The header sticks on
   screens wide enough to spare the room (see the min-width: 900px block at the bottom). */
.top { border-bottom: 1px solid var(--rule); background: var(--bg); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; min-height: var(--head-h); padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; color: var(--text); text-decoration: none; }
.brand-mark { width: 28px; height: 28px; }
.top nav, footer nav { position: relative; display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 15px; }
.top nav a, footer nav a { color: var(--muted); text-decoration: none; transition: color 0.15s ease; }
.top nav a:hover, footer nav a:hover { color: var(--text); }
.top nav a[aria-current="page"] { color: var(--text); font-weight: 600; }
footer { font-size: 14px; color: var(--muted); border-top: 1px solid var(--rule); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 24px 40px; }
footer span a { color: inherit; }
footer nav { font-size: 14px; }

/* sections */
section { padding-block: 72px; }
section + section { border-top: 1px solid var(--rule); }
section > p { max-width: 64ch; }
h1 { font-size: clamp(36px, 4.4vw + 12px, 60px); letter-spacing: -0.04em; line-height: 1.05; }
h2 { font-size: clamp(24px, 1.4vw + 16px, 30px); letter-spacing: -0.025em; }
h3 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }

/* Heading on the left, its one-line intro on the right, on wide screens. On the sub-pages the
   first of these carries the page's h1, sized between the home h1 and a section h2. */
.section-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px 56px; align-items: baseline; }
.section-head p { max-width: 62ch; color: var(--muted); }
.page-head h1 { font-size: clamp(30px, 2vw + 16px, 42px); letter-spacing: -0.03em; line-height: 1.1; }

.intro { padding-block: 80px 64px; }
.intro > * { max-width: 860px; }
.eyebrow { font-size: 13px; font-weight: 600; color: var(--link); letter-spacing: 0.04em; text-transform: uppercase; }
.intro h1 { margin-top: 14px; }
.lede { margin-top: 20px; font-size: 19px; max-width: 62ch; color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* the project index under the intro: one row of marks that open the app cards */
.intro .index { max-width: none; }
.index { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 0; margin-top: 56px; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.index li { margin: 0; }
.index a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 18px 16px 4px 0; color: var(--text); text-decoration: none; }
.index svg { width: 36px; height: 36px; flex: none; transition: transform 0.15s ease; }
.index a:hover svg { transform: translateY(-2px); }
.index span { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.index small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--muted); }

/* the projects, one card each. The "more on the way" box is the grid's last cell: it spans
   the row at two columns and fills the ninth slot at three. */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.card { display: flex; flex-direction: column; gap: 14px; padding: 24px; background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; scroll-margin-top: 24px; transition: border-color 0.15s ease; }
.card:hover, .card:target { border-color: var(--rule-strong); }
.card:target { box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 35%, transparent); }
.card > p { font-size: 15px; color: var(--muted); }
.card-head { display: flex; align-items: center; gap: 14px; }
.card-mark { width: 44px; height: 44px; flex: none; }
.card-head :is(h2, h3) { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.tag { margin-top: 2px; font-size: 14px; color: var(--muted); }
.card > p.replaces { font-size: 13px; font-weight: 500; color: var(--link); }
.replaces b { font-weight: 600; }
.facts { display: flex; flex-wrap: wrap; gap: 4px 20px; padding: 14px 0 0; list-style: none; font-size: 13px; color: var(--muted); border-top: 1px solid var(--rule); }
.facts li { margin: 0; }
.facts b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.get { margin-top: auto; font-size: 13px; }
.get summary { cursor: pointer; width: max-content; font-weight: 600; color: var(--link); }
.get pre { margin: 8px 0 6px; padding: 10px 12px; overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; line-height: 1.45; background: var(--code-bg); border-radius: 8px; }
.get p { color: var(--muted); }
.get + .links { margin-top: 0; }
.links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: auto; font-size: 15px; font-weight: 500; }
.badge { display: inline-block; vertical-align: 3px; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0; color: var(--link); border: 1px solid currentColor; }
.more { display: flex; align-items: center; gap: 14px; max-width: none; grid-column: 1 / -1; padding: 16px 20px; font-size: 15px; color: var(--muted); border: 1px dashed var(--rule-strong); border-radius: 12px; }
.more svg { width: 28px; height: 28px; flex: none; }
.more .tux { width: 48px; height: 48px; }
.more b { color: var(--text); font-weight: 600; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; margin-top: 36px; }
.grid > div { padding-top: 16px; border-top: 1px solid var(--rule); }
.grid > div > :is(h2, h3) { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.grid p { margin-top: 6px; font-size: 15px; color: var(--muted); }

table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
caption { caption-side: bottom; padding-top: 12px; text-align: left; font-size: 14px; color: var(--muted); }
th, td { padding: 12px 16px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
thead th { padding-block: 0 10px; font-size: 13px; font-weight: 500; color: var(--muted); border-bottom-color: var(--rule-strong); }
tbody th { width: 32%; font-weight: 600; }
td { color: var(--muted); }
td a { font-weight: 600; }
.map td:nth-child(2) { width: 20%; white-space: nowrap; }
.ok { color: var(--link); font-weight: 600; }
.distros tbody th { width: 18%; }
.distros td:nth-child(2) { width: 44%; }
.table-note { margin-top: 12px; font-size: 14px; color: var(--muted); }
.table-scroll, .devices { margin-top: 32px; }
.reqs + .devices { margin-top: 40px; }
.reqs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 32px; margin-top: 32px; padding: 0; list-style: none; }
.reqs li { margin: 0; padding-top: 14px; border-top: 2px solid var(--green); }
.reqs b { display: block; font-weight: 600; letter-spacing: -0.01em; }
.reqs span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }
.table-scroll { overflow-x: auto; }
#features .cta { margin-top: 40px; }

.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; margin-top: 36px; }
.faq > div { padding-top: 16px; border-top: 1px solid var(--rule); }
.faq dt { font-weight: 600; letter-spacing: -0.01em; }
.faq dd { margin-top: 6px; font-size: 15px; color: var(--muted); }

#report { padding-block: 56px 72px; }
.report { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding: 32px; background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; }
.report > div { flex: 1 1 420px; }
.report h2 { font-size: clamp(22px, 1vw + 16px, 26px); }
.report p { margin-top: 10px; max-width: 64ch; color: var(--muted); }

/* previous / next page links at the foot of each sub-page */
.pager { display: flex; justify-content: space-between; gap: 24px; padding-block: 28px 64px; border-top: 1px solid var(--rule); }
.pager a { display: flex; flex-direction: column; gap: 2px; max-width: 48%; font-weight: 600; letter-spacing: -0.01em; color: var(--text); text-decoration: none; transition: color 0.15s ease; }
.pager a:hover { color: var(--link); }
.pager small { font-size: 13px; font-weight: 500; color: var(--muted); }
.pager .next { margin-left: auto; align-items: flex-end; text-align: right; }

.btn {
  display: inline-block; padding: 10px 18px; border-radius: 8px; font-weight: 600; font-size: 15px;
  color: var(--text); background: var(--surface); text-decoration: none; border: 1px solid var(--rule-strong);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--code-bg); }
.btn.primary { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.btn.primary:hover { background: color-mix(in srgb, var(--ink) 85%, var(--green)); }
@media (prefers-color-scheme: dark) {
  .btn.primary { color: var(--ink); background: var(--green); border-color: var(--green); }
  .btn.primary:hover { background: color-mix(in srgb, var(--green) 85%, #fff); }
}

/* why the NPU: the three chips, the headline numbers, the measured tables and the four steps */
.chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.chips > div { padding: 20px 22px; background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; }
.chips > div.is-npu { border-color: var(--green); }
.chips dt { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.is-npu dt { color: var(--link); }
.chips dd { margin-top: 6px; font-size: 15px; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 32px; margin-top: 44px; padding: 0; list-style: none; }
.stats li { margin: 0; padding-top: 16px; border-top: 2px solid var(--green); }
.stats b { display: block; font-size: clamp(34px, 2vw + 18px, 46px); font-weight: 700; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats span { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); }
#numbers .stats { margin-top: 36px; }
#numbers .cta { margin-top: 40px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; margin-top: 44px; }
.benefits p { font-size: 16px; }
.benefits p b { color: var(--text); font-weight: 600; }
.compare, .unlocks { margin-top: 0; }
#npu .table-scroll { margin-top: 44px; }
.compare tbody th, .unlocks tbody th { width: 40%; }
.compare tbody th small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
.unlocks tbody th { width: 18%; }
th.npu { color: var(--link); }
td.npu { color: var(--text); font-weight: 600; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 32px; margin: 44px 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { margin: 0; padding-top: 14px; border-top: 1px solid var(--rule); counter-increment: step; }
.steps li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin-bottom: 10px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--paper); background: var(--ink); font-variant-numeric: tabular-nums; }
@media (prefers-color-scheme: dark) { .steps li::before { color: var(--ink); background: var(--green); } }
.steps b { display: block; font-weight: 600; letter-spacing: -0.01em; }
.steps span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }

/* motion: entrance on load for the intro, scroll-driven reveals where the browser has them,
   hover lifts everywhere, and the penguin sways. All of it off under prefers-reduced-motion. */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }
@keyframes breathe { 0%, 100% { box-shadow: 0 0 0 0 rgba(86, 204, 120, 0.35); } 50% { box-shadow: 0 0 0 7px rgba(86, 204, 120, 0); } }
@keyframes sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(5deg); } }
@keyframes stagger { to { opacity: 1; transform: none; } }

.intro > * { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.intro .eyebrow { animation-delay: 0.05s; }
.intro h1 { animation-delay: 0.15s; }
.intro .lede { animation-delay: 0.25s; }
.intro .cta { animation-delay: 0.35s; }
.intro .index { animation-delay: 0.45s; }
.index li { opacity: 0; transform: translateY(8px); animation: stagger 0.5s ease-out both; }
.index li:nth-child(1) { animation-delay: 0.55s; } .index li:nth-child(2) { animation-delay: 0.6s; }
.index li:nth-child(3) { animation-delay: 0.65s; } .index li:nth-child(4) { animation-delay: 0.7s; }
.index li:nth-child(5) { animation-delay: 0.75s; } .index li:nth-child(6) { animation-delay: 0.8s; }
.index li:nth-child(7) { animation-delay: 0.85s; } .index li:nth-child(8) { animation-delay: 0.9s; }

/* Scroll-driven reveals: each block rises as it enters the viewport. Browsers without
   view() timelines skip this block entirely, so nothing is ever left invisible. */
@supports (animation-timeline: view()) {
  .section-head, .card, .chips > div, .stats li, .benefits > div, #npu .table-scroll, .steps li,
  #why .grid > div, .map, .reqs li, .devices, .faq > div, .report, .more {
    animation: rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }
  .card:nth-child(even), .chips > div:nth-child(2), .stats li:nth-child(even), .steps li:nth-child(even),
  .reqs li:nth-child(even), .faq > div:nth-child(even), #why .grid > div:nth-child(2) { animation-range: entry 10% entry 45%; }
  .chips > div:nth-child(3), .stats li:nth-child(3), .steps li:nth-child(3), #why .grid > div:nth-child(3) { animation-range: entry 20% entry 55%; }
  .stats li:nth-child(4), .steps li:nth-child(4) { animation-range: entry 30% entry 65%; }
  .steps li::before { animation: pop 0.8s cubic-bezier(0.3, 1.4, 0.4, 1) both; animation-timeline: view(); animation-range: entry 20% entry 60%; }
}

/* the NPU card breathes, the way the chip wakes and sleeps */
.chips > div.is-npu { animation-name: rise, breathe; animation-duration: 1s, 3.2s; animation-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1), ease-in-out; animation-iteration-count: 1, infinite; animation-fill-mode: both, none; animation-timeline: auto; animation-range: normal; }
@supports (animation-timeline: view()) { .chips > div.is-npu { animation-timeline: view(), auto; animation-range: entry 20% entry 55%, normal; } }
.is-npu dt::before { content: ""; display: inline-block; width: 8px; height: 8px; margin: 0 8px 2px 0; border-radius: 50%; background: var(--green); animation: breathe 3.2s ease-in-out infinite; }

/* hover: cards, index marks, buttons and links lift a touch */
.card { transition: border-color 0.2s ease, transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px -18px rgba(14, 14, 16, 0.35); }
.card-mark { transition: transform 0.25s cubic-bezier(0.3, 1.4, 0.4, 1); }
.card:hover .card-mark { transform: scale(1.06) rotate(-3deg); }
.index svg { transition: transform 0.25s cubic-bezier(0.3, 1.4, 0.4, 1); }
.index a:hover svg { transform: translateY(-3px) scale(1.06); }
.btn { transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.2s ease, box-shadow 0.2s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -12px rgba(14, 14, 16, 0.5); }
.btn:active { transform: translateY(0); box-shadow: none; }
.chips > div, .steps li, .stats li { transition: transform 0.25s ease; }
.chips > div:hover { transform: translateY(-2px); }
.stats b { transition: color 0.2s ease; }
.stats li:hover b { color: var(--link); }
.brand-mark { transition: transform 0.3s cubic-bezier(0.3, 1.4, 0.4, 1); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.08); }

/* Tux had a few: a slow sway, and a wobble when poked */
.more .tux { transform-origin: 50% 90%; animation: sway 4.5s ease-in-out infinite; }
.more:hover .tux { animation-duration: 0.9s; }

/* product demos: one small looping scene per card. The resting styles are the finished frame,
   so with animations off (reduced motion, old browsers) each card shows the end state. */
.demo { position: relative; height: 124px; overflow: hidden; border-radius: 10px; background: var(--ink); color: #fafafa; font-size: 12px; line-height: 1.3; letter-spacing: -0.005em; border: 1px solid rgba(255, 255, 255, 0.08); user-select: none; }
.demo .label { position: absolute; right: 12px; bottom: 10px; padding: 3px 9px; border-radius: 999px; font-size: 11px; color: #a0a4ac; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); }
.demo .label b { color: #56cc78; font-weight: 600; }
@keyframes d-in { 0%, 100% { opacity: 0; transform: translateY(4px); } 10%, 88% { opacity: 1; transform: none; } }
@keyframes d-fade { 0%, 100% { opacity: 0; } 10%, 88% { opacity: 1; } }

/* vinoWhisper: words arrive one at a time; the last one is still being decided */
.d-whisper .bars { position: absolute; left: 16px; top: 18px; display: flex; align-items: flex-end; gap: 3px; height: 22px; }
.d-whisper .bars i { width: 4px; height: 8px; border-radius: 2px; background: #56cc78; animation: d-bar 1.1s ease-in-out infinite; }
.d-whisper .bars i:nth-child(2) { animation-delay: 0.15s; } .d-whisper .bars i:nth-child(3) { animation-delay: 0.3s; }
.d-whisper .bars i:nth-child(4) { animation-delay: 0.45s; } .d-whisper .bars i:nth-child(5) { animation-delay: 0.6s; }
@keyframes d-bar { 0%, 100% { height: 6px; } 50% { height: 22px; } }
.d-whisper .caption { position: absolute; left: 16px; right: 16px; bottom: 14px; padding: 8px 12px; border-radius: 8px; background: rgba(255, 255, 255, 0.07); font-size: 14px; font-weight: 500; }
.d-whisper .caption span { display: inline-block; animation: d-in 7s ease-out infinite both; animation-delay: calc(var(--i) * 0.42s); }
.d-whisper .pending { color: #a0a4ac; }

/* vinoAuthFace: a scan line sweeps the face, the brackets go green, a tick appears */
.d-face svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.d-face .bracket { fill: none; stroke: #56cc78; stroke-width: 2.5; stroke-linecap: round; animation: d-bracket 4.5s steps(1) infinite; }
@keyframes d-bracket { 0%, 58% { stroke: #a0a4ac; } 59%, 100% { stroke: #56cc78; } }
.d-face .head { fill: none; stroke: #fafafa; stroke-width: 2.5; }
.d-face .eye { fill: #fafafa; } .d-face .mouth { fill: none; stroke: #fafafa; stroke-width: 2; stroke-linecap: round; }
.d-face .scan { fill: #56cc78; opacity: 0; animation: d-scan 4.5s ease-in-out infinite; }
@keyframes d-scan { 0% { transform: translateY(0); opacity: 0; } 5% { opacity: 0.9; } 55% { transform: translateY(44px); opacity: 0.9; } 58%, 100% { opacity: 0; transform: translateY(44px); } }
.d-face .tick circle { fill: #56cc78; } .d-face .tick path { fill: none; stroke: #0e0e10; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.d-face .tick { transform-box: fill-box; transform-origin: center; animation: d-tick 4.5s cubic-bezier(0.3, 1.4, 0.4, 1) infinite; }
@keyframes d-tick { 0%, 58% { transform: scale(0); opacity: 0; } 66%, 92% { transform: scale(1); opacity: 1; } 96%, 100% { transform: scale(0); opacity: 0; } }
.d-face .label { animation: d-fade 4.5s steps(1) infinite; }
@keyframes d-face-label { 0%, 60% { opacity: 0; } 62%, 92% { opacity: 1; } 95%, 100% { opacity: 0; } }
.d-face .label { animation-name: d-face-label; }

/* vinoOpenEffects: the room behind the person blurs while the person stays sharp */
.d-effects .room { position: absolute; inset: 0; background: linear-gradient(180deg, #3a3d46 0%, #23252b 100%); animation: d-blur 5s ease-in-out infinite; filter: blur(5px); }
.d-effects .room i { position: absolute; background: #a0a4ac; opacity: 0.5; border-radius: 3px; }
.d-effects .room i:nth-child(1) { left: 10%; top: 18%; width: 22%; height: 34%; }
.d-effects .room i:nth-child(2) { left: 36%; top: 12%; width: 6%; height: 70%; opacity: 0.35; }
.d-effects .room i:nth-child(3) { right: 8%; top: 24%; width: 26%; height: 20%; }
@keyframes d-blur { 0%, 22% { filter: blur(0); } 36%, 86% { filter: blur(5px); } 98%, 100% { filter: blur(0); } }
.d-effects .person { position: absolute; left: 50%; bottom: 0; width: 64px; height: 46px; transform: translateX(-50%); border-radius: 32px 32px 0 0; background: #56cc78; }
.d-effects .person i { position: absolute; left: 50%; top: -30px; width: 30px; height: 30px; transform: translateX(-50%); border-radius: 50%; background: #56cc78; }
.d-effects .frame { position: absolute; inset: 14px 22%; border: 2px solid rgba(250, 250, 250, 0.7); border-radius: 6px; animation: d-frame 5s ease-in-out infinite; }
@keyframes d-frame { 0%, 22% { inset: 8px 8px; opacity: 0.5; } 36%, 86% { inset: 14px 22%; opacity: 1; } 98%, 100% { inset: 8px 8px; opacity: 0.5; } }
.d-effects .label { animation: d-eff-label 5s steps(1) infinite; }
@keyframes d-eff-label { 0%, 30% { opacity: 0; } 32%, 90% { opacity: 1; } 96%, 100% { opacity: 0; } }

/* vinoPop: a line gets selected, then the bar pops up above it */
.d-pop .line { position: absolute; left: 20px; height: 9px; border-radius: 4px; background: rgba(255, 255, 255, 0.18); }
.d-pop .w1 { top: 58px; width: 70%; } .d-pop .w2 { top: 78px; width: 82%; } .d-pop .w3 { top: 98px; width: 46%; }
.d-pop .sel { background: rgba(255, 255, 255, 0.18); background-image: linear-gradient(#56cc78, #56cc78); background-repeat: no-repeat; background-size: 100% 100%; animation: d-select 6s ease-in-out infinite; }
@keyframes d-select { 0%, 10% { background-size: 0% 100%; } 32%, 88% { background-size: 100% 100%; } 96%, 100% { background-size: 0% 100%; } }
.d-pop .bar { position: absolute; left: 20px; top: 20px; display: flex; gap: 4px; padding: 5px; border-radius: 9px; background: #1e2023; border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.8); transform-origin: 20% 100%; animation: d-pop-bar 6s cubic-bezier(0.3, 1.4, 0.4, 1) infinite; }
.d-pop .bar i { padding: 4px 8px; border-radius: 6px; font-style: normal; font-size: 11px; font-weight: 500; color: #e4e5e8; }
.d-pop .bar i.on { color: #0e0e10; background: #56cc78; font-weight: 600; }
@keyframes d-pop-bar { 0%, 32% { opacity: 0; transform: scale(0.7) translateY(8px); } 40%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: scale(0.7) translateY(8px); } }

/* vinoSpeak: words light up as they are spoken; the meter keeps time */
.d-speak .read { position: absolute; left: 16px; right: 70px; top: 50%; transform: translateY(-50%); font-size: 15px; font-weight: 500; color: #a0a4ac; }
.d-speak .read span { display: inline-block; color: #fafafa; animation: d-spoken 6.4s steps(1) infinite both; animation-delay: calc(var(--i) * 0.55s); }
@keyframes d-spoken { 0%, 100% { color: #a0a4ac; } 8%, 90% { color: #fafafa; } }
.d-speak .read span::after { content: ""; display: block; height: 2px; margin-top: 1px; border-radius: 1px; background: #56cc78; transform: scaleX(1); transform-origin: left; animation: d-underline 6.4s ease-out infinite both; animation-delay: calc(var(--i) * 0.55s); }
@keyframes d-underline { 0%, 4% { transform: scaleX(0); } 10%, 90% { transform: scaleX(1); } 96%, 100% { transform: scaleX(0); } }
.d-speak .eq { position: absolute; right: 16px; top: 50%; display: flex; align-items: center; gap: 3px; height: 40px; transform: translateY(-50%); }
.d-speak .eq i { width: 4px; height: 12px; border-radius: 2px; background: #56cc78; animation: d-eq 0.9s ease-in-out infinite alternate; }
.d-speak .eq i:nth-child(2) { animation-delay: -0.2s; } .d-speak .eq i:nth-child(3) { animation-delay: -0.5s; } .d-speak .eq i:nth-child(4) { animation-delay: -0.1s; }
.d-speak .eq i:nth-child(5) { animation-delay: -0.7s; } .d-speak .eq i:nth-child(6) { animation-delay: -0.3s; } .d-speak .eq i:nth-child(7) { animation-delay: -0.6s; }
@keyframes d-eq { from { height: 6px; } to { height: 36px; } }

/* vinoSearch: the query types itself, then two photos turn up */
.d-search .field { position: absolute; left: 16px; right: 16px; top: 14px; display: flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 8px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); font-family: var(--mono); font-size: 12.5px; }
.d-search .typed { display: inline-block; overflow: hidden; white-space: nowrap; max-width: 23ch; animation: d-type 7s steps(23, end) infinite; }
@keyframes d-type { 0%, 6% { max-width: 0; } 40%, 92% { max-width: 23ch; } 97%, 100% { max-width: 0; } }
.d-search .caret { width: 1.5px; height: 15px; margin-left: 2px; background: #56cc78; animation: d-caret 1s steps(1) infinite; }
@keyframes d-caret { 50% { opacity: 0; } }
.d-search .hit { position: absolute; left: 16px; right: 16px; display: flex; align-items: center; gap: 10px; height: 26px; animation: d-in 7s ease-out infinite both; }
.d-search .hit:nth-of-type(2) { top: 58px; animation-delay: 2.9s; } .d-search .hit:nth-of-type(3) { top: 88px; animation-delay: 3.2s; }
.d-search .hit i { width: 22px; height: 18px; border-radius: 4px; background: linear-gradient(160deg, #f2a33a 0%, #8e2a48 60%, #2a2c33 100%); }
.d-search .hit b { font-family: var(--mono); font-weight: 500; font-size: 12.5px; } .d-search .hit small { color: #a0a4ac; font-size: 11px; }

/* vinoWatch: the meters fill; the NPU one keeps moving */
.d-watch { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 0 16px; }
.d-watch .row { display: grid; grid-template-columns: 78px 1fr 52px; align-items: center; gap: 10px; font-size: 12px; }
.d-watch .row span { color: #a0a4ac; } .d-watch .row b { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.d-watch .meter { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.d-watch .meter i { display: block; height: 100%; border-radius: 4px; background: #fafafa; transform-origin: left; }
.d-watch .npu { width: 72%; background: #56cc78; animation: d-npu 3s ease-in-out infinite; }
@keyframes d-npu { 0%, 100% { width: 72%; } 35% { width: 48%; } 70% { width: 84%; } }
.d-watch .cpu { width: 3%; animation: d-fill 3s ease-out both; } .d-watch .ram { width: 38%; animation: d-fill 3s ease-out both; }
@keyframes d-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ovfetch: a terminal that resolves, verifies and installs */
.d-fetch .term { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 16px; font-family: var(--mono); font-size: 12px; color: #e4e5e8; }
.d-fetch .term span { animation: d-in 7s ease-out infinite both; animation-delay: calc(var(--i) * 0.9s); }
.d-fetch .term b { color: #56cc78; font-weight: 600; } .d-fetch .term em { font-style: normal; color: #56cc78; }

/* a11y */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 10; padding: 10px 16px; border-radius: 10px;
  background: var(--ink); color: var(--paper); font-weight: 500; text-decoration: none;
}
.skip:focus { top: 12px; }
.skip:hover { color: var(--paper); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .index li { opacity: 1; transform: none; }
}


/* ---------- screens, from wide to narrow ---------- */

/* Landscape PC screens: the header sticks, anchors land below it, and the hero becomes two
   columns, copy on the left and the eight apps as a list on the right, so the first screen
   uses the width instead of stacking a row of marks under a paragraph. */
@media (min-width: 900px) {
  html { scroll-padding-top: calc(var(--head-h) + 16px); }
  .top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .card { scroll-margin-top: calc(var(--head-h) + 24px); }
}
@media (min-width: 1280px) and (orientation: landscape) {
  .intro {
    display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: repeat(4, auto);
    column-gap: clamp(48px, 6vw, 112px); align-content: center;
    min-height: min(calc(100svh - var(--head-h)), 780px); padding-block: 56px;
  }
  .intro > * { grid-column: 1; max-width: 720px; }
  .intro .index { grid-column: 2; grid-row: 1 / -1; align-self: center; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin-top: 0; border-top: 0; }
  .index li { border-top: 1px solid var(--rule); }
  .index a { flex-direction: row; align-items: center; gap: 14px; padding: 14px 0; }
  .index svg { width: 40px; height: 40px; }
  .index span { font-size: 15px; }
  /* three app cards across, with the "more" box as the ninth cell */
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .more { grid-column: auto; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; padding: 24px; }
  .more .tux { width: 64px; height: 64px; }
}

/* narrow screens */
@media (max-width: 960px) {
  .index { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .grid, .cards, .faq, .section-head { grid-template-columns: minmax(0, 1fr); }
  .reqs, .stats, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chips, .grid.two { grid-template-columns: minmax(0, 1fr); }
  .grid, .faq { gap: 24px; }
}
@media (max-width: 640px) {
  section { padding-block: 52px; }
  .intro { padding-block: 52px 44px; }
  .lede { font-size: 17px; }
  .index { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; }
  .card { padding: 20px; }
  .report { padding: 24px; }
  .pager { padding-block: 24px 48px; }
  /* The nav becomes a row you can swipe, under the brand, instead of wrapping onto two lines. */
  .top .wrap { gap: 0; padding-block: 12px 0; }
  .brand { flex: 1 1 100%; }
  .top nav { flex: 1 1 100%; flex-wrap: nowrap; gap: 0 20px; padding-block: 10px 12px; padding-inline-end: 32px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); }
  .top nav::-webkit-scrollbar { display: none; }
  .top nav a { flex: none; white-space: nowrap; }
  /* The notes column carries the least, so it goes first. */
  .map td:last-child, .map thead th:last-child { display: none; }
  .map td:nth-child(2) { width: auto; }
  .devices td:nth-child(2), .devices thead th:nth-child(2) { display: none; }
  /* Desktops matter less than what to layer, so they go first. */
  .distros td:last-child, .distros thead th:last-child { display: none; }
  .distros td:nth-child(2) { width: auto; }
  /* The iGPU column is mostly unmeasured, so it goes first. */
  .compare td:nth-child(3), .compare thead th:nth-child(3) { display: none; }
  .compare tbody th, .unlocks tbody th { width: auto; }
}
