:root {
  --color-bg: #f4f5f7;
  --color-surface: #ffffff;
  --color-ink: #1a1f2b;
  --color-muted: #5b6472;
  --color-accent: #1f6feb;
  --color-accent-dark: #1857b8;
  --color-border: #e2e5ea;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(16, 24, 40, 0.08), 0 1px 2px rgba(16, 24, 40, 0.06);
  --max-width: 1100px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: var(--font);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.5;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Harness toolbar (dev tool — sits above the dummy client site) */
.harness-bar {
  background: #11151c;
  color: #e7eaf0;
}

.harness-bar[hidden] {
  display: none;
}

.harness-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  gap: 16px;
}

.harness-bar__label {
  font-size: 13px;
  letter-spacing: 0.3px;
  color: #9aa4b2;
}

.harness-bar__devices {
  display: inline-flex;
  gap: 6px;
}

.harness-bar__devices button {
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #cfd6e0;
  background: #1d232d;
  border: 1px solid #2c333f;
  border-radius: 6px;
  cursor: pointer;
}

.harness-bar__devices button:hover {
  background: #262d39;
  color: #fff;
}

.harness-bar__devices button[aria-pressed="true"] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

/* Device preview */
.device-preview {
  display: flex;
  justify-content: center;
  padding: 32px 16px 56px;
}

.device-preview[hidden] {
  display: none;
}

.device-preview__frame {
  border: 1px solid var(--color-border);
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(16, 24, 40, 0.22);
  background: var(--color-surface);
  max-width: 100%;
}

/* Header */
.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-ink);
  font-weight: 700;
}

.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: var(--color-accent);
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.brand__name {
  font-size: 17px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  text-decoration: none;
  color: var(--color-muted);
  font-size: 15px;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--color-ink);
}

.site-nav__cta {
  background: var(--color-accent);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: var(--radius);
}

.site-nav__cta:hover {
  background: var(--color-accent-dark);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #1f2a44 0%, #1f6feb 100%);
  color: #fff;
  padding: 56px 0;
}

.hero__eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  opacity: 0.85;
}

.hero__title {
  margin: 0 0 12px;
  font-size: 40px;
  line-height: 1.1;
}

.hero__subtitle {
  margin: 0;
  font-size: 18px;
  max-width: 560px;
  opacity: 0.92;
}

/* Booking area */
.booking {
  padding: 32px 24px 56px;
}

.widget-url-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.widget-url-bar[hidden] {
  display: none;
}

.widget-url-bar__input {
  flex: 1 1 auto;
  padding: 10px 12px;
  font-size: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
}

.widget-url-bar__input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.15);
}

.widget-url-bar button {
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--color-accent);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
}

.widget-url-bar button:hover {
  background: var(--color-accent-dark);
}

/* Matches igblive.com: plain block iframe, no border/shadow, fixed 800px
   height (set via the height attribute on the element). */
.widget-frame {
  display: block;
}

.widget-frame[hidden] {
  display: none;
}

/* Event prompt */
.event-prompt {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  max-width: 640px;
  margin: 16px auto 0;
}

.event-prompt[hidden] {
  display: none;
}

.event-prompt h2 {
  margin-top: 0;
}

.event-prompt code {
  background: var(--color-bg);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 0.9em;
}

.event-form {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.event-form input {
  flex: 1 1 280px;
  padding: 11px 12px;
  font-size: 15px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.event-form input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.15);
}

.event-form button {
  padding: 11px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--color-accent);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
}

.event-form button:hover {
  background: var(--color-accent-dark);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 24px 0;
}

.site-footer p {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
}

@media (max-width: 640px) {
  .site-nav {
    gap: 14px;
  }
  .site-nav a:not(.site-nav__cta) {
    display: none;
  }
  .hero__title {
    font-size: 30px;
  }
}
