:root {
  --bg: #f5f6fa;
  --card: #ffffff;
  --ink: #0b0b0f;
  --muted: #6b6f7b;
  --line: rgba(15, 20, 40, .08);
  --blue: #0a84ff;
  --green: #34c759;
  --radius: 28px;
  --shadow: 0 1px 2px rgba(15, 20, 40, .04), 0 12px 32px rgba(15, 20, 40, .06);
  --font: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }

/* Header */
header.top {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(245, 246, 250, .72);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
header.top.scrolled { border-bottom-color: var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; }
.brand img { width: 30px; height: 30px; }
nav.links { display: flex; align-items: center; gap: 6px; }
nav.links > a:not(.icon-link) { font-size: 14px; padding: 6px 10px; color: var(--muted); transition: color .2s; }
nav.links > a:not(.icon-link):hover { color: var(--ink); }
.icon-link {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border: 0; background: none; padding: 0; color: var(--muted); transition: color .2s;
}
.icon-link:hover, .lang.open .icon-link { color: var(--ink); }
.icon-link svg { width: 20px; height: 20px; }
.lang { position: relative; }
.lang-btn { cursor: pointer; font-family: inherit; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 6px); display: none;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  padding: 6px; min-width: 130px;
}
.lang.open .lang-menu { display: block; }
.lang-menu button {
  display: block; width: 100%; text-align: left; border: 0; background: none; font: inherit; font-size: 14px;
  padding: 7px 10px; border-radius: 9px; cursor: pointer; color: var(--ink);
}
.lang-menu button:hover, .lang-menu button.on { background: var(--bg); }

/* Buttons */
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn.big { padding: 15px 28px; font-size: 16px; }
.btn.small { padding: 7px 15px; font-size: 13px; }
.btn svg { width: 18px; height: 18px; margin-top: -2px; }
.btn.primary { background: var(--ink); color: var(--bg); box-shadow: 0 10px 24px rgba(0, 0, 0, .2); }
.btn.primary:hover { box-shadow: 0 14px 32px rgba(0, 0, 0, .26); }
.btn.ghost { background: rgba(255, 255, 255, .8); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.meta { margin-top: 20px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 10px; justify-content: center; }
.meta > * + *::before { content: "·"; margin-right: 10px; color: rgba(0, 0, 0, .25); }
.meta a { color: var(--blue); }
/* The other build's download, under the main button (main.js swaps them on Intel Macs). */
.dl-alt { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.dl-alt a { color: var(--blue); font-weight: 600; margin-left: 6px; white-space: nowrap; }
.dl-alt a:hover { text-decoration: underline; }
.dl-alt [hidden] { display: none; }
.js-dl .dl-alt { display: none; }
.dl-menu { position: absolute; z-index: 60; width: 260px; padding: 8px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0, 0, 0, .22); text-align: left; animation: dl-menu-in .18s ease; }
.dl-menu[hidden] { display: none; }
.dl-menu span { display: block; padding: 6px 10px 4px; font-size: 12px; color: var(--muted); }
.dl-menu a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: 15px; }
.dl-menu a:hover { background: rgba(10, 132, 255, .12); color: var(--blue); }
.dl-menu small { display: block; padding: 6px 10px 4px; font-size: 11.5px; color: var(--muted); }
@keyframes dl-menu-in { from { opacity: 0; transform: translateY(-4px); } }
.dl-alt a.pill { display: inline-block; margin: 6px 0 0 8px; padding: 5px 12px; border-radius: 999px; border: 1px solid currentColor; font-weight: 600; text-decoration: none; }
.dl-alt a.pill:hover { text-decoration: none; background: rgba(0, 113, 227, .08); }
.dl-alt small { display: block; margin-top: 8px; font-size: 12px; opacity: .8; }
.dl-pick.flash { animation: dl-flash .9s ease; }
@keyframes dl-flash { 0%, 100% { transform: none; } 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
@media (prefers-reduced-motion: reduce) { .dl-pick.flash { animation: none; } }
.final .dl-alt { text-align: center; }

/* Hero */
.hero { padding: 84px 0 0; position: relative; overflow: hidden; text-align: center; }
.aurora { position: absolute; inset: 0 0 30% 0; pointer-events: none; filter: blur(70px); opacity: .55; }
.aurora i { position: absolute; border-radius: 50%; animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 520px; height: 420px; left: 6%; top: -80px; background: #7aa7ff; }
.aurora i:nth-child(2) { width: 460px; height: 380px; right: 4%; top: -40px; background: #d19bff; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 520px; height: 300px; left: 34%; top: 220px; background: #ffc58a; animation-delay: -12s; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.12); } }
.hero .wrap { position: relative; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; padding: 5px 14px 5px 6px; font-weight: 500;
  background: rgba(255, 255, 255, .75); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.badge i { width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, #34c759, #0a84ff); display: inline-block; }
.hero h1 {
  font-size: clamp(46px, 8.4vw, 104px); line-height: 1.04; letter-spacing: -.045em; margin: 26px 0 22px; font-weight: 750;
}
.accent {
  background: linear-gradient(90deg, #0a84ff, #5e5ce6 35%, #bf5af2 60%, #ff375f 85%, #ff9f0a);
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 8s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }
.hero .lead { color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); max-width: 680px; margin: 0 auto 34px; }

/* Device */
.stage { position: relative; margin-top: 64px; perspective: 1800px; }
.device {
  position: relative; margin: 0 auto; width: min(1080px, 100%); padding: 1.4% 1.4% 1.6%;
  background: linear-gradient(#1d1d22, #0e0e11); border-radius: 26px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset, 0 50px 120px -20px rgba(30, 40, 90, .45), 0 30px 60px -30px rgba(0, 0, 0, .5);
  transform-origin: 50% 100%; transform: rotateX(var(--tilt, 18deg)) scale(var(--zoom, .94));
  will-change: transform;
}
.device .screen { border-radius: 14px; overflow: hidden; aspect-ratio: 3296 / 2162; background: #24233a; }
.device video, .show-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.device-base {
  width: min(1240px, 112%); height: 18px; margin: -2px auto 0; position: relative; left: 50%; transform: translateX(-50%);
  background: linear-gradient(#e4e5ea, #b9bbc3); border-radius: 0 0 22px 22px / 0 0 16px 16px;
  box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .35);
}
.device-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 140px; height: 7px; transform: translateX(-50%); background: #a6a8b0; border-radius: 0 0 10px 10px; }

/* Strip */
.strip { padding: 72px 0 0; }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.strip .wrap > div { padding: 22px 20px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.strip b { display: block; font-size: 30px; letter-spacing: -.03em; line-height: 1.1; }
.strip span { color: var(--muted); font-size: 14px; }

/* Showcase rows */
.show { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; margin-top: 110px; }
.show.flip .show-text { order: 2; }
.show .step { font-size: 13px; font-weight: 700; color: var(--blue); letter-spacing: .1em; margin-bottom: 10px; }
.show h3 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; letter-spacing: -.025em; margin: 0 0 14px; }
.show p { color: var(--muted); font-size: 17px; margin: 0 0 18px; }
.show-media {
  border-radius: 22px; overflow: hidden; aspect-ratio: 3296 / 2162; background: #24233a;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 30px 70px -20px rgba(30, 40, 90, .35);
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.show:hover .show-media { transform: scale(1.015); }
.kbd { display: flex; gap: 6px; flex-wrap: wrap; }
.kbd span { font-size: 13px; padding: 4px 10px; border-radius: 9px; background: var(--card); border: 1px solid var(--line); font-weight: 600; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.kbd span span { all: unset; }

/* Dark band: ways to open */
.dark-band { background: #0b0b10; color: #fff; overflow: hidden; }
.dark-band::before {
  content: ""; position: absolute; inset: -40% 10% auto; height: 600px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(94, 92, 230, .35), transparent);
}
.dark-band p.desc { color: rgba(255, 255, 255, .6); }
.dark-band .eyebrow { color: #64d2ff; }
.keys { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.key {
  padding: 28px 24px; border-radius: 24px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  transition: background .3s, transform .3s;
}
.key:hover { background: rgba(255, 255, 255, .09); transform: translateY(-4px); }
.key h4 { margin: 22px 0 6px; font-size: 19px; }
.key p { margin: 0; color: rgba(255, 255, 255, .6); font-size: 14px; }
.cap {
  height: 84px; border-radius: 16px; display: grid; place-items: center; font-size: 22px; font-weight: 650;
  background: linear-gradient(#2a2a31, #1b1b20); box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset, 0 6px 0 #0f0f13, 0 10px 20px rgba(0, 0, 0, .4);
  animation: press 3.2s ease-in-out infinite;
}
.key:nth-child(2) .cap { animation-delay: .8s; }
@keyframes press { 0%, 70%, 100% { transform: none; } 78% { transform: translateY(4px); box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 2px 0 #0f0f13, 0 4px 10px rgba(0,0,0,.4); } }
.cap.pinch, .cap.corner, .cap.mouse { animation: none; position: relative; }
.cap.mouse::before { content: ""; width: 24px; height: 38px; border: 3px solid #fff; border-radius: 13px; }
.cap.mouse i { position: absolute; left: calc(50% - 2px); top: calc(50% - 12px); width: 4px; height: 9px; border-radius: 2px; background: #bf5af2; box-shadow: 0 0 12px #bf5af2; animation: dblclick 1.8s ease-in-out infinite; }
@keyframes dblclick { 0%, 45%, 100% { opacity: .2; } 8%, 28% { opacity: 1; } 18% { opacity: .2; } }
.cap.pinch i { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: #64d2ff; box-shadow: 0 0 14px #64d2ff; animation: pinch 2.4s ease-in-out infinite; }
.cap.pinch i:nth-child(1) { --x: -46px; --y: -18px; } .cap.pinch i:nth-child(2) { --x: -16px; --y: -26px; }
.cap.pinch i:nth-child(3) { --x: 16px; --y: -24px; } .cap.pinch i:nth-child(4) { --x: 44px; --y: 14px; }
@keyframes pinch { 0%, 15% { transform: translate(var(--x), var(--y)); opacity: .9; } 60%, 75% { transform: translate(calc(var(--x) * .22), calc(var(--y) * .22)); opacity: 1; } 100% { transform: translate(var(--x), var(--y)); opacity: .9; } }
.cap.corner::before { content: ""; position: absolute; left: 10px; bottom: 10px; width: 26px; height: 26px; border-left: 3px solid #ff9f0a; border-bottom: 3px solid #ff9f0a; border-radius: 0 0 0 8px; }
.cap.corner i { position: absolute; width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 18px solid #fff;
  transform: rotate(-35deg); animation: corner 2.6s cubic-bezier(.6,0,.3,1) infinite; }
@keyframes corner { 0%, 10% { left: 70%; top: 18%; } 55%, 80% { left: 14px; top: 52px; } 100% { left: 70%; top: 18%; } }

/* Light / dark slider */
.compare-shot {
  position: relative; border-radius: 22px; overflow: hidden; max-width: 1000px; margin: 0 auto; aspect-ratio: 1600 / 1050;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 40px 90px -30px rgba(30, 40, 90, .4); --pos: 50%;
}
.compare-shot img { width: 100%; height: 100%; object-fit: cover; }
.compare-shot .after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.compare-shot input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare-shot .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; pointer-events: none; transform: translateX(-1px); }
.compare-shot .handle span {
  position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; border-radius: 50%; transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, .9); box-shadow: 0 6px 20px rgba(0, 0, 0, .3); backdrop-filter: blur(8px);
}
.compare-shot .handle span::before { content: "‹ ›"; position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; color: #333; letter-spacing: 2px; }

/* Versus */
.vs { max-width: 900px; margin: 0 auto; text-align: center; }
.vs table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 15px; }
.vs th, .vs td { padding: 15px 14px; border-bottom: 1px solid var(--line); }
.vs tbody tr:last-child > * { border-bottom: 0; }
.vs thead th { font-size: 14px; color: var(--muted); font-weight: 600; }
.vs tbody th { text-align: left; font-weight: 600; padding-left: 24px; }
.vs td { color: var(--muted); }
.vs .us { background: rgba(10, 132, 255, .06); color: var(--ink); font-weight: 700; }
.vs thead .us { color: var(--blue); }
.vs td.us { color: #1f8a3b; }
.more-link { display: inline-block; margin-top: 22px; color: var(--blue); font-weight: 600; }
.more-link:hover { text-decoration: underline; }

@media (max-width: 960px) {
  .strip .wrap, .keys { grid-template-columns: repeat(2, 1fr); }
  .keys .key:last-child { grid-column: 1 / -1; }
  .show, .show.flip { grid-template-columns: 1fr; gap: 28px; margin-top: 72px; }
  .show.flip .show-text { order: 0; }
  .vs table { font-size: 13px; }
  .vs th, .vs td { padding: 12px 8px; }
  .vs tbody th { padding-left: 14px; }
}
@media (max-width: 560px) {
  .strip .wrap, .keys { grid-template-columns: 1fr; }
  .device { border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .aurora i, .accent, .cap, .cap.pinch i, .cap.corner i, .cap.mouse i { animation: none !important; }
  .device { transform: none; }
}

/* Sections */
section.block { padding: 110px 0; position: relative; }
.eyebrow { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); font-weight: 600; }
h2.title { font-size: clamp(32px, 4.5vw, 52px); letter-spacing: -.02em; line-height: 1.15; margin: 10px 0 14px; }
p.desc { color: var(--muted); margin: 0 0 40px; max-width: 640px; }
.center { text-align: center; }
.center p.desc { margin-left: auto; margin-right: auto; }

/* Feature bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 16px; }
.card {
  background: var(--card); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
  border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; min-height: 180px;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(15, 20, 40, .04), 0 18px 40px rgba(15, 20, 40, .1); }
.card .ic {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-size: 22px;
  background: var(--bg);
}
.card h3 { margin: auto 0 0; font-size: 19px; line-height: 1.3; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.card.wide { grid-column: span 2; }
.card.tall { grid-row: span 2; }
.card.dark { background: #111216; color: #fff; border-color: #111216; }
.card.dark p { color: rgba(255, 255, 255, .62); }
.card.dark .ic { background: rgba(255, 255, 255, .1); }
.card.blue { background: linear-gradient(150deg, #0a84ff, #5e5ce6); color: #fff; border: 0; }
.card.blue p { color: rgba(255, 255, 255, .8); }
.card.blue .ic { background: rgba(255, 255, 255, .2); }
.card .kbd { display: flex; gap: 6px; flex-wrap: wrap; }
.card .kbd span {
  font-size: 13px; padding: 3px 9px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); font-weight: 600;
}
.card.dark .kbd span { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); }
.card .shot { margin: 6px -8px -8px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border-radius: 20px; border: 1px solid var(--line); padding: 4px 24px; box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 17px;
  display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 22px; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; color: var(--muted); }
.faq code { background: var(--bg); padding: 1px 6px; border-radius: 6px; font-size: 13px; }

/* Languages */

/* Final CTA */
.final { text-align: center; padding: 100px 0 80px; }
.final img { width: 112px; height: 112px; margin: 0 auto 20px; filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .18)); }
.final h2 { font-size: clamp(28px, 4vw, 44px); margin: 0 0 24px; letter-spacing: -.02em; }
.final .cta { justify-content: center; }
.final .meta { justify-content: center; }

footer { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
footer .cols { display: flex; gap: 48px; flex-wrap: wrap; }
footer h4 { color: var(--ink); margin: 0 0 10px; font-size: 14px; }
footer a { display: block; margin: 6px 0; }
[hidden] { display: none !important; }
footer a:hover { color: var(--ink); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1fr; }
  nav.links a.hide-sm { display: none; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .card.wide { grid-column: auto; }
  .card.tall { grid-row: auto; }
  .meta { flex-direction: column; align-items: center; gap: 4px; }
  .meta > * + *::before { content: none; }
  .vs { overflow-x: auto; margin: 0 -20px; padding: 0 20px 24px; }
  .vs table { width: max-content; min-width: 100%; }
  .vs th, .vs td { white-space: nowrap; }
}
.card .kbd span span, .kbd span span { all: unset; }

/* ---------- Compare pages ---------- */
.cmp-hero { padding-top: 150px; }
.cmp-hero .title { font-size: clamp(34px, 5vw, 58px); }
.cmp-hero .eyebrow a { color: inherit; }
.vs-x { color: var(--muted); font-weight: 500; font-size: .6em; vertical-align: .15em; margin: 0 .2em; }
.cmp-table { max-width: none; margin: 48px auto 0; overflow-x: auto; padding: 0 2px 24px; }
.cmp-table table { min-width: 100%; }
.cmp-table th { white-space: nowrap; }
.cmp-table td { min-width: 112px; line-height: 1.45; }
.cmp-table td { font-size: 13.5px; }
.cmp-table td.yes { color: #1f8a3b; }
.cmp-table td.pro { color: #b25f00; }
.cmp-table td.na { color: rgba(0, 0, 0, .3); }
.cmp-table tbody th { position: sticky; left: 0; background: var(--card); z-index: 1; }
.cmp-note { color: var(--muted); font-size: 13px; text-align: center; max-width: 760px; margin: 8px auto 0; }
.cmp-note a { color: var(--blue); }
.verdicts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; max-width: 960px; }
.verdicts .card { min-height: 0; gap: 14px; padding: 30px; }
.verdicts .card h3 { margin: 0; font-size: 21px; }
.verdicts ul, .also { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.verdicts li, .also li { position: relative; padding-left: 26px; }
.verdicts li::before, .also li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; color: var(--blue); }
.verdicts .card.blue li::before { color: #fff; }
.cmp-detail { padding-top: 40px; }
.cmp-also { margin-top: 90px; }
.also { grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.also li { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px 18px 46px; }
.also li::before { left: 20px; top: 18px; }
.cmp-more { padding-top: 0; }
.cmp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.cmp-cards .card { min-height: 0; gap: 8px; text-decoration: none; color: inherit; }
.cmp-cards .card h3 { margin: 0; }
@media (max-width: 960px) {
  .also, .cmp-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .verdicts, .also, .cmp-cards { grid-template-columns: 1fr; }
  .cmp-hero { padding-top: 110px; }
}
.cmp-table.two { max-width: 900px; }
@media (max-width: 560px) {
  .cmp-table tbody th { white-space: normal; min-width: 92px; max-width: 120px; padding-left: 14px; }
  .cmp-table td { white-space: normal; min-width: 104px; }
}

/* Dark mode: follows the system setting */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0c10;
    --card: #16171c;
    --ink: #f2f3f7;
    --muted: #9a9eab;
    --line: rgba(255, 255, 255, .09);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .35);
  }
  header.top { background: rgba(11, 12, 16, .72); }
  .btn.primary { box-shadow: 0 10px 24px rgba(0, 0, 0, .5); }
  .btn.ghost { background: rgba(255, 255, 255, .06); }
  .meta > * + *::before { color: rgba(255, 255, 255, .25); }
  .badge { background: rgba(255, 255, 255, .06); }
  .aurora { opacity: .3; }
  .kbd span { box-shadow: none; }
  .device-base { background: linear-gradient(#5a5c64, #3a3c43); }
  .device-base::before { background: #2c2d33; }
  .dark-band { background: #111217; border-block: 1px solid var(--line); }
  .card.dark { background: #1c1d23; border-color: var(--line); }
  .vs td.us, .cmp-table td.yes { color: #4cd964; }
  .cmp-table td.pro { color: #ff9f0a; }
  .cmp-table td.na { color: rgba(255, 255, 255, .3); }
  .final img { filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .5)); }
}

/* Installing: the Gatekeeper note under the download button, and the three steps. */
/* The hero's question box (main.js): hidden until /ai/status says the AI is on. */
.ask { max-width: 620px; margin: -8px auto 28px; text-align: left; }
.ask-box { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 18px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); transition: border-color .2s, box-shadow .2s; }
.ask-box:focus-within { border-color: rgba(10, 132, 255, .55); box-shadow: 0 0 0 4px rgba(10, 132, 255, .14), var(--shadow); }
.ask-box > svg { width: 18px; height: 18px; flex: none; color: var(--blue); }
.ask-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--ink); font: inherit; font-size: 16px; padding: 10px 0; }
.ask-box input::placeholder { color: var(--muted); }
.ask-box button { flex: none; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--ink); color: var(--bg); cursor: pointer; display: grid; place-items: center; transition: opacity .2s, transform .2s; }
.ask-box button:hover { transform: translateY(-1px); }
.ask-box button svg { width: 18px; height: 18px; }
.ask.busy .ask-box button, .ask.done .ask-box button { opacity: .35; pointer-events: none; }
.ask-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 12px; }
.ask-chips button { font: inherit; font-size: 13px; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .6); color: var(--muted); cursor: pointer; transition: color .2s, border-color .2s; }
.ask-chips button:hover { color: var(--ink); border-color: rgba(10, 132, 255, .4); }
.ask.done .ask-box, .ask.done .ask-chips { display: none; }
.ask-log { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; max-height: 340px; overflow-y: auto; }
.ask-log:empty { display: none; }
.ask-log p { margin: 0; padding: 10px 15px; border-radius: 18px; font-size: 15px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; max-width: 88%; }
.ask-log .q { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.ask-log .a { align-self: flex-start; background: var(--card); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.ask-log .a.wait { color: var(--muted); }
.ask-note { display: none; margin: 10px 0 0; text-align: center; font-size: 12px; color: var(--muted); }
.ask-log:not(:empty) ~ .ask-note { display: block; }

.safe-note { display: inline-flex; align-items: center; gap: 8px; margin: 18px auto 0; padding: 9px 16px; border-radius: 999px; background: rgba(10, 132, 255, .08); border: 1px solid rgba(10, 132, 255, .22); color: inherit; font-size: 14px; line-height: 1.4; text-align: left; max-width: 100%; }
.safe-note:hover { background: rgba(10, 132, 255, .13); }
.safe-note .lock { font-size: 15px; }
.safe-note .go { color: var(--blue); font-weight: 700; font-size: 18px; line-height: 1; }
.install .steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.install .steps li { padding: 26px 24px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.install .steps b { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 15px; margin-bottom: 14px; }
.install .steps h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.35; letter-spacing: -.01em; }
.install .steps p, .install .why p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.install .why { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.install .why > div { padding: 22px 24px; border-radius: 22px; background: rgba(10, 132, 255, .05); border: 1px solid rgba(10, 132, 255, .14); }
.install .why h3 { margin: 0 0 6px; font-size: 16px; }
.install .why a { color: var(--blue); font-weight: 600; }
@media (max-width: 960px) { .install .steps { grid-template-columns: 1fr; } .install .why { grid-template-columns: 1fr; } }

/* Pricing: one price, three kinds of people. */
.price-card { display: grid; grid-template-columns: 5fr 7fr; max-width: 980px; margin: 0 auto; border-radius: 28px; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.price-main { display: flex; flex-direction: column; gap: 8px; padding: 36px; color: #fff;
  background: radial-gradient(120% 90% at 0% 0%, #5e5ce6 0%, transparent 60%), linear-gradient(160deg, #0a84ff, #3634a3); }
.plan-price { display: flex; align-items: baseline; gap: 10px; }
.plan-price b { font-size: 72px; letter-spacing: -.04em; line-height: 1; }
.plan-price small { color: rgba(255, 255, 255, .7); font-size: 20px; }
.plan-tag { align-self: flex-start; margin: 6px 0 14px; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: rgba(255, 255, 255, .18); }
.price-main ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 9px; font-size: 15px; flex: 1; }
.price-main li::before { content: "✓"; font-weight: 700; margin-right: 8px; color: #b9f6ca; }
.price-main .btn { justify-content: center; background: #fff; color: #0b2a6b; }
.price-who { padding: 30px 34px; display: flex; flex-direction: column; }
.price-who-cap { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.price-who ul { list-style: none; padding: 0; margin: 0; flex: 1; display: flex; flex-direction: column; justify-content: space-around; }
.price-who li { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 14px; padding: 18px 0; }
.price-who li + li { border-top: 1px dashed var(--line); }
.who-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; background: var(--bg); border: 1px solid var(--line); }
.price-who h3 { margin: 0; font-size: 18px; }
.price-who p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.price-who small { font-size: 13px; color: var(--blue); font-weight: 600; text-align: right; max-width: 170px; }
.plans-note { text-align: center; color: var(--muted); font-size: 14px; margin: 22px 0 0; }
@media (max-width: 860px) {
  .price-card { grid-template-columns: 1fr; max-width: 520px; }
  .price-who li { grid-template-columns: 44px 1fr; }
  .who-ic { width: 44px; height: 44px; font-size: 22px; }
  .price-who small { grid-column: 2; text-align: left; max-width: none; }
}

/* Referral link banner (main.js) */
.ref-bar{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);z-index:50;display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:center;
  max-width:calc(100vw - 32px);padding:10px 12px 10px 18px;border-radius:16px;background:rgba(30,30,34,.86);color:#fff;font-size:14px;
  -webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);box-shadow:0 10px 30px rgba(0,0,0,.25)}
.ref-bar b{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.12em;font-size:16px;margin-left:4px}
.ref-bar small{opacity:.7;font-size:12px}
.ref-bar button{border:0;border-radius:10px;padding:6px 12px;background:#0a84ff;color:#fff;font:inherit;font-size:13px;cursor:pointer}
.ref-bar small a{color:#fff;text-decoration:underline}
.ref-bar button.x{background:transparent;padding:4px 8px;opacity:.6;font-size:16px}

/* Languages and the reviews marquee. */
.langs-grid { list-style: none; padding: 0; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 44px; }
.langs-grid li { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.lang-flag { width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 6px 18px rgba(0,0,0,.12); transition: transform .2s; }
.langs-grid li:hover .lang-flag { transform: translateY(-3px) scale(1.06); }
.langs-grid li span { color: var(--ink); font-weight: 600; }
.uses-grid { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.uses-grid li { padding: 24px; border-radius: 22px; display: flex; flex-direction: column; gap: 14px; transition: transform .25s;
  background: color-mix(in srgb, var(--c) 8%, var(--card)); border: 1px solid color-mix(in srgb, var(--c) 22%, transparent); }
.uses-grid li:hover { transform: translateY(-3px); }
.use-head { display: flex; align-items: center; gap: 12px; }
.use-head h3 { margin: 0; font-size: 17px; }
.use-tag { display: inline-block; margin-top: 3px; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 600;
  color: color-mix(in srgb, var(--c) 75%, var(--ink)); background: color-mix(in srgb, var(--c) 16%, transparent); }
.uses-grid p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
@media (max-width: 960px) { .uses-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .uses-grid { grid-template-columns: 1fr; } }
.avatar { width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: color-mix(in srgb, var(--c) 22%, #fff); border: 2px solid color-mix(in srgb, var(--c) 45%, #fff); }
@media (max-width: 560px) { .langs-grid { gap: 22px 30px; } }

/* Why you can trust it: six even cards. */
.bento.trust { grid-template-columns: repeat(3, 1fr); }
.bento.trust .card h3 { margin-top: 4px; }
@media (max-width: 960px) { .bento.trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .bento.trust { grid-template-columns: 1fr; } }

/* Sponsor box under the price card. */
.sponsor { max-width: 980px; margin: 28px auto 0; display: flex; align-items: center; gap: 24px; padding: 24px 28px;
  border-radius: 24px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); }
.sponsor h3 { margin: 0 0 6px; font-size: 19px; }
.sponsor p { margin: 0; color: var(--muted); font-size: 14px; }
.sponsor-btns { display: flex; gap: 10px; flex: none; }
@media (max-width: 760px) { .sponsor { flex-direction: column; align-items: stretch; } .sponsor-btns { flex-wrap: wrap; } }

/* Help and press pages. */
.guide { max-width: 820px; margin: 0 auto; }
.guide h2 { font-size: 24px; margin: 44px 0 12px; letter-spacing: -.01em; }
.guide p, .guide li { color: var(--muted); }
.guide p a, .guide li a, .copy-line a { color: var(--blue); }
.guide ol, .guide ul { padding-left: 1.3em; display: grid; gap: 6px; }
.guide kbd, .guide code { background: var(--card); border: 1px solid var(--line); padding: 1px 7px; border-radius: 6px; font-size: 13px; font-family: inherit; }
.guide .toc { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 8px; padding: 0; list-style: none; }
.guide .toc a { display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 14px; color: inherit; text-decoration: none; }
.press-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 14px 0; }
.press-grid a { display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--card); text-decoration: none; color: var(--muted); font-size: 13px; text-align: center; }
.press-grid img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.press-grid span { display: block; padding: 7px 0; }
.press-grid a.icon img { object-fit: contain; padding: 18px; background: var(--bg); }
.copy-line { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); margin: 8px 0; }
.copy-line p { margin: 0; flex: 1; color: var(--text, inherit); }
@media (max-width: 700px) { .press-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- US: why the name, on the home page ---------- */
.us-card { position: relative; overflow: hidden; text-align: center; padding: clamp(36px, 6vw, 72px) clamp(20px, 5vw, 64px); border-radius: 36px;
  background: radial-gradient(120% 90% at 50% 0%, rgba(94, 92, 230, .14), transparent 60%), radial-gradient(80% 70% at 100% 100%, rgba(255, 55, 95, .10), transparent 60%), var(--card);
  border: 1px solid var(--line); box-shadow: var(--shadow); }
.us-word { font-size: clamp(56px, 11vw, 132px); font-weight: 800; letter-spacing: -.055em; line-height: 1; margin: 0 0 18px; user-select: none; white-space: nowrap;
  color: color-mix(in srgb, var(--ink) 22%, transparent); }
.us-word b { font-weight: 800; background: linear-gradient(90deg, #0a84ff, #5e5ce6 35%, #bf5af2 60%, #ff375f 85%, #ff9f0a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.us-card .title { margin-top: 14px; }
.us-card .desc { margin-left: auto; margin-right: auto; }
.us-ways { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; }
.us-ways li { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 22px; background: var(--bg); border: 1px solid var(--line); }
.us-ways .ic { font-size: 26px; line-height: 1; }
.us-ways h3 { margin: 6px 0 0; font-size: 18px; line-height: 1.3; letter-spacing: -.01em; }
.us-ways p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; flex: 1; }
.us-ways a, .us-foot a { color: var(--blue); font-weight: 600; font-size: 14px; }
.us-ways a:hover, .us-foot a:hover { text-decoration: underline; }
.us-foot { margin: 28px 0 0; font-size: 15px; color: var(--muted); }
.us-foot span { color: var(--ink); font-weight: 600; }
@media (max-width: 820px) { .us-ways { grid-template-columns: 1fr; } .us-card { border-radius: 28px; } }

/* ---------- the note before a link to GitHub is followed ---------- */
.gh-note { width: min(440px, calc(100vw - 32px)); padding: 28px 26px 24px; border: 1px solid var(--line); border-radius: 24px; background: var(--card); color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .28); }
.gh-note::backdrop { background: rgba(10, 12, 20, .45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.gh-note h3 { margin: 0 28px 10px 0; font-size: 19px; line-height: 1.35; letter-spacing: -.01em; }
.gh-note p { margin: 0 0 20px; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.gh-note .cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.gh-note .gh-x { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--bg); color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; }

@media (prefers-color-scheme: dark) {
  .ask-chips button { background: rgba(255, 255, 255, .05); }
}

/* footer: the brand on the left, three even columns on the right */
footer { padding: 56px 0 64px; }
footer .wrap { display: block; }
.foot-main { display: grid; grid-template-columns: 1fr 3fr; gap: 48px; align-items: start; }
.foot-brand .brand { font-size: 17px; }
.foot-brand p { margin: 14px 0 0; line-height: 1.7; font-size: 13px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.foot-cols h4 { margin: 0 0 14px; font-size: 13px; color: var(--ink); font-weight: 600; }
.foot-cols a { display: block; margin: 0 0 11px; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.foot-cols a:hover { color: var(--ink); }
.foot-cols a[hidden] { display: none; }
@media (max-width: 760px) { .foot-main { grid-template-columns: 1fr; gap: 32px; } .foot-cols { grid-template-columns: repeat(2, 1fr); } }

/* the AI conversation: a dialog that grows out of the question box */
.ask-log, .ask-note { display: none !important; }
.ask-modal { width: min(660px, calc(100vw - 28px)); height: min(700px, calc(100dvh - 48px)); max-width: none; max-height: none; padding: 0; border: 1px solid var(--line); border-radius: 28px; background: var(--card); color: var(--ink); box-shadow: 0 40px 120px rgba(0, 0, 0, .35); overflow: hidden; opacity: 0; transform: scale(.55); transition: opacity .3s ease, transform .45s cubic-bezier(.2, .9, .25, 1.05); }
.ask-modal[open] { display: flex; flex-direction: column; }
.ask-modal.in { opacity: 1; transform: none; }
.ask-modal::backdrop { background: rgba(8, 10, 20, .4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .35s; }
.ask-modal.in::backdrop { opacity: 1; }
.am-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 14px 22px; border-bottom: 1px solid var(--line); flex: none; }
.am-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: 16px; letter-spacing: -.01em; }
.am-title svg { width: 17px; height: 17px; color: var(--blue); }
.am-x { width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(120, 120, 128, .16); color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; }
.am-x:hover { background: rgba(120, 120, 128, .28); color: var(--ink); }
.am-log { flex: 1; min-height: 0; overflow-y: auto; padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.am-log p { margin: 0; padding: 11px 16px; border-radius: 20px; font-size: 15.5px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; max-width: 86%; animation: am-in .35s cubic-bezier(.2, .9, .3, 1.1); }
@keyframes am-in { from { opacity: 0; transform: translateY(8px) scale(.97); } }
.am-log .q { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.am-log .a { align-self: flex-start; background: var(--bg); border-bottom-left-radius: 6px; }
.am-log .a.wait { color: var(--muted); }
.am-form { flex: none; padding: 12px 18px 16px; border-top: 1px solid var(--line); }
.am-form .ask-box { box-shadow: none; background: var(--bg); }
.am-form .ask-box button:disabled { opacity: .35; pointer-events: none; }
.am-form input:disabled { opacity: .5; }
.am-note { margin: 9px 0 0; text-align: center; font-size: 11.5px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .ask-modal, .ask-modal::backdrop, .am-log p { transition-duration: .01s; animation: none; } }
@media (max-width: 560px) { .ask-modal { border-radius: 22px; height: calc(100dvh - 28px); } }

/* liquid glass: the dialog is a pane of glass over the blurred page */
.ask-modal { background: linear-gradient(145deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .34)); -webkit-backdrop-filter: blur(34px) saturate(1.9); backdrop-filter: blur(34px) saturate(1.9); border: 1px solid rgba(255, 255, 255, .55); box-shadow: 0 40px 110px rgba(10, 20, 60, .35), inset 0 1.5px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(255, 255, 255, .25), inset 0 0 30px rgba(255, 255, 255, .18); }
.ask-modal::backdrop { background: rgba(10, 14, 30, .28); }
.ask-modal .am-head, .ask-modal .am-form { border-color: rgba(255, 255, 255, .45); }
.am-x { background: rgba(255, 255, 255, .5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 1px 3px rgba(0, 0, 0, .1); }
.am-log .a { background: rgba(255, 255, 255, .62); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 2px 8px rgba(0, 0, 0, .06); }
.am-log .q { background: linear-gradient(180deg, #3d9bff, #0a7cff); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 3px 10px rgba(10, 124, 255, .35); }
.am-form .ask-box { background: rgba(255, 255, 255, .55); border-color: rgba(255, 255, 255, .7); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9); }
@media (prefers-color-scheme: dark) {
  .ask-modal { background: linear-gradient(145deg, rgba(60, 62, 74, .62), rgba(30, 32, 40, .42)); border-color: rgba(255, 255, 255, .16); box-shadow: 0 40px 110px rgba(0, 0, 0, .6), inset 0 1.5px 0 rgba(255, 255, 255, .22), inset 0 0 30px rgba(255, 255, 255, .05); }
  .ask-modal .am-head, .ask-modal .am-form { border-color: rgba(255, 255, 255, .12); }
  .am-x { background: rgba(255, 255, 255, .12); box-shadow: none; }
  .am-log .a { background: rgba(255, 255, 255, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15); }
  .am-form .ask-box { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .16); box-shadow: none; }
}

/* faces beside the words */
.am-row { display: flex; align-items: flex-end; gap: 10px; }
.am-row.me { flex-direction: row-reverse; align-self: flex-end; }
.am-row.ai { align-self: flex-start; }
.am-row p { max-width: min(86%, 440px); }
.am-av { width: 34px; height: 34px; flex: none; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .8), 0 3px 10px rgba(0, 0, 0, .15); background: #fff; }
.am-av img, .am-av svg { display: block; width: 100%; height: 100%; }
.am-av img { border-radius: 22%; box-shadow: none; }
.am-row.ai .am-av { border-radius: 22%; box-shadow: 0 3px 10px rgba(0, 0, 0, .18); background: none; }
.am-row { align-self: stretch !important; width: 100%; box-sizing: border-box; }
.am-row p { align-self: auto !important; max-width: min(calc(100% - 46px), 440px) !important; flex: 0 1 auto; min-width: 0; }

header.top { transition: transform .45s cubic-bezier(.3, .8, .2, 1), background .3s, border-color .3s; }
header.top.away { transform: translateY(-110%); }
