:root {
  --navy-950: #071421;
  --navy-900: #0b1c2f;
  --navy-800: #10253f;
  --navy-700: #183452;
  --gold: #cda45c;
  --gold-soft: #ead7ad;
  --paper: #f7f4ec;
  --surface: #ffffff;
  --surface-2: #f3f0e8;
  --line: rgba(7, 20, 33, .14);
  --text: #17202c;
  --muted: #677181;
  --shadow: 0 24px 70px rgba(7, 20, 33, .16);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(205, 164, 92, .16), transparent 26rem),
    linear-gradient(180deg, #fbfaf6, var(--paper));
  line-height: 1.5;
}
button, a { font: inherit; }
button { cursor: pointer; }
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  background: var(--navy-950);
  color: white;
  padding: .75rem 1rem;
  border-radius: 999px;
}
.skip-link:focus { top: 1rem; }
.app-shell { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.global-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  margin: 16px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 34px rgba(7,20,33,.08);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-950); }
.brand-mark {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy-950);
  color: var(--gold-soft);
  font-weight: 800;
  letter-spacing: -.04em;
}
.brand strong { display: block; line-height: 1; font-size: 1.03rem; }
.brand small { display: block; color: var(--muted); font-size: .78rem; margin-top: 3px; }
.global-nav { display: flex; gap: 26px; align-items: center; }
.global-nav a { color: var(--navy-800); text-decoration: none; font-weight: 700; font-size: .86rem; }
.icon-button {
  border: 0;
  background: transparent;
  font-size: 1.25rem;
  color: var(--navy-900);
}
.entry-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 28px;
  align-items: stretch;
  padding: 34px;
  margin-bottom: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(7,20,33,.98), rgba(16,37,63,.94));
  color: white;
  box-shadow: var(--shadow);
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-soft);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.35rem, 5vw, 5.1rem); line-height: .96; letter-spacing: -.07em; margin-bottom: 18px; max-width: 760px; }
.entry-copy { max-width: 760px; font-size: 1.08rem; color: rgba(255,255,255,.76); margin-bottom: 0; }
.community-selector { display: grid; gap: 12px; }
.selector-card {
  text-align: left;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  color: white;
  padding: 18px;
}
.selector-card span { display: block; font-weight: 800; font-size: 1rem; }
.selector-card small { color: rgba(255,255,255,.64); }
.selector-card.active { border-color: var(--gold); background: rgba(205,164,92,.16); }
.selector-card.locked { opacity: .55; cursor: not-allowed; }
.dashboard {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.place-hero {
  min-height: 430px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 30px;
  align-items: end;
  padding: 46px;
  color: white;
  background: linear-gradient(120deg, rgba(6, 18, 33, .90), rgba(6, 18, 33, .48)), linear-gradient(145deg, #10253f 0%, #2f4b64 50%, #071421 100%);
}
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(0,0,0,.18)); pointer-events: none; }
.hero-content, .feature-card { position: relative; z-index: 1; }
.place-hero h2 { font-size: clamp(2.6rem, 6vw, 5.6rem); line-height: .9; letter-spacing: -.075em; margin-bottom: 16px; max-width: 740px; }
#place-summary { max-width: 720px; font-size: 1.12rem; color: rgba(255,255,255,.82); }
.hero-details { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-details span {
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.84);
  font-size: .82rem;
  font-weight: 700;
}
.feature-card {
  padding: 22px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 22px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(20px);
}
.panel-label { color: var(--gold-soft); text-transform: uppercase; letter-spacing: .1em; font-weight: 800; font-size: .73rem; margin-bottom: 14px; }
.feature-card strong { display: block; font-size: 1.15rem; margin-bottom: 8px; }
.feature-card span { display: block; color: rgba(255,255,255,.74); margin-bottom: 18px; }
.button {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.button-gold { color: var(--navy-950); background: var(--gold); }
.button-primary { width: 100%; color: white; background: var(--navy-950); margin-top: 18px; }
.mode-tabs {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 0 28px;
  background: var(--navy-950);
  overflow-x: auto;
}
.mode-tab {
  flex: 0 0 auto;
  position: relative;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.76);
  padding: 19px 16px;
  font-weight: 800;
  font-size: .84rem;
}
.mode-tab::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: transparent;
}
.mode-tab.active { color: white; }
.mode-tab.active::after { background: var(--gold); }
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 315px;
  gap: 18px;
  padding: 24px;
  background: #fbfaf7;
}
.experience-window {
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  padding: 28px;
  transition: opacity .18s ease, transform .18s ease;
}
.experience-window.loading { opacity: .48; transform: translateY(4px); }
.window-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.window-head h3 { font-size: clamp(1.65rem, 3vw, 2.65rem); line-height: 1; letter-spacing: -.055em; margin-bottom: 10px; }
.window-head p { color: var(--muted); max-width: 730px; margin-bottom: 0; }
.content-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.content-card {
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: linear-gradient(180deg, #fff, #f8f6ef);
}
.content-card .card-icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(205,164,92,.18);
  color: var(--navy-900);
  margin-bottom: 14px;
}
.content-card strong { display: block; margin-bottom: 8px; }
.content-card span { color: var(--muted); font-size: .92rem; }
.vr-preview {
  min-height: 250px;
  display: grid;
  place-items: center;
  text-align: center;
  color: white;
  border-radius: 22px;
  margin-bottom: 16px;
  background: radial-gradient(circle at 50% 50%, rgba(205,164,92,.55), transparent 95px), linear-gradient(135deg, #10253f, #071421);
}
.vr-preview strong { display: block; font-size: 4rem; letter-spacing: -.08em; }
.context-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  background: var(--surface);
}
.context-panel h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
dl { margin: 0; }
.context-panel div { padding: 14px 0; border-top: 1px solid var(--line); }
.context-panel div:first-child { border-top: 0; padding-top: 0; }
dt { color: var(--muted); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
dd { margin: 4px 0 0; font-weight: 800; color: var(--navy-900); }
.info-ribbon {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 0 24px 24px;
  background: #fbfaf7;
}
.info-ribbon article {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 0;
  background: white;
}
.info-ribbon article:first-child { border-left: 1px solid var(--line); border-radius: 20px 0 0 20px; }
.info-ribbon article:last-child { border-radius: 0 20px 20px 0; }
.info-ribbon span { display: block; color: var(--muted); font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.info-ribbon strong { display: block; margin: 6px 0 4px; color: var(--navy-900); }
.info-ribbon small { color: var(--muted); }
.framework-note {
  max-width: 820px;
  margin: 36px auto 70px;
  text-align: center;
  color: var(--navy-900);
}
.framework-note h2 { font-size: clamp(2rem, 4vw, 3.6rem); letter-spacing: -.065em; line-height: .95; }
.framework-note p:last-child { color: var(--muted); }
.vr-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  padding: 24px;
  background: rgba(3, 8, 14, .86);
}
.vr-overlay.open { display: grid; place-items: center; }
.vr-stage {
  position: relative;
  width: min(1180px, 100%);
  height: min(720px, calc(100vh - 48px));
  border-radius: 28px;
  overflow: hidden;
  background: #071421;
  box-shadow: 0 40px 120px rgba(0,0,0,.45);
}
.close-vr {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  padding: 10px 14px;
  color: white;
  background: rgba(255,255,255,.1);
}
.vr-demo {
  height: 100%;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  color: white;
  padding: 30px;
  background: radial-gradient(circle at 50% 45%, rgba(205,164,92,.46), transparent 150px), linear-gradient(135deg, #183452, #071421 72%);
}
.vr-demo h2 { font-size: clamp(2.8rem, 8vw, 7rem); letter-spacing: -.08em; line-height: .9; margin-bottom: 12px; }
.vr-demo p:not(.eyebrow) { color: rgba(255,255,255,.74); max-width: 560px; }
.vr-orbit {
  margin-top: 30px;
  width: 156px; height: 156px;
  display: grid; place-items: center;
  border: 2px solid rgba(255,255,255,.45);
  border-radius: 50%;
  color: var(--gold-soft);
  font-size: 2.1rem;
  font-weight: 900;
}
@media (max-width: 980px) {
  .entry-panel, .place-hero, .dashboard-grid { grid-template-columns: 1fr; }
  .global-nav { display: none; }
  .place-hero { padding: 34px; }
  .info-ribbon { grid-template-columns: 1fr 1fr; }
  .info-ribbon article, .info-ribbon article:first-child, .info-ribbon article:last-child { border: 1px solid var(--line); border-radius: 18px; }
}
@media (max-width: 680px) {
  .app-shell { width: min(100% - 18px, var(--max)); }
  .global-header { top: 8px; margin-top: 8px; border-radius: 22px; }
  .brand small { display: none; }
  .entry-panel, .place-hero { padding: 24px; border-radius: 24px; }
  h1 { font-size: 3rem; }
  .place-hero h2 { font-size: 3.2rem; }
  .dashboard { border-radius: 24px; }
  .dashboard-grid, .info-ribbon { padding: 14px; grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .experience-window { min-height: 360px; padding: 20px; }
  .window-head { display: block; }
  .mode-tabs { padding: 0 10px; }
  .mode-tab { padding: 16px 12px; }
}
