@charset "UTF-8";
/* ==========================================================================
   Vuebee — type system
   Loaded before every other stylesheet on every route, including the standalone
   /solar-storage/ poster, which ships scene.css alone and would otherwise read
   `var(--fs-*)` with nothing behind it.

   Two families. DM Sans carries display type only (h1-h3, the hero headline,
   banner words); Manrope carries everything a shopper reads — body, navigation,
   buttons, product names, specs, prices, labels.

   One ladder: 12 14 16 18 20 24 28 32 40 56 64. No component invents a size.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts — one family for the whole store. Manrope ships as a variable file,
   so the five weights used across the page cost one request instead of five.
   The latin-ext file is split off so a page of plain English never pulls it.
   -------------------------------------------------------------------------- */
@font-face {
	font-family: "Manrope";
	src: url("../fonts/manrope-latin-var-normal.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
		U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
		U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Manrope";
	src: url("../fonts/manrope-latin-ext-var-normal.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
		U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
		U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* DM Sans carries display type only, so only the two weights the headings
   actually use are shipped: 600 for h3 and card headlines, 700 for h1/h2.
   Split latin / latin-ext the same way Manrope is — the extended slice is
   7 KB and only downloads when a headline contains a glyph that needs it. */
@font-face {
	font-family: "DM Sans";
	src: url("../fonts/dm-sans-latin-600-normal.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
		U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
		U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "DM Sans";
	src: url("../fonts/dm-sans-latin-700-normal.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
		U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
		U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "DM Sans";
	src: url("../fonts/dm-sans-latin-ext-600-normal.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
		U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
		U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "DM Sans";
	src: url("../fonts/dm-sans-latin-ext-700-normal.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
		U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
		U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------------------
   Type tokens
   -------------------------------------------------------------------------- */
:root {
	/* ---- 2.3 type ----------------------------------------------------------
	   Two families, one ladder, no exceptions.

	   DM Sans carries display type only — h1-h3, the hero headline, banner
	   titles. Manrope carries everything a shopper actually reads: body copy,
	   navigation, buttons, product names, specs and prices. A display face at
	   14px starts to hum; Manrope's taller x-height and wider apertures stay
	   crisp there, which is why the commerce UI never leaves it.

	   The ladder is closed at 12 14 16 18 20 24 28 32 40 56 64. The old sheet
	   had 14.5, 15.5, 16.5, 18.5, 19.5 and 20.5 in circulation — six sizes
	   doing the work of two — which is exactly why pages read as assembled
	   rather than designed. Roles map onto the ladder so a component asks for
	   the job (`--fs-card`, `--fs-ui`) instead of inventing a number.

	   Mobile takes its own cut below (42 / 32 / 24, 15px UI), drawn from the
	   same tokens — nothing hard-codes a size at a breakpoint.
	   -------------------------------------------------------------------- */
	--font-display: "DM Sans", "Manrope", -apple-system, BlinkMacSystemFont,
		"Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC",
		"Hiragino Sans GB", "Microsoft YaHei", sans-serif;
	--font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI",
		Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB",
		"Microsoft YaHei", sans-serif;
	--font: var(--font-body);
	--display: var(--font-display);
	--sans: var(--font-body);
	--mono: var(--font-body);
	--serif: var(--font-body);

	/* The ladder is closed: no other size is legal anywhere in the theme.
	   12 14 16 18 20 24 28 32 40 56 64. */
	--fs-12: 12px;
	--fs-14: 14px;
	--fs-16: 16px;
	--fs-18: 18px;
	--fs-20: 20px;
	--fs-24: 24px;
	--fs-28: 28px;
	--fs-32: 32px;
	--fs-40: 40px;
	--fs-56: 56px;
	--fs-64: 64px;

	/* Roles — display. A component asks for the job, not the number. */
	--fs-h1: var(--fs-64);
	--fs-title: var(--fs-56);       /* page headline, one step under the hero */
	--fs-h2: var(--fs-40);
	--fs-h3: var(--fs-28);
	--fs-h4: var(--fs-24);
	--fs-banner: var(--fs-40);

	/* Roles — reading */
	--fs-lead: var(--fs-20);
	--fs-body: var(--fs-18);
	--fs-sm: var(--fs-16);
	--fs-nav: var(--fs-16);
	--fs-btn: var(--fs-16);
	--fs-name: var(--fs-18);        /* product card title */
	--fs-price: var(--fs-28);
	--fs-label: var(--fs-14);
	--fs-micro: var(--fs-12);

	--fw-regular: 400;
	--fw-medium: 500;
	--fw-semibold: 600;
	--fw-bold: 700;

	--lh-tight: 1.05;
	--lh-head: 1.12;
	--lh-sub: 1.2;
	--lh-ui: 1.25;
	--lh-card: 1.35;
	--lh-label: 1.4;
	--lh-lead: 1.5;
	--lh-body: 1.6;
	--lh-loose: 1.7;

	--tr-h1: -0.04em;
	--tr-head: -0.03em;
	--tr-h3: -0.018em;
	--tr-card: -0.01em;
	--tr-ui: 0.02em;
	--tr-label: 0.08em;
	--tr-label-wide: 0.12em;
}

/* ---- 2.4 type, responsive ------------------------------------------------
   Two cuts, not four. A tablet keeps the desktop ladder except for the hero,
   which drops one step (56) so a 900-1100px shell does not wrap the headline
   into five lines. Phones take the small ladder the brief specifies:
   h1 42 / h2 32 / h3 24 / body 16 / UI 15 / card title 16.

   15px is the one size outside the 12-64 ladder, and it exists only here:
   the brief calls for a 15px tap target label, and 16px on a 375px screen
   crowds the nav rail. Every value still comes from a token, so nothing
   downstream hard-codes a number.
   ------------------------------------------------------------------------ */
@media (max-width: 1100px) {
	:root {
		--fs-h1: var(--fs-56);
	}
}

@media (max-width: 900px) {
	:root {
		--fs-15: 15px;

		--fs-h1: 42px;
		--fs-title: var(--fs-32);
		--fs-h2: var(--fs-32);
		--fs-h3: var(--fs-24);
		--fs-h4: var(--fs-20);
		--fs-banner: var(--fs-32);

		--fs-lead: var(--fs-18);
		--fs-body: var(--fs-16);
		--fs-sm: var(--fs-16);
		--fs-name: var(--fs-16);
		--fs-nav: var(--fs-15);
		--fs-btn: var(--fs-15);
		--fs-price: var(--fs-24);
		--fs-label: var(--fs-14);
		--fs-micro: var(--fs-12);

		--lh-tight: 1.08;
		--lh-head: 1.15;
		--lh-sub: 1.2;
		--lh-body: 1.55;

		--tr-h1: -0.03em;
		--tr-head: -0.02em;
	}
}
