/* AB Rent marketing site. No build step, no framework, no fonts fetched. */

:root {
  --bg: #ffffff;
  --surface: #f5f6f8;
  --text: #1a1d23;
  --muted: #5b6270;
  --border: #e1e4ea;
  --accent: #0b5fff;
  --accent-text: #ffffff;
  --dev: #d9480f;
  --max: 64rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--accent); }

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; }
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h3 { font-size: 1.125rem; }

p { margin: 0 0 1em; }

/* Header */

.site-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.site-header nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-header nav a:hover { color: var(--text); }

/* Sections */

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.hero {
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
}

.hero .lead {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 44rem;
}

.hero-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.section { padding: 2.5rem 0; border-bottom: 1px solid var(--border); }
.section:last-child { border-bottom: 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.25rem;
}

.grid article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.25rem;
}

.grid article p { margin: 0; color: var(--muted); }

.steps {
  padding-left: 1.5rem;
  max-width: 44rem;
}

.steps li { margin-bottom: 0.9rem; }

.contact { font-style: normal; }
.contact p { margin-bottom: 0.6em; }

.fine-print { color: var(--muted); font-size: 0.95rem; }

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 1.5rem;
}

.site-footer p { margin: 0.2em 0; }

/* DEV overlay: hidden unless environment.js marks the document as
   non-production. The stamp is a fixed, non-interactive watermark; the banner
   is a normal-flow strip at the top, so nothing on the page is covered. */

.dev-banner, .dev-stamp { display: none; }

html.env-dev .dev-banner {
  display: block;
  background: var(--dev);
  color: #fff;
  font-weight: 600;
  text-align: center;
  padding: 0.75rem 1.5rem;
}

html.env-dev .dev-stamp {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  display: grid;
  place-items: center;
  font-size: clamp(8rem, 30vw, 24rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--dev);
  opacity: 0.12;
  transform: rotate(-20deg);
  user-select: none;
}
