:root {
  --paper: #f6f4ef;
  --paper-2: #efece5;
  --ink: #111110;
  --ink-2: #5b5952;
  --ink-3: #8c8981;
  --line: #e2ded5;
  --accent: #f15a24;
  --slab: #151514;
  --bubble: #2a2a27;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; background: var(--paper); color: var(--ink); }
body { font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
@media (max-width: 600px) { .container { padding: 0 20px; } }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; font-size: 21px; letter-spacing: -0.03em; }
.mark { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: 16px; letter-spacing: 0; padding-bottom: 1px; }
.nav-cta { text-decoration: none; font-size: 15px; font-weight: 550; padding: 9px 16px; border-radius: 999px; background: var(--ink); color: var(--paper); transition: opacity .15s; }
.nav-cta:hover { opacity: .85; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px; height: 60px; padding: 0 28px; border-radius: 16px;
  background: var(--ink); color: var(--paper); text-decoration: none; font-size: 18px; font-weight: 600; letter-spacing: -0.01em;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(17, 17, 16, .55); }
.btn .num { font-weight: 450; opacity: .72; font-variant-numeric: tabular-nums; }
.btn[aria-disabled="true"] { pointer-events: none; }
.btn[aria-disabled="true"] .num { opacity: .6; }

/* Hero */
.hero { padding-top: 64px; padding-bottom: 104px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 24px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
h1 { margin: 0; font-weight: 620; font-size: clamp(37px, 6vw, 84px); line-height: .98; letter-spacing: -0.045em; text-wrap: balance; }
h1 em { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.1em; letter-spacing: -0.02em; line-height: 1; margin-top: .04em; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 72px; align-items: start; margin-top: 52px; }
.lede { margin: 0 0 32px; max-width: 440px; font-size: 19px; line-height: 1.5; color: var(--ink-2); }
.fine { margin: 16px 0 0; max-width: 420px; font-size: 12.5px; line-height: 1.55; color: var(--ink-3); }
.fine a { color: var(--ink-3); }

/* Example conversation */
.chat-wrap { position: relative; }
.chat {
  background: var(--slab); border-radius: 30px; padding: 30px 24px 28px; display: flex; flex-direction: column; gap: 8px;
  box-shadow: 0 40px 80px -40px rgba(17, 17, 16, .45);
}
.chat-head { display: flex; align-items: center; gap: 10px; padding: 0 4px 16px; margin-bottom: 6px; border-bottom: 1px solid #2a2a27; color: #f2f0ea; font-size: 15px; font-weight: 600; }
.chat-head .mark { width: 26px; height: 26px; font-size: 14px; }
.chat-head small { margin-left: auto; color: #7f7c74; font-weight: 450; font-size: 13px; }
.msg { max-width: 84%; padding: 11px 15px; border-radius: 20px; font-size: 15.5px; line-height: 1.4; }
.msg.bruno { align-self: flex-start; background: var(--bubble); color: #f2f0ea; border-bottom-left-radius: 6px; }
.msg.me { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 6px; }
.msg.listing strong { display: block; font-weight: 600; margin-bottom: 2px; }
.msg.listing .meta { color: #b9b6ad; }
.msg.listing .ok { display: block; margin: 6px 0; color: #e7e4dc; }
.chat-caption { margin: 14px 4px 0; font-size: 12.5px; color: var(--ink-3); }
@media (prefers-reduced-motion: no-preference) {
  .msg { animation: rise .5s cubic-bezier(.2, .7, .2, 1) var(--d, 0s) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* How it works */
.section-label { margin: 0 0 34px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.how { padding-top: 40px; margin-bottom: 96px; border-top: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.steps .n { display: block; font-family: var(--serif); font-style: italic; font-size: 34px; line-height: 1; color: var(--accent); margin-bottom: 18px; }
.steps h3 { margin: 0 0 8px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.steps p { margin: 0; color: var(--ink-2); font-size: 16.5px; max-width: 320px; }

/* Facts */
.facts { padding-bottom: 96px; }
.facts ul { list-style: none; margin: 0; padding: 22px 0; display: flex; flex-wrap: wrap; gap: 14px 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts li { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
.facts li::before { content: "—"; color: var(--accent); margin-right: 10px; }

/* Closing */
.closing { padding-bottom: 110px; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.closing h2 { text-wrap: balance; margin: 0; font-weight: 620; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -0.04em; max-width: 680px; }
.closing h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.015em; }

/* Agents */
.agents { padding: 28px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.agents p { margin: 0; color: var(--ink-2); font-size: 16px; }
.agents strong { color: var(--ink); font-weight: 600; }
.text-link { font-weight: 550; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }

/* Footer */
footer { border-top: 1px solid var(--line); margin-top: 0; }
.foot { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-top: 26px; padding-bottom: 34px; font-size: 13.5px; color: var(--ink-3); }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot a { color: var(--ink-3); text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* Sticky "Text Bruno" on phones */
.mobile-bar { display: none; }

@media (max-width: 920px) {
  .hero { padding-top: 32px; padding-bottom: 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; margin-top: 28px; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .closing { padding-bottom: 80px; }
  .nav-cta { display: none; }
  .mobile-bar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    transform: translateY(110%); transition: transform .25s ease;
    background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }
  .mobile-bar.show { transform: none; }
  .mobile-bar .btn { width: 100%; justify-content: center; }
  body.home { padding-bottom: 92px; }
}
@media (max-width: 600px) {
  .lede { font-size: 17.5px; }
  .btn { height: 56px; font-size: 17px; }
  .chat { padding: 22px 16px; border-radius: 26px; }
  .msg { font-size: 15px; }
}

/* Policy pages */
.doc { max-width: 720px; padding-top: 48px; padding-bottom: 96px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); }
.doc .updated { margin: 14px 0 40px; color: var(--ink-3); font-size: 14px; }
.doc h2 { margin: 40px 0 10px; font-size: 20px; font-weight: 600; letter-spacing: -0.015em; }
.doc p, .doc li { color: var(--ink-2); font-size: 16.5px; }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 6px; }
.doc b, .doc strong { color: var(--ink); font-weight: 600; }
.doc a { color: var(--ink); }
.callout { border-left: 2px solid var(--accent); padding: 4px 0 4px 18px; margin: 18px 0; }
.callout p { margin: 0; }
