/* TappedIn design tokens for the web.
 * Copied from the TapIn design system (docs: claude/design-system.md, code:
 * lib/theme.ts + lib/typography.ts). If a value isn't here, the site doesn't
 * use it. New values go into the design system first, then here. */

@font-face { font-family: "DM Sans"; src: url("/assets/fonts/DMSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/assets/fonts/DMSans-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/assets/fonts/DMSans-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/assets/fonts/DMSans-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
/* Display cut: only for styles at 24 and up. */
@font-face { font-family: "DM Sans Display"; src: url("/assets/fonts/DMSansDisplay-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "DM Sans Display"; src: url("/assets/fonts/DMSansDisplay-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

/* The app's own font names (lib/typography.ts), for the app components
 * the cards render (showcase.js). Same files, one family per weight. */
@font-face { font-family: "DMSans-Regular"; src: url("/assets/fonts/DMSans-Regular.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "DMSans-Medium"; src: url("/assets/fonts/DMSans-Medium.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "DMSans-SemiBold"; src: url("/assets/fonts/DMSans-SemiBold.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "DMSans-Bold"; src: url("/assets/fonts/DMSans-Bold.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "DMSans-ExtraBold"; src: url("/assets/fonts/DMSans-ExtraBold.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "DMSansDisplay-Bold"; src: url("/assets/fonts/DMSansDisplay-Bold.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "DMSansDisplay-ExtraBold"; src: url("/assets/fonts/DMSansDisplay-ExtraBold.woff2") format("woff2"); font-display: swap; }

:root {
  /* Greens */
  --green-050: #E9F7E3; /* Dew */
  --green-100: #CCFA6E; /* Lime: the pop, one per screen */
  --green-150: #BEE5B1; /* Fringe */
  --green-200: #7EC857; /* Meadow */
  --green-250: #47A34E; /* Turf: the only ground the full logo sits on */
  --green-300: #257B48; /* Fairway */
  --green-400: #104C32; /* Pine */
  --green-500: #08281B; /* Clubhouse */

  /* Neutrals */
  --neutral-000: #FAFAFA;
  --neutral-100: #F0F0F0;
  --neutral-200: #DCDCDC;
  --neutral-300: #B7B7B7;
  --neutral-400: #6C6C6C;
  --neutral-500: #303030;
  --neutral-600: #121212;

  /* Signals: trust and danger only */
  --signal-trust: #1E6AC5;
  --signal-danger: #CC3430;

  /* Semantic (light) */
  --ui-bg: var(--neutral-000);
  --ui-surface: var(--neutral-100);
  --ui-border: var(--neutral-200);
  --ui-text: var(--neutral-600);
  --ui-text-muted: var(--neutral-400);
  --ui-brand-text: var(--green-400);
  --ui-primary: var(--green-300);
  --ui-on-primary: var(--neutral-000);
  --ui-accent: var(--green-100);
  --ui-on-accent: var(--neutral-600);

  /* Spacing: 4-point grid */
  --space-2: 2px;  --space-4: 4px;   --space-8: 8px;   --space-12: 12px;
  --space-16: 16px; --space-20: 20px; --space-24: 24px; --space-32: 32px;
  --space-40: 40px; --space-48: 48px; --space-64: 64px;

  /* Corners: round, 16 or 32. Nothing else. */
  --radius-round: 9999px;
  --radius-16: 16px;
  --radius-32: 32px;

  /* The one elevation shadow: only on things that float. */
  --shadow-float: 0 8px 36px rgba(18, 18, 18, 0.2);

  /* WEB-ONLY ADDITIONS (not yet in the app's design system).
   * The Phantom-style layout needs bigger section spacing than the app's
   * scale tops out at. Both are multiples of 4. Add to the design system
   * or remove. */
  --space-96: 96px;
  --space-128: 128px;

  /* Layout */
  --gutter: var(--space-16);
  --content-max: 1120px;
}

@media (min-width: 768px) {
  :root { --gutter: var(--space-24); }
}
