/* ============================================================
   base.css - design tokens, reset and global element styles.
   Loaded first, before every other stylesheet.
   ============================================================ */

/* Design tokens: the two brand colors (accent orange + dark navy),
   text grays and the light backgrounds used by sections/cards.
   The whole site runs on the dark navy (--dark); --bg stays white and
   is used only by the pieces that deliberately stand out (service
   callouts, focus-free popovers). --surface/--line are the dark card
   surfaces and their hairlines. */
:root {
  --accent: #e8a13c;
  --dark: #1e2430;
  --text: #3d4451;
  --muted: #697180;
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --placeholder: #c3cad4;
  --border: #9aa3b1;
  --surface: #242b39;
  --line: rgba(255, 255, 255, 0.16);
}

/* Consistent selection everywhere: accent fill + dark text stays
   readable on both the light and the dark sections. */
::selection {
  background: var(--accent);
  color: var(--dark);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* The hidden attribute must always win, even against display: flex /
   grid rules (e.g. the calculator form and the room filter bar). */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "IBM Plex Sans", "Segoe UI", Roboto, Arial, sans-serif;
  color: #dfe3ea; /* light text over the dark navy background */
  line-height: 1.6;
  background: var(--dark); /* dark bg avoids white flash under the hero */
  overscroll-behavior-y: none;
}

/* Page-wide content column: 1100px max, 20px gutters. */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
