:root {
  --bg: #fff;
  --text: #0f172a;
  --muted: #64748b;
  --line: rgb(15 23 42 / 8%);
  --accent: #6d5dfc;
  --accent-strong: #5142cf;
  --accent-soft: #f3f1ff;
  --glass: rgb(255 255 255 / 72%);
  --shadow: 0 20px 50px rgb(15 23 42 / 8%);
  --radius-lg: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--accent-strong); outline-offset: 4px; }
.container { width: min(1180px, 92%); margin: 0 auto; }

.site-nav { position: sticky; top: 0; z-index: 50; padding-top: 18px; }
.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 20px;
  border: 1px solid rgb(255 255 255 / 95%);
  border-radius: 22px;
  background: rgb(255 255 255 / 78%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.logo-link { display: inline-flex; flex: 0 0 auto; align-items: center; border-radius: 8px; }
.logo-link img { display: block; width: auto; height: 40px; }
.nav-links { display: flex; align-items: center; justify-content: flex-end; gap: 26px; font-size: .92rem; font-weight: 700; }
.section-link:hover { color: var(--accent-strong); }

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 800;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: #0f172a; color: #fff; box-shadow: 0 12px 28px rgb(15 23 42 / 16%); }
.btn-light { border-color: var(--line); background: rgb(255 255 255 / 75%); box-shadow: 0 8px 24px rgb(15 23 42 / 5%); backdrop-filter: blur(14px); }

.hero { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 56px; padding: 92px 0 60px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid #eceef2;
  border-radius: 999px;
  background: #f7f7fa;
  color: #475569;
  font-size: .82rem;
  font-weight: 700;
}
h1 {
  margin: 20px 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 6vw, 5.8rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .98;
}
.accent { color: var(--accent); font-style: italic; }
.hero-copy { max-width: 650px; color: var(--muted); font-size: 1.1rem; }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.micro-points { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 28px; color: #475569; font-size: .86rem; }
.micro-points span::before {
  content: "✓";
  display: inline-grid;
  width: 18px;
  height: 18px;
  margin-right: 7px;
  place-items: center;
  border-radius: 50%;
  background: #eef2ff;
  color: var(--accent-strong);
  font-weight: 900;
}

.visual { position: relative; min-width: 0; min-height: 520px; }
.glass-card { border: 1px solid rgb(255 255 255 / 95%); border-radius: var(--radius-lg); background: var(--glass); box-shadow: var(--shadow); backdrop-filter: blur(22px); }
.dashboard { position: absolute; inset: 20px 50px 40px 0; padding: 22px; }
.dashboard-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.dashboard-head strong, .sample-dashboard { display: block; }
.dashboard-head strong { font-size: 1rem; }
.sample-dashboard { margin-top: 1px; color: var(--muted); font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.period { flex: 0 0 auto; padding: 6px 10px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); font-size: .75rem; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stat { min-width: 0; padding: 14px; border: 1px solid rgb(15 23 42 / 5%); border-radius: 16px; background: rgb(255 255 255 / 78%); }
.stat small { display: block; color: var(--muted); font-size: .68rem; line-height: 1.35; }
.stat strong { display: block; margin-top: 4px; font-size: 1.25rem; }
.chart { margin-top: 16px; padding: 18px; border: 1px solid rgb(15 23 42 / 5%); border-radius: 18px; background: rgb(255 255 255 / 70%); }
.chart strong, .chart small { display: block; }
.chart strong { font-size: 1.8rem; }
.chart small { color: var(--muted); }
.chart svg { display: block; width: 100%; height: 170px; }

.phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 240px;
  overflow: hidden;
  border: 8px solid #101827;
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 24px 65px rgb(15 23 42 / 20%);
}
.phone-top { height: 24px; background: #101827; }
.chat-header { padding: 12px 14px; border-bottom: 1px solid #eef0f3; font-size: .78rem; font-weight: 800; }
.chat-body { min-height: 330px; padding: 13px; background: #f7f5f1; }
.bubble { max-width: 86%; margin-bottom: 10px; padding: 9px 10px; border-radius: 12px; font-size: .72rem; box-shadow: 0 3px 10px rgb(15 23 42 / 4%); }
.incoming { background: #fff; }
.outgoing { margin-left: auto; background: #d9fdd3; }
.product-row { width: 100%; margin: 8px 0 10px; }
.product-image { display: block; width: 100%; height: 95px; border-radius: 10px; object-fit: cover; object-position: center; }

main > section, footer { padding-block: 72px; }
.anchored-section { scroll-margin-top: 112px; }
.section-title { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.section-label { margin: 0 0 12px; color: var(--accent-strong); font-size: .75rem; font-weight: 800; letter-spacing: .14em; line-height: 1.3; text-transform: uppercase; }
.section-title h2, .who-card h2, .cta-copy h2 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.08;
}
.section-description, .cta-copy p { color: var(--muted); }
.section-title .section-description { margin: 0; }
.features-card, .steps, .who-card { border: 1px solid rgb(15 23 42 / 6%); border-radius: var(--radius-lg); background: rgb(255 255 255 / 74%); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.features-card { padding: 34px; }
.features { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.feature { min-width: 0; padding: 0 22px; text-align: center; }
.feature + .feature { border-left: 1px solid var(--line); }
.icon { display: grid; width: 52px; height: 52px; margin: 0 auto 14px; place-items: center; border: 1px solid rgb(15 23 42 / 5%); border-radius: 15px; background: rgb(247 248 251 / 92%); font-size: 1.35rem; }
.feature h3, .step h3 { margin: 0 0 8px; font-size: .98rem; line-height: 1.35; }
.feature p, .step p { margin: 0; color: var(--muted); font-size: .84rem; }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; padding: 30px; }
.step { min-width: 0; text-align: center; }
.step-num { display: grid; width: 42px; height: 42px; margin: 0 auto 12px; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent-strong); font-weight: 900; }
.who-section, .closing-section { padding-top: 36px; }
.who-card { padding: 42px; text-align: center; }
.who-card h2 { max-width: 800px; margin-inline: auto; }
.who-card .section-description { max-width: 760px; margin: 0 auto; }

.cta { display: grid; grid-template-columns: .95fr 1.05fr; overflow: hidden; border: 1px solid rgb(15 23 42 / 6%); border-radius: var(--radius-lg); background: linear-gradient(120deg, rgb(255 255 255 / 92%), rgb(248 248 252 / 75%)); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.cta-copy { padding: 42px; }
.cta-copy h2 { font-size: 2.5rem; }
.cta-actions { gap: 12px; margin-top: 22px; }
.photo {
  min-height: 300px;
  background-image: linear-gradient(90deg, rgb(255 255 255 / 95%) 0%, rgb(255 255 255 / 45%) 18%, rgb(255 255 255 / 0%) 40%), url("../marketing/unlost/boutique-owner.png");
  background-repeat: no-repeat;
  background-position: 65% center;
  background-size: cover;
}

footer { margin-top: 60px; border-top: 1px solid var(--line); padding-bottom: 50px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr .7fr; gap: 28px; }
.footer-logo img { height: 36px; }
.footer-grid h2 { margin: 0 0 12px; font-family: inherit; font-size: 1rem; }
.footer-grid a:not(.logo-link), .footer-grid p { display: block; margin: 6px 0; color: var(--muted); font-size: .88rem; }
.footer-grid a:not(.logo-link):hover { color: var(--accent-strong); }
.copyright { margin: 30px 0 0; color: #64748b; font-size: .82rem; }

.legal-main { padding-block: 64px 32px; }
.legal-heading { max-width: 800px; margin-bottom: 36px; }
.legal-heading h1 { margin: 12px 0 18px; font-size: clamp(2.7rem, 6vw, 4.5rem); }
.legal-heading p { color: var(--muted); }
.legal-document { max-width: 800px; }
.legal-document section { margin-block: 32px; }
.legal-document h2 { margin: 0 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 500; letter-spacing: -.02em; }
.legal-document p, .legal-document li { color: #475569; }
.legal-document ul { padding-left: 1.5rem; }
.legal-document li { margin-block: 8px; }
.legal-document a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 2px; }
.legal-todo { padding: 14px 18px; border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; background: var(--accent-soft); }

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .hero { grid-template-columns: 1fr; }
  .visual { min-height: 520px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 0; }
  .feature + .feature { border-left: 0; }
  .feature:nth-child(even) { border-left: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .legal-main { padding-block: 44px 16px; }
  .site-nav { padding-top: 10px; }
  .nav-shell { gap: 10px; padding: 10px 12px; }
  .logo-link img { height: 30px; }
  .nav-links { min-width: 0; gap: 8px; }
  .nav-links .section-link { display: none; }
  .nav-links .btn { min-height: 44px; padding: 0 12px; font-size: .78rem; line-height: 1.2; }
  .hero { gap: 38px; padding-top: 60px; }
  h1 { font-size: clamp(2.65rem, 13vw, 3.3rem); }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .visual { min-height: 650px; }
  .dashboard { inset: 10px 0 auto; padding: 16px; }
  .dashboard-head { margin-bottom: 12px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .stat { padding: 10px; }
  .chart { margin-top: 10px; padding: 14px; }
  .chart strong { font-size: 1.45rem; }
  .chart svg { height: 140px; }
  .phone { width: 180px; }
  .chat-body { min-height: 300px; padding: 10px; }
  main > section, footer { padding-block: 56px; }
  .features-card, .steps, .who-card, .cta-copy { padding: 26px; }
  .features, .steps { grid-template-columns: 1fr; }
  .feature { padding: 0; }
  .feature:nth-child(even) { border-left: 0; }
  .cta-copy h2 { font-size: 2.15rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 430px) {
  .container { width: min(100% - 24px, 1180px); }
  .eyebrow { border-radius: 18px; line-height: 1.35; }
  .hero-copy { font-size: 1rem; }
  .visual { min-height: 640px; }
  .dashboard-head { align-items: flex-start; }
  .period { padding-inline: 7px; }
  .phone { width: 174px; border-width: 7px; }
  .bubble { font-size: .68rem; }
  .features-card, .steps, .who-card, .cta-copy { padding: 22px; }
  .photo { min-height: 260px; }
}

@media (max-width: 370px) {
  .nav-shell { padding-inline: 10px; }
  .logo-link img { height: 27px; }
  .nav-links .btn { padding-inline: 10px; font-size: .74rem; }
  .phone { width: 168px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
