/* =========================
   Photopi — base.css
   Variables + reset + typography
   ========================= */

:root{
  /* Lightroom-inspired dark system */
  --canvas: rgb(24, 27, 38);          /* content background */
  --chrome: rgba(255,255,255,0.03);   /* header/footer chrome */
  --gutter: rgb(18, 20, 28);          /* gutters + outer page background */

  --text: rgb(236, 238, 244);
  --muted: rgb(165, 170, 186);
  --border: rgba(255, 255, 255, 0.10);

  /* Accent */
  --accent: rgb(0, 127, 234);

  /* Layout */
  --content-max: clamp(960px, 78vw, 1900px);
  --pad: 24px;
  --header-h: 84px;

  /* Gutter width */
  --gutter-w: clamp(24px, 8vw, 220px);

  /* Fixed footer */
  --footer-h: 68px;

  /* Glass blur strength */
  --glass-blur: 6px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--gutter);
  line-height: 1.5;
}

/* Prevent raw pixel rendering / overflow */
img{
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography defaults */
h1, h2, h3{
  line-height: 1.2;
  margin: 0 0 12px 0;
}
p{ margin: 0 0 14px 0; }

/* Content links */
a{
  color: var(--accent);
  text-decoration: none;
}
a:hover{ text-decoration: underline; }

/* Utility: hide visually, keep accessible */
.visually-hidden{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
