/* Slotwise site: plum + honey palette from the logo; display = Bricolage Grotesque, body = Figtree (self-hosted) */
@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --bg: #f7f4f8;
  --bg-alt: #efe8f2;
  --surface: #ffffff;
  --ink: #261b2a;
  --muted: #6c5f71;
  --line: #e4dbe8;
  --accent: #7d3699;
  --accent-ink: #ffffff;
  --accent-soft: #f0e3f6;
  --honey: #f3c26b;
  --honey-soft: #fbedd2;
  --them: #efe9f2;
  --ok: #2f7d55;
  --display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --body: "Figtree", "Helvetica Neue", system-ui, sans-serif;
  --wrap: 1120px;
  --radius: 22px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161118; --bg-alt: #1e1722; --surface: #241c29; --ink: #f3edf5; --muted: #b6a8bb; --line: #3a2f40;
    --accent: #c587e0; --accent-ink: #1c1220; --accent-soft: #33243c; --honey: #f3c26b; --honey-soft: #3b2f1c;
    --them: #30263a; --ok: #6cc596;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
h1 { font-weight: 800; font-size: clamp(38px, 6vw, 64px); }
h2 { font-weight: 800; font-size: clamp(30px, 4.2vw, 44px); }
h3 { font-weight: 600; font-size: 21px; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--accent); }
.lead { font-size: 19px; color: var(--muted); max-width: 58ch; }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; border-radius: 6px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 22px; }
.brand img { width: 34px; height: 34px; border-radius: 50%; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--accent); }
@media (max-width: 760px) { .nav-links a.hide-sm { display: none; } .nav-links { gap: 14px; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; border-radius: 999px; padding: 13px 22px; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-honey { background: var(--honey); color: #3a2410; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* sections */
section { padding-block: clamp(64px, 9vw, 112px); }
.alt { background: var(--bg-alt); }
.section-head { display: grid; gap: 14px; max-width: 720px; margin-bottom: 44px; }

/* hero */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 100px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.hero-copy { display: grid; gap: 22px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 15px; }
.trust span::before { content: "✓ "; color: var(--ok); font-weight: 700; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }

/* phone + chat */
.phone { background: var(--surface); border: 1px solid var(--line); border-radius: 34px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(70, 20, 90, .45); max-width: 380px; width: 100%; margin-inline: auto; }
.phone .bar { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #f3c26b, #d98a3d); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px; flex: none; }
.phone .bar b { display: block; font-size: 15px; }
.phone .bar small { color: var(--muted); font-size: 12px; }
.chat { padding: 14px 12px 18px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; min-height: 440px; }
.msg { max-width: 82%; padding: 9px 13px; border-radius: 18px; line-height: 1.4; }
.msg.them { align-self: flex-end; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 6px; }
.msg.bot { align-self: flex-start; background: var(--them); border-bottom-left-radius: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; align-self: flex-start; margin: 2px 0 4px; }
.chip { border: 1.5px solid var(--accent); color: var(--accent); border-radius: 999px; padding: 4px 11px; font-size: 13px; font-weight: 600; }
.chip.picked { background: var(--accent); color: var(--accent-ink); }
.card-link { align-self: flex-start; max-width: 82%; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.card-link .top { background: var(--honey-soft); padding: 11px 13px; font-family: var(--display); font-weight: 600; }
.card-link .sub { padding: 7px 13px 9px; font-size: 13px; color: var(--muted); }
.time { align-self: center; font-size: 11.5px; color: var(--muted); margin: 10px 0 4px; }
.note { align-self: center; font-size: 12.5px; background: var(--honey-soft); border-radius: 10px; padding: 6px 11px; margin: 6px 0; text-align: center; max-width: 90%; }
.typing { align-self: flex-start; background: var(--them); border-radius: 18px; padding: 12px 14px; display: flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.pop { animation: pop .25s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.phone .controls { padding: 12px 16px 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .pop, .typing i { animation: none; } }

/* problem: the DMs they get */
.inbox { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.dm { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 14px; align-content: start; }
.dm .who { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.dm .dot { width: 30px; height: 30px; border-radius: 50%; background: var(--them); flex: none; }
.dm .bubble { background: var(--them); border-radius: 16px 16px 16px 6px; padding: 10px 14px; font-weight: 500; justify-self: start; }
.dm .stamp { font-size: 13px; color: var(--muted); }
.dm .cost { font-size: 15px; border-top: 1px dashed var(--line); padding-top: 12px; }
@media (max-width: 860px) { .inbox { grid-template-columns: minmax(0, 1fr); } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 10px; align-content: start; }
.step::before { counter-increment: step; content: counter(step); width: 46px; height: 46px; border-radius: 50%; background: var(--honey); color: #3a2410; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 22px; margin-bottom: 6px; }
.step p { color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* features */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 48px; }
.feature { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
.feature .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.feature .ic svg { width: 22px; height: 22px; }
.feature p { color: var(--muted); margin-top: 4px; }
@media (max-width: 760px) { .features { grid-template-columns: minmax(0, 1fr); } }

/* who */
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-weight: 600; }
.tag.soon { color: var(--muted); border-style: dashed; font-weight: 500; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 860px; }
.plan { background: var(--surface); border: 1.5px solid var(--line); border-radius: 26px; padding: 30px; display: grid; gap: 18px; align-content: start; }
.plan.main { border-color: var(--accent); }
.plan .name { font-family: var(--display); font-weight: 600; font-size: 20px; }
.plan .amt { font-family: var(--display); font-weight: 800; font-size: 52px; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .amt small { font-size: 17px; font-weight: 600; color: var(--muted); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; }
.plan li::before { content: "✓"; color: var(--ok); font-weight: 800; }
.badge { justify-self: start; background: var(--honey); color: #3a2410; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 4px 10px; }
.offer { margin-top: 24px; max-width: 860px; background: var(--honey-soft); border-radius: 18px; padding: 18px 22px; }
@media (max-width: 760px) { .plans { grid-template-columns: minmax(0, 1fr); } }

/* faq */
.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 24px; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: 10px; max-width: 64ch; }

/* about + cta */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.about p + p { margin-top: 14px; }
.about .muted { color: var(--muted); }
@media (max-width: 860px) { .about { grid-template-columns: minmax(0, 1fr); } }
.cta-band { background: var(--accent); color: var(--accent-ink); border-radius: 32px; padding: clamp(36px, 6vw, 64px); display: grid; gap: 18px; justify-items: start; }
.cta-band p { opacity: .9; max-width: 56ch; font-size: 18px; }
.cta-band .btn-honey { margin-top: 6px; }

/* footer */
footer { padding-block: 44px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--accent); }

/* legal pages */
.legal { max-width: 760px; padding-block: 48px 90px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 10px; }
.legal h2 { font-size: 24px; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--ink); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; display: grid; gap: 6px; }
.legal .updated { color: var(--muted); }

/* demo page */
.demo-page .wrap { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 56px; align-items: start; }
.demo-page .side { display: grid; gap: 22px; }
.demo-page ol { padding-left: 22px; display: grid; gap: 8px; margin: 0; }
@media (max-width: 860px) { .demo-page .wrap { grid-template-columns: minmax(0, 1fr); } }
