/* POSX public website (control site): home page and sign-in. */
:root {
  --coal: #211d1a;
  --coal-2: #2c2723;
  --coal-line: #3d3632;
  --paper: #fffdf7;
  --white: #ffffff;
  --ink: #241f1c;
  --ash: #6e6660;
  --line: #e7e2dc;
  --tandoor: #ad522e;
  --tandoor-hot: #c4623a;
  --tandoor-deep: #8c3f20;
  --pine: #1e4a42;
  --pine-deep: #173a34;
  --on-dark: #f4efe8;
  --on-dark-2: #b9afa6;

  --display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --urdu: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; line-height: 1.05; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--tandoor-hot); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background-color .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
.btn-fire { background: var(--tandoor); color: var(--white); }
.btn-fire:hover { background: var(--tandoor-hot); }
.btn-ghost-dark { border-color: var(--coal-line); color: var(--on-dark); }
.btn-ghost-dark:hover { border-color: var(--on-dark-2); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-ghost:hover { border-color: var(--ink); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Top bar */
.topbar { position: absolute; inset: 0 0 auto 0; z-index: 10; }
.topbar .wrap { display: flex; align-items: center; gap: 28px; height: 84px; }
.topbar .brand img { height: 30px; width: auto; }
.topbar nav { display: flex; gap: 26px; margin-left: auto; }
.topbar nav a { color: var(--on-dark-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.topbar nav a:hover { color: var(--on-dark); }
.topbar .signin { min-height: 42px; padding: 0 20px; font-size: 15px; background: var(--paper); color: var(--coal); }
.topbar .signin:hover { background: var(--white); }
@media (max-width: 820px) { .topbar nav { display: none; } .topbar .signin { margin-left: auto; } }
