:root {
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --gray-900: #111827;
}

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

html {
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, var(--gray-50) 100%);
  color: var(--gray-900);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  text-align: center;
  margin-bottom: 4rem;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.logo-text {
  font-size: 3.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.logo-great {
  color: var(--blue-500);
}

.logo-recs {
  color: var(--gray-900);
}

.logo-sparkles {
  flex-shrink: 0;
}

.logo img {
  max-width: 100%;
  height: auto;
}

main {
  flex: 1;
  text-align: center;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

.subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 520px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.app-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.app-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  background: var(--gray-900);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.2s ease;
  min-width: 180px;
}

.app-button:hover {
  background: var(--gray-800);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.app-button .icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.app-button span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.app-button small {
  font-size: 0.7rem;
  opacity: 0.8;
  font-weight: 400;
}

.app-button span:not(small) {
  font-size: 1.1rem;
  font-weight: 600;
}

.coming-soon {
  font-size: 0.875rem;
  color: var(--gray-500);
}

footer {
  text-align: center;
  padding-top: 3rem;
  margin-top: auto;
}

footer nav {
  margin-bottom: 1rem;
}

footer a {
  color: var(--gray-600);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--blue-600);
}

.divider {
  margin: 0 0.75rem;
  color: var(--gray-400);
}

.copyright {
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* Legal pages */
.legal-page {
  background: white;
}

.legal-page .container {
  max-width: 720px;
}

.legal-page header {
  margin-bottom: 2rem;
  text-align: left;
}

.logo-small .logo-text {
  font-size: 2.25rem;
}

.legal-page .logo {
  justify-content: flex-start;
  text-decoration: none;
}

.legal-page main {
  text-align: left;
}

.legal-page h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.legal-page .last-updated {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 2.5rem;
}

.legal-page h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  color: var(--gray-800);
}

.legal-page p {
  margin-bottom: 1rem;
  color: var(--gray-700);
}

.legal-page ul {
  margin: 1rem 0 1rem 1.5rem;
  color: var(--gray-700);
}

.legal-page li {
  margin-bottom: 0.5rem;
}

.legal-page a {
  color: var(--blue-600);
}

.legal-page footer {
  border-top: 1px solid var(--gray-100);
  padding-top: 2rem;
  margin-top: 3rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--blue-600);
  text-decoration: none;
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.back-link:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .container {
    padding: 2rem 1rem;
  }
  
  header {
    margin-bottom: 3rem;
  }
  
  .app-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .app-button {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

