/* xpando website. Plain CSS, no build step. Fredoka (SIL OFL 1.1) is bundled for the wordmark and headings. */
@font-face {
  font-family: "Fredoka";
  src: url("../fonts/Fredoka.ttf") format("truetype");
  font-weight: 300 700;
  font-stretch: 75% 125%;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --accent: #107c10;
  --accent-hover: #0e6b0e;
  --accent-press: #0b5a0b;
  --on-accent: #ffffff;
  --link: #0b6a0b;
  --bg: #f8fbf8;
  --bg-alt: #eef4ef;
  --surface: #ffffff;
  --surface-2: #f3f7f3;
  --text: #1a1d1a;
  --muted: #566056;
  --line: #d9e2d9;
  --line-strong: #c4d0c4;
  --glow-a: rgba(16, 124, 16, 0.16);
  --glow-b: rgba(40, 120, 220, 0.12);
  --header-bg: rgba(248, 251, 248, 0.72);
  --shadow-sm: 0 1px 2px rgba(20, 40, 20, 0.06), 0 2px 8px rgba(20, 40, 20, 0.05);
  --shadow-lg: 0 2px 6px rgba(20, 40, 20, 0.06), 0 24px 60px -12px rgba(20, 50, 30, 0.28);
  --warn-bg: #fff6e0;
  --warn-line: #ecd48a;
  --warn-text: #5c4400;
  --radius: 16px;
  --radius-sm: 10px;
  --font-body: "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, "Noto Sans", sans-serif;
  --font-head: "Fredoka", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "Cascadia Code", "SF Mono", Consolas, Menlo, monospace;
  --gutter: 16px;
  --max: 1200px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #107c10;
    --accent-hover: #138a13;
    --accent-press: #0e700e;
    --link: #6fcf64;
    --bg: #101310;
    --bg-alt: #151a15;
    --surface: #1a1f1a;
    --surface-2: #202620;
    --text: #eef3ee;
    --muted: #a3ada3;
    --line: #2a322a;
    --line-strong: #3a453a;
    --glow-a: rgba(60, 200, 60, 0.14);
    --glow-b: rgba(70, 130, 255, 0.12);
    --header-bg: rgba(16, 19, 16, 0.72);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.4), 0 24px 60px -12px rgba(0, 0, 0, 0.7);
    --warn-bg: #2b2411;
    --warn-line: #5a4a1c;
    --warn-text: #f0dca0;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
}

img {
  display: block;
  height: auto;
}

a {
  color: var(--link);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  text-wrap: balance;
}

h1,
h2 {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.3rem;
  font-weight: 650;
  letter-spacing: -0.005em;
}

p {
  margin: 0;
}

code,
kbd {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

/* Icons: one inline sprite, Lucide paths. */
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.i {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Layout helpers */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

@media (min-width: 640px) {
  :root {
    --gutter: 24px;
  }
}

section {
  padding-block: clamp(56px, 8vw, 104px);
}

.alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--link);
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(2rem, 4.2vw, 3rem);
}

.section-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.15rem;
}

.skip {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  background: var(--surface-2);
  border-color: var(--muted);
  text-decoration: none;
}

.btn-primary {
  border-color: transparent;
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 8px 20px -6px rgba(16, 124, 16, 0.55);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: transparent;
}

.btn-primary:active {
  background: var(--accent-press);
}

.btn-primary:focus-visible {
  outline-color: var(--text);
}

.btn-lg {
  min-height: 60px;
  padding: 12px 24px;
  font-size: 1.1rem;
  text-align: left;
}

.btn-ghost.btn-lg {
  padding-inline: 20px;
}

.btn-lg .i {
  width: 1.6em;
  height: 1.6em;
}

.btn-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.btn-label small {
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.88;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn-primary:hover {
    transform: translateY(-1px);
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.brand .i {
  width: 34px;
  height: 34px;
  stroke-width: 1.6;
}

.nav {
  display: none;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.97rem;
  font-weight: 550;
  text-decoration: none;
}

.nav a:hover {
  background: var(--surface-2);
  color: var(--text);
}

.site-header .btn {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.95rem;
}

@media (min-width: 860px) {
  .nav {
    display: flex;
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(40px, 6vw, 88px) clamp(48px, 7vw, 96px);
  background:
    radial-gradient(60% 55% at 12% 0%, var(--glow-a), transparent 70%),
    radial-gradient(55% 60% at 100% 20%, var(--glow-b), transparent 70%),
    var(--bg);
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 40px;
  }
}

.pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 550;
  box-shadow: var(--shadow-sm);
}

.pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--glow-a);
}

.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4rem);
  line-height: 1.06;
}

.grad {
  background: linear-gradient(100deg, #107c10, #1fa84b 55%, #2f8fd8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (prefers-color-scheme: dark) {
  .grad {
    background-image: linear-gradient(100deg, #5fd35b, #7ee8a0 55%, #7db8ff);
  }
}

.hero .lead {
  max-width: 34em;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.55;
}

.hero .lead kbd,
.trigger {
  padding: 1px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.9em;
  white-space: nowrap;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.cta-row .btn-lg {
  flex: 0 1 auto;
}

@media (max-width: 560px) {
  .cta-row .btn-lg {
    flex: 1 1 100%;
  }
}

.hero-notes {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-notes a {
  font-weight: 600;
}

.status-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.status-note .i {
  margin-top: 0.25em;
  width: 1.1em;
  height: 1.1em;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -8% -6% -10%;
  z-index: 0;
  border-radius: 40px;
  background: radial-gradient(closest-side, var(--glow-a), transparent);
  filter: blur(20px);
}

.frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 20px;
  background: var(--surface-2);
  box-shadow: var(--shadow-lg);
}

.frame img {
  width: 100%;
}

.caption {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

/* Steps */
.steps {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

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

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
  color: var(--link);
}

.step-num .i {
  width: 24px;
  height: 24px;
}

.step .count {
  position: absolute;
  top: 22px;
  right: 24px;
  color: var(--line-strong);
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
}

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

.step .demo {
  margin-top: auto;
  padding: 12px 14px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  font-size: 0.95rem;
}

.demo .arrow {
  display: inline-block;
  margin-inline: 6px;
  color: var(--link);
  font-weight: 700;
}

/* Feature rows */
.rows {
  display: grid;
  gap: clamp(56px, 9vw, 112px);
}

.row {
  display: grid;
  gap: 28px;
  align-items: center;
}

@media (min-width: 900px) {
  .row {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 56px;
  }

  .row.flip {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  }

  .row.flip .row-text {
    order: 2;
  }
}

.row-text h3 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-family: var(--font-head);
  font-weight: 600;
}

.row-text > p {
  margin-top: 14px;
  color: var(--muted);
}

.ticks {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  position: relative;
  padding-left: 30px;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 16%, var(--surface));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent);
}

.ticks li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: calc(0.32em + 4px);
  width: 5px;
  height: 8px;
  border: solid var(--link);
  border-width: 0 2px 2px 0;
  transform: rotate(40deg);
}

/* Band: works the way you do */
.cards {
  display: grid;
  gap: 24px;
}

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

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.card .shot {
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}

.card .shot img {
  width: 100%;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 26px;
}

.card-body .icon-chip {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
  color: var(--link);
}

.card-body p {
  color: var(--muted);
  font-size: 1rem;
}

/* Your phrases are yours */
.own-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 980px) {
  .own-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 64px;
  }
}

.own h2 {
  font-size: clamp(2rem, 4.2vw, 3rem);
}

.own .intro {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.15rem;
}

.own-list {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.own-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}

.own-list .icon-chip {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
  color: var(--link);
}

.own-list strong {
  display: block;
  font-size: 1.05rem;
}

.own-list span {
  color: var(--muted);
}

/* Showcase */
.showcase {
  display: grid;
  gap: 24px;
}

@media (min-width: 820px) {
  .showcase.two {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase.three {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.showcase figure {
  margin: 0;
}

.showcase figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.showcase figcaption strong {
  color: var(--text);
}

.showcase + .showcase {
  margin-top: 24px;
}

/* More features */
.more {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 600px) {
  .more {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .more {
    grid-template-columns: repeat(4, 1fr);
  }
}

.more li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.more .i {
  width: 26px;
  height: 26px;
  color: var(--link);
}

.more strong {
  font-size: 1.05rem;
}

.more span {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

/* FAQ */
.faq {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin-inline: auto;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.faq summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 14px;
  font-size: 1.08rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .i {
  color: var(--muted);
  transition: transform 0.2s;
}

.faq details[open] summary .i {
  transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
  .faq summary .i {
    transition: none;
  }
}

.faq .answer {
  display: grid;
  gap: 10px;
  padding: 0 20px 20px;
  color: var(--muted);
}

.faq .answer strong {
  color: var(--text);
}

/* Download */
.download {
  background:
    radial-gradient(60% 60% at 50% 0%, var(--glow-a), transparent 70%),
    var(--bg);
}

.dl-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 0.97rem;
}

.dl-meta b {
  color: var(--text);
}

.dl-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 600px) {
  .dl-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.dl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 22px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.dl-card.is-yours {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent), var(--shadow-sm);
}

.dl-card .tag {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.dl-card .tag[hidden] {
  display: none;
}

.dl-card .os-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
  color: var(--link);
}

.dl-card .os-icon .i {
  width: 26px;
  height: 26px;
}

.dl-card h3 {
  font-size: 1.25rem;
}

.dl-card .what {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.5;
}

.dl-card .file {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.dl-card .file .size {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
}

.dl-card .btn {
  width: 100%;
  margin-top: auto;
  padding-inline: 12px;
  white-space: nowrap;
}

.notes {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

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

.note {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 0.97rem;
}

.note h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
}

.note h3 .i {
  color: var(--link);
}

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

.note.warn {
  border-color: var(--warn-line);
  background: var(--warn-bg);
}

.note.warn p,
.note.warn h3,
.note.warn h3 .i {
  color: var(--warn-text);
}

.checksum {
  margin-top: 28px;
  text-align: center;
  color: var(--muted);
  font-size: 0.97rem;
}

.checksum code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--surface-2);
}

/* Footer */
.site-footer {
  padding-block: 48px 40px;
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  color: var(--muted);
  font-size: 0.97rem;
}

.footer-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 820px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 64px;
  }
}

.site-footer .brand {
  margin-bottom: 12px;
}

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

.foot-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  color: var(--text);
  font-weight: 550;
  text-decoration: none;
}

.foot-links a:hover {
  color: var(--link);
  text-decoration: underline;
}

.fine {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}

/* Scroll reveal: only when JS is running and motion is allowed. Without either, everything is simply visible. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .js .reveal.in {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .skip {
    display: none;
  }
}


/* Enlarge a screenshot: hint on the picture and the modal itself */
.frame img.zoomable,
.shot img.zoomable {
  cursor: zoom-in;
}

.frame img.zoomable:focus-visible,
.shot img.zoomable:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

.zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(20, 24, 20, 0.78);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  pointer-events: none;
  opacity: 0.92;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: opacity 0.15s ease;
}

.zoom-hint .i {
  width: 14px;
  height: 14px;
}

.frame:hover .zoom-hint,
.shot:hover .zoom-hint,
.frame:focus-within .zoom-hint,
.shot:focus-within .zoom-hint {
  opacity: 1;
}

.shot {
  position: relative;
}

.lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 3.5rem 2vw 1.25rem;
  border: 0;
  background: transparent;
  color: #fff;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: auto;
}

.lightbox[open] {
  display: flex;
}

.lightbox::backdrop {
  background: rgba(8, 12, 8, 0.86);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.lightbox img {
  --ar: 1.5;
  width: min(96vw, calc((100vh - 8rem) * var(--ar)));
  height: auto;
  max-width: none;
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lb-caption {
  max-width: min(96vw, 60rem);
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9375rem;
  text-align: center;
}

.lb-close {
  position: fixed;
  top: 12px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  cursor: pointer;
}

.lb-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.lb-close:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.lb-close .i {
  width: 22px;
  height: 22px;
}

@media (max-width: 640px) {
  .zoom-hint span {
    display: none;
  }
  .zoom-hint {
    padding: 8px;
  }
  .lightbox {
    padding-inline: 8px;
  }
  .lightbox img {
    width: min(98vw, calc((100vh - 8rem) * var(--ar)));
  }
}


/* Support section */
.support-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 52rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.support-link {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(0, 0, 0, 0.05));
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.support-link:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.support-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.support-link .i {
  flex: none;
  width: 26px;
  height: 26px;
  color: var(--accent);
}

.support-link strong {
  display: block;
  font-size: 1.0625rem;
}

.support-link small {
  display: block;
  color: var(--muted, var(--text));
  opacity: 0.75;
}

.support-note {
  margin: 24px auto 0;
  text-align: center;
}

@media (max-width: 720px) {
  .support-links {
    grid-template-columns: 1fr;
  }
}
