:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --accent: #2f4f2f;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius: 0.5rem;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#app {
  flex: 1;
  padding: 1rem;
}

h1,
h2,
h3,
p {
  margin: 0 0 0.75rem;
}

a {
  color: var(--accent);
}

button,
input,
select {
  font: inherit;
}

.hero,
.hotel-header {
  text-align: center;
  padding: 2rem 1rem;
  border-bottom: 2px solid var(--accent);
  margin-bottom: 1.5rem;
}

.hero h1,
.hotel-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.tagline {
  font-size: 1.25rem;
  opacity: 0.9;
}

.hero-copy {
  max-width: 40rem;
  margin: 1rem auto 0;
}

.home-link {
  display: inline-block;
  margin-bottom: 1rem;
  text-decoration: none;
  font-weight: 600;
}

.story,
.demos,
.booking {
  max-width: 50rem;
  margin: 0 auto 2rem;
  padding: 0 1rem;
}

.story p {
  font-size: 1.1rem;
}

.stat {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.pill {
  background: var(--accent);
  color: var(--bg);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 1.1rem;
}

.pill.muted {
  background: #e0e0e0;
  color: #555;
}

.vs {
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.6;
}

.stat-note {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
}

.theme-card {
  display: block;
  padding: 1.25rem;
  border: 1px solid rgba(128, 128, 128, 0.3);
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.1s ease;
}

.theme-card:hover {
  transform: translateY(-2px);
}

.theme-card h3 {
  margin-bottom: 0.5rem;
}

.theme-card p {
  margin: 0;
  opacity: 0.85;
}

.notice {
  background: rgba(0, 0, 0, 0.06);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.field-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.field-row label {
  display: flex;
  flex-direction: column;
  flex: 1 1 10rem;
  font-weight: 600;
}

.field-row input,
.field-row select {
  margin-top: 0.25rem;
  padding: 0.6rem;
  border: 1px solid rgba(128, 128, 128, 0.4);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
}

.room-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.room-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border: 2px solid rgba(128, 128, 128, 0.25);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.room-card:has(input:checked) {
  border-color: var(--accent);
}

.room-info {
  display: flex;
  flex-direction: column;
}

.room-info strong {
  font-size: 1.1rem;
}

.price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
}

.per {
  font-size: 0.85rem;
  opacity: 0.75;
}

.cta {
  display: inline-block;
  width: 100%;
  padding: 0.9rem;
  border: none;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  margin-top: 0.5rem;
}

.cta:hover {
  filter: brightness(1.1);
}

.outcome {
  margin-top: 1.5rem;
}

.outcome.hidden {
  display: none;
}

.result {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(128, 128, 128, 0.3);
  background: rgba(128, 128, 128, 0.05);
}

.result.confirm {
  border-color: var(--accent);
}

.result.promise {
  border-color: var(--accent);
}

.result.reject {
  border-color: #b94a48;
}

.result h2 {
  margin-bottom: 0.5rem;
}

.timeline {
  margin: 1rem 0;
}

.bar {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: #e0e0e0;
  color: #555;
}

.bar.full {
  background: var(--accent);
  color: var(--bg);
}

.compare {
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

.muted {
  opacity: 0.7;
}

.window {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.time-block {
  text-align: center;
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(128, 128, 128, 0.1);
  min-width: 8rem;
}

.time-block .label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  opacity: 0.7;
}

.time-block .time {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.time-block .date {
  display: block;
  font-size: 0.9rem;
}

.arrow {
  font-size: 1.5rem;
  opacity: 0.6;
}

.total-hours {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
}

.booking-id {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

.error {
  color: #b94a48;
  font-weight: 600;
}

#legal-footer {
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.7;
  padding: 1rem;
  border-top: 1px solid rgba(128, 128, 128, 0.2);
}

.fictional {
  display: block;
  margin-top: 0.25rem;
  font-weight: 600;
}

@media (max-width: 480px) {
  .hero h1,
  .hotel-header h1 {
    font-size: 2rem;
  }

  .stat {
    flex-direction: column;
  }
}
