/* Minimalist, Clean Intro Site for With The Flow */
:root {
  --bg-color: #fffdf9;
  --text-primary: #2d2621;
  --text-secondary: #706256;
  --accent: #5c3318;
  --accent-light: #f5f0e8;
  --border: #e8e2da;
}

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

body {
  margin: 0;
  font-family: "Literata", "Georgia", serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-color);
  background-image: url('../images/bg-wave.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  padding: 40px 0;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.01em;
}

/* Hero Section */
.hero {
  padding: 80px 0 120px;
}

.hero-content {
  max-width: 680px;
  margin-bottom: 80px;
}

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin: 0 0 24px;
}

.headline {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--text-primary);
}

.subheadline {
  font-size: clamp(18px, 3vw, 22px);
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0 0 48px;
  max-width: 600px;
}

/* App Store Button */
.cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: var(--accent);
  color: #fff;
  padding: 14px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-store:hover {
  background-color: #4a2814;
  transform: translateY(-2px);
}

.btn-store img {
  width: 24px;
  height: 24px;
}

/* Features */
.hero-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  padding-top: 64px;
  border-top: 1px solid var(--border);
}

.feature h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--text-primary);
}

.feature p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* Legal Pages */
.shell--legal {
  max-width: 680px;
  padding: 40px 0 120px;
}

.back-link {
  display: inline-block;
  margin-bottom: 40px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--accent);
}

.card-legal h1 {
  font-size: 32px;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.card-legal .updated {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 48px;
}

.card-legal h2 {
  font-size: 20px;
  margin: 48px 0 16px;
  color: var(--text-primary);
}

.card-legal h3 {
  font-size: 16px;
  margin: 24px 0 12px;
}

.card-legal p, 
.card-legal ul {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.card-legal li {
  margin-bottom: 8px;
}

.card-legal hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

.legal-footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-inner p {
  margin: 0;
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--accent);
}

@media (min-width: 640px) {
  .hero {
    padding: 120px 0 160px;
  }
  
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}