/* Beam landing page (ARCHITECTURE §12/§12.1): dark, brand gradient purple-600 → blue-600, Inter (local). */

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/landing/inter-latin.woff2) format("woff2-variations"), url(/landing/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/landing/inter-latin-ext.woff2) format("woff2-variations"), url(/landing/inter-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;
  --bg: #030712;
  --surface: rgb(17 24 39 / 0.72);
  --surface-solid: #111827;
  --surface-2: rgb(31 41 55 / 0.55);
  --border: rgb(255 255 255 / 0.08);
  --border-strong: rgb(255 255 255 / 0.14);
  --text: #f3f4f6;
  --soft: #d1d5db;
  --muted: #9ca3af;
  --purple: #9333ea;
  --blue: #2563eb;
  --grad: linear-gradient(135deg, #9333ea, #2563eb);
  --grad-text: linear-gradient(100deg, #c084fc 0%, #a78bfa 40%, #60a5fa 100%);
  --focus: #c4b5fd;
  --radius: 18px;
  --wrap: 1180px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  font-family: "Inter Variable", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  min-height: 100dvh;
  overflow-x: hidden;
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 560px at 0% -8%, rgb(147 51 234 / 0.2), transparent 70%),
    radial-gradient(900px 520px at 100% -4%, rgb(37 99 235 / 0.16), transparent 70%);
  background-repeat: no-repeat;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.lb-lock,
html.lb-lock body {
  overflow: hidden;
}

::selection {
  background: rgb(147 51 234 / 0.45);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.i {
  width: 1em;
  height: 1em;
  flex: none;
  fill: currentColor;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--surface-solid);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 0 0 2px var(--focus);
}

.skip:focus {
  top: 12px;
}

/* ---------------------------------------------------------------- header */

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgb(3 7 18 / 0.72);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
}

.top__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin-right: auto;
  text-decoration: none;
}

.brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}

.brand__name {
  overflow: hidden;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand__sub {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #a855f7, #2563eb);
  color: #fff;
  font-size: 18px;
  box-shadow: 0 10px 26px -10px rgb(147 51 234 / 0.75);
}

.mark--sm {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  font-size: 12px;
  box-shadow: none;
}

.top__nav {
  display: none;
  gap: 4px;
}

.top__nav a,
.lang a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--soft);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}

.top__nav a:hover,
.lang a:hover {
  background: rgb(255 255 255 / 0.06);
  color: #fff;
}

.lang {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgb(255 255 255 / 0.03);
}

.lang a {
  padding: 4px 10px;
  border-radius: 9px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.lang a[aria-current="true"] {
  background: var(--grad);
  color: #fff;
}

@media (min-width: 820px) {
  .top__nav {
    display: flex;
  }
}

/* ---------------------------------------------------------------- hero */

.hero {
  padding: 56px 0 24px;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  padding: 6px 14px;
  border: 1px solid rgb(168 85 247 / 0.35);
  border-radius: 999px;
  background: rgb(147 51 234 / 0.1);
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: #d8b4fe;
}

h1 {
  max-width: 18ch;
  text-wrap: balance;
  font-size: clamp(2.35rem, 1.3rem + 4.6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.nobr {
  white-space: nowrap;
}

h2 {
  text-wrap: balance;
}

.grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  margin-top: 16px;
  color: var(--text);
  font-size: clamp(1.1rem, 0.95rem + 0.7vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.intro {
  max-width: 62ch;
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.02rem;
}

.intro p + p {
  margin-top: 10px;
}

/* Download buttons */

.downloads {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
  max-width: 760px;
  margin-top: 32px;
  text-align: left;
}

@media (min-width: 640px) {
  .downloads {
    grid-template-columns: 1fr 1fr;
  }
}

.dl {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 84px;
  padding: 16px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 12px 30px -18px rgb(0 0 0 / 0.9);
  transition: transform 0.2s var(--ease), border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.dl:hover {
  border-color: rgb(168 85 247 / 0.55);
  background: rgb(31 41 55 / 0.7);
  transform: translateY(-2px);
}

.dl--primary {
  border-color: transparent;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 18px 40px -16px rgb(124 58 237 / 0.75);
}

.dl--primary:hover {
  border-color: transparent;
  background: linear-gradient(135deg, #a855f7, #3b82f6);
  box-shadow: 0 22px 48px -16px rgb(124 58 237 / 0.9);
}

.dl__os {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 12px;
  background: rgb(255 255 255 / 0.08);
  font-size: 22px;
}

.dl--primary .dl__os {
  background: rgb(255 255 255 / 0.16);
}

.dl__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.dl__title {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
}

.dl__meta,
.dl__build {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.dl__build {
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

.dl--primary .dl__meta,
.dl--primary .dl__build {
  color: rgb(255 255 255 / 0.85);
}

.dl__badge {
  position: absolute;
  top: -10px;
  right: 14px;
  padding: 2px 10px;
  border: 1px solid rgb(255 255 255 / 0.25);
  border-radius: 999px;
  background: #1e1b4b;
  color: #e9d5ff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.dl__arrow {
  font-size: 18px;
  opacity: 0.85;
}

.note {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 62ch;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: left;
}

.note .i {
  margin-top: 0.25em;
  color: #c084fc;
}

.note--info {
  margin-top: 10px;
  padding: 10px 14px;
  border: 1px solid rgb(96 165 250 / 0.3);
  border-radius: 12px;
  background: rgb(37 99 235 / 0.1);
  color: var(--soft);
}

.note--info .i {
  color: #60a5fa;
}

/* Hero visual: first screenshot in a glowing frame, or an abstract launcher window */

.hero__visual {
  margin-top: 48px;
}

.showcase {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.showcase::before {
  content: "";
  position: absolute;
  inset: 8% 4% -6%;
  z-index: -1;
  border-radius: 40px;
  background: radial-gradient(60% 60% at 30% 40%, rgb(147 51 234 / 0.55), transparent 70%), radial-gradient(60% 60% at 75% 60%, rgb(37 99 235 / 0.5), transparent 70%);
  filter: blur(48px);
  opacity: 0.75;
}

.showcase__frame {
  position: relative;
  display: block;
  padding: 6px;
  border: 1px solid transparent;
  border-radius: 20px;
  background:
    linear-gradient(rgb(10 14 26 / 0.92), rgb(10 14 26 / 0.92)) padding-box,
    linear-gradient(135deg, rgb(192 132 252 / 0.7), rgb(255 255 255 / 0.08) 40%, rgb(96 165 250 / 0.7)) border-box;
  box-shadow: 0 50px 100px -40px rgb(0 0 0 / 0.95), 0 30px 80px -50px rgb(124 58 237 / 0.8);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.showcase__frame img {
  display: block;
  width: 100%;
  border-radius: 14px;
}

.showcase__frame:hover {
  transform: translateY(-4px);
}

.zoom {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 12px;
  background: rgb(3 7 18 / 0.7);
  color: #fff;
  font-size: 16px;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.2s, transform 0.2s var(--ease);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

a:hover > .zoom,
a:focus-visible > .zoom {
  opacity: 1;
  transform: none;
}

/* Abstract launcher window (no screenshots yet) */

.showcase--mock {
  max-width: 880px;
}

.mock {
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: rgb(10 14 26 / 0.92);
  box-shadow: 0 50px 100px -40px rgb(0 0 0 / 0.95);
}

.mock__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 14px;
  background: linear-gradient(90deg, rgb(126 34 206 / 0.85), rgb(29 78 216 / 0.85));
}

.mock__logo {
  color: #fff;
  font-size: 15px;
}

.mock__bar i {
  width: 54px;
  height: 8px;
  border-radius: 4px;
  background: rgb(255 255 255 / 0.35);
}

.mock__bar b {
  width: 22%;
  height: 22px;
  margin-left: auto;
  border-radius: 7px;
  background: rgb(255 255 255 / 0.14);
}

.mock__body {
  display: grid;
  gap: 16px;
  padding: 16px;
}

.mock__hero {
  position: relative;
  aspect-ratio: 16 / 5;
  border-radius: 14px;
  background:
    radial-gradient(120% 140% at 85% 20%, rgb(251 191 36 / 0.35), transparent 50%),
    linear-gradient(120deg, rgb(147 51 234 / 0.7), rgb(37 99 235 / 0.55));
}

.mock__hero b,
.mock__hero em {
  position: absolute;
  left: 4%;
  border-radius: 6px;
  background: rgb(255 255 255 / 0.85);
}

.mock__hero b {
  bottom: 42%;
  width: 26%;
  height: 12%;
}

.mock__hero em {
  bottom: 28%;
  width: 40%;
  height: 6%;
  background: rgb(255 255 255 / 0.45);
}

.mock__cta {
  position: absolute;
  left: 4%;
  bottom: 9%;
  width: 14%;
  height: 12%;
  border-radius: 7px;
  background: linear-gradient(90deg, #16a34a, #059669);
}

.mock__tiles {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.mock__tiles i {
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  background: linear-gradient(160deg, rgb(147 51 234 / 0.55), rgb(30 27 75 / 0.9));
}

.mock__tiles i:nth-child(2) {
  background: linear-gradient(160deg, rgb(37 99 235 / 0.6), rgb(15 23 42 / 0.9));
}

.mock__tiles i:nth-child(3) {
  background: linear-gradient(160deg, rgb(219 39 119 / 0.5), rgb(30 27 75 / 0.9));
}

.mock__tiles i:nth-child(4) {
  background: linear-gradient(160deg, rgb(5 150 105 / 0.55), rgb(15 23 42 / 0.9));
}

.mock__tiles i:nth-child(5) {
  background: linear-gradient(160deg, rgb(234 88 12 / 0.5), rgb(30 27 75 / 0.9));
}

@media (max-width: 559px) {
  .mock__tiles {
    grid-template-columns: repeat(3, 1fr);
  }

  .mock__tiles i:nth-child(n + 4) {
    display: none;
  }
}

/* ---------------------------------------------------------------- sections */

.section {
  padding: 72px 0;
}

.section__head {
  max-width: 680px;
  margin: 0 auto 36px;
  text-align: center;
}

h2 {
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.5rem);
  font-weight: 800;
}

.section__lead {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.step h3 {
  font-size: 1.15rem;
}

.step p {
  color: var(--muted);
}

.step__num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 24px -10px rgb(124 58 237 / 0.8);
}

.step .step__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: auto;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--soft);
  font-size: 0.875rem;
}

.step__note .i {
  margin-top: 0.25em;
  color: #c084fc;
}

.urlbox {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: rgb(0 0 0 / 0.35);
}

.urlbox__value {
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: anywhere;
  color: #e9d5ff;
  font-family: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 0.92rem;
  font-weight: 500;
  user-select: all;
}

.copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  flex: none;
  padding: 0 12px;
  border: 0;
  border-radius: 9px;
  background: var(--grad);
  color: #fff;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.15s;
}

.copy[hidden] {
  display: none;
}

.copy:hover {
  filter: brightness(1.12);
}

.copy__done,
.copy.is-done .copy__idle {
  display: none;
}

.copy.is-done .copy__done {
  display: inline;
}

/* Screenshot gallery */

.shots {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 720px) {
  .shots {
    grid-template-columns: 1fr 1fr;
  }

  /* An odd last screenshot is centered instead of leaving a gap. */
  .shots > li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 11px);
  }
}

.shot {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  margin: 0;
}

.shot__link {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: var(--surface-solid);
  box-shadow: 0 24px 50px -30px rgb(0 0 0 / 0.95);
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}

.shot__link img {
  display: block;
  width: 100%;
  aspect-ratio: 1920 / 1008;
  object-fit: cover;
  object-position: top;
}

.shot__link:hover {
  border-color: rgb(168 85 247 / 0.55);
  box-shadow: 0 30px 60px -30px rgb(124 58 237 / 0.6);
  transform: translateY(-3px);
}

.shot figcaption {
  padding: 0 4px;
  color: var(--soft);
  font-size: 0.92rem;
}

/* Features */

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .features {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.2s var(--ease), border-color 0.2s;
}

.feature:hover {
  border-color: rgb(168 85 247 / 0.4);
  transform: translateY(-2px);
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border: 1px solid rgb(168 85 247 / 0.35);
  border-radius: 12px;
  background: linear-gradient(135deg, rgb(147 51 234 / 0.25), rgb(37 99 235 / 0.25));
  color: #e9d5ff;
  font-size: 20px;
}

.feature h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.feature p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------------------------------------------------------------- footer */

.foot {
  margin-top: 24px;
  padding: 28px 0 36px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.875rem;
}

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

.foot__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.foot__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
}

.foot__nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 9px;
  color: var(--soft);
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}

.foot__nav a:hover {
  background: rgb(255 255 255 / 0.06);
  color: #fff;
}

/* ---------------------------------------------------------------- lightbox */

.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgb(3 7 18 / 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.lightbox[open] {
  display: grid;
  animation: lb-in 0.22s var(--ease);
}

.lightbox__stage {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 64px 16px 24px;
}

.lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
}

.lightbox__img {
  display: block;
  max-width: min(100%, 1920px);
  max-height: calc(100dvh - 150px);
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 40px 100px -30px rgb(0 0 0 / 1);
  object-fit: contain;
}

.lightbox__img.is-switching {
  animation: lb-swap 0.2s var(--ease);
}

.lightbox__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 4px 14px;
  max-width: 72ch;
  color: var(--soft);
  font-size: 0.95rem;
  text-align: center;
}

.lightbox__count {
  color: var(--muted);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}

.lb-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 14px;
  background: rgb(17 24 39 / 0.75);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}

.lb-btn:hover {
  border-color: rgb(168 85 247 / 0.6);
  background: rgb(88 28 135 / 0.7);
}

.lb-close {
  top: 12px;
  right: 12px;
}

.lb-prev,
.lb-next {
  top: 50%;
  transform: translateY(-50%);
}

.lb-prev {
  left: 12px;
}

.lb-next {
  right: 12px;
}

@media (max-width: 719px) {
  .lightbox__stage {
    padding: 64px 8px 88px;
  }

  .lb-prev,
  .lb-next {
    top: auto;
    bottom: 20px;
    transform: none;
  }

  .lb-prev {
    left: calc(50% - 56px);
  }

  .lb-next {
    right: calc(50% - 56px);
  }
}

@keyframes lb-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes lb-swap {
  from {
    opacity: 0.4;
    transform: scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------------------------------------------------------------- small screens & motion */

@media (max-width: 479px) {
  .hero {
    padding-top: 40px;
  }

  .dl {
    padding: 14px;
  }

  .step,
  .feature {
    padding: 20px;
  }

  .section {
    padding: 56px 0;
  }

  .showcase__frame {
    padding: 4px;
    border-radius: 14px;
  }

  .showcase__frame img {
    border-radius: 10px;
  }

  .brand__sub {
    display: none;
  }
}

@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;
  }

  .dl:hover,
  .showcase__frame:hover,
  .shot__link:hover,
  .feature:hover {
    transform: none;
  }
}

@media (forced-colors: active) {
  .grad,
  .eyebrow {
    background: none;
    color: CanvasText;
  }
}
