:root {
  --bg: #08090a;
  --panel: #101113;
  --text: #f7f8f8;
  --soft: #d0d6e0;
  --muted: #8a8f98;
  --line: rgb(255 255 255 / .09);
  --glow: #1668d9;
  --sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --gutter: clamp(16px, 5vw, 64px);
  --width: 1216px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; font-feature-settings: "cv01", "ss03"; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 4px; }
code { font: 400 .875em var(--mono); color: var(--soft); }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -.022em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.75rem); line-height: 1.1; }
main > * { width: min(100% - 2 * var(--gutter), var(--width)); margin-inline: auto; }

/* Bar */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; padding: 0 max(var(--gutter), calc((100% - var(--width)) / 2)); background: rgb(8 9 10 / .8); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: -.01em; text-decoration: none; }
.top-links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px); font-size: .875rem; color: var(--soft); }
.top-links a { text-decoration: none; }
.top-links a:hover { color: var(--text); }
.top-links .pill, .top-links .pill:hover { padding: 6px 14px; border-radius: 999px; background: var(--text); color: var(--bg); font-weight: 500; }

/* The Webuti logo: its own five facets, in its own three second rhythm */
.mark { display: block; }
.mark-small { width: 26px; height: 26px; }
.mark .ghost { fill: currentColor; opacity: .16; }
.mark .f { fill: currentColor; opacity: 0; animation: facet 3s linear infinite; animation-delay: calc((var(--i) - 6) * .5s); }
@keyframes facet { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }

/* Hero */
.hero { padding-top: clamp(64px, 10vw, 128px); }
h1 { max-width: 15em; font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.04; letter-spacing: -.03em; }
.lead { max-width: 34rem; margin: 20px 0 0; color: var(--muted); font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.download { display: inline-block; padding: 10px 18px; border-radius: 8px; background: var(--text); color: var(--bg); font-weight: 500; text-decoration: none; }
.download:hover { background: #fff; }
.other { color: var(--soft); text-decoration: none; }
.other:hover { color: var(--text); }
.cta-note { margin: 14px 0 0; font-size: .875rem; color: var(--muted); }

/* Screens of the program itself */
.frame { position: relative; margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--panel); }
.frame img { display: block; width: 100%; height: auto; }
.frame-hero { margin-top: clamp(40px, 6vw, 72px); box-shadow: 0 0 120px -20px color-mix(in srgb, var(--glow) 45%, transparent); }

.statement { margin-top: clamp(72px, 11vw, 144px); max-width: 52rem; margin-inline: max(var(--gutter), calc((100% - var(--width)) / 2)); color: var(--muted); font-size: clamp(1.5rem, 3vw, 2.5rem); line-height: 1.2; font-weight: 500; letter-spacing: -.022em; }
.statement strong { color: var(--text); font-weight: 500; }

.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(48px, 7vw, 88px); }
.benefits > div { padding: 0 clamp(20px, 3vw, 36px); border-left: 1px solid var(--line); }
.benefits > div:first-child { padding-left: 0; border-left: 0; }
.benefits h2 { margin-top: 28px; font-size: 1.0625rem; letter-spacing: -.01em; line-height: 1.4; }
.benefits p { margin: 6px 0 0; color: var(--muted); font-size: .9375rem; }
.fig { display: block; width: 100%; max-width: 13rem; height: auto; margin-inline: auto; fill: none; stroke: var(--muted); stroke-width: .16; }

.story { margin-top: clamp(80px, 11vw, 144px); padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); }
.story-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px clamp(24px, 5vw, 64px); margin-bottom: clamp(32px, 4vw, 48px); }
.story-head p { margin: 0; color: var(--soft); font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.4; letter-spacing: -.01em; }

.features, .install, .downloads { margin-top: clamp(80px, 11vw, 144px); padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); }
.features dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 32px clamp(24px, 4vw, 48px); margin: 36px 0 0; }
.features dt { font-weight: 500; letter-spacing: -.01em; }
.features dd { margin: 4px 0 0; color: var(--muted); font-size: .9375rem; }

.install ol { margin: 32px 0 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 24px; max-width: 46rem; }
.install li { counter-increment: step; display: grid; grid-template-columns: 2.5rem 1fr; color: var(--muted); }
.install li::before { content: counter(step); color: var(--text); font-weight: 500; }
.install li strong { display: block; color: var(--text); font-weight: 500; }
.install-note { max-width: 46rem; margin: 28px 0 0; padding-left: 2.5rem; color: var(--muted); font-size: .875rem; }

.mark-end { width: 72px; height: 72px; margin-bottom: 20px; }
.downloads > p { color: var(--soft); }
.table-wrap { margin-top: 28px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; min-width: 44rem; border-collapse: collapse; background: var(--panel); font-size: .9375rem; }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
th { font-weight: 500; font-size: .8125rem; color: var(--muted); }
tr:last-child td { border-bottom: 0; }
td a { font-weight: 500; text-underline-offset: 3px; }
td.size { white-space: nowrap; color: var(--muted); }
td.sha { font: 400 .75rem var(--mono); word-break: break-all; color: var(--muted); max-width: 24rem; }
.sums { margin: 12px 0 0; font-size: .875rem; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 32px clamp(32px, 5vw, 72px); margin-top: 48px; }
.facts h3 { font-size: 1.0625rem; letter-spacing: -.01em; }
.facts ul { margin: 10px 0 0; padding-left: 1.1em; color: var(--muted); font-size: .9375rem; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: clamp(72px, 10vw, 120px); padding: 24px max(var(--gutter), calc((100% - var(--width)) / 2)); border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }

@media (max-width: 760px) {
  .benefits { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .benefits > div { padding: 0; border-left: 0; }
  .fig { max-width: 9rem; margin-inline: 0; }
  .story-head { grid-template-columns: minmax(0, 1fr); }
  .top-links a:not(.pill):not(:last-child) { display: none; }
  .install-note { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mark .ghost { opacity: 1; }
  .mark .f { display: none; }
}
