:root {
  color-scheme: dark;
  --ink: #edf5ff;
  --muted: #a9bdd8;
  --line: rgba(184, 214, 255, 0.24);
  --panel: rgba(26, 59, 96, 0.68);
  --accent: #e1c982;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 20%, rgba(60, 115, 188, 0.32), transparent 34rem),
    linear-gradient(155deg, #081426, #102b4b 55%, #07111f);
  font: 16px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.topbar {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1.25rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 17, 34, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  font-weight: 700;
  text-decoration: none;
}

button {
  padding: 0.7rem 1rem;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

main {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 7rem) 0;
}

.hero {
  max-width: 820px;
  margin-bottom: clamp(4rem, 9vw, 7rem);
}

.eyebrow,
.label {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1rem;
  font-family: Georgia, serif;
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: 0.96;
}

h2 {
  margin-bottom: 2rem;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
}

h3 {
  font-size: 1.35rem;
}

.intro,
.room-card > p:last-child,
footer {
  color: var(--muted);
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.room-card {
  min-height: 220px;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: var(--panel);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

[data-editable][contenteditable="true"] {
  outline: 2px dashed var(--accent);
  outline-offset: 0.35rem;
}

footer {
  padding: 2rem;
  text-align: center;
}

@media (max-width: 760px) {
  .room-grid {
    grid-template-columns: 1fr;
  }
}
