:root {
  --ink: #10201c;
  --ink-2: #1c302a;
  --muted: #68746f;
  --line: #dce2dd;
  --paper: #f5f6f1;
  --white: #fff;
  --lime: #c9f23d;
  --lime-dark: #97bd16;
  --mint: #e7f7c8;
  --gold: #f0c675;
  --danger: #b7463c;
  --shadow: 0 18px 50px rgba(16, 32, 28, .09);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, .button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(151, 189, 22, .4); outline-offset: 2px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; letter-spacing: -.6px; }
/* One transparent lockup (glyph + wordmark) — see scripts/build-brand-lockup.py.
   The wordmark lives in the artwork, so no text twin sits beside it. */
.brand-logo { display: block; width: auto; height: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 42px; padding: 0 18px; border: 1px solid transparent; border-radius: 9px; font-size: 13px; font-weight: 750; transition: transform .18s, background .18s, border-color .18s; }
.button:hover { transform: translateY(-1px); }
.button.dark { color: white; background: var(--ink); }
.button.dark:hover { background: #1c342d; }
.button.lime { color: var(--ink); background: var(--lime); box-shadow: 0 8px 25px rgba(201, 242, 61, .2); }
.button.lime:hover { background: #d5f769; }
.button.ghost { background: transparent; border-color: #cdd5d0; }
.button.line { color: white; background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.24); }
.button.soft { background: #edf0eb; border-color: #e0e5df; }
.button.large { min-height: 50px; padding: 0 23px; font-size: 14px; }
.button.full { width: 100%; }
.text-button { padding: 0; color: var(--muted); background: none; border: 0; font-size: 12px; font-weight: 700; }
.text-button:hover { color: var(--ink); }
.text-link { color: var(--lime); font-size: 13px; font-weight: 750; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #c6d4cf; font-size: 10px; font-weight: 850; letter-spacing: 2px; text-transform: uppercase; }
.eyebrow i { width: 6px; height: 6px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 0 5px rgba(201,242,61,.1); }
.eyebrow.dark { color: #728079; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 3px 14px rgba(16,32,28,.03); }

/* Public site */
.public-nav { position: absolute; z-index: 10; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; width: min(1180px, calc(100% - 48px)); height: 84px; margin: auto; color: white; }
.public-nav nav { display: flex; gap: 34px; font-size: 13px; color: #becbc7; }
.public-nav nav a:hover { color: white; }
.public-actions { display: flex; align-items: center; gap: 22px; font-size: 13px; }
.public-actions .button { color: var(--ink); background: white; }
.hero { position: relative; display: grid; grid-template-columns: .95fr 1.05fr; min-height: 720px; padding: 168px max(24px, calc((100vw - 1180px)/2)) 90px; overflow: hidden; color: white; background: var(--ink); }
.hero::after { position: absolute; right: -150px; bottom: -330px; width: 860px; height: 860px; content: ""; border: 1px solid rgba(201,242,61,.09); border-radius: 50%; box-shadow: 0 0 0 110px rgba(201,242,61,.025), 0 0 0 220px rgba(201,242,61,.02); }
.hero-glow { position: absolute; top: -280px; left: 35%; width: 650px; height: 650px; background: radial-gradient(circle, rgba(130,177,53,.15), transparent 68%); }
.hero-copy { position: relative; z-index: 2; max-width: 600px; padding-top: 24px; }
.hero h1 { margin: 24px 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(52px, 6vw, 79px); font-weight: 400; line-height: .98; letter-spacing: -4px; }
.hero h1 span { color: var(--lime); font-style: italic; }
.hero-copy > p { max-width: 570px; margin: 0 0 32px; color: #afbfba; font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 12px; }
.hero-actions form { margin: 0; }
.trust-row { display: flex; gap: 28px; margin-top: 36px; color: #9caaa5; font-size: 11px; }
.trust-row span::before { margin-right: 8px; color: var(--lime); content: "✓"; }
.hero-product { position: relative; z-index: 2; display: flex; align-items: center; justify-content: flex-end; padding-left: 50px; perspective: 1200px; }
.product-window { width: 640px; padding: 0 17px 17px; color: var(--ink); background: #f7f8f4; border: 1px solid rgba(255,255,255,.15); border-radius: 14px; box-shadow: 0 35px 80px rgba(0,0,0,.38); transform: rotateY(-5deg) rotateX(1deg); }
.window-top { display: flex; align-items: center; gap: 6px; height: 42px; }
.window-top > span { width: 7px; height: 7px; background: #d2d6d2; border-radius: 50%; }
.window-top em { margin-left: auto; color: #87918e; font-size: 8px; font-style: normal; font-weight: 800; letter-spacing: 1.5px; }
.preview-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 9px; }
.preview-stats div { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 3px 12px; padding: 17px; background: white; border: 1px solid #e3e6e1; border-radius: 10px; }
.preview-stats small { grid-column: 1 / 3; color: #89928f; font-size: 8px; font-weight: 800; letter-spacing: 1px; }
.preview-stats strong { font-family: Georgia, serif; font-size: 28px; font-weight: 500; }
.preview-stats span { padding-bottom: 4px; color: #7b8682; font-size: 9px; }
.preview-row { display: grid; grid-template-columns: 74px minmax(190px, 1fr) 95px 45px; align-items: center; gap: 12px; padding: 11px; background: white; border: 1px solid #e3e6e1; border-top: 0; }
.preview-row.featured { border-top: 1px solid #e3e6e1; border-radius: 10px 10px 0 0; }
.preview-row > div:nth-child(2) { display: flex; align-items: flex-start; flex-direction: column; gap: 3px; min-width: 0; }
.preview-row > div:nth-child(2) strong { width: 100%; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.preview-row > div:nth-child(2) small { color: #89928f; font-size: 8px; }
.source-tag { display: inline-flex; width: fit-content; padding: 3px 6px; color: #466018; background: #edf8d7; border-radius: 3px; font-size: 7px; font-weight: 900; letter-spacing: .7px; }
.source-tag.gold { color: #74541d; background: #fff2d8; }
.property-thumb { position: relative; display: grid; place-items: end start; width: 100%; min-width: 70px; height: 58px; padding: 5px; overflow: hidden; background-color: #d4ddd7; border-radius: 7px; }
.property-thumb::before, .property-visual::before { position: absolute; inset: 0; content: ""; opacity: .94; }
.house-one::before { background: linear-gradient(145deg, transparent 0 34%, rgba(27,50,42,.2) 35% 37%, transparent 38%), linear-gradient(155deg,#a7b7ad 47%,#6c8175 48% 62%,#385448 63%); }
.house-two::before { background: linear-gradient(35deg, transparent 0 38%, rgba(255,255,255,.25) 39% 42%, transparent 43%), linear-gradient(155deg,#b7a986 46%,#897557 47% 64%,#4b5545 65%); }
.house-three::before { background: linear-gradient(165deg, transparent 0 42%, rgba(34,53,47,.15) 43% 46%, transparent 47%), linear-gradient(150deg,#aab1b3 44%,#747e80 45% 65%,#3f514c 66%); }
.property-thumb b { position: relative; z-index: 1; padding: 2px 4px; color: white; background: rgba(16,32,28,.72); border-radius: 2px; font-size: 6px; letter-spacing: .8px; }
.preview-price { display: flex; flex-direction: column; align-items: flex-end; }
.preview-price small { color: #89928f; font-size: 7px; font-weight: 800; letter-spacing: .7px; }
.preview-price strong { font-family: Georgia, serif; font-size: 17px; }
.preview-price em { color: #70871e; font-size: 8px; font-style: normal; }
.score { display: grid; place-items: center; width: 41px; height: 41px; color: #4e6810; background: #eef8d7; border: 1px solid #c9df8f; border-radius: 50%; font-family: Georgia, serif; font-size: 16px; font-weight: 700; }
.score.mid { color: #8d661b; background: #fff4dc; border-color: #edd39c; }
.score.low { color: #7f5550; background: #f8e8e6; border-color: #e9c4bf; }
.monitor-ribbon { display: flex; align-items: center; gap: 9px; margin-top: 9px; padding: 11px 13px; color: #69746f; background: #edf0eb; border-radius: 8px; font-size: 8px; }
.monitor-ribbon i { width: 6px; height: 6px; background: #79a31e; border-radius: 50%; }
.monitor-ribbon span:nth-child(2) { flex: 1; }
.monitor-ribbon strong { color: var(--ink); }
.logo-strip { padding: 38px 24px 42px; text-align: center; background: white; border-bottom: 1px solid var(--line); }
.logo-strip p { margin: 0 0 24px; color: #9aa39f; font-size: 9px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }
.logo-strip div { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: clamp(28px,5vw,68px); color: #67736e; font-family: Georgia, serif; font-size: 13px; font-weight: 700; }
.section { padding: 110px max(24px, calc((100vw - 1180px)/2)); }
.section-heading { max-width: 570px; }
.section-heading h2, .proof-section h2, .pricing-section h2 { margin: 17px 0 20px; font-family: Georgia, serif; font-size: 48px; font-weight: 400; line-height: 1.08; letter-spacing: -2px; }
.section-heading p, .proof-section > div > p { color: var(--muted); font-size: 15px; line-height: 1.75; }
.value-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; background: var(--paper); }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feature-grid article { position: relative; min-height: 245px; padding: 30px; background: white; border: 1px solid var(--line); border-radius: 13px; }
.feature-grid article:last-child { grid-column: 1 / 3; min-height: 210px; }
.feature-number { position: absolute; top: 22px; right: 24px; color: #b1bab5; font-family: Georgia, serif; font-size: 13px; }
.feature-icon { display: grid; place-items: center; width: 41px; height: 41px; margin-bottom: 30px; background: var(--mint); border-radius: 10px; font-size: 18px; }
.feature-grid h3 { margin: 0 0 11px; font-family: Georgia, serif; font-size: 22px; font-weight: 500; }
.feature-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.proof-section { display: grid; grid-template-columns: 1fr 440px; gap: 120px; align-items: center; padding: 105px max(24px, calc((100vw - 1180px)/2)); color: white; background: var(--ink); }
.proof-section h2 span { color: var(--lime); font-style: italic; }
.proof-section > div > p { color: #aab9b4; }
.signal-card { padding: 28px; color: var(--ink); background: #f7f8f4; border-radius: 14px; box-shadow: var(--shadow); }
.signal-head, .signal-line { display: flex; align-items: center; justify-content: space-between; }
.signal-head { margin-bottom: 25px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.signal-head span { color: #7c8783; font-size: 9px; font-weight: 850; letter-spacing: 1.5px; }
.signal-head strong { font-family: Georgia, serif; font-size: 42px; }
.signal-head small { color: #82908a; font-size: 13px; }
.signal-line { margin: 17px 0 8px; font-size: 12px; }
.signal-bar { height: 7px; overflow: hidden; background: #e3e7e1; border-radius: 9px; }
.signal-bar i { display: block; height: 100%; background: var(--lime-dark); border-radius: 9px; }
.signal-bar.muted i { background: #a6b2ad; }
.w-87 { width: 87%; }.w-62 { width: 62%; }
.signal-callout { display: flex; gap: 12px; margin-top: 25px; padding: 15px; background: #fff1de; border-radius: 8px; }
.signal-callout > span { display: grid; place-items: center; width: 23px; height: 23px; color: white; background: #d99939; border-radius: 50%; font-weight: 800; }
.signal-callout p { margin: 0; color: #8a714d; font-size: 9px; line-height: 1.5; }
.signal-callout strong { display: block; color: #6d542f; font-size: 10px; }
.pricing-section { padding: 110px max(24px, calc((100vw - 1180px)/2)); background: white; }
.section-heading.center { max-width: 680px; margin: auto; text-align: center; }
.pricing-card { display: grid; grid-template-columns: 1fr 1.2fr .8fr; align-items: center; gap: 50px; max-width: 1000px; margin: 55px auto 0; padding: 38px 42px; color: white; background: var(--ink); border-radius: 16px; }
.plan-label { display: inline-flex; padding: 5px 8px; color: #526413; background: var(--lime); border-radius: 4px; font-size: 9px; font-weight: 900; letter-spacing: 1px; }
.pricing-card h3 { margin: 15px 0 5px; font-family: Georgia, serif; font-size: 46px; font-weight: 400; }
.pricing-card h3 sup { font-size: 20px; }
.pricing-card h3 small { color: #aebbb6; font-family: Inter, sans-serif; font-size: 12px; font-weight: 500; }
.pricing-card p { color: #aebbb6; font-size: 11px; line-height: 1.6; }
.pricing-card ul, .membership-card ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.pricing-card li { color: #c4cfcb; font-size: 11px; }
.pricing-card li::before, .membership-card li::before { margin-right: 10px; color: var(--lime); content: "✓"; }
.public-footer { display: grid; grid-template-columns: 220px 1fr auto; gap: 30px; align-items: center; padding: 55px max(24px, calc((100vw - 1180px)/2)); color: #9fada8; background: #0b1714; }
.public-footer p { max-width: 500px; margin: 0; font-size: 11px; line-height: 1.6; }
.public-footer nav { display: flex; gap: 20px; font-size: 11px; }
.public-footer small { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.07); font-size: 9px; }

/* Authentication */
.auth-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; background: var(--ink); }
.auth-story { display: flex; align-items: flex-start; justify-content: center; flex-direction: column; max-width: 580px; margin-left: auto; padding: 100px 75px 100px 30px; color: white; }
.auth-story h1 { margin: 25px 0; font-family: Georgia, serif; font-size: 58px; font-weight: 400; line-height: 1.04; letter-spacing: -2.5px; }
.auth-story > p { color: #aab9b4; font-size: 15px; line-height: 1.7; }
.auth-quote { display: flex; gap: 18px; margin-top: 65px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); }
.auth-quote span { color: var(--lime); font-family: Georgia, serif; font-size: 40px; }
.auth-quote p { margin: 0; color: #afbbb7; font-family: Georgia, serif; font-size: 16px; font-style: italic; line-height: 1.5; }
.auth-panel { padding: 35px 9vw 70px; background: white; }
.auth-card { max-width: 430px; margin: 110px auto 0; }
.auth-card h2 { margin: 14px 0 8px; font-family: Georgia, serif; font-size: 38px; font-weight: 400; letter-spacing: -1px; }
.auth-card > p { color: var(--muted); font-size: 13px; }
.form-stack { display: flex; flex-direction: column; gap: 17px; margin-top: 28px; }
.form-stack label, .calculator label { position: relative; display: flex; flex-direction: column; gap: 8px; color: #4c5a55; font-size: 11px; font-weight: 750; }
.form-stack input, .calculator input { width: 100%; height: 48px; padding: 0 13px; color: var(--ink); background: #fafbf9; border: 1px solid #d9dfda; border-radius: 8px; }
.form-stack input:focus, .calculator input:focus { background: white; border-color: #91ad31; outline: 3px solid rgba(151,189,22,.13); }
.form-stack > small { margin-top: -10px; color: #909995; font-size: 9px; }
.or { display: flex; align-items: center; gap: 10px; margin: 23px 0; color: #9ba49f; font-size: 10px; }
.or::before, .or::after { flex: 1; height: 1px; background: var(--line); content: ""; }
.auth-switch { margin-top: 25px!important; text-align: center; }
.auth-switch a { color: #597710; font-weight: 750; }
.auth-card > p strong { color: var(--ink); }
.code-input { height: 58px!important; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 25px; font-weight: 800; letter-spacing: 9px; text-align: center; }
.demo-code { display: flex; align-items: center; flex-direction: column; gap: 5px; margin: 20px 0; padding: 16px; color: #71531d; background: #fff4db; border: 1px solid #ead29f; border-radius: 9px; }
.demo-code span { font-size: 8px; font-weight: 850; letter-spacing: 1px; }
.demo-code strong { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 23px; letter-spacing: 7px; }
.demo-code small { color: #8b744b; font-size: 8px; }
.resend-form { margin-top: 20px; text-align: center; }
.resend-form .text-button { color: #5f7916; }
.sso-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.sso-button { display: flex; align-items: center; justify-content: center; gap: 7px; height: 42px; color: #33433d; background: white; border: 1px solid #d9dfda; border-radius: 8px; font-size: 10px; font-weight: 750; }
.sso-button span { display: grid; place-items: center; width: 19px; height: 19px; background: #f0f2ef; border-radius: 50%; font-family: Georgia, serif; font-weight: 800; }
.sso-button:disabled { color: #9ba49f; background: #f6f7f4; cursor: not-allowed; }
.passkey-login { margin-top: 10px; }
.auth-privacy { margin-top: 20px!important; text-align: center; font-size: 8px!important; }
.auth-privacy a { color: #5f7916; text-decoration: underline; }
.alert { max-width: 850px; margin: 15px 0; padding: 14px 16px; color: #665b43; background: #fff5dc; border: 1px solid #ecd9a9; border-radius: 9px; font-size: 12px; }
.alert.error { color: #843c34; background: #fff0ee; border-color: #edc6c1; }
.alert.success { color: #3d621d; background: #eef9de; border-color: #cfe7ab; }

/* Application shell */
.app-shell { display: grid; grid-template-columns: 230px minmax(0,1fr); min-height: 100vh; background: #f3f5f0; }
.sidebar { position: sticky; z-index: 20; top: 0; display: flex; flex-direction: column; height: 100vh; padding: 25px 17px 20px; color: #c6d2cd; background: var(--ink); }
.brand-sidebar { margin: 0 11px 37px; color: white; }
.side-nav { display: flex; flex-direction: column; gap: 4px; }
.side-nav a { display: flex; align-items: center; gap: 13px; padding: 12px 13px; color: #a9b8b3; border-radius: 8px; font-size: 12px; font-weight: 650; }
.side-nav a > span { display: grid; place-items: center; width: 17px; color: #7e908a; font-size: 16px; }
.side-nav a:hover { color: white; background: rgba(255,255,255,.045); }
.side-nav a.active { color: var(--ink); background: var(--lime); }
.side-nav a.active > span { color: var(--ink); }
.side-section-label { margin: 31px 13px 10px; color: #61736d; font-size: 8px; font-weight: 850; letter-spacing: 1.6px; text-transform: uppercase; }
.sidebar-foot { margin-top: auto; padding: 17px 8px 0; border-top: 1px solid rgba(255,255,255,.08); }
.mini-profile { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; color: var(--ink); background: #dfe8db; border-radius: 50%; font-family: Georgia, serif; font-weight: 700; }
.mini-profile > span:last-child { display: flex; min-width: 0; flex-direction: column; }
.mini-profile strong { overflow: hidden; color: white; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.mini-profile small { margin-top: 2px; color: #798b85; font-size: 8px; }
.sidebar-foot .text-button { color: #73847e; }
.app-main { min-width: 0; }
.app-topbar { position: sticky; z-index: 15; top: 0; display: flex; align-items: center; justify-content: space-between; height: 66px; padding: 0 30px; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.mobile-menu { display: none; background: none; border: 0; font-size: 20px; }
.top-search { display: flex; align-items: center; gap: 10px; width: min(440px, 48vw); padding: 9px 12px; color: #8b9691; background: #f3f5f1; border: 1px solid #e2e6e1; border-radius: 8px; font-size: 11px; }
.top-search a { flex: 1; }
.top-search kbd { padding: 2px 5px; color: #8a9590; background: white; border: 1px solid #dce1dc; border-radius: 4px; font-size: 8px; }
.top-actions { display: flex; align-items: center; gap: 14px; }
.live-pill { display: flex; align-items: center; gap: 6px; color: #668217; font-size: 9px; font-weight: 750; }
.live-pill i { width: 6px; height: 6px; background: #8eb321; border-radius: 50%; box-shadow: 0 0 0 4px #eef6dc; }
.icon-button { position: relative; width: 34px; height: 34px; background: white; border: 1px solid #dfe4df; border-radius: 8px; }
.icon-button b { position: absolute; top: 7px; right: 7px; width: 5px; height: 5px; background: #a2c525; border: 1px solid white; border-radius: 50%; }
.page-content { width: min(1440px, 100%); margin: 0 auto; padding: 35px 34px 70px; }
.page-heading { margin-bottom: 28px; }
.page-heading h1 { margin: 9px 0 4px; font-family: Georgia, serif; font-size: 36px; font-weight: 400; letter-spacing: -1.3px; }
.page-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.page-heading.compact h1 { font-size: 34px; }
.split-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.heading-actions { display: flex; align-items: center; gap: 14px; }
.last-refresh { color: #89948f; font-size: 9px; }
.upgrade-banner, .demo-banner { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 18px; padding: 14px 16px; background: #eaf8c9; border: 1px solid #cce697; border-radius: 10px; }
.upgrade-banner div { display: flex; flex-direction: column; gap: 3px; }
.upgrade-banner strong { font-family: Georgia, serif; font-size: 15px; }
.upgrade-banner span, .demo-banner span { color: #627047; font-size: 10px; }
.demo-banner { justify-content: flex-start; padding: 10px 14px; color: #70531d; background: #fff5df; border-color: #edd7aa; }
.demo-banner strong { font-size: 10px; text-transform: uppercase; letter-spacing: .8px; }
.demo-banner span { color: #8c7141; }
.metric-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 13px; margin-bottom: 18px; }
.metric-grid article { position: relative; padding: 21px; background: white; border: 1px solid var(--line); border-radius: 12px; }
.metric-grid article > div { display: flex; flex-direction: column; }
.metric-grid span { color: #78847f; font-size: 9px; font-weight: 700; }
.metric-grid strong { margin: 8px 0 13px; font-family: Georgia, serif; font-size: 33px; font-weight: 400; }
.metric-grid strong i { color: #a2aca7; font-size: 14px; font-style: normal; }
.metric-grid small { display: block; padding-top: 12px; color: #909995; border-top: 1px solid #edf0ec; font-size: 8px; }
.metric-grid small b { color: #6f881c; }
.metric-icon { position: absolute; top: 20px; right: 19px; display: grid; place-items: center; width: 34px; height: 34px; color: #6e851e; background: #f0f7df; border-radius: 8px; font-style: normal; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0,2fr) minmax(250px,.72fr); gap: 18px; margin-bottom: 18px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 23px 17px; }
.panel-head h2 { margin: 5px 0 0; font-family: Georgia, serif; font-size: 20px; font-weight: 500; }
.panel-head > a { color: #668018; font-size: 10px; font-weight: 750; }
.deal-list { border-top: 1px solid #edf0ec; }
.deal-row { display: grid; grid-template-columns: 77px minmax(180px,1fr) 110px 125px 43px; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid #edf0ec; }
.deal-row:last-child { border-bottom: 0; }
.deal-row:hover { background: #fafbf8; }
.deal-main { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 4px; }
.deal-main strong { width: 100%; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.deal-main small { color: #8b9691; font-size: 8px; }
.deal-stat, .cell-stat { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.deal-stat small, .cell-stat small { color: #929c98; font-size: 7px; font-weight: 800; letter-spacing: .6px; }
.deal-stat strong, .cell-stat strong { font-family: Georgia, serif; font-size: 14px; font-weight: 600; }
.deal-stat em, .cell-stat em { color: #76851f; font-size: 8px; font-style: normal; }
.deal-stat .date-value, .cell-stat .date-value { font-family: Inter, sans-serif; font-size: 9px; }
.deadline-panel { padding-bottom: 18px; }
.timeline { padding: 0 22px 20px; }
.timeline a { position: relative; display: flex; gap: 12px; min-height: 66px; }
.timeline a:not(:last-child)::after { position: absolute; top: 25px; bottom: 1px; left: 11px; width: 1px; content: ""; background: #dfe5de; }
.timeline a > span { z-index: 1; display: grid; place-items: center; width: 23px; height: 23px; color: #607917; background: #eef7d8; border-radius: 50%; font-size: 8px; }
.timeline a > div { display: flex; min-width: 0; flex-direction: column; gap: 5px; }
.timeline strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.timeline small { color: #87928d; font-size: 8px; }
.deadline-panel > .button { width: calc(100% - 44px); margin: 0 22px; }
.source-strip-panel { padding-bottom: 20px; }
.source-health-row { display: grid; grid-template-columns: repeat(6,1fr); padding: 0 22px; }
.source-health-row > div { display: flex; align-items: center; gap: 9px; padding: 11px; border-right: 1px solid #edf0ec; }
.source-health-row > div:last-child { border: 0; }
.source-health-row span { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.source-health-row strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.source-health-row small { color: #909a96; font-size: 7px; }
.health-dot { display: block; flex: 0 0 auto; width: 7px; height: 7px; background: #aab3af; border-radius: 50%; }
.health-dot.healthy { background: #88ad1d; box-shadow: 0 0 0 3px #eff6dd; }
.health-dot.degraded { background: #d57b47; box-shadow: 0 0 0 3px #fff0e7; }

/* Feed */
.filter-bar { display: grid; grid-template-columns: minmax(210px,1.7fr) repeat(4,minmax(120px,.75fr)) auto; gap: 9px; align-items: end; margin: 20px 0; padding: 13px; background: white; border: 1px solid var(--line); border-radius: 12px; }
.filter-bar label { display: flex; flex-direction: column; gap: 5px; }
.filter-bar label > span { color: #7d8984; font-size: 8px; font-weight: 750; }
.filter-bar select, .filter-bar input { width: 100%; height: 37px; padding: 0 10px; color: #43514c; background: #f8f9f6; border: 1px solid #e0e4df; border-radius: 7px; font-size: 10px; }
.filter-bar .search-field { position: relative; }
.filter-bar .search-field > span { position: absolute; z-index: 2; bottom: 11px; left: 11px; color: #83908a; font-size: 14px; }
.filter-bar .search-field input { padding-left: 31px; }
.results-meta { display: flex; align-items: center; justify-content: space-between; margin: 22px 2px 10px; }
.results-meta strong { font-size: 11px; }
.results-meta span { color: #8a9590; font-size: 9px; }
.deal-table { overflow: hidden; }
.deal-table-head, .deal-table-row { display: grid; grid-template-columns: minmax(255px,2fr) .72fr .76fr .76fr .82fr 48px 30px; align-items: center; gap: 12px; }
.deal-table-head { padding: 12px 16px; color: #8a9691; background: #fafbf8; border-bottom: 1px solid var(--line); font-size: 7px; font-weight: 850; letter-spacing: .65px; }
.deal-table-row { min-height: 86px; padding: 12px 16px; border-bottom: 1px solid #edf0ec; }
.deal-table-row:last-child { border-bottom: 0; }
.deal-table-row:hover { background: #fcfdfb; }
.deal-property { display: grid; grid-template-columns: 84px minmax(0,1fr); align-items: center; gap: 12px; }
.deal-property > div:last-child { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 4px; }
.deal-property strong { width: 100%; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.deal-property small { color: #87928e; font-size: 8px; }
.save-button { color: #798782; background: none; border: 0; font-size: 20px; }
.save-button.saved { color: #789719; }
.preview-locked .gated { filter: blur(3px); user-select: none; }
.empty-state { padding: 50px; text-align: center; }
.empty-state strong { font-family: Georgia, serif; font-size: 20px; }
.empty-state p { color: var(--muted); font-size: 11px; }

/* Deal detail */
.breadcrumbs { display: flex; gap: 8px; margin-bottom: 20px; color: #83908a; font-size: 9px; }
.breadcrumbs a { color: #607c14; }
.deal-hero { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 22px; }
.deal-hero-main { display: flex; align-items: center; gap: 20px; }
.property-visual { position: relative; display: flex; align-items: flex-start; justify-content: space-between; flex-direction: column; width: 150px; height: 105px; padding: 12px; overflow: hidden; color: white; border-radius: 12px; }
.property-visual span, .property-visual b { position: relative; z-index: 1; padding: 3px 6px; background: rgba(16,32,28,.65); border-radius: 3px; font-size: 7px; letter-spacing: .7px; }
.deal-identity > div { display: flex; gap: 8px; }
.instrument-badge { padding: 3px 6px; color: #5f6d67; background: #e9ede9; border-radius: 3px; font-size: 7px; font-weight: 850; letter-spacing: .7px; text-transform: uppercase; }
.instrument-badge.tax_lien { color: #8a5a18; background: #fff0d2; }
.deal-identity h1 { margin: 10px 0 5px; font-family: Georgia, serif; font-size: 30px; font-weight: 400; }
.deal-identity p { margin: 0 0 5px; color: #63706b; font-size: 11px; }
.deal-identity > small { color: #929c98; font-size: 8px; }
.deal-hero-actions { display: flex; gap: 8px; }
.critical-notice { display: flex; gap: 13px; margin-bottom: 18px; padding: 16px 18px; color: #77501c; background: #fff3dc; border: 1px solid #ead1a2; border-radius: 10px; }
.critical-notice > span { display: grid; place-items: center; flex: 0 0 auto; width: 24px; height: 24px; color: white; background: #d79534; border-radius: 50%; font-weight: 850; }
.critical-notice strong { font-size: 11px; }
.critical-notice p { margin: 3px 0 0; color: #8b7049; font-size: 9px; line-height: 1.5; }
.critical-notice.neutral { color: #415e23; background: #edf8df; border-color: #d1e6b4; }
.critical-notice.neutral > span { background: #7da02b; }
.critical-notice.neutral p { color: #60734e; }
.detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 18px; align-items: start; }
.detail-main { display: flex; min-width: 0; flex-direction: column; gap: 18px; }
.detail-aside { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 18px; }
.detail-metrics { display: grid; grid-template-columns: repeat(4,1fr); padding: 22px 0; }
.detail-metrics > div { display: flex; align-items: center; flex-direction: column; gap: 5px; padding: 0 20px; text-align: center; border-right: 1px solid #edf0ec; }
.detail-metrics > div:last-child { border: 0; }
.detail-metrics small { color: #8d9893; font-size: 7px; font-weight: 850; letter-spacing: .6px; }
.detail-metrics strong { font-family: Georgia, serif; font-size: 24px; font-weight: 500; }
.detail-metrics strong.positive { color: #668419; }
.detail-metrics span { color: #8b9591; font-size: 8px; }
.large-score { width: 48px; height: 48px; font-size: 20px; }
.prose-panel, .steps-panel, .checklist-panel { padding-bottom: 23px; }
.prose-panel > p { margin: 0; padding: 0 23px 22px; color: #66736e; font-size: 11px; line-height: 1.7; }
.fact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0 23px; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: 8px; }
.fact-grid div { display: flex; justify-content: space-between; padding: 12px; background: #fafbf8; }
.fact-grid span { color: #84908b; font-size: 9px; }
.fact-grid strong { font-size: 9px; }
.steps-panel ol { display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0 23px; list-style: none; }
.steps-panel li { display: flex; align-items: flex-start; gap: 13px; padding: 13px 0; border-bottom: 1px solid #edf0ec; }
.steps-panel li > span { display: grid; place-items: center; flex: 0 0 auto; width: 25px; height: 25px; color: #638017; background: #eef6da; border-radius: 50%; font-size: 8px; font-weight: 850; }
.steps-panel li p { margin: 4px 0 0; color: #586660; font-size: 10px; line-height: 1.5; }
.official-only { display: flex; gap: 12px; margin: 20px 23px 0; padding: 14px; color: #475c38; background: #eff7e4; border-radius: 8px; }
.official-only > span { color: #72951e; font-weight: 850; }
.official-only p { margin: 0; font-size: 9px; line-height: 1.5; }
.official-only strong { display: block; font-size: 10px; }
.checklist-panel > label { display: flex; align-items: flex-start; gap: 10px; margin: 0 23px; padding: 11px 0; color: #586660; border-bottom: 1px solid #edf0ec; font-size: 10px; line-height: 1.4; }
.checklist-panel input { margin-top: 2px; accent-color: #85a91f; }
.calculator { padding: 23px; }
.calculator h2, .contact-card h2 { margin: 7px 0; font-family: Georgia, serif; font-size: 22px; font-weight: 500; }
.calculator > p, .contact-card > p { margin: 0 0 20px; color: #7b8782; font-size: 9px; line-height: 1.5; }
.calculator label { margin: 12px 0; }
.calculator label > span { position: absolute; z-index: 1; bottom: 14px; left: 12px; color: #84908b; }
.calculator input { height: 43px; padding-left: 26px; }
.calc-output { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 18px 0 12px; overflow: hidden; background: #dfe4df; border: 1px solid #dfe4df; border-radius: 8px; }
.calc-output div { display: flex; flex-direction: column; gap: 5px; padding: 11px; background: #f8f9f6; }
.calc-output span { color: #88938e; font-size: 8px; }
.calc-output strong { font-family: Georgia, serif; font-size: 16px; }
.fine-print { display: block; color: #8d9793; font-size: 8px; line-height: 1.55; }
.contact-card { padding: 23px; }
.contact-card > a:not(.button) { display: block; margin: 8px 0; color: #668018; font-size: 10px; font-weight: 700; }
.contact-card .button { margin: 16px 0 12px; }

/* Sources */
.source-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; margin-bottom: 18px; }
.source-card { padding: 19px; }
.source-card-head { display: flex; align-items: center; gap: 11px; }
.source-logo { display: grid; place-items: center; width: 39px; height: 39px; color: #587315; background: #eef7da; border-radius: 9px; font-family: Georgia, serif; font-size: 19px; font-weight: 700; }
.source-card-head h2 { margin: 0 0 5px; font-family: Georgia, serif; font-size: 15px; font-weight: 600; }
.source-card-head span { display: flex; align-items: center; gap: 6px; color: #82908a; font-size: 8px; }
.source-card dl { margin: 18px 0; padding: 10px 0; border-top: 1px solid #edf0ec; border-bottom: 1px solid #edf0ec; }
.source-card dl div { display: flex; justify-content: space-between; padding: 5px 0; font-size: 8px; }
.source-card dt { color: #87928e; }
.source-card dd { margin: 0; font-weight: 700; }
.source-actions { display: flex; justify-content: space-between; }
.source-actions a { color: #617d13; font-size: 9px; font-weight: 750; }
.source-error { overflow: hidden; color: #a75247; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.runs-panel { margin-top: 18px; padding-bottom: 20px; }
.runs-table { margin: 0 22px; }
.runs-table > div { display: grid; grid-template-columns: 1fr .7fr 1fr .7fr 1fr; gap: 15px; padding: 10px; border-bottom: 1px solid #edf0ec; font-size: 9px; }
.runs-table .runs-head { color: #84908b; background: #f8f9f6; font-size: 7px; font-weight: 850; letter-spacing: .6px; }
.run-status { color: #6d821e; font-weight: 750; }
.run-status.failed { color: #ad5045; }

/* Billing */
.billing-layout { display: grid; grid-template-columns: minmax(350px,.8fr) 1.2fr; gap: 65px; align-items: center; max-width: 1050px; }
.membership-card { padding: 29px; }
.membership-head { display: flex; justify-content: space-between; }
.status-pill { padding: 5px 8px; color: #8a5c20; background: #fff1d5; border-radius: 20px; font-size: 8px; font-weight: 850; }
.status-pill.active, .status-pill.trialing { color: #5d7915; background: #ebf7d5; }
.membership-card h2 { margin: 23px 0 4px; font-family: Georgia, serif; font-size: 48px; font-weight: 400; }
.membership-card h2 sup { font-size: 21px; }
.membership-card h2 small { color: #87928e; font-family: Inter, sans-serif; font-size: 11px; }
.membership-card > p { margin: 0 0 22px; color: #71807a; font-size: 11px; }
.membership-card ul { gap: 15px; margin: 22px 0 28px; padding: 21px 0; border-top: 1px solid #edf0ec; border-bottom: 1px solid #edf0ec; }
.membership-card li { color: #52615b; font-size: 10px; }
.membership-card li::before { color: #74961a; }
.billing-trust h2 { margin: 15px 0; font-family: Georgia, serif; font-size: 38px; font-weight: 400; line-height: 1.12; }
.billing-trust > p { max-width: 560px; color: #6f7d77; font-size: 12px; line-height: 1.7; }
.boundary-list { display: grid; gap: 15px; margin-top: 28px; }
.boundary-list > div { display: flex; gap: 13px; }
.boundary-list > div > span { display: grid; place-items: center; flex: 0 0 auto; width: 27px; height: 27px; color: #668316; background: #eaf6d5; border-radius: 50%; font-size: 11px; font-weight: 800; }
.boundary-list p { margin: 0; color: #75817c; font-size: 9px; line-height: 1.5; }
.boundary-list strong { display: block; color: var(--ink); font-size: 10px; }

/* Passwordless security */
.security-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 15px; margin-bottom: 18px; }
.security-card { display: flex; gap: 18px; padding: 25px; }
.security-card > div:last-child { flex: 1; }
.security-card h2 { margin: 7px 0; font-family: Georgia, serif; font-size: 20px; font-weight: 500; }
.security-card p { color: #6c7973; font-size: 10px; line-height: 1.65; }
.security-icon { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; color: #627f15; background: #eef7d9; border-radius: 10px; font-family: Georgia, serif; font-size: 19px; font-weight: 700; }
.verified-pill { display: inline-flex; margin-top: 8px; padding: 5px 8px; color: #5d7816; background: #ebf7d4; border-radius: 20px; font-size: 8px; font-weight: 850; }
.passkey-card .button { margin-top: 9px; }
.credential-panel { margin-bottom: 18px; padding-bottom: 15px; }
.credential-list { margin: 0 22px; }
.credential-list > div { display: flex; align-items: center; gap: 12px; padding: 13px 5px; border-top: 1px solid #edf0ec; }
.credential-list > div > div { display: flex; flex: 1; flex-direction: column; gap: 3px; }
.credential-list strong { font-size: 10px; }
.credential-list small { color: #89938f; font-size: 8px; }
.credential-mark { display: grid; place-items: center; width: 32px; height: 32px; color: #617c17; background: #eef6da; border-radius: 8px; }
.security-note { margin-top: 18px; }

/* Legal */
.legal-page { max-width: 760px; min-height: 70vh; margin: 0 auto; padding: 155px 24px 90px; }
.legal-page h1 { margin: 16px 0; font-family: Georgia, serif; font-size: 48px; font-weight: 400; letter-spacing: -2px; }
.legal-page .lead { color: #5f6d67; font-family: Georgia, serif; font-size: 20px; line-height: 1.55; }
.legal-page h2 { margin-top: 35px; font-family: Georgia, serif; font-size: 22px; font-weight: 600; }
.legal-page p { color: #65736d; font-size: 13px; line-height: 1.8; }
.legal-callout { margin-top: 40px; padding: 16px; color: #795b29; background: #fff3dc; border-radius: 9px; font-size: 10px; }
.toast { position: fixed; z-index: 100; right: 22px; bottom: 22px; max-width: 350px; padding: 13px 16px; color: white; background: var(--ink); border-radius: 9px; box-shadow: var(--shadow); font-size: 11px; opacity: 0; transform: translateY(15px); pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; padding-top: 140px; }
  .hero-copy { margin: auto; text-align: center; }
  .hero-actions, .trust-row { justify-content: center; }
  .hero-product { justify-content: center; padding: 70px 0 0; }
  .value-section { grid-template-columns: 1fr; gap: 45px; }
  .proof-section { grid-template-columns: 1fr 400px; gap: 55px; }
  .pricing-card { grid-template-columns: 1fr 1fr; }.pricing-card > .button { grid-column: 1 / -1; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .deal-table-head { display: none; }
  .deal-table-row { grid-template-columns: minmax(230px,2fr) repeat(3,1fr) 48px 30px; }
  .deal-table-row > .cell-stat:nth-of-type(4) { display: none; }
  .filter-bar { grid-template-columns: 1fr 1fr 1fr; }.filter-bar .search-field { grid-column: span 2; }
}

@media (max-width: 850px) {
  .public-nav { width: calc(100% - 32px); }.public-nav nav { display: none; }.public-actions > a:first-child { display: none; }
  .hero { padding-right: 20px; padding-left: 20px; }.hero h1 { font-size: 54px; }.product-window { width: 100%; transform: none; }.preview-row { grid-template-columns: 65px 1fr 76px 41px; }
  .section, .proof-section, .pricing-section { padding: 75px 25px; }.proof-section { grid-template-columns: 1fr; }.signal-card { max-width: 480px; }
  .pricing-card { grid-template-columns: 1fr; gap: 25px; }.pricing-card > .button { grid-column: auto; }
  .public-footer { grid-template-columns: 1fr; }.public-footer small { grid-column: auto; }
  .auth-layout { grid-template-columns: 1fr; }.auth-story { display: none; }.auth-panel { min-height: 100vh; padding: 30px 24px; }.auth-card { margin-top: 75px; }
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: -250px; width: 230px; transition: left .2s; }.sidebar.open { left: 0; box-shadow: 20px 0 60px rgba(0,0,0,.25); }
  .mobile-menu { display: block; }.app-topbar { padding: 0 18px; }.top-search { width: min(380px,55vw); }.top-search kbd, .live-pill { display: none; }
  .page-content { padding: 27px 20px 60px; }.split-heading { align-items: flex-start; flex-direction: column; }
  .dashboard-grid { grid-template-columns: 1fr; }.source-health-row { grid-template-columns: 1fr 1fr 1fr; }
  .deal-row { grid-template-columns: 70px minmax(170px,1fr) 80px 43px; }.deal-row > .deal-stat:nth-of-type(3) { display: none; }
  .deal-table-row { grid-template-columns: 1fr 90px 48px 30px; }.deal-table-row > .cell-stat:nth-of-type(2), .deal-table-row > .cell-stat:nth-of-type(3), .deal-table-row > .cell-stat:nth-of-type(4) { display: none; }
  .detail-layout { grid-template-columns: 1fr; }.detail-aside { position: static; }.deal-hero { align-items: flex-start; flex-direction: column; }.detail-metrics { grid-template-columns: 1fr 1fr; gap: 22px 0; }.detail-metrics > div:nth-child(2) { border: 0; }
  .source-grid { grid-template-columns: 1fr 1fr; }.billing-layout { grid-template-columns: 1fr; gap: 45px; }
  .security-layout { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 44px; letter-spacing: -2px; }.hero-copy > p { font-size: 14px; }.hero-actions, .trust-row { align-items: stretch; flex-direction: column; }.hero-actions form .button { width: 100%; }
  .hero-product { display: none; }.hero { min-height: 690px; }.logo-strip div { gap: 25px; }
  .section-heading h2, .proof-section h2, .pricing-section h2 { font-size: 36px; }.feature-grid { grid-template-columns: 1fr; }.feature-grid article:last-child { grid-column: auto; }
  .metric-grid { grid-template-columns: 1fr; }.heading-actions { width: 100%; justify-content: space-between; }.last-refresh { display: none; }
  .deal-row { grid-template-columns: 65px 1fr 41px; }.deal-row .deal-stat { display: none; }
  .source-health-row { grid-template-columns: 1fr 1fr; }.source-health-row > div { border: 0; }
  .filter-bar { grid-template-columns: 1fr 1fr; }.filter-bar .search-field { grid-column: 1 / -1; }.filter-bar .button { grid-column: 1 / -1; }
  .deal-table-row { grid-template-columns: 1fr 42px 28px; }.deal-table-row > .cell-stat { display: none!important; }.deal-property { grid-template-columns: 66px minmax(0,1fr); }
  .deal-hero-main { align-items: flex-start; }.property-visual { display: none; }.deal-hero-actions { width: 100%; }.deal-hero-actions .button { flex: 1; }
  .detail-metrics { grid-template-columns: 1fr 1fr; }.fact-grid { grid-template-columns: 1fr; }.source-grid { grid-template-columns: 1fr; }
  .runs-table > div { grid-template-columns: 1fr 1fr; }.runs-table > div span:nth-child(2), .runs-table > div span:nth-child(3), .runs-head { display: none; }
  .public-footer nav { flex-wrap: wrap; }
}
