/* ============================================================
   Global Styles — Algorythmic HubSpot Theme
   Design tokens, typography, and base reset
   ============================================================ */

/* --- Reset --- */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

/* --- Design Tokens --- */
:root {
	/* Colors */
	--color-bg: #020202;
	--color-primary: #e8e8e8;
	--color-accent: #425b76;
	--color-accent-hover: #516d8a;
	--color-muted: #737373;
	--color-secondary: #a3a3a3;
	--color-border: rgb(232 232 232 / 10%);
	--color-border-subtle: rgb(232 232 232 / 5%);
	--color-surface: #171717;
	--color-surface-hover: rgb(23 23 23 / 5%);

	/* Typography */
	--font-family: "DM Sans", -apple-system, blinkmacsystemfont, sans-serif;
	--font-size-base: 16px;
	--font-size-sm: 14px;
	--font-size-xs: 12px;
	--font-size-lg: 18px;
	--font-size-xl: 20px;
	--font-size-2xl: 24px;
	--font-size-3xl: 30px;
	--font-size-4xl: 36px;
	--font-size-5xl: 48px;
	--font-size-6xl: 60px;

	/* Spacing */
	--space-xs: 4px;
	--space-sm: 8px;
	--space-md: 16px;
	--space-lg: 24px;
	--space-xl: 32px;
	--space-2xl: 48px;
	--space-3xl: 64px;
	--space-4xl: 96px;

	/* Layout */
	--max-width: 1152px;
	--container-padding: 24px;

	/* Misc */
	--border-radius: 4px;
	--transition-fast: 0.2s ease;
}

/* --- Base --- */
html {
	font-size: var(--font-size-base);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	font-family: var(--font-family);
	background-color: var(--color-bg);
	color: var(--color-primary);
	line-height: 1.6;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
	line-height: 1.1;
	letter-spacing: -0.025em;
	font-weight: 700;
}

a {
	color: var(--color-accent);
	text-decoration: none;
	transition: color var(--transition-fast);
}

a:hover {
	color: var(--color-accent-hover);
}

img {
	max-width: 100%;
	height: auto;
}

/* --- Utility: Container --- */
.lm-container {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--container-padding);
}

/* --- Utility: Section divider --- */
.lm-section-border {
	border-top: 1px solid var(--color-border);
}
