/* UnitCare marketing site and legal pages.
   The web app and tenant pages use base.css + app.css / report.css and keep their dark theme;
   the variables below only apply to pages that load this file. */
/* Colours come from base.css (dark theme). Only layout tokens and one extra tone are added here. */
:root {
  --paper: #0a1122;
  --radius: 6px;
  --radius-sm: 4px;
}
body { font-size: 17px; line-height: 1.6; }
a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { color: #a5b4fc; }
h1, h2, h3 { letter-spacing: -0.015em; line-height: 1.2; color: var(--text); }
::selection { background: rgba(99, 102, 241, .35); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* Buttons (override base.css for the site only) */
.btn {
  min-height: 44px; padding: 0 18px; border-radius: var(--radius);
  font-weight: 600; font-size: 15px; letter-spacing: 0;
  background: var(--surface); border: 1px solid var(--line-2); color: var(--text);
}
.btn:hover { background: var(--surface-2); border-color: #334155; color: var(--text); }
.btn-primary { background: var(--accent-fill); border-color: var(--accent-fill); color: #fff; }
.btn-primary:hover { background: var(--accent-fill-hover); border-color: var(--accent-fill-hover); color: #fff; }
.btn-ghost, .btn-quiet { background: transparent; border-color: transparent; }
.btn-ghost:hover, .btn-quiet:hover { background: var(--surface-2); }
.btn-quiet { text-decoration: underline !important; text-underline-offset: 3px; padding: 0 10px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.nav.scrolled { border-bottom-color: var(--line-2); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; color: var(--text); text-decoration: none !important; }
.logo:hover { color: var(--text); }
.logo img { width: 28px; height: 28px; border-radius: 6px; }
.nav-links { display: flex; gap: 24px; margin-left: 12px; }
.nav-links a { color: var(--text-2); font-weight: 500; font-size: 15px; text-decoration: none; }
.nav-links a:hover { color: var(--text); text-decoration: underline; }
.nav-cta { display: flex; gap: 6px; margin-left: auto; }
.nav .btn { min-height: 38px; padding: 0 14px; font-size: 14px; }
@media (max-width: 860px) { .nav-links { display: none; } .nav-cta .login { display: none; } }

/* Small label above headings (used sparingly) */
.kicker { margin: 0 0 10px; font-size: 14px; font-weight: 600; color: var(--accent-2); }

/* Hero */
.hero { padding: 72px 0 80px; background: var(--paper); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4.6vw, 52px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; margin: 0 0 22px; max-width: 15ch; }
.lead { font-size: 19px; color: var(--text-2); max-width: 36em; margin: 0 0 30px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.hero-cta .btn-primary { min-height: 50px; padding: 0 24px; font-size: 16px; }
.hero-note { list-style: none; margin: 22px 0 0; padding: 0; color: var(--muted); font-size: 15px; display: flex; gap: 8px 22px; flex-wrap: wrap; }
.hero-note li::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 7px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } .hero { padding: 48px 0 56px; } .hero h1 { max-width: 18ch; } }

/* Hero visual: printed poster + the app on a phone */
.visual { position: relative; height: 470px; }
.poster-mock {
  position: absolute; left: 0; top: 56px; width: 210px; z-index: 1; background: #fff; color: #1b1e22; border-radius: 4px;
  padding: 22px 18px; text-align: center; border: 1px solid #e2e8f0; box-shadow: 0 6px 18px rgba(0,0,0,.35); transform: rotate(-2deg);
}
.poster-mock b { display: block; font-size: 19px; font-weight: 800; }
.poster-mock small { display: block; color: #4f46e5; font-size: 11px; font-weight: 600; margin: 4px 0 14px; }
.qr-fake { width: 136px; height: 136px; margin: 0 auto 14px; padding: 8px; border-radius: 2px; background: #fff; border: 1px solid #e2e8f0; }
.poster-mock p { margin: 0; font-size: 12px; line-height: 1.4; font-weight: 500; color: #464b52; }
.phone {
  position: absolute; right: 0; top: 0; width: 250px; height: 470px; border-radius: 30px; background: #020617; color: #f8fafc;
  border: 7px solid #1e293b; box-shadow: 0 10px 30px rgba(0,0,0,.45), 0 0 0 1px #334155; padding: 24px 14px; overflow: hidden;
}
.phone h4 { margin: 2px 0 16px; text-align: center; font-size: 14px; font-weight: 800; }
.ph-alert { background: rgba(239,68,68,.1); border: 1px solid #ef4444; border-radius: 12px; padding: 11px; margin-bottom: 10px; }
.ph-alert .tag-s { display: inline-block; font-size: 10px; font-weight: 600; color: #f87171; border: 1px solid rgba(239,68,68,.4); border-radius: 4px; padding: 2px 6px; margin-bottom: 6px; }
.ph-alert b { display: block; font-size: 13px; line-height: 1.3; }
.ph-alert span { font-size: 11px; color: #94a3b8; }
.ph-row { display: flex; align-items: center; gap: 10px; background: #0f172a; border: 1px solid #1e293b; border-radius: 12px; padding: 10px; margin-bottom: 8px; font-size: 12px; line-height: 1.35; font-weight: 600; }
.ph-row i { width: 28px; height: 28px; border-radius: 8px; background: #020617; border: 1px solid #1e293b; display: grid; place-items: center; color: #7c8aa0; font-style: normal; flex-shrink: 0; }
.ph-row small { display: block; font-size: 11px; color: #7c8aa0; font-weight: 500; }
.ph-row.hi { border-color: #6366f1; } .ph-row.hi small { color: #a5b4fc; }
.notif {
  position: absolute; right: 36px; top: 396px; width: 264px; background: #1e293b; color: var(--text); border: 1px solid #334155; border-radius: 12px;
  padding: 11px 13px; display: flex; gap: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.45); z-index: 2; line-height: 1.35;
}
.notif img { width: 32px; height: 32px; border-radius: 7px; }
.notif b { font-size: 13px; display: block; } .notif span { font-size: 12px; color: var(--text-2); }
@media (max-width: 900px) { .visual { max-width: 420px; width: 100%; } }
@media (max-width: 460px) {
  .visual { height: 430px; }
  .poster-mock { width: 136px; padding: 14px 10px; top: 120px; } .qr-fake { width: 92px; height: 92px; padding: 5px; margin-bottom: 10px; }
  .poster-mock b { font-size: 14px; } .poster-mock small { font-size: 9px; margin-bottom: 10px; } .poster-mock p { font-size: 10px; }
  .phone { width: 200px; height: 420px; padding: 22px 12px; } .notif { right: 0; width: 230px; top: 356px; }
}

/* Sections */
.band { padding: 88px 0; }
.band-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-head { max-width: 640px; margin: 0 0 44px; }
.band h2, .side-head h2, .why-intro h2 { font-size: clamp(28px, 3.2vw, 36px); font-weight: 700; margin: 0 0 12px; }
.band-head p, .side-head p, .why-intro p { color: var(--text-2); font-size: 18px; margin: 0; }
@media (max-width: 700px) { .band { padding: 60px 0; } }

/* Heading on the left, content on the right */
.side { display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: start; }
.side-head { position: sticky; top: 96px; }
.side-head p { font-size: 17px; }
@media (max-width: 900px) { .side { grid-template-columns: 1fr; gap: 28px; } .side-head { position: static; } }

/* How it works */
.steps3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--line-2); }
.step { padding: 26px 32px 0 0; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line); }
.step-n { display: block; font-size: 15px; font-weight: 700; color: var(--accent-2); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.step-n::before { content: "Step "; }
.step h3 { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--text-2); margin: 0; }
@media (max-width: 800px) {
  .steps3 { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* Features */
.features { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.feature { padding: 20px 0 22px; border-top: 1px solid var(--line-2); }
.feature dt { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.feature dd { margin: 0; color: var(--text-2); font-size: 16px; }
.feature.red dt { color: var(--danger); }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } }

/* Landlords / tenants */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); }
.panel-tint { background: var(--accent-soft); border-color: var(--accent-line); }
.split h3 { font-size: 24px; font-weight: 700; margin: 0 0 18px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 24px; color: var(--text-2); }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--ok); font-weight: 700; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } .panel { padding: 26px; } }

/* Why UnitCare */
.why-intro { max-width: 720px; margin-bottom: 44px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.why { border-top: 2px solid var(--accent); padding-top: 18px; }
.why h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.why p { color: var(--text-2); margin: 0; font-size: 16px; }
@media (max-width: 1000px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; gap: 24px; } }
.who-row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 64px; margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line-2); }
.seo-copy h3, .who h3 { font-size: 21px; font-weight: 700; margin-bottom: 12px; }
.seo-copy p { color: var(--text-2); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 5px 11px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--surface); font-size: 15px; color: var(--text-2); }
@media (max-width: 900px) { .who-row { grid-template-columns: 1fr; gap: 36px; } }

/* Pricing */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 760px; }
.price-card { padding: 32px; display: flex; flex-direction: column; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); }
.price-card.featured { border: 2px solid var(--accent); padding: 31px; }
.price-card h3 { font-size: 20px; font-weight: 700; }
.price-card .amount { font-size: 44px; font-weight: 700; letter-spacing: -0.02em; margin: 12px 0 0; line-height: 1.1; }
.price-card .per { color: var(--muted); font-size: 15px; }
.price-card .per-yearly { margin-top: 2px; }
.price-card .checks { margin: 24px 0 28px; padding-top: 22px; border-top: 1px solid var(--line); flex: 1; }
@media (max-width: 640px) { .pricing { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary:hover { color: var(--accent-2); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 22px; line-height: 1; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--text-2); margin: 0 0 20px; max-width: 42em; }

/* Closing call to action */
.cta-band { background: var(--surface); color: var(--text); padding: 56px 0; border-top: 1px solid var(--line); }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; margin-bottom: 6px; color: #fff; }
.cta-band p { color: var(--text-2); margin: 0; font-size: 17px; }
.cta-band .btn-primary { min-height: 50px; padding: 0 24px; font-size: 16px; }

/* Footer */
footer.site { padding: 40px 0; color: var(--muted); font-size: 15px; }
.foot { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.foot-brand p { margin: 4px 0 0; font-size: 14px; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot a:not(.logo) { color: var(--text-2); text-decoration: none; }
.foot a:not(.logo):hover { color: var(--text); text-decoration: underline; }

/* Legal and support pages */
.legal { max-width: 720px; margin: 0 auto; padding: 56px 24px 88px; }
.legal h1 { font-size: 38px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.legal h2 { font-size: 21px; font-weight: 700; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--text-2); }
.legal li { margin-bottom: 8px; }
.legal li strong { color: var(--text); }
.legal .updated { color: var(--muted); font-size: 15px; margin: 0 0 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.legal .contact-box { margin: 0 0 12px; padding: 24px 26px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); }
.legal .contact-box h2 { margin-top: 0; }
.legal .contact-box p:last-child { margin-bottom: 0; }
.legal.not-found { padding-top: 120px; min-height: 60vh; }
.pricing.single { grid-template-columns: minmax(0, 380px); }
.pro-tag { display: inline-block; margin-left: 8px; padding: 1px 7px; border: 1px solid var(--accent-line); border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--accent-2); font-size: 12px; font-weight: 600; vertical-align: 2px; }
