/* ============================================================================
   General Specific — stylesheets

   Plain modern CSS. No framework, no preprocessor (ADR-002). Native nesting,
   cascade layers, custom properties, light-dark(), oklch() and container
   queries. The architecture is SUPERBOLD's; every value is General
   Specific's own — see General_Specific_Design_System_Spec.md.

   Imported once, in this order, from app/root.jsx:

       01-reset        normalize + the @layer order declaration
       02-tokens       primitives, semantics, component recipes, scoped themes
       03-base         element defaults, :focus-visible, wrappers, skip link
       04-typography   the closed set of type classes
       05-buttons      .btn variants, .textLink
       06-chrome       header, nav panel, cart drawer, footer
       07-shell        sections, grids, media frames, cards
       08-snap         the homepage snap system
       09-commerce     product card, PDP, variant selector, price, stock status
       10-forms        inputs, search, filters
       11-animation    entrance effects, view transitions, reduced-motion guards

   Global imports only. No CSS Modules, no per-route stylesheets: the layer
   order below is the whole cascade mechanism, and route-scoped sheets loaded
   in nondeterministic order would destroy it.
   ============================================================================ */


/* Layer order. Every rule on the site is in one of these, so the cascade is
   decided here rather than by specificity or an important flag. Later layers win
   regardless of how specific the earlier selector was. */
@layer reset, tokens, base, components, pages, utilities;

@layer reset {

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

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strong, sub, sup, var, b, u, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output, section, summary,
time, mark, audio, video, dialog {
	margin: 0;
	padding: 0;
	border: 0;
	font: inherit;
	vertical-align: baseline;
}

ol, ul { list-style: none; }

blockquote, q { quotes: none; }

table {
	border-collapse: collapse;
	border-spacing: 0;
}

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

img, video { height: auto; }

/* Form controls don't inherit type by default. They take it from the closed
   set in 04-typography.css like everything else. */
input, button, select, textarea {
	font: inherit;
	color: inherit;
	margin: 0;
}

button {
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

a {
	color: inherit;
	text-decoration: none;
}

dialog {
	color: inherit;
	max-width: none;
	max-height: none;
}

} /* @layer reset */
