/*
 * Shared look for the product pages (/daycare-management-software,
 * /preschool-fee-management-software, /parent-communication-app).
 * Tokens, nav, buttons, sections, CTA and footer are copied from about.html so these
 * pages match the rest of the site; .features, .faq and .related are new.
 */
:root {
  --ink: #0B1B3A;
  --ink-2: #142447;
  --ink-3: #1E2A4A;
  --slate: #475569;
  --slate-2: #64748B;
  --slate-3: #94A3B8;
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --line: #E2E8F0;
  --line-2: #CBD5E1;
  --accent: #5B6FD8;
  --accent-2: #4A5BC7;
  --accent-deep: #3A4AB5;
  --accent-soft: rgba(91, 111, 216, 0.12);
  --sans: 'Geist', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  --mono: 'Geist Mono', 'JetBrains Mono', 'SF Mono', Menlo, monospace;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  font-size: 16px;
  overflow-x: hidden;
  font-variant-numeric: tabular-nums;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; width: 100%; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-2);
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1;
}
.nav__brand .mark { width: 26px; height: 26px; border-radius: 7px; display: inline-block; }
.nav__links { display: flex; gap: 26px; margin-left: 12px; }
.nav__links a { font-size: 14px; font-weight: 500; color: var(--slate); transition: color 0.18s; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.nav__signin { font-size: 14px; font-weight: 500; color: var(--slate); padding: 10px 14px; transition: color 0.2s; }
.nav__signin:hover { color: var(--ink); }
.nav__demo {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--ink);
  padding: 10px 18px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s, transform 0.2s;
}
.nav__demo:hover { background: var(--ink-3); transform: translateY(-1px); }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  border: 1px solid transparent;
}
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn--primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 1px 2px rgba(11, 27, 58, 0.12), 0 6px 16px rgba(11, 27, 58, 0.18);
}
.btn--primary:hover { background: var(--ink-3); transform: translateY(-1px); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--bg-soft); border-color: var(--ink); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn--ghost-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.25); }
.btn--ghost-dark:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }

/* PAGE HERO */
.pagehero { padding: 96px 0 80px; text-align: center; }
.pagehero .eyebrow { display: inline-block; margin-bottom: 20px; }
.pagehero h1 {
  font-size: clamp(36px, 5.4vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.022em;
}
.pagehero h1 .hl { color: var(--accent-2); }
.pagehero__sub {
  margin: 24px auto 0;
  max-width: 720px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--slate);
}
.pagehero__sub strong { color: var(--ink); font-weight: 600; }
.pagehero__actions { margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.pagehero__meta { margin-top: 36px; display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; }
.pagehero__meta div {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-2);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pagehero__meta div::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* SECTIONS */
.section { padding: 112px 0; border-top: 1px solid var(--line); }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 760px; margin-bottom: 56px; }
.section__head .eyebrow { display: inline-block; margin-bottom: 16px; }
.section__head h2 {
  font-size: clamp(32px, 4.6vw, 54px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.022em;
}
.section__head h2 .hl { color: var(--accent-2); }
.section__head .sub { margin-top: 20px; font-size: 18px; line-height: 1.6; color: var(--slate); }
.section--dark { background: var(--ink); color: #fff; }

/* FEATURES */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 28px 26px 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.feature__num { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; color: var(--slate-3); font-weight: 500; }
.feature h3 { margin-top: 14px; font-size: 19px; font-weight: 700; letter-spacing: -0.015em; }
.feature p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--slate); }

/* FAQ */
.faq { max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 40px 22px 0;
  position: relative;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 20px;
  color: var(--slate-2);
}
.faq details[open] summary::after { content: '−'; }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.faq details p { padding: 0 40px 24px 0; font-size: 16px; line-height: 1.7; color: var(--slate); }
.faq details a { color: var(--accent-2); font-weight: 600; }

/* RELATED PAGES */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related a {
  display: block;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  transition: border-color 0.2s, transform 0.2s;
}
.related a:hover { border-color: var(--ink); transform: translateY(-1px); }
.related strong { display: block; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.related span { display: block; margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: var(--slate); }

/* CTA */
.cta { text-align: center; }
.cta h2 {
  font-size: clamp(34px, 4.8vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.022em;
  color: #fff;
}
.cta p { margin: 20px auto 0; max-width: 560px; font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, 0.7); }
.cta__actions { margin-top: 36px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* FOOTER */
.foot {
  padding: 64px 0 40px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.foot__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
}
.foot__brand-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1;
}
.foot__brand-row .mark { width: 26px; height: 26px; border-radius: 7px; display: inline-block; }
.foot__tagline { margin-top: 14px; font-size: 13px; max-width: 280px; line-height: 1.6; color: rgba(255, 255, 255, 0.55); }
.foot__legal {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.04em;
}
.foot__col h4 {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
}
.foot__col a { display: block; font-size: 13.5px; margin-bottom: 10px; color: rgba(255, 255, 255, 0.7); transition: color 0.18s; }
.foot__col a:hover { color: var(--accent); }
.foot__place { display: block; font-size: 13.5px; color: rgba(255, 255, 255, 0.55); }
.foot__bottom {
  max-width: 1240px;
  margin: 56px auto 0;
  padding: 24px 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .wrap, .nav__inner, .foot__inner, .foot__bottom { padding-left: 20px; padding-right: 20px; }
  .nav__links { display: none; }
  .section { padding: 72px 0; }
  .pagehero { padding: 64px 0 56px; }
  .features, .related { grid-template-columns: 1fr; }
  .foot__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .nav__signin { display: none; }
  .foot__inner { grid-template-columns: 1fr; }
  .faq summary { font-size: 16.5px; }
}
