:root {
  --bg-main: #00113e;
  --bg-accent: #001d29;
  --ink: #ececec;
  --ink-soft: #b6b6b6;
  --line: #000072;
  --card: #000072;
  --primary: #0564a4;
  --primary-deep: #001d29;
  --secondary: #001d29;
  --warn-bg: #abac0d;
  --warn-ink: #00113e;
  --error: #ac0d0d;
  --ease-spring: cubic-bezier(0.22, 0.8, 0.18, 1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Avenir Next", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1100px 420px at 100% -20%, rgba(0, 115, 158, 0.34) 0%, transparent 72%),
    radial-gradient(860px 380px at -10% 110%, rgba(5, 101, 164, 0.28) 0%, transparent 70%),
    linear-gradient(155deg, var(--bg-main), var(--bg-accent));
}

.bg-shape {
  position: fixed;
  z-index: 0;
  border-radius: 999px;
  filter: blur(5px);
  opacity: 0.34;
  pointer-events: none;
  transition: transform 280ms var(--ease-spring), opacity 280ms ease;
}

.shape-a {
  width: 260px;
  height: 260px;
  top: 7%;
  right: -80px;
  background: linear-gradient(150deg, #00739e, #0565a4);
}

.shape-b {
  width: 230px;
  height: 230px;
  bottom: 8%;
  left: -82px;
  background: linear-gradient(150deg, #00726d, #0565a4);
}

.site-wrap {
  position: relative;
  z-index: 1;
  width: min(1040px, 92vw);
  margin: 0 auto;
  padding: 1.35rem 0 2rem;
}

.site-header {
  display: grid;
  gap: 0.85rem;
  opacity: 1;
  transform: none;
}

.brand {
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-block {
  display: grid;
  gap: 0.2rem;
}

.brand-version {
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 700;
}

.beta-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d4d58d;
  border-radius: 999px;
  padding: 0.12rem 0.42rem;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  line-height: 1;
  color: #f3f4b8;
  background: rgba(171, 172, 13, 0.22);
  font-weight: 800;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.header-links {
  display: grid;
  justify-items: end;
  gap: 0.32rem;
}

.projects-jump {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 700;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.36rem 0.66rem;
  background: rgba(0, 29, 41, 0.62);
  transition: transform 110ms var(--ease-spring), color 110ms ease, border-color 110ms ease;
}

.projects-jump:hover {
  color: var(--ink);
  border-color: var(--ink-soft);
  transform: translateY(-1px);
}

.source-jump {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.92;
  transition: color 110ms ease, opacity 110ms ease;
}

.source-jump:hover {
  color: var(--ink);
  opacity: 1;
}

.dev-link {
  text-transform: lowercase;
}

.dev-header-links {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.dev-copy-tabs {
  margin-top: 0.42rem;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  opacity: 1;
  transform: none;
}

.tab {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 700;
  background: var(--secondary);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.58rem 0.7rem;
  opacity: 1;
  transform: none;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.16);
  transition: transform 120ms var(--ease-spring), border-color 120ms ease, color 120ms ease, box-shadow 120ms ease;
}

.tab::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(236, 236, 236, 0.16), rgba(5, 100, 164, 0.2));
  opacity: 0;
  transition: opacity 120ms ease;
  z-index: -1;
}

.tab:hover {
  transform: translateY(-2px);
  border-color: var(--ink-soft);
  color: var(--ink);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
}

.tab:hover::before {
  opacity: 1;
}

.tab.is-active {
  color: var(--ink);
  border-color: transparent;
  background: linear-gradient(125deg, var(--primary), #00739e);
  box-shadow: 0 10px 18px rgba(5, 100, 164, 0.34);
}

.page-card {
  margin-top: 0.85rem;
  background: linear-gradient(165deg, var(--card), #005f63);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
  padding: clamp(1rem, 2.1vw, 1.4rem);
  opacity: 1;
  transform: none;
}

.page-card > * {
  opacity: 1;
  transform: none;
}

.page-card > *:nth-child(1) { animation-delay: 30ms; }
.page-card > *:nth-child(2) { animation-delay: 60ms; }
.page-card > *:nth-child(3) { animation-delay: 90ms; }
.page-card > *:nth-child(4) { animation-delay: 120ms; }
.page-card > *:nth-child(5) { animation-delay: 150ms; }
.page-card > *:nth-child(6) { animation-delay: 180ms; }

.page-intro h1,
.empty-panel h1 {
  margin: 0;
  font-family: "Gill Sans", "Avenir Next", sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  line-height: 1.06;
  color: var(--ink);
}

.page-intro p {
  margin: 0.45rem 0 0;
  color: var(--ink-soft);
}

.version-note {
  margin: 0.4rem 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
  font-weight: 700;
}

.beta-warning {
  margin: 0.65rem 0 0;
  padding: 0.56rem 0.7rem;
  border-radius: 10px;
  background: rgba(171, 172, 13, 0.2);
  border: 1px solid rgba(171, 172, 13, 0.45);
  color: #f3f4b8;
  font-size: 0.9rem;
}

input[type="password"],
input[type="text"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  background: var(--bg-accent);
  color: var(--ink);
  transition: transform 160ms var(--ease-spring), box-shadow 160ms ease, border-color 160ms ease;
}

.empty-panel {
  min-height: 280px;
  display: flex;
  align-items: flex-start;
}

.stacked-empty {
  flex-direction: column;
}

.empty-copy {
  margin: 0.8rem 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
  max-width: 760px;
  line-height: 1.5;
}

.home-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.info-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem;
  background: rgba(0, 29, 41, 0.78);
  box-shadow: 0 9px 18px rgba(0, 0, 0, 0.16);
}

.info-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.1rem;
}

.info-card p,
.info-card li {
  color: var(--ink-soft);
  line-height: 1.45;
}

.info-card ul,
.info-card ol {
  margin: 0.62rem 0 0;
  padding-left: 1.1rem;
}

.info-card pre {
  margin: 0.55rem 0 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  background: rgba(0, 17, 62, 0.75);
  overflow-x: auto;
}

.info-card code {
  color: #d8f4ff;
}

.hub-nav {
  margin-top: 1rem;
  display: flex;
  gap: 0.6rem;
}

.hub-section-title {
  font-size: 1rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 1.2rem 0 0.6rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--line);
}
.hub-section-title:first-child { margin-top: 0; }

.hub-back {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
}
.hub-back:hover { color: var(--ink); }

.project-tile-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 29, 41, 0.78);
  overflow: hidden;
}

.feature-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 1rem;
}

.feature-toggle-title {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
}

.feature-toggle-arrow {
  color: var(--ink-soft);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.feature-body {
  padding: 0 1rem 0.9rem;
  color: var(--ink-soft);
  font-size: 0.93rem;
  line-height: 1.55;
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
}

.blog-section {
  margin-top: 2rem;
}

.blog-header {
  font-size: 1.3rem;
  color: var(--ink);
  margin: 0 0 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--line);
}

.blog-post {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  background: rgba(0, 29, 41, 0.78);
  box-shadow: 0 9px 18px rgba(0, 0, 0, 0.16);
  margin-bottom: 0.7rem;
}

.blog-post h3 {
  margin: 0 0 0.45rem;
  color: var(--ink);
  font-size: 1rem;
}

.blog-post p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
  font-size: 0.93rem;
}

.muted-note {
  margin-top: 0.9rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.muted-note a {
  color: var(--ink-soft);
  text-decoration: none;
  margin-left: 0.4rem;
}

.muted-note a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.dev-badge {
  border-color: #2aa5d6;
  color: #d8f4ff;
  background: rgba(5, 101, 164, 0.28);
}

.dev-card {
  border-color: #2aa5d6;
}

.dev-banner {
  margin: 0 0 0.9rem;
  border: 1px solid rgba(42, 165, 214, 0.5);
  border-radius: 10px;
  padding: 0.5rem 0.66rem;
  color: #d8f4ff;
  background: rgba(5, 101, 164, 0.22);
  font-size: 0.86rem;
  font-weight: 700;
}

.dev-login-form {
  margin-top: 0.95rem;
  display: grid;
  gap: 0.7rem;
  max-width: 420px;
}

.dev-login-form label {
  color: var(--ink);
  font-weight: 700;
}

.dev-logout-form {
  margin: 0;
}

.dev-logout-btn {
  border: 0;
  background: none;
  cursor: pointer;
  padding: 0;
}

.dev-divider {
  margin: 1.05rem 0 1rem;
  border: 0;
  border-top: 1px solid rgba(42, 165, 214, 0.5);
}

.qa-template-block {
  margin-top: 1rem;
  width: min(700px, 100%);
}

.qa-dropdown {
  margin: 0;
  border: 0;
}

.qa-dropdown > summary {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  list-style: none;
  cursor: pointer;
  border: 0;
  border-radius: 18px;
  padding: 1.1rem 1.35rem;
  background: transparent;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 700;
  box-shadow: none;
  transition: color 320ms ease, transform 320ms var(--ease-spring), opacity 320ms ease;
}

.qa-dropdown > summary::-webkit-details-marker {
  display: none;
}

.qa-dropdown > summary::marker {
  content: "";
}

.qa-dropdown > summary::before {
  content: "\25B8";
  color: var(--ink-soft);
  transition: transform 280ms var(--ease-spring), color 220ms ease, opacity 220ms ease;
  opacity: 0.95;
}

.qa-dropdown > summary:hover {
  color: var(--ink);
  transform: translateY(-2px);
  opacity: 0.96;
}

.qa-dropdown > summary:hover::before {
  color: var(--ink);
}

.qa-dropdown[open] > summary {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  transform: translateY(-2px);
}

.qa-dropdown[open] > summary::before {
  transform: rotate(90deg);
  opacity: 1;
}

.qa-dropdown-content {
  border: 0;
  border-radius: 0 0 18px 18px;
  padding: 1.18rem 1.35rem;
  background: transparent;
  box-shadow: none;
}

.qa-dropdown > summary.qa-animate {
  animation: qaSummaryFadeIn 620ms var(--ease-spring);
}

.qa-dropdown-content.qa-animate {
  animation: qaDropFadeIn 860ms ease;
}

.qa-dropdown-content p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.03rem;
  line-height: 1.6;
}

.qa-dropdown-label {
  display: inline-block;
  background: linear-gradient(120deg, #ececec 0%, #6ab7ff 52%, #89e2d8 100%);
  background-size: 210% 210%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: qaLabelGradientShift 3s ease-in-out infinite;
}

.warning {
  margin: 0.9rem 0 0;
  padding: 0.56rem 0.7rem;
  border-radius: 10px;
  background: var(--warn-bg);
  color: var(--warn-ink);
  font-size: 0.9rem;
}

.warning.compact {
  margin-top: 0.6rem;
}

.demo-shell {
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
}

.field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  background: var(--bg-accent);
  color: var(--ink);
  transition: transform 160ms var(--ease-spring), box-shadow 160ms ease, border-color 160ms ease;
}

textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.45;
}

textarea:focus,
select:focus,
input[type="password"]:focus,
input[type="text"]:focus,
input[type="range"]:focus {
  outline: none;
  transform: translateY(-1px);
  border-color: var(--line);
  box-shadow: 0 0 0 3px rgba(0, 115, 158, 0.24);
}

.meta-row {
  margin-top: 0.4rem;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

#char-count.over {
  color: var(--error);
}

.controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

input[type="range"] {
  width: 100%;
}

.primary-btn,
.secondary-btn,
button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-block;
  text-decoration: none;
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  padding: 0.68rem 0.9rem;
  cursor: pointer;
  opacity: 1;
  transition: transform 110ms var(--ease-spring), box-shadow 110ms ease, filter 110ms ease;
}

.primary-btn {
  border: 0;
  background: linear-gradient(125deg, var(--primary), #00739e);
  color: var(--ink);
  box-shadow: 0 8px 16px rgba(5, 100, 164, 0.3);
}

.primary-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(125deg, var(--primary-deep), var(--primary));
  box-shadow: 0 14px 22px rgba(5, 100, 164, 0.38);
}

.secondary-btn {
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--secondary);
}

.secondary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.2);
}

.tab.is-pressed,
.primary-btn.is-pressed,
.secondary-btn.is-pressed,
button.is-pressed {
  transform: translateY(1px) scale(0.985) !important;
  filter: saturate(0.95);
}

.interaction-ripple {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(236, 236, 236, 0.45);
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
  animation: rippleBurst 520ms ease-out forwards;
  z-index: -1;
}

.status {
  margin: 0.3rem 0 0;
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 110ms ease, transform 110ms ease, opacity 110ms ease;
}

.status.idle {
  color: var(--ink-soft);
}

.status.loading {
  color: var(--line);
  animation: statusPulse 1s ease-in-out infinite;
}

.status.success {
  color: var(--primary);
}

.status.error {
  color: var(--error);
}

.loader {
  display: flex;
  gap: 0.3rem;
}

.loader span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--line);
  animation: bounce 860ms ease-in-out infinite;
}

.loader span:nth-child(2) { animation-delay: 110ms; }
.loader span:nth-child(3) { animation-delay: 220ms; }
.loader span:nth-child(4) { animation-delay: 330ms; }

.result {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.66rem;
  background: var(--bg-accent);
  transition: transform 110ms var(--ease-spring), opacity 110ms ease;
}

audio {
  width: 100%;
}

.hidden {
  display: none !important;
}

.download-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.hub-wrap {
  padding-top: 1.8rem;
}

.hub-header {
  gap: 0.55rem;
}

.hub-kicker {
  margin: 0;
  display: inline-block;
  width: fit-content;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: rgba(0, 29, 41, 0.52);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

.hub-title {
  margin: 0;
  font-size: clamp(1.8rem, 4.3vw, 2.7rem);
  line-height: 1.02;
}

.hub-copy {
  margin: 0;
  color: var(--ink-soft);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.project-tile {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  background: rgba(0, 29, 41, 0.72);
  transition: transform 110ms var(--ease-spring), box-shadow 110ms ease;
}

.project-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.22);
}

.project-tile h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.25rem;
}

.project-tile p {
  margin: 0.55rem 0 0;
  color: var(--ink-soft);
}

.project-tile-featured {
  background: linear-gradient(160deg, rgba(5, 100, 164, 0.35), rgba(0, 29, 41, 0.84));
}

.project-badges {
  margin-top: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.project-badge {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink-soft);
  background: rgba(0, 17, 62, 0.55);
}

.download-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem;
  background: rgba(0, 29, 41, 0.78);
  transition: transform 110ms var(--ease-spring), box-shadow 110ms ease;
}

.download-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

.download-card h2 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--ink);
}

.download-card p {
  margin: 0.55rem 0 0;
  color: var(--ink-soft);
}

.muted {
  font-size: 0.86rem;
}

body.is-ready .site-header {
  animation: pullInHeader 260ms var(--ease-spring) forwards;
}

body.is-ready .tabs {
  animation: navLiftIn 220ms var(--ease-spring) 20ms forwards;
}

body.is-ready .tab {
  animation: tabDropIn 220ms var(--ease-spring) forwards;
  animation-delay: calc(30ms + (var(--tab-index, 0) * 35ms));
}

body.is-ready .page-card {
  animation: riseInCard 300ms var(--ease-spring) 20ms forwards;
}

body.is-ready .page-card > * {
  animation: contentStagger 220ms var(--ease-spring) forwards;
}

body.is-transitioning .site-header,
body.is-transitioning .page-card,
body.is-transitioning .tabs,
body.is-transitioning .tab,
body.is-transitioning .page-card > * {
  animation: pageFadeOut 120ms ease forwards !important;
}

body.is-transitioning .bg-shape {
  transform: scale(1.06);
  opacity: 0;
}

@keyframes pullInHeader {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes navLiftIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tabDropIn {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes riseInCard {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes contentStagger {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rippleBurst {
  to {
    transform: translate(-50%, -50%) scale(22);
    opacity: 0;
  }
}

@keyframes qaDropFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes qaSummaryFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes qaLabelGradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes statusPulse {
  0%,
  100% {
    opacity: 0.76;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-1px);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.45;
  }
  50% {
    transform: translateY(-5px);
    opacity: 1;
  }
}

@keyframes pageFadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translateY(10px);
  }
}

@media (max-width: 760px) {
  .tabs,
  .controls,
  .download-grid,
  .projects-grid,
  .home-grid {
    grid-template-columns: 1fr;
  }

  .brand-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-links {
    justify-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .site-header,
  .tabs,
  .tab,
  .page-card,
  .page-card > * {
    opacity: 1 !important;
    transform: none !important;
  }
}

.coming-soon-btn {
  white-space: nowrap;
}

.coming-soon-btn.is-pressed {
  transform: translateY(1px) !important;
  filter: saturate(0.95);
}
