@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --background: 220 20% 97%;
  --foreground: 220 100% 1%;
  --card: 0 0% 100%;
  --card-foreground: 220 100% 1%;
  --popover: 0 0% 100%;
  --popover-foreground: 220 100% 1%;
  --primary: 45 68% 47%;
  --primary-foreground: 0 0% 100%;
  --secondary: 351 85% 42%;
  --secondary-foreground: 0 0% 100%;
  --muted: 220 14% 96%;
  --muted-foreground: 220 10% 40%;
  --accent: 45 68% 47%;
  --accent-foreground: 0 0% 100%;
  --destructive: 351 85% 42%;
  --destructive-foreground: 0 0% 100%;
  --border: 220 10% 85%;
  --input: 220 10% 85%;
  --ring: 45 68% 47%;
  --radius: 0.375rem;
  --success: 142 76% 36%;
  --warning: 38 92% 50%;
  --error: 351 85% 42%;
}

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

html {
  font-size: clamp(0.875rem, 1vw + 0.5rem, 1rem);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: hsl(var(--foreground));
  background-color: hsl(var(--background));
}

img,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 150ms ease-out;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: hsl(var(--foreground));
}

h1 {
  font-size: clamp(2.25rem, 4vw + 1rem, 2.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.25rem, 2vw + 0.5rem, 1.5rem);
  font-weight: 600;
}

h4 {
  font-size: clamp(1rem, 1.5vw + 0.25rem, 1.125rem);
  font-weight: 600;
}

p {
  line-height: 1.6;
  color: hsl(var(--foreground) / 0.85);
}

small {
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.5;
}

.text-tiny {
  font-size: 0.6875rem;
  font-weight: 500;
}

.text-caption {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.container {
  width: 100%;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
    padding-inline: 2rem;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 960px;
    padding-inline: 3rem;
  }
}

@media (min-width: 1440px) {
  .container {
    max-width: 1200px;
    padding-inline: 3rem;
  }
}

.container-narrow {
  max-width: 960px;
}

.container-text {
  max-width: 720px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all 150ms ease-out;
}

.btn-primary {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: 0 2px 8px hsl(var(--primary) / 0.25);
}

.btn-primary:hover {
  background-color: hsl(var(--primary) / 0.9);
  box-shadow: 0 4px 12px hsl(var(--primary) / 0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: hsl(var(--foreground));
  border: 1.5px solid hsl(var(--foreground) / 0.3);
}

.btn-secondary:hover {
  border-color: hsl(var(--accent));
  color: hsl(var(--accent));
}

.btn-tertiary {
  background-color: transparent;
  color: hsl(var(--accent));
  font-weight: 500;
  padding: 0.5rem 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.card {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--foreground) / 0.08);
  border-radius: 0.75rem;
  padding: 1.5rem 2rem;
  box-shadow: 0 2px 12px hsl(var(--foreground) / 0.06);
  transition: all 200ms ease-out;
}

.card:hover {
  box-shadow: 0 4px 20px hsl(var(--foreground) / 0.1);
  transform: translateY(-2px);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 0.25rem;
  background-color: hsl(var(--accent) / 0.12);
  color: hsl(var(--accent));
}

.badge-secondary {
  background-color: hsl(var(--secondary) / 0.1);
  color: hsl(var(--secondary));
}

.input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.9375rem;
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--foreground) / 0.15);
  border-radius: var(--radius);
  transition: border-color 150ms ease-out;
}

.input::placeholder {
  color: hsl(var(--foreground) / 0.4);
}

.input:focus {
  outline: none;
  border-color: hsl(var(--accent));
  border-width: 2px;
}

.icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: hsl(var(--accent) / 0.1);
  border-radius: var(--radius);
  color: hsl(var(--accent));
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

.section-padding {
  padding-block: 3rem;
}

@media (min-width: 768px) {
  .section-padding {
    padding-block: 4rem;
  }
}

@media (min-width: 1024px) {
  .section-padding {
    padding-block: 5rem 6rem;
  }
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 640px) {
  .grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}