/* ============================================================
   GKORE — main.css
   Entry point: tokens first, then base reset, then components.
   ============================================================ */

/* ── Tokens ────────────────────────────────────────────────── */
@import "tokens/colors.css";
@import "tokens/spacing.css";
@import "tokens/typography.css";

/* ── Components ─────────────────────────────────────────────── */
@import "components/header.css";
@import "components/footer.css";
@import "components/home.css";
@import "components/placeholder.css";
@import "components/photo-frame.css";
@import "components/product-title.css";
@import "components/product-hero.css";
@import "components/product-overview.css";
@import "components/product-features.css";
@import "components/product-detail-photos.css";
@import "components/product-glance.css";
@import "components/product-downloads.css";
@import "components/product-contact-cta.css";
@import "components/contact-form.css";

/* ============================================================
   Base reset & global defaults
   ============================================================ */

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

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

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-sans);
  line-height: var(--lh-snug);
}

p {
  margin: 0;
}

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

a {
  color: inherit;
}

/* ── Focus visible (accessibility) ─────────────────────────── */

:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

/* ── Page wrapper ────────────────────────────────────────────── */

.page-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-wrap > main {
  flex: 1;
  padding-bottom: 0;
}

/* ── Accessibility helper ─────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
