/* ===================== TOKENS ===================== */
:root {
  --bg: #F8F6F1;
  --surface: #F1ECE4;
  --surface-alt: #EFE9E0;
  --card: #FBFAF7;
  --border: #E3DDD1;
  --text: #2A2823;
  --text-muted: #71695C;
  --text-faint: #A79E8E;
  --accent: #C2704B;
  --accent-hover: #A75B39;
  --accent-tint: #F1DCCE;
  --dark: #26231D;
  --sage: #7C8B6F;

  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'General Sans', 'Inter', -apple-system, sans-serif;

  --container: 1280px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-soft: 0 20px 50px -20px rgba(42, 40, 35, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; margin: 0; color: var(--text); }
p { margin: 0; }
i[data-lucide] { width: 1em; height: 1em; }
svg { display: block; }

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

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}
.btn i { width: 16px; height: 16px; }
.btn-primary {
  background: var(--accent);
  color: #FBF7F2;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-outline-invert {
  background: transparent;
  border-color: rgba(251, 247, 242, 0.35);
  color: #FBF7F2;
}
.btn-outline-invert:hover { border-color: #FBF7F2; transform: translateY(-2px); }
.btn-lg { padding: 15px 28px; font-size: 15.5px; }
.btn-nav { padding: 11px 22px; }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 246, 241, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 84px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  flex-shrink: 0;
}
.logo-mark { color: var(--accent); width: 30px; height: 30px; }
.logo-mark svg { width: 100%; height: 100%; }
.logo-word {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1.5px;
  background: var(--accent);
  transition: right 0.25s ease;
}
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after { right: 0; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 24px;
  border-top: 1px solid var(--border);
}
.mobile-nav a {
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.mobile-nav .btn { margin-top: 14px; justify-content: center; }
.mobile-nav.open { display: flex; }

/* ===================== HERO ===================== */
.hero { padding: 96px 0 60px; overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-title {
  font-size: clamp(2.6rem, 4.6vw, 4.1rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--text);
}
.accent-rule {
  display: block;
  width: 76px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 26px 0 26px;
}
.hero-lede {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 34px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--text-faint);
}
.hero-trust i { width: 15px; height: 15px; }

/* ---- hero visual / phones ---- */
.hero-visual {
  position: relative;
  height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prop-still {
  position: absolute;
  right: -6%;
  bottom: -6%;
  width: 210px;
  border-radius: 18px;
  opacity: 0.92;
  box-shadow: var(--shadow-soft);
  z-index: 1;
}
.prop-bowl {
  position: absolute;
  left: 2%;
  bottom: 4%;
  width: 150px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 40% 30%, #E8DFD1, #D9CDB9 70%);
  box-shadow: inset 0 6px 14px rgba(120, 100, 70, 0.25), var(--shadow-soft);
  z-index: 0;
}

.phone {
  position: absolute;
  width: 250px;
  border-radius: 38px;
  background: #fff;
  border: 8px solid #EDEAE4;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.phone-notch {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #EDEAE4;
  border-radius: 0 0 14px 14px;
  z-index: 5;
}
.phone-front {
  z-index: 3;
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
}
.phone-back {
  z-index: 2;
  top: 46%;
  left: 74%;
  transform: translate(-50%, -50%) scale(0.94);
  opacity: 0.98;
}
.phone-screen {
  background: var(--bg);
  padding: 30px 14px 0;
  height: 520px;
  display: flex;
  flex-direction: column;
  font-size: 12px;
}
.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  color: var(--text-faint);
}
.app-topbar--plain { color: var(--text-faint); }
.app-logo-mini {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--text);
}
.app-logo-mini svg { width: 16px; height: 16px; color: var(--accent); }
.app-eyebrow { font-family: var(--font-display); font-size: 14px; color: var(--text); }
.app-topbar i { width: 16px; height: 16px; }

.app-greeting { margin-bottom: 14px; }
.app-greet-title { font-family: var(--font-display); font-size: 16px; color: var(--text); margin-bottom: 2px; }
.app-greet-sub { font-size: 11px; color: var(--text-muted); }

.app-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 12px;
  position: relative;
}
.app-card-label { font-size: 10.5px; color: var(--text-muted); margin-bottom: 4px; }
.app-card-value { font-family: var(--font-display); font-size: 20px; color: var(--text); margin-bottom: 6px; }
.app-card-value--sm { font-size: 17px; }
.app-sparkline { width: 100%; height: 26px; margin-bottom: 6px; }
.app-sparkline polyline { fill: none; stroke: var(--sage); stroke-width: 2; }
.app-card-delta { display: flex; align-items: center; gap: 4px; font-size: 10.5px; color: var(--sage); font-weight: 600; }
.app-card-delta i { width: 11px; height: 11px; }
.app-card--muted { background: var(--surface); }

.app-list { display: flex; flex-direction: column; gap: 7px; margin-bottom: 10px; }
.app-list--compact li { padding: 8px 9px; }
.app-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 10px;
}
.app-list-icon {
  width: 26px; height: 26px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.app-list-icon i { width: 13px; height: 13px; }
.app-list-icon--rose { background: #F3DED4; }
.app-list-icon--sand { background: #EFE6D6; }
.app-list-icon--clay { background: #EAD9CB; }
.app-list-icon--sage { background: #E1E6D9; color: var(--sage); }
.app-list-text { flex: 1; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.app-list-text strong { font-size: 11.5px; font-weight: 600; color: var(--text); }
.app-list-text em { font-style: normal; font-size: 10.5px; color: var(--text-muted); }
.app-list > li > i:last-child { width: 13px; height: 13px; color: var(--text-faint); flex-shrink: 0; }

.app-property { border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 10px; height: 92px; }
.app-property img { width: 100%; height: 100%; object-fit: cover; }

.app-add-btn {
  margin-top: auto;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: none;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  font-family: var(--font-body);
}
.app-add-btn i { width: 13px; height: 13px; }

.app-tabbar {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding: 10px 2px 12px;
}
.app-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  color: var(--text-faint);
  font-weight: 500;
}
.app-tab i { width: 16px; height: 16px; }
.app-tab--active { color: var(--accent); }

/* ===================== SECTION HEADS ===================== */
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head.align-left { margin: 0 0 48px; text-align: left; }
.section-head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.18; }
.section-head .lede { margin-top: 16px; font-size: 17px; color: var(--text-muted); line-height: 1.65; }

section { padding: 100px 0; }

/* ===================== FEATURES ===================== */
.features { background: var(--surface-alt); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--accent-tint);
  color: var(--accent);
  margin-bottom: 20px;
}
.feature-icon i { width: 22px; height: 22px; }
.feature-card h3 { font-size: 18.5px; font-weight: 600; font-family: var(--font-body); margin-bottom: 10px; line-height: 1.3; }
.feature-card p { color: var(--text-muted); font-size: 14.5px; line-height: 1.6; }

/* ===================== HOW IT WORKS ===================== */
.how-inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: start; }
.steps { display: flex; flex-direction: column; gap: 36px; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; }
.step-num {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--accent);
  border: 1.5px solid var(--accent-tint);
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 19px; font-weight: 600; font-family: var(--font-body); margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 15px; line-height: 1.6; }

/* ===================== SECURITY ===================== */
.security { background: var(--dark); color: #F1ECE1; }
.security h2, .security .eyebrow { color: #F1ECE1; }
.security .eyebrow { color: #E3A47F; }
.security-copy p { color: #C9C2B4; font-size: 17px; margin: 18px 0 32px; max-width: 480px; line-height: 1.65; }
.security-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.security-list { display: flex; flex-direction: column; gap: 24px; }
.security-list li { display: flex; gap: 16px; align-items: flex-start; }
.security-list i { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.security-list strong { display: block; font-size: 15.5px; font-weight: 600; margin-bottom: 4px; }
.security-list span { display: block; font-size: 14px; color: #A79E8E; line-height: 1.55; }
.security-visual { display: flex; align-items: center; justify-content: center; }
.security-badge {
  width: 260px; height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(241, 236, 225, 0.15);
  background: radial-gradient(circle at 35% 30%, rgba(226, 164, 127, 0.14), transparent 70%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.security-badge i { width: 54px; height: 54px; color: var(--accent); }
.security-badge p { font-family: var(--font-display); font-size: 17px; color: #F1ECE1; }

/* ===================== FOR FAMILIES ===================== */
.families-inner .lede { max-width: 620px; }
.family-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.family-card {
  padding: 30px 4px;
  border-top: 2px solid var(--accent);
}
.family-card i { width: 26px; height: 26px; color: var(--accent); margin-bottom: 18px; }
.family-card h3 { font-size: 18px; font-weight: 600; font-family: var(--font-body); margin-bottom: 10px; }
.family-card p { color: var(--text-muted); font-size: 14.5px; line-height: 1.6; }

/* ===================== ABOUT ===================== */
.about { background: var(--surface-alt); }
.about-inner .section-head { max-width: 720px; }
.about-inner .lede { font-size: 18px; }

/* ===================== FAQ ===================== */
.faq-inner { max-width: 780px; margin: 0 auto; }
.faq-inner .section-head { max-width: none; }
.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 4px 26px;
}
.accordion-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary::after {
  content: '+';
  font-size: 22px;
  color: var(--accent);
  font-weight: 400;
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 16px;
}
.accordion-item[open] summary::after { transform: rotate(45deg); }
.accordion-item p { padding: 0 0 22px; color: var(--text-muted); font-size: 15px; line-height: 1.65; }

/* ===================== CLOSING CTA ===================== */
.closing-cta {
  background: var(--dark);
  text-align: center;
}
.closing-inner h2 { color: #F8F6F1; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.15; margin-bottom: 36px; }
.closing-ctas { justify-content: center; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--dark); border-top: 1px solid rgba(241, 236, 225, 0.1); padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.logo--footer { color: #F1ECE1; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { font-size: 14px; color: #A79E8E; }
.footer-nav a:hover { color: #F1ECE1; }
.footer-copy { font-size: 13px; color: #766E5F; }

/* ===================== REVEAL ANIMATION ===================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: 460px; margin-top: 20px; }
  .how-inner { grid-template-columns: 1fr; }
  .security-inner { grid-template-columns: 1fr; }
  .security-visual { order: -1; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .family-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .btn-nav { display: none; }
  .menu-toggle { display: flex; }
  .wrap { padding: 0 24px; }
  section { padding: 72px 0; }
  .hero { padding: 56px 0 40px; }
}

@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
  .hero-visual { height: 460px; }
  .phone { width: 172px; }
  .phone-screen { height: 400px; padding: 22px 9px 0; font-size: 11px; }
  .phone-front { left: 36%; top: 44%; }
  .phone-back { left: 68%; top: 50%; transform: translate(-50%, -50%) scale(0.86); }
  .prop-still { width: 120px; right: -2%; bottom: 2%; }
  .prop-bowl { width: 90px; height: 44px; left: -2%; }
  .closing-ctas { flex-direction: column; }
}
