:root {
  color-scheme: light;
  --ink: #101114;
  --ink-soft: #55575e;
  --ink-faint: #777980;
  --paper: #f5f5f7;
  --paper-strong: #ffffff;
  --paper-muted: #ececf0;
  --line: #d8d8dd;
  --line-strong: #b9bac0;
  --black: #08090b;
  --black-soft: #121317;
  --black-line: #2b2c31;
  --white: #f8f8fa;
  --white-soft: #b8bac1;
  --mint: #7dd6c4;
  --mint-ink: #06362e;
  --peach: #ffa169;
  --blue: #7399ff;
  --amber: #f5aa3d;
  --red: #d93025;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --content: 1180px;
  --page-gutter: 32px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper-strong);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.dialog-open {
  overflow: hidden;
}

h1,
h2,
h3,
p,
ul,
dl,
dd {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  color: inherit;
  font: inherit;
  letter-spacing: 0;
}

button {
  border: 0;
  cursor: pointer;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

[hidden] {
  display: none !important;
}

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

::selection {
  color: var(--mint-ink);
  background: var(--mint);
}

.skip-link {
  position: fixed;
  z-index: 500;
  top: -90px;
  left: 16px;
  padding: 12px 18px;
  border-radius: 8px;
  color: #111;
  background: #fff;
  font-weight: 600;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  padding: 10px var(--page-gutter) 0;
  color: var(--white);
  transition:
    padding 220ms var(--ease),
    background-color 220ms ease;
}

.site-header.is-scrolled {
  padding-top: 6px;
}

.nav-shell {
  width: min(100%, var(--content));
  min-height: 52px;
  margin: 0 auto;
  padding: 6px 8px 6px 12px;
  display: flex;
  align-items: center;
  gap: 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    backdrop-filter 220ms ease;
}

.site-header.is-scrolled .nav-shell {
  border-color: rgb(255 255 255 / 0.12);
  background: rgb(14 15 18 / 0.76);
  box-shadow: 0 12px 38px rgb(0 0 0 / 0.24);
  -webkit-backdrop-filter: blur(22px) saturate(155%);
  backdrop-filter: blur(22px) saturate(155%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 650;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  min-height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  color: var(--white-soft);
  font-size: 13px;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.nav-links a:hover {
  color: #fff;
  background: rgb(255 255 255 / 0.07);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.github-link {
  min-height: 36px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 8px;
  color: var(--white-soft);
  font-size: 12px;
  font-weight: 600;
}

.github-link:hover {
  color: #fff;
  background: rgb(255 255 255 / 0.07);
}

.github-link svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.language-switch {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 8px;
  background: rgb(255 255 255 / 0.06);
}

.language-switch button {
  min-width: 42px;
  min-height: 32px;
  padding: 0 9px;
  border-radius: 6px;
  color: var(--white-soft);
  background: transparent;
  font-size: 12px;
  font-weight: 600;
}

.language-switch button[aria-pressed="true"] {
  color: #111;
  background: #fff;
}

.nav-download {
  min-height: 38px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  color: var(--mint-ink);
  background: var(--mint);
  font-size: 13px;
  font-weight: 650;
}

.button {
  position: relative;
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    opacity 160ms ease;
}

.button-badge {
  position: absolute;
  top: -9px;
  right: 12px;
  padding: 3px 7px;
  border-radius: 999px;
  color: var(--mint-ink);
  background: var(--mint);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-light {
  color: #0c0d0f;
  background: #fff;
}

.button-light:hover {
  background: #e9e9ed;
}

.button-dark {
  color: #fff;
  background: #1a1b20;
  border: 1px solid #303138;
}

.button-dark:hover {
  background: #25262c;
}

.button-ghost {
  color: #fff;
  background: transparent;
  border: 1px solid rgb(255 255 255 / 0.24);
}

.button-wide {
  width: 100%;
}

.hero {
  position: relative;
  padding: 152px var(--page-gutter) 0;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(100%, var(--content));
  height: 1px;
  background: rgb(255 255 255 / 0.08);
  transform: translateX(-50%);
}

.hero-copy {
  width: min(100%, var(--content));
  margin: 0 auto;
  padding-top: 18px;
  text-align: center;
}

.release-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--white-soft);
  font-size: 13px;
  font-weight: 550;
}

.release-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
}

.release-separator {
  color: #5d5f66;
}

.hero h1 {
  max-width: 920px;
  margin: 24px auto 0;
  color: #f9f9fb;
  font-size: 76px;
  font-weight: 650;
  line-height: 1.04;
}

.hero-lede {
  max-width: 680px;
  margin: 22px auto 0;
  color: #b9bbc2;
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.hero-actions [data-download-primary="mac"] {
  order: 1;
}

.hero-actions [data-download-primary="windows"] {
  order: 2;
}

.hero-actions.is-windows-first [data-download-primary="windows"] {
  order: 0;
}

.hero-note {
  margin-top: 16px;
  color: #6f7179;
  font-size: 12px;
}

.device-match {
  min-height: 22px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #999ba3;
  font-size: 12px;
}

.device-match-dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--mint);
}

.device-match.is-warning {
  color: var(--amber);
}

.device-match.is-warning .device-match-dot {
  background: var(--amber);
}

.hero-product {
  width: min(100%, 1180px);
  margin: 70px auto 0;
}

.product-frame {
  padding: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgb(0 0 0 / 0.16);
}

.product-frame img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  background: #121317;
}

.product-frame--hero {
  padding: 9px;
  border-color: #303138;
  background: #15161a;
  box-shadow: 0 30px 100px rgb(0 0 0 / 0.54);
}

.product-frame--hero img {
  border-radius: 4px;
}

.fact-row {
  width: min(100%, var(--content));
  margin: 72px auto 0;
  padding: 0 0 74px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgb(255 255 255 / 0.1);
}

.fact-row > div {
  padding: 30px 8px 0;
  display: grid;
  gap: 2px;
  text-align: center;
}

.fact-row > div + div {
  border-left: 1px solid rgb(255 255 255 / 0.1);
}

.fact-row strong {
  color: var(--mint);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
}

.fact-row span {
  color: #8d8f97;
  font-size: 12px;
}

.statement {
  padding: 128px var(--page-gutter);
  background: var(--paper-strong);
}

.statement-copy {
  max-width: 960px;
  margin: 0 auto;
  color: var(--ink);
  font-size: 50px;
  font-weight: 600;
  line-height: 1.18;
  text-align: center;
}

.feature {
  width: min(calc(100% - var(--page-gutter) * 2), var(--content));
  margin: 0 auto;
  padding: 112px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: 80px;
}

.feature--quota {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
}

.feature--custom {
  padding-top: 40px;
}

.feature-copy {
  max-width: 440px;
}

.feature-copy h2,
.download-heading h2,
.privacy-heading h2,
.faq-heading h2 {
  margin-top: 12px;
  color: var(--ink);
  font-size: 46px;
  font-weight: 650;
  line-height: 1.12;
}

.feature-copy > p:not(.section-kicker) {
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.75;
}

.section-kicker {
  color: #72747b;
  font-size: 12px;
  font-weight: 650;
}

.feature-list {
  margin-top: 30px;
  display: grid;
  gap: 14px;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 550;
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
}

.feature-visual {
  min-width: 0;
}

.feature-visual--island {
  padding: 54px 34px;
  background: var(--black);
  border-radius: 8px;
}

.feature-visual--island .product-frame {
  border-color: #282a30;
  background: #121317;
  box-shadow: 0 20px 70px rgb(0 0 0 / 0.46);
}

.visual-caption {
  margin-top: 14px;
  color: var(--ink-faint);
  font-size: 12px;
  text-align: center;
}

.feature-visual--island .visual-caption {
  color: #777a83;
}

.feature--quota {
  padding-top: 86px;
  padding-bottom: 86px;
}

.feature-visual--quota {
  padding: 24px;
  background: var(--black);
  border-radius: 8px;
}

.quota-demo {
  color: #fff;
  background: #050506;
  border: 1px solid #292a2f;
  border-radius: 22px;
  padding: 26px;
}

.quota-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid #24252a;
  font-size: 15px;
  font-weight: 600;
}

.sample-label {
  color: #7d7f87;
  font-size: 10px;
  font-weight: 500;
}

.quota-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 30px 0 24px;
}

.quota-item {
  display: grid;
  justify-items: center;
  text-align: center;
}

.quota-ring {
  --ring-color: var(--mint);
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--ring-color) calc(var(--value) * 1%), #25262a 0);
}

.quota-ring::before {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #050506;
}

.quota-ring > span {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 29px;
  font-weight: 650;
}

.quota-ring small {
  font-size: 14px;
}

.quota-ring--peach {
  --ring-color: var(--peach);
}

.quota-ring--blue {
  --ring-color: var(--blue);
}

.quota-item strong {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
}

.quota-item p {
  margin-top: 4px;
  color: #85878f;
  font-size: 10px;
}

.quota-pace {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  color: #898b93;
  font-size: 10px;
}

.quota-pace-line {
  position: relative;
  height: 4px;
  border-radius: 4px;
  background: #26272c;
}

.quota-pace-line i {
  position: absolute;
  top: -3px;
  left: 62%;
  width: 2px;
  height: 10px;
  background: #fff;
}

.quota-pace-value {
  color: var(--mint);
}

.download-section {
  width: min(calc(100% - var(--page-gutter) * 2), var(--content));
  margin: 64px auto 0;
  padding: 70px;
  color: var(--white);
  background: var(--black);
  border-radius: 8px;
}

.download-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.download-heading h2 {
  color: #fff;
}

.download-heading > p {
  max-width: 330px;
  color: #989aa2;
  font-size: 14px;
  line-height: 1.7;
}

.download-section .section-kicker {
  color: #85878f;
}

.platform-switch {
  margin-top: 42px;
  display: flex;
  gap: 3px;
  padding: 4px;
  border-radius: 10px;
  background: #15161a;
}

.platform-switch button {
  flex: 1;
  min-height: 58px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 7px;
  color: #9a9ca4;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
}

.platform-switch button small {
  color: #686a72;
  font-size: 10px;
  font-weight: 500;
}

.platform-switch button[aria-selected="true"] {
  color: #111;
  background: #fff;
}

.platform-switch button[aria-selected="true"] small {
  color: #5d5f65;
}

.download-panel {
  margin-top: 12px;
  padding: 38px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 48px;
  background: #101115;
  border: 1px solid #24252a;
  border-radius: 8px;
}

.download-platform {
  color: var(--mint);
  font-size: 13px;
  font-weight: 650;
}

.download-primary h3 {
  margin: 12px 0 28px;
  color: #fff;
  font-size: 21px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.download-details {
  display: grid;
  gap: 13px;
}

.download-details > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding-bottom: 13px;
  border-bottom: 1px solid #24252a;
}

.download-details > div:last-child {
  border-bottom: 0;
}

.download-details dt {
  color: #777981;
  font-size: 11px;
}

.download-details dd {
  color: #d9dae0;
  font-size: 12px;
  font-weight: 550;
  text-align: right;
}

.install-note {
  margin-top: 18px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #898b93;
  font-size: 12px;
}

.install-note svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 1px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

.privacy-section {
  width: min(calc(100% - var(--page-gutter) * 2), var(--content));
  margin: 0 auto;
  padding: 144px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 90px;
}

.privacy-heading {
  align-self: start;
  position: sticky;
  top: 110px;
}

.privacy-heading h2 {
  max-width: 360px;
}

.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 54px;
}

.privacy-grid h3 {
  font-size: 19px;
  font-weight: 650;
  line-height: 1.35;
}

.privacy-grid p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.faq-section {
  width: min(calc(100% - var(--page-gutter) * 2), var(--content));
  margin: 0 auto;
  padding: 112px 0 130px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 90px;
  border-top: 1px solid var(--line);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  min-height: 76px;
  padding: 23px 42px 20px 0;
  display: flex;
  align-items: center;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  color: var(--ink-faint);
  font-size: 22px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 66ch;
  padding: 0 42px 24px 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.closing {
  padding: 112px var(--page-gutter) 120px;
  display: grid;
  justify-items: center;
  text-align: center;
  background: #ececf0;
}

.closing img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
}

.closing h2 {
  margin-top: 22px;
  font-size: 48px;
  font-weight: 650;
  line-height: 1.15;
}

.closing p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 16px;
}

.closing .button {
  margin-top: 28px;
  color: #fff;
  background: #111216;
}

.closing .button:hover {
  background: #26272d;
}

.footer {
  width: 100%;
  padding: 0 var(--page-gutter);
  color: #fff;
  background: var(--black);
}

.footer-inner {
  width: min(100%, var(--content));
  margin-inline: auto;
  padding: 38px 0 42px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
}

.footer-brand img {
  border-radius: 7px;
}

.footer > p {
  color: #777981;
  font-size: 11px;
}

.footer-links a,
.footer-links button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  color: #a8aab1;
  background: none;
  font-size: 11px;
}

.footer-links a:hover,
.footer-links button:hover {
  color: #fff;
}

.dialog-backdrop {
  position: fixed;
  z-index: 300;
  inset: 0;
  padding: 24px;
  display: grid;
  place-items: center;
  background: rgb(0 0 0 / 0.64);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.admin-dialog {
  position: relative;
  width: min(100%, 720px);
  max-height: min(86dvh, 840px);
  padding: 36px;
  overflow-y: auto;
  border: 1px solid #33343a;
  border-radius: 10px;
  color: #f7f7f9;
  background: #101115;
  box-shadow: 0 32px 100px rgb(0 0 0 / 0.6);
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #aaa;
  background: #1b1c20;
}

.dialog-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.admin-mark {
  margin: 0 auto 18px;
  border-radius: 11px;
}

#admin-login-view {
  max-width: 380px;
  margin: 18px auto;
  text-align: center;
}

.admin-dialog h2 {
  color: #fff;
  font-size: 30px;
  font-weight: 650;
  line-height: 1.2;
}

.admin-lede {
  margin-top: 10px;
  color: #8f9199;
  font-size: 13px;
}

#admin-login-form {
  margin-top: 28px;
  display: grid;
  gap: 15px;
  text-align: left;
}

#admin-login-form label,
.admin-upload-field {
  display: grid;
  gap: 7px;
  color: #a8aab1;
  font-size: 12px;
}

#admin-login-form input,
.admin-upload-field input {
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid #33343a;
  border-radius: 8px;
  outline: 0;
  color: #fff;
  background: #191a1e;
  font-size: 14px;
}

#admin-login-form input:focus,
.admin-upload-field input:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgb(125 214 196 / 0.12);
}

.form-error {
  min-height: 18px;
  color: #ff8174;
  font-size: 12px;
}

.admin-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-right: 72px;
}

.admin-logout {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  color: #aaa;
  background: #1c1d21;
  font-size: 11px;
}

.admin-download-list {
  margin-top: 24px;
  display: grid;
  gap: 8px;
}

.admin-download-row {
  width: 100%;
  min-height: 62px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid #2c2d33;
  border-radius: 8px;
  color: #f0f0f3;
  background: #17181c;
  text-align: left;
}

.admin-download-row.is-selected {
  border-color: var(--mint);
  background: rgb(125 214 196 / 0.08);
}

.admin-download-row span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.admin-download-row strong {
  font-size: 13px;
  font-weight: 600;
}

.admin-download-row small {
  color: #80828a;
  font-size: 10px;
}

.admin-download-row em {
  color: var(--mint);
  font-size: 10px;
  font-style: normal;
  white-space: nowrap;
}

.admin-upload-field {
  margin-top: 20px;
}

.upload-actions {
  margin-top: 18px;
  display: flex;
  gap: 8px;
}

.upload-progress {
  margin-top: 20px;
}

.upload-progress-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #898b93;
  font-size: 10px;
}

.upload-track {
  height: 5px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 5px;
  background: #2a2b30;
}

.upload-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--mint);
  transition: width 140ms linear;
}

.toast {
  position: fixed;
  z-index: 400;
  left: 50%;
  bottom: 24px;
  max-width: min(calc(100% - 32px), 500px);
  padding: 12px 17px;
  border: 1px solid #34353b;
  border-radius: 8px;
  color: #fff;
  background: #18191d;
  box-shadow: 0 14px 44px rgb(0 0 0 / 0.3);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition:
    opacity 180ms ease,
    transform 220ms var(--ease);
  font-size: 12px;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 520ms ease,
    transform 620ms var(--ease);
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1040px) {
  .hero h1 {
    font-size: 64px;
  }

  .feature {
    gap: 52px;
  }

  .privacy-section,
  .faq-section {
    gap: 56px;
  }

  .download-section {
    padding: 54px;
  }
}

@media (max-width: 820px) {
  :root {
    --page-gutter: 20px;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
  }

  .hero {
    padding-top: 132px;
  }

  .hero h1 {
    max-width: 680px;
    font-size: 52px;
  }

  .hero-lede {
    font-size: 18px;
  }

  .hero-product {
    margin-top: 52px;
  }

  .statement {
    padding: 88px var(--page-gutter);
  }

  .statement-copy {
    font-size: 38px;
  }

  .feature,
  .feature--quota {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 80px 0;
  }

  .feature--quota .feature-visual {
    order: 2;
  }

  .feature-copy {
    max-width: 590px;
  }

  .feature-copy h2,
  .download-heading h2,
  .privacy-heading h2,
  .faq-heading h2 {
    font-size: 38px;
  }

  .feature--custom {
    padding-top: 20px;
  }

  .download-section {
    width: calc(100% - var(--page-gutter) * 2);
    margin-top: 48px;
    padding: 42px;
  }

  .download-heading {
    display: block;
  }

  .download-heading > p {
    margin-top: 16px;
  }

  .download-panel {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .privacy-section {
    grid-template-columns: 1fr;
    gap: 46px;
    padding: 96px 0;
  }

  .privacy-heading {
    position: static;
  }

  .faq-section {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 88px 0 100px;
  }

  .footer {
    padding-inline: var(--page-gutter);
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
  }

  .footer > p {
    display: none;
  }
}

@media (max-width: 600px) {
  html {
    scroll-padding-top: 76px;
  }

  .site-header {
    padding-top: 7px;
  }

  .nav-shell {
    min-height: 48px;
    padding: 4px 5px 4px 9px;
    gap: 10px;
    border-radius: 10px;
  }

  .brand {
    font-size: 13px;
  }

  .brand img {
    width: 27px;
    height: 27px;
  }

  .language-switch {
    padding: 2px;
  }

  .language-switch button {
    min-width: 35px;
    min-height: 30px;
    padding: 0 6px;
    font-size: 10px;
  }

  .github-link {
    width: 36px;
    padding: 0;
    justify-content: center;
  }

  .github-link span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .nav-download {
    display: none;
  }

  .hero {
    padding-top: 118px;
  }

  .release-line {
    flex-wrap: wrap;
    font-size: 11px;
  }

  .hero h1 {
    margin-top: 20px;
    font-size: 43px;
    line-height: 1.07;
  }

  .hero-lede {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.6;
  }

  .hero-actions {
    display: grid;
    margin-top: 28px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-product {
    margin-top: 44px;
    margin-inline: -12px;
  }

  .product-frame,
  .product-frame--hero {
    padding: 5px;
  }

  .fact-row {
    margin-top: 48px;
    padding-bottom: 52px;
  }

  .fact-row > div {
    padding: 22px 4px 0;
  }

  .fact-row strong {
    font-size: 26px;
  }

  .fact-row span {
    font-size: 9px;
    line-height: 1.4;
  }

  .statement {
    padding: 72px 20px;
  }

  .statement-copy {
    font-size: 31px;
    line-height: 1.22;
    text-align: left;
  }

  .feature,
  .feature--quota {
    padding: 66px 0;
    gap: 32px;
  }

  .feature-copy h2,
  .download-heading h2,
  .privacy-heading h2,
  .faq-heading h2 {
    font-size: 32px;
  }

  .feature-copy > p:not(.section-kicker) {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.7;
  }

  .feature-list {
    margin-top: 24px;
    gap: 11px;
  }

  .feature-visual--island {
    padding: 28px 10px;
  }

  .feature-visual--quota {
    padding: 10px;
  }

  .quota-demo {
    padding: 18px 14px;
    border-radius: 18px;
  }

  .quota-head {
    padding-bottom: 16px;
    font-size: 13px;
  }

  .quota-grid {
    gap: 6px;
    padding: 24px 0 18px;
  }

  .quota-ring {
    width: 84px;
    height: 84px;
  }

  .quota-ring::before {
    width: 64px;
    height: 64px;
  }

  .quota-ring > span {
    font-size: 20px;
  }

  .quota-ring small {
    font-size: 10px;
  }

  .quota-item strong {
    font-size: 11px;
  }

  .quota-item p {
    font-size: 8px;
  }

  .quota-pace {
    grid-template-columns: auto 1fr;
    font-size: 8px;
  }

  .quota-pace-value {
    display: none;
  }

  .download-section {
    margin: 34px auto 0;
    padding: 28px 18px;
  }

  .platform-switch {
    margin-top: 30px;
  }

  .platform-switch button {
    min-height: 56px;
    padding-inline: 5px;
    flex-direction: column;
    gap: 1px;
    font-size: 12px;
  }

  .download-panel {
    padding: 22px 18px;
    gap: 24px;
  }

  .download-primary h3 {
    margin-bottom: 22px;
    font-size: 17px;
  }

  .download-details > div {
    gap: 12px;
  }

  .download-details dd {
    max-width: 64%;
  }

  .privacy-section {
    padding: 78px 0;
  }

  .privacy-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .privacy-grid h3 {
    font-size: 17px;
  }

  .faq-section {
    padding: 70px 0 84px;
  }

  .faq-list summary {
    min-height: 68px;
    font-size: 14px;
  }

  .closing {
    padding: 78px 20px 86px;
  }

  .closing h2 {
    font-size: 36px;
  }

  .footer {
    padding-inline: 20px;
  }

  .footer-inner {
    padding: 30px 0 36px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 14px;
  }

  .dialog-backdrop {
    padding: 10px;
    align-items: end;
  }

  .admin-dialog {
    max-height: 92dvh;
    padding: 28px 20px 26px;
    border-radius: 12px 12px 8px 8px;
  }

  .admin-heading h2 {
    font-size: 26px;
  }

  .admin-download-row {
    align-items: flex-start;
  }

  .upload-actions {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .motion-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header.is-scrolled .nav-shell {
    background: #111216;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
