/* Dwelligent launch site — shared styles.
   Same real brand tokens as the rest of the app (styles.css) and the
   coming-soon page, pushed to a bolder, more editorial scale: this is
   the hype page, not a utilitarian settings screen. */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,500;0,600;0,700;1,500&family=Public+Sans:ital,wght@0,400;0,500;0,600;0,700&display=swap');

:root {
  --rust: #A4531E;
  --rust-dark: #7A3A20;
  --rust-light: #C97A44;
  --ink: #2A231E;
  --muted: #7A6F63;
  --paper: #FBF6F0;
  --card: #FFFFFF;
  --line: #E7DCCF;
  --radius: 16px;
  --radius-sm: 10px;
  --serif: 'Lora', Georgia, serif;
  --sans: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  /* The real floor-plan SVG renderer (floorPlan.js's floorSvgHtml) reads
     these two directly -- marker-circle and window-inset colors. Missed
     on the first pass of the floor-plan demo embed: this page only ever
     linked launch.css, never the main app's styles.css, so these two
     custom properties were silently undefined and every marker rendered
     as a plain black dot with no visible number. Caught by actually
     looking closely at a real screenshot, not assumed correct from the
     markup. Values copied exactly from styles.css's own light/dark
     blocks, not approximated. */
  --safety: #B23A2E;
  --fyi: #5B6B7A;
  --on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
  :root {
    --rust: #B55A26;
    --rust-dark: #D08857;
    --rust-light: #D08857;
    --ink: #EDE6DC;
    --muted: #A69B8D;
    --paper: #121212;
    --card: #1C1C1C;
    --line: #2F2F2F;
    --safety: #E2594A;
    --fyi: #8B9CAC;
    --on-accent: #FFFFFF;
  }
}

/* The floor-plan SVG's own classes (floorPlan.js's floorSvgHtml output)
   -- same gap as the custom properties above, same fix: copied exactly
   from styles.css rather than approximated, since this is the real
   renderer's real markup, not a recreation. */
.floor-plan-room-label { font-size: 13px; fill: var(--muted); font-family: inherit; pointer-events: none; }
.floor-plan-marker-num { font-size: 11px; font-weight: 700; fill: var(--on-accent); font-family: inherit; pointer-events: none; }
.floor-plan-room-hit, .floor-plan-marker-hit { cursor: pointer; }
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
}
h1, h2, h3 { font-family: var(--serif); text-wrap: balance; margin: 0; color: var(--ink); }
p { margin: 0; color: var(--muted); }
a { color: var(--rust-dark); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- nav ---------- */
header.site-nav {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; padding-bottom: 1rem; }
.site-nav-brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.site-nav-brand img { width: 32px; height: 32px; border-radius: 9px; display: block; }
.site-nav-brand-text { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.site-nav-links { display: flex; align-items: center; gap: 1.8rem; }
.site-nav-links a { font-size: 0.92rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.site-nav-links a:hover { color: var(--rust); }
.site-nav-links a.active { color: var(--rust); }
.site-nav-cta {
  font-weight: 700; font-size: 0.88rem; background: var(--rust); color: #FFF8F0;
  padding: 0.6rem 1.1rem; border-radius: 999px; text-decoration: none;
}
.site-nav-cta:hover { background: var(--rust-dark); }

/* ---------- shared bits ---------- */
.eyebrow {
  display: inline-block; font-weight: 700; font-size: 0.76rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--rust-dark);
  background: color-mix(in srgb, var(--rust) 10%, var(--paper));
  border: 1px solid var(--rust-light); border-radius: 999px;
  padding: 0.35rem 0.9rem; margin-bottom: 1.3rem;
}
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--sans); font-weight: 700; font-size: 0.95rem;
  padding: 0.9rem 1.6rem; border-radius: var(--radius-sm);
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--rust); color: #FFF8F0; }
.btn-primary:hover { background: var(--rust-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--rust-light); }

.section-label {
  text-align: center; font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted);
  margin: 0 0 0.6rem;
}
.section-title { text-align: center; font-size: clamp(1.5rem, 3.4vw, 2.1rem); margin-bottom: 1rem; }
.section-lead { text-align: center; max-width: 54ch; margin: 0 auto 2.6rem; font-size: 1.02rem; }

footer.site-footer {
  border-top: 1px solid var(--line); padding: 2.2rem 24px 2.6rem;
  text-align: center; font-size: 0.82rem; color: var(--muted);
}
footer.site-footer a { color: var(--muted); }

@media (max-width: 640px) {
  .site-nav-links { gap: 1rem; }
  .site-nav-links a:not(.site-nav-cta) { display: none; }
}
