/* Landlord Log — site styles
   Clean commercial system: Geist throughout, white surfaces, the app's deep green, one amber accent. */
:root {
  --green-950: #062B29;
  --green-900: #0B3D3A;
  --green-700: #0F766E;
  --green-50: #EEF7F5;
  --bg: #FFFFFF;
  --bg-soft: #F6F8F7;
  --ink: #0E1716;
  --muted: #5D6B69;
  --line: #E4EAE8;
  --amber: #F5B83D;
  --font: "Geist", -apple-system, "SF Pro Text", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--green-700); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 8px; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font); color: var(--ink); }

.wrap { max-width: 1140px; margin: 0 auto; padding-inline: 24px; }
.wrap.narrow { max-width: 760px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,0.85); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand span { font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.site-header nav { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.site-header nav a { color: var(--muted); text-decoration: none; }
.site-header nav a:hover { color: var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; background: var(--green-900); color: #fff; text-decoration: none; font-weight: 600; border-radius: 999px; padding: 14px 24px; }
.btn:hover { background: var(--green-700); }
.btn-small { padding: 9px 18px; font-size: 15px; }

/* Hero */
.hero { padding-block: 72px 96px; background: radial-gradient(1200px 500px at 85% 10%, var(--green-50), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.pill { display: inline-block; font-size: 14px; font-weight: 500; color: var(--green-700); background: var(--green-50); border: 1px solid #D3EAE5; padding: 6px 14px; border-radius: 999px; margin-bottom: 24px; }
.hero h1 { font-size: clamp(42px, 5.6vw, 66px); line-height: 1.04; font-weight: 700; letter-spacing: -0.04em; margin: 0 0 22px; text-wrap: balance; }
.lede { font-size: 20px; line-height: 1.55; color: var(--muted); max-width: 32em; margin: 0 0 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff; text-decoration: none; padding: 11px 22px 11px 18px; border-radius: 14px; }
.store-badge svg { width: 26px; height: 26px; fill: #fff; }
.store-badge small { display: block; font-size: 11px; opacity: 0.8; line-height: 1.2; }
.store-badge strong { display: block; font-size: 19px; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
.store-badge.light { background: #fff; color: var(--ink); }
.checks { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; color: var(--muted); }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--green-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }

/* Phone mockup */
.phone { justify-self: center; width: min(340px, 100%); aspect-ratio: 9 / 18.5; background: #0B0F0F; border-radius: 52px; padding: 12px; box-shadow: 0 50px 100px -40px rgba(6, 43, 41, 0.55), 0 0 0 1px rgba(0,0,0,0.08); }
.phone-screen { height: 100%; background: #F2F2F7; border-radius: 41px; padding: 54px 14px 14px; overflow: hidden; display: flex; flex-direction: column; gap: 12px; position: relative; }
.phone-screen::before { content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 96px; height: 28px; border-radius: 20px; background: #0B0F0F; }
.ph-top { display: flex; justify-content: space-between; align-items: center; padding-inline: 4px; }
.ph-top span:first-child { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.ph-plus { width: 32px; height: 32px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--green-700); font-size: 22px; }
.logbook { background: linear-gradient(150deg, var(--green-900), var(--green-700)); color: #fff; border-radius: 20px; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.status { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.15); padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: #4ADE80; }
.ring-row { display: flex; align-items: center; gap: 14px; }
.ring { width: 96px; height: 96px; flex: none; font-family: var(--font); }
.ring-row dl { margin: 0; flex: 1; display: grid; gap: 6px; font-size: 13px; }
.ring-row dl div { display: flex; justify-content: space-between; }
.ring-row dt { opacity: 0.8; }
.ring-row dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.onsite { display: flex; justify-content: space-between; background: rgba(255,255,255,0.12); border-radius: 10px; padding: 8px 10px; font-size: 13px; font-weight: 600; }
.entries { background: #fff; border-radius: 18px; padding: 2px 12px; }
.entry { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; }
.entry + .entry { border-top: 1px solid var(--line); }
.entry .ico { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; }
.entry .ico svg { width: 16px; height: 16px; fill: #fff; }
.entry .what { min-width: 0; }
.entry .what b { display: block; font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.entry .what span { font-size: 11px; color: var(--muted); }
.entry .num { font-weight: 600; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Sections */
section { padding-block: 96px; }
.band { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(32px, 4vw, 44px); line-height: 1.1; font-weight: 700; letter-spacing: -0.035em; margin: 0 0 14px; text-wrap: balance; }
.section-head p { font-size: 19px; color: var(--muted); margin: 0; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--green-900); color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 20px; }
.steps h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 8px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.features article { border: 1px solid var(--line); border-radius: 20px; padding: 28px 24px; }
.features b { display: block; font-size: 44px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--green-900); font-variant-numeric: tabular-nums; }
.features h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; margin: 18px 0 6px; }
.features p { margin: 0; font-size: 15px; color: var(--muted); }

.dark { background: var(--green-950); }
.dark .section-head h2 { color: #fff; }
.dark .section-head p { color: #A9C7C1; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.facts > div { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 28px; }
.facts h3 { color: #fff; font-size: 19px; font-weight: 600; margin: 0 0 8px; letter-spacing: -0.01em; }
.facts p { margin: 0; color: #A9C7C1; font-size: 16px; }

details { border-bottom: 1px solid var(--line); padding-block: 20px; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; color: var(--muted); }
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; color: var(--muted); max-width: 60ch; }

.cta-band { background: linear-gradient(150deg, var(--green-900), var(--green-700)); color: #fff; text-align: center; }
.cta-band .wrap { display: flex; flex-direction: column; align-items: center; }
.cta-band img { border-radius: 20px; margin-bottom: 24px; box-shadow: 0 20px 40px -20px rgba(0,0,0,0.5); }
.cta-band h2 { color: #fff; font-size: clamp(32px, 4vw, 44px); font-weight: 700; letter-spacing: -0.035em; margin: 0 0 10px; }
.cta-band p { color: #CFE5E0; margin: 0 0 28px; font-size: 18px; }

/* Footer */
.site-footer { padding-block: 36px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* Legal / support pages */
.doc { max-width: 720px; margin: 0 auto; padding: 40px 24px 96px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; margin: 16px 0 8px; }
.doc .updated { color: var(--muted); margin-bottom: 36px; }
.doc h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin: 40px 0 8px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
.doc th, .doc td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { font-weight: 600; }

@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 56px; }
  .steps, .facts { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .site-header nav { display: none; }
}
@media (max-width: 520px) {
  section { padding-block: 72px; }
  .features { grid-template-columns: 1fr; }
  .hero { padding-block: 48px 72px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
