/* SitterBrief marketing/support site — shared styles.
   Palette matches the native app's Brand enum (Views/BriefTheme.swift) so the
   web site and the iOS app feel like the same product. */
:root {
  --sb-bg: #0b0b12;
  --sb-surface: #17161f;
  --sb-surface-subtle: #211f2d;
  --sb-hairline: rgba(255, 255, 255, 0.08);
  --sb-hairline-strong: rgba(255, 255, 255, 0.14);
  --sb-ink: #f5f4f8;
  --sb-subink: #9b98ac;
  --sb-accent: #7c6fff;
  --sb-accent2: #b085f5;
  --sb-bedtime: #8c7cff;
  --sb-food: #4ade80;
  --sb-emergency: #ff6b6b;
  --sb-other: #ffb454;
  --sb-radius-card: 22px;
  --sb-radius-control: 16px;
  --sb-radius-pill: 999px;
  --sb-max-width: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.site {
  margin: 0;
  background: var(--sb-bg);
  color: var(--sb-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

.container {
  max-width: var(--sb-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

a { color: inherit; }

/* Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: saturate(180%) blur(14px);
  background: rgba(11, 11, 18, 0.75);
  border-bottom: 1px solid var(--sb-hairline);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--sb-ink);
}

.nav-brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.92rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--sb-subink);
  transition: color 0.15s ease;
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--sb-radius-pill);
  padding: 13px 24px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--sb-accent), var(--sb-accent2));
  color: #ffffff;
}

.btn-primary:hover { opacity: 0.92; }

.btn-ghost {
  background: transparent;
  border-color: var(--sb-hairline-strong);
  color: var(--sb-ink);
}

.btn-ghost:hover { border-color: var(--sb-accent); }

.btn-sm { padding: 9px 16px; font-size: 0.88rem; }

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

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--sb-accent2);
  background: rgba(124, 111, 255, 0.12);
  border: 1px solid rgba(124, 111, 255, 0.25);
  padding: 6px 14px;
  border-radius: var(--sb-radius-pill);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.12;
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.hero h1 .accent-text {
  background: linear-gradient(135deg, var(--sb-accent), var(--sb-accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lede {
  max-width: 620px;
  margin: 0 auto 32px;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--sb-subink);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-visual img {
  width: 220px;
  height: 220px;
  border-radius: 48px;
  box-shadow: 0 30px 80px -20px rgba(124, 111, 255, 0.45);
}

/* Section shell */
.section {
  padding: 64px 0;
  border-top: 1px solid var(--sb-hairline);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}

.section-eyebrow {
  color: var(--sb-accent2);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 0 0 12px;
  font-weight: 800;
}

.section-head p {
  color: var(--sb-subink);
  margin: 0;
  font-size: 1.02rem;
}

/* 3-step flow */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-card {
  background: var(--sb-surface);
  border: 1px solid var(--sb-hairline);
  border-radius: var(--sb-radius-card);
  padding: 28px 24px;
  position: relative;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sb-accent), var(--sb-accent2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 16px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 700;
}

.step-card p {
  margin: 0;
  color: var(--sb-subink);
  font-size: 0.94rem;
}

/* Feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--sb-surface);
  border: 1px solid var(--sb-hairline);
  border-radius: var(--sb-radius-card);
  padding: 22px 20px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.feature-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  color: var(--sb-subink);
  font-size: 0.88rem;
}

.fi-bedtime { background: rgba(140, 124, 255, 0.16); }
.fi-food { background: rgba(74, 222, 128, 0.16); }
.fi-emergency { background: rgba(255, 107, 107, 0.16); }
.fi-other { background: rgba(255, 180, 84, 0.16); }
.fi-accent { background: rgba(124, 111, 255, 0.16); }

/* Trust / transparency section */
.trust-list {
  display: grid;
  gap: 14px;
}

.trust-item {
  display: flex;
  gap: 14px;
  background: var(--sb-surface);
  border: 1px solid var(--sb-hairline);
  border-radius: var(--sb-radius-control);
  padding: 18px 20px;
}

.trust-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sb-accent2);
  margin-top: 7px;
  flex-shrink: 0;
}

.trust-item strong { display: block; margin-bottom: 3px; }

.trust-item p { margin: 0; color: var(--sb-subink); font-size: 0.92rem; }

/* Final CTA */
.cta-band {
  text-align: center;
  padding: 64px 0 80px;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 14px;
  font-weight: 800;
}

.cta-band p {
  color: var(--sb-subink);
  margin: 0 0 28px;
}

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

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.footer-brand img {
  width: 24px;
  height: 24px;
  border-radius: 7px;
}

.footer-links {
  display: flex;
  gap: 20px;
  font-size: 0.88rem;
  flex-wrap: wrap;
}

.footer-links a { text-decoration: none; color: var(--sb-subink); }
.footer-links a:hover { color: var(--sb-ink); }

.footer-copy {
  color: var(--sb-subink);
  font-size: 0.82rem;
  margin-top: 18px;
}

/* Support page specifics */
.support-hero {
  padding: 56px 0 8px;
  text-align: center;
}

.support-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0 0 12px;
  font-weight: 800;
}

.support-hero p {
  color: var(--sb-subink);
  max-width: 560px;
  margin: 0 auto;
}

.faq-group {
  margin-bottom: 36px;
}

.faq-group h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--sb-accent2);
}

details.faq-item {
  background: var(--sb-surface);
  border: 1px solid var(--sb-hairline);
  border-radius: var(--sb-radius-control);
  padding: 4px 20px;
  margin-bottom: 10px;
}

details.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 600;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

details.faq-item summary::-webkit-details-marker { display: none; }

details.faq-item summary::after {
  content: "+";
  color: var(--sb-accent2);
  font-size: 1.3rem;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

details.faq-item[open] summary::after { transform: rotate(45deg); }

details.faq-item p.faq-answer {
  margin: 0 0 18px;
  color: var(--sb-subink);
  font-size: 0.92rem;
  line-height: 1.6;
}

.contact-card {
  background: var(--sb-surface);
  border: 1px solid var(--sb-hairline);
  border-radius: var(--sb-radius-card);
  padding: 32px 28px;
  text-align: center;
}

.contact-card h2 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  font-weight: 800;
}

.contact-card p {
  color: var(--sb-subink);
  margin: 0 0 20px;
}

.contact-email {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--sb-ink);
}

/* Responsive */
@media (max-width: 860px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
  .nav-links { gap: 14px; }
  .nav-links .btn { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .features { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 40px; }
  .hero-visual img { width: 170px; height: 170px; border-radius: 38px; }
  .section { padding: 48px 0; }
}
