/* ============================================================
   BASE RESET
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
}


/* ============================================================
   PAGE WRAPPER
   ============================================================ */

.ds-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-8) var(--space-4) var(--space-12);
}

.ds-page--narrow {
  max-width: 720px;
}

/* ============================================================
   DESIGN SYSTEM — BASE & TYPOGRAPHY
   Path: /assets/css/design-system/src/base.css
   ============================================================ */

/* =========================
   BUTTON RESET
========================= */
button {
    all: unset;
    font-family: inherit;
}

/* =========================
   PAGE TITLES
========================= */
.ds-page-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.4px;
    color: var(--color-heading);
    margin: 0;
}

.ds-page-sub {
    font-size: 14px;
    color: var(--color-muted);
    margin-top: var(--space-1);
    line-height: 1.6;
}

/* =========================
   HEADINGS
========================= */
.ds-h1 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: var(--color-heading);
}

.ds-h2 {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.3px;
    color: var(--color-heading);
}

.ds-h3 {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-heading);
}

.ds-h4 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-heading);
}

.ds-h5 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-heading);
}

.ds-h6 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--color-muted);
}

.ds-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-heading);
    margin: 0;
}

.ds-subtitle {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-heading);
}

/* =========================
   BODY TEXT
========================= */
.ds-text-lg {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-body);
}

.ds-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-body);
}

.ds-text-sm {
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-muted);
}

.ds-text-xs {
    font-size: 12px;
    line-height: 1.5;
    color: var(--color-faint);
}

.ds-sub {
    font-size: 13px;
    color: var(--color-muted);
}

.ds-hint {
    font-size: 12px;
    color: var(--color-faint);
    line-height: 1.7;
}

/* =========================
   LABELS / META
========================= */

/* ds-label: flex version for use with icons in forms */
.ds-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-body);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: var(--space-2);
}

.ds-eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--ds-indigo);
}

/* =========================
   SPECIAL TEXT STYLES
========================= */

/* Gradient title */
.ds-title-gradient {
    color: var(--ds-indigo); /* fallback for unsupported browsers */
    background: linear-gradient(135deg, var(--ds-indigo), var(--color-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ds-muted  { color: var(--color-muted); }
.ds-strong { font-weight: 700; color: var(--color-heading); }
.ds-name   { font-weight: 700; color: var(--ds-indigo); }

/* =========================
   LINKS
========================= */
.ds-link {
    color: var(--ds-indigo);
    text-decoration: none;
    font-weight: 500;
}
.ds-link:hover { text-decoration: underline; }

/* =========================
   MONO
========================= */
.ds-mono {
    font-family: var(--font-mono);
    font-size: 13px;
}

/* =========================
   UTILITY TEXT
========================= */
.ds-uppercase { text-transform: uppercase; }
.ds-truncate  { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* =========================
   LIST RESET
========================= */
.ds-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* =========================
   PLACEHOLDER
========================= */
::placeholder {
    color: var(--color-faint);
    opacity: 0.8;
}