/* GW3JVB Software site CSS - install guide button reset 2026-08-14 */

:root {
  --bg: #f5fbfb;
  --ink: #24313a;
  --muted: #60717b;
  --teal: #10bfb3;
  --teal-dark: #087f78;
  --blue: #1699f2;
  --navy: #071624;
  --card: rgba(255,255,255,0.84);
  --line: rgba(8,127,120,0.18);
  --shadow: 0 18px 45px rgba(15,42,55,0.14);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(16,191,179,0.18), transparent 34rem),
    radial-gradient(circle at top right, rgba(22,153,242,0.14), transparent 36rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 48%, #ffffff 100%);
}

a { color: inherit; }

.site {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  padding: 12px 0;
  background: rgba(255,255,255,0.78);
  border-bottom: 1px solid rgba(8,127,120,0.16);
  box-shadow: 0 8px 28px rgba(15,42,55,0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background-color 180ms ease, box-shadow 180ms ease, border-color 180ms ease, padding 180ms ease;
}

header.is-stuck {
  padding: 8px 0;
  background: rgba(255,255,255,0.94);
  border-bottom-color: rgba(8,127,120,0.28);
  box-shadow: 0 14px 36px rgba(15,42,55,0.16);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 6px 0;
  transition: padding 180ms ease;
}

header.is-stuck .topbar {
  padding: 4px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: 0.01em;
}

.mark {
  display: grid;
  place-items: center;
  min-width: 72px;
  height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), #0d3e51);
  color: #fff;
  box-shadow: 0 10px 22px rgba(7,22,36,0.22);
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

header.is-stuck .mark {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(7,22,36,0.28);
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
  padding: 9px 12px;
  border-radius: 999px;
  transition: background-color 160ms ease, color 160ms ease;
}

nav a:hover,
nav a:focus {
  color: var(--teal-dark);
  background: rgba(16,191,179,0.11);
}

header.is-stuck nav a {
  background: rgba(16,191,179,0.07);
}

header.is-stuck nav a:hover,
header.is-stuck nav a:focus {
  background: rgba(16,191,179,0.16);
}

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

.app-shortcuts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  padding: 22px 0 4px;
}

.mini-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 112px;
  padding: 15px;
  overflow: hidden;
  isolation: isolate;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid rgba(8,127,120,0.16);
  border-radius: 14px;
  background: rgba(255,255,255,0.76);
  box-shadow: 0 10px 24px rgba(15,42,55,0.08);
  backdrop-filter: blur(12px);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.mini-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(220px circle at var(--mouse-x, 88%) var(--mouse-y, 18%), rgba(16,191,179,0.20), transparent 11rem),
    linear-gradient(135deg, rgba(22,153,242,0.07), transparent 58%);
  opacity: 0;
  transition: opacity 160ms ease;
}

.mini-card:hover,
.mini-card:focus {
  transform: translateY(-3px);
  border-color: rgba(16,191,179,0.44);
  box-shadow: 0 16px 34px rgba(15,42,55,0.14);
}

.mini-card:hover::before,
.mini-card:focus::before {
  opacity: 1;
}

.mini-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  color: #eaf4fb;
  background:
    radial-gradient(circle at 28% 20%, rgba(127,211,255,0.55), transparent 42%),
    linear-gradient(135deg, #071624, #0d3343);
  border: 1px solid rgba(127,211,255,0.26);
  box-shadow: 0 12px 22px rgba(15,42,55,0.14);
  font-size: 15px;
  font-weight: 950;
  letter-spacing: 0;
}

.mini-icon-image {
  overflow: hidden;
  padding: 0;
  background: #071624;
}

.mini-icon-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.mini-icon-hambands {
  background: linear-gradient(145deg, #126c6a, #223c50);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 10px 25px rgba(18,108,106,0.24);
  font-size: 28px;
  font-weight: 750;
}

.mini-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.mini-copy span {
  align-self: start;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mini-copy strong {
  color: #14212a;
  font-size: 18px;
  line-height: 1.12;
}

.mini-copy small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.mini-card-featured {
  background: rgba(255,255,255,0.76);
  border-color: rgba(8,127,120,0.16);
}

.mini-card-featured .mini-icon {
  background:
    radial-gradient(circle at 30% 18%, rgba(31,214,203,0.62), transparent 42%),
    linear-gradient(135deg, #071624, #0d3343);
}

.mini-card-featured .mini-copy span {
  color: var(--teal-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: 34px;
  align-items: start;
  padding: 34px 0 38px;
}

.home .hero {
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  padding-top: 34px;
}

.kicker {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}

h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: #14212a;
}

.project-title {
  display: flex;
  align-items: center;
  gap: 16px;
}

.project-title img {
  flex: 0 0 auto;
  width: clamp(58px, 7vw, 86px);
  height: auto;
  filter: drop-shadow(0 9px 14px rgba(15,42,55,0.16));
}

.project-title h1 {
  min-width: 0;
}

.home h1 {
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.96;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #14212a;
}

h3 {
  margin: 0 0 8px;
  font-size: 24px;
  color: #14212a;
}

p {
  color: #536a75;
  line-height: 1.6;
}

.hero p {
  color: #4e636e;
  line-height: 1.55;
}

.home .hero > div > p:not(.kicker) {
  margin: 22px 0 0;
  font-size: clamp(18px, 2vw, 22px);
  max-width: 680px;
}

.lead {
  margin: 22px 0 0;
  color: #4e636e;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.latest {
  display: inline-block;
  margin: 20px 0 0;
  padding: 8px 12px;
  color: var(--teal-dark);
  background: rgba(16,191,179,0.12);
  border: 1px solid rgba(16,191,179,0.35);
  border-radius: 6px;
  font-size: 17px;
  font-weight: 850;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.install-actions {
  margin-top: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 850;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15,42,55,0.18);
}

.button.primary {
  background: var(--teal);
  color: #fff;
}

.button.primary:hover,
.button.primary:focus {
  background: #0aa89e;
}

.button.secondary {
  background: #fff;
  color: var(--teal-dark);
  border-color: rgba(8,127,120,0.24);
}

.button.secondary:hover,
.button.secondary:focus {
  border-color: var(--teal);
  background: rgba(16,191,179,0.08);
}

.button.paypal { background: #0070ba; color: #fff; }
.button.paypal:hover, .button.paypal:focus { background: #005ea6; }
.button.coffee { background: #ffdd00; color: #111; border-color: #e5c600; }
.button.coffee:hover, .button.coffee:focus { background: #f1cc00; }
.button.discord { background: #5865f2; color: #fff; }
.button.discord:hover, .button.discord:focus { background: #4752c4; }

.hero-panel,
.hero-card,
.image-card,
.card {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.78);
  box-shadow: var(--shadow);
}

.hero-panel,
.hero-card {
  padding: 22px;
  border-radius: 24px;
}

.hero-panel {
  position: relative;
  background: rgba(255,255,255,0.66);
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16,191,179,0.14), rgba(22,153,242,0.07));
  pointer-events: none;
}

.about-card {
  margin-top: 24px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(8,127,120,0.18);
  box-shadow: 0 12px 26px rgba(15,42,55,0.08);
}

.about-card h2 {
  margin: 0 0 8px;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.about-card p {
  margin: 0;
  color: #526873;
  font-size: 16px;
  line-height: 1.58;
}

.hero-image,
.hero-card img,
.image-card img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(8,127,120,0.2);
  box-shadow: 0 18px 36px rgba(7,22,36,0.2);
}

.hero-card img,
.image-card img {
  border-radius: 14px;
  box-shadow: 0 12px 26px rgba(15,42,55,0.12);
}

.tkb-tall-screenshot > img,
img.tkb-tall-screenshot {
  width: auto;
  max-width: 100%;
  max-height: 720px;
  margin-inline: auto;
}

.rigone-main-preview > img {
  width: auto;
  max-width: 100%;
  max-height: 720px;
  margin-inline: auto;
}

.rigone-settings-split {
  margin-top: 32px;
}

.rigone-compact-preview {
  display: grid;
  place-items: center;
}

.rigone-compact-preview img {
  width: auto;
  max-width: 100%;
  max-height: 640px;
}

.rigone-meter-gallery {
  margin-top: 32px;
}

.logo-panel {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 34px;
  border-radius: 16px;
  background:
    radial-gradient(circle at top left, rgba(16,191,179,0.2), transparent 24rem),
    linear-gradient(135deg, #071624, #0d3343);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 12px 26px rgba(15,42,55,0.12);
}

.logo-panel img {
  max-width: min(360px, 88%);
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.quick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.quick div {
  padding: 12px;
  border-radius: 12px;
  background: rgba(16,191,179,0.09);
  border: 1px solid rgba(8,127,120,0.14);
}

.quick strong,
.quick span {
  display: block;
}

.quick strong {
  color: #14212a;
  font-size: 14px;
}

.quick span {
  margin-top: 4px;
  color: #5b707a;
  font-size: 13px;
  line-height: 1.4;
}

section { padding: 38px 0; }

.project-page section {
  padding: 44px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.project-page .section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.55fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 24px;
}

.section-head p {
  margin: 0;
  max-width: 540px;
  color: var(--muted);
  line-height: 1.55;
}

.project-page .section-head p {
  max-width: none;
  font-size: 17px;
}

.cards,
.grid {
  display: grid;
  gap: 18px;
}

.cards {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

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

.project-page .grid {
  align-items: flex-start;
}

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

.card {
  position: relative;
  padding: 20px;
  border-radius: var(--radius);
  border-color: rgba(8,127,120,0.16);
  box-shadow: 0 12px 30px rgba(15,42,55,0.09);
}

.project-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  backdrop-filter: blur(10px);
  overflow: hidden;
  isolation: isolate;
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.project-page .card {
  padding: 24px;
}

.project-page .grid .project-card {
  align-self: flex-start;
  min-height: auto;
  height: auto;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(15,42,55,0.16);
  border-color: rgba(16,191,179,0.46);
}

.project-card::before,
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: -1;
}

.project-card::before {
  background:
    radial-gradient(
      360px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(16,191,179,0.22),
      rgba(22,153,242,0.10) 34%,
      transparent 68%
    );
}

.project-card::after {
  padding: 1px;
  background:
    radial-gradient(
      280px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(31,214,203,0.95),
      rgba(22,153,242,0.55) 38%,
      transparent 72%
    );
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
}

.project-card:hover::before,
.project-card:hover::after,
.project-card:focus-within::before,
.project-card:focus-within::after {
  opacity: 1;
}

.badge {
  align-self: flex-start;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: rgba(16,191,179,0.12);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card h3 {
  margin: 18px 0 10px;
  font-size: 28px;
  line-height: 1.1;
  color: #14212a;
}

.project-page .card h3 {
  margin-top: 0;
  font-size: 24px;
}

.card p {
  margin: 0;
  color: #536a75;
  line-height: 1.56;
}

.card ul,
.feature-summary ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: #40545e;
  font-size: 15px;
}

.project-page .card ul {
  gap: 9px;
  line-height: 1.55;
}

.card li,
.feature-summary li,
.install-copy li {
  display: grid;
  grid-template-columns: 7px minmax(0, 1fr);
  column-gap: 9px;
  align-items: baseline;
}

.card li::before,
.feature-summary li::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.card .card-actions {
  margin-top: auto;
  padding-top: 20px;
}

.card.featured,
.card.dark {
  color: #eaf4fb;
  background: linear-gradient(135deg, #06111c 0%, #0b2a3a 52%, #03101a 100%);
  border-color: rgba(127,211,255,0.28);
}

.card.featured h3,
.card.featured p,
.card.featured li,
.card.dark h3,
.card.dark p,
.card.dark li {
  color: #eaf4fb;
}

.card.featured .badge {
  background: rgba(127,211,255,0.14);
  color: #7fd3ff;
}

.card.featured .button.secondary {
  color: #fff;
  background: rgba(255,255,255,0.08);
  border-color: rgba(127,211,255,0.35);
}

.feature-summary {
  margin-top: 24px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(8,127,120,0.18);
  box-shadow: 0 12px 26px rgba(15,42,55,0.08);
}

.feature-summary h2 {
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(310px, 1.05fr);
  gap: 30px;
  align-items: center;
}

.image-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.72);
}

.device-hero-card > img {
  max-height: 610px;
  object-fit: cover;
  object-position: center 42%;
}

.device-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.device-screen-card {
  min-height: 0;
  padding: 14px;
  gap: 14px;
}

.device-screen-card img,
.device-photo-card img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(8,127,120,0.14);
  background: rgba(255,255,255,0.74);
  box-shadow: 0 10px 24px rgba(15,42,55,0.08);
}

.device-screen-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.device-screen-card .badge {
  margin-top: 2px;
}

.device-screen-card h3 {
  margin-top: 14px;
  font-size: 21px;
}

.device-screen-card p {
  font-size: 15px;
}

.device-photo-card img {
  max-height: 600px;
  object-fit: cover;
  object-position: center 42%;
}

.note {
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,221,0,0.15);
  border: 1px solid rgba(229,198,0,0.35);
  color: #594600;
  line-height: 1.55;
}

.release-acknowledgements {
  margin-top: 20px;
}

.steps {
  display: grid;
  gap: 14px;
  counter-reset: steps;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(15,42,55,0.08);
  overflow: hidden;
  isolation: isolate;
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

.step::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
  background:
    radial-gradient(
      420px circle at var(--mouse-x, 18%) var(--mouse-y, 15%),
      rgba(16,191,179,0.16),
      rgba(22,153,242,0.07) 42%,
      transparent 74%
    );
  transition: opacity 180ms ease;
}

.step:hover,
.step:focus-within {
  transform: translateY(-3px);
  border-color: rgba(16,191,179,0.40);
  box-shadow: 0 16px 36px rgba(15,42,55,0.13);
}

.step:hover::after,
.step:focus-within::after {
  opacity: 1;
}

.step::before {
  counter-increment: steps;
  content: counter(steps);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 900;
}

.step strong,
.step span {
  display: block;
}

.step strong {
  color: #14212a;
  font-size: 18px;
}

.step span {
  margin-top: 4px;
  color: #5b707a;
  line-height: 1.55;
}

.install-panel {
  min-width: 0;
}

.install-toggle {
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
}

.install-toggle:focus-visible {
  outline: 2px solid rgba(16,191,179,0.55);
  outline-offset: 4px;
  border-radius: 8px;
}

.install-toggle::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--teal-dark);
  background: rgba(16,191,179,0.12);
  border: 1px solid rgba(16,191,179,0.28);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.install-toggle[aria-expanded="true"]::after {
  content: "-";
}

.install-toggle strong,
.install-toggle small {
  display: block;
}

.install-toggle small {
  margin-top: 4px;
  color: #5b707a;
  font-size: 16px;
  line-height: 1.55;
}

.install-panel-body {
  grid-column: 2 / 3;
  display: grid;
  gap: 18px;
  padding-top: 18px;
  min-width: 0;
}

.install-panel-body[hidden] {
  display: none;
}

.install-copy {
  padding: 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(8,127,120,0.12);
}

.install-copy p {
  margin: 0;
  color: #536a75;
}

.install-copy ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  color: #40545e;
  line-height: 1.52;
}

.install-copy li::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  max-width: 100%;
  min-width: 0;
}

.screenshot-grid figure {
  position: relative;
  display: grid;
  grid-template-rows: 132px auto;
  gap: 8px;
  margin: 0;
  padding: 9px;
  border-radius: 12px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(8,127,120,0.14);
  box-shadow: 0 8px 18px rgba(15,42,55,0.06);
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
  transform-origin: center center;
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
  z-index: 0;
}

.screenshot-grid figure::before,
.screenshot-grid figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: -1;
}

.screenshot-grid figure::before {
  background:
    radial-gradient(
      260px circle at 50% 30%,
      rgba(16,191,179,0.08),
      rgba(22,153,242,0.04) 42%,
      transparent 74%
    );
}

.screenshot-grid figure::after {
  padding: 1px;
  background:
    radial-gradient(
      220px circle at 50% 30%,
      rgba(31,214,203,0.55),
      rgba(22,153,242,0.28) 42%,
      transparent 76%
    );
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
}

.screenshot-grid figure:hover,
.screenshot-grid figure:focus-within {
  transform: scale(2);
  border-color: rgba(16,191,179,0.46);
  box-shadow: 0 18px 42px rgba(15,42,55,0.18);
  z-index: 5;
}

.screenshot-grid figure:hover::before,
.screenshot-grid figure:hover::after,
.screenshot-grid figure:focus-within::before,
.screenshot-grid figure:focus-within::after {
  opacity: 1;
}

.screenshot-open {
  display: block;
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: zoom-in;
}

.screenshot-open:focus-visible {
  outline: 2px solid rgba(16,191,179,0.55);
  outline-offset: 3px;
  border-radius: 8px;
}

.screenshot-grid figure img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: 132px !important;
  max-height: 132px !important;
  object-fit: contain !important;
  align-self: center;
  background: #f8fcfc;
  border-radius: 8px;
  border: 1px solid rgba(8,127,120,0.16);
  box-shadow: 0 6px 14px rgba(15,42,55,0.08);
}

.screenshot-grid figcaption {
  color: #5b707a;
  font-size: 13px;
  line-height: 1.36;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(7,22,36,0.78);
  backdrop-filter: blur(10px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox figure {
  display: grid;
  gap: 12px;
  width: min(1180px, 100%);
  max-height: calc(100vh - 56px);
  margin: 0;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(127,211,255,0.24);
  box-shadow: 0 28px 70px rgba(0,0,0,0.34);
}

.lightbox img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 150px);
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid rgba(8,127,120,0.16);
}

.lightbox figcaption {
  color: #40545e;
  line-height: 1.42;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 101;
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.32);
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-weight: 850;
  cursor: pointer;
}

.strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.strip-item {
  padding: 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(8,127,120,0.14);
  box-shadow: 0 10px 24px rgba(15,42,55,0.07);
}

.strip-item strong {
  display: block;
  color: #14212a;
  font-size: 18px;
  margin-bottom: 5px;
}

.strip-item span {
  color: var(--muted);
  line-height: 1.45;
}

.support {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 22px;
  align-items: center;
  padding: 26px;
  border-radius: 22px;
  background: linear-gradient(135deg, #0a2130, #092f3e);
  color: #eaf4fb;
  box-shadow: var(--shadow);
}

.support h2,
.support p {
  color: #fff;
}

.support p {
  margin: 10px 0 0;
  color: #c9d9e6;
  line-height: 1.58;
}

footer {
  padding: 34px 0 48px;
  color: #7a8a92;
  font-size: 14px;
  text-align: center;
}

@media (max-width: 920px) {
  .hero,
  .home .hero,
  .split,
  .support,
  .project-page .section-head {
    grid-template-columns: 1fr;
  }

  .grid,
  .grid.two,
  .quick,
  .device-gallery {
    grid-template-columns: 1fr;
  }

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

  .screenshot-grid figure:hover,
  .screenshot-grid figure:focus-within {
    transform: scale(1.45);
  }
}

@media (max-width: 560px) {
  .site { width: min(100% - 24px, 1160px); }
  .topbar { align-items: flex-start; flex-direction: column; }
  nav { justify-content: flex-start; }
  .app-shortcuts { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .home .hero { padding-top: 32px; }
  .strip { grid-template-columns: 1fr; }
  .screenshot-grid figure:hover,
  .screenshot-grid figure:focus-within {
    transform: none;
  }
  h1 { font-size: 44px; }
  .project-title { gap: 12px; }
  .project-title img { width: 56px; }
}
