:root {
  color-scheme: light dark;
  --bg: #f2efea;
  --bg-raised: #faf8f4;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: #e8e3dc;
  --text: #171411;
  --text-soft: #625d57;
  --line: rgba(29, 24, 20, 0.13);
  --accent: #d94621;
  --accent-strong: #b72f12;
  --accent-soft: rgba(217, 70, 33, 0.13);
  --media-bg: #151311;
  --media-text: #f6f1eb;
  --shadow: 0 28px 80px rgba(74, 45, 30, 0.16);
  --radius: 24px;
  --shell: min(1180px, calc(100vw - 48px));
  --header-height: 76px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11100f;
    --bg-raised: #171513;
    --surface: rgba(28, 26, 24, 0.76);
    --surface-strong: #201e1b;
    --text: #f2eee8;
    --text-soft: #aaa39b;
    --line: rgba(242, 238, 232, 0.12);
    --accent: #ff6542;
    --accent-strong: #ff7b5c;
    --accent-soft: rgba(255, 101, 66, 0.14);
    --media-bg: #0d0c0b;
    --media-text: #f5f0e9;
    --shadow: 0 34px 100px rgba(2, 2, 2, 0.45);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 4%, var(--accent-soft), transparent 25rem),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

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

button {
  font: inherit;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}

.nav {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  font-size: 17px;
  font-weight: 720;
  letter-spacing: -0.03em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  box-shadow: 0 8px 24px rgba(255, 86, 52, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 620;
}

.nav-links a,
.footer-links a,
.text-link {
  transition: color 180ms ease;
}

.nav-links a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--accent);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--accent);
  color: #fffaf7;
  font-size: 15px;
  font-weight: 760;
  white-space: nowrap;
  box-shadow: 0 12px 30px var(--accent-soft);
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
  background: var(--accent-strong);
  transform: translateY(-2px);
}

.button:active {
  transform: scale(0.98);
}

.button-small {
  justify-self: end;
  min-height: 42px;
  padding-inline: 17px;
  border-radius: 12px;
  font-size: 13px;
}

.hero {
  min-height: calc(100dvh - var(--header-height));
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(440px, 1.16fr);
  align-items: center;
  gap: clamp(48px, 7vw, 110px);
  padding-block: clamp(56px, 8vh, 92px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.availability {
  width: fit-content;
  margin: 0 0 22px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--accent);
  background: var(--surface);
  font-size: 12px;
  font-weight: 740;
  letter-spacing: 0.04em;
}

.hero h1 {
  max-width: 9.5ch;
  margin: 0;
  font-size: clamp(50px, 5.9vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.075em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 20em;
  margin: 28px 0 0;
  color: var(--text-soft);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
}

.text-link {
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 700;
}

.text-link span {
  display: inline-block;
  margin-left: 6px;
}

.hero-visual {
  position: relative;
  height: min(76vh, 740px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  transform: rotate(1.4deg);
}

.hero-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.screen-glow {
  position: absolute;
  inset: -25%;
  z-index: -1;
  background: radial-gradient(circle, var(--accent-soft), transparent 64%);
  filter: blur(40px);
}

.floating-key {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(17, 16, 15, 0.78);
  color: #f5f0e9;
  font-size: 12px;
  font-weight: 680;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 16px 34px rgba(3, 3, 3, 0.25);
}

.floating-key kbd,
.shortcut kbd,
.key-grid kbd {
  display: inline-grid;
  min-width: 34px;
  min-height: 32px;
  place-items: center;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom-color: rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  font-family: inherit;
  font-size: 15px;
  font-weight: 760;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.floating-key-left {
  left: 20px;
  top: 32%;
}

.floating-key-right {
  right: 20px;
  top: 16%;
}

.capability-rail {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.capability-list {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 680;
  white-space: nowrap;
}

.lab-section {
  padding-block: clamp(100px, 12vw, 170px);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 44px;
}

.section-heading h2,
.extraction-copy h2,
.keyboard-title h2,
.download-card h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.065em;
}

.section-heading p,
.extraction-copy > p,
.keyboard-title p,
.download-card p {
  max-width: 32em;
  margin: 18px 0 0;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.7;
}

.media-lab {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
  background: var(--media-bg);
  color: var(--media-text);
  box-shadow: var(--shadow);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.media-lab:focus,
.media-lab.is-focused {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow);
}

.lab-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lab-header > div {
  display: grid;
  gap: 4px;
}

.lab-domain {
  color: rgba(245, 240, 233, 0.53);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 11px;
}

.lab-header strong {
  font-size: 17px;
}

.focus-state {
  padding: 8px 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(245, 240, 233, 0.68);
  font-size: 11px;
  font-weight: 720;
}

.media-lab.is-focused .focus-state {
  background: var(--accent);
  color: #fffaf7;
}

.lab-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px 300px;
  min-height: 580px;
}

.media-stage {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 101, 66, 0.15), transparent 40%),
    #080706;
}

.media-view {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.985);
  transition: opacity 240ms ease, transform 240ms ease;
}

.media-view.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.media-view video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-view > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.media-view[data-media-view="1"] > img {
  object-position: top center;
  background: #121110;
}

.media-view-icon > img {
  width: min(48%, 300px);
  height: auto;
  border-radius: 22%;
  box-shadow: 0 34px 90px rgba(255, 72, 45, 0.28);
}

.video-play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(17, 16, 15, 0.64);
  color: #fffaf7;
  cursor: pointer;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.video-play span {
  margin-left: 4px;
  font-size: 24px;
}

.media-position {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 8px 10px;
  border-radius: 9px;
  background: rgba(17, 16, 15, 0.68);
  color: rgba(245, 240, 233, 0.86);
  font-size: 11px;
  font-weight: 720;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.media-thumbnails {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 1px;
  border-inline: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.1);
}

.media-thumb {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border: 0;
  background: #171513;
  color: rgba(245, 240, 233, 0.72);
  cursor: pointer;
}

.media-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  pointer-events: none;
}

.media-thumb.is-active::after {
  border-color: var(--accent);
}

.media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.76;
}

.media-thumb span:last-child {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  padding: 6px;
  border-radius: 7px;
  background: rgba(8, 7, 6, 0.68);
  font-size: 10px;
  font-weight: 720;
}

.thumb-video {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 101, 66, 0.7), transparent 13%),
    linear-gradient(145deg, #2a1b18, #0d0c0b);
  color: #fffaf7;
  font-size: 22px;
}

.key-console {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #151311;
}

.console-status {
  min-height: 48px;
  margin: 0 0 24px;
  color: #fffaf7;
  font-size: 20px;
  font-weight: 720;
  letter-spacing: -0.035em;
}

.key-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.key-grid button {
  min-height: 88px;
  display: grid;
  place-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  color: #f5f0e9;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.key-grid button:hover,
.key-grid button:focus-visible {
  border-color: rgba(255, 101, 66, 0.7);
  background: rgba(255, 101, 66, 0.12);
}

.key-grid button:active {
  transform: scale(0.97);
}

.key-grid button span {
  color: rgba(245, 240, 233, 0.52);
  font-size: 10px;
  font-weight: 700;
}

.key-grid kbd {
  min-width: 42px;
  min-height: 30px;
  font-size: 12px;
}

.volume-readout {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 24px;
  color: rgba(245, 240, 233, 0.52);
  font-size: 12px;
  font-weight: 700;
}

.volume-readout output {
  color: var(--accent);
}

.extraction-section {
  padding-block: clamp(100px, 12vw, 170px);
  background: var(--bg-raised);
}

.extraction-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(430px, 1.16fr);
  align-items: center;
  gap: clamp(54px, 8vw, 120px);
}

.feature-lines {
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
}

.feature-lines li {
  display: grid;
  gap: 7px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.feature-lines strong {
  font-size: 17px;
}

.feature-lines span {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
}

.extraction-window {
  height: 650px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #151311;
  box-shadow: var(--shadow);
}

.extraction-window img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
}

.keyboard-section {
  padding-block: clamp(100px, 12vw, 170px);
}

.keyboard-title {
  max-width: 680px;
  margin-bottom: 48px;
}

.shortcut-map {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr 1fr;
  gap: 16px;
}

.shortcut {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.shortcut-wide {
  grid-row: span 2;
  min-height: 476px;
  background:
    radial-gradient(circle at 20% 18%, var(--accent-soft), transparent 44%),
    var(--surface);
}

.shortcut-accent {
  background: var(--accent);
  color: #fffaf7;
}

.shortcut strong {
  font-size: 22px;
  letter-spacing: -0.035em;
}

.shortcut > span {
  max-width: 24em;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
}

.shortcut-accent > span {
  color: rgba(255, 250, 247, 0.76);
}

.shortcut-keys {
  display: flex;
  gap: 8px;
  margin-bottom: auto;
}

.shortcut kbd {
  border-color: var(--line);
  border-bottom-color: var(--line);
  background: var(--surface-strong);
  color: inherit;
}

.shortcut-accent kbd {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.14);
}

.download-section {
  padding-bottom: clamp(100px, 12vw, 160px);
}

.download-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  padding: clamp(32px, 5vw, 64px);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 9% 15%, rgba(255, 105, 54, 0.3), transparent 28%),
    #151311;
  color: #f5f0e9;
  box-shadow: var(--shadow);
}

.download-card > img {
  width: 124px;
  height: 124px;
  border-radius: 28px;
  box-shadow: 0 24px 55px rgba(255, 74, 42, 0.22);
}

.download-card h2 {
  max-width: 11em;
  font-size: clamp(34px, 4.2vw, 56px);
}

.download-card p {
  color: rgba(245, 240, 233, 0.6);
}

.button-download {
  min-width: 185px;
  min-height: 64px;
  display: grid;
  justify-items: start;
  gap: 1px;
  padding: 10px 20px;
  background: #f5f0e9;
  color: #151311;
  box-shadow: none;
}

.button-download:hover {
  background: #fffaf7;
}

.button-download span:last-child {
  font-size: 20px;
}

.button-overline {
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-grid {
  min-height: 170px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 34px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

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

.footer-brand div {
  display: grid;
  gap: 3px;
}

.footer-brand span,
.footer-grid > p {
  color: var(--text-soft);
  font-size: 12px;
}

.footer-links {
  display: flex;
  gap: 24px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 650;
}

.footer-grid > p {
  justify-self: end;
}

.content-page {
  padding-block: 72px 120px;
}

.content-page article {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 60px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.content-page h1 {
  margin: 0 0 20px;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.03;
  letter-spacing: -0.06em;
}

.content-page h2 {
  margin: 48px 0 14px;
  font-size: 25px;
  letter-spacing: -0.035em;
}

.content-page h3 {
  margin: 28px 0 8px;
  font-size: 18px;
}

.content-page p,
.content-page li {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.8;
}

.content-page a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-page .lead {
  font-size: 19px;
}

.content-page .notice {
  margin-top: 44px;
  padding: 22px;
  border-radius: 16px;
  background: var(--accent-soft);
}

@media (max-width: 980px) {
  :root {
    --shell: min(100% - 36px, 760px);
  }

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

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 52px;
    padding-top: 64px;
  }

  .hero h1 {
    max-width: 10ch;
  }

  .hero-visual {
    height: min(760px, 86vw);
    transform: none;
  }

  .lab-content {
    grid-template-columns: minmax(0, 1fr) 120px;
  }

  .media-stage {
    min-height: 520px;
  }

  .key-console {
    grid-column: 1 / -1;
  }

  .key-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .volume-readout {
    margin-top: 24px;
  }

  .extraction-layout {
    grid-template-columns: 1fr;
  }

  .extraction-window {
    height: min(700px, 94vw);
  }

  .shortcut-map {
    grid-template-columns: 1fr 1fr;
  }

  .shortcut-wide {
    grid-row: auto;
    grid-column: 1 / -1;
    min-height: 320px;
  }

  .download-card {
    grid-template-columns: auto 1fr;
  }

  .button-download {
    grid-column: 1 / -1;
    width: fit-content;
  }

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

  .footer-grid > p {
    grid-column: 1 / -1;
    justify-self: start;
    margin: 0 0 30px;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: calc(100% - 28px);
    --header-height: 68px;
    --radius: 18px;
  }

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

  .brand span {
    font-size: 15px;
  }

  .button-small {
    min-height: 40px;
    padding-inline: 13px;
    font-size: 12px;
  }

  .hero {
    padding-block: 46px 64px;
  }

  .hero h1 {
    max-width: 9.5ch;
    font-size: clamp(44px, 14vw, 62px);
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .hero-visual {
    height: 116vw;
    max-height: 650px;
  }

  .floating-key {
    display: none;
  }

  .capability-list {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .lab-section,
  .extraction-section,
  .keyboard-section {
    padding-block: 88px;
  }

  .section-heading h2,
  .extraction-copy h2,
  .keyboard-title h2,
  .download-card h2 {
    font-size: 40px;
  }

  .lab-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .lab-content {
    grid-template-columns: 1fr;
  }

  .media-stage {
    min-height: 430px;
  }

  .media-thumbnails {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 108px;
    border-inline: 0;
    border-block: 1px solid rgba(255, 255, 255, 0.1);
  }

  .key-console {
    grid-column: auto;
    padding: 20px;
  }

  .key-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .extraction-window {
    height: 118vw;
    max-height: 650px;
  }

  .shortcut-map {
    grid-template-columns: 1fr;
  }

  .shortcut-wide {
    grid-column: auto;
    min-height: 260px;
  }

  .shortcut {
    min-height: 210px;
  }

  .download-card {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .download-card > img {
    width: 92px;
    height: 92px;
    border-radius: 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    align-items: start;
    padding-block: 44px;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .footer-grid > p {
    grid-column: auto;
    margin: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy {
    animation: enter-up 720ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .hero-visual {
    animation: enter-visual 880ms 80ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .floating-key-left {
    animation: float-key 4.5s 1s ease-in-out infinite;
  }

  .floating-key-right {
    animation: float-key 5s 1.4s ease-in-out infinite reverse;
  }

  @keyframes enter-up {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes enter-visual {
    from { opacity: 0; transform: translateY(32px) rotate(3deg) scale(0.98); }
    to { opacity: 1; transform: rotate(1.4deg) scale(1); }
  }

  @keyframes float-key {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
  }
}

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

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

@media (prefers-reduced-transparency: reduce) {
  .site-header,
  .floating-key,
  .media-position {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-header {
    background: var(--bg);
  }
}
