/* Grow’n Go — base element styles
   Generated by scripts/copy-assets.mjs from "Grow'nGo Design System/".
   Do not edit by hand — edit the design system source and re-run `npm run assets`. */

/* ==========================================================================
   Grow'nGo — Base element styles
   Light, opinionated defaults built on the tokens. Safe to port into a
   WordPress theme's base/editor styles. Keeps headings, body, links,
   focus rings and selection consistent everywhere.
   ========================================================================== */

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

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

body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: var(--type-body-size);
  line-height: var(--leading-normal);
  font-weight: var(--weight-regular);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--text-strong);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}

h1 { font-size: var(--type-h1-size); line-height: var(--leading-tight); letter-spacing: var(--tracking-tight); }
h2 { font-size: var(--type-h2-size); letter-spacing: var(--tracking-tight); }
h3 { font-size: var(--type-h3-size); }
h4 { font-size: var(--type-h4-size); }

p { margin: 0 0 var(--space-4); text-wrap: pretty; }
p.lead { font-size: var(--type-body-lead); color: var(--text-body); line-height: var(--leading-relaxed); }

a { color: var(--text-link); text-decoration-thickness: 2px; text-underline-offset: 2px; }
a:hover { color: var(--sky-500); }

small { font-size: var(--type-small-size); }

strong, b { font-weight: var(--weight-bold); color: var(--text-strong); }

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

::selection { background: var(--coral-200); color: var(--ink-900); }

/* Visible, friendly focus ring everywhere */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

/* Utility: uppercase eyebrow label */
.gg-eyebrow {
  font-family: var(--font-body);
  font-size: var(--type-eyebrow-size);
  font-weight: var(--type-eyebrow-weight);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--brand-primary-strong);
}

/* Utility: responsive content container */
.gg-container { width: 100%; max-width: var(--container-max); margin-inline: auto; padding-inline: var(--gutter); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
