* { box-sizing: border-box; }
body { margin:0; font:17px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; color:var(--ink); background:var(--bg); }
main { max-width: 920px; margin: 0 auto; padding: 16px; }
a { color: var(--accent); }
.draftbar { background:var(--draft-bg); color:var(--draft-ink); text-align:center; font-size:14px; padding:6px 16px; }
.top { display:flex; flex-wrap:wrap; gap:8px 20px; align-items:center; justify-content:space-between; max-width:920px; margin:0 auto; padding:14px 16px; }
.brand { font-weight:700; font-size:20px; color:var(--ink); text-decoration:none; }
.top nav { display:flex; flex-wrap:wrap; gap:4px 14px; font-size:15px; }
.top nav a { text-decoration:none; } .top nav a.lang { font-weight:600; }
h1 { font-size: clamp(26px, 5vw, 38px); line-height:1.15; margin: 18px 0 10px; }
.lead { font-size: 19px; color: var(--muted); }
.hero { padding: 18px 0 6px; }
.card { display:block; background:var(--card); border:1px solid var(--line); border-radius:12px; padding:18px; margin:14px 0; color:inherit; }
.split, .grid { display:grid; gap:14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.entry { text-decoration:none; transition: border-color .15s; } .entry:hover { border-color: var(--accent); }
.entry h2 { margin-top:0; }
.btn { display:inline-block; background:var(--accent); color:var(--on-accent); border:0; border-radius:8px; padding:11px 18px; font:inherit; font-weight:600; text-decoration:none; cursor:pointer; margin:4px 4px 4px 0; }
.btn.alt { background:var(--accent2); }
.btn[disabled] { opacity:.5; cursor:not-allowed; }
.price .amt { font-size: 28px; font-weight: 700; margin: 4px 0; }
.price h3 { margin: 0; font-size: 17px; }
.note, .muted { color: var(--muted); font-size: 15px; }
.warn { color: var(--warn); font-weight:600; }
.facts { padding-left: 20px; } .facts li { margin: 8px 0; }
cite { display:inline-block; font-style:normal; font-size:14px; background:var(--cite-bg); color:var(--cite-ink); border-radius:6px; padding:0 6px; }
.verified { font-size:14px; color:var(--warn); }
.statelist { columns: 2 260px; padding-left: 18px; }
.steps li { margin: 6px 0; }
label { display:block; margin: 0 0 12px; font-weight:600; }
input, select, textarea { display:block; width:100%; margin-top:4px; padding:10px; font:inherit; border:1px solid var(--line); border-radius:8px; background:var(--card); }
.big { font-size: 21px; }
.foot { max-width:920px; margin: 30px auto 0; padding: 16px; border-top:1px solid var(--line); font-size:14px; color:var(--muted); }
.letter { background:var(--card); border:1px solid var(--line); padding: 28px; white-space: pre-wrap; font-family: Georgia, serif; font-size:16px; }
.row { display:grid; gap:12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.timeline li { margin: 6px 0; }

/* ── LeaseProofDesk brand layer (colors/sizes come from tokens.css, generated by brand/brand.js) ── */
body { font-family: var(--font-sans); font-size: var(--fs-base); line-height: var(--lh-base); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { color: var(--ink); letter-spacing: -0.01em; }
h1 { font-weight: var(--fw-head); letter-spacing: -0.02em; }
h2 { font-weight: 750; }
a { color: var(--accent-strong); text-underline-offset: 2px; } a:hover { color: var(--accent); }
.siteheader { background: var(--header-bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-1); position: relative; }
.siteheader::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; background: linear-gradient(90deg, var(--accent) 0 62%, var(--highlight) 62% 100%); }
.top { padding: 10px 16px; }
.brand { display: flex; align-items: center; gap: var(--s2); text-decoration: none; line-height: 0; }
.brand .logo-full { height: 52px; width: auto; display: block; }
.top nav a { color: var(--ink); font-weight: 600; padding: 6px 2px; border-bottom: 2px solid transparent; }
.top nav a:hover { color: var(--accent-strong); border-bottom-color: var(--highlight); }
.top nav a.lang { color: var(--accent-strong); }
.top nav .linkbtn { color: var(--ink); font-weight: 600; }
.card { border-color: var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-1); }
.entry:hover, .casecard:hover { border-color: var(--accent); box-shadow: var(--shadow-2); }
.btn { background: var(--accent); color: var(--on-accent); border-radius: var(--r-sm); box-shadow: 0 1px 0 rgba(0,0,0,.08); transition: background .15s, transform .05s; }
.btn:hover { background: var(--accent-strong); color: var(--on-accent); } .btn:active { transform: translateY(1px); }
.btn.alt { background: var(--highlight); color: var(--on-highlight); } .btn.alt:hover { background: var(--highlight-strong); color: var(--on-highlight); }
.btn.ghost:hover { background: var(--accent-soft); color: var(--accent-strong); }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--highlight-soft); }
.hero h1 .hl, h1 .hl { color: var(--accent); }
.lead { color: var(--muted); }
.price .amt { color: var(--accent-strong); }
.foot { max-width: none; margin: 40px 0 0; padding: 0; border-top: 0; background: var(--footer-bg); color: var(--on-footer); }
.foot > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; }
.foot > :first-child { padding-top: 22px; } .foot > :last-child { padding-bottom: 22px; }
.foot a { color: var(--highlight); }
.foot .footbrand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--on-accent); font-size: 17px; }
.foot .footbrand img { width: 32px; height: 32px; border-radius: 7px; background: var(--card); }
.foot .footbrand .p { color: var(--highlight); }
@media (max-width: 560px) { .brand .logo-full { height: 40px; } .top { padding: 8px 12px; } }
.brand .logo-full { height: 60px; }
.top nav { align-items: center; } .top nav form.inline { display: inline-flex; } .top nav .linkbtn { padding: 6px 2px; line-height: inherit; }
.trust li { display: flex; align-items: center; gap: 10px; }
.trust li::before { content: '✓'; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--highlight); color: var(--on-highlight); display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.checkbox { border-top: 4px solid var(--accent); }
.how .num { background: var(--highlight); color: var(--on-highlight); }
.card.price.best { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow-1); }
@media (max-width: 560px) { .brand .logo-full { height: 44px; } }
.top nav .linkbtn { border-bottom: 2px solid transparent; font-size: 15px; }
.top nav .linkbtn:hover { color: var(--accent-strong); border-bottom-color: var(--highlight); }
@media (max-width: 560px) { .draftbar { font-size: 12px; padding: 5px 10px; } .top nav { gap: 2px 14px; } }
.authwrap { max-width: 480px; margin: 12px auto 0; text-align: center; }
.authwrap form, .authwrap section { text-align: left; }
.authwrap .authmark { width: 72px; height: auto; display: block; margin: 8px auto 0; }
.authwrap .actions { justify-content: flex-start; }
.legal h2 { margin-top: 26px; } .legal mark { background: var(--highlight-soft); color: var(--ink); padding: 0 3px; border-radius: 4px; }
.ticks { list-style: none; padding: 0; margin: 8px 0; } .ticks li { padding: 4px 0 4px 26px; position: relative; } .ticks li::before { content: '✓'; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--highlight); color: var(--on-highlight); font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.price .amt .small { font-size: 15px; font-weight: 400; }
.thread { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; } .msg { background: var(--surface-2); border-radius: var(--r-md); padding: 8px 12px; max-width: 85%; } .msg p { margin: 2px 0 0; white-space: pre-wrap; } .msg.mine { background: var(--accent-soft); margin-left: auto; }

/* ══ Design system v2 (Nov 18) — calm, professional, consistent. Tokens only; no new fonts, libraries or animations. ══ */
:root { --page: 1120px; }
body { font-size: 16px; line-height: 1.6; background: var(--bg); }
main { max-width: var(--page); padding: 28px 20px 8px; }
main.wide { max-width: var(--page); }
h1 { font-size: clamp(28px, 4.2vw, 40px); line-height: 1.12; margin: 6px 0 8px; font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: 20px; line-height: 1.3; margin: 0 0 10px; letter-spacing: -0.01em; }
h3 { font-size: 16px; line-height: 1.35; margin: 0 0 6px; }
p { margin: 0 0 12px; }
.lead { font-size: 18px; line-height: 1.55; max-width: 62ch; }
.muted, .note { font-size: 14px; }

/* Header: white, sticky, compact; the brand stripe stays as a thin rule */
.siteheader { position: sticky; top: 0; z-index: 20; background: var(--header-bg); box-shadow: none; border-bottom: 1px solid var(--line); }
.siteheader::after { height: 2px; bottom: -2px; }
.top { max-width: var(--page); padding: 10px 20px; }
.brand .logo-full { height: 46px; }
.top nav { gap: 2px 4px; font-size: 15px; }
.top nav a, .top nav .linkbtn { padding: 8px 12px; border-radius: var(--r-sm); border-bottom: 0; font-weight: 600; color: var(--ink); }
.top nav a:hover, .top nav .linkbtn:hover { background: var(--accent-soft); color: var(--accent-strong); border-bottom: 0; }
.top nav a.navcta { background: var(--accent); color: var(--on-accent); margin-left: 6px; }
.top nav a.navcta:hover { background: var(--accent-strong); color: var(--on-accent); }

/* Cards, buttons, forms */
.card { border-radius: 14px; padding: 22px; margin: 16px 0; box-shadow: var(--shadow-1); }
.card > h2:first-child, .card > h3:first-child { margin-top: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 10px; font-weight: 650; line-height: 1.2; }
.btn.small { min-height: 34px; padding: 6px 12px; border-radius: 8px; font-size: 14px; }
.btn.ghost { background: var(--card); color: var(--accent-strong); border: 1px solid var(--line-strong); box-shadow: none; }
.btn.ghost:hover { border-color: var(--accent); }
.btn .ico { width: 18px; height: 18px; }
input, select, textarea { min-height: 44px; padding: 10px 12px; border-radius: 10px; border-color: var(--line-strong); }
textarea { min-height: 96px; }
label { font-size: 15px; }
table { font-size: 15px; } th { text-transform: uppercase; letter-spacing: .04em; font-size: 12px; }
.pill { font-size: 12.5px; padding: 3px 10px; }
.flash { border-radius: 12px; }

/* Page header: title + one line + one primary action */
.pagehead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin: 4px 0 18px; }
.pagehead h1 { margin: 0; } .pagehead p { margin: 6px 0 0; color: var(--muted); }
.pagehead .actions { margin: 0; }

/* Section label */
.sectionhead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 28px 0 10px; }
.sectionhead h2 { margin: 0; font-size: 18px; } .sectionhead a { font-size: 14px; font-weight: 600; }

/* Icons */
.ico { width: 22px; height: 22px; flex: none; }
.icobox { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-strong); flex: none; }
.icobox.gold { background: var(--highlight-soft); color: var(--ink); }
.icobox.ok { background: var(--ok-bg); color: var(--ok-ink); }
.icobox.bad { background: var(--bad-bg); color: var(--bad-ink); }

/* Attention list: one row per thing to do */
.attn { list-style: none; padding: 0; margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-1); }
.attn li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.attn li:last-child { border-bottom: 0; }
.attn .txt { flex: 1 1 auto; min-width: 0; } .attn .txt strong { display: block; } .attn .txt span { color: var(--muted); font-size: 14px; }
.allclear { display: flex; align-items: center; gap: 14px; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-1); }

/* Tiles: icon + label + hint (quick actions / choices) */
.tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.tile { display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-1); }
.tile:hover { border-color: var(--accent); color: var(--ink); }
.tile strong { display: block; font-size: 15px; } .tile span.hint { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.4; margin-top: 2px; }

/* Property cards */
.pcards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.pcard { display: block; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-1); }
.pcard:hover { border-color: var(--accent); color: var(--ink); }
.pcard .meta { color: var(--muted); font-size: 14px; margin: 2px 0 10px; }
.pcard .facts2 { display: flex; gap: 16px; font-size: 14px; } .pcard .facts2 b { font-size: 18px; display: block; }

/* Marketing site */
.mhero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 24px 0 8px; }
.mhero h1 { font-size: clamp(32px, 5vw, 52px); }
.mhero .lead { font-size: 19px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-strong); margin-bottom: 10px; }
.mhero .ctas { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; }
.mhero .fine { font-size: 13.5px; color: var(--muted); }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-2); padding: 18px; }
.panel .panelhead { display: flex; align-items: center; justify-content: space-between; font-weight: 700; margin-bottom: 10px; }
.panel .attn { box-shadow: none; }
.panel .sample { font-size: 12px; color: var(--muted); }
.band { margin: 44px 0; }
.band > h2 { font-size: clamp(22px, 3vw, 30px); letter-spacing: -0.02em; margin-bottom: 6px; }
.band > p.sub { color: var(--muted); max-width: 62ch; margin-bottom: 18px; }
.features { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.feature h3 { margin: 12px 0 4px; } .feature p { color: var(--muted); font-size: 14.5px; margin: 0; }
.audiences { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.audience { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: var(--shadow-1); }
.audience .ticks { flex: 1; } .audience .btn { align-self: flex-start; margin-top: 8px; }
.steps3 { list-style: none; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: st; }
.steps3 li { counter-increment: st; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.steps3 li::before { content: counter(st); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--highlight); color: var(--on-highlight); font-weight: 800; margin-bottom: 10px; }
.steps3 strong { display: block; margin-bottom: 4px; } .steps3 span { color: var(--muted); font-size: 14.5px; }
.cta-band { background: var(--footer-bg); color: var(--on-footer); border-radius: 18px; padding: 32px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.cta-band h2 { color: var(--on-accent); margin: 0; } .cta-band p { margin: 4px 0 0; opacity: .85; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; } .faq summary { font-weight: 650; }
.faq details p { margin: 8px 0 0; color: var(--muted); }

/* Footer: roomier */
.foot { margin-top: 56px; }
.foot > :first-child { padding-top: 32px; } .foot > :last-child { padding-bottom: 32px; }
.foot .disclaimer { max-width: 80ch; font-size: 13.5px; opacity: .9; }

@media (max-width: 860px) { .mhero { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 560px) {
  main { padding: 18px 16px 4px; }
  .card { padding: 16px; }
  .brand .logo-full { height: 38px; }
  .top { padding: 8px 12px; } .top nav a, .top nav .linkbtn { padding: 6px 8px; }
  .attn li { padding: 12px 14px; gap: 10px; } .attn .icobox { width: 34px; height: 34px; } .attn .txt span { font-size: 13px; }
  .siteheader { position: relative; }
  .top nav { flex-wrap: nowrap; overflow-x: auto; width: 100%; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 2px; }
  .top nav::-webkit-scrollbar { display: none; }
  .top nav a, .top nav .linkbtn, .top nav form.inline { white-space: nowrap; flex: none; }
  .cta-band { padding: 22px; }
}

/* Early-access form + small-screen nav fix */
.top nav { max-width: 100%; }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
label.check input[type=checkbox] { flex: none; width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; padding: 0; }
.flash { background: var(--ok-bg, var(--accent-soft)); border-radius: 10px; padding: 10px 14px; }
@media (max-width: 640px) { .top nav { flex-wrap: wrap; overflow: visible; } .top nav a { padding: 6px 8px; } .top nav a.navcta { margin-left: 0; } }
.codeinput { font-size: 1.6rem; letter-spacing: .35em; text-align: center; font-variant-numeric: tabular-nums; }
.authwrap form.inline { display: flex; gap: 12px; align-items: center; justify-content: center; margin-top: 8px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--card); color: var(--ink); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }
.draftbar a { display: inline-block; padding: 8px 6px; min-height: 32px; }
