/*
Theme Name:   LabCubes Theme
Theme URI:    https://github.com/LabCubes/labcubes-theme
Description:  Minimal block-theme companion for the LabCubes Builder plugin. Clean, dark-friendly, optimised for community & open-source product sites.
Version:      1.0.0
Author:       LabCubes / Ori Lynn Studio
Author URI:   https://orilynn.studio
License:      GPL-2.0-or-later
Text Domain:  labcubes-theme
Requires at least: 6.3
Requires PHP: 8.1
*/

/* Theme base reset & typography — actual design lives in the plugin CSS */

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1a1d23;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

img, video { max-width: 100%; height: auto; display: block; }

/* Site layout */
.site { display: flex; flex-direction: column; min-height: 100vh; }
.site-content { flex: 1; }

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: #6c47ff;
  color: #fff;
  padding: .5rem 1rem;
  border-radius: 0 0 6px 6px;
  font-weight: 600;
  text-decoration: none;
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e4e9;
}
.site-header__inner {
  max-width: 1200px;
  margin-inline: auto;
  padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.site-header__logo {
  font-size: 1.1rem; font-weight: 800; color: #1a1d23; text-decoration: none;
  display: flex; align-items: center; gap: .5rem;
}
.site-header__logo span { color: #6c47ff; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav a {
  font-size: .9rem; font-weight: 500; color: #6b7280; text-decoration: none;
  transition: color .2s;
}
.site-nav a:hover { color: #6c47ff; }
.site-nav .nav-cta {
  background: #6c47ff; color: #fff; padding: .5rem 1.25rem;
  border-radius: 999px; font-weight: 600;
}
.site-nav .nav-cta:hover { background: #4f2ee8; color: #fff; }

/* Footer */
.site-footer {
  background: #0d0f14;
  color: rgba(255,255,255,.6);
  padding: 3rem 1.5rem;
  font-size: .875rem;
}
.site-footer__inner {
  max-width: 1200px; margin-inline: auto;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1rem;
}
.site-footer a { color: rgba(255,255,255,.5); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__brand { font-weight: 700; color: #fff; }

/* Responsive nav */
@media (max-width: 640px) {
  .site-nav { gap: 1rem; }
  .site-nav a:not(.nav-cta) { display: none; }
}
