/* Roboto, latin subset, self-hosted */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/fonts/roboto-latin.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --bg: #111722;
  --bg-alt: #19212e;
  --card: #1f2938;
  --line: #2a364a;
  --text: #e9edf4;
  --muted: #a0acbf;
  --blue: #1a6dff;
  --blue-soft: #7fb0ff;
  --pink: #e0408f;
  --radius: 14px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-soft); }
a:hover { color: #fff; }
b { font-weight: 600; }

code, pre {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}
p code, li code {
  background: var(--card);
  padding: 0.1em 0.4em;
  border-radius: 5px;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

:focus-visible { outline: 2px solid var(--blue-soft); outline-offset: 3px; border-radius: 4px; }

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(17 23 34 / 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}
.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--blue-soft);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.22em;
}
.brand img {
  border: 2px solid var(--blue);
  border-radius: 50%;
  padding: 7px;
}
.top nav { display: flex; gap: 22px; font-size: 0.95rem; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: #fff; }

/* Hero */
.hero {
  position: relative;
  padding-block: clamp(36px, 7vw, 88px) 40px;
  text-align: center;
  background:
    radial-gradient(60rem 26rem at 50% -6rem, rgb(26 109 255 / 0.22), transparent 70%),
    radial-gradient(34rem 18rem at 85% 30%, rgb(224 64 143 / 0.12), transparent 70%);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 6px 16px 6px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(31 41 56 / 0.7);
  color: var(--text);
  font-size: 0.92rem;
  text-decoration: none;
}
.pill span {
  padding: 2px 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--pink));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pill:hover { border-color: var(--blue); color: #fff; }
.grad {
  background: linear-gradient(90deg, var(--blue-soft), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
h1 {
  margin: 0 0 20px;
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.lead {
  max-width: 56rem;
  margin: 0 auto 32px;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--text);
  text-wrap: balance;
}
@media (min-width: 900px) {
  .lead span { display: block; }
}
mark {
  background: none;
  color: var(--pink);
  border: 1px solid var(--pink);
  border-radius: 4px;
  padding: 0 0.3em;
  white-space: nowrap;
}
h1 mark {
  border-width: 2px;
  border-radius: 10px;
  padding: 0 0.18em 0.04em;
}

.buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  background: var(--card);
  color: var(--text);
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid var(--line);
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { background: #28354a; border-color: var(--blue); color: #fff; transform: translateY(-1px); }
.btn.small { padding: 8px 18px; }
.btn span { text-align: left; line-height: 1.25; }
.btn small { display: block; color: var(--muted); font-size: 0.8rem; }
.btn.primary {
  background: linear-gradient(135deg, #1a6dff, #3b4fd8);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 28px rgb(26 109 255 / 0.35);
}
.btn.primary small { color: rgb(255 255 255 / 0.8); }
.btn.primary:hover { background: linear-gradient(135deg, #3a82ff, #4b5fe8); border-color: transparent; }

/* Screenshots: a label, then the extension as a popup under a browser toolbar, or Gooti Desktop in an
   app window. Drawn in CSS around the unchanged images. */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgb(127 176 255 / 0.35);
  background: rgb(26 109 255 / 0.12);
  color: var(--blue-soft);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip.desk { border-color: rgb(224 64 143 / 0.4); background: rgb(224 64 143 / 0.12); color: #f28dbf; }

/* Extension: toolbar with address bar and the Gooti icon, the popup below it */
.ext { margin: 0; display: flex; flex-direction: column; align-items: flex-start; }
.ext .bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 34px;
  margin-bottom: 12px;
  padding: 0 6px 0 8px;
  border-radius: 10px;
  background: #273142;
  box-shadow: 0 6px 18px rgb(0 0 0 / 0.35), inset 0 1px 0 rgb(255 255 255 / 0.05);
}
.ext .url {
  flex: 1;
  min-width: 0;
  padding: 3px 10px;
  border-radius: 999px;
  background: #182030;
  color: var(--muted);
  font: 11px/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ext .url::before { content: "\1F512\FE0E"; margin-right: 6px; font-size: 9px; opacity: 0.6; }
.ext .ext-icon {
  position: relative;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: rgb(26 109 255 / 0.3) url("assets/img/gooti.svg") center / 16px no-repeat;
  box-shadow: 0 0 0 1px rgb(127 176 255 / 0.5), 0 0 12px rgb(26 109 255 / 0.5);
}
/* The popup's arrow, under the icon */
.ext .ext-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 30px;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  background: #121925;
  border-left: 1px solid rgb(255 255 255 / 0.12);
  border-top: 1px solid rgb(255 255 255 / 0.12);
  transform: rotate(45deg);
  z-index: 1;
}
.ext img {
  width: 100%;
  aspect-ratio: 375 / 600;
  border-radius: 14px;
  background: var(--bg);
  box-shadow: 0 22px 55px rgb(0 0 0 / 0.5), 0 0 0 1px rgb(255 255 255 / 0.12);
}
.ext figcaption {
  align-self: stretch;
  margin-top: 12px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.4;
}
.ext figcaption span { color: var(--muted); }
.ext figcaption b { color: var(--text); }

/* Gooti Desktop: an app window with a title bar */
.window { margin: 0; display: flex; flex-direction: column; align-items: flex-start; }
.window .frame {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: var(--bg);
  box-shadow: 0 26px 70px rgb(0 0 0 / 0.55), 0 0 0 1px rgb(255 255 255 / 0.12);
}
.titlebar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  background: linear-gradient(#0f1520, #0b1018);
  border-bottom: 1px solid rgb(255 255 255 / 0.06);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.titlebar::before {
  content: "";
  position: absolute;
  left: 10px;
  width: 16px;
  height: 16px;
  background: url("assets/img/gooti.svg") center / 14px no-repeat;
}
.titlebar .controls { position: absolute; right: 10px; display: flex; gap: 14px; align-items: center; }
.titlebar i { display: block; width: 10px; height: 10px; position: relative; opacity: 0.6; }
.titlebar i:nth-child(1)::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px solid var(--muted); }
.titlebar i:nth-child(2) { border: 1.5px solid var(--muted); border-radius: 1px; }
.titlebar i:nth-child(3)::before, .titlebar i:nth-child(3)::after {
  content: ""; position: absolute; left: 50%; top: -2px; height: 14px; border-left: 1.5px solid var(--muted);
}
.titlebar i:nth-child(3)::before { transform: rotate(45deg); }
.titlebar i:nth-child(3)::after { transform: rotate(-45deg); }
.window .frame img { width: 100%; aspect-ratio: 1100 / 720; display: block; }
.window.mini .titlebar { height: 22px; font-size: 10px; }
.window.mini .titlebar::before { width: 12px; height: 12px; background-size: 10px; left: 7px; }
.window.mini .titlebar .controls { right: 7px; gap: 8px; transform: scale(0.75); transform-origin: right center; }
.window.mini .frame img { aspect-ratio: 460 / 620; }
.window figcaption { align-self: stretch; margin-top: 12px; text-align: center; font-size: 0.9rem; color: var(--muted); }

/* Showcase band under the hero: browser window, desktop window, browser window */
.showcase {
  position: relative;
  background:
    radial-gradient(40rem 20rem at 50% 50%, rgb(26 109 255 / 0.18), transparent 70%),
    var(--bg-alt);
  padding-block: 56px;
  margin-top: 24px;
  overflow: hidden;
}
.showcase .window .frame { box-shadow: 0 30px 80px rgb(0 0 0 / 0.55), 0 0 0 1px rgb(255 255 255 / 0.12), 0 0 60px rgb(224 64 143 / 0.12); }
.showcase .ext img { box-shadow: 0 24px 60px rgb(0 0 0 / 0.5), 0 0 0 1px rgb(255 255 255 / 0.12), 0 0 40px rgb(26 109 255 / 0.18); }
.showcase-inner {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 600px) minmax(0, 220px);
  justify-content: center;
  gap: clamp(16px, 3vw, 40px);
  align-items: center;
}

/* Features */
.section-title {
  margin: 0 0 48px;
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.section-title.left { text-align: left; margin-bottom: 16px; }

.features { padding-block: 80px 24px; }
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  padding-block: 40px 72px;
}
.feature.reverse .feature-text { order: 2; }
.kicker.center { text-align: center; }
.kicker {
  margin: 0 0 8px;
  color: var(--pink);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.feature h3 {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  font-weight: 500;
  line-height: 1.2;
  text-wrap: balance;
}
.feature-text p { margin: 0 0 16px; color: var(--muted); }
.feature-text ul { margin: 0; padding-left: 1.2em; color: var(--text); }
.feature-text li { margin-bottom: 10px; padding-left: 4px; }
.feature-text li::marker { color: var(--blue); }

.callout {
  margin-top: 24px;
  padding: 16px 18px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
}
.feature-text .callout p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.feature-text .callout p + p { margin-top: 8px; }
.feature-text .callout .callout-title { margin: 0 0 6px; color: var(--text); font-size: 1.05rem; font-weight: 500; }
.callout code { background: #0d121b; color: var(--blue-soft); padding: 0.1em 0.4em; border-radius: 5px; }

.feature-shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 260px));
  justify-content: center;
  gap: clamp(14px, 3vw, 32px);
}
.feature-shots .ext:nth-child(2) { margin-top: 36px; }

/* Desktop */
.desktop { padding-block: 72px 24px; border-top: 1px solid var(--line); }
.desktop .section-title { margin-bottom: 16px; }
.section-lead {
  max-width: 46rem;
  margin: 0 auto 32px;
  text-align: center;
  color: var(--muted);
  font-size: 1.1rem;
  text-wrap: balance;
}
.feature.stacked { grid-template-columns: minmax(0, 1fr); gap: 32px; }
.feature.stacked .feature-text { max-width: 46rem; }
.desk-shots { position: relative; padding-right: 13%; }
.desk-shots .overlay {
  position: absolute;
  right: 0;
  bottom: -36px;
  width: 26%;
}


/* Also included */
.also { background: var(--bg-alt); padding-block: 72px 80px; }
.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.cards li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
}
.cards h3 { margin: 0 0 8px; font-size: 1.1rem; font-weight: 500; }
.cards p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* Trust */
.trust { padding-block: 72px; }
.trust-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 36px;
}
.trust h3 { margin: 0 0 8px; font-size: 1.15rem; font-weight: 500; }
.trust p { margin: 0; color: var(--muted); }

/* Steps (in Download) */
.steps-list {
  list-style: none;
  counter-reset: step;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.steps-list li {
  counter-increment: step;
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px 74px;
}
.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 2px solid var(--blue);
  border-radius: 50%;
  color: var(--blue-soft);
  font-weight: 500;
  font-size: 1.05rem;
}
.steps-list h3 { margin: 0 0 6px; font-size: 1.1rem; font-weight: 500; }
.steps-list p { margin: 0; color: var(--muted); font-size: 0.97rem; }
/* FAQ */
.faq { padding-block: 24px 80px; }
.faq-inner { max-width: 820px; }
.faq .section-title { margin-bottom: 28px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 52px 16px 20px;
  font-size: 1.05rem;
  font-weight: 500;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue-soft);
  font-size: 1.5rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }
.faq summary:hover { color: #fff; }

/* Developers */
.dev { background: var(--bg-alt); padding-block: 72px; }
.dev-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.dev p { margin: 0; color: var(--muted); }
.dev pre {
  margin: 0;
  padding: 22px 24px;
  background: #0d121b;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-x: auto;
  line-height: 1.75;
}
.dev pre .c { color: #7a879b; }


/* Only with Gooti and Gooti Desktop */
.together {
  padding-block: 88px 72px;
  background:
    radial-gradient(50rem 24rem at 50% 0, rgb(224 64 143 / 0.10), transparent 70%),
    var(--bg);
}
.together .section-title { margin-bottom: 16px; }
.flow { margin: 8px auto 48px; max-width: 1040px; }
.flow svg { width: 100%; height: auto; display: block; overflow: visible; }
.flow .flow-tall, .flow .flow-ask-tall { display: none; }
.flow-line { fill: none; stroke: var(--line); stroke-width: 2; stroke-dasharray: 6 8; }
.flow-line.back { stroke: #3a2a44; }
.node rect { fill: var(--card); stroke: var(--line); stroke-width: 1.5; }
.node.relay rect { stroke: var(--blue); }
.node.desk rect { stroke: var(--pink); fill: #251d33; }
.n-title { fill: var(--text); font-size: 17px; font-weight: 500; text-anchor: middle; }
.n-sub { fill: var(--muted); font-size: 14px; text-anchor: middle; font-family: ui-monospace, Menlo, Consolas, monospace; }
.ask rect { fill: #1b2333; stroke: var(--pink); stroke-width: 1.5; filter: drop-shadow(0 8px 18px rgb(0 0 0 / 0.5)); }
.ask-site { fill: var(--text); font-size: 15px; font-weight: 600; }
.ask-sub { fill: var(--muted); font-size: 13px; }
.lbl { fill: var(--blue-soft); font-size: 13px; text-anchor: middle; letter-spacing: 0.08em; text-transform: uppercase; }
.lbl.sig { fill: var(--pink); }
.dot.req { fill: var(--blue-soft); filter: drop-shadow(0 0 8px #1a6dff); }
.dot.sig { fill: var(--pink); filter: drop-shadow(0 0 8px #e0408f); }

.points {
  list-style: none;
  margin: 0 0 48px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.points li {
  position: relative;
  padding: 24px 22px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.points .num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  color: #fff;
  font-weight: 600;
}
.points h3 { margin: 0 0 8px; font-size: 1.12rem; font-weight: 500; }
.points p { margin: 0; color: var(--muted); font-size: 0.97rem; }

.compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  max-width: 920px;
  margin-inline: auto;
}
.compare-col { padding: 24px 26px; border-radius: var(--radius); border: 1px solid var(--line); }
.compare-col h3 { margin: 0 0 14px; font-size: 1.1rem; font-weight: 500; }
.compare-col ol { margin: 0; padding-left: 1.3em; }
.compare-col li { margin-bottom: 8px; }
.compare .old { background: var(--bg-alt); color: var(--muted); }
.compare .old li::marker { color: #6b7790; }
.compare .new {
  background: linear-gradient(160deg, rgb(26 109 255 / 0.16), rgb(224 64 143 / 0.12));
  border-color: rgb(127 176 255 / 0.35);
  box-shadow: 0 20px 50px rgb(26 109 255 / 0.15);
}
.compare .new li { font-size: 1.2rem; }
.compare .new li::marker { color: var(--pink); }
.compare .new p { margin: 14px 0 0; color: var(--text); }

/* Relay */
.relay { padding-block: 80px; background: var(--bg-alt); border-block: 1px solid var(--line); }
.relay-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.relay-text > p { color: var(--muted); margin: 0 0 18px; }
.relay .section-title.left { font-size: clamp(1.6rem, 3.6vw, 2.2rem); }
.checks { list-style: none; margin: 0 0 18px; padding: 0; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--muted); }
.checks li b { color: var(--text); }
.checks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--blue-soft);
  border-bottom: 2px solid var(--blue-soft);
  transform: rotate(-45deg);
}
.fine { color: var(--muted); font-size: 0.9rem; margin: 0; }
.relay-card {
  padding: 22px;
  background: #0d121b;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 30px 70px rgb(0 0 0 / 0.45), 0 0 60px rgb(26 109 255 / 0.12);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.92rem;
}
.relay-host { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; color: var(--blue-soft); }
.led { width: 9px; height: 9px; border-radius: 50%; background: #4cc38a; box-shadow: 0 0 10px #4cc38a; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.45; } }
.kinds { display: grid; gap: 8px; }
.kind {
  display: grid;
  grid-template-columns: 6.2em minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--card);
}
.kind .k { color: var(--text); white-space: nowrap; }
.kind .what { color: var(--muted); font-family: "Roboto", system-ui, sans-serif; }
.kind .tag { font-size: 0.78rem; padding: 2px 8px; border-radius: 6px; }
.kind.ok .tag { color: #4cc38a; background: rgb(76 195 138 / 0.12); }
.kind.no { opacity: 0.6; }
.kind.no .k { text-decoration: line-through; color: var(--muted); }
.kind.no .tag { color: #f0a8a8; background: rgb(240 168 168 / 0.1); }

/* Download */
.download { padding-block: 88px 72px; }
.download .section-title { margin-bottom: 32px; }
.dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
  max-width: 920px;
  margin-inline: auto;
}
.dl-card {
  padding: 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.dl-card.highlight {
  background: linear-gradient(160deg, rgb(26 109 255 / 0.14), rgb(224 64 143 / 0.10)), var(--card);
  border-color: rgb(127 176 255 / 0.35);
}
.dl-card h3 { margin: 0 0 6px; font-size: 1.3rem; font-weight: 500; }
.dl-card > p { margin: 0 0 18px; color: var(--muted); }
.dl-card .fine { margin-top: 16px; }
.buttons.stack { flex-direction: column; align-items: stretch; }
.buttons.stack .btn { justify-content: flex-start; }
.download .steps-list { max-width: 920px; margin-inline: auto; }

/* Footer */
footer { padding-block: 40px 56px; text-align: center; background: var(--bg); border-top: 1px solid var(--line); }
.foot-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.foot-inner p { margin: 0; }
.foot-inner .small { font-size: 0.85rem; }
.heart { color: #ff2d2d; }
.thanks { max-width: 40rem; font-size: 0.8rem; color: var(--muted); }
.thanks a { color: var(--text); }
footer a { text-underline-offset: 3px; }

/* Narrow screens */
@media (max-width: 860px) {
  .top nav a:not(:last-child) { display: none; }
  .showcase-inner { grid-template-columns: repeat(2, minmax(0, 280px)); }
  .showcase-inner .window { grid-column: 1 / -1; grid-row: 1; }
  .desk-shots { padding-right: 0; }
  .desk-shots .overlay { position: static; width: min(60%, 260px); margin: 28px auto 0; }
  .desk-shots { display: flex; flex-direction: column; }
  .feature, .dev-inner, .relay-inner, .compare { grid-template-columns: minmax(0, 1fr); }
  .flow .flow-wide { display: none; }
  .flow .flow-tall { display: block; max-width: 340px; margin-inline: auto; }
  .flow .flow-ask-tall {
    display: block;
    max-width: 300px;
    margin: 4px auto 0;
    padding: 10px 14px;
    border: 1px solid var(--pink);
    border-radius: 12px;
    background: #1b2333;
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
  }
  .flow-ask-tall b { color: var(--text); }
  .feature.reverse .feature-text { order: 0; }
  .feature { padding-block: 24px 56px; }
  .feature-shots { grid-template-columns: repeat(2, minmax(0, 240px)); }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .brand { font-size: 1.3rem; letter-spacing: 0.16em; gap: 12px; }
  .brand img { width: 38px; height: 38px; padding: 6px; }
  .showcase { padding-block: 36px; }
  .showcase-inner { grid-template-columns: minmax(0, 1fr); }
  .showcase-inner .ext:last-child { display: none; }
  .showcase-inner .ext { width: min(100%, 270px); margin-inline: auto; }
  .feature-shots { gap: 12px; }
  .feature-shots .ext:nth-child(2) { margin-top: 20px; }
  .btn { width: 100%; justify-content: center; }
  .relay-card { padding: 16px; font-size: 0.85rem; }
  .kind { grid-template-columns: 5.6em minmax(0, 1fr) auto; gap: 8px; padding: 8px 10px; }
  .kind .tag { font-size: 0.72rem; padding: 2px 6px; }
  .buttons { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .dot { display: none; }
  .led { animation: none; }
}

/* Privacy page */
.legal { padding-block: 48px 80px; }
.legal-inner { max-width: 820px; }
.legal-title { text-align: left; margin: 0 0 4px; }
.legal-date { margin: 0 0 28px; color: var(--muted); font-size: 0.95rem; }
.legal h2 { margin: 40px 0 10px; font-size: 1.45rem; }
.legal h3 { margin: 22px 0 6px; font-size: 1.1rem; color: var(--text); }
.legal p, .legal li { color: var(--muted); }
.legal li { margin-bottom: 8px; }
.legal b { color: var(--text); font-weight: 600; }
.legal code { overflow-wrap: anywhere; }
