/* Workback.ai Design System
   Brand: Figma "Workback Branding" — Inter, Slate/Cloud/Ivory palette
   Scale: Perfect fourth (1.333) — one ratio drives all sizes

   Principles:
   1. Impute — every choice implies premium, careful, engineering-led. (Markkula)
   2. As little design as possible — if removing it doesn't reduce clarity, remove it. (Rams)
   3. One ratio drives everything — 1.333, no off-scale values. (Müller-Brockmann)
   4. Restrained color — accent used sparingly; when it appears, it means something.
   5. Sans-serif only — Inter throughout; hierarchy and restraint, not font-swapping.
   6. Components, not inline — if a style appears twice, it's a class.
   7. Evidence, not claims — real quotes, real numbers, named logos.
   ========================================================================== */

/* ===== Design Tokens ===== */
:root {
  /* Brand Colors — raw tokens. Don't use in templates; use semantic aliases below. */
  --slate-dark: #191919;
  --slate-light: #40403E;
  --cloud: #666663;
  --ivory-dark: #E5E4DF;
  --ivory-medium: #F0F0EB;
  --ivory-light: #FAFAF7;
  --book-cloth: #CC785C;
  --white: #FFFFFF;
  --focus: #61AAF2;
  --error: #BF4D43;

  /* Semantic Aliases — use these in templates */
  --color-bg: var(--ivory-light);
  --color-text: var(--slate-dark);
  --color-text-secondary: var(--slate-light);
  --color-accent: var(--book-cloth);
  --color-border: rgba(229, 228, 223, 0.5);
  --color-surface: var(--ivory-medium);
  --color-surface-raised: var(--white);

  /* Dark-mode aliases — for .section--dark contexts. One opacity only. */
  --color-text-on-dark: var(--ivory-light);
  --color-text-secondary-on-dark: rgba(250, 250, 247, 0.7);
  --color-border-on-dark: rgba(250, 250, 247, 0.2);

  /* Typography — one font, six sizes */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --text-sm: 0.797rem;    /* 12.75px — labels, captions, nav links, footer */
  --text-base: 1.0625rem; /* 17px — body, buttons, inputs */
  --text-h3: 1.416rem;    /* 22.7px — subsection headings */
  --text-h2: 1.888rem;    /* 30.2px — section headings */
  --text-h1: 2.517rem;    /* 40.3px — page titles */

  /* Spacing — perfect fourth scale (1.333) */
  --space-xs: 0.25rem;    /* 4px — tight gaps */
  --space-sm: 0.5rem;     /* 8px — inside components */
  --space-base: 1rem;     /* 16px — default gap, margins */
  --space-md: 1.333rem;   /* 21px — between related elements */
  --space-lg: 1.777rem;   /* 28px — between content blocks */
  --space-xl: 2.369rem;   /* 38px — section padding */
  --space-2xl: 3.157rem;  /* 50px — hero vertical padding */
  --space-3xl: 4.209rem;  /* 67px — generous section padding on desktop */

  /* Content Widths — controls line length for readability (45–75 chars) */
  --width-narrow: 32rem;   /* 512px — ~45 chars, blog prose, legal pages */
  --width-medium: 42rem;   /* 672px — ~60 chars, hero subtitle, descriptions */
  --width-wide: 56rem;     /* 896px — ~75 chars, hero headline max, testimonials */
  --width-full: 96rem;     /* 1536px — page container max-width */

  /* Legacy — use --width-full */
  --max-width: var(--width-full);

  /* Layout padding */
  --px: 2rem;
  --px-md: 4rem;

  /* Border Radius */
  --radius: 0.5rem;       /* 8px — buttons, inputs, small cards */
  --radius-lg: 0.75rem;   /* 12px — cards, modals */
  --radius-full: 9999px;  /* pills, avatars */
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ===== Base ===== */
body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: var(--color-accent);
  color: var(--white);
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }
h4 { font-size: var(--text-base); font-weight: 600; }

.text-sm { font-size: var(--text-sm); }
.text-secondary { color: var(--color-text-secondary); }
.text-accent { color: var(--color-accent); }
/* Legacy alias — new code uses .text-secondary */
.text-muted { color: var(--color-text-secondary); }

.label {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.eyebrow {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-text-secondary);
}

/* ===== Layout ===== */
.container {
  max-width: var(--width-full);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--px);
  padding-right: var(--px);
}
@media (min-width: 768px) {
  .container { padding-left: var(--px-md); padding-right: var(--px-md); }
}

.section {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}
@media (min-width: 768px) {
  .section { padding-top: var(--space-3xl); padding-bottom: var(--space-3xl); }
}

.section__header {
  max-width: var(--width-medium);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-xl);
  text-align: center;
}
.section__header > h2 { margin-bottom: var(--space-base); }
.section__header > p { color: var(--color-text-secondary); }

.grid {
  display: grid;
  gap: var(--space-lg);
}
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .grid--2 { grid-template-columns: 1fr 1fr; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--2-3 { grid-template-columns: 3fr 2fr; }
  .grid--aside { grid-template-columns: 2fr 1fr; }
}

/* ===== Navigation ===== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}
.site-nav__inner {
  max-width: var(--width-full);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  padding: var(--space-base) 1.5rem;
}
@media (min-width: 768px) {
  .site-nav__inner { padding: var(--space-md) var(--px-md); }
}
.site-nav__logo { display: flex; align-items: center; }
.site-nav__logo img { height: 1.75rem; width: auto; }
.site-nav__links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
}
.site-nav__link {
  display: none;
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text);
  transition: color 0.2s;
}
.site-nav__link:hover { color: var(--slate-light); }
.site-nav__link--active {
  color: var(--color-text);
  border-bottom: 1px solid var(--color-text);
  padding-bottom: 2px;
}
@media (min-width: 640px) {
  .site-nav__link { display: block; }
}
.site-nav__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}
.site-nav__login {
  display: none;
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text);
  transition: color 0.2s;
}
.site-nav__login:hover { color: var(--slate-light); }
@media (min-width: 640px) {
  .site-nav__login { display: block; }
}
.site-nav__cta {
  display: none;
  font-size: var(--text-base);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.005em;
  background: var(--slate-dark);
  color: var(--ivory-light);
  border: none;
  padding: var(--space-sm) var(--space-base);
  border-radius: var(--radius);
  transition: all 0.2s;
}
.site-nav__cta:hover { background: var(--slate-light); }
@media (min-width: 640px) {
  .site-nav__cta { display: inline-flex; align-items: center; }
}

/* Mobile menu */
.site-nav__mobile { position: relative; }
@media (min-width: 640px) {
  .site-nav__mobile { display: none; }
}
.site-nav__mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: var(--space-sm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
}
.site-nav__mobile-toggle span {
  display: block;
  width: 1rem;
  height: 2px;
  background: var(--color-text);
}
.site-nav__mobile-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 3rem;
  background: var(--color-bg);
  border: 1px solid var(--ivory-dark);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  padding: var(--space-sm) 0;
  width: 12rem;
  z-index: 50;
}
.site-nav__mobile-menu.open { display: block; }
.site-nav__mobile-menu a {
  display: block;
  padding: 0.75rem 1.25rem;
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-secondary);
  transition: all 0.15s;
}
.site-nav__mobile-menu a:hover {
  color: var(--color-text);
  background: var(--ivory-medium);
}
.site-nav__mobile-divider {
  border-top: 1px solid var(--color-border);
  margin: var(--space-xs) 0;
}

/* ===== Footer ===== */
.site-footer {
  padding: var(--space-xl) var(--px);
  background: var(--slate-dark);
  color: var(--ivory-light);
  width: 100%;
}
@media (min-width: 768px) {
  .site-footer { padding: var(--space-xl) var(--px-md); }
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}
@media (min-width: 768px) {
  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    gap: var(--space-2xl);
  }
}
.site-footer__brand {
  max-width: 20rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-lg);
}
.site-footer__logo { height: 1.75rem; width: auto; display: block; margin-bottom: var(--space-base); }
.site-footer__badges { display: flex; align-items: flex-start; }
.site-footer__soc2 { height: 6rem; width: auto; opacity: 0.85; }
.site-footer__tagline,
.site-footer__copy,
.site-footer__contact {
  font-size: var(--text-sm);
  color: var(--color-text-secondary-on-dark);
  margin: 0;
  font-style: normal;
}
.site-footer__contact {
  margin-top: var(--space-base);
  line-height: 1.6;
}
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
}
.site-footer__group { min-width: 8rem; }
.site-footer__heading {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-on-dark);
  margin: 0 0 var(--space-base);
}
.site-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.site-footer__link {
  font-size: var(--text-sm);
  color: var(--color-text-secondary-on-dark);
  transition: color 0.2s;
}
.site-footer__link:hover { color: var(--color-text-on-dark); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-base);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.005em;
  padding: var(--space-sm) var(--space-base);
  border-radius: var(--radius);
  transition: all 0.2s;
  text-align: center;
}
.btn--primary {
  background: var(--slate-dark);
  color: var(--ivory-light);
}
.btn--primary:hover { background: var(--slate-light); }
.btn--light {
  background: var(--ivory-light);
  color: var(--slate-dark);
}
.btn--light:hover { background: var(--ivory-dark); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero--light {
  background: var(--color-bg);
  min-height: auto;
}
.hero--short { min-height: 60vh; }
/* Hero with background image + left-to-right fade */
.hero--image .hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero--image .hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero--image .hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    rgba(250, 250, 247, 0.95),
    rgba(250, 250, 247, 0.70),
    rgba(250, 250, 247, 0.10));
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 8rem var(--px) var(--space-2xl);
  max-width: var(--width-full);
  margin: 0 auto;
  width: 100%;
}
@media (min-width: 768px) {
  .hero__content {
    padding: 7rem var(--px-md) var(--space-2xl);
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 0 var(--space-3xl);
  }
  .hero__content > .eyebrow,
  .hero__content > .hero__title {
    grid-column: 1 / -1;
  }
}
.hero__title {
  font-size: clamp(2.25rem, 4vw, 3rem);
  line-height: 1.3;
  margin-bottom: var(--space-lg);
  max-width: var(--width-wide);
}
.hero__lead {
  font-size: clamp(1.125rem, 2vw, var(--text-h3));
  color: var(--color-text);
  font-weight: 500;
  line-height: 1.6;
  max-width: var(--width-medium);
  margin-bottom: var(--space-base);
}
.hero__body {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
  max-width: var(--width-medium);
  margin-bottom: var(--space-xl);
}
.hero__proof {
  margin-top: var(--space-xl);
}
@media (min-width: 768px) {
  .hero__proof { margin-top: 0; align-self: start; }
}
.hero__proof .quote { margin-bottom: 0; }

/* ===== Sections ===== */
.section--muted {
  background: var(--ivory-medium);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.section--dark {
  background: var(--slate-dark);
  color: var(--ivory-light);
}
.section--dark .text-secondary { color: var(--color-text-secondary-on-dark); }
.section__footnote {
  max-width: var(--width-wide);
  margin: var(--space-2xl) auto 0;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
  text-align: center;
  font-size: var(--text-h3);
  line-height: 1.5;
  color: var(--color-text);
}

/* ===== Cards ===== */
.card {
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  overflow: hidden;
}

/* Feature card — used in the Find/Fix/Certify lifecycle */
.feature-card {
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  min-height: 14rem;
  display: flex;
  flex-direction: column;
}
.feature-card h3 { margin-bottom: var(--space-base); }
.feature-card--dark {
  background: var(--slate-dark);
  border: none;
  color: var(--color-text-on-dark);
}
.feature-card--dark h3 { color: var(--color-text-on-dark); }
.feature-card--dark p { color: var(--color-text-secondary-on-dark); }
.feature-card--accent {
  background: var(--book-cloth);
  border: none;
  color: var(--white);
}
.feature-card--accent h3 { color: var(--white); }

/* Stat card — bordered card with prominent number/label, used in customer stories */
.stat-card {
  border: 1px solid var(--ivory-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  background: var(--ivory-medium);
}
.stat-card__value {
  font-size: var(--text-h1);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-xs);
}
.stat-card__label {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}
.stat-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
}
.stat-card > .material-symbols-outlined {
  font-size: var(--text-h1);
}

/* Team card — founder bio card with bullet list */
.team-card {
  padding: var(--space-lg);
  background: var(--ivory-medium);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.team-card h3 {
  font-size: var(--text-base);
  margin-bottom: var(--space-xs);
}
.team-card .label { margin-bottom: var(--space-base); }
.team-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}
.team-card__list li {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
}
.team-card__list li::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

/* ===== Quote ===== */
.quote {
  border-left: 2px solid var(--color-text);
  padding-left: var(--space-lg);
  margin-bottom: var(--space-lg);
}
.quote__text {
  font-size: var(--text-h3);
  line-height: 1.5;
  color: var(--color-text);
  margin-bottom: var(--space-base);
}
.quote__author {
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0;
}
.quote__title {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}
.section--dark .quote {
  border-left-color: var(--color-border-on-dark);
}
.section--dark .quote__text,
.section--dark .quote__author {
  color: var(--color-text-on-dark);
}
.section--dark .quote__title {
  color: var(--color-text-secondary-on-dark);
}

/* ===== Blog Card ===== */
.blog-card {
  display: block;
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.blog-card__image {
  width: 100%;
  height: 12rem;
  object-fit: cover;
}
.blog-card__body {
  padding: var(--space-lg);
}
.blog-card__body h3 { line-height: 1.3; }

/* ===== Logo Bar ===== */
.logo-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-3xl);
}
.logo-bar img { height: 2rem; width: auto; }
@media (min-width: 768px) {
  .logo-bar img { height: 2.5rem; }
}

/* ===== Prose — universal markdown rendering ===== */
.prose {
  max-width: var(--width-medium);
  margin-left: auto;
  margin-right: auto;
}
.prose h1 { margin-top: var(--space-2xl); margin-bottom: var(--space-base); }
.prose h2 {
  font-size: var(--text-h2);
  line-height: 1.25;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-base);
}
.prose h3 {
  font-size: var(--text-h3);
  margin-top: var(--space-xl);
  margin-bottom: 0.75rem;
}
.prose h4 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-top: var(--space-xl);
  margin-bottom: 0.75rem;
}
.prose p {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 1.25rem;
}
.prose a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose a:hover { color: var(--slate-dark); }
.prose strong { color: var(--color-text); }
.prose blockquote {
  border-left: 2px solid var(--color-accent);
  padding-left: var(--space-lg);
  margin: var(--space-lg) 0;
}
.prose blockquote p {
  font-size: var(--text-h3);
  font-style: italic;
  color: var(--color-text);
  line-height: 1.5;
}
.prose img {
  width: 100%;
  border-radius: var(--radius);
  margin: var(--space-lg) 0;
}
.prose ul, .prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.prose ol { list-style: decimal; }
.prose ul { list-style: disc; }
.prose li {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-sm);
}
.prose code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.875em;
  background: var(--ivory-medium);
  padding: 0.15em 0.4em;
  border-radius: 0.25rem;
}
.prose pre {
  background: var(--slate-dark);
  color: var(--ivory-light);
  padding: var(--space-lg);
  border-radius: var(--radius);
  overflow-x: auto;
  margin: var(--space-lg) 0;
}
.prose pre code {
  background: none;
  padding: 0;
  font-size: var(--text-sm);
}
.prose hr {
  border: none;
  border-top: 1px solid var(--ivory-dark);
  margin: 2.5rem 0;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-lg) 0;
  font-size: var(--text-sm);
}
.prose th, .prose td {
  padding: var(--space-sm) var(--space-base);
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}
.prose th {
  font-weight: 700;
  color: var(--color-text);
}

/* ===== Material Symbols (icon font) ===== */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}

/* ===== Utilities ===== */
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.italic { font-style: italic; }
.leading-relaxed { line-height: 1.6; }
.leading-tight { line-height: 1.2; }

/* Width utilities — see :root §Content Widths above */
.w-narrow { max-width: var(--width-narrow); }
.w-medium { max-width: var(--width-medium); }
.w-wide { max-width: var(--width-wide); }
.w-full-page { max-width: var(--width-full); }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Spacing utilities — semantic names tied to --space-* tokens.
   Prefer these over the legacy numeric utilities below. */
.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-base { margin-top: var(--space-base); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-base { margin-bottom: var(--space-base); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.gap-xs { gap: var(--space-xs); }
.gap-sm { gap: var(--space-sm); }
.gap-base { gap: var(--space-base); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }
.gap-2xl { gap: var(--space-2xl); }

/* Legacy width / spacing utilities — kept for templates not yet migrated
   (about, blog, terms, privacy). New templates use semantic names above. */
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.pt-20 { padding-top: 5rem; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }

/* Layout utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.w-full { width: 100%; }
.border-t { border-top: 1px solid var(--color-border); }
.opacity-40 { opacity: 0.4; }
.grayscale { filter: grayscale(100%); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Responsive */
.desktop-only { display: none; }
@media (min-width: 640px) {
  .desktop-only { display: block; }
}
