:root {
  --bg:        #f7f6f3;
  --panel:     #ffffff;
  --ink:       #111111;
  --ink-2:     #404040;
  --ink-3:     #707070;
  --line:      rgba(0,0,0,0.10);
  --line-2:    rgba(0,0,0,0.06);
  --hover:     rgba(0,0,0,0.04);
  --active:    rgba(0,0,0,0.07);
  --accent:    #111111;
  --accent-ink:#ffffff;
  --danger:    #B23A2B;
  --radius:    0px;            /* Swiss: hard edges */
  --radius-sm: 2px;
  --shadow:    0 1px 0 rgba(0,0,0,0.04);
  --font-sans: "Geist", "Helvetica Neue", Helvetica, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --tx-h: 11px;
  --tx-s: 13px;
  --tx-m: 14px;
}
:root[data-theme="dark"] {
  --bg:        #0e0e0f;
  --panel:     #161618;
  --ink:       #f3f3f1;
  --ink-2:     #c8c7c2;
  --ink-3:     #8a8a86;
  --line:      rgba(255,255,255,0.10);
  --line-2:    rgba(255,255,255,0.06);
  --hover:     rgba(255,255,255,0.05);
  --active:    rgba(255,255,255,0.08);
  --accent:    #f3f3f1;
  --accent-ink:#0e0e0f;
}

* { box-sizing: border-box; }
html, body, #root { margin: 0; }
html, body { height: auto; min-height: 100%; }
#root { min-height: 100vh; display: flex; flex-direction: column; }
.app-root { display: contents; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--tx-m);
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-y: auto;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--accent-ink); }

/* ── App grid ──────────────────────────────────────────────────────────── */
.app {
  display: grid;
  grid-template-rows: 48px 1fr auto;
  height: 100vh;
  min-height: 600px;
  flex: 0 0 auto;
  border-bottom: 1px solid var(--line);
}

/* ── Top bar ───────────────────────────────────────────────────────────── */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  height: 48px;
  user-select: none;
}
.brand { display: flex; align-items: baseline; gap: 14px; min-width: 0; }
.brand-mark {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.02em;
}
.brand-dot { color: var(--ink-3); }
.brand-tld { color: var(--ink-3); font-weight: 400; }
.brand-tag {
  color: var(--ink-3);
  font-size: 12px;
  letter-spacing: -0.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 720px) { .brand-tag { display: none; } }

.topbar-right { display: flex; align-items: center; gap: 6px; }

.lang-wrap { position: relative; display: inline-flex; align-items: center; }
.lang-select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  color: var(--ink-2);
  font-family: inherit;
  font-size: 12px;
  padding: 6px 18px 6px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.lang-select:hover { background: var(--hover); color: var(--ink); }
.lang-wrap::after {
  content: "";
  position: absolute;
  right: 7px; top: 50%;
  width: 6px; height: 6px;
  border-right: 1px solid var(--ink-3);
  border-bottom: 1px solid var(--ink-3);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  background: transparent;
  color: var(--ink-2);
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.icon-btn:hover { background: var(--hover); color: var(--ink); }

.primary-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0 12px;
  height: 30px;
  background: var(--accent);
  color: var(--accent-ink);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  text-decoration: none;
}
.primary-btn:hover { opacity: 0.88; }
.primary-btn[disabled] { opacity: 0.35; cursor: not-allowed; }
.primary-btn svg { opacity: 0.85; }

.ghost-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 0 12px;
  height: 28px;
  background: transparent;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
}
.ghost-btn:hover { background: var(--hover); color: var(--ink); }
.ghost-btn.small { height: 22px; padding: 0 8px; font-size: 11px; }
.ghost-btn[disabled] { opacity: 0.4; cursor: not-allowed; }

/* ── Main area ─────────────────────────────────────────────────────────── */
.main {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 0;
  overflow: hidden;
}
.main.with-settings {
  grid-template-columns: 1fr 320px;
}
@media (max-width: 900px) {
  .main.with-settings { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
}

/* ── Empty dropzone ────────────────────────────────────────────────────── */
.empty {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  border: 1px dashed var(--line);
  margin: 24px;
  background:
    repeating-linear-gradient(45deg, transparent 0 11px, var(--line-2) 11px 12px);
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.empty:hover, .empty.drag-over {
  border-color: var(--ink);
  background:
    linear-gradient(var(--hover), var(--hover)),
    repeating-linear-gradient(45deg, transparent 0 11px, var(--line-2) 11px 12px);
}
.empty-inner {
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  text-align: center;
  pointer-events: none;
}
.empty-mark { color: var(--ink-3); }
.empty-title {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.empty-sub {
  font-size: 13px;
  color: var(--ink-3);
  font-family: var(--font-mono);
}
.empty-footer {
  position: absolute;
  left: 24px; right: 24px; bottom: 16px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-3);
  text-align: center;
  pointer-events: none;
}

/* ── Preview ──────────────────────────────────────────────────────────── */
.preview {
  display: grid;
  grid-template-rows: 1fr 40px;
  min-height: 0;
  min-width: 0;
}
.preview-canvas-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  min-height: 0;
  min-width: 0;
  position: relative;
}
.preview-canvas {
  display: block;
  max-width: 100%;
  max-height: 100%;
  background: #000;
  box-shadow: 0 0 0 1px var(--line), 0 1px 0 var(--line);
  object-fit: contain;
}
.preview-empty {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  pointer-events: none;
}

/* ── Scrub bar ─────────────────────────────────────────────────────────── */
.scrub {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border-top: 1px solid var(--line);
  background: var(--panel);
}
.scrub .ghost-btn { width: 28px; padding: 0; }
.time {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  min-width: 96px;
}
.time-sep { color: var(--ink-3); padding: 0 2px; }
.time-total { color: var(--ink-3); }
.dims {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.scrub-bar {
  flex: 1;
  appearance: none;
  -webkit-appearance: none;
  height: 2px;
  background: var(--line);
  outline: none;
  cursor: pointer;
  margin: 0;
}
.scrub-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  border: 0;
  cursor: pointer;
}
.scrub-bar::-moz-range-thumb {
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  border: 0;
  cursor: pointer;
}

/* ── Settings panel ────────────────────────────────────────────────────── */
.settings {
  border-left: 1px solid var(--line);
  background: var(--panel);
  padding: 14px 18px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sect { padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.sect:last-child { border-bottom: 0; }
.sect-h {
  margin: 0 0 12px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-family: var(--font-mono);
}
.field {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-bottom: 12px;
}
.field:last-child { margin-bottom: 0; }
.field-label {
  font-size: 12px;
  color: var(--ink-2);
}
.field-control { display: flex; min-width: 0; }

/* Segmented radio */
.seg {
  display: flex;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  overflow: hidden;
}
.seg-opt {
  flex: 1;
  appearance: none;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  color: var(--ink-2);
  font-family: inherit;
  font-size: 11.5px;
  height: 26px;
  cursor: pointer;
  padding: 0 6px;
  letter-spacing: -0.005em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.seg-opt:last-child { border-right: 0; }
.seg-opt:hover { background: var(--hover); color: var(--ink); }
.seg-opt.active {
  background: var(--ink);
  color: var(--bg);
}
:root[data-theme="dark"] .seg-opt.active { background: var(--ink); color: var(--bg); }

/* Numeric input row */
.row-num {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.num {
  width: 72px;
  height: 26px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  outline: none;
  font-variant-numeric: tabular-nums;
}
.num:focus { border-color: var(--ink); }
.num-unit {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
}
.apply-all {
  margin-left: auto;
  appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-3);
  width: 26px; height: 26px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
}
.apply-all:hover { color: var(--ink); border-color: var(--ink); }

/* Background swatches */
.bg-swatches {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.bg-sw {
  width: 22px; height: 22px;
  border: 1px solid var(--line);
  cursor: pointer;
  padding: 0;
  position: relative;
}
.bg-sw.active::after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 1px solid var(--ink);
}
.bg-color {
  width: 26px; height: 22px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.dim-readout {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

/* ── Filmstrip ─────────────────────────────────────────────────────────── */
.strip {
  border-top: 1px solid var(--line);
  background: var(--panel);
  padding: 8px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 38vh;
}
.strip-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 4px;
}
.strip-count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-2);
  letter-spacing: 0;
}
.strip-hint {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-3);
}
.strip-meta .ghost-btn { margin-left: auto; }

.strip-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 4px 8px;
  scroll-snap-type: x proximity;
}
.strip-row::-webkit-scrollbar { height: 8px; }
.strip-row::-webkit-scrollbar-thumb { background: var(--line); }

.thumb {
  position: relative;
  flex: 0 0 auto;
  width: 132px; height: 88px;
  background: #000;
  border: 1px solid var(--line);
  cursor: grab;
  overflow: hidden;
  scroll-snap-align: start;
  transition: border-color .12s ease, transform .12s ease;
}
.thumb:active { cursor: grabbing; }
.thumb.selected { border-color: var(--ink); outline: 1px solid var(--ink); outline-offset: -1px; }
.thumb.drag-over { border-color: var(--accent); }
.thumb-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.thumb-x {
  position: absolute;
  top: 4px; right: 4px;
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  opacity: 0;
  transition: opacity .12s ease;
}
.thumb:hover .thumb-x { opacity: 1; }
.thumb-bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0));
}
.thumb-dur {
  width: 44px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 1px 4px;
  outline: none;
  border-radius: var(--radius-sm);
}
.thumb-dur:focus { border-color: #fff; }
.thumb-dur-unit { color: rgba(255,255,255,0.7); font-family: var(--font-mono); font-size: 10px; }

.thumb.add {
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  border: 1px dashed var(--line);
  color: var(--ink-3);
  cursor: pointer;
}
.thumb.add:hover { color: var(--ink); border-color: var(--ink); }

/* Credits row (only shown when demo images are loaded) */
.credits {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
  padding: 4px 6px 0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-3);
  letter-spacing: 0;
}
.credits-label { color: var(--ink-3); }
.credits-sep { color: var(--ink-3); opacity: 0.6; }
.credits-link {
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .12s ease, border-color .12s ease;
}
.credits-link:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* ── Export overlay ────────────────────────────────────────────────────── */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex; align-items: center; justify-content: center;
  z-index: 100;
  padding: 24px;
}
.overlay-card {
  width: min(560px, 100%);
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ov-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}
.ov-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
}
.ov-progress-track {
  height: 4px;
  background: var(--line);
  overflow: hidden;
}
.ov-progress-fill {
  height: 100%;
  background: var(--accent);
  transition: width .15s ease;
}
.ov-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.ov-video {
  width: 100%;
  max-height: 50vh;
  background: #000;
  display: block;
}
.ov-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ov-actions .ghost-btn { margin-left: auto; }

/* ── Landing ───────────────────────────────────────────────────────────── */
.landing {
  background: var(--bg);
  color: var(--ink);
  width: 100%;
}
.lsec {
  max-width: 1240px;
  margin: 0 auto;
  padding: 88px 32px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 720px) {
  .lsec { padding: 56px 20px; }
}

.lsec-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 56px;
  max-width: 880px;
}
.lsec-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.lsec-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 500;
  color: var(--ink);
  text-wrap: balance;
  max-width: 22ch;
}

/* Grid */
.lgrid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.lgrid-3 { grid-template-columns: repeat(3, 1fr); }
.lgrid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .lgrid-3, .lgrid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .lgrid-3, .lgrid-4 { grid-template-columns: 1fr; }
}

.lcard {
  background: var(--panel);
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 180px;
}
.lcard-idx {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.lcard-h {
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.015em;
  font-weight: 500;
  color: var(--ink);
}
.lcard-p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}
.lcard--who .lcard-h { font-size: 19px; }

/* Steps */
.lsteps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.lstep {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.lstep:last-child { border-bottom: 1px solid var(--line); }
.lstep-n {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.lstep-h {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.02em;
  font-weight: 500;
}
.lstep-p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 56ch;
  text-wrap: pretty;
}
@media (max-width: 720px) {
  .lstep { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
}

/* Tech */
.ltech {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
}
@media (max-width: 800px) { .ltech { grid-template-columns: 1fr; gap: 24px; } }
.ltech-body {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  text-wrap: pretty;
  letter-spacing: -0.01em;
}
.ltech-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ltech-point {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.ltech-point-dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  transform: translateY(-2px);
}

/* Specs */
.lspecs { margin: 0; display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
.lspec-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 2fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.lspec-k {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.lspec-v {
  margin: 0;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
@media (max-width: 600px) {
  .lspec-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
}

/* FAQ */
.lfaq {
  border-top: 1px solid var(--line);
}
.lfaq-item { border-bottom: 1px solid var(--line); }
.lfaq-q {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 22px 0;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  color: var(--ink);
  font-family: inherit;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.lfaq-q:hover { color: var(--ink); }
.lfaq-mark {
  font-family: var(--font-mono);
  color: var(--ink-3);
  font-size: 18px;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}
.lfaq-a {
  padding: 0 40px 22px 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 70ch;
  text-wrap: pretty;
}

/* CTA */
.lsec--cta {
  border-bottom: 0;
}
.lcta {
  padding: 48px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 720px;
}
.lcta-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 500;
  color: var(--ink);
  text-wrap: balance;
}
.lcta-btn {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  background: var(--accent);
  color: var(--accent-ink);
  border: 1px solid var(--accent);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
}
.lcta-btn:hover { opacity: 0.88; }

/* Footer */
.lfooter {
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.lfooter-row {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 32px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
@media (max-width: 720px) { .lfooter-row { padding: 24px 20px; } }
.lfooter-brand {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.02em;
}
.lfooter-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0;
}
@media (max-width: 560px) {
  .lfooter-meta { align-items: flex-start; text-align: left; }
}
.lfooter-line a { font-family: var(--font-sans); font-size: 11.5px; }
.lfooter-nav {
  display: flex;
  gap: 18px;
  flex: 1 1 auto;
  justify-content: center;
}
@media (max-width: 720px) {
  .lfooter-nav { justify-content: flex-start; flex-basis: 100%; order: 3; }
}
.lfooter-navlink {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
.lfooter-navlink:hover { color: var(--ink); border-bottom-color: var(--ink); }
.lfooter-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: flex-end;
}
@media (max-width: 720px) {
  .lfooter-langs { justify-content: flex-start; flex-basis: 100%; order: 4; }
}
