:root { --navy: #0f2a4a; --navy-d: #0a1d33; --blue: #1e6fd9; --green: #15803d; --green-d: #166534; --red: #c62828; --ink: #1b2430; --muted: #5f6b7a; --bg: #f5f7fb; --card: #fff; --line: #e1e6ee; --r: 12px; --shadow: 0 10px 30px rgba(15,42,74,.10); }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.55 Inter, "Segoe UI", system-ui, -apple-system, Arial, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5rem; letter-spacing: -.01em; }
main { min-height: 60vh; }
.inline { display: inline; }
button { font: inherit; }
button.link { background: none; border: 0; color: var(--blue); cursor: pointer; padding: 0; text-decoration: underline; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem clamp(1rem, 4vw, 3rem); background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.1rem; color: var(--navy); text-decoration: none; letter-spacing: -.01em; }
.brand .logo { width: 34px; height: 34px; }
.top nav { display: flex; gap: 1.2rem; align-items: center; }
.top nav a { text-decoration: none; font-weight: 600; color: var(--navy); font-size: .95rem; }
.top .phone { color: var(--green); font-weight: 800; font-size: 1.05rem; }
.top .small, .top .who { font-size: .85rem; color: var(--muted); font-weight: 500; }
.flash { max-width: 1140px; margin: .8rem auto 0; padding: .7rem 1rem; border-radius: 10px; font-weight: 600; }
.flash.ok { background: #e7f6ec; color: var(--green-d); border: 1px solid #bfe3cb; } .flash.bad { background: #fdecec; color: #8a1c1c; border: 1px solid #f3c2c2; }
.flash ul { margin: 0; padding-left: 1.2rem; font-weight: 500; }

/* hero */
.hero-wrap { background: linear-gradient(160deg, var(--navy) 0%, #143a66 60%, #1a4a80 100%); color: #fff; padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 3rem) 3rem; }
.hero-grid { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: start; }
.eyebrow { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #9cc4f5; margin-bottom: 1rem; }
.hero-copy h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; margin-bottom: 1rem; }
.hero-copy h1 em { font-style: normal; color: #9cc4f5; }
.intro { font-size: 1.1rem; color: #d7e3f3; max-width: 540px; margin: 0 0 1.6rem; }
.trust { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.2rem; }
.trust li { display: flex; gap: .7rem; align-items: flex-start; }
.trust .ico { flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; font-size: .85rem; font-weight: 800; display: grid; place-items: center; margin-top: .1rem; }
.trust b { display: block; font-size: .95rem; } .trust small { color: #b9c9de; font-size: .8rem; }
.call { color: #d7e3f3; font-size: .95rem; } .call a { color: #fff; font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--green); }

/* form card */
.card { background: var(--card); color: var(--ink); border-radius: var(--r); padding: clamp(1.1rem, 2.5vw, 1.8rem); box-shadow: var(--shadow); }
.form-card { border-top: 5px solid var(--green); }
.form-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; }
.form-head h2 { font-size: 1.35rem; margin: 0; } .form-head span { font-size: .8rem; color: var(--muted); }
.field { margin-bottom: .9rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }
.field label i { color: var(--red); font-style: normal; } .field label small { color: var(--muted); font-weight: 400; }
.n { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .7rem; font-weight: 800; margin-right: .3rem; vertical-align: 1px; }
select, input[type=text], input[type=tel], input[type=email], input[type=password], input[type=number], textarea { width: 100%; padding: .7rem .8rem; border: 1px solid #c9d2de; border-radius: 9px; font: inherit; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
select:focus, input:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,111,217,.15); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235f6b7a' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; padding-right: 2.2rem; }
textarea { resize: vertical; }
.row { display: flex; gap: .6rem; margin-bottom: .6rem; } .row > * { flex: 1; min-width: 0; } .row .zip { flex: 0 0 120px; }
.row.wrap { flex-wrap: wrap; } .row.wrap > * { flex: 1 1 150px; }
.stack { display: flex; flex-direction: column; gap: .6rem; } .stack.tight { gap: .35rem; }
.hp { position: absolute; left: -9999px; }
.divider { display: flex; align-items: center; gap: .8rem; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 1.2rem 0 .8rem; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .76rem; color: var(--muted); margin: .6rem 0 .9rem; line-height: 1.45; }
.consent input { margin-top: .2rem; flex: 0 0 auto; width: 16px; height: 16px; }
.cta { display: inline-block; width: 100%; background: var(--green); color: #fff; border: 0; border-radius: 10px; padding: .95rem 1.2rem; font-weight: 800; font-size: 1.05rem; cursor: pointer; text-align: center; text-decoration: none; transition: background .15s, transform .05s; }
.cta:hover { background: var(--green-d); } .cta:active { transform: translateY(1px); } .cta.sm { width: auto; padding: .55rem .95rem; font-size: .88rem; }
.btn-outline { display: inline-block; margin-top: .5rem; padding: .6rem 1rem; border: 2px solid var(--navy); border-radius: 9px; color: var(--navy); font-weight: 700; text-decoration: none; font-size: .92rem; }
.secure { font-size: .76rem; color: var(--muted); text-align: center; margin: .8rem 0 0; }
.fine { font-size: .84rem; color: var(--muted); }

/* steps + info */
.steps-wrap { padding: 2.5rem clamp(1rem, 4vw, 3rem); background: #fff; border-bottom: 1px solid var(--line); }
.steps { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.steps .num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #e8f0fb; color: var(--blue); font-weight: 800; margin-bottom: .6rem; }
.steps h3 { font-size: 1.05rem; } .steps p { margin: 0; color: var(--muted); font-size: .95rem; }
.info-wrap { padding: 3rem clamp(1rem, 4vw, 3rem); }
.info { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.info h2 { font-size: 1.4rem; color: var(--navy); } .info p { color: #3a4654; }

/* generic pages */
.page { max-width: 1140px; margin: 1.5rem auto; padding: 0 clamp(1rem, 4vw, 3rem); }
.narrow { max-width: 440px; margin-left: auto; margin-right: auto; } .center { text-align: center; }
.check { width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: #fff; font-size: 2rem; line-height: 64px; margin: 0 auto 1rem; }
.tips { text-align: left; max-width: 560px; margin: 0 auto; }
.faq details { border-top: 1px solid var(--line); padding: .8rem 0; } .faq summary { font-weight: 700; cursor: pointer; color: var(--navy); } .faq details p { margin: .5rem 0 0; color: #3a4654; } .faq .cta { margin-top: 1.2rem; }
footer { background: var(--navy-d); color: #9fb0c6; padding: 2rem clamp(1rem, 4vw, 3rem) 2.5rem; margin-top: 2rem; font-size: .76rem; line-height: 1.5; }
footer p { max-width: 1140px; margin: 0 auto .6rem; } footer a { color: #cfdcee; }

/* portal */
.count { background: var(--blue); color: #fff; border-radius: 999px; font-size: .78rem; padding: .1rem .6rem; vertical-align: middle; margin-left: .3rem; }
.page .card { margin-bottom: 1.5rem; }
.page h1 { font-size: 1.4rem; color: var(--navy); }
.leads { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; margin-top: 1rem; }
.lead { border: 1px solid var(--line); border-radius: var(--r); padding: 1rem; display: flex; flex-direction: column; gap: .55rem; background: #fff; }
.lead header, .lead footer { display: flex; justify-content: space-between; align-items: center; margin: 0; padding: 0; background: none; color: inherit; font-size: inherit; }
.lead .type { font-weight: 800; color: var(--navy); } .lead .price { font-weight: 800; color: var(--green); font-size: 1.25rem; }
.lead dl { display: grid; grid-template-columns: auto 1fr; gap: .15rem .7rem; margin: 0; font-size: .9rem; } .lead dt { color: var(--muted); } .lead dd { margin: 0; }
.lead .desc { font-size: .9rem; color: #3a4654; font-style: italic; margin: 0; }
.lead .meta { font-size: .76rem; color: var(--muted); }
.lead .contact { background: #e7f6ec; border-radius: 9px; padding: .7rem .9rem; }
.status { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: .18rem .55rem; border-radius: 6px; background: #eef2f7; color: var(--muted); white-space: nowrap; }
.status.new { background: #fff3d6; color: #8a5a00; } .status.available { background: #e3edfb; color: #1e4fa3; } .status.claimed { background: #fde9d9; color: #9a3c12; } .status.sold { background: #e7f6ec; color: var(--green-d); }
.empty { color: var(--muted); font-style: italic; }

/* admin */
.stats { display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0 1rem; }
.stat { display: flex; flex-direction: column; align-items: center; min-width: 92px; padding: .5rem .8rem; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); background: #fff; }
.stat b { font-size: 1.3rem; } .stat span { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; } .stat.on { border-color: var(--blue); background: #eef4ff; } .stat.rev b { color: var(--green); }
table.grid { width: 100%; border-collapse: collapse; font-size: .87rem; }
.grid th, .grid td { text-align: left; vertical-align: top; padding: .7rem .5rem; border-top: 1px solid var(--line); } .grid th { border-top: 0; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; }
.grid tr.sold td { background: #f6fdf8; } .grid tr.rejected td, .grid tr.out_of_area td { opacity: .6; }
.grid small { color: var(--muted); } .grid .desc { color: #3a4654; font-style: italic; }
.grid td:last-child { min-width: 260px; } .grid .row { margin-bottom: 0; } .grid .row button.sm { flex: 0 0 auto; }
.btns { display: flex; flex-wrap: wrap; gap: .3rem; }
button.sm, select.sm, input.sm { padding: .42rem .65rem; font-size: .8rem; border-radius: 7px; border: 1px solid #c9d2de; background: #fff; cursor: pointer; width: auto; }
button.sm:hover { border-color: var(--navy); }
button.sm.ok, button.cta.sm { background: var(--green); color: #fff; border-color: var(--green); font-weight: 800; } button.sm.bad { background: #fff; color: var(--red); border-color: var(--red); }
.price-in { max-width: 110px; }
.add-buyer { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: .5rem; } .add-buyer .cta { grid-column: 1 / -1; width: auto; justify-self: start; }
h3.sub { margin-top: 1.5rem; font-size: 1rem; color: var(--navy); }

@media (max-width: 900px) { .hero-grid, .info { grid-template-columns: 1fr; gap: 2rem; } .steps { grid-template-columns: 1fr; } .add-buyer { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .trust { grid-template-columns: 1fr; } .row { flex-direction: column; } .row .zip { flex: 1; } .top nav .small, .top nav .who { display: none; } .top nav { gap: .8rem; } .grid { display: block; overflow-x: auto; } .add-buyer { grid-template-columns: 1fr; } }

.hint { display: block; margin-top: .3rem; font-size: .74rem; color: var(--muted); line-height: 1.4; }
.fee { display: inline-block; font-size: .72rem; font-weight: 700; padding: .12rem .5rem; border-radius: 6px; background: #eef2f7; color: var(--navy); }
.fee.paid { background: #fff3d6; color: #8a5a00; } .fee.cont { background: #e3edfb; color: #1e4fa3; }
