/* Clowley — hi-fi marketing landing.
   Tech-minimal with one warm accent for distinction. No emoji, no gradients,
   no rounded-corner-with-accent-border-left tropes. */

:root {
  --paper: #0e0d0b;
  --paper-2: #15140f;
  --card: #1a1814;
  --ink: #f1ece0;
  --ink-2: #d8d2c4;
  --muted: #94907f;
  --muted-2: #6b6857;
  --line: #2a2720;
  --line-2: #3a3628;
  --accent: #d68645;
  --accent-2: #ea9656;
  --accent-bg: #2a1f12;
  --green: #6db17e;
  --red: #d97464;
  --blue: #74a3c2;

  --r-1: 6px;
  --r-2: 10px;
  --r-3: 14px;
  --r-4: 22px;

  --shadow-1: 0 1px 0 rgba(0, 0, 0, 0.3);
  --shadow-2: 0 2px 4px rgba(0, 0, 0, 0.4), 0 12px 28px rgba(0, 0, 0, 0.5);
  --shadow-3: 0 4px 8px rgba(0, 0, 0, 0.5), 0 30px 60px rgba(0, 0, 0, 0.6);

  --w: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Geist", "Inter", system-ui, sans-serif;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }

.mono { font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace; }
.serif { font-family: "Instrument Serif", Georgia, serif; }

/* ── Container ─────────────────────────────── */
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 clamp(24px, 4vw, 56px); }

/* ── Top bar ───────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in oklab, var(--line) 60%, transparent);
}
.nav {
  display: flex; align-items: center; gap: 28px;
  height: 60px;
}
.logo { display: flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: -0.01em; }
.logo svg { display: block; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--ink-2); font-size: 14px; }
.nav-links a:hover { color: var(--ink); }
.nav-spacer { flex: 1; }
.nav-cta { display: flex; gap: 8px; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border-radius: var(--r-2);
  font-size: 14px; font-weight: 500;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow-1);
  transition: transform 80ms ease, background 120ms ease, border-color 120ms ease;
}
.btn:hover { background: var(--paper-2); border-color: var(--line-2); }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-primary:hover { background: color-mix(in oklab, var(--ink) 88%, var(--accent)); border-color: var(--ink); }
.btn-ghost { background: transparent; border-color: transparent; box-shadow: none; }
.btn-ghost:hover { background: var(--paper-2); }
.btn-lg { padding: 12px 18px; font-size: 15px; border-radius: var(--r-2); }
.btn-arrow { transition: transform 200ms ease; }
.btn:hover .btn-arrow { transform: translateX(2px); }

/* ── Eyebrow tag ────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-size: 12px;
  color: var(--ink-2);
  box-shadow: var(--shadow-1);
}
.eyebrow .pip {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 600;
  padding: 3px 8px; border-radius: 999px;
  background: var(--accent-bg); color: var(--accent-2);
  letter-spacing: 0.06em; text-transform: uppercase;
}

/* ── Hero ───────────────────────────────────── */
.hero { padding: 84px 0 56px; text-align: center; position: relative; }
.hero h1 {
  margin: 22px auto 0;
  max-width: 980px;
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.hero h1 em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--accent);
}
.hero p.lede {
  max-width: 620px; margin: 22px auto 0;
  font-size: 19px; line-height: 1.45; color: var(--muted);
}
.hero-ctas { margin: 32px 0 0; display: inline-flex; gap: 10px; }
.hero-meta { margin-top: 14px; color: var(--muted-2); font-size: 13px; }

/* ── Trust strip ────────────────────────────── */
.trust { padding: 36px 0; }
.trust-row {
  display: flex; align-items: center; justify-content: center;
  gap: 36px; flex-wrap: wrap;
  color: var(--muted-2); font-size: 13px;
}
.trust-row .label { letter-spacing: 0.08em; text-transform: uppercase; font-size: 11px; }
.brand {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 22px; color: var(--muted);
  opacity: 0.85;
}
.brand.b2 { font-family: "Geist Mono", monospace; font-size: 14px; letter-spacing: 0.02em; }
.brand.b3 { font-family: "Geist", sans-serif; font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }

/* ── Browser frame product shot ─────────────── */
.shot-wrap { padding: 12px 0 80px; position: relative; }
.shot {
  position: relative;
  border-radius: var(--r-4);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-3);
  overflow: hidden;
}
.shot-chrome {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.dot { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); }
.dot:nth-child(1) { background: #e07e5a; }
.dot:nth-child(2) { background: #d8b13d; }
.dot:nth-child(3) { background: #6fb377; }
.url-pill {
  flex: 1; max-width: 480px; margin: 0 auto;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  font: 13px "Geist Mono", monospace;
  color: var(--muted);
  display: flex; align-items: center; gap: 8px; justify-content: center;
}
.url-pill .lock { font-size: 11px; color: var(--green); }

/* ── Product UI inside the shot ─────────────── */
.product {
  display: grid;
  grid-template-columns: 220px 1fr 280px;
  min-height: 580px;
}
.product-side {
  border-right: 1px solid var(--line);
  background: var(--paper);
  padding: 18px 14px;
  display: flex; flex-direction: column; gap: 4px;
}
.side-org {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 8px;
  border-radius: var(--r-2);
  border: 1px solid var(--line);
  background: var(--card);
  margin-bottom: 12px;
}
.side-org .glyph {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--ink); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; letter-spacing: 0.02em;
}
.side-org .meta { display: flex; flex-direction: column; line-height: 1.1; }
.side-org .name { font-size: 13.5px; font-weight: 600; }
.side-org .plan { font-size: 11px; color: var(--muted); margin-top: 2px; }
.side-org .chev { margin-left: auto; color: var(--muted); font-size: 11px; }

.side-section { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 12px 6px 6px; }
.side-item {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 8px;
  border-radius: var(--r-1);
  font-size: 13.5px; color: var(--ink-2);
  cursor: default;
}
.side-item:hover { background: var(--paper-2); }
.side-item.active { background: var(--card); border: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.side-item .badge {
  margin-left: auto; font-size: 11px; padding: 1px 7px; border-radius: 999px;
  background: var(--paper-2); color: var(--muted);
  font-family: "Geist Mono", monospace;
}
.side-item .badge.dot { background: var(--accent); color: var(--paper); }

/* main column */
.product-main { padding: 22px 24px; }
.crumbs { font-size: 12.5px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.crumbs .sep { opacity: 0.5; }
.product-h {
  display: flex; align-items: center; gap: 12px; margin: 6px 0 16px;
}
.product-h h2 {
  font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin: 0;
}
.product-h .count { color: var(--muted); font: 14px "Geist Mono", monospace; }
.product-h .h-spacer { flex: 1; }
.searchbox {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  font: 12.5px "Geist Mono", monospace;
  color: var(--muted);
}
.kbd {
  font: 11px "Geist Mono", monospace;
  border: 1px solid var(--line); background: var(--card);
  padding: 1px 6px; border-radius: 4px; color: var(--muted-2);
}

.tab-row { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.tab {
  padding: 8px 12px;
  font-size: 13.5px; color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tab.active { color: var(--ink); border-bottom-color: var(--ink); font-weight: 500; }
.tab .num { font: 11px "Geist Mono", monospace; color: var(--muted-2); margin-left: 4px; }

.bucket-row {
  display: grid;
  grid-template-columns: 24px 1.6fr 0.8fr 1fr 0.6fr 60px;
  gap: 12px;
  align-items: center;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.bucket-row.head {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); padding-bottom: 8px;
}
.bucket-row .ic {
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px; background: var(--paper-2);
}
.bucket-name { font: 13.5px "Geist Mono", monospace; color: var(--ink); }
.bucket-name .meta { color: var(--muted); margin-left: 8px; font-size: 12px; }
.size-bar { display: flex; align-items: center; gap: 8px; }
.size-bar .b { width: 64px; height: 4px; border-radius: 4px; background: var(--paper-2); position: relative; overflow: hidden; }
.size-bar .b::after { content: ""; position: absolute; inset: 0; width: var(--w-pct, 30%); background: var(--ink); }
.size-bar.warn .b::after { background: var(--accent); }
.size-bar .v { font: 12.5px "Geist Mono", monospace; color: var(--muted); }

.acl {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  font: 11px "Geist Mono", monospace;
  color: var(--ink-2);
}
.acl .led { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.acl.team .led { background: var(--accent); }
.acl.public .led { background: var(--red); }
.acl.admin .led { background: var(--blue); }
.acl.read .led { background: var(--green); }

.avatars { display: flex; align-items: center; }
.avatars .av {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  font-size: 10px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
  margin-left: -6px; border: 2px solid var(--card);
}
.avatars .av:nth-child(1) { background: #c2722b; margin-left: 0; }
.avatars .av:nth-child(2) { background: #3a6b8a; }
.avatars .av:nth-child(3) { background: #3d7a4f; }
.avatars .av:nth-child(4) { background: #6b3a8a; }
.avatars .more {
  margin-left: -6px;
  font: 10px "Geist Mono", monospace;
  background: var(--paper-2); color: var(--muted);
  border: 2px solid var(--card);
  width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}

.row-meta { font: 12.5px "Geist Mono", monospace; color: var(--muted); text-align: right; }
.row-actions { color: var(--muted); justify-self: end; padding-right: 6px; }

/* right rail */
.product-aside {
  border-left: 1px solid var(--line);
  background: var(--paper);
  padding: 22px 18px;
  display: flex; flex-direction: column; gap: 22px;
}
.aside-h { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.activity { display: flex; flex-direction: column; gap: 14px; }
.act { display: flex; gap: 10px; align-items: flex-start; }
.act .av-sm {
  width: 24px; height: 24px; border-radius: 50%;
  font-size: 10px; font-weight: 600; color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.act-body { font-size: 12.5px; line-height: 1.4; color: var(--ink-2); }
.act-body .who { font-weight: 600; color: var(--ink); }
.act-body .obj { font-family: "Geist Mono", monospace; color: var(--ink); }
.act .when { display: block; font: 11px "Geist Mono", monospace; color: var(--muted-2); margin-top: 2px; }

.api-card {
  background: #15130f;
  color: #e8e4d8;
  border-radius: var(--r-2);
  padding: 14px;
  font: 12px "Geist Mono", monospace;
  line-height: 1.6;
  border: 1px solid #2a2620;
}
.api-card .ck { color: var(--accent); }
.api-card .gr { color: #6fb377; }
.api-card .cm { color: #6b6857; }

/* floating callouts */
.callout {
  position: absolute;
  display: flex; align-items: center; gap: 8px;
  padding: 7px 11px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  box-shadow: var(--shadow-2);
  white-space: nowrap;
}
.callout .led { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.callout.c1 { left: -56px; top: 200px; }
.callout.c2 { right: -40px; top: 100px; }
.callout.c3 { right: -80px; bottom: 220px; }
.callout.c4 { left: -76px; bottom: 140px; }

/* ── Section base ───────────────────────────── */
.section { padding-top: 110px; padding-bottom: 110px; border-top: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 0 48px; }
.section-eyebrow {
  display: inline-block;
  font: 12px "Geist Mono", monospace;
  color: var(--accent);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.section h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0;
}
.section h2 em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic; font-weight: 400; color: var(--accent);
}
.section .lede {
  margin-top: 20px; font-size: 18px; line-height: 1.5; color: var(--muted);
  max-width: 580px;
}

/* ── Permissions section ────────────────────── */
.perm-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.perm-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-3);
  padding: 22px; box-shadow: var(--shadow-2);
}
.perm-card-head {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 14px; margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.perm-card-head h4 { margin: 0; font-size: 15px; font-weight: 600; }
.perm-card-head .id { font: 12px "Geist Mono", monospace; color: var(--muted); margin-left: auto; }

.perm-table { display: flex; flex-direction: column; }
.perm-th, .perm-tr {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 56px);
  align-items: center;
  gap: 4px;
  padding: 10px 4px;
  border-bottom: 1px solid var(--line);
}
.perm-th {
  font: 11px "Geist Mono", monospace;
  color: var(--muted);
  text-align: center;
}
.perm-th div:first-child { text-align: left; }
.perm-tr:last-child { border-bottom: 0; }
.perm-tr .who {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px;
}
.perm-tr .who .av-sm {
  width: 24px; height: 24px; border-radius: 50%;
  font-size: 10px; font-weight: 600; color: var(--paper);
  display: flex; align-items: center; justify-content: center;
}
.perm-tr .who .role {
  font: 11px "Geist Mono", monospace; color: var(--muted); margin-left: 6px;
}
.tog {
  width: 36px; height: 22px;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  position: relative;
  margin: 0 auto;
}
.tog::after {
  content: ""; position: absolute; left: 2px; top: 1px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--line);
}
.tog.on { background: var(--ink); border-color: var(--ink); }
.tog.on::after { left: auto; right: 2px; background: var(--paper); border-color: var(--ink); }
.tog.lock { opacity: 0.4; }

.perm-points { display: flex; flex-direction: column; gap: 22px; }
.perm-point { display: flex; gap: 14px; }
.perm-point .ic-box {
  flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper-2); border: 1px solid var(--line);
}
.perm-point h5 { margin: 0 0 4px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.perm-point p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* ── Three-up features ──────────────────────── */
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.f-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-3); padding: 26px;
  display: flex; flex-direction: column; gap: 16px;
  min-height: 240px;
  box-shadow: var(--shadow-1);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.f-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.f-card .ic-box {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--accent-bg); color: var(--accent-2);
  display: flex; align-items: center; justify-content: center;
}
.f-card h4 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.f-card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.f-card .meta { font: 11px "Geist Mono", monospace; color: var(--muted-2); letter-spacing: 0.04em; text-transform: uppercase; margin-top: auto; }

/* ── Code section ───────────────────────────── */
.code-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: start; }
.code-pane {
  background: #15130f;
  color: #e8e4d8;
  border-radius: var(--r-3);
  border: 1px solid #2a2620;
  overflow: hidden;
  box-shadow: var(--shadow-3);
}
.code-tabs {
  display: flex; gap: 0;
  background: #1c1915;
  border-bottom: 1px solid #2a2620;
}
.code-tab {
  padding: 10px 16px;
  font: 12.5px "Geist Mono", monospace;
  color: #94907f;
  border-right: 1px solid #2a2620;
}
.code-tab.active { color: #e8e4d8; background: #15130f; }
.code-body {
  padding: 22px 24px;
  font: 13px "Geist Mono", monospace;
  line-height: 1.7;
  white-space: pre;
  overflow-x: auto;
}
.code-body .cm { color: #6b6857; }
.code-body .kw { color: #d68645; }
.code-body .st { color: #b8a36e; }
.code-body .fn { color: #74a3c2; }
.code-body .num { color: #c8b878; }

.code-side h3 { font-size: 32px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 18px; }
.code-side h3 em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; color: var(--accent); font-weight: 400; }
.code-side ul { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 14px; }
.code-side li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.code-side li::before {
  content: ""; flex-shrink: 0; margin-top: 8px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.code-side .stat-row { display: flex; gap: 32px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.code-side .stat .v { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.code-side .stat .l { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ── Integrations ───────────────────────────── */
.int-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.int {
  aspect-ratio: 1.4 / 1;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-2);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px;
  font-size: 13px; color: var(--ink-2);
  transition: background 120ms;
}
.int:hover { background: var(--paper-2); }
.int .ig {
  width: 28px; height: 28px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper-2); color: var(--ink);
  font: 600 13px "Geist Mono", monospace;
}

/* ── Final CTA ──────────────────────────────── */
.final {
  margin: 80px 0 0;
  padding: 80px 32px;
  border-radius: var(--r-4);
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(800px 320px at 50% -100px, color-mix(in oklab, var(--accent) 40%, transparent) 0%, transparent 70%);
  pointer-events: none;
}
.final h2 { font-size: clamp(36px, 5vw, 64px); margin: 0; letter-spacing: -0.03em; line-height: 1; font-weight: 600; }
.final h2 em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; color: var(--accent-2); }
.final .lede { color: color-mix(in oklab, var(--paper) 70%, transparent); margin: 18px auto 0; max-width: 520px; font-size: 17px; }
.final-ctas { display: inline-flex; gap: 10px; margin-top: 28px; }
.final .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.final .btn:hover { background: color-mix(in oklab, var(--paper) 90%, var(--accent)); }
.final .btn-ghost { background: transparent; border-color: color-mix(in oklab, var(--paper) 30%, transparent); color: var(--paper); }
.final .btn-ghost:hover { background: color-mix(in oklab, var(--paper) 8%, transparent); }

/* ── Footer ─────────────────────────────────── */
footer { padding: 60px 0 36px; }
.foot-grid {
  display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 36px;
  margin-bottom: 48px;
}
.foot-h { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px; }
.foot-col a { display: block; font-size: 14px; color: var(--ink-2); margin-bottom: 8px; }
.foot-col a:hover { color: var(--ink); }
.foot-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
.foot-bottom .rail { display: flex; gap: 18px; align-items: center; }
.status { display: inline-flex; align-items: center; gap: 8px; }
.status .led { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px color-mix(in oklab, var(--green) 25%, transparent); }

/* ── Shared site footer (used on every page) ───────────────── */
.site-foot {
  margin-top: 56px;
  padding: 32px 28px;
  border-top: 1px solid var(--line);
}
.site-foot-inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.site-foot a { color: var(--muted); border-bottom: 1px dotted var(--line-2); }
.site-foot a:hover { color: var(--ink-2); }
.site-foot .rail { display: flex; gap: 18px; align-items: center; }
.site-foot .status { display: inline-flex; align-items: center; gap: 8px; border-bottom: 0; }
.site-foot .status .led {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--green) 25%, transparent);
}
@media (max-width: 600px) {
  .site-foot { padding: 24px 22px; }
  .site-foot-inner { flex-direction: column; align-items: flex-start; }
}

/* ── Tweaks (small panel bottom-right) ──────── */
.tweaks {
  position: fixed; right: 18px; bottom: 18px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-3); padding: 12px;
  box-shadow: var(--shadow-2);
  display: flex; flex-direction: column; gap: 10px;
  z-index: 60;
  font-size: 12px;
  min-width: 180px;
}
.tweaks-h { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.tweaks-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tweaks-row .label { color: var(--ink-2); }
.swatches { display: flex; gap: 6px; }
.sw {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid var(--line);
  cursor: pointer;
}
.sw.active { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--ink); }

/* ── Responsive ─────────────────────────────── */
@media (max-width: 1080px) {
  .product { grid-template-columns: 200px 1fr; }
  .product-aside { display: none; }
  .perm-grid, .code-grid { grid-template-columns: 1fr; gap: 36px; }
  .three { grid-template-columns: 1fr; }
  .int-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .callout { display: none; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .product { grid-template-columns: 1fr; }
  .product-side { display: none; }
  .bucket-row { grid-template-columns: 24px 1.4fr 0.8fr; }
  .bucket-row .acl-cell, .bucket-row .avatars-cell, .bucket-row .row-actions { display: none; }
  .int-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
  .hero { padding: 48px 0 32px; }
  .section { padding-top: 70px; padding-bottom: 70px; }
  .final { padding: 56px 22px; margin-top: 50px; }
}
