/* pogleda.com — single stylesheet, no JS. Brand: docs/brand/pogleda/BRAND.md */

/* Manrope (SIL OFL 1.1, fonts/OFL-Manrope.txt), self-hosted, latin + latin-ext subsets */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/manrope-latin-400-normal.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: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/manrope-latin-ext-400-normal.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: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/manrope-latin-700-normal.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: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/manrope-latin-ext-700-normal.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: 'Manrope'; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/manrope-latin-800-normal.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: 'Manrope'; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/manrope-latin-ext-800-normal.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; }

:root {
  /* brand colors */
  --c-bg: #0b0d14;
  --c-surface: #141824;
  --c-surface-2: #1c2130;
  --c-line: #2a3042;
  --c-text: #f4f5f9;
  --c-text-dim: #b7bccb;      /* 10.2:1 on --c-bg */
  --c-accent: #ff5a4e;        /* flat mark color on dark; 6.3:1 on --c-bg */
  --c-accent-ink: #0b0d14;    /* text on gradient buttons */
  --c-grad-a: #ff6a3d;
  --c-grad-b: #ff2d7a;
  --c-warn-bg: #2b1d10;
  --c-warn-line: #6b4a1f;
  --c-warn-text: #ffd8a8;
  --c-focus: #ffffff;
  --grad: linear-gradient(135deg, var(--c-grad-a), var(--c-grad-b));

  /* type */
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --fs-sm: 0.875rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --fs-hero: clamp(2rem, 1.3rem + 3.2vw, 3.5rem);
  --lh: 1.6;
  --track-tight: -0.03em;

  /* space / shape */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4.5rem;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --max: 72rem;
  --max-text: 46rem;
  --focus-ring: 3px solid var(--c-focus);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: var(--lh);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-accent); text-underline-offset: 0.18em; }
a:hover { color: var(--c-text); }
:focus-visible { outline: var(--focus-ring); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: var(--track-tight); margin: 0 0 var(--s-4); }
h1 { font-weight: 800; }
h2, h3 { font-weight: 700; }
p { margin: 0 0 var(--s-4); }
code { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 0.92em; background: var(--c-surface-2); padding: 0.05em 0.35em; border-radius: 4px; overflow-wrap: anywhere; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--s-5); }
.skip { position: absolute; left: var(--s-4); top: -100px; background: var(--c-text); color: var(--c-bg); padding: var(--s-2) var(--s-4); border-radius: var(--radius-sm); z-index: 10; }
.skip:focus { top: var(--s-4); }

/* header */
.site-header { border-bottom: 1px solid var(--c-line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 4.5rem; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 2rem; width: auto; }
.nav { display: flex; align-items: center; gap: var(--s-2) var(--s-5); flex-wrap: wrap; margin: 0; padding: 0; list-style: none; font-size: var(--fs-sm); font-weight: 700; }
.nav a { color: var(--c-text-dim); text-decoration: none; padding: var(--s-2) 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--c-text); }
.nav .lang a { border: 1px solid var(--c-line); border-radius: var(--radius-pill); padding: var(--s-1) var(--s-3); color: var(--c-text); }

/* hero */
.hero { padding: var(--s-8) 0 var(--s-7); text-align: center; }
.hero .kicker { color: var(--c-accent); font-weight: 800; letter-spacing: 0.02em; margin-bottom: var(--s-3); font-size: var(--fs-lg); }
.hero h1 { font-size: var(--fs-hero); max-width: 18ch; margin: 0 auto var(--s-4); }
.hero .lead { color: var(--c-text-dim); font-size: var(--fs-lg); max-width: 38rem; margin: 0 auto var(--s-6); }
.badge { display: inline-flex; align-items: center; gap: var(--s-2); background: var(--grad); color: var(--c-accent-ink); font-weight: 800; border-radius: var(--radius-pill); padding: var(--s-3) var(--s-5); }
.badge svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.hero .shot { margin: var(--s-7) auto 0; max-width: 64rem; }

/* screenshots */
.shot { margin: 0; }
.shot img, .shot picture { border-radius: var(--radius); }
.shot img { border: 1px solid var(--c-line); box-shadow: var(--shadow); width: 100%; }
.shot figcaption { color: var(--c-text-dim); font-size: var(--fs-sm); margin-top: var(--s-3); text-align: center; }

/* features */
.section { padding: var(--s-7) 0; }
.section > .wrap > h2 { font-size: var(--fs-xl); }
.feature { display: grid; grid-template-columns: 1fr; gap: var(--s-5); align-items: center; padding: var(--s-6) 0; border-top: 1px solid var(--c-line); }
.feature h3 { font-size: var(--fs-xl); }
.feature .eyebrow { color: var(--c-accent); font-size: var(--fs-sm); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: var(--s-2); }
.feature p { color: var(--c-text-dim); }
@media (min-width: 52rem) {
  .feature { grid-template-columns: 5fr 7fr; gap: var(--s-7); }
  .feature:nth-of-type(even) .feature-text { order: 2; }
}
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: var(--s-4); margin: 0; padding: 0; list-style: none; }
.card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: var(--s-5); }
.card h3 { font-size: var(--fs-lg); margin-bottom: var(--s-2); }
.card p { color: var(--c-text-dim); margin: 0; }
.notes { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: var(--s-5) var(--s-6); }
.notes ul { margin: 0; padding-left: var(--s-5); color: var(--c-text-dim); }
.notes li + li { margin-top: var(--s-2); }

/* buttons */
.btn { display: inline-block; background: var(--grad); color: var(--c-accent-ink); font-weight: 800; text-decoration: none; border-radius: var(--radius-pill); padding: var(--s-3) var(--s-6); }
.btn:hover { color: var(--c-accent-ink); filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--c-text); border: 2px solid var(--c-line); }
.btn-ghost:hover { color: var(--c-text); border-color: var(--c-text-dim); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin: var(--s-5) 0; }

/* text pages (legal, delete account, 404) */
.page { padding: var(--s-7) 0 var(--s-8); }
.page .wrap { max-width: calc(var(--max-text) + 2 * var(--s-5)); }
.page h1 { font-size: var(--fs-hero); }
.prose h1 { font-size: var(--fs-xl); margin-top: var(--s-6); }
.prose h2 { font-size: var(--fs-lg); margin-top: var(--s-6); padding-top: var(--s-4); border-top: 1px solid var(--c-line); scroll-margin-top: var(--s-4); }
.prose h3 { font-size: var(--fs-base); margin-top: var(--s-5); scroll-margin-top: var(--s-4); }
.prose ul, .prose ol { padding-left: var(--s-5); margin: 0 0 var(--s-4); }
.prose li + li { margin-top: var(--s-1); }
.prose blockquote { margin: 0 0 var(--s-5); background: var(--c-surface); border-left: 4px solid var(--c-accent); border-radius: var(--radius-sm); padding: var(--s-4) var(--s-5); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose hr { border: 0; border-top: 1px solid var(--c-line); margin: var(--s-6) 0; }
.prose a { overflow-wrap: anywhere; }
.table-wrap { overflow-x: auto; margin: 0 0 var(--s-5); border: 1px solid var(--c-line); border-radius: var(--radius-sm); }
.prose table { border-collapse: collapse; width: 100%; font-size: var(--fs-sm); }
.prose th, .prose td { text-align: left; vertical-align: top; padding: var(--s-2) var(--s-3); border-bottom: 1px solid var(--c-line); }
.prose th { background: var(--c-surface-2); }
.prose tr:last-child td { border-bottom: 0; }
.draft { background: var(--c-warn-bg); border: 1px solid var(--c-warn-line); color: var(--c-warn-text); border-radius: var(--radius-sm); padding: var(--s-3) var(--s-4); font-size: var(--fs-sm); margin-bottom: var(--s-5); }
.draft strong { color: var(--c-text); }
.toc { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: var(--s-4) var(--s-5); margin-bottom: var(--s-6); font-size: var(--fs-sm); }
.toc h2 { font-size: var(--fs-base); margin: 0 0 var(--s-2); border: 0; padding: 0; }
.toc ol { margin: 0; padding-left: var(--s-5); columns: 2 16rem; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0 0 var(--s-5); }
.steps li { counter-increment: step; position: relative; padding-left: 3rem; margin-bottom: var(--s-4); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2rem; height: 2rem; border-radius: 50%; background: var(--grad); color: var(--c-accent-ink); font-weight: 800; display: grid; place-items: center; }
.meta { color: var(--c-text-dim); font-size: var(--fs-sm); }

/* footer */
.site-footer { border-top: 1px solid var(--c-line); padding: var(--s-6) 0; color: var(--c-text-dim); font-size: var(--fs-sm); }
.site-footer .wrap { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.site-footer h2 { font-size: var(--fs-sm); color: var(--c-text); margin-bottom: var(--s-2); letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: var(--s-1); }
.site-footer address { font-style: normal; }
.site-footer .fine { grid-column: 1 / -1; margin: 0; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media print {
  .site-header nav, .skip, .toc { display: none; }
  body { background: #fff; color: #000; }
}
