/* Sisa marketing site — shared styles. Brand palette mirrors the app. */
:root {
  --surface: #fcf9f6;
  --surface-2: #f3efe9;
  --on-surface: #323330;
  --on-surface-variant: #5f5f5c;
  --primary: #4b6553;
  --secondary: #2d695f;
  --primary-container: #cde8d4;
  --border: rgba(50, 51, 48, 0.10);
  --radius: 18px;
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--on-surface);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--secondary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ── Header ───────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(252, 249, 246, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; color: var(--on-surface); }
.brand img { width: 30px; height: 30px; }
.nav a { color: var(--on-surface-variant); margin-left: 22px; font-size: 15px; }
.nav a:hover { color: var(--primary); text-decoration: none; }
@media (max-width: 640px) { .nav a { margin-left: 14px; font-size: 14px; } }

/* ── Hero ─────────────────────────────────────────────── */
.hero { text-align: center; padding: 72px 0 56px; }
.hero img.logo { width: 132px; height: 132px; margin: 0 auto 8px; }
.hero h1 { font-size: 44px; margin: 8px 0 6px; letter-spacing: -0.5px; }
.hero .tagline { font-size: 22px; color: var(--primary); font-weight: 500; margin: 0 0 16px; }
.hero p.lede { font-size: 18px; color: var(--on-surface-variant); max-width: 600px; margin: 0 auto 28px; }
@media (max-width: 640px) { .hero h1 { font-size: 34px; } .hero .tagline { font-size: 19px; } }

.cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: #fff; font-weight: 600; font-size: 16px;
  padding: 13px 24px; border-radius: 999px; border: none;
}
.cta:hover { background: var(--secondary); text-decoration: none; }
.cta.secondary { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.cta-note { display: block; margin-top: 12px; font-size: 13px; color: var(--on-surface-variant); }

/* ── Sections ─────────────────────────────────────────── */
section { padding: 56px 0; }
section h2 { font-size: 30px; text-align: center; margin: 0 0 8px; letter-spacing: -0.3px; }
section .sub { text-align: center; color: var(--on-surface-variant); max-width: 560px; margin: 0 auto 40px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.feature {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px;
}
.feature .ico {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px;
  background: var(--primary-container); color: var(--secondary);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.feature h3 { margin: 0 0 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--on-surface-variant); font-size: 15px; }

/* Screenshots */
.shots {
  display: flex; gap: 22px; overflow-x: auto; padding: 8px 4px 20px;
  scroll-snap-type: x mandatory;
}
.phone {
  flex: 0 0 auto; width: 230px; scroll-snap-align: center;
  border: 10px solid #1d1f1c; border-radius: 38px;
  background: var(--surface-2); aspect-ratio: 9 / 19.5; overflow: hidden;
  box-shadow: 0 12px 30px rgba(50,51,48,0.14);
}
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone .ph {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
  color: var(--on-surface-variant); font-size: 14px; text-align: center; padding: 16px;
}
.phone .ph span { font-size: 28px; opacity: 0.5; }

/* ── Footer ───────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border); padding: 36px 0; margin-top: 24px;
  color: var(--on-surface-variant); font-size: 14px;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.site-footer nav a { color: var(--on-surface-variant); margin-right: 18px; }
.site-footer nav a:hover { color: var(--primary); }
.site-footer .muted { opacity: 0.8; }

/* ── Legal pages ──────────────────────────────────────── */
.legal { max-width: 760px; margin: 0 auto; padding: 48px 24px 72px; }
.legal h1 { font-size: 34px; margin-bottom: 4px; }
.legal h2 { font-size: 22px; color: var(--secondary); margin-top: 32px; }
.legal h3 { font-size: 17px; margin-top: 22px; }
.legal .placeholder {
  background: var(--primary-container); color: var(--secondary);
  border-radius: 12px; padding: 18px 20px; font-size: 15px;
}
.legal .updated { color: var(--on-surface-variant); font-size: 14px; }
