/* Stack Design System — Web */
:root {
  --background: #F7F5F0;
  --foreground: #1A1A18;
  --card: #FCFAF8;
  --accent: #C97A63;
  --accent-light: #D48E78;
  --muted: #E5E3DE;
  --muted-fg: #7A7873;
  --border: #E5E3DE;
  --radius: 20px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #1A1917;
    --foreground: #EDE9E3;
    --card: #242320;
    --accent: #D48E78;
    --accent-light: #E0A98B;
    --muted: #33312E;
    --muted-fg: #9B9790;
    --border: #3A3835;
  }
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: color-mix(in srgb, var(--background) 80%, transparent);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--foreground);
  text-decoration: none;
}

.nav-logo span { color: var(--accent); }

.nav-links { display: flex; gap: 24px; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted-fg);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--foreground); text-decoration: none; }

/* Container */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero p {
  font-size: 18px;
  color: var(--muted-fg);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  transition: opacity 0.2s;
}
.hero-cta:hover { opacity: 0.9; text-decoration: none; }
.hero-cta svg { width: 18px; height: 18px; }

/* Features */
.features {
  padding: 40px 0 80px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 20px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.feature-card p {
  font-size: 14px;
  color: var(--muted-fg);
  line-height: 1.6;
}

/* Privacy banner */
.privacy-banner {
  padding: 60px 0;
}

.privacy-banner-inner {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
}

.privacy-banner-inner h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.privacy-banner-inner p {
  font-size: 15px;
  color: var(--muted-fg);
  max-width: 480px;
  margin: 0 auto 24px;
}

.privacy-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.privacy-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--muted);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--foreground);
}

.privacy-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Legal pages */
.legal-page {
  padding: 60px 0 80px;
}

.legal-page h1 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.legal-date {
  font-size: 14px;
  color: var(--muted-fg);
  margin-bottom: 40px;
}

.legal-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 16px;
}

.legal-section h2 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}

.legal-section p {
  font-size: 14px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--foreground) 85%, transparent);
  margin-bottom: 8px;
}

.legal-section p:last-child { margin-bottom: 0; }

.legal-section ul {
  list-style: none;
  padding: 0;
  margin: 8px 0;
}

.legal-section li {
  font-size: 14px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--foreground) 85%, transparent);
  padding-left: 18px;
  position: relative;
  margin-bottom: 4px;
}

.legal-section li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.legal-section .note {
  font-size: 13px;
  color: var(--muted-fg);
  margin-top: 8px;
}

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

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-left {
  font-size: 13px;
  color: var(--muted-fg);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 13px;
  color: var(--muted-fg);
}
.footer-links a:hover { color: var(--foreground); }

@media (max-width: 600px) {
  .hero { padding: 48px 0 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .privacy-banner-inner { padding: 28px 20px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
