/* Restaurant Tools - Refined Warmth palette */
:root {
  --terracotta: #C2684D;
  --terracotta-light: rgba(194, 104, 77, 0.1);
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-400: #a8a29e;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-900: #1c1917;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--stone-800);
  background: var(--stone-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
header {
  background: white;
  border-bottom: 1px solid var(--stone-200);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: var(--terracotta);
  border-radius: 0.5rem;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--stone-900);
}

nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  color: var(--stone-600);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--stone-900);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--terracotta);
  color: white;
}

.btn-primary:hover {
  background: #b05d44;
}

.btn-ghost {
  background: transparent;
  color: var(--stone-600);
  border: 1px solid var(--stone-200);
}

.btn-ghost:hover {
  background: var(--stone-100);
  color: var(--stone-800);
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

/* Hero */
.hero {
  padding: 6rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--stone-900);
  letter-spacing: -0.025em;
  max-width: 48rem;
  margin: 0 auto;
}

.hero-sub {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--stone-500);
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* Features */
.features {
  padding-bottom: 6rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: white;
  border: 1px solid var(--stone-200);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--terracotta-light);
  border-radius: 0.5rem;
  color: var(--terracotta);
}

.feature-card h3 {
  margin-top: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--stone-900);
}

.feature-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--stone-500);
}

/* Footer */
footer {
  border-top: 1px solid var(--stone-200);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-inner p {
  font-size: 0.875rem;
  color: var(--stone-400);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--stone-500);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--stone-800);
}

/* Legal pages */
.legal {
  padding: 3rem 0;
}

.legal h1 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--stone-900);
  margin-bottom: 0.5rem;
}

.legal .updated {
  font-size: 0.875rem;
  color: var(--stone-400);
  margin-bottom: 2.5rem;
}

.legal section {
  margin-bottom: 2rem;
}

.legal h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--stone-900);
  margin-bottom: 0.75rem;
}

.legal h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--stone-900);
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

.legal p {
  color: var(--stone-700);
  margin-bottom: 0.5rem;
}

.legal ul {
  padding-left: 1.5rem;
  color: var(--stone-700);
  margin-bottom: 0.5rem;
}

.legal li {
  margin-bottom: 0.375rem;
}

.legal .caps {
  text-transform: uppercase;
  font-size: 0.9375rem;
}

.legal .back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--stone-200);
  color: var(--stone-500);
  text-decoration: none;
  font-size: 0.875rem;
}

.legal .back-link:hover {
  color: var(--stone-800);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.875rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
  .hero-actions { flex-direction: column; }
}
