/* Tailwind's layer order, declared here because this file loads before Fairpage's stylesheet:
   the first file to name a layer fixes its place, and components must come after base. */
@layer properties, theme, base, components, utilities;

/* Geist and Geist Mono (SIL OFL 1.1), self-hosted. Variable fonts: one file covers 400–600. */

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("https://media.fairpage.app/3/58a6b173d5ca1dec/geist-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;
}

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("https://media.fairpage.app/3/9b6f5ff45b278c74/geist-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: 'Geist Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("https://media.fairpage.app/3/745994b5cd950ec2/geist-mono-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;
}

@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("https://media.fairpage.app/3/5f3d6ad60f29d6cb/geist-mono-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;
}

@layer components {

/* Effortless — effortless.run
 *
 * Components. Layout and spacing are Tailwind utilities in the markup; this file holds what the
 * utilities cannot express (pseudo-classes on components, table layout, responsive component
 * rules). Colours and fonts are tokens in _styleguide/theme.css. Wrapped in @layer components so
 * the utilities, which Fairpage puts in a later layer, win over these rules.
 *
 * Palette matches the /_admin UI (src/admin/assets/admin.css): near-black on white, gray
 * hairlines, one blue for links. No accent fills. Type is Geist + Geist Mono. */

/* ---------------------------------------------------------------- tokens */

:root {
  --shell: 1120px;
  --nav-h: 60px;
}

/* ---------------------------------------------------------------- reset
 * Minimal and compatible with Tailwind's Preflight, which Fairpage adds. */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  background: var(--color-surface);
  color: var(--color-body);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

img {
  height: auto;
}

/* The img/svg display rule above would otherwise beat the hidden attribute. */
[hidden] {
  display: none !important;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

code,
pre,
kbd {
  font-family: var(--font-mono);
  font-size: inherit;
}

pre {
  margin: 0;
}

::selection {
  background: var(--color-fg);
  color: var(--color-surface);
}

:focus-visible {
  outline: 2px solid var(--color-link);
  outline-offset: 2px;
  border-radius: 4px;
}

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

/* Inline code in prose. */
.ic {
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: var(--color-fg);
  background: var(--color-subtle);
  border: 1px solid var(--color-border);
  border-radius: 5px;
  padding: 1px 5px;
  white-space: nowrap;
}

/* Small uppercase label above a section. */
.label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* Section headings. */
.h2 {
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-fg);
  text-wrap: balance;
}

.h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--color-fg);
}

.lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-body);
}

@media (min-width: 768px) {
  .lede {
    font-size: 18px;
  }
}

/* ---------------------------------------------------------------- nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--color-surface) 85%, transparent);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

/* Hairline once the page has scrolled 8px. Browsers without scroll timelines show it always. */
@supports (animation-timeline: scroll()) {
  .nav {
    animation: nav-hairline linear both;
    animation-timeline: scroll(root);
    animation-range: 0 8px;
  }
}

@supports not (animation-timeline: scroll()) {
  .nav {
    border-bottom-color: var(--color-border);
  }
}

@keyframes nav-hairline {
  to {
    border-bottom-color: var(--color-border);
  }
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-fg);
}

.brand-mark {
  width: 22px;
  height: 22px;
  flex: none;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-muted);
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-links a:hover {
  color: var(--color-fg);
  background: var(--color-hover);
}

.nav-links .sep {
  width: 1px;
  height: 20px;
  margin: 0 8px;
  background: var(--color-border);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-muted);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  white-space: nowrap;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-right: -8px;
  border-radius: 6px;
  color: var(--color-fg);
}

.nav-toggle:hover {
  background: var(--color-hover);
}

.nav-panel {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  width: auto;
  height: auto;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
  color: inherit;
  padding: 8px 0 16px;
}

.nav-panel a {
  display: block;
  padding: 10px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-fg);
  border-bottom: 1px solid var(--color-border);
}

.nav-panel a:last-child {
  border-bottom: 0;
}

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

  .nav-toggle,
  .nav-panel {
    display: none !important;
  }
}

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

.hero {
  position: relative;
  padding: 72px 0 0;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    padding-top: 112px;
  }
}

/* Faint grid behind the hero, fading out toward the bottom. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, var(--color-border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--color-border) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 100%);
}

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

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 12px 0 6px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-muted);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.pill:hover {
  border-color: var(--color-border-strong);
  color: var(--color-fg);
}

.pill .tag {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--color-fg);
  color: var(--color-surface);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
}

.hero h1 {
  max-width: 15ch;
  margin: 28px 0 0;
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--color-fg);
  text-wrap: balance;
}

.hero-sub {
  max-width: 58ch;
  margin: 24px 0 0;
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.6;
  color: var(--color-muted);
  text-wrap: pretty;
}

.hero-sub strong {
  font-weight: 500;
  color: var(--color-fg);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 36px 0 0;
}

/* Install line: one command, one copy button. */
.install {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 720px;
  margin: 40px auto 0;
  padding: 0 6px 0 16px;
  height: 52px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  text-align: left;
}

.install code {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  font-size: 13.5px;
  color: var(--color-fg);
}

.install code::-webkit-scrollbar {
  display: none;
}

.install code .p {
  color: var(--color-faint);
  user-select: none;
}

.copy {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: var(--color-muted);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.copy:hover {
  background: var(--color-hover);
  color: var(--color-fg);
}

.copy[data-copied="true"] {
  color: var(--color-ok);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 20px;
  margin: 18px 0 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--color-faint);
}

.hero-meta a:hover {
  color: var(--color-fg);
}

.hero-panel {
  width: 100%;
  max-width: 880px;
  margin: 56px auto 0;
  text-align: left;
}

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--color-fg);
  color: var(--color-surface);
  border-color: var(--color-fg);
}

.btn-primary:hover {
  background: #383838;
  border-color: #383838;
}

.btn-ghost {
  color: var(--color-fg);
  border-color: var(--color-border);
  background: var(--color-surface);
}

.btn-ghost:hover {
  border-color: var(--color-border-strong);
  background: var(--color-subtle);
}

.btn svg {
  flex: none;
}

.btn-primary svg {
  opacity: 0.7;
}

/* Text link with a trailing arrow. */
.more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-fg);
}

.more::after {
  content: "→";
  transition: transform 0.15s ease;
}

.more:hover::after {
  transform: translateX(3px);
}

/* ---------------------------------------------------------------- code + terminal panels */

.panel {
  background: var(--color-term);
  border: 1px solid var(--color-term-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02), 0 24px 48px -24px rgba(0, 0, 0, 0.35);
}

.panel-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  background: var(--color-term-bar);
  border-bottom: 1px solid var(--color-term-line);
}

.panel-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #333333;
  flex: none;
}

.panel-name {
  min-width: 0;
  margin-left: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--color-term-dim);
}

.panel-bar .spacer {
  flex: 1;
}

.panel-bar .meta {
  flex: none;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--color-term-faint);
}

/* A phone has room for the file name, not the note beside it. */
@media (max-width: 640px) {
  .panel-bar .meta {
    display: none;
  }
}

.panel-body {
  padding: 16px 18px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--color-term-line) transparent;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--color-term-fg);
  tab-size: 2;
}

.panel-body code {
  font-size: inherit;
}

/* Terminal output wraps, because a real terminal wraps. Code panels do NOT wrap: a wrapped
 * Lua sample misrepresents its line count, and "11 lines of Lua" is a claim on this page. */
.panel-body.term {
  white-space: pre-wrap;
  overflow-wrap: break-word;
}

/* The "what you'd write otherwise" panel: flat and light next to the dark, coloured EQL panel. */
.panel-light {
  background: var(--color-subtle);
  border-color: var(--color-border);
  box-shadow: none;
}

.panel-light .panel-bar {
  background: var(--color-surface);
  border-bottom-color: var(--color-border);
}

.panel-light .panel-name {
  color: var(--color-muted);
}

.panel-light .panel-body {
  color: var(--color-muted);
}

.cmp-pair .panel-body {
  font-size: 12.5px;
  line-height: 1.7;
}

.cmp-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-faint);
  margin-bottom: 10px;
}

.cmp-label.win {
  color: var(--color-fg);
}

/* Tabs: a label per tab holding a visually hidden radio. The checked radio picks the panel,
 * by the rules under "tab panels" below. No script. */

.tabs {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  padding: 3px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-subtle);
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

/* Five file names do not fit a phone; wrap them rather than hide the last behind a scroll. */
@media (max-width: 640px) {
  [data-tab-group] .tabs {
    flex-wrap: wrap;
  }
}

.tab {
  flex: none;
  padding: 7px 12px;
  border-radius: 7px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--color-muted);
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.tab {
  cursor: pointer;
}

.tab:hover {
  color: var(--color-fg);
}

.tab:has(:focus-visible) {
  outline: 2px solid var(--color-link);
  outline-offset: 2px;
}

/* ---------------------------------------------------------------- tab panels */

[data-panel] {
  display: none;
}

[data-tab-group]:has([value="schema"]:checked) [data-panel="schema"],
[data-tab-group]:has([value="handler"]:checked) [data-panel="handler"],
[data-tab-group]:has([value="view"]:checked) [data-panel="view"],
[data-tab-group]:has([value="island"]:checked) [data-panel="island"],
[data-tab-group]:has([value="test"]:checked) [data-panel="test"],
[data-tab-group]:has([value="grid"]:checked) [data-panel="grid"],
[data-tab-group]:has([value="drawer"]:checked) [data-panel="drawer"],
[data-tab-group]:has([value="ask"]:checked) [data-panel="ask"] {
  display: block;
}

.tab:has(:checked) {
  background: var(--color-surface);
  color: var(--color-fg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 0 0 1px var(--color-border);
}

/* ---------------------------------------------------------------- syntax colors
 * Hand-authored spans. No highlighter: zero JS, zero flash, samples are short.
 * Restrained: two hues on a grey ramp, so the code reads as text, not as a rainbow. */

.t-key { color: #c4b5fd; }                      /* keyword — soft violet */
.t-str { color: #a7f3d0; }                      /* string — mint */
.t-num { color: #fcd34d; }                      /* number, boolean, nil — amber */
.t-fn  { color: var(--color-term-fg); }                      /* function / module — white */
.t-pun { color: #808080; }                      /* punctuation — grey */
.t-tag { color: #c4b5fd; }                      /* template tag, html tag */
.t-atr { color: var(--color-term-dim); }                      /* html attribute */
.t-com { color: var(--color-term-faint); font-style: italic; }  /* comment */

/* EQL inside a Lua string: the samples' centrepiece. Nests inside .t-str. */
.e-k { color: #fcd34d; }                        /* select / where / insert — amber */
.e-c { color: #a7f3d0; }                        /* .column reference — mint */
.e-p { color: #f9a8d4; }                        /* $form.title, $auth.id — pink */

/* terminal */
.c-pro { color: #808080; }                      /* $ prompt */
.c-cmd { color: var(--color-term-fg); }                      /* typed command */
.c-ok  { color: #4ade80; }                      /* ✓ */
.c-add { color: #4ade80; }                      /* + */
.c-chg { color: #fcd34d; }                      /* ~ */
.c-err { color: #f87171; }                      /* ✗ / error */
.c-dim { color: var(--color-term-dim); }                      /* plain output */
.c-url { color: #93c5fd; }                      /* links in output */

/* ---------------------------------------------------------------- below-the-fold helpers */

.rule {
  height: 1px;
  background: var(--color-border);
  border: 0;
}

/* Bordered feature grid: cells share hairlines, no card shadows. */
.grid-cells {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-border);
  gap: 1px;
}

.grid-cells > * {
  background: var(--color-surface);
  padding: 24px;
}

@media (min-width: 640px) {
  .grid-cells.cols-2,
  .grid-cells.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.cell-hover {
  transition: background-color 0.15s ease;
}

.cell-hover:hover {
  background: var(--color-subtle);
}

/* Battery item: mono label, then one line. */
.battery .k {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--color-fg);
  background: var(--color-subtle);
  border: 1px solid var(--color-border);
  border-radius: 5px;
  padding: 2px 7px;
}

.battery p {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--color-muted);
}

/* Ladder rows */
.ladder {
  border-top: 1px solid var(--color-border);
}

.ladder-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px 40px;
  padding: 32px 0;
  border-bottom: 1px solid var(--color-border);
}

@media (min-width: 860px) {
  .ladder-row {
    grid-template-columns: 5fr 7fr;
    align-items: start;
    padding: 40px 0;
  }
}

.ladder-n {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-faint);
}

/* SQL → EQL primer table */
.cmp {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 13px;
}

.cmp th {
  text-align: left;
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-faint);
  padding: 0 0 10px;
  border-bottom: 1px solid var(--color-border);
}

.cmp td {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
  line-height: 1.6;
}

.cmp tr:last-child td {
  border-bottom: 0;
}

.cmp .from {
  color: var(--color-faint);
  padding-right: 32px;
  width: 46%;
}

.cmp .to {
  color: var(--color-fg);
}

@media (max-width: 700px) {
  .cmp,
  .cmp tbody,
  .cmp tr,
  .cmp td {
    display: block;
    width: 100%;
  }

  .cmp thead {
    display: none;
  }

  .cmp tr {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
  }

  .cmp td {
    border: 0;
    padding: 0;
  }

  .cmp .from {
    width: 100%;
    padding: 0 0 4px;
  }
}

/* Browser-chrome frame for the admin screenshot. */
.browser {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 32px 64px -32px rgba(0, 0, 0, 0.25);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  background: var(--color-subtle);
  border-bottom: 1px solid var(--color-border);
}

.browser-bar .panel-dot {
  background: var(--color-border-strong);
}

.browser-url {
  margin-left: 6px;
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 6px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-muted);
}

/* Same frame for every capture. */
.browser-shot {
  aspect-ratio: 1440 / 860;
  overflow: hidden;
}

.browser-shot img {
  width: 100%;
  object-fit: cover;
  object-position: top left;
}

.row-center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

/* Footer */
.foot-col h3 {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-fg);
}

.foot-col a {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--color-muted);
  transition: color 0.15s ease;
}

.foot-col a:hover {
  color: var(--color-fg);
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

}
