/* ==========================================================
   SimplifAI — shared styles
   Warm, calm, uncluttered. Soft sage + peach on cream, generous
   whitespace, rounded shapes, gentle shadows. No sharp edges,
   no harsh contrast — this is for parents already carrying a lot
   of worry; the site itself should feel like a deep breath.
   ========================================================== */

:root {
  --cream: #fbf6ef;
  --surface: #ffffff;
  --ink: #332f2a;
  --ink-soft: #6f6559;
  --sage: #3e8e7e;
  --sage-dark: #2f6d61;
  --sage-tint: #e2f0ec;
  --peach: #f3a469;
  --peach-tint: #fdece0;
  --line: #ece3d6;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 30px rgba(90, 70, 40, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Nunito", "Segoe UI", system-ui, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

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

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */
header.site {
  padding: 28px 0 8px;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Quicksand", "Nunito", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
}

.brand svg { flex: none; }

nav.links {
  display: flex;
  gap: 22px;
  font-weight: 600;
  font-size: 0.95rem;
}

nav.links a {
  color: var(--ink-soft);
}

nav.links a.active,
nav.links a:hover {
  color: var(--sage-dark);
  text-decoration: none;
}

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

.hero h1 {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin: 0 0 14px;
  color: var(--ink);
}

.hero p.lead {
  max-width: 560px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.pill {
  display: inline-block;
  background: var(--sage-tint);
  color: var(--sage-dark);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px;
  margin: 20px 0;
}

.app-card {
  display: flex;
  gap: 22px;
  align-items: flex-start;
}

.app-icon {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, var(--sage) 0%, var(--sage-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-card h2 {
  font-family: "Quicksand", sans-serif;
  margin: 0 0 6px;
  font-size: 1.3rem;
}

.app-card p {
  margin: 0 0 12px;
  color: var(--ink-soft);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--peach);
  background: var(--peach-tint);
  padding: 5px 12px;
  border-radius: 999px;
}

.status-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--peach);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.feature {
  background: var(--sage-tint);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.feature .emoji {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 8px;
}

.feature h3 {
  font-size: 0.98rem;
  margin: 0 0 4px;
  color: var(--sage-dark);
}

.feature p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* ---------- Generic content sections ---------- */
section.content {
  padding: 8px 0 40px;
}

section.content h1 {
  font-family: "Quicksand", sans-serif;
  font-size: clamp(1.7rem, 3.4vw, 2.2rem);
  margin-bottom: 6px;
}

section.content .updated {
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin-bottom: 28px;
}

section.content h2 {
  font-family: "Quicksand", sans-serif;
  font-size: 1.2rem;
  color: var(--sage-dark);
  margin-top: 34px;
}

section.content p, section.content li {
  color: var(--ink);
}

section.content ul {
  padding-left: 20px;
}

.contact-box {
  background: var(--sage-tint);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0;
}

.contact-box a {
  font-weight: 700;
}

.coming-soon {
  text-align: center;
  padding: 40px 24px;
}

.coming-soon .blob {
  width: 84px;
  height: 84px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--peach-tint);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Founder story (Hebrew, RTL) ---------- */
.story-card {
  padding: 40px;
}

.story-hebrew {
  font-family: "Rubik", "Nunito", sans-serif;
  font-size: 1.08rem;
  line-height: 1.95;
  color: var(--ink);
}

.story-hebrew p {
  margin: 0 0 22px;
}

.story-hebrew p:last-child {
  margin-bottom: 0;
}

.story-hebrew .story-hook {
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--sage-dark);
  border-right: 4px solid var(--sage);
  padding-right: 16px;
}

.story-hebrew .story-cta {
  background: var(--peach-tint);
  padding: 20px 22px;
  border-radius: var(--radius-md);
  font-weight: 500;
}

.story-highlight {
  color: var(--sage-dark);
  font-weight: 700;
}

@media (max-width: 560px) {
  .story-card { padding: 26px 20px; }
  .story-hebrew .story-hook { padding-right: 12px; }
}

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

footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

footer.site .foot-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

footer.site a {
  color: var(--ink-soft);
}

footer.site a:hover {
  color: var(--sage-dark);
}

@media (max-width: 560px) {
  .app-card { flex-direction: column; }
  nav.links { gap: 14px; font-size: 0.88rem; }
}
