:root {
  color-scheme: light;
  --page-bg: #eaf2ff;
  --shell-bg: rgba(255, 255, 255, 0.69);
  --panel-bg: rgba(255, 255, 255, 0.9);
  --white: #ffffff;
  --ink: #092452;
  --muted: #6f82a8;
  --muted-deep: #52688f;
  --blue: #1683f5;
  --blue-deep: #0872e8;
  --blue-soft: #edf5ff;
  --line: #dceaff;
  --line-strong: #d2e5ff;
  --shadow-soft: 0 12px 34px rgba(57, 115, 194, 0.1);
  --shadow-panel: 0 17px 45px rgba(57, 115, 194, 0.12);
  --radius-lg: 20px;
  --radius-md: 14px;
  --content-gutter: clamp(48px, 5vw, 84px);
  --content-max: 1180px;
  --font-sans:
    "Inter", "Poppins", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

[id] {
  scroll-margin-top: 120px;
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  min-width: 0;
  background: var(--page-bg);
  color: var(--ink);
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(105, 158, 230, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(105, 158, 230, 0.075) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(
    to bottom,
    #000 0,
    rgba(0, 0, 0, 0.25) 60%,
    transparent 100%
  );
}

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

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

button {
  font: inherit;
}

.page-decor {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  color: rgba(41, 132, 236, 0.2);
}

.decor-star,
.decor-paw {
  position: absolute;
  opacity: 0.62;
  font-size: 22px;
}

.star-one {
  top: 17%;
  left: 8%;
  --float-rotate: -13deg;
  transform: rotate(-13deg);
}
.star-two {
  top: 33%;
  right: 7%;
  font-size: 18px;
}
.star-three {
  top: 72%;
  left: 17%;
  font-size: 16px;
}
.paw-one {
  top: 12%;
  right: 17%;
  font-size: 30px;
  opacity: 0.13;
  --float-rotate: 18deg;
  transform: rotate(18deg);
}
.paw-two {
  top: 76%;
  left: 3%;
  font-size: 29px;
  opacity: 0.11;
  --float-rotate: -22deg;
  transform: rotate(-22deg);
}

.decor-arc {
  position: absolute;
  border: 1px solid rgba(76, 150, 239, 0.15);
  border-radius: 50%;
}

.arc-one {
  width: 530px;
  height: 530px;
  top: -280px;
  right: -180px;
}
.arc-two {
  width: 710px;
  height: 710px;
  bottom: -500px;
  left: -280px;
}

.site-shell {
  position: relative;
  width: min(1560px, calc(100% - 30px));
  margin: 15px auto 28px;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 22px;
  background: var(--shell-bg);
  box-shadow: 0 16px 60px rgba(71, 127, 201, 0.1);
}

.topbar {
  position: relative;
  top: auto;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto minmax(230px, 1fr);
  align-items: center;
  width: 100%;
  margin-inline: auto;
  min-height: 80px;
  padding: 0 27px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: inset 0 -1px 0 rgba(216, 232, 252, 0.75);
  transition:
    width 240ms ease,
    min-height 240ms ease,
    border-radius 240ms ease,
    box-shadow 240ms ease,
    top 240ms ease,
    background-color 240ms ease;
}

@media (min-width: 821px) {
  .topbar {
    width: 100%;
    min-height: 82px;
  }

  .topbar.is-scrolled {
    position: sticky;
    top: 14px;
    width: min(calc(100% - 44px), 1280px);
    min-height: 62px;
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(44, 106, 186, 0.13);
    backdrop-filter: blur(18px);
  }

  .topbar.is-scrolled .brand-mark-frame {
    width: 38px;
    height: 38px;
  }

  .topbar.is-scrolled .brand-mark-frame img {
    width: 38px;
    height: 38px;
  }

  .topbar.is-scrolled .brand-name {
    font-size: 20px;
  }

  .topbar.is-scrolled .brand-tagline {
    font-size: 10px;
  }
}

@media (min-width: 1600px) {
  .topbar {
    width: 100%;
  }

  .topbar.is-scrolled {
    width: min(calc(100% - 96px), 1280px);
  }
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  width: max-content;
  gap: 11px;
}

.brand-mark-frame {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  overflow: hidden;
  border-radius: 11px;
  background: #f3f7fe;
}

.brand-mark-frame img {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: normal;
}

.brand-copy {
  display: grid;
  gap: 4px;
}

.brand-name {
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.brand-name strong {
  color: #4c6794;
  font-weight: 700;
}

.brand-tagline {
  color: #8ba0c4;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 12px;
  color: #304771;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--blue);
  background: #f1f7ff;
}

.nav-link.is-active {
  color: var(--blue);
  background: #eaf4ff;
}

.top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.icon-button {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.icon-button:hover,
.icon-button:focus-visible {
  background: #edf5ff;
  color: var(--blue);
  transform: translateY(-1px);
}

.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.theme-toggle {
  position: relative;
}

/* Sun/moon cross-fade instead of the abrupt display swap. */
.theme-toggle .icon {
  position: absolute;
  inset: 0;
  margin: auto;
  transition:
    opacity 320ms ease,
    transform 320ms ease;
}

.theme-toggle .icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-toggle .icon-moon {
  opacity: 0;
  transform: rotate(90deg) scale(0.55);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition:
    transform 170ms ease,
    box-shadow 170ms ease,
    background-color 170ms ease,
    border-color 170ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 21px rgba(22, 131, 245, 0.21);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 14px 26px rgba(22, 131, 245, 0.28);
}

.top-cta {
  width: 112px;
  min-height: 42px;
}

.mobile-menu,
.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 45% 55%;
  height: 638px;
  min-height: 638px;
  isolation: isolate;
}

.hero-copy {
  position: relative;
  z-index: 3;
  align-self: start;
  min-width: 0;
  padding: 192px 0 73px clamp(62px, 6.2vw, 80px);
}

.hero-title {
  display: flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 80px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.98;
  white-space: nowrap;
}

.hero-title strong {
  color: var(--blue);
  font-weight: 800;
}

.title-paw {
  width: 32px;
  height: 32px;
  margin: 20px 0 0 15px;
  fill: #8ec5ff;
  transform: rotate(-8deg);
}

.hero-subtitle {
  max-width: none;
  margin: 21px 0 0;
  color: #6f86ae;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
  white-space: nowrap;
}

.hero-description {
  margin: 24px 0 0;
  color: var(--muted-deep);
  font-size: 16.5px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 27px;
}

.download-cta,
.docs-cta {
  min-height: 57px;
  font-size: 15.5px;
}

.download-cta {
  width: 201px;
  gap: 10px;
}
.docs-cta {
  width: 216px;
}

.button-secondary {
  color: #3a5079;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 18px rgba(68, 126, 197, 0.06);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: #bcd9fb;
  background: #fff;
  box-shadow: 0 11px 22px rgba(68, 126, 197, 0.1);
}

.button-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.release-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  margin-top: 29px;
  padding: 0 14px;
  border: 1px solid #d9e8fc;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.64);
  color: #61769c;
  font-size: 12.5px;
  font-weight: 500;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.release-pill:hover,
.release-pill:focus-visible {
  border-color: #b9d8fa;
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

.release-spark {
  color: var(--blue);
  font-size: 15px;
}
.release-pill strong {
  color: var(--blue);
  font-weight: 800;
}
.release-dot {
  color: #8fb2df;
}

.hero-visual {
  position: relative;
  min-width: 0;
  overflow: visible;
  background: #f7f9fc;
}

.visual-grid {
  position: absolute;
  z-index: 0;
  top: 0;
  left: -11%;
  width: 58%;
  height: 100%;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(85, 157, 238, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85, 157, 238, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(90deg, transparent, #000 28%, transparent 90%);
}

.hero-visual::before {
  position: absolute;
  z-index: 0;
  top: -178px;
  left: -16%;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(73, 151, 239, 0.13);
  border-radius: 50%;
  content: "";
}

.hero-art {
  position: absolute;
  z-index: 1;
  top: 0;
  right: -1px;
  display: block;
  width: min(610px, 100%);
  height: 636px;
  max-width: none;
  object-fit: cover;
  object-position: center top;
  mix-blend-mode: multiply;
  mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 100%);
}

.visual-star {
  position: absolute;
  z-index: 2;
  color: rgba(61, 145, 239, 0.32);
  font-size: 18px;
}

.visual-star-a {
  top: 73px;
  right: 62px;
}
.visual-star-b {
  top: 418px;
  left: 30px;
  font-size: 14px;
}

.feature-panel {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  width: min(var(--content-max), calc(100% - (var(--content-gutter) * 2)));
  min-height: 121px;
  margin: 0 auto;
  padding: 20px 36px;
  border: 1px solid #d8e8fc;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.91);
  box-shadow: var(--shadow-panel);
}

.feature-item {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 11px;
  padding: 0 10px;
}

.feature-item + .feature-item {
  border-left: 0;
}

.feature-item img {
  display: block;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 16px;
}

.feature-item h2 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.1;
}

.feature-item p {
  margin: 0;
  color: #64799f;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.65;
}

.lower-panel {
  display: grid;
  grid-template-columns: 58% 42%;
  width: min(var(--content-max), calc(100% - (var(--content-gutter) * 2)));
  min-height: 310px;
  margin: 25px auto 37px;
  overflow: hidden;
  border: 1px solid #d8e8fc;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.promo-block {
  display: grid;
  grid-template-columns: 54% 46%;
  align-items: center;
  min-width: 0;
  padding: 12px 20px 12px 15px;
}

.promo-art-wrap {
  display: grid;
  min-width: 0;
  height: 285px;
  place-items: center;
  overflow: hidden;
  border-radius: 16px;
  background: #f2f6fe;
}

.promo-art {
  display: block;
  width: min(315px, 100%);
  height: 260px;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.promo-copy {
  align-self: center;
  padding: 0 5px 0 13px;
}

.promo-copy h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 27px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.24;
}

.promo-copy h2 span {
  color: #41608f;
}

.short-rule {
  display: block;
  width: 35px;
  height: 3px;
  margin: 17px 0 17px;
  border-radius: 99px;
  background: var(--blue);
}

.promo-copy p {
  margin: 0;
  color: #5c7198;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
}

.news-block {
  min-width: 0;
  padding: 28px 37px 24px 39px;
  border-left: 1px solid rgba(216, 232, 252, 0.8);
}

.news-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.news-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
}

.news-heading a,
.text-link {
  color: var(--blue);
  font-size: 12.5px;
  font-weight: 700;
}

.news-heading a:hover,
.news-heading a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--blue-deep);
  text-decoration: underline;
}

.news-list {
  display: grid;
  gap: 21px;
  margin-top: 28px;
}

.news-item {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  transition: transform 160ms ease;
}

.news-item:hover,
.news-item:focus-visible {
  transform: translateX(2px);
}

.news-bullet {
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: #54a6ff;
  box-shadow: 0 0 0 4px rgba(84, 166, 255, 0.08);
}

.news-content {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.news-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 9px;
  min-width: 0;
}

.news-title-row strong {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-title-row time {
  flex: 0 0 auto;
  color: #4a98f2;
  font-size: 12px;
  font-weight: 600;
}

.news-summary {
  color: #6f82a8;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.35;
}

.resource-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: min(var(--content-max), calc(100% - (var(--content-gutter) * 2)));
  margin: 58px auto 34px;
}

.resource-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  padding: 17px 20px;
  border: 1px solid rgba(216, 232, 252, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.66);
}

.resource-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  color: var(--blue);
  background: #edf5ff;
}

.resource-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.resource-card h2 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.resource-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(var(--content-max), calc(100% - (var(--content-gutter) * 2)));
  margin: 0 auto;
  padding: 0 0 25px;
  color: #89a0c5;
  font-size: 11.5px;
  font-weight: 500;
}

.site-footer > span:first-child {
  color: #5e78a5;
  font-weight: 800;
}
.site-footer a {
  color: var(--blue);
  font-weight: 700;
}
.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 1080px) {
  :root {
    --content-gutter: 35px;
  }
  .topbar {
    grid-template-columns: minmax(210px, 1fr) auto minmax(180px, 1fr);
    padding-inline: 20px;
  }
  .desktop-nav {
    gap: 4px;
  }
  .nav-link {
    padding-inline: 10px;
  }
  .hero-copy {
    padding-left: 58px;
  }
  .hero-title {
    font-size: 70px;
  }
  .feature-panel,
  .lower-panel,
  .resource-panel,
  .site-footer {
    width: calc(100% - (var(--content-gutter) * 2));
  }
  .feature-panel {
    padding-inline: 17px;
  }
  .feature-item {
    padding-inline: 10px;
    gap: 9px;
  }
  .news-block {
    padding-inline: 27px;
  }
}

@media (max-width: 820px) {
  :root {
    --content-gutter: 20px;
  }
  .site-shell {
    width: calc(100% - 20px);
    max-width: none;
    margin-top: 10px;
    border-radius: 18px;
  }
  .topbar {
    position: relative;
    top: auto;
    width: 100%;
    min-height: 68px;
    grid-template-columns: 1fr auto;
    border-radius: 16px;
  }
  .topbar.is-scrolled {
    position: sticky;
    top: 10px;
    width: calc(100% - 20px);
    min-height: 56px;
    border-radius: 14px;
    box-shadow: 0 9px 22px rgba(44, 106, 186, 0.12);
  }
  .brand-mark-frame {
    width: 40px;
    height: 40px;
  }
  .brand-mark-frame img {
    width: 40px;
    height: 40px;
  }
  .brand-name {
    font-size: 20px;
  }
  .brand-tagline {
    font-size: 11px;
  }
  .topbar.is-scrolled .brand-mark-frame {
    width: 34px;
    height: 34px;
  }
  .topbar.is-scrolled .brand-mark-frame img {
    width: 34px;
    height: 34px;
  }
  .topbar.is-scrolled .brand-name {
    font-size: 18px;
  }
  .desktop-nav,
  .top-actions .theme-toggle,
  .top-actions .github-link,
  .top-actions .top-cta {
    display: none;
  }
  .top-actions {
    gap: 2px;
  }
  .menu-toggle {
    display: inline-grid;
  }
  .mobile-menu {
    position: relative;
    z-index: 15;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    max-height: 0;
    padding: 0 18px;
    overflow: hidden;
    border-bottom: 1px solid transparent;
    background: rgba(255, 255, 255, 0.82);
    transition:
      max-height 220ms ease,
      padding 220ms ease,
      border-color 220ms ease;
  }
  .mobile-menu.is-open {
    max-height: 250px;
    padding: 11px 18px 16px;
    border-color: #e0edfd;
  }
  .mobile-nav-link {
    padding: 11px 12px;
    border-radius: 10px;
    color: #3d557c;
    font-size: 13px;
    font-weight: 700;
  }
  .mobile-nav-link.is-active,
  .mobile-nav-link:hover {
    color: var(--blue);
    background: #edf5ff;
  }
  .hero {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
  }
  .hero-copy {
    align-self: stretch;
    width: 100%;
    padding: 98px 34px 36px;
    text-align: center;
  }
  .hero-title {
    width: 100%;
    justify-content: center;
    font-size: 62px;
    letter-spacing: 0;
  }
  .title-paw {
    width: 26px;
    height: 26px;
    margin-top: 15px;
    margin-left: 9px;
  }
  .hero-subtitle {
    max-width: 540px;
    margin-inline: auto;
    font-size: 21px;
    white-space: normal;
  }
  .hero-description {
    font-size: 15px;
    line-height: 1.75;
  }
  .hero-actions {
    justify-content: center;
    gap: 11px;
  }
  .release-pill {
    margin-top: 22px;
  }
  .hero-visual {
    order: 2;
    min-height: 0;
    height: auto;
    aspect-ratio: 610 / 636;
    overflow: hidden;
  }
  .hero-art {
    position: relative;
    top: auto;
    right: auto;
    width: min(610px, 100%);
    height: auto;
    margin: 0 auto;
    transform: none;
    mask-image: none;
  }
  .visual-grid {
    left: 5%;
    width: 90%;
    height: 88%;
  }
  .feature-panel,
  .lower-panel,
  .resource-panel,
  .site-footer {
    width: calc(100% - (var(--content-gutter) * 2));
  }
  .feature-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 19px 6px;
    min-height: 0;
    padding: 21px 12px;
  }
  .feature-item {
    padding-inline: 8px;
  }
  .lower-panel {
    grid-template-columns: 1fr;
  }
  .promo-block {
    min-height: 300px;
    grid-template-columns: 48% 52%;
    padding-right: 16px;
  }
  .news-block {
    border-top: 1px solid rgba(216, 232, 252, 0.8);
    border-left: 0;
  }
  .resource-panel {
    grid-template-columns: 1fr;
  }
  .site-footer {
    flex-wrap: wrap;
    padding-bottom: 20px;
  }
}

@media (max-width: 540px) {
  :root {
    --content-gutter: 12px;
  }
  .site-shell {
    width: calc(100% - 16px);
    margin: 8px auto 20px;
  }
  .topbar {
    padding-inline: 13px;
  }
  .brand-lockup {
    gap: 8px;
  }
  .brand-mark-frame {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .brand-mark-frame img {
    width: 36px;
    height: 36px;
  }
  .brand-name {
    font-size: 18px;
  }
  .brand-tagline {
    font-size: 10px;
  }
  .hero-copy {
    padding: 72px 17px 29px;
  }
  .hero-title {
    font-size: 48px;
    letter-spacing: 0;
  }
  .title-paw {
    width: 22px;
    height: 22px;
    margin-left: 7px;
  }
  .hero-subtitle {
    margin-top: 17px;
    font-size: 17px;
  }
  .hero-description {
    margin-top: 18px;
    font-size: 14px;
  }
  .hero-description br {
    display: none;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 22px;
  }
  .download-cta,
  .docs-cta {
    width: 100%;
    min-height: 53px;
  }
  .release-pill {
    align-self: center;
    gap: 6px;
    margin-top: 18px;
    padding-inline: 11px;
    font-size: 11px;
  }
  .hero-visual {
    min-height: 0;
  }
  .hero-art {
    width: 100%;
    max-width: 610px;
  }
  .feature-panel,
  .lower-panel,
  .resource-panel,
  .site-footer {
    width: calc(100% - (var(--content-gutter) * 2));
  }
  .feature-panel {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 16px 13px;
  }
  .feature-item {
    justify-content: flex-start;
    padding: 0 5px;
  }
  .feature-item img {
    flex-basis: 58px;
    width: 58px;
    height: 58px;
  }
  .feature-item h2 {
    font-size: 14px;
  }
  .feature-item p {
    font-size: 12px;
  }
  .lower-panel {
    margin-top: 18px;
  }
  .promo-block {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 12px 15px 22px;
  }
  .promo-art-wrap {
    height: 220px;
  }
  .promo-art {
    width: 285px;
    height: 235px;
  }
  .promo-copy {
    padding: 9px 6px 0;
    text-align: center;
  }
  .promo-copy h2 {
    font-size: 25px;
  }
  .short-rule {
    margin: 13px auto;
  }
  .promo-copy p {
    font-size: 14px;
    line-height: 1.7;
  }
  .desktop-only {
    display: none;
  }
  .news-block {
    padding: 23px 17px 24px;
  }
  .news-list {
    gap: 18px;
    margin-top: 22px;
  }
  .news-title-row strong {
    font-size: 13px;
  }
  .news-summary {
    font-size: 12px;
  }
  .resource-card {
    grid-template-columns: 43px minmax(0, 1fr);
    gap: 11px;
    padding: 14px;
  }
  .resource-icon {
    width: 40px;
    height: 40px;
  }
  .resource-card .text-link {
    grid-column: 2;
    margin-top: -4px;
  }
  .site-footer {
    gap: 8px;
    font-size: 10.5px;
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 44px;
  }
  .title-paw {
    width: 19px;
    height: 19px;
    margin-left: 5px;
  }
}

@media (max-width: 300px) {
  .hero-title {
    font-size: 38px;
  }
  .title-paw {
    width: 17px;
    height: 17px;
    margin-left: 4px;
  }
}

/* Keep keyboard focus visible without introducing heavy outlines. */
:focus-visible {
  outline: 3px solid rgba(22, 131, 245, 0.28);
  outline-offset: 3px;
}

body.night-mode {
  --page-bg: #dceaff;
  --shell-bg: rgba(244, 249, 255, 0.78);
  --panel-bg: rgba(249, 252, 255, 0.95);
  --ink: #071d45;
  --muted: #62779f;
}

body.night-mode .theme-toggle .icon-sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0.55);
}
body.night-mode .theme-toggle .icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* ===== Download page ===== */

.download-hero {
  position: relative;
  width: min(var(--content-max), calc(100% - (var(--content-gutter) * 2)));
  margin: 0 auto;
  padding: 76px 0 0;
  text-align: center;
}

.download-title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(46px, 7vw, 76px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.02;
}

.download-title strong {
  color: var(--blue);
  font-weight: 800;
}

.download-subtitle {
  margin: 22px 0 0;
  color: #6f86ae;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
}

.download-description {
  max-width: 640px;
  margin: 18px auto 0;
  color: var(--muted-deep);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
}

.download-actions .button {
  min-height: 54px;
  padding-inline: 26px;
  font-size: 15px;
}

.download-actions .button-primary {
  gap: 9px;
}

.download-hero .release-pill {
  margin-top: 26px;
}

.checksum-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 28px;
  width: min(var(--content-max), calc(100% - (var(--content-gutter) * 2)));
  margin: 0 auto;
  padding: 24px 28px;
  border: 1px solid #d8e8fc;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.checksum-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.checksum-copy p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.checksum-box {
  display: grid;
  gap: 7px;
  min-width: 0;
  max-width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #f3f7fe;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.55;
}

.checksum-box code {
  font-family: inherit;
  white-space: normal;
  overflow-wrap: anywhere;
}

.checksum-hash {
  color: var(--muted-deep);
}

.download-info {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(0, 2fr);
  gap: 34px;
  width: min(var(--content-max), calc(100% - (var(--content-gutter) * 2)));
  margin: 25px auto 34px;
  padding: 28px 32px;
  border: 1px solid #d8e8fc;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.download-info h2 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}

.download-info .short-rule {
  margin: 14px 0 0;
}

.requirements-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.requirements-list li {
  position: relative;
  padding-left: 22px;
  color: #5c7198;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

.requirements-list li::before {
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #54a6ff;
  box-shadow: 0 0 0 4px rgba(84, 166, 255, 0.08);
  content: "";
}

.requirements-list strong {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 820px) {
  .download-hero {
    padding-top: 58px;
  }
  .download-title {
    font-size: 54px;
  }
  .checksum-panel {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .download-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .download-hero {
    padding-top: 42px;
  }
  .download-title {
    font-size: 40px;
  }
  .download-subtitle {
    margin-top: 17px;
    font-size: 17px;
  }
  .download-description {
    margin-top: 14px;
    font-size: 14px;
  }
  .download-description br {
    display: none;
  }
  .download-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 22px;
  }
  .download-actions .button {
    width: 100%;
  }
  .download-hero .release-pill {
    margin-top: 18px;
  }
  .checksum-panel {
    padding: 20px 18px;
  }
  .checksum-box {
    font-size: 11px;
  }
  .download-info {
    padding: 22px 18px;
  }
  .download-info h2 {
    font-size: 18px;
  }
  .requirements-list {
    grid-template-columns: 1fr;
    gap: 13px;
  }
}

/* ===== Download flavor picker ===== */

.flavor-picker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.flavor-label {
  color: #61769c;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

.flavor-select {
  appearance: none;
  -webkit-appearance: none;
  min-width: 224px;
  min-height: 44px;
  padding: 0 42px 0 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background-color: var(--panel-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231683f5' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.flavor-select:hover,
.flavor-select:focus-visible {
  border-color: #bcd9fb;
  background-color: var(--white);
  box-shadow: 0 8px 18px rgba(68, 126, 197, 0.08);
}

@media (max-width: 540px) {
  .flavor-picker {
    flex-direction: column;
    gap: 9px;
    width: 100%;
  }
  .flavor-select {
    width: 100%;
  }
}

/* ===== Devices page ===== */

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 20px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.back-link:hover,
.back-link:focus-visible {
  text-decoration: underline;
}

.device-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: min(var(--content-max), calc(100% - (var(--content-gutter) * 2)));
  margin: 26px auto 0;
}

.device-card {
  position: relative;
  min-height: 112px;
  padding: 20px 22px;
  border: 1px solid rgba(216, 232, 252, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  transition:
    transform 170ms ease,
    border-color 170ms ease,
    box-shadow 170ms ease;
}

.device-card:hover,
.device-card:focus-visible {
  border-color: #bcd9fb;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 26px rgba(44, 106, 186, 0.12);
  transform: translateY(-2px);
}

.device-card h3 {
  margin: 0 0 5px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.device-brand {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 12.5px;
  font-weight: 700;
}

.device-soc {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.device-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 9px;
  border-radius: 99px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.device-badge.is-official {
  color: var(--blue);
  background: var(--blue-soft);
}

.device-badge.is-community {
  color: #5c7198;
  background: #eef2f8;
}

.device-detail {
  display: grid;
  gap: 18px;
  width: min(var(--content-max), calc(100% - (var(--content-gutter) * 2)));
  margin: 25px auto 34px;
  padding: 26px 30px;
  border: 1px solid #d8e8fc;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.detail-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
}

.detail-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}

.detail-head h2 strong {
  color: var(--blue);
}

.detail-head .release-pill {
  margin-top: 0;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}

.detail-meta strong {
  color: var(--ink);
  font-weight: 700;
}

.detail-artifacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.detail-artifacts .button {
  gap: 8px;
  min-height: 48px;
  padding-inline: 20px;
  font-size: 14px;
}

.boot-img-link {
  font-size: 13px;
}

.detail-notes {
  display: grid;
  gap: 5px;
  padding-top: 2px;
  color: var(--muted-deep);
  font-size: 13px;
  font-weight: 500;
}

.detail-notes strong {
  color: var(--ink);
  font-weight: 700;
}

.state-note {
  grid-column: 1 / -1;
  padding: 36px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.5);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
}

.state-note.is-warning {
  border-style: solid;
  color: #6b84ad;
}

.state-note .retry-button {
  margin-top: 14px;
}

@media (max-width: 820px) {
  .device-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .device-card {
    padding: 18px 16px;
  }
  .device-detail {
    padding: 20px 18px;
  }
  .detail-head .release-pill {
    font-size: 11px;
  }
  .detail-meta {
    gap: 6px 14px;
  }
  .detail-artifacts {
    flex-direction: column;
    align-items: stretch;
  }
  .detail-artifacts .button {
    width: 100%;
  }
}

/* ===== Animations ===== */

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

@keyframes pageFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes floaty {
  from {
    transform: translateY(0) rotate(var(--float-rotate, 0deg));
  }
  to {
    transform: translateY(-12px) rotate(var(--float-rotate, 0deg));
  }
}

/* Soft page-level fade-in on load. */
body {
  animation: pageFade 0.3s ease both;
}

/* Floating page decorations. */
.decor-star,
.decor-paw,
.visual-star {
  animation: floaty 7s ease-in-out infinite alternate;
}

/* Scroll-reveal: hidden only when JS is present (html.js-reveal);
   .is-visible is added by the IntersectionObserver in script.js. */
html.js-reveal .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

html.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  --reveal-delay: 60ms;
}
.reveal-delay-2 {
  --reveal-delay: 140ms;
}
.reveal-delay-3 {
  --reveal-delay: 220ms;
}
.reveal-delay-4 {
  --reveal-delay: 300ms;
}
.reveal-delay-5 {
  --reveal-delay: 380ms;
}
.reveal-delay-6 {
  --reveal-delay: 460ms;
}

/* Stagger repeated cards/lists. */
.feature-item:nth-child(1) {
  --reveal-delay: 0ms;
}
.feature-item:nth-child(2) {
  --reveal-delay: 70ms;
}
.feature-item:nth-child(3) {
  --reveal-delay: 140ms;
}
.feature-item:nth-child(4) {
  --reveal-delay: 210ms;
}

.resource-card:nth-child(1) {
  --reveal-delay: 0ms;
}
.resource-card:nth-child(2) {
  --reveal-delay: 90ms;
}
.resource-card:nth-child(3) {
  --reveal-delay: 180ms;
}

/* Micro-interactions. */
.button:active {
  transform: translateY(0) scale(0.98);
  box-shadow: none;
}

.nav-link {
  position: relative;
}

.nav-link::after {
  position: absolute;
  right: 14px;
  bottom: 5px;
  left: 14px;
  height: 2px;
  border-radius: 99px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

/* Mobile menu links stagger in when the panel opens. */
.mobile-menu.is-open .mobile-nav-link {
  opacity: 0;
  animation: fadeUp 0.35s ease forwards;
}
.mobile-menu.is-open .mobile-nav-link:nth-child(1) {
  animation-delay: 40ms;
}
.mobile-menu.is-open .mobile-nav-link:nth-child(2) {
  animation-delay: 90ms;
}
.mobile-menu.is-open .mobile-nav-link:nth-child(3) {
  animation-delay: 140ms;
}
.mobile-menu.is-open .mobile-nav-link:nth-child(4) {
  animation-delay: 190ms;
}
.mobile-menu.is-open .mobile-nav-link:nth-child(5) {
  animation-delay: 240ms;
}

/* Dynamic elements (device page) animate in when inserted / shown. */
.device-card {
  animation: fadeUp 0.45s ease both;
}
.device-card:nth-child(1) {
  animation-delay: 30ms;
}
.device-card:nth-child(2) {
  animation-delay: 90ms;
}
.device-card:nth-child(3) {
  animation-delay: 150ms;
}
.device-card:nth-child(4) {
  animation-delay: 210ms;
}

.device-detail:not([hidden]) {
  animation: fadeUp 0.4s ease both;
}

.state-note {
  animation: fadeUp 0.35s ease both;
}

/* Respect reduced-motion preferences: kill animation, keep content visible. */
@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;
    transition-delay: 0ms !important;
  }

  html.js-reveal .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ===== Data management (admin.html) ===== */

.admin-panel {
  width: min(880px, 100%);
  margin: 0 auto 26px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel-bg);
  box-shadow: 0 18px 44px rgba(68, 126, 197, 0.08);
}

.admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.admin-heading {
  font-size: 18px;
}

.admin-subheading {
  margin: 22px 0 10px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-hint {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.admin-form {
  display: grid;
  gap: 14px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
}

.field input {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.field input:focus-visible {
  outline: none;
  border-color: #bcd9fb;
  box-shadow: 0 0 0 3px rgba(22, 131, 245, 0.14);
}

.field input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.field-note {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.field.check {
  align-content: end;
}

.check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.check-label input {
  width: 16px;
  height: 16px;
  min-height: 0;
  padding: 0;
  accent-color: var(--blue);
  cursor: pointer;
}

.admin-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.admin-list {
  display: grid;
  gap: 10px;
}

.admin-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.admin-row-main {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.admin-row-sub {
  display: block;
  width: 100%;
  font-size: 12.5px;
  color: var(--muted);
}

.admin-row-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-btn {
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
}

.button-danger {
  border: 1px solid rgba(255, 77, 109, 0.35);
  background: rgba(255, 77, 109, 0.08);
  color: #e5484d;
}

.button-danger:hover,
.button-danger:focus-visible {
  border-color: #ff4d6d;
  background: rgba(255, 77, 109, 0.14);
  color: #d9383d;
}

.admin-error {
  margin: 10px 0 0;
  padding: 10px 14px;
  border: 1px solid rgba(255, 77, 109, 0.35);
  border-radius: var(--radius-md);
  background: rgba(255, 77, 109, 0.07);
  color: #c7373c;
  font-size: 13px;
  font-weight: 600;
}

.admin-error.is-warning {
  border-color: #f0c36d;
  background: rgba(245, 181, 68, 0.1);
  color: #96630a;
}

.admin-error[hidden] {
  display: none;
}

@media (max-width: 820px) {
  .admin-panel {
    padding: 22px 18px;
  }
}

@media (max-width: 540px) {
  .admin-panel {
    padding: 18px 16px;
  }
  .field-grid {
    grid-template-columns: 1fr;
  }
  .admin-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .admin-row-actions {
    width: 100%;
  }
  .admin-row-actions .admin-btn {
    flex: 1;
  }
}

/* ===== Language switcher ===== */

.lang-select {
  appearance: none;
  -webkit-appearance: none;
  min-width: 76px;
  height: 36px;
  padding: 0 26px 0 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background-color: var(--panel-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231683f5' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.lang-select:hover,
.lang-select:focus-visible {
  border-color: #bcd9fb;
  background-color: var(--white);
  box-shadow: 0 8px 18px rgba(68, 126, 197, 0.08);
}

@media (max-width: 540px) {
  .lang-select {
    min-width: 68px;
    height: 34px;
    padding-right: 22px;
    font-size: 12px;
  }
}
