/*
Theme Name: GRAILA Canvas
Theme URI: https://graila.io/canvas
Author: GRAILA
Author URI: https://graila.io
Description: A truly blank canvas theme designed to work with GRAILA Visual Engine. Outputs minimal HTML, removes WordPress noise, and lets the Visual Engine plugin take full control of rendering. Recommended companion: GRAILA Visual Engine 0.2.0+.
Version: 0.1.1
Requires at least: 6.0
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: graila-canvas
Tags: minimal, blank, custom-colors, translation-ready
*/

/* ============================================================
   GRAILA Canvas - Minimal Reset
   ----------------------------------------------------------------
   This is intentionally minimal. The actual styling comes from
   the GRAILA Visual Engine plugin (or any other plugin/CSS the
   user adds). The theme provides only the absolute minimum to
   make the page rendering predictable across browsers.
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.5;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* ============================================================
   Skip link (accessibility) - hidden by default, visible on focus
   ============================================================ */

.graila-canvas-skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.graila-canvas-skip-link:focus {
  position: fixed;
  top: 6px;
  left: 6px;
  width: auto;
  height: auto;
  padding: 8px 16px;
  background: #000;
  color: #fff;
  text-decoration: none;
  z-index: 100000;
}
