/* CSS Variables */
:root {
  --brand: #8C3A32;
  --text-primary: #2A1F1D;
  --text-secondary: #4A3A37;
  --text-muted: #6F5F5B;
  --background: #F6EFEA;
  --surface: #FDF6F2;
  --border: #E8DDD7;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* Base Styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
}

/* Container */
.container {
  max-width: 1100px;
  margin: auto;
  min-height: 100vh;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

/* Header */
header {
  display: flex;
  align-items: center;
  padding: 18px 0 22px 0;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  object-fit: cover;
  display: block;
}

.logo {
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.02em;
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 44px 0 80px 0;
}

.hero h1 {
  font-size: 44px;
  margin: 0 0 20px 0;
}

.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 420px;
}

/* Phone Mockup */
.phone {
  background: var(--surface);
  border-radius: 30px;
  height: 500px;
  padding: 22px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-code {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 22px;
}

/* Buttons */
.app-button {
  margin-top: 30px;
  display: inline-block;
  padding: 14px 26px;
  background: var(--brand);
  color: var(--surface);
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.section-title p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: auto;
}

/* Features Grid */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.feature {
  background: var(--surface);
  padding: 30px;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}

.feature h3 {
  margin-top: 0;
}

/* Call to Action */
.cta {
  text-align: center;
  padding: 100px 20px;
}

.cta h2 {
  font-size: 34px;
  margin-bottom: 20px;
}

/* Typography */
h1 {
  font-size: 34px;
  margin-bottom: 20px;
}

h1,
h2 {
  color: var(--text-primary);
}

p {
  font-size: 16px;
  color: var(--text-secondary);
}

small {
  color: #666;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  margin-top: auto;
  padding: 30px 0;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-muted);
}

footer a {
  text-decoration: none;
  color: var(--text-muted);
  margin-left: 20px;
}

/* Policy Pages */
.policy-hero {
  text-align: center;
  padding: 10px 0 60px 0;
}

.policy-hero h1 {
  font-size: 38px;
  margin-bottom: 10px;
}

.policy-hero small {
  color: var(--text-muted);
  font-size: 14px;
}

.policy-section {
  margin-bottom: 48px;
}

.policy-section h2 {
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.policy-section h3 {
  font-size: 18px;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.policy-section p {
  margin: 0 0 16px 0;
  line-height: 1.7;
}

.policy-section ul {
  margin: 0 0 16px 0;
  padding-left: 25px;
}

.policy-section li {
  margin-bottom: 10px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.policy-section > *:last-child {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 900px) {
  header {
    margin-bottom: 20px;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 28px;
  }

  .hero p {
    margin: auto;
  }

  .brand {
    margin: 0 auto;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .policy-section {
    margin-bottom: 40px;
  }

  .policy-hero h1 {
    font-size: 32px;
  }

}
