/*
  discovered.studio — Proposal platform
  Aligned with existing-site: Suisse Intl, light background, brand orange.
  Copy SuisseIntl-Regular.ttf and SuisseIntl-Bold.ttf from existing-site/public/fonts/ into /fonts/ if you have them.
*/

@font-face {
  font-family: 'Suisse Intl';
  src: url('../fonts/SuisseIntl-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Suisse Intl';
  src: url('../fonts/SuisseIntl-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Aligned with existing-site globals.css */
  --background: #f5f5f5;
  --foreground: #000000;
  --accent: #8B5CF6;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-900: #111827;

  /* Proposal tokens (map to light theme) */
  --bg-primary: var(--background);
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-card-alt: var(--gray-100);
  --border: var(--gray-200);
  --border-strong: #9CA3AF;
  --text-primary: var(--foreground);
  --text-secondary: var(--gray-700);
  --text-muted: var(--gray-500);
  /* Primary CTA and brand accent: orange (matches main site Hero/Contact) */
  --cta-bg: #FF4E0F;
  --cta-hover-bg: #E0450D;
  --cta-text: #ffffff;
  --cta-glow: rgba(255, 78, 15, 0.3);
  --cta-secondary-border: var(--foreground);
  --brand: #FF4E0F;
  --brand-dark: #E0450D;
  --brand-light: #FF8A5C;

  /* Typography — same as main site */
  --font-suisse: 'Suisse Intl', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: var(--font-suisse);
  --font-heading: var(--font-suisse);

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;
  --text-8xl: 6rem;

  --leading-tight: 1.15;
  --leading-snug: 1.35;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;
  --leading-loose: 1.8;

  /* Heading gradient — matches main site hero/services/contact */
  --heading-gradient: linear-gradient(90deg, #000000, #4B5563, #9CA3AF, #000000);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  --space-40: 10rem;
  --section-gap: clamp(5rem, 12vw, 8rem);
  --container-padding: clamp(1.25rem, 4vw, 2.5rem);
  --container-max: 80rem;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.35s;
  --duration-slow: 0.5s;

  /* Radii — main site uses rounded-full for CTAs, rounded-lg for cards */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

/* Main site style: gradient heading text */
.heading-gradient {
  background: var(--heading-gradient);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.heading-tight {
  letter-spacing: -0.02em;
}

.heading-very-tight {
  letter-spacing: -0.04em;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
