/* Páginas de conteúdo do Alef Photo: coluna de leitura, mesma identidade do editor (violeta, Inter). */
:root {
  --bg: #f7f6fb; --surface: #ffffff; --ink: #1b1a24; --muted: #5d5a6d; --line: #e2e0eb;
  --accent: #5848db; --accent-ink: #ffffff; --accent-soft: #edeaff;
  --font: Inter, "Inter Variable", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #131217; --surface: #1c1b22; --ink: #ebeaf2; --muted: #a29fb3; --line: #2c2a36; --accent: #9b8fff; --accent-ink: #15131f; --accent-soft: #24203d; color-scheme: dark; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--font); }
.in { max-width: 760px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
a { color: var(--accent); text-underline-offset: 2px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

.site-head { border-bottom: 1px solid var(--line); background: var(--surface); }
.site-head .in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-weight: 650; letter-spacing: -0.01em; }
.brand svg { color: var(--accent); }
.site-head nav { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; font-size: 15px; }
.site-head nav a { color: var(--muted); text-decoration: none; }
.site-head nav a:hover, .site-head nav a[aria-current="page"] { color: var(--ink); }
.site-head nav a.cta { background: var(--accent); color: var(--accent-ink); padding: 7px 14px; border-radius: 7px; font-weight: 600; }
.site-head nav a.cta:hover { filter: brightness(1.08); color: var(--accent-ink); }

main { padding-block: 48px 40px; }
main > * + * { margin-top: 1.1em; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(30px, 5vw, 40px); margin: 0 0 0.4em; font-weight: 700; }
h2 { font-size: 24px; margin-top: 1.9em; font-weight: 650; }
h3 { font-size: 19px; margin-top: 1.5em; font-weight: 600; }
.lead { font-size: 19px; color: var(--muted); }
p, li { max-width: 68ch; }
ol, ul { padding-left: 1.3em; }
li + li { margin-top: 0.4em; }
kbd { font: 500 0.82em ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; background: var(--surface); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: 1px 6px; white-space: nowrap; }
.path { font-weight: 600; }
code { font: 0.88em ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }

.table { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
th { font-size: 13px; font-weight: 600; color: var(--muted); }
td { font-variant-numeric: tabular-nums; }

.note { background: var(--accent-soft); border-radius: 10px; padding: 16px 18px; }
.note p { margin: 0; }
.try { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 18px 20px; margin-top: 2em; }
.try p { margin: 0; font-weight: 550; }
.try a { background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 600; padding: 9px 16px; border-radius: 8px; white-space: nowrap; }

.cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.cards li { margin: 0; max-width: none; }
.cards a { display: grid; gap: 4px; height: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); text-decoration: none; color: var(--ink); }
.cards a:hover { border-color: var(--accent); }
.cards b { font-weight: 600; }
.cards span { color: var(--muted); font-size: 15px; }
.related { border-top: 1px solid var(--line); padding-top: 1.2em; margin-top: 2.4em; }
.updated { color: var(--muted); font-size: 14px; margin-top: 2.4em; }

.site-foot { border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.site-foot .in { padding-block: 28px 40px; display: grid; gap: 10px; }
.site-foot p { margin: 0; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-foot nav a { color: var(--muted); }
.site-foot .mail { user-select: all; }
