/* Shared look of the public pages (home page and sign-in): white and blue,
   the Trapezakia top bar, and the faded glossy floor plan in the background. */
:root {
  --bg: #ffffff; --soft: #f3f7fd; --line: #dce6f5; --ink: #0b1f3a; --ink-2: #4a5b78; --ink-3: #7d8ba3;
  --blue: #1d5fd1; --blue-d: #154aa6; --blue-l: #e8f0fd; --blue-m: #bfd4f7;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif; }
a { color: inherit; }
.wrap { padding: 0 clamp(20px, 5vw, 80px); }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 22px; border-radius: 10px; font: inherit; font-weight: 600; text-decoration: none; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.btn:hover { border-color: var(--blue-m); }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--blue-d); }

/* top bar */
.top { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; font-size: 23px; letter-spacing: -.01em; }
.logo svg { width: 36px; height: 36px; }
.top .signin { height: 38px; padding: 0 16px; font-size: 15px; margin-left: auto; }
.lang { height: 38px; min-width: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 14px; font-weight: 600; color: var(--blue); cursor: pointer; }

/* faded, glossy isometric floor plan in the background (drawn by floor-bg.js) */
.floor-bg { position: absolute; inset: -6% 0; z-index: 0; pointer-events: none; opacity: .8;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 35%, transparent 100%); mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 35%, transparent 100%); }
.floor-bg svg { width: 100%; height: 100%; }
