/**
 * Spartan BioLabs - Design tokens (port of design-brief/.../colors_and_type.css)
 *
 * The :root CSS vars are global (safe; prefixed --spartan-/--check-/etc.).
 * Element-level resets from the prototype (html/body/h1-h6/p/a) are scoped
 * under .sb-account-wrap so they cannot clobber WoodMart on other pages.
 * Fonts are enqueued separately via fonts.css; do NOT @import here.
 */

:root {
	--spartan-gold: #ceab59;
	--spartan-gold-dark: #b99a4b;
	--spartan-gold-light: #d4b96a;
	--spartan-black: #1a1a1a;
	--spartan-dark: #0d0d0d;
	--spartan-pure-black: #000000;
	--spartan-white: #ffffff;

	--hairline: #e5e7eb;
	--muted-text: #6b7280;
	--placeholder: #9ca3af;
	--surface-alt: #f9fafb;
	--surface-off: #fafafa;
	--tab-strip: #e5e7eb;

	--error-red: #d63637;
	--sale-red: #c62828;
	--check-green: #16a34a;

	--footer-link: rgba(255, 255, 255, 0.70);
	--footer-link-muted: rgba(255, 255, 255, 0.50);
	--footer-divider: rgba(255, 255, 255, 0.08);

	--fg1: var(--spartan-black);
	--fg2: var(--muted-text);
	--bg1: var(--spartan-white);
	--bg2: var(--surface-off);
	--accent: var(--spartan-gold);
	--accent-hover: var(--spartan-gold-dark);
	--surface: var(--spartan-white);
	--surface-dark: var(--spartan-pure-black);
	--border: var(--hairline);

	--font-sans: 'Poppins', Arial, Helvetica, sans-serif;
	--font-display: 'Barlow Condensed', Arial, Helvetica, sans-serif;
	--font-mono: ui-monospace, 'SF Mono', 'Roboto Mono', Menlo, monospace;

	--fs-display: clamp(36px, 4vw, 56px);
	--fs-h1: clamp(32px, 3.5vw, 48px);
	--fs-h2: clamp(28px, 3vw, 38px);
	--fs-h3: 22px;
	--fs-h4: 18px;
	--fs-body: 16px;
	--fs-body-sm: 14px;
	--fs-label: 13px;
	--fs-caption: 12px;

	--lh-tight: 1.15;
	--lh-snug: 1.3;
	--lh-body: 1.6;
	--lh-loose: 1.75;

	--sp-1: 4px;
	--sp-2: 8px;
	--sp-3: 12px;
	--sp-4: 16px;
	--sp-5: 20px;
	--sp-6: 24px;
	--sp-7: 32px;
	--sp-8: 48px;
	--sp-9: 64px;
	--sp-10: 96px;

	--radius-pill: 35px;
	--radius-card: 12px;
	--radius-btn: 8px;
	--radius-xs: 4px;

	--form-height: 46px;
	--form-brd: 1px;
	--form-pad-x: 20px;

	--header-h: 110px;
	--header-h-sm: 80px;
	--banner-h: 39px;

	--shadow-card: 0 8px 32px rgba(0, 0, 0, 0.08);
	--shadow-tab: 0 1px 3px rgba(0, 0, 0, 0.08);
	--shadow-focus: 0 0 0 3px rgba(206, 171, 89, 0.15);

	--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
	--t-fast: 150ms;
	--t-base: 200ms;
	--t-slow: 250ms;

	--page-max: 1280px;
	--gutter-x: clamp(24px, 4vw, 64px);
	--gutter-y: clamp(48px, 6vw, 96px);

	--tracking-wide: 1px;
	--tracking-label: 0.5px;
}

/* Scoped element defaults from the prototype - ONLY inside the gate wrap. */
.sb-account-wrap {
	color: var(--fg1);
	font-family: var(--font-sans);
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.sb-account-wrap h1,
.sb-account-wrap h2,
.sb-account-wrap h3,
.sb-account-wrap h4,
.sb-account-wrap h5,
.sb-account-wrap h6,
.sb-account-wrap .display,
.sb-account-wrap .h1,
.sb-account-wrap .h2,
.sb-account-wrap .h3 {
	font-family: var(--font-display);
	font-weight: 600;
	color: var(--fg1);
	line-height: var(--lh-tight);
	margin: 0;
}

.sb-account-wrap .display { font-size: var(--fs-display); }
.sb-account-wrap h1,
.sb-account-wrap .h1 { font-size: var(--fs-h1); }
.sb-account-wrap h2,
.sb-account-wrap .h2 { font-size: var(--fs-h2); }
.sb-account-wrap h3,
.sb-account-wrap .h3 { font-size: var(--fs-h3); }
.sb-account-wrap h4 { font-size: var(--fs-h4); }

.sb-account-wrap p,
.sb-account-wrap .body { font-size: var(--fs-body); line-height: var(--lh-body); }
.sb-account-wrap .body-sm { font-size: var(--fs-body-sm); line-height: 1.5; }

.sb-account-wrap .label {
	font-family: var(--font-sans);
	font-weight: 600;
	font-size: var(--fs-label);
	text-transform: uppercase;
	letter-spacing: var(--tracking-label);
}

.sb-account-wrap .eyebrow {
	font-family: var(--font-sans);
	font-weight: 600;
	font-size: 11px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--muted-text);
}

.sb-account-wrap .consent { font-size: 13px; line-height: 1.55; }

.sb-account-wrap a {
	color: inherit;
	text-decoration: none;
	transition: color var(--t-base) var(--ease-out);
}

.sb-account-wrap a:hover { color: var(--accent); }
