/* Property AI — warm editorial brand. Shared tokens + landing page.
   Mobile-first (360px base). Distinct from AgentOS green; follows the design brief. */

:root {
  /* surfaces */
  --bg:        #f5f0e8;   /* cream page */
  --bg-warm:   #efe7d9;   /* beige panels / chip rest */
  --surface:   #fbf8f2;   /* card / sheet (warm near-white) */
  --surface-2: #e8ddc9;   /* sunken / pressed */
  --ink-panel: #2b2420;   /* dark warm panel (the brief's dark callout) */

  /* ink */
  --ink:       #2b2420;   /* near-black warm brown */
  --ink-soft:  #5c5147;   /* secondary */
  --ink-faint: #8a7d6e;   /* captions / meta / eyebrows */
  --on-dark:   #f3ece0;   /* text on the dark panel */

  /* accents */
  --accent:        #9c6b3f;  /* tan/caramel */
  --accent-deep:   #7a4f2a;  /* hover / pressed */
  --accent-tint:   #d9c4a8;  /* chip border / soft fills */
  --hand:          #6b4a2e;  /* handwritten-note ink */

  /* lines + depth */
  --line:     #e0d4bf;
  --shadow-sm: 0 2px 10px rgba(80,55,30,.07);
  --shadow-md: 0 12px 36px rgba(80,55,30,.13);
  --shadow-lg: 0 24px 60px rgba(80,55,30,.18);
  --radius:   18px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  /* type */
  --serif: 'Fraunces', 'Playfair Display', Georgia, serif;
  --body:  'Inter', system-ui, -apple-system, sans-serif;
  --script:'Caveat', 'Patrick Hand', cursive;

  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-deep); text-decoration: none; }
.eyebrow {
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 600;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); line-height: 1.08; margin: 0; letter-spacing: -.01em; }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
section { padding: 64px 0; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px;
  background: rgba(245,240,232,.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 9px; font-family: var(--serif); font-size: 1.18rem; font-weight: 600; color: var(--ink); }
.brand .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(156,107,63,.16); }
.nav-cta { font-size: .92rem; font-weight: 600; color: var(--accent-deep); padding: 9px 16px; border-radius: var(--radius-pill); border: 1px solid var(--accent-tint); background: var(--surface); }
.nav-cta:hover { background: var(--bg-warm); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  font-family: var(--body); font-size: 1rem; font-weight: 600;
  padding: 15px 26px; border-radius: var(--radius-pill);
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  min-height: 52px;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--accent-tint); }
.btn-ghost:hover { background: var(--bg-warm); }

/* ---------- hero ---------- */
.hero { padding: 56px 0 40px; }
.hero .eyebrow { margin-bottom: 16px; }
.hero h1 { font-size: clamp(2.5rem, 9vw, 4.4rem); }
.hero h1 em { font-style: italic; color: var(--accent-deep); }
.hero .sub { font-size: clamp(1.08rem, 3.6vw, 1.32rem); color: var(--ink-soft); margin: 22px 0 30px; max-width: 30ch; }
.hero-cta { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.hero-note { font-family: var(--script); color: var(--hand); font-size: 1.18rem; }

/* the no-search "anti-feature" pill row */
.beats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.beat { font-size: .9rem; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 9px 16px; }
.beat s { color: var(--ink-faint); text-decoration-thickness: 1.5px; }

/* ---------- dark callout (brief's "the user never searches") ---------- */
.callout { background: var(--ink-panel); color: var(--on-dark); border-radius: var(--radius-lg); padding: 38px 30px; box-shadow: var(--shadow-md); }
.callout h2 { color: var(--on-dark); font-size: clamp(1.5rem, 5vw, 2.1rem); }
.callout h2 .hl { color: var(--accent-tint); font-style: italic; }
.callout p { color: #d9cdba; margin: 14px 0 0; }

/* ---------- how it works (3 surfaces) ---------- */
.how { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 30px; }
.how-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.how-card .n { font-family: var(--serif); font-size: 2rem; color: var(--accent); line-height: 1; }
.how-card h3 { font-size: 1.25rem; margin: 12px 0 8px; }
.how-card p { color: var(--ink-soft); margin: 0; font-size: .98rem; }
.how-card .tag { font-family: var(--script); color: var(--hand); font-size: 1.05rem; margin-top: 10px; display: block; }

/* ---------- trust ---------- */
.trust { margin-top: 24px; background: var(--bg-warm); border-radius: var(--radius-lg); padding: 34px 28px; border: 1px solid var(--line); }
.trust h2 { font-size: 1.5rem; margin-bottom: 10px; }
.trust p { color: var(--ink-soft); margin: 8px 0; }
.trust .fine { font-size: .86rem; color: var(--ink-faint); }

/* ---------- section heads ---------- */
.section-head { max-width: 30ch; margin-bottom: 8px; }
.section-head h2 { font-size: clamp(1.7rem, 5.4vw, 2.4rem); }
.section-head p { color: var(--ink-soft); margin-top: 10px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 30px; margin-top: 30px; }
.footer-grid { display: flex; flex-direction: column; gap: 24px; justify-content: space-between; }
.footer-brand .brand { font-size: 1.15rem; }
.footer-tag { font-family: var(--script); color: var(--hand); font-size: 1.2rem; margin: 8px 0 14px; }
.social { display: flex; gap: 14px; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-soft); transition: all .15s; }
.social a:hover { color: var(--accent-deep); border-color: var(--accent-tint); background: var(--bg-warm); transform: translateY(-1px); }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.footer-links a { color: var(--ink-soft); font-size: .95rem; font-weight: 500; }
.footer-links a:hover { color: var(--accent-deep); }
.footer-sep { height: 1px; background: var(--line); margin: 28px 0 18px; }
.footer-bottom { text-align: center; color: var(--ink-faint); font-size: .88rem; }

@media (min-width: 760px) {
  .footer-grid { flex-direction: row; align-items: flex-start; }
}

/* ---------- legal pages (terms / privacy) ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 40px 22px 60px; }
.legal h1 { font-size: clamp(2rem, 7vw, 2.8rem); text-align: center; margin-bottom: 8px; }
.legal .updated { text-align: center; color: var(--ink-faint); font-style: italic; margin-bottom: 36px; }
.legal h2 { font-size: 1.3rem; color: var(--accent-deep); margin: 34px 0 12px; padding-bottom: 7px; border-bottom: 1px solid var(--line); }
.legal h3 { font-size: 1.08rem; margin: 20px 0 8px; }
.legal p, .legal li { color: var(--ink-soft); line-height: 1.75; }
.legal ul { padding-left: 22px; margin: 12px 0; }
.legal li { margin-bottom: 7px; }
.legal a { color: var(--accent-deep); text-decoration: underline; }
.legal .callout { background: var(--bg-warm); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin: 18px 0; color: var(--ink); }
.legal .back { display: inline-block; margin-top: 36px; color: var(--ink-faint); }

/* ---------- desktop ---------- */
@media (min-width: 760px) {
  section { padding: 84px 0; }
  .hero { padding: 76px 0 56px; }
  .hero-cta { flex-direction: row; align-items: center; gap: 18px; }
  .how { grid-template-columns: repeat(3, 1fr); }
  .callout { padding: 52px 48px; }
}
