/* RentLock – shared styles for landing and login */
:root {
	--bg: #f6f4ef;
	--surface: #ffffff;
	--ink: #16212b;
	--muted: #5b6874;
	--line: #e2ddd2;
	--brand: #0e4d45;
	--brand-ink: #ffffff;
	--accent: #f0a20b;
	--accent-soft: #fdf0d2;
	--dark: #0f1d22;
	--radius: 16px;
	--shadow: 0 10px 30px rgba(15, 29, 34, .08);
	--font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: .9rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.4em; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: #0b3f38; }
.btn-accent { background: var(--accent); color: var(--dark); }
.btn-ghost { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn-light { border-color: rgba(255,255,255,.35); color: #fff; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(246, 244, 239, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; text-decoration: none; letter-spacing: -.02em; }
.logo svg { width: 34px; height: 34px; }
.logo b { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.nav .btn { color: var(--brand-ink); padding: .55em 1.2em; }
@media (max-width: 860px) { .nav a:not(.btn) { display: none; } }

/* Hero */
.hero { padding: 72px 0 56px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; font-size: .95rem; }
.checks li::before { content: "✓"; color: var(--brand); font-weight: 800; margin-right: 6px; }
.hero-art { position: relative; }
.hero-art .scene { width: 100%; height: auto; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 40px; } }

/* Sections */
section { padding: 80px 0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; position: relative; }
.alt .step { background: var(--bg); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: #8a5a00; font-weight: 800; margin-bottom: 16px; }
.step p { color: var(--muted); font-size: .97rem; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Split (phone + text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } .split.rev > :first-child { order: 0; } }
.feature-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.feature-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.feature-list .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; }
.feature-list .ic svg { width: 22px; height: 22px; }
.feature-list strong { display: block; }
.feature-list span { color: var(--muted); font-size: .97rem; }

/* Phone mockup */
.phone { width: 300px; max-width: 100%; margin: 0 auto; background: var(--dark); border-radius: 44px; padding: 12px; box-shadow: 0 30px 60px rgba(15, 29, 34, .25); }
.phone .screen { background: #fff; border-radius: 34px; overflow: hidden; min-height: 560px; display: flex; flex-direction: column; }
.phone .bar { height: 34px; display: flex; justify-content: center; align-items: center; }
.phone .bar::before { content: ""; width: 90px; height: 22px; background: var(--dark); border-radius: 20px; }
.app-head { padding: 6px 18px 12px; display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: var(--muted); }
.app-head b { color: var(--ink); font-size: 1rem; }
.map { margin: 0 12px; border-radius: 18px; overflow: hidden; background: #e6efe9; }
.app-card { margin: 12px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); font-size: .82rem; }
.app-card .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.app-card .title { font-weight: 800; font-size: .95rem; color: var(--ink); }
.pill { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: .72rem; font-weight: 700; background: #dff2ea; color: var(--brand); }
.pill.warn { background: var(--accent-soft); color: #8a5a00; }
.app-btn { margin: 4px 12px 16px; padding: 14px; border-radius: 14px; background: var(--brand); color: #fff; text-align: center; font-weight: 800; font-size: .95rem; }
.unlock { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; gap: 10px; }
.unlock .ring { width: 150px; height: 150px; border-radius: 50%; border: 10px solid #dff2ea; display: grid; place-items: center; position: relative; }
.unlock .ring::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 10px solid transparent; border-top-color: var(--brand); border-right-color: var(--brand); }
.unlock .ring svg { width: 56px; height: 56px; color: var(--brand); }
.check-row { display: flex; align-items: center; gap: 8px; font-size: .82rem; padding: 7px 0; border-bottom: 1px dashed var(--line); text-align: left; width: 100%; }
.check-row:last-child { border: 0; }
.check-row i { width: 18px; height: 18px; border-radius: 6px; background: var(--brand); color: #fff; font-style: normal; font-size: .7rem; display: grid; place-items: center; flex: none; }
.check-row i.off { background: var(--line); }

/* Panel mockup */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; font-size: .85rem; }
.panel-top { display: flex; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #faf9f6; }
.panel-top span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.panel-body { padding: 18px; display: grid; gap: 14px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.kpi small { color: var(--muted); display: block; font-size: .72rem; }
.kpi b { font-size: 1.3rem; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; color: var(--muted); font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; padding: 6px 4px; border-bottom: 1px solid var(--line); }
.table td { padding: 9px 4px; border-bottom: 1px solid var(--line); }
.table tr:last-child td { border: 0; }
@media (max-width: 480px) { .table .hide-sm { display: none; } .kpi b { font-size: 1.05rem; } }

/* Cards grid */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: #8a5a00; display: grid; place-items: center; margin-bottom: 16px; }
.card .ic svg { width: 24px; height: 24px; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* Hardware band */
.dark { background: var(--dark); color: #e9eef0; }
.dark .muted, .dark .section-head p { color: #a7b5bb; }
.dark .eyebrow { color: var(--accent); }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; margin-top: 26px; }
.specs div { border-top: 1px solid rgba(255,255,255,.12); padding-top: 12px; }
.specs small { color: #a7b5bb; display: block; font-size: .8rem; }
.specs b { font-weight: 700; }
@media (max-width: 520px) { .specs { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

/* CTA band */
.cta-band { background: var(--brand); color: #fff; border-radius: 28px; padding: 56px 48px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.cta-band p { color: #cfe3de; font-size: 1.1rem; margin: 0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; padding: 40px 24px; } .cta-band .actions { justify-content: flex-start; } }

footer { padding: 40px 0 56px; color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; align-items: center; }
footer a { text-decoration: none; }

/* Login page */
.login-body { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.login-side { background: var(--dark); color: #e9eef0; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; }
.login-side .logo { color: #fff; }
.login-side p { color: #a7b5bb; max-width: 28em; }
.login-main { display: grid; place-items: center; padding: 40px 20px; }
.login-box { width: 100%; max-width: 400px; }
.login-box h1 { font-size: 2rem; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.field input { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); font: inherit; color: var(--ink); }
.field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(14, 77, 69, .12); }
.row-between { display: flex; justify-content: space-between; align-items: center; font-size: .9rem; margin: 4px 0 22px; gap: 10px; }
.row-between a { color: var(--brand); font-weight: 700; text-decoration: none; }
.login-box .btn { width: 100%; padding: 14px; }
.login-box .btn[disabled] { opacity: .7; cursor: wait; transform: none; }
.alert { display: none; padding: 12px 14px; border-radius: 12px; font-size: .92rem; margin-bottom: 16px; }
.alert.show { display: block; }
.alert.err { background: #fde8e6; color: #8f1d12; border: 1px solid #f6c6c0; }
.alert.ok { background: #dff2ea; color: var(--brand); border: 1px solid #bfe3d4; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.login-foot { margin-top: 28px; font-size: .88rem; color: var(--muted); text-align: center; }
.login-foot a { color: var(--brand); font-weight: 700; text-decoration: none; }
@media (max-width: 860px) { .login-body { grid-template-columns: 1fr; } .login-side { display: none; } .login-main { padding-top: 24px; align-items: start; } .mobile-logo { display: flex !important; margin-bottom: 28px; } }
.mobile-logo { display: none !important; }
