/* ═══════════════════════════════════════════════════════
   DESIGN TOKENS — Space Duck Design System
   Hostinger-level polish. CSS-only. No layout changes.
   ═══════════════════════════════════════════════════════ */

:root {
  /* ── Font Scale (rem, base 16px) ── */
  --text-hero: 2rem;           /* 32px — landing hero only */
  --text-title: 1.5rem;        /* 24px — page titles */
  --text-heading: 1.125rem;    /* 18px — card titles, section headings */
  --text-body: 0.9375rem;      /* 15px — body text */
  --text-label: 0.875rem;      /* 14px — form labels, buttons, nav */
  --text-small: 0.8125rem;     /* 13px — secondary info */
  --text-meta: 0.75rem;        /* 12px — hints, fine print */

  /* ── Colors ── */
  --color-bg: #f6f6f3;
  --color-card: #ffffff;
  --color-border: #e5e7eb;
  --color-border-light: #f0f0ee;
  --color-text: #111111;
  --color-text-muted: #5f6470;
  --color-text-hint: #9ca3af;
  --color-cta: #f5c518;
  --color-cta-text: #111111;
  --color-cta-hover: #e5b616;
  --color-success: #16a34a;
  --color-warning: #f59e0b;
  --color-danger: #dc2626;
  --color-accent: #6b21a8;

  /* ── Spacing (8px grid) ── */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-base: 16px;
  --space-lg: 20px;
  --space-xl: 24px;
  --space-2xl: 32px;
  --space-3xl: 48px;

  /* ── Border Radius ── */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 999px;

  /* ── Shadows ── */
  --shadow-card: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-hover: 0 4px 16px rgba(0,0,0,0.08);
}

/* ═══════════════════════════════════════════════════════
   BASE COMPONENTS
   ═══════════════════════════════════════════════════════ */

/* ── Cards ── */
.dt-card {
  background: var(--color-card);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
  margin-bottom: var(--space-lg);
}

.dt-card-title {
  font-size: var(--text-heading);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 var(--space-base) 0;
}

/* ── Buttons ── */
.dt-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 var(--space-xl);
  font-family: 'Inter', sans-serif;
  font-size: var(--text-label);
  font-weight: 600;
  border-radius: var(--radius-md);
  background: var(--color-cta);
  color: var(--color-cta-text);
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
  min-width: 120px;
  text-decoration: none;
  line-height: 1;
}
.dt-btn-primary:hover { background: var(--color-cta-hover); }

.dt-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 var(--space-xl);
  font-family: 'Inter', sans-serif;
  font-size: var(--text-label);
  font-weight: 600;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  text-decoration: none;
  line-height: 1;
}
.dt-btn-secondary:hover {
  border-color: var(--color-text-muted);
  background: rgba(0,0,0,0.02);
}

/* ── Inputs ── */
.dt-inp {
  height: 48px;
  padding: 0 var(--space-base);
  font-family: 'Inter', sans-serif;
  font-size: var(--text-body);
  font-weight: 400;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-card);
  color: var(--color-text);
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s ease;
}
.dt-inp:focus {
  border-color: var(--color-cta);
  outline: none;
}
.dt-inp::placeholder { color: var(--color-text-hint); }

/* ── Page Title ── */
.dt-page-title {
  font-size: var(--text-title);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 var(--space-lg) 0;
}

/* ── Chips / Badges ── */
.dt-chip {
  display: inline-flex;
  align-items: center;
  padding: var(--space-xs) var(--space-md);
  font-size: var(--text-meta);
  font-weight: 500;
  border-radius: var(--radius-sm);
  gap: var(--space-xs);
  line-height: 1;
}
.dt-chip-success { background: #f0fdf4; color: var(--color-success); }
.dt-chip-warning { background: #fffbeb; color: #d97706; }
.dt-chip-danger  { background: #fef2f2; color: var(--color-danger); }
.dt-chip-neutral { background: #f3f4f6; color: var(--color-text-muted); }

/* ── Text utilities ── */
.dt-text-muted { color: var(--color-text-muted); }
.dt-text-hint  { color: var(--color-text-hint); }
.dt-text-small { font-size: var(--text-small); }
.dt-text-meta  { font-size: var(--text-meta); }

/* ═══════════════════════════════════════════════════════
   MOBILE (390px primary viewport)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  .dt-card {
    border-radius: var(--radius-md);
    padding: var(--space-base);
  }

  .dt-btn-primary,
  .dt-btn-secondary {
    width: 100%;
    height: 48px;
  }

  /* Font sizes stay identical — do NOT shrink on mobile */
}
